@charset "UTF-8";

:root {
    color-scheme: dark;
    --bg: #151715;
    --panel: #1d211d;
    --gold: #c3b28b;
    --olive: #87916d;
    --text: #e7e4d9;
    --muted: #a0a69b;
    --line: #343a31;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    background: var(--bg);
    color: var(--text);
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
button, input { color: inherit; }
a { color: var(--gold); }
button { border: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
main:focus { outline: none; }
input[type="checkbox"] { accent-color: var(--gold); width: 15px; height: 15px; }
input[type="number"] { width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: clamp(28px, 2.7vw, 39px); font-weight: 620; letter-spacing: -1.3px; margin-bottom: 12px; line-height: 1.1; }
h2 { font-size: 19px; font-weight: 580; letter-spacing: -.3px; }
h3 { font-size: 14px; font-weight: 600; }
p { line-height: 1.65; }
small { font-size: 11px; }
.muted { color: var(--muted); }
.local-loading { color: var(--muted); font-size: 11px; }
.gold { color: var(--gold); }
.olive { color: #a5b287; }
.breakable { overflow-wrap: anywhere; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 15px; background: var(--panel); border: 1px solid var(--gold); }
.skip-link:focus { top: 12px; }
.app-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.sidebar { padding: 34px 18px 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #181b17; height: 100dvh; position: sticky; top: 0; }
.brand { display: flex; gap: 11px; align-items: center; font-size: 16px; font-weight: 750; letter-spacing: 1px; white-space: nowrap; }
.brand-mark { color: var(--gold); font-size: 19px; letter-spacing: -1px; border: 1px solid #6a6653; padding: 8px; transform: skew(-5deg); }
.brand-mark span { font-weight: 300; opacity: .6; }
.brand small { display: block; font: 8px ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted); letter-spacing: 1.5px; margin-top: 7px; }
.poc-badge { border: 1px solid #3c4132; background: #25291f; color: #a8b08d; padding: 7px 9px; font: 8px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1.2px; margin: 26px 4px 42px; display: flex; justify-content: space-between; }
.poc-badge span { color: var(--gold); }
.nav-label, .small-label { font: 9px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1.4px; color: var(--muted); }
.nav-label { margin: 0 13px 17px; }
.main-nav { display: flex; flex-direction: column; gap: 7px; }
.nav-button { display: flex; align-items: center; gap: 11px; padding: 14px 12px; color: #a8afa3; background: none; font-size: 12px; text-align: left; text-decoration: none; border: 1px solid transparent; border-radius: 3px; }
.nav-button > span:first-child { font-size: 18px; width: 20px; }
.nav-button:hover { background: #22271f; color: var(--text); }
.nav-button.active { background: #2b2f24; color: var(--gold); border-color: #464934; box-shadow: inset 2px 0 var(--gold); }
.nav-count { font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; background: #3b3e2e; padding: 3px 6px; margin-left: auto; }
.nav-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-left: auto; }
.sidebar-note { margin-top: auto; padding: 36px 12px 25px; }
.sidebar-note .small-label { font-size: 8px; letter-spacing: .8px; }
.sidebar-note p { font-size: 11px; color: #91998b; margin: 12px 0 18px; }
.local-indicator { font: 8px ui-monospace, SFMono-Regular, Consolas, monospace; color: #a5b287; letter-spacing: 1px; }
.local-indicator i, .source-status i, .page-footer i { width: 5px; height: 5px; background: var(--olive); display: inline-block; margin-right: 6px; border-radius: 50%; }
i.offline { background: #a49b87; }
.profile { border-top: 1px solid var(--line); margin: 0 -18px; padding: 20px; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.profile-avatar { width: 34px; height: 34px; background: #2c3226; border: 1px solid #464d3d; display: grid; place-items: center; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--gold); }
.profile small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.profile-status { margin-left: auto; font: 8px ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted); }
.workspace { min-width: 0; }
.topbar { height: 65px; border-bottom: 1px solid var(--line); padding: 0 35px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.breadcrumb { font: 9px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1px; color: var(--muted); }
.breadcrumb-slash { color: #606859; padding: 0 14px; }
.topbar-meta { display: flex; gap: 21px; align-items: center; }
.account-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.account-navigation a { text-decoration: none; }
.account-navigation a:hover { text-decoration: underline; }
.account-register { padding: 7px 10px; border: 1px solid var(--line); border-radius: 3px; }
.account-email { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-security { color: var(--muted); font-size: 9px; }
.mode-pill { font: 9px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1px; padding: 5px 9px; border: 1px solid var(--line); color: #bec4b5; }
.source-status { color: var(--muted); font-size: 10px; }
main { padding: 38px 35px 20px; max-width: 1760px; margin: 0 auto; }
.standalone-message { max-width: 660px; margin: 12vh auto; padding: 35px; background: var(--panel); border: 1px solid var(--line); }
.standalone-message h1 { margin-top: 24px; }
.standalone-message p { color: var(--muted); }
.standalone-message a { display: inline-block; margin-top: 20px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 29px; }
.eyebrow { font: 8px ui-monospace, SFMono-Regular, Consolas, monospace; color: #abb493; letter-spacing: 1.7px; margin-bottom: 16px; display: flex; gap: 9px; align-items: center; }
.eyebrow > span { height: 1px; width: 18px; background: var(--olive); }
.heading-period { color: var(--gold); }
.page-heading p { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.button { padding: 10px 14px; border-radius: 3px; font-size: 11px; font-weight: 550; min-height: 37px; }
.button.secondary { color: var(--text); border: 1px solid #444b3e; background: #23271f; }
.button.secondary:hover:not(:disabled) { background: #33392b; }
.button.primary { background: var(--gold); color: #23271e; }
.button.primary:hover:not(:disabled) { background: #d6c8a6; }
.refresh-button { white-space: nowrap; margin-top: 18px; }
.refresh-button span { font-size: 17px; vertical-align: -1px; margin-right: 5px; }
.full-width { width: 100%; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 29px; }
.stat-card { background: linear-gradient(115deg, #21251f, #1b1f1a); border: 1px solid var(--line); border-radius: 4px; padding: 19px 19px 17px; position: relative; }
.stat-label { font: 8px ui-monospace, SFMono-Regular, Consolas, monospace; color: #aeb5a5; letter-spacing: 1px; display: flex; justify-content: space-between; gap: 8px; }
.stat-label > span { font-size: 13px; color: #8b957b; }
.stat-value { font-size: 31px; letter-spacing: -1px; font-weight: 580; margin: 13px 0 9px; font-variant-numeric: tabular-nums; }
.stat-value > span { font-size: 10px; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: 8px; }
.stat-card > small { color: #9da592; font-size: 10px; }
.list-toolbar { display: flex; gap: 11px; align-items: center; flex-wrap: wrap; }
.search-box { display: flex; gap: 10px; align-items: center; border: 1px solid #3b4235; border-radius: 3px; background: #1c201b; padding: 0 12px; height: 39px; flex: 1 1 230px; min-width: 160px; }
.search-box > span { font-size: 24px; color: #a2aa96; transform: translateY(-2px); }
.search-box input { border: 0; background: transparent; width: 100%; min-width: 0; font-size: 11px; outline-offset: 1px; }
.search-box input::placeholder { color: #99a08f; }
.search-box kbd { font: 7px ui-monospace, SFMono-Regular, Consolas, monospace; border: 1px solid var(--line); color: #a5ad99; padding: 3px 4px; letter-spacing: .6px; }
.filter-group { display: flex; background: #1d211b; border: 1px solid var(--line); border-radius: 3px; padding: 3px; gap: 2px; }
.filter-button { background: transparent; font-size: 10px; color: #abb2a1; padding: 8px 11px; border-radius: 2px; }
.filter-button.active { background: #3b3d2f; color: #dfd2b1; }
.filter-button:hover:not(.active) { background: #2c3227; }
.toggle-filter { display: flex; align-items: center; gap: 4px; color: #b1b8a7; font-size: 10px; cursor: pointer; white-space: nowrap; }
.list-caption { display: flex; justify-content: space-between; gap: 10px; padding: 17px 0 13px; font-size: 10px; color: #99a28e; }
.list-caption strong { color: #d1d5c7; font-weight: 500; }
.list-caption > span:last-child { font-size: 9px; }
.items-layout { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 18px; align-items: start; }
.panel { border: 1px solid var(--line); background: var(--panel); border-radius: 4px; overflow: hidden; }
.item-table-panel { min-width: 0; }
.table-scroll { overflow-x: auto; }
.item-table { border-collapse: collapse; width: 100%; font-size: 11px; }
.item-table th { background: #24291f; font: 8px ui-monospace, SFMono-Regular, Consolas, monospace; color: #adb59d; letter-spacing: .7px; text-align: left; padding: 15px 13px; white-space: nowrap; }
.item-table td { border-top: 1px solid #30362c; padding: 13px; height: 76px; }
.item-table th:first-child, .item-table td:first-child { padding-left: 17px; }
.item-table th:last-child, .item-table td:last-child { padding-right: 19px; }
.item-table tr:hover td { background: #242a20; }
.item-table .selected-row td { background: #2b3024; }
.selected-row td:first-child { box-shadow: inset 2px 0 var(--gold); }
.item-button { display: flex; gap: 12px; align-items: center; background: none; padding: 0; text-align: left; width: 100%; }
.item-button strong { font-size: 11px; font-weight: 550; display: block; line-height: 1.5; min-width: 100px; }
.item-button small { display: block; margin-top: 4px; font-size: 9px; color: var(--muted); }
.item-monogram { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border: 1px solid #414736; background: repeating-linear-gradient(-45deg, #272d22, #272d22 3px, #2b3025 3px, #2b3025 4px); color: #c0c3aa; font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag { display: inline-block; background: #2c3127; color: #bbc3ae; border: 1px solid #434b39; border-radius: 2px; padding: 3px 5px; font: 8px ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.tag.quest { color: #d8c8a6; background: #333127; border-color: #504a36; }
.tag.hideout { color: #b8c6a0; background: #2c3627; border-color: #48563a; }
.tag.conditional { color: #d6ba91; background: #342e24; border-color: #584934; }
.item-table .numeric { text-align: right; font-variant-numeric: tabular-nums; }
.numeric strong { font-size: 13px; font-weight: 550; }
.numeric small { display: block; margin-top: 4px; font-size: 8px; white-space: nowrap; }
.shortage { color: #e0cda8; background: #3b3528; border: 1px solid #514833; border-radius: 2px; padding: 4px 7px; display: inline-block; font-size: 11px; min-width: 26px; text-align: center; }
.load-more { padding: 14px; text-align: center; border-top: 1px solid var(--line); }
.detail-panel { padding: 18px; position: sticky; top: 18px; }
.detail-top { display: flex; align-items: center; justify-content: space-between; min-height: 22px; margin-bottom: 14px; }
.icon-button { background: transparent; color: var(--muted); font-size: 23px; width: 30px; height: 30px; }
.detail-panel h2 { line-height: 1.35; margin-bottom: 10px; font-size: 19px; }
.detail-panel > p.muted { font-size: 12px; }
.detail-monogram { width: 62px; height: 62px; margin: 4px 0 19px; border: 1px solid #4c543e; background: linear-gradient(135deg, #333a2b, #252a20); color: #c8c7ad; display: grid; place-items: center; font: 22px ui-monospace, SFMono-Regular, Consolas, monospace; }
.detail-category { color: var(--muted); font-size: 10px; margin-bottom: 19px; }
.detail-category span { color: #bac1ad; }
.detail-numbers { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 17px; padding: 14px 0; border-block: 1px solid var(--line); }
.detail-numbers dt { color: var(--muted); font-size: 9px; margin-bottom: 7px; }
.detail-numbers dd { margin: 0; font-size: 20px; font-variant-numeric: tabular-nums; }
.detail-section { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 19px; }
.detail-section h3 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.stock-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.stock-inputs label { font-size: 10px; color: #b6bcae; }
.stock-inputs input { display: block; border: 1px solid #48513d; background: #161b14; border-radius: 2px; padding: 9px; margin-top: 7px; font-size: 13px; }
.fine-print { color: #acb39f; font-size: 9px; margin: 11px 0 0; line-height: 1.7; }
.price-line { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.price-line span { color: var(--muted); }
.price-line strong { color: var(--gold); }
.requirement-card { background: #191e17; border: 1px solid #343d2e; padding: 12px; margin-bottom: 10px; }
.requirement-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.requirement-heading strong { color: var(--gold); font-size: 12px; }
.requirement-card h4 { font-size: 12px; margin-bottom: 5px; font-weight: 550; line-height: 1.5; }
.requirement-card p { font-size: 10px; color: var(--muted); margin-bottom: 0; }
.conditional-note { display: grid; gap: 5px; font-size: 9px; color: #d6ba91; margin-top: 11px; line-height: 1.6; }
.conditional-note strong { font-weight: 550; }
.text-button { background: none; color: var(--gold); font-size: 10px; padding: 5px 0; line-height: 1.5; }
.text-button:hover:not(:disabled) { text-decoration: underline; }
.complete-button { margin-top: 11px; font-size: 9px; text-align: left; width: 100%; display: flex; justify-content: space-between; gap: 6px; }
.detail-source { padding-top: 17px; margin-top: 21px; border-top: 1px solid var(--line); font: 8px ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted); display: flex; gap: 9px; flex-wrap: wrap; }
.detail-source span { color: #c1c5b7; }
.detail-tip { display: flex; gap: 11px; margin-top: 23px; background: #282d22; padding: 13px; border: 1px solid #404833; }
.detail-tip > span { font-size: 21px; }
.detail-tip p { color: #b4bea7; font-size: 10px; margin: 0; }
.detail-tip strong { color: #d1d6c3; font-weight: 550; }
.radar-illustration { height: 158px; width: 158px; margin: 20px auto 29px; border: 1px solid #50583c; border-radius: 50%; position: relative; background: repeating-radial-gradient(circle, transparent 0 24px, #3d4532 25px, transparent 26px 49px), conic-gradient(from 15deg, #87916d26, transparent 100deg); }
.radar-illustration::before, .radar-illustration::after { content: ""; position: absolute; background: #3d4532; }
.radar-illustration::before { width: 1px; top: -8px; bottom: -8px; left: 50%; }
.radar-illustration::after { height: 1px; left: -8px; right: -8px; top: 50%; }
.radar-illustration span { position: absolute; height: 6px; width: 6px; background: var(--gold); top: 40px; left: 100px; box-shadow: 0 0 0 5px #c3b28b12; z-index: 1; }
.radar-illustration i, .radar-illustration b { position: absolute; height: 3px; width: 3px; background: var(--olive); top: 108px; left: 45px; }
.radar-illustration b { top: 60px; left: 43px; }
.empty-state { text-align: center; padding: 63px 25px; min-height: 310px; }
.empty-state h2 { font-size: 20px; margin-bottom: 12px; }
.empty-state p { color: var(--muted); font-size: 12px; max-width: 390px; margin: 0 auto 20px; }
.empty-symbol { font-size: 36px; color: var(--olive); display: block; margin-bottom: 24px; }
.loading-ring { display: inline-block; width: 28px; height: 28px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 22px; }
.notice { background: #292a21; border: 1px solid #514d37; border-left: 2px solid var(--gold); padding: 16px 18px; margin-bottom: 22px; border-radius: 3px; }
.notice strong { font-size: 13px; color: #ded1b4; }
.notice p { font-size: 12px; color: #c0bda9; margin: 7px 0 10px; overflow-wrap: anywhere; }
.notice p:last-child { margin-bottom: 0; }
.notice.error { border-color: #725143; border-left-color: #c48f77; background: #2b2420; }
.notice.error strong { color: #e8b8a0; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.coverage-panel { padding: 27px; }
.panel-heading { display: flex; gap: 15px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-heading h2 { font-size: 24px; margin: 10px 0 0; }
.coverage-panel > p { color: #b8c0aa; max-width: 800px; font-size: 13px; }
.metadata { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); gap: 25px; padding: 23px 0; margin-bottom: 23px; }
.metadata dt { font-size: 10px; color: var(--muted); margin-bottom: 8px; }
.metadata dd { margin: 0; font-size: 12px; line-height: 1.6; }
.coverage-list { list-style: none; padding: 0; margin-bottom: 0; }
.coverage-list li { padding: 15px 0; border-top: 1px solid var(--line); }
.coverage-list p { color: #bec3b3; font-size: 12px; margin: 8px 0 0; overflow-wrap: anywhere; }
.local-state-panel { display: flex; flex-wrap: wrap; gap: 15px; justify-content: space-between; align-items: center; padding: 23px 0 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.local-state-panel h2 { font-size: 12px; margin-bottom: 6px; }
.local-state-panel p { color: var(--muted); font-size: 10px; margin-bottom: 0; }
.danger-text { color: #c4a791; }
.completed-history { flex-basis: 100%; font-size: 11px; }
.completed-history summary { color: var(--gold); cursor: pointer; padding: 9px 0; }
.completed-history ul { padding: 0; list-style: none; max-width: 700px; }
.completed-history li { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 7px 0; overflow-wrap: anywhere; }
.save-status { font-size: 11px; color: #bdc9a7; min-height: 20px; }
.page-footer { padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; align-items: center; font-size: 8px; color: #a1a991; }
.footer-separator { padding: 0 7px; color: #68745a; }
.page-footer .text-button { font-size: 9px; }
.blazor-error-boundary { background: #382c26; color: #e7e4d9; padding: 20px; }
.blazor-error-boundary::after { content: "The application was interrupted. Please reload the page."; }
.validation-message { color: #e8b8a0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1600px) {
    .items-layout { grid-template-columns: minmax(0, 1fr) 330px; }
    main { padding: 45px 48px 24px; }
    .item-table td { height: 81px; }
}
@media (max-width: 1190px) {
    .app-shell { grid-template-columns: 205px minmax(0, 1fr); }
    .sidebar { padding-inline: 13px; }
    .brand { font-size: 14px; gap: 8px; }
    .brand small { font-size: 7px; }
    .profile { margin-inline: -13px; padding-inline: 15px; }
    main { padding: 30px 23px 20px; }
    .topbar { padding-inline: 23px; }
    .items-layout { grid-template-columns: minmax(0, 1fr); }
    .detail-panel { position: static; }
    .detail-panel:not(:has(.radar-illustration)) { grid-row: 1; }
    .detail-panel:has(.radar-illustration) { display: none; }
    .detail-monogram { float: right; margin-left: 15px; }
    .stock-inputs { max-width: 400px; }
    .detail-section .full-width { max-width: 400px; }
    .detail-numbers { max-width: 500px; }
    .stat-card { padding: 15px 13px; }
    .stat-label { font-size: 7px; letter-spacing: .5px; }
    .stat-value > span { display: block; margin: 5px 0 0; }
}
@media (max-width: 780px) {
    .app-shell { display: block; }
    .sidebar { position: static; height: auto; padding: 18px 20px 0; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 0 15px; }
    .brand { font-size: 16px; }
    .brand small { font-size: 7px; }
    .brand-mark { padding: 6px 8px 6px 5px; }
    .poc-badge { margin: 0; align-self: center; font-size: 7px; padding: 7px; gap: 12px; }
    .nav-label, .sidebar-note, .profile { display: none; }
    .main-nav { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 20px; gap: 4px; padding-bottom: 12px; }
    .nav-button { flex: 1; justify-content: center; padding: 10px 6px; gap: 7px; font-size: 11px; }
    .nav-button > span:first-child { font-size: 16px; width: auto; }
    .nav-count { display: none; }
    .nav-dot { margin-left: 0; }
    .topbar { padding: 10px 20px; min-height: 47px; height: auto; flex-wrap: wrap; gap: 12px; }
    .topbar-meta { gap: 8px; }
    .account-email { max-width: 145px; }
    .account-navigation { gap: 8px; }
    .breadcrumb, .breadcrumb-slash, .source-status { display: none; }
    main { padding: 27px 20px 20px; }
    .page-heading { display: block; position: relative; margin-bottom: 24px; }
    .page-heading p { max-width: 420px; font-size: 11px; }
    .eyebrow { font-size: 7px; letter-spacing: 1px; padding-right: 42px; line-height: 1.5; }
    h1 { font-size: 29px; letter-spacing: -.8px; }
    .refresh-button { position: absolute; top: -10px; right: 0; font-size: 0; padding: 5px 9px; margin: 0; }
    .refresh-button span { font-size: 20px; margin: 0; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .stat-label { font-size: 8px; }
    .stat-value > span { display: inline; margin-left: 6px; }
    .stat-value { font-size: 28px; }
    .list-toolbar { gap: 10px; }
    .search-box { flex-basis: 100%; }
    .filter-group { flex: 1; }
    .filter-button { flex: 1; padding-inline: 7px; }
    .list-caption { font-size: 9px; }
    .list-caption > span:last-child { max-width: 110px; text-align: right; line-height: 1.4; }
    .item-table { min-width: 590px; }
    .item-table td { padding: 12px 10px; }
    .item-table th { padding-inline: 10px; }
    .detail-panel { scroll-margin-top: 15px; }
    .page-footer { align-items: flex-start; flex-direction: column; font-size: 9px; line-height: 1.7; }
    .coverage-panel { padding: 20px; }
    .metadata { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
    .sidebar { padding-inline: 13px; }
    main { padding-inline: 13px; }
    .topbar { padding-inline: 13px; }
    .brand { font-size: 14px; }
    .poc-badge { font-size: 6px; letter-spacing: .5px; }
    .poc-badge span { display: none; }
    .main-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-button { font-size: 11px; gap: 5px; }
    .stat-card { padding: 13px 11px; }
    .stat-value > span { font-size: 9px; }
    .stat-label { font-size: 7px; }
    .stat-card > small { font-size: 9px; }
    .filter-group { flex-basis: 100%; }
    .toggle-filter { min-height: 28px; }
    .local-state-panel .inline-actions { gap: 17px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; } }
