/* Small screens use real text sizes and a scrollable app, rather than a scaled desktop. */
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #5885b8;outline-offset:4px}
.ci-input:focus,.ci-input:focus-visible{outline:none;box-shadow:none}
/* Keep navigation anchored while the preview moves between its inset and fullscreen states. */
.nav{top:0;transform:none!important;opacity:1!important;visibility:visible!important}
.nav-right,.nav-expert,.btn-expert{white-space:nowrap}
@media(min-width:1021px) and (max-width:1350px){
  .nav{display:flex;justify-content:space-between}
  .nav-links,.nav-expert{display:none}
  .nav-burger{display:flex}
  .mobile-panel.open{display:flex!important}
}
.ct-a{white-space:pre-wrap}
.ct-a a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.ci-send:disabled{opacity:.5;cursor:wait}
/* The old dock scrim sat above .fold's stacking context and blurred the chat itself. */
html.engaged .dock-scrim,html.docked .dock-scrim,html.appfull .dock-scrim{display:none}
html.engaged .composer-shell,html.docked .composer-shell,html.appfull .composer-shell{
  background:#fff;border:1px solid #cbd2dc;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  box-shadow:0 8px 32px rgba(15,23,42,.24);
  --ink:#172033;--ink-dim:#475569;--ink-soft:#526176;
}
html.engaged .composer-surface,html.docked .composer-surface,html.appfull .composer-surface{
  background:#f5f7fa;border:1px solid #d5dce5;
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
.chat-heading{display:none}
html.engaged .composer-header{display:flex;justify-content:space-between;zoom:1;padding:4px 8px 14px}
html.engaged .composer-dots,html.engaged .app-state-trigger{display:none}
html.engaged .chat-heading{display:block;color:#172033;font-size:18px;font-weight:700}
html.engaged .ct-log{
  max-height: min(420px,45dvh);padding:4px 8px 16px;
  scrollbar-gutter:stable;overflow-wrap:anywhere;
}
html.engaged .ct-turn{gap:12px;padding:16px 0}
html.engaged .ct-turn + .ct-turn{border-top:1px solid #dce2ea}
html.engaged .ct-q{
  background:#edf2f8;border-radius:14px 14px 4px 14px;padding:10px 14px;
  color:#172033;text-align:left;max-width:90%;
}
html.engaged .ct-a{max-width:100%;color:#172033;opacity:1;line-height:1.65}
html.engaged .ct-a.unwired{color:#9b2929;opacity:1;font-style:normal}
html.engaged .ct-a a{color:#174e91;font-weight:600}
html.engaged .ct-cite{color:#526176}
@media(min-width:1021px){
  /* Counter the existing .67 page and .9 composer scaling for readable rendered text. */
  html.engaged .ct-q,html.engaged .ct-a{font-size:22px}
  html.engaged .ci-input{font-size:26px}
  html.engaged .chat-heading{font-size:24px}
  html.engaged .ct-cite{font-size:20px}
  html.engaged .ct-log{max-height:min(400px,calc(36dvh / .603))}
  html.engaged .composer-shell{max-height:calc((100dvh - 32px) / .603);overflow-y:auto}
  html.engaged .composer-actions{zoom:1}
  html.engaged .composer-actions{flex-wrap:wrap}
  html.engaged .ca-left{min-width:0}
  html.engaged .ca-right{margin-left:auto}
  html.engaged .ca-left .ca-chip{font-size:21px}
  html.engaged .ca-right .ci-send{width:74px;height:74px}
  html.engaged .composer-surface{height:auto;min-height:213px;gap:12px}
  html.appfull .composer-wrap{left:auto;right:26px;bottom:26px;margin:0;max-width:none}
}
@media(max-width:1020px){
  .anim,.hero h1 .l2{opacity:1!important;visibility:visible!important;transform:none!important}
  html{zoom:1;-webkit-text-size-adjust:100%}
  body,.page{min-height:100svh}
  .fold{min-height:auto;padding-top:100px;padding-bottom:24px}
  .nav{height:80px;padding:0 24px;display:flex;justify-content:space-between;gap:16px}
  .nav-links,.nav-expert,.login-dd{display:none}
  .nav-brand .word{font-size:24px}
  .nav-brand svg{width:28px;height:32px}
  .nav-right{gap:10px}
  .nav-burger{display:flex;width:44px;height:44px}
  .btn-expert{height:44px;padding:0 18px;font-size:15px}
  .hero{margin-top:0;padding:20px 20px 0}
  .hero h1{font-size:clamp(48px,8.5vw,76px);line-height:1.03;letter-spacing:-.035em}
  .eyebrow{font-size:13px;gap:8px}
  .eyebrow::before,.eyebrow::after{width:16px}
  .hero .sub{font-size:18px;line-height:1.5;margin:20px auto 0;max-width:34ch;padding:0}
  .composer-wrap{width:calc(100% - 32px);max-width:680px;margin:36px auto 0;zoom:1}
  .composer-header,.composer-actions{zoom:1}
  .composer-header{display:flex;justify-content:center;padding-bottom:12px}
  .composer-dots{display:none}
  .app-state-trigger{font-size:18px;min-height:44px;white-space:normal;text-align:center}
  .composer-shell{padding:12px;border-radius:24px}
  .composer-surface{padding:12px;min-height:160px}
  .ci-input,.ci-costs input{font-size:16px;min-width:0;min-height:44px}
  .ci-row{height:auto;min-height:52px;gap:10px}
  .ci-icon{width:44px;height:44px;flex-shrink:0}
  .ci-costs{flex-wrap:wrap}
  .ci-costs input{flex:1 1 120px;width:auto;max-width:100%}
  .composer-actions{flex-wrap:wrap;gap:12px}
  .ca-left{flex-wrap:wrap;gap:8px;min-width:0}
  .ca-chip{min-height:44px;padding:0 12px;font-size:13px;white-space:nowrap}
  .ca-chip svg{width:18px;height:18px}
  .ca-right{margin-left:auto}
  .ca-right .ci-send{width:48px;height:48px}
  .ci-hints{flex-wrap:wrap}
  .ci-hint{min-height:44px;white-space:normal}
  .roomhero{height:1100px}
  .roomhero .rh-main{height:100%;object-fit:cover;object-position:center top}
  .skyband{margin-top:24px;padding-bottom:40px}
  .trusted{font-size:13px;padding:0 24px;line-height:1.5}
  .carriers{width:calc(100% - 32px);margin:24px auto 32px}
  .preview-wrap{width:calc(100% - 32px);opacity:1!important;transform:none!important}
  .preview-plate{padding:8px;border-radius:20px}
  .preview-frame{border-radius:14px}
  .preview-body{height:860px;aspect-ratio:auto;overflow:auto;-webkit-overflow-scrolling:touch}
  .preview-body iframe{width:100%!important;height:100%!important;transform:none!important}
  .preview-chrome{height:auto;min-height:52px;padding:8px;flex-wrap:wrap;gap:8px}
  .preview-dots,.preview-spacer{display:none}
  .pc-nav{overflow-x:auto;max-width:100%;justify-content:flex-start}
  .pc-nav button{min-height:44px;flex-shrink:0}
  html.engaged .composer-wrap,html.docked .composer-wrap,html.appfull .composer-wrap{position:relative;inset:auto;width:calc(100% - 32px);margin:36px auto 0;z-index:5}
  html.engaged .fold .hero{opacity:1;transform:none;pointer-events:auto}
  html.engaged .app-state-trigger{display:none}
  html.engaged .dock-scrim,html.docked .dock-scrim{display:none}
  .mobile-panel{padding:24px;overscroll-behavior:contain;padding-bottom:max(24px,env(safe-area-inset-bottom))}
  .mp-close{width:44px;height:44px}
  .foot{padding:48px 24px 32px}
  .foot-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
  .foot-brand{grid-column:1/-1}
  .foot-col a{display:inline-flex;align-items:center;min-height:44px;font-size:15px}
  .foot-col li{margin-top:0}
  .foot-tag{font-size:15px}
  .foot-legal{font-size:13px;margin-top:32px}
  .foot-bottom{flex-direction:column;align-items:flex-start;font-size:13px}
}
/* A narrow desktop window still uses the fullscreen workspace and corner chat. */
@media(min-width:701px) and (max-width:1020px){
  html.appfull .composer-wrap{
    position:fixed;left:auto;right:16px;bottom:16px;top:auto;
    width:min(380px,calc(100vw - 32px));margin:0;z-index:2100;zoom:1;
  }
  html.appfull .composer-shell{max-height:calc(100dvh - 112px);overflow-y:auto;padding:12px;border-radius:20px}
  html.appfull .chat-heading{font-size:15px}
  html.appfull .ct-q,html.appfull .ct-a{font-size:14px}
  html.appfull .ct-cite{font-size:12px}
  html.appfull .ct-log{max-height:min(260px,36dvh);padding:0 4px 10px}
  html.appfull .ct-turn{padding:10px 0;gap:8px}
  html.appfull .composer-surface{height:auto;min-height:0;padding:8px;gap:8px}
  html.appfull .ci-row{min-height:44px}
  html.appfull .ci-icon{width:28px;height:32px;margin-right:0}
  html.appfull .ci-icon svg{width:22px;height:22px}
  html.appfull .ca-left .ca-chip{font-size:12px;height:36px;min-height:36px;padding:0 8px}
  html.appfull .ca-left .ca-chip svg{width:20px;height:20px}
  html.appfull .ca-right .ci-send{width:40px;height:40px}
}
@media(max-width:420px){
  .nav{padding:0 16px;gap:8px}
  .nav-brand .word{font-size:21px}
  .btn-expert{padding:0 12px;font-size:13px}
  .nav-right{gap:8px}
  .hero h1{font-size:48px}
  .composer-surface{padding:10px}
  .ca-chip{font-size:12px;padding:0 10px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
  .anim,.reveal{opacity:1!important;transform:none!important;visibility:visible!important}
}
/* Keep the original hero composition at a more restrained scale. */
@media(min-width:1021px){
  .hero h1{font-size:clamp(60px,6vw,94px)}
  .hero .sub{font-size:23px;margin-top:18px}
  html:not(.engaged):not(.docked):not(.appfull) .composer-wrap{width:min(960px,calc(100vw - 56px));margin-top:68px}
  .preview-plate{border-radius:12px}.preview-frame{border-radius:8px}
}
@media(max-width:1020px){
  .nav{height:64px}.fold{padding-top:80px}.nav-brand .word{font-size:21px}
  .hero h1{font-size:clamp(38px,6.5vw,56px)}.hero .sub{font-size:15px;margin-top:16px}
  .composer-wrap{margin-top:26px}.composer-shell{border-radius:10px;padding:10px}
  .composer-surface{min-height:130px;border-radius:6px}.app-state-trigger{font-size:14px}
  .preview-plate{border-radius:10px;padding:6px}.preview-frame{border-radius:6px}
  .preview-body{height:660px}.foot-col a{font-size:13px}.foot-tag{font-size:13px}
}
/* Fullscreen is a real viewport layout, independent of the hero's legacy .67 zoom. */
html.appfull{zoom:1}
html.appfull .nav{position:fixed;inset:0 0 auto;z-index:2200;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;width:100%;height:60px;padding:0 22px;background:rgba(248,249,251,.98);border-bottom:1px solid #d8dde4;box-shadow:0 2px 5px #1623380a;backdrop-filter:none}
html.appfull .nav-brand{font-size:19px;color:#171b21!important;text-shadow:none!important;gap:7px}
html.appfull .nav-brand .word{font-size:19px;letter-spacing:-.5px}
html.appfull .nav-brand svg{width:23px;height:27px;stroke:#171b21!important;filter:none!important;color:#171b21!important}
html.appfull .nav-links{position:static;left:auto;transform:none!important;display:flex;gap:18px;margin:0;justify-self:center}
html.appfull .nav-links a,html.appfull .nav-links .tools-btn{font-size:11px;font-weight:500;color:#252b34;text-shadow:none;white-space:nowrap}
html.appfull .nav-right{justify-self:end;gap:8px}
html.appfull .nav-expert{display:none}
html.appfull .btn-signin,html.appfull .btn-expert{height:34px;padding:0 12px;font-size:11px;border-radius:4px;box-shadow:0 1px 2px #16233812}
html.appfull .nav-burger{display:none;width:34px;height:34px;border-radius:4px}
html.appfull .tools-menu{width:440px;border-radius:6px;padding:14px;gap:16px;max-height:calc(100dvh - 90px);overflow:auto;box-shadow:0 12px 32px #16233825}
html.appfull .tools-menu.narrow{width:260px}
html.appfull .tools-group h4{font-size:9px;margin-bottom:8px}
html.appfull .tools-group .t{font-size:12px}
html.appfull .tools-group .d{font-size:10px;line-height:1.5}
html.appfull .tools-group a{padding:8px;border-radius:4px}
html.appfull .login-menu{min-width:170px;border-radius:5px;padding:6px;box-shadow:0 10px 24px #16233824}
html.appfull .login-menu a{font-size:12px;padding:10px}
html.appfull .preview-chrome{height:34px;min-height:34px;flex:none;padding:0 12px;border-bottom:1px solid #dce1e7}
html.appfull .preview-body{height:auto;aspect-ratio:auto;min-height:0;flex:1}
html.appfull .preview-body iframe{width:100%!important;height:100%!important;transform:none!important}
html.appfull .preview-plate,html.appfull .preview-frame{border-radius:0!important}
html.appfull .composer-wrap{width:min(420px,calc(100vw - 32px));right:16px;bottom:16px;left:auto;zoom:1;margin:0}
html.appfull .composer-shell{max-height:calc(100dvh - 110px);border-radius:8px;padding:10px}
html.appfull .composer-header,html.appfull .composer-actions{zoom:1}
html.appfull .ci-input{font-size:14px}
html.appfull .chat-heading{font-size:14px}
html.appfull .ct-q,html.appfull .ct-a{font-size:12px}
html.appfull .ct-cite{font-size:10px}
html.appfull .ct-log{max-height:min(240px,32dvh)}
html.appfull .composer-surface{min-height:120px;border-radius:5px}
html.appfull .ca-left .ca-chip{font-size:11px;min-height:32px;padding:0 8px}
html.appfull .ca-right .ci-send{width:36px;height:36px}
@media(max-width:1099px){html.appfull .nav{grid-template-columns:1fr auto}html.appfull .nav-links{display:none}html.appfull .nav-burger{display:flex}html.appfull .login-dd{display:block}}
@media(max-width:600px){html.appfull .nav{padding:0 14px}html.appfull .login-dd{display:none}}
.ci-icon .assistant-object{width:38px;height:38px;object-fit:contain;transition:transform .3s ease}
.ca-left .chip-object{width:29px;height:29px;object-fit:contain;flex:none;transition:transform .3s ease}
.ci-icon:hover .assistant-object,.ca-chip:hover .chip-object{transform:translateY(-2px) rotate(-6deg)}
html.appfull .ci-icon{width:36px;height:36px}
html.appfull .ci-icon .assistant-object{width:32px;height:32px}
html.appfull .ca-left .chip-object{width:25px;height:25px}
@media(prefers-reduced-motion:reduce){.assistant-object,.chip-object{transition:none!important;transform:none!important}}
/* Size the composer by its own available width, including the fullscreen corner. */
.composer-shell{container:composer / inline-size}
.composer-surface{height:auto;min-height:170px}
.composer-actions,.ca-left,.ca-right{min-width:0}
.ci-results{max-width:100%;overflow-wrap:anywhere}
@container composer (max-width:640px){
  .composer-header{padding:0 4px 8px;zoom:1}
  .app-state-trigger{height:32px;min-height:32px;font-size:13px;gap:8px;padding:0 8px}
  .app-state-trigger svg{width:20px;height:20px}
  .composer-shell .composer-surface{height:auto;min-height:104px;padding:8px 10px;gap:6px;border-radius:5px}
  .composer-shell .ci-row{height:auto;min-height:44px;gap:6px}
  .composer-shell .ci-icon{width:32px;height:36px;margin:0}
  .composer-shell .ci-icon .assistant-object{width:30px;height:30px}
  html .composer-shell .ci-input{font-size:16px;line-height:1.5;min-height:44px}
  .composer-shell .composer-actions{display:flex;flex-wrap:nowrap;gap:6px;margin-top:4px;zoom:1}
  .composer-shell .ca-left{flex:1;flex-wrap:nowrap;gap:2px}
  .composer-shell .ca-right{flex:none;flex-wrap:nowrap;gap:2px;margin:0}
  .composer-shell .ca-left .ca-chip{height:36px;min-height:36px;font-size:12px;padding:0 6px;border-radius:4px;flex:none}
  .composer-shell .ca-left .ca-chip + .ca-chip{margin-left:0}
  .composer-shell .ca-left .ca-chip + .ca-chip::before{display:none}
  .composer-shell .ca-left .ca-chip .cl{max-width:0;opacity:0;margin:0}
  .composer-shell .ca-left .chip-object{width:26px;height:26px}
  .composer-shell .ca-left .ca-chip.pinned{background:#e8edf3;box-shadow:inset 0 0 0 1px #cbd3df}
  .composer-shell .ca-left .mkt-dd{min-width:0;flex:1}
  .composer-shell .ca-left .mkt-btn{max-width:100%;gap:5px;padding:0 4px}
  .mkt-cur{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .composer-shell .ca-left .mkt-btn svg{width:12px;height:12px;flex:none}
  .composer-shell .ca-right .ca-chip{width:36px;height:36px;min-height:36px;padding:0}
  .composer-shell .ca-right .ca-chip svg{width:20px;height:20px}
  .composer-shell .ca-right .ci-send{width:38px;height:38px;min-height:38px}
  .composer-shell .ci-send svg{width:20px;height:20px}
  .composer-shell .ci-costs{flex-wrap:wrap;gap:8px}
  .composer-shell .ci-costs input{flex:1 1 100px;width:auto;min-width:0;max-width:100%;font-size:16px}
  .composer-shell .ci-hints{flex-wrap:wrap;font-size:12px}
  html .composer-shell .chat-heading{font-size:14px}
  html .composer-shell .ct-q,html .composer-shell .ct-a{font-size:13px}
  html .composer-shell .ct-cite{font-size:10px}
  html .composer-shell .ct-turn{padding:10px 0;gap:8px}
  html .composer-shell .ct-log{max-height:min(220px,32dvh);padding:0 4px 10px}
}
@container composer (max-width:440px){
  .composer-shell .composer-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 44px;gap:2px 4px}
  .composer-shell .ca-left,.composer-shell .ca-right{display:contents}
  .composer-shell .ca-left .mkt-dd{grid-column:1/5;grid-row:1;justify-self:start;max-width:100%}
  .composer-shell .ca-left>.ca-chip{grid-row:2;width:100%;height:44px;min-height:44px;padding:0}
  .composer-shell .ca-left .mkt-btn{height:40px;min-height:40px;font-size:12px}
  .composer-shell .ca-right .ca-chip{grid-column:5;grid-row:1;width:44px;height:40px;min-height:40px}
  .composer-shell .ca-right .ci-send{grid-column:5;grid-row:2;width:40px;height:40px;justify-self:center;align-self:center}
}
@media(max-width:1020px){
  .fold{padding-top:76px;padding-bottom:20px}
  .nav{height:60px;padding:0 16px}
  .nav-brand .word{font-size:20px}.nav-brand svg{width:24px;height:28px}
  .nav-right{gap:8px}.btn-expert{height:38px;padding:0 12px;font-size:12px}
  .nav-burger{width:40px;height:40px}
  .hero{padding:12px 20px 0}
  .hero h1{font-size:clamp(36px,6vw,54px);line-height:1.05}
  .hero .sub{font-size:14px;margin-top:14px;max-width:38ch}
  .eyebrow{font-size:11px}
  html:not(.appfull) .composer-wrap{width:calc(100% - 32px);max-width:620px;margin:22px auto 0;zoom:1}
  .composer-shell{padding:9px}
  .preview-wrap{width:calc(100% - 24px)}
  .preview-body{height:clamp(360px,72svh,620px)}
  .preview-chrome{min-height:36px;padding:4px 8px}
  .pc-nav button{font-size:11px;padding:8px 4px}
  .foot-inner{min-width:0}.foot-col{min-width:0}
  .foot-bottom,.foot-legal{overflow-wrap:anywhere}
}
@media(max-width:420px){
  .nav{padding:0 12px}.nav-brand .word{font-size:18px}
  .nav-brand{gap:6px}.nav-right{gap:6px}
  .btn-expert{padding:0 10px;font-size:11px}
  .hero{padding:10px 16px 0}.hero .sub{font-size:13px}
  html:not(.appfull) .composer-wrap{width:calc(100% - 24px);margin-top:18px}
  .composer-shell{padding:8px}
  .foot{padding:32px 16px 24px}
}
@media(max-height:600px) and (max-width:1020px){
  .fold{padding-top:64px}.hero{padding-top:8px}
  .hero h1{font-size:36px}.hero .sub{margin-top:8px}
  html:not(.appfull) .composer-wrap{margin-top:14px}
}
html.appfull .composer-wrap{bottom:max(12px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right))}
html.appfull .composer-shell{max-height:calc(100dvh - 90px);overflow-y:auto}
@media(min-width:701px) and (max-height:600px){
  html.appfull .composer-wrap{width:360px}
  html.appfull .composer-shell .ct-log{max-height:100px}
}
@media(hover:none){
  .ca-left .ca-chip:hover .cl{max-width:0;opacity:0;margin-left:0}
}
/* Composer controls use compact graphite glyphs, without the page illustrations' tilt. */
.ci-icon .assistant-object,.ca-left .chip-object{filter:none;pointer-events:none;transition:transform .18s ease,opacity .18s ease}
.ci-icon .assistant-object{width:32px;height:32px}
.ca-left .chip-object{width:30px;height:30px}
.ci-icon:hover .assistant-object,.ca-chip:hover .chip-object{transform:translateY(-1px)}
.ca-left>.ca-chip{border-radius:5px}
.ca-left>.ca-chip:hover{background:linear-gradient(#ffffff80,#dce1e740);box-shadow:inset 0 1px 0 #ffffffb3}
.ca-left>.ca-chip.pinned{background:linear-gradient(#e4e9ef,#f0f3f7);box-shadow:inset 0 0 0 1px #c6ced8,inset 0 1px 0 #fff}
.ca-left .ca-chip + .ca-chip::before{opacity:.45}
@container composer (max-width:640px){
  .composer-shell .ci-icon .assistant-object{width:28px;height:28px}
  .composer-shell .ca-left .chip-object{width:26px;height:26px}
}
/* Once the preview expands, the site navbar is its only window header. */
html.appmorph .preview-chrome,html.appfull .preview-chrome,
html.appmorph .preview-tabs,html.appfull .preview-tabs{display:none}
html.appmorph .nav,html.appfull .nav{background:#f8f9fb;-webkit-backdrop-filter:none;backdrop-filter:none}
.workspace-close{display:none}
html.appfull .workspace-close{display:grid;place-items:center;flex:none;width:30px;height:32px;padding:0;border:1px solid #d8dde4;border-radius:4px;background:#fff;color:#303740;cursor:pointer}
html.appfull .workspace-close:hover{background:#e9edf2}
/* A compact corner composer leaves the plan cards visible. */
html.appfull .composer-wrap{position:fixed;top:auto;left:auto;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));width:min(344px,calc(100vw - 24px));margin:0;z-index:2100}
html.appfull .composer-shell{padding:7px;border-radius:6px}
html.appfull .composer-header{display:flex;align-items:center;justify-content:space-between;padding:0 3px 5px;min-height:24px}
html.appfull .composer-dots{display:none}
html.appfull .app-state-trigger{height:24px;min-height:24px;padding:0 3px;font-size:11px;gap:6px}
html.appfull .app-state-trigger svg{width:16px;height:18px}
html.appfull .composer-shell .chat-heading{font-size:12px}
html.appfull .composer-shell .composer-surface{min-height:0;height:auto;padding:6px 8px;gap:3px}
html.appfull .composer-shell .ci-row{height:auto;min-height:34px;gap:6px}
html.appfull .composer-shell .ci-icon{width:24px;height:28px}
html.appfull .composer-shell .ci-icon .assistant-object{width:23px;height:23px}
html.appfull .composer-shell .ci-input{font-size:13px;min-height:32px}
html.appfull .composer-shell .composer-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:3px;margin-top:2px}
html.appfull .composer-shell .ca-left{display:flex;flex:1;gap:1px;flex-wrap:nowrap}
html.appfull .composer-shell .ca-right{display:flex;flex:none;gap:2px;flex-wrap:nowrap}
html.appfull .composer-shell .ca-left>.ca-chip{width:27px;height:30px;min-height:30px;padding:0}
html.appfull .composer-shell .ca-left .mkt-dd{flex:1;min-width:0;margin-right:2px}
html.appfull .composer-shell .ca-left .mkt-btn{height:30px;min-height:30px;padding:0;font-size:10px;gap:3px}
html.appfull .composer-shell .ca-left .mkt-btn svg{width:10px;height:10px}
html.appfull .composer-shell .ca-left .chip-object{width:21px;height:21px}
html.appfull .composer-shell .ca-right .ca-chip{width:25px;height:30px;min-height:30px}
html.appfull .composer-shell .ca-right .ca-chip svg{width:17px;height:17px}
html.appfull .composer-shell .ca-right .ci-send{width:30px;height:30px;min-height:30px}
html.appfull .composer-shell .ci-send svg{width:17px;height:17px}
html.appfull .composer-shell .ct-log{max-height:min(180px,25dvh);padding:0 3px 6px}
html.appfull .composer-shell .ct-q,html.appfull .composer-shell .ct-a{font-size:12px}
html.appfull .composer-shell .ct-turn{padding:7px 0;gap:6px}
@media(pointer:coarse){
  html.appfull .composer-shell .ci-input{font-size:16px}
  html.appfull .composer-shell .composer-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 44px;gap:2px 4px}
  html.appfull .composer-shell .ca-left,html.appfull .composer-shell .ca-right{display:contents}
  html.appfull .composer-shell .ca-left>.ca-chip{width:100%;height:44px;min-height:44px}
  html.appfull .composer-shell .ca-left .mkt-btn{height:40px;min-height:40px;font-size:11px}
  html.appfull .composer-shell .ca-right .ca-chip{width:44px;height:40px;min-height:40px}
  html.appfull .composer-shell .ca-right .ci-send{width:40px;height:40px;min-height:40px}
}
/* A stationary send control, with a centered glyph and a quiet pressed state. */
.composer-shell .ci-send{
  display:grid;place-items:center;padding:0;line-height:1;
  border:1px solid #20252b;border-radius:6px;
  background:#20252b;color:#fff;
  box-shadow:inset 0 1px 0 #ffffff16,0 1px 2px #1118201a;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  transform:none;scale:1;rotate:none;
  transition:background-color .12s ease,border-color .12s ease;
}
.composer-shell .ci-send:hover{background:#343b44;border-color:#343b44;scale:1}
.composer-shell .ci-send:active{background:#101419;border-color:#101419;box-shadow:inset 0 1px 2px #0003;scale:1}
.composer-shell .ci-send svg{display:block;transform:none;rotate:none;transition:none;animation:none}
.composer-shell .ci-send svg [stroke]{stroke:currentColor}
.composer-shell .ci-send:disabled{background:#e1e5ea;border-color:#d5dbe3;color:#87909b;box-shadow:none;opacity:1}
@media(prefers-reduced-motion:reduce){.composer-shell .ci-send{transition:none}}
/* Refined glass and controls, without changing the room or the page's scale. */
.composer-shell{box-shadow:inset 0 1px 0 #ffffffc9,0 3px 7px #10182214,0 20px 45px -22px #10182270}
.composer-surface{box-shadow:inset 0 1px 0 #ffffffd9,0 1px 3px #15202e08}
html.engaged .composer-shell,html.docked .composer-shell,html.appfull .composer-shell{box-shadow:0 2px 5px #15202e14,0 14px 32px -10px #15202e38}
.composer-shell .ci-input::placeholder{color:#66717f;opacity:1}
.composer-shell .ci-costs #gDName{min-width:0!important}
.composer-shell .ca-left>.ca-chip:hover{background:linear-gradient(#ffffffc2,#e8edf380)}
.composer-shell .ci-icon:hover .assistant-object,.composer-shell .ca-chip:hover .chip-object{transform:none}
html.engaged .ct-q{border-radius:5px;background:#edf1f6;border:1px solid #dfe5ed}
html.appfull .nav{border-bottom:1px solid #d6dde6;box-shadow:0 1px 3px #15202e08}
/* Scroll reveals never tilt or resize the live plan viewport. */
html.gsap .reveal.in{opacity:1;visibility:visible;transform:none}
.preview-wrap.reveal,.preview-wrap.reveal.in,html.gsap .preview-wrap.reveal{opacity:1;visibility:visible;transform:none;transition:none}
.preview-plate{-webkit-backdrop-filter:none;backdrop-filter:none}
html{scrollbar-gutter:stable}
html.appfull{scrollbar-gutter:auto}
/* The inset preview belongs to the page's native scroll surface. */
.preview-activate{position:absolute;inset:0;z-index:3;border:0;padding:0;background:transparent;cursor:pointer;border-radius:0;touch-action:pan-y}
.preview-activate:focus-visible{outline:2px solid #53667c;outline-offset:-4px}
.preview-wrap.max .preview-activate{display:none}
.preview-wrap:not(.max) .preview-body iframe{pointer-events:none}
.preview-chrome .pv-max{width:auto;min-height:32px;height:auto;padding:5px 9px;gap:9px;border:1px solid #d4dae2;border-radius:4px;background:linear-gradient(#fff,#f2f4f7);color:#3e4a58;box-shadow:inset 0 1px 0 #fff,0 1px 2px #15202e09;font:500 14px 'Plus Jakarta Sans',sans-serif;white-space:nowrap}
.preview-chrome .pv-max:hover{background:#fff;border-color:#aeb9c6}
.preview-chrome .pv-max svg{width:16px;height:16px;flex:none}
@media(max-width:1020px){.preview-chrome .pv-max{min-height:36px;font-size:11px;padding:5px 10px}}
/* Guided fields reflow to usable rows inside the compact corner composer. */
@container composer (max-width:440px){
  .composer-shell .ci-costs.on{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;padding:4px 0 6px}
  .composer-shell .ci-costs input{width:100%!important;min-width:0!important;max-width:100%;height:34px;padding:7px 9px;border-radius:4px;font-size:12px;line-height:1.5}
  .composer-shell .ci-row{flex-wrap:wrap}
  .composer-shell .ci-input{flex:1 1 120px;width:0}
  .composer-shell .ci-mode{flex:none;font-size:12px}
}
@media(pointer:coarse){.composer-shell .ci-costs input{min-height:40px;font-size:16px}}
/* Adapt the supplied ContainerScroll motion to the existing compact preview. */
.preview-scroll{position:relative;display:flow-root;padding:24px 0 36px;overflow-anchor:none}
.preview-caption{position:relative;transition:none}
html .preview-scroll .preview-wrap:not(.max){transform:perspective(1000px) rotateX(var(--preview-tilt,20deg)) scale(var(--preview-scale,1))!important;transform-origin:50% 0;transition:none;backface-visibility:hidden}
.preview-scroll .preview-plate{box-shadow:0 3px 8px #151c2520,0 18px 30px -14px #151c2542,0 50px 60px -40px #151c2533}
@media(max-width:768px){
  html .preview-scroll .preview-wrap:not(.max){--preview-scale:.9}
  .preview-scroll{padding:12px 0 24px}
}
@media(prefers-reduced-motion:reduce){
  html .preview-scroll .preview-wrap:not(.max){transform:none!important}
  .preview-caption{transform:none!important}
}
/* Active modes keep the question separate from the mode label. */
@container composer (max-width:640px){
  .composer-shell .ci-row:has(.ci-mode.on){display:grid;grid-template-columns:26px minmax(0,1fr);gap:0 6px}
  .composer-shell .ci-row:has(.ci-mode.on) .ci-input{grid-column:1/-1;width:100%;min-width:0;min-height:34px;font-size:14px}
  .composer-shell .ci-mode{height:26px;margin:0;padding:0;font-size:12px}
  .composer-shell .ci-icon{width:26px;height:28px}
  .composer-shell .ci-icon .assistant-object{width:23px;height:23px}
  .composer-shell .ci-hints{gap:4px;padding:0 0 5px}
  .composer-shell .ci-hints .hl{font-size:11px}
  .composer-shell .ci-hint{height:auto;min-height:28px;padding:5px 7px;font-size:11px;line-height:1.4;border-radius:4px;background:#e9edf280}
}
@media(pointer:fine){
  @container composer (max-width:440px){
    .composer-shell .composer-actions{display:flex;align-items:center;gap:3px}
    .composer-shell .ca-left{display:flex;flex:1;gap:1px}
    .composer-shell .ca-right{display:flex;flex:none;gap:2px}
    .composer-shell .ca-left .mkt-dd{flex:1;min-width:0;margin:0}
    .composer-shell .ca-left .mkt-btn{height:32px;min-height:32px;font-size:10px;padding:0 3px}
    .composer-shell .ca-left>.ca-chip{width:29px;height:32px;min-height:32px}
    .composer-shell .ca-left .chip-object{width:22px;height:22px}
    .composer-shell .ca-right .ca-chip{width:26px;height:32px;min-height:32px}
    .composer-shell .ca-right .ci-send{width:32px;height:32px;min-height:32px}
  }
}
@media(pointer:coarse){.composer-shell .ci-row:has(.ci-mode.on) .ci-input{font-size:16px}}
/* Fullscreen geometry follows every inset/mobile preview rule. */
html.appfull .preview-wrap.max{position:fixed;top:var(--plate-top,60px)!important;left:0!important;right:0!important;bottom:0!important;width:auto!important;height:auto!important;max-width:none;margin:0;zoom:1;transform:none!important}
html.appfull .preview-wrap.max .preview-plate{height:100%;padding:0;border:0;border-radius:0;display:flex;flex-direction:column}
html.appfull .preview-wrap.max .preview-frame{flex:1;min-height:0;border:0;border-radius:0;display:flex;flex-direction:column}
html.appfull .preview-wrap.max .preview-body{flex:1;min-height:0;height:auto;aspect-ratio:auto;overflow:hidden}
