:root {
  color-scheme: light;
  --ink: #172d45;
  --muted: #536981;
  --surface: #f2f6f9;
  --paper: #fff;
  --line: #d9e3ed;
  --field: #f5f8fb;
  --field-hover: #edf3f8;
  --table-head: #173653;
  --table-head-ink: #ffffff;
  --table-row-medium: #e8eff5;
  --table-row-light: #f8fafc;
  --selected: #e0f3ee;
  --selected-border: #78ada6;
  --primary: #117e74;
  --primary-hover: #0c6a61;
  --on-primary: #fff;
  --accent: #117e74;
  --accent-hover: #0c6a61;
  --accent-ink: #fff;
  --accent-subtle: #e4f4ef;
  --accent-text: #126359;
  --icon-surface: #e8f0f8;
  --icon-ink: #284661;
  --focus: #117e74;
  --shadow: #18344b18;
  --panel-shadow: 0 2px 9px #18344b08;
  --page-gutter: clamp(1rem, 2vw, 1.75rem);
  --font: "Segoe UI", system-ui, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eaf2f8;
  --muted: #adc2d3;
  --surface: #0e1923;
  --paper: #152431;
  --line: #2c4152;
  --field: #1b2d3b;
  --field-hover: #243b4c;
  --table-head: #10263a;
  --table-head-ink: #f1f6fb;
  --table-row-medium: #203747;
  --table-row-light: #182d3b;
  --selected: #233f41;
  --selected-border: #579d92;
  --primary: #62d3bf;
  --primary-hover: #84e4d3;
  --on-primary: #082c28;
  --accent: #62d3bf;
  --accent-hover: #84e4d3;
  --accent-ink: #082c28;
  --accent-subtle: #193c3a;
  --accent-text: #a3e3d8;
  --icon-surface: #24394c;
  --icon-ink: #d4e4f1;
  --focus: #62d3bf;
  --shadow: #0007;
  --panel-shadow: 0 2px 9px #0002;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--bar-height, 4rem); }
body { margin: 0; color: var(--ink); background: var(--surface); font: 1rem/1.5 var(--font); }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
ul { list-style: none; padding: 0; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .64; cursor: wait; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
:target { scroll-margin-top: 1.2rem; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; display: block; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { color: var(--accent-ink); position: fixed; top: .75rem; left: 1rem; z-index: 10; transform: translateY(-160%); background: var(--accent); padding: .7rem 1rem; border-radius: .4rem; }
.skip:focus { transform: none; }

.app-frame { min-height: 100vh; display: grid; grid-template-columns: 232px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100dvh; align-self: start; display: flex; flex-direction: column; padding: 1.7rem 1.15rem 1.25rem; background: var(--paper); border-right: 1px solid var(--line); }
.brand { display: block; flex: none; position: relative; width: 9rem; aspect-ratio: 1.6; overflow: hidden; }
.brand-logo { display: block; position: absolute; inset: 50% 0 auto; width: 100%; height: auto; transform: translateY(-50%); }
.brand-logo-dark, :root[data-theme="dark"] .brand-logo-light { display: none; }
:root[data-theme="dark"] .brand-logo-dark { display: block; }
#sidebar-toggle { display: none; }
.side-nav { display: flex; flex-direction: column; gap: .2rem; min-height: 0; margin: 1.55rem -.35rem .7rem; padding: .35rem; overflow: auto; scrollbar-width: thin; }
.side-nav > * { flex: none; }
.side-nav summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem; min-height: 42px; padding: .5rem .59rem; border-radius: 8px; color: var(--muted); font-size: .9rem; font-weight: 650; cursor: pointer; list-style: none; }
.side-nav summary::-webkit-details-marker { display: none; }
.side-nav summary::after { content: ""; width: .42rem; height: .42rem; margin-right: .13rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.side-nav details[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.side-nav summary:hover, .side-nav details[open] > summary, .side-nav a:hover { background: var(--field-hover); color: var(--ink); }
.side-nav details[data-current] > summary { background: var(--accent-subtle); color: var(--accent-text); }
.side-nav-list { margin: .25rem 0 .45rem 1.12rem; padding-left: .47rem; border-left: 1px solid var(--line); }
.side-nav .side-nav-submenu > summary { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; padding: .47rem .5rem; border-radius: 6px; font-size: .875rem; font-weight: 600; }
.side-nav-submenu > .side-nav-list { margin-left: .5rem; padding-left: .4rem; }
.side-nav a { display: block; padding: .47rem .5rem; border-radius: 6px; color: var(--muted); font-size: .875rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.side-nav a[aria-current] { background: var(--selected); color: var(--ink); }
.side-nav a.side-nav-home { display: flex; align-items: center; gap: .5rem; min-height: 42px; padding: .5rem .59rem; font-size: .9rem; }
.licitacao-quick-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.licitacao-quick-nav > a, .licitacao-quick-nav > details > summary { display: block; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); font-size: .85rem; font-weight: 650; text-decoration: none; cursor: pointer; }
.licitacao-quick-nav > [data-current], .licitacao-quick-nav > details[data-current] > summary { background: var(--accent-subtle); color: var(--accent-text); border-color: var(--accent-text); }
.licitacao-quick-nav > details { position: relative; }
.licitacao-quick-nav ul { position: absolute; z-index: 4; top: 100%; left: 0; min-width: max-content; max-height: min(60vh, 25rem); overflow: auto; margin: 0; padding: .35rem; list-style: none; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: 0 10px 30px var(--shadow); }
.licitacao-quick-nav ul a { display: block; padding: .5rem .65rem; color: var(--ink); border-radius: 5px; text-decoration: none; }
.licitacao-quick-nav ul a:hover { background: var(--field-hover); }
.bid-action-menu { position: relative; }
.bid-action-menu > summary { cursor: pointer; list-style: none; text-align: center; }
.bid-action-menu > summary[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.bid-action-choices { position: fixed; z-index: 20; display: grid; gap: .25rem; padding: .35rem; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 10px 30px var(--shadow); }
.bid-action-choices .button { text-align: left; white-space: nowrap; }
.side-nav :is(summary, a) { white-space: nowrap; }
.sidebar { z-index: 5; }
.portal-seller { margin-block: 1rem; padding: 1rem; display: grid; gap: .85rem; min-width: 0; }
.portal-seller-columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; }
.portal-seller-columns h3 { font-size: .9rem; margin: 0 0 .5rem; }
.portal-seller-options { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.portal-seller-options label { white-space: nowrap; }
.portal-seller-columns select { width: 100%; }
@media (max-width: 600px) {
  .portal-seller-columns { grid-template-columns: 1fr; }
}
#portal-forms { align-items: flex-end; flex-wrap: wrap; }
#portal-forms form { display: grid; gap: .4rem; flex: 1 1 12rem; }
#prospecting-table input { min-width: 9rem; min-height: 28px; padding: .2rem .35rem; font-size: inherit; }
#prospecting-table select { min-width: 9rem; min-height: 28px; padding: .2rem .35rem; font-size: inherit; color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 8px; }
#prospecting-table input[readonly] { min-width: 5rem; width: 5rem; color: var(--muted); }
.prospecting-cell-link { display: inline-block; margin-top: .2rem; color: var(--icon-ink); white-space: nowrap; }
@media (min-width: 881px) {
  .app-frame:has(.sidebar) { grid-template-columns: max-content minmax(0, 1fr); }
  .sidebar-foot { max-width: 11rem; }
  .side-nav { flex: 1; overflow: visible; }
  .side-nav-admin { margin-block-start: auto; }
  .side-nav details { position: relative; }
  .side-nav details[open] > .side-nav-list {
    position: absolute; z-index: 1; top: 0; left: 100%; margin: 0; padding: .35rem;
    width: max-content; background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
    box-shadow: 0 10px 30px var(--shadow);
  }
  .side-nav > .side-nav-admin[open] > .side-nav-list { top: auto; bottom: 0; }
  #dispute-seller-links { max-height: calc(100dvh - 7rem); max-width: 38vw; overflow: auto; }
}
@media (max-width: 880px) {
  .sidebar:has(.side-nav) { position: relative; }
  .sidebar .side-nav { position: absolute; top: 100%; left: 0; z-index: 4; margin: 0; padding: .55rem;
    width: max-content; max-width: 100vw; background: var(--paper); border: 1px solid var(--line);
    box-shadow: 0 10px 30px var(--shadow); }
}
.sidebar-foot { flex: none; margin-top: auto; padding: 1.15rem .5rem 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: .58rem; min-width: 0; }
.sidebar-foot > div { min-width: 0; }
.sidebar-foot strong, .sidebar-foot small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sidebar-foot strong { font-size: .87rem; }
.sidebar-foot small { font-size: .8rem; color: var(--muted); }
.account-avatar { width: 2.12rem; height: 2.12rem; border-radius: 50%; background: var(--accent-subtle); color: var(--accent-text); font-weight: 700; display: grid; place-items: center; flex: none; }
.sidebar-foot a { display: inline-block; margin-inline-end: .5rem; font-size: .8rem; color: var(--accent-text); }
.access-page { display: grid; gap: .75rem; }
.access-content { display: grid; gap: 1rem; padding: 1rem; }
.access-form { display: grid; gap: .75rem; }
.access-form > .button { justify-self: start; }
.access-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .65rem; }
.access-content :is(input, select) { width: 100%; min-width: 0; padding: .48rem .6rem; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--field); }
.access-tree { display: grid; gap: .45rem; }
.access-tree:empty, .access-feedback:empty { display: none; }
.access-tree .access-tree { margin: .45rem 0 .45rem .65rem; padding-inline-start: .65rem; border-inline-start: 1px solid var(--line); }
.access-permission { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .35rem 1rem; padding: .45rem .65rem; border-radius: 7px; background: var(--field); }
.access-permission-title { font-weight: 600; }
.access-permission[data-branch] .access-permission-title { font-weight: 700; }
.access-permission-summary { display: block; color: var(--muted); }
.access-permission-options { display: flex; flex-wrap: wrap; gap: .3rem .8rem; }
.access-permission-options label { display: inline-flex; align-items: center; gap: .35rem; font-size: .875rem; cursor: pointer; }
.access-content .access-permission-options input { appearance: none; flex: none; width: 1rem; height: 1rem; margin: 0; padding: 0; border: 1px solid var(--muted); border-radius: .2rem; background: var(--paper); cursor: pointer; }
.access-content .access-permission-options input:checked { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 2px var(--paper); }
.access-notice { padding: .65rem .8rem; border-radius: 7px; background: var(--accent-subtle); color: var(--accent-text); }
.access-login { width: min(100% - 2rem, 34rem); margin: max(1rem, 7vh) auto; }
.access-login code { overflow-wrap: anywhere; }
.access-password-dialog { width: min(30rem, calc(100% - 2rem)); }
.access-password-dialog > * + * { margin-block-start: .75rem; }
.access-password-dialog input { width: 100%; padding: .5rem .65rem; color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 7px; }
.access-table :is(th, td) { padding: .55rem .7rem; }
.app-content { min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .56rem var(--page-gutter); border-bottom: 1px solid var(--line); background: var(--surface); color: var(--muted); position: sticky; top: 0; z-index: 2; }
.topbar-actions { display: flex; align-items: center; gap: .75rem; }
.topbar-label { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .77rem; font-weight: 700; letter-spacing: .04em; }
.topbar-label strong { color: var(--ink); }
.topbar-date { display: flex; align-items: center; gap: .5rem; font-size: .88rem; }
.topbar-date .icon { width: 1.08rem; height: 1.08rem; }
#theme-toggle { white-space: nowrap; }

.main, .social-footer { max-width: 1760px; margin-inline: auto; padding-inline: var(--page-gutter); }
.main { padding-block: 1rem 1.5rem; }
.page-title { margin-bottom: 1rem; }
.disputes { display: grid; gap: .85rem; min-width: 0; }
.bid-page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; }
.bid-page-head .bid-actions { justify-content: flex-start; }
.bid-page-head .bid-actions:empty, #licitacao-operacao > p:empty { display: none; }
.disputes-heading, .disputes-load, .disputes-pages, .disputes-editor-head, .disputes-editor-foot {
  display: flex; align-items: center; justify-content: space-between; gap: .85rem;
}
.disputes-heading p, .disputes-load p, .disputes-times p, .disputes-pages p, .disputes-editor-head p {
  color: var(--muted); font-size: .9rem; margin-top: .3rem;
}
.disputes-load, .disputes-times { padding: .9rem 1rem; flex-wrap: wrap; }
.disputes-load > div { min-width: 0; overflow-wrap: anywhere; }
.disputes-load .button, .disputes-heading .button { flex: none; }
#disputes-privacy { margin-top: .55rem; }
.disputes-workspace { display: grid; gap: 1rem; min-width: 0; }
.disputes-results { min-width: 0; }
.disputes-filters { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .55rem; padding: .85rem 1rem; }
.disputes-filters label, .disputes-fields label, .disputes-filter-body > label { display: grid; gap: .25rem; font-size: .875rem; font-weight: 650; }
.disputes :is(input:not([type="checkbox"]), textarea) { min-width: 0; width: 100%; min-height: 34px; padding: .4rem .65rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 7px; }
.disputes textarea { font: inherit; resize: vertical; }
.disputes-fields .disputes-observation { grid-column: 1 / -1; }
.disputes-table-hint { padding: 0 1rem .7rem; color: var(--muted); font-size: .875rem; }
.disputes-scroll { overflow: auto; max-height: min(68vh, 44rem); border-block: 1px solid var(--line); }
.main table:not(.award-report-table) { border-collapse: separate; border-spacing: 0; color: var(--ink); }
.main table:not(.award-report-table) :is(th, td) { border-bottom: 1px solid var(--line); }
.main table:not(.award-report-table) thead th { color: var(--table-head-ink); background: var(--table-head); }
.main table:not(.award-report-table) tbody tr:nth-child(odd) { --table-row-background: var(--table-row-medium); }
.main table:not(.award-report-table) tbody tr:nth-child(even) { --table-row-background: var(--table-row-light); }
.main table:not(.award-report-table) tbody tr > * { background-color: var(--table-row-background); }
.main table:not(.award-report-table) tbody tr:not(.has-dispute-status):hover > * { background-color: var(--field-hover); }
.main table:not(.award-report-table) tbody tr.has-dispute-status > * { background-color: inherit; color: inherit; }
.disputes-table { min-width: 100%; border-collapse: separate; border-spacing: 0; font-size: 9pt; line-height: 1.25; text-align: left; }
.disputes-table th, .disputes-table td { padding: .28rem .55rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.disputes-table thead th { position: sticky; top: 0; z-index: 2; white-space: nowrap; color: var(--table-head-ink); background: var(--table-head); font-weight: 700; }
.disputes-column-filter { display: flex; gap: .35rem; align-items: center; width: 100%; min-height: 1.45rem; padding: .12rem .16rem; font: inherit; font-weight: inherit; white-space: nowrap; color: inherit; border: 0; border-radius: 4px; background: transparent; }
.disputes-column-filter:hover { color: var(--ink); background: var(--field-hover); }
.disputes-column-filter[data-active] { color: var(--accent-text); background: var(--accent-subtle); }
.disputes-column-filter .icon { width: .85rem; height: .85rem; margin-left: auto; }
.disputes-column-letter { color: var(--accent-text); }
.disputes-table [data-column="B"] { position: sticky; left: 0; box-shadow: inset -1px 0 var(--line); }
.disputes-table thead [data-column="B"] { z-index: 3; }
.disputes-table tbody [data-column="B"] { z-index: 1; }
.disputes-table tbody tr:last-child > * { border-bottom: 0; }
.disputes-table td { font-variant-numeric: tabular-nums; }
.disputes-value { display: block; max-inline-size: 35ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bid-content { min-width: 0; padding: .85rem 1rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .7rem; }
.bid-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.bid-table { width: max-content; }
.bid-table td { min-width: 4rem; max-width: 23rem; overflow-wrap: break-word; }
.bid-table td > span { display: inline-block; max-width: 23rem; }
.bid-table td > .bid-actions { flex-wrap: nowrap; }
.bid-table .bid-actions .button { white-space: nowrap; }
.bid-state { padding: .14rem .38rem; border-radius: 5px; background: var(--icon-surface); color: var(--icon-ink); font-weight: 680; }
.bid-state-active { background: var(--accent-subtle); color: var(--accent-text); }
.bid-table td .button, .bid-actions .button { min-height: 32px; }
.bid-table .bid-row-link { padding: .2rem .35rem; min-height: 0; color: inherit; background: transparent; border: 0; text-decoration: underline; font: inherit; font-weight: 650; }
.bid-signal { display: inline-block; width: .9rem; height: .9rem; border: 1px solid #0004; border-radius: 50%; vertical-align: middle; }
.bid-fields { padding: 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .75rem; }
.bid-field { display: grid; align-content: start; gap: .3rem; font-weight: 650; }
.bid-fields :is(input:not([type="radio"]), select, textarea), .portal-seller input[type="email"] { width: 100%; min-height: 40px; border-radius: 8px; border: 1px solid var(--line); padding: .45rem .6rem; font: inherit; background: var(--field); color: var(--ink); }
.bid-fields textarea { min-height: 5rem; resize: vertical; }
.bid-icon-options { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .65rem; border: 1px solid var(--line); border-radius: 8px; }
.bid-calculation { grid-column: 1 / -1; color: var(--muted); }
.portal-seller form { flex-basis: 100%; display: flex; gap: .5rem; align-items: end; flex-wrap: wrap; }
.disputes-table .disputes-empty { padding: 1.5rem; color: var(--muted); }
.disputes-row-link { color: var(--icon-ink); border: 0; padding: .12rem .35rem; border-radius: 5px; background: var(--icon-surface); font-size: inherit; line-height: inherit; font-weight: 650; white-space: nowrap; }
.disputes-row-link:hover { background: var(--selected); }
.disputes-pages { padding: .75rem 1rem; flex-wrap: wrap; }
.disputes-pages > div { display: flex; gap: .4rem; }
.disputes-pages p { margin: 0; }
.disputes-pages button:disabled { cursor: default; }
.disputes-pages.prospecting-actions { justify-content: flex-end; gap: .45rem; }
.prospecting-progress { display: flex; flex: 1 0 100%; align-items: center; gap: .55rem; font-size: .8rem; color: var(--muted); }
.prospecting-progress progress { flex: 1; min-width: 0; accent-color: var(--accent); }
.prospecting-progress span { min-width: 4ch; text-align: right; font-variant-numeric: tabular-nums; }
.disputes-timings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin-block: .75rem; }
.disputes-timings div { background: var(--field); padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 8px; }
.disputes-timings span { display: block; font-size: .875rem; color: var(--muted); }
.disputes-timings strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.disputes-dialog { width: min(760px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--paper); box-shadow: 0 20px 65px var(--shadow); }
.disputes-dialog::backdrop { background: #0714269e; }
.disputes-filter-dialog { width: min(510px, calc(100% - 2rem)); }
.disputes-filter-body { display: grid; gap: .65rem; padding: 1rem 1.15rem; }
.disputes-filter-status { color: var(--muted); font-size: .875rem; }
.disputes-filter-values { max-height: min(42vh, 350px); overflow: auto; }
.disputes-filter-values label { display: flex; align-items: baseline; gap: .55rem; padding: .36rem .45rem; overflow-wrap: anywhere; cursor: pointer; }
.disputes-filter-values label:hover { background: var(--field-hover); }
.disputes-filter-values input { flex: none; accent-color: var(--focus); }
.disputes-filter-body > button { justify-self: start; }
.disputes-editor-head, .disputes-editor-foot { position: sticky; z-index: 1; background: var(--paper); padding: 1rem 1.15rem; }
.disputes-editor-head { top: 0; border-bottom: 1px solid var(--line); }
.disputes-editor-foot { bottom: 0; border-top: 1px solid var(--line); }
.disputes-editor-foot p { color: var(--muted); font-size: .875rem; }
.disputes-editor-foot .button { flex: none; }
.disputes-editor-body { display: grid; gap: 1.1rem; padding: 1rem 1.15rem; }
.disputes-editor-body fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.disputes-editor-body legend { padding: 0; margin-bottom: .65rem; font-weight: 700; }
.disputes-fields, .disputes-auto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.disputes-auto { margin: .6rem 0 0; }
.disputes-auto > div { padding: .6rem .7rem; border-radius: 8px; background: var(--field); overflow-wrap: anywhere; }
.disputes-auto .disputes-auto-wide { grid-column: 1 / -1; }
.disputes-auto dt { font-size: .875rem; color: var(--muted); }
.disputes-auto dd { margin: .18rem 0 0; white-space: pre-wrap; }
@media (max-width: 640px) {
  .disputes-heading, .disputes-load { flex-wrap: wrap; }
  .disputes-filters { grid-template-columns: minmax(0, 1fr); }
  .disputes-fields, .disputes-auto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .disputes-timings { grid-template-columns: 1fr; }
}
h1 { font-size: clamp(1.5rem, 2.1vw, 2rem); letter-spacing: -.031em; font-weight: 765; }
h2 { font-size: 1.18rem; letter-spacing: -.024em; font-weight: 740; }
h3 { font-size: 1.04rem; letter-spacing: -.014em; }
.overview { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 1rem; }
.overview:has(> .feature[hidden]) .market { grid-column: 1 / -1; }
.table-filters { display: flex; flex-wrap: wrap; align-items: end; gap: .55rem .7rem; padding: .75rem 1rem; min-width: 0; }
.table-filters label { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem; flex: 1 1 8.5rem; min-width: 0; color: var(--muted); font-size: .82rem; font-weight: 650; }
.table-filters :is(input, select) { width: 100%; min-width: 0; min-height: 34px; padding: .4rem .6rem; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--paper); font: .875rem var(--font); }
.table-date-filter { display: flex; flex-wrap: wrap; gap: .4rem; min-width: 0; flex: 1 1 17rem; border: 0; padding: 0; margin: 0; }
.table-date-filter label { flex-basis: 8rem; }
.table-filters button[type="reset"] { flex: 0 0 auto; margin-inline-start: auto; }
.table-filter-message { padding: .3rem 1rem .6rem; color: var(--muted); }
.bid-content .table-filters { padding: 0 0 .5rem; }
.bid-inline-sheet :is(input, select, textarea) { width: 9rem; min-height: 28px; padding: .2rem .4rem; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--paper); font: inherit; }
.bid-inline-sheet textarea { width: 14rem; resize: vertical; vertical-align: middle; }
.bid-inline-sheet :is(th, td):first-child { position: sticky; left: 0; }
.bid-inline-sheet th:first-child { z-index: 3; }
.bid-inline-sheet td:first-child { z-index: 1; background: var(--paper); color: var(--ink); }
.bid-inline-sheet td:first-child .button { min-height: 24px; padding: .12rem .4rem; font-size: inherit; }
.bid-inline-number { display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.bid-inline-number .button:disabled { cursor: default; color: inherit; opacity: 1; text-decoration: none; }
.bid-inline-field { position: relative; }
.bid-cell-summary { display: none; }
.bid-compact td { padding-block: .2rem; cursor: pointer; white-space: nowrap; }
.bid-compact td > span:not(.bid-signal), .bid-compact .bid-cell-summary {
  display: block; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bid-compact .bid-inline-field:not(:focus-within) > :is(input, select, textarea) {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
}
.bid-compact .bid-inline-field:focus-within .bid-cell-summary { display: none; }
.bid-expanded td > span:not(.bid-signal), .bid-expanded .bid-cell-summary { white-space: pre-wrap; overflow-wrap: anywhere; }
.bid-expanded .bid-choice .bid-cell-summary { display: block; max-width: 14rem; margin-top: .18rem; }
.bid-expanded textarea { field-sizing: content; }
.sheet-toolbar { margin-inline-start: auto; justify-content: flex-end; }
.sheet-page-size { display: flex; gap: .45rem; align-items: center; justify-content: flex-end; font-size: .82rem; white-space: nowrap; }
.disputes-results > .sheet-page-size { padding: .35rem 1rem; }
.sheet-page-size select { min-height: 32px; padding: .25rem .4rem; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); font: inherit; }
.sheet-grid { table-layout: fixed; min-width: 0; }
.sheet-grid thead th { overflow: hidden; text-overflow: ellipsis; padding-inline-end: .75rem; }
.sheet-resize { position: absolute; inset: 0 0 0 auto; width: 9px; cursor: col-resize; touch-action: none; }
.sheet-resize:is(:hover,:focus-visible) { border-right: 2px solid var(--accent); }
.sheet-grid .disputes-column-filter { width: 100%; overflow: hidden; text-overflow: ellipsis; }
.sheet-grid tbody :is(td,th) { min-width: 0; overflow: hidden; }
.sheet-grid tbody :is(input:not([type="checkbox"]), select, textarea) { width: 100%; min-width: 0; max-width: 100%; }
.sheet-grid td > .bid-actions { overflow-x: auto; }
#prospecting-table.sheet-grid :is(input,select) { width: 100%; min-width: 0; }
#prospecting-table.sheet-grid td:has(.prospecting-cell-link:not([hidden])) > input { width: 55%; }
.sheet-grid td > :is(a,span:not(.bid-signal)) { max-width: 100%; }
.sheet-grid :is(.bid-compact, tr:not(.sheet-expanded)) .bid-cell-summary { max-width: 100%; }
.sheet-standard tr[aria-expanded] :is(td,th) { cursor: pointer; }
.sheet-standard tr[aria-expanded="false"] :is(td,th) { white-space: nowrap; text-overflow: ellipsis; }
.sheet-standard tr[aria-expanded="false"] td > :is(a,span:not(.bid-signal)) { display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: middle; }
.sheet-standard tr[aria-expanded="false"] :is(input,select) { text-overflow: ellipsis; }
.sheet-standard .sheet-expanded td > :is(a,span:not(.bid-signal)), .sheet-full-value { white-space: pre-wrap; overflow-wrap: anywhere; }
.sheet-full-value { display: none; }
.sheet-expanded .sheet-full-value:not(:empty), .sheet-date-cell:not(:focus-within) .sheet-full-value { display: inline-block; }
.sheet-standard tr[aria-expanded="false"] .sheet-full-value { display: none; }
.sheet-date-cell:not(:focus-within) input, .bid-inline-field:has(input[type="date"]):not(:focus-within) input {
  position: absolute; opacity: 0; pointer-events: none;
}
.sheet-date-cell { position: relative; }
.sheet-standard tr[aria-expanded="false"] .sheet-date-cell:not(:focus-within) .sheet-full-value,
.bid-inline-field:has(input[type="date"]):not(:focus-within) .bid-cell-summary { display: inline-block; }
.sheet-date-cell:focus-within .sheet-full-value, .bid-inline-field:has(input[type="date"]):focus-within .bid-cell-summary { display: none; }
.sheet-standard td:has(.prospecting-cell-link:not([hidden])) > input { width: 55%; }
.sheet-standard td:has(.prospecting-cell-link:not([hidden])) > a { max-width: 45%; padding-inline-start: .25rem; }
.bid-inline-sheet td:first-child .bid-decline-icon { font-size: 1.05rem; line-height: 1; }
.bid-award-sheet :is(input, select) { min-height: 28px; padding: .2rem .35rem; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--paper); font: inherit; }
.bid-award-status { display: flex; align-items: center; gap: .25rem; }
.bid-award-status .bid-signal { flex-shrink: 0; }
.bid-contract-icons .button { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; padding: .25rem; }
.bid-contract-icons .icon { width: 1rem; height: 1rem; }
@supports not (field-sizing: content) {
  .bid-expanded textarea + .bid-cell-summary { display: block; max-width: 14rem; }
}
.bid-save-state { font-size: .75rem; }
.bid-save-state:empty { display: none; }
.bid-candidates :is(th, td):first-child { position: sticky; left: 0; min-width: 2.5rem; text-align: center; }
.bid-candidates td:first-child { z-index: 1; background: var(--paper); }
.bid-candidates th:first-child { z-index: 3; }
.bid-candidates input[type="checkbox"] { accent-color: var(--accent); }
.bid-filtered-records { min-width: 0; }
.prospecting-action { position: sticky; left: 0; width: 1%; white-space: nowrap; z-index: 1; background: var(--paper); }
#prospecting-table thead .prospecting-action { z-index: 3; }
.prospecting-delete { width: 28px; height: 28px; padding: 0; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 6px; display: inline-grid; place-items: center; }
.prospecting-delete:hover { color: var(--ink); background: var(--field-hover); border-color: var(--line); }
.prospecting-delete .icon { width: 15px; height: 15px; }
.panel, .feature { background: var(--paper); border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--panel-shadow); }
.feature { color: var(--ink); }
.feature :focus-visible { outline-color: var(--accent); }
.feature-inner { display: flex; flex-direction: column; align-items: flex-start; padding: 1rem; min-height: 100%; }
.feature-icon { display: grid; place-items: center; width: 32px; height: 32px; background: var(--accent-subtle); color: var(--accent-text); border-radius: 8px; margin-bottom: .55rem; }
.feature p { color: var(--muted); margin-top: .35rem; margin-bottom: .8rem; max-width: 22rem; }
.feature a { margin-top: auto; }
.button, .icon-button { min-height: 34px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-size: .82rem; line-height: 1.2; font-weight: 680; border: 1px solid transparent; text-decoration: none; vertical-align: middle; }
.button { padding: .42rem .7rem; }
.button-accent { color: var(--accent-ink); background: var(--accent); }
.button-accent:hover { background: var(--accent-hover); }
.button-primary { color: var(--on-primary); background: var(--primary); border-color: var(--primary); }
.button-primary:hover { background: var(--primary-hover); }
.button-plain, .icon-button { color: var(--icon-ink); background: var(--paper); border-color: var(--line); }
.button-plain:hover, .icon-button:hover { background: var(--field-hover); }
.icon-button { width: 41px; }
.button .icon { width: 1rem; height: 1rem; }

.market { padding: 1.2rem 1.25rem .85rem; }
.market-head, .document-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; }
.market-head p, .document-head p, .section-heading p { color: var(--muted); margin-top: .28rem; font-size: .9rem; }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: .9rem; }
.quote { min-width: 0; padding: .7rem .82rem; border: 1px solid var(--line); background: var(--field); border-radius: 10px; }
.quote-label { display: flex; align-items: center; gap: .55rem; }
.quote-label strong, .quote-label div > span { display: block; }
.quote-label strong { font-size: .86rem; }
.quote-label div > span { font-size: .76rem; color: var(--muted); }
.currency { width: 2.13rem; height: 2.13rem; display: grid; place-items: center; flex: none; border-radius: 50%; font-size: 1.08rem; font-weight: 720; }
.currency-usd { color: var(--icon-ink); background: var(--icon-surface); }
.currency-cny { color: var(--accent-text); background: var(--accent-subtle); }
.quote-value { margin-top: .37rem; font-size: clamp(1.46rem, 2.6vw, 2.03rem); font-weight: 760; line-height: 1.24; letter-spacing: -.055em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote-meta { color: var(--muted); font-size: .79rem; margin-top: .18rem; }
.market-foot { padding-top: .56rem; color: var(--muted); font-size: .81rem; }
.market-foot a:hover { color: var(--icon-ink); }

.sections { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 1rem; margin-top: 1.2rem; align-items: start; }
.sections:has(.directory[hidden]) { grid-template-columns: minmax(0, 1fr); }
.quote { text-decoration: none; color: inherit; }
.quote:hover { border-color: var(--accent); }
.news-image { width: 100%; max-height: 180px; object-fit: cover; border-radius: 7px; margin-bottom: .55rem; }
.directory, .news { min-width: 0; }
.section-heading { margin-bottom: .9rem; }
.directory .section-heading { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.search { display: flex; background: var(--paper); color: var(--muted); border: 1px solid var(--line); border-radius: 9px; align-items: center; gap: .62rem; padding-inline: .75rem; margin-bottom: .82rem; }
.search:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.search input { width: 100%; background: transparent; border: 0; outline: 0; color: var(--ink); min-height: 34px; font-size: .875rem; }
.search input::placeholder { color: var(--muted); }
.dept-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .66rem; }
.dept-card { text-align: left; display: flex; min-width: 0; align-items: center; gap: .58rem; min-height: 57px; width: 100%; color: var(--ink); border: 1px solid var(--line); background: var(--paper); border-radius: 9px; padding: .5rem .65rem; }
.dept-card:hover { border-color: var(--selected-border); background: var(--field-hover); }
.dept-card[aria-pressed="true"] { border-color: var(--selected-border); background: var(--selected); }
.dept-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; background: var(--icon-surface); color: var(--icon-ink); flex: none; }
.dept-card:nth-child(even) .dept-icon { background: var(--accent-subtle); color: var(--accent-text); }
.dept-content { min-width: 0; }
.dept-card strong { display: block; font-size: .9rem; line-height: 1.25; }
.dept-card small { display: block; color: var(--muted); font-size: .78rem; margin-top: .16rem; }
.loading-text { color: var(--muted); }
.documents { margin-top: .8rem; padding: 1rem; }
.document-head { align-items: center; flex-wrap: wrap; }
.document-actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.file-list:not(:empty) { margin-top: .82rem; border-top: 1px solid var(--line); }
.file-list li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.file-list li:last-child { border-bottom: 0; }
.file-main { display: flex; flex: 1 1 9rem; gap: .55rem; align-items: center; min-width: 0; }
.file-main .icon { color: var(--icon-ink); }
.file-main strong { display: block; overflow-wrap: anywhere; font-size: .91rem; }
.file-main small { display: block; color: var(--muted); font-size: .79rem; }
.file-actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.file-actions .button { min-height: 36px; }

