/* Daily-operation layer: the existing green/paper palette, with readable density. */
body { font-size: 16px; }
.app-shell { grid-template-columns: 236px minmax(0, 1fr); }
.sidebar { padding: 26px 16px 18px; overflow-y: auto; }
.brand { padding: 0 12px 28px; }
.brand strong { font-size: 25px; }
.brand small { font-family: var(--body); font-size: 13px; line-height: 1.6; }
.nav-list { gap: 6px; }
.nav-item { min-height: 54px; padding: 12px; font-size: 18px; }
.nav-index { font-size: 12px; }
.nav-item b { font-size: 12px; min-width: 28px; text-align: right; }
.admin-nav { margin-top: 22px; border-top: 1px solid #38534a; }
.sidebar-rail { min-height: 28px; }
.sidebar-note { padding: 14px; }
.sidebar-note > .eyebrow { display: none; }
.sidebar-note strong { font-size: 15px; }
.sidebar-note p { font-size: 13px; line-height: 1.7; }
.mode-line { align-items: center; line-height: 1.7; font-size: 12px; }
.mode-line > span:last-child { width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; }
.operator { min-height: 62px; flex-shrink: 0; }
.operator strong { font-size: 16px; }
.operator small { font-size: 12px; }
.main-stage { min-width: 0; padding: 0 32px 48px; background-image: none; }
.view, .topbar { width: 100%; max-width: 1740px; margin-left: auto; margin-right: auto; }
.topbar { height: 76px; gap: 15px; }
.crumb { font-size: 14px; min-width: 0; }
.crumb span:last-child { color: #57695f; font-size: 12px; }
.topbar-actions { flex-shrink: 0; }
.quiet-button, .command-button { font-family: var(--body); font-size: 14px; padding: 10px 14px; min-height: 42px; }
.local-badge { font-family: var(--body); font-size: 12px; border-color: #bdcec1; background: #e2eae2; color: var(--moss-dark); }
.view-heading, .hero-line, .view-heading.split-heading { padding: 28px 0 24px; margin: 0; align-items: center; }
.view-heading h1, .hero-line h1 { margin: 4px 0 8px; font-family: var(--body); font-size: 34px; line-height: 1.25; font-weight: 650; letter-spacing: -1px; }
.view-heading > .eyebrow, .view-heading > div > .eyebrow { display: none; }
.view-heading p { max-width: 850px; font-family: var(--body); font-size: 15px; line-height: 1.7; margin: 0; color: #53665b; }
.view-heading .prospect-counter, .view-heading .product-counter, .view-heading .approval-counter, .view-heading .archive-counter, .view-heading .account-counter { min-width: 180px; padding: 10px 16px; margin: 0; border: 0; background: transparent; }
.view-heading .prospect-counter strong, .view-heading .product-counter strong, .view-heading .approval-counter strong, .view-heading .archive-counter strong, .view-heading .account-counter strong { font-size: 32px; }
.view-heading :is(.prospect-counter,.product-counter,.approval-counter,.archive-counter,.account-counter) :is(span,small) { font-size: 12px; line-height: 1.6; }
.panel { box-shadow: none; }
.section-heading h2, .view h2 { font-family: var(--body); font-size: 20px; font-weight: 650; letter-spacing: -.3px; line-height: 1.4; }
.section-heading .eyebrow { display: none; }
.eyebrow { font-size: 11px; }
.view :is(input,select,textarea) { font-family: var(--body); font-size: 15px; line-height: 1.55; min-width: 0; }
.view :is(input:not([type=checkbox]),select) { min-height: 42px; }
.view label { font-family: var(--body); font-size: 14px; }
.view button { font-family: var(--body); }
button, a, summary, input, select, textarea { scroll-margin-top: 20px; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; }
.workflow-tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border-bottom: 1px solid var(--line); padding: 0 0 12px; margin: 0 0 20px; }
.workflow-tabs button { padding: 10px 17px; min-height: 42px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #4e6459; font-size: 15px; }
.workflow-tabs button:hover { background: #e0e7de; color: var(--deep); }
.workflow-tabs button.active { color: var(--paper-bright); background: var(--deep); }
.workflow-tabs button span { font-size: 12px; margin-left: 6px; opacity: .75; }
.workflow-subtabs { border: 0; padding: 0; margin-bottom: 14px; }
.workflow-subtabs > span { margin-left: auto; font-size: 13px; color: #53665b; }
.workflow-production { display: grid; grid-template-columns: 1.2fr 1fr; gap: 35px; padding: 28px 32px; background: var(--deep); color: var(--paper-bright); border-left: 4px solid var(--sun); }
.workflow-production h2 { color: var(--paper-bright); font-size: 27px; margin: 8px 0 12px; }
.workflow-production p { margin: 0 0 12px; font-size: 15px; }
.workflow-production :is(small,.eyebrow) { color: #b5cbbd; font-size: 13px; line-height: 1.6; }
.workflow-progress { display: flex; flex-direction: column; justify-content: center; gap: 8px; border-left: 1px solid #3b554b; padding-left: 32px; }
.workflow-progress > span { font-size: 14px; color: #d5e0d8; }
.workflow-progress > strong { font-family: var(--display); font-weight: 500; font-size: 46px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.workflow-progress > strong small { font-family: var(--body); font-size: 16px; }
.workflow-progress progress { height: 6px; margin: 6px 0 2px; width: 100%; appearance: none; border: 0; background: #385248; }
.workflow-progress progress::-webkit-progress-bar { background: #385248; }
.workflow-progress progress::-webkit-progress-value { background: var(--sun); }
.workflow-progress progress::-moz-progress-bar { background: var(--sun); }
.workflow-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.workflow-metric { padding: 23px 22px; color: var(--deep); text-align: left; border: 0; border-right: 1px solid var(--line); background: #f3f2ea; display: flex; flex-direction: column; gap: 7px; }
.workflow-metric:last-child { border-right: 0; }
.workflow-metric:hover { background: #e3ebe0; }
.workflow-metric > span { font-size: 14px; }
.workflow-metric > strong { font-family: var(--display); font-size: 38px; font-weight: 500; line-height: 1.15; font-variant-numeric: tabular-nums; }
.workflow-metric > small { color: #5c7063; font-size: 12px; line-height: 1.6; }
.workflow-overview-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; margin-bottom: 22px; }
.workflow-priorities, .workflow-delivery, .workflow-latest { padding: 22px 24px; }
.workflow-priorities .section-heading { margin-bottom: 6px; }
.workflow-priorities .section-heading > span { font-size: 12px; color: #63766a; }
.workflow-action { display: flex; width: 100%; align-items: center; gap: 20px; text-align: left; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: none; padding: 17px 0; }
.workflow-action:last-child { border-bottom: 0; padding-bottom: 2px; }
.workflow-action > span:first-child { flex: 1; }
.workflow-action strong, .workflow-customer strong { display: block; font-size: 16px; font-weight: 650; }
.workflow-action small { display: block; color: #627569; font-size: 13px; margin-top: 5px; }
.workflow-action > b { font-size: 24px; font-weight: 500; color: #65796c; font-family: var(--display); }
.workflow-action.has-items > b { color: var(--moss-dark); }
.workflow-action:hover strong { color: var(--moss-dark); text-decoration: underline; }
.workflow-delivery h2 { margin: 0; }
.workflow-delivery ol { margin: 20px 0 14px; padding-left: 24px; display: grid; gap: 19px; }
.workflow-delivery li { padding-left: 8px; color: var(--moss-dark); }
.workflow-delivery li strong { display: block; font-size: 16px; color: var(--deep); }
.workflow-delivery li span { display: block; font-size: 13px; color: #576c60; line-height: 1.65; margin-top: 5px; }
.workflow-delivery p, .workflow-footnote { font-size: 12px; color: #5b6f62; line-height: 1.7; }
.workflow-delivery > button, .workflow-latest .section-heading button { padding: 8px 0; font-size: 14px; border: 0; background: none; color: var(--moss-dark); }
.workflow-customer { display: grid; grid-template-columns: minmax(0,1fr) 80px 110px 20px; width: 100%; gap: 16px; text-align: left; align-items: center; padding: 16px 0; border: 0; border-top: 1px solid var(--line); color: var(--ink); background: none; }
.workflow-customer:hover { background: rgba(46,139,117,.04); }
.workflow-customer small { display: block; margin-top: 5px; font-size: 13px; color: #5a6f61; }
.workflow-customer strong { overflow-wrap: anywhere; }
.workflow-score { font-family: var(--display); font-size: 24px; text-align: center; }
.workflow-score small { font-family: var(--body); font-size: 11px; }
.workflow-customer time { font-size: 12px; color: #5a6f61; }
.workflow-loading { padding: 60px 30px; color: #52675a; }
.workflow-pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.workflow-pagination button { border: 1px solid var(--line); padding: 8px 12px; min-height: 38px; background: transparent; font-size: 13px; color: var(--moss-dark); border-radius: 3px; }
.workflow-pagination button:disabled { opacity: .4; cursor: default; }
.workflow-pagination span { font-size: 12px; color: #566d5e; }
.workflow-search { display: grid; grid-template-columns: minmax(0,1fr) 140px; gap: 12px; margin-bottom: 20px; }
.workflow-search label { display: grid; gap: 7px; font-size: 13px; color: #52685a; }
.workflow-search input, .workflow-search select { width: 100%; border: 1px solid #b9c7ba; background: #fffef9; padding: 9px; color: var(--ink); border-radius: 3px; }
.workflow-live-strip { display: flex; justify-content: space-between; gap: 15px; padding: 12px 16px; border: 1px solid #c4d1c2; background: #e2eadd; font-size: 14px; line-height: 1.6; color: #375b48; }
.workflow-live-strip button { color: #fff; background: var(--moss-dark); border: 0; padding: 6px 12px; white-space: nowrap; font-size: 13px; }
.prospect-pool-layout { grid-template-columns: minmax(340px,.8fr) minmax(0,1.2fr); gap: 20px; }
.prospect-company-registry { position: sticky; top: 16px; }
.prospect-company-list { max-height: 650px; overflow: auto; }
.prospect-company-row { min-height: 94px; padding: 14px 8px; gap: 12px; }
.prospect-company-copy strong { font-size: 15px; line-height: 1.45; }
.prospect-company-copy small { font-family: var(--body); font-size: 12px; line-height: 1.7; }
.prospect-list-status { font-family: var(--body); font-size: 11px; white-space: nowrap; }
.prospect-list-score { font-size: 25px; min-width: 32px; }
.prospect-summary-strip { margin-bottom: 14px; }
.prospect-summary-strip span { font-size: 12px; }
.prospect-summary-strip b { font-size: 23px; }
.prospect-filter { min-height: 38px; font-size: 13px; padding: 8px 11px; }
.prospect-company-header h2 { font-size: 24px; margin: 8px 0; overflow-wrap: anywhere; }
.prospect-company-header :is(span,small) { font-family: var(--body); font-size: 13px; line-height: 1.6; }
.prospect-research-header { flex-wrap: wrap; margin-top: 16px; padding-top: 15px; }
.prospect-research-actions { align-items: flex-start; gap: 8px; }
.prospect-research-actions > span { font-size: 12px; line-height: 1.65; white-space: normal; }
.prospect-research-actions button { font-size: 12px; min-height: 34px; }
.prospect-research-copy { grid-template-columns: 1fr; gap: 14px; }
.prospect-research-copy :is(span,p), .prospect-evidence-list p { font-family: var(--body); font-size: 15px; line-height: 1.75; }
.prospect-research-copy article > span { font-size: 13px; color: #637467; }
.prospect-risk-flags span { font-size: 13px; line-height: 1.65; }
.prospect-research-section-title :is(strong,small) { font-family: var(--body); font-size: 14px; line-height: 1.65; }
.prospect-research-section-title .eyebrow { display: none; }
.prospect-evidence-list :is(a,small,span), .prospect-contact-row :is(a,small,span) { font-family: var(--body); font-size: 13px; line-height: 1.6; }
.prospect-contact-row strong { font-size: 14px; }
.prospect-match-card p, .prospect-match-card small, .prospect-match-card strong { font-family: var(--body); font-size: 14px; line-height: 1.7; }
.workflow-disclosure { border: 1px solid var(--line); border-radius: 3px; margin: 18px 0 0; background: rgba(246,245,238,.55); }
.workflow-disclosure > summary { cursor: pointer; padding: 14px 16px; font-size: 14px; font-weight: 600; color: #425f4e; }
.workflow-disclosure[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 15px; }
.workflow-disclosure > :not(summary) { margin: 12px 16px 16px; }
.workflow-disclosure .panel { border: 0; background: transparent; }
.workflow-settings-panel > section { margin: 0 0 20px; }
.workflow-settings-panel :is(p,small) { font-family: var(--body); font-size: 14px; line-height: 1.75; }
.workflow-settings-panel .panel { padding: 24px; }
.workflow-settings-panel :is(.mail-safety-panel,.reply-forward-panel,.unattended-outreach-panel) > header { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.workflow-settings-panel :is(.mail-gate-grid,.mail-domain-auth-checks) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 20px; }
.workflow-settings-panel .mail-gate-grid article { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--line); }
.workflow-settings-panel .mail-gate-grid small { display: block; font-size: 12px; }
.workflow-settings-panel :is(.mail-settings-form,.unattended-settings,.reply-forward-form) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.workflow-settings-panel label { display: flex; flex-direction: column; gap: 8px; }
.workflow-settings-panel input, .workflow-settings-panel select { padding: 9px 12px; width: 100%; border: 1px solid var(--line); background: #fffef8; color: var(--ink); }
.workflow-settings-panel .mail-checkbox { flex-direction: row; align-items: center; }
.workflow-settings-panel .mail-checkbox input { width: 18px; height: 18px; min-height: 0; }
.workflow-settings-panel :is(.mail-settings-actions,.unattended-actions) { grid-column: 1/-1; display: flex; gap: 10px; }
.workflow-settings-panel button { font-size: 14px; min-height: 40px; }
.workflow-settings-panel .mail-primary-button { color: #f6f5ee; background: var(--deep); border: 1px solid var(--deep); padding: 10px 16px; }
.workflow-settings-panel .mail-outline-button { color: var(--moss-dark); border: 1px solid var(--moss-dark); background: transparent; padding: 10px 16px; }
.workflow-settings-panel .mail-stop-button { color: #a6402e; border: 1px solid #c87d69; padding: 10px 16px; background: #fcf1e8; }
.workflow-settings-panel :is(.reply-forward-ledger,.unattended-ledger) { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.workflow-settings-panel :is(.reply-forward-ledger,.unattended-ledger) article { border: 1px solid var(--line); padding: 14px; }
.workflow-settings-panel :is(.reply-forward-ledger,.unattended-ledger) :is(span,strong,small) { display: block; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.workflow-settings-panel :is(.reply-forward-ledger,.unattended-ledger) strong { font-size: 17px; margin: 8px 0; }
.workflow-settings-panel .account-workbench { grid-template-columns: 360px minmax(0,1fr); }
#review .mail-control-layout, .workflow-inbox-primary { display: block; }
#review .mail-draft-board, #review .mail-queue-board { padding: 22px; }
#review .mail-draft-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; max-height: none; }
#review .mail-draft-list > .mail-empty { grid-column: 1/-1; }
#review .mail-eligibility-card { margin: 0; padding: 18px; }
#review .mail-bilingual-preview { grid-template-columns: 1fr; }
#review .mail-eligibility-card :is(p,small), #review .mail-quality-line small { font-size: 13px; line-height: 1.7; }
#review .mail-eligibility-card header strong, #review .mail-eligibility-card h3 { font-size: 16px; }
#review .mail-filter-set button { font-size: 14px; min-height: 40px; }
#review .mail-batch-row small, #review .mail-queue-row small { font-size: 13px; line-height: 1.7; }
#review .mail-queue-row strong, #review .mail-batch-row strong { font-size: 16px; }
.archive-metrics { margin-bottom: 18px; }
.archive-metrics article { min-height: 0; padding: 16px 20px; }
.archive-metrics strong { font-size: 29px; margin: 5px 0; }
.archive-metrics small { font-size: 12px; }
.archive-toolbar { padding: 15px; gap: 14px; }
.archive-workbench { grid-template-columns: minmax(340px,.65fr) minmax(0,1.35fr); gap: 20px; }
.archive-registry { top: 16px; }
.archive-row-main > strong { font-size: 16px; }
.archive-row-email, .archive-row-subject { font-size: 13px; }
.archive-detail-header h2 { font-size: 26px; }
.archive-background p, .archive-evidence-list p { font-size: 15px; line-height: 1.8; }
.archive-counter { display: none; }
#inbox .mail-handoff-board { margin: 0 0 20px; }
#inbox .mail-inbound-row { grid-template-columns: 105px minmax(0,1fr) auto; }
#inbox .mail-inbound-row p { font-size: 15px; line-height: 1.8; }
#inbox .mail-inbound-row :is(span,em) { font-size: 12px; }
#inbox .mail-inbound-row strong, #inbox .mail-inbound-row h3 { font-size: 16px; }
.workflow-inbox-primary .mail-inbound-board { padding: 22px; }
.product-toolbar .source-path { font-size: 14px; }
.product-workbench h2 { font-size: 22px; }
.classification-fields label, .classification-notes { font-size: 14px; }
.classification-actions button, .product-filter { font-size: 13px; min-height: 40px; }
.image-tile img, .product-preview img { object-fit: contain; }
@media (min-width: 2100px) { .main-stage { padding-left: 48px; padding-right: 48px; } .view,.topbar { margin-left: 0; max-width: 1900px; } }
@media (max-width: 1200px) {
  .app-shell { grid-template-columns: 196px minmax(0,1fr); }
  .main-stage { padding-left: 22px; padding-right: 22px; }
  .brand strong { font-size: 22px; }
  .prospect-pool-layout, .archive-workbench { grid-template-columns: 320px minmax(0,1fr); }
  .workflow-search { grid-template-columns: 1fr; }
  .workflow-settings-panel :is(.mail-gate-grid,.mail-settings-form,.unattended-settings,.reply-forward-form) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .workflow-settings-panel .account-workbench { grid-template-columns: 1fr; }
  .workflow-overview-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .prospect-pool-layout, .archive-workbench, .workflow-overview-grid { grid-template-columns: 1fr; }
  .prospect-company-registry { position: static; }
  .prospect-company-list { max-height: 360px; }
  .workflow-search { grid-template-columns: 1fr 150px; }
  #review .mail-draft-list { grid-template-columns: 1fr; }
  .workflow-settings-panel :is(.reply-forward-ledger,.unattended-ledger,.mail-domain-auth-checks) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .crumb span:last-child { display: none; }
}
@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { position: static; height: auto; padding: 15px 16px 9px; display: grid; grid-template-columns: 1fr auto; }
  .brand { padding: 0 0 12px; }
  .brand strong { font-size: 20px; }
  .brand small { display: none; }
  .sidebar-rail, .sidebar-note { display: none; }
  .operator { display: flex; grid-column: 2; grid-row: 1; min-height: 40px; margin: 0; padding: 0; }
  .operator > span:nth-child(2), .operator > b { display: none; }
  .nav-list { grid-column: 1/-1; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 3px; }
  .nav-item { display: block; min-height: 44px; padding: 10px 2px; font-size: 14px; margin: 0; }
  .nav-index, .nav-item b { display: none; }
  .admin-nav { border-top: 0; }
  .main-stage { padding: 0 16px 35px; }
  .topbar { height: 65px; }
  .topbar .local-badge, .crumb em { display: none; }
  .quiet-button { display: inline-block; padding: 8px; font-size: 13px; }
  .command-button { padding: 8px; font-size: 13px; }
  .view-heading, .view-heading.split-heading { display: block; padding: 24px 0 18px; }
  .view-heading h1 { font-size: 29px; }
  .view-heading :is(.product-counter,.prospect-counter,.approval-counter,.account-counter) { display: none; }
  .workflow-production { grid-template-columns: 1fr; padding: 22px; gap: 22px; }
  .workflow-progress { padding: 18px 0 0; border-left: 0; border-top: 1px solid #3b554b; }
  .workflow-progress > strong { font-size: 40px; }
  .workflow-metrics { grid-template-columns: 1fr 1fr; }
  .workflow-metric { padding: 18px 14px; border-bottom: 1px solid var(--line); }
  .workflow-metric:nth-child(2) { border-right: 0; }
  .workflow-metric > strong { font-size: 32px; }
  .workflow-priorities, .workflow-delivery, .workflow-latest { padding: 18px; }
  .workflow-customer { grid-template-columns: minmax(0,1fr) 45px 14px; gap: 10px; }
  .workflow-customer time { display: none; }
  .workflow-score { font-size: 22px; }
  .workflow-tabs { gap: 4px; }
  .workflow-tabs button { padding: 9px 11px; font-size: 14px; }
  .workflow-subtabs > span { margin-left: 0; width: 100%; }
  .workflow-search { grid-template-columns: 1fr; }
  .workflow-live-strip { display: block; font-size: 13px; }
  .workflow-live-strip button { display: block; margin-top: 8px; }
  .prospect-company-registry, .prospect-company-detail { padding: 16px; }
  .prospect-company-row { grid-template-columns: 32px minmax(0,1fr); }
  .prospect-list-status { display: none; }
  .workflow-settings-panel :is(.mail-gate-grid,.mail-domain-auth-checks,.mail-settings-form,.unattended-settings,.reply-forward-form,.reply-forward-ledger,.unattended-ledger) { grid-template-columns: 1fr; }
  .workflow-settings-panel .panel { padding: 16px; }
  .workflow-settings-panel :is(.mail-settings-actions,.unattended-actions) { flex-wrap: wrap; }
  #inbox .mail-inbound-row { grid-template-columns: 1fr; }
  .workflow-pagination { gap: 6px; }
  .workflow-pagination button { padding: 8px; font-size: 12px; }
  .workflow-pagination span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
