/* These rules key off the actual mobile surface, not the browser around a handset. */
.gally-mobile{--mobile-gutter:20px;--mobile-keyboard-inset:0px}.gally-mobile .app{min-width:0;container-type:inline-size}.gally-mobile .app,.gally-mobile .overlay{box-sizing:border-box}.gally-mobile .phone-content .app{height:calc(100% - var(--mobile-keyboard-inset));min-height:0}.gally-mobile .phone-content~.overlay{bottom:var(--mobile-keyboard-inset)}.gally-mobile .topbar{padding-inline:var(--mobile-gutter);gap:8px}.gally-mobile .scroller{padding-inline:var(--mobile-gutter);min-width:0}.gally-mobile .nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:72px;padding:8px 8px 4px;gap:4px}.gally-mobile .nav-item{min-width:0;min-height:52px;font-size:11px;width:100%;gap:4px}.gally-mobile .nav-add{justify-self:center;width:48px;height:48px}.gally-mobile .nav-item .pip-badge{width:24px;height:24px;border-radius:8px;background:transparent;color:var(--muted)}.gally-mobile .nav-item .pip-brand-svg{width:24px;height:24px}.gally-mobile .nav-item.active .pip-badge{color:var(--primary);background:var(--mint);outline:6px solid var(--mint)}.gally-mobile .nav-item.active>.od-icon{outline-width:4px}.gally-mobile .pip-style-grid,.gally-mobile .sheet .pip-style-grid{grid-template-columns:minmax(0,1fr);gap:12px}.gally-mobile .pip-style-choice,.gally-mobile .sheet .pip-style-choice{min-height:0;padding:16px;gap:8px}.gally-mobile .pip-style-choice strong,.gally-mobile .sheet .pip-style-choice strong{font-size:16px;line-height:1.4}.gally-mobile .pip-style-choice>span:last-child,.gally-mobile .sheet .pip-style-choice>span:last-child{font-size:14px;line-height:1.6}.gally-mobile .pip-style-choice .row{align-items:flex-start;gap:12px}.gally-mobile .pip-style-choice .row>strong{flex:1}.gally-mobile .pip-style-choice .row>.od-icon{flex:none;margin-top:4px}.gally-mobile .pip-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gally-mobile .pip-icon-choice{padding:12px 8px;min-height:128px;font-size:12px;gap:8px}.gally-mobile .pip-icon-choice img{width:64px;border-radius:16px}.gally-mobile .pip-introduction{padding:20px;border-radius:20px}.gally-mobile .pip-introduction>.row{align-items:flex-start;gap:12px}.gally-mobile .pip-introduction h2{font-size:24px}.gally-mobile .pip-introduction .pip-badge.large{width:48px;height:48px;border-radius:16px}.gally-mobile .pip-introduction .pip-badge.large .pip-brand-svg{width:44px;height:44px}.gally-mobile .pip-introduction p{font-size:16px}.gally-mobile .pip-introduction .badge{display:inline-flex;white-space:normal;line-height:1.5}.gally-mobile .pip-voice-example{padding:20px}.gally-mobile .pip-icon-example{padding:20px;gap:16px;align-items:flex-start}.gally-mobile .pip-icon-example>div:last-child{min-width:0;flex:1}.gally-mobile .pip-home-tile img{width:64px}.gally-mobile .pip-icon-example h2{font-size:24px}.gally-mobile .pip-icon-example p{font-size:16px}.gally-mobile .settings-row{gap:12px;align-items:center}.gally-mobile .settings-row>.od-field{flex:1;min-width:0}.gally-mobile .settings-row .switch{flex:none}.gally-mobile .settings-row .od-field small{font-size:13px;line-height:1.55}.gally-mobile .actions{flex-direction:column;gap:12px}.gally-mobile .actions>.primary,.gally-mobile .actions>.secondary,.gally-mobile .actions>.text-btn{width:100%;flex:auto}.gally-mobile .primary,.gally-mobile .secondary{white-space:normal;text-align:center;line-height:1.5}.gally-mobile .sheet{width:100%;min-width:0;max-height:100%;border-radius:24px 24px 0 0}.gally-mobile .sheet-head{padding:8px var(--mobile-gutter);gap:8px;align-items:flex-start}.gally-mobile .sheet-head h2{font-size:24px;line-height:1.2;min-width:0;flex:1;padding-block:12px}.gally-mobile .sheet-head>.icon-btn{flex:none}.gally-mobile .sheet-body{padding:8px var(--mobile-gutter) calc(var(--phone-safe-bottom,0px) + 20px);overscroll-behavior:contain;overflow-y:auto;overflow-x:clip;min-width:0}.gally-mobile .sheet-body>.actions:last-child{padding-bottom:4px}.gally-mobile .pip-permission h3{font-size:26px}.gally-mobile .pip-permission-list li{padding:16px;gap:12px;min-width:0}.gally-mobile .pip-permission-list li>span{flex:1;min-width:0}.gally-mobile .pip-permission-actions{gap:12px}.gally-mobile .pip-state-demo{padding:20px;min-width:0}.gally-mobile .pip-state-stage{min-height:0;align-items:flex-start;flex-direction:column;gap:20px}.gally-mobile .pip-state-copy strong{font-size:24px}.gally-mobile .pip-state-tabs{gap:8px}.gally-mobile .pip-state-tabs button{padding:8px 12px}.gally-mobile .pip-orbit{width:72px;height:88px;border-radius:20px}.gally-mobile .pip-orbit-mark{width:48px;height:48px}.gally-mobile .pip-demo-label{font-size:11px;line-height:1.6}.gally-mobile .talk-mode .topbar{display:none}.gally-mobile .talk-mode .scroller{padding:0}.gally-mobile .talk-screen{grid-template-rows:auto minmax(96px,1fr) auto;min-width:0;height:100%;overflow-y:auto;overscroll-behavior:contain}.gally-mobile .talk-header{padding:12px var(--mobile-gutter);min-width:0}.gally-mobile .talk-header>.row{gap:8px}.gally-mobile .pip-chat-title{min-width:0;gap:12px}.gally-mobile .pip-chat-title .od-field{min-width:0}.gally-mobile .app .pip-chat-title h1{font-size:24px}.gally-mobile .pip-chat-title .pip-badge{width:36px;height:36px;border-radius:12px}.gally-mobile .pip-chat-title .pip-brand-svg{width:32px;height:32px}.gally-mobile .app .pip-chat-title .talk-mode-label{font-size:12px}.gally-mobile .pip-chat-toolbar{margin-top:8px;gap:8px}.gally-mobile .app .talk-header .pip-personality-button{max-width:none;min-height:44px;font-size:14px;line-height:1.4;white-space:normal;flex:1;justify-content:space-between;padding:8px 12px}.gally-mobile .talk-header .pip-mobile-options{width:44px;min-width:44px;min-height:44px;background:var(--surface)}.gally-mobile .talk-messages{padding:20px;gap:16px;min-width:0;scroll-padding-block:16px;overscroll-behavior:contain}.gally-mobile .talk-bubble{max-width:100%;min-width:0;padding:16px}.gally-mobile .talk-bubble p{font-size:16px}.gally-mobile .talk-bubble .detail-list{grid-template-columns:minmax(0,1fr);gap:4px}.gally-mobile .talk-bubble .detail-list dd{text-align:left;margin-bottom:12px}.gally-mobile .talk-intro{gap:16px;padding:0}.gally-mobile .talk-intro h2{font-size:28px}.gally-mobile .talk-intro>p{font-size:16px}.gally-mobile .talk-composer{padding:8px var(--mobile-gutter) 12px;min-width:0}.gally-mobile .talk-composer>.pip-inline-state{display:none}.gally-mobile .talk-composer textarea{min-height:52px;max-height:88px;font-size:16px;padding:12px;resize:vertical}.gally-mobile .talk-composer .field{font-size:13px;margin-bottom:8px}.gally-mobile .talk-composer .row.between{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.gally-mobile .talk-composer .primary,.gally-mobile .talk-composer .secondary{min-height:44px;font-size:14px;padding:8px 12px}.gally-mobile .mobile-pip-prompts{font-size:13px;margin-bottom:8px}.gally-mobile .mobile-pip-prompts summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;color:var(--primary)}.gally-mobile .mobile-pip-prompts summary:after{content:'+';font-size:20px}.gally-mobile .mobile-pip-prompts[open] summary:after{content:'−'}.gally-mobile .talk-suggestions{flex-wrap:wrap;overflow:visible;gap:8px;padding:0 0 8px;margin:0}.gally-mobile .talk-suggestions .chip{flex:0 1 auto;white-space:normal;text-align:left;max-width:100%;font-size:13px;line-height:1.4;min-height:44px}.gally-mobile .mobile-pip-options{display:grid;gap:12px}.gally-mobile .mobile-pip-options .help-block{margin:0 0 8px}.gally-mobile .pip-state-demo,.gally-mobile .pip-voice-example,.gally-mobile .pip-notice-example{max-width:100%}.gally-mobile .gally-select-trigger{min-width:0}.gally-mobile .gally-calendar-grid button{min-height:40px}.gally-mobile .gally-select-menu,.gally-mobile .gally-calendar{overscroll-behavior:contain}
@container(max-width:350px){.gally-mobile .pip-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gally-mobile .pip-introduction>.row{flex-wrap:wrap}.gally-mobile .pip-icon-example{flex-direction:column}.gally-mobile .topbar .wordmark{font-size:28px}}

.gally-mobile #nav.nav{display:grid}.gally-mobile .talk-header .pip-mobile-options{width:auto;min-width:64px;padding:8px 12px;font-size:14px;font-weight:600}.gally-mobile .talk-header .pip-chat-toolbar{display:flex;align-items:center}.gally-mobile .talk-header>.row.between>.icon-btn{min-width:44px;min-height:44px}.gally-mobile .talk-mode .scroller{overflow:hidden}.gally-mobile .mobile-pip-prompts summary:focus-visible{outline:3px solid var(--primary);outline-offset:2px;border-radius:8px}