.news-panel { overflow: hidden; padding: .86rem 1rem .9rem; }
.news-filters { display: flex; gap: .5rem; align-items: center; margin-bottom: .28rem; }
.select-wrap { position: relative; flex: 1; min-width: 0; }
.select-wrap::after { position: absolute; content: ""; width: .42rem; height: .42rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-65%) rotate(45deg); right: .8rem; top: 50%; pointer-events: none; }
.select-wrap select { appearance: none; min-height: 34px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); width: 100%; padding: .38rem 1.65rem .38rem .65rem; font-size: .875rem; font-weight: 600; }
.news-list li { padding: .78rem 0; border-bottom: 1px solid var(--line); }
.news-item-tag { display: inline-block; background: var(--icon-surface); color: var(--icon-ink); font-size: .77rem; font-weight: 680; line-height: 1.3; padding: .18rem .47rem; border-radius: .36rem; margin-bottom: .32rem; }
.news-list a { display: block; font-size: 1rem; font-weight: 700; line-height: 1.34; text-decoration: none; }
.news-list a:hover { color: var(--icon-ink); text-decoration: underline; text-underline-offset: .2em; }
.news-meta, .news-status { color: var(--muted); font-size: .81rem; margin-top: .3rem; }
.news-status:not(:empty) { margin: .61rem 0 0; }
.news-more { margin-top: .64rem; }
.news-sources { color: var(--muted); margin-top: .68rem; font-size: .85rem; }
.news-sources summary { cursor: pointer; }
.news-sources ul { margin-top: .4rem; padding-left: 1rem; }
.news-sources li + li { margin-top: .3rem; }

