/* Keep the first prompt in the visual center; active chats use a fixed, bottom-pinned composer. */
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) #appView{height:auto;min-height:100dvh;overflow:visible}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) #assistant{display:flex;flex:1 0 auto;min-height:100dvh;overflow:visible}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .assistant-panel{height:auto;min-height:100dvh;justify-content:flex-start;overflow:visible;padding:clamp(18px,3vh,30px) 48px 24px}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .workspace-intro{flex:0 0 auto;min-height:0;overflow:visible;padding:0}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .workspace-welcome{margin-bottom:17px}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .workspace-model-controls{margin-top:12px}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .prompt-shortcuts{margin-top:34px}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .workspace-intro .workspace-suggestions{margin:19px 0 21px}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .assistant-composer{width:100%;min-height:0;margin:0}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .assistant-composer textarea{min-height:56px;max-height:110px}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .conversation-dock{display:block;flex:0 0 auto;width:100%;margin:0;padding:0}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .workspace-modes{width:fit-content;max-width:100%;margin:0 auto 8px;justify-content:center}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .prompt-shortcuts,
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .business-shortcuts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:24px 0 0}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .business-shortcuts{margin:10px 0 20px}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .workspace-intro .workspace-suggestions{display:none}

.workspace-model-controls{display:flex;align-items:center;justify-content:center;gap:5px;width:fit-content;max-width:100%;min-width:0;margin:9px auto 0;padding:4px;border:1px solid #e8e4f0;border-radius:999px;background:#f2eff8;color:#69627f}
.workspace-model-controls label{display:flex;align-items:center;gap:7px;min-width:0;margin:0;white-space:nowrap}
.workspace-model-controls .workspace-model-picker{flex:1 1 150px;max-width:230px}
.workspace-model-controls .workspace-routing-picker{flex:0 1 auto;padding:0 10px;border-left:1px solid #e4deed}
.workspace-model-controls .workspace-routing-picker>span:not(.sr-only){color:#888194;font-size:12px}
.workspace-model-controls select{display:block;width:100%;min-width:0;margin:0;padding:8px 24px 8px 11px;border:0;border-radius:999px;background:#fff;color:#655b78;font:inherit;font-size:13px;line-height:1.4;box-shadow:0 1px 4px #5449700a}
.workspace-model-controls .workspace-routing-picker select{padding-left:2px;padding-right:18px;background:transparent;box-shadow:none}
.workspace-model-controls select:focus-visible{outline:2px solid #9e8bc1;outline-offset:2px}
.workspace-model-controls select:disabled{opacity:1;-webkit-text-fill-color:currentColor;cursor:not-allowed}
.workspace-mode .composer-submit-actions .workspace-model-controls{order:0;flex:0 0 auto;width:auto;max-width:none;margin:0 4px 0 0;padding:0;border:0;border-radius:0;background:transparent}
.workspace-mode .composer-submit-actions .workspace-model-controls .workspace-model-picker{flex:0 0 auto;width:118px;max-width:118px}
.workspace-mode .composer-submit-actions .workspace-model-controls .workspace-routing-picker{flex:0 1 auto;min-width:0;padding:0 4px}
.workspace-mode .composer-submit-actions .workspace-model-controls .workspace-routing-picker>span:not(.sr-only){display:none}
.workspace-mode .composer-submit-actions .workspace-model-controls select{padding:8px 20px 8px 9px;border-radius:8px;background:#f3f0fb;color:var(--composer-control-color);font-size:var(--composer-control-size);box-shadow:none}
.workspace-mode .composer-submit-actions .workspace-model-controls .workspace-routing-picker select{padding-left:8px}

@media(min-width:761px) and (max-width:1050px){.workspace-mode .composer-submit-actions{flex:0 1 auto;justify-content:flex-end}.workspace-mode .composer-submit-actions .workspace-model-controls{flex:0 0 auto}}
@media(min-width:1051px){.workspace-mode .composer-submit-actions{flex:0 1 auto}.workspace-mode .composer-submit-actions .workspace-model-controls{flex:0 0 auto}}
@media(max-width:760px){
  body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) #appView{min-height:100dvh}
  body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) #assistant{min-height:calc(100dvh - 56px)}
  body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .assistant-panel{min-height:calc(100dvh - 56px);padding:14px 20px 20px}
  body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .workspace-welcome{margin-bottom:15px}
  body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .prompt-shortcuts{margin-top:25px}
  body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .workspace-intro .workspace-suggestions{margin:16px 0}
  body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .assistant-composer{min-height:0}
  .workspace-model-controls{width:min(100%,390px);gap:3px;padding:3px}
  .workspace-model-controls .workspace-routing-picker{padding:0 7px}
  .workspace-model-controls .workspace-routing-picker>span:not(.sr-only){font-size:11px}
  .workspace-model-controls select{font-size:12px;padding:8px 19px 8px 9px}
  .workspace-mode .composer-submit-actions{display:flex;flex:1 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:5px}
  .workspace-mode .composer-submit-actions .workspace-model-controls{flex:0 0 auto;max-width:none;justify-content:flex-end;margin-right:2px}
  .workspace-mode .composer-submit-actions .workspace-model-controls .workspace-model-picker{flex:1 1 130px;max-width:210px}
  .workspace-mode .composer-submit-actions .workspace-model-controls select{font-size:12px}
  .workspace-mode .assistant-composer .composer-actions{display:flex;flex-wrap:wrap}
}
@media(max-width:380px){.workspace-model-controls .workspace-routing-picker>span:not(.sr-only){display:none}.workspace-mode .assistant-composer{padding:12px} .workspace-mode .assistant-composer textarea{min-height:52px}}
@media(min-width:761px) and (max-height:700px){body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .assistant-panel{padding-top:24px;padding-bottom:20px}}

.conversation-dock .prompt-shortcuts{display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:8px;width:100%;margin:0 0 10px;overflow-x:auto}
.conversation-dock .prompt-shortcuts button{flex:0 0 auto;white-space:nowrap}
.has-messages .conversation-dock .prompt-shortcuts{display:none}

.workspace-intro .prompt-shortcuts{display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:8px;width:100%;margin:14px auto 10px;overflow-x:auto}
.workspace-intro .prompt-shortcuts button{flex:0 0 auto;white-space:nowrap}
.workspace-intro .workspace-modes{margin:0 auto 10px}
.economy-promo{position:relative;display:flex;align-items:center;justify-content:center;width:min(760px,100%);margin:3px auto}
.economy-promo-trigger{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:2px 12px;border:0;border-radius:18px;background:transparent;color:#8a8496;text-align:center;font:inherit;line-height:20px;cursor:pointer}
.economy-promo-trigger strong{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:3px 10px;border-radius:999px;background:#efeafb;color:#8a7bd4;font-size:13px;font-weight:650;line-height:20px}
.economy-promo-trigger span{color:#8a8496;font-size:13px;line-height:1.5}
.economy-promo-trigger:hover,.economy-promo:hover .economy-promo-trigger,.economy-promo-trigger[aria-expanded=true]{background:#f6f3fb}
.economy-promo-menu{position:absolute;top:calc(100% - 4px);left:50%;z-index:8;width:min(420px,100%);padding:6px;border:1px solid #e6e2ed;border-radius:14px;background:#fff;box-shadow:0 10px 28px #51456b18;transform:translateX(-50%)}
.economy-promo-menu[hidden]{display:none}
.economy-promo-menu button{display:block;width:100%;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:#5f5870;text-align:left;font:inherit;cursor:pointer}
.economy-promo-menu button:hover,.economy-promo-menu button:focus-visible{background:#f5f3fa}
.economy-promo-menu button[aria-checked=true]{background:#efeafb;color:#5b4f86}
.economy-promo-menu button span{display:block;font-size:13px;font-weight:650}
.economy-promo-menu button small{display:block;margin-top:3px;color:#8b858f;font-size:12px;line-height:1.5}
.has-messages .economy-promo{display:none}
@media(max-width:760px){.economy-promo-trigger{gap:7px;padding:2px 6px}.economy-promo-trigger span{font-size:12px;text-align:left}}

.workspace-mode .composer-submit-actions #workspaceRefreshModels,.workspace-mode .composer-submit-actions #stopChat{order:1}
.workspace-mode .composer-submit-actions #sendChat{order:2}
.workspace-mode .composer-submit-actions{flex:0 0 auto;flex-wrap:nowrap;max-width:100%;margin-left:auto}
.workspace-mode .composer-submit-actions #addTaskMaterial{flex:0 0 auto;width:auto;min-width:64px;padding:0 6px;white-space:nowrap}
.workspace-mode .composer-submit-actions #workspaceModelControls{margin:0 4px 0 0}

body.design-mode .workspace-welcome{display:none}
body.design-mode .workspace-intro{display:flex;flex-direction:column;align-items:center}
body.design-mode .workspace-modes{margin:18px auto 16px}
.design-shortcuts{display:none}
.workspace-intro .prompt-shortcuts[hidden],body.design-mode [data-mode-shortcuts="office"]{display:none !important}
body.design-mode .design-shortcuts{display:flex}
.design-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;width:min(1080px,100%);margin:28px auto 12px}
.design-gallery[hidden],.design-notice[hidden],.design-shortcuts[hidden]{display:none}
.design-gallery button{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;padding:0;border:0;background:transparent;color:#4d5560;font:inherit;cursor:pointer}
.design-card{display:flex;flex-direction:column;justify-content:flex-end;width:100%;aspect-ratio:1.35/1;padding:16px;border-radius:18px;color:#fff;text-align:left;box-shadow:0 10px 24px #51456b14}
.design-card b{font-size:22px;line-height:1.25}
.design-card small{margin-top:6px;font-size:11px;line-height:1.4;opacity:.86}
.design-card-room{background:linear-gradient(135deg,#f4efe8,#d8c7b4)}
.design-card-room b,.design-card-room small{color:#2b2b2b}
.design-card-nova{justify-content:center;align-items:center;background:radial-gradient(circle at 50% 42%,#3a3a3a,#111);text-align:center}
.design-card-spain{background:linear-gradient(160deg,#f6efe4,#e7d3b4 42%,#c9844a)}
.design-card-spain b,.design-card-spain small{color:#3d342c}
.design-card-silver{background:linear-gradient(145deg,#f7f4ff,#d9e4f5)}
.design-card-silver b,.design-card-silver small{color:#5d6794}
.design-gallery strong{color:#5d6470;font-size:14px;font-weight:500}
.design-notice{margin:18px 0 0;color:#b0b4bb;font-size:13px;text-align:center}
@media(max-width:900px){.design-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.design-gallery{grid-template-columns:1fr}.design-card b{font-size:20px}}
body.workspace-has-messages .design-stage{display:none !important}
.design-stage[hidden]{display:none !important}
body.design-mode:not(.workspace-has-messages) .design-stage{display:block;width:min(1080px,100%);margin:28px auto 8px}
body.design-mode:not(.workspace-has-messages) .design-shortcuts{margin:8px auto 14px}
body.design-mode:not(.workspace-has-messages) .assistant-composer textarea{min-height:92px}
body.design-mode .design-gallery{margin-top:8px}
.design-card{box-shadow:0 12px 28px #51456b12;overflow:hidden}
.design-gallery strong{margin-top:2px;font-size:15px;font-weight:500;text-align:center}

body.life-mode:not(.workspace-has-messages) .workspace-welcome{display:none}
body.life-mode .workspace-intro{display:flex;flex-direction:column;align-items:center}
body.life-mode .workspace-intro .life-shortcuts{flex-wrap:wrap;margin:6px auto 10px}
body.life-mode:not(.workspace-has-messages) .life-stage{display:block;width:min(1080px,100%);margin:16px auto 8px}
.life-stage-heading{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.life-stage-heading h2{margin:0;color:#383151;font-size:18px;font-weight:650}
.life-stage-heading p{margin:0;color:#8a8496;font-size:13px}
.life-gallery{margin-top:0}
.life-card-knowledge{background:linear-gradient(145deg,#e8e0ff,#c6b7f8);color:#493677}
.life-card-travel{background:linear-gradient(145deg,#dcf5ee,#a0d6c8);color:#275f53}
.life-card-city{background:linear-gradient(145deg,#fff1db,#f5d2a2);color:#77512c}
.life-card-entertainment{background:linear-gradient(145deg,#f8e4f0,#e9bedb);color:#764c71}
.life-gallery button:hover .design-card{box-shadow:0 10px 24px #51456b23}
.life-gallery button:focus-visible{outline:2px solid #8a6bff;outline-offset:5px;border-radius:18px}
.workspace-mode .assistant-composer #assistantInput.is-prompt-guidance{color:#b5b5bd;caret-color:#31373c}
html[data-theme=dark] .workspace-mode .assistant-composer #assistantInput.is-prompt-guidance{color:#85818f;caret-color:#ece9f4}
@media(max-width:560px){.workspace-modes .mode-pill{padding:7px 12px;font-size:14px}.life-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.life-gallery .design-card{padding:12px;aspect-ratio:1.15}.life-gallery .design-card b{font-size:19px}.life-gallery strong{font-size:13px}.life-stage-heading{gap:5px}}
body.workspace-mode:not(.workspace-has-messages):not(.billing-open):not(.code-open) .workspace-intro .prompt-shortcuts{align-items:center;margin:8px auto}
