/* Reusable components and the frozen ui-refined variants. No new visual values. */
.panel { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:18px 20px; box-shadow:var(--shadow); }
.panel--inset { margin:12px 0; }
.metric--standalone { display:block; border-radius:9px; padding:14px 16px; text-decoration:none; color:var(--ink); }
.metric--standalone:hover { border-color:var(--stat-hover-border); transform:translateY(-1px); }
.metric--standalone b { display:block; font-size:25px; line-height:1.1; }
.metric--standalone span { color:var(--dim); font-size:12px; }
.metric--standalone small { display:block; color:var(--accent); margin-top:8px; }
.row__title { display:block; font-weight:650; text-decoration:none; color:var(--ink); }
.row__title:hover { color:var(--accent); }
.badge { display:inline-block; padding:2px 8px; border-radius:999px; font-size:11px; line-height:1.4; margin:1px 3px 1px 0; background:var(--chip-bg); color:var(--badge-ink); }
.badge.is-danger { background:var(--danger-soft); color:var(--danger); }
.badge.is-ok { background:var(--ok-soft); color:var(--ok); }
.badge.is-info { background:var(--accent-soft); color:var(--accent); }
.badge.is-warn { background:var(--warn-soft); color:var(--warn); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:34px; color:var(--card); border:1px solid var(--accent); cursor:pointer; text-decoration:none; }
.btn:hover { filter:brightness(.94); }
.btn.btn--sm { min-height:27px; }
.btn.btn--danger { background:var(--danger); border-color:var(--danger); }
form.inline { display:inline-flex; }
.filters { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; align-items:center; background:var(--card); border:1px solid var(--line); border-radius:9px; padding:10px; }
.chips { display:flex; gap:6px; flex-wrap:wrap; margin:0 0 14px; }
.chips a { text-decoration:none; color:var(--chip-ink); background:var(--chip-bg); border-radius:999px; padding:6px 11px; font-size:12px; font-weight:600; }
.chips a.active { color:var(--card); background:var(--accent); }
.chips--workflow { margin-bottom:18px; }
.tabs { display:flex; gap:24px; border-bottom:1px solid var(--line); margin:-4px 0 30px; }
.tabs a { color:var(--dim); text-decoration:none; font-weight:650; padding:8px 1px 12px; border-bottom:3px solid transparent; }
.tabs a.active { color:var(--ink); border-color:var(--accent); }
.muted,.kv { color:var(--dim); font-size:12px; }
.eyebrow { text-transform:uppercase; }
pre.evidence,.email-body { white-space:pre-wrap; overflow-wrap:anywhere; background:var(--evidence-bg); border:1px solid var(--line); border-radius:7px; padding:11px 12px; font:12px/1.55 "Segoe UI",system-ui,sans-serif; margin:7px 0; }
.notice--warn,.is-danger:not(:where(.badge,.btn,.is-text)),.notice--ok,.notice--info { border-radius:8px; padding:10px 13px; margin:10px 0; }
.notice--warn { background:var(--warn-soft); border:1px solid var(--warn-border); color:var(--warn-ink); }
.is-danger:not(:where(.badge,.btn,.is-text)) { background:var(--danger-soft); border:1px solid var(--error-border); color:var(--error-ink); }
.notice--ok { background:var(--ok-soft); border:1px solid var(--ok-border); color:var(--ok-ink); }
.notice--info { background:var(--accent-soft); border:1px solid var(--info-border); color:var(--info-ink); }
.flow { display:grid; grid-template-columns:repeat(6,minmax(130px,1fr)); margin:18px 0 24px; }
.flow-step { min-height:76px; }
.flow-step b { display:block; margin-bottom:4px; }
.flow-step.done { border-color:var(--ok-border); background:var(--step-done-bg); }
.flow-step.current { border-color:var(--step-current-border); background:var(--soft-blue); box-shadow:0 0 0 2px var(--step-current-ring) inset; }
.flow-step.blocked { border-color:var(--step-blocked-border); background:var(--step-blocked-bg); }
.flow-number { display:inline-flex; align-items:center; justify-content:center; width:21px; height:21px; border-radius:50%; background:var(--flow-number-bg); margin-right:5px; font-size:11px; }
.flow-step.done .flow-number { background:var(--ok); color:var(--card); }
.flow-step.current .flow-number { background:var(--accent); color:var(--card); }
.next-action { border-left:4px solid var(--accent); padding:14px 16px; background:var(--next-action-bg); border-radius:0 8px 8px 0; margin:12px 0 16px; }
.next-action b { display:block; font-size:15px; }
.action-list { display:grid; gap:8px; }
.action-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:11px 0; border-bottom:1px solid var(--line); }
.action-row:last-child { border-bottom:0; }
.review-card { margin:12px 0; }
.review-meta { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:12px; }
.review-actions { display:flex; gap:8px; flex-wrap:wrap; align-items:center; border-top:1px solid var(--line); padding-top:12px; margin-top:12px; }
.bulk-bar { display:flex; justify-content:space-between; align-items:center; margin-top:12px; padding:10px 12px; background:var(--bulk-bar-bg); color:var(--card); border-radius:9px; box-shadow:0 8px 30px var(--bulk-bar-shadow); }
.bulk-bar .btn.btn--ghost:not(:where(.btn--quiet)) { background:var(--card); }
.empty { text-align:center; padding:36px 20px; color:var(--dim); background:var(--card); border:1px dashed var(--line-control); border-radius:9px; }
.technical { margin-top:24px; }
.technical > summary { color:var(--dim); font-weight:600; padding:8px 0; }
.truncate { max-width:360px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workbench-head { margin-bottom:26px; }
.work-queue { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); box-shadow:var(--shadow); }
.work-stage { min-width:0; display:grid; grid-template-columns:30px minmax(0,1fr) auto; grid-template-rows:auto auto; gap:1px 10px; padding:19px 18px; color:var(--ink); text-decoration:none; position:relative; }
.work-stage:last-child { border-right:0; }
.work-stage:hover { background:var(--row-hover); }
.stage-index { grid-row:1/3; display:inline-flex; align-items:center; justify-content:center; width:27px; height:27px; background:var(--stage-index-bg); color:var(--stage-index-ink); border-radius:8px; font-size:12px; font-weight:700; }
.stage-copy { min-width:0; }
.stage-copy b { display:block; }
.stage-copy small { display:block; color:var(--dim); margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.work-stage strong { font-size:25px; line-height:1; color:var(--ink); }
.stage-unit { grid-column:3; color:var(--dim); font-size:11px; text-align:right; }
.notice--operational { display:flex; align-items:center; gap:8px 20px; flex-wrap:wrap; margin:14px 0 0; padding:11px 14px; background:var(--note-warn-bg); border:1px solid var(--note-warn-border); border-radius:8px; color:var(--note-warn-ink); }
.notice--operational.is-warn { margin:0 0 18px; }
.notice--operational span { font-size:12px; }
.task-panel { padding:0; overflow:hidden; }
.task-panel > .section-head { padding:18px 20px 12px; margin:0; }
.task-panel .row:last-child { border-bottom:0; }
.text-link { color:var(--accent); text-decoration:none; font-weight:600; font-size:13px; }
.rows { background:var(--card); border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.task-panel .rows { border:0; border-top:1px solid var(--line); border-radius:0; }
.row { display:flex; align-items:center; min-width:0; border-bottom:1px solid var(--line); }
.row:last-child { border-bottom:0; }
.row:hover { background:var(--row-hover-alt); }
.candidate-row { align-items:flex-start; }
.row__main { min-width:0; flex:1; }
.row__heading { display:flex; align-items:center; gap:7px; min-width:0; }
.row__heading .row__title { font-size:15px; }
.row__summary { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin:7px 0 0; color:var(--summary-ink); }
.quick-signals { display:flex; gap:5px; align-items:center; flex-wrap:wrap; margin-top:8px; }
.signal-card { margin:10px 0 16px; padding:12px 13px; background:var(--signal-bg); border:1px solid var(--signal-border); border-radius:8px; }
.signal-card.compact { font-size:12px; }
.signal-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); gap:7px; margin-top:9px; }
.signal-grid > div { padding:7px 8px; background:var(--card); border:1px solid var(--signal-item-border); border-radius:6px; font-size:12px; }
.signal-grid b { margin-right:4px; }
.signal-grid small { display:block; color:var(--dim); margin-top:2px; }
.row__meta { display:flex; align-items:center; color:var(--dim); font-size:12px; }
.candidate-row .row__meta { margin-top:10px; }
.row__aside { display:grid; justify-items:end; gap:9px; text-align:right; }
.next-label { font-size:12px; color:var(--next-label-ink); font-weight:650; }
.next-label.is-warn { color:var(--warn); }
.next-label.is-ok,.is-ok { color:var(--ok); }
.score { display:inline-flex; align-items:center; justify-content:center; min-width:28px; height:24px; border-radius:7px; padding:0 7px; background:var(--score-bg); color:var(--score-ink); font-size:12px; font-weight:750; }
.score.strong { background:var(--ok-soft); color:var(--ok); }
.score.possible { background:var(--accent-soft); color:var(--accent); }
.score.weak { background:var(--danger-soft); color:var(--danger); }
.row-check { flex:0 0 25px; padding-top:2px; cursor:pointer; }
.row-check input { width:17px; height:17px; }
.list-count { color:var(--dim); font-size:12px; margin:12px 1px 8px; }
.select-all-label { display:flex; align-items:center; gap:6px; color:var(--select-all-ink); font-size:12px; }
.select-all-label input { width:16px; height:16px; }
.bulk-actions { display:flex; }
.filter-drawer { margin-bottom:10px; }
.filter-drawer > summary { color:var(--filter-summary-ink); font-weight:650; font-size:13px; padding:2px 0 10px; }
.filter-drawer .filters { margin-bottom:0; }
.metrics--progress { display:grid; grid-template-columns:repeat(5,1fr); margin-top:18px; padding:16px 20px; background:var(--progress-bg); border-radius:9px; }
.metrics--progress div { text-align:center; border-right:1px solid var(--progress-divider); }
.metrics--progress div:last-child { border-right:0; }
.metrics--progress b { display:block; font-size:19px; }
.metrics--progress span { color:var(--dim); font-size:11px; }
.back-link { display:inline-block; color:var(--dim); text-decoration:none; margin-bottom:12px; font-size:12px; }
.discovery-form { max-width:820px; }
.discovery-form form { display:grid; grid-template-columns:1.3fr 1fr .7fr auto; gap:12px; align-items:end; }
.discovery-form label > span { display:block; color:var(--field-label-ink); font-weight:600; font-size:12px; margin-bottom:5px; }
.discovery-form select,.discovery-form input { width:100%; }
.discovery-form .check-option { grid-column:1/4; display:flex; align-items:flex-start; gap:8px; }
.discovery-form .check-option input { width:auto; margin-top:3px; }
.discovery-form .check-option b,.discovery-form .check-option small { display:block; }
.discovery-form .check-option small { color:var(--dim); font-weight:400; }
.intent-panel { max-width:980px; }
.intent-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; }
.intent-form input { width:100%; font-size:16px; padding:13px 14px; }
.meter-row { display:grid; grid-template-columns:auto minmax(80px,180px) auto minmax(80px,180px); gap:7px; align-items:center; margin-top:8px; color:var(--dim); font-size:11px; }
.meter { height:7px; background:var(--meter-bg); border-radius:999px; overflow:hidden; }
.meter i { display:block; height:100%; background:var(--accent); border-radius:inherit; }
.meter.business i { background:var(--ok); }
.form-help { margin:14px 0 0; color:var(--dim); font-size:12px; }
@media (max-width:980px) { .flow { grid-template-columns:repeat(2,1fr); } }
@media (max-width:980px) { .work-queue { grid-template-columns:repeat(2,1fr); } }
@media (max-width:980px) { .work-stage:nth-child(even) { border-right:0; } }
@media (max-width:980px) { .work-stage:nth-child(-n+4) { border-bottom:1px solid var(--line); } }
@media (max-width:980px) { .discovery-form form { grid-template-columns:1fr 1fr; } }
@media (max-width:980px) { .discovery-form .check-option { grid-column:1/3; } }
@media (max-width:720px) { .flow { grid-template-columns:1fr; } }
@media (max-width:720px) { .work-queue { grid-template-columns:1fr; } }
@media (max-width:720px) { .work-stage { border-right:0; border-bottom:1px solid var(--line); } }
@media (max-width:720px) { .work-stage:last-child { border-bottom:0; } }
@media (max-width:720px) { .row { align-items:flex-start; flex-wrap:wrap; padding:14px; } }
@media (max-width:720px) { .row__aside { flex:1 0 100%; grid-template-columns:1fr auto; align-items:center; justify-items:start; text-align:left; padding-left:41px; } }
@media (max-width:720px) { .rows--compact .row__aside { padding-left:0; } }
@media (max-width:720px) { .metrics--progress { grid-template-columns:repeat(2,1fr); gap:14px 0; } }
@media (max-width:720px) { .metrics--progress div { border-right:0; } }
@media (max-width:720px) { .discovery-form form { grid-template-columns:1fr; } }
@media (max-width:720px) { .discovery-form .check-option { grid-column:1; } }
@media (max-width:720px) { .intent-form { grid-template-columns:1fr; } }
@media (max-width:720px) { .meter-row { grid-template-columns:auto 1fr; } }
@media (max-width:720px) { .bulk-bar { align-items:flex-start; flex-wrap:wrap; } }
@media (max-width:720px) { .bulk-actions { width:100%; } }
.row-inline-actions { margin-top:6px; flex-wrap:wrap; }
.row-inline-actions .inline { margin:0; }
.preview-drawer { position:fixed; top:0; right:0; height:100vh; width:440px; max-width:90vw; background:var(--card); box-shadow:-8px 0 28px var(--drawer-shadow); transform:translateX(100%); transition:transform .18s ease; z-index:200; overflow-y:auto; display:none; }
.preview-drawer.open { display:block; transform:translateX(0); }
.preview-drawer-inner { padding:18px 20px; }
.preview-drawer-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; border-bottom:1px solid var(--drawer-head-line); padding-bottom:8px; }
.preview-head { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:4px; }
.preview-drawer .panel--inset { background:var(--evidence-bg); }
.type-chips { display:inline-flex; gap:5px; flex-wrap:wrap; margin-left:8px; }
.type-chips .badge { text-decoration:none; cursor:pointer; }
.profile-line { font-size:12.5px; color:var(--ink); background:var(--profile-bg); border:1px solid var(--profile-border); border-radius:6px; padding:4px 8px; margin:5px 0 2px; }
.profile-line .nav-icon { color:var(--accent); }
.source-hits-card { margin:10px 0; }
.source-hits-card b { display:block; margin-bottom:2px; }
.field-label,.form-grid label,.document-start-form label { display:grid; gap:5px; color:var(--field-label-ink); font-weight:600; font-size:12px; }
.field-label small,.form-grid small { color:var(--dim); font-weight:400; }
textarea.short { min-height:72px; }
.document-chain { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:-8px 0 16px; padding:10px 13px; background:var(--card); border:1px solid var(--line); border-radius:8px; }
.document-chain a { font-weight:650; text-decoration:none; }
.document-editor { border:0; padding:0; margin:0; min-width:0; }
.document-editor:disabled { opacity:1; }
.document-editor:disabled input,.document-editor:disabled select,.document-editor:disabled textarea { color:var(--input-disabled-ink); background:var(--input-disabled-bg); opacity:1; }
.document-items-wrap { overflow-x:auto; }
.document-items { min-width:980px; }
.document-items th:nth-child(1) { width:38px; }
.document-items th:nth-child(2) { width:190px; }
.document-items th:nth-child(3) { width:390px; }
.document-items th:nth-child(4) { width:95px; }
.document-items th:nth-child(5) { width:80px; }
.document-items th:nth-child(6) { width:120px; }
.document-items input,.document-items select { width:100%; }
.item-sub { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin-top:5px; }
.document-actions { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.document-actions p { margin:0; color:var(--dim); }
.recipient-parser { display:grid; gap:10px; margin:12px 0 18px; padding:14px 16px; background:var(--soft-blue); border:1px solid var(--recipient-border); border-radius:9px; }
.recipient-parser p { margin:3px 0 0; }
.recipient-parser textarea { width:100%; min-height:92px; resize:vertical; background:var(--card); }
.recipient-parser-actions { display:flex; align-items:center; gap:12px; min-height:30px; }
.conversion-form { display:grid; grid-template-columns:repeat(2,minmax(150px,1fr)); gap:8px; position:absolute; right:42px; z-index:10; width:min(620px,calc(100vw - 40px)); box-shadow:0 12px 35px var(--conversion-shadow); }
.conversion-form b,.conversion-form button { grid-column:1/-1; }
.product-form { display:grid; grid-template-columns:repeat(4,minmax(120px,1fr)); gap:8px; box-shadow:none; }
.product-form button { grid-column:4; }
@media (max-width:820px) { .document-actions { align-items:flex-start; flex-direction:column; } }
@media (max-width:820px) { .conversion-form { position:static; grid-template-columns:1fr; width:100%; } }
.panel:not(:where(.panel--inset)) { padding:24px; border-radius:16px; box-shadow:var(--shadow); }
.eyebrow { font-size:11px; font-weight:700; letter-spacing:.12em; color:var(--accent); margin-bottom:6px; }
.btn { border-radius:8px; font-size:14px; padding:10px 16px; background:var(--accent); border-color:var(--accent); font-weight:650; }
.btn.btn--ghost:not(:where(.btn--quiet)) { background:var(--card); color:var(--btn-secondary-ink); border-color:var(--btn-secondary-border); }
.btn.btn--quiet { background:transparent; color:var(--btn-ghost-ink); border-color:transparent; }
.btn.btn--sm { font-size:13px; padding:7px 11px; }
.btn:disabled { opacity:.45; cursor:not-allowed; }
small,.kv,.muted,.form-help { font-size:13px; line-height:1.65; color:var(--dim); }
.search-composer>.wide { display:block; font-size:16px; color:var(--ink); }
.search-composer>.wide>input { font-size:20px; padding:18px; background:var(--surface-tint); width:100%; }
.search-composer .form-grid { grid-template-columns:180px 1fr 200px; align-items:start; }
.target-field { color:var(--accent); }
.input-unit { display:flex; align-items:center; gap:12px; }
.input-unit input { font-size:27px; font-weight:750; line-height:1.25; }
.composer-footer { display:flex; gap:24px; justify-content:space-between; align-items:center; border-top:1px solid var(--line); padding-top:18px; }
.composer-footer p { max-width:720px; margin:0; }
.composer-footer .btn { flex-shrink:0; }
.plan-row { padding:22px 0; border-bottom:1px solid var(--line); }
.plan-row:last-child { border-bottom:0; padding-bottom:0; }
.plan-row:first-child { padding-top:6px; }
.plan-form { margin-top:18px; padding-top:6px; }
.target-summary { display:flex; gap:22px; align-items:center; margin:8px 0 12px; }
.target-summary>b { font-size:25px; letter-spacing:-.035em; }
.target-summary small { font-size:16px; font-weight:500; }
.goal-panel { background:var(--goal-bg); border-color:var(--goal-border); margin-bottom:24px; }
.goal-panel h2 { font-size:42px; margin:0; line-height:1.1; }
.goal-panel h2 small { font-size:18px; font-weight:500; }
.result-metrics { display:flex; flex-wrap:wrap; gap:12px 28px; margin:20px 0 12px; }
.result-metrics b { margin-left:6px; font-size:18px; }
.notice--focus { display:flex; align-items:center; justify-content:space-between; gap:24px; background:var(--focus-card-bg); border-radius:16px; padding:26px 30px; margin:8px 0 24px; color:var(--card); }
.notice--focus h2 { font-size:24px; margin:0 0 8px; color:var(--card); }
.notice--focus p { color:var(--focus-card-ink); margin:0; max-width:840px; }
.notice--focus .eyebrow { color:var(--focus-card-eyebrow); }
.notice--focus .btn { background:var(--focus-card-cta); color:var(--focus-card-cta-ink); border-color:var(--focus-card-cta); white-space:nowrap; }
.flow { gap:4px; margin-bottom:24px; }
.flow-step { border:0; border-radius:6px; background:transparent; box-shadow:none; padding:10px 12px; }
.flow-step.active { background:var(--step-active-bg); border:0; box-shadow:none; }
.business-intro { font-size:17px; line-height:1.8; color:var(--intro-ink); }
.priority-score { font-size:34px; line-height:1.1; color:var(--priority-score-ink); display:block; text-align:right; white-space:nowrap; }
.priority-score small { font-size:11px; display:block; margin-top:8px; }
.product-opportunity { border:1px solid var(--opportunity-border); background:var(--surface-tint); border-radius:12px; padding:18px; }
.product-opportunity .section-head { gap:8px; margin:0; }
.product-opportunity h3 { font-size:15px; margin:0; }
.product-opportunity strong { font-size:19px; white-space:nowrap; }
.product-opportunity strong small { font-weight:400; font-size:11px; }
.product-opportunity p { font-size:14px; line-height:1.75; margin:12px 0; }
.is-accent { color:var(--accent); }
.restriction-note { margin-top:12px; background:var(--restriction-bg); border-left:3px solid var(--restriction-border); padding:8px; font-size:12px; color:var(--restriction-ink); }
.analysis-notes { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }
.analysis-notes p { line-height:1.85; margin:8px 0; color:var(--analysis-ink); }
.evidence-gaps { padding:14px 18px; background:var(--evidence-gaps-bg); border-radius:10px; margin-top:14px; font-size:14px; }
.evidence-gaps ul { margin:7px 0; padding-left:22px; }
.contact-actions { display:flex; gap:8px; flex-wrap:wrap; margin:18px 0; }
.channel-summary { background:var(--channel-summary-bg); padding:12px 16px; border-radius:10px; margin-bottom:14px; font-size:13px; }
.channel-summary p { margin:4px 0; }
.people-list { display:grid; gap:8px; }
.people-list>div { display:flex; gap:12px; background:var(--soft); padding:12px; border-radius:8px; }
.people-list a { margin-left:auto; }
.route-row { display:grid; padding:20px 0; border-bottom:1px solid var(--line); }
.route-row p { margin:4px 0 0; }
.model-card { margin-bottom:16px; }
details.technical { margin:18px 0; color:var(--dim); }
details.technical>.panel:not(:where(.panel--inset)) { margin-top:12px; }
.work-queue { gap:0; border:1px solid var(--line); border-radius:14px; background:var(--card); overflow:hidden; }
.work-stage { border:0; border-radius:0; box-shadow:none; border-right:1px solid var(--line); background:transparent; }
.row { box-shadow:none; border-radius:0; }
.row__summary { line-height:1.8; font-size:14px; max-width:720px; }
.metric--standalone { box-shadow:none; border:0; background:transparent; }
@media(max-width:1150px) { .route-row { grid-template-columns:1fr 1fr; } }
@media(max-width:1150px) { .route-row>div:first-child { grid-column:1/-1; } }
@media(max-width:1150px) { .search-composer .form-grid { grid-template-columns:150px 1fr; } }
@media(max-width:850px) { .notice--focus { align-items:flex-start; flex-direction:column; padding:22px; } }
@media(max-width:850px) { .composer-footer { align-items:flex-start; flex-direction:column; } }
@media(max-width:850px) { .panel:not(:where(.panel--inset)) { padding:20px; } }
@media(max-width:850px) { .target-summary { align-items:flex-start; flex-direction:column; gap:4px; } }
@media(max-width:850px) { .result-metrics { gap:10px 18px; } }
@media(max-width:850px) { .route-row { grid-template-columns:1fr; } }
@media(max-width:850px) { .work-queue { display:grid; grid-template-columns:1fr; } }
@media(max-width:850px) { .work-stage { border-bottom:1px solid var(--line); } }
.classification-details { margin-top:8px; font-size:12px; }
.classification-details>summary { color:var(--dim); font-weight:400; }
.journey { margin:0 0 18px; font-size:12px; color:var(--dim); }
.journey>summary { font-weight:500; }
@media(min-width:1280px) { .product-opportunity { padding:14px; } }
@media(min-width:1280px) { .product-opportunity .section-head { display:block; } }
@media(min-width:1280px) { .product-opportunity strong { display:block; margin-top:8px; } }
@media(min-width:1280px) { .product-opportunity p { font-size:13px; } }
.product-score-strip { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:14px 0; margin:18px 0; }
.product-score-strip a { text-align:center; text-decoration:none; color:var(--dim); border-right:1px solid var(--line); padding:0 4px; font-size:11px; }
.product-score-strip a:last-child { border:0; }
.product-score-strip b { display:block; font-size:17px; color:var(--accent); margin-top:5px; }
@media(max-width:600px) { .product-score-strip { grid-template-columns:repeat(3,1fr); row-gap:14px; } }
.row { padding:22px 20px; gap:18px; }
.row__aside { flex:0 0 170px; min-width:0; max-width:100%; }
.row__heading { flex-wrap:wrap; overflow-wrap:anywhere; }
.row__title { font-size:17px; line-height:1.5; white-space:normal; overflow-wrap:anywhere; }
.row__intro { margin:10px 0 12px; max-width:1100px; }
.row__intro p { margin:4px 0; font-size:14px; line-height:1.8; overflow-wrap:anywhere; }
.row__intro .muted { font-size:13px; }
.row__meta { flex-wrap:wrap; gap:7px 12px; }
.row-inline-actions { display:flex; flex-direction:column; align-items:stretch; gap:8px; }
.row-inline-actions>.btn { text-align:center; }
.row-more { position:relative; }
.row-more>summary { display:block; text-align:center; }
.row-more>div { display:grid; gap:3px; margin-top:6px; border:1px solid var(--line); background:var(--row-more-bg); padding:8px; border-radius:8px; }
.bulk-bar { position:sticky; bottom:12px; flex-wrap:wrap; gap:12px; z-index:30; }
.bulk-actions { flex-wrap:wrap; gap:8px; }
.bulk-actions select { max-width:220px; }
.manual-search .advanced-queries { padding:14px 0; }
.manual-search .advanced-queries textarea { width:100%; }
.manual-search>button { align-self:end; }
.product-opportunity { min-width:0; overflow-wrap:anywhere; }
.product-opportunity .section-head { flex-wrap:wrap; align-items:flex-start; }
.panel:not(:where(.panel--inset)) .filters { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.panel:not(:where(.panel--inset)) .filters>* { min-width:0; max-width:100%; }
.panel:not(:where(.panel--inset)) .filters input { flex:1 1 170px; }
.business-intro p { margin:6px 0; }
.route-row { grid-template-columns:minmax(180px,1fr) minmax(210px,1fr) minmax(200px,1fr) auto; gap:20px; align-items:start; }
.route-row label { min-width:0; }
.route-row select { width:100%; }
.route-row .route-advanced { grid-column:2/-1; font-size:12px; color:var(--dim); }
.route-row .route-advanced select { max-width:450px; }
.route-checks { display:grid; gap:12px; }
.model-card { margin-top:12px; }
.model-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; }
.model-heading small { display:block; margin-top:4px; color:var(--dim); }
.model-heading .badge { white-space:normal; }
.notice--page { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
#action-toast { position:fixed; left:50%; bottom:28px; transform:translateX(-50%); max-width:min(720px,calc(100vw - 32px)); padding:16px 22px; background:var(--sidebar-bg); color:var(--card); border-radius:12px; box-shadow:0 8px 28px var(--toast-shadow); z-index:999; font-size:15px; }
#action-toast.is-danger:not(:where(.badge,.btn,.is-text)) { background:var(--error-strong); }
.inline-feedback { padding:10px 12px; margin:10px 0; border-left:3px solid var(--accent); background:var(--feedback-bg); font-size:14px; }
.inline-feedback.is-danger:not(:where(.badge,.btn,.is-text)) { border-color:var(--danger); background:var(--danger-soft); color:var(--error-strong); }
.execution-row { display:grid; grid-template-columns:minmax(0,1fr) auto 130px; gap:18px; padding:18px 0; border-bottom:1px solid var(--line); align-items:start; }
.execution-row p { margin:6px 0; }
.execution-row .is-danger:not(:where(.badge,.btn,.is-text)) { overflow-wrap:anywhere; }
.table-scroll { max-width:100%; }
#contacts td { overflow-wrap:anywhere; }
#contacts td:last-child { min-width:155px; }
#emails .filters { padding-bottom:12px; }
.inline-feedback { white-space:pre-line; overflow-wrap:anywhere; max-width:100%; }
.copy-quality { margin:12px 0; padding:12px; border:1px solid var(--line); border-radius:10px; }
.copy-quality p { margin:8px 0; }
#claim-workspace form[data-inline-action] { display:grid; grid-template-columns:1fr; justify-items:start; gap:12px; }
#claim-workspace form[data-inline-action] label { display:flex; align-items:flex-start; gap:8px; }
#claim-workspace form[data-inline-action] input[type=checkbox] { flex-shrink:0; margin-top:3px; }
.copy-quality .is-danger:not(:where(.badge,.btn,.is-text)) { padding:8px; }
#handoff-workspace td:last-child { min-width:190px; }
#handoff-workspace td .inline-feedback { max-width:420px; }
@media(max-width:1200px) { .route-row { grid-template-columns:1fr 1fr; } }
@media(max-width:1200px) { .route-row .route-advanced { grid-column:1/-1; } }
@media(max-width:850px) { .row__aside { flex-basis:150px; } }
@media(max-width:560px) { .row { padding:18px 14px; } }
@media(max-width:560px) { .row__main { flex-basis:calc(100% - 44px); } }
@media(max-width:560px) { .row__aside { margin-left:0; flex-basis:100%; } }
@media(max-width:560px) { .row-inline-actions { flex-direction:row; flex-wrap:wrap; } }
@media(max-width:560px) { .row-more { flex:1 1 100%; } }
@media(max-width:560px) { .model-heading { align-items:flex-start; } }
@media(max-width:560px) { .execution-row { grid-template-columns:1fr auto; } }
@media(max-width:560px) { .execution-row>div:last-child { grid-column:1/-1; } }
@media(max-width:560px) { .panel:not(:where(.panel--inset)) { padding:18px; } }
@media(max-width:560px) { #contacts table,#contacts tbody,#contacts tr,#contacts td { display:block; } }
@media(max-width:560px) { #contacts th { display:none; } }
@media(max-width:560px) { #contacts td { border:0; } }
@media(max-width:560px) { #contacts tr { border-bottom:1px solid var(--line); } }
@media(max-width:560px) { .row__aside .btn { white-space:normal; } }
.task-panel .row__summary { max-width:none; line-height:1.6; margin:5px 0 0; }
.task-panel .row { padding:14px 16px; gap:16px; align-items:flex-start; }
#batchform .rows .row { display:grid; grid-template-columns:22px minmax(0,1fr); padding:16px 18px; gap:6px 14px; }
#batchform .rows .row__aside { grid-column:2; display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:8px 18px; text-align:left; padding:0; }
#batchform .rows .row__intro { max-width:none; margin:6px 0; }
#batchform .rows .row-inline-actions,.row-secondary-actions { display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; gap:6px; }
#batchform .rows .row-inline-actions { margin:0; }
.row-secondary-actions .btn { padding:6px 9px; min-height:32px; }
#handoff-workspace .grid { margin:12px 0; }
#handoff-workspace .section { margin-top:18px; }
.handoff-context { border-left:4px solid var(--accent,var(--accent-alt)); padding:14px 18px; background:var(--handoff-context-bg); margin:12px 0; }
.handoff-context h2 { margin:0 0 6px; }
.handoff-mail { padding:12px 0; border-bottom:1px solid var(--line); }
.handoff-mail .email-body { max-height:260px; overflow:auto; margin:8px 0; white-space:pre-wrap; }
.handoff-preview { margin:12px 0; }
.handoff-plan-help { background:var(--handoff-help-bg); padding:14px; margin:10px 0; line-height:1.65; }
.handoff-plan-help ol { margin:8px 0; padding-left:22px; }
.copy-score { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; margin:10px 0; }
.copy-score b { font-size:20px; }
.copy-scores { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:8px; }
.copy-scores>div { padding:10px; background:var(--copy-score-bg); border-radius:6px; }
@media(max-width:700px) { .task-panel .row__aside { flex-basis:100%; padding:0; display:flex; justify-content:space-between; } }
@media(max-width:700px) { .handoff-table { display:block; overflow:auto; } }
@media(max-width:700px) { #handoff-workspace .filters { align-items:stretch; } }
@media(max-width:700px) { .handoff-plan-help { padding:10px; } }
.help-disclosure { margin:10px 0 16px; color:var(--dim); }
.help-disclosure>summary { cursor:pointer; }
.help-disclosure[open]>summary { margin-bottom:10px; }
.submit-feedback { display:inline-block; margin:6px 10px; color:var(--accent); font-size:13px; overflow-wrap:anywhere; }
.is-loading { cursor:wait; }
.is-loading::before { content:""; display:inline-block; width:13px; height:13px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:action-spin .8s linear infinite; flex-shrink:0; }
@media(prefers-reduced-motion:reduce) { .is-loading::before { animation:none; } }
.btn[aria-disabled="true"] { opacity:.7; cursor:wait; }
.review-meta>.badge { align-self:flex-start; white-space:nowrap; }
.table-scroll { overflow-x:auto; }
.table-scroll table { min-width:700px; }
/* Fluid reports preserve the original adaptive width; scroll tables remain separate. */
.table-fluid { overflow:visible; }
.table-fluid table { min-width:0; }
.inquiry-editor { margin-top:14px; }
.inquiry-editor[open]>summary { margin-bottom:16px; }
.document-start-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:16px; }
.document-start-form>.notice--info,.document-start-form>button { grid-column:1/-1; }
.document-start-form label { min-width:0; }
.record-help { margin:4px 0; }
.draft-history-body { margin:12px 0; }
.contact-actions+.help-disclosure { font-size:13px; }
.row .row__main { overflow-wrap:anywhere; }
@media(max-width:600px) { .document-start-form { grid-template-columns:1fr; } }
@media(max-width:600px) { .document-start-form .span-2 { grid-column:1; } }
@media(max-width:600px) { .submit-feedback { display:block; margin-left:0; } }
.task-history { table-layout:auto; }
.task-history th, .task-history td:first-child, .task-history .badge, .task-history .btn { white-space:nowrap; }
.task-history td:nth-child(3) { min-width:170px; }
.work-stage { padding:12px 14px; }
.stage-index { display:none; }
.inline-analysis { margin-top:6px; font-size:13px; line-height:1.6; }
.inline-analysis>summary { cursor:pointer; color:var(--dim); }
.detail-open-label,.detail-close-label { color:var(--accent); margin-left:8px; white-space:nowrap; }
.detail-close-label,.inline-analysis[open] .detail-open-label,.inline-analysis[open] .analysis-excerpt { display:none; }
.inline-analysis[open] .detail-close-label { display:inline; }
.workbench-history { padding:12px 0; border-top:1px solid var(--line); }
.row-evidence { font-size:12px; color:var(--dim); margin:4px 0; }
.row-evidence>summary { cursor:pointer; }
.row-evidence[open] { padding-bottom:8px; }
.row-evidence p { margin:8px 0; line-height:1.7; }
.metrics--report { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:0 0 12px; gap:0; }
.metrics--report>div { padding:14px 18px; min-width:0; border-right:1px solid var(--line); }
.metrics--report>div:last-child { border-right:0; }
.metrics--report b { font-size:30px; display:block; line-height:1.4; }
.metrics--report small { font-size:13px; font-weight:400; }
.report-scope { font-size:13px; line-height:1.6; }
.report-scope p { margin:6px 0; }
.report-detail { padding:14px 20px; margin:10px 0; }
.report-detail>summary { cursor:pointer; font-weight:600; }
.report-detail[open]>summary { margin-bottom:14px; }
@media(max-width:760px) { .metrics--report { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { .metrics--report>div:nth-child(2) { border-right:0; } }
@media(max-width:760px) { .work-stage { padding:10px; } }
@media(max-width:760px) { .report-detail { padding:12px 14px; } }
.work-stage { grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto; }
.stage-copy { grid-column:1; grid-row:1/3; }
.work-stage strong { grid-column:2; grid-row:1; }
.stage-unit { grid-column:2; grid-row:2; }
.inline-analysis>summary { font-weight:400; }
.metrics--report span { font-size:13px; }
@media(max-width:760px) { .work-stage:last-child { grid-column:1/-1; } }
:where(.ui-refined) .kv, :where(.ui-refined) .muted, :where(.ui-refined) small, :where(.ui-refined) .form-help { font-size:var(--fs-sm); line-height:1.65; color:var(--dim); }
:where(.ui-refined) .panel:not(:where(.panel--inset)) { background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); padding:var(--sp-5); box-shadow:var(--shadow); }
:where(.ui-refined) .panel--inset { background:var(--card); border:1px solid var(--line); border-radius:var(--r-md); padding:var(--sp-4) var(--sp-5); box-shadow:var(--shadow); }
:where(.ui-refined) .eyebrow { color:var(--accent); font-size:var(--fs-xs); font-weight:700; letter-spacing:.1em; text-transform:uppercase; margin-bottom:var(--sp-1); }
:where(.ui-refined) .btn { display:inline-flex; align-items:center; justify-content:center; gap:var(--sp-1); padding:9px var(--sp-4); min-height:36px; background:var(--accent); color:var(--card); border:1px solid var(--accent); border-radius:var(--r-sm); cursor:pointer; font-size:var(--fs-sm); font-weight:650; text-decoration:none; line-height:1.2; }
:where(.ui-refined) .btn:hover { filter:brightness(.94); }
:where(.ui-refined) .btn.btn--ghost:not(:where(.btn--quiet)), :where(.ui-refined) .btn.btn--quiet { background:var(--card); color:var(--accent); border-color:var(--line-strong); }
:where(.ui-refined) .btn.btn--ghost:not(:where(.btn--quiet)):hover, :where(.ui-refined) .btn.btn--quiet:hover { background:var(--accent-soft); }
:where(.ui-refined) .btn.btn--danger { background:var(--danger); border-color:var(--danger); color:var(--card); }
:where(.ui-refined) .btn.btn--sm { padding:6px 11px; min-height:28px; font-size:var(--fs-xs); }
:where(.ui-refined) .btn:disabled, :where(.ui-refined) .btn[aria-disabled="true"] { opacity:.45; cursor:not-allowed; }
:where(.ui-refined) form.inline { display:inline-flex; }
:where(.ui-refined) .panel:not(:where(.panel--inset)) > details:not(.section) { margin-top:var(--sp-3); }
:where(.ui-refined) .panel:not(:where(.panel--inset)) form.panel--inset { margin-top:var(--sp-3); }
:where(.ui-refined) .panel:not(:where(.panel--inset)) > form.inline { margin-top:var(--sp-3); }
:where(.ui-refined) .panel:not(:where(.panel--inset)) > p.muted { margin-top:var(--sp-3); }
:where(.ui-refined) form.panel--inset { display:flex; flex-wrap:wrap; gap:var(--sp-2); align-items:center; background:var(--soft); border:1px solid var(--line); border-radius:var(--r-md); padding:var(--sp-3); margin:var(--sp-2) 0; box-shadow:none; }
:where(.ui-refined) form.panel--inset input:not([type=checkbox]), :where(.ui-refined) form.panel--inset select { flex:1 1 160px; min-width:0; }
:where(.ui-refined) form.panel--inset button { flex:0 0 auto; }
:where(.ui-refined) .classification-details { margin-top:var(--sp-2); font-size:var(--fs-sm); }
:where(.ui-refined) .classification-details > summary { color:var(--dim); font-weight:400; }
:where(.ui-refined) .classification-details details, :where(.ui-refined) .classification-details form { margin-top:var(--sp-2); }
:where(.ui-refined) .classification-details .panel--inset { margin-top:var(--sp-2); padding:var(--sp-3); }
:where(.ui-refined) .check-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:var(--sp-1) var(--sp-3); margin:var(--sp-2) 0; }
:where(.ui-refined) .check-grid label { display:flex; align-items:center; gap:var(--sp-2); font-weight:400; font-size:var(--fs-sm); }
:where(.ui-refined) [data-draft-editor] label.kv { color:var(--dim); font-weight:400; }
:where(.ui-refined) .draft-subject { font-weight:650; }
:where(.ui-refined) .review-actions { display:flex; gap:var(--sp-2); flex-wrap:wrap; align-items:center; border-top:1px solid var(--line); padding-top:var(--sp-3); margin-top:var(--sp-3); }
:where(.ui-refined) .review-card { margin:var(--sp-3) 0; }
:where(.ui-refined) .review-meta { display:flex; justify-content:space-between; gap:var(--sp-4); flex-wrap:wrap; margin-bottom:var(--sp-3); }
:where(.ui-refined) .filters { gap:var(--sp-2); padding:var(--sp-3); background:var(--soft); border:1px solid var(--line); border-radius:var(--r-md); }
:where(.ui-refined) .badge { display:inline-block; padding:2px var(--sp-2); border-radius:999px; font-size:var(--fs-xs); line-height:1.4; margin:1px 3px 1px 0; background:var(--soft); color:var(--dim); }
:where(.ui-refined) .badge.is-ok { background:var(--ok-soft); color:var(--ok); }
:where(.ui-refined) .badge.is-danger { background:var(--danger-soft); color:var(--danger); }
:where(.ui-refined) .badge.is-warn { background:var(--warn-soft); color:var(--warn); }
:where(.ui-refined) .badge.is-info { background:var(--info-soft); color:var(--info); }
:where(.ui-refined) .notice--ok, :where(.ui-refined) .notice--warn, :where(.ui-refined) .is-danger:not(:where(.badge,.btn,.is-text)), :where(.ui-refined) .notice--info { border-radius:var(--r-md); padding:var(--sp-3) var(--sp-4); margin:var(--sp-3) 0; border:1px solid var(--line); }
:where(.ui-refined) .notice--ok { background:var(--ok-soft); border-color:var(--ok-line); }
:where(.ui-refined) .notice--warn { background:var(--warn-soft); border-color:var(--warn-line); }
:where(.ui-refined) .is-danger:not(:where(.badge,.btn,.is-text)) { background:var(--danger-soft); border-color:var(--danger-line); }
:where(.ui-refined) .notice--info { background:var(--info-soft); border-color:var(--info-line); color:var(--ink); }
:where(.ui-refined) .notice--ok b { color:var(--ok); }
:where(.ui-refined) .notice--warn b { color:var(--warn); }
:where(.ui-refined) .is-danger:not(:where(.badge,.btn,.is-text)) b { color:var(--danger); }
:where(.ui-refined) .ok-actions { margin-top:var(--sp-2); display:flex; gap:var(--sp-2); flex-wrap:wrap; }
:where(.ui-refined) .is-danger { color:var(--danger); }
:where(.ui-refined) .notice--focus { display:flex; align-items:center; justify-content:space-between; gap:var(--sp-5); background:var(--card); color:var(--ink); border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:var(--r-md); padding:var(--sp-4) var(--sp-5); margin:var(--sp-2) 0 var(--sp-5); }
:where(.ui-refined) .notice--focus h2 { font-size:var(--fs-lg); margin:0 0 var(--sp-1); color:var(--ink); }
:where(.ui-refined) .notice--focus p { color:var(--dim); margin:0; max-width:840px; }
:where(.ui-refined) .notice--focus .eyebrow { color:var(--accent); }
:where(.ui-refined) .notice--focus .btn { background:var(--accent); color:var(--card); border-color:var(--accent); white-space:nowrap; }
:where(.ui-refined) .journey { margin:0 0 var(--sp-4); font-size:var(--fs-sm); color:var(--dim); }
:where(.ui-refined) .journey > summary { font-weight:500; }
:where(.ui-refined) .flow { display:grid; grid-template-columns:repeat(6,minmax(120px,1fr)); gap:var(--sp-1); margin:var(--sp-3) 0 var(--sp-4); }
:where(.ui-refined) .flow-step { padding:var(--sp-2) var(--sp-3); border:1px solid transparent; border-radius:var(--r-sm); background:transparent; box-shadow:none; min-height:64px; }
:where(.ui-refined) .flow-step b { display:block; margin-bottom:var(--sp-1); font-size:var(--fs-sm); color:var(--ink); }
:where(.ui-refined) .flow-step .muted { font-size:var(--fs-xs); }
:where(.ui-refined) .flow-number { display:inline-flex; align-items:center; justify-content:center; width:21px; height:21px; border-radius:50%; background:var(--soft); color:var(--dim); margin-right:var(--sp-1); font-size:var(--fs-xs); }
:where(.ui-refined) .flow-step.done { background:var(--ok-soft); border-color:var(--ok-line); }
:where(.ui-refined) .flow-step.done .flow-number { background:var(--ok); color:var(--card); }
:where(.ui-refined) .flow-step.current { background:var(--accent-soft); border-color:var(--accent); box-shadow:none; }
:where(.ui-refined) .flow-step.current .flow-number { background:var(--accent); color:var(--card); }
:where(.ui-refined) .flow-step.active { background:var(--accent-soft); border-color:var(--accent); }
:where(.ui-refined) .flow-step.blocked { background:var(--warn-soft); border-color:var(--warn-line); }
:where(.ui-refined) .rows { background:var(--card); border:1px solid var(--line); border-radius:var(--r-md); overflow:hidden; }
:where(.ui-refined) .row { display:flex; align-items:center; gap:var(--sp-3); min-width:0; padding:var(--sp-3) var(--sp-4); border-bottom:1px solid var(--line); }
:where(.ui-refined) .row:last-child { border-bottom:0; }
:where(.ui-refined) .rows--compact .row { padding:var(--sp-2) var(--sp-3); }
:where(.ui-refined) .row__main { min-width:0; flex:1; }
:where(.ui-refined) .action-row { display:flex; align-items:center; justify-content:space-between; gap:var(--sp-4); padding:var(--sp-3) 0; border-bottom:1px solid var(--line); }
:where(.ui-refined) .action-row:last-child { border-bottom:0; }
:where(.ui-refined) .empty { text-align:center; padding:var(--sp-5) var(--sp-4); color:var(--dim); background:var(--card); border:1px dashed var(--line-strong); border-radius:var(--r-md); font-size:var(--fs-sm); }
:where(.ui-refined) pre.evidence, :where(.ui-refined) .email-body { white-space:pre-wrap; overflow-wrap:anywhere; background:var(--soft); border:1px solid var(--line); border-radius:var(--r-sm); padding:var(--sp-3); font:var(--fs-xs)/1.55 "Segoe UI",system-ui,sans-serif; margin:var(--sp-2) 0; }
:where(.ui-refined) details.technical { margin:var(--sp-5) 0; color:var(--dim); }
:where(.ui-refined) details.technical > summary { color:var(--dim); font-weight:600; padding:var(--sp-2) 0; }
:where(.ui-refined) details.technical > .panel:not(:where(.panel--inset)) { margin-top:var(--sp-3); }
:where(.ui-refined) .technical .panel:not(:where(.panel--inset)) > h2 { margin:var(--sp-5) 0 var(--sp-3); }
:where(.ui-refined) .technical .panel:not(:where(.panel--inset)) > h2:first-child { margin-top:0; }
:where(.ui-refined) .evidence-card { box-shadow:none; margin:var(--sp-2) 0; padding:var(--sp-3); background:var(--soft); }
:where(.ui-refined) .evidence-snippet { margin-top:var(--sp-2); }
:where(.ui-refined) .priority-score { font-size:var(--fs-xl); line-height:1.1; color:var(--priority-score-ink); display:block; text-align:right; white-space:nowrap; }
:where(.ui-refined) .priority-score small { font-size:var(--fs-xs); display:block; margin-top:var(--sp-2); font-weight:500; color:var(--dim); }
:where(.ui-refined) .business-intro { font-size:var(--fs-md); line-height:1.8; color:var(--intro-ink); }
:where(.ui-refined) .business-intro p { margin:var(--sp-1) 0; }
:where(.ui-refined) .is-accent { color:var(--accent); }
:where(.ui-refined) .product-opportunity { border:1px solid var(--line); background:var(--card); border-radius:var(--r-md); padding:var(--sp-4); }
:where(.ui-refined) .product-opportunity .section-head { align-items:flex-start; gap:var(--sp-2); margin:0; }
:where(.ui-refined) .product-opportunity h3 { font-size:var(--fs-md); margin:0; }
:where(.ui-refined) .product-opportunity strong { font-size:var(--fs-lg); white-space:nowrap; }
:where(.ui-refined) .product-opportunity strong small { font-weight:400; font-size:var(--fs-xs); }
:where(.ui-refined) .product-opportunity p { font-size:var(--fs-sm); line-height:1.75; margin:var(--sp-3) 0; }
:where(.ui-refined) .restriction-note { margin-top:var(--sp-3); background:var(--restriction-bg); border-left:3px solid var(--restriction-border); padding:var(--sp-2); font-size:var(--fs-xs); color:var(--restriction-ink); }
:where(.ui-refined) .analysis-notes { margin-top:var(--sp-5); padding-top:var(--sp-4); border-top:1px solid var(--line); }
:where(.ui-refined) .analysis-notes p { line-height:1.85; margin:var(--sp-2) 0; color:var(--analysis-ink); }
:where(.ui-refined) .evidence-gaps { padding:var(--sp-3) var(--sp-4); background:var(--soft); border-radius:var(--r-md); margin-top:var(--sp-3); font-size:var(--fs-sm); }
:where(.ui-refined) .evidence-gaps ul { margin:var(--sp-2) 0; padding-left:22px; }
:where(.ui-refined) .contact-actions { display:flex; gap:var(--sp-2); flex-wrap:wrap; margin:var(--sp-4) 0; }
:where(.ui-refined) .help-disclosure { margin:var(--sp-3) 0 var(--sp-4); color:var(--dim); }
:where(.ui-refined) .help-disclosure > summary { cursor:pointer; }
:where(.ui-refined) .help-disclosure[open] > summary { margin-bottom:var(--sp-3); }
:where(.ui-refined) .channel-summary { background:var(--channel-summary-bg); padding:var(--sp-3) var(--sp-4); border-radius:var(--r-md); margin-bottom:var(--sp-3); font-size:var(--fs-sm); }
:where(.ui-refined) .channel-summary p { margin:var(--sp-1) 0; }
:where(.ui-refined) .people-list { display:grid; gap:var(--sp-2); }
:where(.ui-refined) .people-list > div { display:flex; gap:var(--sp-3); background:var(--soft); padding:var(--sp-3); border-radius:var(--r-sm); }
:where(.ui-refined) .people-list a { margin-left:auto; }
:where(.ui-refined) .plan-row { padding:var(--sp-3) 0; border-bottom:1px solid var(--line); }
:where(.ui-refined) .plan-row:last-child { border-bottom:0; padding-bottom:0; }
:where(.ui-refined) .plan-row p { margin:var(--sp-1) 0 0; }
:where(.ui-refined) .copy-quality { margin:var(--sp-3) 0; padding:var(--sp-3); border:1px solid var(--line); border-radius:var(--r-md); }
:where(.ui-refined) .copy-quality p { margin:var(--sp-2) 0; }
:where(.ui-refined) .copy-quality .is-danger:not(:where(.badge,.btn,.is-text)) { padding:var(--sp-2); }
:where(.ui-refined) .record-help { margin:var(--sp-1) 0; }
:where(.ui-refined) .copy-score { display:flex; align-items:baseline; gap:var(--sp-3); flex-wrap:wrap; margin:var(--sp-3) 0; }
:where(.ui-refined) .copy-score b { font-size:var(--fs-lg); }
:where(.ui-refined) .copy-scores { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:var(--sp-2); }
:where(.ui-refined) .copy-scores > div { padding:var(--sp-3); background:var(--copy-score-bg); border-radius:var(--r-sm); }
@media (max-width:980px) { :where(.ui-refined) .flow { grid-template-columns:repeat(2,1fr); } }
@media (max-width:850px) { :where(.ui-refined) .panel:not(:where(.panel--inset)) { padding:var(--sp-4); } }
@media (max-width:850px) { :where(.ui-refined) .notice--focus { align-items:flex-start; flex-direction:column; padding:var(--sp-4); } }
@media (max-width:720px) { :where(.ui-refined) .flow { grid-template-columns:1fr; } }
@media (max-width:560px) { :where(.ui-refined) .row { padding:var(--sp-3); } }
@media (min-width:1280px) { :where(.ui-refined) .product-opportunity { padding:var(--sp-3); } }
.work-stage.has-work strong { font-weight:850; }
.work-stage.is-current { background:var(--accent-soft); box-shadow:inset 3px 0 0 var(--accent); }
.work-stage.is-current b { font-weight:800; }
.work-stage.is-complete { background:var(--ok-soft); }
.work-stage.is-complete strong { color:var(--ok); }
.work-stage.is-blocked { background:var(--warn-soft); box-shadow:inset 3px 0 0 var(--warn-line); }
