@import url('/assets/fonts.css');
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e3e7df;background:#151916;font-size:14px;--muted:#929b90;--edge:#2b322c;--green:#caeea0;--panel:#1c211d;--bg:#151916;--danger:#f4aaa1}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:1px solid var(--edge);background:#242b25;border-radius:9px;padding:10px 14px;transition:background .15s}button:hover{background:#303a31}button:disabled{cursor:not-allowed;opacity:.45}button.primary{background:var(--green);color:#192315;border-color:var(--green);font-weight:650}button.primary:hover{background:#dbf8ba}button.ghost{background:transparent;border-color:transparent}button.danger{color:var(--danger)}a{color:var(--green);text-decoration:none}input,select,textarea{color:inherit;border:1px solid #3a443b;border-radius:8px;background:#151b16;padding:11px 12px;min-width:0}select{cursor:pointer}textarea{resize:vertical;line-height:1.65}h1,h2,h3,p{margin-top:0}small,.muted{color:var(--muted)}.boot{display:grid;place-content:center;min-height:100dvh;gap:20px;text-align:center}.logo-mark{display:inline-grid;place-items:center;width:36px;height:36px;background:var(--green);color:#152313;font-size:30px;font-weight:650;border-radius:10px;line-height:1}.layout{display:grid;grid-template-columns:260px minmax(0,1fr);height:100dvh}.sidebar{background:#101411;border-right:1px solid var(--edge);display:flex;flex-direction:column;padding:27px 18px 16px;overflow:auto}.brand{display:flex;align-items:center;gap:11px;padding:0 9px;margin-bottom:31px;font-size:19px;font-weight:620;letter-spacing:-.6px}.brand small{font-size:10px;letter-spacing:1.2px;margin-left:auto;border:1px solid #3b433a;padding:4px 6px;border-radius:4px}.nav-action{display:flex;align-items:center;gap:10px;width:100%;padding:12px;text-align:left}.nav-action .end{margin-left:auto;color:var(--muted)}.nav-action.active{background:#283326;border:1px solid #3d4c37;color:#d5edbb}.section-label{display:flex;align-items:center;justify-content:space-between;text-transform:uppercase;letter-spacing:1.3px;font-size:10px;color:#87917f;margin:29px 10px 11px}.section-label button{padding:3px 7px;font-size:17px;line-height:1}.project-item{width:100%;text-align:left;background:none;border:0;padding:10px 12px;display:flex;gap:10px;align-items:center}.project-item.selected{background:#1e271f}.folder{color:#9ba994;font-size:16px}.chat-item{width:100%;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:none;border:0;color:#9ea79b;padding:9px 12px 9px 36px;font-size:12px}.chat-item.selected{color:#e2efcf;background:#212b20}.sidebar-bottom{margin-top:auto;padding-top:28px}.user{display:flex;align-items:center;gap:10px;padding:17px 8px 4px;border-top:1px solid var(--edge);margin-top:15px}.avatar{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#374032;color:#dbe9cf;font-size:11px}.user strong{font-size:12px}.user small{display:block;font-size:10px;margin-top:2px;max-width:160px;overflow:hidden;text-overflow:ellipsis}.main{display:flex;flex-direction:column;min-width:0;overflow:hidden}.topbar{height:78px;min-height:78px;border-bottom:1px solid var(--edge);display:flex;align-items:center;gap:14px;padding:0 33px}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;min-width:0}.breadcrumb strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.topbar .right{margin-left:auto;display:flex;gap:8px;align-items:center}.status-dot{width:6px;height:6px;background:#b6d98e;border-radius:50%;display:inline-block;margin-right:7px}.badge{border:1px solid var(--edge);border-radius:6px;padding:6px 9px;font-size:10px;letter-spacing:.3px;color:#bac4b4;white-space:nowrap}.badge.preview{color:#e5c48c;border-color:#675238}.mobile-menu{display:none}.content{flex:1;overflow:auto;padding:0 33px}.welcome{max-width:820px;margin:70px auto 40px}.eyebrow{font-size:10px;letter-spacing:2.5px;color:#b8cf9e;text-transform:uppercase;margin-bottom:20px}.welcome h1{font-size:39px;line-height:1.2;font-weight:480;letter-spacing:-1.5px;margin-bottom:16px}.welcome .intro{color:var(--muted);max-width:560px;line-height:1.8;font-size:14px}.welcome-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:42px 0 15px}.welcome-head h2{font-weight:500;font-size:15px;margin:0}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.project-card{padding:24px;border:1px solid var(--edge);background:linear-gradient(135deg,#202920,#1c211d);border-radius:12px;text-align:left;min-height:156px;display:flex;flex-direction:column;align-items:flex-start}.project-card:hover{border-color:#5a6c49}.project-card .card-icon{font-size:20px;color:#c7d8b5;margin-bottom:22px}.project-card h3{font-size:15px;font-weight:550;margin-bottom:7px}.project-card small{font-size:11px}.project-card.create{border-style:dashed;background:none;color:var(--muted);justify-content:center;gap:10px}.provider-strip{display:flex;gap:24px;flex-wrap:wrap;margin-top:36px;padding:19px 0;border-top:1px solid var(--edge);color:var(--muted);font-size:11px}.provider-strip span{display:flex;align-items:center;gap:8px}.provider-icon{height:25px;width:25px;border:1px solid #3b4639;border-radius:7px;display:grid;place-items:center;color:#d4e5c3;font-size:12px}.empty-tips{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.empty-tips button{background:none;font-size:12px;color:#b4beb0}.chat-area{max-width:860px;margin:0 auto;padding:32px 0}.message{display:flex;gap:15px;margin-bottom:30px;line-height:1.75}.message .avatar{flex:0 0 30px;margin-top:1px}.message-body{flex:1;min-width:0}.message-head{display:flex;gap:12px;align-items:center;font-size:11px;margin-bottom:8px}.message-head strong{font-weight:650;font-size:12px}.message-content{white-space:pre-wrap;overflow-wrap:anywhere;color:#d9dfd4;font-size:14px}.message.user-message .message-content{background:#232d23;border:1px solid #344031;padding:15px 18px;border-radius:2px 12px 12px 12px}.activity{margin-top:12px;border:1px solid var(--edge);border-radius:8px;padding:10px 12px;font-size:11px;color:#aab5a2}.activity summary{cursor:pointer}.activity pre{overflow:auto;white-space:pre-wrap;font-size:11px}.error{color:#f1b0a6;margin-top:10px;font-size:12px}.approval{border:1px solid #7e693b;background:#29271c;border-radius:10px;padding:16px;margin:16px 0}.approval pre{white-space:pre-wrap;overflow-wrap:anywhere}.approval button{margin-right:8px}.composer-wrap{padding:12px 33px 22px;background:linear-gradient(transparent,var(--bg) 15%)}.composer{max-width:860px;margin:0 auto;background:#202821;border:1px solid #3b4937;border-radius:14px;padding:16px}.composer textarea{width:100%;min-height:76px;max-height:220px;background:none;border:0;resize:vertical;padding:0;color:#e6eddf}.composer textarea:focus{outline:none}.composer-footer{display:flex;align-items:center;gap:8px;margin-top:10px;flex-wrap:wrap}.composer-footer select{font-size:11px;background:#1a211b;border-color:#35402f;padding:7px 10px;max-width:240px}.composer-footer .send{margin-left:auto;padding:8px 15px}.composer-hint{text-align:center;font-size:10px;color:#7f8c79;margin-top:10px}.page{max-width:900px;margin:38px auto}.page h1{font-size:26px;font-weight:500;letter-spacing:-.6px;margin-bottom:10px}.page>p{color:var(--muted);line-height:1.7;margin-bottom:30px}.settings-card{background:#1c231d;border:1px solid var(--edge);padding:24px;border-radius:12px;margin-bottom:17px}.settings-card h2{font-size:15px;font-weight:550;margin-bottom:9px}.settings-card p{color:var(--muted);font-size:12px;line-height:1.8;max-width:680px}.settings-card .row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.settings-card .row .badge{margin-left:auto}.settings-card button{font-size:12px}.form-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.form-row label{display:grid;gap:9px;font-size:12px;color:#aeb8a6;flex:1;min-width:150px}.editor{display:block;width:100%;min-height:360px;font-family:Consolas,monospace;font-size:13px;tab-size:2;margin:16px 0}.diff{white-space:pre-wrap;max-height:300px;overflow:auto;padding:16px;border:1px solid var(--edge);background:#101710;color:#c8d8b9;font-size:12px}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.file-row{display:flex;gap:12px;padding:12px 6px;border-bottom:1px solid var(--edge);align-items:center;font-size:12px}.file-row button{padding:4px 8px;border:0;background:none;color:#c9dbb7}.file-row small{margin-left:auto}.login{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr}.login-visual{padding:48px;background:radial-gradient(ellipse at 30% 70%,#33452b 0%,#18251c 48%,#101811 90%);display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid var(--edge)}.login-visual .brand{padding:0}.login-visual h1{font-size:52px;font-weight:450;line-height:1.12;letter-spacing:-2px;max-width:500px}.login-visual p{max-width:390px;line-height:1.9;color:#aab89f}.login-right{display:grid;place-content:center;padding:40px}.login-card{max-width:360px}.login-card h2{font-size:27px;font-weight:500;letter-spacing:-.6px}.login-card p{color:var(--muted);line-height:1.8;font-size:13px}.google-button{display:block;text-align:center;background:#edf1e7;color:#283321;padding:14px;border-radius:9px;margin:30px 0;font-weight:600}.google-button.disabled{pointer-events:none;opacity:.45}.login-foot{font-size:11px;color:#86957d;line-height:1.8;margin-top:35px}dialog{width:min(520px,calc(100% - 32px));padding:28px;background:#1d261e;color:#e3ebdc;border:1px solid #46533d;border-radius:14px;max-height:90dvh;overflow:auto}dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}dialog h2{font-size:20px;font-weight:550}dialog form{display:grid;gap:18px}dialog label{display:grid;gap:9px;color:#b8c3ae;font-size:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 19px;background:#d9edc7;color:#22311b;border-radius:9px;max-width:90%;z-index:20;box-shadow:0 7px 30px #0005;display:none;font-size:12px}.note{padding:13px 15px;border-radius:8px;background:#272c1e;border:1px solid #454b34;color:#ccd3b0;font-size:12px;line-height:1.7;margin:20px 0}.spacer{flex:1}kbd{font-family:inherit;font-size:10px}.connection-status{margin:12px 0;color:#c2ceba;font-size:12px}.pulse{animation:pulse 1.2s infinite}@keyframes pulse{50%{opacity:.4}}@media(max-width:950px){.layout{grid-template-columns:220px minmax(0,1fr)}.sidebar{padding:23px 12px 15px}.topbar{padding:0 22px}.content{padding:0 22px}.composer-wrap{padding:12px 22px 18px}.welcome{margin-top:45px}.welcome h1{font-size:33px}.login-visual{padding:35px}.login-visual h1{font-size:40px}}@media(max-width:680px){.layout{display:block;height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:270px;z-index:10;transform:translateX(-100%);transition:transform .18s}.sidebar.open{transform:translateX(0);box-shadow:20px 0 80px #0009}.main{height:100dvh}.mobile-menu{display:block;padding:5px 8px}.topbar{height:61px;min-height:61px;padding:0 14px;gap:8px}.topbar .right .badge{display:none}.topbar .right button{font-size:11px;padding:7px}.content{padding:0 20px}.welcome{margin-top:34px}.welcome h1{font-size:31px}.project-grid{grid-template-columns:1fr}.project-card{min-height:132px;padding:20px}.project-card .card-icon{margin-bottom:15px}.welcome-head{margin-top:30px}.composer-wrap{padding:10px 12px 14px}.composer{padding:13px}.composer-footer select{max-width:160px}.composer-hint{font-size:9px}.message{gap:10px}.message-content{font-size:13px}.login{display:block}.login-visual{padding:30px;min-height:280px}.login-visual h1{font-size:35px;margin:30px 0 0}.login-visual p{display:none}.login-right{padding:35px}.page{margin-top:27px}.settings-card{padding:19px}.editor{min-height:300px}}

