:root {
  --ink: #06131e;
  --ink-2: #0a2131;
  --ink-3: #102d40;
  --panel: #10283a;
  --panel-2: #0b2030;
  --paper: #edf4f2;
  --muted: #9eb2bb;
  --line: rgba(220, 239, 237, .15);
  --line-strong: rgba(220, 239, 237, .28);
  --green: #8dca95;
  --green-soft: rgba(141, 202, 149, .13);
  --blue: #8fc8e7;
  --blue-soft: rgba(143, 200, 231, .13);
  --amber: #f0c56f;
  --amber-soft: rgba(240, 197, 111, .14);
  --red: #f09b96;
  --red-soft: rgba(240, 155, 150, .14);
  --violet: #bfacd9;
  --violet-soft: rgba(191, 172, 217, .14);
  --shadow: 0 24px 60px rgba(0, 0, 0, .34);
  --radius: 16px;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--paper); background: radial-gradient(circle at 72% -15%, #143e51 0, transparent 34%), linear-gradient(145deg, #071621 0%, #06131e 62%, #0a1c29 100%); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, .input, input, select, textarea { min-width: 0; }
input, select, textarea { width: 100%; color: #eef6f6; background: rgba(1, 10, 17, .48); border: 1px solid var(--line); border-radius: 9px; outline: none; }
input, select { min-height: 39px; padding: 8px 10px; }
textarea { min-height: 90px; padding: 10px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: rgba(141, 202, 149, .85); box-shadow: 0 0 0 3px rgba(141, 202, 149, .13); }
input[type="date"], input[type="time"] { color-scheme: dark; }
input[type="checkbox"] { accent-color: var(--green); }
input[type="range"] { padding: 0; min-height: 30px; accent-color: var(--green); }
.app-shell { display: grid; grid-template-columns: 284px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 16px 16px; background: linear-gradient(180deg, rgba(5, 18, 28, .98), rgba(8, 27, 40, .98)); border-right: 1px solid var(--line); overflow-y: auto; }
.logo-panel { padding: 0 10px 22px; border-bottom: 1px solid var(--line); }
.scout-logo { display: block; width: 128px; height: auto; max-width: 100%; object-fit: contain; border-radius: 6px; }
.logo-panel p { margin: 12px 0 0; color: #bcd1d4; font-size: 12px; line-height: 1.45; }
.workspace-label { margin: 23px 10px 10px; color: #6f9ead; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.nav-list { display: grid; gap: 4px; }
.nav-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; color: #aec2c9; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 750; }
.nav-item:hover { color: #f3f8f7; background: rgba(146, 190, 196, .08); }
.nav-item.active { color: #f7fcfa; background: linear-gradient(90deg, rgba(141, 202, 149, .17), rgba(141, 202, 149, .06)); border-color: rgba(141, 202, 149, .18); }
.nav-item span { width: 16px; color: #a8d1ad; text-align: center; }
.sidebar-footer { margin-top: auto; padding: 16px 10px 0; color: #91a8b0; font-size: 10px; line-height: 1.48; }
.sidebar-footer p { margin: 10px 0 0; }
.environment-badge { display: inline-block; padding: 6px 8px; color: #f2d498; background: var(--amber-soft); border: 1px solid rgba(240, 197, 111, .28); border-radius: 6px; font-size: 8px; font-weight: 900; letter-spacing: .075em; }
.main-content { min-width: 0; }
.topbar { position: sticky; z-index: 6; top: 0; display: flex; align-items: center; min-height: 70px; padding: 0 28px; background: rgba(5, 18, 28, .76); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.menu-button { display: none; place-items: center; width: 36px; height: 36px; color: var(--paper); background: var(--ink-3); border: 1px solid var(--line); border-radius: 8px; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; min-width: 0; color: #9eb4bd; font-size: 13px; }
.breadcrumbs strong { color: #edf4f2; font-weight: 800; }
.separator { color: #62808b; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.voice-button, .primary-button, .secondary-button, .outline-button, .soft-button, .icon-button, .chip-button { border-radius: 9px; font-size: 12px; font-weight: 800; transition: .16s ease; }
.voice-button { padding: 9px 12px; color: #e5f3e4; background: linear-gradient(135deg, rgba(141, 202, 149, .24), rgba(141, 202, 149, .11)); border: 1px solid rgba(141, 202, 149, .35); }
.voice-button:hover, .primary-button:hover, .secondary-button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.primary-button { padding: 10px 13px; color: #062016; background: #9bd49f; border: 1px solid #b5e0b8; }
.secondary-button { padding: 10px 13px; color: #e7f6e9; background: #204c55; border: 1px solid rgba(164, 221, 218, .30); }
.outline-button { padding: 9px 12px; color: #c5d8da; background: transparent; border: 1px solid var(--line-strong); }
.soft-button { padding: 9px 12px; color: #d8efd9; background: var(--green-soft); border: 1px solid rgba(141, 202, 149, .25); }
.icon-button { display: grid; place-items: center; width: 35px; height: 35px; padding: 0; color: #c5d7da; background: transparent; border: 1px solid var(--line); }
.agent-chip { display: flex; align-items: center; gap: 8px; min-width: 0; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; color: #092016; background: #b8dab7; border-radius: 50%; font-size: 11px; font-weight: 900; }
.agent-chip strong, .agent-chip small { display: block; overflow-wrap: anywhere; }
.agent-chip strong { color: #e9f2f1; font-size: 11px; }
.agent-chip small { margin-top: 2px; color: #87a1aa; font-size: 9px; }
.content-area { max-width: 1700px; margin: 0 auto; padding: 30px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-head > div { min-width: 0; }
.eyebrow { margin: 0 0 7px; color: #85bb90; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, h4, h5, p { overflow-wrap: anywhere; }
h1 { margin: 0; color: #f2f8f6; font-size: clamp(25px, 3vw, 38px); letter-spacing: -.045em; line-height: 1.05; }
h2 { margin: 0; color: #edf5f4; font-size: clamp(20px, 2.4vw, 29px); letter-spacing: -.035em; }
h3 { margin: 0; color: #eef7f5; font-size: 16px; letter-spacing: -.02em; }
h4 { margin: 0; }
.page-subtitle { max-width: 900px; margin: 10px 0 0; color: #a7bbc1; font-size: 13px; line-height: 1.56; }
.page-tools { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.filter-input { width: min(315px, 100%); }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.metric-card, .panel, .record-card, .hero-card, .timeline-card, .voice-card { min-width: 0; background: linear-gradient(145deg, rgba(19, 52, 71, .86), rgba(8, 28, 42, .92)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 33px rgba(0, 0, 0, .13); }
.metric-card { padding: 17px; }
.metric-label, .detail-label, .field label, .micro-label { color: #8eabb4; font-size: 9px; font-weight: 900; letter-spacing: .09em; line-height: 1.35; text-transform: uppercase; }
.metric-value { margin-top: 8px; color: #f1f8f6; font-size: 27px; font-weight: 850; letter-spacing: -.045em; }
.metric-note { margin-top: 6px; color: #8fa8b1; font-size: 11px; line-height: 1.42; }
.hero-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .78fr); gap: 20px; margin-bottom: 18px; padding: 22px; border-color: rgba(141, 202, 149, .31); background: linear-gradient(135deg, rgba(27, 75, 75, .95), rgba(9, 29, 43, .98)); }
.hero-card .eyebrow { color: #b0dcb4; }
.hero-address { margin: 7px 0 0; color: #c6d9dc; font-size: 14px; }
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 15px 0 0; }
.tag, .status-pill, .record-state, .stage-chip, .counter-chip { display: inline-flex; align-items: center; max-width: 100%; padding: 5px 8px; overflow-wrap: anywhere; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .055em; line-height: 1.25; text-transform: uppercase; }
.tag { color: #bdd3d7; background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .10); }
.status-pill.green, .record-state.granted { color: #d1f0d4; background: var(--green-soft); border: 1px solid rgba(141, 202, 149, .25); }
.status-pill.blue { color: #d0ebf7; background: var(--blue-soft); border: 1px solid rgba(143, 200, 231, .25); }
.status-pill.amber, .record-state.review { color: #fae1ad; background: var(--amber-soft); border: 1px solid rgba(240, 197, 111, .25); }
.status-pill.red, .record-state.blocked, .record-state.opt-out { color: #ffccc7; background: var(--red-soft); border: 1px solid rgba(240, 155, 150, .24); }
.status-pill.violet { color: #e0d4f3; background: var(--violet-soft); border: 1px solid rgba(191, 172, 217, .25); }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.countdown-panel { display: grid; align-content: center; gap: 8px; padding: 17px; background: rgba(2, 16, 25, .39); border: 1px solid rgba(201, 233, 230, .16); border-radius: 13px; }
.countdown { color: #d9f2dc; font-size: clamp(28px, 4vw, 42px); font-weight: 850; letter-spacing: -.055em; }
.countdown-note { color: #a6c3c5; font-size: 12px; line-height: 1.45; }
.timeline-card { margin-bottom: 18px; padding: 18px; }
.timeline-head, .panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.timeline-head p, .panel-head p { max-width: 750px; margin: 6px 0 0; color: #9ab1b8; font-size: 12px; line-height: 1.5; }
.pipeline { display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.pipeline-step { min-width: 120px; padding: 11px; background: rgba(2, 15, 24, .31); border: 1px solid var(--line); border-radius: 10px; }
.pipeline-step strong { display: block; color: #eaf5f3; font-size: 12px; }
.pipeline-step small { display: block; margin-top: 6px; color: #8faab1; font-size: 10px; }
.pipeline-count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; margin-bottom: 10px; color: #092017; background: #9fd5a2; border-radius: 7px; font-size: 11px; font-weight: 900; }
.appointment-grid, .mandate-grid, .territory-grid, .voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.record-card { display: flex; flex-direction: column; gap: 14px; padding: 17px; }
.record-card:hover { border-color: rgba(170, 220, 217, .35); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.address { margin: 5px 0 0; color: #a2bbc3; font-size: 12px; line-height: 1.45; }
.card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.detail-value { margin-top: 4px; color: #e8f1f0; font-size: 12px; font-weight: 700; line-height: 1.42; }
.card-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid var(--line); }
.card-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.reference-link, .text-button { padding: 0; color: #aad8ae; text-align: left; background: transparent; border: 0; border-bottom: 1px dashed rgba(170, 216, 174, .52); font-size: 11px; font-weight: 800; overflow-wrap: anywhere; }
.reference-link:hover, .text-button:hover { color: #daf0d6; }
.tab-row { display: flex; gap: 7px; overflow-x: auto; padding: 1px 0 10px; }
.tab-button { flex: 0 0 auto; padding: 8px 10px; color: #a8bdc2; background: transparent; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; font-weight: 800; }
.tab-button.active { color: #e8f5e7; background: var(--green-soft); border-color: rgba(141, 202, 149, .34); }
.tab-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; color: #cfdfde; background: rgba(255,255,255,.09); border-radius: 99px; font-size: 9px; }
.panel { margin-top: 16px; padding: 18px; }
.panel + .panel { margin-top: 14px; }
.action-list, .ledger-list, .review-list, .checklist, .voice-list { display: grid; gap: 9px; }
.action-row, .ledger-row, .review-row, .voice-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 12px; background: rgba(3, 15, 24, .32); border: 1px solid var(--line); border-radius: 10px; }
.action-row p, .ledger-row p, .review-row p, .voice-row p { margin: 3px 0 0; color: #96aeb5; font-size: 11px; line-height: 1.45; }
.priority-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.priority-dot.high { background: var(--amber); box-shadow: 0 0 0 5px var(--amber-soft); }
.priority-dot.critical { background: var(--red); box-shadow: 0 0 0 5px var(--red-soft); }
.muted { color: var(--muted); font-size: 12px; line-height: 1.48; }
.empty-state { padding: 36px 22px; color: #9cb4bc; text-align: center; background: rgba(19, 52, 71, .38); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.compliance-strip { display: flex; align-items: flex-start; gap: 11px; margin-top: 16px; padding: 13px; color: #cadbdd; background: rgba(143, 200, 231, .08); border: 1px solid rgba(143, 200, 231, .22); border-radius: 10px; font-size: 12px; line-height: 1.48; }
.compliance-strip strong { color: #e4f1f4; }
.compliance-strip .tag { flex: 0 0 auto; color: #d7eefa; }
.territory-hero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.territory-hero .metric-card { margin: 0; }
.territory-card .chip-row { display: flex; flex-wrap: wrap; gap: 5px; }
.territory-card .chip { padding: 5px 7px; color: #c9d9dc; background: rgba(255,255,255,.055); border: 1px solid var(--line); border-radius: 999px; font-size: 9px; }
.territory-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.territory-stat { padding: 8px; background: rgba(2,15,24,.28); border: 1px solid var(--line); border-radius: 8px; }
.territory-stat strong { display: block; color: #edf8f1; font-size: 15px; }
.territory-stat span { display: block; margin-top: 4px; color: #8fa8b0; font-size: 9px; line-height: 1.28; }
.modal-root { position: fixed; z-index: 30; inset: 0; pointer-events: none; }
.modal-root.open { pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(1, 8, 14, .79); backdrop-filter: blur(5px); }
.modal { position: relative; width: min(1050px, calc(100vw - 28px)); max-height: calc(100vh - 28px); margin: 14px auto; padding: 23px; overflow: auto; background: linear-gradient(145deg, #123247, #081b2a); border: 1px solid rgba(216, 240, 236, .25); border-radius: 18px; box-shadow: 0 34px 100px rgba(0,0,0,.56); }
.modal.narrow { width: min(700px, calc(100vw - 28px)); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.modal-subtitle { max-width: 800px; margin: 7px 0 0; color: #a9bec4; font-size: 12px; line-height: 1.5; }
.close-button { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; color: #e5efef; background: rgba(2,13,21,.55); border: 1px solid var(--line); border-radius: 9px; font-weight: 900; }
.modal-section { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.section-title { margin: 0 0 10px; color: #b9d2d4; font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.helper-text { color: #89a4ad; font-size: 11px; line-height: 1.42; }
.range-value { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; color: #daf0d9; font-size: 12px; font-weight: 850; }
.range-value output { color: #edf7ed; }
.address-lookup { position: relative; }
.address-suggestions { position: absolute; z-index: 5; top: calc(100% + 4px); right: 0; left: 0; max-height: 220px; overflow-y: auto; background: #0b2232; border: 1px solid rgba(211,235,232,.24); border-radius: 10px; box-shadow: var(--shadow); }
.address-suggestions:empty { display: none; }
.address-option { display: block; width: 100%; padding: 10px 11px; color: #dcebea; text-align: left; background: transparent; border: 0; border-bottom: 1px solid rgba(211,235,232,.09); font-size: 12px; }
.address-option:last-child { border-bottom: 0; }
.address-option:hover { background: rgba(141,202,149,.12); }
.address-option small { display: block; margin-top: 2px; color: #8ca7af; font-size: 10px; }
.info-box, .workflow-preview, .callout { padding: 14px; border-radius: 11px; font-size: 12px; line-height: 1.52; }
.info-box { color: #c9dfe1; background: rgba(143, 200, 231, .08); border: 1px solid rgba(143,200,231,.22); }
.callout { color: #f4dfa9; background: var(--amber-soft); border: 1px solid rgba(240,197,111,.28); }
.workflow-preview { color: #cde6d0; background: var(--green-soft); border: 1px solid rgba(141,202,149,.25); }
.info-box strong, .callout strong, .workflow-preview strong { color: #f0faf7; }
.workflow-steps { display: grid; gap: 8px; margin-top: 12px; }
.workflow-step { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: flex-start; padding: 10px; background: rgba(1, 13, 21, .31); border: 1px solid rgba(214,240,236,.12); border-radius: 9px; }
.workflow-step input { width: auto; margin-top: 3px; }
.workflow-step strong { display: block; color: #e9f4e9; font-size: 12px; }
.workflow-step small { display: block; margin-top: 3px; color: #a8c3ac; font-size: 10px; line-height: 1.42; }
.step-state { padding: 4px 6px; border-radius: 5px; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.step-state.prepared { color: #d1f2d3; background: var(--green-soft); }
.step-state.approval { color: #f9dfa8; background: var(--amber-soft); }
.step-state.held { color: #ffc6c0; background: var(--red-soft); }
.checklist-row { display: flex; align-items: flex-start; gap: 9px; padding: 11px; background: rgba(2,15,24,.27); border: 1px solid var(--line); border-radius: 9px; }
.checklist-row input { width: auto; margin-top: 2px; }
.checklist-row strong { display: block; color: #eaf5f2; font-size: 12px; }
.checklist-row small { display: block; margin-top: 3px; color: #96aeb5; font-size: 10px; line-height: 1.42; }
.permission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.permission-cell { min-width: 0; padding: 11px; background: rgba(2,15,24,.27); border: 1px solid var(--line); border-radius: 9px; }
.permission-cell strong { display: block; margin-top: 5px; color: #ecf5f3; font-size: 12px; line-height: 1.42; }
.transcript-line { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; padding: 11px; background: rgba(2,15,24,.27); border: 1px solid var(--line); border-radius: 9px; font-size: 12px; line-height: 1.5; }
.transcript-line span { color: #a9d7ad; font-weight: 900; }
.transcript-line p { margin: 0; color: #e1ebea; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 21px; }
.inline-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 11px; }
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; }
.data-table th, .data-table td { padding: 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { color: #9eb9c1; background: rgba(4,18,28,.68); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.data-table td { color: #e0ecea; overflow-wrap: anywhere; }
.data-table tr:last-child td { border-bottom: 0; }
.chip-row, .evidence-links { display: flex; gap: 6px; flex-wrap: wrap; }
.chip, .link-chip { padding: 6px 8px; color: #c4dadd; background: rgba(255,255,255,.055); border: 1px solid var(--line); border-radius: 999px; font-size: 10px; }
.link-chip { color: #c4e5c6; cursor: pointer; }
.link-chip:hover { background: var(--green-soft); }
.conditional { display: none; }
.conditional.show { display: grid; }
.notice { display: none; margin-top: 10px; padding: 10px; color: #ffccc7; background: var(--red-soft); border: 1px solid rgba(240,155,150,.28); border-radius: 9px; font-size: 11px; line-height: 1.45; }
.notice.show { display: block; }
.toast-root { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; gap: 8px; max-width: min(410px, calc(100vw - 36px)); }
.toast { padding: 12px 14px; color: #f3faf8; background: #17394a; border: 1px solid rgba(211,238,233,.26); border-radius: 10px; box-shadow: var(--shadow); font-size: 12px; line-height: 1.42; }

@media (max-width: 1180px) { .appointment-grid, .mandate-grid, .territory-grid, .voice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-card { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .app-shell { display: block; } .sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: 284px; height: auto; transform: translateX(-103%); transition: transform .2s ease; box-shadow: 30px 0 70px rgba(0,0,0,.55); } .sidebar.open { transform: translateX(0); } .menu-button { display: grid; margin-right: 10px; } .topbar { padding: 0 18px; } .content-area { padding: 24px 18px 42px; } .agent-chip > span:last-child { display: none; } .voice-button { padding: 9px 10px; } .page-head { align-items: flex-start; flex-direction: column; } .page-tools { justify-content: flex-start; width: 100%; } }
@media (max-width: 620px) { .summary-grid, .appointment-grid, .mandate-grid, .territory-grid, .voice-grid, .territory-hero, .form-grid, .form-grid.three, .permission-grid { grid-template-columns: 1fr; } .header-actions { gap: 6px; } .icon-button { display: none; } .breadcrumbs { font-size: 11px; } .filter-input { width: 100%; } .page-tools > * { flex: 1 1 auto; } .modal { width: calc(100vw - 16px); max-height: calc(100vh - 16px); margin: 8px auto; padding: 17px; border-radius: 14px; } .card-meta { grid-template-columns: 1fr; } .card-footer { align-items: flex-start; flex-direction: column; } .action-row, .ledger-row, .review-row, .voice-row { grid-template-columns: auto minmax(0, 1fr); } .action-row > :last-child, .ledger-row > :last-child, .review-row > :last-child, .voice-row > :last-child { grid-column: 2; justify-self: start; } .workflow-step { grid-template-columns: auto minmax(0, 1fr); } .workflow-step .step-state { grid-column: 2; width: fit-content; } .transcript-line { grid-template-columns: 1fr; gap: 4px; } .data-table { display: block; overflow-x: auto; white-space: nowrap; } }

/* v1.5 CMA and address-confirmation layer */
.scout-logo { width: min(196px, 100%); border-radius: 0; }
.cma-inline, .cma-card-strip, .cma-brief-card { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 11px 12px; background: rgba(143, 200, 231, .08); border: 1px solid rgba(143, 200, 231, .22); border-radius: 10px; }
.cma-inline { color: #d8ebef; }
.cma-inline strong, .cma-card-strip strong, .cma-brief-card h3 { display: block; color: #e8f6f3; font-size: 12px; }
.cma-inline small, .cma-card-strip small, .cma-brief-card small { display: block; margin-top: 3px; color: #9bb7bf; font-size: 10px; line-height: 1.45; }
.cma-dot { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 5px; background: #8fc8e7; border-radius: 50%; box-shadow: 0 0 0 4px rgba(143, 200, 231, .11); }
.cma-card-strip { margin: 14px 0 0; }
.cma-card-strip .tag { align-self: flex-start; }
.cma-brief-card { justify-content: space-between; }
.cma-brief-card > div { min-width: 0; }
.cma-brief-card p { margin: 7px 0 4px; color: #c5dce1; font-size: 12px; }
.cma-queue { display: grid; gap: 8px; }
.cma-queue-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cma-queue-row:last-child { border-bottom: 0; }
.cma-queue-main { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.cma-queue-main > div { min-width: 0; }
.cma-queue-main strong { display: block; color: #edf7f5; font-size: 13px; }
.cma-queue-main p { margin: 4px 0 0; color: #98b1b8; font-size: 11px; line-height: 1.45; }
.cma-status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.cma-status-cell { min-width: 0; padding: 11px; background: rgba(2,15,24,.27); border: 1px solid var(--line); border-radius: 9px; }
.cma-status-cell strong { display: block; margin-top: 5px; color: #ecf5f3; font-size: 12px; line-height: 1.42; overflow-wrap: anywhere; }
.cma-metric-grid { display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 10px; margin-top: 18px; }
.cma-metric-grid .metric-card { margin: 0; }
.cma-metric-value { font-size: clamp(18px, 2.2vw, 26px); }
.cma-range { color: #d9efe0; font-size: 16px; line-height: 1.3; }
.data-table-wrap { max-width: 100%; overflow-x: auto; }
.cma-table { min-width: 720px; }
.cma-table td small { display: block; margin-top: 3px; color: #90aab2; font-size: 10px; }
.cma-toggle { padding: 7px 9px; font-size: 10px; white-space: nowrap; }
.row-excluded { opacity: .48; }
.row-excluded td { text-decoration: line-through; }
.row-excluded td:last-child { text-decoration: none; }
.address-suggestions { z-index: 120; }
.address-option { position: relative; z-index: 1; }
.address-option strong { display: block; color: #e8f3f1; font-size: 12px; font-weight: 750; }
.address-no-match { padding: 10px 11px; color: #b3c4c8; font-size: 11px; line-height: 1.45; }
@media (max-width: 800px) { .cma-status-grid, .cma-metric-grid { grid-template-columns: 1fr 1fr; } .cma-queue-row { align-items: flex-start; flex-direction: column; } .cma-brief-card { align-items: flex-start; flex-direction: column; } }
@media (max-width: 620px) { .cma-status-grid, .cma-metric-grid { grid-template-columns: 1fr; } }


/* v1.6 target-property and mandate-verification dossier */
.cma-dossier { margin-top: 18px; }
.cma-stage-rail { display: grid; grid-template-columns: 1.45fr repeat(4, minmax(105px, 1fr)); gap: 7px; margin: 0 0 14px; }
.cma-stage { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px; color: #9ab2ba; background: rgba(2, 15, 24, .29); border: 1px solid var(--line); border-radius: 9px; }
.cma-stage span { display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; color: #d3e4e2; background: rgba(255,255,255,.06); border-radius: 50%; font-size: 10px; font-weight: 900; }
.cma-stage strong { min-width: 0; color: inherit; font-size: 10px; line-height: 1.3; }
.cma-stage.active { color: #ecf7ed; background: linear-gradient(90deg, rgba(141, 202, 149, .23), rgba(141, 202, 149, .08)); border-color: rgba(141, 202, 149, .34); }
.cma-stage.active span { color: #0d2518; background: #c3e7c5; }
.dossier-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 15px; background: rgba(141, 202, 149, .07); border: 1px solid rgba(141, 202, 149, .20); border-radius: 12px; }
.dossier-heading .section-title { margin: 0; }
.dossier-heading p:last-child { max-width: 760px; margin: 7px 0 0; color: #b7cacc; font-size: 12px; line-height: 1.5; }
.dossier-readiness-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 10px; margin-top: 10px; }
.dossier-readiness, .dossier-blocking { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 10px; }
.dossier-readiness { background: rgba(2, 15, 24, .27); }
.dossier-blocking { background: rgba(240, 197, 111, .10); border-color: rgba(240, 197, 111, .28); }
.dossier-readiness strong, .dossier-blocking strong { display: block; margin-top: 6px; color: #edf6f4; font-size: 12px; line-height: 1.35; }
.dossier-readiness small, .dossier-blocking small { display: block; margin-top: 5px; color: #9bb1b7; font-size: 10px; line-height: 1.42; }
.dossier-grid { display: grid; gap: 10px; margin-top: 10px; }
.dossier-grid.top-grid { grid-template-columns: .95fr 1.55fr; }
.dossier-grid.lower-grid { grid-template-columns: 1.65fr 1fr; }
.dossier-card { min-width: 0; padding: 15px; background: rgba(2, 15, 24, .27); border: 1px solid var(--line); border-radius: 12px; }
.dossier-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; margin-bottom: 12px; }
.dossier-card-head h3 { font-size: 13px; }
.dossier-card-head .status-pill { max-width: 58%; text-align: center; }
.dossier-details { display: grid; gap: 9px; margin: 0; }
.dossier-details div { display: grid; grid-template-columns: minmax(110px, .85fr) minmax(0, 1.45fr); gap: 8px; }
.dossier-details dt { color: #90aab2; font-size: 10px; }
.dossier-details dd { margin: 0; color: #e5efed; font-size: 11px; font-weight: 700; line-height: 1.4; }
.dossier-owner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dossier-owner-grid > div { min-width: 0; padding: 10px; background: rgba(255,255,255,.035); border-left: 2px solid rgba(141, 202, 149, .4); }
.dossier-owner-grid strong { display: block; margin-top: 5px; color: #f0f8f5; font-size: 12px; line-height: 1.4; }
.dossier-owner-grid small { display: block; margin-top: 5px; color: #9cb4ba; font-size: 10px; line-height: 1.42; }
.dossier-table { min-width: 710px; }
.dossier-table th, .dossier-table td { padding: 9px; font-size: 10px; }
.dossier-table td .status-pill { font-size: 8px; white-space: nowrap; }
.dossier-note { margin: 10px 0 0; padding: 9px 10px; color: #c6dcef; background: rgba(143, 200, 231, .08); border: 1px solid rgba(143, 200, 231, .21); border-radius: 8px; font-size: 10px; line-height: 1.45; }
.dossier-controls { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dossier-controls li { position: relative; padding-left: 18px; color: #c7d9da; font-size: 11px; line-height: 1.45; }
.dossier-controls li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #a9d7ad; font-weight: 900; }
@media (max-width: 900px) { .cma-stage-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dossier-grid.top-grid, .dossier-grid.lower-grid, .dossier-readiness-grid { grid-template-columns: 1fr; } .dossier-owner-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .dossier-heading { flex-direction: column; } .dossier-heading .outline-button { width: 100%; } .dossier-details div { grid-template-columns: 1fr; gap: 3px; } .cma-stage-rail { grid-template-columns: 1fr; } }
