:root {
  font: 14px/1.55 "Segoe UI", "Malgun Gothic", system-ui, sans-serif;
  color: #20334b; background: #f4f6f9;
  --navy: #173554; --blue: #2266ad; --blue-dark: #184f89;
  --line: #dce3eb; --muted: #697b90; --placeholder: #7a889a;
  --surface: #fff; --sidebar: 324px; --header: 80px;
  --radius: 10px; --shadow: 0 2px 6px rgba(24, 45, 72, .035);
}
.lookup-step{display:flex;align-items:center;gap:10px;margin:20px 0 8px;color:var(--navy)}
.lookup-step span{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:50%;background:#e7f0f8;font-size:12px;font-weight:700}
.lookup-step strong{font-size:14px}
.lookup-step + .field > #carrier-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.official-guidance{display:grid;gap:6px}.official-guidance p{margin:0}.official-guidance a{width:max-content}
* { box-sizing: border-box; }
html { min-width: 280px; }
body { margin: 0; }
button, input, select { font: inherit; }
button, select, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button, a, summary, input, select { touch-action: manipulation; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.brand-bar { position: sticky; z-index: 50; top: 0; min-height: var(--header); display: flex; gap: 24px; align-items: center; padding: 12px 28px; color: #fff; background: var(--navy); }
.brand-lockup { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; min-width: 0; flex: 1; }
.parent-brand { display: inline-flex; flex-shrink: 0; border-radius: 3px; }
.parent-brand img { display: block; width: 165px; height: 28px; }
.parent-brand:hover { opacity: .9; }
.brand-lockup strong { color: #d6e3f1; font-size: 13px; font-weight: 500; line-height: 1.5; word-break: keep-all; }
.brand-bar :focus-visible { outline: 2px solid #8dccf5; outline-offset: 4px; }
.sidebar-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; min-height: 40px; padding: 7px 10px; border: 1px solid #58718b; border-radius: 7px; color: #fff; background: transparent; cursor: pointer; font-size: 12px; }
.sidebar-toggle:hover { background: #244362; }
.global-language { display: flex; align-items: center; gap: 9px; flex-shrink: 0; font-size: 12px; }
.global-language select { width: 98px; min-height: 38px; padding: 7px 24px 7px 10px; border-color: #58718b; color: #fff; background-color: #244362; }
.global-language select option { color: #20334b; background: #fff; }
.sidebar { position: fixed; top: var(--header); bottom: 0; left: 0; width: var(--sidebar); padding: 28px 24px; border-right: 1px solid var(--line); background: #fff; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c3cedb transparent; }
body:not(.sidebar-open) .sidebar { display: none; }
.main-content { margin-left: var(--sidebar); min-width: 0; padding: 32px; }
body:not(.sidebar-open) .main-content { margin-left: 0; }
.main-content > * { max-width: 1360px; margin-left: auto; margin-right: auto; }
.filter-heading { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.filter-heading > span { display: none; }
.filter-heading strong { display: block; color: var(--navy); font-size: 21px; font-weight: 650; letter-spacing: -.04em; }
.filter-heading small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.field { display: block; min-width: 0; margin: 0 0 18px; }
.field > span { display: block; margin-bottom: 7px; color: #344961; font-size: 12px; font-weight: 650; word-break: keep-all; overflow-wrap: anywhere; }
.geo-picker { position: relative; min-width: 0; }
.geo-picker input { padding-right: 28px; background-image: linear-gradient(45deg,transparent 50%,#697b90 50%),linear-gradient(135deg,#697b90 50%,transparent 50%); background-position: calc(100% - 17px) 20px,calc(100% - 12px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
.geo-suggestions { margin-top: 6px; max-height: 256px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #bccddd; border-radius: 7px; padding: 4px; background: #fff; box-shadow: var(--shadow); }
.geo-option { padding: 10px; min-height: 48px; border-radius: 5px; cursor: pointer; overflow-wrap: anywhere; }
.geo-option:hover,.geo-option[aria-selected="true"] { background: #eaf2fb; }
.geo-option strong { display: block; font-size: 13px; font-weight: 600; }
.geo-option small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.geo-status,.geo-selection { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.geo-status:empty { display: none; }
.geo-selection { color: var(--blue-dark); }
.geo-notice { margin: 10px 0 6px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.geo-attribution { display: block; font-size: 10px; line-height: 1.65; }
.country-reference { border-left: 3px solid #bfd0e2; padding: 8px 12px; color: var(--navy); background: #f6f9fd; font-size: 12px; }
input, select, .picker-trigger { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #cfd9e4; border-radius: 7px; color: #263b52; background: #fff; }
input:hover, select:hover, .picker-trigger:hover { border-color: #9fb1c5; }
input:focus, select:focus, .picker-trigger:focus-visible { outline: 2px solid #9ec1e5; outline-offset: 1px; border-color: var(--blue); }
input::placeholder, .is-placeholder { color: var(--placeholder); opacity: 1; }
select { padding-right: 28px; }
select option { color: #263b52; }
select option[value=""] { color: var(--placeholder); }
.side-disclosure { margin: 0 0 18px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.side-disclosure > summary, .registry-panel > summary { display: flex; align-items: baseline; gap: 10px; list-style: none; padding: 12px; cursor: pointer; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
summary::-webkit-details-marker { display: none; }
.side-disclosure > summary::before, .registry-panel > summary::before { content: "+"; color: var(--muted); font-weight: 400; }
.side-disclosure[open] > summary::before, .registry-panel[open] > summary::before { content: "−"; }
.side-disclosure > summary:hover, .registry-panel > summary:hover { background: #f7f9fb; border-radius: 7px; }
.disclosure-body { padding: 6px 12px 0; }
.microcopy { color: var(--muted); font-size: 12px; line-height: 1.65; }
.eligible-section { margin: 24px 0 20px; padding: 18px 0 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eligible-section h2 { margin: 0; font-size: 13px; font-weight: 650; color: var(--navy); word-break: keep-all; }
.eligible-section .microcopy { margin: 7px 0 13px; }
.selection-message { margin: 0 0 14px; padding: 10px; border-radius: 6px; color: #355a7b; background: #eef4fa; font-size: 12px; overflow-wrap: anywhere; }
.selection-message.is-warning { color: #782d40; background: #fff1f3; box-shadow: inset 0 0 0 1px #c88c99; }
.is-invalid, .is-invalid:focus { border-color: #a33b52; box-shadow: 0 0 0 1px #a33b52; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; font-size: 13px; font-weight: 600; line-height: 1.5; text-align: center; word-break: keep-all; overflow-wrap: anywhere; cursor: pointer; }
.button.full { width: 100%; margin-bottom: 10px; }
.button.primary { color: #fff; border-color: var(--blue); background: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { color: var(--blue-dark); border-color: #bfd0e2; background: #f6f9fd; }
.button.secondary:hover { background: #eaf1f9; border-color: #91b1d1; }
.button.ghost { color: var(--muted); background: #fff; }
.button.ghost:hover { color: var(--navy); background: #f5f7fa; }
.button:disabled { cursor: wait; opacity: .55; }
#lookup-button { margin-top: 4px; }
.multi-picker { min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; padding: 3px 4px 3px 9px; border: 1px solid #d0ddeb; border-radius: 6px; color: #345776; background: #f2f6fa; font-size: 12px; }
.chip span { overflow-wrap: anywhere; }
.chip button { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; margin-left: 4px; border: 0; border-radius: 4px; color: #60758b; background: transparent; cursor: pointer; font-size: 16px; }
.chip button:hover { background: #dce7f1; }
.picker-trigger { display: flex; justify-content: space-between; align-items: center; gap: 8px; cursor: pointer; text-align: left; }
.picker-trigger b { color: #7a8b9e; font-size: 14px; font-weight: 400; }
.picker-menu { margin-top: 5px; border: 1px solid #bccddd; border-radius: 7px; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.picker-search { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.picker-options { max-height: 300px; padding: 5px; overflow-y: auto; overscroll-behavior: contain; }
.picker-option { display: block; width: 100%; padding: 10px; border: 0; border-radius: 5px; background: #fff; cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.picker-option:hover, .picker-option:focus-visible { background: #f1f5fa; }
.picker-option[aria-selected="true"] { background: #eaf2fb; }
.picker-option[aria-selected="true"] strong::before { content: "✓ "; color: var(--blue); }
.picker-option strong { display: block; font-size: 13px; font-weight: 600; }
.picker-option small { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 5px; }
.mini-badge, .status-badge { display: inline-block; padding: 3px 7px; border-radius: 5px; color: #596c81; background: #eef2f6; font-size: 11px; line-height: 1.4; font-weight: 500; }
.mini-badge.live, .status-badge { color: #27715a; background: #edf6f1; }
.mini-badge.warning, .status-badge.manual { color: #886329; background: #faf3e7; }
.status-disclosure { margin-top: 22px; }
.status-list { max-height: 340px; padding: 0 12px 12px; overflow-y: auto; }
.status-row { padding: 10px 0; border-bottom: 1px solid #edf1f5; }
.status-row:last-child { border: 0; }
.status-row strong { display: block; font-size: 12px; font-weight: 600; }
.status-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.overview { display: grid; grid-template-columns: minmax(0, 1fr) 284px; gap: 24px; align-items: stretch; }
.lookup-intro { display: flex; align-items: center; min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.intro-copy { min-width: 0; }
.lookup-intro h1 { margin: 0; color: var(--navy); font-size: clamp(23px, 2vw, 29px); line-height: 1.45; font-weight: 650; letter-spacing: -.05em; word-break: keep-all; overflow-wrap: anywhere; }
.lookup-intro p { max-width: 580px; margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.quota-card { position: static; min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.quota-card-heading, .quota-amount, .quota-service { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.quota-card-heading { font-size: 11px; color: #61748a; }
.quota-level { padding: 2px 6px; border-radius: 4px; color: #27715a; background: #edf6f1; font-size: 10px; }
.quota-amount { align-items: baseline; margin-top: 10px; }
.quota-amount strong { font-size: 24px; color: var(--navy); line-height: 1.3; letter-spacing: -.04em; }
.quota-amount span { color: var(--muted); font-size: 10px; }
.quota-card progress { display: block; width: 100%; height: 5px; margin: 10px 0 14px; border: 0; border-radius: 5px; overflow: hidden; accent-color: #4c9078; background: #edf1f5; }
.quota-card progress::-webkit-progress-bar { background: #edf1f5; }
.quota-card progress::-webkit-progress-value { background: #4c9078; }
.quota-service { padding-top: 10px; border-top: 1px solid #edf1f5; font-size: 11px; color: var(--muted); }
.quota-service strong { color: #27715a; font-weight: 500; }
.quota-hint, .quota-details { margin: 8px 0 0; font-size: 11px; color: var(--muted); line-height: 1.6; }
.quota-details summary { color: #486682; cursor: pointer; }
.quota-details p { margin: 5px 0 0; }
.quota-card[data-level="low"] .quota-level { color: #886329; background: #faf3e7; }
.quota-card[data-level="low"] progress::-webkit-progress-value { background: #b18744; }
.quota-card[data-level="disabled"] .quota-level, .quota-card[data-level="exhausted"] .quota-level { color: #9a4949; background: #faefef; }
.quota-card[data-service="limited"] .quota-service strong { color: #9a4949; }
.validation, .loading-card, .notice { margin-top: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow-wrap: anywhere; }
.validation { color: #924545; border-color: #e9cbcb; background: #fffafa; }
.validation ul { margin: 6px 0 0; padding-left: 20px; }
.loading-card { display: flex; align-items: center; gap: 20px; padding: 28px; border-color: #dfcdd2; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.loading-card > div { min-width: 0; }
.loading-card strong { display: block; color: #874657; font-size: 28px; line-height: 1.5; font-weight: 600; letter-spacing: -.035em; word-break: keep-all; }
.loading-card small { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.spinner { flex-shrink: 0; width: 32px; height: 32px; border: 3px solid #eee3e6; border-top-color: #874657; border-radius: 50%; animation: spin 1.3s linear infinite; }
.loading-ellipsis { display: flex; gap: 5px; height: 6px; margin-top: 12px; }
.loading-ellipsis i { width: 5px; height: 5px; border-radius: 50%; background: #874657; animation: processing-dot 1.8s steps(2, end) infinite; }
.loading-ellipsis i:nth-child(2) { animation-delay: .3s; }
.loading-ellipsis i:nth-child(3) { animation-delay: .6s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes processing-dot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.notice-stack:empty { display: none; }
.notice { color: #886329; border-color: #e9ddc5; background: #fffcf5; }
.results { margin-top: 28px; scroll-margin-top: 100px; }
.result-overview { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.result-overview h2 { margin: 0; font-size: 20px; color: var(--navy); font-weight: 600; }
#query-summary { margin: 5px 0 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
#result-counts { display: flex; flex-wrap: wrap; gap: 8px; }
.status-badge.live { color: #326e58; background: #edf5f0; }
.status-badge.recent { color: #526982; background: #eef2f7; }
.status-badge.manual { color: #80613f; background: #f7f1e8; }
.result-group { margin-top: 30px; }
.group-heading { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--navy); font-size: 18px; font-weight: 600; }
.group-heading::before { content: ""; width: 4px; height: 19px; flex-shrink: 0; border-radius: 2px; background: #648b79; }
.recent .group-heading::before { background: #7e91a7; }
.manual .group-heading::before { background: #ad906c; }
.group-count { padding: 1px 7px; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; font-weight: 500; color: var(--muted); }
.result-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.result-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow-wrap: anywhere; }
.result-card header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.result-card h3 { margin: 0; color: var(--navy); font-size: 16px; font-weight: 600; }
.result-card p { font-size: 13px; line-height: 1.8; }
.result-card .manual-guidance { color: #80613f; }
.recent-guidance, .tariff-notes { color: #526982; }
.result-card .historical-applicability-warning { color: #8f1d3f; font-weight: 700; }
.tariff-group + .tariff-group { margin-top: 24px; padding-top: 18px; border-top: 2px solid var(--line); }
.tariff-group h4 { margin: 12px 0 0; color: var(--navy); font-size: 14px; line-height: 1.7; }
.condition-summary { padding: 10px 12px; border-radius: 6px; color: #63758a; background: #f6f8fa; font-size: 11px; line-height: 1.7; }
.card-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding: 20px 0; }
.key-card { min-width: 0; }
.key-card small, .key-card strong { display: block; }
.key-card small { color: var(--muted); font-size: 12px; }
.key-card strong { margin-top: 5px; color: var(--navy); font-size: 24px; font-weight: 600; }
.tariff-table { table-layout: fixed; border: 1px solid var(--line); }
.tariff-table th, .tariff-table td { padding: 10px 12px; }
.tariff-table th:last-child, .tariff-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.result-metadata { margin: 18px 0 0; font-size: 12px; }
.result-metadata > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 7px; }
.result-metadata dt { color: var(--muted); }
.result-metadata dd { margin: 0; color: #405971; }
.result-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 12px; }
.coverage-paths { padding-top: 12px; margin-top: 14px; border-top: 1px solid var(--line); color: #405971; font-size: 12px; line-height: 1.8; }
.guided-card { border-left: 3px solid #5e7f9c; }
.status-badge.guided { color: #234864; background: #edf3f7; }
.status-badge.source { color: #566779; background: #f0f3f6; }
.guidance-destination { display: block; color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.guidance-steps { margin: 18px 0 14px; font-size: 13px; }
.guidance-steps > div { margin: 0 0 14px; }
.guidance-steps dt { color: #566779; font-size: 12px; margin-bottom: 4px; }
.guidance-steps dd { margin: 0; color: #344961; line-height: 1.8; overflow-wrap: anywhere; }
.guidance-steps ul { margin: 0; padding-left: 18px; }
.guidance-check { margin: 14px 0 0; color: #566779; font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.official-guidance .microcopy { color: #566779; }
.registry-heading { margin-top: 36px; }
.registry-heading h2 { margin: 0; color: var(--navy); font-size: 16px; font-weight: 600; }
.registry-heading p { margin: 7px 0 14px; }
.registry-panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.registry-panel > summary { padding: 16px 20px; }
.table-scroll { width: 100%; min-width: 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 14px 16px; border-bottom: 1px solid #e7ecf2; text-align: left; vertical-align: top; font-size: 12px; }
th { color: #61748a; background: #f7f9fb; font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafbfd; }
@media (max-width: 1240px) {
  :root { --sidebar: 300px; }
  .main-content { padding: 24px; }
  .overview { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .quota-card { width: 100%; }
}
@media (max-width: 900px) {
  .brand-bar { gap: 14px; padding: 12px 20px; }
  .sidebar { position: static; width: auto; margin: 24px 24px 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: visible; }
  .main-content, body:not(.sidebar-open) .main-content { margin-left: 0; }
  .filter-heading { margin-bottom: 20px; padding-bottom: 16px; }
  #lookup-form { max-width: 680px; margin: auto; }
  .status-list, .picker-options { overscroll-behavior: auto; }
}
@media (max-width: 540px) {
  .brand-bar { gap: 10px; padding: 10px 16px; }
  .brand-lockup strong { font-size: 12px; }
  .global-language > span, .sidebar-toggle > span:last-child { display: none; }
  .sidebar-toggle { width: 36px; min-height: 38px; padding: 6px; font-size: 17px; }
  .global-language select { width: 98px; padding-left: 7px; font-size: 12px; }
  .sidebar { margin: 16px 16px 0; padding: 22px 18px; }
  .main-content { padding: 20px 16px 32px; }
  .overview { gap: 14px; }
  .lookup-intro { padding: 23px; }
  .lookup-intro h1 { font-size: 23px; }
  .quota-card { padding: 20px; }
  .key-card { padding: 14px; }
  .key-card strong { font-size: 17px; }
  .registry-panel table { table-layout: fixed; }
  .registry-panel th, .registry-panel td { padding: 10px 6px; overflow-wrap: anywhere; font-size: 11px; }
  .registry-panel .mini-badge { padding: 3px 4px; font-size: 10px; }
}
@media (max-width: 1240px) { .result-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 540px) {
  .loading-card { padding: 22px 18px; gap: 14px; align-items: flex-start; }
  .loading-card strong { font-size: 26px; }
  .spinner { width: 26px; height: 26px; margin-top: 7px; }
  .result-overview, .result-card { padding: 18px; }
  .group-heading { font-size: 17px; }
  .card-metrics .key-card strong { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .spinner, .loading-ellipsis i { animation: none; } }

.public-info-nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 13px; }
.public-info-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 10px; border-radius: 5px; color: #e0eaf5; text-decoration: none; white-space: nowrap; }
.public-info-nav a:hover { color: #fff; background: #ffffff12; }
@media (max-width: 900px) {
  :root { --header: 126px; }
  .brand-bar { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 8px 16px; padding: 12px 20px; }
  .sidebar-toggle { grid-column: 1; grid-row: 1; }
  .brand-lockup { grid-column: 2 / 4; grid-row: 1; }
  .public-info-nav { grid-column: 1 / 3; grid-row: 2; gap: 6px; }
  .global-language { grid-column: 3; grid-row: 2; justify-self: end; }
}
@media (max-width: 540px) {
  .brand-bar { padding: 10px 16px; gap: 8px 12px; }
  .public-info-nav { gap: 2px; font-size: 12px; }
  .public-info-nav a { padding: 8px; }
}
@media (max-width: 350px) {
  .brand-bar { padding-inline: 10px; gap: 8px; }
  .public-info-nav { font-size: 11px; }
  .public-info-nav a { padding-inline: 5px; }
}

/* Contact navigation: keep all links and language visible on narrow screens. */
@media(max-width:540px){:root{--header:158px}.public-info-nav{grid-column:1 / 4}.global-language{grid-column:1 / 4;grid-row:3;justify-self:end}.brand-bar{row-gap:2px}}

/* Discovery uses the existing palette, surfaces and lookup controls. */
.lookup-intro { display:block; }
.discovery-features { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 18px; padding:0; margin:22px 0 16px; list-style:none; font-size:13px; color:#405971; }
.discovery-features li { padding-left:12px; }
.lookup-intro .discovery-scope, .lookup-intro .comparison-note { font-size:12px; color:var(--muted); line-height:1.8; }
.discovery-links { display:flex; flex-wrap:wrap; gap:12px 24px; margin-top:18px; font-size:13px; }
.trust-strip { display:flex; flex-wrap:wrap; align-items:center; gap:12px 22px; margin-top:18px; padding:14px 18px; border:1px solid var(--line); border-radius:var(--radius); background:#edf2f7; font-size:12px; color:#526982; }
.trust-strip ul { display:flex; flex-wrap:wrap; gap:10px 22px; list-style:none; padding:0; margin:0; flex:1; }
.trust-strip li::before { content:'✓'; padding-right:6px; color:#326e58; }
.compare-breadcrumb { margin-bottom:18px; font-size:12px; color:var(--muted); }
.comparison-grid { margin-top:20px; align-items:stretch; }
.comparison-grid .result-card { border-top:3px solid #c4d3e2; }
@media(min-width:901px) and (max-width:1100px) {
  :root { --header:126px; }
  .brand-bar { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:8px 16px; }
  .sidebar-toggle { grid-column:1; grid-row:1; }
  .brand-lockup { grid-column:2 / 4; grid-row:1; }
  .public-info-nav { grid-column:1 / 3; grid-row:2; }
  .global-language { grid-column:3; grid-row:2; }
}
@media(max-width:540px) {
  .public-info-nav { flex-wrap:wrap; }
  .discovery-features { grid-template-columns:1fr; }
  .trust-strip ul { flex-basis:100%; display:grid; grid-template-columns:1fr; }
}

/* Lookup support, manual verification and table-first comparison. */
.eligible-count { font-weight:700; margin:10px 0; color:var(--ink); }
.eligible-list { margin-bottom:12px; font-size:12px; }
.manual-helper { margin:14px 0; min-width:0; }
.manual-conditions { white-space:pre-line; font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.copy-fallback { width:100%; min-height:180px; font:inherit; }
.comparison-view { min-width:0; }
.comparison-warning { margin:18px 0; padding:16px 20px; background:#fbf6ee; border:1px solid #e2d3bd; border-radius:var(--radius); color:#705a3f; font-size:13px; line-height:1.7; }
.comparison-warning h3 { margin:0 0 8px; font-size:16px; }
.comparison-warning p { margin:0; }
.comparison-warning ul { margin-bottom:0; padding-left:20px; }
.comparison-scroll { max-width:100%; overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); }
.comparison-table { width:100%; min-width:1150px; border-collapse:collapse; font-size:12px; }
.comparison-table th,.comparison-table td { padding:14px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line); white-space:normal; overflow-wrap:anywhere; }
.comparison-table thead th { background:#edf2f7; }
.comparison-table tbody th { min-width:145px; max-width:180px; background:#f8fafc; }
.comparison-table td { min-width:105px; max-width:250px; }
.comparison-table small { display:block; margin-top:8px; font-weight:400; }
.comparison-table .status-badge { white-space:normal; }
.comparison-table details { margin-top:12px; }
.comparison-table summary,.comparison-details>summary { cursor:pointer; }
.comparison-details { margin-top:20px; }
@media(max-width:540px) { .comparison-warning { padding:14px; } }

/* Disclosures stay next to lookup decisions and amounts, with one visible intro per viewport. */
.independence-disclosure,.rate-disclosure,.tariff-disclosure{font-size:14px;line-height:1.7;color:#405971;overflow-wrap:anywhere}
.independence-disclosure{margin:12px 0 0}.form-disclosure{display:none}
.lookup-intro .independence-disclosure{font-size:14px;line-height:1.7;color:#405971}
.rate-disclosure{margin:16px 0 20px;padding:14px 18px;background:#f1f5f8;border-radius:4px}
.tariff-disclosure{text-align:left;padding:12px 0 8px;font-weight:400;caption-side:top}
@media(max-width:900px){.form-disclosure{display:block}body.sidebar-open .intro-disclosure{display:none}.filter-heading .form-disclosure{margin:12px 0;font-size:14px;line-height:1.7}}

/* Official sources and per-carrier support details. */
#results{scroll-margin-top:95px}.official-source-cta{display:inline-flex;padding:.65rem .85rem;border:1px solid var(--accent,#176b87);border-radius:6px;font-weight:650;text-decoration:none}
.coverage-details{margin:.8rem 0;max-width:100%;overflow-wrap:anywhere}.coverage-details summary{cursor:pointer;font-weight:600}.coverage-section{margin:.8rem 0}.coverage-section h4{margin:.6rem 0 .25rem}.coverage-scopes{padding-left:1.25rem;font-size:.85rem;line-height:1.65}.coverage-scopes li{margin-bottom:.5rem}.carrier-email-note{display:block;margin-top:1rem;font-size:.82rem;line-height:1.6;overflow-wrap:anywhere}.quota-amount{flex-wrap:wrap}.quota-amount strong{font-size:1.05rem}#quota-progress[hidden],#quota-card[hidden]{display:none}
@media(max-width:600px){#results{scroll-margin-top:170px}.result-card{min-width:0}}
.structured-match{margin:8px 0 14px;padding:10px 0;border-top:1px solid var(--line);color:#294b61;font-size:13px;font-weight:600;line-height:1.65;overflow-wrap:anywhere}
.result-card header h3{min-width:0;overflow-wrap:anywhere}.result-metadata dd,.result-links a{overflow-wrap:anywhere}.result-card .recent-guidance{line-height:1.7;color:#4e5361}
.result-metadata dt{color:#566779}
.quick-start{margin:0 0 16px}
.quick-start[hidden]{display:none}
.quick-history{margin:0}
.quick-history h3{font-size:14px;margin:0 0 5px}.quick-history .microcopy{margin:0 0 10px;font-size:11px;line-height:1.5}
.quick-history-list{max-height:248px;overflow-y:auto;overscroll-behavior:contain;padding:1px 4px 1px 1px}
.quick-history-item{position:relative;margin:0 0 7px}.quick-history-open{display:block;width:100%;min-height:54px;padding:11px 48px 11px 12px;border:1px solid var(--line);border-radius:5px;background:#fff;color:#203b55;text-align:left;font:600 12px/1.5 "Segoe UI","Malgun Gothic",system-ui,sans-serif;overflow-wrap:anywhere;cursor:pointer}
.quick-history-open:hover{border-color:#6789a6;background:#f7fafc}.quick-history-remove{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:4px;background:transparent;color:#52677b;font:24px/1 "Segoe UI",system-ui,sans-serif;cursor:pointer}
.quick-history-remove:hover{background:#e6edf3;color:#193c59}.quick-history :is(button):focus-visible{outline:3px solid #2266ad;outline-offset:2px}.quick-history-empty{margin:0;padding:9px 2px;color:#607387;font-size:12px}
/* One document scroll on narrow devices; desktop keeps the existing condition rail. */
@media(max-width:900px){.sidebar{max-height:none;overflow:visible}.lookup-intro .discovery-features,.lookup-intro .data-use-detail{display:none}}