/* Clear navigation state, separated project rows and aligned instruction controls. */
.logo-mark { flex: 0 0 36px; }
.sidebar .brand { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 10px; padding: 0 6px; }
.sidebar .brand .logo-mark { grid-row: 1 / 3; align-self: center; }
.sidebar .brand-title { white-space: nowrap; line-height: 1.2; }
.sidebar .brand small { grid-column: 2; margin: 0; padding: 0; border: 0; font-size: 8px; letter-spacing: 1.3px; }
.new-chat-action { margin-bottom: 7px; background: transparent; border-color: var(--edge); }
.nav-action.active { box-shadow: inset 3px 0 0 var(--green); font-weight: 600; }
.sidebar-bottom .nav-action + .nav-action { margin-top: 6px; }
.project-item { margin-bottom: 6px; }
.project-item:not(:first-child) { margin-top: 14px; }
.chat-row + .chat-row { margin-top: 4px; }
.chat-item.selected { box-shadow: inset 2px 0 0 #91b878; }
button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--green); }
.mobile-brand { display: none; }
.breadcrumb > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#files-button.active { color: var(--green); background: #283326; border-color: #3d4c37; }
.instruction-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.instruction-controls label { min-width: 0; }
.instruction-controls select, .instruction-controls button { height: 43px; }
.instruction-controls .toolbar { align-self: end; }
@media (max-width: 680px) {
 .mobile-brand { display: inline-grid; width: 26px; height: 26px; flex-basis: 26px; font-size: 21px; border-radius: 7px; }
 .breadcrumb { gap: 7px; }
 .breadcrumb > span:first-child { max-width: 110px; }
 .topbar { gap: 7px; }
}
@media (max-width: 560px) {
 .instruction-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .instruction-controls .toolbar { grid-column: 1 / -1; }
 .instruction-controls button { width: 100%; }
}

