:root{--ink: #233b35;--muted: #84918c;--green: #23694f;--line: #e4e9e5;--paper: #fafbf9;--mint: #e8f1e9;--danger: #b85c47}*{box-sizing:border-box}body{margin:0;font:14px/1.6 -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,sans-serif;color:var(--ink);background:var(--paper)}button,a,input,textarea{font:inherit}button,a{transition:background .15s,opacity .15s}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:default;opacity:.4}a{text-decoration:none;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #8eb69f;outline-offset:3px}input,textarea{outline:none;color:var(--ink)}input:focus,textarea:focus{border-color:#7ea58d}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:650;color:var(--green)}.brand-mark{display:inline-grid;place-items:center;background:var(--green);color:#fff;width:34px;height:34px;border-radius:11px;font-size:25px}.primary{display:inline-flex;gap:15px;align-items:center;justify-content:space-between;background:var(--green);color:#fff;padding:13px 22px;border-radius:9px;font-weight:600}.primary:hover{background:#184e3a}.small{font-size:12px;padding:9px 14px}.text-button{font-size:12px;color:var(--green);padding:4px 0}.text-button:hover{text-decoration:underline}.icon-button{border:1px solid var(--line);border-radius:8px;padding:4px 11px;font-size:19px}.status-dot,.model-pill i{display:inline-block;width:7px;height:7px;background:#7b9a81;border-radius:50%;margin-right:8px}.beta{font-size:9px;letter-spacing:1px;border:1px solid #d9e3da;border-radius:4px;padding:1px 4px;color:var(--muted)}#login-screen{height:100dvh;min-height:600px;display:grid;grid-template-columns:1fr 1fr;padding:5vw;gap:7vw}.login-card{max-width:410px;width:100%;align-self:center;justify-self:center}.login-card h1{font-size:31px;line-height:1.5;letter-spacing:-1px;margin:25px 0 12px}.login-card form{margin:30px 0 15px}.login-card label{display:block;font-size:12px;margin-bottom:8px}.login-card input{border:1px solid #d8e2da;width:100%;border-radius:9px;padding:13px;background:#fff}.login-card button{width:100%;margin-top:16px}.login-card small{font-size:11px;color:var(--muted)}#login-error{color:var(--danger)}.login-art{border-radius:24px;background:#e6ece2;position:relative;display:grid;place-content:center;overflow:hidden}.login-art p{position:absolute;bottom:9%;left:0;right:0;text-align:center;font-size:12px;letter-spacing:5px;color:#4f6f59}.orbit{width:220px;height:220px;border:1px solid #63866b;border-radius:50%;transform:rotate(-25deg)}.orbit:before,.orbit:after{content:"";position:absolute;top:-45px;right:40px;bottom:-45px;left:40px;border-radius:50%;border:1px solid #63866b;transform:rotate(35deg)}.orbit:after{top:35px;right:-45px;bottom:35px;left:-45px;transform:rotate(35deg)}#app{display:flex;height:100dvh;min-height:600px}.sidebar{width:262px;flex-shrink:0;background:#f0f3ef;border-right:1px solid var(--line);padding:25px 17px 16px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;margin:0 7px 30px;font-size:17px}.new-chat{border:1px solid #ccd9cd;background:#e6ede4;display:flex;gap:12px;align-items:center;padding:11px 13px;border-radius:8px;font-weight:600}.new-chat span:last-child{margin-left:auto}.new-chat:hover{background:#dce8da}.search{margin:18px 0 24px;background:transparent;padding:8px 10px;width:100%;border:0;border-bottom:1px solid var(--line);font-size:12px}.list-label{color:var(--muted);font-size:11px;padding:0 11px;margin-bottom:10px}.list-label span{float:right}#sessions{overflow:auto;flex:1}.session{width:100%;text-align:left;border-radius:9px;padding:12px 11px;margin-bottom:6px;border:1px solid transparent}.session.active{background:#fff;border-color:#d8e1d8;box-shadow:0 2px 6px #233b3505}.session:hover{background:#e8eee7}.session b{font-size:12px;font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session small{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin-top:5px}.sidebar footer{padding:20px 10px 0;border-top:1px solid var(--line);margin-top:15px}.sidebar footer small{display:block;font-size:10px;color:var(--muted);margin:4px 0 15px}.private-note{font-size:11px}.workspace{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:88px;min-height:88px;display:flex;justify-content:space-between;align-items:center;padding:15px 40px;border-bottom:1px solid var(--line)}.breadcrumb{font-size:10px;color:var(--muted)}h2{font-size:16px;font-weight:550;margin:2px 0}.header-actions{display:flex;gap:12px;align-items:center}.model-pill{font-size:11px;border:1px solid var(--line);border-radius:20px;padding:5px 11px;background:#fff}.audit-panel{margin:22px 40px 0;padding:17px 22px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}.audit-heading{display:flex;align-items:center;justify-content:space-between;height:33px;font-size:12px}.audit-heading b{font-weight:550}.metrics{display:grid;grid-template-columns:1fr 1fr 1fr 1.2fr;margin-top:13px}.metrics>div{padding:0 22px;border-left:1px solid var(--line)}.metrics>div:first-child{padding-left:0;border:0}.metrics small{display:block;font-size:10px;color:var(--muted)}.metrics strong{font-size:23px;font-weight:550;display:block;line-height:1.6}.metrics em{font-size:12px;font-style:normal;color:#99a59f;font-weight:400}progress{width:100%;max-width:150px;height:3px;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;margin-top:5px}progress::-webkit-progress-bar{background:#edf1ed;border-radius:4px}progress::-webkit-progress-value{background:#759b80;border-radius:4px}.audit-info{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px}#issues{border-top:1px solid var(--line);margin-top:15px;padding-top:10px;font-size:12px}.finding{padding:8px 0}.finding .text-button{margin-left:12px}.finding details pre{font-size:10px;color:#7d8a82}.confirm{font-size:11px;display:flex;align-items:center;gap:6px;padding-top:12px;margin-top:12px;border-top:1px solid var(--line)}input[type=checkbox]{accent-color:var(--green)}#locked-label{font-size:10px;margin-left:9px;padding:3px 7px;background:var(--mint);border-radius:4px}.archive-note{font-size:11px;color:var(--green);overflow-wrap:anywhere}.conversation{flex:1;overflow:auto;padding:0 6%;scroll-behavior:smooth}.welcome{max-width:660px;margin:9vh auto 45px}.welcome-symbol{font-size:40px;color:#62816a;margin-bottom:14px}.welcome h1{font-size:32px;font-weight:550;letter-spacing:-.8px;margin:12px 0}.welcome>p:not(.eyebrow){font-size:13px;color:#829087;line-height:2}.suggestions{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:32px}.suggestions button{border:1px solid var(--line);padding:20px;border-radius:12px;text-align:left;background:#fff}.suggestions button:hover{background:#f1f6ef;border-color:#abc1b0}.suggestions span{color:#698d73;font-size:10px}.suggestions b{display:block;font-weight:500;font-size:13px;margin:9px 0}.suggestions small{font-size:10px;color:var(--muted)}#message-list{max-width:820px;margin:28px auto}.message{margin:23px 0}.message .role{font-size:10px;color:var(--muted);margin-bottom:8px;display:flex;align-items:center;gap:6px}.message .role:before{content:"◈";color:#608b70}.message.user{display:flex;flex-direction:column;align-items:flex-end}.message.user .body{background:#edf2e9;border:1px solid #e1e9dc;border-radius:14px 14px 3px;padding:13px 18px;max-width:90%}.message.user .role:before{content:"○"}.body{font-size:13px;line-height:1.85;overflow-wrap:anywhere;white-space:pre-wrap}.message details{border:1px solid var(--line);border-radius:8px;background:#f4f6f2;padding:10px 14px;color:#65796c;font-size:11px}.message summary{cursor:pointer;-webkit-user-select:none;user-select:none}.message pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.7 ui-monospace,SFMono-Regular,monospace;max-height:400px;overflow:auto}.message.tool_result,.message.tool_call,.message.reasoning{margin:10px 0}.reasoning details{background:transparent;border-style:dashed}.message.failed details{border-color:#dbb6aa;color:var(--danger)}#live{max-width:820px;margin:0 auto 20px}.live-label{font-size:11px;color:var(--green);margin-bottom:6px}.live-label:after{content:"●";margin-left:8px;animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.3}}.composer-zone{padding:6px 6% 13px}.composer{max-width:820px;margin:auto;border:1px solid #dce5dc;border-radius:14px;background:#fff;box-shadow:0 5px 24px #233b3505;padding:13px 16px}.composer:focus-within{border-color:#a3b8a5}.composer textarea{border:0;resize:none;width:100%;font-size:13px;min-height:47px;max-height:160px;background:none;line-height:1.7}.composer textarea::placeholder{color:#a1aba4}.composer-bar{display:flex;align-items:center;justify-content:space-between}.composer-bar>div{display:flex;align-items:center;gap:10px}.composer-bar small{font-size:10px;color:#a1aba4}.composer-bar .icon-button{border:0}.send-button{background:var(--green);color:#fff;width:33px;height:33px;border-radius:10px;font-size:21px}.activity{max-width:820px;margin:0 auto 6px;color:var(--muted);font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:16px}.disclaimer{font-size:9px;color:#9aa69d;text-align:center;margin:9px 0 0}#toast{position:fixed;bottom:35px;left:50%;transform:translate(-50%);padding:12px 20px;background:#243b31;color:#fff;border-radius:10px;box-shadow:0 5px 25px #0002;z-index:30;max-width:80%}@media(max-width:1000px){.sidebar{width:210px}.topbar{padding:14px 24px}.audit-panel{margin:16px 24px 0}.metrics>div{padding:0 12px}.conversation,.composer-zone{padding-left:5%;padding-right:5%}.welcome{margin-top:6vh}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}.topbar>div:first-child{min-width:0}.topbar h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-actions{flex-shrink:0;margin-left:15px}.title-group{flex:1;min-width:0}.mobile-only,.sidebar-overlay{display:none}html,body{height:100%;overflow:hidden}#app,.workspace,.conversation{min-height:0}.topbar,.composer-zone{flex-shrink:0}.audit-panel{flex-shrink:0;max-height:40dvh;overflow:auto}#issues pre{white-space:pre-wrap;overflow-wrap:anywhere}.attachment-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:38px;padding:4px 9px;border-radius:8px;color:#527460;font-size:14px}.attachment-button:hover{background:var(--mint)}.attachment-button span{font-size:12px}.attachment-strip{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px;max-width:100%}.attachment-card{position:relative;flex:0 0 76px;width:76px;border:1px solid var(--line);border-radius:10px;background:var(--paper);overflow:hidden}.attachment-card img{display:block;width:74px;height:64px;object-fit:cover}.attachment-card .file-symbol{height:64px;display:grid;place-items:center;font-size:24px;color:var(--green)}.attachment-card small{display:block;font-size:10px;padding:3px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.remove-attachment{position:absolute;right:0;top:0;width:28px;height:28px;background:#233b35dc;color:#fff;border-radius:0 0 0 8px;font-size:19px}.message-images{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;max-width:100%;margin:6px 0}.message-images a{display:block;max-width:min(280px,100%);color:var(--green);font-size:12px}.message-images img{display:block;max-width:100%;max-height:280px;object-fit:contain;border:1px solid var(--line);border-radius:12px;background:#fff}.message-attachment{font-size:12px;padding:8px 12px;background:#edf2e9;border-radius:9px;margin:5px 0;overflow-wrap:anywhere}.body:empty{display:none}.composer textarea{font-size:16px}.brand #close-sidebar{margin-left:auto}.conversation{overscroll-behavior:contain}@media(max-width:900px){body{font-size:14px}#login-screen{grid-template-columns:1fr;min-height:0;height:100dvh;padding:28px;overflow:auto}.login-art{display:none}.login-card input{font-size:16px}.login-card h1{font-size:28px}#app{height:100dvh;min-height:0}.mobile-only{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}.sidebar{position:fixed;inset:0 auto 0 0;width:min(86vw,310px);height:100dvh;transform:translate(-100%);visibility:hidden;z-index:50;padding:24px 18px max(20px,env(safe-area-inset-bottom));transition:transform .18s,visibility .18s}.sidebar.open{transform:translate(0);visibility:visible}.sidebar-overlay:not([hidden]){display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#102c2366;z-index:40;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.brand{margin-bottom:25px}.brand #close-sidebar{border:0}.new-chat{min-height:48px}.session{min-height:62px}.session b{font-size:14px}.session small{font-size:11px}.sidebar footer .text-button{min-height:44px}.search{font-size:16px}.topbar{height:62px;min-height:62px;padding:7px 12px;gap:10px}.topbar #menu{border:0;padding:0;font-size:22px}.topbar h2{font-size:15px;margin:0}.breadcrumb{display:none}.header-actions{gap:3px;margin-left:0}.model-pill{font-size:10px;padding:4px 7px}.model-pill i{width:5px;height:5px;margin-right:4px}#rename{min-width:34px;min-height:40px;padding:0;border:0}.audit-panel{margin:0 12px;padding:9px 12px 7px;border-radius:10px;max-height:32dvh}.audit-heading{height:auto;min-height:22px;font-size:11px;gap:4px;flex-wrap:wrap}.audit-heading>div:first-child{min-width:0;display:flex;align-items:center}.audit-heading .status-dot{width:5px;height:5px;margin-right:6px;flex-shrink:0}.audit-heading b{font-size:11px;font-weight:500}.audit-heading .small{font-size:11px;padding:8px 10px}.metrics{grid-template-columns:1fr 1fr 1fr;margin-top:5px;gap:0}.metrics>div{padding:0 10px}.metrics small{font-size:10px}.metrics strong{font-size:18px;line-height:1.4}.metrics em{font-size:11px}.metrics progress,#error-count{display:none}.metrics .audit-info{grid-column:1/-1;border:0;padding:0;align-items:flex-end;height:27px}.audit-info small{display:none}#toggle-issues{font-size:10px;padding:5px 0;min-height:27px}#issues{margin-top:6px}#issues .finding{font-size:12px}.confirm{margin-top:5px;padding-top:8px;font-size:11px}.confirm input{min-width:20px;min-height:20px}#locked-label{display:none}.conversation{padding:0 18px}.welcome{margin:30px auto}.welcome-symbol{font-size:28px;margin-bottom:8px}.welcome .eyebrow{font-size:9px;letter-spacing:1px}.welcome h1{font-size:24px}.welcome>p:not(.eyebrow){font-size:13px}.suggestions{grid-template-columns:1fr;gap:10px;margin-top:22px}.suggestions button{padding:14px 16px}.suggestions b{margin:5px 0}#message-list{margin:20px auto}.message{margin:20px 0}.body{font-size:15px;line-height:1.8}.message.user .body{max-width:94%;padding:10px 14px}.message .role{font-size:11px}.message details{padding:10px 12px}.message pre,#live pre{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.message-images img{max-height:220px}.composer-zone{padding:4px 12px max(8px,env(safe-area-inset-bottom));background:var(--paper)}.composer{padding:8px 10px;border-radius:13px}.composer textarea{font-size:16px;min-height:42px;max-height:100px;line-height:1.5}.composer-bar small{display:none}.composer-bar>div{gap:3px}.attachment-button{min-height:40px;padding:4px 8px}.send-button{height:40px;width:40px;border-radius:11px}.activity{font-size:10px;margin-bottom:3px;height:15px}.disclaimer{font-size:8px;margin:5px 0 0;white-space:nowrap}.composer-bar .text-button{min-height:40px;padding:0 8px;font-size:12px}#toast{bottom:100px;font-size:13px;max-width:90%;width:max-content;overflow-wrap:anywhere}}@media(max-width:380px){.model-pill{display:none}.audit-heading b{font-size:10px}.metrics strong{font-size:17px}.disclaimer{font-size:7px}}.formatted{white-space:normal}.formatted p{margin:0 0 12px}.formatted p:last-child{margin-bottom:0}.formatted strong{font-weight:650}.formatted code{font:.9em/1.6 ui-monospace,SFMono-Regular,monospace;background:#eaf0e8;border-radius:4px;padding:2px 5px;overflow-wrap:anywhere}.formatted pre{white-space:pre;overflow:auto;max-width:100%;background:#f0f4ee;padding:13px;border:1px solid var(--line);border-radius:9px}.formatted pre code{background:none;padding:0;overflow-wrap:normal}.formatted h3,.formatted h4,.formatted h5,.formatted h6{font-size:1.05em;line-height:1.6;margin:18px 0 8px}.formatted ul,.formatted ol{padding-left:23px;margin:6px 0 15px}.formatted li{padding-left:2px;margin:4px 0}.formatted a{color:var(--green);text-decoration:underline}#app{height:var(--app-height, 100dvh)}.message-images{width:min(580px,100%)}.message-images a{width:calc(50% - 5px);max-width:calc(50% - 5px)}.message-images a:only-child{width:min(280px,100%);max-width:100%}.message-images img{width:100%;height:auto}.account-links{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.account-dialog{border:1px solid #d9dfd8;border-radius:20px;padding:24px;max-width:720px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;color:#1d322b;background:#fafbf7}.account-dialog::backdrop{background:#11241a88;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:-24px;background:#fafbf7;z-index:1}.dialog-heading h2{font-size:22px}.account-dialog label{display:block;margin:16px 0}.account-dialog input{display:block;width:100%;padding:12px;margin-top:6px;border:1px solid #ccd6cc;border-radius:10px;background:#fff}.account-dialog .primary{margin-top:12px}.account-records article{border-bottom:1px solid #dfe6de;padding:16px 0}.account-records small{display:block;color:#65736a}.account-records a{display:block;margin-top:8px}.records-toolbar,.record-heading,.records-pager{display:flex;align-items:center;justify-content:space-between;gap:12px}.records-toolbar p{margin:8px 0}.records-state{margin:12px 0;color:#65736a}.records-error{color:#a33232}.records-button,.record-download{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:6px 14px;border:1px solid #ccd8cc;border-radius:9px;color:var(--green);background:#fff;flex-shrink:0}.records-button:hover:not(:disabled),.record-download:hover{background:var(--mint)}.record-heading{align-items:flex-start}.record-heading h3{font-size:16px;margin:0;overflow-wrap:anywhere}.record-heading strong{white-space:nowrap;font-size:20px}.record-badge{border-radius:6px;background:var(--mint);padding:3px 9px;font-size:12px;flex-shrink:0}.record-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;margin:12px 0}.record-fields>div{min-width:0}.record-fields dt{color:#65736a;font-size:12px}.record-fields dd{margin:2px 0 0;overflow-wrap:anywhere}.record-title,.record-reason{margin:10px 0;overflow-wrap:anywhere;white-space:pre-wrap}.record-note{font-size:12px;color:#65736a}.points-increase{color:#23694f}.points-decrease{color:#a65336}.account-records a.record-download{display:inline-flex}.records-pager{margin-top:18px;padding:6px 0}.records-pager span{white-space:nowrap;color:#65736a}@media(max-width:480px){.record-fields{grid-template-columns:1fr;gap:8px}.records-toolbar{align-items:flex-start}.records-toolbar p{margin-top:5px}.records-button,.record-download{min-height:44px}}.form-error{color:#a33232}.header-actions{flex-shrink:0}#balance-top{white-space:nowrap}@media(max-width:900px){.account-dialog{padding:18px}.dialog-heading{top:-18px}.header-actions .model-pill{display:none}.audit-heading{align-items:flex-start;gap:10px}.audit-heading .primary{font-size:12px}.account-links{gap:12px}}.account-summary{display:flex;flex-direction:column;align-items:flex-end;line-height:1.3}.account-summary .text-button{padding:2px 0;white-space:nowrap}#settled-top{font-size:11px;color:var(--green)}.last-failure{margin:10px 0;padding:10px 12px;border-radius:8px;background:#fff3df;color:#815a27;font-size:12px;overflow-wrap:anywhere}.last-failure.policy{background:#fff0ec;color:#983f31}.last-failure.rate_limit{background:#fff5d6}.last-failure.network,.last-failure.timeout{background:#edf3ff;color:#315a91}[hidden]{display:none!important}#sessions .session-item{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;padding:12px;border:0;background:transparent;cursor:pointer;color:var(--ink);border-radius:8px}#sessions .session-item.active{background:var(--mint)}#sessions .session-item small{display:block;color:#64748b;font-size:11px;margin-top:4px}.message{max-width:850px;padding:18px 22px;margin:0 auto 12px;overflow-wrap:anywhere;border-radius:12px;background:#fff}.message.user{background:#eef4e9}.message pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:480px;overflow:auto}.message p{white-space:pre-wrap}.message .formatted p{white-space:normal}.message .body:not(.formatted){white-space:pre-wrap}.session-item b{display:block;overflow:hidden;text-overflow:ellipsis}.message.failed{border-left:3px solid var(--danger)}.message small{font-weight:700;color:#536078}.message summary{cursor:pointer}.account-links{flex-wrap:wrap}#account-dialog input{display:block;margin:12px 0;min-height:44px;padding:10px}#account-dialog pre{white-space:pre-wrap}.composer textarea:disabled{opacity:.6}#chat-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:65vw}.title-group{min-width:0}.session-item:focus-visible,button:focus-visible{outline:2px solid #3866d4}#activity{overflow-wrap:anywhere}#pending-attachments{max-height:100px;overflow:auto}.attachment-chip{border:1px solid #aebbd0;background:#fff;border-radius:6px;padding:6px;margin:3px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-status{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;column-gap:12px}.composer-status #draft-status{font-size:11px;color:#64748b}.composer-status #draft-status:empty{display:none}.composer-status .text-button{margin-left:auto}.composer-bar{gap:12px;flex-wrap:wrap}.composer-bar>div{min-width:0;flex-wrap:wrap}.composer-bar .send-actions{margin-left:auto;flex-wrap:nowrap}.composer-bar button,.composer-status button{white-space:nowrap;flex-shrink:0}@media(max-width:900px){html{-webkit-text-size-adjust:100%}#app,#login-screen,.sidebar{height:var(--app-height, 100dvh)}.workspace{overflow:hidden}#login-screen{padding:24px;scroll-padding-block:20px}.login-card{padding-block:12px}.topbar{height:auto;min-height:64px;padding:8px max(10px,env(safe-area-inset-right)) 8px max(10px,env(safe-area-inset-left));gap:8px}.title-group{flex:1 1 0}#chat-title{max-width:none;font-size:15px}.header-actions{flex-wrap:nowrap;gap:4px}.account-summary{max-width:104px}.account-summary .text-button{max-width:100%;overflow:hidden;text-overflow:ellipsis;min-height:24px}#rename{min-width:40px;min-height:44px}.audit-panel{margin:0 10px;padding:10px 12px 4px;border-radius:14px;max-height:min(34dvh,calc(var(--app-height, 100dvh) * .34));overscroll-behavior:contain;scrollbar-width:thin}.audit-heading{gap:6px;min-height:20px}.audit-heading>div{max-width:100%}.audit-heading b{font-size:11px;overflow-wrap:anywhere}.audit-heading .primary{min-height:40px;padding:8px 12px}.metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:8px}.metrics>div{min-width:0;padding:0 8px}.metrics>div:first-child{padding-left:0}.metrics strong{font-size:19px;font-variant-numeric:tabular-nums;line-height:1.5}.metrics small{font-size:11px}.metrics .metric-note{display:none}.metrics .audit-info{height:auto;margin-top:2px}#toggle-issues{min-height:32px;padding:4px 0;font-size:11px}.confirm{font-size:12px;padding-block:8px;line-height:1.6}.last-failure{margin:0 0 8px;padding:8px 10px}#issues{padding-bottom:8px}.conversation{padding:0 12px;scroll-padding-block:12px}#message-list{margin:14px auto}.message{padding:14px;margin:0 0 12px;border-radius:14px}.message.user{background:transparent;padding:4px 0}.message.user .body{max-width:96%;padding:12px 14px}.message .body,.message .formatted{font-size:15px;line-height:1.75}.message pre{max-height:min(360px,45dvh)}.message details{padding:10px}.message summary{min-height:28px}.message-attachment{max-width:100%}.welcome{margin:24px auto;padding:0 4px}.welcome h1{font-size:23px;line-height:1.45}.welcome>p{overflow-wrap:anywhere}.composer-zone{padding:4px 10px max(8px,env(safe-area-inset-bottom))}.composer{padding:10px 12px 6px;border-radius:16px}.composer textarea{display:block;min-height:48px;max-height:100px;padding:2px 0 8px}.composer-bar{flex-wrap:nowrap;gap:8px}.composer-bar>div{flex-wrap:nowrap;gap:4px}.composer-bar small{display:none}.attachment-button{min-height:44px;padding:4px 8px;gap:4px}.attachment-button span{font-size:13px}.composer-bar .text-button{min-height:44px;padding:0 10px}.send-button{width:44px;height:44px}.composer-status{gap:0 8px}.composer-status #draft-status{line-height:24px;font-size:11px}.composer-status #reconcile{min-height:36px;font-size:12px;padding:4px 0}.activity{height:auto;max-height:42px;white-space:normal;line-height:1.5;font-size:11px;margin:0 2px 4px;overflow:auto}.activity:empty{display:none}.disclaimer{font-size:9px;white-space:normal;line-height:1.4;margin-top:5px;text-wrap:balance}#pending-attachments{max-height:90px;flex-wrap:nowrap}.attachment-chip{flex:0 0 auto;max-width:min(200px,70vw)}.sidebar{padding:max(16px,env(safe-area-inset-top)) 16px max(12px,env(safe-area-inset-bottom));overflow:auto}.sidebar>*{flex-shrink:0}.sidebar .brand{margin:0 0 18px;gap:7px;font-size:16px}.sidebar .brand-mark{width:30px;height:30px}.sidebar .search{margin:12px 0}#sessions{flex:1 0 100px;overflow:visible}.sidebar footer{margin-top:12px;padding:12px 0 0}.sidebar footer small{margin:4px 0}.sidebar footer br{display:none}.account-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;margin:8px 0}.account-links button{text-align:left;padding:6px 8px;border-radius:8px;background:#e7eee5}#account-label{overflow-wrap:anywhere}.account-dialog{width:calc(100% - 20px);max-height:calc(var(--app-height, 100dvh) - 24px);padding:16px;border-radius:16px;overscroll-behavior:contain}.dialog-heading{top:-16px;padding:8px 0}.dialog-heading h2{font-size:20px;margin:4px 0}#dialog-close{width:44px;min-height:44px;flex-shrink:0}#account-dialog input{font-size:16px;min-width:0}.records-pager{gap:6px}.records-pager .records-button{padding:6px 10px}.record-heading{flex-wrap:wrap;gap:8px}#toast{bottom:calc(var(--composer-height, 160px) + 8px);max-width:calc(100% - 24px);pointer-events:none}.compact-viewport .topbar{min-height:48px;padding-block:2px}.compact-viewport .audit-panel{max-height:calc(var(--app-height, 100dvh) * .24);padding-block:5px}.compact-viewport .metrics{margin-top:4px}.compact-viewport .metrics>div:not(.audit-info){display:flex;flex-wrap:wrap;align-items:center;gap:0 6px}.compact-viewport .metrics strong{font-size:15px}.compact-viewport .composer textarea{min-height:36px;height:38px}.compact-viewport .composer{padding-block:4px}.compact-viewport .disclaimer{display:none}.compact-viewport .composer-zone{padding-bottom:max(4px,env(safe-area-inset-bottom));max-height:calc(var(--app-height, 100dvh) * .46);overflow-y:auto;overscroll-behavior:contain}.compact-viewport .activity{max-height:17px}.compact-viewport #pending-attachments{max-height:56px;padding-bottom:4px}.compact-viewport .attachment-card{flex-basis:56px;width:56px}.compact-viewport .attachment-card img{width:54px;height:30px}.compact-viewport .attachment-card .file-symbol{height:30px;font-size:18px}.compact-viewport .attachment-card small{padding-block:1px}.compact-viewport .welcome{margin-block:12px}}
