/* Conversation workspace. Shared colors live in style.css. */
.page[data-view="agents"]>.split{grid-template-columns:232px minmax(0,1fr)}
.agent-history{background:var(--rail);border-right:1px solid #2c2c2c}
.history-heading{display:flex;align-items:center;justify-content:space-between;padding:15px 14px 8px 20px;font-size:13px;font-weight:600}
.agent-history .collection-tools{padding:8px 14px 14px;border-bottom:0;gap:12px}
.history-search{position:relative;display:block;border:0;padding:0;min-width:0;color:var(--muted)}
.history-search .ico{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}
.history-search input{display:block;width:100%;min-width:0;height:44px;min-height:44px;margin:0;padding:10px 12px 10px 36px;border:1px solid var(--line);border-radius:7px;background:transparent;box-shadow:none;font-size:13px;line-height:22px}
.history-search input:focus{border-color:var(--focus);outline:2px solid var(--focus);outline-offset:2px}
.agent-history select{min-width:0;min-height:32px;border:0;background:transparent;padding:4px;font-size:12px;color:var(--muted)}
.agent-history .collection-list{padding:0 9px 12px}
.history-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:stretch;min-width:0;border-radius:7px;margin-bottom:3px}
.history-row.active{background:#2b2b2b}.history-row:hover{background:#242424}.history-row.active:hover{background:#303030}
.agent-history .collection-item{display:flex;align-items:center;gap:10px;min-width:0;min-height:44px;margin:0;padding:10px 12px;border-radius:7px 0 0 7px}
.agent-history .collection-item strong{flex:1;font-size:13px;font-weight:400;line-height:1.5}
.agent-history .collection-item.active,.agent-history .collection-item:hover{background:transparent}
.agent-history .history-menu{align-self:center;width:44px;min-width:44px;min-height:44px;padding:12px;color:var(--muted)}.history-menu .ico{width:18px;height:18px;pointer-events:none}
.history-status{width:5px;height:5px;border-radius:50%;flex-shrink:0}.history-status.working{background:var(--success);box-shadow:0 0 0 3px #b6b6b610}
.history-empty{padding:24px 12px;color:var(--muted);font-size:12px;text-align:center}
.agent-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;min-height:68px;padding:14px 26px;border-bottom:1px solid #2c2c2c;flex-shrink:0;background:linear-gradient(180deg,#1d1d1d 0%,var(--bg) 100%)}
.agent-heading{min-width:0}.agent-heading h2{font-size:14px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agent-heading p{display:inline-flex;align-items:center;gap:6px;font-size:10px;margin-top:5px;padding:3px 8px;border:1px solid #373737;border-radius:999px;color:var(--muted);background:#222222}
.agent-heading p.working{color:#d1d1d1;border-color:#4c4c4c;background:#262626}.agent-heading p.working:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--success);box-shadow:0 0 8px var(--success)}
.agent-quota{min-width:0}.quota-details{position:relative}
.quota-details>summary{display:flex;align-items:center;gap:9px;min-height:34px;padding:7px 11px;border:1px solid var(--line);border-radius:7px;cursor:pointer;list-style:none;background:var(--surface)}
.quota-details>summary:hover{border-color:#595959}.quota-details>summary::-webkit-details-marker,.model-picker>summary::-webkit-details-marker{display:none}
.quota-indicator{width:5px;height:5px;border-radius:50%;background:var(--success)}
#quota-summary{display:flex;align-items:baseline;gap:5px;font-size:12px;white-space:nowrap}#quota-summary>span,#quota-summary small{font-size:11px;color:var(--muted)}#quota-summary strong{font-weight:550;font-variant-numeric:tabular-nums}
.chevron{width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 2px 3px;flex-shrink:0;color:var(--muted)}
.quota-panel,.picker-panel{position:absolute;z-index:20;background:#262626;border:1px solid #494949;border-radius:10px;box-shadow:0 16px 45px #00000066}
.quota-panel{top:calc(100% + 10px);right:0;width:332px;max-height:calc(var(--vh) - 100px);overflow:auto;padding:18px;font-size:13px}
.quota-panel header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.quota-panel h3{font-size:13px;margin:0;font-weight:550}
.quota-panel .refresh-button{border:0;width:30px;min-width:30px;min-height:30px;padding:6px;color:var(--muted)}
[data-action="codex-refresh"].refreshing .ico{animation:usage-refresh .8s linear infinite}
@keyframes usage-refresh{to{transform:rotate(360deg)}}
.quota-row{margin-bottom:18px}.quota-row>.row>span{font-size:12px;color:var(--muted)}.quota-row strong{font-size:24px;font-weight:550;font-variant-numeric:tabular-nums}.quota-row strong small{font-size:11px;font-weight:400;margin-left:4px;color:var(--muted)}
.quota-row progress{display:block;width:100%;height:4px;margin:12px 0 10px;appearance:none;border:0;border-radius:4px;overflow:hidden;background:var(--line);accent-color:var(--success)}
.quota-row progress::-webkit-progress-bar{background:var(--line)}.quota-row progress::-webkit-progress-value{background:var(--success)}.quota-row progress::-moz-progress-bar{background:var(--success)}
.quota-reset{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.quota-reset time{color:var(--text)}
.quota-credit{display:flex;justify-content:space-between;gap:12px;padding:4px 0 18px;font-size:12px}.quota-credit:empty{display:none}.quota-credit>span{color:var(--muted)}.quota-credit strong{font-weight:450}
.quota-guard{border-top:1px solid #434343;padding-top:16px}.quota-guard[hidden]{display:none}
.guard-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;font-weight:500;margin-bottom:14px}
.guard-toggle input{appearance:none;position:relative;width:32px;min-height:18px;height:18px;padding:0;border:1px solid #666666;border-radius:12px;background:#373737;cursor:pointer}
.guard-toggle input:after{content:'';position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#c2c2c2;transition:transform .12s}
.guard-toggle input:checked{background:#d9d9d9;border-color:#d9d9d9}.guard-toggle input:checked:after{background:#2b2b2b;transform:translateX(14px)}
.guard-field{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.guard-field>label{font-size:11px;font-weight:400;color:var(--muted);margin-right:auto}
.guard-number{display:flex;align-items:center;gap:5px}.guard-number input{width:58px;min-height:32px;padding:5px 7px;font-size:12px;appearance:textfield}.guard-number input::-webkit-inner-spin-button{display:none}.guard-number>span{font-size:11px;color:var(--muted)}
.quota-guard p{font-size:11px;color:var(--muted);margin:10px 0 0;line-height:1.6}.quota-guard p:empty{display:none}
.quota-panel footer{display:grid;gap:6px;font-size:11px;color:var(--muted);padding-top:16px}#quota-error{color:var(--danger);line-height:1.6}#quota-error:empty{display:none}
.chat-transcript{position:relative;flex:1;min-height:0;min-width:0;overflow:hidden;display:flex;flex-direction:column}
.agent-pane .chat-log{min-height:0;min-width:0;flex:1;overflow-y:auto;overflow-x:hidden;padding:28px max(32px,calc((100% - 780px)/2)) 38px;scrollbar-width:thin;scrollbar-color:#434343 transparent;scrollbar-gutter:stable;overflow-anchor:none}
.agent-pane button.jump-latest{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);border:1px solid #5a5a5a;border-radius:50%;background:var(--surface);box-shadow:0 3px 12px #00000055;width:44px;min-width:44px;min-height:44px;z-index:5}.jump-latest .ico{transform:rotate(-90deg)}
.agent-pane .message{max-width:800px;font-size:16px;line-height:1.85;margin-bottom:30px}
.agent-pane .message.user{background:#2a2a2a;border-radius:16px 16px 5px 16px;padding:12px 18px;max-width:85%;font-size:15px}
.agent-pane .markdown p:last-child{margin-bottom:0}.agent-pane .who{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:550;color:var(--text);margin-bottom:12px}
.answer-mark{width:22px;height:22px;border:1px solid #474747;border-radius:5px;display:grid;place-items:center;font-size:12px;font-weight:650;background:#121212;color:#ffffff}
.agent-pane .message details{background:transparent;border:0;border-left:1px solid var(--line);border-radius:0;padding:4px 0 4px 14px;font-size:12px}
.agent-pane .message details summary{color:var(--muted);overflow-wrap:anywhere}.agent-pane .message details pre{line-height:1.7}
.message-actions{display:flex;margin-top:9px;gap:4px}.message-actions button{color:var(--muted);width:30px;min-width:30px;min-height:30px;padding:7px}.message-actions .ico{width:15px;height:15px}
.agent-working{display:flex;align-items:center;gap:9px;max-width:800px;margin:0 auto 24px;font-size:13px;color:var(--muted)}.agent-working>span{width:6px;height:6px;border-radius:50%;background:currentColor;animation:working-pulse 1.4s ease-in-out infinite}
@keyframes working-pulse{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){.agent-working>span{animation:none}}
.chat-welcome{margin:auto;text-align:center;padding:30px 24px;color:var(--text)}.chat-welcome h2{font-size:26px;font-weight:450;letter-spacing:-.7px;margin:20px 0 0}.chat-welcome>button{margin-top:24px}
.welcome-mark{width:46px;height:46px;border:1px solid #3e3e3e;border-radius:11px;background:#121212;color:#ffffff;display:inline-grid;place-items:center;font-size:26px;font-weight:650}
.agent-pane.is-empty .chat-transcript{flex:0 0 auto;margin-top:auto}.agent-pane.is-empty .chat-log{overflow:visible;padding-block:0}.agent-pane.is-empty .chat-welcome{padding-bottom:28px}.agent-pane.is-empty .composer{margin-bottom:auto}
.agent-pane .composer{flex-shrink:0;min-width:0;padding:14px max(24px,calc((100% - 780px)/2)) 14px;background:linear-gradient(180deg,#15151500 0%,var(--bg) 22%);border-top:0}
.agent-pane .composer-box{padding:16px 16px 10px;background:linear-gradient(145deg,#282828,#222222);border:1px solid #484848;border-radius:20px;box-shadow:0 10px 32px #00000033,0 1px 0 #ffffff08 inset;transition:border-color .15s,box-shadow .15s,transform .15s}
.agent-pane .composer-box:focus-within{border-color:#6f6f6f;box-shadow:0 14px 40px #00000044,0 0 0 1px #ffffff0b inset}.agent-pane .composer-box.drag{outline:2px dashed var(--focus);outline-offset:4px;transform:translateY(-2px)}
.agent-pane .composer textarea{display:block;min-height:40px;max-height:160px;font-size:15px;line-height:24px;padding:6px 2px 8px;resize:none;overflow-y:auto;margin:0 0 8px;border:0;border-radius:0}
.agent-pane .composer textarea:focus,.agent-pane .composer textarea:focus-visible{outline:none;box-shadow:none}
.agent-pane .composer-box:has(textarea:focus-visible){border-color:var(--focus);box-shadow:0 0 0 1px var(--focus)}
.composer-tools,.composer-settings{display:flex;align-items:center;gap:10px;min-width:0}.composer-tools{justify-content:space-between}.composer-settings{gap:3px;flex-wrap:wrap}
.composer .attach-button{background:transparent;border:0;color:var(--muted);width:32px;min-width:32px;min-height:32px;padding:7px}.composer .attach-button:hover{background:#383838;color:var(--text)}
.model-picker{position:relative;min-width:0}.model-picker>summary{list-style:none;display:flex;align-items:center;gap:8px;padding:7px 8px;min-height:34px;font-size:12px;font-weight:550;cursor:pointer;border-radius:6px}.model-picker>summary:hover{background:#363636}
.effort-label{font-size:11px;color:var(--muted);padding:0 8px;border-left:1px solid #4d4d4d;white-space:nowrap}
.daybreak-toggle{display:flex;align-items:center;gap:7px;min-height:34px;padding:5px 4px;border:0;color:#b3b3b3;font-size:11px;font-weight:550;cursor:pointer;user-select:none;transition:color .15s}
.daybreak-toggle input{appearance:none;position:relative;width:28px;min-width:28px;height:16px;min-height:16px;margin:0;padding:0;border:0;border-radius:999px;background:#4f4f4f;box-shadow:none;cursor:pointer}
.daybreak-toggle input:after{content:'';position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#d9d9d9;transition:transform .15s}.daybreak-toggle input:checked{background:#828282}.daybreak-toggle input:checked:after{transform:translateX(12px);background:white}
.daybreak-spark{display:none}.daybreak-toggle.active{color:#dfdfdf}
.daybreak-toggle.unavailable{opacity:.45;cursor:not-allowed}.daybreak-toggle.unavailable input{cursor:not-allowed}
.picker-panel{bottom:calc(100% + 12px);left:0;width:300px;max-width:calc(100vw - 58px);max-height:min(540px,calc(var(--vh) - 200px));overflow:auto;padding:8px}
.picker-panel fieldset{border:0;padding:8px 0;margin:0;min-width:0}.picker-panel legend{font-size:11px;color:var(--muted);padding:3px 10px}.model-choices{display:grid;gap:2px}
.model-choice{position:relative;display:flex;align-items:center;gap:8px;padding:9px 10px;min-height:38px;border-radius:5px;cursor:pointer;font-size:13px;font-weight:400}.model-choice>span{flex:1}.model-choice:hover{background:#373737}.model-choice:has(input:checked){background:#3e3e3e}
.model-choice>.ico{width:15px;height:15px;visibility:hidden}.model-choice:has(input:checked)>.ico{visibility:visible}
.picker-panel input[type=radio]{position:absolute;inset:0;opacity:0;width:100%;height:100%;min-height:0;margin:0;padding:0;z-index:1;cursor:pointer}.picker-panel label:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:-2px}.picker-panel label:has(input:disabled){opacity:.5;cursor:wait}.picker-panel input:disabled{cursor:wait}
.picker-panel .effort-choices{display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid #444444;padding:12px 10px}.effort-choices label{position:relative;cursor:pointer;font-size:11px;font-weight:400}.effort-choices span{display:block;padding:7px 9px;border:1px solid #575757;border-radius:5px}.effort-choices input:checked+span{background:#383838;color:#eeeeee;border-color:#777777}
.picker-status{font-size:11px;color:var(--muted);padding:0 10px;margin:0}.picker-panel .form-error:empty{display:none}
.composer .primary,.composer .stop-send{width:34px;min-width:34px;min-height:34px;padding:7px;border-radius:50%;border:0;background:#383838;color:#eeeeee}.composer .primary:disabled{background:#494949;color:#9f9f9f;opacity:1}.composer .stop-send .ico{width:13px;height:13px;fill:currentColor}
.composer-footer{display:flex;justify-content:space-between;gap:12px;min-height:15px;padding:9px 6px 0;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap}
.attachment-list{display:flex;gap:8px;overflow-x:auto;padding:0 0 14px}.attachment-list:empty{display:none}
.attachment-chip{display:flex;align-items:center;gap:9px;flex-shrink:0;max-width:280px;padding:9px;background:#333333;border:1px solid #4c4c4c;border-radius:9px}.attachment-chip>img{width:38px;height:38px;object-fit:cover;border-radius:5px}.attachment-chip>.ico{width:25px;height:25px;color:var(--muted)}
.attachment-chip>div{min-width:0;flex:1}.attachment-chip strong{display:block;font-size:12px;font-weight:450;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:170px}.attachment-chip small{display:block;font-size:10px;color:var(--muted);margin-top:4px;max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-chip.error{border-color:#707070}.attachment-chip.error small{color:var(--danger)}
.attachment-chip button{width:26px;min-width:26px;min-height:26px;padding:5px}.attachment-chip button .ico{width:14px;height:14px}
.message-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.message-attachments:last-child{margin-bottom:0}
.message-file{display:flex;gap:10px;align-items:center;min-width:180px;max-width:100%;padding:10px 12px;border:1px solid #4f4f4f;border-radius:9px;background:#333333;color:var(--text)}.message-file:hover{background:#3c3c3c;text-decoration:none}.message-file>span{flex:1;min-width:0}.message-file strong{display:block;font-size:12px;font-weight:450;overflow-wrap:anywhere}.message-file small{display:block;font-size:10px;color:var(--muted)}.message-file>img{width:40px;height:40px;object-fit:cover;border-radius:5px}.message-file>.ico{width:18px;height:18px;color:var(--muted)}
@media(min-width:761px){.shell[data-view="agents"] .topbar,.shell[data-view="terminal"] .topbar{display:none}.page[data-view="agents"],.page[data-view="terminal"]{height:var(--vh)}}
@media(max-width:1100px){.page[data-view="agents"]>.split{grid-template-columns:204px minmax(0,1fr)}.agent-head{padding-inline:20px}.agent-pane .chat-log{padding-inline:24px}}
@media(max-width:760px){
  .shell[data-view="agents"]{position:fixed;inset:var(--visual-top,0px) 0 auto;height:var(--vh);min-height:0;overflow:hidden}
  .shell[data-view="agents"] .workspace{height:100%;min-height:0}.shell[data-view="agents"] .topbar{display:none}.page[data-view="agents"]{height:100%;min-height:0;padding:0}
  .page[data-view="agents"]>.split{display:flex;min-height:0;height:100%;overflow:hidden}.page[data-view="agents"] .agent-history{display:none}.page[data-view="agents"] .agent-pane{display:flex;min-height:0;height:100%;overflow:hidden}
  .agent-head{grid-template-columns:44px minmax(0,1fr) auto 44px;gap:4px;min-height:60px;padding:max(8px,env(safe-area-inset-top)) 8px 8px;border-bottom:1px solid #292929}.agent-heading h2{font-size:14px}.agent-heading p{font-size:11px}.agent-head>button.icon{min-width:44px;min-height:44px;width:44px}
  .quota-details>summary{min-height:44px;padding:6px 10px;gap:6px}#quota-summary>span,#quota-summary small,.quota-indicator{display:none}#quota-summary strong{font-size:13px}
  .history-search input{font-size:16px;height:46px;min-height:46px}.agent-history .collection-tools{padding-bottom:18px}.agent-history select{min-height:44px;font-size:14px}
  .history-row,.agent-history .collection-item{min-height:48px}.agent-history .collection-item strong{font-size:14px}.history-menu{min-height:48px}
  .agent-pane .chat-log{padding:22px 18px 40px;scrollbar-gutter:auto;-webkit-overflow-scrolling:touch}.agent-pane .message{font-size:16px;margin-bottom:28px}.agent-pane .message.user{max-width:90%;font-size:15px;padding:10px 14px}
  .agent-pane.is-empty .chat-transcript{flex:1;margin:0}.agent-pane.is-empty .chat-log{display:flex;justify-content:center;flex-direction:column;overflow:auto;padding-block:18px}.agent-pane.is-empty .composer{margin:0}.agent-pane.is-empty .chat-welcome{padding-block:20px}
  .agent-pane .composer{padding:8px 16px max(8px,env(safe-area-inset-bottom));margin:0;z-index:6}.agent-pane .composer-box{padding:6px 10px 5px;border-radius:18px}.agent-pane .composer textarea{min-height:40px;max-height:max(40px,min(132px,calc(var(--vh) * .24)));font-size:16px;line-height:24px;padding:8px 4px}
  .keyboard-open .agent-pane .composer{padding-bottom:8px}.keyboard-open .composer-footer{display:none}
  .composer-settings{gap:2px;flex-wrap:nowrap;min-width:0}.composer-tools{gap:4px}.composer .attach-button{min-height:44px}.composer .attach-button{min-width:44px;width:44px}.model-picker{display:none!important}.mobile-model-button{display:inline-flex!important;align-items:center;gap:5px;min-width:0;min-height:44px;padding:7px 10px;border:1px solid #575757;border-radius:7px;background:#333333;color:var(--text);font-size:12px;font-weight:550;white-space:nowrap;flex-shrink:0}.mobile-model-button:hover{background:#3d3d3d;border-color:#6e6e6e}.mobile-model-button .ico{width:15px;height:15px;color:var(--muted)}.daybreak-toggle{min-width:44px;min-height:44px;padding:7px;gap:5px;justify-content:center}.daybreak-toggle>span:last-child{display:none}.daybreak-toggle input{width:27px;min-width:27px}
  .composer .primary,.composer .stop-send{min-width:44px;width:44px;min-height:44px}.composer-actions{gap:2px;flex-shrink:0}.composer-actions .icon{width:44px;min-width:44px}.composer-footer{font-size:10px;gap:5px;padding:7px 2px 0;min-height:0}.composer-footer:has(#agent-metrics:empty):has(#guard-status:empty){display:none}
  .model-choice{min-height:48px;font-size:15px;padding:12px}.effort-choices span{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:13px;padding:10px 12px}.picker-panel fieldset legend{font-size:12px;padding-block:8px}
  .quota-panel .refresh-button,.guard-field>button{min-height:44px;min-width:44px}.quota-panel .refresh-button{width:44px}.guard-number input{min-height:44px;font-size:16px;width:66px}.guard-toggle{min-height:44px}.message-actions button,.attachment-chip button{width:44px;min-width:44px;min-height:44px}.chat-welcome h2{font-size:23px}
  .attachment-chip{max-width:100%;gap:6px;padding:6px}.attachment-chip strong{max-width:150px}.attachment-list{padding:4px 0 8px}.message-file{min-width:0;max-width:100%;width:100%;min-height:52px}
  #dialog{position:fixed;inset:auto 0 auto;top:calc(var(--visual-top,0px) + var(--vh));transform:translateY(-100%);margin:0;width:100%;max-width:none;max-height:calc(var(--vh) - 20px);padding:20px 20px max(20px,env(safe-area-inset-bottom));border-radius:16px 16px 0 0}.dialog-actions button{min-height:44px}
}
@media(max-width:380px){.mobile-model-button{padding-inline:8px;font-size:11px}.composer .composer-actions{gap:0}.agent-pane .composer{padding-inline:12px}.agent-heading h2{font-size:13px}.quota-details>summary{padding-inline:7px}}
.agent-mobile-dialog{position:fixed;inset:var(--visual-top,0px) 0 auto;width:100%;height:var(--vh);z-index:80;display:flex;background:#00000088;color:var(--text)}.agent-mobile-dialog[hidden]{display:none!important}
.agent-mobile-dialog.bottom-sheet{align-items:flex-end}.agent-mobile-dialog.history-drawer{align-items:stretch}
.mobile-panel-surface{display:flex;flex-direction:column;min-height:0;overflow:hidden;background:var(--surface);border:1px solid #444444;box-shadow:0 -12px 50px #00000055}.bottom-sheet .mobile-panel-surface{width:100%;max-height:calc(var(--vh) - 16px);border-radius:20px 20px 0 0;padding-bottom:env(safe-area-inset-bottom)}.history-drawer .mobile-panel-surface{width:min(340px,88vw);height:100%;border-radius:0;border:0;border-right:1px solid #444444;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
.mobile-panel-head{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line);margin:0!important;flex-shrink:0}.mobile-panel-head h2{flex:1;font-size:15px;margin:0;min-width:0}.mobile-panel-head button{min-width:44px;width:44px;min-height:44px;padding:12px}
.mobile-panel-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.history-drawer .mobile-panel-body{display:flex;overflow:hidden}.history-drawer .agent-history{display:flex;width:100%;flex:1;min-height:0;border:0}.history-drawer .history-heading{display:none}.history-drawer .collection-list{overflow-y:auto;min-height:0}
.mobile-panel-surface>footer{padding:10px 16px;flex-shrink:0;border-top:1px solid var(--line)}.mobile-panel-surface>footer button{min-height:44px;width:100%;justify-content:flex-start}
.mobile-panel-surface>footer button.primary{background:#282828;border-color:#484848;color:#eeeeee;font-weight:600}
.agent-mobile-dialog .picker-panel,.agent-mobile-dialog .quota-panel{position:static;transform:none;width:100%;max-width:none;max-height:none;overflow:visible;background:transparent;border:0;border-radius:0;box-shadow:none;padding:14px 18px 20px}
.agent-mobile-dialog .quota-panel>header{display:none}.agent-mobile-dialog .picker-panel .form-error{margin:8px 10px 0}
.attachment-sources{display:grid;gap:4px;padding:10px 14px 18px}.attachment-sources button{width:100%;min-height:54px;justify-content:flex-start;gap:16px;border:0;background:transparent;border-radius:8px;padding:12px 14px;font-size:15px}.attachment-sources button:hover{background:var(--raised)}
@media(prefers-reduced-motion:reduce){[data-action="codex-refresh"].refreshing .ico{animation:none}}