/* Chat actions remain visible on touch screens without resembling a selected page. */
.chat-row { display: flex; align-items: center; gap: 3px; }
.chat-row .chat-item { flex: 1; min-width: 0; width: auto; }
.chat-delete { flex: 0 0 30px; padding: 7px 5px; display: grid; place-items: center; color: var(--muted); }
.chat-delete:hover, .chat-delete:focus-visible { color: var(--danger); background: #382623; }
.trash-row { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--edge); }
.trash-row > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.trash-row small { display: block; margin-top: 6px; }
.connect-shortcut { padding: 3px 6px; color: var(--green); font-size: inherit; text-decoration: underline; }

/* Keep navigation compact and reserve scrolling space for every project/chat. */
.sidebar { overflow: hidden; }
.sidebar > .brand, .sidebar > .nav-action { flex-shrink: 0; }
.sidebar .brand { margin-bottom: 22px; }
.sidebar-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 6px; margin-right: -6px; }
.sidebar-scroll .section-label { margin-top: 18px; }
.sidebar-bottom { flex-shrink: 0; margin-top: 0; padding-top: 8px; }
.sidebar-bottom .nav-action { padding: 7px 10px; min-height: 32px; font-size: 12px; }
.sidebar-bottom .nav-action + .nav-action { margin-top: 2px; }
.sidebar-bottom .user { margin-top: 8px; padding: 10px 7px 3px; }

