:root {
  --ink: #173e3a; --muted: #637470; --accent: #156c5d;
  --border: #dfe5df; --paper: #f7f8f4; --white: #fff;
  --soft: #edf3e9; --radius: 12px; --sidebar: 246px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--paper); font-size: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #146f65; outline-offset: 4px; }
button:disabled { cursor: not-allowed; opacity: .48; }
p { line-height: 1.65; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(30px, 3vw, 40px); letter-spacing: -1.5px; margin-bottom: 10px; font-weight: 650; }
h2 { font-size: 20px; letter-spacing: -.45px; font-weight: 600; }
h3 { font-size: 15px; font-weight: 650; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 10; padding: 12px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: var(--sidebar); flex-shrink: 0; background: #fcfdf9; border-right: 1px solid var(--border); padding: 31px 20px 20px; position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; }
.brand { display: flex; flex-direction: column; align-items: flex-start; }
.brand-logo { display: block; width: 150px; height: 40px; object-fit: contain; }
.brand-subtitle { display: block; font-size: 9px; letter-spacing: 2.6px; line-height: 1.5; color: var(--muted); margin-top: 3px; }
.workspace-label { font-size: 11px; color: var(--muted); margin: 31px 0; display: flex; align-items: center; gap: 7px; }
.status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.nav-label, .eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.5px; color: var(--muted); }
.nav-label { padding-left: 12px; margin-bottom: 12px; }
nav a { display: flex; align-items: center; padding: 12px; gap: 12px; margin: 4px 0; border-radius: 7px; color: #576d66; font-size: 12px; }
nav a span { font-size: 10px; opacity: .7; font-variant-numeric: tabular-nums; }
nav a[aria-current="page"] { background: #e5eedd; color: var(--ink); font-weight: 650; }
nav a:hover { background: #eff2eb; }
nav small { font-size: 8px; margin-left: auto; padding: 2px 5px; border: 1px solid #b8c8be; border-radius: 4px; }
.sidebar-note { margin-top: auto; border: 1px solid var(--border); padding: 18px; border-radius: var(--radius); background: #f5f7ef; }
.sidebar-note strong { display: block; margin: 11px 0 6px; font-size: 20px; letter-spacing: -.4px; }
.sidebar-note p { color: var(--muted); font-size: 11px; margin-bottom: 12px; }
.sidebar-note b { color: var(--ink); font-weight: 500; }
.muted-badge { display: inline-flex; white-space: nowrap; align-items: center; border: 1px solid #d9e0d7; border-radius: 5px; padding: 5px 8px; background: #f7f9f3; color: #5b6c60; font-size: 10px; }
.sidebar-user { display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 22px; }
.avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #e4eada; font-size: 11px; flex-shrink: 0; }
.sidebar-user div { min-width: 0; }
.sidebar-user strong { font-size: 11px; font-weight: 600; }
.sidebar-user div span { display: block; color: var(--muted); font-size: 9px; margin-top: 4px; overflow-wrap: anywhere; }
.workspace { margin-left: var(--sidebar); flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 68px; flex-shrink: 0; padding: 0 38px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); background: #fcfdf9; }
.breadcrumb-divider { color: #b8c3b8; margin: 0 12px; }
.topbar > div { display: flex; align-items: center; gap: 23px; }
.text-button { padding: 0; border: 0; background: none; color: var(--ink); font-size: 11px; }
main { padding: 42px 38px 24px; width: 100%; max-width: 1500px; margin-inline: auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-heading .eyebrow { color: var(--accent); margin-bottom: 13px; }
.intro { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid #cfd9cf; border-radius: 7px; background: var(--white); color: var(--ink); padding: 11px 16px; white-space: nowrap; font-size: 11px; font-weight: 600; }
.button:hover:not(:disabled) { background: #edf3e9; }
.button-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.button-dark:hover:not(:disabled) { background: #25574c; }
.button-small { padding: 8px 11px; }
.connection-banner { display: flex; align-items: center; gap: 13px; padding: 18px 20px; border: 1px solid #d6e1cf; border-radius: 9px; background: #eff5e9; margin-bottom: 23px; }
.banner-icon { display: grid; place-items: center; border: 1px solid #90aa88; border-radius: 50%; width: 19px; height: 19px; flex-shrink: 0; font-size: 11px; font-family: Georgia, serif; }
.connection-banner strong { font-size: 12px; font-weight: 600; }
.connection-banner p { margin: 5px 0 0; color: #5c7056; font-size: 11px; }
.connection-banner > .muted-badge { margin-left: auto; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 35px; }
.summary-card { border: 1px solid var(--border); border-radius: 9px; background: var(--white); padding: 22px; }
.summary-card strong { font-size: 28px; display: block; font-weight: 550; letter-spacing: -.8px; margin: 14px 0 7px; }
.summary-card strong span { font-size: 12px; color: var(--muted); letter-spacing: normal; margin-left: 4px; }
.summary-card strong.no-reading { font-size: 22px; line-height: 34px; }
.summary-card p { font-size: 10px; color: var(--muted); margin: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.section-heading h2 { margin-bottom: 6px; }
.section-heading p { color: var(--muted); font-size: 11px; margin: 0; }
.market-form { display: flex; align-items: center; gap: 8px; }
.market-form label { font-size: 10px; color: var(--muted); }
.market-form select { background: white; color: var(--ink); border: 1px solid var(--border); border-radius: 6px; padding: 7px; font-size: 11px; }
.health-list { border: 1px solid var(--border); background: var(--white); border-radius: 10px; overflow: hidden; }
.health-row { display: flex; align-items: center; gap: 18px; padding: 24px; border-bottom: 1px solid var(--border); }
.health-row:last-child { border-bottom: 0; }
.area-number { font-size: 11px; color: #6e8075; background: #f0f3ec; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e4e9df; border-radius: 8px; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.area-copy { flex: 1; min-width: 0; }
.area-copy h3 { margin-bottom: 5px; }
.area-copy p { font-size: 11px; margin-bottom: 6px; color: var(--muted); }
.measure-label { font-size: 9px; color: #66776d; }
.market-results { display: flex; gap: 25px; }
.market-result { display: grid; grid-template-columns: 28px 97px 12px; gap: 8px; align-items: center; font-size: 10px; }
.market-name { font-weight: 600; }
.pending-grade { color: #6e7056; background: #f5f4e9; border: 1px solid #e6e4d4; padding: 5px 7px; border-radius: 5px; font-size: 9px; text-align: center; }
.unmeasured-rate { color: #a4ada4; }
.table-note { font-size: 10px; color: var(--muted); margin-top: 13px; }
.wise-intro { display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid #d8e1d3; border-radius: 10px; padding: 27px; margin-top: 30px; background: #eaf1e3; }
.wise-intro h2 { margin: 10px 0; }
.wise-intro p { color: #5b705a; font-size: 11px; max-width: 570px; margin: 0; }
.workspace-footer { display: flex; justify-content: space-between; padding: 20px 38px; color: #6d7d71; font-size: 9px; margin-top: auto; }
.assistant-panel { padding: 38px; background: white; border: 1px solid var(--border); border-radius: var(--radius); max-width: 880px; }
.wise-monogram { display: grid; place-items: center; background: #e9f0e1; color: var(--ink); font: italic 36px Georgia, serif; width: 58px; height: 58px; border-radius: 15px; margin-bottom: 24px; }
.assistant-panel h2 { font-size: 27px; margin-bottom: 13px; }
.assistant-panel > p { max-width: 620px; font-size: 12px; color: var(--muted); }
.suggestion-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.suggestion-list span { padding: 9px 12px; background: #f7f8f4; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; font-size: 10px; }
.assistant-panel label { font-size: 11px; display: block; margin: 22px 0 8px; font-weight: 600; }
textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 15px; resize: vertical; background: #fafbf8; color: var(--ink); line-height: 1.6; }
textarea::placeholder { color: #68746d; }
.composer-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; }
.composer-footer p { font-size: 10px; color: var(--muted); margin: 0; }
.safety-note { max-width: 800px; margin-top: 30px; border-left: 3px solid #b3c6a5; padding-left: 20px; }
.safety-note h2 { font-size: 15px; }
.safety-note p { color: var(--muted); font-size: 12px; }
.activity-list { background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.activity-event { display: flex; gap: 18px; padding: 25px; align-items: flex-start; border-bottom: 1px solid var(--border); }
.activity-event:last-child { border: 0; }
.activity-event h2 { font-size: 14px; margin-bottom: 7px; }
.activity-event p, .activity-event time { font-size: 11px; color: var(--muted); }
.activity-event time { margin-left: auto; white-space: nowrap; }
.activity-event code { color: #697b6e; font-size: 9px; overflow-wrap: anywhere; }
.activity-marker { width: 8px; height: 8px; background: #90ad83; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.empty-state { padding: 38px; }
.empty-state h2 { font-size: 17px; }
.empty-state p { color: var(--muted); font-size: 12px; }
.auth-page { display: grid; min-height: 100vh; grid-template-columns: 1fr 1fr; }
.auth-story { background: var(--ink); color: #f4f7ef; display: flex; flex-direction: column; padding: 50px 12%; }
.auth-story .brand-subtitle { color: #c4d8c5; }
.auth-story .brand-logo { filter: brightness(0) invert(1); }
.auth-story-copy { margin-block: auto; padding-block: 70px; }
.auth-story-copy .eyebrow { color: #b4c9ae; }
.auth-story h1 { font-size: clamp(38px, 4.5vw, 64px); line-height: 1.1; letter-spacing: -2px; margin-top: 20px; }
.auth-story p { color: #bdcfc3; font-size: 13px; max-width: 360px; }
.auth-story-foot { font-size: 10px; color: #bdcfc3; }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 35px; }
.auth-form-side main { max-width: 410px; padding: 0; }
.auth-form-side h2 { font-size: 32px; letter-spacing: -.9px; margin-block: 17px 13px; }
.auth-form-side p { color: var(--muted); font-size: 13px; }
.signin-notice { padding: 18px; border: 1px solid #dadfce; background: #edf2e5; border-radius: 8px; margin-top: 28px; }
.signin-notice strong { font-size: 13px; }
.signin-notice p { font-size: 11px; margin: 7px 0 0; }
.auth-footnote { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 35px; font-size: 10px !important; }
@media (min-width: 1600px) { main { padding-top: 52px; } .health-row { padding-block: 30px; } }
@media (max-width: 1250px) { .market-results { flex-direction: column; gap: 8px; } .workspace-domain { display: none; } }
@media (max-width: 980px) { :root { --sidebar: 210px; } main { padding: 30px 24px; } .topbar { padding: 0 24px; } .summary-grid { gap: 10px; } .summary-card { padding: 17px; } .summary-card strong { font-size: 23px; } .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; } .connection-banner > .muted-badge { display: none; } .wise-intro { align-items: flex-start; flex-direction: column; } }
@media (max-width: 720px) { .sidebar { position: static; width: auto; padding: 20px; border-right: 0; border-bottom: 1px solid var(--border); } .app-shell { display: block; } .workspace-label, .nav-label, .sidebar-note, .sidebar-user { display: none; } nav { display: flex; gap: 6px; margin-top: 20px; } nav a { flex: 1; justify-content: center; padding: 10px 7px; font-size: 10px; gap: 5px; } nav a span { display: none; } .workspace { margin-left: 0; } .topbar { height: 51px; font-size: 10px; } main { padding: 28px 18px; } .page-heading { gap: 12px; } .page-heading .intro { max-width: 240px; } h1 { font-size: 29px; } .summary-grid { grid-template-columns: 1fr; } .summary-card { padding: 17px; } .summary-card strong { margin-top: 10px; } .summary-card p { font-size: 11px; } .health-row { flex-wrap: wrap; padding: 20px 17px; gap: 12px; } .area-copy { min-width: 210px; } .market-results { flex-direction: row; flex-wrap: wrap; margin-left: 46px; gap: 13px; } .market-result { grid-template-columns: 27px 85px 10px; gap: 5px; } .pending-grade { padding: 4px; font-size: 9px; } .assistant-panel { padding: 23px; } .assistant-panel h2 { font-size: 23px; } .activity-event { flex-wrap: wrap; gap: 10px; } .activity-event time { margin-left: 18px; } .workspace-footer { padding-inline: 18px; } .workspace-footer span:last-child { display: none; } .auth-page { grid-template-columns: 1fr; } .auth-story { padding: 30px; } .auth-story-copy { padding: 45px 0 20px; } .auth-story h1 { font-size: 40px; } .auth-story-foot { display: none; } .auth-form-side { padding: 42px 25px; } }
.results-with-evidence { align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.check-result { width: 184px; min-width: 0; }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.result-state { font-size: 9px; padding: 5px 7px; border-radius: 5px; border: 1px solid #dfe5df; white-space: nowrap; }
.state-missing { background: #f5f4e9; color: #6e7056; }
.state-measured { background: #eaf1f5; color: #3c5969; border-color: #ccdce5; }
.state-partial, .state-stale { background: #faf1de; color: #755d20; border-color: #e8d9b6; }
.state-failed { background: #faece7; color: #8b402b; border-color: #e8cec4; }
.evidence-link { font-size: 10px; text-decoration: underline; text-underline-offset: 3px; color: #3b675a; }
.grade-pending { display: block; color: var(--muted); font-size: 9px; margin-top: 9px; }
.reading { padding-top: 13px; }
.reading-name { display: block; font-size: 10px; color: #52665d; line-height: 1.5; overflow-wrap: anywhere; }
.reading strong { display: block; font-size: 15px; font-weight: 600; margin-top: 5px; }
.reading strong span { font-size: 12px; color: #4b6055; margin-left: 5px; }
.reading-note, .reading-time, .reading-window { display: block; font-size: 9px; line-height: 1.6; color: #637467; margin-top: 5px; }
.previous-reading { font-size: 10px; color: #8b402b; margin-top: 10px; margin-bottom: 0; }
.evidence-panel { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; }
.evidence-fields { display: grid; grid-template-columns: 145px 1fr; font-size: 12px; gap: 15px; line-height: 1.6; }
.evidence-fields dt { color: var(--muted); }
.evidence-fields dd { margin: 0; overflow-wrap: anywhere; }
.evidence-fields code { font-size: 11px; }
.detail-reading { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 19px 0; border-bottom: 1px solid var(--border); }
.detail-reading h3 { font-size: 13px; margin-bottom: 7px; }
.detail-reading p { color: var(--muted); font-size: 11px; margin: 0; }
.detail-reading strong { display: block; margin-bottom: 7px; font-size: 19px; font-weight: 600; }
@media (max-width: 720px) {
  .check-result { width: 100%; }
  .results-with-evidence { width: calc(100% - 46px); gap: 21px; }
  .result-heading { justify-content: flex-start; gap: 15px; }
  .evidence-panel { padding: 21px; }
  .evidence-fields { grid-template-columns: 1fr; gap: 7px; }
  .evidence-fields dd { margin-bottom: 10px; }
  .detail-reading { flex-direction: column; align-items: flex-start; gap: 15px; }
}
.assistant-panel + .assistant-panel { margin-top: 24px; }
.assistant-panel select { border: 1px solid var(--border); border-radius: 7px; padding: 10px; margin-right: 12px; color: var(--ink); background: white; }
.assistant-panel p a { text-decoration: underline; text-underline-offset: 3px; }
.assistant-panel p, .page-heading p { overflow-wrap: anywhere; }
.release-note { margin-top: 10px; }
.case-field { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 18px 0; }
.case-field input:not([type="checkbox"]) { width: 100%; max-width: 440px; padding: 12px; border: 1px solid var(--border); border-radius: 7px; }
.case-field input[type="checkbox"] { width: 20px; height: 20px; }
.case-field textarea { width: 100%; }
.errorlist { color: #8b402b; padding-left: 20px; font-size: 12px; }
@media (max-width: 720px) {
  .page-heading { flex-direction: column; align-items: flex-start; }
  .composer-footer { flex-wrap: wrap; }
  .assistant-panel select { margin-bottom: 12px; }
}