.social-footer { padding-bottom: 3.5rem; }
.channel-nav { display: flex; flex-wrap: wrap; gap: .38rem; margin: .8rem 0 1rem; }
.channel-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .65rem; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration: none; }
.channel-nav a:hover { background: var(--field-hover); }
.channel-nav a[aria-current] { background: var(--accent-subtle); color: var(--accent-text); border-color: var(--accent-text); }
.channel-nav a { justify-content: center; width: 46px; height: 42px; padding: .55rem; }
.channel-nav img, .channel-nav .icon, .channel-brand { width: 24px; height: 24px; object-fit: contain; }
.channel-reclame { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 6px; background: #00a868; color: #fff; font-weight: 800; font-size: 12px; }
.social-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .9rem; }
.social-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.social-widget { min-width: 0; padding: 1.05rem 1.2rem; }
.social-link { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; }
.social-link:hover strong, .social-post:hover .social-caption { text-decoration: underline; }
.social-icon { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 8px; color: var(--accent-text); background: var(--accent-subtle); }
.social-handle { display: block; margin-top: .18rem; color: var(--muted); font-size: .875rem; font-weight: 500; letter-spacing: normal; }
.social-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin: .9rem 0 1rem; }
.social-metrics > div { padding: .65rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--field); }
.social-metrics dt, .social-status, .social-post time { color: var(--muted); font-size: .875rem; }
.social-metrics dd { margin: .12rem 0 0; font-size: 1.45rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.social-metrics .channel-text-value { font-size: 1rem; }
.social-widget h4 { margin: 0 0 .45rem; }
.social-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.social-post { display: grid; align-content: start; gap: .35rem; height: 100%; padding: .38rem; border: 1px solid var(--line); border-radius: 8px; background: var(--field); color: var(--ink); text-decoration: none; }
.social-post:hover { background: var(--field-hover); border-color: var(--selected-border); }
.social-post-image { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 5px; color: var(--accent-text); background: var(--accent-subtle); }
.social-post-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.social-caption { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; font-size: .875rem; line-height: 1.35; }
.social-post time { line-height: 1.2; }
.channel-panel > .social-heading { margin-bottom: .7rem; }
.channel-panel h4 { font-size: 1.06rem; }
.channel-content-title { margin: .8rem 0 .45rem; font-size: .95rem; }
.channel-items { display: grid; gap: .45rem; }
.channel-item { display: flex; align-items: center; gap: .7rem; padding: .62rem .72rem; overflow-wrap: anywhere; }
.channel-item img { flex: none; width: 3rem; height: 3rem; border-radius: 5px; object-fit: cover; }
.channel-caption { display: block; font-size: .9rem; }
.channel-item:hover .channel-caption { text-decoration: underline; }
.channel-description { color: var(--muted); font-size: .86rem; }
.channel-item time, .channel-description { display: block; margin-top: .12rem; }
.channel-note { margin-top: .75rem; }

dialog { width: min(100% - 2rem, 490px); max-height: 90vh; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; color: var(--ink); background: var(--paper); box-shadow: 0 18px 60px var(--shadow); }
dialog::backdrop { background: #071321b8; }
dialog p { color: var(--muted); margin-top: .34rem; }
dialog label { display: block; font-weight: 700; margin-top: .9rem; margin-bottom: .4rem; }
dialog input { width: 100%; min-height: 42px; font-size: .9rem; }
dialog input::file-selector-button { padding: .47rem; background: var(--field); color: var(--icon-ink); border: 1px solid var(--line); border-radius: 7px; margin-right: .5rem; }
.upload-formats { font-size: .85rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .8rem; }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; padding: 1rem; color: var(--accent-ink); background: var(--accent); }

@media (min-width: 1500px) { .dept-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1070px) {
  .app-frame { grid-template-columns: 186px minmax(0, 1fr); }
  .sidebar { padding-inline: .78rem; }
  .sections { grid-template-columns: minmax(0, 1fr) minmax(245px, .78fr); gap: .9rem; }
}
@media (max-width: 880px) {
  .app-frame { display: block; }
  .sidebar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .55rem .75rem; height: auto; position: static; padding: .85rem 1.1rem .72rem; border-right: 0; }
  .brand { width: 7rem; }
  #sidebar-toggle { display: inline-flex; }
  #sidebar-toggle:not([hidden])[aria-expanded="false"] + .side-nav { display: none; }
  .side-nav { grid-column: 1 / -1; max-height: 60dvh; margin: 0 -.35rem; }
  .sidebar-foot { display: none; }
}
@media (max-width: 820px) {
  .social-list { grid-template-columns: 1fr; }
}
@media (max-width: 655px) {
  .main, .topbar, .social-footer { padding-inline: .95rem; }
  .main { padding-top: 1.3rem; }
  .topbar-date { display: none; }
  .topbar { gap: .4rem; }
  .topbar-label { font-size: .86rem; gap: .4rem; }
  .side-nav .icon { width: 1rem; height: 1rem; }
  .overview, .sections { grid-template-columns: 1fr; }
  .sections { gap: 1.2rem; }
  .market, .feature-inner { padding-inline: .9rem; }
  .quote { padding-inline: .57rem; }
  .quote-label strong { font-size: .85rem; }
}
@media (max-width: 360px) {
  .dept-card { align-items: flex-start; flex-direction: column; }
  .topbar-label > span { display: none; }
  .topbar-label { display: grid; gap: 0; line-height: 1.25; }
  .topbar-actions .button { padding-inline: .44rem; }
  .topbar-actions .icon { display: none; }
  .social-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.transfer-progress { position: fixed; z-index: 100; right: 1rem; bottom: 1rem; width: min(22rem, calc(100vw - 2rem)); padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); box-shadow: 0 8px 24px var(--shadow); }
