:root {
    --navy: #102541;
    --navy-2: #173758;
    --ink: #17263b;
    --muted: #657287;
    --paper: #f7f4ed;
    --white: #fff;
    --line: #dce2e9;
    --red: #b43a42;
    --red-dark: #8f2e35;
    --blue: #356d93;
    --green: #2f765a;
    --amber: #b47b25;
    --shadow: 0 18px 52px rgba(16, 37, 65, .12);
    --radius: 18px;
    --font-body: "Segoe UI Variable Text", Aptos, "Segoe UI", Arial, sans-serif;
    --font-display: "Trebuchet MS", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font-body); font-size: 17px; line-height: 1.68; }
a { color: inherit; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 920px; }
.narrow-wide { max-width: 1050px; }
.section { padding: 88px 0; }
.muted-section { background: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; left: 18px; top: -80px; z-index: 1000; padding: 10px 16px; background: #fff; color: #000; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.site-header { height: 76px; background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; z-index: 30; }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; line-height: 1; }
.brand > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.brand strong { font-family: var(--font-display); font-size: 20px; letter-spacing: .01em; }
.brand small { text-transform: uppercase; letter-spacing: .2em; font-size: 10px; opacity: .76; }
.brand-mark { position: relative; width: 37px; height: 37px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; display: inline-block; }
.brand-mark:before { content: ""; position: absolute; width: 2px; height: 24px; background: #fff; top: 6px; left: 11px; }
.brand-mark i { position: absolute; left: 13px; top: 8px; width: 15px; height: 9px; background: var(--red); clip-path: polygon(0 0, 100% 14%, 84% 100%, 0 82%); }
.brand-mark b { position: absolute; width: 4px; height: 2px; background: #fff; left: 10px; top: 5px; border-radius: 50%; }
.primary-nav { display: flex; align-self: stretch; gap: 4px; }
.primary-nav a { position: relative; display: flex; align-items: center; padding: 0 19px; text-decoration: none; color: rgba(255,255,255,.78); font-size: 15px; font-weight: 650; }
.primary-nav a:after { content: ""; position: absolute; left: 19px; right: 19px; bottom: 0; height: 3px; background: transparent; }
.primary-nav a:hover, .primary-nav a.active { color: #fff; }
.primary-nav a.active:after { background: #d05b62; }
.menu-button { display: none; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; padding: 7px 12px; }

.hero, .subhero { background: var(--navy); color: #fff; overflow: hidden; position: relative; }
.hero:before, .subhero:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 10%, rgba(74,116,153,.38), transparent 32%), linear-gradient(125deg, transparent 65%, rgba(255,255,255,.03) 65%); pointer-events: none; }
.hero-home { padding: 78px 0 92px; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 72px; align-items: center; }
.hero-copy { max-width: 700px; }
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #91afc9; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.kicker i { display: inline-block; width: 7px; height: 7px; background: #e07076; border-radius: 50%; box-shadow: 0 0 0 5px rgba(224,112,118,.12); }
.hero h1, .subhero h1 { margin: 22px 0 20px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.hero h1 { max-width: 680px; font-size: clamp(48px, 6vw, 76px); }
.hero-copy > p { max-width: 650px; margin: 0; color: #d1dbe5; font-size: 19px; line-height: 1.7; }
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; color: #aec0d1; font-size: 12px; font-weight: 650; }
.trust-row span:before { content: "✓"; color: #f0a0a5; margin-right: 7px; }
.status-finder { background: #fff; color: var(--ink); padding: 28px; border-radius: var(--radius); box-shadow: 0 24px 70px rgba(0,0,0,.26); }
.finder-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 17px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.finder-heading span { font-family: Georgia, serif; font-size: 21px; font-weight: 700; }
.finder-heading b { padding: 5px 8px; color: var(--green); background: #e8f3ed; border-radius: 5px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
label { color: #3f4d60; font-size: 14px; font-weight: 750; letter-spacing: .01em; }
input, select { width: 100%; margin-top: 7px; min-height: 48px; padding: 10px 13px; color: var(--ink); background: #fff; border: 1px solid #cbd3dc; border-radius: 8px; outline: none; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(53,109,147,.13); }
.status-finder label { display: block; margin: 14px 0; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; padding: 10px 21px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-size: 14px; font-weight: 800; transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { color: var(--navy); border-color: #aeb9c5; background: #fff; }
.button-light { color: var(--navy); background: #fff; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.button-wide { width: 100%; }
.location-link { display: block; margin: 13px auto 0; border: 0; background: none; color: var(--blue); font-size: 12px; font-weight: 750; }
.form-note { margin: 6px 0 0; color: #8993a1; text-align: center; font-size: 10px; }

.subhero { padding: 54px 0 72px; }
.subhero .shell { position: relative; }
.subhero h1 { max-width: 860px; font-size: clamp(40px, 5vw, 61px); }
.subhero p { max-width: 800px; margin: 0; color: #ced9e3; font-size: 18px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; color: #9fb3c7; font-size: 12px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

.status-section { padding: 78px 0 82px; background: #fff; }
.section-heading { margin-bottom: 35px; }
.section-heading .eyebrow { color: var(--red); }
.section-heading h2, .planner-output h2, .duration-layout h2 { margin: 8px 0 9px; color: var(--navy); font-family: Georgia, serif; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.16; letter-spacing: -.025em; }
.section-heading p { max-width: 700px; margin: 0; color: var(--muted); }
.heading-row { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; }
.updated-pill { flex: none; padding: 7px 12px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); font-size: 11px; }
.updated-pill i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--green); }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.status-grid.single { grid-template-columns: 1fr; }
.status-card { min-width: 0; padding: 26px 27px 24px; border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: 12px; box-shadow: 0 9px 28px rgba(16,37,65,.055); }
.status-card.is-half { border-top-color: var(--red); }
.status-card.is-full { border-top-color: var(--green); }
.status-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.status-card .eyebrow { color: var(--muted); }
.status-card h3 { margin: 5px 0 0; font-family: Georgia, serif; color: var(--navy); font-size: 25px; }
.status-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: #835918; background: #f7edd9; border-radius: 6px; font-size: 10px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.status-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.is-half .status-chip { color: #8d252d; background: #fae7e8; }
.is-half .status-chip i { background: var(--red); }
.is-full .status-chip { color: #246148; background: #e6f2eb; }
.is-full .status-chip i { background: var(--green); }
.status-reason { min-height: 52px; margin: 21px 0; color: #3b4c60; font-weight: 560; }
.status-meta { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.status-meta div { padding-top: 14px; }
.status-meta dt { color: #8993a1; font-size: 9px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.status-meta dd { margin: 3px 0 0; overflow-wrap: anywhere; color: #3d4c5f; font-size: 12px; }
.status-meta a { color: var(--blue); font-weight: 750; text-decoration: none; }
.freshness { color: var(--green); font-weight: 750; }
.freshness.warning, .freshness.stale { color: var(--amber); }
.applies-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-top: 24px; padding: 22px 25px; color: #fff; background: var(--navy); border-radius: 10px; }
.applies-icon { display: grid; place-items: center; width: 36px; height: 36px; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.applies-card .eyebrow { color: #93abc2; }
.applies-card h3 { margin: 1px 0; font-family: Georgia, serif; font-size: 19px; }
.applies-card p { margin: 0; color: #bdcbd8; font-size: 12px; }
.applies-card > a { color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.accuracy-note { margin-top: 18px; padding: 13px 17px; color: #6d5c3f; background: #fbf6e9; border-left: 3px solid #c8953d; font-size: 11px; }

.mini-search input { width: 220px; min-height: 42px; margin: 0; background: rgba(255,255,255,.7); }
.state-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.state-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 13px 15px; background: #fff; border: 1px solid #e1ddd4; border-radius: 7px; text-decoration: none; transition: border .15s, transform .15s, box-shadow .15s; }
.state-row:hover { transform: translateY(-1px); border-color: #aeb9c5; box-shadow: 0 5px 18px rgba(16,37,65,.07); }
.state-abbr { display: grid; place-items: center; width: 38px; height: 34px; color: var(--navy); background: #edf1f4; border-radius: 5px; font-size: 11px; font-weight: 850; }
.state-row strong { display: block; color: var(--ink); font-size: 14px; }
.state-row small { display: block; color: #747f8c; font-size: 11px; }
.state-dot { width: 8px; height: 8px; background: var(--amber); border-radius: 50%; }
.state-dot.half { background: var(--red); }
.state-dot.full { background: var(--green); }

.split-content { display: grid; grid-template-columns: 1.45fr .65fr; gap: 58px; align-items: start; }
.order-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.order-row { display: grid; grid-template-columns: 58px 1fr auto; gap: 17px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); text-decoration: none; }
.order-row:last-child { border-bottom: 0; }
.order-row:hover { background: #fafbfc; }
.date-block { display: flex; width: 48px; min-height: 49px; flex-direction: column; align-items: center; justify-content: center; background: var(--paper); border-radius: 5px; line-height: 1; }
.date-block b { color: var(--red); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.date-block strong { margin-top: 4px; font-family: Georgia, serif; color: var(--navy); font-size: 22px; }
.order-copy { min-width: 0; }
.order-copy small, .order-copy em { display: block; color: #8a94a0; font-size: 9px; font-style: normal; }
.order-copy strong { display: block; margin: 2px 0; color: var(--ink); font-family: Georgia, serif; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arrow { color: var(--blue); }
.text-link { display: inline-block; margin-top: 17px; color: var(--blue); font-size: 12px; font-weight: 800; text-decoration: none; }
.alert-panel { padding: 36px 31px; color: #fff; background: var(--navy); border-radius: 11px; }
.alert-panel .bell { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 35px; background: var(--red); border-radius: 50%; font-size: 25px; }
.alert-panel h2 { margin: 7px 0 10px; font-family: Georgia, serif; font-size: 29px; line-height: 1.2; }
.alert-panel p { color: #bbc9d6; font-size: 13px; }
.alert-panel .button { margin-top: 11px; width: 100%; }
.alert-panel > small { display: block; margin-top: 10px; color: #90a4b8; text-align: center; font-size: 9px; }
.empty-state { padding: 42px 30px; text-align: center; }
.empty-state > span { color: #9aa6b3; font-size: 28px; }
.empty-state h3 { margin: 5px 0; font-family: Georgia, serif; color: var(--navy); }
.empty-state p { max-width: 560px; margin: 5px auto; color: var(--muted); font-size: 12px; }
.empty-state.large { padding: 90px 30px; border: 1px dashed #cbd3dc; border-radius: 10px; }
.empty-state .button { margin-top: 16px; }

.protocol-section { background: linear-gradient(#fff, #fbfcfd); text-align: center; }
.protocol-section .eyebrow { color: var(--red); }
.protocol-section h2 { margin: 12px auto 20px; color: var(--navy); font-family: Georgia, serif; font-size: clamp(35px, 4.5vw, 52px); line-height: 1.12; }
.lead { color: #526176; font-size: 18px; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 44px; text-align: left; }
.fact-grid > div { padding: 24px; border: 1px solid var(--line); border-radius: 8px; }
.fact-grid span { color: var(--red); font-family: Georgia, serif; font-size: 13px; }
.fact-grid h3 { margin: 8px 0; color: var(--navy); font-family: Georgia, serif; font-size: 18px; }
.fact-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.center-actions { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 33px; }
.center-actions .text-link { margin: 0; }
.home-tools { padding-top: 72px; padding-bottom: 72px; background: #fff; }
.home-tools .section-heading { margin-bottom: 24px; }
.home-tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.home-tool-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; min-width: 0; padding: 25px; color: inherit; background: var(--paper); border: 1px solid #ddd8ce; border-radius: 11px; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.home-tool-card:hover { border-color: #a9bac8; box-shadow: 0 14px 34px rgba(16,37,65,.09); transform: translateY(-2px); }
.home-tool-icon { display: grid; place-items: center; width: 48px; height: 48px; color: #fff; background: var(--red); border-radius: 9px; font-family: Georgia, serif; font-size: 16px; font-weight: 800; }
.home-tool-pole { background: var(--navy); font-size: 22px; }
.home-tool-label { color: var(--red); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.home-tool-card h3 { margin: 5px 0 7px; color: var(--navy); font-family: Georgia, serif; font-size: 22px; line-height: 1.25; }
.home-tool-card p { margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.home-tool-card strong { color: var(--blue); font-size: 10px; }
.faq-section { padding-top: 70px; }
.faq-section details { border-top: 1px solid var(--line); }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { position: relative; padding: 19px 40px 19px 0; color: var(--navy); cursor: pointer; list-style: none; font-family: Georgia, serif; font-size: 17px; font-weight: 700; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary:after { content: "+"; position: absolute; right: 4px; color: var(--red); font-family: sans-serif; font-weight: 400; }
.faq-section details[open] summary:after { content: "−"; }
.faq-section details p { margin: -4px 0 20px; color: var(--muted); font-size: 13px; }

.inline-scope { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.inline-scope label { font-size: 12px; }
.inline-scope select { width: auto; min-width: 230px; min-height: 40px; margin: 0; }
.comparison-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.comparison-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 8px; }
.comparison-grid article > span { display: grid; place-items: center; width: 36px; height: 30px; color: #fff; background: var(--navy); border-radius: 4px; font-size: 10px; font-weight: 850; }
.comparison-grid h3 { margin: 14px 0 7px; font-family: Georgia, serif; color: var(--navy); }
.comparison-grid p { margin: 0; color: var(--muted); font-size: 12px; }

.planner-section { background: #f4f2ec; }
.planner-intro { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 26px; }
.planner-intro > *, .planner-grid > * { min-width: 0; }
.planner-intro h2 { margin: 5px 0 0; color: var(--navy); font-family: Georgia, serif; font-size: 34px; line-height: 1.15; }
.planner-intro > p { max-width: 500px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.planner-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
.planner-form, .planner-output { background: #fff; border: 1px solid #dddfe3; border-radius: 12px; box-shadow: 0 13px 40px rgba(16,37,65,.07); }
.planner-form { padding: 29px; }
.planner-form select, .planner-form input { min-width: 0; max-width: 100%; }
.tool-step { display: flex; align-items: center; gap: 12px; margin: 25px 0 13px; }
.tool-step:first-child { margin-top: 0; }
.tool-step > span { display: grid; place-items: center; width: 28px; height: 28px; color: #fff; background: var(--navy); border-radius: 50%; font-size: 10px; font-weight: 850; }
.tool-step strong, .tool-step small { display: block; }
.tool-step strong { color: var(--navy); font-family: Georgia, serif; font-size: 16px; }
.tool-step small { color: var(--muted); font-size: 9px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field-grid label { display: block; }
.input-with-unit { display: block; position: relative; }
.input-with-unit input { padding-right: 42px; }
.input-with-unit em { position: absolute; right: 12px; top: 21px; color: #8a94a0; font-size: 11px; font-style: normal; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-card { display: block; }
.check-card input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.check-card span { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.check-card input:checked + span { border-color: var(--blue); background: #edf4f8; box-shadow: inset 3px 0 0 var(--blue); }
.check-card b, .check-card small { display: block; }
.check-card b { color: var(--ink); font-size: 11px; }
.check-card small { color: var(--muted); font-size: 8px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 21px; }
.segmented input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.segmented span { display: grid; place-items: center; min-height: 42px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; cursor: pointer; }
.segmented input:checked + span { color: var(--navy); border-color: var(--blue); background: #edf4f8; font-weight: 800; }
.planner-output { padding: 31px; }
.output-heading { display: flex; justify-content: space-between; gap: 20px; }
.output-heading h2 { margin-top: 3px; font-size: 28px; }
.output-heading .eyebrow { color: var(--red); }
.print-button { align-self: flex-start; padding: 7px 11px; color: var(--blue); background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: 10px; }
.pole-visual { position: relative; height: 265px; margin: 22px 0; background: linear-gradient(#eaf3f8 0 75%, #e2e1d4 75%); border-radius: 8px; overflow: hidden; }
.pole { position: absolute; left: 50%; top: 22px; bottom: 36px; width: 5px; background: linear-gradient(90deg,#8895a0,#dce3e7,#7d8a95); transform: translateX(-50%); }
.finial { position: absolute; left: 50%; top: -8px; width: 11px; height: 11px; background: #d3a64c; border-radius: 50%; transform: translateX(-50%); }
.ground { position: absolute; left: 50%; bottom: -6px; width: 62px; height: 9px; background: #79806f; border-radius: 50%; transform: translateX(-50%); }
.flag { position: absolute; left: 4px; top: 42%; width: 102px; height: 55px; background: repeating-linear-gradient(to bottom,#b83a43 0 6px,#fff 6px 12px); clip-path: polygon(0 0,100% 6%,92% 96%,0 100%); transition: top .3s; }
.flag i { position: absolute; inset: 0 auto auto 0; width: 44%; height: 53%; background: #24466d; }
.flag b { position: absolute; inset: 5px auto auto 5px; width: 28px; height: 16px; background-image: radial-gradient(#fff 1px,transparent 1.2px); background-size: 5px 5px; }
.measurement { position: absolute; left: calc(50% + 9px); top: 24px; height: 40%; border-left: 1px dashed var(--red); z-index: 2; }
.measurement:before, .measurement:after { content: ""; position: absolute; left: -4px; width: 7px; height: 7px; border-left: 1px solid var(--red); border-top: 1px solid var(--red); transform: rotate(45deg); }
.measurement:before { top: 0; }
.measurement:after { bottom: 0; transform: rotate(225deg); }
.measurement span { position: absolute; left: 12px; top: 38%; width: 120px; color: var(--red); font-size: 9px; font-weight: 800; }
.height-scale { position: absolute; left: 17px; top: 24px; bottom: 35px; display: flex; flex-direction: column; justify-content: space-between; color: #718193; font-size: 8px; }
.height-scale i { position: absolute; top: 9px; bottom: 9px; left: 8px; border-left: 1px solid rgba(16,37,65,.25); }
.calculation-result { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calculation-result > div { padding: 15px 17px; background: var(--paper); border-radius: 6px; }
.calculation-result small, .calculation-result span { display: block; color: var(--muted); font-size: 8px; }
.calculation-result strong { display: block; color: var(--navy); font-family: Georgia, serif; font-size: 24px; }
.output-alert { display: flex; gap: 10px; padding: 13px 15px; margin: 14px 0; color: #48667d; background: #eef5f8; border-left: 3px solid var(--blue); font-size: 10px; }
.output-alert strong { flex: none; color: var(--navy); }
.instruction-list { padding: 0; margin: 20px 0; list-style: none; }
.instruction-list li { display: flex; align-items: flex-start; gap: 12px; margin: 13px 0; }
.instruction-list li > span { display: grid; flex: none; place-items: center; width: 25px; height: 25px; color: #fff; background: var(--red); border-radius: 50%; font-size: 9px; }
.instruction-list p { margin: 0; color: var(--muted); font-size: 10px; }
.instruction-list strong { display: block; color: var(--ink); font-size: 11px; }
.source-box { display: flex; justify-content: space-between; gap: 15px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 10px; }
.source-box span { color: var(--muted); }
.source-box a { color: var(--blue); font-weight: 750; text-decoration: none; }
.tool-disclaimer { color: #8c9299; font-size: 8px; }
.exception-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.exception-grid article { padding: 25px; background: #fff; border: 1px solid #e0dcd2; border-radius: 8px; }
.line-icon { color: var(--red); font-size: 24px; }
.exception-grid h3 { margin: 8px 0; font-family: Georgia, serif; color: var(--navy); }
.exception-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.position-explainer-grid, .procedure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.position-explainer-grid article, .procedure-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 9px; }
.position-explainer-grid article > span { color: var(--red); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.position-explainer-grid h3, .procedure-grid h3 { margin: 9px 0 8px; color: var(--navy); font-family: Georgia, serif; font-size: 19px; line-height: 1.3; }
.position-explainer-grid p, .procedure-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.authority-note { padding: 17px 20px; margin: 20px 0 0; color: #52667a; background: #eef5f8; border-left: 3px solid var(--blue); border-radius: 0 7px 7px 0; font-size: 12px; line-height: 1.6; }
.authority-note strong { color: var(--navy); }
.procedure-grid article { background: #fff; }
.procedure-grid article > span { display: grid; place-items: center; width: 30px; height: 30px; color: #fff; background: var(--red); border-radius: 50%; font-size: 10px; font-weight: 850; }
.procedure-section .center-actions { margin-top: 26px; }
.protocol-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.protocol-table { width: 100%; border-collapse: collapse; min-width: 650px; text-align: left; }
.protocol-table th, .protocol-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.5; vertical-align: top; }
.protocol-table thead th { color: #fff; background: var(--navy); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.protocol-table tbody th { width: 135px; color: var(--navy); font-size: 12px; }
.protocol-table tbody tr:last-child th, .protocol-table tbody tr:last-child td { border-bottom: 0; }

.tabs-shell { margin-top: -40px; position: relative; z-index: 2; }
.tool-tabs { display: flex; width: max-content; margin: 0 auto; padding: 5px; background: var(--navy); border-radius: 8px 8px 0 0; }
.tool-tabs button { padding: 12px 24px; color: #9fb2c6; background: transparent; border: 0; border-radius: 5px; font-size: 11px; font-weight: 800; }
.tool-tabs button.active { color: var(--navy); background: #fff; }
.tab-panel { padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.calendar-form { display: grid; grid-template-columns: .7fr 1.2fr 1fr auto; gap: 13px; align-items: end; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.calendar-form .button { margin-bottom: 0; }
.date-answer { display: flex; align-items: center; gap: 19px; margin: 28px 0 18px; padding: 22px; background: var(--paper); border-radius: 8px; }
.date-block.large { width: 66px; height: 69px; }
.date-answer h2 { margin: 2px 0; font-family: Georgia, serif; color: var(--navy); }
.date-answer p { margin: 0; color: var(--muted); font-size: 11px; }
.calendar-heading { margin-top: 40px; }
.calendar-order-heading { margin: 55px 0 18px; }
.calendar-order-heading p { max-width: 720px; }
.calendar-list { border-top: 1px solid var(--line); }
.calendar-row { display: grid; grid-template-columns: 66px 1fr 190px; gap: 20px; align-items: center; padding: 20px 6px; border-bottom: 1px solid var(--line); }
.calendar-row time { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.calendar-row time b { color: var(--red); font-size: 9px; text-transform: uppercase; }
.calendar-row time strong { margin: 5px 0; color: var(--navy); font-family: Georgia, serif; font-size: 27px; }
.calendar-row time small { color: var(--muted); font-size: 8px; }
.calendar-rule { color: var(--blue); font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.calendar-row h3 { margin: 2px 0; color: var(--navy); font-family: Georgia, serif; font-size: 17px; }
.calendar-row p { margin: 0; color: var(--muted); font-size: 10px; }
.calendar-time { text-align: right; }
.calendar-time small, .calendar-time strong, .calendar-time a { display: block; }
.calendar-time small { color: var(--muted); font-size: 8px; }
.calendar-time strong { color: var(--ink); font-size: 11px; }
.calendar-time a { color: var(--blue); font-size: 9px; text-decoration: none; }
.duration-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; }
.duration-form { padding: 30px; background: var(--paper); border-radius: 8px; }
.duration-form h2 { font-size: 30px; }
.duration-form p { color: var(--muted); font-size: 11px; }
.duration-form label { display: block; margin: 15px 0; }
.duration-result { padding: 27px; border-left: 1px solid var(--line); }
.duration-result .eyebrow { color: var(--red); }
.duration-result h2 { font-size: 24px; }
.big-duration { display: block; margin: 17px 0; color: var(--red); font-family: Georgia, serif; font-size: 42px; }
.duration-result dl { margin: 0; }
.duration-result dl div { padding: 12px 0; border-top: 1px solid var(--line); }
.duration-result dt { color: var(--muted); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.duration-result dd { margin: 3px 0 0; color: var(--ink); font-size: 11px; }
.duration-result a { color: var(--blue); font-size: 10px; font-weight: 750; text-decoration: none; }
.timeline-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 13px; }
.timeline-grid article { padding: 26px; background: #fff; border: 1px solid #e0dcd2; border-radius: 8px; }
.timeline-grid article.featured { color: #fff; background: var(--navy); border-color: var(--navy); }
.timeline-grid span { color: var(--red); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.timeline-grid h3 { margin: 8px 0; font-family: Georgia, serif; color: var(--navy); }
.timeline-grid p { margin: 0; color: var(--muted); font-size: 11px; }
.timeline-grid .featured h3 { color: #fff; }
.timeline-grid .featured p { color: #bdcad7; }
.calendar-rules-section { background: #fff; }
.calendar-rule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 30px; }
.calendar-rule-grid article { padding: 25px; background: var(--paper); border: 1px solid #e3ded4; border-radius: 9px; }
.calendar-rule-grid article > span { color: var(--red); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.calendar-rule-grid h3 { margin: 8px 0 7px; color: var(--navy); font-size: 20px; line-height: 1.3; }
.calendar-rule-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.calendar-how-section { background: #fff; }
.calendar-how-grid article > span { border-radius: 50%; }
.calendar-how-actions { margin-top: 28px; }
.calendar-faq { padding-top: 82px; background: var(--paper); }
.calendar-faq .section-heading { margin-bottom: 18px; }
.calendar-faq details { border-color: #d5d0c6; }

.orders-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.filter-panel { position: sticky; top: 24px; padding: 22px; background: var(--paper); border: 1px solid #e2ddd2; border-radius: 9px; }
.filter-title { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #ddd8cd; color: var(--navy); font-family: Georgia, serif; font-weight: 700; }
.filter-title a { color: var(--blue); font-family: sans-serif; font-size: 9px; text-decoration: none; }
.filter-panel label { display: block; margin: 14px 0; }
.filter-panel .field-grid { gap: 8px; }
.filter-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid #ddd8cd; }
.filter-note strong { color: var(--navy); font-size: 10px; }
.filter-note p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.results-heading { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 18px; }
.results-heading .eyebrow { color: var(--red); }
.results-heading h2 { margin: 4px 0 0; color: var(--navy); font-family: Georgia, serif; font-size: 31px; }
.results-heading > span { color: var(--muted); font-size: 10px; }
.order-card-list { display: grid; gap: 13px; }
.order-card { padding: 23px 24px; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 5px 18px rgba(16,37,65,.035); }
.order-card-head { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 9px; }
.order-status { display: inline-flex; padding: 5px 8px; color: #765013; background: #f7ecd8; border-radius: 4px; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.order-status.ongoing { color: #8d252d; background: #f9e4e5; }
.order-status.ended { color: #526176; background: #edf0f3; }
.order-status.upcoming { color: #235e78; background: #e5f1f6; }
.order-card h3 { margin: 9px 0 5px; font-family: Georgia, serif; color: var(--navy); font-size: 22px; line-height: 1.25; }
.order-card h3 a { text-decoration: none; }
.order-card > p { margin: 0 0 12px; color: var(--muted); font-size: 11px; }
.order-card dl { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 13px; padding: 13px 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order-card dt { color: #8b95a1; font-size: 7px; font-weight: 850; text-transform: uppercase; }
.order-card dd { margin: 2px 0 0; color: #465568; font-size: 9px; }
.order-card-foot { display: flex; justify-content: space-between; padding-top: 13px; }
.order-card-foot a { color: var(--blue); font-size: 9px; font-weight: 800; text-decoration: none; }
.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 27px; }
.pagination a, .pagination span { color: var(--blue); font-size: 11px; text-decoration: none; }
.pagination span { color: #a7afb8; }
.pagination strong { color: var(--muted); font-size: 10px; }

.order-detail-label { display: flex; align-items: center; gap: 12px; color: #abbccc; font-size: 10px; }
.order-detail-hero h1 { font-size: clamp(38px, 5vw, 58px); }
.hero-actions { display: flex; gap: 10px; margin-top: 27px; }
.detail-layout { display: grid; grid-template-columns: 1fr 290px; gap: 45px; align-items: start; }
.detail-section { padding-bottom: 45px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.detail-section .eyebrow { color: var(--red); }
.detail-section h2 { margin: 8px 0 22px; color: var(--navy); font-family: Georgia, serif; font-size: 32px; }
.date-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 23px; background: var(--paper); border-radius: 8px; }
.date-range small, .date-range strong, .date-range span { display: block; }
.date-range small { color: var(--muted); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.date-range strong { color: var(--navy); font-family: Georgia, serif; font-size: 20px; }
.date-range span { color: var(--muted); font-size: 10px; }
.date-range > i { color: var(--red); font-style: normal; }
.scope-table { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.scope-head, .scope-row { display: grid; grid-template-columns: 1.4fr 1fr .6fr .7fr .8fr; gap: 10px; align-items: center; padding: 11px 14px; }
.scope-head { color: #fff; background: var(--navy); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.scope-row { color: #526176; border-top: 1px solid var(--line); font-size: 9px; }
.scope-row strong, .scope-row small { display: block; }
.scope-row strong { color: var(--ink); }
.scope-row small { color: var(--muted); font-size: 8px; }
blockquote { margin: 0; padding: 24px 27px; color: #3d4b5d; background: #f7f8f9; border-left: 4px solid var(--blue); font-family: Georgia, serif; font-size: 15px; white-space: pre-line; }
.excerpt-note { color: var(--muted); font-size: 9px; }
.detail-sidebar { position: sticky; top: 25px; }
.source-panel, .sidebar-card { padding: 24px; border: 1px solid var(--line); border-radius: 9px; }
.source-panel .eyebrow { color: var(--red); }
.source-panel dl { margin: 14px 0; }
.source-panel dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.source-panel dt { color: var(--muted); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.source-panel dd { margin: 2px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: 10px; }
.sidebar-card { margin-top: 14px; color: #fff; background: var(--navy); border-color: var(--navy); }
.sidebar-card h2 { margin: 0; font-family: Georgia, serif; font-size: 20px; }
.sidebar-card p { color: #bdcad6; font-size: 10px; }
.sidebar-card a { color: #fff; font-size: 10px; font-weight: 800; text-decoration: none; }

.site-footer { padding: 57px 0 21px; color: #aebdcb; background: #0b1c31; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 65px; }
.footer-grid > div:first-child p { max-width: 400px; color: #889daf; font-size: 11px; }
.footer-grid h2 { margin: 0 0 12px; color: #fff; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a { display: block; margin: 6px 0; color: #9eb0bf; font-size: 10px; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; margin-top: 38px; border-top: 1px solid rgba(255,255,255,.1); font-size: 8px; letter-spacing: .04em; }

@media (max-width: 900px) {
    .hero-grid, .planner-grid, .orders-layout, .detail-layout { grid-template-columns: 1fr; }
    .hero-grid { gap: 40px; }
    .hero-copy { max-width: none; }
    .state-grid { grid-template-columns: 1fr 1fr; }
    .split-content { grid-template-columns: 1fr; }
    .alert-panel { max-width: 520px; }
    .filter-panel, .detail-sidebar { position: static; }
    .calendar-form { grid-template-columns: 1fr 1fr; }
    .duration-layout { grid-template-columns: 1fr; }
    .duration-result { border-left: 0; border-top: 1px solid var(--line); }
    .planner-intro { align-items: flex-start; flex-direction: column; gap: 12px; }
    .detail-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .sidebar-card { margin: 0; }
}

@media (max-width: 720px) {
    .shell { width: min(100% - 26px, 1180px); }
    .section { padding: 60px 0; }
    .site-header { height: 66px; }
    .menu-button { display: block; }
    .primary-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; height: auto; padding: 8px 13px 14px; flex-direction: column; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); }
    .primary-nav.open { display: flex; }
    .primary-nav a { padding: 12px; }
    .primary-nav a:after { display: none; }
    .hero-home { padding: 52px 0 64px; }
    .hero h1 { font-size: 46px; }
    .hero-copy > p { font-size: 16px; }
    .subhero { padding: 38px 0 54px; }
    .subhero h1 { font-size: 39px; }
    .subhero p { font-size: 15px; }
    .breadcrumb { margin-bottom: 25px; }
    .status-grid, .status-meta, .fact-grid, .comparison-grid, .exception-grid, .home-tool-grid, .position-explainer-grid, .procedure-grid, .timeline-grid, .footer-grid, .detail-sidebar { grid-template-columns: 1fr; }
    .home-tools { padding-top: 56px; padding-bottom: 56px; }
    .home-tool-card { padding: 20px; }
    .heading-row { align-items: flex-start; flex-direction: column; }
    .applies-card { grid-template-columns: auto 1fr; }
    .applies-card > a { grid-column: 2; }
    .state-grid { grid-template-columns: 1fr; }
    .order-row { grid-template-columns: 50px 1fr; }
    .order-row .arrow { display: none; }
    .field-grid, .choice-grid { grid-template-columns: 1fr; }
    .calculation-result { grid-template-columns: 1fr 1fr; }
    .planner-form, .planner-output, .tab-panel { padding: 20px; }
    .planner-intro h2 { overflow-wrap: anywhere; font-size: 30px; }
    .source-box { align-items: flex-start; flex-direction: column; }
    .tabs-shell { margin-top: -22px; }
    .tool-tabs { width: 100%; }
    .tool-tabs button { flex: 1; padding: 10px; }
    .calendar-form { grid-template-columns: 1fr; }
    .calendar-row { grid-template-columns: 50px 1fr; }
    .calendar-time { grid-column: 2; text-align: left; }
    .calendar-rule-grid { grid-template-columns: 1fr; }
    .order-card dl { grid-template-columns: 1fr; }
    .order-card-foot { gap: 12px; flex-direction: column; }
    .scope-table { overflow-x: auto; }
    .scope-head, .scope-row { width: 680px; }
    .date-range { grid-template-columns: 1fr; }
    .date-range > i { display: none; }
    .footer-grid { gap: 26px; }
    .footer-bottom { gap: 12px; flex-direction: column; }
    .mini-search input { width: 100%; }
}

@media print {
    .site-header, .site-footer, .subhero, .planner-intro, .planner-form, .position-answer-section, .procedure-section, .setup-guidance-section, .protocol-section, .faq-section, .print-button { display: none !important; }
    .section { padding: 0; }
    .planner-grid { display: block; }
    .planner-output { box-shadow: none; border: 0; }
}

/* Focused current-status and history experience */
.answer-hero { position: relative; overflow: hidden; padding: 48px 0 54px; color: #fff; background: var(--navy); border-top: 4px solid #8a98a8; }
.answer-hero:before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 83% 10%, rgba(83,127,166,.34), transparent 31%), linear-gradient(125deg, transparent 66%, rgba(255,255,255,.035) 66%); }
.answer-hero.answer-half { border-top-color: #df6269; }
.answer-hero.answer-full { border-top-color: #4f9d78; }
.answer-hero.answer-unknown { border-top-color: #d29a48; }
.answer-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .68fr); gap: 46px; align-items: center; }
.answer-main { min-width: 0; }
.answer-kicker { display: inline-flex; align-items: center; gap: 9px; color: #b6c7d7; font-size: 12px; font-weight: 800; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.answer-kicker i { width: 8px; height: 8px; border-radius: 50%; background: #d29a48; box-shadow: 0 0 0 6px rgba(210,154,72,.13); }
.answer-half .answer-kicker i { background: #ef777d; box-shadow: 0 0 0 6px rgba(239,119,125,.13); }
.answer-full .answer-kicker i { background: #6ab28d; box-shadow: 0 0 0 6px rgba(106,178,141,.13); }
.answer-question { margin: 18px 0 4px; color: #a9bfd2; font-size: 14px; font-weight: 750; letter-spacing: .01em; line-height: 1.3; }
.answer-main h1 { max-width: 760px; margin: 16px 0 0; font-family: var(--font-display); font-size: clamp(42px, 4.7vw, 62px); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.answer-status { max-width: 760px; margin: 12px 0 0; color: #fff; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
.answer-full .answer-status { color: #91d3b1; }
.answer-half .answer-status { color: #ffabb0; }
.answer-unknown .answer-status { color: #f2c883; }
.answer-reason { max-width: 740px; margin: 9px 0 0; color: #dbe5ed; font-family: var(--font-body); font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; line-height: 1.38; }
.answer-timing { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 0; max-width: 760px; margin-top: 19px; border-top: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); }
.answer-timing > div { min-width: 0; padding: 10px 14px 10px 0; }
.answer-timing > div + div { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.14); }
.answer-timing span, .answer-timing strong { display: block; }
.answer-timing span { color: #a7bbcc; font-size: 10px; font-weight: 850; letter-spacing: .07em; line-height: 1.2; text-transform: uppercase; }
.answer-timing strong { margin-top: 3px; overflow-wrap: anywhere; color: #fff; font-size: 13px; font-weight: 650; line-height: 1.35; }
.answer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 18px; }
.answer-history-link { padding: 8px 4px; color: #d5e0e9; font-size: 13px; font-weight: 750; text-decoration: none; }
.answer-history-link:hover { color: #fff; }
.answer-side { position: relative; padding: 23px 24px; color: var(--ink); background: #fff; border-radius: 12px; box-shadow: 0 20px 55px rgba(0,0,0,.23); }
.side-label { display: block; color: var(--red); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.answer-side h2, .answer-side h3 { margin: 6px 0; color: var(--navy); font-family: var(--font-display); font-size: 24px; line-height: 1.18; }
.answer-side > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.answer-side dl { margin: 13px 0; border-top: 1px solid var(--line); }
.answer-side dl div { padding: 7px 0; border-bottom: 1px solid var(--line); }
.answer-side dt { color: #788493; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.answer-side dd { margin: 1px 0 0; color: #3d4b5e; font-size: 13px; line-height: 1.35; }
.answer-side > a { color: var(--blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.also-active { display: grid; gap: 6px; padding-top: 16px; margin-top: 18px; border-top: 1px solid var(--line); }
.also-active strong { color: var(--navy); font-size: 10px; }
.also-active a { color: var(--blue); font-size: 9px; text-decoration: none; }
.answer-breadcrumb { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin: -15px 0 22px; color: #9eb1c3; font-size: 10px; }
.answer-breadcrumb a { color: #d4dee7; text-decoration: none; }

.history-section { padding: 88px 0 92px; background: #fff; }
.history-heading, .states-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 27px; }
.history-heading .eyebrow, .states-heading .eyebrow { color: var(--red); }
.history-heading h2, .states-heading h2 { margin: 7px 0 5px; color: var(--navy); font-family: var(--font-display); font-size: clamp(33px, 4vw, 45px); line-height: 1.14; }
.history-heading p, .states-heading p { max-width: 690px; margin: 0; color: var(--muted); font-size: 16px; }
.history-count { flex: none; padding: 8px 13px; color: var(--blue); background: #edf3f7; border-radius: 12px; font-size: 13px; font-weight: 800; line-height: 1.25; text-align: center; }
.history-count small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 650; }
.history-form { display: grid; grid-template-columns: minmax(220px, 1.8fr) minmax(170px, 1fr) minmax(130px, .65fr) minmax(130px, .65fr) auto auto; gap: 12px; align-items: end; padding: 21px; background: var(--paper); border: 1px solid #e3ded4; border-radius: 11px; }
.history-form label { display: block; }
.history-form input, .history-form select { margin-top: 6px; background: #fff; }
.history-submit { min-width: 130px; }
.history-clear { display: inline-flex; min-height: 48px; align-items: center; padding: 0 7px; color: var(--blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.history-fixed { min-height: 72px; padding: 10px 13px; background: #fff; border: 1px solid #d9d4ca; border-radius: 8px; }
.history-fixed span, .history-fixed strong { display: block; }
.history-fixed span { color: var(--muted); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.history-fixed strong { margin-top: 9px; color: var(--navy); font-size: 12px; }
.history-results { margin-top: 31px; }
.history-list { display: grid; gap: 13px; }
.history-card { display: grid; grid-template-columns: 72px minmax(0, 1fr) 155px; gap: 22px; align-items: start; padding: 23px 24px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 7px 22px rgba(16,37,65,.04); transition: border-color .15s, transform .15s, box-shadow .15s; }
.history-card:hover { border-color: #b8c7d4; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(16,37,65,.075); }
.history-card-date { display: flex; min-height: 74px; flex-direction: column; align-items: center; justify-content: center; color: var(--navy); background: var(--paper); border-radius: 7px; line-height: 1; }
.history-card-date span { color: var(--red); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.history-card-date strong { margin: 5px 0; font-family: Georgia, serif; font-size: 28px; }
.history-card-date small { color: var(--muted); font-size: 8px; }
.history-card-labels { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.history-card-body h3 { margin: 8px 0 5px; color: var(--navy); font-family: var(--font-display); font-size: 23px; line-height: 1.3; }
.history-card-body h3 a { text-decoration: none; }
.history-card-body > p { margin: 0; color: var(--muted); font-size: 15px; }
.history-card-meta { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-top: 12px; color: #5a687b; font-size: 13px; }
.history-card-meta b { color: #3e4c5e; font-weight: 800; }
.history-card-actions { display: grid; gap: 9px; justify-items: end; }
.history-card-actions a { color: var(--blue); font-size: 13px; font-weight: 800; text-align: right; text-decoration: none; }
.history-card-actions a:last-child { color: var(--muted); font-size: 12px; font-weight: 650; }
.history-group-details { margin-top: 14px; border-top: 1px solid var(--line); }
.history-group-details summary { padding: 11px 0 3px; color: var(--blue); cursor: pointer; font-size: 13px; font-weight: 800; }
.history-group-links { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 8px; }
.history-group-links a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: var(--ink); background: var(--paper); border: 1px solid #e2ddd3; border-radius: 7px; font-size: 12px; text-decoration: none; }
.history-group-links a:hover { border-color: #aebdca; background: #fff; }
.history-group-links b { color: var(--red); font-size: 11px; }

/* Use one contemporary sans-serif display face throughout this site instead of
   mixing small Inter-style copy with Georgia headings. */
h1, h2, h3, blockquote, summary,
.brand strong, .finder-heading span, .date-block strong, .date-answer h2,
.calendar-row time strong, .big-duration, .calculation-result strong,
.history-card-date strong, .date-range strong, .filter-title {
    font-family: var(--font-display) !important;
}
.history-empty { padding: 55px 25px; text-align: center; background: var(--paper); border: 1px dashed #cfc9bd; border-radius: 10px; }
.history-empty > span { color: var(--red); font-size: 33px; }
.history-empty h3 { margin: 8px 0 4px; color: var(--navy); font-family: Georgia, serif; font-size: 24px; }
.history-empty p { max-width: 600px; margin: auto; color: var(--muted); font-size: 11px; }
.history-pagination { padding-top: 26px; border-top: 1px solid var(--line); }

.states-section { padding: 84px 0 89px; background: var(--paper); }
.home-states { background: #fff; border-bottom: 1px solid var(--line); }
.states-heading .mini-search { flex: 0 1 260px; }
.states-heading .mini-search input { background: #fff; }
.home-explainer { background: var(--paper); }
.home-explainer .lead { max-width: 860px; margin: 0 auto; }
.half-staff-guide { background: #fff; }
.guide-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 22px; }
.guide-layout > div { padding: 28px; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 26px rgba(16,37,65,.045); }
.guide-layout h3 { margin: 0 0 18px; color: var(--navy); font-family: var(--font-display); font-size: 24px; line-height: 1.25; }
.observance-list { display: grid; }
.observance-list > div { padding: 12px 0; border-top: 1px solid var(--line); }
.observance-list strong, .observance-list span { display: block; }
.observance-list strong { color: var(--ink); font-size: 14px; }
.observance-list span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.display-steps ol { display: grid; gap: 13px; padding: 0; margin: 0; list-style: none; }
.display-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 11px; align-items: start; }
.display-steps li > span { display: grid; place-items: center; width: 30px; height: 30px; color: #fff; background: var(--navy); border-radius: 50%; font-size: 11px; font-weight: 850; }
.display-steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.display-steps p strong { display: block; color: var(--ink); }
.home-faq { padding-top: 82px; background: var(--paper); }
.home-faq .section-heading { margin-bottom: 18px; }
.home-faq details { border-color: #d5d0c6; }
.state-guide-section { background: #fff; }
.state-guide-grid article > span { width: auto; min-width: 52px; padding: 0 9px; }
.state-guide-actions { margin-top: 29px; }
.state-faq { padding-top: 82px; background: var(--paper); }
.state-faq .section-heading { margin-bottom: 18px; }
.state-faq details { border-color: #d5d0c6; }
.accuracy-strip { padding: 43px 0; color: #c5d2de; background: #132b48; }
.accuracy-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; align-items: center; }
.accuracy-layout > div { display: flex; align-items: center; gap: 15px; }
.accuracy-mark { display: grid; flex: none; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--red); border-radius: 50%; font-size: 12px; font-weight: 850; }
.accuracy-layout h2 { margin: 0; color: #fff; font-family: Georgia, serif; font-size: 22px; line-height: 1.3; }
.accuracy-layout p { margin: 0; font-size: 11px; }

.federal-strip { padding: 25px 0; background: #edf3f7; border-bottom: 1px solid #dbe4eb; }
.federal-half { background: #f8e9e9; border-color: #ebd0d2; }
.federal-unknown { background: #f7f0e4; border-color: #e9dcc5; }
.federal-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.federal-strip-inner span, .federal-strip-inner strong { display: block; }
.federal-strip-inner span { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.federal-strip-inner strong { margin-top: 2px; color: var(--navy); font-family: Georgia, serif; font-size: 18px; }
.federal-strip-inner p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.federal-strip-inner > a { flex: none; color: var(--blue); font-size: 10px; font-weight: 800; text-decoration: none; }

.detail-hero { position: relative; overflow: hidden; padding: 52px 0 68px; color: #fff; background: var(--navy); }
.detail-hero:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 10%, rgba(74,116,153,.34), transparent 32%); pointer-events: none; }
.detail-hero .shell { position: relative; }
.detail-hero .answer-breadcrumb { margin: 0 0 31px; }
.detail-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; color: #aebdcb; font-size: 10px; }
.detail-hero h1 { max-width: 900px; margin: 19px 0 13px; font-family: var(--font-display); font-size: clamp(41px, 5vw, 61px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.detail-hero > .shell > p { max-width: 780px; margin: 0; color: #d1dbe5; font-size: 17px; }
.detail-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.detail-content { padding: 78px 0 87px; }
.detail-summary h2 { max-width: 780px; line-height: 1.25; }
.detail-lead { max-width: 760px; margin: -9px 0 0; color: #465568; font-size: 17px; line-height: 1.55; }
.detail-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.detail-facts > div { padding: 15px 17px; background: var(--paper); border-radius: 7px; }
.detail-facts span, .detail-facts strong { display: block; }
.detail-facts span { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.detail-facts strong { margin-top: 4px; color: var(--ink); font-size: 14px; }
.record-note { padding: 13px 15px; margin-top: 14px; color: #657287; background: #f3f6f8; border-left: 3px solid var(--blue); font-size: 10px; }
.scope-cards { display: grid; gap: 12px; }
.scope-cards > article { padding: 21px; border: 1px solid var(--line); border-radius: 8px; }
.scope-cards > article > span { color: var(--red); font-size: 9px; font-weight: 850; }
.scope-cards h3 { margin: 3px 0 13px; color: var(--navy); font-family: Georgia, serif; font-size: 18px; }
.scope-cards dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; }
.scope-cards dt { color: var(--muted); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.scope-cards dd { margin: 2px 0 0; color: var(--ink); font-size: 10px; }
.order-use-grid article { padding: 21px; }
.order-use-grid article > span { width: auto; min-width: 45px; padding: 0 8px; }
.order-use-grid h3 { font-size: 18px; line-height: 1.3; }
.order-use-grid p { font-size: 12px; line-height: 1.55; }
.order-faq { padding-top: 0; }
.order-faq h2 { margin-bottom: 12px; }
.related-panel { padding: 23px; margin-top: 14px; background: var(--paper); border: 1px solid #e3ded4; border-radius: 9px; }
.related-panel .eyebrow { color: var(--red); }
.related-panel h2, .related-panel h3 { margin: 6px 0 12px; color: var(--navy); font-family: Georgia, serif; font-size: 22px; line-height: 1.3; }
.related-panel > a { display: block; padding: 11px 0; border-top: 1px solid #ddd8ce; text-decoration: none; }
.related-panel a span, .related-panel a strong { display: block; }
.related-panel a span { color: var(--muted); font-size: 8px; }
.related-panel a strong { margin-top: 2px; color: var(--navy); font-size: 10px; line-height: 1.35; }
.footer-evidence { max-width: 280px; margin: 0; color: #9eb0bf; font-size: 10px; }

@media (max-width: 1040px) {
    .history-form { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
    .history-submit { min-width: 0; }
    .history-clear { justify-content: center; }
}

@media (max-width: 900px) {
    .answer-layout { grid-template-columns: 1fr; gap: 27px; }
    .answer-side { max-width: 650px; }
    .history-card { grid-template-columns: 68px minmax(0, 1fr); }
    .history-card-actions { grid-column: 2; display: flex; justify-content: flex-start; }
    .accuracy-layout { grid-template-columns: 1fr; gap: 20px; }
    .guide-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .answer-hero { padding: 34px 0 39px; }
    .answer-breadcrumb { margin: -3px 0 18px; }
    .answer-question { margin-top: 15px; }
    .answer-main h1 { font-size: 38px; line-height: 1.04; }
    .answer-status { font-size: 25px; }
    .answer-reason { margin-top: 10px; font-size: 18px; line-height: 1.36; }
    .answer-timing { grid-template-columns: 1fr 1fr; margin-top: 16px; }
    .answer-timing > div, .answer-timing > div + div { padding: 9px 10px 9px 0; border-top: 0; border-left: 0; }
    .answer-timing > div:nth-child(2) { padding-left: 10px; border-left: 1px solid rgba(255,255,255,.12); }
    .answer-timing > div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
    .answer-side { padding: 20px; }
    .history-section, .states-section { padding: 61px 0 65px; }
    .history-heading, .states-heading { align-items: flex-start; flex-direction: column; }
    .history-form { grid-template-columns: 1fr; padding: 17px; }
    .history-fixed { min-height: auto; }
    .history-card { grid-template-columns: 55px minmax(0, 1fr); gap: 15px; padding: 18px 16px; }
    .history-card-date { min-height: 65px; }
    .history-card-date strong { font-size: 24px; }
    .history-card-body h3 { font-size: 20px; }
    .history-card-meta { display: grid; gap: 4px; }
    .history-card-actions { grid-column: 1 / -1; padding-left: 70px; }
    .history-pagination { gap: 10px; }
    .federal-strip-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
    .detail-content { padding: 60px 0; }
    .detail-facts, .scope-cards dl { grid-template-columns: 1fr 1fr; }
    .accuracy-layout > div { align-items: flex-start; }
    .guide-layout > div { padding: 22px; }
}

@media (max-width: 430px) {
    .answer-main h1 { font-size: 34px; }
    .answer-actions .button { width: 100%; }
    .history-card-actions { padding-left: 0; }
    .detail-facts, .scope-cards dl { grid-template-columns: 1fr; }
}

/* Site-wide readability refresh: keep operational information comfortably
   readable on office monitors, tablets and phones. */
:root {
    --ink: #1f3045;
    --muted: #5b6b7e;
    --paper: #f5f6f7;
    --line: #d5dee7;
    --shadow: 0 16px 42px rgba(16, 37, 65, .09);
}
body { font-size: 18px; line-height: 1.62; }
.shell { width: min(1200px, calc(100% - 48px)); }
.section { padding-top: 82px; padding-bottom: 82px; }
.site-header { height: 80px; box-shadow: 0 2px 12px rgba(5, 20, 38, .16); }
.brand strong { font-size: 22px; }
.brand small { font-size: 11px; }
.primary-nav a { padding-right: 22px; padding-left: 22px; font-size: 16px; font-weight: 700; }
.kicker, .eyebrow { font-size: 12px; letter-spacing: .12em; }
.breadcrumb, .answer-breadcrumb { font-size: 14px; }
.subhero p { max-width: 850px; font-size: 19px; line-height: 1.58; }
.section-heading { margin-bottom: 38px; }
.section-heading h2, .planner-output h2, .duration-layout h2 { font-size: clamp(31px, 3.3vw, 44px); }
.section-heading p, .history-heading p, .states-heading p { max-width: 760px; font-size: 17px; line-height: 1.6; }
.lead { font-size: 19px; line-height: 1.6; }
label { font-size: 15px; }
input, select { min-height: 54px; padding: 12px 14px; font-size: 16px; }
.button { min-height: 52px; padding: 12px 22px; border-radius: 9px; font-size: 15px; }
.text-link { font-size: 14px; }

/* Status, state directory and homepage tools */
.answer-hero { padding-top: 58px; padding-bottom: 62px; }
.answer-kicker { font-size: 13px; }
.answer-reason { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.48; }
.answer-timing > div { padding-top: 14px; padding-bottom: 14px; }
.answer-timing span, .side-label { font-size: 12px; }
.answer-timing strong { font-size: 15px; }
.answer-history-link, .answer-side > a { font-size: 15px; }
.answer-side { padding: 28px; border-radius: 15px; }
.answer-side h2, .answer-side h3 { font-size: 26px; }
.answer-side > p { font-size: 16px; line-height: 1.55; }
.answer-side dl div { padding-top: 10px; padding-bottom: 10px; }
.answer-side dt { font-size: 12px; }
.answer-side dd { font-size: 15px; }
.also-active strong, .also-active a { font-size: 13px; }
.status-card { padding: 30px; border-radius: 15px; box-shadow: var(--shadow); }
.status-card h3 { font-size: 27px; }
.status-reason { font-size: 17px; line-height: 1.55; }
.status-chip { font-size: 12px; }
.status-meta div { padding-top: 17px; }
.status-meta dt { font-size: 12px; }
.status-meta dd { font-size: 15px; line-height: 1.5; }
.applies-card { padding: 25px 28px; border-radius: 13px; }
.applies-card h3 { font-size: 21px; }
.applies-card p { font-size: 15px; }
.applies-card > a { font-size: 14px; }
.accuracy-note { padding: 16px 19px; font-size: 14px; line-height: 1.55; }
.updated-pill { font-size: 13px; }
.states-section { padding-top: 82px; padding-bottom: 88px; }
.state-grid { gap: 12px; }
.state-row { grid-template-columns: 48px 1fr auto; gap: 14px; padding: 17px 18px; border-radius: 10px; }
.state-abbr { width: 44px; height: 40px; font-size: 14px; }
.state-row strong { font-size: 16px; }
.state-row small { margin-top: 2px; font-size: 13px; }
.home-tool-grid { gap: 22px; }
.home-tool-card { padding: 30px; border-radius: 14px; box-shadow: 0 8px 24px rgba(16,37,65,.045); }
.home-tool-icon { width: 54px; height: 54px; font-size: 18px; }
.home-tool-pole { font-size: 25px; }
.home-tool-label { font-size: 12px; }
.home-tool-card h3 { margin-top: 7px; font-size: 25px; }
.home-tool-card p { font-size: 15px; line-height: 1.6; }
.home-tool-card strong { font-size: 14px; }
.fact-grid { gap: 20px; }
.fact-grid > div { padding: 29px; border-radius: 12px; }
.fact-grid span { font-size: 15px; }
.fact-grid h3 { font-size: 21px; }
.fact-grid p { font-size: 15px; line-height: 1.6; }
.guide-layout > div { padding: 32px; border-radius: 14px; }
.guide-layout h3 { font-size: 26px; }
.observance-list > div { padding-top: 15px; padding-bottom: 15px; }
.observance-list strong { font-size: 16px; }
.observance-list span, .display-steps p { font-size: 15px; }
.display-steps li { grid-template-columns: 36px 1fr; gap: 14px; }
.display-steps li > span { width: 34px; height: 34px; font-size: 13px; }

/* Search results and order cards */
.history-section { padding-top: 88px; padding-bottom: 94px; }
.history-count { font-size: 15px; }
.history-count small { font-size: 12px; }
.history-form { padding: 25px; border-radius: 14px; }
.history-clear { font-size: 14px; }
.history-fixed { padding: 13px 15px; }
.history-fixed span { font-size: 11px; }
.history-fixed strong { font-size: 14px; }
.history-card { grid-template-columns: 82px minmax(0, 1fr) 170px; gap: 25px; padding: 27px; border-radius: 13px; }
.history-card-date { min-height: 82px; }
.history-card-date span, .history-card-date small { font-size: 11px; }
.history-card-body h3 { font-size: 25px; }
.history-card-body > p { font-size: 16px; line-height: 1.55; }
.history-card-labels, .history-card-meta { font-size: 14px; }
.history-card-actions a, .history-card-actions a:last-child { font-size: 14px; }
.history-group-details summary { font-size: 15px; }
.history-group-links a { padding: 9px 12px; font-size: 14px; }
.history-group-links b { font-size: 13px; }
.history-empty p { font-size: 15px; }
.filter-panel { padding: 26px; border-radius: 12px; }
.filter-title { font-size: 18px; }
.filter-title a { font-size: 13px; }
.filter-note strong { font-size: 14px; }
.filter-note p { font-size: 13px; line-height: 1.5; }
.results-heading > span { font-size: 13px; }
.order-card-list { gap: 17px; }
.order-card { padding: 28px; border-radius: 13px; box-shadow: 0 8px 24px rgba(16,37,65,.05); }
.order-card-head { font-size: 13px; }
.order-status { font-size: 11px; }
.order-card h3 { font-size: 25px; }
.order-card > p { font-size: 15px; line-height: 1.55; }
.order-card dl { padding-top: 16px; padding-bottom: 16px; }
.order-card dt { font-size: 11px; }
.order-card dd { font-size: 14px; }
.order-card-foot a, .pagination a, .pagination span, .pagination strong { font-size: 14px; }

/* Calendar and duration calculator */
.tool-tabs button { padding: 14px 27px; font-size: 14px; }
.date-answer p, .duration-form p { font-size: 15px; line-height: 1.55; }
.calendar-row { grid-template-columns: 76px 1fr 210px; gap: 24px; padding: 24px 8px; }
.calendar-row time b, .calendar-row time small, .calendar-rule, .calendar-time small { font-size: 12px; }
.calendar-row time strong { font-size: 30px; }
.calendar-row h3 { font-size: 21px; }
.calendar-row p { font-size: 14px; line-height: 1.55; }
.calendar-time strong { font-size: 14px; }
.calendar-time a { margin-top: 3px; font-size: 13px; }
.duration-result dt { font-size: 12px; }
.duration-result dd { font-size: 15px; }
.duration-result a { font-size: 14px; }
.timeline-grid span { font-size: 12px; }
.timeline-grid h3 { font-size: 20px; }
.timeline-grid p, .calendar-rule-grid p { font-size: 15px; line-height: 1.6; }
.calendar-rule-grid article { padding: 29px; border-radius: 12px; }
.calendar-rule-grid article > span { font-size: 12px; }
.calendar-rule-grid h3 { font-size: 22px; }

/* Flag-position planner */
.planner-intro h2 { font-size: 38px; }
.planner-intro > p { font-size: 16px; }
.planner-form, .planner-output { border-radius: 15px; box-shadow: var(--shadow); }
.planner-form, .planner-output { padding: 32px; }
.tool-step { margin-top: 29px; margin-bottom: 16px; }
.tool-step > span { width: 32px; height: 32px; font-size: 12px; }
.tool-step strong { font-size: 19px; }
.tool-step small { margin-top: 2px; font-size: 12px; }
.check-card span { padding: 13px 14px; border-radius: 8px; }
.check-card b { font-size: 14px; }
.check-card small { font-size: 12px; }
.segmented span { min-height: 48px; font-size: 14px; }
.print-button { padding: 9px 13px; font-size: 13px; }
.measurement span { width: 145px; font-size: 12px; }
.height-scale { font-size: 11px; }
.calculation-result > div { padding: 18px 20px; }
.calculation-result small, .calculation-result span { font-size: 12px; }
.output-alert { padding: 16px 18px; font-size: 14px; line-height: 1.5; }
.instruction-list li { margin-top: 16px; margin-bottom: 16px; }
.instruction-list li > span { width: 29px; height: 29px; font-size: 12px; }
.instruction-list p { font-size: 14px; line-height: 1.5; }
.instruction-list strong { font-size: 15px; }
.source-box { font-size: 14px; }
.tool-disclaimer { font-size: 12px; line-height: 1.5; }
.exception-grid article, .position-explainer-grid article, .procedure-grid article { padding: 29px; border-radius: 12px; }
.exception-grid h3, .position-explainer-grid h3, .procedure-grid h3 { font-size: 21px; }
.exception-grid p, .position-explainer-grid p, .procedure-grid p { font-size: 15px; line-height: 1.6; }
.position-explainer-grid article > span { font-size: 12px; }
.authority-note { padding: 20px 22px; font-size: 15px; }
.protocol-table th, .protocol-table td { padding: 18px 20px; font-size: 14px; }
.protocol-table thead th { font-size: 12px; }
.protocol-table tbody th { font-size: 15px; }

/* Detail pages, FAQs and footer */
.detail-labels, .order-detail-label { font-size: 13px; }
.detail-hero > .shell > p, .detail-lead { font-size: 18px; }
.detail-section { padding-bottom: 50px; margin-bottom: 46px; }
.detail-section h2 { font-size: 35px; }
.detail-facts > div { padding: 18px 20px; border-radius: 10px; }
.detail-facts span { font-size: 12px; }
.detail-facts strong { font-size: 16px; }
.date-range { padding: 27px; border-radius: 11px; }
.date-range small { font-size: 12px; }
.date-range strong { font-size: 22px; }
.date-range span { font-size: 14px; }
.record-note, .excerpt-note { font-size: 14px; line-height: 1.55; }
.scope-cards > article { padding: 25px; border-radius: 11px; }
.scope-cards > article > span { font-size: 12px; }
.scope-cards h3 { font-size: 21px; }
.scope-cards dt { font-size: 11px; }
.scope-cards dd { font-size: 14px; }
.order-use-grid h3 { font-size: 21px; }
.order-use-grid p { font-size: 15px; }
blockquote { padding: 28px 30px; border-radius: 0 10px 10px 0; font-size: 17px; line-height: 1.65; }
.source-panel, .sidebar-card, .related-panel { padding: 27px; border-radius: 12px; }
.source-panel dt { font-size: 11px; }
.source-panel dd { font-size: 14px; }
.sidebar-card p, .sidebar-card a { font-size: 14px; }
.related-panel a span { font-size: 12px; }
.related-panel a strong { font-size: 14px; }
.faq-section summary { padding-top: 23px; padding-bottom: 23px; font-size: 20px; line-height: 1.4; }
.faq-section details p { margin-bottom: 24px; font-size: 16px; line-height: 1.65; }
.accuracy-layout p { font-size: 15px; line-height: 1.55; }
.federal-strip-inner span { font-size: 11px; }
.federal-strip-inner p, .federal-strip-inner > a { font-size: 14px; }
.site-footer { padding-top: 64px; padding-bottom: 28px; }
.footer-grid > div:first-child p, .footer-evidence { font-size: 14px; line-height: 1.6; }
.footer-grid h2 { font-size: 13px; }
.footer-grid > div:not(:first-child) a { margin-top: 9px; margin-bottom: 9px; font-size: 14px; }
.footer-bottom { font-size: 12px; }

@media (max-width: 900px) {
    .shell { width: min(100% - 36px, 1200px); }
    .section { padding-top: 70px; padding-bottom: 70px; }
    .history-card { grid-template-columns: 76px minmax(0, 1fr); }
}

@media (max-width: 720px) {
    body { font-size: 17px; }
    .shell { width: min(100% - 30px, 1200px); }
    .site-header { height: 68px; }
    .primary-nav { top: 68px; }
    .subhero p { font-size: 17px; }
    .section-heading h2, .planner-output h2, .duration-layout h2 { font-size: 31px; }
    .section-heading p, .history-heading p, .states-heading p { font-size: 16px; }
    .home-tool-card, .status-card, .order-card { padding: 22px; }
    .calendar-row { grid-template-columns: 58px 1fr; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
    .planner-form, .planner-output { padding: 22px; }
    .planner-intro h2 { font-size: 31px; }
    .history-card { grid-template-columns: 62px minmax(0, 1fr); padding: 21px 18px; }
    .history-card-actions { padding-left: 78px; }
    .faq-section summary { font-size: 18px; }
    .accuracy-layout p { font-size: 14px; }
}

@media (max-width: 430px) {
    .home-tool-card { grid-template-columns: 1fr; }
    .home-tool-icon { width: 48px; height: 48px; }
    .calculation-result { grid-template-columns: 1fr; }
    .answer-timing strong { font-size: 14px; }
    .history-card-actions { padding-left: 0; }
}

.comparison-grid p { font-size: 15px; line-height: 1.6; }
.detail-main, .detail-section, .detail-sidebar, .scope-cards, .date-range,
.related-panel, blockquote { min-width: 0; max-width: 100%; }
.detail-hero h1, .detail-section h2, .detail-section h3, .detail-section p,
.scope-cards dd, .related-panel a, blockquote { overflow-wrap: anywhere; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { padding: 34px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(16,37,65,.05); }
.contact-card h2 { margin: 8px 0 12px; color: var(--navy); font-family: Georgia, serif; font-size: 30px; }
.contact-card p, .contact-card li { font-size: 16px; line-height: 1.65; }
.contact-card ul { padding-left: 22px; margin-bottom: 0; }
.contact-card li + li { margin-top: 8px; }
.contact-primary .button { margin-top: 8px; overflow-wrap: anywhere; }

@media (max-width: 720px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 24px; }
}
