/* web/assistant-admin.css
   The owner Assistant page. Layout comes from workroom.css and the tool theme;
   the page script sets data-theme from the signed-in person's saved employee-home palette
   (white default), and this sheet restates the employee-tool-theme.css tokens for that value
   so the person's own palette wins, then adds a few small layout rules. No new visual system. */

html.tool-theme[data-theme='white']{color-scheme:light;--ink:#f7f7f5;--panel:#ffffff;--raised:#ecece8;--side:#f0f0ec;--line:#d4d4ce;--field-line:#9a9a92;--text:#1a1a1a;--muted:#4f4f4a;--faint:#66665f;--band:#f4f4f2;--band-hover:#e4e4de;--deep:#1a1a1a;--on-deep:#ffffff}
html.tool-theme[data-theme='olive']{color-scheme:light;--ink:#f4f0e2;--panel:#fbf9f1;--raised:#e5e9d3;--side:#ebe7d5;--line:#cdd0b6;--field-line:#a9b093;--text:#171c12;--muted:#4a5540;--faint:#5c6655;--band:#b5c39a;--band-hover:#c7d2af;--deep:#293522;--on-deep:#faf7eb}
html.tool-theme[data-theme='lemon']{color-scheme:light;--ink:#f7f2ff;--panel:#ffffff;--raised:#e9deff;--side:#f0e8ff;--line:#d7c5ff;--field-line:#9f8cc9;--text:#171717;--muted:#4a4458;--faint:#6b6478;--band:#fff6a0;--band-hover:#f3e87a;--deep:#4b2f8f;--on-deep:#ffffff}
html.tool-theme[data-theme='black']{color-scheme:dark;--ink:#0e0e0e;--panel:#161616;--raised:#242424;--side:#121212;--line:#363636;--field-line:#5a5a5a;--text:#e8e8e8;--muted:#b0b0b0;--faint:#8c8c8c;--band:#141414;--band-hover:#242424;--deep:#e8e8e8;--on-deep:#0e0e0e}
html.tool-theme[data-theme]{--olive:var(--band);--olive-deep:var(--deep)}
html.tool-theme[data-theme] .tool-logo{content:url('/brand-logo.svg')}
html.tool-theme[data-theme='black'] .tool-logo{content:url('/brand-logo-on-dark.svg')}

.aa-tabs{display:flex;gap:var(--space-2,8px);margin-block:1.25rem .5rem;flex-wrap:wrap}
.aa-tabs [aria-selected='true']{border-color:var(--olive-deep);background:var(--panel);font-weight:650}
.aa-forbidden{margin-block:1rem;padding:.85rem 1rem;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.aa-filter{display:flex;flex-wrap:wrap;gap:var(--space-3,12px);align-items:flex-end;margin-block:.75rem}
.aa-filter>div{flex:1 1 220px;min-width:0}
.aa-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}
.aa-list>li{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:.75rem .9rem;display:grid;gap:.35rem}
.aa-list>li[aria-current='true']{border-color:var(--olive-deep)}
.aa-list button{justify-self:start}
.aa-list p{overflow-wrap:anywhere}
.aa-chips{display:flex;flex-wrap:wrap;gap:.35rem;margin-block-start:.4rem}
.aa-chip{font-size:.75rem;padding:.2rem .55rem;border:1px solid var(--line);border-radius:5px;color:var(--muted)}
.aa-chip[data-state='failed'],.aa-chip[data-state='unknown_tool'],.aa-chip[data-state='budget_exhausted']{border-color:var(--text);color:var(--text);font-weight:600}
.aa-withheld{border-inline-start:3px solid var(--line);padding-inline-start:.5rem}
.aa-editor{display:grid;gap:.5rem}
.aa-editor label{margin-block:.5rem 0}
.aa-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--raised);border:1px solid var(--line);border-radius:10px;padding:.85rem 1rem;font:inherit;font-size:.9rem;max-height:24rem;overflow:auto}
#aa-preview-panel,#aa-history-panel{margin-block-start:1.25rem}
@media(max-width:620px){.aa-filter>div{flex-basis:100%}}
