@font-face{font-family:MissGPTInter;src:url('/fonts/Inter/Inter-Variable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
html.missgpt-web-app .missgpt-chat-shell,
html.missgpt-web-app .missgpt-mobile-drawer,
html.missgpt-web-app .missgpt-account-screen,
html.missgpt-web-app .missgpt-auth-modal{font-family:MissGPTInter,Inter,system-ui,sans-serif;--font-sans:MissGPTInter,Inter,system-ui,sans-serif}
html.missgpt-web-app .missgpt-chat-feed{overscroll-behavior:contain;overflow-anchor:none;scrollbar-width:thin}
html.missgpt-web-app .missgpt-bubble-text{font-size:16px;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere}
html.missgpt-web-app .missgpt-chat-input{font-family:inherit;font-size:16px;line-height:1.4}
html.missgpt-web-app .missgpt-chat-input:placeholder-shown{white-space:nowrap;text-overflow:ellipsis}
html.missgpt-web-app .missgpt-chat-nav [data-missgpt-account-entry]{display:inline-flex;align-items:center;gap:8px;width:auto;max-width:220px;margin:0!important;padding:6px 12px!important;min-height:44px;border:0!important;border-radius:999px;background:transparent!important;color:inherit;font:inherit;cursor:pointer}
html.missgpt-web-app .missgpt-chat-nav .missgpt-account-entry-caption{display:none}
html.missgpt-web-app .missgpt-chat-nav .missgpt-account-entry-name{font-size:13px!important}
html.missgpt-web-app .missgpt-chat-nav .missgpt-account-entry-avatar{width:28px;height:28px}
html.missgpt-web-app .missgpt-account-entry-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;overflow:hidden;flex:none;background:#22c7a7;color:#082820}
html.missgpt-web-app .missgpt-account-entry-avatar img{width:100%;height:100%;object-fit:cover}
html.missgpt-web-app .missgpt-account-entry-copy{display:grid;gap:3px;min-width:0;text-align:left}
html.missgpt-web-app .missgpt-account-entry-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}
html.missgpt-web-app .missgpt-account-entry-caption{font-size:12px;opacity:.7}
html.missgpt-web-app .missgpt-mobile-account-entry{font:inherit;color:inherit;min-height:44px;text-align:left}
html.missgpt-web-app .missgpt-auth-modal .missgpt-auth-panel{background:#1d1d1c;color:#f7f3ee}
html.missgpt-web-app .missgpt-auth-modal .missgpt-auth-panel :is(p,a){color:#d4d1cb}
html.missgpt-web-app .missgpt-account-screen .missgpt-account-row p{color:#bcbab5!important}
html.missgpt-web-app .missgpt-account-screen [data-auth-provider="google"]>span{display:inline-block;flex:none;width:24px;height:24px;font-size:0;background:url('/images/auth/google.png') center/contain no-repeat}
html.missgpt-web-app .missgpt-account-screen [data-auth-provider="apple"]>span{display:inline-grid;place-items:center;flex:none;width:24px;height:24px;font-size:24px}
html.missgpt-web-app [data-missgpt-account-entry]:focus-visible{outline:2px solid #22c7a7;outline-offset:4px}
html.missgpt-web-app .pricing-shell{font-family:MissGPTInter,Inter,system-ui,sans-serif}
html.missgpt-web-app .pricing-hero h1{max-width:20ch;margin:12px auto 0;font-size:clamp(32px,4.2vw,60px);font-weight:500;line-height:1.08;letter-spacing:-.035em;text-wrap:balance}
html.missgpt-web-app .pricing-shell .plan{background:#1d1d1c;color:#f7f3ee;border:1px solid #3e3d39;border-radius:26px;box-shadow:none}
html.missgpt-web-app .pricing-shell .plan.is-featured{border-color:#8a8171}
html.missgpt-web-app .pricing-shell .plan :is(.plan-text,.plan-limit,li,.plan-price span,.plan-label,.plan-model){color:#bcbab5!important}
html.missgpt-web-app .pricing-shell .plan :is(h2,.plan-price strong){color:#f7f3ee!important}
html.missgpt-web-app .pricing-shell .plan h2{font-size:32px;font-weight:500;line-height:1.1}
html.missgpt-web-app .pricing-shell .plan-price strong{font-size:32px;line-height:1.1}
html.missgpt-web-app .pricing-shell .plan-cta{background:#f7f3ee;color:#1d1d1c;min-height:48px}
html.missgpt-web-app .pricing-shell .plan-visual{width:64px;height:64px;margin:18px 0}
.plan-details-toggle{display:none}

/* One stable frame on both sides of the mobile breakpoint. */
html.missgpt-web-app[data-missgpt-lite="chat"] .missgpt-chat-shell{min-height:0;height:var(--missgpt-layout-vh,100dvh)}
html.missgpt-web-app .missgpt-chat-layout{transition:none}
html.missgpt-web-app .missgpt-chat-composer-wrap{box-sizing:border-box;min-width:0}
html.missgpt-web-app .missgpt-chat-suggestion{white-space:normal;text-align:left}
@media(min-width:901px){
 html.missgpt-web-app .missgpt-chat-header{height:88px;padding:12px clamp(16px,2.5vw,36px)}
 html.missgpt-web-app .missgpt-chat-logo{width:56px;height:56px}
 html.missgpt-web-app .missgpt-chat-layout,
 html.missgpt-web-app.missgpt-chat-compact .missgpt-chat-layout{grid-template-columns:clamp(220px,20vw,280px) minmax(0,1fr);gap:20px;padding:0 clamp(16px,2.5vw,36px) 20px}
 html.missgpt-web-app .missgpt-chat-side{padding:14px;transition:none}
 html.missgpt-web-app .missgpt-chat-portrait,
 html.missgpt-web-app .missgpt-chat-side-note{display:none}
 html.missgpt-web-app .missgpt-chat-history{position:relative;inset:auto;flex:1;min-height:0;opacity:1;transform:none;transition:none;pointer-events:auto}
 html.missgpt-web-app .missgpt-chat-current{flex:1;min-width:0}
 html.missgpt-web-app .missgpt-chat-current>div{min-width:0}
 html.missgpt-web-app .missgpt-chat-current span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html.missgpt-web-app .missgpt-chat-top{min-width:0;gap:12px}
}
@media(min-width:901px) and (max-width:1100px){
 html.missgpt-web-app .missgpt-chat-title{display:none}
 html.missgpt-web-app .missgpt-chat-status{display:none}
}

/* A short desktop window must not crop the close button or account controls. */
html.missgpt-web-app .missgpt-account-screen .missgpt-account-panel:not(.missgpt-account-panel-session){grid-template-columns:clamp(250px,25vw,280px) minmax(0,1fr);min-height:0;height:min(720px,100%)}
html.missgpt-web-app .missgpt-account-screen .missgpt-account-row{grid-template-columns:minmax(0,1fr) minmax(130px,42%)}
html.missgpt-web-app .missgpt-account-screen .missgpt-account-sidebar{min-height:0}
html.missgpt-web-app .missgpt-account-screen .missgpt-account-entry-caption{color:var(--account-muted)!important}
html.missgpt-web-app .missgpt-account-screen .missgpt-auth-provider:hover{background:#333330;color:#fff}
html.missgpt-web-app .missgpt-account-screen .missgpt-auth-provider:hover strong,
html.missgpt-web-app .missgpt-account-screen .missgpt-auth-provider:hover span:first-child{color:#fff!important}
@media(max-width:767px){
 html.missgpt-web-app .missgpt-account-screen .missgpt-account-panel:not(.missgpt-account-panel-session){height:auto;max-height:100%}
 html.missgpt-web-app .missgpt-account-screen .missgpt-account-row{grid-template-columns:minmax(0,1fr)}
 html.missgpt-web-app .missgpt-account-screen [data-account-view="general"] .missgpt-account-row{grid-template-columns:minmax(0,1fr) minmax(104px,34%)}
 html.missgpt-web-app .missgpt-account-screen .missgpt-account-row:has(.missgpt-account-toggle){grid-template-columns:minmax(0,1fr) auto}
}

/* Same card selection and single purchase action as the app, with web billing. */
.web-plan-actions,.web-plan-state{display:none}
html.missgpt-web-app .pricing-shell{padding-left:clamp(14px,4vw,56px);padding-right:clamp(14px,4vw,56px)}
html.missgpt-web-plan-selection .pricing-hero{padding-top:24px}
html.missgpt-web-plan-selection .pricing-hero h1{font-size:clamp(32px,4vw,48px)}
html.missgpt-web-plan-selection .plans{display:grid;grid-template-columns:minmax(0,1fr);max-width:760px;gap:12px;margin:28px auto 0}
html.missgpt-web-plan-selection .pricing-shell .plan{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto auto;gap:8px 16px;min-width:0;min-height:0;padding:20px 22px;margin:0;border-radius:22px;border:1px solid #454440;cursor:pointer;transition:border-color .15s,background .15s}
html.missgpt-web-plan-selection .pricing-shell .plan:is([aria-checked="true"],[data-plan-default]:not([aria-checked])){border-color:#f5e5bf;background:#454138;box-shadow:inset 0 0 0 1px #f5e5bf}
html.missgpt-web-plan-selection .pricing-shell .plan:focus-visible{outline:2px solid #22c7a7;outline-offset:3px}
html.missgpt-web-plan-selection .plan-top{grid-column:1 / -1;grid-row:1;display:flex;align-items:center;gap:8px;min-height:24px;margin:0;justify-content:space-between}
html.missgpt-web-plan-selection .plan-label{font-size:11px;letter-spacing:.12em;text-transform:uppercase}
html.missgpt-web-plan-selection .plan-current-badge{display:none}
html.missgpt-web-plan-selection .plan.is-current-plan::after{display:none}
html.missgpt-web-plan-selection .web-plan-state{display:flex;align-items:center;gap:6px;margin-left:auto;min-height:24px}
html.missgpt-web-plan-selection .web-plan-state>span{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;box-sizing:border-box;border-radius:999px;font-size:11px;font-weight:650;line-height:1.2;letter-spacing:0;white-space:nowrap}
html.missgpt-web-plan-selection .web-plan-state>[hidden]{display:none!important}
html.missgpt-web-plan-selection [data-plan-selected-label]{background:#f5e5bf;color:#24221d}
html.missgpt-web-plan-selection [data-plan-active-label]{background:#234539;color:#c9efda;border:1px solid #75ae8e}
html.missgpt-web-plan-selection .pricing-shell .plan :is(.plan-visual,.plan-model,.plan-features,.plan-cta){display:none}
html.missgpt-web-plan-selection .pricing-shell .plan h2{grid-column:1;grid-row:2;margin:0;font-size:30px;font-weight:500}
html.missgpt-web-plan-selection .pricing-shell .plan-price{grid-column:2;grid-row:2;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:4px;margin:0;white-space:nowrap}
html.missgpt-web-plan-selection .pricing-shell .plan-price strong{font-size:26px;line-height:1.1}
html.missgpt-web-plan-selection .pricing-shell .plan-price span{font-size:12px}
html.missgpt-web-plan-selection .pricing-shell .plan-text{grid-column:1 / -1;grid-row:3;min-height:0;margin:0;font-size:14px;line-height:1.4}
html.missgpt-web-plan-selection .pricing-shell .plan-limit{grid-column:1 / -1;grid-row:4;margin:0;font-size:13px;line-height:1.4}
html.missgpt-web-plan-selection .web-plan-actions{display:grid;gap:12px;max-width:760px;margin:18px auto 0}
html.missgpt-web-plan-selection .web-plan-actions .plan-cta{background:#242422;color:#faf9f5;border:0;width:100%;margin:0;font:inherit;font-weight:600;cursor:pointer}
html.missgpt-web-plan-selection .web-plan-actions .plan-cta:disabled{opacity:.5;cursor:default}
html.missgpt-web-plan-selection .web-plan-note{margin:0;font-size:13px;line-height:1.5;color:inherit;opacity:.7}
@media(max-width:600px){
 html.missgpt-web-plan-selection .pricing-shell .plan{padding:16px;gap:7px 12px}
 html.missgpt-web-plan-selection .pricing-shell .plan h2{font-size:26px}
 html.missgpt-web-plan-selection .pricing-shell .plan-price strong{font-size:22px}
 html.missgpt-web-plan-selection .pricing-hero{padding-top:8px}
 html.missgpt-web-plan-selection .plans{margin-top:24px}
}
@media(max-width:900px){
 html.missgpt-web-app .missgpt-chat-nav [data-missgpt-account-entry]{display:none!important}
 html.missgpt-web-app .missgpt-chat-feed{padding-bottom:20px;-webkit-overflow-scrolling:touch}
 html.missgpt-web-app .missgpt-chat-stream{padding-bottom:0}
 html.missgpt-web-app .missgpt-chat-main{min-height:0}
}
@media(prefers-reduced-motion:reduce){html.missgpt-web-app .missgpt-chat-feed{scroll-behavior:auto!important}}

/* The app pager drives the original orbit scene and original portrait links. */
html.missgpt-web-home-pager body{overscroll-behavior:none;scrollbar-width:none;-webkit-overflow-scrolling:auto}
html.missgpt-web-home-pager body::-webkit-scrollbar{display:none;width:0;height:0}
html.missgpt-web-home-pager #work{touch-action:pan-x pinch-zoom;overscroll-behavior:none}
html.missgpt-web-home-pager #work [data-sphere-index],html.missgpt-web-home-pager #work [data-sphere-index] img{-webkit-touch-callout:none;-webkit-user-drag:none;user-select:none}
html.missgpt-web-home-pager #work [data-sphere-index]{width:calc(min(clamp(120px,25vw,300px),calc((100dvh - 144px)/2)) * var(--sphere-size-scale,1))!important;aspect-ratio:1;height:auto!important}
html.missgpt-web-home-pager #work>.fixed.bottom-6.right-6,
html.missgpt-web-home-pager #work>div.absolute.inset-0.flex.items-center.justify-center.pointer-events-none.z-0,
html.missgpt-web-home-pager #work h1,
html.missgpt-web-home-pager #work .mix-blend-exclusion button.rounded-full{visibility:hidden!important;pointer-events:none!important}

html.missgpt-web-app[data-missgpt-theme="dark"] .pricing-nav{background:rgba(32,32,30,.94);border-color:#41413d}
html.missgpt-web-app[data-missgpt-theme="dark"] .pricing-nav a:is([aria-current="page"],:hover){background:#383833;color:#faf9f5}
html.missgpt-web-plan-selection[data-missgpt-theme="dark"] .web-plan-actions .plan-cta{background:#f7f3ee;color:#1d1d1c}
html.missgpt-web-plan-selection.dark[data-missgpt-page="pricing"] .pricing-shell .plans .plan{border-color:#454440!important;background:#1d1d1c!important;box-shadow:none!important}
html.missgpt-web-plan-selection.dark[data-missgpt-page="pricing"] .pricing-shell .plans .plan:is([aria-checked="true"],[data-plan-default]:not([aria-checked])){border-color:#f5e5bf!important;background:#454138!important;box-shadow:inset 0 0 0 1px #f5e5bf!important}

/* Public-page typography: share the app font and leave room for full glyphs. */
html.missgpt-web-app .pricing-header,
html.missgpt-web-app[data-missgpt-legal="payments"] body{font-family:MissGPTInter,Inter,system-ui,sans-serif}
html.missgpt-web-app .pricing-nav a,
html.missgpt-web-app[data-missgpt-legal="payments"] .terms-menu a{font-weight:600;line-height:1.2}
html.missgpt-web-app[data-missgpt-legal="payments"] :is(h1,h2,h3){font-weight:600;line-height:1.12;overflow-wrap:anywhere}
html.missgpt-web-app[data-missgpt-legal="payments"] :is(.terms-lead,.terms-updated,.terms-toc,.terms-section p,.terms-section li,.payment-card dd){font-weight:450}
html.missgpt-web-app[data-missgpt-legal="payments"] :is(.terms-kicker,.terms-toc strong,.payment-label,.payment-card dt){font-weight:600}
html.missgpt-web-app footer .missgpt-footer-wordmark{line-height:1.1;padding-block:.06em;overflow:visible}

/* Keep payment text legible in the existing dark theme. */
html.missgpt-web-app.dark[data-missgpt-legal="payments"] .terms-menu{background:rgba(32,32,30,.94);border-color:#41413d;color:#f7f3ee}
html.missgpt-web-app.dark[data-missgpt-legal="payments"] .terms-menu a{color:#d6d3cd}
html.missgpt-web-app.dark[data-missgpt-legal="payments"] .terms-menu a:is([aria-current="page"],:hover){background:#383833;color:#faf9f5}
html.missgpt-web-app.dark[data-missgpt-legal="payments"] .payment-card{background:#252523;border-color:#454440;color:#f7f3ee}
html.missgpt-web-app.dark[data-missgpt-legal="payments"] :is(.payment-label,.payment-card dt){color:#bcbab5}
html.missgpt-web-app.dark[data-missgpt-legal="payments"] .payment-card dd{color:#e1ded8}

/* One type family across the public menu, page copy, chat and account. */
html.missgpt-web-app{--font-sans:MissGPTInter,Inter,system-ui,sans-serif;--font:MissGPTInter,Inter,system-ui,sans-serif}
html.missgpt-web-app body{font-family:MissGPTInter,Inter,system-ui,sans-serif}
html.missgpt-web-app[data-mg-safari] .font-medium{-webkit-text-stroke:0}
html.missgpt-web-app :is(.terms-shell,.privacy-shell){font-family:MissGPTInter,Inter,system-ui,sans-serif}
html.missgpt-web-app :is(.terms-shell,.privacy-shell) :is(h1,h2,h3){font-weight:600;line-height:1.12;overflow-wrap:anywhere}
html.missgpt-web-app :is(.terms-shell,.privacy-shell) :is(p,li,dd,.terms-updated,.privacy-updated){font-weight:450}
html.missgpt-web-app :is(.terms-menu,.privacy-menu) a{font-weight:600;line-height:1.2}
html.missgpt-web-app.dark :is(.terms-menu,.privacy-menu){background:rgba(32,32,30,.94);border-color:#41413d;color:#f7f3ee}
html.missgpt-web-app.dark :is(.terms-menu,.privacy-menu) a{color:#d6d3cd}
html.missgpt-web-app.dark :is(.terms-menu,.privacy-menu) a:is([aria-current="page"],:hover){background:#383833;color:#faf9f5}

/* Long legal titles remain readable without isolated letters or low-contrast pills. */
html.missgpt-web-app .privacy-hero h1{font-size:clamp(26px,3.4vw,50px);line-height:1.15;overflow-wrap:normal;hyphens:auto}
html.missgpt-web-app.dark .privacy-menu{background:transparent}
html.missgpt-web-app.dark .privacy-menu a{background:#20201e;border-color:#41413d}
html.missgpt-web-app.dark .privacy-menu a:is([aria-current="page"],:hover){background:#383833;color:#faf9f5}
@media(max-width:760px){
 html.missgpt-web-app .terms-shell{padding-top:128px}
 html.missgpt-web-app .terms-header{align-items:flex-start}
 html.missgpt-web-app .terms-menu{flex-wrap:wrap;justify-content:flex-end;gap:2px;max-width:calc(100vw - 88px);overflow:visible;border-radius:20px;padding:5px}
 html.missgpt-web-app .terms-menu a{padding:8px 10px;font-size:12px;white-space:nowrap}
}

@media(max-width:360px){html.missgpt-web-app .terms-shell{padding-top:164px}}
html.missgpt-web-app header [data-missgpt-account-entry="menu"]{font-family:inherit!important;font-weight:inherit!important}
html.missgpt-web-app .nav-menu-wrapper.opacity-0,html.missgpt-web-app .nav-menu-bg.opacity-0{visibility:hidden}

/* Match the homepage theme control: 40px target, 20px masked circle, no ring. */
html.missgpt-web-app .missgpt-theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;box-shadow:none;cursor:pointer;appearance:none}
html.missgpt-web-app .missgpt-theme-toggle svg{display:block;width:20px;height:20px;fill:currentColor;stroke:none}
html.missgpt-web-app .missgpt-theme-cutout{transition:transform .3s ease-in-out}
@media(hover:hover){html.missgpt-web-app .missgpt-theme-toggle:hover .missgpt-theme-cutout{transform:translate(-13px,9px)}}
html.missgpt-web-app .missgpt-theme-toggle:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:6px}
@media(prefers-reduced-motion:reduce){html.missgpt-web-app .missgpt-theme-cutout{transition:none}}
html.missgpt-web-app.dark[data-missgpt-page] .missgpt-theme-toggle{background:transparent!important}
