/* BEGIN GENERATED STUDIO NOTIFICATIONS */
.studio-notification-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border:1px solid transparent;border-radius:10px;background:transparent;color:#68645c;cursor:pointer;padding:7px}.studio-notification-bell:hover{background:#ece9e2;border-color:#ded9d0}.studio-notification-bell svg{width:21px;height:21px}.sn-badge{position:absolute;top:-3px;right:-4px;min-width:16px;height:16px;line-height:16px;padding:0 4px;box-sizing:border-box;border-radius:10px;background:#ac583e;color:#fff;font:10px/16px system-ui}.studio-notification-bell[hidden],.sn-badge[hidden],.studio-notification-panel[hidden]{display:none!important}
.studio-notification-panel{position:fixed;z-index:650;top:64px;right:18px;width:min(370px,calc(100vw - 24px));max-height:calc(100dvh - 90px);display:flex;flex-direction:column;background:#faf9f6;color:#38352f;border:1px solid #ded9d0;border-radius:17px;box-shadow:0 18px 65px #302a2026;font:14px/1.5 system-ui;overflow:hidden}.sn-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 18px 9px}.sn-heading h2{font-size:16px;margin:0;font-weight:600}.sn-close,.sn-read-all,.sn-system{background:none;border:0;color:#796b5c;font:inherit;cursor:pointer;padding:5px}.sn-read-all{align-self:flex-end;font-size:12px;margin:0 13px 5px}.sn-list{overflow-y:auto;min-height:90px;padding:2px 9px 12px}.sn-empty{padding:28px 15px;color:#8a857d;text-align:center}.sn-item{display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;text-align:left;color:inherit;border-radius:10px;padding:12px 9px;cursor:pointer}.sn-item:hover{background:#eeebe5}.sn-unread{background:#f2eee5}.sn-item+.sn-item{margin-top:3px}.sn-result-icon{display:flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:50%;background:#e4ece4;color:#4b6c50;font:17px/1 system-ui}[data-kind=failed]>.sn-result-icon{background:#f4e3dd;color:#a24b33}[data-kind=stopped]>.sn-result-icon,[data-kind=interrupted]>.sn-result-icon{background:#ece8e1;color:#847768;font-size:11px}.sn-item-text{min-width:0;display:grid;gap:3px}.sn-item-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:550}.sn-item-text small{color:#8b8377;font-size:11px}.sn-settings{border-top:1px solid #e6e0d6;padding:12px 18px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.sn-sound{display:flex;align-items:center;gap:7px;margin:0;cursor:pointer}.sn-sound input{width:15px;height:15px;min-height:0;margin:0;accent-color:#ab6349}.sn-hint{width:100%;margin:0;color:#938b7f;font-size:11px;line-height:1.6}
.studio-completion-card{position:fixed;top:80px;right:20px;z-index:640;display:flex;align-items:center;gap:12px;max-width:min(480px,calc(100vw - 24px));box-sizing:border-box;padding:16px;background:#faf9f6;border:1px solid #ddd8ce;border-radius:14px;box-shadow:0 8px 38px #302a2024;color:#38352f;font:13px/1.4 system-ui;animation:sn-enter .18s ease-out}.sn-card-text{min-width:0;flex:1}.sn-card-text strong{font-size:13px;font-weight:600}.sn-card-text p{margin:3px 0 0;color:#8a8073;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:220px}.sn-view{border:1px solid #d8caba;background:#eee8de;border-radius:8px;padding:7px 10px;white-space:nowrap;color:#645447;font:12px system-ui;cursor:pointer}.sn-dismiss{border:0;background:none;color:#9b9286;font-size:18px;padding:2px;cursor:pointer}.sn-live{position:fixed;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);pointer-events:none}.studio-notification-bell:focus-visible,.studio-notification-panel button:focus-visible,.studio-completion-card button:focus-visible{outline:2px solid #b4775e;outline-offset:2px}
@keyframes sn-enter{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.studio-completion-card{animation:none}}@media(max-width:600px){.studio-notification-panel{right:12px;top:calc(66px + env(safe-area-inset-top,0px));max-height:calc(100dvh - 155px)}.studio-completion-card{left:12px;right:12px;top:calc(74px + env(safe-area-inset-top,0px));max-width:none;padding:13px;gap:9px}.sn-card-text p{max-width:calc(100vw - 205px)}#mainHeader>.studio-notification-bell{margin-left:auto;margin-right:8px;order:1}#mainHeader>#refresh{order:2}.conversation-header>.studio-notification-bell{order:0}.conversation-header>#back{order:-2}.conversation-header>div{order:-1}}
/* END GENERATED STUDIO NOTIFICATIONS */
:root{--bg:#fbfcfe;--nav:#111e30;--ink:#182a40;--muted:#7f8a99;--line:#e4e9ef;--blue:#2864eb;--panel:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit;color:inherit}button,a,select{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button,summary{cursor:pointer}button{border:0}button:disabled,select:disabled{opacity:.5;cursor:not-allowed}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin-top:0}h1{font-size:32px;font-weight:600;letter-spacing:-1px;line-height:1.4}h2{font-size:19px;font-weight:600}p{line-height:1.75}label{display:block;font-size:14px;font-weight:500;margin:20px 0 9px}input,select,textarea{min-width:0}input{padding:12px 13px;border:1px solid #dce3ec;border-radius:8px;width:100%;outline:none;background:#fff}input:focus,select:focus-visible{border-color:var(--blue);box-shadow:0 0 0 3px #2864eb13}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #9ab9ff;outline-offset:3px}input::placeholder,textarea::placeholder{color:#98a3b2}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:11px 16px;border-radius:8px;min-height:42px;font-size:14px;font-weight:550;white-space:nowrap}.primary{background:var(--blue);color:#fff}.primary:hover{background:#2057d4}.secondary{background:white;border:1px solid #dce3eb;color:var(--ink)}.secondary:hover{background:#f1f5fa}.wide{width:100%;justify-content:space-between}.compact{min-height:36px;padding:7px 11px;font-size:13px}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:650;color:#8d9cae;display:block;margin-bottom:14px}.brand{display:flex;align-items:center;gap:10px;color:#f3f6fa;font-size:18px;font-weight:600;letter-spacing:-.5px}.brand-icon{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:9px;background:#3d76ee;color:#fff;font-weight:700}.version{font-size:10px;border:1px solid #526880;border-radius:4px;padding:2px 4px;align-self:center;color:#8fa6c1;margin-left:-4px}.muted{color:var(--muted);font-size:14px;line-height:1.7}.hint,.small{color:var(--muted);font-size:13px;line-height:1.7}.error{color:#b54040;font-size:14px;min-height:20px;margin:12px 0}.text-button{background:transparent;color:var(--muted);font-size:13px;padding:7px 0}.icon-button{background:transparent;color:#76869a;font-size:24px;padding:5px 9px;border-radius:7px;line-height:1.2}.icon-button:hover{background:#eef2f7}.login-screen{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.login-art{background:#111e30 radial-gradient(ellipse at 0% 100%,#203f70 0,transparent 70%);padding:56px 70px;display:flex;flex-direction:column;justify-content:space-between;color:white;min-height:100dvh}.login-art h1{font-size:clamp(34px,3.5vw,53px);font-weight:550;line-height:1.4}.login-art p{color:#a6b8cc;margin-top:25px}.login-art .small{color:#849bb6}.login-panel{display:grid;place-items:center;padding:44px}.login-panel form{width:min(365px,100%)}.login-panel h2{font-size:27px;margin-bottom:14px}.login-panel p{color:var(--muted)}.login-panel .error{color:#b54040}.app{display:flex;height:100dvh;overflow:hidden}.sidebar{width:250px;flex-shrink:0;background:var(--nav);color:#aebdd1;padding:28px 18px 18px;display:flex;flex-direction:column;z-index:30}.sidebar .brand{padding:0 8px}.new-chat{display:flex;gap:12px;align-items:center;padding:12px 14px;color:white;background:#243951;border:1px solid #334b69;border-radius:9px;margin:31px 0 22px;font-size:21px}.new-chat span{font-size:14px}.new-chat:hover{background:#2a4362}.side-label{font-size:12px;font-weight:500;color:#7f94ae;margin:0 10px 10px}.project-picker{display:flex;border:1px solid #324359;border-radius:8px;margin-bottom:24px;min-height:38px}.project-picker select{width:100%;background:none;border:0;font-size:13px;color:#c5d2e3;padding:9px}.project-picker select option{background:#15253b}.project-picker button{background:none;color:#9aafc9;padding:6px 10px;border-left:1px solid #324359}.history-heading{display:flex;justify-content:space-between;align-items:center}.side-link{color:#859cb7;background:none;font-size:12px;padding:0}.side-link.active{color:#c7dbff}.chat-search{background:#182a40;border:1px solid transparent;color:#d6e0ed;font-size:13px;padding:9px 11px;margin-bottom:12px}.chat-search::placeholder{color:#7388a4}.chat-list{overflow-y:auto;flex:1;min-height:0;margin:0 -6px;padding:0 6px;scrollbar-width:thin;scrollbar-color:#344762 transparent}.chat-item{display:block;width:100%;text-align:left;background:none;color:#a7b9d0;border-radius:7px;padding:11px 12px;margin:3px 0;font-size:13px;line-height:1.5}.chat-item.active{background:#263b56;color:white}.chat-item:hover{background:#20344f}.chat-item strong{font-weight:450;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-item small{font-size:10px;display:block;color:#7189a6;margin-top:5px}.chat-item .busy-dot{color:#84b1ff;font-size:12px;margin-right:7px}.side-empty{padding:18px 10px;color:#758ba6;font-size:13px;line-height:1.7}.side-bottom{padding-top:16px}.side-action{background:transparent;color:#a4b6cf;display:flex;gap:12px;align-items:center;font-size:18px;width:100%;padding:10px 12px;text-align:left}.side-action span{font-size:13px}.machine{display:flex;align-items:center;gap:11px;border-top:1px solid #2b3d53;padding:18px 8px 0;margin-top:13px}.machine>span{font-size:26px;color:#98b4d7}.machine strong{display:block;font-size:13px;font-weight:550;color:#bdcde1}.machine small{display:block;font-size:11px;color:#7e97b6;margin-top:5px}.machine button{margin-left:auto;background:none;color:#7e97b6;font-size:20px;padding:6px}main{flex:1;min-width:0;display:flex;flex-direction:column;position:relative}.topbar{height:77px;flex-shrink:0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:#ffffffc9;gap:16px}.title-group{display:flex;align-items:center;gap:8px;min-width:0}.title-group>div{min-width:0}.chat-title{background:none;font-size:15px;font-weight:550;padding:2px 0;max-width:450px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;text-align:left}.project-caption{font-size:11px;color:#98a3b1;margin-top:5px}.header-actions{display:flex;gap:14px;align-items:center;flex-shrink:0}.connection-tag{font-size:11px;color:#648271;background:#edf6f1;border:1px solid #e0eae4;padding:5px 9px;border-radius:30px}.connection-tag.offline{background:#fff5e7;border-color:#f3e3c9;color:#ad8041}.more-menu{position:relative}.more-menu>summary{list-style:none;font-size:22px;line-height:1;padding:7px 10px}.more-menu>summary::-webkit-details-marker{display:none}.more-menu>div{position:absolute;right:0;top:40px;z-index:10;background:#fff;border:1px solid var(--line);border-radius:10px;padding:6px;box-shadow:0 10px 30px #1b30401c;min-width:160px}.more-menu button{display:block;background:none;padding:10px 12px;width:100%;text-align:left;font-size:13px;border-radius:5px}.more-menu button:hover{background:#f1f5fa}.chat-view{display:flex;flex-direction:column;flex:1;min-height:0}.message-scroll{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#d7dfe9 transparent}.conversation{max-width:860px;padding:33px 30px 25px;margin:0 auto}.welcome{padding-top:min(10vh,85px);text-align:center}.welcome-mark{display:grid;place-items:center;width:53px;height:53px;border-radius:15px;background:#2864eb;color:white;font-size:27px;font-weight:550;margin:0 auto 23px;box-shadow:0 8px 24px #2864eb21}.welcome .eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:15px}.welcome h1{font-size:31px;margin-bottom:17px;letter-spacing:-.7px}.welcome>p{font-size:14px;color:#8b96a6;line-height:1.9}.suggestions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:33px 0 10px}.suggestions button{text-align:left;background:#fff;border:1px solid var(--line);border-radius:11px;padding:18px 16px;transition:border-color .15s}.suggestions button:hover{border-color:#a0bafa;background:#f9fbff}.suggestions button>span{display:block;color:#6790c9;font-size:23px;margin-bottom:18px}.suggestions strong{font-size:13px;font-weight:550;display:block}.suggestions small{display:block;font-size:11px;color:#929eb0;margin-top:7px}.message{display:flex;align-items:flex-start;gap:14px;margin:0 0 29px;min-width:0}.avatar{width:29px;height:29px;border-radius:8px;display:grid;place-items:center;flex-shrink:0;font-size:13px;background:#2864eb;color:white;margin-top:1px}.user .avatar{background:#e7edf5;color:#667d9b}.message-main{flex:1;min-width:0}.message-meta{font-size:13px;font-weight:600;color:#40516b;margin:4px 0 12px}.message-meta span{font-size:11px;font-weight:400;color:#9da7b5;margin-left:9px}.user-text{white-space:pre-wrap;font-size:15px;line-height:1.8;overflow-wrap:anywhere}.markdown{font-size:15px;line-height:1.85;overflow-wrap:anywhere;color:#2d3c51}.markdown>*:first-child{margin-top:0}.markdown p{margin:0 0 15px}.markdown h1,.markdown h2,.markdown h3{margin:24px 0 12px;letter-spacing:0;font-size:21px;font-weight:600}.markdown h2{font-size:19px}.markdown h3{font-size:17px}.markdown ul,.markdown ol{padding-left:24px}.markdown li{padding:3px 0}.markdown blockquote{border-left:3px solid #9fb7df;color:#6a7c91;margin-left:0;padding-left:18px}.markdown table{border-collapse:collapse;display:block;overflow:auto;font-size:13px;max-width:100%}.markdown th,.markdown td{border:1px solid var(--line);padding:9px 12px}.markdown th{background:#f0f4f9}.markdown code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#eef2f7;color:#38577e;border-radius:4px;padding:2px 5px;font-size:13px}.markdown pre{position:relative;background:#122034;color:#d5e0f0;padding:40px 18px 18px;border-radius:11px;overflow:auto;line-height:1.65}.markdown pre code{background:none;color:inherit;padding:0;font-size:13px;border-radius:0}.copy-code{position:absolute;right:12px;top:9px;background:#293c55;border:1px solid #3a4d66;color:#abbfd9;font-size:11px;border-radius:4px;padding:4px 8px}.message-attachments{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.message-attachments a{border:1px solid var(--line);font-size:12px;padding:6px 10px;border-radius:6px;background:white;max-width:100%;overflow-wrap:anywhere}.tool-event{margin:0 0 14px 43px;border:1px solid #e1e7ef;border-radius:9px;background:#f8fafc;overflow:hidden}.tool-event summary{display:flex;gap:10px;align-items:center;list-style:none;padding:11px 14px;color:#718095;font-size:12px}.tool-event summary strong{font-weight:550;color:#4f6380}.tool-event summary .tool-subject{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.tool-event summary .tool-status{font-size:10px;color:#909bac}.tool-event pre{margin:0;border-top:1px solid var(--line);background:#f3f6fa;padding:14px;max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.7;color:#63758e}.info-message{margin:0 0 20px 43px;padding:12px 15px;border:1px solid #efdfc6;border-radius:8px;background:#fff9ed;font-size:13px;color:#9b763c;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.working{display:flex;gap:11px;align-items:center;color:#97a3b4;font-size:13px;margin:16px 0 20px 43px}.spinner{width:13px;height:13px;border-radius:50%;border:2px solid #d9e4f5;border-top-color:#5289f1;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.composer-wrap{width:100%;max-width:860px;padding:0 30px 18px;margin:auto}.composer{border:1px solid #d7dfea;background:white;border-radius:14px;box-shadow:0 4px 18px #18395806;overflow:hidden}.composer:focus-within{border-color:#a2bcee;box-shadow:0 0 0 3px #2864eb06}.composer textarea{resize:none;border:0;outline:0;width:100%;padding:18px 19px 4px;font-size:15px;line-height:1.6;background:transparent;max-height:190px;min-height:78px}.composer-actions{display:flex;justify-content:space-between;align-items:center;padding:7px 11px 11px;gap:12px}.composer-options{display:flex;align-items:center;gap:4px;min-width:0}.composer-options select{border:0;background:transparent;font-size:12px;color:#7b8da6;max-width:150px;padding:7px 2px;outline:none}.send-button{width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;background:var(--blue);color:white;font-size:23px}.cancel-button{color:#956651;background:#fcf3ed;font-size:12px;border-radius:7px;padding:8px 10px;white-space:nowrap}.composer-footer{display:flex;justify-content:space-between;gap:12px;padding:10px 5px 0;color:#a2abb8;font-size:10px}.attachments{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:9px}.attachment-chip{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:7px;background:white;padding:8px 11px;font-size:12px;max-width:100%}.attachment-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-chip button{background:none;font-size:16px;color:#8da0b8}.permission-card{border:1px solid #e2cc9d;border-radius:12px;overflow:hidden;background:#fffdf6;margin:20px 0 25px 43px}.permission-title{display:flex;gap:10px;align-items:center;padding:16px 19px;border-bottom:1px solid #eee3cb;color:#8c6b28;font-size:14px;font-weight:550}.permission-card pre{background:#fcf8ed;margin:0;padding:16px 19px;white-space:pre-wrap;overflow:auto;max-height:300px;font-size:12px;line-height:1.65;overflow-wrap:anywhere}.permission-actions{display:flex;justify-content:flex-end;gap:10px;padding:13px 17px}.permission-actions .primary{background:#8b6b2f}.permission-actions .secondary{border-color:#e4d7ba}.permission-caption{padding:0 19px;font-size:12px;color:#a08a5e;margin:14px 0 0;line-height:1.65}.question-block{padding:15px 19px;border-bottom:1px solid #eee3cb}.question-block>p{font-size:14px;font-weight:500;margin-bottom:12px}.question-option{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:400;margin:9px 0}.question-option input{width:auto;margin-top:4px;accent-color:#8b6b2f}.question-option small{display:block;font-size:11px;color:#a18d65;margin-top:3px}.question-block .custom-answer{margin-top:12px;font-size:13px;border-color:#e8ddc5}.settings-view{flex:1;overflow:auto;padding:35px 44px;background:#f5f7fa}.settings-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.settings-heading h1{margin:0;font-size:28px}.settings-heading .eyebrow{margin-bottom:8px}.usage-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.usage-card{border:1px solid var(--line);border-radius:12px;padding:18px;background:white}.usage-card span{font-size:12px;color:var(--muted);display:block}.usage-card strong{font-size:24px;font-weight:550;display:block;margin:14px 0 8px}.usage-card small{font-size:11px;color:#96a1af;line-height:1.6}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:25px;margin-bottom:23px}.panel input[type=number]{max-width:170px;display:block}.panel dl{display:grid;grid-template-columns:95px minmax(0,1fr);gap:16px;font-size:13px;line-height:1.7}.panel dt{color:var(--muted)}.panel dd{margin:0;overflow-wrap:anywhere}.audit-row{display:grid;grid-template-columns:135px 120px 1fr;padding:13px 0;border-bottom:1px solid var(--line);gap:12px;font-size:12px;color:#748198}.file-panel{width:320px;flex-shrink:0;border-left:1px solid var(--line);background:#fff;padding:23px 21px;overflow:auto}.file-heading{display:flex;justify-content:space-between;align-items:center}.file-heading h2{font-size:16px;margin:0}.file-toolbar{display:flex;justify-content:space-between;margin-top:19px}.file-path{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;color:#8f9cae;line-height:1.6}.file-list button{display:flex;align-items:center;gap:10px;padding:11px 7px;font-size:13px;width:100%;background:none;text-align:left;border-radius:6px}.file-list button:hover{background:#f2f6fb}.file-list button span:nth-child(2){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-list small{font-size:10px;color:#9da9ba}.file-list .empty{font-size:13px;color:#8a99ae;padding:25px 0}.file-panel>.hint{font-size:11px;border-top:1px solid var(--line);padding-top:18px;margin-top:25px}dialog{border:1px solid var(--line);border-radius:15px;padding:28px;max-width:calc(100vw - 32px);width:490px;color:var(--ink);box-shadow:0 30px 100px #0d1c3440}dialog::backdrop{background:#11223855;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.dialog-heading h2{margin:0;font-size:21px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}.preview-dialog{width:850px}.preview-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:60dvh;overflow:auto;padding:19px;border-radius:8px;background:#142238;color:#c3d1e4;font-size:13px;line-height:1.7}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#172940;color:white;border-radius:9px;padding:13px 21px;font-size:14px;box-shadow:0 8px 30px #10233a25;z-index:100;max-width:90vw;line-height:1.6}.mobile{display:none}.nav-shade{display:none}[hidden]{display:none!important}@media(max-width:1200px){.file-panel{position:absolute;right:0;top:77px;bottom:0;z-index:15;box-shadow:-10px 10px 40px #10203816}.topbar{padding:0 24px}.sidebar{width:225px;padding:25px 14px 18px}.usage-cards{grid-template-columns:repeat(2,1fr)}.settings-view{padding:30px 25px}.chat-title{max-width:310px}.login-art{padding:40px}}@media(max-width:780px){.sidebar{position:fixed;inset:0 auto 0 0;width:250px;transform:translateX(-100%);visibility:hidden}.sidebar.open{transform:none;visibility:visible}.nav-shade:not([hidden]){display:block;position:fixed;inset:0;z-index:25;background:#11223866}.mobile{display:block}.topbar{height:65px;padding:0 12px;gap:8px}.chat-title{max-width:180px;font-size:14px}.header-actions{gap:4px}.header-actions .connection-tag{display:none}.header-actions .secondary{font-size:18px;padding:5px 8px;min-height:32px;border:0;background:none}.header-actions .secondary span{display:none}.project-caption{font-size:10px}.conversation{padding:23px 18px 10px}.welcome{padding-top:35px}.welcome h1{font-size:27px}.welcome>p{font-size:13px;line-height:1.8}.desktop{display:none}.suggestions{grid-template-columns:1fr;gap:9px;margin-top:25px}.suggestions button{display:grid;grid-template-columns:25px 1fr;column-gap:13px;padding:13px 15px;text-align:left}.suggestions button>span{grid-row:1/3;margin:0;font-size:21px;align-self:center}.suggestions small{margin-top:3px;font-size:11px}.suggestions strong{font-size:13px}.welcome-mark{width:44px;height:44px;font-size:24px;border-radius:12px;margin-bottom:19px}.welcome .eyebrow{font-size:8px;letter-spacing:1.5px}.composer-wrap{padding:0 12px 11px}.composer textarea{padding:14px 14px 0;font-size:16px;min-height:72px}.composer-actions{padding:6px 8px 8px;gap:5px}.composer-options select{font-size:11px;max-width:95px}.composer-options .icon-button{font-size:24px;padding:4px 7px}.composer-footer{font-size:9px;padding:8px 3px 0}.message{gap:10px;margin-bottom:25px}.message-meta{margin-bottom:10px}.avatar{width:25px;height:25px;border-radius:7px;font-size:11px}.markdown,.user-text{font-size:15px;line-height:1.85}.tool-event,.info-message,.permission-card{margin-left:0}.tool-event summary{padding:10px;font-size:11px}.tool-event summary .tool-status{font-size:9px}.permission-title{padding:13px 14px;font-size:13px}.permission-actions{padding:11px}.permission-actions button{font-size:12px;padding:9px 12px;min-height:38px}.working{margin-left:35px;font-size:12px}.file-panel{top:65px;width:min(340px,100vw - 25px)}.settings-view{padding:25px 17px}.settings-grid{grid-template-columns:1fr;gap:0}.panel{padding:21px}.settings-heading h1{font-size:25px}.settings-heading .secondary{padding:9px 12px;font-size:12px}.usage-cards{gap:10px}.usage-card{padding:15px}.usage-card strong{font-size:23px}.audit-row{grid-template-columns:1fr 1fr;font-size:11px}.audit-row span:last-child{grid-column:1/-1}.login-screen{grid-template-columns:1fr}.login-art{min-height:unset;height:180px;padding:30px}.login-art>div:nth-child(2),.login-art>.small{display:none}.login-panel{padding:38px 30px;margin-top:-80px;background:white;border-radius:23px 23px 0 0;min-height:calc(100dvh - 100px)}.toast{bottom:20px;font-size:13px;width:max-content}.preview-dialog{padding:20px}.preview-dialog pre{font-size:12px}.cancel-button{font-size:11px;padding:8px}}
/* Project identities, account administration and folder transfer. */
.table-scroll{overflow-x:auto;margin-top:18px}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th{color:var(--muted);font-size:12px;font-weight:500;padding:12px 14px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:15px 14px;border-bottom:1px solid var(--line);vertical-align:middle}td strong{font-weight:550;display:block;max-width:270px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}td small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.section-heading h2{margin:0}.row-actions{display:flex;gap:9px;white-space:nowrap}.row-actions button{padding:5px 2px;font-size:12px;color:var(--blue);background:transparent;border:0;cursor:pointer}.danger-text{color:#b84141!important}.status-pill{display:inline-flex;padding:4px 8px;border-radius:6px;background:#e8f4ef;color:#31735b;font-size:11px;white-space:nowrap}.status-pill.dim{background:#f1f3f7;color:#798291}.status-pill.running{background:#e8efff;color:#486ac4}.admin-filters{display:flex;gap:8px}.admin-filters select,.admin-filters input{max-width:180px;padding:8px 10px;font-size:12px}.quota-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}progress{width:100%;height:8px;margin-top:20px;accent-color:var(--blue)}#importStatus{overflow-wrap:anywhere;min-height:16px}#cancelPendingImport{margin:0 16px 10px;font-size:12px}#accountDialog{max-width:520px}#adminView .panel{margin-bottom:20px}#accountUsername[readonly]{background:#f3f5f8;color:var(--muted)}#adminView .hint{line-height:1.9}.file-toolbar{flex-wrap:wrap}.side-action[hidden]{display:none}
@media(max-width:760px){.section-heading{align-items:flex-start;flex-direction:column}.admin-filters{width:100%}.admin-filters select,.admin-filters input{min-width:0;flex:1;max-width:50%}.quota-grid{gap:8px}.quota-grid label{font-size:12px}#adminView .settings-heading{align-items:flex-start}#adminView .settings-heading h1{font-size:23px}td{padding:12px 10px}#adminView .panel{padding:18px 14px}.table-scroll{max-width:100%}}

/* Claude-inspired paper, typography and quiet workspace. */
:root{--bg:#faf9f5;--nav:#f0eee6;--ink:#302e2a;--muted:#77746b;--line:#e3e0d7;--blue:#b66045;--panel:#fffefa;--serif:"Iowan Old Style","Palatino Linotype","Songti SC",Georgia,serif}
body{background:var(--bg)}input,select{border-color:#dad6cb;background:#fffefa}input:focus,select:focus-visible{box-shadow:0 0 0 3px #b6604510}input::placeholder,textarea::placeholder{color:#98948a}button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:#c99c85}
.primary{background:#b66045;border-radius:8px}.primary:hover{background:#a14f37}.secondary{background:#fffefa;border-color:#dedace}.secondary:hover{background:#f1eee5}.icon-button{color:#747167}.icon-button:hover{background:#eae7dd}.eyebrow{color:#827c6e;font-size:12px;letter-spacing:1.4px}.brand{color:#302e2a;gap:8px}.brand-word{font-family:var(--serif);font-size:29px;font-weight:600;letter-spacing:-1px}.brand-icon{background:transparent;color:#c27153;font-size:35px;width:33px;height:35px;border-radius:0;font-weight:400}.version{border:1px solid #d9d4c8;color:#827b6e;font-size:11px;border-radius:5px;margin-left:auto;padding:3px 6px}.sidebar{width:244px;color:#655f54;border-right:1px solid #e4e0d7;padding:24px 15px 17px}.sidebar .brand{padding:0 10px}.new-chat{margin:26px 0 24px;background:#e8e4d9;color:#403d35;border:1px solid #ded8cb;border-radius:8px;padding:10px 13px;gap:11px;min-height:44px}.new-chat:hover{background:#dfd9cc}.new-chat>span{font-size:14px;font-weight:500}.side-label{color:#8a8275;font-size:12px}.project-picker{border-color:#dbd5c8;background:#f7f5ee;border-radius:7px;margin-bottom:24px;min-height:40px}.project-picker select{color:#5f594e;font-size:13px}.project-picker select option{background:#f7f5ee;color:#3c382f}.project-picker button{color:#766e60;border-color:#ddd6c9}.side-link{color:#807768;font-size:12px}.side-link.active{color:#a35237}.chat-search{background:transparent;color:#4d473e;border-color:#e1dccf;border-radius:7px;font-size:13px}.chat-search::placeholder{color:#999080}.chat-list{scrollbar-color:#d9d2c3 transparent}.chat-item{color:#6c6457;padding:10px 11px;font-size:14px;border-radius:6px}.chat-item.active{background:#e3ddd0;color:#302a22}.chat-item:hover{background:#e9e4d9}.chat-item small{color:#999080;font-size:12px;margin-top:3px}.chat-item .busy-dot{color:#ae674a}.side-empty{color:#938b7d;font-size:13px}.side-action{color:#655f54;border-radius:7px;min-height:42px}.side-action:hover{background:#e7e1d4}.side-action span{font-size:14px}.machine{border-color:#ddd7ca;gap:10px;padding:16px 7px 0;margin-top:13px}.machine>span{font-size:23px;color:#958673}.machine strong{color:#62594a;font-size:14px}.machine small{color:#9b917f;font-size:12px}.machine button{color:#938877}
.topbar{height:68px;border-bottom-color:transparent;background:var(--bg);padding:0 30px}.chat-title{font-size:16px;font-weight:500;color:#4d463c}.project-caption{font-size:12px;color:#a29a8e}.header-actions{gap:12px}.connection-tag{background:transparent;border-color:#e4dfd4;color:#8a806f;font-size:12px;padding:4px 9px}.connection-tag.offline{background:#f8eede;color:#a17b42}.more-menu>div{background:#fffefa;border-color:#e2dbcd;box-shadow:0 8px 26px #493b2512}.more-menu>div button:hover{background:#f2eee4}.message-scroll{scrollbar-color:#ddd6c9 transparent}.conversation{max-width:820px;padding:32px 36px 24px}.welcome{padding-top:0;text-align:center}.welcome-mark{width:60px;height:60px;background:none;color:#c27153;font-size:56px;font-weight:400;border-radius:0;box-shadow:none;line-height:1;margin:0 auto 20px}.welcome h1{font-family:var(--serif);font-size:38px;font-weight:400;line-height:1.55;letter-spacing:.2px;color:#443d33;margin:0 0 10px}.welcome>p{font-size:15px;color:#9a9181;line-height:1.8;margin-bottom:24px}
.chat-view.is-empty{justify-content:center;padding-bottom:10vh;overflow-y:auto}.chat-view.is-empty .message-scroll{flex:none;overflow:visible}.chat-view.is-empty .conversation{padding-top:15px;padding-bottom:0}.chat-view.is-empty .composer-wrap{margin:0 auto}.chat-view:not(.is-empty) .suggestions{display:none}.composer-wrap{max-width:820px;padding:0 36px 22px;margin:0 auto}.composer{background:#fffefa;border:1px solid #ded7c9;border-radius:18px;box-shadow:0 4px 20px #57442a08,0 1px 3px #57442a06}.composer:focus-within{border-color:#bfb29c;box-shadow:0 4px 20px #57442a0b}.composer textarea{font-size:16px;padding:21px 21px 5px;min-height:94px;line-height:1.7;color:#494136}.composer-options{gap:6px}.composer-options select{color:#766b5a;font-size:13px;padding:8px 3px}.composer-actions{padding:7px 13px 12px}.composer-options .icon-button{color:#8a7e6a}.send-button{background:#bd7052;border-radius:9px;width:34px;height:34px;font-size:23px}.send-button:hover{background:#a65c42}.cancel-button{background:#f1e7dc;color:#956749}.composer-footer{color:#aaa08e;font-size:12px;flex-wrap:wrap;padding:11px 3px 0;gap:4px 12px}.suggestions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:16px 0 3px}.suggestions button{display:flex;gap:8px;align-items:center;background:transparent;border:1px solid #e2dbce;border-radius:9px;padding:9px 13px;min-height:39px;transition:background .15s}.suggestions button:hover{background:#eee8dc;border-color:#d9cdba}.suggestions button>span{font-size:17px;color:#8c7761;margin:0}.suggestions strong{font-size:13px;font-weight:400;color:#786955}.suggestions small{display:none}
.message{margin-bottom:30px}.avatar{background:transparent;color:#bf7558;font-size:27px;border-radius:0;width:30px;height:32px}.message-meta{font-size:13px;color:#777063;font-weight:500;margin:6px 0 12px}.message-meta span{font-size:12px;color:#aaa08f;font-weight:400}.message.user{justify-content:flex-end;margin-top:8px}.user .avatar,.user .message-meta{display:none}.message.user .message-main{flex:0 1 auto;max-width:92%;background:#eeeadf;border-radius:14px;padding:13px 19px}.user-text{font-size:16px;color:#5a5144;line-height:1.8}.markdown{font-family:var(--serif);font-size:17px;line-height:1.9;color:#443d33}.markdown h1,.markdown h2,.markdown h3{font-family:inherit;color:#3d362d}.markdown a{color:#a56145}.markdown blockquote{border-color:#d5c2a9;color:#8b7d69}.markdown code{background:#efe9dd;color:#8c6049;border-radius:4px}.markdown pre{background:#eeece6;color:#554e41;border:1px solid #dfd8cc;border-radius:10px;line-height:1.65}.copy-code{background:#e7e1d6;border-color:#d4cbbc;color:#8c7f6b}.markdown th{background:#f0eadf}.tool-event{background:#f6f3ec;border-color:#e5ddcf}.tool-event summary{color:#978a76;font-size:13px}.tool-event summary strong{color:#786957}.tool-event summary .tool-status{color:#a89c89;font-size:12px}.tool-event pre{background:#f0ebe1;color:#8e7e68}.info-message{background:#f8f0e2;border-color:#e7d9bf;color:#9b7949}.working{color:#a69a87;font-size:13px}.spinner{border-color:#e9ddc9;border-top-color:#b58161}.attachment-chip{background:#fffefa;color:#8b7962}.attachment-chip button{color:#a99477}.message-attachments a{background:#faf5eb;color:#977155}.permission-card{background:#fbf8ef;border-color:#ddcdb3}.permission-title{color:#927448;border-color:#e6dbc6}.permission-card pre{background:#f5f0e4;color:#8e7958}.permission-actions .primary{background:#b07a4d}.question-option input{accent-color:#af7750}
.settings-view{background:var(--bg);padding-top:26px}.settings-heading h1{font-family:var(--serif);font-size:31px;font-weight:400;color:#514637}.settings-heading .eyebrow{color:#aa9479}.panel,.usage-card{background:#fffefa;border-color:#e5decf;box-shadow:none}.panel{border-radius:12px}.usage-card{border-radius:10px}.usage-card strong{font-family:var(--serif);font-weight:400;color:#725d42}.usage-card small{color:#a5967f;font-size:12px}.panel h2{font-size:17px;font-weight:500;color:#6d5b43}.audit-row{color:#9b8970}.file-panel{background:#fbf8f0;border-color:#e4dac6;top:68px}.file-heading h2{font-weight:500;color:#7b684c}.file-path{color:#a9977b}.file-list button{font-size:14px;color:#8b7759}.file-list button:hover{background:#eee5d4}.file-list small{font-size:12px;color:#b2a081}.file-panel>.hint{color:#b19f80;font-size:12px}.preview-dialog pre{background:#eeece6;color:#5a5142;border:1px solid #ded7c9}.more-menu>div button{font-size:14px}dialog{background:#fffdf7;border-color:#e5ddcc;border-radius:14px;box-shadow:0 26px 80px #56402430}dialog::backdrop{background:#463b2c35;backdrop-filter:blur(2px)}.dialog-heading h2{font-family:var(--serif);font-size:24px;font-weight:400;color:#6c583e}.toast{background:#4c4437;box-shadow:0 8px 28px #46382220}.status-pill{background:#eeece2;color:#847b61;font-size:12px}.status-pill.dim{background:#f1eee6;color:#a29378}.status-pill.running{background:#f3e5d8;color:#aa7650}.row-actions button{font-size:13px;color:#a27450}th{font-size:12px;color:#a18e70}td{font-size:14px;color:#7c694c}td small{font-size:12px;color:#aa9676}#accountUsername[readonly]{background:#f0ece1}.admin-filters select{border:1px solid #dfd4c1;border-radius:8px;color:#947b58}
.login-art{background:#eee8dc;color:#4a4033;border-right:1px solid #e1d8c8}.login-art h1{font-family:var(--serif);font-weight:400;font-size:clamp(38px,4vw,58px);line-height:1.5;letter-spacing:.4px}.login-art p{color:#9a8568}.login-art .small{color:#ac9575}.login-art .eyebrow{color:#b18b62}.login-panel{background:#faf9f5}.login-panel h2{font-family:var(--serif);font-size:32px;font-weight:400;color:#67543b}.login-panel p{color:#a08c70}
@media(max-width:1200px){.sidebar{width:225px;padding:23px 14px 17px}.file-panel{top:68px;box-shadow:-10px 8px 40px #57452b10}.conversation,.composer-wrap{max-width:780px}}
@media(max-width:780px){.sidebar{width:260px}.topbar{height:65px;padding:0 12px}.chat-title{font-size:15px}.project-caption{font-size:12px}.chat-view.is-empty{padding-bottom:5vh}.chat-view.is-empty .conversation{padding:20px 17px 0}.welcome-mark{font-size:46px;width:50px;height:50px;margin-bottom:16px}.welcome h1{font-size:27px;letter-spacing:0;line-height:1.65}.welcome>p{font-size:14px;margin-bottom:24px}.composer-wrap{padding:0 14px max(13px,env(safe-area-inset-bottom))}.composer textarea{font-size:16px;min-height:85px;padding:17px 16px 4px}.composer-actions{padding:6px 9px 10px}.composer-options{gap:3px}.composer-options select{font-size:12px;max-width:105px}.composer-footer{font-size:12px;line-height:1.5}.suggestions{gap:7px;margin-top:13px}.suggestions button{display:flex;gap:5px;padding:8px 10px;min-height:39px}.suggestions button>span{grid-row:auto;font-size:15px}.suggestions strong{font-size:12px}.conversation{padding:25px 17px 18px}.markdown{font-size:17px;line-height:1.95}.avatar{font-size:25px;width:27px}.message-meta{font-size:13px}.message-meta span{font-size:12px}.user-text{font-size:16px}.message.user .message-main{max-width:95%;padding:12px 16px}.tool-event summary{font-size:12px}.tool-event summary .tool-status{font-size:12px}.file-panel{top:65px}.login-panel{border-radius:20px 20px 0 0;margin-top:-70px}.login-art{height:170px;border:0;padding:25px 30px}.login-panel h2{font-size:29px}.login-panel .hint{font-size:13px}.settings-heading h1{font-size:27px}.settings-heading .secondary{font-size:13px}.audit-row{font-size:12px}.nav-shade:not([hidden]){background:#463b2c40}}
@media(max-height:700px){.chat-view.is-empty{justify-content:flex-start;padding-bottom:0}.chat-view.is-empty .conversation{padding-top:25px}.welcome-mark{margin-bottom:10px}.welcome>p{margin-bottom:18px}}
#accountDialog{width:min(490px,calc(100vw - 32px));max-width:calc(100vw - 32px)}
.composer-actions{flex-wrap:wrap}.composer-options{flex-wrap:wrap;max-width:100%}.composer-options select{max-width:none}
.send-button{width:max(34px,1.5em);height:max(34px,1.5em);line-height:1;margin-left:auto}
.welcome-mark{width:max(50px,1em);height:max(50px,1em)}
.chat-view.is-empty{justify-content:safe center}.chat-view.is-empty .message-scroll{flex-shrink:0}.chat-view.is-empty .composer-wrap{flex-shrink:0}
@media(max-height:700px){.chat-view.is-empty{justify-content:flex-start}}
#modelSelect{max-width:min(19em,100%)}.model-notice{font-size:12px;color:#8c7b65;margin:8px 3px 0;line-height:1.6}#actualModel{color:#968875;overflow-wrap:anywhere}.saved-models{margin-top:24px;border-top:1px solid var(--line)}.saved-models:empty{display:none}.saved-models h3{font-size:14px;font-weight:500;padding-top:18px}.saved-model-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--line)}.saved-model-row>div{flex:1;min-width:0}.saved-model-row strong,.saved-model-row small{display:block;overflow-wrap:anywhere}.saved-model-row strong{font-size:14px;font-weight:500}.saved-model-row small{font-size:12px;color:var(--muted);margin-top:4px}.saved-model-row button{flex-shrink:0}#modelDialog{width:min(510px,calc(100vw - 32px));max-width:calc(100vw - 32px)}

/* Static HTML artifacts run inside an opaque iframe, never in the app document. */
.artifact-preview{display:flex;align-items:center;gap:12px;max-width:100%;margin:8px 0 22px 40px;padding:13px 16px;border:1px solid var(--line,#dedbd3);border-radius:12px;background:#f5f3ed;color:#5d5148;text-align:left;font-size:14px}.artifact-preview:hover{background:#eeebe3}.artifact-preview span{color:#8d8479;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.preview-dialog.rendered-preview{width:min(1280px,96vw);max-width:96vw;height:90dvh;max-height:94dvh;display:flex;flex-direction:column;gap:12px;padding:22px}.preview-dialog .dialog-heading{margin-bottom:0;flex-shrink:0}.preview-dialog .dialog-heading h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.preview-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex-shrink:0}.preview-toolbar select{flex:1;min-width:100px;max-width:100%;padding:9px 12px;border:1px solid #d9d6ce;border-radius:8px;background:#faf9f5;color:#39372f}.preview-tabs{display:flex;gap:4px}.preview-tabs .active{background:#e9e3d7;border-color:#c9bfb0}.page-preview-frame{flex:1;min-height:160px;overflow:hidden;border:1px solid #ddd8ce;border-radius:8px;background:white}.page-preview-frame iframe{width:100%;height:100%;border:0;display:block}.rendered-preview #fileContent{flex:1;min-height:0;max-height:none;margin:0;overflow:auto}.preview-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;flex-shrink:0}.preview-footer .hint{margin:0;flex:1;min-width:160px}.preview-footer a{white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:700px){.preview-dialog.rendered-preview{width:100%;max-width:100%;height:96dvh;max-height:96dvh;padding:14px;border-radius:12px}.preview-toolbar{gap:7px}.preview-toolbar select{flex-basis:100%}.artifact-preview{margin-left:0;font-size:13px}.header-actions{gap:5px}#pagePreviewButton{padding-inline:9px}#filesButton span{display:none}}

/* Chunked transfers and administrator-managed upload limits. */
.transfer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.transfer-fields>div{min-width:0}.upload-limits-panel textarea{display:block;width:100%;resize:vertical;min-height:96px;border:1px solid #dad6cb;background:#fffefa;border-radius:8px;padding:11px 12px;color:var(--ink);font:inherit;line-height:1.6}.upload-limits-panel textarea:focus{outline:2px solid #c99c85;outline-offset:1px}.attachment-transfer{margin:0 0 10px;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.attachment-transfer>div{display:flex;align-items:flex-start;gap:12px}.attachment-transfer span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.6;color:var(--muted)}.attachment-transfer button{flex-shrink:0;font-size:12px;white-space:nowrap}.attachment-transfer progress{display:block;margin:8px 0 0;height:6px}#importLimitsHelp,#uploadLimitsSummary{overflow-wrap:anywhere;line-height:1.8}.upload-limits-panel[hidden],.attachment-transfer[hidden]{display:none}
@media(max-width:420px){.transfer-fields{gap:0 10px}.transfer-fields label{font-size:12px}.attachment-transfer{padding:10px}.attachment-transfer>div{gap:7px}}

.load-more-files{display:block;margin:14px 16px 4px;width:calc(100% - 32px);font-size:12px}.load-more-files[hidden]{display:none}

.file-entry{display:flex;align-items:center;gap:2px}.file-entry>button{flex:1;min-width:0}.file-download{display:flex;align-items:center;justify-content:center;flex:0 0 34px;min-height:38px;border-radius:7px;font-size:18px;color:#927c5b}.file-download:hover{background:#eee5d4;text-decoration:none}

.update-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:10px 24px;background:#f0e4d7;border-bottom:1px solid #ddc7b0;color:#664a35;font-size:13px}.update-notice button{white-space:nowrap}@media(max-width:700px){.update-notice{padding:8px 14px;gap:8px}}

.artifact-panel{margin:24px 0;border:1px solid #ddd7cd;border-radius:14px;padding:16px;background:#f5f2ea}.artifact-heading{font-size:14px;color:#766957;margin:0 0 12px}.artifact-files{display:grid;gap:8px}.artifact-card{display:flex;align-items:center;gap:8px;border:1px solid #e1dbd0;border-radius:10px;background:#fffdf8;padding:8px}.artifact-open{min-width:0;flex:1;display:flex;align-items:center;gap:12px;border:0;background:transparent;text-align:left;padding:6px;color:inherit}.artifact-icon{font-size:23px}.artifact-detail{min-width:0;display:flex;flex-direction:column;gap:4px}.artifact-detail strong{font-weight:600}.artifact-path{overflow-wrap:anywhere;font-size:12px;color:#8d8274}.artifact-download{padding:10px;color:#9e5338;white-space:nowrap}button.artifact-save{background:transparent}.artifact-link{display:inline;border:0;border-bottom:1px dotted #b97652;padding:0 2px;color:#a85838;background:transparent;font:inherit;overflow-wrap:anywhere;text-align:left}.file-rendered{max-height:72dvh;overflow:auto;padding:14px 4px;font-size:15px}.file-rendered img{display:block;max-width:100%;height:auto;margin:auto}.file-rendered pre{white-space:pre;overflow:auto}.file-rendered table{border-collapse:collapse}.file-rendered td,.file-rendered th{border:1px solid #ddd;padding:8px}.file-rendered h1{font-size:26px}.file-rendered h2{font-size:21px}@media(max-width:700px){.artifact-panel{padding:10px}.artifact-card{gap:2px}.artifact-open{gap:7px}.artifact-download{padding:8px}.file-rendered{max-height:70dvh}}

/* The selected approval mode remains visible independently of tool prompts. */
.permission-mode-notice{display:flex;align-items:flex-start;gap:6px 9px;flex-wrap:wrap;margin:9px 3px 0;color:#9a8b74;font-size:12px;line-height:1.65}.permission-mode-badge{flex-shrink:0;display:inline-block;border:1px solid #e3dacb;border-radius:5px;padding:0 6px;background:#f4efe5;color:#897459;font-size:11px;white-space:nowrap}#permissionModeDescription{flex:1;min-width:170px;overflow-wrap:anywhere}.permission-mode-effective{flex-basis:100%;padding:5px 8px;background:#f5eadc;border-radius:6px;color:#9a7044;overflow-wrap:anywhere}.permission-mode-notice[data-mode=auto] .permission-mode-badge{background:#edf0e7;border-color:#d8dfce;color:#768263}.permission-mode-notice[data-mode=bypassPermissions] .permission-mode-badge{background:#f4e7d9;border-color:#e4ceb4;color:#a17347}#permissionSelect{min-width:7em;max-width:100%;flex-shrink:0}@media(max-width:420px){.permission-mode-notice{font-size:11px;gap:5px 7px;margin-top:8px}.permission-mode-badge{font-size:10px}#permissionModeDescription{min-width:160px}#permissionSelect{font-size:12px}}

.chat-view .composer-wrap{flex-shrink:0}.composer-options{flex:1 1 0}

/* Isolated GPT experiment dialog */
#gptExperimentDialog{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:clamp(20px,4vw,32px)}
    #gptExperimentDialog .dialog-actions{display:flex;flex-wrap:wrap;gap:10px}
    #gptExperimentDialog .dialog-actions button{min-width:0;max-width:100%;white-space:normal;flex:1 1 150px}
    #gptExperimentDialog select{display:block;width:100%;max-width:100%;padding:10px;margin:8px 0 18px}
    #gptExperimentDialog label:has(input){display:flex;align-items:center;gap:8px}
    #gptExperimentDialog input[type=checkbox]{width:auto;margin:0;flex:none}
    #gptExperimentDialog [data-auth]{overflow-wrap:anywhere}

/* Model connections, per-message attribution, and administrator provider status. */
.message-meta .message-model{display:inline-block;border:1px solid #e3dacb;border-radius:5px;padding:0 5px;font-size:10px;color:#96836c;line-height:1.6;max-width:100%;overflow-wrap:anywhere}
.gpt-isolated-option{margin:18px 0;padding:12px;border:1px solid var(--line);border-radius:8px}.gpt-isolated-option summary{cursor:pointer;color:var(--muted);font-size:13px}.gpt-isolated-option .hint{margin:12px 0}
.provider-panel .section-heading{align-items:flex-start;gap:16px}.provider-panel .section-heading h2{margin-bottom:8px}.provider-panel .section-heading .hint{margin:0;max-width:650px;line-height:1.7}.provider-panel .section-heading>button{flex-shrink:0}.provider-quota-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.provider-quota-card{border:1px solid var(--line);background:#faf8f2;border-radius:10px;padding:18px;min-width:0}.provider-quota-card.is-stale{border-style:dashed}.provider-quota-heading{display:flex;align-items:center;gap:12px;justify-content:space-between}.provider-quota-heading h3{margin:0;font-size:17px;font-weight:500}.provider-window{margin:20px 0}.provider-window>div{display:flex;flex-wrap:wrap;gap:7px;justify-content:space-between;font-size:13px}.provider-window strong{font-weight:500;color:#765c43}.provider-window progress{display:block;width:100%;height:6px;margin:10px 0;accent-color:#b9815a}.provider-window small,.provider-quota-source{display:block;color:var(--muted);font-size:11px;line-height:1.7;overflow-wrap:anywhere}.provider-quota-source{border-top:1px solid var(--line);margin:12px 0 0;padding-top:12px}.provider-account{margin-top:15px;border-top:1px solid var(--line);padding-top:12px}.provider-account summary{cursor:pointer;font-size:13px;color:#806b52}.drawing-toggle{display:flex;flex-shrink:0;align-items:center;gap:7px;font-size:13px;white-space:nowrap}.drawing-toggle input{width:auto;margin:0;accent-color:#b66045}.provider-panel[hidden]{display:none}
@media(max-width:700px){.provider-quota-grid{grid-template-columns:1fr}.provider-panel .section-heading{flex-wrap:wrap}.provider-quota-card{padding:14px}.message-meta .message-model{font-size:10px}.provider-panel .section-heading .hint{font-size:12px}}

.drawing-message{margin:16px 0 28px 40px;max-width:620px;border:1px solid var(--line);border-radius:12px;background:#fffefa;overflow:hidden}.drawing-message>a{display:block;background:#f5f1e8}.drawing-message img{display:block;width:100%;max-height:620px;object-fit:contain;height:auto}.drawing-message figcaption{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 15px;font-size:12px;color:var(--muted)}.drawing-message figcaption>span{flex:1;min-width:140px;overflow-wrap:anywhere}.drawing-message figcaption>a{white-space:nowrap;color:#a15f42}@media(max-width:700px){.drawing-message{margin-left:0}.drawing-message figcaption{padding:10px;gap:10px}}

/* A compact, keyboard-accessible model picker with the same warm palette. */
.model-picker-button{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:255px;height:34px;padding:5px 9px;border:1px solid transparent;border-radius:8px;background:transparent;color:#66594a;font-size:13px;line-height:1.2;text-align:left}.model-picker-button:hover,.model-picker-button[aria-expanded=true]{background:#f0e9dd;border-color:#e5dac9}.model-button-symbol{font-size:18px;flex-shrink:0;color:#b77b5d}.model-button-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;min-width:0}.model-button-chevron{margin-left:2px;font-size:15px;color:#9c8b76;flex-shrink:0}.model-button-pending{font-size:10px;color:#a17a50;white-space:nowrap;border-radius:4px;background:#f3e6d3;padding:2px 4px}.model-picker-menu{position:fixed;width:min(340px,calc(100vw - 24px));z-index:96;display:flex;flex-direction:column;background:#fffdf8;border:1px solid #dfd6c5;border-radius:12px;padding:9px;box-shadow:0 12px 36px #51402b1e,0 2px 6px #51402b0b;overflow:hidden;max-height:min(530px,calc(100dvh - 24px))}.model-menu-heading{display:flex;justify-content:space-between;align-items:center;padding:2px 3px 9px;flex-shrink:0}.model-menu-heading strong{font-size:14px;font-weight:550;color:#5f503e}.model-menu-heading .icon-button{font-size:19px;padding:2px 6px}.model-search{flex-shrink:0;background:#f8f4ec;border:1px solid #e8dfd0;border-radius:8px;padding:9px 11px;font-size:13px;margin:0 0 8px}.model-menu-options{overflow-y:auto;min-height:40px;max-height:365px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ded4c2 transparent}.model-option-group h3{font-size:10px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#a48e72;margin:13px 9px 6px}.model-option-group:first-child h3{margin-top:5px}.model-option{display:flex;align-items:center;width:100%;gap:10px;padding:9px 10px;background:transparent;text-align:left;border-radius:7px;min-height:46px}.model-option:hover,.model-option:focus-visible{background:#f4eee4;outline:none}.model-option.selected{background:#f0e9dd}.model-option-symbol{color:#ba7c5b;font-size:22px;flex:0 0 23px;text-align:center}.model-option-symbol.gpt{color:#292622}.model-option-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.model-option-copy strong{font-size:13px;font-weight:500;line-height:1.35;color:#5b4d3d;overflow-wrap:anywhere}.model-option-copy small{font-size:10px;font-weight:400;line-height:1.5;color:#a18b71;overflow-wrap:anywhere}.model-option-check{font-size:11px;flex-shrink:0;color:#aa7350}.model-menu-footnote{font-size:10px;line-height:1.6;color:#ac9477;margin:10px 4px 0;padding-top:10px;border-top:1px solid #ece3d5;flex-shrink:0}.model-empty{padding:15px 8px;margin:0}.model-picker-menu[hidden]{display:none}

/* Message-level editing stays beside the record, including errors and tools. */
.message-actions{display:flex;justify-content:flex-start;min-height:23px;margin-top:7px}.user .message-actions{justify-content:flex-end;margin:2px -6px -6px 0}.message-action-button{font-size:18px;line-height:1;letter-spacing:1px;min-width:27px;height:24px;border-radius:6px;background:transparent;color:#ab967d;padding:2px 5px;flex-shrink:0;opacity:0;transition:opacity .12s,background .12s}.message:hover .message-action-button,.message:focus-within .message-action-button,.info-message:hover .message-action-button,.info-message:focus-within .message-action-button,.tool-event:hover .message-action-button,.tool-event:focus-within .message-action-button,.drawing-message:hover .message-action-button,.drawing-message:focus-within .message-action-button,.message-action-button[aria-expanded=true]{opacity:1}.message-action-button:hover,.message-action-button:focus-visible{background:#e9dfcf;color:#8d6e4f;outline-offset:1px}.info-message{display:flex;align-items:flex-start;gap:10px;white-space:normal}.info-message>span{flex:1;white-space:pre-wrap;min-width:0}.tool-event summary .message-action-button{margin-right:-6px}.drawing-message figcaption .message-action-button{margin-left:auto}.message-action-menu{position:fixed;z-index:97;min-width:195px;max-width:min(270px,calc(100vw - 24px));background:#fffdf8;border:1px solid #e2d8c7;border-radius:11px;padding:5px;box-shadow:0 10px 30px #44382621}.message-action-menu button{display:block;width:100%;padding:10px 12px;background:transparent;color:#9c6449;text-align:left;border-radius:7px;font-size:12px}.message-action-menu button:hover,.message-action-menu button:focus-visible{background:#f5eadf;outline:none}.message-action-menu .hint{font-size:11px;margin:5px 10px 8px;padding-top:8px;border-top:1px solid #ece3d6}.message-action-menu[hidden]{display:none}#messageDeleteDialog{width:min(460px,calc(100vw - 28px))}#messageDeleteDialog blockquote{margin:16px 0;padding:12px 14px;border-left:3px solid #d2baa0;border-radius:0 8px 8px 0;background:#f7f0e6;color:#8e785f;font-size:12px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap;max-height:145px;overflow:auto}#messageDeleteDialog [data-delete-summary]{font-size:14px;color:#6f5c46}#messageDeleteDialog .hint{font-size:12px}#messageDeleteDialog .danger-primary{background:#a45c45}#messageDeleteDialog .danger-primary:hover{background:#8d4c39}
@media(hover:none),(max-width:700px){.message-action-button{opacity:1}.model-picker-button{max-width:185px;padding:5px 6px;gap:5px;font-size:12px}.model-button-symbol{font-size:16px}.model-button-pending{font-size:9px}.model-option{padding:11px 9px}.model-picker-menu{border-radius:14px}.message-actions{margin-top:5px}.message-action-menu button{padding:12px;font-size:13px}}
.model-provider-tabs{display:flex;gap:3px;flex-shrink:0;background:#f4eee4;padding:3px;border:1px solid #ece2d3;border-radius:9px;margin:0 0 10px}.model-provider-tabs button{flex:1;padding:6px 9px;border-radius:6px;font-size:11px;background:transparent;color:#a18c73;font-weight:500;min-height:28px}.model-provider-tabs button[aria-pressed=true]{background:#fffdf8;color:#775b41;box-shadow:0 1px 4px #77533213}.model-provider-tabs button[data-provider-filter=gpt][aria-pressed=true]{color:#4e463d}.model-provider-tabs button:hover{color:#775b41}.model-provider-tabs button:focus-visible{outline:2px solid #b6916e;outline-offset:1px}

/* Code previews keep source inert; SVG is displayed only through an image. */
.markdown pre .code-actions{position:absolute;right:10px;top:8px;display:flex;align-items:center;gap:7px;max-width:calc(100% - 20px)}.markdown pre .code-actions .copy-code,.markdown pre .preview-svg-code{position:static;margin:0;white-space:nowrap;flex-shrink:0;font-size:11px;line-height:1.4;padding:4px 8px;border-radius:5px;border:1px solid #d4cbbc;background:#e7e1d6;color:#8c7f6b}.markdown pre .preview-svg-code{background:#faf5eb;color:#9a664b;border-color:#d8c6b2}.markdown pre .preview-svg-code:hover{background:#efe3d4}.page-preview-frame.inline-svg-frame{background:#faf8f2;display:flex;align-items:center;justify-content:center;padding:12px}.page-preview-frame.inline-svg-frame>img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;min-height:0}.page-preview-frame.inline-svg-frame[hidden]{display:none}@media(max-width:480px){.markdown pre .code-actions{right:8px;gap:5px}.markdown pre .code-actions .copy-code,.markdown pre .preview-svg-code{font-size:10px;padding:4px 7px}.page-preview-frame.inline-svg-frame{padding:7px}}

/* Per-conversation reasoning, alongside the unified model picker. */
.effort-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;height:34px;padding:5px 8px;border:1px solid transparent;border-radius:8px;background:transparent;color:#80715d;font-size:12px;white-space:nowrap}.effort-button:hover,.effort-button[aria-expanded=true]{background:#f0e9dd;border-color:#e5dac9}.effort-button[data-supported=false]{color:#a09789}.effort-symbol{font-size:18px;line-height:1;transform:rotate(90deg);color:#9b8466}.effort-chevron{font-size:14px;color:#a39480}.effort-pending{width:5px;height:5px;border-radius:50%;background:#b58754;flex-shrink:0}.effort-menu{position:fixed;z-index:97;width:min(282px,calc(100vw - 24px));display:flex;flex-direction:column;padding:11px;background:#fffdf8;border:1px solid #dfd6c5;border-radius:14px;box-shadow:0 14px 48px #51402b22;overflow:hidden}.effort-menu-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:3px 4px 10px;gap:12px;flex-shrink:0}.effort-menu-heading strong{display:block;font-size:14px;font-weight:550;color:#5f503e}.effort-model{display:block;font-size:10px;color:#a18d74;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}.effort-menu-heading .icon-button{padding:0 5px;font-size:20px}.effort-options{overflow:auto;min-height:46px;scrollbar-width:thin;scrollbar-color:#ded4c2 transparent;overscroll-behavior:contain}.effort-option{display:flex;align-items:center;width:100%;min-height:47px;padding:9px 10px;border-radius:9px;background:transparent;color:#695943;text-align:left;gap:12px}.effort-option:hover,.effort-option:focus-visible{background:#f4eee4;outline:2px solid #dccbb5;outline-offset:-2px}.effort-option.selected{background:#f0e8dc}.effort-option-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.effort-option-copy strong{font-size:13px;font-weight:500}.effort-option-copy small{font-size:10px;font-weight:400;color:#a18d74;line-height:1.5}.effort-check{width:14px;color:#a77150;font-size:12px}.effort-menu-hint{flex-shrink:0;padding:10px 4px 0;margin:9px 0 1px;border-top:1px solid #ece3d5;font-size:10px;line-height:1.7;color:#a18b70;overflow-wrap:anywhere;max-height:105px;overflow:auto}.effort-menu[hidden]{display:none}
@media(max-width:700px){.composer-options{column-gap:2px;row-gap:2px}.effort-button{font-size:11px;padding:5px;gap:4px}.effort-symbol{font-size:16px}.composer-options .model-picker-button{max-width:min(175px,45vw)}.effort-menu{border-radius:12px}}
@media(max-width:460px){.composer-options .model-picker-button{max-width:calc(100% - 40px)}.composer-options #permissionSelect{font-size:11px;min-width:7em;padding:6px 2px}.effort-button{margin-left:0}.composer-actions{align-items:flex-end}.composer-options{justify-content:flex-start}}
/* Provider marks share the warm workbench typography and spacing. */
.provider-icon,.interface-icon{display:block;flex-shrink:0;width:20px;height:20px}.provider-icon-openai{color:#292622}.avatar .provider-icon{width:27px;height:27px}.model-button-symbol,.model-option-symbol{display:flex;align-items:center;justify-content:center;font-size:inherit;line-height:1}.model-button-symbol .provider-icon{width:18px;height:18px}.model-button-chevron .interface-icon{width:14px;height:14px}.model-option-symbol{flex:0 0 23px}.model-option-symbol .provider-icon{width:22px;height:22px}.model-option-symbol .interface-icon{width:18px;height:18px;color:#8a7965}.model-option-check{display:flex;align-items:center;justify-content:center;min-width:18px;color:#79614b}.model-option-check .interface-icon{width:17px;height:17px}.model-option-check.is-pending{font-size:10px;white-space:nowrap;padding:3px 5px;border-radius:4px;background:#ece0cb;color:#927043}.model-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 9px 5px}.model-group-heading h3,.model-option-group:first-child .model-group-heading h3{margin:0;font-size:11px;letter-spacing:0;text-transform:none;color:#8b7966;font-weight:550}.model-group-heading>span{font-size:10px;color:#aa9780}.model-menu-heading .icon-button .interface-icon{width:18px;height:18px}.model-menu-footnote{margin-top:8px;padding-top:8px}.model-option:focus-visible{box-shadow:inset 0 0 0 2px #c9aa86}.model-option:disabled{opacity:.5}.model-option:disabled:hover{background:transparent}

/* Keep the original Claude asterisk; only OpenAI uses the bundled SVG mark. */
.model-button-symbol{font-size:18px}.model-option-symbol{font-size:22px}@media(hover:none),(max-width:700px){.model-button-symbol{font-size:16px}}

/* Older transcript pages stay in the conversation flow so prepending can preserve the viewport. */
.message-history-controls{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;margin:0 0 24px;color:#9a8d7a;font-size:11px}.message-history-controls[hidden]{display:none}.message-history-controls .secondary{min-height:34px;padding:6px 12px;border-color:#ddd4c5;background:#fffefa;color:#756552;font-size:12px}.message-history-controls .secondary:hover{background:#f1ece2}.message-history-controls .secondary:disabled{background:#f6f1e8}
.sidebar-more{display:flex;width:calc(100% - 16px);margin:8px auto 4px;min-height:34px;padding:6px 10px;border-color:#e4ddd1;background:transparent;color:#7d756b;font-size:11px}
@media(max-width:780px){.message-history-controls{margin-bottom:20px;gap:9px}.message-history-controls .secondary{font-size:12px}}

/* Draft attachments remain a bounded tray, never a growing wall above the composer. */
#attachments{min-width:0;max-width:100%;max-height:min(144px,20dvh);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d9cbb8 transparent;align-content:flex-start;padding:1px 3px 2px 0}
#attachments:empty{display:none}
#attachments .attachment-chip{flex:0 1 auto;min-width:0;max-width:min(100%,340px);min-height:36px}
#attachments .attachment-chip span{min-width:0;flex:1 1 auto}
#attachments .attachment-chip button{flex:0 0 24px;min-width:24px;min-height:24px;padding:0;line-height:1}
#attachmentTransferStatus{max-height:3.2em;overflow-y:auto;overscroll-behavior:contain}
.chat-view.is-empty:has(#attachments:not(:empty)) .message-scroll{flex-shrink:1;min-height:0}
@media(max-height:600px){#attachments{max-height:84px}.chat-view:has(#attachments:not(:empty)) .composer textarea{min-height:60px;max-height:110px}.chat-view:has(#attachments:not(:empty)) .suggestions{display:none}}
@media(max-width:600px){#attachments{max-height:min(120px,18dvh);gap:6px}#attachments .attachment-chip{max-width:100%;padding:6px 8px}}

/* Immediate feedback: small compositor animations, never delay actions. */
@keyframes studio-feedback-enter{from{opacity:.75;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes studio-feedback-breathe{0%,100%{opacity:.45}50%{opacity:1}}
.model-picker-menu:not([hidden]),.message-action-menu:not([hidden]),#conversationMenu:not([hidden]){animation:studio-feedback-enter 140ms ease-out}
.conversation-row{transition:background-color 140ms ease-out}.send-button{transition:background-color 120ms ease-out,transform 120ms ease-out}.send-button:active{transform:scale(.95)}
#messageScroll{position:relative}.is-loading-chat #messageScroll>.conversation{visibility:hidden}.is-loading-chat #messageScroll{min-height:180px}.chat-loading{position:absolute;inset:40px 20px auto;display:flex;gap:11px;justify-content:center;align-items:center;color:#8c7b67;font-size:13px;animation:studio-feedback-enter 140ms ease-out}
.feedback-orbit{display:inline-block;flex:0 0 13px;width:13px;height:13px;border:1.5px solid #d7c8b6;border-top-color:#aa7052;border-radius:50%;animation:spin .85s linear infinite}.feedback-mark{display:grid;place-items:center;width:16px;height:16px;border:1px solid #c8a273;border-radius:50%;font-size:11px;color:#986f42}
.desktop-send-feedback{margin:0 0 10px;padding:12px 15px;border:1px solid #e6dbcb;background:#fbf7ef;border-radius:12px;color:#716350;animation:studio-feedback-enter 140ms ease-out}.send-feedback-heading{display:flex;align-items:center;gap:8px}.send-feedback-heading strong{font-size:12px;font-weight:550}.send-feedback-preview{margin:7px 0 5px;font-size:13px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.send-feedback-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;line-height:1.5;color:#96856e}.send-feedback-foot>span{flex:1;min-width:160px}.send-feedback-foot button{font-size:11px;padding:4px 7px;border-radius:5px;background:#eee5d7;color:#7c6349}.desktop-send-feedback[data-state=unknown],.desktop-send-feedback[data-state=rejected]{border-color:#ddc6a4}.model-button-pending.is-saving{animation:studio-feedback-breathe 1.1s ease-in-out infinite}.send-button.is-sending{opacity:.65}
@media(prefers-reduced-motion:reduce){.model-picker-menu:not([hidden]),.message-action-menu:not([hidden]),#conversationMenu:not([hidden]),.desktop-send-feedback,.chat-loading,.feedback-orbit,.model-button-pending.is-saving{animation:none}.conversation-row,.send-button{transition:none}.send-button:active{transform:none}}

.model-picker-button[aria-busy=true]{opacity:1}

/* Follow-up inputs remain in the existing conversation and composer. */
.followup-strategy{font:inherit;font-size:11px;max-width:160px;border:1px solid var(--line,#e6e2d8);border-radius:8px;background:var(--panel,#fffefb);padding:5px 8px;min-height:30px}.followup-strategy[hidden]{display:none!important}.followup-queue{margin:16px 0;display:grid;gap:8px}.followup-queue[hidden]{display:none}.followup-card{border:1px solid #e3d9ca;border-radius:12px;background:#f6f2ea;padding:12px 14px;font-size:12px;line-height:1.7}.followup-card-heading,.followup-card-foot{display:flex;align-items:center;gap:12px;justify-content:space-between}.followup-card-heading strong{font-size:11px;color:#8e664d}.followup-card-heading>span,.followup-card small{font-size:10px;color:#877e70}.followup-card p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0}.followup-card-foot small{flex:1}.followup-card button{flex-shrink:0;background:transparent;color:#956a51;padding:4px;font-size:11px;min-height:26px}.followup-card[data-state=sent]{background:#f6f5f0;border-color:#e7e4da}.followup-card[data-state=failed]{border-color:#d5a79b}.followup-card[data-state=cancelled]{opacity:.75}@media(max-width:600px){.followup-strategy{max-width:116px;font-size:10px}.followup-card{padding:10px}.composer-actions{flex-wrap:wrap}.composer-actions>.cancel-button{margin-left:auto}}

.model-labs{margin:6px 2px 2px;border:1px solid #ece3d5;border-radius:9px;overflow:hidden}.model-labs>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;color:#8b7966;font-size:11px;cursor:pointer;list-style:none}.model-labs>summary::-webkit-details-marker{display:none}.model-labs>summary:after{content:'›';color:#aa9780;font-size:16px;transform:rotate(90deg);transition:transform .12s ease}.model-labs[open]>summary:after{transform:rotate(-90deg)}.model-labs>summary small{margin-left:auto;color:#aa9780;font-size:10px}.model-labs[open]>summary{border-bottom:1px solid #ece3d5;background:#faf6ef}

/* Collapsible navigation keeps the current account's desktop layout. */
.sidebar-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;padding:6px;color:#827b6e;border-radius:7px}
.sidebar-toggle svg{display:block;width:20px;height:20px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sidebar-toggle-arrow{transform-origin:13.5px 12px;transition:transform .15s ease}
.sidebar-toggle[aria-expanded="false"] .sidebar-toggle-arrow{transform:rotate(180deg)}
@media(min-width:781px){
  .app.sidebar-collapsed>#sidebar{display:none}
  .app.sidebar-collapsed .conversation,.app.sidebar-collapsed .composer-wrap{max-width:960px}
}
@media(prefers-reduced-motion:reduce){.sidebar-toggle-arrow{transition:none}}

/* Compact navigation: history owns the scroll area; utilities never crowd it. */
#sidebar.sidebar{height:100%;max-height:100dvh;overflow:hidden;padding:18px 14px 12px;position:relative}
#sidebar>.brand{flex:none;padding:0 8px;min-height:35px}
#sidebar .brand-word{font-size:27px}#sidebar .brand-icon{font-size:30px}
#sidebar .new-chat{flex:none;min-height:40px;margin:18px 0 18px;padding:8px 12px}
#sidebar>.side-label{flex:none;min-height:20px;margin:0 3px 7px}
#sidebar .project-picker{flex:none;min-height:36px;margin-bottom:14px}
#sidebar>.chat-search{flex:none;min-height:34px;font-size:12px;margin-bottom:9px}
#sidebar #studioHistoryScroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d8d1c5 transparent}
#sidebar>.chat-list{min-height:0;overscroll-behavior:contain}
#sidebar .chat-item{padding:10px 10px;margin-bottom:3px}#sidebar .chat-item small{font-size:11px}
#sidebar .deployment-sidebar{margin:2px 0 10px}
#sidebar>.side-bottom{flex:none;position:relative;padding:11px 0 0;margin-top:8px;border-top:1px solid #ded9ce}
#sidebar .sidebar-resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:5px}
#sidebar .sidebar-resources>.side-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:52px;padding:7px 2px;margin:0;background:transparent;border:1px solid transparent;border-radius:9px;color:#776c5b}
#sidebar .sidebar-resources>.side-action:hover{background:#e7e1d5;border-color:#ded6c7}
#sidebar .sidebar-resources>.side-action>span{font-size:11px;line-height:1.2}
#sidebar .sidebar-resources svg{width:18px;height:18px;display:block;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
#sidebar .sidebar-tools-toggle{display:flex;width:100%;align-items:center;gap:9px;min-height:32px;padding:6px 10px;border:0;background:transparent;border-radius:7px;color:#817664;font-size:12px;text-align:left}
#sidebar .sidebar-tools-toggle:hover,#sidebar .sidebar-tools-toggle[aria-expanded=true]{background:#e7e1d5}
#sidebar .sidebar-tools-toggle svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.4}
#sidebar .sidebar-tools-toggle .sidebar-tools-chevron{margin-left:auto;font-size:15px}
#sidebar .sidebar-tools-panel{position:absolute;bottom:100%;left:0;right:0;z-index:80;max-height:min(440px,65dvh);overflow-y:auto;padding:8px;margin-bottom:8px;border:1px solid #ddd6c8;border-radius:12px;background:#faf8f2;box-shadow:0 10px 35px #4f3b2328}
#sidebar .sidebar-tools-panel[hidden]{display:none!important}
#sidebar .sidebar-tools-panel>.side-action{width:100%;min-height:37px;padding:8px 10px;margin:0;gap:11px;font-size:15px;text-align:left}
#sidebar .sidebar-tools-panel>.side-action span{font-size:12px}
#sidebar .sidebar-tools-panel>.side-action small{font-size:10px;margin-left:auto;color:#a69a88}
#sidebar .sidebar-tools-panel>.side-action svg{width:17px;height:17px;flex:none}
#sidebar .machine{padding:10px 7px 0;margin-top:7px;gap:8px;min-height:47px}
#sidebar .machine strong{font-size:12px}#sidebar .machine small{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}
#sidebar .machine>span{font-size:21px}#sidebar .machine button{font-size:18px}
@media(max-width:780px){#sidebar.sidebar{position:fixed;height:100dvh;padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media(max-height:650px){#sidebar .new-chat{margin:12px 0;min-height:36px}#sidebar .project-picker{margin-bottom:10px}#sidebar .sidebar-resources>.side-action{min-height:43px;gap:3px}#sidebar>.side-bottom{padding-top:6px;margin-top:4px}#sidebar .machine{min-height:38px;padding-top:6px}}

#sidebar .sidebar-tools-panel .deployment-sidebar{margin:0 0 5px;padding:4px 6px;border-bottom:1px solid #e5dfd4}
#sidebar .new-chat{font-size:21px;line-height:1.1;min-height:40px}
@media(max-height:650px){#sidebar.sidebar{padding-top:12px;padding-bottom:8px}#sidebar>.brand{min-height:30px}#sidebar .brand-icon{height:30px;font-size:27px}#sidebar .brand-word{font-size:25px}#sidebar .new-chat{min-height:36px;height:36px;padding:5px 12px;margin:10px 0}#sidebar>.side-label{min-height:18px;margin-bottom:5px}#sidebar .project-picker{min-height:34px;height:34px;margin-bottom:10px}#sidebar .project-picker select{padding-top:4px;padding-bottom:4px}#sidebar>.chat-search{min-height:30px;height:30px;padding:5px 9px;margin-bottom:6px}#sidebar .sidebar-resources>.side-action{min-height:36px;padding:3px 2px}#sidebar .sidebar-tools-toggle{min-height:28px;padding:4px 10px}#sidebar .machine{min-height:35px;margin-top:5px;padding-top:5px}}

/* Compact writing surface; grow only with content, not with secondary controls. */
#chatView .composer-wrap{padding-bottom:max(10px,env(safe-area-inset-bottom))}
#composer{border-radius:16px}
#composer #prompt{display:block;min-height:52px;padding:12px 16px 5px;line-height:1.6;max-height:190px;overflow-y:auto}
#composer .composer-actions{flex-wrap:nowrap;align-items:center;gap:6px;padding:3px 10px 9px}
#composer .composer-options{flex-wrap:wrap;align-items:center;column-gap:3px;row-gap:2px;min-width:0}
#composer .composer-options .icon-button{padding:4px 6px;font-size:23px}
#composer .model-picker-button{max-width:210px;min-height:30px;padding:4px 6px}
#composer .effort-button{height:30px;padding:4px 6px}
#composer #permissionSelect{padding:5px 2px;font-size:12px}
#composer .send-button{width:32px;height:32px;min-width:32px;flex-shrink:0;font-size:23px;border-radius:10px}
.composer-secondary-tools{position:relative;flex:none}
.composer-secondary-tools[hidden]{display:none!important}
#composer #composerToolsButton{display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:5px;position:relative}
#composerToolsButton svg{width:20px;height:20px;fill:currentColor}
#composerToolsButton.has-active-tool:after{content:'';position:absolute;right:3px;top:3px;width:5px;height:5px;border-radius:50%;background:#b77b58}
#composerToolsPanel{position:fixed;width:210px;padding:8px;border:1px solid #dfd6c5;border-radius:12px;background:#fffdf8;box-shadow:0 10px 35px #51402b22;z-index:95}
#composerToolsPanel[hidden],#composerInfoPanel[hidden]{display:none!important}
#composerToolsPanel>strong{display:block;padding:5px 8px 7px;color:#9a8b75;font-size:11px;font-weight:500}
#composerToolsPanel>button{display:flex;width:100%;min-height:36px;justify-content:flex-start;padding:7px 9px;font-size:12px}
#chatView .composer-footer{align-items:center;flex-wrap:nowrap;gap:8px;padding:5px 3px 0;font-size:10px;line-height:1.5;min-height:22px}
#composerHint{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#usageCaption{white-space:nowrap;flex:none}
.composer-info{position:relative;flex:none;line-height:1}
.composer-info-button{display:flex;align-items:center;justify-content:center;background:transparent;color:#a59680;width:22px;height:22px;padding:0;font-size:14px;border-radius:5px}
.composer-info-button:hover,.composer-info-button[aria-expanded=true]{background:#efe9df;color:#796950}
#composerInfoPanel{position:absolute;bottom:calc(100% + 9px);right:0;width:min(340px,calc(100vw - 48px));padding:12px 14px;border:1px solid #dfd6c5;border-radius:12px;background:#fffdf8;box-shadow:0 10px 35px #51402b22;color:#8c7c65;z-index:95;font-size:12px;line-height:1.7}
#composerInfoPanel #permissionModeNotice{margin:0;gap:6px}
#composerInfoPanel #actualModel{display:block;margin-top:8px;padding-top:7px;border-top:1px solid #ece5d9;font-size:11px}
#composerInfoPanel #actualModel[hidden]{display:none}
#chatView .composer-mode-warning{margin:5px 3px 0;font-size:11px;line-height:1.6}
#chatView .composer-mode-warning[hidden]{display:none}
@media(max-width:700px){#composer .model-picker-button{max-width:min(185px,44vw)}#composer .composer-actions{padding:3px 7px 7px}#composer .effort-button{font-size:11px;padding:4px}#composer #permissionSelect{font-size:11px}#composer .composer-options{gap:2px}#usageCaption{max-width:36%;overflow:hidden;text-overflow:ellipsis}}

/* The welcome screen is a place to start writing; ongoing chats stay compact. */
#chatView.is-empty .composer-wrap{max-width:900px}
#chatView.is-empty #composer #prompt{min-height:112px;padding:18px 20px 8px;font-size:17px}
#chatView.is-empty #composer .composer-actions{padding:4px 14px 13px}
#chatView.is-empty #composer .send-button{width:36px;height:36px;min-width:36px}
#chatView.is-empty .composer-footer{font-size:11px;padding-top:7px}
@media(max-width:780px){#chatView.is-empty #composer #prompt{min-height:94px;padding:15px 16px 7px;font-size:16px}#chatView.is-empty #composer .composer-actions{padding:3px 9px 10px}#composer .send-button{width:36px;height:36px;min-width:36px}#composer .composer-options .icon-button{min-width:36px;min-height:36px}#composer #composerToolsButton{width:36px;height:36px}}
@media(max-height:600px){#chatView.is-empty #composer #prompt{min-height:68px;padding-top:12px}.chat-view.is-empty .welcome-mark{font-size:37px;height:40px;margin-bottom:5px}.chat-view.is-empty .welcome h1{font-size:25px}.chat-view.is-empty .welcome>p{margin-bottom:12px}}


/* Inline help keeps the current conversation and draft in place. */
.studio-help-dialog{box-sizing:border-box;max-width:none;max-height:none;width:min(1080px,calc(100vw - 56px));height:min(840px,calc(100dvh - 56px));margin:auto;padding:0;border:1px solid #dcd5c8;border-radius:18px;background:#faf8f2;color:#3e3931;overflow:hidden;box-shadow:0 18px 70px #2f271c33}
.studio-help-dialog[open]{display:flex;flex-direction:column}
.studio-help-dialog::backdrop{background:#302b2359;backdrop-filter:blur(2px)}
.studio-help-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;min-height:76px;padding:16px 20px;border-bottom:1px solid #e7e0d4;background:#faf8f2}
.studio-help-eyebrow{font-size:9px;letter-spacing:1.7px;color:#a08e76}
.studio-help-header h2{margin:4px 0 0;font-size:18px;line-height:1.3;font-weight:550}
.studio-help-header-actions{display:flex;align-items:center;gap:12px;flex:none}
.studio-help-header-actions a{font-size:12px;color:#8c795f;text-decoration:none;white-space:nowrap}
.studio-help-header-actions a:hover{text-decoration:underline}
.studio-help-header-actions button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:0;background:#f0ebe1;color:#887b67;border:0;border-radius:9px;font:24px/1 Arial;cursor:pointer}
.studio-help-dialog iframe{display:block;flex:1;min-height:0;width:100%;border:0;background:#faf8f2}
.studio-help-entry:focus-visible,.studio-help-header-actions a:focus-visible,.studio-help-header-actions button:focus-visible{outline:2px solid #bc785b;outline-offset:2px}
@media(max-width:600px){.studio-help-dialog{width:calc(100vw - 16px);height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px);border-radius:14px}.studio-help-header{min-height:72px;padding:13px 14px;gap:8px}.studio-help-header h2{font-size:17px}.studio-help-header-actions{gap:8px}.studio-help-header-actions a{font-size:11px}.studio-help-header-actions button{width:38px;height:38px;min-height:38px}}

#sidebar .sidebar-tools-row{display:flex;align-items:center;gap:5px;min-width:0}
#sidebar .sidebar-tools-row>.sidebar-tools-toggle{width:auto;flex:1;min-width:0}
#sidebar .studio-help-entry{display:flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:32px;padding:6px 8px;border:0;border-radius:7px;background:transparent;color:#817664;font-size:12px;line-height:1.2}
#sidebar .studio-help-entry:hover{background:#e7e1d5;color:#625644}
#sidebar .studio-help-entry svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media(max-height:650px){#sidebar .studio-help-entry{min-height:28px;padding-top:4px;padding-bottom:4px}}

/* A single quiet title row; secondary controls move to the existing menu. */
#main>.topbar{height:68px;min-height:68px;flex-wrap:nowrap;gap:12px;padding-top:0;padding-bottom:0}
#main>.topbar>.title-group{flex:1 1 0;max-width:100%;min-width:80px}
#main>.topbar>.title-group>div{flex:1 1 0;min-width:0}
#main>.topbar #renameChat{display:block;width:100%;max-width:100%;min-width:0;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#main>.topbar #projectCaption{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#main>.topbar>.header-actions{flex:0 0 auto;min-width:0;flex-wrap:nowrap;justify-content:flex-end;gap:8px;margin-left:auto}
#main>.topbar .server-node-project-actions{flex-wrap:nowrap}
#main>.topbar [hidden]{display:none!important}
#main>.topbar .topbar-overflow{border-top:1px solid #e9e1d4;margin-top:7px;padding-top:7px}
#main>.topbar .topbar-overflow-label{display:block;padding:5px 10px 6px;color:#a0917c;font-size:10px}
#main>.topbar .topbar-overflow button{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-height:34px;padding:8px 10px;margin:0;border:0;border-radius:5px;background:transparent;font-size:12px;font-weight:400;text-align:left;white-space:nowrap;color:#6d604e}
#main>.topbar .topbar-overflow button:hover{background:#f2ece2}
#main>.topbar>.header-actions .topbar-overflow .secondary span{display:inline}
#main>.topbar .topbar-overflow .server-node-project-actions{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%}
#main>.topbar .topbar-overflow .connection-tag{display:block;max-width:100%;margin:4px 10px;border:0;font-size:11px}
#main>.topbar .more-menu>div{max-height:min(640px,calc(100dvh - 90px));overflow-y:auto;min-width:190px}
.topbar-overflow-fallback>details{position:relative}.topbar-overflow-fallback summary{list-style:none}.topbar-overflow-fallback summary::-webkit-details-marker{display:none}
.topbar-overflow-fallback>details>div{position:absolute;right:0;top:calc(100% + 9px);z-index:60;min-width:190px;max-height:calc(100dvh - 90px);overflow-y:auto;background:#fffefa;border:1px solid #e2dbcd;border-radius:10px;box-shadow:0 8px 26px #493b2512;padding:7px}
#main>.topbar .topbar-overflow-fallback .topbar-overflow{border:0;margin:0;padding:0}
@media(max-width:780px){#main>.topbar{height:65px;min-height:65px;gap:8px}#main>.topbar>.header-actions{gap:5px}}

/* Conversation-level creation choices share the workbench's warm, quiet palette. */
.permission-card.generation-choice-card{border:1px solid #ded6c8;background:#fcfaf5;border-radius:16px;overflow:hidden;padding:22px;margin:18px 0;box-shadow:0 3px 16px #44382004;color:#4b443a}
.generation-choice-heading{display:flex;gap:11px;align-items:flex-start}.generation-choice-symbol{font-size:25px;line-height:1.2;color:#b77b5f;flex:none}.generation-choice-heading h3{font-size:16px;font-weight:600;line-height:1.5;margin:0 0 4px}.generation-choice-heading p{color:#8b8172;font-size:12px;line-height:1.6;margin:0;overflow-wrap:anywhere}.generation-choice-intro{font-size:13px;color:#877d6e;line-height:1.7;margin:17px 0 12px}.generation-choice-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.generation-choice-card .generation-choice-option{display:flex;align-items:flex-start;gap:10px;border:1px solid #e3ddd2;background:#fffefb;border-radius:12px;padding:15px 13px;margin:0;cursor:pointer;min-width:0;min-height:110px;font-weight:400;transition:border-color .12s,background .12s}.generation-choice-option:hover{background:#f5f1e8!important;border-color:#cabeaa!important}.generation-choice-option:has(input:checked){background:#f5eee2!important;border-color:#b9906c!important;box-shadow:0 0 0 1px #b9906c22}.generation-choice-option:focus-within{outline:2px solid #bd8d6e;outline-offset:3px}.generation-choice-card .generation-choice-option input{width:16px;height:16px;min-height:16px;flex:0 0 16px;margin:2px 0 0;padding:0;accent-color:#ad7656;box-shadow:none}.generation-choice-option>span{min-width:0}.generation-choice-option strong{display:block;font-size:14px;font-weight:600;line-height:1.5}.generation-choice-option small{display:block;color:#8a8072;font-size:12px;line-height:1.65;margin-top:5px;overflow-wrap:anywhere}.generation-choice-note{font-size:11px;color:#9a7655;background:#f4eee3;border-radius:8px;padding:9px 11px;line-height:1.7;margin:12px 0 0}.generation-choice-hint{font-size:11px;color:#a19686;line-height:1.6;margin:13px 0 0}.generation-choice-status{font-size:12px;color:#8c765b;line-height:1.6;margin:10px 0 0}.generation-choice-status:empty{display:none}.generation-choice-error{font-size:12px;line-height:1.6;color:#ac5541;margin:10px 0 0}.generation-choice-card .permission-actions{padding:0;border:0;background:none;display:flex;justify-content:flex-end;gap:9px;margin-top:18px;flex-wrap:wrap}.generation-choice-card .permission-actions button{font-size:12px;min-height:40px;padding:9px 13px;border-radius:9px}.generation-choice-card .permission-actions .secondary{background:transparent;color:#8f8270;border:1px solid #e1d8ca}.generation-choice-card .permission-actions .primary{background:#ad7656;color:#fff}.generation-choice-card[aria-busy=true] .generation-choice-option{cursor:wait}.generation-choice-card button:disabled{opacity:.45}
@media(max-width:600px){.permission-card.generation-choice-card{padding:17px;border-radius:14px}.generation-choice-options{grid-template-columns:1fr;gap:9px}.generation-choice-card .generation-choice-option{min-height:0;padding:13px 12px}.generation-choice-heading h3{font-size:15px}.generation-choice-card .permission-actions{justify-content:stretch;gap:8px}.generation-choice-card .permission-actions button{flex:1;font-size:12px;padding-inline:8px}.generation-choice-card .generation-choice-option input{margin-top:3px}}
@media(prefers-reduced-motion:reduce){.generation-choice-option{transition:none}}
.generation-choice-card .generation-choice-option[data-unavailable=true]{opacity:.6;cursor:not-allowed;background:#f5f3ee}.generation-choice-option .generation-choice-unavailable{color:#a47558;font-size:11px}

/* Administrator-only conversation red-team switch. Server authorization remains authoritative. */
#composer .red-team-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 9px;border:1px solid #ded4c5;border-radius:8px;background:#f5f0e7;color:#8d7d67;font-size:11px;line-height:1;white-space:nowrap}
#composer .red-team-toggle:hover:not(:disabled){background:#eee5d8;color:#785f4d}
#composer .red-team-toggle.active{border-color:#b97761;background:#f1dfd8;color:#934d3b;font-weight:600}
#composer .red-team-toggle.pending{border-style:dashed}
#composer .red-team-toggle:disabled{opacity:.48;cursor:not-allowed}
#composer .red-team-toggle[hidden]{display:none!important}
@media(max-width:700px){#composer .red-team-toggle{min-height:28px;padding-inline:7px;font-size:10px}}
