:root {
  color-scheme: light;
  --paper: #f4f4ed;
  --ink: #152e2c;
  --muted: #677572;
  --line: #d8ded8;
  --teal: #0e5c52;
  --teal-soft: #dcebe5;
  --orange: #be563b;
  --orange-soft: #f5e2db;
  --white: #fffefa;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "DM Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Manrope, var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, input:focus-visible, .table-wrap:focus-visible { outline: 3px solid #e58b49; outline-offset: 3px; }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 5.2vw, 84px); border-bottom: 1px solid var(--line); background: rgba(244,244,237,.94); }
.brand { display: inline-flex; flex-shrink: 0; gap: 11px; align-items: center; color: var(--ink); font: 700 12px var(--mono); letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.topbar-link { margin-left: auto; margin-right: 24px; color: var(--teal); font: 500 10px var(--mono); letter-spacing: .1em; text-decoration: none; }
.topbar-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.topbar-link, .topbar-meta { white-space: nowrap; }
.brand-mark { display: flex; align-items: end; gap: 2px; width: 18px; height: 17px; }
.brand-mark i { display: block; width: 4px; border-radius: 2px 2px 0 0; background: var(--teal); }
.brand-mark i:nth-child(1) { height: 8px; }.brand-mark i:nth-child(2) { height: 13px; }.brand-mark i:nth-child(3) { height: 17px; }
.topbar-meta { color: var(--muted); font: 500 10px var(--mono); letter-spacing: .07em; }
.live-dot { width: 6px; height: 6px; display: inline-block; background: var(--teal); border-radius: 50%; margin: 0 7px 1px 0; }
.topbar-divider { color: #b1bbb4; margin: 0 8px; }
main { max-width: 1440px; margin: 0 auto; padding: 0 clamp(22px, 5.2vw, 84px) 80px; }
.hero { min-height: 470px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .72fr); column-gap: clamp(45px, 9vw, 140px); align-items: center; position: relative; padding: 48px 0 52px; }
.hero-copy { max-width: 730px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 18px; color: var(--teal); font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; display: flex; gap: 9px; align-items: center; }
.eyebrow-line { display: inline-block; height: 1px; width: 22px; background: var(--teal); }
h1 { font: 700 clamp(56px, 7.5vw, 98px)/.98 var(--display); letter-spacing: -.07em; margin: 0; max-width: 750px; }
.hero h1 { margin-bottom: 10px; }
h1 span { color: var(--teal); }
.answer { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; max-width: 690px; margin: 0 0 23px; letter-spacing: -.025em; }
.hero-note { max-width: 620px; color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 30px; flex-wrap: wrap; }
.button { min-height: 48px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; text-decoration: none; font-size: 13px; font-weight: 700; border-radius: 4px; transition: transform .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--teal); color: white; }
.button-primary:hover { background: #0a4c44; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.button-file { margin-left: 9px; padding-left: 9px; border-left: 1px solid rgba(255,255,255,.32); color: #c0ded6; font: 500 10px var(--mono); }
.text-link { font-size: 13px; font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link span { margin-left: 5px; }
.hero-panel { background: var(--ink); color: #f8f8f0; padding: 26px 28px 21px; position: relative; z-index: 1; box-shadow: 10px 10px 0 #dce3dc; }
.panel-topline { color: #afc5be; display: flex; justify-content: space-between; font: 500 9px var(--mono); letter-spacing: .12em; }
.panel-index { color: #819993; }
.summary-row { display: flex; align-items: end; gap: 13px; margin: 31px 0 21px; }
.summary-value { font: 700 58px/.9 var(--display); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.summary-label { color: #bac9c2; font-size: 12px; line-height: 1.2; padding-bottom: 3px; }
.panel-rule { height: 1px; background: #38504d; margin-bottom: 20px; }
.summary-detail { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; margin: 14px 0; align-items: start; }
.detail-label { color: #90aaa1; font: 500 9px var(--mono); letter-spacing: .08em; padding-top: 3px; }
.detail-value { font-size: 12px; font-weight: 600; line-height: 1.5; }
.detail-copy { color: #cfdbd5; font-weight: 400; }
.hero-stamp { position: absolute; right: 1%; bottom: 8%; color: #c3cbc4; font: 500 9px/1.45 var(--mono); letter-spacing: .1em; transform: rotate(-8deg); }
.hero-stamp span { color: var(--orange); }
.schedule-section { padding: 4px 0 52px; }
.schedule-section .section-heading { margin-bottom: 18px; }
.schedule-wrap { max-height: 490px; }
.schedule-table { min-width: 1000px; }
.schedule-table th:nth-child(1), .schedule-table td:nth-child(1) { width: 245px; }
.schedule-table th:nth-child(2), .schedule-table td:nth-child(2) { width: 215px; }
.schedule-table th:nth-child(3), .schedule-table td:nth-child(3),
.schedule-table th:nth-child(4), .schedule-table td:nth-child(4) { width: 270px; }
.schedule-table td:nth-child(3), .schedule-table td:nth-child(4) { font-family: var(--mono); font-size: 10px; }
.guide-promo { display: grid; grid-template-columns: 155px minmax(0, 1fr) auto; justify-content: space-between; align-items: center; gap: 24px; margin: 0 0 44px; padding: 24px 28px; border: 1px solid var(--line); background: #e9eee8; }
.guide-promo-art { display: block; width: 100%; height: auto; }
.guide-promo .eyebrow { margin-bottom: 9px; }
.guide-promo h2 { font-size: clamp(22px, 2.6vw, 32px); }
.guide-promo p:last-child { color: #53625d; font-size: 13px; line-height: 1.55; margin: 9px 0 0; }
.guide-promo .button { flex: none; }
.method-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 15px; padding: 15px 0; color: #455653; }
.method-icon { flex: 0 0 23px; width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #a7b8ae; border-radius: 50%; color: var(--teal); font: 500 12px var(--mono); }
.method-strip p { margin: 0; font-size: 12px; line-height: 1.6; }
.method-strip strong { color: var(--ink); }
.table-section { padding-top: 56px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 23px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-date { color: #87958f; margin-left: 12px; font-size: 9px; }
h2 { margin: 0; font: 700 clamp(26px, 3.2vw, 40px)/1.12 var(--display); letter-spacing: -.055em; }
.table-count { color: var(--teal); font: 500 12px var(--mono); padding-bottom: 7px; }
.table-count span:last-child { color: var(--muted); font-size: 9px; letter-spacing: .1em; margin-left: 5px; }
.table-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; }
.search-box { width: min(450px, 100%); height: 42px; display: flex; gap: 10px; align-items: center; padding: 0 12px; background: var(--white); border: 1px solid var(--line); border-radius: 3px; }
.search-box svg { flex: none; width: 17px; height: 17px; fill: none; stroke: #7a8983; stroke-width: 1.5; stroke-linecap: round; }
.search-box input { font: 400 12px var(--sans); color: var(--ink); background: transparent; border: 0; outline: 0; width: 100%; min-width: 0; }
.search-box input:focus-visible { outline: none; }.search-box:focus-within { outline: 3px solid #e58b49; outline-offset: 2px; }
.search-box input::placeholder { color: #89958f; }
.pending-toggle { display: inline-flex; gap: 9px; align-items: center; color: #53625d; font-size: 12px; cursor: pointer; user-select: none; }
.pending-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-ui { position: relative; width: 31px; height: 18px; border-radius: 10px; background: #c7d0c8; transition: background .18s ease; }
.toggle-ui::after { content: ""; position: absolute; left: 3px; top: 3px; height: 12px; width: 12px; border-radius: 50%; background: white; transition: transform .18s ease; }
.pending-toggle input:checked + .toggle-ui { background: var(--teal); }
.pending-toggle input:checked + .toggle-ui::after { transform: translateX(13px); }
.pending-toggle input:focus-visible + .toggle-ui { outline: 3px solid #e58b49; outline-offset: 3px; }
.table-wrap { overflow: auto; max-height: 760px; background: var(--white); border: 1px solid var(--line); scrollbar-color: #a6b5ad #e9ece5; }
table { width: 100%; min-width: 1600px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
thead { position: sticky; top: 0; z-index: 2; }
th { background: #e9eee8; color: #50605a; font: 500 9px var(--mono); text-align: left; text-transform: uppercase; letter-spacing: .07em; padding: 13px 12px; border-bottom: 1px solid #d2dbd3; }
th span { display: block; color: #8a9992; font: 400 8px var(--mono); letter-spacing: 0; text-transform: none; margin-top: 4px; }
td { padding: 12px; border-bottom: 1px solid #e8ebe5; vertical-align: top; color: #344642; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fafbf5; }
th:nth-child(1), td:nth-child(1) { width: 205px; }
th:nth-child(2), td:nth-child(2) { width: 190px; }
th:nth-child(3), td:nth-child(3) { width: 370px; }
th:nth-child(4), td:nth-child(4) { width: 260px; }
th:nth-child(5), td:nth-child(5) { width: 270px; }
th:nth-child(6), td:nth-child(6) { width: 300px; }
th:nth-child(7), td:nth-child(7) { width: 105px; white-space: nowrap; }
td:nth-child(1) { color: var(--ink); font-weight: 700; }
td:nth-child(3) { font-family: var(--sans); font-size: 11px; }
td:nth-child(4), td:nth-child(5), td:nth-child(7) { font-family: var(--mono); font-size: 10px; }
.cell-state { display: inline; }
.cell-state[data-state="derived"] { color: #0e5c52; }
.cell-state[data-state="account"] { color: #765a28; }
.cell-state[data-state="event"] { color: #9a4935; }
.cell-state[data-state="unknown"] { color: #69736f; }
.source-link { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; font-size: 10px; }
.source-link:hover { color: #a84631; }
.source-links { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.loading-cell, .empty-cell { text-align: center; color: var(--muted); padding: 32px; }
.scroll-hint { display: none; color: #829089; font: 400 9px var(--mono); margin: 9px 0 0; }
.below-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.info-card { background: #e9eee8; padding: 23px 24px 21px; min-height: 205px; }
.info-card .eyebrow { margin-bottom: 13px; }
.info-card h2 { font-size: 22px; margin-bottom: 13px; }
.info-card p:not(.eyebrow) { color: #475751; font-size: 13px; line-height: 1.65; margin: 0 0 8px; }
.info-card .small-note { color: #74817b !important; font-size: 11px !important; }
.unresolved-card { background: var(--orange-soft); }
.unresolved-card .eyebrow { color: #9d4d38; }.unresolved-card .eyebrow-line { background: #9d4d38; }
.excluded { display: grid; grid-template-columns: 40px 1fr; gap: 16px; border-top: 1px solid var(--line); margin-top: 33px; padding-top: 26px; }
.excluded-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #aebbb3; border-radius: 50%; color: var(--teal); font-size: 17px; }
.excluded h2 { font-size: 19px; margin-bottom: 8px; }.excluded p { color: var(--muted); font-size: 12px; line-height: 1.6; max-width: 760px; margin: 0 0 9px; }
.excluded a { color: var(--teal); font-size: 11px; font-weight: 700; text-underline-offset: 3px; }
.footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 18px clamp(22px, 5.2vw, 84px); color: #75827c; font: 400 9px var(--mono); letter-spacing: .04em; }
.footer-dot { color: var(--orange); padding: 0 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr); gap: 32px; min-height: 450px; }
  .hero-stamp { display: none; }
  .hero-panel { padding: 23px 20px; }
  .summary-detail { grid-template-columns: 1fr; gap: 5px; }
  .below-grid { grid-template-columns: 1fr; }
}
@media (min-width: 651px) and (max-width: 780px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; padding: 42px 0; }
  .hero-copy { max-width: 720px; }
  .summary-detail { grid-template-columns: minmax(160px, .7fr) minmax(0, 1.3fr); gap: 16px; }
}
@media (max-width: 650px) {
  .topbar { height: 56px; }.topbar-meta { font-size: 8px; }.topbar-link { margin-right: 12px; font-size: 8px; }
  main { padding-bottom: 52px; }
  .hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 30px; padding: 42px 0 36px; }
  h1 { font-size: clamp(56px, 15vw, 78px); }
  .answer { margin-bottom: 23px; font-size: 17px; }
  .hero-panel { max-width: none; box-shadow: 6px 6px 0 #dce3dc; }
  .summary-detail { grid-template-columns: .8fr 1.4fr; gap: 12px; }
  .schedule-section { padding-bottom: 38px; }
  .table-section { padding-top: 42px; }
  .section-heading { align-items: start; }
  .guide-promo { grid-template-columns: minmax(0, 1fr); align-items: flex-start; padding: 21px; }
  .guide-promo-art { width: min(100%, 210px); }
  .guide-promo .button { width: 100%; justify-content: center; }
  .section-date { display: block; margin: 8px 0 0 31px; }
  .table-count { padding-top: 34px; }
  .table-controls { align-items: flex-start; flex-direction: column; gap: 12px; }
  .search-box { width: 100%; }
  .table-wrap { max-height: 70vh; }
  .schedule-wrap { max-height: none; overflow: visible; border: 0; background: transparent; }
  .schedule-table { display: block; min-width: 0; table-layout: auto; }
  .schedule-table thead { display: none; }
  .schedule-table tbody { display: grid; gap: 10px; }
  .schedule-table tbody tr { display: block; padding: 9px 14px; border: 1px solid var(--line); background: var(--white); }
  .schedule-table tbody td { display: grid; grid-template-columns: minmax(92px, .72fr) minmax(0, 1.5fr); gap: 10px; width: auto !important; padding: 8px 0; border-bottom: 1px solid #e8ebe5; font-size: 12px !important; line-height: 1.45; overflow-wrap: anywhere; }
  .schedule-table tbody td:last-child { border-bottom: 0; }
  .schedule-table tbody td::before { color: var(--muted); font: 500 9px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
  .schedule-table tbody td:nth-child(1)::before { content: "Tool + plan"; }
  .schedule-table tbody td:nth-child(2)::before { content: "Limit type"; }
  .schedule-table tbody td:nth-child(3)::before { content: "Last reset"; }
  .schedule-table tbody td:nth-child(4)::before { content: "Next reset"; }
  .scroll-hint { display: block; }
  .below-grid { margin-top: 34px; }
  .footer { flex-direction: column; gap: 7px; }
}
@media (max-width: 360px) {
  .topbar-meta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