.transfer-progress p { margin: 0 0 .25rem; font-size: .85rem; }
.transfer-progress progress { display: block; width: 100%; accent-color: var(--accent); }
.transfer-progress progress[hidden] { display: none; }
.award-chart { --chart-navy: #143253; --chart-gold: #c89c61; padding: .75rem 0; }
.award-chart h2 { font-size: 1rem; margin: 0 0 .55rem; }
.award-chart p { margin: .35rem 0 0; color: var(--muted); font-size: .79rem; }
.award-columns-wrap { overflow-x: auto; }
.award-columns { padding: 1.2rem .3rem .3rem; }
.award-plot { display: grid; position: relative; height: 200px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to top, transparent 0, transparent 48px, var(--line) 49px, transparent 50px); }
.award-column { position: relative; display: flex; justify-content: center; align-items: end; min-width: 0; }
.award-stack { width: 62%; display: flex; flex-direction: column-reverse; }
.award-stack span { display: block; width: 100%; }
.award-column-total { position: absolute; top: 0; transform: translateY(-100%); font-size: .65rem; color: var(--ink); white-space: nowrap; }
.award-cumulative-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.award-cumulative-line polyline { fill: none; stroke: #d00000; stroke-width: 2; vector-effect: non-scaling-stroke; }
.award-months { display: grid; text-align: center; font-size: .7rem; margin-top: .35rem; }
.award-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1rem; font-size: .75rem; margin-top: .65rem; }
.award-legend span { display: inline-flex; align-items: center; gap: .3rem; }
.award-legend i { width: .65rem; height: .65rem; border-radius: 50%; }
.award-report .award-plot { height: 100px; }
.award-report .award-columns { min-width: 0 !important; }
.award-report .award-columns-wrap { overflow: visible; }
.award-report .award-column-total { font-size: 6px; }
.award-report .award-months, .award-report .award-legend { font-size: 8px; }
.award-bars { display: grid; gap: .4rem 1rem; padding: 0; margin: 0; list-style: none; }
.award-bar { display: grid; grid-template-columns: 4.2rem minmax(0,1fr) auto; gap: .45rem; align-items: center; font-size: .8rem; font-variant-numeric: tabular-nums; }
.award-bar-track { display: block; height: .72rem; background: #e8edf3; border-radius: 3px; }
.award-bar-fill { display: block; height: 100%; background: var(--chart-navy); border-inline-end: 3px solid var(--chart-gold); border-radius: 3px; max-width: 100%; }
.award-bar-fill[style="width: 0%;"] { border: 0; }
.award-bar-negative { background: var(--chart-gold); border-color: var(--chart-navy); }
.award-report {
  position: absolute; left: -10000px; top: 0; visibility: hidden; width: 278mm;
  background: white; color: #143253; font: 11px/1.25 var(--font);
}
.award-report-head { display: flex; align-items: center; gap: 14px; padding-bottom: 6px; border-bottom: 2px solid #c89c61; }
.award-report-head img { width: 86px; height: 54px; object-fit: contain; }
.award-report-head h1 { margin: 0; font-size: 24px; }
.award-report h2 { font-size: 14px; margin: 6px 0; }
.award-report-filters { margin: 6px 0 0; }
.award-report .award-chart { padding: 2px 0; }
.award-report .award-chart p { color: #35465a; font-size: 10px; }
.award-report .award-bars { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 3px 16px; }
.award-report .award-bar { grid-template-columns: 48px minmax(0,1fr) auto; font-size: 10px; }
.award-report .award-bar-track { height: 8px; }
.award-report-table { width: 100%; border-collapse: collapse; text-align: left; }
.award-report-table :is(th, td) { padding: 3px 4px; border-bottom: 1px solid #d9e1eb; overflow-wrap: anywhere; }
.award-report-table th { color: white; background: #143253; }
.award-report-table tbody tr:nth-child(odd) > * { background: #e8eff5; }
.award-report-table tbody tr:nth-child(even) > * { background: #fff; }
@media print {
  @page award-report { size: A4 landscape; margin: 9mm; }
  body:has(> .award-report) { margin: 0; padding: 0; background: white; }
  body:has(> .award-report) > :not(.award-report) { display: none !important; }
  .award-report { page: award-report; position: static; visibility: visible; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
