
:root { color-scheme:dark; --frame:#111113;--frame-edge:#38352f;--side-ink:#f1ebdf;--side-muted:#aaa397;--canvas:#1a1a1c;--surface:#212123;--surface-hover:#29292a;--surface-raised:#252527;--ink:#f1ebdf;--secondary:#cdc7bc;--muted:#a8a49c;--line:#303031;--line-strong:#494743;--accent:#ceb37d;--accent-hover:#e0c58f;--accent-soft:#343025;--on-accent:#211b10;--green:#9bc5ae;--green-soft:#26362e;--amber:#dfba7d;--amber-soft:#3b3122;--red:#e5a19c;--shadow:0 25px 90px #0008;--ease:cubic-bezier(.22,1,.36,1);--row-height:66px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;}
:root[data-theme="light"] {color-scheme:light;--canvas:#faf8f3;--surface:#f1eee6;--surface-hover:#e9e4d9;--surface-raised:#fffdf8;--ink:#2c2924;--secondary:#5c564b;--muted:#71695b;--line:#e1dcd0;--line-strong:#bcb19e;--accent:#806023;--accent-hover:#6c4e18;--accent-soft:#eee4cf;--on-accent:#fffaf0;--green:#3b6c53;--green-soft:#e5eee6;--amber:#835a1f;--amber-soft:#f1e8d7;--red:#a64039;}
* { box-sizing:border-box; }
body { margin:0; background:var(--frame); color:var(--ink); line-height:1.5; }
button,input,textarea,select { font:inherit; }
button { color:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent; }
button:disabled { cursor:not-allowed; opacity:.42; }
button,input,select,textarea { -webkit-tap-highlight-color:transparent; }
input,textarea,select { color:var(--ink); }
:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
[hidden] { display:none!important; }
.icon-sprite { position:absolute; width:0; height:0; overflow:hidden; }
.icon { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.app-shell { height:100dvh; min-height:680px; padding:10px; display:grid; grid-template-columns:222px minmax(0,1fr); transition:background-color 260ms ease; }
.sidebar { min-height:0; padding:17px 16px 7px 10px; display:flex; flex-direction:column; color:var(--side-ink); }
.side-brand { display:flex; align-items:center; gap:9px; font-size:12px; font-weight:500; }
.brand-monogram { position:relative; width:27px; height:27px; display:grid; place-items:center; font-size:18px; font-weight:650; border:1px solid color-mix(in srgb,var(--side-ink) 25%,transparent); border-radius:8px; }
.brand-monogram span { position:absolute; font-size:11px; top:0; right:1px; }
.icon-button { border:1px solid transparent; background:transparent; color:var(--secondary); width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; border-radius:9px; flex:none; }
.icon-button:hover { background:var(--surface-hover); }
.side-menu { margin-left:auto; width:27px; height:27px; color:var(--side-muted); }
.side-menu:hover { background:#ffffff35; }
.space-intro { padding:30px 4px 20px; }
.overline { margin:0 0 7px; font-size:9px; letter-spacing:1.7px; font-weight:500; color:var(--side-muted); }
.space-intro h1 { margin:0; font-size:24px; line-height:1.3; font-weight:620; letter-spacing:-.7px; }
.space-copy { margin:8px 0 0; font-size:11px; color:var(--side-muted); }
.favorites { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-bottom:29px; }
.favorites button { position:relative; border:1px solid #ffffff22; background:#ffffff35; border-radius:12px; padding:12px 0 9px; display:flex; flex-direction:column; align-items:center; gap:7px; font-size:10px; color:var(--side-ink); }
.favorites button:hover { background:#ffffff65; box-shadow:0 4px 12px #301d4409; }
.favorite-dot { position:absolute; right:13px; top:10px; width:5px; height:5px; background:var(--side-ink); border:1px solid var(--frame); border-radius:50%; }
.primary-nav { overflow:auto; min-height:0; scrollbar-width:thin; scrollbar-color:var(--frame-edge) transparent; }
.nav-label { font-size:10px; color:var(--side-muted); margin:0 8px 9px; }
.nav-item { display:flex; align-items:center; width:100%; padding:10px 11px; gap:9px; margin:3px 0; border:1px solid transparent; background:transparent; border-radius:9px; text-align:left; font-size:12px; min-height:39px; }
.nav-item .icon { width:16px; height:16px; opacity:.8; }
.nav-item small { margin-left:auto; color:var(--side-muted); font-size:11px; font-variant-numeric:tabular-nums; }
.nav-item:hover { background:#ffffff25; }
.nav-item[aria-current="page"] { background:#ffffff84; border-color:#ffffff38; box-shadow:0 2px 5px #39264407; font-weight:550; }
:root[data-theme="dark"] .nav-item[aria-current="page"] { background:#ffffff17; border-color:#ffffff10; }
.nav-divider { height:1px; margin:22px 8px; background:color-mix(in srgb,var(--side-muted) 17%,transparent); }
.focus-dot { width:7px; height:7px; margin:0 5px; border:1px solid currentColor; border-radius:50%; opacity:.65; }
.focus-dot.attention { border-radius:2px; transform:rotate(45deg); }
.focus-dot.done { background:var(--side-muted); }
.sidebar-bottom { margin-top:auto; padding-top:20px; }
.side-search { display:flex; align-items:center; gap:8px; width:100%; border:0; background:transparent; color:var(--side-muted); padding:10px 8px; font-size:11px; border-radius:8px; }
.side-search:hover { background:#ffffff24; }
.side-search .icon { width:15px; height:15px; }
.side-search kbd { margin-left:auto; }
kbd { display:inline-block; font-family:inherit; font-size:10px; color:var(--muted); border:1px solid var(--line-strong); border-radius:4px; padding:1px 4px; white-space:nowrap; line-height:1.4; }
.sidebar kbd { color:var(--side-muted); border-color:var(--frame-edge); }
.space-switcher { display:flex; align-items:center; justify-content:space-between; gap:3px; padding:13px 2px 11px; border-top:1px solid color-mix(in srgb,var(--side-muted) 15%,transparent); }
.space-switcher button { display:inline-flex; align-items:center; justify-content:center; gap:6px; border:1px solid transparent; border-radius:20px; background:transparent; color:var(--side-muted); padding:7px 8px; font-size:11px; }
.space-switcher button[aria-pressed="true"] { color:var(--side-ink); border-color:#ffffff40; background:#ffffff56; }
:root[data-theme="dark"] .space-switcher button[aria-pressed="true"] { background:#ffffff13; border-color:#ffffff15; }
.space-orb { width:8px; height:8px; border-radius:50%; border:1px solid #00000012; }
.space-orb.plum { background:#aa8bca; }.space-orb.sage { background:#78a98e; }.space-orb.blue { background:#7c9fc7; }
.side-footer { display:flex; justify-content:space-between; align-items:center; padding:0 7px; color:var(--side-muted); font-size:10px; }
.side-footer button { background:none; border:0; color:inherit; padding:4px; }
.side-footer .icon { width:14px; height:14px; }
.work-canvas { position:relative; min-width:0; min-height:0; background:var(--canvas); border:1px solid color-mix(in srgb,var(--canvas) 85%,var(--frame-edge)); border-radius:22px; box-shadow:0 3px 18px #3827440c; display:flex; flex-direction:column; overflow:hidden; }
.canvas-header { display:flex; gap:14px; align-items:center; padding:17px 24px 12px; min-height:67px; }
.command-trigger { min-width:0; display:flex; align-items:center; gap:9px; border:1px solid transparent; background:var(--surface); border-radius:9px; color:var(--muted); padding:8px 12px; font-size:11px; max-width:590px; width:100%; min-height:36px; text-align:left; }
.command-trigger:hover { background:var(--surface-hover); border-color:var(--line); }
.command-trigger .icon { width:15px; height:15px; }
.command-trigger span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.command-trigger kbd { margin-left:auto; border-color:transparent; }
.offline-label { display:flex; align-items:center; gap:6px; font-size:10px; color:var(--muted); margin-left:auto; flex:none; white-space:nowrap; }
.offline-label i { height:4px; width:4px; border-radius:50%; background:var(--muted); }
.mobile-menu { display:none; }
.view-scroll { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:var(--line-strong) transparent; }
.view-scroll.has-selection .view { padding-bottom:105px; }
.view { max-width:1190px; margin:0 auto; padding:24px 32px 26px; }
.view-head { display:flex; align-items:center; gap:20px; justify-content:space-between; margin-bottom:27px; }
.view-title { font-size:29px; font-weight:620; letter-spacing:-.7px; margin:0; line-height:1.3; }
.view-description { color:var(--muted); font-size:12px; margin:8px 0 0; }
.view-kicker { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:11px; margin:0 0 8px; }
.view-kicker .icon { width:12px; height:12px; }
.head-actions,.inline-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:7px; background:var(--surface-raised); color:var(--secondary); border:1px solid var(--line); border-radius:8px; padding:8px 12px; min-height:36px; font-size:12px; font-weight:500; white-space:nowrap; }
.button .icon { width:15px; height:15px; }
.button:hover { background:var(--surface-hover); border-color:var(--line-strong); }
.button.primary { background:var(--accent); border-color:var(--accent); color:var(--on-accent); box-shadow:0 2px 5px color-mix(in srgb,var(--accent) 15%,transparent); }
.button.primary:hover { background:var(--accent-hover); border-color:var(--accent-hover); }
.button.quiet { background:transparent; border-color:transparent; box-shadow:none; }
.button.quiet:hover { background:var(--surface); }
.button.danger { color:var(--red); }
.button.small { padding:6px 9px; min-height:30px; font-size:11px; }
.toolbar { display:flex; align-items:center; gap:10px; margin-bottom:18px; flex-wrap:wrap; }
.segmented { display:inline-flex; padding:3px; background:var(--surface); border:1px solid var(--line); border-radius:8px; gap:2px; }
.segmented button { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:5px 10px; min-height:28px; border:0; border-radius:5px; background:transparent; font-size:11px; color:var(--muted); }
.segmented button .icon { width:14px; height:14px; }
.segmented button[aria-pressed="true"] { background:var(--surface-raised); box-shadow:0 1px 4px #3520430c; color:var(--ink); }
.local-search { display:flex; align-items:center; gap:8px; padding:7px 10px; border:1px solid var(--line); background:var(--canvas); border-radius:8px; min-height:36px; width:280px; margin-left:auto; }
.local-search .icon { width:15px; height:15px; color:var(--muted); }
.local-search input { border:0; background:transparent; outline:none; width:100%; min-width:0; font-size:12px; }
.local-search:focus-within { border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
input::placeholder,textarea::placeholder { color:var(--muted); opacity:1; }
.filter-row { display:flex; align-items:center; gap:10px; padding:0 0 15px; flex-wrap:wrap; font-size:12px; color:var(--muted); }
.filter-row label { display:flex; align-items:center; gap:8px; }
select,input[type="date"] { background:var(--canvas); border:1px solid var(--line); padding:7px 10px; min-height:34px; border-radius:7px; font-size:12px; }
.tabs { display:flex; align-items:center; gap:25px; border-bottom:1px solid var(--line); position:relative; margin-bottom:7px; overflow:auto; scrollbar-width:none; }
.tab { display:flex; align-items:center; gap:7px; border:0; background:none; padding:12px 0 14px; color:var(--muted); font-size:12px; white-space:nowrap; }
.tab[aria-selected="true"] { color:var(--ink); font-weight:550; }
.tab small { font-size:10px; font-weight:400; color:var(--muted); }
.tab-indicator { position:absolute; height:2px; left:0; bottom:0; background:var(--accent); border-radius:2px; pointer-events:none; transition:transform 230ms var(--ease),width 230ms var(--ease); }
.list-group { margin-top:19px; }
.group-heading { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:11px; padding:0 5px 10px; margin:0; font-weight:400; }
.group-heading small { color:var(--muted); opacity:.75; font-size:10px; }
.state-dot { width:6px; height:6px; border:1px solid currentColor; border-radius:50%; flex:none; }
.state-dot.running { border-style:dashed; color:var(--accent); }
.state-dot.attention { border-radius:1px; transform:rotate(45deg); color:var(--amber); }
.state-dot.done { background:var(--green); border-color:var(--green); }
.order-row { display:grid; grid-template-columns:30px minmax(0,1fr); min-height:var(--row-height); align-items:center; border-bottom:1px solid var(--line); padding:0 5px; border-radius:0; transition:background-color 140ms ease; }
.order-row:hover { background:var(--surface); border-radius:9px; }
.order-row.selected { background:var(--accent-soft); border-radius:8px; border-color:transparent; }
.check-hit { display:flex; align-items:center; justify-content:center; min-width:28px; min-height:34px; cursor:pointer; }
input[type="checkbox"] { width:14px; height:14px; accent-color:var(--accent); margin:0; cursor:pointer; }
.order-main { border:0; width:100%; padding:12px 0; display:grid; grid-template-columns:minmax(140px,1.4fr) minmax(100px,1fr) 85px 100px 20px; gap:15px; align-items:center; background:transparent; text-align:left; }
.row-title { display:block; font-size:13px; font-weight:550; letter-spacing:-.1px; color:var(--ink); }
.row-sub { display:block; color:var(--muted); font-size:11px; margin-top:4px; font-weight:400; line-height:1.5; }
.row-source { font-size:12px; color:var(--secondary); }
.row-source .row-sub { font-size:10px; }
.row-arrow { width:14px; height:14px; color:var(--muted); transition:transform 180ms var(--ease),opacity 180ms ease; opacity:.5; }
.order-main:hover .row-arrow { opacity:1; transform:translateX(2px); }
.money { font-variant-numeric:tabular-nums; font-size:13px; font-weight:550; text-align:right; white-space:nowrap; letter-spacing:-.2px; }
.money small { display:block; font-size:9px; color:var(--muted); font-weight:400; letter-spacing:.4px; margin-top:3px; }
.status { display:inline-flex; align-items:center; justify-self:end; gap:6px; font-size:10px; line-height:1.3; color:var(--secondary); white-space:nowrap; }
.status:before { content:""; width:5px; height:5px; border:1px solid currentColor; border-radius:50%; }
.status.running { color:var(--accent); }.status.running:before { border-style:dashed; }
.status.done { color:var(--green); }.status.done:before { background:var(--green); border-color:var(--green); }
.status.attention { color:var(--amber); }.status.attention:before { border-radius:1px; transform:rotate(45deg); }
.status.cancelled { color:var(--muted); }.status.paused { color:var(--muted); }
.list-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:23px; font-size:11px; color:var(--muted); }
.pagination { display:flex; align-items:center; gap:7px; }
.pagination .icon-button { width:28px; height:28px; }
.pagination .icon { width:14px; height:14px; }
.page-index { min-width:42px; text-align:center; font-size:11px; font-variant-numeric:tabular-nums; }
.footer-hint { margin-top:24px; color:var(--muted); font-size:10px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.footer-hint kbd { font-size:9px; }
.table-wrap { overflow:auto; border:1px solid var(--line); border-radius:10px; margin-top:15px; }
table { width:100%; border-collapse:collapse; text-align:left; white-space:nowrap; }
th { background:var(--surface); color:var(--muted); font-size:10px; font-weight:500; padding:11px 14px; border-bottom:1px solid var(--line); }
td { padding:14px; border-bottom:1px solid var(--line); font-size:12px; }
tr:last-child td { border-bottom:0; }
tbody tr:hover { background:var(--surface); }
tr.selected { background:var(--accent-soft); }
td .status { font-size:10px; }
.record-link { padding:0; border:0; background:none; text-align:left; color:var(--ink); font-size:12px; font-weight:500; }
.record-link:hover { color:var(--accent); }
.table-money { font-variant-numeric:tabular-nums; text-align:right; }
.selection-bar { position:absolute; z-index:3; left:50%; bottom:19px; transform:translateX(-50%); display:flex; align-items:center; gap:10px; border:1px solid var(--line-strong); border-radius:14px; background:var(--surface-raised); box-shadow:0 8px 28px #3827441a; padding:8px 12px; white-space:nowrap; font-size:12px; }
.selection-bar strong { font-weight:550; font-size:12px; padding:0 8px; }
.selection-bar .bar-divider { width:1px; height:20px; background:var(--line); }
.empty { padding:65px 22px; text-align:center; color:var(--muted); font-size:12px; }
.empty .empty-mark { display:grid; place-items:center; margin:0 auto 17px; width:46px; height:46px; background:var(--surface); border-radius:14px; color:var(--muted); }
.empty h3 { color:var(--ink); font-size:15px; font-weight:500; margin:0 0 8px; }
.empty p { margin:0; }
.empty .button { margin-top:18px; }
.run-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.run-card { border:1px solid var(--line); border-radius:14px; background:var(--canvas); padding:20px; }
.run-card:hover { border-color:var(--line-strong); box-shadow:0 5px 20px #38274406; }
.run-card header { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.run-card h3 { margin:0; font-size:13px; font-weight:550; }
.run-context { font-size:11px; color:var(--muted); margin:9px 0 24px; }
.run-steps { display:flex; gap:5px; margin:0 0 13px; }
.run-steps span { height:4px; border-radius:4px; flex:1; background:var(--line); }
.run-steps span.complete { background:var(--accent); opacity:.7; }
.run-phase { font-size:12px; color:var(--secondary); margin:0 0 21px; min-height:18px; }
.run-card footer { display:flex; gap:8px; align-items:center; justify-content:space-between; padding-top:14px; border-top:1px solid var(--line); }
.run-card .record-link { font-size:11px; }
.run-card .icon-button { width:28px; height:28px; }
.run-card .status.running:before { animation:quiet-turn 2s linear infinite; }
@keyframes quiet-turn { to { transform:rotate(360deg); } }
.context-note { display:flex; align-items:flex-start; gap:9px; font-size:11px; color:var(--muted); line-height:1.8; margin:22px 0; }
.context-note .icon { width:14px; height:14px; margin-top:3px; }
.message-list { margin-top:20px; }
.message-card { display:grid; grid-template-columns:36px minmax(0,1fr) auto; gap:15px; padding:22px 4px; border-bottom:1px solid var(--line); }
.message-mark { height:34px; width:34px; background:var(--surface); border-radius:11px; display:grid; place-items:center; color:var(--secondary); }
.message-mark.attention { background:var(--amber-soft); color:var(--amber); }
.message-card h3 { font-size:13px; font-weight:550; margin:0; }
.message-card p { color:var(--secondary); font-size:12px; line-height:1.9; margin:10px 0 12px; white-space:pre-line; }
.message-card .message-meta { font-size:10px; color:var(--muted); margin-top:5px; }
.message-card time { color:var(--muted); font-size:10px; white-space:nowrap; }
.unread-mark { width:5px; height:5px; display:inline-block; background:var(--accent); border-radius:50%; margin-left:7px; vertical-align:middle; }
.settings-card { border:1px solid var(--line); border-radius:14px; padding:24px; max-width:760px; margin:20px 0; }
.settings-card h3 { margin:0 0 19px; font-weight:550; font-size:15px; }
.preference-row { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:17px 0; border-bottom:1px solid var(--line); }
.preference-row:last-child { border-bottom:0; padding-bottom:0; }
.preference-row h4 { margin:0; font-size:13px; font-weight:500; }
.preference-row p { margin:4px 0 0; color:var(--muted); font-size:11px; }
.switch { appearance:none; width:34px!important; height:20px!important; border:1px solid var(--line-strong); border-radius:99px; background:var(--line); position:relative; cursor:pointer; transition:background-color 160ms; }
.switch:before { content:""; position:absolute; top:2px; left:2px; width:14px; height:14px; border-radius:50%; background:var(--canvas); box-shadow:0 1px 3px #0002; transition:transform 180ms var(--ease); }
.switch:checked { background:var(--accent); border-color:var(--accent); }.switch:checked:before { transform:translateX(14px); background:var(--on-accent); }
.overlay-root { position:fixed; inset:0; z-index:20; pointer-events:none; }
.overlay { position:absolute; inset:0; background:#2a193e27; backdrop-filter:blur(5px); display:flex; align-items:center; justify-content:center; padding:28px; pointer-events:auto; }
:root[data-theme="dark"] .overlay { background:#0007; }
.dialog { width:620px; max-width:100%; max-height:calc(100dvh - 56px); border:1px solid var(--line-strong); border-radius:21px; background:var(--surface-raised); box-shadow:var(--shadow); display:flex; flex-direction:column; overflow:hidden; }
.dialog.wide { width:740px; }
.dialog.command-dialog { width:640px; border-radius:17px; align-self:flex-start; margin-top:min(12vh,110px); }
.dialog-header { display:flex; align-items:flex-start; gap:16px; padding:23px 25px 21px; border-bottom:1px solid var(--line); }
.dialog-header>div { flex:1; min-width:0; }
.dialog-header h2 { font-size:20px; letter-spacing:-.4px; line-height:1.4; font-weight:600; margin:0; }
.dialog-header p { color:var(--muted); font-size:11px; margin:5px 0 0; }
.dialog-body { min-height:0; overflow:auto; padding:23px 25px; }
.dialog-footer { display:flex; align-items:center; justify-content:flex-end; gap:8px; padding:16px 25px; border-top:1px solid var(--line); flex-wrap:wrap; }
.dialog-footer .footer-meta { margin-right:auto; color:var(--muted); font-size:10px; }
.peek-topline { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.peek-topline .status { justify-self:auto; font-size:11px; }
.peek-amount { font-size:32px; letter-spacing:-1px; font-weight:550; margin:14px 0 3px; font-variant-numeric:tabular-nums; }
.peek-amount small { font-size:11px; color:var(--muted); letter-spacing:.5px; margin-left:7px; font-weight:400; }
.peek-ref { color:var(--muted); font-size:11px; }
.detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin:26px 0; }
.detail-grid dt { font-size:11px; color:var(--muted); margin-bottom:6px; }
.detail-grid dd { margin:0; font-size:12px; color:var(--secondary); overflow-wrap:anywhere; }
.peek-section { padding-top:22px; border-top:1px solid var(--line); margin-top:23px; }
.peek-section h3 { font-size:12px; font-weight:550; margin:0 0 15px; }
.linked-card { display:flex; align-items:center; width:100%; gap:12px; padding:13px; border:1px solid var(--line); border-radius:11px; text-align:left; background:var(--surface); }
.linked-card:hover { border-color:var(--line-strong); }
.linked-card .card-mark { width:35px; height:26px; border-radius:6px; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; }
.linked-card strong { font-size:12px; font-weight:500; }
.linked-card small { display:block; color:var(--muted); font-size:10px; margin-top:3px; }
.linked-card > .icon:last-child { margin-left:auto; width:14px; height:14px; color:var(--muted); }
.timeline { display:grid; gap:18px; }
.timeline-item { position:relative; display:grid; grid-template-columns:10px 1fr; gap:9px; font-size:12px; color:var(--secondary); }
.timeline-item:before { content:""; width:5px; height:5px; margin-top:6px; background:var(--accent); border-radius:50%; opacity:.65; }
.timeline-item small { display:block; color:var(--muted); font-size:10px; margin-top:4px; }
.attention-note { display:flex; gap:10px; align-items:flex-start; padding:13px 14px; border:1px solid color-mix(in srgb,var(--amber) 17%,transparent); border-radius:10px; color:var(--amber); background:var(--amber-soft); font-size:12px; line-height:1.8; margin-top:20px; }
.attention-note .icon { width:16px; height:16px; margin-top:2px; }
.field { display:flex; flex-direction:column; gap:8px; font-size:12px; color:var(--secondary); }
.field input,.field textarea,.field select { min-height:39px; border:1px solid var(--line-strong); border-radius:9px; padding:10px 12px; background:var(--canvas); width:100%; min-width:0; font-size:13px; }
.field textarea { resize:vertical; line-height:1.8; }
.field.full { grid-column:1/-1; }
.field input:focus,.field textarea:focus { outline:2px solid var(--accent-soft); outline-offset:1px; border-color:var(--accent); }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:17px; margin-top:20px; }
.form-hint { color:var(--muted); font-size:11px; line-height:1.9; margin:0; }
.note-form { display:flex; flex-direction:column; gap:10px; }
.note-form .button { align-self:flex-end; }
.import-format { font-family:ui-monospace,"SFMono-Regular",Consolas,monospace; font-size:11px; padding:12px; border-radius:8px; background:var(--surface); color:var(--secondary); overflow-wrap:anywhere; margin:15px 0; }
.import-text { min-height:170px; font-family:ui-monospace,"SFMono-Regular",Consolas,monospace!important; font-size:12px!important; }
.import-results { margin-top:18px; }
.result-message { padding:12px 14px; border:1px solid var(--line); border-radius:9px; font-size:12px; background:var(--surface); color:var(--secondary); }
.result-message.error { color:var(--red); }
.result-message strong { font-weight:550; }
.import-preview { display:grid; gap:8px; margin-top:13px; }
.import-preview-row { display:grid; grid-template-columns:1fr auto; gap:12px; font-size:12px; padding:9px 2px; border-bottom:1px solid var(--line); }
.import-preview-row small { display:block; color:var(--muted); font-size:10px; margin-top:4px; }
.command-top { display:flex; align-items:center; gap:13px; padding:18px 20px; border-bottom:1px solid var(--line); }
.command-top .icon { color:var(--muted); width:19px; height:19px; }
.command-input { width:100%; min-width:0; background:transparent; border:0; outline:none; font-size:16px; }
.command-body { padding:10px; max-height:440px; overflow:auto; }
.command-group-title { color:var(--muted); font-size:10px; padding:9px 11px 7px; }
.command-item { display:flex; align-items:center; gap:11px; padding:11px; background:transparent; border:0; border-radius:10px; width:100%; text-align:left; font-size:12px; }
.command-item[aria-selected="true"] { background:var(--accent-soft); }
.command-item .command-mark { width:28px; height:28px; display:grid; place-items:center; color:var(--accent); border:1px solid var(--line); border-radius:8px; background:var(--canvas); }
.command-item .command-mark .icon { width:15px; height:15px; }
.command-item .command-label { flex:1; min-width:0; }
.command-item small { display:block; font-size:10px; color:var(--muted); margin-top:3px; }
.command-item .command-tail { font-size:10px; color:var(--muted); }
.command-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 20px; border-top:1px solid var(--line); font-size:10px; color:var(--muted); }
.toast-region { position:fixed; z-index:40; bottom:28px; left:50%; transform:translateX(-50%); max-width:calc(100% - 28px); pointer-events:none; }
.toast { display:flex; align-items:center; gap:10px; padding:12px 15px; border:1px solid var(--line-strong); background:var(--surface-raised); color:var(--ink); border-radius:12px; box-shadow:var(--shadow); font-size:12px; pointer-events:auto; }
.toast .icon { width:15px; height:15px; color:var(--accent); }
.toast button { border:0; background:none; color:var(--accent); padding:3px 5px; font-size:12px; white-space:nowrap; }
.mobile-shade { display:none; }
.screen-reader { position:absolute; height:1px; width:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
body,.app-shell,.work-canvas,.sidebar,.canvas-header,.dialog { transition:background-color 220ms ease,color 220ms ease,border-color 220ms ease; }
.button,.icon-button,.favorites button,.nav-item,.space-switcher button,.command-trigger,.command-item { transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease,transform 120ms ease,box-shadow 140ms ease; }
.button:active:not(:disabled),.icon-button:active:not(:disabled),.favorites button:active,.space-switcher button:active { transform:scale(.97); }
@media(hover:hover) { .button:hover:not(:disabled),.favorites button:hover { transform:translateY(-1px); }.button.quiet:hover { transform:none; } }
:root[data-density="compact"] { --row-height:51px; }
:root[data-density="compact"] .order-main { padding-top:8px; padding-bottom:8px; }
:root[data-density="compact"] td { padding-top:9px; padding-bottom:9px; }
:root[data-reduce-motion="true"] *, :root[data-reduce-motion="true"] *::before { animation:none!important; transition:none!important; }
@media(max-width:1180px) {
  .app-shell { grid-template-columns:194px minmax(0,1fr); }
  .sidebar { padding-right:12px; padding-left:6px; }
  .space-intro h1 { font-size:22px; }
  .favorites { gap:6px; }
  .view { padding-left:24px; padding-right:24px; }
  .order-main { grid-template-columns:minmax(140px,1.3fr) minmax(90px,1fr) 75px 85px 16px; gap:10px; }
  .run-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:900px) {
  .order-main { grid-template-columns:minmax(120px,1fr) 75px 90px 16px; }
  .row-source { display:none; }
  .local-search { width:220px; }
  .tabs { gap:21px; }
  .offline-label { font-size:9px; }
}
@media(max-width:680px) {
  .app-shell { display:block; height:100dvh; min-height:620px; padding:6px; }
  .sidebar { display:none; position:fixed; z-index:12; top:6px; bottom:6px; left:6px; width:228px; background:var(--frame); border:1px solid var(--frame-edge); border-radius:18px; padding:20px 16px; box-shadow:var(--shadow); }
  .app-shell[data-mobile-nav="true"] .sidebar { display:flex; }
  .mobile-shade { position:fixed; inset:0; z-index:11; background:#27133755; border:0; backdrop-filter:blur(3px); width:100%; height:100%; }
  .mobile-shade:not([hidden]) { display:block; }
  .work-canvas { height:100%; border-radius:17px; }
  .canvas-header { min-height:65px; padding:10px 12px 8px; gap:6px; }
  .mobile-menu { display:inline-flex; }
  .command-trigger { min-height:40px; padding:8px 9px; gap:7px; }
  .command-trigger span { font-size:11px; }
  .command-trigger kbd,.offline-label { display:none; }
  .view { padding:23px 17px 30px; }
  .view-head { margin-bottom:23px; gap:14px; }
  .view-title { font-size:26px; }
  .view-description { font-size:11px; max-width:220px; }
  .view-kicker { font-size:10px; }
  .head-actions { gap:4px; }
  .head-actions .refresh-button { display:none; }
  .head-actions .export-button { padding:8px; min-width:38px; }
  .head-actions .export-button .button-label { display:none; }
  .button { min-height:42px; padding:8px 11px; }
  .icon-button { min-width:42px; min-height:42px; }
  .favorites button { min-height:60px; }
  .nav-item { min-height:44px; }
  .space-switcher button { min-height:42px; }
  .side-search { min-height:44px; }
  .toolbar { gap:9px; }
  .segmented button { min-height:34px; }
  .local-search { order:3; width:100%; margin-left:0; min-height:42px; }
  .local-search input { font-size:16px; min-height:24px; }
  .toolbar>.button { margin-left:auto; }
  .tabs { gap:21px; margin-top:4px; }
  .tab { min-height:48px; font-size:12px; }
  .group-heading { padding-bottom:8px; }
  .order-row { grid-template-columns:26px minmax(0,1fr); padding:0; }
  .check-hit { min-width:26px; min-height:44px; }
  .order-main { grid-template-columns:minmax(105px,1fr) 65px 16px; gap:8px; min-height:69px; }
  .order-main>.status { display:none; }
  .row-sub { font-size:10px; }
  .row-title { font-size:12px; }
  .money { font-size:12px; }
  .money small { font-size:9px; }
  .pagination .icon-button { min-width:36px; min-height:36px; }
  .list-footer { font-size:10px; }
  .footer-hint { align-items:flex-start; font-size:9px; }
  .footer-hint span:last-child { display:none; }
  .selection-bar { width:calc(100% - 24px); max-width:450px; padding:7px 8px; gap:3px; bottom:12px; }
  .selection-bar strong { font-size:11px; padding:0 5px; margin-right:auto; }
  .selection-bar .button { padding:6px 8px; font-size:11px; min-height:38px; }
  .selection-bar .button .icon { display:none; }
  .selection-bar .bar-divider { display:none; }
  .run-grid { grid-template-columns:1fr; }
  .run-card { padding:18px; }
  .message-card { grid-template-columns:30px minmax(0,1fr); gap:12px; padding:20px 0; }
  .message-mark { height:30px; width:30px; }
  .message-card time { display:none; }
  .message-card h3 { font-size:12px; }
  .message-card p { font-size:11px; }
  .settings-card { padding:18px; }
  .preference-row { gap:14px; }
  .preference-row p { font-size:10px; }
  .overlay { padding:13px; }
  .dialog { border-radius:17px; max-height:calc(100dvh - 26px); }
  .dialog.command-dialog { margin-top:30px; border-radius:14px; }
  .dialog-header { padding:20px 19px 17px; }
  .dialog-header h2 { font-size:18px; }
  .dialog-body { padding:20px 19px; }
  .dialog-footer { padding:13px 19px; }
  .dialog-footer .footer-meta { flex-basis:100%; }
  .detail-grid { gap:20px 15px; }
  .peek-amount { font-size:29px; }
  .field input,.field textarea,.field select { font-size:16px; min-height:44px; }
  .import-text { font-size:13px!important; }
  .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .command-top { padding:15px; }
  .command-item { min-height:54px; }
  .command-footer span:last-child { display:none; }
  .toast-region { bottom:18px; }
  .toast { font-size:11px; padding:11px 13px; }
  .table-wrap { margin-left:-2px; margin-right:-2px; }
  th,td { padding-left:10px; padding-right:10px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

/* Brand and business layouts. */
.app-shell {padding:12px;grid-template-columns:236px minmax(0,1fr);min-height:650px;background:radial-gradient(ellipse at 0 0,#28251e55,transparent 45%),var(--frame);}
.sidebar {padding:5px 19px 8px 13px;}.window-dots {display:flex;gap:7px;padding:2px 0 30px 2px;}.window-dots i {width:9px;height:9px;border:1px solid #645c4b;background:#494336;border-radius:50%;}.window-dots i:first-child {background:#ceb37d;border-color:#ceb37d;}.side-brand {gap:12px;}.brand-symbol {width:47px;height:34px;color:#ceb37d;flex:none;}.brand-wordmark {display:grid;gap:4px;}.brand-wordmark strong {font-size:20px;letter-spacing:2px;line-height:1.2;font-weight:600;}.brand-wordmark>span {font-size:8px;letter-spacing:6px;color:#b8ae9b;}
.space-intro {padding:39px 2px 20px;}.overline {font-size:8px;letter-spacing:1.4px;color:#9f9686;}.space-intro h1 {font-size:22px;font-weight:500;letter-spacing:.2px;}.space-caret {font-size:14px;color:#9b917e;margin-left:29px;}.space-copy {color:#b2aa9a;font-size:11px;}.favorites {gap:8px;margin-bottom:27px;}.favorites button {background:#ffffff04;border-color:#ffffff0b;border-radius:11px;padding:12px 0 10px;color:#d2c8b5;}.favorites button:hover {background:#ceb37d15;border-color:#ceb37d40;}.nav-item {position:relative;color:#c1baad;font-size:12px;padding:11px 12px;gap:11px;}.nav-item:hover {background:#ffffff06;}.nav-item[aria-current="page"],:root[data-theme="dark"] .nav-item[aria-current="page"] {background:#ceb37d16;border-color:#ceb37d15;box-shadow:none;color:#e8d1a1;}.nav-item[aria-current="page"]:before {content:"";position:absolute;left:-12px;top:11px;bottom:11px;width:3px;border-radius:3px;background:#ceb37d;}.nav-label {color:#948c7e;font-size:10px;}.nav-divider {margin:25px 8px;background:#ffffff0c;}.sidebar kbd {color:#aaa397;border-color:#4b4437;}.side-search {color:#b5ad9e;}.workspace-signature {display:flex;align-items:center;gap:10px;padding-top:16px;border-top:1px solid #ffffff0b;font-size:11px;color:#d6cebf;}.identity-avatar {width:29px;height:29px;display:grid;place-items:center;border:1px solid #5b503c;border-radius:9px;color:#d8bd86;}.workspace-signature small {display:block;color:#a49c8e;font-size:9px;margin-top:3px;}.workspace-signature .icon-button {margin-left:auto;color:#aaa397;}
.work-canvas {border:1px solid #ffffff0b;box-shadow:0 8px 30px #0002;border-radius:21px;}.canvas-header {padding:18px 30px;border-bottom:1px solid var(--line);min-height:69px;gap:13px;}.breadcrumb {font-size:11px;color:var(--muted);}.breadcrumb b {margin:0 12px;font-weight:400;color:var(--line-strong);}.breadcrumb span {color:var(--secondary);}.header-search {margin-left:auto;}.connection-label {display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:10px;color:var(--muted);}.connection-label i {width:5px;height:5px;background:var(--accent);border-radius:50%;}.connection-label[data-state="error"] i {background:var(--red);}.workspace-status {display:flex;justify-content:space-between;gap:10px;padding:11px 28px;border-top:1px solid var(--line);font-size:9px;color:var(--muted);}.workspace-status>span:last-child {font-size:8px;letter-spacing:1.1px;}.status-diamond {color:var(--accent);font-size:6px;padding:0 5px;}.view {max-width:1360px;padding:35px 38px 36px;}.view-title {font-size:29px;font-weight:500;letter-spacing:.2px;}.view-head {margin-bottom:28px;}.view-kicker {font-size:9px;letter-spacing:1.8px;color:var(--accent);}.view-description {font-size:12px;}.button {border-radius:8px;}.button.primary {box-shadow:inset 0 1px 0 #fff3,0 3px 8px #0001;}.metrics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:14px;margin:24px 0 30px;overflow:hidden;background:linear-gradient(115deg,var(--surface),var(--canvas));}.metric {padding:24px 26px;}.metric+.metric {border-left:1px solid var(--line);}.metric span {color:var(--secondary);font-size:11px;}.metric strong {display:block;font-size:34px;font-weight:450;letter-spacing:-1px;margin:9px 0 8px;font-variant-numeric:tabular-nums;}.metric:first-child strong {color:var(--accent);}.metric small {font-size:10px;color:var(--muted);}.metric strong i {font-size:13px;font-style:normal;letter-spacing:0;margin-left:7px;color:var(--muted);}.dashboard-grid {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:22px;}.panel {border:1px solid var(--line);border-radius:13px;padding:22px;min-width:0;background:var(--canvas);}.panel-head {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px;}.panel h3 {font-size:13px;font-weight:500;margin:0;}.panel-head>span {font-size:10px;color:var(--muted);}.panel-head .button {font-size:10px;}.hour-chart {display:grid;grid-template-columns:repeat(24,minmax(0,1fr));align-items:end;height:136px;gap:6px;border-bottom:1px solid var(--line);padding:0 3px 1px;margin-top:28px;}.hour-bar {height:var(--bar);min-height:2px;border-radius:3px 3px 0 0;background:var(--accent);opacity:.35;transition:opacity 160ms,height 250ms var(--ease);position:relative;}.hour-bar:hover,.hour-bar:focus-visible {opacity:1;}.hour-bar:after {content:attr(data-tip);display:none;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);padding:5px 8px;border-radius:5px;background:var(--surface-raised);border:1px solid var(--line);white-space:nowrap;font-size:10px;z-index:2;}.hour-bar:hover:after,.hour-bar:focus-visible:after {display:block;}.chart-axis {display:flex;justify-content:space-between;font-size:9px;color:var(--muted);padding-top:10px;}.panel-note {font-size:10px;color:var(--muted);margin:20px 0 0;line-height:1.8;}.queue-row,.source-row {display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);font-size:11px;color:var(--secondary);}.queue-row:last-child,.source-row:last-child {border:0;}.queue-row strong,.source-row strong {margin-left:auto;font-size:14px;font-weight:500;color:var(--ink);font-variant-numeric:tabular-nums;}.queue-row .state-dot {color:var(--accent);}.source-meter {height:4px;background:var(--line);width:70px;border-radius:5px;overflow:hidden;margin-left:auto;}.source-meter i {display:block;height:100%;background:var(--accent);opacity:.6;width:var(--bar);}.source-row strong {margin-left:4px;min-width:42px;text-align:right;font-size:12px;}.section-heading {display:flex;align-items:center;justify-content:space-between;margin:28px 0 14px;gap:12px;}.section-heading h3 {font-weight:500;font-size:13px;margin:0;}.section-heading span {font-size:10px;color:var(--muted);}.resource-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}.resource-card {text-align:left;color:var(--ink);background:transparent;border:1px solid var(--line);border-radius:12px;padding:18px;transition:background 150ms,border-color 150ms,transform 180ms var(--ease);display:block;text-decoration:none;}.resource-card:hover {background:var(--surface);border-color:var(--line-strong);transform:translateY(-2px);}.resource-card .icon {color:var(--accent);width:20px;height:20px;margin-bottom:17px;}.resource-card h3 {font-size:12px;font-weight:500;margin:0 0 6px;}.resource-card p {font-size:10px;color:var(--muted);line-height:1.8;margin:0;}.resource-card .resource-arrow {float:right;color:var(--muted);}.business-table {margin-top:0;border:none;border-radius:0;}.business-table table {white-space:normal;}.business-table th {background:transparent;padding:13px 15px;font-size:10px;}.business-table td {padding:17px 15px;font-size:12px;}.business-table th:first-child,.business-table td:first-child {padding-left:6px;}.business-table .record-link {font-variant-numeric:tabular-nums;color:var(--ink);}.business-table .record-link:hover {color:var(--accent);}.business-table .row-sub {max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.business-table .table-money {white-space:nowrap;}.status {justify-self:start;}.toolbar {margin-bottom:16px;}.local-search {margin-left:0;width:320px;}.toolbar .filter-select {margin-left:auto;min-width:135px;}.scope-note {color:var(--muted);font-size:10px;margin:18px 0 0;line-height:1.8;}.error-state,.loading-state {padding:65px 20px;text-align:center;color:var(--muted);}.error-state h3 {font-size:16px;font-weight:500;color:var(--ink);}.loading-mark {display:block;width:25px;height:25px;border:1.5px solid var(--line);border-top-color:var(--accent);border-radius:50%;margin:0 auto 18px;animation:load-spin .8s linear infinite;}@keyframes load-spin {to {transform:rotate(360deg)}}.skeleton {height:16px;background:var(--surface-hover);border-radius:4px;width:45%;margin:12px auto;}.peek-record-id {font-size:10px;color:var(--muted);overflow-wrap:anywhere;}.detail-grid dd {overflow-wrap:anywhere;}.detail-full {grid-column:1/-1;}.dialog {border-color:var(--line-strong);}.dialog-title {font-weight:500;}.form-hint {line-height:1.8;}.view-title:focus {outline:none;}.preview-chip {display:inline-block;padding:3px 6px;background:var(--accent-soft);color:var(--accent);border-radius:4px;font-size:9px;margin-left:8px;vertical-align:middle;}.accounting-note {padding:13px 16px;background:var(--surface);border-radius:9px;color:var(--muted);font-size:10px;line-height:1.8;margin-top:20px;}.range-control {display:flex;gap:4px;}.range-control button {border:none;background:transparent;color:var(--muted);padding:7px 10px;border-radius:6px;font-size:10px;}.range-control button[aria-pressed="true"] {background:var(--surface);color:var(--ink);}.task-progress {display:flex;gap:4px;margin:23px 0 12px;}.task-progress span {height:3px;flex:1;background:var(--line);border-radius:4px;}.task-progress span:first-child {background:var(--accent);}.task-message {font-size:11px;line-height:1.8;color:var(--secondary);min-height:40px;overflow-wrap:anywhere;}.run-card header strong {font-size:12px;font-weight:500;}.run-card footer {margin-top:20px;}.run-card footer time {font-size:9px;color:var(--muted);}.run-card .record-link {margin-left:auto;color:var(--accent);font-size:11px;}.dialog .inline-actions {margin-top:20px;}.command-input {color:var(--ink);}.overlay {background:#0006;backdrop-filter:blur(8px);}.command-mark {color:var(--accent);}.command-item[aria-selected="true"] {background:var(--accent-soft);}.toast {border-color:var(--line-strong);}.mobile-shade {background:#0008;}
@media(min-width:1700px) {.app-shell {grid-template-columns:260px minmax(0,1fr);}.sidebar {padding-right:27px;padding-left:21px;}.view {padding-top:45px;}.metrics {margin-top:32px;}.hour-chart {height:168px;}}
@media(max-width:1100px) {.app-shell {grid-template-columns:205px minmax(0,1fr);}.sidebar {padding-right:13px;padding-left:6px;}.brand-wordmark strong {font-size:18px;}.brand-symbol {width:41px;}.view {padding:28px 23px;}.metric {padding:20px;}.metric strong {font-size:28px;}.dashboard-grid {grid-template-columns:minmax(0,1fr);}.resource-grid {grid-template-columns:repeat(2,minmax(0,1fr));}.run-grid {grid-template-columns:repeat(2,minmax(0,1fr));}.canvas-header {padding-inline:23px;}}
@media(max-width:680px) {.app-shell {display:block;min-height:100dvh;height:100dvh;padding:6px;}.work-canvas {height:100%;border-radius:15px;}.sidebar {position:fixed;left:0;top:0;bottom:0;width:260px;background:#151517;padding:23px;z-index:11;transform:translateX(-105%);transition:transform 230ms var(--ease);display:flex;}.app-shell[data-mobile-nav="true"] .sidebar {transform:translateX(0);}.mobile-menu {display:inline-flex;}.canvas-header {gap:7px;min-height:59px;padding:11px;}.breadcrumb {font-size:10px;}.breadcrumb b {margin:0 7px;}.connection-label {font-size:9px;margin-left:auto;}.header-search {display:none;}.view {padding:24px 17px;}.view-title {font-size:25px;}.view-head {gap:10px;align-items:flex-start;flex-wrap:wrap;margin-bottom:19px;}.view-head .head-actions {margin-top:8px;}.view-description {font-size:11px;}.metrics {grid-template-columns:1fr;margin:20px 0;}.metric {padding:17px 20px;display:grid;grid-template-columns:1fr auto;align-items:center;}.metric+.metric {border-left:0;border-top:1px solid var(--line);}.metric strong {font-size:27px;grid-column:2;grid-row:1/3;margin:0;}.metric small {margin-top:5px;}.panel {padding:17px;}.dashboard-grid {gap:15px;}.hour-chart {gap:3px;height:112px;}.resource-grid {gap:9px;}.resource-card {padding:15px;}.toolbar {gap:9px;}.local-search {width:100%;}.toolbar .filter-select {margin-left:0;flex:1;}.business-table table {min-width:630px;}.workspace-status {padding:9px 14px;font-size:8px;}.workspace-status>span:last-child {display:none;}.range-control {margin-left:auto;}.run-grid {grid-template-columns:1fr;}.panel-head>span {font-size:9px;}.view-kicker {font-size:8px;}.panel-note {font-size:9px;}.mobile-shade {position:fixed;inset:0;z-index:10;border:0;}.sidebar .side-brand {padding-bottom:0;}}
@media(prefers-reduced-motion:reduce) {*,*:before,*:after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}}

.hour-chart {grid-template-rows:minmax(0,1fr);}
.task-phase {display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:.6px;color:var(--accent);margin:23px 0 10px;}.task-phase .icon {width:12px;height:12px;}

.native-view{flex:1;min-height:0;overflow:hidden;background:var(--canvas)}.native-view iframe{display:block;width:100%;height:100%;border:0;background:var(--canvas)}



/* One synchronized palette gradient includes the sidebar and workspace frame. */
:root[data-theme="light"]{--frame:#ebe6db;--frame-edge:#c9bfae;--side-ink:#30291f;--side-muted:#716653}
.app-shell{background:radial-gradient(ellipse at 0 0,color-mix(in srgb,var(--accent) 8%,transparent),transparent 45%),var(--frame)}
.sidebar,.brand-wordmark strong{color:var(--side-ink)}.brand-symbol{color:var(--accent)}.brand-wordmark>span,.overline,.space-copy,.nav-label,.side-search,.side-footer{color:var(--side-muted)}
.window-dots i{background:color-mix(in srgb,var(--side-muted) 40%,var(--frame));border-color:var(--frame-edge)}.window-dots i:first-child{background:var(--accent);border-color:var(--accent)}
.space-caret{color:var(--side-muted)}.favorites button{color:var(--side-ink);background:color-mix(in srgb,var(--side-ink) 3%,var(--frame));border-color:color-mix(in srgb,var(--side-ink) 8%,transparent)}.favorites button:hover{background:color-mix(in srgb,var(--accent) 10%,var(--frame));border-color:color-mix(in srgb,var(--accent) 35%,transparent)}
.nav-item{color:var(--side-ink)}.nav-item:hover{background:color-mix(in srgb,var(--side-ink) 5%,transparent)}.nav-item[aria-current="page"],:root[data-theme="dark"] .nav-item[aria-current="page"]{background:color-mix(in srgb,var(--accent) 12%,var(--frame));border-color:color-mix(in srgb,var(--accent) 18%,transparent);color:var(--accent)}.nav-item[aria-current="page"]:before{background:var(--accent)}.nav-divider{background:color-mix(in srgb,var(--side-ink) 9%,transparent)}
.sidebar kbd{color:var(--side-muted);border-color:var(--frame-edge)}.workspace-signature{color:var(--side-ink);border-color:color-mix(in srgb,var(--side-ink) 9%,transparent)}.workspace-signature small,.workspace-signature .icon-button{color:var(--side-muted)}.identity-avatar{color:var(--accent);border-color:var(--frame-edge)}
:root.lexun-theme-blending{transition:--frame 160ms linear,--frame-edge 160ms linear,--side-ink 160ms linear,--side-muted 160ms linear,--canvas 160ms linear,--surface 160ms linear,--surface-hover 160ms linear,--surface-raised 160ms linear,--ink 160ms linear,--secondary 160ms linear,--muted 160ms linear,--line 160ms linear,--line-strong 160ms linear,--accent 160ms linear,--accent-hover 160ms linear,--accent-soft 160ms linear,--on-accent 160ms linear,--green 160ms linear,--green-soft 160ms linear,--amber 160ms linear,--amber-soft 160ms linear,--red 160ms linear}
html.lexun-theme-blending *,html.lexun-theme-blending *:before,html.lexun-theme-blending *:after{transition:none!important}
@media(max-width:680px){.sidebar{background:var(--frame)}}
@media(prefers-reduced-motion:reduce){:root.lexun-theme-blending{transition:none!important}}
