/* finesse · product · sage/graphite · triptych · soul 6 / spectacle 2 / density 8
   Source-native garment illustrations; no external fonts, images or scripts. */
:root {
  --page:#f0f2ee; --bg:#fdfefb; --panel-2:#f3f5f0; --border:rgba(33,53,42,.10); --line:var(--border);
  --ink:#1c2a22; --text:#45524a; --muted:#647168; --accent:#2c644a; --accent-soft:#e8f0e5;
  --on-accent:#fafcf7; --lime:#c2dba1; --rail:#1a2b23; --rail-text:#becac0;
  --warn:#986019; --warn-bg:#f7eedc; --red:#aa4840; --red-bg:#faece8;
  --up:#266a63; --up-bg:#e6f2ef; --blue:#536b88; --blue-bg:#eaf0f6;
  --r:16px; --sm:10px; --side:204px; --aside:338px; --header:70px;
  --shadow:0 2px 6px rgba(26,43,35,.025);
  color-scheme:light;
}
* { box-sizing:border-box }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
html,body { margin:0; overflow-x:clip; background:var(--page); color:var(--ink); }
body,button,input,select,textarea { font-family:"Microsoft YaHei","PingFang SC","Segoe UI",sans-serif; font-size:13px; }
body { -webkit-font-smoothing:antialiased; line-height:1.6 }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent }
button { cursor:pointer; color:inherit; background:none; border:0; line-height:1.4; }
button:disabled { cursor:not-allowed; opacity:.45 }
button:active:not(:disabled) { transform:translateY(1px) }
a { color:var(--accent); text-decoration:none }
a:hover { text-decoration:underline }
button,a { touch-action:manipulation }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid #8dad75; outline-offset:3px; }
input,select,textarea { min-width:0; max-width:100%; border:1px solid #d9dfd5; border-radius:9px; background:var(--bg); color:var(--ink); padding:10px 12px; line-height:1.5; }
textarea { resize:vertical; min-height:84px; }
input::placeholder,textarea::placeholder { color:#7b827b }
input[type="checkbox"] { accent-color:var(--accent); width:17px; height:17px; }
h1,h2,h3,h4,p { margin:0 }
h1,h2,h3,h4 { overflow-wrap:anywhere; line-height:1.45 }
h1 { font-size:25px; letter-spacing:-.7px; font-weight:700 }
h2 { font-size:16px; font-weight:700 }
h3 { font-size:14px; font-weight:700 }
svg.icon { width:19px; height:19px; stroke:currentColor; stroke-width:1.7; fill:none; flex-shrink:0; stroke-linecap:round; stroke-linejoin:round; }
.skip-link { position:fixed; top:-70px; left:220px; background:var(--bg); padding:10px; z-index:200 }
.skip-link:focus { top:10px }
.app-shell { min-height:100dvh; padding-left:var(--side); padding-right:var(--aside); }
.sidebar { position:fixed; inset:0 auto 0 0; width:var(--side); background:var(--rail); color:var(--rail-text); z-index:35; display:flex; flex-direction:column; padding:26px 14px 16px; }
.brand { display:flex; gap:10px; align-items:center; padding:0 10px 27px; color:#f5f7f0 }
.brand-symbol { width:34px; height:34px; display:grid; place-items:center; border-radius:11px; background:var(--lime); color:var(--rail); position:relative }
.brand-symbol .icon { width:24px; height:24px; stroke-width:1.7 }
.brand-name { font-size:17px; font-weight:700; letter-spacing:1px }
.brand-name small { display:block; font-size:9px; letter-spacing:1.7px; font-weight:400; color:#b8c9b5; margin-top:2px }
.workspace { margin:0 4px 23px; padding:11px 12px; display:flex; align-items:center; gap:9px; background:rgba(241,248,239,.055); border:1px solid rgba(240,248,234,.09); border-radius:10px; color:#e3ecdc; }
.workspace .icon { width:17px }
.workspace strong { font-size:12px; flex:1 }
.workspace span { font-size:10px; color:#c1d5ac }
.nav-scroll { flex:1; min-height:0; overflow:auto; scrollbar-width:thin; scrollbar-color:#435349 transparent }
.nav-label { font-size:10px; color:#a3b4a8; letter-spacing:.9px; margin:18px 13px 7px; }
.nav-label:first-child { margin-top:0 }
.nav-item { width:100%; display:flex; gap:12px; align-items:center; padding:12px 13px; color:var(--rail-text); border-radius:9px; text-align:left; font-size:12px; transition:background .16s,color .16s; margin-bottom:3px; white-space:nowrap; }
.nav-item:hover { background:rgba(249,253,243,.065); color:#edf4e7; }
.nav-item.active { background:#c3dba8; color:#203426; font-weight:700; }
.nav-item .icon { width:18px; height:18px }
.nav-item .nav-indicator { width:5px; height:5px; border-radius:50%; background:currentColor; margin-left:auto }
.nav-count { margin-left:auto; font-size:10px; opacity:.85 }
.sidebar-footer { border-top:1px solid rgba(243,248,238,.10); margin-top:17px; padding:16px 9px 0; }
.sidebar-foot-note { font-size:10px; color:#a7b8ab; line-height:1.8; margin-top:12px }
.sidebar-user { display:flex; align-items:center; gap:9px; color:#e0ebd9; font-size:12px }
.avatar { width:30px; height:30px; background:#e6eddf; color:#37513d; display:inline-grid; place-items:center; border-radius:50%; font-size:11px; font-weight:700; flex-shrink:0 }
.sidebar-user small { display:block; font-size:10px; color:#a7b8ab; }
.topbar { height:var(--header); display:flex; align-items:center; gap:16px; padding:0 28px; border-bottom:1px solid var(--border); background:var(--bg); }
.breadcrumbs { color:var(--muted); font-size:11px; white-space:nowrap }
.breadcrumbs b { color:var(--ink); font-weight:500; }
.spacer { flex:1 }
.top-search { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:11px; }
.top-search .icon { width:16px }
.top-search kbd { font-family:inherit; font-size:9px; padding:1px 4px; border:1px solid #dbe1d7; border-radius:4px }
.icon-btn { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:9px; }
.icon-btn:hover { background:var(--panel-2) }
.status-pill,.badge { display:inline-flex; align-items:center; justify-content:center; gap:5px; border-radius:5px; font-size:10px; line-height:1.5; padding:4px 7px; white-space:nowrap; font-weight:500 }
.status-pill { background:var(--panel-2); color:var(--text) }
.status-pill::before { content:""; width:5px; height:5px; background:var(--accent); border-radius:50% }
.badge { background:var(--panel-2); color:var(--muted); }
.badge.green { background:var(--up-bg); color:var(--up) }
.badge.amber { background:var(--warn-bg); color:var(--warn) }
.badge.red { background:var(--red-bg); color:var(--red) }
.badge.blue { background:var(--blue-bg); color:var(--blue) }
.badge.ai { background:var(--accent-soft); color:var(--accent); font-size:10px; gap:3px }
.badge.ai .icon { width:11px; height:11px; }
.main { padding:28px 28px 40px; min-width:0; }
.page-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:24px }
.eyebrow { font-size:10px; letter-spacing:1.4px; color:var(--muted); margin-bottom:7px; font-weight:500 }
.page-head p { color:var(--muted); font-size:11px; margin-top:7px; line-height:1.8 }
.head-actions { display:flex; gap:8px; padding-top:3px; flex-shrink:0 }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:36px; padding:8px 13px; border-radius:8px; font-size:11px; border:1px solid #d8ded3; background:var(--bg); white-space:nowrap; transition:background .15s,box-shadow .15s; }
.btn:hover:not(:disabled) { background:#edf1e8; border-color:#b8c9ad }
.btn .icon { width:14px; height:14px }
.btn.primary { background:var(--accent); border-color:var(--accent); color:var(--on-accent); }
.btn.primary:hover { background:#23573e }
.btn.dark { background:var(--rail); border-color:var(--rail); color:#f3f8ed }
.btn.danger { background:var(--red-bg); border-color:#ebd2ca; color:var(--red) }
.btn.small { min-height:30px; padding:6px 10px; font-size:10px }
.btn.text { background:none; border-color:transparent; color:var(--accent); padding-left:5px; padding-right:5px }
.btn.full { width:100% }
.tabs { display:flex; gap:23px; overflow-x:auto; border-bottom:1px solid var(--border); margin-bottom:22px; scrollbar-width:none; }
.tab { flex-shrink:0; padding:0 1px 13px; font-size:12px; color:var(--muted); position:relative; white-space:nowrap; }
.tab.active { color:var(--accent); font-weight:700; }
.tab.active::after { content:""; position:absolute; bottom:0; height:2px; background:var(--accent); left:0; right:0; }
.grid { display:grid; gap:17px; min-width:0 }
.grid.two { grid-template-columns:minmax(0,1fr) minmax(0,1fr) }
.grid.three { grid-template-columns:repeat(3,minmax(0,1fr)) }
.grid.four { grid-template-columns:repeat(4,minmax(0,1fr)) }
.grid.wide { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) }
.stack { display:flex; flex-direction:column; gap:18px; min-width:0 }
.card { background:var(--bg); border:1px solid var(--border); border-radius:var(--r); box-shadow:var(--shadow); min-width:0; }
.pad { padding:20px; }
.card-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:17px }
.card-head small { font-size:10px; color:var(--muted); }
.card-head h2 { font-size:14px }
.muted { color:var(--muted) }
.small-copy { font-size:11px; line-height:1.9; color:var(--muted) }
.lead-copy { color:var(--text); font-size:13px; line-height:1.9; }
.num { font-variant-numeric:tabular-nums; letter-spacing:-.3px; }
.row { display:flex; align-items:center; gap:10px; min-width:0; }
.between { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.divider { border:0; height:1px; background:var(--border); margin:16px 0; }
.ai-band { display:flex; gap:15px; align-items:center; background:#e8eee1; border:1px solid #d7e1cb; border-radius:13px; padding:17px 19px; margin-bottom:21px; }
.ai-band-icon { width:38px; height:38px; display:grid; place-items:center; color:var(--accent); border:1px solid #c9d7be; border-radius:11px; background:#f3f7ec; flex-shrink:0; }
.ai-band strong { font-size:12px; display:block; margin-bottom:3px; }
.ai-band p { color:#55654d; font-size:11px; line-height:1.8 }
.ai-band .btn { margin-left:auto; flex-shrink:0; background:var(--bg) }
.metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:22px }
.metric { text-align:left; padding:17px 18px; background:var(--bg); border:1px solid var(--border); border-radius:14px; min-width:0; }
.metric:hover { border-color:#c1d0b7; box-shadow:0 4px 12px rgba(37,70,43,.04) }
.metric-top { display:flex; align-items:center; justify-content:space-between; gap:5px; margin-bottom:15px; color:var(--muted); font-size:10px; }
.metric-top .icon { width:15px; height:15px; }
.metric strong { display:block; font-size:27px; font-weight:650; letter-spacing:-1px; line-height:1.3; margin-bottom:7px; }
.metric strong small { font-size:12px; margin-left:3px; font-weight:400; letter-spacing:0; }
.metric .metric-foot { display:block; color:var(--muted); font-size:10px }
.metric.featured { background:#263e30; color:#f0f7e8; border-color:#263e30 }
.metric.featured .metric-top,.metric.featured .metric-foot { color:#b9cbb1 }
.metric .icon-chip { display:inline-grid; place-items:center; width:25px; height:25px; border-radius:7px; background:var(--panel-2); color:var(--accent) }
.metric.featured .icon-chip { background:rgba(230,247,219,.10); color:#cee4b8 }
.flow-rail { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); padding:24px 13px 22px; position:relative; }
.flow-rail::before { content:""; position:absolute; top:44px; left:9%; right:9%; border-top:1px solid #d6dfcf; }
.flow-node { position:relative; display:flex; flex-direction:column; align-items:center; gap:8px; padding:0 3px; }
.flow-node .node-icon { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:#eef3e9; color:var(--accent); box-shadow:0 0 0 6px var(--bg); z-index:1; transition:background .16s; }
.flow-node:hover .node-icon { background:#d0e0c1 }
.flow-node b { font-size:11px; font-weight:500; white-space:nowrap }
.flow-node small { font-size:9px; color:var(--muted); white-space:nowrap }
.flow-node .flow-no { position:absolute; top:-13px; right:8px; font-size:8px; color:#637d58; }
.opportunity-line { padding:13px 0; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:12px; text-align:left; width:100%; }
.opportunity-line:last-child { border:0; padding-bottom:0 }
.opportunity-line:first-child { padding-top:0 }
.signal { width:7px; height:7px; border-radius:50%; background:var(--warn); flex-shrink:0 }
.signal.green { background:var(--accent) }
.signal.red { background:var(--red) }
.line-content { flex:1; min-width:0; }
.line-content strong { display:block; font-size:11px; font-weight:600; margin-bottom:3px }
.line-content p { font-size:10px; color:var(--muted); line-height:1.7 }
.line-arrow { color:#8a9687; width:14px; }
.task-line { display:flex; align-items:center; gap:10px; padding:12px 0; border-bottom:1px solid var(--border); }
.task-line:last-child { border-bottom:0 }
.task-check { width:19px; height:19px; border:1px solid #cbd6c4; border-radius:5px; display:grid; place-items:center; padding:1px; flex-shrink:0; color:var(--accent); background:#fafcf7; }
.task-check .icon { width:13px; height:13px }
.task-check.done { background:var(--accent); color:var(--on-accent); border-color:var(--accent); }
.task-line.is-done .line-content strong { text-decoration:line-through; color:var(--muted); }
.mini-task-actions { display:flex; gap:4px }
.products-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.product-mini { text-align:left; min-width:0; padding:0; }
.garment-visual { display:flex; align-items:center; justify-content:center; position:relative; height:132px; border-radius:11px; background:#f0f1eb; overflow:hidden; margin-bottom:10px; }
.garment-visual::after { content:"示意"; position:absolute; bottom:7px; right:9px; font-size:8px; color:#747d70; letter-spacing:1px; }
.garment { width:105px; height:123px; overflow:visible }
.product-mini strong { font-size:11px; font-weight:600; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.product-mini small { color:var(--muted); font-size:9px }
.product-mini .between { gap:4px; margin-top:5px; }
.product-mini .between span { color:var(--accent); font-size:11px; }
.ai-aside { position:fixed; top:0; right:0; bottom:0; width:var(--aside); z-index:30; border-left:1px solid #dce3d6; background:#fafcf6; display:flex; flex-direction:column; }
.aside-top { height:var(--header); border-bottom:1px solid #e2e7db; padding:0 23px; display:flex; align-items:center; justify-content:space-between; flex-shrink:0; }
.aside-brand { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:700; }
.aside-brand .icon { width:19px; color:var(--accent); }
.aside-badge { font-size:9px; background:#e8efdf; border:1px solid #dce6d1; border-radius:4px; padding:3px 6px; color:#526a43; letter-spacing:.5px }
.aside-scroll { overflow-y:auto; padding:26px 24px 20px; flex:1; min-height:0; scrollbar-width:thin; scrollbar-color:#ccd7c0 transparent; }
.aside-location { font-size:10px; color:var(--muted); display:flex; align-items:center; gap:6px; margin-bottom:19px }
.aside-location::before { content:""; width:5px; height:5px; border-radius:50%; background:var(--accent) }
.aside-scene-icon { width:45px; height:45px; border-radius:13px; display:grid; place-items:center; background:#e5eddb; color:var(--accent); margin-bottom:14px; }
.aside-scene-icon .icon { width:24px; height:24px; }
.aside-title { font-size:20px; line-height:1.6; letter-spacing:-.5px; margin-bottom:9px; }
.aside-intro { color:var(--muted); font-size:11px; line-height:1.85; margin-bottom:20px; }
.aside-section { margin-top:21px; }
.aside-section h3 { font-size:10px; letter-spacing:.7px; color:var(--accent); display:flex; gap:7px; align-items:center; margin-bottom:10px }
.aside-section h3 .icon { width:13px; height:13px; }
.aside-section p { font-size:11px; color:var(--text); line-height:1.9; }
.aside-section p,.aside-step p,.aside-intro { font-size:12px; }
.sidebar-user { text-align:left; padding:0; width:100%; }
.sidebar-user small { white-space:nowrap; }
.aside-step { display:flex; gap:10px; margin-bottom:10px; }
.aside-step i { font-style:normal; color:#557443; font-size:9px; line-height:21px; width:17px; height:21px; flex-shrink:0; }
.aside-step p { font-size:11px; line-height:1.85; color:#374a3b; }
.io-block { border-top:1px solid #dfe6d6; padding-top:16px; margin-top:20px; display:flex; flex-direction:column; gap:9px; }
.io-row { display:flex; gap:12px; font-size:10px; line-height:1.85; }
.io-row b { color:var(--muted); font-weight:400; flex-shrink:0; width:25px; }
.io-row span { color:#4b5c46; }
.aside-connection { display:flex; flex-wrap:wrap; gap:5px; margin-top:12px; }
.aside-connection span { background:#eef3e8; color:#617154; font-size:9px; padding:3px 6px; border-radius:4px; }
.aside-bottom { padding:15px 22px 18px; border-top:1px solid #dfe6d8; background:#f3f7ed; flex-shrink:0; }
.aside-bottom .btn { min-height:40px; font-size:12px; }
.aside-bottom p { text-align:center; font-size:9px; color:#6b7961; margin-top:9px; }
.section-gap { margin-top:21px; }
.filterbar { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:18px }
.filter-chip { padding:7px 11px; font-size:11px; border-radius:7px; color:var(--muted); border:1px solid transparent; white-space:nowrap; }
.filter-chip:hover { background:#e8ede3; }
.filter-chip.active { color:var(--accent); background:#e5eddf; border-color:#ccdabf; font-weight:600; }
.local-search { display:flex; align-items:center; gap:7px; padding:0 10px; border:1px solid #d8ded2; background:var(--bg); border-radius:8px; min-width:180px; }
.local-search input { border:0; background:transparent; padding:8px 0; width:100%; font-size:11px }
.local-search .icon { width:15px; color:var(--muted) }
.role-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.role-card { padding:17px; text-align:left; border:1px solid var(--border); border-radius:13px; background:var(--bg); display:flex; flex-direction:column; min-width:0; transition:box-shadow .16s,border-color .16s; }
.role-card:hover,.role-card.selected { border-color:#9eb78d; box-shadow:0 4px 16px rgba(40,65,35,.045) }
.role-card .role-icon { width:32px; height:32px; border-radius:9px; background:var(--panel-2); color:var(--accent); display:grid; place-items:center; margin-bottom:13px; }
.role-card h3 { font-size:12px; }
.role-card .role-desc { font-size:10px; color:var(--muted); margin:6px 0 14px; }
.role-question { font-size:10px; color:var(--text); line-height:1.8; padding-top:11px; border-top:1px solid var(--border); margin-top:auto; }
.role-card footer { display:flex; justify-content:space-between; gap:5px; align-items:center; margin-top:13px }
.role-card footer small { color:var(--muted); font-size:8px; }
.table-wrap { overflow-x:auto; border-radius:var(--r); scrollbar-width:thin; }
table { border-collapse:collapse; width:100%; font-size:11px; text-align:left; }
thead th { background:#f5f7f1; color:var(--muted); font-size:10px; font-weight:500; padding:12px 14px; border-bottom:1px solid var(--border); white-space:nowrap; }
tbody td { padding:14px; border-bottom:1px solid var(--border); color:var(--text); vertical-align:middle; }
tbody tr:last-child td { border-bottom:0 }
tbody tr[data-record] { cursor:pointer; }
tbody tr[data-record]:hover { background:#f6f9f0; }
td strong { display:block; font-size:11px; color:var(--ink); font-weight:600; }
td small { display:block; color:var(--muted); font-size:9px; margin-top:3px; }
td.numeric,th.numeric { text-align:right; font-variant-numeric:tabular-nums; }
.table-foot { padding:12px 16px; display:flex; justify-content:space-between; color:var(--muted); border-top:1px solid var(--border); font-size:10px; }
.progress { height:5px; background:#e9eee3; border-radius:5px; overflow:hidden; min-width:55px; }
.progress i { display:block; height:100%; background:#829c6c; border-radius:5px; }
.progress.amber i { background:#be9656; }
.progress.red i { background:#bc7267; }
.progress-label { font-size:9px; color:var(--muted); margin-top:4px; }
.info-note { font-size:10px; color:var(--muted); line-height:1.9; margin-top:12px; display:flex; gap:7px; }
.info-note .icon { width:13px; height:13px; margin-top:3px; }
.empty { text-align:center; padding:50px 20px; color:var(--muted) }
.empty .icon { width:32px; height:32px; margin-bottom:13px; color:#748865; }
.empty h3 { color:var(--ink); margin-bottom:9px; }
.empty p { font-size:11px; line-height:1.9; margin-bottom:18px; }
.kanban { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; align-items:start; }
.kanban-col { background:#e9eee4; border:1px solid #dfe5d8; border-radius:12px; padding:12px; min-width:0; }
.kanban-col header { display:flex; justify-content:space-between; align-items:center; margin-bottom:15px; font-size:11px; color:#51634a; }
.kanban-col header span { font-size:10px; background:#dce6d3; padding:1px 5px; border-radius:4px; }
.kanban-card { padding:13px; background:var(--bg); border:1px solid var(--border); border-radius:10px; margin-bottom:10px; text-align:left; width:100%; }
.kanban-card:last-child { margin-bottom:0 }
.kanban-card h3 { font-size:11px; line-height:1.7; }
.kanban-card p { font-size:10px; line-height:1.8; color:var(--muted); margin-top:7px; }
.kanban-card .garment-visual { height:116px; margin-bottom:11px; }
.kanban-card .garment { height:101px; }
.kanban-card footer { display:flex; align-items:center; justify-content:space-between; margin-top:13px; font-size:9px; color:var(--muted) }
.kanban-card .money { font-size:14px; color:var(--ink); margin-top:10px }
.tag-row { display:flex; gap:5px; flex-wrap:wrap; margin-top:12px; }
.planning-card { padding:16px; }
.planning-card .garment-visual { height:155px; }
.planning-card h3 { font-size:12px; margin:10px 0 5px; }
.planning-card .small-copy { font-size:10px }
.planning-card .stat-pair { margin:13px 0; padding:10px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); display:flex; justify-content:space-between; font-size:10px; }
.gantt { overflow-x:auto; }
.gantt-row { display:grid; grid-template-columns:158px minmax(300px,1fr) 68px; align-items:center; min-height:65px; border-bottom:1px solid var(--border); gap:12px; }
.gantt-row:last-child { border:0 }
.gantt-head { min-height:34px; font-size:9px; color:var(--muted); }
.gantt-label { font-size:10px; color:var(--muted); }
.gantt-label strong { color:var(--ink); font-size:11px; display:block; }
.gantt-track { position:relative; height:29px; border-left:1px dashed #d3dccb; background:repeating-linear-gradient(90deg,transparent,transparent calc(8.333% - 1px),#e7ece1 calc(8.333% - 1px),#e7ece1 8.333%); }
.gantt-bar { position:absolute; height:25px; top:2px; border-radius:5px; background:#dce9d0; color:#3b6140; border:1px solid #c3d7b5; padding:4px 8px; font-size:9px; overflow:hidden; white-space:nowrap; text-align:left; }
.gantt-bar.risk { background:#f1e3c8; color:#895b21; border-color:#e2c99f; }
.gantt-dates { display:flex; justify-content:space-between; }
.text-red { color:var(--red)!important; }
.text-green { color:var(--accent)!important; }
.swatch { width:9px; height:9px; border-radius:50%; display:inline-block; margin-right:5px; background:#899f79; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.field { display:flex; flex-direction:column; gap:7px; min-width:0; }
.field label { color:var(--text); font-size:11px; }
.field.wide { grid-column:1/-1; }
.field-error { color:var(--red); font-size:10px; min-height:15px; }
.summary-total { border-top:1px solid var(--border); padding-top:16px; margin-top:17px; display:grid; gap:11px; }
.summary-total .between { font-size:11px; color:var(--muted); }
.summary-total strong { color:var(--ink); font-size:16px; }
.quote-preview { background:#f2f5eb; padding:20px; border:1px solid #dce5d0; border-radius:13px; }
.quote-preview h3 { font-size:12px; margin-bottom:15px; }
.bars { display:flex; flex-direction:column; gap:17px; }
.bar-row .between { font-size:10px; margin-bottom:7px; }
.bar-row .progress { height:8px; }
.supplier-head { display:flex; align-items:center; gap:10px; margin-bottom:17px; }
.supplier-letter { width:35px; height:35px; background:#eef3e7; color:#557342; border-radius:10px; display:grid; place-items:center; font-size:17px; }
.supplier-card h3 { font-size:12px; }
.supplier-card small { font-size:9px; color:var(--muted); }
.supplier-nums { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:17px; }
.supplier-nums strong { font-size:22px; display:block; font-weight:600 }
.supplier-nums span { font-size:10px; color:var(--muted); }
.timeline { display:flex; flex-direction:column; gap:0; }
.timeline-item { position:relative; border-left:1px solid #dce5d4; margin-left:5px; padding:0 0 20px 23px; }
.timeline-item:last-child { border:0; padding-bottom:0 }
.timeline-item::before { content:""; position:absolute; left:-5px; top:3px; width:9px; height:9px; border-radius:50%; background:#8da977; border:2px solid #eff4e9; }
.timeline-item h3 { font-size:11px; }
.timeline-item p { font-size:10px; color:var(--muted); margin-top:5px; line-height:1.8; }
.timeline-item small { font-size:9px; color:var(--muted) }
.knowledge-list { display:flex; flex-direction:column; gap:12px; }
.knowledge-item { text-align:left; padding:17px 19px; display:flex; gap:13px; align-items:flex-start; background:var(--bg); border:1px solid var(--border); border-radius:12px; width:100%; }
.knowledge-item>.icon { color:var(--accent); margin-top:2px; }
.knowledge-item h3 { font-size:12px; margin-bottom:6px; }
.knowledge-item p { font-size:10px; color:var(--muted); line-height:1.8; }
.knowledge-item .badge { margin-left:auto; }
.connector-card { padding:20px; }
.connector-logo { width:38px; height:38px; background:var(--panel-2); display:grid; place-items:center; color:var(--accent); border-radius:10px; margin-bottom:16px; }
.connector-card h3 { font-size:12px; margin-bottom:7px; }
.connector-card p { font-size:10px; line-height:1.9; color:var(--muted); min-height:57px; }
.connector-card footer { display:flex; justify-content:space-between; margin-top:15px; align-items:center; }
.research-intro { background:#263e30; color:#eef6e5; padding:25px; border-radius:16px; margin-bottom:22px; }
.research-intro h2 { font-size:18px; margin:5px 0 12px; }
.research-intro p { font-size:11px; line-height:1.9; color:#c4d1bc; }
.research-intro .eyebrow { color:#c3d8b1; font-size:9px; }
.source-list { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:13px; margin-top:20px; }
.source-card { padding:17px; background:var(--bg); border:1px solid var(--border); border-radius:12px; }
.source-card h3 { font-size:11px; }
.source-card small { color:var(--muted); font-size:9px; display:block; margin:7px 0; }
.source-card p { font-size:10px; color:var(--text); line-height:1.9; }
.source-card a { display:inline-flex; gap:5px; align-items:center; font-size:10px; margin-top:11px; }
.source-card a .icon { width:11px; height:11px; }
.flow-detail { display:flex; flex-direction:column; gap:14px; }
.flow-lane { display:grid; grid-template-columns:92px minmax(0,1fr) 118px; gap:15px; padding:16px 19px; border:1px solid var(--border); border-radius:12px; background:var(--bg); align-items:center; }
.flow-lane .lane-person { font-size:10px; color:var(--muted); }
.flow-lane h3 { font-size:12px; margin-bottom:5px; }
.flow-lane p { font-size:10px; line-height:1.8; color:var(--muted); }
.approval-strip { display:flex; gap:9px; padding:15px; border:1px solid #e7d7b5; background:#fcf7e9; border-radius:10px; margin-top:14px; }
.approval-strip .icon { color:var(--warn); width:17px; height:17px; }
.approval-strip h4 { font-size:11px; color:#80571d; margin-bottom:5px; }
.approval-strip p { color:#826c4d; font-size:10px; line-height:1.8; }
.notice { background:var(--panel-2); border-radius:10px; padding:12px 14px; font-size:11px; color:var(--text); line-height:1.9; margin-bottom:17px; }
.chart-container { width:100%; }
.chart-container svg { display:block; width:100%; height:auto; }
.spark-chart { width:78px; height:28px; }
.view-footer { margin-top:27px; padding-top:15px; border-top:1px solid var(--border); font-size:9px; color:var(--muted); display:flex; gap:12px; justify-content:space-between; }
.view-footer button { font-size:9px; color:var(--accent); padding:0; }
.modal-backdrop { position:fixed; inset:0; z-index:90; background:rgba(14,28,19,.40); backdrop-filter:blur(3px); display:grid; place-items:center; padding:25px; overflow:auto; }
.modal { background:var(--bg); width:min(680px,100%); max-height:calc(100dvh - 50px); border-radius:20px; box-shadow:0 30px 95px rgba(13,31,19,.22); display:flex; flex-direction:column; border:1px solid rgba(246,250,239,.5); }
.modal.wide-modal { width:min(880px,100%); }
.modal-head { display:flex; justify-content:space-between; align-items:flex-start; gap:15px; padding:23px 25px 19px; border-bottom:1px solid var(--border); flex-shrink:0; }
.modal-head h2 { font-size:17px; }
.modal-head p { font-size:10px; color:var(--muted); margin-top:5px; }
.modal-body { overflow:auto; padding:24px 25px; min-height:0; }
.modal-actions { padding:16px 25px 21px; display:flex; align-items:center; justify-content:flex-end; gap:9px; border-top:1px solid var(--border); flex-shrink:0; flex-wrap:wrap; }
.modal-actions .small-copy { margin-right:auto; font-size:9px; }
.detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; margin-bottom:18px; }
.detail-cell { background:var(--panel-2); border-radius:9px; padding:12px 14px; font-size:11px; }
.detail-cell small { display:block; color:var(--muted); font-size:9px; margin-bottom:5px; }
.run-steps { display:flex; flex-direction:column; margin:19px 0; }
.run-step { display:flex; gap:12px; padding:0 0 21px 0; position:relative; }
.run-step:not(:last-child)::before { content:""; width:1px; background:#dce4d5; position:absolute; left:12px; top:25px; bottom:0; }
.run-step-dot { display:grid; place-items:center; width:25px; height:25px; border:1px solid #d4dfcc; background:#f6f9f1; border-radius:50%; color:#7b8972; font-size:10px; flex-shrink:0; }
.run-step-dot .icon { width:13px; height:13px; }
.run-step.done .run-step-dot { background:var(--accent-soft); color:var(--accent); border-color:#c1d4b5; }
.run-step.active .run-step-dot { border-color:var(--accent); color:var(--accent); background:#e8f0de; }
.run-step.active .run-step-dot::after { content:""; width:9px; height:9px; border:1px solid var(--accent); border-top-color:transparent; border-radius:50%; animation:spin 1s linear infinite; }
.run-step h3 { font-size:11px; padding-top:3px; }
.run-step p { font-size:10px; color:var(--muted); margin-top:5px; line-height:1.8; }
.run-result { background:#f1f5ea; padding:17px; border:1px solid #d9e3cc; border-radius:12px; }
.run-result h3 { color:var(--accent); font-size:12px; margin-bottom:10px; }
.run-result p,.run-result li { font-size:11px; color:var(--text); line-height:1.95; }
.run-result ul { padding-left:17px; margin:8px 0; }
.run-result .badge { margin-bottom:12px; }
.run-result.error { background:var(--red-bg); border-color:#ebd3cb; }
.run-receipt { font-size:9px; color:var(--muted); margin-top:14px; display:flex; justify-content:space-between; font-variant-numeric:tabular-nums; gap:10px; }
.run-evidence { font-size:10px; color:var(--muted); background:var(--panel-2); padding:10px 12px; border-radius:8px; margin-top:12px; }
.search-results { display:flex; flex-direction:column; gap:9px; }
.search-result { width:100%; text-align:left; padding:13px; border:1px solid var(--border); background:var(--panel-2); border-radius:9px; }
.search-result h3 { font-size:11px; margin-bottom:4px; }
.search-result p { font-size:10px; color:var(--muted); }
.search-modal-input { width:100%; margin-bottom:18px; }
#toast { position:fixed; left:calc(var(--side) + (100vw - var(--side) - var(--aside))/2); bottom:27px; transform:translate(-50%,15px); background:#203b2b; color:#f1f8ea; font-size:11px; line-height:1.8; padding:12px 20px; border-radius:10px; box-shadow:0 10px 30px rgba(21,49,27,.18); z-index:120; opacity:0; pointer-events:none; transition:opacity .18s,transform .18s; max-width:calc(100vw - 35px); text-align:center; }
#toast.visible { opacity:1; transform:translate(-50%,0); }
.tour-bar { position:fixed; left:calc(var(--side) + 25px); right:calc(var(--aside) + 25px); bottom:20px; background:var(--rail); color:#edf4e7; border:1px solid #4e6545; border-radius:13px; box-shadow:0 15px 40px rgba(22,48,28,.2); padding:16px 19px; display:flex; gap:12px; align-items:center; z-index:45; }
.tour-bar .tour-text { flex:1; min-width:0 }
.tour-bar strong { font-size:11px; display:block; }
.tour-bar p { font-size:10px; color:#b9cab0; margin-top:4px; }
.tour-bar .btn { background:#c3dba8; color:#243c2a; border-color:#c3dba8; }
.tour-bar .btn.text { color:#cbdcc1; background:transparent; border:0; }
.mobile-menu,.mobile-ai,.aside-close { display:none; }
.pill-selector { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:19px; }
.pill-selector button { font-size:10px; color:var(--muted); padding:6px 10px; border:1px solid var(--border); border-radius:7px; background:var(--bg); }
.pill-selector button.active { border-color:#a9bd99; color:var(--accent); background:#e6efdd; }
@keyframes spin { to { transform:rotate(360deg) } }
@media(min-width:1700px) {
  :root { --side:226px; --aside:365px; }
  .main { padding:32px 37px 45px; }
  .role-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .garment-visual { height:159px; }
  .topbar { padding-inline:37px; }
}
@media(max-width:1320px) {
  :root { --side:185px; --aside:310px; }
  .main { padding:23px 21px 35px; }
  .topbar { padding-inline:21px; gap:10px }
  .aside-scroll { padding:24px 20px 18px; }
  .aside-top { padding-inline:20px; }
  .top-search kbd { display:none; }
  .top-search span { display:none; }
  .head-actions .btn:not(.primary) { display:none; }
  .role-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .kanban { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .metric { padding:14px; }
  .metric-top { font-size:9px; }
  .metric strong { font-size:25px; }
  .metric-grid { gap:10px; }
  .flow-node b { font-size:10px; }
  .flow-node small { font-size:8px; }
  .products-strip { gap:9px; }
  .flow-node .node-icon { width:35px; height:35px; }
  .flow-rail::before { top:42px; }
}
@media(max-width:1120px) {
  :root { --side:76px; --aside:300px; }
  .sidebar { padding:24px 7px 14px; }
  .brand { padding:0 13px 25px; }
  .brand-name,.workspace,.sidebar-footer,.nav-label { display:none; }
  .nav-item { flex-direction:column; gap:5px; padding:13px 4px; font-size:9px; }
  .nav-item .nav-indicator,.nav-count { display:none; }
  .nav-item .icon { width:20px; height:20px; }
  .nav-scroll { margin-top:5px; }
  .grid.wide { grid-template-columns:minmax(0,1fr); }
  .grid.three { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .grid.four { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .source-list { grid-template-columns:minmax(0,1fr); }
  .ai-band { align-items:flex-start; padding:15px; }
  .ai-band .btn { min-height:32px; font-size:10px; }
  .page-head { gap:10px; }
  .page-head h1 { font-size:23px; }
}
@media(max-width:850px) {
  :root { --aside:0px; }
  .ai-aside { width:330px; max-width:94vw; transform:translateX(105%); transition:transform .18s; box-shadow:-10px 0 40px rgba(28,53,31,.12); z-index:65; }
  .ai-aside.open { transform:translateX(0); }
  .aside-close { display:inline-flex; }
  .aside-badge { margin-left:auto; margin-right:8px; }
  .mobile-ai { position:fixed; right:17px; bottom:calc(17px + env(safe-area-inset-bottom)); display:flex; align-items:center; gap:8px; padding:13px 17px; background:var(--accent); color:var(--on-accent); border-radius:12px; box-shadow:0 8px 24px rgba(33,78,39,.2); z-index:50; font-size:12px; min-height:44px; }
  .mobile-ai .icon { width:18px; }
  .grid.wide { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
  .role-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .metric-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .source-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .main { padding-bottom:85px; }
  #toast { bottom:79px; }
  .tour-bar { bottom:80px; }
}
@media(max-width:680px) {
  :root { --side:0px; --header:60px; }
  .sidebar { width:210px; transform:translateX(-110%); transition:transform .18s; z-index:70; box-shadow:12px 0 40px rgba(24,48,29,.2); }
  .sidebar.open { transform:translateX(0); }
  .sidebar .brand { padding:0 12px 24px; }
  .brand-name,.workspace,.sidebar-footer,.nav-label { display:block; }
  .workspace { display:flex; }
  .nav-item { flex-direction:row; font-size:12px; padding:11px 13px; gap:12px; }
  .nav-item .nav-count { display:inline; }
  .sidebar-footer { margin-inline:9px; }
  .mobile-menu { display:inline-flex; flex-shrink:0; }
  .topbar { gap:8px; padding-inline:13px; }
  .breadcrumbs { font-size:10px; }
  .topbar>.status-pill { font-size:9px; padding-inline:5px; }
  .topbar>.avatar { display:none; }
  .top-search { display:none; }
  .main { padding:21px 16px 90px; }
  .page-head { margin-bottom:19px; }
  .page-head h1 { font-size:23px; }
  .page-head p { font-size:10px; max-width:230px; }
  .eyebrow { font-size:8px; letter-spacing:1px; }
  .head-actions .btn { padding:8px 10px; font-size:10px; }
  .head-actions .btn .icon { display:none; }
  .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .metric strong { font-size:26px; }
  .metric-top { font-size:10px; }
  .grid.two,.grid.wide,.grid.three { grid-template-columns:minmax(0,1fr); }
  .role-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .role-card { padding:14px; }
  .role-card h3 { font-size:11px; }
  .role-card .role-desc { font-size:9px; }
  .ai-band { gap:10px; }
  .ai-band-icon { width:31px; height:31px; }
  .ai-band strong { font-size:11px; }
  .ai-band p { font-size:10px; }
  .ai-band .btn { padding:6px 8px; }
  .ai-band .btn .icon { display:none; }
  .flow-rail { overflow-x:auto; grid-template-columns:repeat(7,72px); padding-inline:8px; }
  .flow-rail::before { left:42px; right:42px; min-width:445px; }
  .flow-node small { font-size:8px; }
  .products-strip { grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
  .garment-visual { height:145px; }
  .kanban { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .kanban-col { padding:10px; }
  .kanban-card { padding:11px; }
  .kanban-card .garment-visual { height:105px; }
  .kanban-card .garment { height:90px; }
  .kanban-card p { font-size:9px; }
  .source-list { grid-template-columns:minmax(0,1fr); }
  .form-grid { grid-template-columns:minmax(0,1fr); }
  .flow-lane { grid-template-columns:65px minmax(0,1fr); gap:10px; padding:14px; }
  .flow-lane .btn { grid-column:2; justify-self:start; }
  .tabs { gap:21px; }
  .tab { font-size:11px; }
  .pad { padding:17px; }
  .view-footer { flex-direction:column; font-size:9px; gap:7px; }
  .modal-backdrop { padding:12px; }
  .modal { max-height:calc(100dvh - 24px); border-radius:16px; }
  .modal-head { padding:19px 18px 15px; }
  .modal-head h2 { font-size:15px; }
  .modal-body { padding:20px 18px; }
  .modal-actions { padding:14px 18px 18px; gap:7px; }
  .modal-actions .btn { padding-inline:10px; font-size:10px; }
  .detail-grid { gap:9px; }
  .detail-cell { padding:10px; font-size:10px; }
  .tour-bar { left:12px; right:12px; gap:8px; padding:13px; flex-wrap:wrap; }
  .tour-bar .tour-text { flex-basis:100%; }
  .local-search { min-width:0; width:100%; }
  .table-foot { flex-direction:column; gap:5px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

/* Business depth: department -> process -> action -> evidence. */
.deep-breadcrumb { display:flex; gap:10px; color:var(--muted); font-size:10px; margin:4px 0 17px; }
.deep-home-entry { display:flex; align-items:center; justify-content:space-between; gap:20px; background:#edf2e5; border:1px solid #d7e1ca; border-radius:10px; padding:21px 24px; margin-bottom:24px; }.deep-home-entry h2 { font-size:18px; margin:8px 0; }.deep-home-entry p { font-size:10px; color:#758267; }.deep-home-entry>div:last-child { display:grid; gap:8px; flex-shrink:0; }.deep-home-entry .btn { font-size:10px; }
.deep-summary { border:1px solid var(--line); padding:16px; border-radius:7px; margin-top:15px; font-size:11px; }.deep-summary p { white-space:pre-wrap; margin-top:12px; color:#56634c; line-height:1.8; }.deep-summary small { display:block; color:#8a947e; font-size:9px; }
.deep-breadcrumb span { color:var(--accent); }
.deep-flow-nav { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:20px; }
.deep-flow-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 23px; background:#edf1e7; border:1px solid #dce3d4; border-radius:10px; }
.deep-flow-head h2 { font-size:19px; margin:7px 0 9px; }
.deep-flow-head p { font-size:11px; color:#65705e; line-height:1.8; margin:0; }
.deep-flow-head .btn { flex-shrink:0; }
.deep-casebar { display:flex; gap:10px; align-items:center; flex-wrap:wrap; padding:18px 0; font-size:11px; }
.deep-casebar select { min-width:160px; max-width:360px; flex:1; padding:9px 11px; border:1px solid var(--line); border-radius:6px; background:#fff; color:var(--ink); }
.deep-context { display:flex; flex-wrap:wrap; gap:8px 20px; font-size:10px; padding:15px 18px; background:#fff; border:1px solid var(--line); border-radius:8px 8px 0 0; line-height:1.7; }
.deep-context span { color:#73806a; }.deep-context b { color:#3f4e39; font-weight:500; margin-left:3px; }
.deep-order-lines { display:flex; gap:10px; flex-wrap:wrap; padding:9px 18px; background:#f3f5ef; border:1px solid var(--line); border-top:0; font-size:10px; border-radius:0 0 8px 8px; }
.deep-workbench { display:grid; grid-template-columns:179px minmax(0,1fr); gap:15px; margin-top:18px; align-items:start; }
.deep-points { position:sticky; top:88px; display:grid; gap:3px; padding:9px; border:1px solid var(--line); border-radius:9px; background:#f0f2eb; }
.deep-point { display:flex; gap:8px; align-items:flex-start; width:100%; padding:12px 7px; border-radius:6px; text-align:left; }
.deep-point:hover { background:#e4eadc; }.deep-point.active { background:#fff; box-shadow:0 1px 6px #192b2410; }
.deep-point>i { display:flex; align-items:center; justify-content:center; width:23px; height:23px; border:1px solid #cbd3c0; border-radius:50%; font-size:9px; font-style:normal; flex-shrink:0; }
.deep-point.active>i,.deep-point.complete>i { background:#42634c; color:#fff; border-color:#42634c; }.deep-point>i .icon { width:12px; height:12px; }
.deep-point b { display:block; font-size:10px; font-weight:600; line-height:1.6; }.deep-point small { display:block; font-size:8px; color:#7a8571; margin-top:5px; line-height:1.7; }
.deep-document { min-width:0; background:#fff; border:1px solid var(--line); border-radius:10px; padding:23px; }
.deep-doc-head { display:flex; justify-content:space-between; align-items:start; gap:10px; }
.deep-doc-head h2 { font-size:18px; margin:9px 0; }.deep-doc-head p { font-size:11px; color:#748067; }.deep-doc-head .badge { white-space:nowrap; }
.deep-document-id { color:#7b846f; font-size:9px; overflow-wrap:anywhere; margin:8px 0 21px; }
.deep-gate { padding:14px; border:1px solid #e1e6da; background:#f7f8f3; border-radius:7px; margin-bottom:22px; font-size:10px; line-height:1.7; }
.deep-gate>b { display:block; margin-bottom:9px; }.deep-gate p { color:#7d866f; margin:8px 0 0; }
.deep-gate-item { display:flex; align-items:center; gap:6px; color:#9d7d45; text-align:left; font-size:10px; }.deep-gate-item.ok { color:#4d6e49; }.deep-gate-item .icon { width:13px; height:13px; }
.deep-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.deep-fields .field { margin:0; min-width:0; }.deep-fields input,.deep-fields textarea,.deep-fields select { width:100%; min-width:0; font-size:11px; }
.deep-fields label { font-size:10px; }.required { color:#929b85; font-size:9px; }.deep-wide { grid-column:1/-1; }
.deep-fields input:disabled,.deep-fields select:disabled,.deep-fields textarea:disabled { background:#f5f6f1; color:#56624e; opacity:1; }
.deep-output { margin-top:25px; border-top:1px solid var(--line); padding-top:19px; }.deep-output h3,.quote-lines h3 { font-size:12px; margin:0; }
.deep-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:14px 0; }
.deep-metrics>div { min-width:0; padding:13px; background:#f3f5ee; border-radius:6px; }.deep-metrics small { display:block; font-size:10px; color:#748067; }.deep-metrics strong { display:block; font-size:19px; font-weight:600; margin-top:10px; overflow-wrap:anywhere; }.deep-metrics em { font-size:10px; font-style:normal; margin-left:4px; font-weight:400; }
.deep-metrics strong:has(em:empty) { font-size:13px; line-height:1.7; }
.deep-warning { display:flex; gap:6px; align-items:flex-start; color:#9c6932; background:#faf2e5; padding:10px; font-size:10px; line-height:1.7; border-radius:5px; }.deep-warning .icon { flex-shrink:0; width:14px; height:14px; }
.deep-files { margin:22px 0; font-size:10px; }.deep-files label { font-weight:600; }.deep-files input { max-width:100%; padding:8px 0; font-size:10px; }.deep-files ul { padding-left:16px; color:#78816c; line-height:1.9; overflow-wrap:anywhere; }
.deep-errors { color:#a35034; font-size:11px; line-height:1.9; }.deep-errors:not(:empty) { border:1px solid #e4cbbc; background:#fff6ef; padding:14px; border-radius:6px; margin:13px 0; }.deep-errors ul { padding-left:18px; }
.deep-doc-actions { display:flex; flex-wrap:wrap; gap:8px; padding-top:17px; border-top:1px solid var(--line); }.deep-doc-actions .btn { font-size:10px; padding-inline:12px; }
.deep-handoff { border-top:1px solid var(--line); padding:20px 0; margin-top:22px; font-size:11px; }.deep-handoff p { font-size:10px; line-height:1.8; color:#6c785f; }
.deep-history { padding:15px 0; border-top:1px solid var(--line); font-size:10px; }.deep-history summary { cursor:pointer; font-weight:600; }.deep-history p { padding:8px 11px; background:#f5f6f1; border-radius:5px; line-height:1.8; }.deep-history small { display:block; color:#78836b; }.deep-exception { font-size:10px; padding-top:13px; color:#987847; line-height:1.8; border-top:1px solid var(--line); }
.aside-field-note { padding:12px; margin:13px 0; font-size:10px; color:#526d4d; line-height:1.9; background:#f0f4e8; border-radius:6px; }
.quote-lines { margin:8px 0; }.quote-input-row { display:grid; grid-template-columns:minmax(0,1fr) 70px auto; gap:7px; margin:11px 0; }.quote-input-row .btn { padding-inline:8px; font-size:9px; }
.deep-map-hero { display:flex; gap:25px; padding:27px; border-radius:10px; background:#243b2e; color:#eef3e7; margin-bottom:19px; }
.deep-map-hero h2 { font-size:23px; margin:12px 0; }.deep-map-hero p { font-size:11px; max-width:520px; line-height:1.9; opacity:.75; }.deep-map-hero .eyebrow { color:#b0c69c; }.deep-map-count { min-width:120px; display:grid; font-size:10px; color:#bbcdb0; text-align:right; }.deep-map-count b { font-size:28px; color:#e1ebd5; }
.deep-map-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; margin-top:20px; }.deep-flow-card { padding:22px; min-width:0; }.deep-flow-card h3 { font-size:16px; margin:15px 0 10px; }.deep-flow-card footer { margin-top:18px; }
.deep-map-nodes { display:grid; gap:1px; margin-top:15px; }.deep-map-nodes button { display:flex; align-items:center; justify-content:space-between; gap:10px; text-align:left; padding:10px 0; font-size:11px; border-bottom:1px solid #edf0e6; }.deep-map-nodes button:hover { color:var(--accent); background:#f5f7f0; }.deep-map-nodes .icon { width:12px; height:12px; color:#929f83; }
.deep-role-intro { display:block; width:100%; text-align:left; }.deep-role-intro small { color:#7f8972; font-size:9px; }.role-card>.btn { margin-top:18px; width:100%; font-size:10px; border-color:#cad6bf; color:#42603c; }
.deep-card { padding:22px; margin-bottom:18px; }.deep-linkrow { padding:14px 0; border-top:1px solid var(--line); font-size:11px; }.deep-linkrow small { display:block; color:#7a846c; font-size:10px; margin:8px 0; }.deep-linkrow .btn { font-size:10px; }
.deep-lifecycle { margin-top:18px; }.deep-record-link { display:flex; align-items:center; gap:10px; width:100%; padding:14px 0; border-top:1px solid #ebeee3; text-align:left; }.deep-record-link span:first-child { flex:1; }.deep-record-link b { font-size:11px; font-weight:500; }.deep-record-link small { display:block; font-size:9px; color:#89917e; margin-top:6px; }.deep-record-link .icon { width:13px; height:13px; }.deep-record-link:hover { background:#f4f6ef; }
.deep-finance-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin:22px 0; }.deep-finance-metrics .metric { padding:18px; background:#fff; border:1px solid var(--line); border-radius:8px; }.deep-finance-metrics strong { display:block; font-size:22px; margin-top:12px; }.deep-finance-metrics small { font-size:10px; color:#7e8a72; }.deep-formula { font-size:13px; line-height:2.2; padding:20px; background:#f3f6ed; border-radius:7px; }
.deep-ledger { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:14px 0; border-top:1px solid var(--line); font-size:11px; }.deep-ledger small { display:block; margin-top:7px; color:#859078; font-size:10px; }
.deep-label { width:290px; max-width:100%; border:1px solid #a8b39c; padding:22px; margin:auto; font-size:12px; line-height:1.9; }.deep-label strong { display:block; padding-top:18px; font-size:10px; color:#937841; }.deep-print dt { font-size:10px; color:#7a856d; margin-top:15px; }.deep-print dd { font-size:12px; margin:7px 0; white-space:pre-wrap; }.deep-analysis-list { font-size:11px; line-height:1.9; padding-left:20px; }
@media(max-width:1320px) { .deep-workbench { grid-template-columns:148px minmax(0,1fr); gap:10px; }.deep-document { padding:18px; }.deep-point { padding:10px 3px; }.deep-point b { font-size:9px; }.deep-point small { font-size:8px; }.deep-flow-head { padding:19px; }.deep-casebar .btn { font-size:9px; }.deep-finance-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:1120px) { .deep-workbench { grid-template-columns:minmax(0,1fr); }.deep-points { position:static; display:flex; overflow-x:auto; padding:8px; }.deep-point { min-width:158px; padding:10px; }.deep-point b { font-size:10px; }.deep-map-hero { padding:21px; }.deep-map-hero h2 { font-size:20px; } }
@media(max-width:680px) { .deep-flow-head { display:block; }.deep-flow-head>.btn { margin-top:16px; }.deep-flow-head h2 { font-size:17px; }.deep-casebar select { max-width:100%; }.deep-context { padding:12px; }.deep-document { padding:15px; }.deep-fields { grid-template-columns:minmax(0,1fr); }.deep-doc-head h2 { font-size:16px; }.deep-metrics strong { font-size:18px; }.deep-map-grid { grid-template-columns:minmax(0,1fr); }.deep-map-hero { display:block; }.deep-map-count { display:flex; align-items:center; gap:9px; justify-content:start; margin-top:16px; font-size:8px; }.deep-map-count b { font-size:22px; }.deep-flow-card { padding:18px; }.deep-breadcrumb { font-size:8px; gap:6px; }.deep-casebar .badge { font-size:8px; }.quote-input-row { grid-template-columns:minmax(0,1fr) 53px; }.quote-input-row .btn { grid-column:1/-1; justify-self:end; }.deep-card { padding:16px; }.deep-finance-metrics strong { font-size:19px; }.deep-record-link { flex-wrap:wrap; }.deep-record-link span:first-child { min-width:140px; overflow-wrap:anywhere; }.deep-formula { padding:13px; font-size:11px; } }
@media print { body>* { display:none!important; } #modal-root { display:block!important; }.modal-backdrop { position:static; display:block; padding:0; background:#fff; }.modal { width:100%; max-width:100%; max-height:none; border:0; box-shadow:none; }.modal-body { max-height:none; overflow:visible; }.modal-head,.modal-actions { display:none; }.deep-label { color:#000; } }
@media(max-width:680px) { .deep-home-entry { display:block; padding:18px; }.deep-home-entry>div:last-child { display:flex; flex-wrap:wrap; margin-top:16px; }.deep-home-entry h2 { font-size:16px; }.deep-handoff .btn { margin:4px 4px 4px 0; }.deep-casebar select { min-width:130px; }.deep-context { overflow-wrap:anywhere; }.deep-document-id { font-size:8px; } }