/* Render the current terminal screen, not a growing stream of redraw commands. */
dialog.connection-modal { width: min(760px, calc(100% - 28px)); padding: 24px; }
.login-terminal { margin: 15px 0 10px; padding: 12px; height: min(350px, 43dvh); min-height: 200px; max-width: 100%; overflow: auto; white-space: pre; background: #101710; border: 1px solid #3a443b; border-radius: 8px; color: #d4e5c3; font: 12px/18px Consolas, ui-monospace, monospace; }
.login-terminal:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.terminal-controls { margin-bottom: 18px; gap: 8px; }
.terminal-controls button { min-width: 44px; }
.terminal-controls small { flex: 1 1 200px; font-size: 11px; line-height: 1.5; }
.login-response { padding-top: 4px; gap: 12px; }
.login-response input { width: 100%; }
@media (max-width: 560px) {
 dialog.connection-modal { padding: 18px; }
 .connection-modal h2 { font-size: 20px; margin-bottom: 12px; }
 .connection-modal > div > p { font-size: 12px; line-height: 1.6; }
 .terminal-controls { margin-bottom: 14px; }
}

.project-row { display: flex; align-items: center; gap: 3px; margin: 12px 0 6px; }
.project-row:first-child { margin-top: 0; }
.project-row .project-item { flex: 1; min-width: 0; width: auto; margin: 0; }
.project-delete { flex: 0 0 30px; padding: 7px 5px; display: grid; place-items: center; color: var(--muted); }
.project-delete:hover, .project-delete:focus-visible { color: var(--danger); background: #382623; }
.trash-heading { margin-top: 30px; }

.login-terminal a { color: #c8efa8; text-decoration: underline; text-underline-offset: 3px; }
.login-terminal a:hover, .login-terminal a:focus-visible { color: #fff; outline: 1px solid #c8efa8; }
#login-links { display: flex; flex-wrap: wrap; gap: 8px; }
.terminal-link-button { display: inline-flex; padding: 10px 12px; border: 1px solid #526345; border-radius: 8px; color: #d4efbd; font-size: 12px; overflow-wrap: anywhere; }
.terminal-link-button:hover { background: #2d3b27; }

.form-error { margin: 0; padding: 12px; color: #ffd4cb; background: #3b2420; border: 1px solid #8a5146; border-radius: 8px; font-size: 13px; line-height: 1.5; }

/* A continuous reading column with a compact, matching composer. */
.chat-view { --reading-width: 980px; }
.chat-view .topbar { height: 60px; min-height: 60px; padding-inline: 26px; }
.chat-view .content { padding-inline: 26px; scrollbar-width: thin; scrollbar-color: #46513f transparent; }
.chat-view .chat-area { max-width: var(--reading-width); padding: 22px 0 8px; }
.chat-view .message { display: block; margin: 0 0 20px; line-height: 1.6; }
.chat-view .message-head { gap: 7px; min-height: 19px; margin-bottom: 4px; }
.chat-view .message-head strong { color: #bed1ac; font-size: 11px; font-weight: 600; }
.chat-view .message-head small { margin-left: 3px; font-size: 10px; }
.message-mark { display: inline-grid; place-items: center; width: 16px; height: 16px; color: #b9d49d; font-size: 13px; flex: 0 0 16px; }
.chat-view .user-message .message-mark { color: #83927c; font-size: 7px; }
.chat-view .user-message .message-head strong { color: #a6b29e; }
.chat-view .message-content { font-size: 14px; line-height: 1.6; color: #dde4d6; }
.chat-view .user-message .message-content { background: transparent; border: 0; border-radius: 0; padding: 0; }
.chat-view .activity { width: fit-content; max-width: 100%; margin-top: 7px; padding: 4px 0; border: 0; border-radius: 0; color: #91a183; }
.chat-view .activity[open] { width: 100%; }
.chat-view .activity[open] summary { color: #c2d6ae; }
.chat-view .activity pre { padding: 10px 12px; background: #111811; border-left: 2px solid #3b4b32; border-radius: 0 6px 6px 0; }
.chat-view .chat-area > .welcome { margin: 38px auto 24px; }
.chat-view .chat-area > .welcome h1 { font-size: 30px; }
.chat-view .composer-wrap { padding: 8px 26px 12px; }
.chat-view .composer { max-width: var(--reading-width); padding: 12px 14px 10px; border-color: #3c4c35; background: #1d261f; border-radius: 13px; box-shadow: 0 4px 20px #0002; }
.chat-view .composer:focus-within { border-color: #627953; }
.chat-view .composer textarea { display: block; min-height: 48px; max-height: 160px; line-height: 1.5; font-size: 14px; }
.chat-view .composer textarea::placeholder { color: #8d9c84; }
.chat-view .composer-footer { gap: 10px; margin-top: 8px; align-items: end; }
.composer-controls { display: flex; flex: 1 1 260px; flex-wrap: wrap; gap: 6px; min-width: 0; align-items: center; }
.composer-picker { display: flex; align-items: center; gap: 7px; min-height: 32px; max-width: 100%; min-width: 0; padding: 5px 9px; border: 1px solid #35432e; border-radius: 8px; background: #172019; color-scheme: dark; }
.composer-picker:hover { border-color: #647953; background: #222d21; }
.composer-picker:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.picker-label { flex-shrink: 0; font-size: 10px; color: #879b78; }
.chat-view .composer-picker select { width: auto; max-width: 245px; min-width: 0; margin: 0; padding: 0 18px 0 0; border: 0; border-radius: 0; background-color: transparent; color: #d8e4cd; font-size: 12px; line-height: 20px; text-overflow: ellipsis; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%239caf87' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; }
.chat-view .composer-picker select:focus-visible { outline: none; }
.composer-picker:has(select:disabled) { opacity: .55; }
.composer-picker select option { color: #e0ead7; background: #1b251d; }
.chat-view .composer-footer .send { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; padding: 6px 12px; border-radius: 9px; font-size: 12px; flex-shrink: 0; }
.chat-view .composer-footer .send > [aria-hidden] { font-size: 17px; line-height: 1; }
.chat-view .composer-hint { max-width: var(--reading-width); margin: 6px auto 0; font-size: 10px; line-height: 1.4; color: #84927b; }

/* Keep native keyboard behavior; enhance the popup where supported. */
@supports (appearance: base-select) {
 .chat-view .composer-picker select, .composer-picker select::picker(select) { appearance: base-select; }
 .chat-view .composer-picker select { gap: 9px; padding: 0; background-image: none; }
 .composer-picker select::picker-icon { color: #a9c28f; transition: rotate .15s; }
 .composer-picker select:open::picker-icon { rotate: 180deg; }
 .composer-picker select::picker(select) { margin-block: 7px; padding: 5px; min-width: 220px; max-width: calc(100vw - 24px); max-height: min(320px, 50dvh); overflow: auto; border: 1px solid #516444; border-radius: 11px; background: #1b251d; color: #e0ead7; box-shadow: 0 12px 36px #0007; scrollbar-width: thin; }
 .composer-picker select option { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 6px; font-size: 12px; line-height: 1.45; white-space: normal; }
 .composer-picker select option:hover, .composer-picker select option:focus { background: #303f29; outline: none; }
 .composer-picker select option:checked { background: #293824; color: #d5f2b9; font-weight: 600; }
 .composer-picker select option::checkmark { color: var(--green); }
}

@media (max-width: 680px) {
 .chat-view .topbar { height: 54px; min-height: 54px; padding-inline: 14px; }
 .chat-view .content { padding-inline: 16px; }
 .chat-view .chat-area { padding-top: 18px; }
 .chat-view .message { margin-bottom: 18px; }
 .chat-view .composer-wrap { padding: 7px 10px 10px; }
 .chat-view .composer { padding: 10px 11px 9px; }
 .chat-view .composer textarea { min-height: 48px; font-size: 16px; }
 .chat-view .composer-footer { gap: 6px; }
 .composer-controls { flex-basis: 200px; gap: 5px; }
 .composer-picker { padding: 5px 7px; min-height: 32px; }
 .picker-label { display: none; }
 .chat-view .composer-picker select { max-width: 200px; font-size: 11px; }
 .chat-view .composer-footer .send { min-width: 34px; padding: 6px 10px; }
 .send-label { display: none; }
 .chat-view .composer-hint { font-size: 9px; }
}
