:root {
  font-family: 'Aptos', 'Microsoft YaHei UI', 'Segoe UI', sans-serif;
  color: #244b3b;
  background: #faf8ed;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #244b3b;
  --muted: #70796b;
  --line: #dce1cf;
  --paper: #fffef7;
  --canvas: #faf8ed;
  --green: #2c7052;
  --green-dark: #194b38;
  --green-soft: #eaf0dc;
  --orange: #a75e27;
  --orange-soft: #fff0d9;
  --blue: #4c7470;
  --blue-soft: #eaf0e7;
  --red: #b45143;
  --radius: 10px;
  --brand-gold: #edb96c;
  --brand-gold-soft: #fbebc8;
  --brand-sage: #a4b78b;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #86bba0; outline-offset: 2px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #5eaa78; }
h1 { font-size: 25px; line-height: 1.3; margin: 0; font-weight: 700; color: #202a23; }
h2 { font-size: 17px; line-height: 1.4; margin: 0; font-weight: 700; }
h3 { font-size: 13px; margin: 0; font-weight: 700; }
p { margin: 0; }
.subhead { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.eyebrow { color: var(--green); font: 500 10px 'DM Mono', monospace; letter-spacing: 0; text-transform: uppercase; margin-bottom: 7px; }
.btn { border-radius: 5px; border: 1px solid #cfd8d0; background: #fff; color: #354139; font-size: 12px; font-weight: 600; min-height: 36px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.btn:hover { background: #f6f8f5; border-color: #9cad9f; }
.btn.primary { border-color: var(--green); background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-dark); }
.btn.ghost { background: transparent; }
.btn:disabled { cursor: not-allowed; opacity: .45; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 17px 19px; border-bottom: 1px solid #ebefeb; }
.panel-body { padding: 19px; }
.panel-title { font-size: 14px; font-weight: 700; }
.panel-hint { color: #7f8982; font-size: 11px; margin-top: 4px; }
.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { color: #4c5850; font-size: 11px; font-weight: 700; }
.field .hint { color: #8a948d; font-size: 10px; line-height: 1.5; }
.input, .field select, .field textarea { border: 1px solid #d7dfd8; background: white; border-radius: 4px; min-width: 0; width: 100%; color: #273129; padding: 9px 10px; font-size: 12px; }
.input { height: 37px; }
.field textarea { min-height: 76px; resize: vertical; line-height: 1.6; }
.input::placeholder, textarea::placeholder { color: #aab2ac; }
.number-with-unit { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border: 1px solid #d7dfd8; border-radius: 4px; background: white; padding-right: 9px; }
.number-with-unit .input { border: 0; }
.number-with-unit span { color: #829087; font-size: 10px; }
.upload { min-height: 75px; border: 1px dashed #bbc8bd; border-radius: 5px; background: #fafcf9; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.upload strong { display: block; font-size: 11px; }
.upload small { display: block; margin-top: 4px; color: #7b867e; font-size: 10px; line-height: 1.5; }
.upload input { display: none; }
.upload .btn { flex: none; }
.callout { border-left: 3px solid var(--orange); background: var(--orange-soft); color: #744b37; padding: 11px 13px; border-radius: 0 4px 4px 0; font-size: 11px; line-height: 1.65; }
.callout.blue { border-color: var(--blue); background: var(--blue-soft); color: #385a75; }
.callout.green { border-color: var(--green); background: var(--green-soft); color: #315e43; }
.tag { display: inline-flex; align-items: center; gap: 5px; border-radius: 3px; padding: 4px 7px; font-size: 10px; line-height: 1; font-weight: 700; color: #4e6757; background: #eaf2ec; }
.tag.orange { background: #fff0e7; color: #a85d37; }
.tag.blue { background: #eaf2f8; color: #426b8c; }
.tag.gray { background: #eef0ee; color: #69746d; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.metric { padding: 13px 15px; background: white; min-width: 0; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric-label { font-size: 10px; color: #738078; }
.metric-value { font: 500 21px 'DM Mono', monospace; margin-top: 7px; color: #26362b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric-value.positive { color: var(--green); }
.metric-value.negative { color: var(--red); }
.metric-foot { color: #98a19b; font-size: 9px; margin-top: 4px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { border: 0; border-bottom: 2px solid transparent; background: none; color: #737f76; padding: 11px 14px 10px; font-size: 11px; white-space: nowrap; }
.tabs button.active { border-color: var(--green); color: var(--green-dark); font-weight: 700; }
.dimension-list { display: grid; gap: 0; }
.dimension { display: grid; grid-template-columns: 105px minmax(0, 1fr) auto; gap: 15px; border-bottom: 1px solid #edf0ed; padding: 14px 0; align-items: start; }
.dimension:last-child { border-bottom: 0; padding-bottom: 0; }
.dimension:first-child { padding-top: 0; }
.dimension-name { font-size: 12px; font-weight: 700; }
.dimension p { color: #67736a; font-size: 11px; line-height: 1.65; }
.evidence-link { color: #4777a0; font-size: 10px; margin-top: 5px; display: inline-block; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 10px; }
th { color: #7c8880; font-weight: 600; background: #f7f9f6; }
th, td { border-bottom: 1px solid #ebefeb; padding: 10px 11px; white-space: nowrap; }
td { color: #455148; }
tr:last-child td { border-bottom: 0; }
.radio-list { display: grid; gap: 7px; margin-top: 10px; }
.choice { border: 1px solid #dce3dd; border-radius: 4px; display: flex; align-items: flex-start; gap: 9px; padding: 10px; cursor: pointer; font-size: 11px; line-height: 1.5; color: #556158; }
.choice:has(input:checked) { border-color: #78a88b; background: #f0f7f2; color: #335742; }
.choice input { accent-color: var(--green); margin-top: 2px; }
.outcome { border-radius: 5px; padding: 13px 15px; display: flex; gap: 12px; align-items: flex-start; background: #eff6f1; border: 1px solid #d6e8dc; }
.outcome-mark { color: var(--green); font-size: 16px; line-height: 1; }
.outcome strong { display: block; font-size: 11px; margin-bottom: 4px; }
.outcome p { font-size: 10px; line-height: 1.6; color: #64766a; }
.report { max-width: 880px; }
.report-section { padding: 18px 0; border-bottom: 1px solid #e9eee9; }
.report-section:last-child { border-bottom: 0; }
.report-section h3 { margin-bottom: 10px; }
.report-copy { color: #5e6a61; font-size: 11px; line-height: 1.8; }
.empty-state { padding: 28px; text-align: center; color: #758078; font-size: 12px; }
.toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: #22372a; color: white; border-radius: 5px; padding: 10px 15px; font-size: 11px; box-shadow: 0 7px 24px #1b332033; z-index: 10; }

/* ---- 布局：顶栏、入口、工作台 ---- */
html { scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--ink); line-height: 1.5; }
code { font: 11px 'DM Mono', monospace; background: #eef1ee; padding: 1px 5px; border-radius: 3px; }
.muted { color: #7a857d; font-size: 11px; line-height: 1.7; }
.hint { color: #8a948d; font-size: 11px; line-height: 1.6; }
.warn { color: var(--orange); }
.topbar { min-height: 58px; display: flex; align-items: center; gap: 18px; padding: 8px 28px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 4; }
.brand { display: flex; align-items: center; gap: 10px; border: 0; background: none; color: var(--green-dark); font-weight: 800; font-size: 18px; padding: 0; text-align: left; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; display: block; flex: none; object-fit: cover; }
.brand small { display: block; color: #89928c; font-size: 10px; font-weight: 500; }
.recent { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; }
.recent-item { border: 1px solid transparent; background: none; border-radius: 5px; padding: 5px 10px; text-align: left; max-width: 190px; flex: none; }
.recent-item:hover, .recent-item.active { background: #eef3ee; border-color: #d9e4db; }
.recent-item span { display: block; font-size: 11px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-item small { color: #8b968e; font-size: 9px; }
.content { max-width: 1240px; margin: 0 auto; padding: 28px 28px 70px; }
.entry-page { max-width: 780px; padding-top: 44px; }
.entry-page h1 { font-size: 30px; margin-top: 4px; }
.product-entry { display: grid; gap: 9px; margin-top: 26px; }
.product-entry > label { font-size: 12px; font-weight: 700; color: #4c5850; }
.product-entry-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.product-entry-row .input { height: 50px; font-size: 14px; padding: 0 14px; }
.product-entry-row .btn { height: 50px; min-width: 116px; font-size: 13px; }
.entry-actions { margin-top: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.entry-page .callout { margin-top: 16px; }
.page-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.work-main { display: grid; gap: 16px; min-width: 0; }
.work-side { display: grid; gap: 12px; position: sticky; top: 72px; max-height: calc(100vh - 88px); overflow-y: auto; padding-right: 2px; }
.section-title { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.section-title h2 { font-size: 16px; }
.timeline { display: grid; gap: 8px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-card.running { border-color: #9ec0d8; box-shadow: 0 0 0 3px #eaf2f8; }
.step-card.failed { border-color: #e2b0a8; }
.step-head { display: flex; align-items: center; gap: 11px; padding: 12px 15px; cursor: pointer; }
.step-head:focus-visible { outline: 3px solid #86bba0; outline-offset: -3px; }
.step-no { width: 24px; height: 24px; border-radius: 50%; background: #eef3ee; color: var(--green-dark); display: grid; place-items: center; font: 500 11px 'DM Mono', monospace; flex: none; }
.step-card.done .step-no { background: var(--green); color: #fff; }
.step-title { flex: 1; min-width: 0; display: grid; gap: 2px; }
.step-title b { font-size: 13px; }
.step-title small { color: #7a857d; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step-time { color: #9aa39d; font: 10px 'DM Mono', monospace; }
.step-body { padding: 4px 15px 16px 50px; display: grid; gap: 12px; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.card-grid h4, .panel h4 { margin: 0 0 5px; font-size: 11px; color: #5f6b63; }
.card-grid p, .step-body p { font-size: 12px; line-height: 1.75; color: #3f4a43; }
.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; padding: 12px; border-left: 3px solid var(--blue); background: var(--blue-soft); }
.scope-grid section { min-width: 0; }
.scope-grid b { font-size: 11px; color: #385a75; }
.scope-grid p { margin: 4px 0 0; }
.glossary-groups { display: grid; gap: 8px; margin-top: 14px; }
.glossary { border-top: 1px solid var(--line); padding-top: 9px; }
.glossary > summary { color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.glossary ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; margin: 10px 0 0; padding-left: 18px; }
.term-help { color: inherit; text-decoration-line: underline; text-decoration-style: dotted; text-underline-offset: 2px; cursor: help; }
abbr.term-help { border: 0; font: inherit; }
details.term-help { display: inline; }
details.term-help > summary { display: inline; color: inherit; cursor: help; list-style: none; }
.term-help > summary::-webkit-details-marker { display: none; }
.term-help > span { display: inline; margin-left: 5px; padding: 2px 5px; border-radius: 4px; background: var(--blue-soft); color: #385a75; line-height: 1.6; }
.glossary li { min-width: 0; font-size: 12px; line-height: 1.7; }
.verify { color: #6e7a72 !important; font-size: 11px !important; margin-top: 4px; }
.found { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.found li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 12px; line-height: 1.65; }
.found li small { display: block; color: #7a857d; }
.ids { color: #8a948d; font: 10px 'DM Mono', monospace; }
.skeleton { display: grid; gap: 7px; }
.skeleton i { display: block; height: 10px; border-radius: 3px; background: linear-gradient(90deg, #eef1ee, #f7f9f7, #eef1ee); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.skeleton i:nth-child(2) { width: 80%; }
.skeleton i:nth-child(3) { width: 55%; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton i { animation: none; } html { scroll-behavior: auto; } }
.lesson-inline { border: 1px solid #cfe2d6; background: #f5faf6; border-radius: 5px; padding: 13px 15px; display: grid; gap: 9px; }
.lesson-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lesson-head .eyebrow { margin: 0; }
.why-node { font-size: 11px !important; color: #4a6254 !important; }
.lesson-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.lesson-grid b { font-size: 11px; color: #4a6254; }
.lesson-grid ul { margin: 4px 0 0; padding-left: 16px; font-size: 12px; line-height: 1.7; }
.rule { font-size: 12px !important; border-top: 1px dashed #c8dccf; padding-top: 8px; }
.candidate-list { display: grid; gap: 8px; }
.candidate { text-align: left; border: 1px solid #cfd8d0; background: #fff; border-radius: 5px; padding: 10px 13px; display: grid; gap: 3px; }
.candidate:hover:not(:disabled) { border-color: var(--green); background: #f3f9f5; }
.candidate small { color: #7a857d; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.checks li { display: grid; gap: 2px; font-size: 12px; padding-left: 12px; border-left: 3px solid #e6c7b4; }
.checks small { color: #7a857d; }
.chart { margin: 0; border: 1px solid var(--line); border-radius: 5px; padding: 12px 14px; background: #fcfdfc; display: grid; gap: 8px; }
.chart figcaption { font-size: 11px; font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chart figcaption small { font-weight: 400; color: #7a857d; }
.chart-empty { border: 1px dashed #d9c3b5; background: #fffaf6; border-radius: 5px; padding: 12px 14px; display: grid; gap: 3px; font-size: 12px; color: #8a5a3e; }
.bar-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 11px; }
.bar-label small { display: block; color: #8a948d; font-size: 10px; }
.bar-track { background: #eef1ee; border-radius: 3px; height: 14px; }
.bar-fill { height: 100%; border-radius: 3px; background: var(--blue); }
.bar-fill.excluded { background: repeating-linear-gradient(135deg, #c9d3cc, #c9d3cc 4px, #e7ece8 4px, #e7ece8 8px); }
.bar-value { font: 11px 'DM Mono', monospace; display: grid; justify-items: end; }
.bar-note { font: 10px 'Manrope', 'Noto Sans SC', sans-serif; color: var(--orange); }
.wf-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 84px; gap: 10px; align-items: center; font-size: 11px; }
.wf-track { position: relative; height: 16px; background: #f1f4f1; border-radius: 3px; }
.wf-bar { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.wf-bar.in { background: #7aa7c9; }
.wf-bar.out { background: #e0a98d; }
.wf-bar.sub { background: #9bb9a5; }
.wf-bar.total { background: var(--green); }
.wf-bar.loss { background: var(--red); }
.wf-unknown { position: absolute; inset: 0; display: grid; align-items: center; padding-left: 8px; color: var(--orange); font-size: 10px; border: 1px dashed #e0b8a2; border-radius: 3px; }
.wf-value { text-align: right; font: 11px 'DM Mono', monospace; }
.wf-value.neg { color: var(--red); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 15px; display: grid; gap: 8px; }
.side-card h4 { margin: 0; font-size: 12px; }
.side-card p { font-size: 12px; margin: 0; }
.side-card textarea { width: 100%; min-height: 62px; border: 1px solid #d7dfd8; border-radius: 4px; padding: 8px 10px; font-size: 12px; resize: vertical; }
.choices { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { cursor: pointer; position: relative; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; border: 1px solid #cfd8d0; border-radius: 999px; padding: 5px 12px; font-size: 11px; background: #fff; }
.pill input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid #86bba0; outline-offset: 2px; }
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 240px; overflow-y: auto; }
.sources li { font-size: 11px; line-height: 1.5; padding: 7px 0; border-bottom: 1px solid #eef1ee; }
.sources li:last-child { border-bottom: 0; padding-bottom: 0; }
.sources li:first-child { padding-top: 0; }
.src-head { display: flex; gap: 6px; align-items: baseline; }
.src-head b { flex: none; font: 500 10px 'DM Mono', monospace; color: #7a857d; }
.src-head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src-meta { color: #8a948d; font-size: 10px; margin-top: 1px; }
.sources details { margin-top: 3px; }
.sources summary { color: #4777a0; font-size: 10px; cursor: pointer; }
.sources details[open] summary { margin-bottom: 2px; }
.issues { margin: 0; padding-left: 16px; font-size: 11px; line-height: 1.7; color: #8a5a3e; }
.verdict { display: grid; gap: 3px; background: #f3f7f4; border-left: 3px solid var(--green); padding: 10px 14px; border-radius: 0 4px 4px 0; margin-bottom: 14px; font-size: 12px; }
.dimension-name small { display: block; color: #8a948d; font-weight: 400; font-size: 10px; margin-top: 3px; line-height: 1.5; }
.judgment { font-size: 12px !important; color: #2f3a33 !important; }
.notes { display: grid; gap: 8px; margin-top: 10px; }
.note { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; border: 1px solid #e3e9e4; border-radius: 5px; padding: 10px 12px; background: #fbfcfb; }
.note-fig { display: grid; gap: 3px; align-content: start; }
.note-label { font-size: 10px; color: #7a857d; }
.note-fig strong { font: 500 16px 'DM Mono', monospace; }
.note-fig small { color: #8a948d; font-size: 10px; }
.note-read b { font-size: 11px; color: #4777a0; }
.note-read p { font-size: 11px; color: #4a554d; line-height: 1.7; }
.note-read small { color: #7a857d; font-size: 10px; }
.steps-list { margin: 0; padding-left: 18px; display: grid; gap: 9px; font-size: 12px; }
.steps-list li span, .steps-list li small { display: block; color: #6e7a72; font-size: 11px; }
.versions { margin-top: 16px; border-top: 1px solid #edf0ed; padding-top: 12px; display: grid; gap: 6px; }
.version { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px; align-items: baseline; }
.version small { color: #7a857d; flex-basis: 100%; }
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 12px; }
.versus > div { border: 1px solid var(--line); border-radius: 5px; padding: 12px 14px; display: grid; gap: 4px; align-content: start; }
.versus .eyebrow { margin: 0; }
.diff { font-size: 12px; line-height: 1.75; }
.driver { font-size: 11px; color: #4a554d; margin-top: 4px; }
.practice { border: 1px solid var(--line); border-radius: 5px; padding: 14px 15px; display: grid; gap: 10px; align-content: start; }
.practice h4 { font-size: 13px; margin: 0; }
.explain { font-size: 11px; color: #5f6b63; }
.choice small { display: block; margin-top: 4px; color: #6e7a72; }
.choice.correct { border-color: #78a88b; background: #f0f7f2; }
.choice.wrong { border-color: #e1b1a8; background: #fdf3f1; }
.rationale { display: grid; gap: 7px; margin-top: 12px; font-size: 12px; }
.rationale q { color: #4777a0; margin: 0 6px; }
.rationale span { color: #5f6b63; }
.field textarea { min-height: 70px; }
.fx { margin-top: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tag.green { background: #e4f1e9; color: #266b49; }
.tag.red { background: #fbe9e6; color: #a14337; }
.report h2 { font-size: 16px; margin: 4px 0 10px; }
.report h3 { font-size: 14px; margin: 18px 0 8px; }
.report h4 { font-size: 12px; margin: 14px 0 6px; }
.report p, .report li { font-size: 12px; line-height: 1.8; color: #46524a; }
.report ul { margin: 6px 0; padding-left: 18px; }
.report li.sub { margin-left: 18px; list-style: circle; }
.report .btn-row { margin-bottom: 12px; }
.panel { overflow: hidden; }
.panel-body.grid.two { align-items: start; }
@media (max-width: 1020px) { .work-grid { grid-template-columns: 1fr; } .work-side { position: static; max-height: none; } }
@media (max-width: 720px) {
  .topbar { padding: 8px 14px; gap: 10px; }
  .recent, .brand small { display: none; }
  .content { padding: 18px 16px 60px; }
  .entry-page { padding-top: 22px; }
  .product-entry-row { grid-template-columns: 1fr; }
  .card-grid, .scope-grid, .lesson-grid, .versus, .grid.two, .fx { grid-template-columns: 1fr; }
  .glossary ul { grid-template-columns: 1fr; }
  .step-body { padding-left: 15px; }
  .step-time { display: none; }
  .bar-row { grid-template-columns: 1fr; gap: 4px; }
  .wf-row { grid-template-columns: 90px minmax(0, 1fr) 72px; }
  .note { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .dimension { grid-template-columns: 1fr; gap: 6px; }
  .field-grid { grid-template-columns: 1fr 1fr; }
}
@media print { .topbar, .work-side, .timeline, .btn, .btn-row, .tabs { display: none !important; } .work-grid { display: block; } .content { padding: 0; } .panel { border: 0; } }

/* Pickwise field-notes visual language */
body { background: var(--canvas); color: var(--ink); }
.topbar { background: rgba(255,255,252,.96); border-color: #d8ded4; box-shadow: 0 1px 0 rgba(32,41,35,.025); }
.brand-mark { box-shadow: none; }
.content { max-width: 1320px; }
.entry-page { position: relative; max-width: 800px; padding: 52px 0 76px; }
.entry-art { position: absolute; top: 28px; right: 4px; width: 174px; height: 142px; border: 1px solid #d5ded1; border-radius: 5px; background: #eff3e9; overflow: hidden; transform: rotate(2deg); }
.entry-art::before { content: ''; position: absolute; inset: 12px; border: 1px solid #d9e1d6; border-radius: 3px; background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(36,105,71,.08) 23px 24px), repeating-linear-gradient(90deg, transparent 0 32px, rgba(36,105,71,.06) 33px 34px); }
.entry-art-grid { position: absolute; inset: 34px 31px 27px; display: flex; align-items: end; gap: 9px; z-index: 1; }
.entry-art-grid i { display: block; flex: 1; height: 38%; border-radius: 2px 2px 0 0; background: #72937a; }
.entry-art-grid i:nth-child(2) { height: 64%; background: #b8a36d; }
.entry-art-grid i:nth-child(3) { height: 49%; }
.entry-art-grid i:nth-child(4) { height: 83%; background: #d07c4c; }
.entry-art-grid i:nth-child(5) { height: 58%; }
.entry-art-lens { position: absolute; width: 36px; height: 36px; border: 4px solid #204e38; border-radius: 50%; right: 18px; top: 21px; z-index: 2; }
.entry-art-lens::after { content: ''; position: absolute; width: 17px; height: 4px; right: -13px; bottom: -6px; background: #204e38; border-radius: 2px; transform: rotate(48deg); }
.entry-art-pin { position: absolute; z-index: 3; left: 11px; top: 10px; width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid #f7f7f2; border-radius: 50%; color: #fff; background: #b95d36; font-size: 10px; font-weight: 800; }
.entry-art--coach { display: grid; place-items: center; padding: 7px; background: #e6efe6; }
.entry-art--coach::before { display: none; }
.entry-art--coach img { width: 128px; height: 128px; object-fit: contain; }
.eyebrow { color: #286548; font-weight: 700; }
h1 { color: #1c3025; letter-spacing: 0; }
.entry-page h1 { max-width: 540px; font-size: 34px; line-height: 1.28; }
.entry-page > .subhead { max-width: 540px; font-size: 14px; }
.product-entry { margin-top: 32px; }
.product-entry > label { color: #33483a; font-size: 13px; }
.product-entry-row .input { border-color: #cbd5ca; border-radius: 4px; box-shadow: 0 2px 5px rgba(31,52,39,.04); }
.product-entry-row .input:focus { border-color: #4c8a65; }
.btn { border-radius: 4px; transition: background-color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(24,52,35,.08); }
.btn.primary { background: #245f40; border-color: #245f40; }
.btn.primary:hover:not(:disabled) { background: #173f2d; }
.panel, .step-card, .side-card { border-color: #d8dfd5; box-shadow: 0 2px 8px rgba(38,53,42,.035); }
.panel-head { background: #fffefa; border-color: #e8ece4; }
.step-card.running { border-color: #76a8ae; box-shadow: 0 0 0 3px #e7f0f1; }
.step-no { background: #e8eee4; color: #28543b; }
.step-card.done .step-no { background: #266b48; }
.chart { border-color: #d8dfd5; background: #fffefa; }
.chart figcaption { color: #293c30; }
.bar-track, .wf-track { background: #edf0e9; }
.bar-fill { background: #3d7184; }
.bar-fill:not(.excluded) { background: #5f9271; }
.wf-bar.in { background: #4f8c9b; }
.wf-bar.out { background: #d07a4b; }
.wf-bar.sub { background: #8ca879; }
.wf-bar.total { background: #286948; }
.side-card h4 { color: #2d4334; }
.tag { border-radius: 3px; }
.callout { background: #fbede3; color: #75452e; }
a { color: #356c80; }
a:hover { color: #204e38; }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
@media (max-width: 720px) {
  .content { padding: 16px 14px 48px; }
  .entry-page { padding: 34px 0 44px; }
  .entry-art { position: relative; top: auto; right: auto; width: 132px; height: 108px; margin: 0 2px 28px auto; }
  .entry-page h1 { font-size: 29px; max-width: none; }
  .entry-page > .subhead { font-size: 13px; }
  .product-entry-row .btn { width: 100%; }
  .panel-head { padding: 14px; flex-wrap: wrap; }
  .panel-body { padding: 15px; }
  .metric { padding: 11px 12px; }
  .bar-row { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .bar-value { grid-column: 2; grid-row: 1; }
  .wf-row { grid-template-columns: minmax(76px, .8fr) minmax(0, 1.5fr) auto; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Modern office: one SVG viewBox owns furniture, actor and chair coordinates. */
.modern-office { border: 1px solid #d7dfd4; border-radius: 12px; background: #fffefa; overflow: hidden; }
.team-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 22px; }
.team-heading h2 { font-size:19px; color:#244c3a; }
.team-heading p { margin-top:4px; font-size:12px; line-height:1.6; color:var(--muted); }
.team-heading .eyebrow { font-size:10px; margin-bottom:4px; }
.team-heading > .btn { flex:none; }
.office-stage { position:relative; width:100%; aspect-ratio:3 / 2; background:#e4dac5; overflow:hidden; }
.office-world { display:block; width:100%; height:100%; }
.office-world text { font-family:inherit; }
.office-caption { display:flex; align-items:baseline; gap:12px; padding:13px 20px; border-top:1px solid #dce2d6; background:#f2f5ec; color:#3b5944; }
.office-caption strong { font-size:12px; white-space:nowrap; }
.office-caption span { font-size:12px; line-height:1.7; }
.office-role-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); list-style:none; padding:0; margin:0; }
.office-role-item { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:4px 8px; padding:12px 18px; min-width:0; border-top:1px solid #e5e8df; }
.office-role-item b { color:#35513e; font-size:12px; }
.office-role-item small { grid-column:1/-1; color:#7c887e; font-size:10px; }
.office-role-item > span { color:#7b867c; background:#f0f2ec; border-radius:4px; font-size:10px; padding:2px 6px; }
.office-role-item > span[data-status="running"] { color:#285b45; background:#dfedde; }
.office-role-item > span[data-status="unverified"],.office-role-item > span[data-status="insufficient"] { color:#98623c; background:#fcf0de; }
.office-playback { display:flex; align-items:center; gap:8px; padding:11px 16px; flex-wrap:wrap; border-top:1px solid #dde3d5; }
.office-playback label { flex:1; min-width:100px; display:flex; align-items:center; gap:7px; font-size:11px; color:#6b7a69; }
.office-playback input { width:100%; accent-color:#3b684b; }
.office-playback > span { font-size:11px; color:#687963; }
.office-event-details { padding:11px 18px; border-top:1px solid #e3e7dd; color:#6a7b68; font-size:11px; }
.office-event-details ol { list-style:none; margin:10px 0 0; padding:0; display:grid; gap:7px; }
.office-event-details li { display:flex; gap:12px; flex-wrap:wrap; }
.office-event-details time { margin-left:auto; color:#92a08c; }
.office-demo-page { max-width:1120px; margin:8px auto 48px; }
.office-demo-note { margin-bottom:15px; font-size:13px; line-height:1.8; color:#68785f; }
@media (max-width:720px) {
 .team-heading { padding:13px 14px; gap:10px; align-items:start; }
 .team-heading h2 { font-size:16px; }
 .team-heading p { font-size:10px; }
 .team-heading > .btn { font-size:10px; padding:7px 9px; }
 .office-caption { flex-direction:column; gap:4px; padding:10px 13px; }
 .office-role-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .office-role-item { padding:10px 12px; }
 .office-playback { padding:10px; gap:6px; }
 .office-playback .btn { padding:7px 9px; font-size:11px; }
}
@media print { .modern-office { display:none!important; } }
/* Workspace layout: persistent navigation and separate task surfaces. */
.app-shell { --nav-width: 216px; min-height: 100vh; }
.app-nav { width: var(--nav-width); position: fixed; inset: 0 auto 0 0; z-index: 12; display: flex; flex-direction: column; padding: 28px 16px 20px; border-right: 1px solid var(--line); background: var(--paper); }
.nav-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 42px; padding: 0 4px; }
.nav-brand .brand { gap: 8px; font-size: 21px; }
.nav-brand .brand small { font-size: 11px; margin-top: 4px; }
.nav-brand .brand-mark { width: 42px; height: 42px; border-radius: 11px; }
.nav-collapse { margin-left: auto; border: 1px solid var(--line); background: var(--paper); border-radius: 5px; min-width: 25px; height: 28px; color: var(--muted); }
.app-nav nav { display: grid; gap: 8px; }
.nav-item { border: 0; background: none; min-height: 48px; padding: 12px 14px; border-radius: 8px; display: flex; align-items: center; gap: 12px; text-align: left; font-size: 14px; color: var(--muted); }
.nav-item:hover { background: var(--canvas); color: var(--green-dark); }
.nav-item.active { color: var(--green-dark); background: var(--green-soft); font-weight: 700; }
.nav-symbol { width: 22px; font-size: 22px; text-align: center; flex: none; }
.nav-bottom { margin-top: auto; display: grid; gap: 18px; padding: 30px 10px 0; }
.nav-note p { color: var(--green-dark); font-size: 22px; line-height: 1.7; font-weight: 700; }
.nav-bottom > small { color: var(--muted); font-size: 10px; }
.nav-demo { width: 100%; }
.app-body { margin-left: var(--nav-width); min-width: 0; min-height: 100vh; display: flex; flex-direction: column; }
.workspace-topbar { min-height: 72px; display: flex; gap: 14px; justify-content: space-between; align-items: center; padding: 14px 30px; background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mode-indicator { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.mode-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; flex: none; }
.is-demo .mode-dot { background: var(--orange); }
.workspace-content { padding: 28px 30px 48px; width: 100%; max-width: 1920px; margin: 0 auto; flex: 1; min-width: 0; }
.workspace-page-heading { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.workspace-page-heading h1 { font-size: 26px; }
.workspace-page-heading p { color: var(--muted); font-size: 12px; margin-top: 7px; }
.current-product { max-width: 380px; min-width: 0; text-align: right; font-size: 12px; }
.current-product > span { display: block; overflow-wrap: anywhere; }
.current-product small { display: block; color: var(--muted); margin-top: 4px; }
.workspace-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px 30px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); }
.session-heading { margin-bottom: 20px; }
.session-heading .page-head { margin-bottom: 12px; }
.session-heading h1 { font-size: 19px; }
.session-heading .subhead { font-size: 11px; }
.demo-context { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 14px; background: var(--orange-soft); color: var(--orange); border-radius: 6px; font-size: 11px; }
.page-stack { display: grid; gap: 20px; min-width: 0; }
.room-layout { display: grid; grid-template-columns: 210px minmax(0,1fr) 280px; align-items: start; gap: 18px; }
.room-main, .task-rail, .explanation-rail { display: grid; gap: 18px; min-width: 0; }
.task-flow .panel-head { display: grid; gap: 4px; padding: 17px; }
.task-flow h2, .task-summary h2, .step-explanation h2, .report-guide h2 { font-size: 14px; }
.task-flow ol { list-style: none; padding: 8px; margin: 0; display: grid; gap: 4px; }
.task-step { display: flex; align-items: center; gap: 10px; padding: 13px 9px; border: 1px solid transparent; width: 100%; border-radius: 6px; background: transparent; text-align: left; }
.task-step.selected { border-color: var(--line); background: var(--green-soft); }
.task-number { color: var(--muted); font: 11px monospace; }
.task-step b { display: block; font-size: 12px; color: var(--ink); }
.task-step small { display: block; margin-top: 6px; }
.task-arrow { margin-left: auto; color: var(--muted); }
.task-step .tag { font-size: 10px; background: transparent; padding: 0; }
.task-summary .panel-body { padding: 16px; }
.task-summary dl { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px 10px; font-size: 11px; margin: 0; }
.task-summary dt { color: var(--muted); }
.task-summary dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.rail-note { font-size: 11px; line-height: 1.8; color: var(--muted); padding: 0 8px; }
.room-main .team-heading { padding: 16px 18px; gap: 12px; }
.room-main .team-heading h2 { font-size: 17px; }
.room-main .team-heading p { font-size: 11px; }
.room-main .team-heading .btn { min-height: 30px; font-size: 11px; padding: 0 9px; }
.room-main .office-role-item { padding: 10px 12px; }
.room-main .office-event-details { display: none; }
.step-detail-block .section-title { margin: 0 0 12px; }
.step-explanation .panel-body { display: grid; gap: 20px; }
.step-explanation section { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.step-explanation section:last-child { border-bottom: 0; padding-bottom: 0; }
.step-explanation h3 { font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.step-explanation p { font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.explanation-wait { padding: 24px 0; }
.coach-drawer, .report-document { border: 1px solid var(--line); border-radius: 7px; background: var(--paper); overflow: hidden; }
.coach-drawer > summary, .report-document > summary { padding: 17px 19px; font-size: 12px; font-weight: 600; cursor: pointer; }
.coach-drawer > summary span, .report-document > summary span { float: right; }
.coach-drawer > .panel { border: 0; }
.coach-drawer > p { padding: 18px; font-size: 12px; }
.report-document > .panel { border: 0; border-top: 1px solid var(--line); }
.report-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 22px; align-items: start; }
.report-guide { display: grid; gap: 18px; }
.report-guide .panel-body { display: grid; gap: 12px; }
.report-guide p { font-size: 12px; line-height: 1.9; margin-bottom: 6px; }
.evidence-detail-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); align-items: start; gap: 20px; }
.evidence-detail-grid > .side-card:first-child { grid-row: span 2; }
.evidence-detail-grid .sources { max-height: none; overflow: visible; }
.learning-intro { padding: 8px 0 2px; }
.learning-intro p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.lobby-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(260px,.8fr); gap: 40px; align-items: stretch; }
.lobby-layout .entry-page { max-width: none; padding: 35px 0 30px; }
.lobby-layout .entry-art { position: static; margin: 0 0 24px; width: 102px; height: 102px; border-radius: 24px; transform: rotate(-5deg); }
.lobby-layout .entry-art--coach img { width: 90px; height: 90px; }
.lobby-layout .entry-page h1 { font-size: clamp(25px,2.3vw,38px); }
.lobby-layout .product-entry { margin-top: 28px; }
.lobby-layout .product-entry-row { grid-template-columns: minmax(0,1fr) auto; }
.lobby-guide { border: 1px solid var(--line); background: var(--green-soft); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; }
.lobby-guide > h2 { font-size: clamp(25px,2.3vw,38px); line-height: 1.5; margin-top: 6px; color: var(--green-dark); }
.lobby-guide ol { display: grid; gap: 26px; list-style: none; padding: 0; margin: 32px 0; }
.lobby-guide li { display: flex; gap: 15px; }
.lobby-guide li > span { font: 12px monospace; padding-top: 3px; color: var(--green); }
.lobby-guide li h3 { font-size: 15px; margin-bottom: 6px; }
.lobby-guide li p, .lobby-demo-note p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.lobby-demo-note { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.lobby-demo-note b { font-size: 13px; }
.lobby-demo-note .btn { margin-top: 14px; }
.recent-section { margin-top: 38px; }
.recent-section > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.recent-section header p { margin-top: 5px; }
.recent-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.recent-card { display: grid; gap: 13px; padding: 20px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.recent-card strong { font-size: 13px; overflow-wrap: anywhere; }
.recent-card > span:last-child { color: var(--muted); font-size: 11px; }
.history-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 24px; padding: 20px; }
.history-panel > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.history-items { display: grid; gap: 8px; max-height: 380px; overflow: auto; }
.history-item { display: flex; gap: 16px; justify-content: space-between; text-align: left; width: 100%; padding: 14px; background: var(--canvas); border: 1px solid var(--line); border-radius: 6px; }
.history-item > span { min-width: 0; }
.history-item strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.history-item small { display: block; color: var(--muted); font-size: 11px; margin-top: 6px; }
.workspace-empty { display: grid; justify-items: center; text-align: center; gap: 16px; padding: 70px 20px; border: 1px dashed var(--line); border-radius: 12px; }
.workspace-empty p { color: var(--muted); font-size: 13px; }
.empty-symbol { font-size: 38px; color: var(--green); }
.nav-collapsed { --nav-width: 80px; }
.nav-collapsed .app-nav { padding-inline: 10px; }
.nav-collapsed .brand > span, .nav-collapsed .nav-label, .nav-collapsed .nav-bottom { display: none; }
.nav-collapsed .nav-brand { flex-direction: column; padding: 0; gap: 12px; }
.nav-collapsed .nav-collapse { margin: 0; }
.nav-collapsed .nav-item { justify-content: center; padding-inline: 10px; }
@media (max-width: 1599px) { .room-layout { grid-template-columns: minmax(0,1fr) 280px; } .task-rail { grid-column: 1/-1; } .task-flow .panel-head { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; } .task-flow ol { grid-template-columns: repeat(6,minmax(0,1fr)); } .task-step { padding: 10px 6px; gap: 6px; } .task-arrow, .task-rail .task-summary, .task-rail .rail-note { display: none; } }
@media (max-width: 1200px) { .app-shell { --nav-width: 184px; } .workspace-content { padding: 24px 22px 40px; } .workspace-topbar { padding-inline: 22px; } .nav-brand .brand { font-size: 18px; } .nav-brand .brand-mark { width: 34px; height: 34px; } .app-nav { padding-inline: 12px; } .room-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 14px; } .task-step { flex-direction: column; align-items: flex-start; } .report-layout { grid-template-columns: minmax(0,1fr); } .report-guide { grid-template-columns: 1fr 1fr; } .lobby-layout { gap: 24px; grid-template-columns: minmax(0,1.3fr) minmax(240px,.8fr); } .lobby-guide { padding: 24px; } }
@media (max-width: 1000px) { .room-layout { grid-template-columns: minmax(0,1fr); } .explanation-rail { grid-template-columns: minmax(0,1fr); } .step-explanation .panel-body { grid-template-columns: repeat(2,minmax(0,1fr)); } .task-flow ol { grid-template-columns: repeat(3,minmax(0,1fr)); } .task-step { flex-direction: row; } .current-product { max-width: 250px; } .lobby-layout { grid-template-columns: minmax(0,1fr); } .lobby-guide { display: none; } .lobby-layout .entry-page { padding-top: 10px; } .evidence-detail-grid { grid-template-columns: minmax(0,1fr); } .evidence-detail-grid > .side-card:first-child { grid-row: auto; } }
@media (max-width: 720px) { .app-shell, .nav-collapsed { --nav-width: 0px; } .app-nav { position: static; width: 100%; padding: 14px; border-right: 0; border-bottom: 1px solid var(--line); } .nav-brand, .nav-collapsed .nav-brand { margin: 0 0 12px; flex-direction: row; justify-content: space-between; } .nav-brand .brand > span, .nav-collapsed .brand > span { display: block; } .nav-collapse, .nav-collapsed .nav-collapse, .nav-bottom { display: none; } .app-nav nav { display: flex; gap: 4px; justify-content: space-between; } .nav-item, .nav-collapsed .nav-item { min-height: 46px; padding: 7px 4px; font-size: 11px; flex: 1; justify-content: center; flex-direction: column; gap: 4px; } .nav-label, .nav-collapsed .nav-label { display: block; } .nav-symbol { font-size: 20px; } .workspace-topbar { position: static; padding: 12px 14px; flex-wrap: wrap; gap: 10px; } .topbar-actions { width: 100%; } .topbar-actions .btn { flex: 1; padding-inline: 7px; font-size: 11px; min-height: 40px; } .mode-indicator { font-size: 11px; } .workspace-content { padding: 20px 14px 32px; } .workspace-page-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 22px; } .workspace-page-heading h1 { font-size: 23px; } .current-product { max-width: none; text-align: left; } .workspace-footer { padding: 14px; font-size: 10px; } .workspace-footer span:last-child { display: none; } .lobby-layout .entry-page h1 { font-size: 27px; } .lobby-layout .product-entry-row { grid-template-columns: minmax(0,1fr); } .lobby-layout .entry-art { width: 82px; height: 82px; margin-bottom: 20px; } .lobby-layout .entry-art img { width: 72px; height: 72px; } .recent-grid { grid-template-columns: minmax(0,1fr); } .task-step b { font-size: 11px; } .task-step .tag { font-size: 9px; } .task-number { display: none; } .room-main .team-heading { flex-wrap: wrap; } .room-main .office-role-list { grid-template-columns: repeat(2,minmax(0,1fr)); } .room-main .office-role-item { padding: 8px 10px; } .step-explanation .panel-body { grid-template-columns: minmax(0,1fr); } .report-guide { grid-template-columns: minmax(0,1fr); } .history-item { flex-direction: column; gap: 8px; } .history-item .tag { align-self: start; } .workspace-empty { padding: 45px 14px; } .panel, .side-card { min-width: 0; } }
@media print { .app-nav, .workspace-topbar, .workspace-footer, .workspace-page-heading, .report-guide, .coach-drawer, .demo-context { display: none !important; } .app-body { margin: 0; } .workspace-content { padding: 0; } .report-layout { display: block; } .report-document:not([open]) { display: none; } }

/* Poster palette: cream paper, forest ink, sage leaves, warm parcel gold. */
body { background: var(--canvas); color: var(--ink); }
h1,h2,h3,h4,.judgment,.dimension-name { color: var(--green-dark); }
.app-nav { background: #f1f3e7; border-right-color: #dce2ce; }
.nav-brand .brand { color: #214c39; letter-spacing: -.6px; }
.nav-brand .brand small { color: #78826c; letter-spacing: .1px; }
.nav-brand .brand-mark { border: 1px solid #e2d9b7; background: #f9efd5; }
.nav-collapse { background: #f8f8ee; border-color: #d7ddc9; color: #5f765b; }
.nav-item { color: #6a7b65; border-radius: 9px; transition: background-color .15s ease,color .15s ease; }
.nav-item.active { color: #fffbed; background: #285f47; box-shadow: 0 3px 8px #214a3010; }
.nav-item:hover:not(.active) { color: #24543d; background: #e4ebd7; }
.nav-note { padding-top: 20px; border-top: 1px solid #d7dfc8; }
.nav-note .eyebrow { color: #8b8c60; letter-spacing: 1.8px; }
.nav-note p { font-size: 23px; line-height: 1.65; color: #31573c; }
.nav-bottom .nav-demo { background: #fbefd6; border-color: #d6c39b; color: #79582e; }
.workspace-topbar { background: #fffdf3; border-bottom-color: #e3e3d2; }
.mode-indicator { color: #69735f; }
.mode-indicator.is-demo { background: #fcf0d7; color: #80582a; border: 1px solid #ecdbb8; border-radius: 99px; padding: 7px 12px; }
.is-demo .mode-dot { background: #cf8a3e; }
.workspace-page-heading h1 { font-size: 28px; color: #214e39; letter-spacing: -.5px; }
.workspace-page-heading .eyebrow { color: #7a876c; letter-spacing: 1.1px; font-size: 10px; }
.workspace-page-heading p { color: #78806e; }
.current-product { border-left: 2px solid #d1dbc0; padding: 4px 0 4px 16px; }
.current-product > span { color: #416047; font-weight: 600; }
.btn { min-height: 38px; border-radius: 7px; border-color: #d5dcc6; background: #fffef6; color: #365841; font-size: 12px; }
.btn:hover:not(:disabled) { background: #f0f3e4; border-color: #99ae85; box-shadow: 0 3px 8px #36532c0a; transform: none; }
.btn.primary { background: #286347; border-color: #286347; color: #fffbed; }
.btn.primary:hover:not(:disabled) { background: #1d4e37; border-color: #1d4e37; }
.btn.ghost { background: transparent; }
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible { outline-color: #a7b78c; }
.input,textarea,select { background: #fffef8; border-color: #d3dcc5; color: #294b38; border-radius: 6px; }
.input:focus,textarea:focus,select:focus { border-color: #729765; }
.input::placeholder,textarea::placeholder { color: #8b927f; }
.panel,.step-card,.side-card { background: #fffef8; border-color: #dce2cd; border-radius: 10px; box-shadow: 0 2px 8px #414c2604; }
.panel-head { background: #f9faee; border-color: #e5e8d8; border-radius: 10px 10px 0 0; }
.panel-title { color: #31523b; }
.panel-hint,.muted,.hint { color: #727d69; }
.demo-context { background: #f8efd9; color: #866135; border: 1px solid #eadcba; }
.task-flow .panel-head,.task-summary .panel-head { background: #f3f6e8; }
.task-step { border-radius: 7px; }
.task-step.selected { background: #e8efd7; border-color: #d4dfbf; box-shadow: inset 3px 0 0 #5c8351; }
.task-step.selected b { color: #2b5a3b; }
.task-number { color: #7e916c; }
.task-step .tag { background: transparent; }
.modern-office { background: #fffdf3; border-color: #d2ddbe; box-shadow: 0 3px 12px #3c512009; }
.team-heading { background: #f5f7e9; }
.team-heading h2 { color: #315d3c; }
.team-heading .eyebrow { color: #7a8b63; }
.office-caption { background: #edf2df; border-color: #dbe4ca; color: #4a6340; }
.office-playback { background: #fff8e6; border-color: #e7ddc1; }
.office-role-item { border-color: #e1e7d1; }
.office-role-item b { color: #46613d; }
.office-role-item > span { color: #6f7d63; background: #f0f3e5; }
.office-role-item > span[data-status="running"] { color: #285239; background: #e1edd2; }
.office-role-item > span[data-status="unverified"],.office-role-item > span[data-status="insufficient"] { background: #f8ebce; color: #93642d; }
.step-explanation .panel-head { background: #edf2df; }
.step-explanation h3 { color: #80916e; font-weight: 600; }
.step-explanation p { color: #39523c; }
.step-explanation section { border-color: #e3e8d5; }
.step-explanation section:first-child p { font-weight: 600; color: #2b5139; }
.coach-drawer,.report-document { border-color: #dae1ca; background: #fffef5; }
.coach-drawer > summary,.report-document > summary { background: #f1f4e5; color: #48633d; }
.callout { background: #faf0d9; color: #835e2f; border-left-color: #d7a05b; }
.callout.blue { background: #edf2e4; color: #496244; border-left-color: #8eaa76; }
.tag.green { color: #356047; background: #e8efdc; }
.tag.blue { color: #4c7063; background: #eaf0e4; }
.tag.orange { color: #95632a; background: #fbedd1; }
.tag.gray { color: #77806e; background: #f0f2e8; }
.verdict { background: #eef3df; border-color: #d6e2bf; color: #2e583c; }
.dimension { border-color: #e1e7d4; }
.metric { background: #f7f8eb; border-color: #e0e6cf; border-radius: 8px; }
.metric-value.positive { color: #356b49; }
.metric-value.negative { color: #b75a43; }
.chart { background: #fafbf0; border-color: #dce3cd; }
.chart figcaption { color: #385a3d; }
.bar-track,.wf-track { background: #e9efda; }
.bar-fill:not(.excluded) { background: #789c65; }
.wf-bar.in { background: #7a9b72; }
.wf-bar.out { background: #d7a25c; }
.wf-bar.total { background: #396c4a; }
.lobby-layout { gap: 48px; }
.lobby-layout .entry-page > .eyebrow { color: #839066; letter-spacing: .7px; }
.lobby-layout .entry-page h1 { color: #24573e; line-height: 1.35; font-weight: 750; }
.lobby-layout .entry-art { background: #fae8bd; border-color: #e0ce9d; border-radius: 23px; box-shadow: 3px 4px 0 #e7e9ce; }
.lobby-layout .product-entry-row .input { background: #fffef9; border-color: #bdcda9; box-shadow: 0 4px 14px #6b7d3d08; border-radius: 8px; }
.lobby-layout .product-entry-row .btn { border-radius: 8px; }
.lobby-guide { background: #eaf0d7; border-color: #dce4c4; border-radius: 16px; position: relative; overflow: hidden; }
.lobby-guide::after { content: ''; width: 160px; height: 160px; position: absolute; right: -100px; top: -80px; background: #dbe7bb; border-radius: 50%; pointer-events: none; }
.lobby-guide > h2 { color: #2b5b3b; line-height: 1.45; }
.lobby-guide li > span { color: #b98a43; }
.lobby-guide li h3 { color: #3a613d; }
.lobby-guide .eyebrow { color: #6e8657; }
.lobby-guide li p,.lobby-demo-note p { color: #768367; }
.lobby-demo-note { border-color: #d0ddba; }
.lobby-demo-note .btn { background: #f9f3df; border-color: #d9ceac; color: #755e33; }
.recent-card { background: #fffdf3; border-color: #dce2cb; border-radius: 10px; transition: border-color .15s ease,background-color .15s ease; }
.recent-card:hover { background: #f4f6e7; border-color: #b4c69c; }
.recent-card .eyebrow { color: #8a966e; }
.recent-card strong { color: #3a593e; }
.history-panel { border-color: #d4dec0; background: #fffdf2; }
.history-item { border-color: #e0e5d1; background: #f7f8e9; }
.history-item:hover { background: #edf2dd; }
.learning-intro h2 { color: #38623f; }
.learning-page .side-card { background: #f6f8e8; }
.workspace-footer { background: #f4f4e7; border-color: #e2e5d1; color: #849074; }
.tabs { background: #f6f8e9; }
.tabs button.active { color: #315c3c; border-color: #587f48; }
.report { color: #35533b; }
a { color: #59774b; }
a:hover { color: #275738; }
@media (max-width: 1000px) { .lobby-layout { gap: 24px; } }
@media (max-width: 720px) { .workspace-page-heading h1 { font-size: 24px; } .nav-item.active { box-shadow: none; } .mode-indicator.is-demo { padding: 6px 10px; } .lobby-layout .entry-page h1 { font-size: 27px; } .current-product { border-left-width: 2px; padding-left: 12px; } }

.operation-status { display:flex; align-items:center; gap:10px; padding:12px 16px; margin-bottom:18px; border:1px solid #d5dfc4; border-radius:8px; background:#eef3e0; color:#44613b; font-size:12px; }
.pending-indicator { width:10px; height:10px; border-radius:50%; background:#789b65; flex:none; animation:pending-pulse 1.2s ease-in-out infinite; }
@keyframes pending-pulse { 50% { opacity:.35; } }

.market-detail-panel .panel-body { display:grid; gap:14px; }
.review-samples { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.review-sample { min-width:0; padding:16px; border:1px solid var(--line); border-radius:8px; background:var(--paper); }
.review-sample header { display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; font-size:12px; }
.review-sample blockquote { margin:12px 0; color:var(--ink); font-size:12px; line-height:1.9; white-space:pre-wrap; overflow-wrap:anywhere; }
.offer-summary { display:grid; gap:8px; font-size:13px; }
.ranking-list { display:grid; gap:10px; min-width:0; }
.ranking-list+.ranking-list { padding-top:18px; border-top:1px solid var(--line); }
@media(max-width:900px) { .review-samples { grid-template-columns:minmax(0,1fr); } }
.evidence-detail-grid .side-card { grid-template-columns:minmax(0,1fr); overflow-wrap:anywhere; }
.evidence-detail-grid .side-card > * { min-width:0; }
.evidence-detail-grid .side-card .sources { max-width:100%; }
.market-detail-panel td { white-space:normal; overflow-wrap:anywhere; }
.market-detail-panel th { white-space:nowrap; }
.ranking-list td:nth-child(2) { min-width:180px; max-width:480px; }
.evidence-detail-grid .sources { grid-template-columns:minmax(0,1fr); }
.evidence-detail-grid .sources li, .evidence-detail-grid .src-head, .evidence-detail-grid details { min-width:0; }

.source-refresh { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:6px 0; }
.source-refresh b { font-size:14px; color:var(--green-dark); }
.source-refresh .hint { margin-top:5px; }
.source-refresh .btn { flex:none; }
@media(max-width:720px) { .source-refresh { align-items:flex-start; flex-direction:column; gap:12px; } }
