:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#253c35;background:#fcfcf9;font-synthesis:none;--ink:#253c35;--muted:#7c8981;--accent:#34644f;--line:#e5e8e0}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{background:none;border:0;color:inherit}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid #638d66;outline-offset:4px}input,textarea,select{border:1px solid var(--line);border-radius:10px;padding:12px;color:var(--ink);background:#fff;outline:none}input:focus,textarea:focus,select:focus{border-color:#719c7c;box-shadow:0 0 0 3px #719c7c18}textarea{resize:vertical;line-height:1.65}label{display:grid;gap:8px;font-size:13px;font-weight:550}p{line-height:1.65}h1{font-size:40px;line-height:1.2;letter-spacing:-1.4px;font-weight:520;margin:16px 0}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.wordmark{display:flex;align-items:center;gap:9px;font-size:20px;font-weight:750;letter-spacing:1.5px}.brand-orbit{font-size:34px;line-height:1;color:#477858}.tag{font-size:8px;letter-spacing:1.7px;background:#e4eadf;border-radius:4px;padding:5px 6px;color:#658263}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:#899477}.primary{border-radius:10px;background:#345d47;color:white;padding:13px 20px;font-weight:550;display:flex;align-items:center;justify-content:center;gap:20px;white-space:nowrap}.primary:hover{background:#234a35}.muted,.quiet{color:var(--muted);font-size:13px}.notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:50;background:#294638;color:white;padding:12px 22px;border-radius:12px;box-shadow:0 10px 40px #20372c22;max-width:90vw;font-size:13px}.notice:empty{display:none}.gate{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:35px;background:radial-gradient(ellipse at 20% 20%,#e8eddf 0,transparent 45%),#f8f9f4}.gate>.wordmark{margin:15px 0 35px}.gate-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:22px;padding:34px;box-shadow:0 16px 60px #3c55390a;display:grid;gap:18px}.gate-card h1{font-size:38px;margin:0}.gate-card p{font-size:13px;color:var(--muted);margin:0}.gate-card small{font-size:10px;line-height:1.6;color:var(--muted)}.gate footer{font-size:10px;color:#87937d;margin-top:30px}.captcha-row{display:flex;align-items:center;gap:8px}.captcha-row img{border-radius:8px;max-width:85%;height:64px}.captcha-row button{font-size:24px}.form-error{color:#a14034!important;min-height:10px}.studio{display:grid;grid-template-columns:256px minmax(0,1fr);min-height:100dvh}.portal-sidebar{background:#f1f3ed;border-right:1px solid #e8eae3;padding:30px 20px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100dvh;gap:22px}.portal-sidebar .wordmark{font-size:18px;gap:7px}.portal-sidebar .tag{font-size:7px}.new-chat{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #dfe4d9;box-shadow:0 2px 2px #24372c03;border-radius:9px;text-align:left;padding:12px 10px;font-size:12px;font-weight:550}.new-chat>span{font-size:18px}.new-chat small{margin-left:auto;color:#8b9b84}.portal-sidebar nav{display:grid;gap:4px}.portal-sidebar nav button{display:flex;align-items:center;gap:12px;text-align:left;border-radius:8px;padding:10px 11px;font-size:12px;color:#667465;font-weight:550}.portal-sidebar nav button>span{width:20px;font-size:21px;line-height:1}.portal-sidebar nav button small{font-size:7px;letter-spacing:1px;background:#e6ebde;border-radius:4px;padding:3px 5px;margin-left:auto;color:#788b62}.portal-sidebar nav button:hover,.portal-sidebar nav button.selected{background:#e2e9db;color:#385636}.history-heading{display:flex;align-items:center;justify-content:space-between;color:#9aab90;font-size:9px;letter-spacing:1.4px;margin-top:5px}.history-heading button{font-size:20px}.conversation-list{overflow-y:auto;flex:1;min-height:60px}.conversation-list button{display:block;text-align:left;padding:10px;width:100%;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:7px;color:#6b7765}.conversation-list button.selected{background:#e3e9dc;color:#334c30}.conversation-list p{font-size:11px;color:#9aa48e;padding:0 9px}.sidebar-bottom{margin-top:auto;display:grid;gap:15px}.balance-card{background:linear-gradient(120deg,#e5ebd9,#ecede3);border:1px solid #dce4d0;border-radius:12px;padding:14px;text-align:left;display:grid;gap:7px}.balance-card span{font-size:10px;color:#5b764a}.balance-card strong{font-size:24px;font-weight:500}.balance-card small{font-size:8px;color:#849477}.profile-button{display:flex;align-items:center;gap:10px;text-align:left;padding:0 5px}.avatar{background:#d6dfc8;width:33px;height:33px;border-radius:50%;display:grid;place-items:center;font-size:13px}.profile-button>span:nth-child(2){flex:1;display:grid;gap:3px}.profile-button strong{font-size:11px}.profile-button small{color:#9aa38e;font-size:8px}.portal-main{min-width:0;position:relative}.portal-topbar{height:78px;padding:0 36px;display:flex;align-items:center;border-bottom:1px solid #eff0e9;gap:18px}.portal-topbar>div{display:flex;align-items:center;gap:13px}.topbar-title{font-size:14px;font-weight:550}.beta{font-size:7px;letter-spacing:1.1px;color:#9b9f8b;border:1px solid #e8e9de;border-radius:4px;padding:4px 6px}.local-status{margin-left:auto;font-size:9px;color:#98a18e;white-space:nowrap}.local-status i{display:inline-block;background:#779368;width:5px;height:5px;border-radius:50%;margin-right:5px}.portal-topbar .quiet{font-size:10px}.mobile-menu{display:none}.view{padding:25px 40px}.chat-view{min-height:calc(100dvh - 78px);display:flex;flex-direction:column}.welcome{margin:auto;width:min(820px,100%);text-align:center;padding:65px 0 45px}.hero-star{display:grid;place-items:center;min-height:1.2em;font-size:72px;color:#718963;line-height:1.2;margin-bottom:27px}.hero-star .brand-logo{width:1em;height:1em}.hero-star .brand-orbit{font-size:1em}.welcome h1{font-size:20px;line-height:1.5;margin:18px 0;letter-spacing:-.2px;color:#354e3b}.welcome>p:not(.eyebrow){font-size:12px;color:#9aab93}.suggestions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;text-align:left;margin:43px auto 0;max-width:680px}.suggestions button{background:#f7f8f1;border:1px solid #e9eddf;border-radius:12px;padding:18px 16px;display:grid;gap:12px;text-align:left}.suggestions button>span{font-size:20px;color:#9ca886}.suggestions strong{font-size:14px;font-weight:550}.suggestions small{font-size:14px;color:#99a38a}.composer-dock{width:min(820px,100%);margin:0 auto 6px;padding-top:20px}.chat-composer{border:1px solid #dfe5d7;background:white;border-radius:18px;padding:15px 18px 12px;box-shadow:0 5px 20px #24372b05}.chat-composer textarea{width:100%;min-height:62px;max-height:220px;border:0;background:transparent;padding:0 0 10px;box-shadow:none;resize:none;font-size:13px}.chat-composer textarea::placeholder{color:#adb6a5}.composer-bottom{display:flex;gap:14px;align-items:center}.model-label{font-size:10px;color:#879578}.internet-switch{display:flex!important;align-items:center;gap:5px!important;font-size:10px;font-weight:400!important;color:#8e9d81;margin-left:auto;cursor:pointer}.internet-switch input{appearance:auto;width:13px!important;height:13px;padding:0;box-shadow:none;accent-color:#456c49}.send{background:#375e43;color:white;border-radius:10px;width:33px;height:33px;font-size:22px}.composer-disclaimer{text-align:center;font-size:8px;color:#adb4a4;margin:12px 0 0}.composer-disclaimer span{padding-left:10px}.conversation-toolbar{display:flex;align-items:center;gap:12px;max-width:820px;width:100%;margin:0 auto;font-size:11px;color:#97a18e}.conversation-toolbar>span{flex:1;font-size:12px;color:#4c674b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-toolbar button{font-size:10px}.chat-messages{max-width:820px;width:100%;margin:0 auto;display:grid;gap:26px}.chat-messages:not(:empty){padding:35px 0;flex:1;align-content:start}.message{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{background:#edf1e6;max-width:85%;padding:12px 20px;border-radius:17px 17px 2px 17px;margin-left:auto}.message.assistant{padding-left:30px;position:relative}.message.assistant:before{content:'✳';position:absolute;left:0;color:#709362;font-size:21px}.message pre{background:#f0f2ea;border-radius:10px;padding:16px;overflow:auto;white-space:pre}.message .sources{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.sources a{font-size:10px;border:1px solid var(--line);padding:4px 9px;border-radius:6px}.job-status{color:#92a184;font-size:12px}.job-status:before{content:'◌ ';color:#4a7350}.standard-view,.media-view{max-width:1160px;margin:auto;padding:50px 60px}.standard-view>h1,.media-heading h1{font-size:38px}.media-heading{margin:25px 0 35px}.media-heading p{font-size:13px;color:#98a28c}.media-composer{background:white;border:1px solid var(--line);border-radius:16px;padding:22px}.media-composer textarea{border:0;box-shadow:none;padding:15px 0;width:100%;font-size:13px}.media-composer .composer-bottom>span{font-size:10px;color:#92a084}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}.media-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.media-card>img,.media-card>video{width:100%;aspect-ratio:1;object-fit:cover;background:#e7ecde}.media-card>audio{width:calc(100% - 20px);margin:10px}.media-card .card-body{padding:14px;display:grid;gap:8px}.card-body p{margin:0;font-size:12px;overflow-wrap:anywhere}.card-body small{font-size:9px;color:#8a9a7c}.card-body a{font-size:11px;color:#507d47}.media-card.failed{background:#fff7f3}.credit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin:30px 0}.credit-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:25px}.credit-card strong{font-size:32px;font-weight:500}.credit-card h2{font-size:14px;font-weight:550}.credit-card p{font-size:11px;color:#8d9a80}.credit-card progress{accent-color:#7e9a68;width:100%;height:7px}.profile-form{width:min(580px,100%);display:grid;gap:20px;margin-top:30px}.consent{display:flex;align-items:flex-start;font-size:11px;line-height:1.7;font-weight:400}.consent input{width:auto;margin-top:4px;accent-color:#63845b}.callout{padding:14px 18px;background:#f3f1db;border:1px solid #e4dfb7;border-radius:12px;color:#877139;font-size:12px}.music-view{padding:26px}.music-view #audio-subtab-music{border-radius:18px}.music-view .music-studio-grid{min-height:580px;height:auto;max-height:none}.music-view .music-composer form{display:grid;gap:20px}.music-view .music-library-panel>h2{margin:12px 0!important}.music-view .music-library-panel>p{font-size:12px;color:#9caaa1!important}.music-view .media-card{background:#1a2923;border-color:#33473b;color:#e0e9d8;margin-top:18px}.music-view .media-card audio{height:35px}.music-view .media-card a{color:#bce78d}.music-view .internet-switch{margin-left:0}.music-view .music-generate{background:#bce78d;color:#1e321a!important;width:100%;padding:15px;border-radius:10px;font-weight:650}
@media(min-width:1500px){.welcome{padding-top:100px}.suggestions{margin-top:50px}.portal-sidebar{padding-top:35px}.composer-dock{margin-bottom:20px}}
@media(max-width:1100px){.studio{grid-template-columns:225px 1fr}.portal-sidebar{padding:25px 14px}.portal-sidebar .wordmark{font-size:16px}.view{padding:25px}.standard-view,.media-view{padding:35px}.suggestions{gap:8px}.suggestions button{padding:14px 10px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-topbar{padding:0 25px}.music-view{padding:16px}.music-view .music-studio-grid{grid-template-columns:1fr}.music-view .music-composer{border-right:0;border-bottom:1px solid #35443f}.beta{display:none}}
@media(max-width:700px){.studio{display:block}.portal-sidebar{position:fixed;left:-280px;top:0;width:256px;z-index:30;transition:left .2s;box-shadow:10px 0 50px #30412c16}.studio.menu-open .portal-sidebar{left:0}.mobile-menu{display:block;font-size:18px}.portal-topbar{height:65px;padding:0 18px;gap:12px}.portal-topbar>div{flex:1}.local-status{display:none}.topbar-title{font-size:14px}.portal-topbar .quiet{font-size:9px}.chat-view{min-height:calc(100dvh - 65px);padding:20px 18px}.welcome{padding:38px 0}.hero-star{font-size:56px;margin-bottom:20px}.suggestions{grid-template-columns:1fr;margin-top:27px;gap:8px}.suggestions button{display:grid;grid-template-columns:28px 1fr;gap:4px;padding:13px}.suggestions button>span{grid-row:span 2;align-self:center}.suggestions strong{font-size:14px}.suggestions small{font-size:14px}.welcome>p:not(.eyebrow){font-size:11px}.eyebrow{font-size:8px}.chat-composer{padding:13px}.composer-bottom{gap:8px}.model-label{font-size:9px}.internet-switch{font-size:9px}.composer-disclaimer{font-size:7px}.message{font-size:13px}.message.assistant{padding-left:25px}.standard-view,.media-view{padding:30px 20px}.standard-view>h1,.media-heading h1{font-size:31px}.media-grid,.credit-grid{grid-template-columns:1fr}.media-composer{padding:16px}.media-composer .composer-bottom{flex-wrap:wrap}.media-composer .primary{font-size:12px;width:100%}.gate{padding:22px}.gate-card{padding:25px}.music-view{padding:12px}.conversation-toolbar{font-size:10px}.music-view .music-studio-grid{min-height:0}.music-view .music-library-panel{min-height:300px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Botanical greens and warm earth tones, shared by the two navigation surfaces. */
.portal-sidebar{
  background:
    radial-gradient(ellipse at 8% 4%,rgba(182,210,163,.40),transparent 52%),
    radial-gradient(ellipse at 95% 58%,rgba(208,185,150,.20),transparent 60%),
    linear-gradient(164deg,#e5eddd 0%,#ebeddf 42%,#eee2cf 100%);
  border-right-color:#d9dfce;
}
.portal-topbar{
  background:
    radial-gradient(ellipse at 18% 0%,rgba(190,214,174,.35),transparent 58%),
    radial-gradient(ellipse at 86% 100%,rgba(218,191,155,.25),transparent 55%),
    linear-gradient(110deg,#edf2e5 0%,#f1efe3 55%,#f1e7d8 100%);
  border-bottom-color:#e0dfcf;
}
.portal-sidebar .tag{background:#dce4cf;color:#6d7855}
.portal-sidebar .new-chat{background:rgba(255,255,250,.68);border-color:#d6ddca;box-shadow:0 2px 8px rgba(100,111,75,.035)}
.portal-sidebar nav button{color:#647159}
.portal-sidebar nav button:hover,.portal-sidebar nav button.selected{
  background:linear-gradient(112deg,rgba(203,222,187,.82),rgba(224,216,192,.68));
  color:#3d5938;
}
.portal-sidebar nav button small{background:rgba(221,229,202,.78);color:#74815c}
.portal-sidebar .history-heading{color:#87916f}
.portal-sidebar .conversation-list button{color:#68765c}
.portal-sidebar .conversation-list button.selected{background:linear-gradient(112deg,rgba(210,226,194,.65),rgba(231,221,198,.55));color:#405739}
.portal-sidebar .balance-card{background:linear-gradient(125deg,rgba(215,229,196,.76),rgba(237,220,193,.74));border-color:#d4ddc3}
.portal-sidebar .avatar{background:linear-gradient(140deg,#d1dfbf,#dfceb0);color:#536344}
.portal-topbar .beta{background:rgba(255,255,249,.38);border-color:#daddcb;color:#899071}
.portal-topbar .local-status{color:#7c896d}
.portal-sidebar nav button,.portal-sidebar .conversation-list button{color:#59694f}
.portal-sidebar .history-heading,.portal-sidebar .balance-card small,.portal-sidebar .profile-button small{color:#657253}
.portal-topbar .local-status,.portal-topbar .quiet{color:#637255}
.portal-topbar .beta{color:#6b7657}

.sidebar-close{display:none}
@media(max-width:700px){.sidebar-close{display:block;position:absolute;right:12px;top:25px;width:28px;height:28px;border-radius:8px;background:rgba(255,255,249,.4);font-size:20px;color:#5b6f50}}
/* Compact invitation login with editable, server-escaped branding. */
.gate{position:relative;isolation:isolate;padding:28px 24px;justify-content:center;gap:20px;background:radial-gradient(ellipse at 12% 10%,#e5ecdc 0,transparent 55%),radial-gradient(ellipse at 95% 90%,#eee2d5 0,transparent 55%),#f7f8f2}
.gate-background{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.gate:has(.gate-background):before{content:"";position:fixed;inset:0;background:linear-gradient(125deg,#f3f6ebc9,#f5eee2a6);z-index:-1}
.gate-card{width:min(590px,100%);padding:34px 38px;gap:17px;box-shadow:0 22px 70px #3452430b;border:1px solid #e3e8de;background:#fffffff5}.login-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.login-intro>div{min-width:0}.login-intro .eyebrow{font-size:10px;letter-spacing:.17em;line-height:1.6}.login-intro h1{font-size:36px;line-height:1.16;letter-spacing:-.055em;margin:14px 0 0;white-space:pre-line;overflow-wrap:anywhere}.login-intro .wordmark{font-size:15px;gap:7px;max-width:44%;align-items:center;flex-wrap:wrap;justify-content:flex-end;padding-top:2px}.login-intro .brand-orbit{font-size:27px}.brand-name{overflow-wrap:anywhere}.brand-logo{width:35px;height:35px;object-fit:contain}.login-intro .tag{font-size:7px;padding:4px}.gate-card .login-description{font-size:13px;line-height:1.65;white-space:pre-line;margin:0}.gate-card label{font-size:12px;gap:7px}.gate-card input{padding:12px 14px;min-height:43px}.gate-card .primary{min-height:46px;font-size:14px}.gate-card .captcha-row{gap:12px}.gate-card .captcha-row img{width:210px;height:auto;max-width:calc(100% - 50px)}.gate-card small{font-size:10px;line-height:1.7;white-space:pre-line}.gate-card .form-error:empty{display:none}.gate footer{margin:0;max-width:590px;text-align:center;white-space:pre-line;font-size:11px;line-height:1.6}.portal-sidebar .wordmark{flex-wrap:wrap}.portal-sidebar .brand-logo{width:30px;height:30px}.portal-sidebar .brand-name{max-width:140px}
@media(max-width:600px){.gate{padding:20px 16px}.gate-card{padding:27px 24px}.login-intro{gap:12px}.login-intro h1{font-size:31px}.login-intro .wordmark{max-width:40%;font-size:12px}.login-intro .tag{display:none}.login-intro .brand-logo{width:29px;height:29px}.login-intro .eyebrow{font-size:9px;letter-spacing:.12em}}
/* Public discovery keeps the workspace visible; every generation remains authenticated. */
.guest-login{background:#3c6a53;color:white;border-radius:9px;padding:10px 15px;font-size:12px;font-weight:600}.guest-notice{margin:24px 32px 0;display:flex;align-items:center;gap:15px;padding:17px 20px;border:1px solid #e0e6d9;border-radius:13px;background:linear-gradient(110deg,#f0f5e9,#f5eee4)}.guest-notice strong{font-size:12px;font-weight:650}.guest-notice p{font-size:11px;margin:4px 0 0;color:#829078;line-height:1.5}.guest-notice button{margin-left:auto;flex-shrink:0;font-size:11px;color:#456b50;border-bottom:1px solid #b8c9ad;padding:6px 0}.guest-lock{font-size:25px;color:#7d9772}.guest-mode .welcome{margin:0 auto;padding-top:5px;padding-bottom:30px}.guest-mode .hero-star{font-size:55px;margin-bottom:15px}.guest-mode .suggestions{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:25px;gap:10px}.guest-mode .chat-view{min-height:calc(100dvh - 180px)}.guest-mode .chat-composer{background:#fafbf7;border-style:dashed}.guest-mode input:disabled,.guest-mode textarea:disabled,.guest-mode select:disabled{opacity:.65;cursor:not-allowed}.guest-mode button:disabled{cursor:not-allowed}.guest-mode .portal-sidebar nav button:after{content:'◦';font-size:16px;margin-left:auto;color:#9bad92}.guest-mode .balance-card>strong{font-size:16px}.guest-mode .balance-card>small{font-size:9px}.gate.gate-overlay{position:fixed;inset:0;z-index:45;overflow-y:auto;backdrop-filter:blur(5px);background:linear-gradient(125deg,#ecf1e8d9,#f3eaddd9)}.gate-overlay .gate-background{opacity:.4}.gate-overlay .gate-card{flex-shrink:0}.login-open{overflow:hidden}.login-close{position:absolute;right:25px;top:20px;width:38px;height:38px;border:1px solid #d7e0d1;border-radius:50%;background:#fff9;font-size:25px;color:#657c5e}.gate-overlay footer{flex-shrink:0}
@media(max-width:700px){.guest-notice{margin:16px 16px 0;padding:15px;flex-wrap:wrap;gap:9px}.guest-notice>div{flex:1;min-width:210px}.guest-notice button{margin-left:34px}.guest-mode .welcome{padding-top:2px}.guest-mode .suggestions{grid-template-columns:1fr}.guest-mode .chat-view{min-height:calc(100dvh - 220px)}.gate.gate-overlay{justify-content:flex-start;padding-top:58px}.login-close{right:18px;top:12px}}

/* Readable navigation and a single guest introduction inside the header. */
.portal-sidebar .new-chat,.portal-sidebar nav button,.portal-sidebar .history-heading,
.portal-sidebar .conversation-list button,.portal-sidebar .conversation-list p{font-size:14px}
.portal-topbar{height:auto;min-height:78px;padding-top:12px;padding-bottom:12px}
.portal-topbar .beta{font-size:14px;letter-spacing:.04em}
.portal-topbar .guest-notice{flex:1;min-width:0;max-width:720px;margin:0 auto;padding:0;border:0;border-radius:0;background:none;justify-content:center;gap:10px}
.portal-topbar .guest-notice>div{min-width:0}
.portal-topbar .guest-notice strong,.portal-topbar .guest-notice p{font-size:14px;line-height:1.4}
.portal-topbar .guest-notice p{margin:3px 0 0}
.portal-topbar .local-status,.portal-topbar .guest-login,.portal-topbar .quiet{flex-shrink:0}
.guest-mode .chat-view{min-height:0}
@media(max-width:1100px){.portal-topbar .guest-notice{justify-content:flex-start}}
@media(max-width:700px){
 .portal-topbar{min-height:65px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
 .portal-topbar .guest-notice{order:5;flex-basis:100%;max-width:none;padding-top:8px;margin:0}
 .portal-topbar .guest-notice>div{flex:1;min-width:0}
 .guest-mode .chat-view{min-height:0}
}

/* Conversation management, safe rich replies and honest workflow feedback. */
.portal-sidebar{min-height:0;gap:16px}.portal-sidebar>.wordmark,.portal-sidebar>.new-chat,.portal-sidebar>nav,.portal-sidebar>.history-heading,.portal-sidebar>.sidebar-bottom{flex-shrink:0}.conversation-list{min-height:50px;flex:1 1 0;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin}.conversation-group{margin-bottom:12px}.conversation-group summary{font-size:12px;font-weight:600;padding:5px 7px;color:#69765d;cursor:pointer;overflow-wrap:anywhere}.conversation-row{display:flex;align-items:center;gap:2px;border-radius:8px}.conversation-row.selected{background:#dfe7d2}.conversation-list .conversation-open{flex:1;min-width:0}.conversation-list .conversation-menu{flex:0 0 30px;width:30px;padding:8px 0;font-size:22px;line-height:1;text-align:center}.conversation-menu:hover,.conversation-menu:focus-visible{background:#d4dfc6}.conversation-dialog{border:1px solid #d6dfcd;border-radius:18px;padding:24px;width:min(480px,calc(100vw - 24px));color:var(--ink);background:#fcfcf9}.conversation-dialog::backdrop{background:#193b2e55}.conversation-dialog form{display:grid;gap:17px}.conversation-dialog h2{font-size:20px;margin:0}.conversation-dialog-head,.conversation-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.conversation-dialog-head button{font-size:25px}.conversation-dialog small{color:#69775f;line-height:1.6}.conversation-dialog .danger{color:#a23d35;text-align:left}.conversation-dialog-actions{flex-wrap:wrap}.message-content{white-space:normal}.message-content p{margin:.35em 0 .8em;line-height:1.75}.message-content li{margin:.25em 0}.message-content :is(ul,ol){padding-left:1.5em;margin:.5em 0 1em}.message-content h3,.message-content h4{font-size:17px;margin:1.1em 0 .5em}.message-content code{background:#eef1e8;border-radius:4px;padding:1px 5px;font-size:.9em}.message-content pre code{padding:0;white-space:pre}.message-content a,.sources a{color:#3b7353;text-decoration:underline;text-underline-offset:3px}.message-table{max-width:100%;overflow:auto}.message-table table{border-collapse:collapse;font-size:13px}.message-table :is(td,th){border:1px solid var(--line);padding:8px 12px;text-align:left}.message-content blockquote{border-left:3px solid #b7c9a6;padding-left:14px;margin-left:0;color:#63735a}.answer-freshness{display:block;color:#718267;font-size:11px;margin-top:12px}.message-copy{font-size:11px;color:#5e7653;margin-top:6px;padding:4px 0}.request-feedback{width:100%;min-width:0;display:grid;gap:10px;text-align:left;color:inherit}.feedback-line{display:flex;gap:10px;align-items:center;font-size:13px}.feedback-line strong{font-weight:550}.feedback-dots{display:flex;gap:3px;align-items:center;height:20px;flex-shrink:0}.feedback-dots i{width:5px;height:5px;border-radius:50%;background:currentColor;animation:portal-wait 1.3s ease-in-out infinite}.feedback-dots i:nth-child(2){animation-delay:.16s}.feedback-dots i:nth-child(3){animation-delay:.32s}.request-feedback progress{display:block;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;accent-color:#72945c}.request-feedback>small{font-size:11px;line-height:1.5;opacity:.8}.feedback-detail{font-size:11px;line-height:1.6}.feedback-detail summary{cursor:pointer}.feedback-detail p{font-size:11px;line-height:1.6;margin:5px 0}.request-feedback.compact{max-width:550px}.feedback-line+.feedback-detail{margin-left:28px}@keyframes portal-wait{0%,75%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.feedback-dots i{animation:none;opacity:.7}}

.chat-quality-label{margin-left:auto}.chat-quality-label select{font-size:11px;padding:5px 8px;max-width:130px}.chat-quality-label select:disabled{opacity:.65}@media(max-width:420px){.chat-quality-label select{max-width:110px;font-size:10px}}
