:root {
    --ui-zoom: 1;
    --app-viewport-height: 100vh;
    --app-dynamic-viewport-height: 100dvh;
    --nav: #0b1926;
    --nav-soft: #132536;
    --nav-text: #a9b2c1;
    --ink: #172033;
    --text: #344054;
    --muted: #7b8495;
    --line: #e6e9ef;
    --line-strong: #d8dce5;
    --canvas: #f5f6f9;
    --surface: #ffffff;
    --violet: #005ca1;
    --violet-dark: #004a83;
    --violet-soft: #eaf4fb;
    --blue: #2774d8;
    --blue-soft: #eaf3ff;
    --teal: #12866f;
    --teal-soft: #e7f6f2;
    --amber: #b96f10;
    --amber-soft: #fff4df;
    --red: #cb4545;
    --red-soft: #fff0f0;
    --green: #24845a;
    --green-soft: #eaf7f0;
    --shadow: 0 1px 2px rgba(16, 24, 40, .025), 0 6px 18px rgba(16, 24, 40, .035);
    color: var(--text);
    background: var(--canvas);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; }
body { min-width: 320px; min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--canvas); }
body.sidebar-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.app-layout { min-width: 0; min-height: var(--app-viewport-height); overflow-x: clip; zoom: var(--ui-zoom); }
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    width: 224px;
    max-width: 100vw;
    overflow: hidden;
    isolation: isolate;
    contain: layout paint;
    display: flex;
    flex-direction: column;
    color: var(--nav-text);
    background: var(--nav);
    border-right: 1px solid rgba(255,255,255,.04);
}
.sidebar-brand { height: 52px; padding: 0 15px 0 16px; display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; background: linear-gradient(135deg, rgba(255,255,255,.025), rgba(0,92,161,.11)); border-bottom: 1px solid rgba(255,255,255,.07); }
.brand-lockup { display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; }
.brand-symbol { width: 23px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; }
.brand-symbol img { width: 23px; height: 32px; object-fit: contain; display: block; }
.brand-name { min-width: 0; }
.brand-lockup strong { display: block; color: #fff; font-size: 11px; font-weight: 720; letter-spacing: .01em; line-height: 1.05; white-space: nowrap; }
.brand-lockup small { display: block; margin-top: 3px; color: #8d99aa; font-size: 8px; font-weight: 720; letter-spacing: .12em; line-height: 1; }
.sidebar-close { display: none; color: #fff; background: none; border: 0; font-size: 24px; }
.sidebar-nav { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 12px 24px; scrollbar-color: #334354 transparent; scrollbar-width: thin; }
.nav-section + .nav-section { margin-top: 10px; }
.nav-section[data-nav-section="standalone"] + .nav-section { margin-top: 14px; }
.nav-section:not([data-nav-section="standalone"]) { padding-top: 8px; border-top: 1px solid rgba(255,255,255,.065); }
.nav-section-pages { display: grid; gap: 3px; }
.nav-section-pages[hidden] { display: none; }
.nav-label { display: block; overflow: hidden; color: #c0c8d4; font-size: 11.5px; font-weight: 620; letter-spacing: .01em; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.nav-section-heading { position: relative; min-height: 42px; padding: 2px 9px 8px 14px; display: flex; flex-direction: column; justify-content: center; }
.nav-section-heading::before, .nav-section-toggle::before { position: absolute; left: 3px; top: 50%; width: 3px; height: 18px; background: rgba(40,160,223,.62); border-radius: 3px; content: ""; transform: translateY(-50%); }
.nav-section-copy { min-width: 0; display: block; }
.nav-section-heading small, .nav-section-copy small { margin-top: 4px; display: block; overflow: hidden; color: #657286; font-size: 8px; font-weight: 480; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.nav-section-toggle { position: relative; width: 100%; min-height: 44px; margin: 0 0 4px; padding: 5px 7px 6px 14px; display: flex; align-items: center; justify-content: space-between; gap: 7px; color: #c0c8d4; background: transparent; border: 0; border-radius: 9px; cursor: pointer; text-align: left; }
.nav-section-toggle:hover { color: #aeb7c5; background: rgba(255,255,255,.035); }
.nav-section-toggle:hover small, .nav-section.is-open .nav-section-toggle small { color: #66768a; }
.nav-section-toggle:focus-visible { outline: 2px solid #28a0df; outline-offset: 1px; }
.nav-section-toggle .nav-label { color: inherit; }
.nav-section-chevron-wrap { width: 23px; height: 23px; display: grid; place-items: center; flex: 0 0 auto; color: #748296; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.055); border-radius: 7px; }
.nav-section-chevron { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .18s ease; transform: rotate(-90deg); }
.nav-section.is-open .nav-section-chevron { transform: rotate(0); }
.nav-link { position: relative; min-width: 0; min-height: 42px; padding: 4px 7px; display: flex; align-items: center; gap: 8px; color: #aeb7c5; border: 1px solid transparent; border-radius: 9px; text-decoration: none; transition: color .15s, background .15s, border-color .15s; }
.nav-icon { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; color: #8290a2; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.055); border-radius: 7px; }
.nav-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.65; }
.nav-link-copy { min-width: 0; display: block; flex: 1; }
.nav-link-copy > span, .nav-link-copy > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-link-copy > span { color: inherit; font-size: 12px; font-weight: 570; line-height: 1.2; }
.nav-link-copy > small { margin-top: 2px; color: #657286; font-size: 8px; font-weight: 480; line-height: 1.15; }
.nav-link:hover { color: #f4f8fb; background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.045); }
.nav-link:hover .nav-icon { color: #c0cad6; background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.075); }
.nav-link:hover .nav-link-copy > small { color: #8290a3; }
.nav-link.is-active { color: #fff; background: linear-gradient(90deg, rgba(0,92,161,.34), rgba(0,92,161,.16)); border-color: rgba(74,169,219,.08); box-shadow: inset 3px 0 0 #28a0df; }
.nav-link.is-active .nav-icon { color: #8ed7f7; background: rgba(40,160,223,.13); border-color: rgba(114,197,239,.18); }
.nav-link.is-active .nav-link-copy > small { color: #8fb8ce; }
.nav-count { margin-left: auto; min-width: 23px; padding: 2px 6px; color: #b9e2f7; background: rgba(0,92,161,.25); border-radius: 10px; font-size: 10px; text-align: center; }
.nav-alert { width: 6px; height: 6px; margin-left: auto; background: #ef8b4f; border-radius: 50%; box-shadow: 0 0 0 3px rgba(239,139,79,.12); }
.nav-link em { margin-left: auto; color: #6d7789; font-style: normal; }
.sidebar-sync { display: flex; align-items: center; gap: 10px; }
.sidebar-sync > div { min-width: 0; }
.sidebar-sync strong, .sidebar-sync small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-sync strong { color: #c8ced8; font-size: 11px; }
.sidebar-sync small { margin-top: 3px; color: #677386; font-size: 9px; }
.sync-indicator { width: 8px; height: 8px; flex: 0 0 auto; background: #778193; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.04); }
.sync-indicator.status-success, .sync-indicator.status-skipped { background: #4fc58b; box-shadow: 0 0 0 4px rgba(79,197,139,.1); }
.sync-indicator.status-failed { background: #ef6a6a; }
.sync-indicator.status-running { background: #f2a541; animation: pulse 1.4s infinite; }
.sidebar-overlay { display: none; }

.workspace { min-width: 0; min-height: var(--app-viewport-height); margin-left: 224px; }
.topbar { position: sticky; top: 0; z-index: 30; height: 52px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.topbar-left, .topbar-actions { display: flex; align-items: center; }
.mobile-menu { display: none; width: 32px; height: 32px; padding: 7px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.mobile-menu svg { width: 100%; height: 100%; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 10.5px; }
.breadcrumb span { color: var(--muted); }
.breadcrumb b { color: #c0c5ce; font-weight: 400; }
.breadcrumb strong { color: var(--ink); font-weight: 650; }
.topbar-actions { gap: 7px; }
.global-search { position: relative; width: 248px; }
.global-search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; color: #8992a2; transform: translateY(-50%); }
.global-search input { width: 100%; height: 39px; padding: 0 38px 0 36px; color: var(--ink); background: #f5f6f8; border: 1px solid transparent; border-radius: 8px; outline: 0; font-size: 12px; }
.global-search input:focus { background: #fff; border-color: #6eb4dc; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }
.global-search kbd { position: absolute; right: 10px; top: 10px; min-width: 19px; padding: 2px 5px; color: #8d95a3; background: #fff; border: 1px solid #dfe2e8; border-radius: 5px; box-shadow: 0 1px 1px #ddd; font-family: inherit; font-size: 10px; text-align: center; }
.icon-button { position: relative; width: 34px; height: 34px; padding: 8px; color: #697386; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.icon-button svg { width: 100%; height: 100%; }
.notification-button i { position: absolute; right: 5px; top: 5px; width: 5px; height: 5px; background: #e55b5b; border: 1.5px solid #fff; border-radius: 50%; }
.user-menu-wrap { position: relative; }
.user-menu-button { min-width: 160px; height: 40px; padding: 3px 7px 3px 4px; display: flex; align-items: center; gap: 8px; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 8px; text-align: left; }
.user-menu-button:hover, .user-menu-button[aria-expanded="true"] { background: #f5f6f8; border-color: var(--line); }
.avatar { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: #35415a; border-radius: 8px; font-size: 11px; font-weight: 800; }
.user-avatar-icon { color: var(--violet); background: #eef7fc; border: 1px solid #cde3f0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.75); }
.user-avatar-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.avatar.small { width: 32px; height: 32px; font-size: 12px; }
.user-meta { min-width: 0; flex: 1; }
.user-meta strong, .user-meta small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-meta strong { font-size: 10.5px; }
.user-meta small { margin-top: 2px; color: var(--muted); font-size: 8.5px; }
.user-menu-button > svg { width: 12px; height: 12px; color: #9299a6; }
.user-dropdown { position: absolute; top: calc(100% + 9px); right: 0; z-index: 70; width: 225px; padding: 7px; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 16px 38px rgba(16,24,40,.16); }
.user-dropdown[hidden] { display: none; }
.dropdown-head { padding: 10px 11px 11px; border-bottom: 1px solid var(--line); }
.dropdown-head strong, .dropdown-head span { display: block; }
.dropdown-head strong { color: var(--ink); font-size: 12px; }
.dropdown-head span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.user-dropdown a, .user-dropdown button { width: 100%; min-height: 36px; padding: 0 10px; display: flex; align-items: center; color: var(--text); background: none; border: 0; border-radius: 7px; font-size: 11px; text-decoration: none; }
.user-dropdown a:hover, .user-dropdown button:hover { background: #f4f5f7; }
.user-dropdown form { margin: 3px 0 0; padding-top: 3px; border-top: 1px solid var(--line); }
.user-dropdown form button { color: var(--red); }

.content-shell { width: 100%; max-width: none; margin: 0; padding: 22px 20px 60px; }
.page-heading-row { min-height: 50px; margin-bottom: 15px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.page-kicker, .section-kicker { display: block; color: var(--violet); font-size: 8px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.page-heading-row h1 { margin: 4px 0 3px; color: var(--ink); font-size: clamp(22px, 2.25vw, 28px); letter-spacing: -.035em; line-height: 1.05; }
.page-heading-row p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.35; }
.page-heading-row .page-kicker,
.decision-page-head > div > small { display: none; }
.page-heading-row h1,
.decision-page-head h1 { margin-top: 0; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.primary-button, .secondary-button, .filter-button { min-height: 39px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; font-size: 11px; font-weight: 700; text-decoration: none; }
.primary-button { color: #fff; background: var(--violet); border: 1px solid var(--violet); box-shadow: 0 5px 14px rgba(0,92,161,.16); }
.primary-button:hover { background: var(--violet-dark); }
.secondary-button, .filter-button { color: var(--text); background: #fff; border: 1px solid var(--line-strong); }
.secondary-button:hover, .filter-button:hover { background: #f8f8fa; }
.filter-button { min-height: 32px; padding: 0 11px; color: #626b7b; font-weight: 600; }
.prototype-pill { padding: 6px 9px; color: #0067aa; background: #ebf5fb; border: 1px solid #cce5f3; border-radius: 999px; font-size: 9px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.prototype-note { margin: -4px 0 18px; padding: 10px 13px; display: flex; align-items: center; gap: 11px; color: #405f73; background: #eef7fc; border: 1px solid #d5e9f4; border-radius: 9px; }
.prototype-note span { flex: 0 0 auto; padding: 4px 6px; color: #fff; background: #0b6fae; border-radius: 5px; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.prototype-note p { margin: 0; font-size: 10px; }
.data-freshness { padding: 7px 10px; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 10px; }
.data-freshness i { width: 6px; height: 6px; background: #39a974; border-radius: 50%; box-shadow: 0 0 0 3px #e6f5ed; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.panel-head { min-height: 68px; padding: 16px 19px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 5px 0 0; color: var(--ink); font-size: 15px; letter-spacing: -.015em; }
.panel-head > a { color: var(--violet); font-size: 10px; font-weight: 700; text-decoration: none; }
.panel-count { color: var(--muted); font-size: 10px; }

.kpi-grid { margin-bottom: 15px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.kpi-card { min-height: 143px; padding: 16px 17px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }
.kpi-top { display: flex; align-items: center; justify-content: space-between; }
.kpi-icon { width: 32px; height: 32px; padding: 7px; display: grid; place-items: center; border-radius: 8px; }
.kpi-icon svg { width: 100%; height: 100%; }
.kpi-icon-violet { color: var(--violet); background: var(--violet-soft); }
.kpi-icon-blue { color: var(--blue); background: var(--blue-soft); }
.kpi-icon-amber { color: var(--amber); background: var(--amber-soft); }
.kpi-icon-teal { color: var(--teal); background: var(--teal-soft); }
.trend { color: var(--muted); font-size: 9px; font-weight: 650; }
.trend-up { color: var(--green); }
.trend-warn { color: var(--amber); }
.kpi-label { margin-top: 18px; color: #697386; font-size: 10px; font-weight: 650; }
.kpi-card > strong { margin: 4px 0 3px; color: var(--ink); font-size: clamp(19px, 2vw, 25px); letter-spacing: -.04em; line-height: 1.1; }
.kpi-card > small { color: #959caa; font-size: 9px; }

.dashboard-grid { display: grid; gap: 15px; margin-bottom: 15px; }
.dashboard-grid-primary { grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr); }
.dashboard-grid-secondary { grid-template-columns: 1.35fr .65fr; }
.attention-list { padding: 6px 0; }
.attention-row { min-height: 62px; padding: 0 18px; display: flex; align-items: center; gap: 11px; text-decoration: none; transition: background .15s; }
.attention-row + .attention-row { border-top: 1px solid #f0f1f4; }
.attention-row:hover { background: #fafcfd; }
.attention-marker { width: 7px; height: 32px; flex: 0 0 auto; border-radius: 4px; }
.marker-violet { background: #2d91ca; }.marker-red { background: #ea7777; }.marker-amber { background: #e6a142; }.marker-blue { background: #5b9ee5; }
.attention-row > div { min-width: 0; flex: 1; }
.attention-row strong, .attention-row small { display: block; }
.attention-row strong { overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.attention-row small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.attention-row > b { color: var(--ink); font-size: 15px; }
.row-arrow { color: #a2a9b5; font-size: 15px; }
.spend-panel { min-height: 350px; }
.chart-summary { padding: 18px 22px 2px; display: flex; align-items: baseline; gap: 10px; }
.chart-summary > strong { color: var(--ink); font-size: 23px; letter-spacing: -.04em; }
.bar-chart { height: 218px; padding: 21px 25px 17px; display: flex; align-items: stretch; gap: 16px; border-top: 1px dashed #e5e7ec; }
.bar-column { min-width: 20px; flex: 1; display: grid; grid-template-rows: 18px 1fr 16px; align-items: end; text-align: center; }
.bar-value { color: #798292; font-size: 8px; opacity: 0; transition: opacity .15s; }
.bar-column:hover .bar-value { opacity: 1; }
.bar-track { height: 100%; display: flex; align-items: flex-end; background: linear-gradient(to top, transparent 24%, #f0f1f4 25%, transparent 26%, transparent 49%, #f0f1f4 50%, transparent 51%, transparent 74%, #f0f1f4 75%, transparent 76%); }
.bar-track svg { width: 100%; height: 100%; overflow: visible; }.bar-track rect { fill: #1478b8; transition: fill .15s; }
.bar-column:hover rect { fill: #004a83; }
.bar-column small { color: #89919f; font-size: 9px; }

.flow-panel { margin-bottom: 15px; }
.procurement-flow { padding: 18px 20px 20px; display: grid; grid-template-columns: 1fr 25px 1fr 25px 1fr 25px 1fr; align-items: center; }
.procurement-flow > a { min-height: 104px; padding: 14px; display: grid; grid-template-columns: 1fr auto; color: inherit; background: #f8fafb; border: 1px solid #edeef3; border-radius: 9px; text-decoration: none; transition: border .15s, transform .15s; }
.procurement-flow > a:hover { border-color: #b7d9eb; transform: translateY(-1px); }
.procurement-flow > a > span { width: 22px; height: 22px; display: grid; place-items: center; color: var(--violet); background: #e2f0f8; border-radius: 6px; font-size: 9px; font-weight: 800; }
.procurement-flow > a small { grid-column: 1 / -1; align-self: end; color: var(--muted); font-size: 9px; }
.procurement-flow > a strong { color: var(--ink); font-size: 22px; line-height: 1; }
.procurement-flow > a em { align-self: end; color: #687284; font-size: 9px; font-style: normal; }
.procurement-flow > b { color: #bcc1cb; font-weight: 400; text-align: center; }

.compact-table-wrap, .data-table-scroll { overflow-x: auto; }
.compact-table, .data-table { width: 100%; border-collapse: collapse; }
.compact-table { font-size: 10px; }
.compact-table th, .compact-table td { height: 43px; padding: 0 17px; border-bottom: 1px solid #f0f1f4; text-align: left; }
.compact-table th { height: 34px; color: #9199a6; background: #fafafd; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.compact-table tr:last-child td { border-bottom: 0; }
.numeric { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.number-pill { padding: 4px 7px; color: var(--blue); background: var(--blue-soft); border-radius: 5px; font-weight: 750; }
.health-panel { padding-bottom: 10px; }
.health-score { padding: 18px; display: flex; align-items: center; gap: 15px; }
.score-ring { width: 68px; height: 68px; display: grid; place-content: center; grid-auto-flow: column; align-items: baseline; color: var(--green); background: radial-gradient(circle closest-side, #fff 80%, transparent 82%), conic-gradient(var(--green) 94%, #e8ebef 0); border-radius: 50%; }
.score-ring strong { font-size: 20px; letter-spacing: -.05em; }.score-ring span { font-size: 9px; }
.health-score > div:last-child { flex: 1; }
.health-score > div > strong { color: var(--ink); font-size: 11px; }.health-score p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.health-list { padding: 0 18px; }
.health-list > span { min-height: 33px; display: grid; grid-template-columns: 7px 1fr auto; align-items: center; gap: 8px; border-top: 1px solid #f0f1f4; color: #626d7e; font-size: 9px; }
.health-list i { width: 6px; height: 6px; border-radius: 50%; }.health-list .ok { background: #42aa77; }.health-list .warn { background: #e49a38; }.health-list b { color: var(--ink); font-size: 9px; }

.summary-strip { margin-bottom: 15px; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }
.summary-strip > div { min-width: 0; min-height: 86px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; }
.summary-strip > div + div { border-left: 1px solid var(--line); }
.summary-strip span, .summary-strip strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.summary-strip span { color: var(--muted); font-size: 9px; }.summary-strip strong { margin-top: 6px; color: var(--ink); font-size: 17px; letter-spacing: -.03em; }
.orders-summary { grid-template-columns: repeat(4, 1fr); }
.inventory-panel, .list-panel { overflow: hidden; }
.table-toolbar { min-height: 66px; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.table-tabs { display: flex; align-items: center; gap: 3px; }
.table-tabs button { min-height: 34px; padding: 0 11px; color: #737c8d; background: transparent; border: 0; border-radius: 7px; font-size: 10px; font-weight: 650; white-space: nowrap; }
.table-tabs button:hover { background: #f5f6f8; }
.table-tabs button.is-active { color: var(--ink); background: #edeef3; }
.table-tabs button span { margin-left: 4px; padding: 2px 5px; color: var(--violet); background: #d8ecf7; border-radius: 8px; font-size: 8px; }
.table-search { position: relative; width: min(350px, 38vw); }
.table-search > svg { position: absolute; left: 11px; top: 50%; width: 15px; height: 15px; color: #8a93a2; transform: translateY(-50%); }
.table-search input { width: 100%; height: 38px; padding: 0 37px 0 34px; color: var(--ink); background: #f5f6f8; border: 1px solid transparent; border-radius: 8px; outline: none; font-size: 11px; }
.table-search input:focus { background: #fff; border-color: #6eb4dc; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }
.search-spinner { position: absolute; right: 12px; top: 12px; width: 14px; height: 14px; border: 2px solid #d7dae1; border-top-color: var(--violet); border-radius: 50%; opacity: 0; }
.table-search.is-loading .search-spinner { opacity: 1; animation: spin .8s linear infinite; }
.table-result-line { min-height: 35px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; color: #8a92a0; background: #fbfbfc; border-bottom: 1px solid var(--line); font-size: 9px; }
.table-result-line strong { color: #626c7d; }
.data-table { min-width: 760px; font-size: 10px; }
.data-table th { height: 38px; padding: 0 14px; color: #87909f; background: #fafafd; border-bottom: 1px solid var(--line); font-size: 8px; font-weight: 800; letter-spacing: .06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-table td { height: 51px; padding: 7px 14px; color: #465164; border-bottom: 1px solid #eff0f3; vertical-align: middle; }
.data-table tbody tr:hover { background: #fbfdfe; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td > strong { color: var(--ink); }
.inventory-data-table { min-width: 1040px; }
.item-identity { min-width: 300px; display: flex; align-items: center; gap: 10px; }
.item-token { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; color: #0a669f; background: #eaf4fb; border-radius: 7px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.item-identity > div { min-width: 0; }
.item-identity strong, .item-identity span:not(.item-token), .item-identity small { display: block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-identity > div > span { margin-top: 3px; color: #6e7889; font-size: 9px; }.item-identity small { margin-top: 2px; color: #a0a6b2; font-size: 8px; }
.code-chip { display: inline-block; max-width: 150px; overflow: hidden; padding: 4px 6px; color: #3d6595; background: #eef5fc; border-radius: 5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.empty-value { color: #aab0ba; }.value-positive { color: var(--green) !important; }.value-warning { color: var(--amber) !important; }.value-danger { color: var(--red) !important; }
.transit-value { padding: 4px 6px; color: var(--blue); background: var(--blue-soft); border-radius: 5px; font-weight: 750; }
.row-menu { width: 29px; height: 27px; color: #8b93a0; background: transparent; border: 0; border-radius: 6px; font-weight: 750; letter-spacing: 1px; }
.row-menu:hover { background: #eceef2; }
.pagination { min-height: 54px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); background: #fff; border-top: 1px solid var(--line); font-size: 9px; }
.pagination > div { display: flex; gap: 7px; }.pagination a { padding: 7px 10px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 6px; font-weight: 650; text-decoration: none; }
.empty-state { padding: 72px 20px; text-align: center; }.empty-state > span { width: 42px; height: 42px; margin: 0 auto 12px; display: grid; place-items: center; color: var(--violet); background: var(--violet-soft); border-radius: 50%; font-size: 22px; }.empty-state h3 { margin: 0 0 5px; color: var(--ink); font-size: 14px; }.empty-state p { margin: 0; color: var(--muted); font-size: 10px; }

.mini-kpi-grid { margin-bottom: 15px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mini-kpi-grid article { min-height: 104px; padding: 16px 17px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.mini-kpi-grid span { color: var(--muted); font-size: 9px; }.mini-kpi-grid strong { margin: auto 0 3px; color: var(--ink); font-size: 20px; letter-spacing: -.04em; }.mini-kpi-grid small { color: #959ca9; font-size: 9px; }
.document-cell strong, .document-cell span { display: block; }.document-cell strong { font-size: 10px; }.document-cell span { max-width: 360px; margin-top: 4px; overflow: hidden; color: #6c7686; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.status-badge { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 999px; font-size: 8px; font-weight: 750; white-space: nowrap; }
.status-badge::before { width: 5px; height: 5px; margin-right: 5px; background: currentColor; border-radius: 50%; content: ""; opacity: .7; }
.status-approval, .status-production { color: #0a689f; background: #eaf4fb; }.status-sourcing, .status-transit { color: #236eb7; background: #eaf4ff; }.status-approved, .status-ordered, .status-closed { color: #247755; background: #e9f7f0; }.status-risk { color: #b74444; background: #fff0f0; }.status-draft { color: #70798a; background: #eff1f4; }.status-confirmed { color: #7b651d; background: #fff6d9; }.status-receiving { color: #16776d; background: #e7f7f4; }
.progress-cell { min-width: 120px; display: flex; align-items: center; gap: 8px; }.progress-cell progress { width: 76px; height: 5px; overflow: hidden; appearance: none; background: #e9ebef; border: 0; border-radius: 4px; }.progress-cell progress::-webkit-progress-bar { background: #e9ebef; }.progress-cell progress::-webkit-progress-value { background: var(--violet); border-radius: 4px; }.progress-cell progress::-moz-progress-bar { background: var(--violet); border-radius: 4px; }.progress-cell small { color: var(--muted); font-size: 8px; }

.supplier-toolbar { margin-bottom: 12px; padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.supplier-search { min-width: 210px; padding: 9px 11px; display: flex; gap: 8px; color: #9aa1ad; background: #f5f6f8; border-radius: 7px; font-size: 10px; }
.supplier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.supplier-card { min-height: 250px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }
.supplier-card-head { display: flex; align-items: flex-start; justify-content: space-between; }.supplier-avatar { width: 40px; height: 40px; display: grid; place-items: center; color: #0a669f; background: #eaf4fb; border-radius: 10px; font-size: 11px; font-weight: 850; }.risk-dot { width: 8px; height: 8px; margin: 5px; border-radius: 50%; }.risk-low { background: #3daa75; box-shadow: 0 0 0 4px #e8f6ef; }.risk-medium { background: #dfa13f; box-shadow: 0 0 0 4px #fff3e0; }.risk-high { background: #dd5b5b; box-shadow: 0 0 0 4px #fdecec; }
.supplier-card h2 { margin: 14px 0 5px; color: var(--ink); font-size: 14px; }.supplier-card > p { margin: 0; color: var(--muted); font-size: 9px; }.supplier-rating { margin: 16px 0 13px; padding-bottom: 13px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 9px; }.supplier-rating strong { color: #b87916; }.supplier-rating span { color: var(--muted); }
.supplier-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.supplier-metrics > div { min-width: 0; }.supplier-metrics span, .supplier-metrics strong { display: block; }.supplier-metrics span { color: var(--muted); font-size: 8px; }.supplier-metrics strong { margin-top: 5px; color: var(--ink); font-size: 12px; }.supplier-metrics progress { width: 100%; height: 3px; margin-top: 5px; display: block; overflow: hidden; appearance: none; background: #e9ebef; border: 0; border-radius: 3px; }.supplier-metrics progress::-webkit-progress-bar { background: #e9ebef; }.supplier-metrics progress::-webkit-progress-value { background: #4aa67c; border-radius: 3px; }.supplier-metrics progress::-moz-progress-bar { background: #4aa67c; border-radius: 3px; }
.card-link { width: 100%; margin-top: 17px; padding: 12px 0 0; display: flex; justify-content: space-between; color: var(--violet); background: transparent; border: 0; border-top: 1px solid var(--line); font-size: 9px; font-weight: 700; }

.shipment-board { display: grid; grid-template-columns: repeat(4, minmax(210px, 1fr)); gap: 11px; overflow-x: auto; }
.shipment-stage { min-height: 470px; padding: 10px; background: #ebedf2; border: 1px solid #e1e4ea; border-radius: 11px; }
.shipment-stage header { height: 57px; padding: 5px 7px 11px; display: flex; align-items: center; gap: 9px; }.shipment-stage header > span { width: 26px; height: 26px; display: grid; place-items: center; color: #116c9f; background: #d7eaf5; border-radius: 7px; font-size: 9px; font-weight: 800; }.shipment-stage header strong, .shipment-stage header small { display: block; }.shipment-stage header strong { color: var(--ink); font-size: 11px; }.shipment-stage header small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.shipment-stage article { margin-bottom: 8px; padding: 14px; display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e4e9; border-radius: 9px; box-shadow: 0 2px 5px rgba(16,24,40,.04); }.shipment-stage article.is-risk { border-left: 3px solid #dd5b5b; }.shipment-stage article strong { color: var(--ink); font-size: 10px; }.shipment-stage article span { margin-top: 6px; color: #5e6879; font-size: 9px; }.shipment-stage article small { margin-top: 12px; padding-top: 9px; color: var(--muted); border-top: 1px solid var(--line); font-size: 8px; }.shipment-stage .ghost-card { background: rgba(255,255,255,.55); border-style: dashed; box-shadow: none; }

.analytics-grid { margin-bottom: 15px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 15px; }.analytics-chart { min-height: 350px; }.large-bar-chart { height: 270px; padding: 30px 25px 18px; display: flex; align-items: flex-end; gap: 18px; background: linear-gradient(to top, transparent 24%, #f0f1f4 25%, transparent 25.5%, transparent 49%, #f0f1f4 50%, transparent 50.5%, transparent 74%, #f0f1f4 75%, transparent 75.5%); }.large-bar-chart > div { height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }.large-bar-chart span { margin-bottom: 5px; color: var(--muted); font-size: 8px; }.large-bar-fill { width: min(42px, 80%); flex: 1; overflow: visible; }.large-bar-fill rect { fill: var(--violet); }.large-bar-chart small { margin-top: 8px; color: #8a92a0; font-size: 9px; }
.donut-wrap { padding: 25px 19px; }.donut { width: 126px; height: 126px; margin: 0 auto 23px; display: grid; place-items: center; background: conic-gradient(#005ca1 0 48%, #3d8bd8 48% 72%, #35a184 72% 89%, #d6a34e 89%); border-radius: 50%; }.donut::before { width: 77px; height: 77px; background: #fff; border-radius: 50%; content: ""; }.donut > span { position: absolute; color: var(--muted); font-size: 8px; text-align: center; }.donut strong { display: block; color: var(--ink); font-size: 18px; }.donut-wrap ul { margin: 0; padding: 0; list-style: none; }.donut-wrap li { min-height: 28px; display: grid; grid-template-columns: 7px 1fr auto; align-items: center; gap: 7px; font-size: 9px; }.donut-wrap li i { width: 6px; height: 6px; border-radius: 2px; }.cat-1{background:#005ca1}.cat-2{background:#3d8bd8}.cat-3{background:#35a184}.cat-4{background:#d6a34e}.donut-wrap li span{color:var(--muted)}.donut-wrap li strong{color:var(--ink)}
.donut { position: relative; }
.table-subline { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }.risk-label { padding: 4px 6px; border-radius: 6px; font-size: 8px; font-weight: 700; }.risk-label-low{color:var(--green);background:var(--green-soft)}.risk-label-medium{color:var(--amber);background:var(--amber-soft)}.risk-label-high{color:var(--red);background:var(--red-soft)}

.settings-grid, .security-grid { margin-bottom: 15px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 15px; }.profile-panel { padding: 20px; }.profile-hero { padding-bottom: 18px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); }.profile-avatar { width: 50px; height: 50px; display: grid; place-items: center; color: #fff; background: var(--violet); border-radius: 12px; font-size: 18px; font-weight: 850; }.profile-hero > div { flex: 1; }.profile-hero h2 { margin: 0; color: var(--ink); font-size: 15px; }.profile-hero p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }.profile-details { margin: 4px 0 0; display: grid; grid-template-columns: 1fr 1fr; }.profile-details > div { padding: 16px 4px 7px; }.profile-details dt { color: var(--muted); font-size: 8px; text-transform: uppercase; }.profile-details dd { margin: 5px 0 0; color: var(--ink); font-size: 10px; font-weight: 650; }
.security-tips ul, .protection-panel ul { margin: 0; padding: 6px 18px 15px; list-style: none; }.security-tips li { min-height: 61px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #f0f1f4; }.security-tips li:last-child { border: 0; }.security-tips li > span { width: 26px; height: 26px; display: grid; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 7px; font-size: 10px; font-weight: 800; }.security-tips strong, .security-tips small { display: block; }.security-tips strong { color: var(--ink); font-size: 10px; }.security-tips small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.audit-list { padding: 6px 18px 15px; }.audit-list > div { min-height: 52px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #f0f1f4; }.audit-icon { width: 25px; height: 25px; display: grid; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 50%; font-size: 9px; font-weight: 800; }.audit-list strong, .audit-list small { display: block; }.audit-list strong { color: var(--ink); font-size: 10px; }.audit-list small { margin-top: 4px; color: var(--muted); font-size: 8px; }.empty-copy { color: var(--muted); font-size: 10px; }
.user-access-list { padding: 6px 18px 14px; }.user-access-list > div { min-height: 57px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #f0f1f4; }.user-access-list > div > div { min-width: 0; flex: 1; }.user-access-list strong, .user-access-list small { display: block; }.user-access-list strong { color: var(--ink); font-size: 10px; }.user-access-list small { margin-top: 3px; color: var(--muted); font-size: 8px; }.access-state { padding: 4px 6px; color: var(--green); background: var(--green-soft); border-radius: 6px; font-size: 8px; font-weight: 700; }.access-state.is-disabled { color: var(--red); background: var(--red-soft); }
.protection-panel li { min-height: 40px; display: flex; align-items: center; gap: 9px; color: #596476; border-bottom: 1px solid #f0f1f4; font-size: 9px; }.protection-panel li i { width: 18px; height: 18px; display: grid; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 5px; font-size: 8px; font-style: normal; font-weight: 800; }
.form-panel { max-width: 680px; padding: 21px; }.settings-form label { display: block; margin: 15px 0 7px; color: var(--ink); font-size: 10px; font-weight: 700; }.settings-form input { width: 100%; height: 42px; padding: 0 11px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; outline: 0; }.settings-form input:focus { border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }.field-help { margin: 7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }.form-actions { margin-top: 20px; display: flex; justify-content: flex-end; gap: 8px; }

.message-stack { position: fixed; top: 88px; right: 25px; z-index: 90; width: min(360px, calc(100vw - 30px)); }.message { margin-bottom: 8px; padding: 12px 13px; display: flex; align-items: center; justify-content: space-between; color: #24573f; background: #ebf8f1; border: 1px solid #c8ebd8; border-radius: 9px; box-shadow: 0 10px 28px rgba(16,24,40,.12); font-size: 10px; }.message button { color: inherit; background: none; border: 0; font-size: 17px; }
.demo-toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; max-width: 330px; padding: 13px 15px; color: #fff; background: #1a2232; border: 1px solid #323d50; border-radius: 9px; box-shadow: 0 15px 40px rgba(0,0,0,.25); font-size: 10px; animation: toast-in .2s ease-out; }

.table-tabs a { min-height: 34px; padding: 0 11px; display: inline-flex; align-items: center; color: #737c8d; border-radius: 7px; font-size: 10px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.table-tabs a:hover { background: #f5f6f8; }.table-tabs a.is-active { color: var(--ink); background: #edeef3; }
.planning-gate-note { margin: -4px 0 15px; padding: 13px 15px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; color: #405d70; background: #eef7fc; border: 1px solid #d3e9f5; border-radius: 10px; }
.planning-gate-note > span { padding: 5px 7px; color: #fff; background: #0870b5; border-radius: 5px; font-size: 8px; font-weight: 850; letter-spacing: .08em; }.planning-gate-note strong, .planning-gate-note p { display: block; }.planning-gate-note strong { color: #183d55; font-size: 11px; }.planning-gate-note p { margin: 4px 0 0; font-size: 9px; line-height: 1.45; }.planning-gate-note a { color: #005c9e; font-size: 9px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.planning-panel { overflow: hidden; }.planning-data-table { min-width: 1780px; }.planning-data-table .item-identity { min-width: 270px; }.planning-data-table .item-identity a { color: inherit; text-decoration: none; }.planning-data-table .item-identity a:hover { color: var(--violet); }
.readiness-badge { padding: 5px 7px; display: inline-flex; align-items: center; border-radius: 6px; font-size: 8px; font-weight: 750; white-space: nowrap; }.readiness-badge::before { width: 5px; height: 5px; margin-right: 5px; background: currentColor; border-radius: 50%; content: ""; }.readiness-risk { color: #b94343; background: #fff0f0; }.readiness-warning { color: #9a650e; background: #fff4df; }.readiness-neutral { color: #59677a; background: #eef1f5; }.readiness-ready { color: #227651; background: #e9f7ef; }
.table-primary { display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.calculation-placeholder { color: #8a93a1; font-size: 9px; font-style: italic; white-space: nowrap; }.row-arrow { display: inline-grid; width: 27px; height: 27px; place-items: center; border-radius: 6px; text-decoration: none; }.row-arrow:hover { color: var(--violet); background: var(--violet-soft); }
.deadline-risk { color: var(--red) !important; }.deadline-ok { color: var(--green); }
.item-readiness-card { margin-bottom: 15px; padding: 14px 16px; display: grid; grid-template-columns: minmax(240px,.65fr) 1.35fr; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-left-width: 4px; border-radius: 10px; }.item-readiness-card > div { display: flex; align-items: center; gap: 10px; }.item-readiness-card > div > strong { color: var(--ink); font-size: 11px; }.item-readiness-card ul { margin: 0; padding-left: 18px; color: #687386; font-size: 9px; line-height: 1.7; }.readiness-card-risk { border-left-color: var(--red); }.readiness-card-warning { border-left-color: var(--amber); }.readiness-card-neutral { border-left-color: #8993a2; }.readiness-card-ready { border-left-color: var(--green); }
.fact-card-grid { margin-bottom: 15px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }.fact-card-grid article { min-width: 0; min-height: 105px; padding: 15px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }.fact-card-grid span { color: var(--muted); font-size: 9px; }.fact-card-grid strong { margin: auto 0 3px; overflow: hidden; color: var(--ink); font-size: 19px; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }.fact-card-grid small { color: #9aa1ac; font-size: 8px; }
.planning-detail-grid { margin-bottom: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.detail-section { overflow: hidden; }.panel-meta { color: var(--muted); font-size: 9px; }.detail-list { margin: 0; padding: 4px 18px 14px; }.detail-list > div { min-height: 47px; display: grid; grid-template-columns: minmax(130px,.65fr) 1.35fr; align-items: center; gap: 12px; border-bottom: 1px solid #f0f1f4; }.detail-list > div:last-child { border: 0; }.detail-list dt { color: var(--muted); font-size: 9px; }.detail-list dd { margin: 0; color: var(--ink); font-size: 10px; font-weight: 650; text-align: right; }
.section-empty { padding: 34px 20px; text-align: center; }.section-empty strong { display: block; color: var(--ink); font-size: 12px; }.section-empty p { max-width: 520px; margin: 7px auto 0; color: var(--muted); font-size: 9px; line-height: 1.55; }.calculation-empty { min-height: 270px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: repeating-linear-gradient(-45deg,#fff,#fff 12px,#fbfbfd 12px,#fbfbfd 24px); }
.history-section { margin-bottom: 15px; }.change-list { padding: 4px 18px 13px; }.change-list article { min-height: 52px; display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 14px; border-bottom: 1px solid #f0f1f4; }.change-list time { color: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; }.change-list strong, .change-list small { display: block; }.change-list strong { color: var(--ink); font-size: 10px; }.change-list small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.transit-section { margin-bottom: 15px; }.transit-detail-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; }.transit-detail-list > div { grid-template-columns: minmax(105px, 1fr) auto; }.source-notes { margin: 0 18px 16px; padding-top: 15px; display: grid; grid-template-columns: minmax(130px,.35fr) minmax(0,1fr); gap: 18px; border-top: 1px solid var(--line); }.source-notes > div { display: grid; gap: 5px; }.source-notes span { color: var(--muted); font-size: 9px; }.source-notes strong { color: var(--ink); font-size: 10px; line-height: 1.5; }
.fact-protection-note { margin-bottom: 15px; padding: 12px 15px; display: flex; align-items: center; gap: 12px; color: #355f4d; background: #edf8f2; border: 1px solid #d5ebdf; border-radius: 9px; }.fact-protection-note strong { font-size: 10px; white-space: nowrap; }.fact-protection-note span { font-size: 9px; line-height: 1.45; }
.policy-form-panel { max-width: 1000px; padding: 21px; }.policy-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }.policy-field-wide { grid-column: 1 / -1; }.policy-field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 10px; font-weight: 700; }.policy-field input, .policy-field select, .policy-field textarea { width: 100%; min-height: 42px; padding: 9px 11px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; outline: 0; font-size: 11px; }.policy-field textarea { resize: vertical; }.policy-field input:focus, .policy-field select:focus, .policy-field textarea:focus { border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }.field-error { display: block; margin-top: 5px; color: var(--red); font-size: 9px; }.policy-table { min-width: 1220px; }.toolbar-title { margin: 5px 0 0; color: var(--ink); font-size: 14px; }
.compact-summary { grid-template-columns: repeat(3, 1fr); }
.quality-overview { margin-bottom: 15px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }.quality-overview article { min-height: 105px; padding: 15px 17px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }.quality-overview article.is-risk { border-color: #efcaca; background: #fffafa; }.quality-overview span { color: var(--muted); font-size: 9px; }.quality-overview strong { margin: auto 0 3px; color: var(--ink); font-size: 20px; }.quality-overview small { color: #929aa7; font-size: 9px; }
.quality-issue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.quality-issue { overflow: hidden; border-top: 3px solid #9aa3b2; }.quality-issue.quality-risk { border-top-color: var(--red); }.quality-issue.quality-warning { border-top-color: var(--amber); }.quality-issue header { min-height: 78px; padding: 14px 17px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.quality-code { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 8px; }.quality-issue h2 { margin: 5px 0 0; color: var(--ink); font-size: 15px; }.quality-issue header > strong { color: var(--ink); font-size: 24px; }.quality-issue > p { margin: 0; padding: 13px 17px; color: var(--muted); border-bottom: 1px solid #f0f1f4; font-size: 9px; line-height: 1.55; }.quality-issue ul { margin: 0; padding: 4px 17px 11px; list-style: none; }.quality-issue li + li { border-top: 1px solid #f0f1f4; }.quality-issue li a { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-decoration: none; }.quality-issue li strong { color: var(--ink); font-size: 9px; }.quality-issue li span { max-width: 70%; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.quality-action { margin: 0 17px 15px; display: inline-block; color: var(--violet); font-size: 9px; font-weight: 750; text-decoration: none; }
.dictionary-summary { grid-template-columns: repeat(3,1fr); }.dictionary-panel { overflow: hidden; }.dictionary-list article { min-height: 116px; padding: 15px 18px; display: grid; grid-template-columns: minmax(190px,.45fr) 1fr 150px; align-items: start; gap: 22px; border-bottom: 1px solid var(--line); }.dictionary-list article:last-child { border: 0; }.dictionary-field-name code { display: inline-block; padding: 5px 7px; color: #005c98; background: #eaf4fb; border-radius: 5px; font-size: 10px; font-weight: 750; }.dictionary-field-name span { display: block; margin-top: 7px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 8px; }.dictionary-list article > div:nth-child(2) > strong { color: var(--ink); font-size: 11px; }.dictionary-list p { margin: 6px 0 0; color: #697386; font-size: 9px; line-height: 1.5; }.dictionary-list article > div:nth-child(2) > small { display: block; margin-top: 9px; color: #8b641e; font-size: 9px; line-height: 1.5; }.dictionary-state { text-align: right; }.dictionary-state > small { display: block; margin-top: 7px; color: var(--muted); font-size: 8px; }

.procurement-report-controls { margin-bottom: 12px; overflow: visible; }
.procurement-primary-controls { padding: 15px 17px; display: grid; grid-template-columns: minmax(190px, 220px) minmax(430px, 1fr); align-items: end; gap: 12px; }
.request-demand-source { margin-top: 3px; display: block; color: #187ca8; font-size: 7.5px; font-weight: 580; }
.procurement-primary-controls label > span { margin-bottom: 6px; display: block; color: var(--muted); font-size: 9px; font-weight: 700; }
.procurement-primary-controls select, .report-period-control input { width: 100%; height: 44px; padding: 0 11px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; outline: 0; font-size: 11px; font-weight: 650; }
.procurement-primary-controls select { padding-right: 36px; appearance: none; -webkit-appearance: none; background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232b3749' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px 14px; }
.procurement-primary-controls select:focus, .report-period-control input:focus { border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }
.report-period-control { min-width: 0; }
.report-period-title { margin-bottom: 6px; display: block; color: var(--muted); font-size: 9px; font-weight: 700; }
.report-period-layout { min-width: 0; display: flex; align-items: center; gap: 8px; }
.report-period-toggle { height: 44px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto; color: #5d6879; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 10px; font-weight: 750; white-space: nowrap; transition: color .15s, background .15s, border-color .15s, box-shadow .15s; }
.report-period-toggle > span { width: 16px; height: 16px; display: grid; place-items: center; color: transparent; background: #f0f1f4; border-radius: 50%; font-size: 10px; }
.report-period-toggle:hover { color: var(--violet); border-color: #acd3e8; }
.report-period-toggle[aria-pressed="true"] { color: #fff; background: var(--violet); border-color: var(--violet); box-shadow: 0 6px 16px rgba(0,92,161,.2); }
.report-period-toggle[aria-pressed="true"] > span { color: var(--violet); background: #fff; }
.report-period-dates { min-width: 0; flex: 0 0 auto; display: grid; grid-template-columns: repeat(2, 176px); gap: 8px; }
.report-period-dates[hidden] { display: none; }
.report-date-field { min-width: 0; height: 44px; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.procurement-primary-controls .report-date-field > span { margin: 0; display: block; color: #8b94a2; font-size: 8px; font-weight: 750; text-align: center; }
.report-period-control .report-date-field input { min-width: 0; height: 42px; padding: 0 7px 0 0; background: transparent; border: 0; border-radius: 0; font-variant-numeric: tabular-nums; }
.report-period-control .report-date-field input[type="text"] { letter-spacing: .035em; }
.report-period-control .report-date-field input[type="hidden"] { display: none; }
.report-date-field:focus-within { border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }
.report-date-field.is-invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(203,69,69,.08); }
.report-period-control .report-date-field input:focus { box-shadow: none; }
.primary-filter-note { min-height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 10px; color: #4f5d70; background: #f8faf9; border: 1px solid #e3ebe7; border-radius: 8px; }.primary-filter-note .live-indicator { width: 8px; height: 8px; flex: 0 0 auto; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(43,145,99,.1); }.primary-filter-note strong, .primary-filter-note small { display: block; }.primary-filter-note strong { color: #344a40; font-size: 9px; }.primary-filter-note small { margin-top: 3px; color: #7d8983; font-size: 8px; }
.procurement-filter-levels { position: relative; padding: 12px 17px 15px; display: grid; grid-template-columns: minmax(180px,.7fr) minmax(210px,.85fr) minmax(310px,1.45fr); align-items: start; gap: 10px 12px; background: #fafafd; border-top: 1px solid var(--line); }
.filter-level-intro { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; }.filter-level-intro strong { color: var(--ink); font-size: 10px; }.filter-level-intro span { color: var(--muted); font-size: 9px; }
.multi-filter { position: relative; min-width: 0; }
.multi-filter > summary { height: 54px; padding: 0 12px; display: flex; align-items: center; gap: 10px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 9px; outline: 0; cursor: pointer; list-style: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.multi-filter > summary::-webkit-details-marker { display: none; }.multi-filter > summary:hover { border-color: #9ecbe3; background: #fbfdff; }.multi-filter[open] > summary { border-color: #3b95c9; box-shadow: 0 0 0 3px rgba(0,92,161,.09); }.multi-filter > summary > svg { width: 16px; height: 16px; flex: 0 0 auto; color: #8d95a3; transition: transform .15s; }.multi-filter[open] > summary > svg { transform: rotate(180deg); }
.multi-filter-number { width: 25px; height: 25px; display: grid; place-items: center; flex: 0 0 auto; color: var(--violet); background: var(--violet-soft); border-radius: 6px; font-size: 8px; font-weight: 850; }.multi-filter-heading { min-width: 0; flex: 1; }.multi-filter-heading small, .multi-filter-heading strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.multi-filter-heading small { color: #7a8494; font-size: 8px; font-weight: 700; }.multi-filter-heading strong { margin-top: 4px; font-size: 11px; }.multi-filter-count { min-width: 21px; padding: 3px 6px; color: #fff; background: var(--violet); border-radius: 999px; font-size: 8px; font-weight: 800; text-align: center; }
.multi-filter-popover { position: absolute; z-index: 40; top: calc(100% + 7px); left: 0; width: max(100%, 290px); overflow: hidden; background: #fff; border: 1px solid #dcdfea; border-radius: 11px; box-shadow: 0 18px 48px rgba(20,28,45,.18); }.multi-filter-groups .multi-filter-popover { left: auto; right: 0; width: min(620px, calc(100vw - 90px)); }.multi-filter-popover > header { min-height: 58px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }.multi-filter-popover header strong, .multi-filter-popover header small { display: block; }.multi-filter-popover header strong { color: var(--ink); font-size: 11px; }.multi-filter-popover header small { margin-top: 4px; color: var(--muted); font-size: 8px; }.multi-filter-popover header button { min-height: 30px; padding: 0 9px; color: var(--violet); background: var(--violet-soft); border: 0; border-radius: 7px; font-size: 9px; font-weight: 750; }.multi-filter-popover header button:hover { background: #d9ecf7; }
.multi-filter-search { position: relative; margin: 10px 11px 4px; display: block; }.multi-filter-search > svg { position: absolute; left: 10px; top: 50%; z-index: 1; width: 14px; height: 14px; color: #8d95a3; transform: translateY(-50%); }.multi-filter-search input { width: 100%; height: 36px; padding: 0 10px 0 31px; color: var(--ink); background: #f7f8fa; border: 1px solid transparent; border-radius: 7px; outline: 0; font-size: 10px; }.multi-filter-search input:focus { background: #fff; border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0,92,161,.07); }
.multi-filter-options { padding: 6px; display: grid; gap: 2px; }.multi-filter-options-scroll { max-height: 330px; grid-template-columns: 1fr 1fr; overflow-y: auto; overscroll-behavior: contain; }.multi-filter-option { position: relative; min-width: 0; min-height: 36px; padding: 0 8px; display: flex; align-items: center; gap: 8px; color: #4d586a; border-radius: 7px; cursor: pointer; font-size: 10px; }.multi-filter-option:hover { background: #f1f8fc; }.multi-filter-option > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }.multi-filter-check { width: 18px; height: 18px; display: grid; place-items: center; flex: 0 0 auto; color: transparent; background: #fff; border: 1px solid #cdd2dc; border-radius: 5px; font-size: 11px; font-weight: 850; }.multi-filter-option input:checked + .multi-filter-check { color: #fff; background: var(--violet); border-color: var(--violet); }.multi-filter-option input:focus-visible + .multi-filter-check { box-shadow: 0 0 0 3px rgba(0,92,161,.16); }.multi-filter-option > span:nth-last-child(2), .multi-filter-option > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.multi-filter-option > small { margin-left: auto; color: #9aa1ae; font-size: 8px; }.multi-filter-empty { padding: 20px; color: var(--muted); font-size: 10px; text-align: center; }
.active-filter-tags { grid-column: 1 / -1; min-height: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }.active-filter-tags > span { margin-right: 2px; color: var(--muted); font-size: 9px; }.active-filter-tags button { min-height: 25px; padding: 0 8px; display: inline-flex; align-items: center; gap: 6px; color: #005b98; background: #eaf4fb; border: 1px solid #cce5f3; border-radius: 999px; font-size: 9px; }.active-filter-tags button:hover { background: #d9ecf7; }.active-filter-tags button::after { color: #3c8fbc; content: "×"; font-size: 13px; line-height: 1; }
.filter-level-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 7px; }.filter-level-actions > button:first-child { min-height: 35px; padding: 0 11px; color: #687386; background: transparent; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 9px; font-weight: 700; }.filter-level-actions > button:first-child:hover { color: var(--violet); background: #fff; }
.multi-filter-option[hidden], .multi-filter-empty[hidden], .active-filter-tags[hidden], .multi-filter-count[hidden] { display: none !important; }
.catalog-filter-workbench { padding: 8px 12px 9px; background: #fafafd; border-top: 1px solid var(--line); }
.catalog-filter-switcher { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 7px; }
.catalog-filter-trigger { min-width: 0; height: 44px; padding: 0 10px 0 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto 15px; align-items: center; gap: 8px; color: #606b7d; background: #fff; border: 1px solid #dde1e8; border-radius: 8px; text-align: left; transition: color .12s, background .12s, border-color .12s, box-shadow .12s; }
.catalog-filter-trigger:hover { color: var(--violet-dark); border-color: #a4cee5; }
.catalog-filter-trigger[aria-expanded="true"] { color: #00578f; background: #f7fbfd; border-color: #62acd4; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }
.catalog-filter-trigger.has-selection { border-color: #b7d8ea; }
.catalog-filter-trigger > span { min-width: 0; }
.catalog-filter-trigger small, .catalog-filter-trigger strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-filter-trigger small { color: #8a93a2; font-size: 7.5px; font-weight: 700; letter-spacing: .025em; }
.catalog-filter-trigger strong { margin-top: 3px; color: var(--ink); font-size: 9.5px; font-weight: 680; }
.catalog-filter-trigger.has-selection strong { color: #00578f; }
.catalog-filter-trigger > i { min-width: 21px; padding: 3px 6px; color: #8c95a3; background: #f0f2f5; border-radius: 999px; font-size: 7.5px; font-style: normal; text-align: center; }
.catalog-filter-trigger > svg { width: 14px; height: 14px; color: #929aa8; transition: transform .12s; }
.catalog-filter-trigger[aria-expanded="true"] > svg { color: var(--violet); transform: rotate(180deg); }
.catalog-filter-palette { margin-top: 7px; padding: 9px; background: #fff; border: 1px solid #dcdee7; border-radius: 9px; box-shadow: 0 8px 24px rgba(20,28,45,.07); }
.catalog-filter-palette[hidden] { display: none; }
.catalog-filter-palette > header { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(220px, 350px) auto 27px; align-items: center; gap: 7px; }
.catalog-filter-palette > header > div { min-width: 0; }
.catalog-filter-palette > header > div strong, .catalog-filter-palette > header > div small { display: block; }
.catalog-filter-palette > header > div strong { color: var(--ink); font-size: 10px; }
.catalog-filter-palette > header > div small { margin-top: 3px; color: #8b94a2; font-size: 7.8px; }
.catalog-filter-search { position: relative; min-width: 0; }
.catalog-filter-search svg { position: absolute; left: 9px; top: 50%; width: 13px; height: 13px; color: #929aa8; transform: translateY(-50%); pointer-events: none; }
.catalog-filter-search input { width: 100%; height: 31px; padding: 0 9px 0 29px; color: var(--ink); background: #f7f8fa; border: 1px solid transparent; border-radius: 7px; outline: 0; font-size: 9px; }
.catalog-filter-search input:focus { background: #fff; border-color: #62acd4; box-shadow: 0 0 0 3px rgba(0,92,161,.07); }
.catalog-filter-palette > header > button { height: 31px; padding: 0 10px; color: #687386; background: #fff; border: 1px solid #e0e3e9; border-radius: 7px; font-size: 8.5px; font-weight: 700; }
.catalog-filter-palette > header > button:hover:not(:disabled) { color: var(--violet-dark); background: #f4f9fc; border-color: #a8cee4; }
.catalog-filter-palette > header > button:disabled { color: #b4bac4; background: #f8f9fa; cursor: default; }
.catalog-filter-palette > header > .catalog-filter-close { width: 27px; padding: 0; color: #8b94a2; font-size: 15px; font-weight: 400; }
.catalog-filter-grid { margin-top: 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 4px; }
.catalog-filter-chip { position: relative; min-width: 0; display: block; cursor: pointer; }
.catalog-filter-chip > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.catalog-filter-chip > span { width: 100%; min-width: 0; height: 28px; padding: 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; color: #505c70; background: #fbfbfc; border: 1px solid #e2e5ea; border-radius: 6px; font-size: 8.6px; font-weight: 560; line-height: 1; transition: color .12s, background .12s, border-color .12s; }
.catalog-filter-chip:hover > span { color: var(--violet-dark); background: #f4f9fc; border-color: #aacfe4; }
.catalog-filter-chip > input:checked + span { color: #00578f; background: #eaf4fb; border-color: #b9dcef; }
.catalog-filter-chip > input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0,92,161,.14); }
.catalog-filter-chip b { min-width: 0; overflow: hidden; font: inherit; text-overflow: ellipsis; white-space: nowrap; }
.catalog-filter-chip small { flex: 0 0 auto; color: #929aa7; font-size: 7.4px; font-weight: 650; }
.catalog-filter-chip > input:checked + span small { color: #207cae; }
.catalog-filter-option[hidden], .catalog-filter-chip[hidden] { display: none; }
.catalog-filter-empty { grid-column: 1 / -1; margin: 8px 0; color: var(--muted); font-size: 9px; text-align: center; }
.catalog-filter-empty[hidden] { display: none; }
.report-article-value { font-weight: 400; }
.report-merge-strip { margin: 0 0 12px; display: grid; grid-template-columns: minmax(0, 1fr) 210px 210px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.report-merge-strip > * { min-width: 0; min-height: 58px; padding: 10px 13px; }
.report-merge-strip > * + * { border-left: 1px solid var(--line); }
.report-merge-result { display: flex; align-items: center; gap: 10px; }
.report-merge-result > span { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; color: #287257; background: #edf8f2; border-radius: 7px; font-size: 14px; font-weight: 800; }
.report-merge-result p { min-width: 0; margin: 0; }
.report-merge-result strong, .report-merge-result small, .report-merge-strip > a span, .report-merge-strip > a small { display: block; }
.report-merge-result strong { color: var(--ink); font-size: 10px; }
.report-merge-result small { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }
.report-merge-strip > a { position: relative; display: flex; flex-direction: column; justify-content: center; color: inherit; text-decoration: none; }
.report-merge-strip > a:hover { background: #fafafd; }
.report-merge-strip > a span { padding-right: 38px; color: #596476; font-size: 9px; font-weight: 750; }
.report-merge-strip > a b { position: absolute; right: 13px; top: 10px; color: var(--violet); font-size: 15px; }
.report-merge-strip > a small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.report-sales-with-merge { display: inline-flex; align-items: center; gap: 4px; }
.report-cell-unit { margin-left: 4px; display: inline; color: #8994a2; font-size: .82em; font-weight: 400; line-height: 1; white-space: nowrap; }
.report-sales-with-merge > .report-cell-unit { margin-left: 0; }
.report-demand-forecast-indicator { position: relative; width: 15px; height: 15px; display: inline-grid; place-items: center; flex: 0 0 auto; color: #397b9d; background: #edf7fb; border: 1px solid #cfe5ee; border-radius: 50%; font-size: 9px; font-weight: 750; line-height: 1; outline: none; cursor: help; }
.report-demand-forecast-indicator.is-growth, .report-demand-forecast-indicator.is-growth_watch { color: #277858; background: #edf8f2; border-color: #c8e8d8; }
.report-demand-forecast-indicator.is-spike { color: #a76a18; background: #fff7e9; border-color: #eed9b4; }
.report-demand-forecast-indicator.is-decline { color: #8a6130; background: #faf5ec; border-color: #e6d7c2; }
.report-demand-forecast-indicator:hover .report-demand-forecast-tooltip, .report-demand-forecast-indicator:focus .report-demand-forecast-tooltip { display: block; visibility: visible; opacity: 1; transform: translateY(0); }
.report-demand-forecast-tooltip { width: min(350px, calc(100vw - 42px)); overflow-y: auto; scrollbar-color: rgba(174,185,201,.72) rgba(255,255,255,.06); scrollbar-width: thin; }
.report-demand-forecast-state { margin-top: 5px; color: #9ed8bb; font-size: 9px; font-weight: 700; }
.report-demand-forecast-state.is-spike { color: #f1c277; }
.report-demand-forecast-state.is-decline { color: #e3be8f; }
.report-demand-forecast-rates { margin-top: 7px; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.report-demand-forecast-rates > span { min-width: 0; padding: 6px; display: block; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); border-radius: 6px; }
.report-demand-forecast-rates small { margin: 0; color: #9eabbd; font-size: 7.4px; }
.report-demand-forecast-rates b { margin-top: 3px; display: block; color: #fff; font-size: 9px; white-space: nowrap; }
.report-demand-forecast-equation { margin-top: 7px; padding: 8px; display: grid !important; grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr); align-items: center; gap: 5px; background: rgba(46,139,103,.13); border: 1px solid rgba(93,184,147,.22); border-radius: 7px; }
.report-demand-forecast-equation > span { min-width: 0; }
.report-demand-forecast-equation small { margin: 0; color: #aebdca; font-size: 7.5px; }
.report-demand-forecast-equation b, .report-demand-forecast-equation strong { margin-top: 3px; display: block; color: #fff; font-size: 10px; white-space: nowrap; }
.report-demand-forecast-equation i { color: #79c39e; font-style: normal; text-align: center; }
.report-demand-formula { margin-top: 7px; padding: 8px; display: block !important; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); border-radius: 7px; }
.report-demand-formula > strong { display: block; color: #fff; font-size: 9.4px; }
.report-demand-formula-step { margin-top: 5px; padding-top: 5px; display: block !important; color: #dbe3ec; border-top: 1px solid rgba(255,255,255,.075); font-size: 8.1px; line-height: 1.4; }
.report-demand-formula-step:first-of-type { margin-top: 5px; padding-top: 0; border-top: 0; }
.report-demand-formula-step small { margin: 0 0 2px; color: #9eabbd; font-size: 7.4px; }
.report-demand-formula-step b { color: #fff; font-weight: 700; }
.report-demand-formula-result { margin-top: 6px; padding: 6px 7px; display: block !important; color: #d9f1e5; background: rgba(46,139,103,.14); border-radius: 6px; font-size: 8.2px; line-height: 1.4; }
.report-demand-formula-result b { color: #fff; }
.report-demand-forecast-reason, .report-demand-history-note { margin-top: 8px; color: #bbc6d2; font-size: 8.2px; line-height: 1.45; }
.report-demand-history-note { padding-top: 7px; border-top: 1px solid rgba(255,255,255,.1); }
.report-demand-history-note b { color: #eef4f7; }
@media (min-width: 921px) {
    .report-demand-forecast-tooltip { max-height: min(360px, calc(var(--app-viewport-height) - 50px)) !important; }
}
.report-merge-indicator { position: relative; width: 14px; height: 14px; display: inline-grid; place-items: center; flex: 0 0 auto; color: #7f8d88; outline: none; cursor: help; opacity: .68; transition: color .12s, opacity .12s; }
.report-merge-indicator:hover, .report-merge-indicator:focus { color: #397257; opacity: 1; }
.report-merge-indicator:focus-visible { border-radius: 3px; box-shadow: 0 0 0 2px rgba(43,145,99,.12); }
.report-merge-icon { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.15; }
.report-merge-tooltip { position: absolute; z-index: 90; top: calc(100% + 7px); left: -5px; width: 340px; padding: 14px; display: none; visibility: hidden; opacity: 0; color: #dbe1ec; background: #172033; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; box-shadow: 0 18px 40px rgba(17,24,39,.28); font-size: 9px; font-weight: 500; line-height: 1.45; text-align: left; white-space: normal; transform: translateY(4px); pointer-events: none; }
.report-merge-tooltip > span, .report-merge-tooltip small { display: block; }
.report-merge-tooltip-title { display: block; margin: 0; color: #fff; font-size: 11px; }
.report-merge-gost { margin-top: 3px; color: #9eabbe; font-size: 8.5px; }
.report-merge-period { margin-top: 10px; padding: 10px 11px; background: rgba(0,92,161,.18); border: 1px solid rgba(72,165,214,.28); border-radius: 8px; }
.report-merge-period.is-history { margin-top: 7px; background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.1); }
.report-merge-period-label { display: block; margin-bottom: 5px; color: #aedbf3; font-size: 8px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.report-merge-period.is-history .report-merge-period-label { color: #b7c1d0; }
.report-merge-equation { display: block; color: #e7ebf2; font-size: 10px; line-height: 1.55; }
.report-merge-equation b { color: #fff; font-size: 11px; }
.report-merge-equation i { padding: 0 2px; color: #66b6df; font-style: normal; font-weight: 800; }
.report-merge-equation strong { display: inline; color: #fff; font-size: 11.5px; }
.report-merge-split { display: grid; grid-template-columns: minmax(78px, 1fr) 12px minmax(98px, 1.25fr) 12px auto; align-items: center; gap: 5px; }
.report-merge-source { min-width: 0; padding: 6px 7px; display: block; border: 1px solid rgba(255,255,255,.11); border-radius: 6px; }
.report-merge-source.is-own { background: rgba(57,137,177,.18); border-color: rgba(91,174,215,.28); }
.report-merge-source.is-foreign { background: rgba(202,133,50,.17); border-color: rgba(229,165,85,.28); }
.report-merge-source small { margin: 0 0 2px !important; color: #b7c6d8; font-size: 7.5px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.report-merge-source.is-own small { color: #93d1ee; }
.report-merge-source.is-foreign small { color: #f0bd79; }
.report-merge-source b { display: block; color: #fff; font-size: 10.5px; font-weight: 500; }
.report-merge-brand-list { display: grid !important; gap: 6px; }
.report-merge-brand-list > span { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 8px; }
.report-merge-brand-list > span + span { padding-top: 6px; border-top: 1px solid rgba(255,255,255,.1); }
.report-merge-brand-list > span > small { min-width: 0; margin: 0 !important; overflow-wrap: anywhere; }
.report-merge-brand-list > span > b { white-space: nowrap; text-align: right; }
.report-merge-split > i { padding: 0; text-align: center; }
.report-merge-split > strong { display: block; text-align: right; white-space: nowrap; }
.report-merge-meta { margin-top: 9px; color: #aeb9c9; }
.report-merge-tooltip small { margin-top: 4px; color: #b8c1cf; }
.gost-detail-tooltip { width: 410px; max-height: min(510px, calc(var(--app-viewport-height) - 72px)); overflow-x: hidden; overflow-y: auto; }
.gost-tooltip-right { right: -5px; left: auto; }
.gost-tooltip-list { margin-top: 10px; border-top: 1px solid rgba(255,255,255,.1); }
.gost-tooltip-item { min-width: 0; padding: 9px 0; display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.075); }
.gost-tooltip-item:last-child { border-bottom: 0; }
.gost-tooltip-item > span { min-width: 0; }
.gost-tooltip-item b { display: block; overflow-wrap: anywhere; color: #fff; font-size: 9.5px; font-weight: 750; }
.gost-tooltip-item > strong { min-width: 56px; color: #fff; font-size: 10px; text-align: right; white-space: nowrap; }
.gost-tooltip-item small { color: #aeb9c9; font-size: 8.3px; font-weight: 500; line-height: 1.45; }
.gost-tooltip-item > .gost-carton-norm-value { display: inline-flex; align-items: baseline; justify-content: flex-end; gap: 3px; white-space: nowrap; }
.gost-tooltip-item > .gost-carton-norm-value small { display: inline; margin: 0; color: #7f90a8; text-align: right; }
.gost-sales-sources { margin-top: 6px; display: flex !important; align-items: center; gap: 5px; }
.gost-sales-source { min-width: 88px; padding: 4px 7px; display: grid !important; grid-template-columns: auto auto; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.11); border-radius: 6px; }
.gost-sales-source.is-own { background: rgba(57,137,177,.18); border-color: rgba(91,174,215,.28); }
.gost-sales-source.is-foreign { background: rgba(202,133,50,.17); border-color: rgba(229,165,85,.28); }
.gost-sales-source small { margin: 0; color: #b7c6d8; font-size: 7.5px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.gost-sales-source.is-own small { color: #93d1ee; }
.gost-sales-source.is-foreign small { color: #f0bd79; }
.gost-sales-source strong { color: #fff; font-size: 8.5px; font-weight: 500; white-space: nowrap; }
.gost-product-name-line { width: 100%; max-width: 100%; min-width: 0; display: flex !important; flex-flow: row nowrap !important; align-items: center; gap: 5px; }
.gost-product-name-line > span:first-child { min-width: 0; max-width: calc(100% - 19px); display: block; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-product-name .gost-product-name-line > .report-merge-indicator { display: inline-grid; flex: 0 0 14px; overflow: visible; }
.gost-composition-tooltip { width: 500px; max-height: min(380px, calc(var(--app-viewport-height) - 72px)); }
.gost-composition-item { min-width: 0; padding: 10px 0; display: block !important; border-bottom: 1px solid rgba(255,255,255,.075); }
.gost-composition-item:last-child { border-bottom: 0; }
.gost-composition-product b,
.gost-composition-product small { display: block; }
.gost-composition-product b { overflow-wrap: anywhere; color: #fff; font-size: 9.5px; }
.gost-composition-product small { margin-top: 3px; color: #aeb9c9; font-size: 8.3px; }
.gost-composition-metrics { margin-top: 8px; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.gost-composition-metrics > span { min-width: 0; padding: 6px 7px; display: block; background: rgba(255,255,255,.055); border-radius: 6px; }
.gost-composition-metrics small,
.gost-composition-metrics strong { display: block; }
.gost-composition-metrics small { color: #8fa0b7; font-size: 7.8px; }
.gost-composition-metrics strong { margin-top: 3px; color: #fff; font-size: 9.5px; }
.report-mixed-value { color: #aa6b13; font-weight: 750; }
.report-merge-indicator:hover .report-merge-tooltip, .report-merge-indicator:focus .report-merge-tooltip { display: block; visibility: visible; opacity: 1; transform: translateY(0); }
.procurement-report-table tbody td:has(.report-merge-indicator),
.procurement-report-table tbody td:has(.report-demand-forecast-indicator) { overflow: visible; }
.has-global-tooltip-portal > .report-merge-tooltip,
.has-global-tooltip-portal > .report-heading-tooltip { display: none !important; }
.report-column-menu[open] > .report-column-summary > .report-heading-tooltip {
    display: none !important;
}
.global-report-tooltip-portal {
    position: fixed !important;
    z-index: 5000 !important;
    right: auto !important;
    bottom: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    zoom: var(--ui-zoom);
    transform: none !important;
    transition: none !important;
    pointer-events: auto !important;
    overscroll-behavior: contain;
    scrollbar-color: rgba(174,185,201,.72) rgba(255,255,255,.06);
    scrollbar-width: thin;
}
.global-report-tooltip-portal.report-transit-tooltip {
    overflow-anchor: none;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}
.global-report-tooltip-portal.report-transit-tooltip > .report-merge-tooltip-title {
    position: sticky;
    z-index: 2;
    top: -14px;
    margin: -14px -14px 0;
    padding: 13px 14px 7px;
    background: #172033;
}
.global-report-tooltip-portal.report-transit-tooltip::-webkit-scrollbar { width: 8px; }
.global-report-tooltip-portal.report-transit-tooltip::-webkit-scrollbar-track { background: rgba(255,255,255,.045); }
.global-report-tooltip-portal.report-transit-tooltip::-webkit-scrollbar-thumb { background: rgba(174,185,201,.55); border: 2px solid #172033; border-radius: 8px; }
.global-report-tooltip-portal span,
.global-report-tooltip-portal small {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.procurement-task-panel { overflow: hidden; }
.procurement-task-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.procurement-task-tabs > a { position: relative; min-height: 78px; padding: 14px 70px 12px 16px; color: inherit; background: #fafafd; text-decoration: none; }
.procurement-task-tabs > a + a { border-left: 1px solid var(--line); }
.procurement-task-tabs > a:hover { background: #f7f9fb; }
.procurement-task-tabs > a.is-active { background: #f0f7fb; box-shadow: inset 0 -2px var(--violet); }
.procurement-task-tabs span, .procurement-task-tabs small { display: block; }
.procurement-task-tabs span { color: var(--ink); font-size: 11px; font-weight: 800; }
.procurement-task-tabs small { margin-top: 6px; color: var(--muted); font-size: 9px; }
.procurement-task-tabs b { position: absolute; right: 17px; top: 18px; color: var(--violet); font-size: 18px; }
.procurement-task-toolbar { min-height: 72px; padding: 11px 15px; display: flex; align-items: end; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.procurement-task-toolbar label { width: min(640px, 70%); }
.procurement-task-toolbar label > span { margin-bottom: 6px; display: block; color: var(--muted); font-size: 9px; font-weight: 700; }
.procurement-task-toolbar label > div { position: relative; }
.procurement-task-toolbar svg { position: absolute; left: 11px; top: 50%; width: 15px; height: 15px; color: #8d95a3; fill: none; stroke: currentColor; stroke-width: 1.8; transform: translateY(-50%); }
.procurement-task-toolbar input { width: 100%; height: 39px; padding: 0 12px 0 35px; color: var(--ink); background: #f8f9fb; border: 1px solid var(--line-strong); border-radius: 8px; outline: 0; font-size: 10px; }
.procurement-task-toolbar input:focus { background: #fff; border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }
.procurement-task-toolbar-actions { display: flex; align-items: center; gap: 12px; }
.procurement-task-toolbar-actions > strong { color: var(--muted); font-size: 9px; white-space: nowrap; }
.procurement-task-toolbar-actions > strong span { color: var(--ink); }
.procurement-task-toolbar-actions .primary-button { height: 39px; padding: 0 15px; white-space: nowrap; }
.procurement-task-table-wrap { max-height: calc(var(--app-viewport-height) - 285px); overflow: auto; }
.procurement-task-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 9.5px; }
.procurement-task-table thead { position: sticky; z-index: 2; top: 0; }
.procurement-task-table th { height: 38px; padding: 0 10px; color: #7f8897; background: #f7f8fb; border-bottom: 1px solid var(--line); font-size: 8px; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.procurement-task-table td { height: 48px; padding: 8px 10px; overflow: hidden; color: #526072; border-bottom: 1px solid #eef0f3; text-overflow: ellipsis; white-space: nowrap; }
.procurement-task-table tbody tr:nth-child(even) td { background: #fbfcfd; }
.procurement-task-table tbody tr:hover td { background: #f5f8fa; }
.procurement-task-table td strong { color: var(--ink); }
.procurement-task-table.is-create-pv th:nth-child(1) { width: 12%; }.procurement-task-table.is-create-pv th:nth-child(2) { width: 12%; }.procurement-task-table.is-create-pv th:nth-child(3) { width: 16%; }.procurement-task-table.is-create-pv th:nth-child(4) { width: 8%; }.procurement-task-table.is-create-pv th:nth-child(5) { width: 13%; }.procurement-task-table.is-create-pv th:nth-child(6) { width: 25%; }.procurement-task-table.is-create-pv th:nth-child(7) { width: 14%; }
.procurement-task-table.is-missing-gost th:nth-child(1) { width: 16%; }.procurement-task-table.is-missing-gost th:nth-child(2) { width: 32%; }.procurement-task-table.is-missing-gost th:nth-child(3) { width: 13%; }.procurement-task-table.is-missing-gost th:nth-child(4) { width: 13%; }.procurement-task-table.is-missing-gost th:nth-child(5) { width: 13%; }.procurement-task-table.is-missing-gost th:nth-child(6) { width: 13%; }
.procurement-task-status { padding: 5px 7px; color: #096799; background: #eaf4fb; border-radius: 5px; font-size: 8px; font-weight: 750; }
.procurement-task-status-warn { color: #96601c; background: #fff5e5; }
.procurement-task-empty { padding: 45px 20px; }
@media (max-width: 920px) {
    .report-merge-strip { grid-template-columns: 1fr 1fr; }
    .report-merge-result { grid-column: 1 / -1; }
    .report-merge-strip > a:nth-child(2) { border-left: 0; border-top: 1px solid var(--line); }
    .report-merge-strip > a:nth-child(3) { border-top: 1px solid var(--line); }
    .procurement-task-table { min-width: 900px; }
}
@media (max-width: 680px) {
    .report-merge-strip, .procurement-task-tabs { grid-template-columns: 1fr; }
    .report-merge-result { grid-column: 1; }
    .report-merge-strip > * + *, .procurement-task-tabs > a + a { border-top: 1px solid var(--line); border-left: 0; }
    .report-merge-result small { white-space: normal; }
    .procurement-task-toolbar { align-items: stretch; flex-direction: column; }
    .procurement-task-toolbar label { width: 100%; }
    .procurement-task-toolbar-actions { align-items: stretch; flex-direction: column; }
    .procurement-task-table-wrap { max-height: none; }
    .gost-detail-tooltip { width: min(370px, calc(100vw - 42px)); }
}

/* Supplier orders: one operational list for dates, overdue reviews and planning decisions. */
.supplier-orders-content-shell { padding-bottom: 48px; }
.supplier-orders-heading { align-items: center; }
.supplier-orders-panel { height: clamp(430px, calc(var(--app-dynamic-viewport-height) - 174px), 900px); min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.supplier-order-filters { min-height: 82px; padding: 11px 13px; display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(130px, .7fr)); align-items: end; gap: 8px; background: #fff; border-bottom: 1px solid var(--line); transition: opacity .12s ease; }
.supplier-order-filters.is-loading { opacity: .58; pointer-events: none; }
.supplier-order-filters label { min-width: 0; display: grid; gap: 5px; }
.supplier-order-filters label > span { color: #7d8796; font-size: 8px; }
.supplier-order-filters input, .supplier-order-filters select { width: 100%; height: 37px; padding: 0 10px; color: #26364a; background: #f8fafb; border: 1px solid #dde3e8; border-radius: 7px; outline: 0; font-size: 10px; font-weight: 450; }
.supplier-order-filters input:focus, .supplier-order-filters select:focus { background: #fff; border-color: #72b4d9; box-shadow: 0 0 0 3px rgba(0,92,161,.07); }
.supplier-order-list-head, .supplier-order-card > summary { display: grid; grid-template-columns: minmax(190px, 1.25fr) minmax(105px, .65fr) minmax(115px, .72fr) minmax(115px, .72fr) minmax(150px, .9fr) 24px; align-items: center; gap: 12px; }
.supplier-order-list-head { min-height: 34px; padding: 0 15px 0 18px; flex: 0 0 auto; color: #8993a1; background: #f6f8fa; border-bottom: 1px solid var(--line); font-size: 7.5px; letter-spacing: .04em; text-transform: uppercase; }
.supplier-order-scroll { min-height: 0; flex: 1; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #b9c2cc #fff; scrollbar-width: thin; }
.supplier-order-scroll::-webkit-scrollbar { width: 9px; }
.supplier-order-scroll::-webkit-scrollbar-track { background: #fff; }
.supplier-order-scroll::-webkit-scrollbar-thumb { background: #c4ccd5; border: 2px solid #fff; border-radius: 999px; }
.supplier-order-scroll-loader { min-height: 48px; padding: 0 15px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #768293; background: #fafbfc; border-top: 1px solid var(--line); font-size: 9px; }
.supplier-order-scroll-loader[hidden] { display: none; }
.supplier-order-scroll-loader > span { width: 13px; height: 13px; border: 2px solid #c9dce7; border-top-color: #187aa9; border-radius: 50%; opacity: 0; }
.supplier-order-scroll-loader.is-loading > span { opacity: 1; animation: spin .7s linear infinite; }
.supplier-order-scroll-loader.is-complete > span { width: 7px; height: 7px; background: var(--green); border: 0; opacity: 1; }
.supplier-order-scroll-loader.is-error { color: var(--red); }
.supplier-order-card { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.supplier-order-card::before { position: absolute; z-index: 2; inset: 9px auto 9px 0; width: 3px; background: #a9b3bf; border-radius: 0 3px 3px 0; content: ""; }
.supplier-order-card.is-danger::before { background: #d44e4e; }
.supplier-order-card.is-warning::before { background: #ce841e; }
.supplier-order-card.is-info::before { background: #2787b8; }
.supplier-order-card.is-violet::before { background: #7559bd; }
.supplier-order-card.is-success::before { background: #43a077; }
.supplier-order-card > summary { min-height: 67px; padding: 9px 15px 9px 18px; cursor: pointer; list-style: none; transition: background .14s ease; }
.supplier-order-card > summary::-webkit-details-marker { display: none; }
.supplier-order-card > summary:hover { background: #fafcfd; }
.supplier-order-card[open] > summary { background: #f8fbfd; border-bottom: 1px solid #e3e8ed; }
.supplier-order-card summary > span { min-width: 0; }
.supplier-order-card summary strong, .supplier-order-card summary small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.supplier-order-card summary strong { color: #1d2e43; font-size: 11px; font-weight: 610; }
.supplier-order-card summary small { margin-top: 4px; color: #8994a3; font-size: 8px; font-weight: 440; }
.supplier-order-control-state b { width: fit-content; max-width: 100%; padding: 5px 8px; display: block; overflow: hidden; color: #415064; background: #f0f3f6; border-radius: 999px; font-size: 8.5px; font-weight: 580; text-overflow: ellipsis; white-space: nowrap; }
.supplier-order-card.is-danger .supplier-order-control-state b { color: #fff; background: #c94149; box-shadow: 0 3px 10px rgba(185,48,58,.18); }
.supplier-order-card.is-warning .supplier-order-control-state b { color: #a25f0f; background: #fff4df; }
.supplier-order-card.is-info .supplier-order-control-state b { color: #176d98; background: #eaf6fc; }
.supplier-order-card.is-violet .supplier-order-control-state b { color: #684cae; background: #f1edfb; }
.supplier-order-card.is-success .supplier-order-control-state b { color: #247655; background: #eaf7f1; }
.supplier-order-chevron { width: 24px; height: 24px; display: grid; place-items: center; color: #8290a0; }
.supplier-order-chevron svg { width: 14px; height: 14px; transition: transform .16s ease; }
.supplier-order-card[open] .supplier-order-chevron svg { transform: rotate(180deg); }
.supplier-order-details { padding: 13px 15px 15px 18px; background: #fbfcfd; }
.supplier-order-explanation { padding: 10px 12px; color: #445267; background: #fff; border: 1px solid #e2e7ec; border-left: 3px solid #7ba9c4; border-radius: 8px; }
.supplier-order-explanation strong { color: #23364d; font-size: 10.5px; font-weight: 620; }
.supplier-order-explanation p { margin: 4px 0 0; max-width: 980px; color: #718093; font-size: 9px; line-height: 1.45; }
.supplier-order-detail-link { width: fit-content; margin: 9px 0 0; display: inline-flex; align-items: center; gap: 7px; color: #176f9d; font-size: 9px; font-weight: 590; text-decoration: none; }
.supplier-order-detail-link:hover { color: #0d5980; }
.supplier-order-review-form { margin-top: 9px; padding: 9px; display: grid; grid-template-columns: minmax(260px, 1fr) auto; align-items: end; gap: 9px; background: #f1f7fa; border: 1px solid #d9e7ee; border-radius: 8px; }
.supplier-order-review-form label { display: grid; gap: 4px; }
.supplier-order-review-form label span { color: #6f7e90; font-size: 8px; }
.supplier-order-review-form input { width: 100%; height: 35px; padding: 0 10px; color: #27374b; background: #fff; border: 1px solid #d5dfe5; border-radius: 7px; outline: 0; font-size: 9.5px; }
.supplier-order-review-form input:focus { border-color: #73b4d7; box-shadow: 0 0 0 3px rgba(0,92,161,.07); }
.supplier-order-review-form > div { display: flex; gap: 7px; }
.supplier-order-review-form button { min-height: 35px; padding: 0 11px; color: #fff; background: #1375a8; border: 1px solid #1375a8; border-radius: 7px; font-size: 9px; font-weight: 560; white-space: nowrap; }
.supplier-order-review-form .supplier-order-exclude-button { color: #a33c43; background: #fff; border-color: #e8c7ca; }
.supplier-order-lines { margin-top: 10px; overflow-x: auto; background: #fff; border: 1px solid #e1e6eb; border-radius: 8px; }
.supplier-order-line { min-width: 520px; min-height: 46px; padding: 7px 10px; display: grid; grid-template-columns: minmax(320px, 1fr) minmax(100px, .18fr) minmax(80px, .12fr); align-items: center; gap: 14px; color: #425168; border-top: 1px solid #edf0f3; font-size: 9px; }
.supplier-order-line:first-child { border-top: 0; }
.supplier-order-line.is-heading { min-height: 30px; color: #8a94a2; background: #f6f8fa; font-size: 7.5px; text-transform: uppercase; }
.supplier-order-line strong, .supplier-order-line small { display: block; }
.supplier-order-line strong { color: #26384e; font-size: 10px; font-weight: 580; }
.supplier-order-line small { margin-top: 4px; color: #9aa4b1; font-size: 7.5px; }
.supplier-order-review-meta { margin: 8px 1px 0; color: #8b95a3; font-size: 8px; }
.supplier-orders-empty { padding: 50px 20px; text-align: center; }
.supplier-orders-empty strong { color: #2a394c; font-size: 13px; font-weight: 620; }
.supplier-orders-empty p { margin: 5px 0 0; color: #8a94a2; font-size: 10px; }
.report-overdue-confirmation { margin-top: 2px; padding: 9px; display: grid !important; grid-template-columns: 17px minmax(0, 1fr); align-items: start; gap: 8px !important; color: #7d511e; background: #fff8ec; border: 1px solid #ecd8b9; border-radius: 7px; }
.report-overdue-confirmation input { width: 16px !important; height: 16px !important; margin: 1px 0 0; padding: 0 !important; accent-color: #b36b15; box-shadow: none !important; }
.report-overdue-confirmation span { display: block; }
.report-overdue-confirmation b, .report-overdue-confirmation small { display: block; }
.report-overdue-confirmation b { color: #724416; font-size: 9px; font-weight: 620; }
.report-overdue-confirmation small { margin-top: 3px; color: #896b47; font-size: 8px; line-height: 1.4; }

.supplier-order-detail-content-shell { padding-bottom: 50px; }
.supplier-order-detail-heading { align-items: center; }
.supplier-order-back { margin-bottom: 7px; display: inline-flex; color: #2779a6; font-size: 9px; text-decoration: none; }
.supplier-order-detail-heading h1 { margin-top: 0; }
.supplier-order-detail-state { min-width: 170px; padding: 10px 13px; background: #fff; border: 1px solid var(--line); border-left: 3px solid #8290a0; border-radius: 8px; }
.supplier-order-detail-state b, .supplier-order-detail-state small { display: block; }
.supplier-order-detail-state b { color: #2a3b50; font-size: 10.5px; font-weight: 620; }
.supplier-order-detail-state small { margin-top: 4px; color: #7c8897; font-size: 8.5px; }
.supplier-order-detail-state.is-danger { border-left-color: #d14a4f; }
.supplier-order-detail-state.is-warning { border-left-color: #cf8520; }
.supplier-order-detail-state.is-info { border-left-color: #2886b5; }
.supplier-order-detail-state.is-success { border-left-color: #36966d; }
.supplier-order-detail-grid { margin-bottom: 11px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 11px; }
.supplier-order-detail-grid > :only-child { grid-column: 1 / -1; }
.supplier-order-detail-panel { padding: 14px; }
.supplier-order-detail-panel > header span, .supplier-order-composition-head span, .supplier-order-source-panel > header span { color: #1a7aa9; font-size: 7.5px; font-weight: 720; letter-spacing: .1em; }
.supplier-order-detail-panel > header h2, .supplier-order-composition-head h2, .supplier-order-source-panel > header h2 { margin: 4px 0 0; color: #233449; font-size: 13px; font-weight: 620; }
.supplier-order-detail-data { margin: 13px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #e4e8ed; border-radius: 8px; overflow: hidden; }
.supplier-order-detail-data > div { min-height: 52px; padding: 9px 10px; border-top: 1px solid #edf0f3; border-left: 1px solid #edf0f3; }
.supplier-order-detail-data > div:nth-child(-n+2) { border-top: 0; }
.supplier-order-detail-data > div:nth-child(odd) { border-left: 0; }
.supplier-order-detail-data dt, .supplier-order-source-data dt { color: #8b95a3; font-size: 7.5px; }
.supplier-order-detail-data dd, .supplier-order-source-data dd { margin: 5px 0 0; color: #2b3c50; font-size: 10px; font-weight: 560; }
.supplier-order-detail-data dd small { margin-top: 3px; display: block; color: #8a95a4; font-size: 7.5px; font-weight: 430; }
.supplier-order-detail-metrics { margin-top: 13px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.supplier-order-detail-metrics > span { min-height: 58px; padding: 9px 10px; background: #f7f9fb; border: 1px solid #e4e8ec; border-radius: 8px; }
.supplier-order-detail-metrics small, .supplier-order-detail-metrics strong { display: block; }
.supplier-order-detail-metrics small { color: #8591a0; font-size: 7.5px; }
.supplier-order-detail-metrics strong { margin-top: 7px; color: #26384d; font-size: 12px; font-weight: 620; }
.supplier-order-detail-rule { margin-top: 8px; padding: 10px 11px; background: #eff7fb; border: 1px solid #d8e8f0; border-left: 3px solid #4b98bb; border-radius: 8px; }
.supplier-order-detail-rule strong { color: #28546b; font-size: 9.5px; font-weight: 620; }
.supplier-order-detail-rule p { margin: 4px 0 0; color: #657e8d; font-size: 8.5px; line-height: 1.4; }
.supplier-order-detail-rule.is-danger { background: #fff7f7; border-color: #ecd3d4; border-left-color: #cf5055; }
.supplier-order-detail-rule.is-warning { background: #fffaf0; border-color: #eadbc2; border-left-color: #ca7b18; }
.supplier-order-detail-review { grid-template-columns: 1fr; }
.supplier-order-composition-panel { margin-bottom: 11px; overflow: hidden; }
.supplier-order-composition-head { min-height: 58px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.supplier-order-composition-head > small { color: #8792a1; font-size: 8px; }
.supplier-order-composition-scroll { overflow: auto; }
.supplier-order-composition-table { width: 100%; min-width: 1180px; border-collapse: collapse; table-layout: fixed; }
.supplier-order-composition-table th { height: 32px; padding: 0 8px; color: #86919f; background: #f6f8fa; border-right: 1px solid #e5e9ed; border-bottom: 1px solid #dfe4e9; font-size: 7px; font-weight: 540; text-align: left; text-transform: uppercase; }
.supplier-order-composition-table th:first-child { width: 25%; }
.supplier-order-composition-table th:nth-child(2) { width: 9%; }
.supplier-order-composition-table th:nth-child(3) { width: 7%; }
.supplier-order-composition-table th:nth-child(4), .supplier-order-composition-table th:nth-child(5), .supplier-order-composition-table th:nth-child(6) { width: 13%; }
.supplier-order-composition-table td { min-height: 54px; padding: 8px; color: #405068; border-right: 1px solid #e8ecf0; border-bottom: 1px solid #e7ebef; font-size: 9px; line-height: 1.28; vertical-align: middle; }
.supplier-order-composition-table tr:last-child td { border-bottom: 0; }
.supplier-order-composition-table tr.is-inactive td { opacity: .58; background: #fafafa; }
.supplier-order-composition-table td strong, .supplier-order-composition-table td span, .supplier-order-composition-table td small { display: block; }
.supplier-order-composition-table td strong { color: #26374c; font-size: 9.5px; font-weight: 590; }
.supplier-order-composition-table td span { margin-top: 3px; }
.supplier-order-composition-table td small { margin-top: 3px; color: #8b96a4; font-size: 7.5px; }
.supplier-order-source-panel { padding: 13px; }
.supplier-order-source-data { margin: 11px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: #e7ebef; border: 1px solid #e7ebef; border-radius: 8px; }
.supplier-order-source-data > div { min-height: 53px; padding: 9px 10px; background: #fff; }
.supplier-order-source-data dd { overflow-wrap: anywhere; }

@media (max-width: 1260px) {
    .supplier-order-filters { grid-template-columns: minmax(230px, 1.4fr) repeat(3, minmax(130px, 1fr)); }
    .supplier-order-list-head, .supplier-order-card > summary { grid-template-columns: minmax(180px, 1.2fr) minmax(100px, .6fr) minmax(105px, .65fr) minmax(140px, .85fr) 24px; }
    .supplier-order-list-head > span:nth-child(4), .supplier-order-card > summary > span:nth-child(4) { display: none; }
}
@media (max-width: 820px) {
    .supplier-orders-heading { align-items: stretch; flex-direction: column; }
    .supplier-order-filters { grid-template-columns: 1fr 1fr; }
    .supplier-order-search { grid-column: 1 / -1; }
    .supplier-order-list-head { display: none; }
    .supplier-order-card > summary { grid-template-columns: minmax(0, 1fr) auto 24px; gap: 9px; }
    .supplier-order-card > summary > span:nth-child(3), .supplier-order-card > summary > span:nth-child(4) { display: none; }
    .supplier-order-control-state { grid-column: 1; }
    .supplier-order-chevron { grid-column: 3; grid-row: 1 / span 2; }
    .supplier-order-review-form { grid-template-columns: 1fr; }
    .supplier-order-review-form > div { flex-wrap: wrap; }
    .supplier-order-detail-heading { align-items: stretch; flex-direction: column; }
    .supplier-order-detail-state { width: 100%; }
    .supplier-order-detail-grid { grid-template-columns: 1fr; }
    .supplier-order-source-data { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .supplier-orders-content-shell { padding-right: 10px; padding-left: 10px; }
    .supplier-order-filters { grid-template-columns: 1fr; }
    .supplier-order-search { grid-column: auto; }
    .supplier-order-card > summary { grid-template-columns: minmax(0, 1fr) 24px; }
    .supplier-order-quantity { grid-column: 1; }
    .supplier-order-control-state { grid-column: 1; }
    .supplier-order-chevron { grid-column: 2; grid-row: 1 / span 3; }
    .supplier-order-details { padding: 10px; }
    .supplier-order-detail-content-shell { padding-right: 10px; padding-left: 10px; }
    .supplier-order-detail-data, .supplier-order-detail-metrics, .supplier-order-source-data { grid-template-columns: 1fr; }
    .supplier-order-detail-data > div, .supplier-order-detail-data > div:nth-child(-n+2), .supplier-order-detail-data > div:nth-child(odd) { border-top: 1px solid #edf0f3; border-left: 0; }
    .supplier-order-detail-data > div:first-child { border-top: 0; }
}
.procurement-report-panel { overflow: hidden; }.procurement-table-toolbar { min-height: 76px; padding: 12px 16px; display: flex; align-items: end; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }.procurement-live-search { width: 100%; }.procurement-live-search > span { margin-bottom: 6px; display: block; color: var(--muted); font-size: 9px; font-weight: 700; }.procurement-live-search > div { position: relative; }.procurement-live-search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; color: #8d95a3; fill: none; stroke: currentColor; stroke-width: 1.8; transform: translateY(-50%); }.procurement-live-search input { width: 100%; height: 42px; padding: 0 13px 0 38px; color: var(--ink); background: #f8f9fb; border: 1px solid var(--line-strong); border-radius: 8px; outline: 0; font-size: 11px; }.procurement-live-search input:focus { background: #fff; border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }.report-live-status { min-height: 42px; display: flex; align-items: center; gap: 8px; color: #748077; font-size: 9px; white-space: nowrap; }.report-live-status > span { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(43,145,99,.09); }.report-live-status.is-loading > span { background: var(--violet); box-shadow: 0 0 0 4px rgba(0,92,161,.1); animation: pulse .75s infinite; }.report-live-status.is-error { color: var(--red); }.report-live-status.is-error > span { background: var(--red); box-shadow: 0 0 0 4px rgba(207,79,79,.09); }.procurement-report-panel [data-report-table-results] { transition: opacity .12s; }.procurement-report-panel.is-loading [data-report-table-results] { opacity: .5; pointer-events: none; }.procurement-report-scroll { max-height: calc(var(--app-viewport-height) - 220px); overflow: auto; }.report-scroll-loader { position: sticky; left: 0; width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #788291; background: rgba(250,250,252,.97); border-top: 1px solid var(--line); font-size: 9px; }.report-scroll-loader[hidden] { display: none; }.report-scroll-loader > span { width: 13px; height: 13px; border: 2px solid #c6dce8; border-top-color: var(--violet); border-radius: 50%; opacity: 0; }.report-scroll-loader.is-loading > span { background: var(--green); box-shadow: 0 0 0 4px rgba(43,145,99,.09); animation: pulse .75s infinite; }.report-scroll-loader.is-complete > span { width: 7px; height: 7px; background: var(--green); border: 0; opacity: 1; }.procurement-report-table { min-width: 2260px; font-variant-numeric: tabular-nums; }.procurement-report-table thead { position: sticky; top: 0; z-index: 8; }.procurement-report-table th { padding: 0 10px; }.procurement-report-table td { min-height: 47px; padding: 9px 10px; }.sortable-heading { min-height: 38px; display: flex; align-items: center; color: inherit; text-decoration: none; }.numeric .sortable-heading { justify-content: flex-end; }.sortable-heading:hover, .sortable-heading.is-active { color: var(--violet); }.procurement-report-table th:nth-child(1), .procurement-report-table td:nth-child(1) { width: 165px; }.procurement-report-table th:nth-child(2), .procurement-report-table td:nth-child(2) { width: 360px; }.procurement-report-table th:nth-child(3), .procurement-report-table td:nth-child(3) { width: 145px; }.procurement-report-table .report-sticky-article { position: sticky; left: 0; z-index: 3; background: #fff; box-shadow: 1px 0 0 var(--line); }.procurement-report-table thead th:first-child { position: sticky; left: 0; z-index: 10; }.report-sticky-article strong { color: var(--ink); }.report-sticky-article > a { text-decoration: none; }.report-product-name span, .report-product-name small { display: block; }.report-product-name span { color: var(--ink); font-weight: 650; }.report-product-name small { margin-top: 4px; color: var(--muted); font-size: 8px; }.report-need strong { color: var(--violet-dark); font-size: 12px; }

.procurement-table-toolbar .procurement-live-search { width: auto; min-width: 0; flex: 1; }
.report-download-button { min-width: 132px; height: 42px; padding: 0 17px; flex: 0 0 auto; }
.has-report-tooltip { position: relative; gap: 3px; overflow: visible; }
.report-tooltip-marker { width: 13px; height: 13px; display: inline-grid; place-items: center; flex: 0 0 auto; color: var(--violet); background: var(--violet-soft); border-radius: 50%; font-size: 8px; font-weight: 850; line-height: 1; }
.report-heading-tooltip { position: absolute; z-index: 30; top: calc(100% - 3px); left: 0; width: min(300px, 70vw); padding: 13px 14px; display: none; visibility: hidden; opacity: 0; color: #dbe1ec; background: #172033; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; box-shadow: 0 15px 34px rgba(17,24,39,.24); font-size: 10px; font-weight: 500; letter-spacing: 0; line-height: 1.45; text-align: left; text-transform: none; white-space: normal; transform: translateY(5px); pointer-events: none; }
.report-heading-tooltip-right { right: 0; left: auto; }
.report-heading-tooltip strong, .report-heading-tooltip span, .report-heading-tooltip code { display: block; }
.report-heading-tooltip strong { margin-bottom: 6px; color: #fff; font-size: 11px; }
.report-heading-tooltip span b { display: inline; color: #fff; font-weight: 600; }
.report-heading-tooltip code { margin-top: 8px; padding: 8px 9px; color: #d9ecf7; background: rgba(0,92,161,.22); border-radius: 6px; font-family: inherit; font-size: 9px; font-weight: 750; line-height: 1.45; white-space: normal; }
.report-heading-tooltip code + span { margin-top: 8px; }
.report-heading-tooltip .report-heading-merge-note { margin-top: 8px; padding-top: 8px; color: #aeb9c9; border-top: 1px solid rgba(255,255,255,.1); }
.report-need-tooltip { max-height: min(360px, calc(var(--app-viewport-height) - 40px)); overflow-y: auto; }
.global-report-tooltip-portal.report-need-tooltip { scrollbar-gutter: stable; }
.global-report-tooltip-portal.report-need-tooltip > strong:first-child { position: sticky; z-index: 2; top: -13px; margin: -13px -14px 7px; padding: 12px 14px 7px; background: #172033; }
.report-column-menu-cell { overflow: visible; }
.report-column-menu { position: relative; }
.report-column-menu > summary { list-style: none; }
.report-column-menu > summary::-webkit-details-marker { display: none; }
.report-column-summary { min-height: 42px; display: flex; align-items: center; gap: 5px; color: #87909f; outline: none; cursor: pointer; }
.report-column-summary > .report-column-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-column-summary > b { min-width: 17px; padding: 2px 5px; color: #fff; background: var(--violet); border-radius: 999px; font-size: 8px; text-align: center; }
.report-column-summary > svg { width: 13px; height: 13px; flex: 0 0 auto; color: #9aa2af; }
.report-column-menu.has-filter .report-column-summary, .report-column-menu[open] .report-column-summary { color: var(--violet); }
.report-column-menu[open] .report-column-summary > svg { color: var(--violet); }
.report-column-popover { position: absolute; z-index: 80; top: calc(100% + 5px); left: -8px; width: min(330px, calc(100vw - 32px)); overflow: hidden; color: var(--text); background: #fff; border: 1px solid #dcdfea; border-radius: 11px; box-shadow: 0 18px 48px rgba(20,28,45,.2); font-size: 10px; font-weight: 500; letter-spacing: 0; line-height: 1.4; text-align: left; text-transform: none; white-space: normal; }
.report-column-popover-right { right: -8px; left: auto; }
.report-column-popover > header { min-height: 57px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.report-column-popover > header strong, .report-column-popover > header small { display: block; }
.report-column-popover > header strong { color: var(--ink); font-size: 12px; }
.report-column-popover > header small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.report-column-popover > header > span { padding: 4px 7px; color: var(--violet-dark); background: var(--violet-soft); border-radius: 999px; font-size: 8px; font-weight: 750; white-space: nowrap; }
.report-column-sort-options { padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-bottom: 1px solid var(--line); }
.report-column-sort-options a { min-height: 44px; padding: 7px 9px; display: flex; flex-direction: column; justify-content: center; color: #5b6677; background: #f7f8fa; border: 1px solid transparent; border-radius: 7px; text-decoration: none; }
.report-column-sort-options a:hover, .report-column-sort-options a.is-active { color: var(--violet-dark); background: #eaf4fb; border-color: #cce5f3; }
.report-column-sort-options span, .report-column-sort-options small { display: block; }
.report-column-sort-options span { font-size: 11px; font-weight: 800; }
.report-column-sort-options small { margin-top: 2px; color: #8b93a0; font-size: 8px; }
.report-column-search { position: relative; margin: 9px 9px 4px; display: block; }
.report-column-search svg { position: absolute; left: 10px; top: 50%; width: 14px; height: 14px; color: #929aa7; transform: translateY(-50%); }
.report-column-search input { width: 100%; height: 35px; padding: 0 10px 0 31px; color: var(--ink); background: #f7f8fa; border: 1px solid transparent; border-radius: 7px; outline: none; font-size: 10px; }
.report-column-search input:focus { background: #fff; border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }
.report-column-options { max-height: 245px; padding: 4px 7px 7px; overflow-y: auto; overscroll-behavior: contain; }
.report-column-options > label { min-height: 34px; padding: 0 7px; display: flex; align-items: center; gap: 8px; color: #4f5a6b; border-radius: 7px; cursor: pointer; }
.report-column-options > label:hover { background: #f1f8fc; }
.report-column-options-compact { padding-top: 8px; padding-bottom: 8px; }
.report-column-options-compact > label { min-height: 48px; }
.report-column-options-compact > label > span:last-child strong,
.report-column-options-compact > label > span:last-child small { display: block; }
.report-column-options-compact > label > span:last-child strong { color: var(--ink); font-size: 10px; }
.report-column-options-compact > label > span:last-child small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.report-column-options > label > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.report-column-check { width: 17px; height: 17px; display: grid; place-items: center; flex: 0 0 auto; color: transparent; background: #fff; border: 1px solid #cdd2dc; border-radius: 5px; font-size: 10px; font-weight: 850; }
.report-column-options input:checked + .report-column-check { color: #fff; background: var(--violet); border-color: var(--violet); }
.report-column-options input:focus-visible + .report-column-check { box-shadow: 0 0 0 3px rgba(0,92,161,.16); }
.report-column-empty { padding: 16px 8px; color: var(--muted); text-align: center; }
.report-column-empty[hidden], .report-column-options > label[hidden] { display: none; }
.report-column-popover > footer { min-height: 46px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fafafd; border-top: 1px solid var(--line); }
.report-column-popover > footer button { min-height: 29px; padding: 0 8px; color: #697386; background: #fff; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 9px; font-weight: 700; }
.report-column-popover > footer button:hover { color: var(--violet); border-color: #a5cee5; }
.report-column-popover > footer span { color: #8b93a0; font-size: 8px; }
.report-zero-state { color: inherit; font-size: inherit; font-weight: 500; }
.report-no-sales-state { color: #8992a0; font-size: inherit; font-weight: 400; }
.report-scroll-loader.is-loading > span { background: transparent; box-shadow: none; opacity: 1; animation: spin .7s linear infinite; }

/* The procurement table always fits the desktop panel; horizontal scrolling is not part of the workflow. */
.procurement-report-scroll { overflow-x: hidden; background: #fff; scrollbar-color: #b6bec8 #fff; }
.procurement-report-scroll::-webkit-scrollbar-track { background: #fff; }
.procurement-report-table { width: 100%; min-width: 0; table-layout: fixed; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: clamp(9px, .58vw, 11px); font-weight: 400; }
.procurement-report-table thead { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.procurement-report-table col.report-col-article { width: 9%; }
.procurement-report-table col.report-col-name { width: 18%; }
.procurement-report-table col.report-col-brand { width: 7%; }
.procurement-report-table col.report-col-fob { width: 4%; }
.procurement-report-table col.report-col-sold,
.procurement-report-table col.report-col-sold-kg,
.procurement-report-table col.report-col-available { width: 5.5%; }
.procurement-report-table col.report-col-assembly-russia { width: 6.5%; }
.procurement-report-table col.report-col-transit-stage { width: 4.2%; }
.procurement-report-table col.report-col-in-transit,
.procurement-report-table col.report-col-need-percent,
.procurement-report-table col.report-col-need-kg,
.procurement-report-table col.report-col-carton { width: 5%; }
.procurement-report-table col.report-col-need-units { width: 5.8%; }
.procurement-report-table th,
.procurement-report-table th:nth-child(-n+3) { width: auto; height: 34px; padding: 0 5px; white-space: nowrap; vertical-align: middle; }
.procurement-report-table td,
.procurement-report-table td:nth-child(-n+3) { width: auto; height: 34px; padding: 4px 5px; overflow: hidden; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.procurement-report-table .sortable-heading { min-height: 34px; line-height: 1; white-space: nowrap; }
.procurement-report-table .report-product-name span,
.procurement-report-table .report-product-name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.procurement-report-table .report-sticky-article strong { display: -webkit-box; overflow: hidden; line-height: 1.3; overflow-wrap: anywhere; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.procurement-report-table tbody > tr > td,
.procurement-report-table tbody > tr > td > strong,
.procurement-report-table tbody > tr > td > .report-sales-with-merge > strong,
.procurement-report-table tbody > tr > .report-product-name > span,
.procurement-report-table tbody > tr > .report-need > strong { font-family: inherit; font-size: inherit; font-weight: 400; }
.report-need-scenario-value { display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; }
.report-need-scenario-value > strong { color: var(--ink); font-family: inherit; font-size: inherit; font-weight: 400; }
.report-need-scenario-indicator { position: relative; width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; color: #3c86aa; background: #edf7fb; border: 1px solid #c8e2ee; border-radius: 50%; font-size: 8px; cursor: pointer; }
.report-need-risk-caption, .report-need-early-caption { margin-top: 2px; display: block; font-size: 7.5px; font-weight: 400; white-space: nowrap; }
.report-need-risk-caption { color: #ad6638; }
.report-need-early-caption { color: #2d876c; }
.report-need-scenario-tooltip { width: min(440px, calc(100vw - 42px)); max-height: min(470px, calc(var(--app-viewport-height) - 40px)); overflow-y: auto; text-align: left; }
.report-need-scenario-intro { margin: 4px 0 0; color: #aebdcb; font-size: 8.2px; line-height: 1.45; }
.report-need-baseline-explainer { margin-top: 8px; padding: 7px 9px; display: grid !important; gap: 3px; color: #bdc9d5; background: rgba(255,255,255,.05); border-left: 2px solid #6eaed0; border-radius: 5px; font-size: 7.8px; line-height: 1.45; }
.report-need-baseline-explainer > strong { color: #f2f6f9; font-size: 8.4px; font-weight: 500; }
.report-need-baseline-explainer b { color: #fff; font-weight: 500; white-space: nowrap; }
.report-baseline-heading-tooltip { width: min(430px, calc(100vw - 42px)); max-height: min(430px, calc(var(--app-viewport-height) - 40px)); }
.report-baseline-rule-list { gap: 4px; }
.report-baseline-rule-list > span { color: #bdc9d5; }
.report-baseline-rule-list > span b { margin-right: 3px; color: #8fd0ef; }
.report-baseline-example { margin-top: 7px; padding: 7px 9px; display: grid !important; gap: 3px; color: #dce7ef; background: rgba(31,126,166,.2); border-radius: 5px; line-height: 1.4; }
.report-baseline-example small { color: #8fb0c4; font-size: 7.4px; }
.report-baseline-example b { color: #fff; font-size: 8.1px; font-weight: 500; }
.report-need-scenario-equation { margin-top: 9px; display: flex !important; align-items: stretch; gap: 5px; }
.report-need-scenario-equation > span { min-width: 0; padding: 7px 8px; display: grid !important; flex: 1 1 0; gap: 3px; background: rgba(255,255,255,.055); border-radius: 6px; }
.report-need-scenario-equation > i { display: grid; place-items: center; color: #8191a4; font-size: 10px; font-style: normal; }
.report-need-scenario-equation small { margin: 0; color: #96a9bd; font-size: 7.5px; }
.report-need-scenario-equation b { color: #f4f8fb; font-size: 9.5px; font-weight: 500; }
.report-need-scenario-equation .is-early b { color: #9ee6cb; }
.report-need-scenario-equation .is-result { background: rgba(36,132,103,.2); }
.report-need-risk-equation { margin-top: 7px; padding: 7px 9px; display: grid !important; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 5px; color: #d7dfeb; background: rgba(202,126,34,.16); border-radius: 6px; }
.report-need-risk-equation > span { min-width: 0; display: grid !important; gap: 2px; }
.report-need-risk-equation b, .report-need-risk-equation strong { color: #ffd39c; font-size: 9.2px; font-weight: 500; }
.report-need-risk-equation i { color: #a99376; font-style: normal; }
.report-need-risk-equation small { margin: 0; color: #aa9a86; font-size: 7.1px; line-height: 1.25; }
.report-need-risk-equation em { grid-column: 1 / -1; color: #cbb99f; font-size: 7.7px; font-style: normal; line-height: 1.4; }
.report-need-source-title { display: block; margin-top: 11px; color: #f1f5f9; font-size: 9px; font-weight: 500; }
.report-need-source-note { margin-top: 2px; color: #8798aa; font-size: 7.5px; line-height: 1.4; }
.report-need-source-orders { margin-top: 6px; display: grid !important; gap: 5px; }
.report-need-source-order { padding: 7px 8px; display: grid !important; gap: 4px; border: 1px solid rgba(255,255,255,.08); border-left-width: 2px; border-radius: 6px; background: rgba(255,255,255,.035); }
.report-need-source-order.is-early { border-left-color: rgba(85,199,155,.72); }
.report-need-source-order.is-late { border-left-color: rgba(226,155,73,.75); }
.report-need-source-head { display: flex !important; align-items: baseline; justify-content: space-between; gap: 12px; }
.report-need-source-head b, .report-need-source-head strong { color: #f4f7fa; font-size: 8.7px; font-weight: 500; }
.report-need-source-head strong { white-space: nowrap; }
.report-need-source-formula { display: grid !important; grid-template-columns: 82px minmax(0, 1fr); align-items: baseline; gap: 7px; }
.report-need-source-formula small { margin: 0; color: #8fa1b5; font-size: 7.3px; }
.report-need-source-formula > span { color: #bdc8d4; font-size: 7.8px; }
.report-need-source-formula b { color: #f1f5f9; font-weight: 500; }
.report-need-source-order em { color: #aebbc8; font-size: 7.6px; font-style: normal; line-height: 1.35; }
.report-need-source-order.is-early em { color: #91d7bd; }
.report-need-source-order.is-late em { color: #e2bd8d; }
.report-need-scenario-copy { margin: 8px 0 0; padding-top: 7px; color: #9eacba; border-top: 1px solid rgba(255,255,255,.08); font-size: 7.8px; line-height: 1.45; }

.procurement-report-table .report-product-name-line { width: 100%; min-width: 0; display: flex !important; align-items: center; gap: 7px; overflow: visible; }
.procurement-report-table .report-product-name-line > span:first-child { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.procurement-report-table .repair-kit-assembly-heading, .procurement-report-table .repair-kit-assembly-cell { text-align: left !important; }
.procurement-report-table .repair-kit-assembly-cell { overflow: visible; }
.repair-kit-assembly-status { min-width: 0; min-height: 22px; padding: 0; display: inline-flex !important; flex: 0 0 auto; align-items: center; gap: 4px; overflow: visible !important; border: 0; border-radius: 0; font: inherit; font-size: clamp(8px, .52vw, 9.8px); font-weight: 500; line-height: 1; text-overflow: clip !important; white-space: nowrap; }
.repair-kit-assembly-status.is-ready { color: #087249; }
.repair-kit-assembly-status.is-idle { color: #667789; }
button.repair-kit-assembly-status { background: transparent; cursor: pointer; }
button.repair-kit-assembly-status:hover, button.repair-kit-assembly-status:focus-visible { text-decoration: underline; text-underline-offset: 2px; }
button.repair-kit-assembly-status:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.repair-kit-assembly-status.is-shortage { color: #c63843; }
.repair-kit-assembly-status.is-empty { color: #9a6d16; }
.repair-kit-assembly-chevron { width: 11px; height: 11px; display: block; flex: 0 0 auto; overflow: visible !important; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.repair-kit-assembly-status[aria-expanded="true"] .repair-kit-assembly-chevron { transform: rotate(180deg); }
.repair-kit-need-report-table tr[data-report-row].is-assembly-expanded > td { background: #f2f8fb !important; border-bottom-color: transparent !important; }
.repair-kit-need-report-table tr[data-report-row].is-assembly-expanded > td:first-child { box-shadow: inset 3px 0 #168fbe; }
.procurement-report-table .repair-kit-assembly-detail-row > td { position: relative; height: auto; padding: 0; overflow: visible; background: #fff; border-top: 0; border-bottom: 0; box-shadow: inset 3px 0 #168fbe; line-height: 1.4; text-align: left !important; text-overflow: clip; white-space: normal; }
.repair-kit-assembly-panel { width: 100%; max-width: 100%; margin: 0; box-sizing: border-box; overflow: hidden; color: #405268; background: #fff; border: 0; border-bottom: 1px solid #ccd6df; border-radius: 0; box-shadow: none; }
.repair-kit-assembly-overview { min-height: 78px; display: flex; align-items: stretch; background: #fff; border-top: 1px solid #c7dce6; border-bottom: 1px solid #e2e8ed; }
.repair-kit-assembly-overview > header { width: 270px; min-width: 270px; padding: 11px 20px 11px 14px; display: flex; flex: 0 0 270px; align-items: center; background: #fff; }
.repair-kit-assembly-overview > header > div { min-width: 0; }
.repair-kit-assembly-overview > header span:first-child { color: #277092; font-size: 7.8px; font-weight: 600; letter-spacing: .1em; }
.repair-kit-assembly-overview > header h3 { margin: 3px 0 0; overflow: hidden; color: #102b42; font-size: 13px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.repair-kit-assembly-summary { padding: 0; display: flex; flex: 0 0 auto; align-items: stretch; gap: 0; background: #fff; }
.repair-kit-assembly-summary > span { position: relative; min-width: 145px; padding: 0 20px; display: flex; flex: 0 0 auto; flex-direction: column; justify-content: center; background: transparent; border: 0; border-radius: 0; }
.repair-kit-assembly-summary > .repair-kit-target-summary { min-width: 165px; }
.repair-kit-assembly-summary > span::before { position: absolute; left: 0; top: 50%; width: 1px; height: 36px; background: #e3e9ee; content: ""; transform: translateY(-50%); }
.repair-kit-assembly-summary small, .repair-kit-assembly-summary strong { display: block; }
.repair-kit-assembly-summary small { color: #718092; font-size: 8.5px; }
.repair-kit-assembly-summary strong { margin-top: 2px; color: #102f47; font-size: 15px; font-weight: 500; }
.repair-kit-assembly-summary strong em { color: #6f7f8d; font-size: 9px; font-style: normal; font-weight: 400; }
.repair-kit-target-line { margin-top: 2px; display: flex; align-items: center; gap: 7px; }
.repair-kit-target-line > strong { margin-top: 0; flex: 0 0 auto; }
.repair-kit-target-info.report-merge-indicator { width: 17px; height: 17px; color: #277798; background: #edf7fb; border: 1px solid #cfe5ef; border-radius: 50%; cursor: pointer; opacity: 1; }
.repair-kit-target-info.report-merge-indicator:hover, .repair-kit-target-info.report-merge-indicator:focus { color: #075d86; background: #dff1f8; border-color: #9fcddd; }
.repair-kit-target-info-glyph { font-size: 9px; font-weight: 500; line-height: 1; }
.repair-kit-target-tooltip.report-merge-tooltip { width: 340px; padding: 13px; color: #dbe5ed; font-size: 8.8px; font-weight: 400; line-height: 1.4; }
.repair-kit-target-tooltip-head { display: block !important; }
.repair-kit-target-tooltip-head > small { color: #74b9da; font-size: 7.2px; letter-spacing: .08em; text-transform: uppercase; }
.repair-kit-target-tooltip .report-merge-tooltip-title { margin-top: 2px; padding-right: 12px; font-size: 11px; font-weight: 500; }
.repair-kit-target-context { margin: 7px 0 0; color: #afbdca; font-size: 8.4px; font-weight: 400; line-height: 1.45; }
.repair-kit-target-equation { margin-top: 9px; display: block !important; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; }
.repair-kit-target-equation > span { min-height: 29px; padding: 5px 8px; display: flex !important; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.035); }
.repair-kit-target-equation > span + span { border-top: 1px solid rgba(255,255,255,.075); }
.repair-kit-target-equation > .is-result { background: rgba(47,145,190,.16); }
.repair-kit-target-tooltip small { margin: 0; color: #9eafbf; font-size: 7.7px; font-weight: 400; line-height: 1.3; }
.repair-kit-target-equation strong { margin: 0; color: #f6f9fb; font-size: 8.8px; font-weight: 500; white-space: nowrap; }
.repair-kit-target-base-formula { margin-top: 6px; padding: 6px 8px; display: block; color: #cae9f6; background: rgba(5,93,134,.18); border-radius: 6px; font-family: inherit; font-size: 8.5px; font-weight: 500; line-height: 1.35; white-space: normal; }
.repair-kit-target-rounding { margin-top: 8px; display: block !important; overflow: hidden; background: rgba(40,151,111,.1); border: 1px solid rgba(69,184,142,.2); border-radius: 8px; }
.repair-kit-target-rounding > span { min-width: 0; padding: 7px 8px; display: block !important; }
.repair-kit-target-rounding > .is-final { min-width: 0; background: rgba(40,151,111,.13); }
.repair-kit-target-rounding small, .repair-kit-target-rounding strong { display: block; }
.repair-kit-target-rounding small { color: #8bcbb2; }
.repair-kit-target-rounding strong { margin-top: 3px; color: #edf9f4; font-size: 8.5px; font-weight: 500; line-height: 1.3; white-space: normal; }
.repair-kit-target-summary-text { margin: 8px 0 0; color: #afbdca; font-size: 8.2px; font-weight: 400; line-height: 1.45; }
.repair-kit-target-summary-text strong { display: inline; color: #fff; font-size: inherit; font-weight: 500; }
.repair-kit-assembly-summary > .is-incoming strong { color: #157252; font-size: 10px; }
.repair-kit-assembly-components { width: 100%; padding: 0 0 12px; box-sizing: border-box; }
.repair-kit-assembly-component { min-height: 50px; display: grid; grid-template-columns: minmax(260px, 2.2fr) repeat(5, minmax(85px, .72fr)) minmax(130px, 1fr); align-items: center; border-bottom: 1px solid #e8edf1; }
.repair-kit-assembly-component:last-child { border-bottom: 0; }
.repair-kit-assembly-component > span { min-width: 0; padding: 7px 9px; display: block; }
.repair-kit-assembly-component > span + span { border-left: 1px solid #edf1f4; }
.repair-kit-assembly-component strong, .repair-kit-assembly-component small { display: block; }
.repair-kit-assembly-component strong { overflow: hidden; color: #263f54; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.repair-kit-assembly-component small { margin-top: 3px; color: #82909e; font-size: 8px; font-weight: 400; line-height: 1.3; }
.repair-kit-assembly-component.is-heading { min-height: 31px; color: #728092; background: #f6f8fa; border-bottom-color: #dfe6eb; font-size: 7.8px; font-weight: 500; letter-spacing: .035em; text-transform: uppercase; }
.repair-kit-assembly-component.is-heading > span { padding-top: 5px; padding-bottom: 5px; }
.repair-kit-assembly-component.is-shortage { background: #fff; }
.repair-kit-assembly-component-name strong { font-size: 10.5px; }
.repair-kit-assembly-deficit strong { color: #17805a; }
.repair-kit-assembly-component.is-shortage .repair-kit-assembly-deficit strong { color: #c33b46; font-size: 11px; }
.repair-kit-assembly-component.is-shortage .repair-kit-assembly-deficit small { color: #a65d63; }
.repair-kit-assembly-empty { min-height: 105px; padding: 18px; display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; }
.repair-kit-assembly-empty > span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: #8a681e; background: #fff6de; border-radius: 50%; font-size: 15px; }
.repair-kit-assembly-empty strong { color: #263e52; font-size: 11px; font-weight: 500; }
.repair-kit-assembly-empty p { margin: 4px 0 0; color: #7f8a98; font-size: 8.5px; }

@media (max-width: 1450px) {
    .procurement-report-table .report-product-name-line { gap: 4px; }
    .repair-kit-assembly-status { font-size: 8px; }
    .repair-kit-assembly-overview > header { width: 240px; min-width: 240px; flex-basis: 240px; }
    .repair-kit-assembly-summary > span { min-width: 120px; padding-right: 14px; padding-left: 14px; }
    .repair-kit-assembly-summary > .repair-kit-target-summary { min-width: 155px; }
    .repair-kit-assembly-component { grid-template-columns: minmax(200px, 1.8fr) repeat(5, minmax(68px, .68fr)) minmax(108px, .9fr); }
}

/* Two focused views keep every value readable without a horizontal scrollbar. */
.procurement-report-table[data-report-table-mode="main"] col.report-col-request { width: 3%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-article { width: 9%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-name { width: 22%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-brand { width: 8%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-fob { width: 5%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-sold { width: 7%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-sold-kg { width: 6%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-available { width: 7%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-in-transit { width: 7%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-need-percent { width: 7%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-need-kg { width: 6%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-need-units { width: 7%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-carton { width: 6%; }
.request-quantity-report-table[data-report-table-mode="main"] col.report-col-name { width: 25%; }
.request-quantity-report-table[data-report-table-mode="main"] col.report-col-brand { width: 9%; }
.request-quantity-report-table[data-report-table-mode="main"] col.report-col-in-requests { width: 10%; }
.gost-report-table[data-report-table-mode="main"] col.report-col-gost { width: 10%; }
.gost-report-table[data-report-table-mode="main"] col.report-col-name { width: 19%; }
.gost-report-table[data-report-table-mode="main"] col.report-col-positions { width: 6%; }
.gost-report-table[data-report-table-mode="main"] col.report-col-in-requests { width: 8%; }

.procurement-report-table[data-report-table-mode="transit"] col.report-col-request { width: 3%; }
.procurement-report-table[data-report-table-mode="transit"] col.report-col-article { width: 10%; }
.procurement-report-table[data-report-table-mode="transit"] col.report-col-name { width: 24%; }
.procurement-report-table[data-report-table-mode="transit"] col.report-col-brand { width: 7%; }
.procurement-report-table[data-report-table-mode="transit"] col.report-col-fob { width: 5%; }
.procurement-report-table[data-report-table-mode="transit"] col.report-col-transit-stage { width: 7%; }
.procurement-report-table[data-report-table-mode="transit"] col.report-col-in-transit { width: 8%; }
.request-quantity-report-table[data-report-table-mode="transit"] col.report-col-name { width: 28%; }
.request-quantity-report-table[data-report-table-mode="transit"] col.report-col-brand { width: 9%; }
.request-quantity-report-table[data-report-table-mode="transit"] col.report-col-in-requests { width: 10%; }
.gost-report-table[data-report-table-mode="transit"] col.report-col-gost { width: 10%; }
.gost-report-table[data-report-table-mode="transit"] col.report-col-name { width: 20%; }
.gost-report-table[data-report-table-mode="transit"] col.report-col-positions { width: 6%; }
.gost-report-table[data-report-table-mode="transit"] col.report-col-in-requests { width: 8%; }

.report-transit-indicator { color: #55788d; opacity: .82; }
.report-transit-tooltip { width: min(460px, calc(100vw - 42px)); max-height: min(470px, calc(var(--app-viewport-height) - 40px)); overflow-y: auto; }
.report-tooltip-right { right: -5px; left: auto; }
.report-transit-intro { margin: 4px 0 0; color: #aab8c7; font-size: 8px; line-height: 1.45; }
.report-transit-decision-summary { margin-top: 9px; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.report-transit-decision-summary > span { min-width: 0; padding: 7px 8px; display: grid !important; gap: 2px; border: 1px solid rgba(255,255,255,.07); border-radius: 6px; background: rgba(255,255,255,.04); }
.report-transit-decision-summary small { margin: 0; color: #94a5b7; font-size: 7.4px; }
.report-transit-decision-summary b { color: #eef4f8; font-size: 9.5px; font-weight: 500; }
.report-transit-decision-summary em { color: #8495a7; font-size: 7px; font-style: normal; }
.report-transit-decision-summary .is-total { background: rgba(49,105,141,.16); }
.report-transit-decision-summary .is-overdue { border-color: rgba(220,146,69,.25); background: rgba(188,113,43,.13); }
.report-transit-decision-summary .is-overdue b { color: #f3c28c; }
.report-transit-decision-summary .is-later, .report-transit-decision-summary .is-excluded { border-color: rgba(205,142,69,.18); }
.report-transit-overdue-note { margin-top: 6px; padding: 7px 8px; display: grid !important; gap: 2px; border-radius: 6px; color: #d9c0a0; background: rgba(190,107,47,.14); }
.report-transit-overdue-note b { color: #ffc18f; font-size: 8.4px; font-weight: 500; }
.report-transit-overdue-note span { font-size: 7.5px; line-height: 1.4; }
.report-transit-section-title { display: block; margin-top: 11px; color: #f0f4f8; font-size: 8.8px; font-weight: 500; }
.report-transit-stage-list { margin-top: 5px; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 12px; }
.report-transit-stage-list > span { min-width: 0; min-height: 23px; display: flex !important; align-items: center; justify-content: space-between; gap: 9px; border-bottom: 1px solid rgba(255,255,255,.07); }
.report-transit-stage-list small { margin: 0; color: #9cabb9; font-size: 7.6px; }
.report-transit-stage-list b { color: #edf3f7; font-size: 8.5px; font-weight: 500; white-space: nowrap; }
.report-transit-rule-note { margin-top: 2px; color: #8394a5; font-size: 7.4px; line-height: 1.4; }
.report-transit-orders { margin-top: 6px; display: grid !important; gap: 6px; }
.report-transit-order { padding: 8px; display: grid !important; gap: 4px; border: 1px solid rgba(255,255,255,.08); border-left-width: 2px; border-radius: 6px; background: rgba(255,255,255,.035); }
.report-transit-order.is-early { border-left-color: rgba(82,192,150,.7); }
.report-transit-order.is-late, .report-transit-order.is-overdue { border-left-color: rgba(220,146,69,.75); }
.report-transit-order.is-missing_ready_date, .report-transit-order.is-missing_fob { border-left-color: rgba(210,119,75,.7); }
.report-transit-order-head { display: flex !important; align-items: baseline; justify-content: space-between; gap: 10px; }
.report-transit-order-head b, .report-transit-order-head strong { color: #f4f7fa; font-size: 8.8px; font-weight: 500; }
.report-transit-order-status { display: flex !important; align-items: baseline; gap: 6px; }
.report-transit-order-status b { color: #b7c4d1; font-size: 7.8px; font-weight: 500; }
.report-transit-order-status small { margin: 0; color: #7f90a2; font-size: 7.2px; }
.report-transit-date-formula { display: grid !important; grid-template-columns: 78px minmax(0, 1fr); gap: 7px; }
.report-transit-date-formula small { margin: 0; color: #8799ab; font-size: 7.2px; }
.report-transit-date-formula > span { color: #b9c5d1; font-size: 7.7px; }
.report-transit-date-formula b { color: #edf3f7; font-weight: 500; }
.report-transit-date-formula.is-missing > span { color: #d4ac84; }
.report-transit-order-result { margin-top: 1px; padding: 5px 6px; display: grid !important; gap: 1px; border-radius: 5px; background: rgba(44,105,139,.13); }
.report-transit-order-result b { color: #dcecf5; font-size: 7.9px; font-weight: 500; }
.report-transit-order-result small { margin: 0; color: #94a8b8; font-size: 7.2px; line-height: 1.35; }
.report-transit-order.is-early .report-transit-order-result { background: rgba(32,129,94,.14); }
.report-transit-order.is-early .report-transit-order-result b { color: #9ee6cb; }
.report-transit-order.is-late .report-transit-order-result, .report-transit-order.is-overdue .report-transit-order-result { background: rgba(188,113,43,.13); }
.report-transit-order.is-late .report-transit-order-result b, .report-transit-order.is-overdue .report-transit-order-result b { color: #f3c28c; }
.report-transit-fallback { margin-top: 9px; padding: 8px; display: grid !important; gap: 3px; border-radius: 6px; background: rgba(255,255,255,.06); }
.report-transit-fallback b { color: #eef4f8; font-size: 8.8px; font-weight: 500; }
.report-transit-fallback small { margin: 0; color: #9cabb9; font-size: 7.7px; line-height: 1.4; }
.report-transit-accept-form { margin-top: 2px; }
.report-transit-accept-form button { min-height: 25px; padding: 0 8px; color: #dcecf7; background: rgba(46,126,174,.18); border: 1px solid rgba(118,180,216,.3); border-radius: 6px; font: inherit; font-size: 7.6px; cursor: pointer; }
.report-transit-accept-form button:hover { background: rgba(46, 126, 174, .3); }

/* 1920×1080 is the baseline procurement workspace. */
@media (min-width: 1181px) {
    .sidebar { width: 196px; }
    .workspace { margin-left: 196px; }
    .report-content-shell { max-width: none; padding-right: 20px; padding-left: 20px; }
}

.procurement-report-table col.report-col-article { width: 7.5%; }
.procurement-report-table col.report-col-name { width: 15%; }
.procurement-report-table col.report-col-brand { width: 6%; }
.procurement-report-table col.report-col-fob { width: 3.5%; }
.procurement-report-table col.report-col-sold,
.procurement-report-table col.report-col-sold-kg,
.procurement-report-table col.report-col-available { width: 5.5%; }
.procurement-report-table col.report-col-transit-stage { width: 4.8%; }
.procurement-report-table col.report-col-in-transit { width: 5.5%; }
.procurement-report-table col.report-col-need-percent,
.procurement-report-table col.report-col-need-kg { width: 5.2%; }
.procurement-report-table col.report-col-need-units { width: 6.3%; }
.procurement-report-table col.report-col-carton { width: 6%; }
.procurement-report-table .report-header-groups th[rowspan] { height: 70px; }
.procurement-report-table .report-header-groups th[rowspan] .sortable-heading { min-height: 70px; }
.procurement-report-table .report-column-group { height: 28px; color: #606a7a; background: #f1f2f7; border-right: 1px solid #e1e4eb; border-left: 1px solid #e1e4eb; font-size: 9px; letter-spacing: .08em; text-align: center; }
.procurement-report-table .report-column-group span { margin-left: 5px; color: #8b94a2; font-size: 8px; }
.procurement-report-table .report-column-group-product { color: #556171; background: #f3f4f7; }
.procurement-report-table .report-column-group-stock { color: #486b87; background: #f4f8fb; border-color: #e4edf3; }
.procurement-report-table .report-column-group-need { color: #376e8c; background: #f5f9fc; border-color: #e2eef5; }
.procurement-report-table .report-column-group-package { color: #856638; background: #fcf9f3; border-color: #eee7db; }
.procurement-report-table .report-header-details th { height: 34px; padding: 0 5px; overflow: visible; background: #f8f9fc; border-top: 1px solid #e7e9ef; vertical-align: middle; }
.procurement-report-table .report-header-details th:not(.report-request-header) { color: #778294; font-size: 8px; font-weight: 500; letter-spacing: .025em; line-height: 1; }
.procurement-report-table .report-header-details .sortable-heading,
.procurement-report-table .report-header-details .report-column-summary { width: 100%; min-width: 0; min-height: 34px; height: 34px; justify-content: flex-start; gap: 3px; font: inherit; font-size: inherit; line-height: 1; text-align: left; white-space: nowrap; }
.procurement-report-table .report-header-details .sortable-heading { width: 100%; min-width: 0; height: 34px; overflow: hidden; justify-content: flex-start; gap: 3px; font: inherit; font-size: inherit; line-height: 1; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.procurement-report-table .report-header-details .sortable-heading.has-report-tooltip { overflow: visible; }
.procurement-report-table .report-header-details .report-column-title { min-width: 0; min-height: 0; height: auto; display: block; overflow: hidden; flex: 0 1 auto; font: inherit; font-size: inherit; line-height: 1; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.procurement-report-table .report-header-details .report-column-summary > svg { width: 10px; height: 10px; }
.procurement-report-table .report-header-details .report-tooltip-marker { width: 10px; height: 10px; font-size: 6.5px; }
.procurement-report-table .report-header-details .report-column-summary > b { min-width: 14px; padding: 2px 4px; font-size: 7px; }
.procurement-report-table .report-header-details .report-request-header { padding: 0; text-align: center; }
.procurement-report-table .report-header-groups th:first-child, .procurement-report-table .report-header-details th:first-child { position: static; left: auto; z-index: auto; }
.procurement-report-table tbody td.numeric { text-align: left !important; }

/* Desktop reading lanes: values stay left-aligned, while structure is carried by
   aligned headings, quiet group tinting and stronger boundaries between domains. */
@media (min-width: 921px) {
    .procurement-report-table .report-header-details th { padding-right: 6px; padding-left: 6px; }
    .procurement-report-table .report-header-details .sortable-heading,
    .procurement-report-table .report-header-details .report-column-summary { justify-content: flex-start; text-align: left; }
    .procurement-report-table tbody td,
    .procurement-report-table tbody td:nth-child(-n+3) { padding-right: 6px; padding-left: 6px; transition: background-color .12s, border-color .12s; }

    .procurement-report-table .report-header-details th + th,
    .procurement-report-table tbody td + td { border-left: 1px solid rgba(220, 224, 232, .5); }

    .procurement-report-table [data-column-key="sold"],
    .procurement-report-table [data-column-key="transit_signed"],
    .procurement-report-table [data-column-key="need_percent"],
    .procurement-report-table [data-column-key="carton"] { border-left-color: #d8dde6; }

    .procurement-report-table .report-header-details th[data-column-group="product"] { background: #f8f9fb; }
    .procurement-report-table .report-header-details th[data-column-group="stock"] { background: #f7fafc; }
    .procurement-report-table .report-header-details th[data-column-group="transit"] { background: #f9fafb; }
    .procurement-report-table .report-header-details th[data-column-group="need"] { background: #fafcfd; }
    .procurement-report-table .report-header-details th[data-column-group="package"] { background: #fdfbf7; }

    .procurement-report-table tbody tr:nth-child(odd) td[data-column-group="product"] { background: #fff; }
    .procurement-report-table tbody tr:nth-child(even) td[data-column-group="product"] { background: #fafbfd; }
    .procurement-report-table tbody tr:nth-child(odd) td[data-column-group="stock"] { background: #fcfdfe; }
    .procurement-report-table tbody tr:nth-child(even) td[data-column-group="stock"] { background: #f9fbfc; }
    .procurement-report-table tbody tr:nth-child(odd) td[data-column-group="transit"] { background: #fff; }
    .procurement-report-table tbody tr:nth-child(even) td[data-column-group="transit"] { background: #fafbfc; }
    .procurement-report-table tbody tr:nth-child(odd) td[data-column-group="need"] { background: #fbfdff; }
    .procurement-report-table tbody tr:nth-child(even) td[data-column-group="need"] { background: #fafcfd; }
    .procurement-report-table tbody tr:nth-child(odd) td[data-column-group="package"] { background: #fffefb; }
    .procurement-report-table tbody tr:nth-child(even) td[data-column-group="package"] { background: #fcfaf6; }

    .procurement-report-table tbody tr:hover td:nth-child(n) { background: #eef2f8; border-bottom-color: #d7dce6; }
    .procurement-report-table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--violet); }
}

/* User-configurable report columns. These rules follow semantic column groups,
   so hiding or moving a column does not break the reading lanes. */
.procurement-table-toolbar { align-items: flex-end; }
.report-table-actions { display: flex; align-items: flex-end; gap: 8px; }
.report-mode-switcher { height: 42px; padding: 3px; display: flex; align-items: stretch; flex: 0 0 auto; gap: 2px; background: #f1f4f7; border: 1px solid #e0e5eb; border-radius: 9px; }
.report-mode-switcher button { min-width: 116px; padding: 0 12px; color: #6b7584; background: transparent; border: 0; border-radius: 6px; font-family: inherit; font-size: 9px; font-weight: 500; cursor: pointer; }
.report-mode-switcher button:hover { color: #245f82; background: rgba(255,255,255,.65); }
.report-mode-switcher button.is-active { color: #075f96; background: #fff; box-shadow: 0 1px 4px rgba(24,48,68,.1); }
.report-view-settings { position: relative; }
.report-view-settings > summary { min-height: 42px; list-style: none; cursor: pointer; }
.report-view-settings > summary::-webkit-details-marker { display: none; }
.report-view-settings-popover { position: absolute; z-index: 30; right: 0; top: calc(100% + 8px); width: 330px; overflow: hidden; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 11px; box-shadow: 0 18px 50px rgba(20, 27, 43, .16); }
.report-view-settings-popover > header { padding: 13px 14px 11px; border-bottom: 1px solid var(--line); }
.report-view-settings-popover > header strong,
.report-view-settings-popover > header small { display: block; }
.report-view-settings-popover > header strong { font-size: 12px; }
.report-view-settings-popover > header small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.report-view-column-list { max-height: min(460px, calc(var(--app-viewport-height) - 250px)); padding: 6px; overflow-y: auto; }
.report-view-column-list > div { min-height: 36px; padding: 3px 5px 3px 7px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 7px; }
.report-view-column-list > div:hover { background: #f6f9fb; }
.report-view-column-list label { min-width: 0; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.report-view-column-list label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.report-view-column-list label span { width: 17px; height: 17px; display: grid; place-items: center; flex: 0 0 auto; color: transparent; background: #fff; border: 1px solid #cdd2dc; border-radius: 5px; font-size: 10px; }
.report-view-column-list label input:checked + span { color: #fff; background: var(--violet); border-color: var(--violet); }
.report-view-column-list label strong { overflow: hidden; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.report-view-column-list > div > div { display: flex; gap: 3px; }
.report-view-column-list button { width: 27px; height: 27px; color: #667085; background: #fff; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.report-view-column-list button:hover { color: var(--violet); border-color: #b8d9eb; }
.report-view-settings-popover > footer { min-height: 45px; padding: 8px 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fafafd; border-top: 1px solid var(--line); }
.report-view-settings-popover > footer button { color: var(--violet-dark); background: transparent; border: 0; font-size: 9px; font-weight: 750; cursor: pointer; }
.report-view-settings-popover > footer span { color: var(--muted); font-size: 8px; }

.procurement-report-table [hidden] { display: none !important; }
.gost-report-table col.report-col-gost { width: 8%; }
.gost-report-table col.report-col-name { width: 14%; }
.gost-report-table col.report-col-positions { width: 5.3%; }
.gost-merge-strip { grid-template-columns: minmax(0, 1fr) minmax(150px, .22fr); }
.gost-merge-stat { padding: 10px 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; color: #596578; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.gost-merge-stat span { font-size: 8px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.gost-merge-stat b { grid-row: 1 / 3; grid-column: 2; color: var(--amber); font-size: 18px; }
.gost-merge-stat small { font-size: 8px; }
.gost-merge-strip > .gost-merge-stat { position: relative; padding: 10px 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; color: #596578; text-decoration: none; }
.gost-merge-strip > .gost-merge-stat span { padding: 0; color: inherit; }
.gost-merge-strip > .gost-merge-stat b { position: static; grid-row: 1 / 3; grid-column: 2; color: var(--amber); font-size: 18px; }
.gost-merge-strip > .gost-merge-stat small { margin: 0; color: var(--muted); }
.gost-merge-strip > .gost-merge-stat:hover { color: var(--violet); background: #f7fbfd; border-color: #bdd9e8; box-shadow: 0 8px 20px rgba(20,74,104,.08); }
.gost-missing-context { min-height: 40px; padding: 8px 15px; display: flex; align-items: center; gap: 18px; color: #788394; background: #fafbfd; border-bottom: 1px solid var(--line); font-size: 8.5px; }
.gost-missing-context strong { margin-left: auto; color: #9a681d; }
.gost-missing-table { min-width: 1320px; }
.gost-missing-table th:nth-child(1) { width: 28%; }.gost-missing-table th:nth-child(2) { width: 13%; }.gost-missing-table th:nth-child(3) { width: 11%; }.gost-missing-table th:nth-child(4) { width: 6%; }.gost-missing-table th:nth-child(5) { width: 10%; }.gost-missing-table th:nth-child(6) { width: 10%; }.gost-missing-table th:nth-child(7) { width: 7%; }.gost-missing-table th:nth-child(8) { width: 7%; }.gost-missing-table th:nth-child(9) { width: 12%; }
.gost-missing-product strong, .gost-missing-product small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gost-missing-product small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.report-mixed-value { color: var(--amber); font-weight: 700; }

.repair-page-heading { align-items: center; }
.repair-construction-badge { padding: 7px 10px; color: #647186; background: #eef2f6; border: 1px solid #dce2e8; border-radius: 999px; font-size: 8px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.repair-workspace-placeholder { overflow: hidden; }
.repair-workspace-placeholder > header { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.repair-workspace-placeholder > header span { color: #6f7b8d; font-size: 8px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.repair-workspace-placeholder > header h2 { margin: 5px 0 0; font-size: 16px; }
.repair-workspace-placeholder > header p { margin: 0; padding: 7px 10px; color: #8a6c3d; background: #fff8eb; border: 1px solid #f0dfbd; border-radius: 7px; font-size: 8px; }
.repair-placeholder-grid { padding: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.repair-placeholder-grid article { min-height: 130px; padding: 16px; background: linear-gradient(145deg, #fbfcfd, #f5f8fa); border: 1px solid #e0e5ea; border-radius: 10px; }
.repair-placeholder-grid article > span { width: 25px; height: 25px; display: grid; place-items: center; color: #005ca1; background: #e6f3fa; border-radius: 7px; font-size: 9px; font-weight: 800; }
.repair-placeholder-grid article strong { margin-top: 15px; display: block; color: var(--ink); font-size: 11px; }
.repair-placeholder-grid article p { margin: 7px 0 0; color: #778295; font-size: 9px; line-height: 1.55; }
.repair-workspace-placeholder > footer { margin: 0 18px 18px; min-height: 72px; padding: 12px 15px; display: flex; align-items: center; gap: 12px; background: #f8fafb; border: 1px dashed #ccd5dd; border-radius: 9px; }
.repair-workspace-placeholder > footer > span { width: 30px; height: 30px; display: grid; place-items: center; color: #58a6d0; background: #eaf5fb; border-radius: 50%; font-size: 18px; }
.repair-workspace-placeholder > footer strong, .repair-workspace-placeholder > footer small { display: block; }
.repair-workspace-placeholder > footer strong { color: var(--ink); font-size: 10px; }
.repair-workspace-placeholder > footer small { margin-top: 4px; color: #7c8798; font-size: 8px; }
@media (max-width: 760px) {
    .gost-merge-strip { grid-template-columns: 1fr; }
    .gost-missing-context { align-items: flex-start; flex-direction: column; gap: 5px; }
    .gost-missing-context strong { margin-left: 0; }
    .repair-placeholder-grid { grid-template-columns: 1fr; }
    .repair-workspace-placeholder > header { align-items: flex-start; flex-direction: column; }
}
.procurement-report-table col.report-col-request { width: 2.6%; }
.procurement-report-table col.report-col-article { width: 6.5%; }
.procurement-report-table col.report-col-name { width: 15.3%; }
.procurement-report-table col.report-col-brand { width: 5.5%; }
.procurement-report-table col.report-col-fob { width: 3.2%; }
.procurement-report-table col.report-col-sold,
.procurement-report-table col.report-col-sold-kg,
.procurement-report-table col.report-col-available { width: 5.2%; }
.procurement-report-table col.report-col-transit-stage { width: 4.3%; }
.procurement-report-table col.report-col-in-transit { width: 5%; }
.procurement-report-table col.report-col-need-percent,
.procurement-report-table col.report-col-need-kg { width: 4.7%; }
.procurement-report-table col.report-col-need-units { width: 5.8%; }
.procurement-report-table col.report-col-carton { width: 5.3%; }
.procurement-report-table .report-request-header { width: auto; height: 36px; padding: 0 !important; color: #8a92a2; background: #f8f9fb; border-right: 1px solid #e4e7ed; font-size: 14px; line-height: 1; text-align: center; vertical-align: middle; }
.procurement-report-table .report-request-cell { position: relative; width: auto !important; overflow: visible; padding: 0 4px; text-align: center; }
.procurement-report-table .report-sticky-article { position: static; left: auto; z-index: auto; box-shadow: none; }
.report-request-picker { position: relative; display: inline-block; }
.report-request-picker > summary { width: 22px; height: 22px; display: grid; place-items: center; list-style: none; color: #3a8764; background: #f0faf5; border: 1px solid #cce8da; border-radius: 50%; font-size: 14px; line-height: 1; cursor: pointer; }
.report-request-picker > summary::-webkit-details-marker { display: none; }
.report-request-picker > summary:hover,
.report-request-picker[open] > summary { color: #fff; background: #319468; border-color: #319468; }
.report-request-picker[open] { z-index: 28; }
.report-request-popover { position: fixed; z-index: 28; left: 0; top: 0; width: 275px; padding: 13px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 16px 42px rgba(22, 30, 48, .18); text-align: left; }
.report-request-popover > strong,
.report-request-popover > small { display: block; }
.report-request-popover > strong { font-size: 11px; }
.report-request-popover > small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.report-request-popover form { margin-top: 11px; display: grid; gap: 8px; }
.report-request-popover label span { display: block; margin-bottom: 5px; color: #667085; font-size: 9px; font-weight: 700; }
.report-request-popover select { width: 100%; height: 35px; padding: 0 9px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 7px; font-size: 10px; }
.report-request-popover button { height: 34px; color: #fff; background: var(--violet); border: 0; border-radius: 7px; font-size: 10px; font-weight: 750; cursor: pointer; }
.report-request-popover p { margin: 11px 0 7px; color: var(--muted); font-size: 9px; }
.report-request-popover a { color: var(--violet); font-size: 9px; font-weight: 750; }
.procurement-report-table .report-column-group-transit { color: #687180; background: #f7f8fa; border-color: #e8eaee; }

/* Compact single-tier report header and balanced planning columns. */
.procurement-report-table[data-report-table-mode="main"] col.report-col-need-percent { width: 5.6%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-need-kg { width: 5.8%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-need-units { width: 6.8%; }
.procurement-report-table[data-report-table-mode="main"] col.report-col-carton { width: 6.8%; }
.request-quantity-report-table[data-report-table-mode="main"] col.report-col-name { width: 14%; }
.request-quantity-report-table[data-report-table-mode="main"] col.report-col-brand { width: 5.2%; }
.request-quantity-report-table[data-report-table-mode="main"] col.report-col-in-requests { width: 5.5%; }
.gost-report-table[data-report-table-mode="main"] col.report-col-gost { width: 7.5%; }
.gost-report-table[data-report-table-mode="main"] col.report-col-name { width: 12%; }
.gost-report-table[data-report-table-mode="main"] col.report-col-positions { width: 4.5%; }
.gost-report-table[data-report-table-mode="main"] col.report-col-in-requests { width: 5.5%; }
.repair-kit-need-report-table[data-report-table-mode="main"] col.report-col-article { width: 5.5%; }
.repair-kit-need-report-table[data-report-table-mode="main"] col.report-col-name { width: 8%; }
.repair-kit-need-report-table[data-report-table-mode="main"] col.report-col-assembly { width: 10%; }
.repair-kit-need-report-table[data-report-table-mode="main"] col.report-col-assembly-russia { width: 7%; }
.repair-kit-assembly-russia-heading { text-align: left !important; }
.repair-kit-need-report-table[data-report-table-mode="transit"] col.report-col-name { width: 10%; }
.repair-kit-need-report-table[data-report-table-mode="transit"] col.report-col-assembly { width: 11%; }
.procurement-report-table .report-header-details th[data-column-group="sold_weight"] { background: #faf9fb; }
.procurement-report-table tbody tr:nth-child(odd) td[data-column-group="sold_weight"] { background: #fff; }
.procurement-report-table tbody tr:nth-child(even) td[data-column-group="sold_weight"] { background: #fbfbfc; }

@media (min-width: 921px) {
    .procurement-report-table .report-header-details th[data-column-key],
    .procurement-report-table tbody td[data-column-key] { border-left: 1px solid rgba(220, 224, 232, .5) !important; }
    .procurement-report-table .report-header-details th.is-report-group-start,
    .procurement-report-table tbody td.is-report-group-start { border-left-color: #cfd5df !important; }
    .procurement-report-table .report-header-details th[data-column-group="product"] { background: #fafbfc; }
    .procurement-report-table .report-header-details th[data-column-group="stock"] { background: #f7fafc; }
    .procurement-report-table .report-header-details th[data-column-group="transit"] { background: #fafbfc; }
    .procurement-report-table .report-header-details th[data-column-group="need"] { background: #f8fcfe; }
    .procurement-report-table .report-header-details th[data-column-group="package"] { background: #fdfbf7; }
    .procurement-report-table tbody tr:nth-child(odd) td[data-column-group="product"] { background: #fff; }
    .procurement-report-table tbody tr:nth-child(even) td[data-column-group="product"] { background: #fbfcfd; }
    .procurement-report-table tbody tr:nth-child(odd) td[data-column-group="stock"] { background: #fcfdfe; }
    .procurement-report-table tbody tr:nth-child(even) td[data-column-group="stock"] { background: #fafcfd; }
    .procurement-report-table tbody tr:nth-child(odd) td[data-column-group="transit"] { background: #fff; }
    .procurement-report-table tbody tr:nth-child(even) td[data-column-group="transit"] { background: #fbfcfd; }
    .procurement-report-table tbody tr:nth-child(odd) td[data-column-group="need"] { background: #fefefe; }
    .procurement-report-table tbody tr:nth-child(even) td[data-column-group="need"] { background: #f8fcfe; }
    .procurement-report-table tbody tr:nth-child(odd) td[data-column-group="package"] { background: #fffefc; }
    .procurement-report-table tbody tr:nth-child(even) td[data-column-group="package"] { background: #fdfbf8; }
    .procurement-report-table tbody tr:hover td[data-column-group],
    .procurement-report-table tbody tr:hover .report-request-cell { background: #f0f3f8 !important; }
}

/* Only the upper heading tier separates the major report blocks. The detail
   heading and data rows remain unboxed and visually quiet. */
@media (min-width: 921px) {
    .procurement-report-table .report-header-groups { border-bottom: 1px solid #d9dee6; }
    .procurement-report-table .report-column-group {
        border-right: 1px solid #cbd3de !important;
        border-left: 0 !important;
        box-shadow: none !important;
    }
    .procurement-report-table .report-column-group:last-child {
        border-right: 0 !important;
    }
    .procurement-report-table .report-header-details th[data-column-key] {
        border-right: 0 !important;
        border-left: 0 !important;
        box-shadow: none !important;
    }
    .procurement-report-table tbody td[data-column-key] {
        border-right: 0 !important;
        border-left: 1px solid rgba(220, 224, 232, .5) !important;
        box-shadow: none !important;
    }
    .procurement-report-table .report-header-details th[data-column-key] {
        border-bottom: 1px solid #d9dee6 !important;
    }
    .procurement-report-table .report-header-details th.is-report-group-start {
        border-left: 1px solid #cbd3de !important;
    }
    .procurement-report-table tbody td.is-report-group-start {
        border-left-color: #cfd5df !important;
    }
    .procurement-report-table .report-header-groups .report-request-header {
        border-right: 1px solid #cbd3de !important;
        border-bottom: 1px solid #d9dee6 !important;
        box-shadow: none !important;
    }
}

.request-duplicate-dialog { width: min(480px, calc(100vw - 28px)); padding: 0; background: transparent; border: 0; }
.request-duplicate-dialog::backdrop { background: rgba(13, 20, 34, .54); backdrop-filter: blur(2px); }
.request-duplicate-dialog-card { padding: 27px; background: #fff; border-radius: 15px; box-shadow: 0 28px 80px rgba(11, 18, 31, .28); text-align: center; }
.request-duplicate-icon { width: 38px; height: 38px; margin: 0 auto 13px; display: grid; place-items: center; color: #a66a13; background: #fff3dc; border-radius: 50%; font-size: 18px; font-weight: 850; }
.request-duplicate-dialog-card h2 { margin: 0; color: var(--ink); font-size: 18px; }
.request-duplicate-dialog-card p { margin: 12px 0 22px; color: #667085; font-size: 12px; line-height: 1.6; }
.request-duplicate-dialog-card p strong { color: var(--ink); }
.request-duplicate-dialog-card > div { display: flex; justify-content: center; gap: 8px; }

.requests-content-shell { max-width: none; }
.requests-heading { align-items: flex-end; }
.request-create-form { display: flex; align-items: flex-end; gap: 8px; }
.request-create-form label > span,
.request-title-form label > span { margin-bottom: 6px; display: block; color: var(--muted); font-size: 9px; font-weight: 700; }
.request-create-form input { width: min(310px, 38vw); height: 42px; padding: 0 12px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; outline: none; font-size: 11px; }
.request-create-form input:focus,
.request-title-form input:focus,
.request-quantity-form input:focus { border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0, 92, 161, .08); }
.request-board-caption { min-height: 42px; margin-bottom: 10px; padding: 0 3px; display: flex; align-items: center; gap: 12px; color: var(--muted); }
.request-board-caption > span { color: var(--ink); font-size: 11px; font-weight: 800; }
.request-board-caption p { margin: 0; font-size: 9px; }
.request-board-caption b { margin-left: auto; color: var(--violet); font-size: 9px; white-space: nowrap; }
.request-board-shell { width: 100%; padding: 0 0 10px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-color: #8c96a7 #e5e8ed; scrollbar-width: auto; }
.request-board-shell:focus-visible { outline: 3px solid rgba(0,92,161,.16); outline-offset: 4px; }
.request-board-shell::-webkit-scrollbar { height: 14px; }
.request-board-shell::-webkit-scrollbar-track { background: #e5e8ed; border: 4px solid var(--page); border-radius: 10px; }
.request-board-shell::-webkit-scrollbar-thumb { background: #8c96a7; border: 3px solid var(--page); border-radius: 10px; }
.request-board { width: max-content; min-width: 100%; display: flex; align-items: stretch; gap: 13px; }
.request-card { width: clamp(780px, 51vw, 920px); height: calc(var(--app-viewport-height) - 245px); min-height: 520px; max-height: 780px; display: flex; flex: 0 0 auto; flex-direction: column; overflow: hidden; }
.request-card-header { min-height: 82px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.request-board .request-card-header { min-height: 0; align-items: stretch; flex-direction: column; gap: 6px; }
.request-card-number-row { min-height: 36px; display: flex; align-items: center; gap: 8px; }
.request-card-number { flex: 0 0 auto; color: var(--violet); font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.request-card-utilities { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.request-card-utilities form { margin: 0; }
.request-card-utilities > a { min-height: 29px; padding: 0 9px; font-size: 9px; text-decoration: none; }
.request-title-editor { min-height: 34px; }
.request-title-value { width: 100%; min-height: 34px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 750; text-align: left; cursor: text; }
.request-title-value[hidden] { display: none !important; }
.request-title-value:hover, .request-title-value:focus-visible { background: #f7f9fb; border-color: #d6dce5; outline: none; }
.request-title-value span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.request-title-value i { color: #a1a9b5; font-size: 11px; font-style: normal; opacity: 0; transition: opacity .12s; }
.request-title-value:hover i, .request-title-value:focus-visible i { opacity: 1; }
.request-title-form { min-width: min(520px, 55%); display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.request-title-form[hidden] { display: none; }
.request-board .request-title-form { width: 100%; min-width: 0; }
.request-title-form input { width: auto; height: 34px; padding: 0 10px; flex: 1; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 7px; outline: none; font-size: 14px; font-weight: 750; }
.request-title-form input:hover { background: #fff; border-color: var(--line-strong); }
.request-title-form .request-title-confirm { width: 34px; min-height: 34px; padding: 0; color: #23835b; background: #eef9f3; border: 1px solid #cbe7d8; border-radius: 7px; font-size: 15px; font-weight: 800; cursor: pointer; }
.request-title-form .request-title-confirm:hover { color: #fff; background: #2d9369; border-color: #2d9369; }
.request-title-status { width: 100%; color: #b44a4a; font-size: 9px; line-height: 1.35; }
.request-title-status:empty { display: none; }
.request-title-editor.is-saving { opacity: .62; pointer-events: none; }
.request-title-editor.has-error input { border-color: #d46b6b; box-shadow: 0 0 0 3px rgba(196,72,72,.1); }
.request-weight-summary { display: inline-flex; align-items: baseline; gap: 4px; color: #526779; font-size: 10px; white-space: nowrap; }
.request-weight-summary b { color: var(--ink); font-size: 16px; font-weight: 700; }
.request-weight-summary em { color: #6d7d8b; font-style: normal; }
.request-card[data-period-tone="six"],
.request-period-option.is-6 {
    --request-period-ink: #16668f;
    --request-period-border: #9fd0e7;
    --request-period-header: #dceff8;
    --request-period-cell: #f0f8fc;
}
.request-card[data-period-tone="twelve"],
.request-period-option.is-12 {
    --request-period-ink: #9a5b0e;
    --request-period-border: #e7c484;
    --request-period-header: #fae9c9;
    --request-period-cell: #fff7e9;
}
.request-card[data-period-tone="all"],
.request-period-option.is-all {
    --request-period-ink: #6751a4;
    --request-period-border: #c7b8e9;
    --request-period-header: #eae3f8;
    --request-period-cell: #f7f3fc;
}
.request-period-form { margin: 0; flex: 0 0 auto; }
.request-period-switch {
    min-height: 36px;
    padding: 3px;
    display: grid;
    grid-template-columns: 45px 49px 64px;
    align-items: center;
    gap: 2px;
    background: #f1f3f6;
    border: 1px solid #e0e4e9;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(20, 34, 52, .035);
}
.request-period-option {
    height: 28px;
    padding: 0 6px;
    color: #788391;
    background: transparent;
    border: 0;
    border-radius: 7px;
    font: inherit;
    font-size: 9.5px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: color .14s, background .14s, box-shadow .14s, transform .14s;
}
.request-period-option:hover { background: rgba(255,255,255,.76); }
.request-period-option:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.request-period-option.is-6:hover { color: #16668f; }
.request-period-option.is-12:hover { color: #9a5b0e; }
.request-period-option.is-all:hover { color: #6751a4; }
.request-period-option.is-active { color: #fff; box-shadow: 0 2px 7px rgba(25, 39, 58, .16); font-weight: 500; }
.request-period-option.is-6.is-active { background: #247eab; }
.request-period-option.is-12.is-active { background: #bd7a24; }
.request-period-option.is-all.is-active { background: #7760b2; }
.request-period-option:active { transform: translateY(1px); }
.request-period-form.is-saving .request-period-option.is-active { animation: request-period-save .72s ease-in-out infinite alternate; }
@keyframes request-period-save { to { filter: saturate(.72); opacity: .76; } }
.request-table th.request-period-column {
    color: var(--request-period-ink);
    background: var(--request-period-header);
    border-bottom-color: var(--request-period-border);
}
.request-table td.request-period-column { background: var(--request-period-cell); }
.request-table .request-period-column-start { border-left: 1px solid var(--request-period-border); }
.request-table th.request-period-column:last-of-type,
.request-table td.request-period-column:last-of-type { border-right-color: var(--request-period-border); }
.request-table td.request-period-column strong { color: var(--request-period-ink); }
.request-card-side { display: flex; align-items: center; gap: 16px; }
.request-card-actions { display: flex; align-items: center; gap: 6px; }
.request-card-actions .secondary-button { min-height: 34px; padding: 0 10px; justify-content: center; font-size: 9px; white-space: nowrap; }
.request-card-actions a { text-decoration: none; }
.request-content-toggle svg { width: 13px; height: 13px; margin-left: 6px; transition: transform .15s; }
.request-content-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.request-card-content[hidden] { display: none; }
.request-board .request-card-content { min-height: 0; display: flex; flex: 1; flex-direction: column; }
.request-card.is-expanded .request-card-header { border-bottom-color: var(--line); }
.request-card:not(.is-expanded) .request-card-header { border-bottom: 0; }
.request-table-wrap { width: 100%; min-height: 0; overflow: auto; }
.request-table { width: 100%; min-width: 790px; border-collapse: separate; border-spacing: 0; font-family: Arial, Helvetica, sans-serif; font-size: 11px; }
.request-table th { position: sticky; z-index: 2; top: 0; height: 34px; padding: 0 12px; color: #667085; background: #f4f6f9; border-right: 1px solid #d9dee6; border-bottom: 1px solid #cbd2dc; font-size: 9px; letter-spacing: .035em; text-align: left; text-transform: uppercase; }
.request-table th:last-child { border-right: 0; }
.request-table td { height: 43px; padding: 6px 12px; color: #526071; border-bottom: 1px solid #eceef2; }
.request-table tr:last-child td { border-bottom: 0; }
.request-table col.request-col-product { width: 25%; }
.request-table col.request-col-brand { width: 11%; }
.request-table col.request-col-quantity { width: 20%; }
.request-table col.request-col-period { width: 11%; }
.request-table col.request-col-weight { width: 8%; }
.request-table col.request-col-action { width: 3%; }
.request-table th.request-row-action,
.request-table td.request-row-action { padding-inline: 1px; text-align: center; }
.request-product-cell strong,
.request-product-cell > span { display: block; }
.request-product-cell strong { color: var(--ink); }
.request-product-cell > span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.request-product-cell > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.request-card-clear-form.is-saving { opacity: .62; pointer-events: none; }
.request-clear-button { min-height: 34px; padding: 0 9px; color: #a34747; background: #fff; border: 1px solid transparent; border-radius: 7px; font-size: 9px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.request-clear-button:hover { background: #fff1f1; border-color: #eed3d3; }
.request-clear-button:disabled { color: #9aa2ae; background: #f6f7f9; border-color: #e1e4e9; cursor: not-allowed; }
.request-quantity-editor { min-height: 33px; display: flex; align-items: center; }
.request-quantity-value { min-width: 82px; height: 31px; padding: 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 7px; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 6px; font: inherit; font-variant-numeric: tabular-nums; text-align: left; cursor: text; }
.request-quantity-value[hidden] { display: none !important; }
.request-quantity-value:hover, .request-quantity-value:focus-visible { background: #f7f9fb; border-color: #d6dce5; outline: none; }
.request-quantity-value i { color: #a1a9b5; font-size: 10px; font-style: normal; opacity: 0; transition: opacity .12s; }
.request-quantity-value:hover i, .request-quantity-value:focus-visible i { opacity: 1; }
.request-cell-unit { margin-left: 4px; color: #8a96a5; font-size: .82em; font-weight: 400; line-height: 1; white-space: nowrap; }
.request-quantity-value .request-cell-unit { margin-left: -3px; }
.request-quantity-value i { margin-left: auto; }
.request-quantity-form { display: flex; align-items: center; gap: 5px; }
.request-quantity-form[hidden] { display: none; }
.request-quantity-form input { width: 82px; height: 31px; padding: 0 8px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 6px; outline: none; font-size: 10px; }
.request-quantity-form button,
.request-remove-button { height: 29px; padding: 0 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 9px; font-weight: 700; cursor: pointer; }
.request-quantity-form .request-quantity-confirm { width: 31px; height: 31px; padding: 0; color: #23835b; background: #eef9f3; border-color: #cbe7d8; font-size: 14px; }
.request-quantity-form .request-quantity-confirm:hover { color: #fff; background: #2d9369; border-color: #2d9369; }
.request-quantity-editor.is-saving { opacity: .62; pointer-events: none; }
.request-quantity-editor.has-error input { border-color: #d46b6b; box-shadow: 0 0 0 3px rgba(196,72,72,.1); }
.request-remove-button { color: #b44848; }
.request-row-action form { margin: 0; display: flex; justify-content: center; }
.request-row-action .request-remove-button { width: 24px; height: 24px; padding: 0; display: grid; place-items: center; color: #a85a5a; background: transparent; border-color: transparent; font-size: 16px; font-weight: 400; line-height: 1; }
.request-row-action .request-remove-button:hover,
.request-row-action .request-remove-button:focus-visible { color: #a23131; background: #fff0f0; border-color: #efd0d0; outline: 0; }
.request-row-action .request-remove-button:disabled { opacity: .45; cursor: wait; }
.request-table tr.is-removing { opacity: .5; pointer-events: none; }
.request-card-empty,
.requests-empty { padding: 35px 20px; color: var(--muted); text-align: center; }
.request-board .request-card-empty { width: 100%; display: grid; align-content: center; }
.request-board .requests-empty { width: 100%; }
.request-card-empty > span,
.requests-empty > span { color: #aed4e8; font-size: 28px; }
.request-card-empty p,
.requests-empty p { margin: 7px 0 9px; font-size: 10px; }
.request-card-empty a { color: var(--violet); font-size: 10px; font-weight: 750; }
.requests-empty h2 { margin: 3px 0 0; color: var(--ink); font-size: 17px; }

.request-catalog-open.primary-button { min-height: 29px; padding: 0 10px; font-size: 9px; white-space: nowrap; }
.request-card-empty .request-catalog-open { width: max-content; min-height: 31px; margin: 3px auto 8px; padding: 0 12px; }
.request-catalog-dialog { width: min(780px, calc(100vw - 32px)); max-height: min(820px, calc(var(--app-dynamic-viewport-height) - 32px)); padding: 0; overflow: hidden; background: #fff; border: 1px solid #d9e0e8; border-radius: 14px; box-shadow: 0 28px 80px rgba(11, 24, 39, .24); }
.request-catalog-dialog::backdrop { background: rgba(13, 25, 39, .48); backdrop-filter: blur(2px); }
.request-catalog-card { max-height: min(820px, calc(var(--app-dynamic-viewport-height) - 32px)); display: flex; flex-direction: column; color: var(--text); }
.request-catalog-card > header { padding: 18px 20px 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid #e1e6ec; }
.request-catalog-card > header span { display: block; color: #2782aa; font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.request-catalog-card > header h2 { margin: 5px 0 0; color: var(--ink); font-size: 17px; line-height: 1.3; }
.request-catalog-card > header p { margin: 6px 0 0; color: #66758a; font-size: 10px; line-height: 1.45; }
.request-catalog-card > header > button { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; color: #66758a; background: #f4f7f9; border: 1px solid #d8e0e8; border-radius: 8px; font-size: 20px; line-height: 1; }
.request-catalog-card > header > button:hover { color: var(--ink); background: #edf2f5; }
.request-catalog-search { padding: 16px 20px 13px; display: block; }
.request-catalog-search > span { margin-bottom: 7px; display: block; color: #526174; font-size: 9px; font-weight: 750; }
.request-catalog-search > div { height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #cfd8e3; border-radius: 9px; }
.request-catalog-search > div:focus-within { border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0, 92, 161, .08); }
.request-catalog-search svg { width: 17px; height: 17px; flex: 0 0 auto; color: #758397; }
.request-catalog-search input { min-width: 0; height: 100%; flex: 1; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 11px; }
.request-catalog-search > small { margin-top: 6px; display: block; color: #7a8798; font-size: 8.5px; }
.request-catalog-results { min-height: 68px; max-height: min(410px, calc(var(--app-dynamic-viewport-height) - 330px)); margin: 0 20px 15px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #e0e6ec; border-radius: 10px; scrollbar-color: #a7b2bf transparent; scrollbar-width: thin; }
.request-catalog-result-list { display: grid; }
.request-catalog-result { min-height: 64px; padding: 10px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; color: var(--text); background: #fff; border: 0; border-bottom: 1px solid #e8ecf0; text-align: left; }
.request-catalog-result:last-child { border-bottom: 0; }
.request-catalog-result:hover, .request-catalog-result:focus-visible { z-index: 1; background: #f4f9fb; outline: 2px solid rgba(36, 132, 90, .25); outline-offset: -2px; }
.request-catalog-result > span:first-child { min-width: 0; }
.request-catalog-result > span:first-child strong, .request-catalog-result > span:first-child small { display: block; }
.request-catalog-result > span:first-child strong { overflow: hidden; color: var(--ink); font-size: 10.5px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.request-catalog-result > span:first-child small { margin-top: 4px; overflow: hidden; color: #718094; font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }
.request-catalog-result-metrics { display: flex; align-items: center; gap: 18px; }
.request-catalog-result-metrics > span { min-width: 66px; }
.request-catalog-result-metrics small, .request-catalog-result-metrics strong { display: block; white-space: nowrap; }
.request-catalog-result-metrics small { color: #8290a1; font-size: 7.5px; }
.request-catalog-result-metrics strong { margin-top: 3px; color: #34465a; font-size: 10px; font-weight: 700; }
.request-catalog-result-metrics > span:last-child strong { color: #24845a; }
.request-catalog-message { min-height: 66px; margin: 0; padding: 20px; display: grid; place-items: center; color: #738195; font-size: 10px; text-align: center; }
.request-catalog-message.is-error { color: #b64d4d; }
.request-catalog-message.is-loading::before { width: 14px; height: 14px; margin-right: 8px; display: inline-block; border: 2px solid #c5d9e4; border-top-color: #237ca5; border-radius: 50%; content: ""; animation: request-catalog-spin .7s linear infinite; }
@keyframes request-catalog-spin { to { transform: rotate(360deg); } }
.request-catalog-selected { margin-top: auto; padding: 14px 20px 17px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; background: #f7faf9; border-top: 1px solid #dce7e2; }
.request-catalog-selected[hidden] { display: none; }
.request-catalog-selected > div { min-width: 0; }
.request-catalog-selected > div small, .request-catalog-selected > div strong, .request-catalog-selected > div span { display: block; }
.request-catalog-selected > div small { color: #24845a; font-size: 7.5px; font-weight: 850; letter-spacing: .09em; }
.request-catalog-selected > div strong { margin-top: 5px; overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.request-catalog-selected > div span { margin-top: 4px; color: #718094; font-size: 8.5px; }
.request-catalog-selected form { display: flex; align-items: end; gap: 8px; }
.request-catalog-selected label span { margin-bottom: 5px; display: block; color: #607084; font-size: 8px; font-weight: 700; }
.request-catalog-selected input { width: 108px; height: 36px; padding: 0 9px; color: var(--ink); background: #fff; border: 1px solid #cdd7df; border-radius: 7px; outline: 0; font-size: 11px; font-weight: 700; }
.request-catalog-selected input:focus { border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0, 92, 161, .08); }
.request-catalog-selected .primary-button { min-height: 36px; padding: 0 13px; font-size: 9.5px; white-space: nowrap; }
.request-catalog-card.is-saving { opacity: .68; pointer-events: none; }

@media (max-width: 680px) {
    .request-card-utilities { flex-wrap: wrap; }
    .request-catalog-dialog { width: calc(100vw - 18px); max-height: calc(var(--app-dynamic-viewport-height) - 18px); }
    .request-catalog-card { max-height: calc(var(--app-dynamic-viewport-height) - 18px); }
    .request-catalog-card > header { padding: 15px; }
    .request-catalog-search { padding: 13px 15px 11px; }
    .request-catalog-results { max-height: calc(var(--app-dynamic-viewport-height) - 360px); margin: 0 15px 12px; }
    .request-catalog-result { grid-template-columns: 1fr; gap: 8px; }
    .request-catalog-result-metrics { justify-content: space-between; gap: 8px; }
    .request-catalog-selected { padding: 13px 15px 15px; grid-template-columns: 1fr; gap: 11px; }
    .request-catalog-selected form { width: 100%; }
    .request-catalog-selected form label { flex: 1; }
    .request-catalog-selected input { width: 100%; }
}

/* Batch catalogue workspace inside purchase requests. */
.request-catalog-dialog {
    width: min(1320px, calc(100vw - 32px));
    max-width: none;
    height: min(860px, calc(var(--app-dynamic-viewport-height) - 32px));
    max-height: none;
    margin: auto;
}
.request-catalog-card { width: 100%; height: 100%; max-height: none; }
.request-catalog-card > header { padding: 21px 24px 18px; flex: 0 0 auto; }
.request-catalog-card > header span { font-size: 10px; }
.request-catalog-card > header h2 { margin: 0; font-size: 23px; }
.request-catalog-card > header > button { width: 38px; height: 38px; font-size: 24px; }
.request-catalog-search { padding: 16px 24px 15px; flex: 0 0 auto; border-bottom: 1px solid #e1e6ec; }
.request-catalog-search > span { margin-bottom: 8px; font-size: 12px; }
.request-catalog-search > div { height: 50px; padding-inline: 15px; border-color: #cbd5df; }
.request-catalog-search svg { width: 20px; height: 20px; }
.request-catalog-search > div:focus-within { border-color: #3a93bf; box-shadow: 0 0 0 2px rgba(30, 126, 172, .13); }
.request-catalog-search input,
.request-catalog-search input:hover,
.request-catalog-search input:focus,
.request-catalog-search input:focus-visible {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    font-size: 14px;
}
.request-catalog-search input::-webkit-search-decoration,
.request-catalog-search input::-webkit-search-cancel-button,
.request-catalog-search input::-webkit-search-results-button,
.request-catalog-search input::-webkit-search-results-decoration { -webkit-appearance: none; }
.request-catalog-workspace { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 450px; flex: 1; }
.request-catalog-results-pane,
.request-catalog-selection-pane { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.request-catalog-results-pane { border-right: 1px solid #dde4ea; }
.request-catalog-results-pane > header,
.request-catalog-selection-pane > header { min-height: 54px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 0 0 auto; border-bottom: 1px solid #e3e8ed; }
.request-catalog-results-pane > header strong,
.request-catalog-selection-pane > header strong { color: var(--ink); font-size: 14px; font-weight: 750; }
.request-catalog-results-pane > header span,
.request-catalog-selection-pane > header span { color: #6f7d90; font-size: 12px; }
.request-catalog-selection-pane > header > div { min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.request-catalog-selection-pane > header b { color: #1e8058; font-size: 14px; }
.request-catalog-selection-pane > header > button { padding: 7px 9px; color: #a24848; background: transparent; border: 0; border-radius: 5px; font-size: 11.5px; font-weight: 700; }
.request-catalog-selection-pane > header > button:hover:not(:disabled) { background: #fff0f0; }
.request-catalog-selection-pane > header > button:disabled { color: #aab1bc; cursor: default; }
.request-catalog-results { min-height: 0; max-height: none; margin: 0; overflow-y: auto; flex: 1; border: 0; border-radius: 0; contain: layout paint; }
.request-catalog-result-list { contain: layout style; }
.request-catalog-result {
    min-height: 76px;
    padding: 11px 17px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 13px;
    cursor: default;
    transition: background .12s, box-shadow .12s;
}
.request-catalog-result:hover { background: #f7fafc; outline: 0; }
.request-catalog-result.is-selected { background: #f0f8f4; box-shadow: inset 3px 0 0 #2c9168; }
.request-catalog-result > label { width: 24px; height: 24px; display: grid; place-items: center; cursor: pointer; }
.request-catalog-result > label input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.request-catalog-result > label span { width: 22px; height: 22px; display: grid; place-items: center; color: transparent; background: #fff; border: 1px solid #b8c4cf; border-radius: 5px; pointer-events: none; font-size: 13px; font-weight: 850; transition: background .12s, border-color .12s; }
.request-catalog-result > label input:checked + span { color: #fff; background: #23855d; border-color: #23855d; }
.request-catalog-result > label input:focus-visible + span { box-shadow: 0 0 0 3px rgba(35, 133, 93, .17); }
.request-catalog-result > span:nth-child(2) { min-width: 0; }
.request-catalog-result > span:nth-child(2) strong,
.request-catalog-result > span:nth-child(2) small { display: block; }
.request-catalog-result > span:nth-child(2) strong { overflow: hidden; color: var(--ink); font-size: 13px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.request-catalog-result > span:nth-child(2) small { margin-top: 4px; overflow: hidden; color: #718094; font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }
.request-catalog-result-metrics { gap: 24px; }
.request-catalog-result-metrics > span { min-width: 78px; }
.request-catalog-result-metrics small { font-size: 10px; }
.request-catalog-result-metrics strong { margin-top: 4px; font-size: 13px; }
.request-catalog-result-metrics > span:last-child strong { color: #24845a; }
.request-catalog-message { height: 100%; min-height: 130px; }
.request-catalog-selection-pane { background: #f8fafb; }
.request-catalog-selection-empty { margin: auto; padding: 32px; color: #7b8796; font-size: 12px; line-height: 1.55; text-align: center; }
.request-catalog-selection-empty[hidden] { display: none; }
.request-catalog-selection-list { min-height: 0; overflow-y: auto; flex: 1; scrollbar-color: #a7b2bf transparent; scrollbar-width: thin; }
.request-catalog-selection-list[hidden] { display: none; }
.request-catalog-selection-item { min-height: 88px; padding: 13px 16px; display: grid; grid-template-columns: minmax(0, 1fr) 198px; align-items: center; gap: 14px; background: #fff; border-bottom: 1px solid #e2e7ec; }
.request-catalog-selection-item > span:first-child { min-width: 0; align-self: center; }
.request-catalog-selection-item > span:first-child strong,
.request-catalog-selection-item > span:first-child small { display: block; }
.request-catalog-selection-item > span:first-child strong { display: -webkit-box; overflow: hidden; color: var(--ink); font-size: 12.5px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.request-catalog-selection-item > span:first-child small { margin-top: 4px; overflow: hidden; color: #738195; font-size: 7.7px; text-overflow: ellipsis; white-space: nowrap; }
.request-catalog-selection-controls { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-items: end; gap: 7px; }
.request-catalog-selection-controls label { min-width: 0; }
.request-catalog-selection-controls > button { align-self: end; }
.request-catalog-selection-item label span { margin-bottom: 6px; display: block; color: #52687a; font-size: 11.5px; font-weight: 750; }
.request-catalog-selection-item input { width: 100%; height: 42px; padding: 0 11px; color: var(--ink); background: #fff; border: 1px solid #cbd5df; border-radius: 7px; outline: 0; font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; }
.request-catalog-selection-item input:focus { border-color: #3b95bf; box-shadow: 0 0 0 2px rgba(30, 126, 172, .12); }
.request-catalog-selection-item input.is-invalid { border-color: #cf5959; background: #fff5f5; box-shadow: 0 0 0 2px rgba(207, 89, 89, .1); }
.request-catalog-selection-item button { width: 32px; height: 42px; padding: 0; display: grid; place-items: center; color: #9a4c4c; background: transparent; border: 0; border-radius: 6px; font-size: 20px; }
.request-catalog-selection-item button:hover { background: #fff0f0; }
.request-catalog-carton-recommendation { grid-column: 1 / -1; padding-top: 10px; display: grid; justify-items: center; border-top: 1px solid #e7ecf0; text-align: center; }
.request-catalog-carton-recommendation small,
.request-catalog-carton-recommendation strong { display: block; }
.request-catalog-carton-recommendation small { color: #728092; font-size: 9.5px; line-height: 1.25; }
.request-catalog-carton-recommendation strong { margin-top: 3px; color: #294c5f; font-size: 12px; line-height: 1.25; }
.request-catalog-selection-pane form { padding: 15px 16px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; flex: 0 0 auto; background: #fff; border-top: 1px solid #dce3e9; }
.request-catalog-selection-total span,
.request-catalog-selection-total strong { display: block; }
.request-catalog-selection-total span { color: #66788a; font-size: 11px; font-weight: 650; }
.request-catalog-selection-total strong { margin-top: 4px; color: #1e8058; font-size: 20px; font-variant-numeric: tabular-nums; }
.request-catalog-selection-total strong b { font: inherit; }
.request-catalog-selection-total strong em { color: #557080; font-size: 12px; font-style: normal; font-weight: 650; }
.ui-redesign .request-catalog-card .request-catalog-selection-pane form .primary-button { min-height: 46px; padding: 0 18px; font-size: 13px; white-space: nowrap; }
.request-catalog-selection-pane form .primary-button:disabled { color: #8793a1; background: #e8edf1; border-color: #e8edf1; cursor: not-allowed; box-shadow: none; }
.request-catalog-card.is-saving { opacity: .78; }
.request-catalog-card.is-saving .request-catalog-results,
.request-catalog-card.is-saving .request-catalog-selection-list { pointer-events: none; }

@media (max-width: 760px) {
    .request-catalog-dialog { width: calc(100vw - 12px); height: calc(var(--app-dynamic-viewport-height) - 12px); max-height: none; }
    .request-catalog-card { max-height: none; }
    .request-catalog-card > header { padding: 13px 14px 11px; }
    .request-catalog-card > header h2 { font-size: 15px; }
    .request-catalog-card > header p { font-size: 8.5px; }
    .request-catalog-search { padding: 10px 13px; }
    .request-catalog-search > span,
    .request-catalog-search > small { display: none; }
    .request-catalog-workspace { grid-template-columns: 1fr; grid-template-rows: minmax(230px, 1.05fr) minmax(225px, .95fr); }
    .request-catalog-results-pane { border-right: 0; border-bottom: 1px solid #dce3e9; }
    .request-catalog-results { max-height: none; margin: 0; }
    .request-catalog-result { grid-template-columns: 24px minmax(0, 1fr); gap: 9px; }
    .request-catalog-result-metrics { grid-column: 2; justify-content: flex-start; gap: 16px; }
    .request-catalog-selection-pane { min-height: 0; }
    .request-catalog-selection-item { min-height: 68px; }
    .request-catalog-selection-pane form { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

.source-exports-content-shell { max-width: none; }
.source-exports-heading { align-items: flex-end; }
.source-exports-refresh-note { min-width: 245px; padding: 11px 13px; display: grid; grid-template-columns: 9px 1fr; column-gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.source-exports-refresh-note > span { width: 9px; height: 9px; margin-top: 2px; background: #31a36c; border: 2px solid #d9f3e7; border-radius: 50%; box-sizing: border-box; }
.source-exports-refresh-note strong, .source-exports-refresh-note small { display: block; }
.source-exports-refresh-note strong { color: var(--ink); font-size: 10px; }
.source-exports-refresh-note small { grid-column: 2; margin-top: 3px; color: var(--muted); font-size: 8px; }
.source-export-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.source-export-card { min-height: 285px; padding: 22px; display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 0 16px; }
.source-export-card.is-unavailable { background: #fafbfc; }
.source-export-icon { width: 46px; height: 46px; padding: 12px; color: #2677a7; background: #edf6fb; border-radius: 12px; }
.source-export-icon svg, .source-export-action svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.source-export-body { min-width: 0; }
.source-export-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.source-export-state { color: #26845c; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.source-export-card.is-unavailable .source-export-state { color: #9a6a26; }
.source-export-title-row h2 { margin: 6px 0 0; color: var(--ink); font-size: 17px; line-height: 1.25; }
.source-export-ready-dot { width: 9px; height: 9px; margin-top: 3px; flex: 0 0 auto; background: #31a36c; border-radius: 50%; box-shadow: 0 0 0 4px #e5f5ed; }
.source-export-body > p { margin: 11px 0; color: #657083; font-size: 10px; line-height: 1.55; }
.source-export-body > code { display: block; overflow: hidden; color: #576275; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.source-export-meta { margin: 18px 0 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(90px, .5fr); gap: 8px; }
.source-export-meta > div { padding: 10px; background: #f7f9fb; border: 1px solid #e4e8ee; border-radius: 8px; }
.source-export-meta dt { color: var(--muted); font-size: 8px; }
.source-export-meta dd { margin: 5px 0 0; color: var(--ink); font-size: 10px; font-weight: 750; }
.source-export-action { grid-column: 1 / -1; margin-top: 19px; padding-top: 14px; display: flex; justify-content: flex-end; border-top: 1px solid var(--line); }
.source-export-action .primary-button { min-width: 145px; text-decoration: none; }
.source-export-action .primary-button svg { width: 14px; height: 14px; margin-right: 7px; }
.source-export-action .is-disabled { opacity: .62; cursor: not-allowed; }

.user-admin-heading { margin-bottom: 18px; }
.user-admin-overview { margin-bottom: 13px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }
.user-admin-overview article { min-height: 82px; padding: 15px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; gap: 4px 12px; }
.user-admin-overview article + article { border-left: 1px solid var(--line); }
.user-admin-overview span, .user-admin-overview small { color: var(--muted); font-size: 9px; }
.user-admin-overview strong { grid-row: span 2; align-self: center; color: var(--ink); font-size: 24px; letter-spacing: -.04em; }
.user-directory { overflow: hidden; }
.user-directory-toolbar { min-height: 84px; padding: 17px 19px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.user-directory-toolbar h2 { margin: 4px 0 0; color: var(--ink); font-size: 15px; }
.user-directory-toolbar p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.user-directory-search { position: relative; width: min(320px, 34vw); }
.user-directory-search svg { position: absolute; left: 11px; top: 50%; width: 15px; height: 15px; color: #8a94a3; transform: translateY(-50%); }
.user-directory-search input { width: 100%; height: 39px; padding: 0 12px 0 35px; color: var(--ink); background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; outline: none; font-size: 10px; }
.user-directory-search input:focus { background: #fff; border-color: #75b4d6; box-shadow: 0 0 0 3px rgba(0,92,161,.07); }
.user-directory-meta { min-height: 32px; padding: 0 19px; display: flex; align-items: center; justify-content: space-between; color: #87909f; background: #fafbfd; border-bottom: 1px solid var(--line); font-size: 8.5px; }
.user-list-stack { min-width: 0; display: grid; gap: 9px; }
.user-directory .user-list-stack { padding: 10px; background: #f5f7fa; }
.user-access-card { overflow: hidden; background: #fff; border: 1px solid #e1e5eb; border-radius: 9px; }
.user-access-card > summary { min-height: 66px; padding: 10px 14px; display: grid; grid-template-columns: 36px minmax(150px, 1fr) auto minmax(90px, auto) 20px; align-items: center; gap: 11px; list-style: none; cursor: pointer; }
.user-access-card > summary::-webkit-details-marker { display: none; }
.user-access-card > summary:hover { background: #fafcfd; }
.user-access-card[open] > summary { background: #f9fbfd; border-bottom: 1px solid var(--line); }
.user-admin-avatar { width: 34px; height: 34px; padding: 7px; display: grid; place-items: center; flex: 0 0 auto; color: var(--violet); background: var(--violet-soft); border-radius: 9px; }
.user-admin-avatar svg { width: 100%; height: 100%; }
.user-access-identity { min-width: 0; }
.user-access-identity strong, .user-access-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-access-identity strong { color: var(--ink); font-size: 13px; }
.user-access-identity small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.user-role-badge { padding: 4px 6px; color: #08679c; background: #eaf5fb; border-radius: 5px; font-size: 8px; font-weight: 750; white-space: nowrap; }
.user-role-badge.is-user { color: #667085; background: #f1f3f6; }
.user-access-total { text-align: right; }
.user-access-total strong, .user-access-total small { display: block; }
.user-access-total strong { color: #344054; font-size: 11px; }
.user-access-total small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.user-card-chevron { width: 17px; height: 17px; color: #8a94a3; transition: transform .16s; }
.user-access-card[open] .user-card-chevron { transform: rotate(180deg); }
.user-access-body { padding: 14px; }
.user-access-form { min-width: 0; }
.permission-form-toolbar { min-height: 43px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.permission-form-toolbar > div:first-child strong, .permission-form-toolbar > div:first-child span { display: block; }
.permission-form-toolbar > div:first-child strong { color: var(--ink); font-size: 11px; }
.permission-form-toolbar > div:first-child span { margin-top: 3px; color: var(--muted); font-size: 8.5px; }
.permission-form-toolbar > div:last-child { display: flex; gap: 5px; }
.permission-form-toolbar button { min-height: 28px; padding: 0 9px; color: #536174; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 8.5px; font-weight: 700; cursor: pointer; }
.permission-form-toolbar button:hover { color: var(--violet); border-color: #b9d8e9; }
.permission-section-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.permission-section { min-width: 0; margin: 0; padding: 0; overflow: hidden; background: #fbfcfd; border: 1px solid var(--line); border-radius: 8px; }
.permission-section legend { width: 100%; min-height: 47px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f5f8fa; border-bottom: 1px solid var(--line); }
.permission-section legend > span strong, .permission-section legend > span small { display: block; }
.permission-section legend > span strong { color: #344054; font-size: 9.5px; }
.permission-section legend > span small { margin-top: 3px; color: #8a94a3; font-size: 7.8px; }
.permission-section legend label { display: flex; align-items: center; gap: 5px; color: #667085; font-size: 8px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.permission-section legend input { width: 13px; height: 13px; margin: 0; accent-color: var(--violet); }
.permission-page-list { padding: 5px; display: grid; gap: 4px; }
.permission-page { position: relative; min-height: 43px; padding: 7px 8px; display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: center; gap: 8px; background: #fff; border: 1px solid transparent; border-radius: 6px; cursor: pointer; }
.permission-page:hover { border-color: #dce4eb; }
.permission-page > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.permission-page-check { width: 16px; height: 16px; display: grid; place-items: center; color: transparent; background: #fff; border: 1px solid #cbd2dc; border-radius: 4px; font-size: 10px; }
.permission-page > input:checked + .permission-page-check { color: #fff; background: var(--violet); border-color: var(--violet); }
.permission-page > span:last-child strong, .permission-page > span:last-child small { display: block; }
.permission-page > span:last-child strong { color: #344054; font-size: 9px; }
.permission-page > span:last-child small { margin-top: 3px; color: #8a94a3; font-size: 7.8px; line-height: 1.3; }
.user-card-actions { margin-top: 12px; display: flex; justify-content: flex-end; }
.user-delete-form { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); text-align: right; }
.user-delete-form button { padding: 7px 8px; color: var(--red); background: transparent; border: 0; border-radius: 6px; font-size: 9px; font-weight: 700; cursor: pointer; }
.user-delete-form button:hover { background: var(--red-soft); }
.user-full-access { padding: 11px 12px; display: flex; align-items: center; gap: 10px; color: #287252; background: #f0faf5; border: 1px solid #d7eee1; border-radius: 8px; }
.user-full-access > span { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: #38a06d; border-radius: 50%; }
.user-full-access strong, .user-full-access small { display: block; }
.user-full-access strong { font-size: 10px; }
.user-full-access small { margin-top: 3px; color: #5c7d6c; font-size: 8px; }
.permission-readonly-grid { margin-top: 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.permission-readonly-grid div { min-height: 35px; padding: 7px 9px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fafbfd; border: 1px solid var(--line); border-radius: 6px; }
.permission-readonly-grid strong { color: #4b5769; font-size: 8.5px; }
.permission-readonly-grid span { color: #8a94a3; font-size: 8px; }
.user-search-empty { min-height: 180px; display: grid; place-items: center; align-content: center; color: var(--muted); text-align: center; }
.user-search-empty[hidden] { display: none !important; }
.user-search-empty span { font-size: 32px; }.user-search-empty strong { margin-top: -5px; color: var(--ink); font-size: 12px; }.user-search-empty small { margin-top: 4px; font-size: 9px; }
.user-account-toolbar { min-height: 48px; margin-bottom: 11px; padding: 7px 8px 7px 11px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #f8fbfd; border: 1px solid #dfe9ee; border-radius: 8px; }
.user-account-toolbar > div strong, .user-account-toolbar > div small { display: block; }
.user-account-toolbar > div strong { color: #344d5e; font-size: 9.5px; font-weight: 500; }
.user-account-toolbar > div small { margin-top: 3px; color: #7b8996; font-size: 7.8px; font-weight: 400; }
.user-account-toolbar > button { min-height: 32px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; color: #176f93; background: #fff; border: 1px solid #bcd9e5; border-radius: 7px; font-size: 8.5px; font-weight: 500; cursor: pointer; }
.user-account-toolbar > button:hover { background: #eef8fb; border-color: #76b6d0; }
.user-account-toolbar > button svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.secure-password-generator { grid-column: 1 / -1; overflow: hidden; background: #f8fbfd; border: 1px solid #dce8ee; border-radius: 9px; }
.secure-password-generator > header { min-height: 43px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f2f8fb; border-bottom: 1px solid #dce8ee; }
.secure-password-generator > header strong, .secure-password-generator > header small { display: block; }
.secure-password-generator > header strong { color: #28485d; font-size: 9.5px; font-weight: 500; }
.secure-password-generator > header small { margin-top: 3px; color: #71889a; font-size: 7.8px; font-weight: 400; }
.secure-password-generator > header > span { padding: 3px 6px; color: #19708f; background: #e0f1f7; border-radius: 999px; font-size: 7px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.secure-password-fields { padding: 9px 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.secure-password-fields label > span:first-child { display: block; margin-bottom: 5px; color: #5d6879; font-size: 8.5px; font-weight: 500; }
.secure-password-fields input { width: 100%; height: 38px; padding: 0 10px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 7px; outline: none; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; letter-spacing: .025em; }
.secure-password-fields input:focus { border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }
.secure-password-input { position: relative; display: block !important; margin: 0 !important; }
.secure-password-input input { padding-right: 72px; }
.secure-password-input button { position: absolute; right: 4px; top: 4px; height: 30px; padding: 0 7px; color: #447187; background: #eef6f9; border: 0; border-radius: 5px; font-size: 7.8px; font-weight: 500; cursor: pointer; }
.secure-password-generator > footer { min-height: 40px; padding: 7px 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-top: 1px solid #e2e9ed; }
.secure-password-generator > footer > div { display: flex; gap: 5px; }
.secure-password-generator > footer button { min-height: 28px; padding: 0 9px; color: #516879; background: #fff; border: 1px solid #ccd9e0; border-radius: 6px; font-size: 8px; font-weight: 500; cursor: pointer; }
.secure-password-generator > footer .secure-password-generate { color: #fff; background: #147ba5; border-color: #147ba5; }
.secure-password-generator > footer button:hover:not(:disabled) { border-color: #79b8d2; }
.secure-password-generator > footer button:disabled { opacity: .45; cursor: default; }
.secure-password-generator > footer > small { color: #7b8996; font-size: 7.6px; font-weight: 400; text-align: right; }
.secure-password-generator.is-compact > header { min-height: 38px; }
.secure-password-generator.is-compact .secure-password-fields { padding-top: 8px; padding-bottom: 8px; }
.user-create-dialog { width: min(940px, calc(100vw - 32px)); max-height: calc(var(--app-viewport-height) - 32px); padding: 0; overflow: hidden; background: #fff; border: 0; border-radius: 13px; box-shadow: 0 28px 90px rgba(13, 23, 38, .25); }
.user-create-dialog::backdrop { background: rgba(11, 20, 33, .58); backdrop-filter: blur(2px); }
.user-create-form { max-height: calc(var(--app-viewport-height) - 32px); overflow-y: auto; }
.user-create-form > header { position: sticky; z-index: 2; top: 0; min-height: 78px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); }
.user-create-form > header h2 { margin: 4px 0 0; color: var(--ink); font-size: 16px; }.user-create-form > header p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.user-create-form > header button { width: 32px; height: 32px; color: #687386; background: #f5f7f9; border: 1px solid var(--line); border-radius: 7px; font-size: 18px; cursor: pointer; }
.user-create-fields { padding: 15px 18px 4px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.user-create-fields label > span { display: block; margin-bottom: 6px; color: #5d6879; font-size: 9px; font-weight: 750; }
.user-create-fields input { width: 100%; height: 40px; padding: 0 11px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; outline: none; }
.user-create-fields input:focus { border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }
.user-create-form .permission-form-toolbar.is-create { margin: 8px 18px; }
.create-permission-sections { padding: 0 18px 17px; }
.user-create-form > footer { position: sticky; z-index: 2; bottom: 0; padding: 12px 18px; display: flex; justify-content: flex-end; gap: 7px; background: #fff; border-top: 1px solid var(--line); }
.user-password-dialog { width: min(560px, calc(100vw - 32px)); padding: 0; overflow: hidden; background: #fff; border: 0; border-radius: 13px; box-shadow: 0 28px 90px rgba(13, 23, 38, .25); }
.user-password-dialog::backdrop { background: rgba(11, 20, 33, .58); backdrop-filter: blur(2px); }
.user-password-dialog-form > header { min-height: 76px; padding: 14px 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.user-password-dialog-form > header h2 { margin: 4px 0 0; color: var(--ink); font-size: 16px; font-weight: 600; }
.user-password-dialog-form > header p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.user-password-dialog-form > header p strong { color: #3b5566; font-weight: 500; }
.user-password-dialog-form > header button { width: 32px; height: 32px; flex: 0 0 auto; color: #687386; background: #f5f7f9; border: 1px solid var(--line); border-radius: 7px; font-size: 18px; cursor: pointer; }
.user-password-dialog-body { padding: 15px 17px; }
.user-password-dialog-body > p { margin: 10px 2px 0; color: #73808e; font-size: 8.5px; font-weight: 400; line-height: 1.5; }
.user-password-dialog-form > footer { padding: 11px 17px; display: flex; justify-content: flex-end; gap: 7px; background: #fafbfd; border-top: 1px solid var(--line); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.auth-body { background: #f3f4f7; }
.login-page { position: relative; isolation: isolate; min-height: 100vh; overflow: hidden; padding: clamp(24px, 5vh, 56px) 20px 24px; display: grid; grid-template-rows: 1fr auto; place-items: center; background: radial-gradient(circle at 50% 0, rgba(0,92,161,.08), transparent 34%), #f3f4f7; }
.login-page::before { position: absolute; z-index: -1; width: 560px; height: 560px; left: 50%; top: 50%; content: ""; border: 1px solid rgba(0,92,161,.055); border-radius: 50%; box-shadow: 0 0 0 90px rgba(0,92,161,.02), 0 0 0 180px rgba(0,92,161,.012); transform: translate(-50%, -50%); }
.login-card { width: min(480px, 100%); padding: 38px 40px 34px; background: rgba(255,255,255,.97); border: 1px solid #e0e3e9; border-radius: 18px; box-shadow: 0 24px 70px rgba(24,32,51,.11), 0 2px 8px rgba(24,32,51,.04); }
.login-card-top { padding-bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #eceef2; }
.login-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }.login-logo { width: 42px; height: 45px; overflow: hidden; display: grid; place-items: center; flex: 0 0 auto; }.login-logo img { width: 53px; max-width: none; height: auto; display: block; }.login-brand strong { display: block; font-size: 14px; font-weight: 750; letter-spacing: .01em; line-height: 1; }.login-brand small { display: block; margin-top: 6px; color: #737d8c; font-size: 9.5px; font-weight: 750; letter-spacing: .13em; }
.login-security { min-height: 30px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; color: #287252; background: #edf8f2; border: 1px solid #d7eee1; border-radius: 999px; font-size: 9px; font-weight: 750; white-space: nowrap; }.login-security svg { width: 13px; height: 13px; }
.login-heading { margin: 31px 0 26px; }.login-heading > span { color: var(--violet); font-size: 9px; font-weight: 850; letter-spacing: .15em; }.login-heading h1 { margin: 8px 0 8px; color: var(--ink); font-size: 30px; letter-spacing: -.04em; line-height: 1.1; }.login-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.login-form label { display: block; margin: 17px 0 8px; color: #344054; font-size: 12px; font-weight: 700; }.field-wrap { position: relative; }.field-wrap > svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; color: #8992a0; transform: translateY(-50%); }.field-wrap input { width: 100%; height: 52px; padding: 0 88px 0 45px; color: var(--ink); background: #fff; border: 1px solid #d7dbe3; border-radius: 10px; outline: none; font-size: 15px; transition: border-color .15s, box-shadow .15s; }.field-wrap input:hover { border-color: #c5cad4; }.field-wrap input:focus { border-color: #3b95c9; box-shadow: 0 0 0 4px rgba(0,92,161,.09); }.password-toggle { position: absolute; right: 9px; top: 9px; height: 34px; padding: 0 8px; color: var(--violet); background: none; border: 0; border-radius: 7px; font-size: 10px; font-weight: 750; }.password-toggle:hover { background: var(--violet-soft); }.login-submit { width: 100%; min-height: 52px; margin-top: 24px; justify-content: space-between; padding: 0 18px; font-size: 13px; }.login-submit span { font-size: 17px; }.login-help { margin-top: 25px; padding-top: 21px; border-top: 1px solid #eceef2; text-align: center; }.login-help span, .login-help small { display: block; }.login-help span { color: #596476; font-size: 11px; }.login-help small { margin-top: 5px; color: #9299a6; font-size: 10px; }
.login-page-footer { align-self: end; padding-top: 24px; display: flex; align-items: center; gap: 9px; color: #9299a6; font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }.login-page-footer i { width: 3px; height: 3px; background: #b6bbc5; border-radius: 50%; }
.form-alert { margin: 0 0 18px; padding: 11px 12px; color: #9d3f3f; background: var(--red-soft); border: 1px solid #f3d1d1; border-radius: 8px; }.form-alert strong, .form-alert span { display: block; }.form-alert strong { font-size: 10px; }.form-alert span { margin-top: 4px; font-size: 9px; line-height: 1.45; }.form-alert ul { margin: 5px 0 0; padding-left: 16px; }

.centered-state { min-height: 100vh; padding: 25px; display: grid; place-items: center; background: #f4f5f8; }.state-card { width: min(430px, 100%); padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); text-align: center; }.state-icon { width: 44px; height: 44px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; font-weight: 850; }.state-icon-danger { color: var(--red); background: var(--red-soft); }.state-card h1 { margin: 0 0 10px; color: var(--ink); font-size: 21px; }.state-card p { margin: 0 0 22px; color: var(--muted); font-size: 11px; line-height: 1.6; }.inline-state { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.inline-state > span { color: #d7d9e2; font-size: 70px; font-weight: 850; letter-spacing: -.08em; }.inline-state h1 { margin: -5px 0 8px; color: var(--ink); font-size: 22px; }.inline-state p { margin: 0 0 18px; color: var(--muted); font-size: 11px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/*
 * Full HD desktops keep the native 100% application scale. Enlarging every
 * viewport from 1680px made 1920x1080 screens unnecessarily bulky. Only a
 * confirmed physical 4K display receives the large-desktop scale below.
 */

/*
 * On Full HD only the dense control-center workspace gets the comfortable
 * 130% content scale. Navigation, the top bar and all other pages stay at
 * the native application scale. The viewport factor compensates nested zoom.
 */
@media (min-width: 1500px) and (min-height: 700px) {
    html[data-display-resolution="full-hd"]:not([data-ui-scale]) .control-center-content-shell,
    html[data-display-resolution="full-hd"][data-ui-scale="auto"] .control-center-content-shell {
        width: 100%;
        zoom: 1.3;
        --app-viewport-height: 76.9231vh;
        --app-dynamic-viewport-height: 76.9231dvh;
        --control-center-title-min: 16.923px;
        --control-center-title-fluid: 1.7308vw;
        --control-center-title-max: 21.538px;
    }
}

/* Native-resolution fallback if the early display detector is unavailable. */
@media (min-width: 1800px) and (max-width: 2299px) and (min-height: 800px) and (max-height: 1299px) {
    html:not([data-ui-scale]) .control-center-content-shell,
    html[data-ui-scale="auto"] .control-center-content-shell {
        width: 100%;
        zoom: 1.3;
        --app-viewport-height: 76.9231vh;
        --app-dynamic-viewport-height: 76.9231dvh;
        --control-center-title-min: 16.923px;
        --control-center-title-fluid: 1.7308vw;
        --control-center-title-max: 21.538px;
    }
}

/*
 * 3440x1440 ultrawide displays have roughly 20% higher pixel density than a
 * 24-inch Full HD panel. Scale the full application by that amount, then keep
 * the control-center workspace at its established additional 130% scale.
 * The detector uses physical pixels, so Windows display scaling is supported.
 */
@media (min-width: 1081px) and (min-height: 700px) {
    html[data-display-resolution="ultrawide-qhd"]:not([data-ui-scale]),
    html[data-display-resolution="ultrawide-qhd"][data-ui-scale="auto"] {
        --ui-zoom: 1.2;
        --app-viewport-height: 83.3333vh;
        --app-dynamic-viewport-height: 83.3333dvh;
    }
    html[data-display-resolution="ultrawide-qhd"]:not([data-ui-scale]) .control-center-content-shell,
    html[data-display-resolution="ultrawide-qhd"][data-ui-scale="auto"] .control-center-content-shell {
        width: 100%;
        zoom: 1.3;
        --app-viewport-height: 64.1026vh;
        --app-dynamic-viewport-height: 64.1026dvh;
        --control-center-title-min: 16.923px;
        --control-center-title-fluid: 1.7308vw;
        --control-center-title-max: 21.538px;
    }
}

/* Native 3440x1440 fallback if JavaScript is unavailable. */
@media (min-width: 3000px) and (max-width: 3799px) and (min-height: 1200px) and (max-height: 1799px) and (min-aspect-ratio: 11/5) {
    html:not([data-ui-scale]),
    html[data-ui-scale="auto"] {
        --ui-zoom: 1.2;
        --app-viewport-height: 83.3333vh;
        --app-dynamic-viewport-height: 83.3333dvh;
    }
    html:not([data-ui-scale]) .control-center-content-shell,
    html[data-ui-scale="auto"] .control-center-content-shell {
        width: 100%;
        zoom: 1.3;
        --app-viewport-height: 64.1026vh;
        --app-dynamic-viewport-height: 64.1026dvh;
        --control-center-title-min: 16.923px;
        --control-center-title-fluid: 1.7308vw;
        --control-center-title-max: 21.538px;
    }
}

/*
 * Give only the control-center workspace the extra 130% required on native
 * 4K. Navigation, the top bar and every other page keep the regular desktop
 * scale from the rule above. CSS zoom already resolves the inner layout
 * against its scaled viewport, so the workspace itself must remain 100% wide.
 */
@media (min-width: 3000px) and (min-height: 1500px) {
    html:not([data-ui-scale]),
    html[data-ui-scale="auto"] {
        --ui-zoom: 1.3;
        --app-viewport-height: 76.9231vh;
        --app-dynamic-viewport-height: 76.9231dvh;
    }
    html:not([data-ui-scale]) .control-center-content-shell,
    html[data-ui-scale="auto"] .control-center-content-shell {
        width: 100%;
        zoom: 1.3;
        --app-viewport-height: 59.1716vh;
        --app-dynamic-viewport-height: 59.1716dvh;
        --control-center-title-min: 16.923px;
        --control-center-title-fluid: 1.7308vw;
        --control-center-title-max: 21.538px;
    }
}

/*
 * Windows display scaling turns a 3840x2160 panel into a 3072px or 2560px
 * CSS viewport, so viewport media queries alone cannot reliably identify a
 * 4K monitor. display-scale.js marks the physical display before this sheet
 * is applied and keeps the same comfortable scale at 100/125/150% OS scale.
 */
@media (min-width: 1081px) and (min-height: 700px) {
    html[data-display-resolution="4k"]:not([data-ui-scale]),
    html[data-display-resolution="4k"][data-ui-scale="auto"] {
        --ui-zoom: 1.3;
        --app-viewport-height: 76.9231vh;
        --app-dynamic-viewport-height: 76.9231dvh;
    }
    html[data-display-resolution="4k"]:not([data-ui-scale]) .control-center-content-shell,
    html[data-display-resolution="4k"][data-ui-scale="auto"] .control-center-content-shell {
        width: 100%;
        zoom: 1.3;
        --app-viewport-height: 59.1716vh;
        --app-dynamic-viewport-height: 59.1716dvh;
        --control-center-title-min: 16.923px;
        --control-center-title-fluid: 1.7308vw;
        --control-center-title-max: 21.538px;
    }
}

@media (max-width: 1180px) {
    .sidebar { width: 210px; }.workspace { margin-left: 210px; }
    .dashboard-grid-primary, .dashboard-grid-secondary, .analytics-grid { grid-template-columns: 1fr; }
    .fact-card-grid { grid-template-columns: repeat(3, 1fr); }.planning-detail-grid { grid-template-columns: 1fr; }
    .supplier-grid { grid-template-columns: repeat(2, 1fr); }
    .global-search { width: 190px; }
    .procurement-flow { overflow-x: auto; grid-template-columns: 210px 25px 210px 25px 210px 25px 210px; }
    .procurement-primary-controls { grid-template-columns: 1fr 1fr; }.report-period-control, .primary-filter-note { grid-column: 1 / -1; }.procurement-filter-levels { grid-template-columns: 1fr 1fr; }.multi-filter-groups { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
    html { --ui-zoom: 1 !important; }
    .sidebar { width: min(300px, calc(100vw - 52px)); max-width: none; visibility: hidden; pointer-events: none; box-shadow: 18px 0 42px rgba(8,13,22,.24); transform: translate3d(-100%,0,0); transition: transform .2s ease, visibility 0s linear .2s; will-change: transform; }.sidebar.is-open { visibility: visible; pointer-events: auto; transform: translate3d(0,0,0); transition-delay: 0s; }.sidebar-close { display: block; }
    .sidebar-overlay { position: fixed; inset: 0; z-index: 45; display: block; visibility: hidden; opacity: 0; background: rgba(8,13,22,.55); border: 0; transition: opacity .2s ease, visibility 0s linear .2s; }.sidebar-overlay.is-visible { visibility: visible; opacity: 1; transition-delay: 0s; }
    .workspace { width: 100%; margin-left: 0; }.mobile-menu { display: block; }.topbar-left { gap: 12px; }
    .catalog-filter-workbench { padding-inline: 7px; }.catalog-filter-switcher { grid-template-columns: repeat(2, minmax(0, 1fr)); }.catalog-filter-palette > header { grid-template-columns: minmax(0, 1fr) auto 27px; }.catalog-filter-search { grid-column: 1 / -1; grid-row: 2; }.catalog-filter-palette > header > div small { display: none; }
    .kpi-grid, .mini-kpi-grid { grid-template-columns: repeat(2, 1fr); }.summary-strip { grid-template-columns: repeat(3, 1fr); }.summary-strip > div:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }.summary-strip > div:nth-child(5) { border-top: 1px solid var(--line); }
    .settings-grid, .security-grid { grid-template-columns: 1fr; }
    .quality-issue-grid { grid-template-columns: 1fr; }.dictionary-list article { grid-template-columns: 170px 1fr; }.dictionary-state { grid-column: 2; text-align: left; }
    .procurement-report-table colgroup { display: none; }
    .procurement-report-table .report-column-group { display: none; }
    .procurement-report-table, .procurement-report-table thead, .procurement-report-table tbody { display: block; }
    .procurement-report-table thead { position: static; padding: 8px; background: #f7f9fb; border-bottom: 1px solid var(--line); }
    .procurement-report-table thead tr { display: flex; flex-wrap: wrap; gap: 5px; }
    .procurement-report-table thead th, .procurement-report-table thead th:nth-child(n) { width: auto; height: auto; padding: 0; background: transparent; border: 0; }
    .procurement-report-table .sortable-heading { min-height: 29px; padding: 0 8px; justify-content: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 8px; }
    .procurement-report-table .report-column-summary { min-height: 29px; padding: 0 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 8px; }
    .procurement-report-table tbody { padding: 10px; display: grid; gap: 10px; }
    .procurement-report-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); overflow: hidden; }
    .procurement-report-table tbody td, .procurement-report-table tbody td:nth-child(n) { width: auto; min-height: 58px; padding: 10px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; color: var(--ink); background: #fff; border: 0; border-right: 1px solid #eff0f3; border-bottom: 1px solid #eff0f3; box-shadow: none; text-align: left; white-space: normal; }
    .procurement-report-table tbody td::before { content: attr(data-label); margin-bottom: 5px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
    .procurement-report-table tbody .report-product-name { grid-column: span 2; }
    .procurement-report-table tbody .report-sticky-article, .procurement-report-table thead th:first-child { position: static; }
}

@media (min-width: 921px) {
    .sidebar { visibility: visible; pointer-events: auto; transform: none; }
    .sidebar-overlay, .sidebar-overlay.is-visible { display: none; }
}

@media (max-width: 680px) {
    .topbar { height: 52px; padding: 0 11px; }.breadcrumb { display: none; }.global-search { display: none; }.user-menu-button { min-width: 0; }.user-meta, .user-menu-button > svg { display: none; }.notification-button { width: 34px; height: 34px; }.content-shell { padding: 18px 13px 40px; }
    .page-heading-row { display: block; }.heading-actions { margin-top: 17px; flex-wrap: wrap; }.heading-actions .primary-button, .heading-actions .secondary-button { flex: 1; }
    .prototype-note { align-items: flex-start; }.prototype-note p { line-height: 1.5; }
    .kpi-grid, .mini-kpi-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.kpi-card { min-height: 130px; padding: 14px; }.kpi-card > strong { font-size: 20px; }
    .summary-strip, .orders-summary { grid-template-columns: 1fr 1fr; }.summary-strip > div { min-height: 76px; }.summary-strip > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }.summary-strip > div:nth-child(4) { border-left: 1px solid var(--line); }.summary-strip > div:nth-child(5) { border-left: 0; }
    .dashboard-grid { gap: 10px; }.panel-head { padding: 14px; }.bar-chart { gap: 8px; padding-left: 15px; padding-right: 15px; }
    .table-toolbar { align-items: stretch; flex-direction: column; }.table-tabs { overflow-x: auto; }.table-search { width: 100%; }.supplier-grid { grid-template-columns: 1fr; }.supplier-toolbar { align-items: stretch; flex-direction: column; gap: 8px; }.supplier-search { min-width: 0; }
    .profile-details { grid-template-columns: 1fr; }.profile-hero { align-items: flex-start; flex-wrap: wrap; }.message-stack { top: 75px; right: 15px; }
    .planning-gate-note { grid-template-columns: 1fr; }.planning-gate-note > span { justify-self: start; }.planning-gate-note a { white-space: normal; }.item-readiness-card { grid-template-columns: 1fr; }.item-readiness-card > div { align-items: flex-start; flex-direction: column; }.fact-card-grid { grid-template-columns: 1fr 1fr; }.policy-form-grid, .quality-overview, .transit-detail-list, .source-notes { grid-template-columns: 1fr; }.fact-protection-note { align-items: flex-start; flex-direction: column; }.dictionary-list article { grid-template-columns: 1fr; }.dictionary-state { grid-column: 1; }.change-list article { grid-template-columns: 1fr; gap: 5px; padding: 10px 0; }
    .login-page { padding: 18px 14px; }.login-card { padding: 31px 28px 29px; }.login-heading { margin-top: 27px; }
    .procurement-primary-controls, .procurement-filter-levels { grid-template-columns: 1fr; }.report-period-control, .primary-filter-note, .multi-filter-groups { grid-column: 1; }.report-period-layout { align-items: stretch; flex-direction: column; }.report-period-toggle { align-self: flex-start; }.report-period-dates { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }.filter-level-intro { align-items: flex-start; flex-direction: column; gap: 4px; }.multi-filter-popover, .multi-filter-groups .multi-filter-popover { position: static; width: 100%; margin-top: 7px; }.multi-filter-options-scroll { max-height: 300px; grid-template-columns: 1fr; }.filter-level-actions { align-items: stretch; }.filter-level-actions > button { width: 100%; }.procurement-table-toolbar { align-items: stretch; flex-direction: column; gap: 8px; }.procurement-live-search { width: 100%; }.report-live-status { min-height: 28px; }.procurement-report-scroll { max-height: none; }
    .procurement-report-table tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 430px) {
    .kpi-grid, .mini-kpi-grid, .fact-card-grid { grid-template-columns: 1fr; }.summary-strip, .orders-summary { grid-template-columns: 1fr; }.summary-strip > div + div, .summary-strip > div:nth-child(n) { border-top: 1px solid var(--line); border-left: 0; }.heading-actions { align-items: stretch; flex-direction: column; }.heading-actions .prototype-pill, .heading-actions .data-freshness { align-self: flex-start; }.login-card { padding: 27px 21px 25px; border-radius: 15px; }.login-card-top { align-items: flex-start; flex-direction: column; gap: 15px; }.login-heading h1 { font-size: 27px; }.login-page-footer { display: none; }
    .report-period-dates { grid-template-columns: 1fr; }.procurement-report-table tbody tr { grid-template-columns: 1fr; }
    .procurement-report-table tbody .report-product-name { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1180px) {
    .permission-section-list { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .user-admin-overview { grid-template-columns: 1fr; }
    .user-admin-overview article + article { border-top: 1px solid var(--line); border-left: 0; }
    .user-directory-toolbar { align-items: stretch; flex-direction: column; }
    .user-directory-search { width: 100%; }
    .user-directory-meta span:last-child { display: none; }
    .user-access-card > summary { grid-template-columns: 36px minmax(0, 1fr) 18px; }
    .user-access-card > summary .user-role-badge { grid-column: 2; justify-self: start; }
    .user-access-total { grid-column: 2; text-align: left; }
    .user-card-chevron { grid-column: 3; grid-row: 1 / span 3; }
    .permission-form-toolbar { align-items: flex-start; flex-direction: column; }
    .permission-readonly-grid { grid-template-columns: 1fr; }
    .user-account-toolbar { align-items: flex-start; flex-direction: column; }
    .user-account-toolbar > button { width: 100%; justify-content: center; }
    .secure-password-fields { grid-template-columns: 1fr; }
    .secure-password-generator > footer { align-items: stretch; flex-direction: column; }
    .secure-password-generator > footer > small { text-align: left; }
    .user-create-fields { grid-template-columns: 1fr; }
    .user-create-dialog { width: calc(100vw - 18px); max-height: calc(var(--app-viewport-height) - 18px); }
    .user-create-form { max-height: calc(var(--app-viewport-height) - 18px); }
    .user-password-dialog { width: calc(100vw - 18px); }
}

@media (max-width: 920px) {
    .requests-heading { display: block; }
    .request-create-form { margin-top: 16px; }
    .request-card-header { align-items: stretch; flex-direction: column; gap: 12px; }
    .request-card-side { align-items: flex-start; flex-direction: column; gap: 10px; }
    .request-title-form { min-width: 0; width: 100%; }
    .request-table { min-width: 760px; }
    .request-card { width: min(760px, calc(100vw - 34px)); height: calc(var(--app-viewport-height) - 225px); min-height: 470px; }
    .request-board-caption p { display: none; }
    .source-exports-heading { display: block; }
    .source-exports-refresh-note { width: 100%; margin-top: 14px; }
    .source-export-grid { grid-template-columns: 1fr; }
    .procurement-report-table .report-request-cell { min-height: 58px; }
    .report-request-popover { position: fixed; left: 50%; top: 50%; width: min(320px, calc(100vw - 28px)); transform: translate(-50%, -50%); }
}

@media (max-width: 680px) {
    .request-create-form { align-items: stretch; flex-direction: column; }
    .request-create-form input { width: 100%; }
    .request-title-form { align-items: center; flex-direction: row; }
    .request-card-actions { width: 100%; }
    .request-card-actions .secondary-button { flex: 1; }
    .report-table-actions { width: 100%; }
    .report-view-settings,
    .report-table-actions .report-download-button { flex: 1; }
    .report-view-settings > summary,
    .report-table-actions .report-download-button { width: 100%; justify-content: center; }
    .report-view-settings-popover { position: fixed; right: 14px; top: 78px; width: calc(100vw - 28px); max-height: calc(var(--app-viewport-height) - 96px); }
    .request-duplicate-dialog-card > div { align-items: stretch; flex-direction: column-reverse; }
    .source-export-card { min-height: 0; padding: 17px; grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px; }
    .source-export-icon { width: 40px; height: 40px; padding: 10px; }
    .source-export-title-row h2 { font-size: 15px; }
    .source-export-meta { grid-template-columns: 1fr; }
    .source-export-action .primary-button, .source-export-action .secondary-button { width: 100%; justify-content: center; }
}

.gost-request-picker > .gost-request-open { width: 22px; height: 22px; padding: 0; display: grid; place-items: center; color: #3a8764; background: #f0faf5; border: 1px solid #cce8da; border-radius: 50%; font: inherit; font-size: 14px; line-height: 1; cursor: pointer; }
.gost-request-picker > .gost-request-open:hover,
.gost-request-picker > .gost-request-open[aria-expanded="true"] { color: #fff; background: #319468; border-color: #319468; box-shadow: 0 0 0 4px rgba(49,148,104,.12); }
.gost-request-picker > .gost-request-open:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(49,148,104,.16); }
.gost-request-popover { position: fixed; z-index: 1000; inset: 0; width: min(620px, calc(100vw - 32px)); max-width: none; max-height: min(760px, calc(var(--app-dynamic-viewport-height) - 32px)); margin: auto; padding: 0; overflow: hidden; transform: none; }
.gost-request-popover::backdrop { background: rgba(10,18,30,.48); backdrop-filter: blur(2px); }
.gost-allocation-heading { position: relative; padding: 14px 54px 12px 15px; background: #f7fafc; border-bottom: 1px solid #e0e5eb; }
.gost-allocation-heading > span,
.gost-allocation-heading > strong,
.gost-allocation-heading > small { display: block; }
.gost-allocation-heading > span { color: #287ca9; font-size: 8px; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.gost-allocation-heading > strong { margin-top: 5px; color: var(--ink); font-size: 14px; }
.gost-allocation-heading > small { margin-top: 5px; color: #6f7a8b; font-size: 8.5px; line-height: 1.45; }
.gost-allocation-heading .gost-allocation-close { position: absolute; right: 14px; top: 14px; width: 29px; height: 29px; padding: 0; display: grid; place-items: center; color: #687588; background: #fff; border: 1px solid #d9dee6; border-radius: 7px; font-size: 17px; font-weight: 400; line-height: 1; cursor: pointer; }
.gost-allocation-heading .gost-allocation-close:hover { color: #233043; background: #f3f5f7; border-color: #c9d0da; }
.gost-request-popover > form { max-height: calc(var(--app-dynamic-viewport-height) - 132px); margin: 0; padding: 12px 14px 14px; overflow: hidden; display: grid; grid-template-rows: auto minmax(90px, 1fr) auto auto; gap: 9px; }
.gost-request-destination { padding-bottom: 10px; border-bottom: 1px solid #e5e8ed; }
.gost-request-popover .gost-request-destination > span { color: #4f5d70; font-size: 8.5px; }
.gost-brand-allocation-list { min-height: 0; max-height: min(430px, 52dvh); padding-right: 3px; overflow-y: auto; display: grid; align-content: start; gap: 6px; scrollbar-width: thin; scrollbar-color: #aeb8c5 #eef1f4; }
.gost-brand-allocation { padding: 8px; background: #fafbfd; border: 1px solid #e1e5eb; border-radius: 8px; transition: border-color .12s, background .12s; }
.gost-brand-allocation.is-selected { background: #f3f9fc; border-color: #a9d3e8; }
.gost-brand-toggle { min-height: 25px; display: grid !important; grid-template-columns: 17px minmax(0, 1fr) auto; align-items: center; gap: 7px; cursor: pointer; }
.gost-brand-toggle > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gost-brand-toggle > .gost-brand-check { width: 17px; height: 17px; margin: 0 !important; display: grid !important; place-items: center; color: transparent !important; background: #fff; border: 1px solid #bdc7d2; border-radius: 4px; font-size: 10px !important; }
.gost-brand-toggle > input:checked + span { color: #fff !important; background: #16815b; border-color: #16815b; }
.gost-brand-toggle > input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0,92,161,.14); }
.gost-brand-toggle > strong { color: #344054; font-size: 10px; }
.gost-brand-toggle > small { color: #8a94a3; font-size: 8px; }
.gost-brand-fields { max-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 125px; gap: 7px; opacity: 0; transition: max-height .14s, opacity .12s, margin-top .14s; }
.gost-brand-allocation.is-selected .gost-brand-fields { max-height: 65px; margin-top: 7px; opacity: 1; }
.gost-brand-fields label > span { color: #788394; font-size: 7.8px; }
.gost-request-popover .gost-brand-fields select,
.gost-request-popover .gost-brand-fields input { width: 100%; height: 34px; padding: 0 8px; color: #263447; background: #fff; border: 1px solid #ccd4de; border-radius: 6px; outline: 0; font-size: 9px; }
.gost-request-popover .gost-brand-fields select:focus,
.gost-request-popover .gost-brand-fields input:focus { border-color: #66aace; box-shadow: 0 0 0 3px rgba(0,92,161,.07); }
.gost-allocation-total { min-height: 40px; padding: 7px 9px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #687588; background: #f6f7f9; border: 1px solid #e1e5ea; border-radius: 7px; font-size: 8.5px; }
.gost-allocation-total > span b { color: #344054; }
.gost-allocation-total > strong { color: #9a681d; font-size: 9px; white-space: nowrap; }
.gost-allocation-total.is-complete { color: #307457; background: #eef9f3; border-color: #cfe9db; }
.gost-allocation-total.is-complete > strong { color: #237a54; }
.gost-allocation-total.is-over { color: #a14646; background: #fff3f3; border-color: #efd1d1; }
.gost-allocation-total.is-over > strong { color: #a14646; }
.gost-request-popover button[data-gost-allocation-submit]:disabled { color: #9099a6; background: #e7eaee; cursor: not-allowed; }
.gost-request-popover form.is-saving { opacity: .62; pointer-events: none; }
.gost-request-popover > p { margin: 14px 15px 8px; }
.gost-request-popover > a { margin: 0 15px 15px; display: inline-block; }
@media (max-width: 920px) {
    .gost-request-popover { inset: 0; width: min(620px, calc(100vw - 24px)); max-height: calc(var(--app-dynamic-viewport-height) - 24px); margin: auto; transform: none; }
}
@media (max-width: 560px) {
    .gost-brand-fields { grid-template-columns: 1fr; }
    .gost-brand-allocation.is-selected .gost-brand-fields { max-height: 115px; }
    .gost-allocation-total { align-items: flex-start; flex-direction: column; }
}

/* Unified, compact tables for planning and requests. */
.procurement-report-table,
.procurement-report-table thead,
.procurement-report-table tbody,
.procurement-report-table th,
.procurement-report-table td,
.request-table,
.request-table thead,
.request-table tbody,
.request-table th,
.request-table td {
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-weight: 400;
}
.procurement-report-table th *,
.procurement-report-table td *,
.request-table th *,
.request-table td * { font-weight: 400; }

.request-heading-actions { display: flex; align-items: flex-end; gap: 9px; }
.request-archive-link,
.request-archive-back { min-height: 42px; padding: 0 13px; gap: 7px; text-decoration: none; }
.request-archive-link span { min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; color: #536174; background: #eef1f4; border-radius: 9px; font-size: 9px; }
.request-card { width: clamp(700px, 45vw, 790px); }
.request-board .request-card-header { gap: 5px; padding: 9px 13px; }
.request-table { min-width: 690px; table-layout: fixed; font-size: 10px; }
.request-table th { height: 36px; padding: 0 7px; font-size: 8px; line-height: 1.3; letter-spacing: .02em; white-space: normal; }
.request-table td { height: 39px; padding: 5px 7px; }
.request-product-cell strong { display: block; overflow: hidden; color: #172033; font-size: 10.5px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.request-quantity-value { min-width: 72px; }
.request-quantity-form input { width: 70px; }
.report-request-popover select,
.report-request-popover input[type="number"] { width: 100%; height: 35px; padding: 0 9px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 7px; font: inherit; font-size: 10px; }
.report-request-popover input[type="number"]:focus { outline: 0; border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }

.request-archive-panel { overflow: hidden; }
.request-archive-row { min-height: 72px; padding: 13px 16px; display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.request-archive-row:last-child { border-bottom: 0; }
.request-archive-title strong,
.request-archive-title span { display: block; }
.request-archive-title strong { color: var(--ink); font-size: 12px; font-weight: 400; }
.request-archive-title span { margin-top: 5px; color: var(--muted); font-size: 9px; }
.request-archive-metrics { display: flex; gap: 17px; color: #586579; font-size: 10px; }
.request-archive-actions { display: flex; align-items: center; gap: 7px; }
.request-archive-actions form { margin: 0; }
.request-archive-actions .secondary-button,
.request-archive-actions .primary-button { min-height: 34px; padding: 0 11px; font-size: 9px; text-decoration: none; }
.request-destroy-button { min-height: 34px; padding: 0 10px; color: #bd3f49; background: #fff; border: 1px solid #eccdd1; border-radius: 7px; font-size: 9px; cursor: pointer; }
.request-destroy-button:hover { color: #a72f39; background: #fff5f6; border-color: #e4b9be; }

@media (max-width: 920px) {
    .request-heading-actions { width: 100%; align-items: stretch; flex-direction: column-reverse; }
    .request-archive-link { align-self: flex-start; }
    .request-card { width: min(700px, calc(100vw - 28px)); }
    .request-archive-row { grid-template-columns: 1fr auto; gap: 12px; }
    .request-archive-actions { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
    .request-archive-row { grid-template-columns: 1fr; }
    .request-archive-actions { grid-column: auto; flex-wrap: wrap; }
}

/* The add-to-request form lives in the browser top layer, so table scrolling and UI zoom cannot clip it. */
.report-request-popover[data-request-add-dialog] {
    position: fixed;
    inset: 0;
    left: 0;
    top: 0;
    width: min(340px, calc(100vw - 28px));
    max-height: min(520px, calc(100dvh - 28px));
    margin: auto;
    padding: 17px;
    overflow: auto;
    transform: none;
    z-index: 1000;
}
.report-request-popover[data-request-add-dialog]::backdrop {
    background: rgba(10, 18, 30, .42);
    backdrop-filter: blur(2px);
}
.report-request-popover[data-request-add-dialog] > strong { padding-right: 30px; }
.report-request-popover[data-request-add-dialog] .report-request-popover-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    display: grid;
    place-items: center;
    color: #667085;
    background: #f5f7f9;
    border: 1px solid #dfe3e8;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}
.report-request-popover[data-request-add-dialog] .report-request-popover-close:hover {
    color: #172033;
    background: #edf1f4;
}

/* Aggregated component demand for repair kits. */
.repair-kit-procurement-heading { margin-bottom: 12px; }
.rk-procurement-controls { margin-bottom: 12px; overflow: visible; }
.rk-procurement-controls form { display: grid; gap: 0; }
.rk-procurement-period { min-height: 76px; grid-template-columns: minmax(210px, 260px) minmax(520px, 1fr); border-bottom: 1px solid var(--line); }
.rk-procurement-period .report-period-control { grid-column: 2; }
.rk-brand-filter { position: relative; }
.rk-brand-filter > summary { height: 40px; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; color: #465468; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 10px; cursor: pointer; list-style: none; }
.rk-brand-filter > summary::-webkit-details-marker { display: none; }
.rk-brand-filter > [hidden],
[data-report-column-menu] > [hidden] { display: none !important; }
.rk-brand-filter > summary b { min-width: 25px; height: 20px; padding: 0 6px; display: grid; place-items: center; color: #247aa9; background: #edf7fc; border-radius: 10px; font-size: 9px; font-weight: 500; }
.rk-brand-filter > div { position: absolute; z-index: 80; right: 0; top: 46px; width: 300px; max-height: 270px; padding: 8px; overflow-y: auto; display: grid; gap: 3px; background: #fff; border: 1px solid var(--line-strong); border-radius: 9px; box-shadow: 0 18px 38px rgba(15, 30, 48, .16); }
.rk-brand-filter > div label { min-height: 34px; padding: 0 8px; display: flex; align-items: center; gap: 8px; color: #354256; border-radius: 6px; font-size: 10px; }
.rk-brand-filter > div label:hover { background: #f3f7fa; }
.rk-brand-filter input { accent-color: #0877b5; }
.rk-procurement-panel { overflow: hidden; transition: opacity .12s ease; }
.rk-procurement-panel.is-loading { opacity: .58; pointer-events: none; }
.rk-procurement-toolbar { min-height: 72px; padding: 10px 13px; display: flex; align-items: end; gap: 12px; border-bottom: 1px solid var(--line); }
.rk-procurement-live-search { min-width: 0; flex: 1 1 auto; }
.rk-procurement-brand-control { display: flex; flex: 0 0 auto; align-items: flex-end; gap: 7px; }
.rk-procurement-brand-control .rk-brand-filter { width: 210px; }
.rk-procurement-brand-control .rk-status-filter { width: 165px; }
.rk-procurement-brand-control .rk-brand-filter > summary { height: 42px; }
.rk-procurement-brand-control .secondary-button { min-height: 42px; padding: 0 12px; }
.rk-procurement-toolbar .primary-button { min-width: 128px; min-height: 42px; padding: 0 14px; flex: 0 0 auto; text-decoration: none; }
.rk-procurement-formula { padding: 7px 13px; color: #6f7d90; background: #fafbfd; border-bottom: 1px solid var(--line); font-size: 8.5px; }
.rk-procurement-scroll { max-height: calc(var(--app-dynamic-viewport-height) - 330px); min-height: 250px; }
.rk-procurement-table { min-width: 1320px; table-layout: fixed; font-size: 10px; }
.rk-procurement-table col.rk-col-add { width: 42px; }
.rk-procurement-table col.rk-col-name { width: 21%; }
.rk-procurement-table col.rk-col-brand { width: 8%; }
.rk-procurement-table col.rk-col-type { width: 9%; }
.rk-procurement-table col.rk-col-kits { width: 6%; }
.rk-procurement-table col.rk-col-status { width: 11%; }
.rk-procurement-table col.rk-col-number { width: 7.5%; }
.rk-procurement-table col.rk-col-purchase { width: 9%; }
.rk-procurement-table col.rk-col-carton { width: 7.5%; }
.rk-procurement-table th { height: 34px; padding: 0 7px; color: #778294; background: #f5f7fa; border-right: 1px solid #e1e6ec; font-size: 8px; font-weight: 500; letter-spacing: .025em; line-height: 1; text-align: left; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.rk-procurement-table th:first-child { padding-right: 0; padding-left: 0; text-align: center; }
.rk-procurement-table th a { width: 100%; min-width: 0; height: 34px; display: flex; align-items: center; gap: 5px; overflow: hidden; color: inherit; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.rk-procurement-table th a > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rk-procurement-table th a > i { flex: 0 0 auto; font-style: normal; }
.rk-procurement-table th small { flex: 0 0 auto; color: #96a1ae; font-size: inherit; letter-spacing: 0; text-transform: none; }
.rk-header-copy { display: inline-flex; align-items: center; gap: 5px; }
.rk-procurement-table td { height: 34px; padding: 4px 5px; color: #233145; border-right: 1px solid #e7ebef; border-bottom: 1px solid #e5e9ee; line-height: 1.2; text-align: left; vertical-align: middle; }
.rk-procurement-table td small { color: #8a96a6; font-size: 8px; }
.rk-procurement-table tr.is-in-request td { background: #f2fbf6; }
.rk-add-cell { text-align: center !important; }
.rk-add-cell > button { width: 22px; height: 22px; padding: 0; display: inline-grid; place-items: center; color: #16815b; background: #f0fbf6; border: 1px solid #cbe9da; border-radius: 50%; font-size: 14px; line-height: 1; cursor: pointer; }
.rk-component-name span,
.rk-component-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-component-name span { color: #15263b; font-size: 10.5px; }
.rk-component-name small { margin-top: 3px; color: #8491a2; font-size: 8px; }
.rk-source-cell { overflow: visible; }
.rk-source-tooltip-trigger { width: auto; height: 24px; display: inline-flex; align-items: center; color: #236c92; cursor: pointer; opacity: 1; }
.rk-source-tooltip { width: min(560px, calc(100vw - 24px)); }
.rk-source-tooltip-list { margin-top: 9px; display: block !important; }
.rk-source-tooltip-item { min-width: 0; padding: 10px 0; display: grid !important; grid-template-columns: minmax(0, 1fr) 110px; align-items: center; gap: 15px; border-top: 1px solid rgba(255,255,255,.08); }
.rk-source-tooltip-item > span:first-child { min-width: 0; }
.rk-source-tooltip-item b,
.rk-source-tooltip-item small { display: block; overflow: visible; text-overflow: clip; white-space: normal; }
.rk-source-tooltip-item b { color: #fff; font-size: 9.6px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.rk-source-tooltip-item > span:first-child small { margin-top: 3px; color: #aeb9c9; font-size: 8px; }
.rk-source-tooltip-metrics { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 5px; }
.rk-source-tooltip-metrics > span { min-width: 0; padding: 6px; display: block; background: rgba(255,255,255,.055); border-radius: 5px; }
.rk-source-tooltip-metrics small { margin: 0; color: #8fa0b7; font-size: 7px; line-height: 1.25; }
.rk-source-tooltip-metrics strong { margin-top: 3px; display: block; color: #fff; font-size: 8.6px; font-weight: 500; white-space: nowrap; }
.rk-status-cell { overflow: visible; white-space: nowrap; }
.rk-status-text { display: inline; font-size: 9.5px; font-weight: 400; }
.rk-status-text.is-planned { color: #b54b47; }
.rk-status-text.is-readiness { color: #a16b19; }
.rk-status-help { margin-left: 4px; display: inline-grid; vertical-align: -2px; color: #6c8295; opacity: .82; }
.rk-status-help > svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.25; }
.rk-status-tooltip { width: min(480px, calc(100vw - 24px)); }
.rk-status-metrics { margin-top: 10px; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.rk-status-metrics > span { min-width: 0; padding: 8px; display: block; background: rgba(255,255,255,.055); border-radius: 6px; }
.rk-status-metrics small { margin: 0; color: #8fa0b7; font-size: 7.8px; }
.rk-status-metrics strong { margin-top: 3px; display: block; color: #fff; font-size: 9.5px; font-weight: 500; }
.rk-status-source-list { margin-top: 8px; display: block !important; border-top: 1px solid rgba(255,255,255,.08); }
.rk-status-source-list > span { padding: 7px 0; display: block; border-bottom: 1px solid rgba(255,255,255,.07); }
.rk-status-source-list b { display: block; color: #fff; font-size: 9px; font-weight: 500; }
.rk-status-source-list small { margin-top: 2px; color: #aeb9c9; font-size: 8px; }
.rk-to-purchase,
.rk-to-purchase.is-readiness { color: #233145 !important; font-size: inherit; }
.rk-to-purchase > span { margin-top: 2px; display: block; color: inherit; font-size: 7.5px; }
.rk-to-purchase.is-readiness .rk-no-auto-demand { margin: 0; color: inherit; font-size: 9px; }
.rk-procurement-details > td { height: auto; padding: 0 !important; background: #fff !important; border-right: 0; }
.rk-details-header { min-height: 66px; display: grid; grid-template-columns: minmax(300px, 1fr) repeat(3, 150px); align-items: stretch; border-left: 3px solid #1685bd; border-bottom: 1px solid #dce3e9; }
.rk-details-header > div { padding: 10px 14px; display: flex; justify-content: center; flex-direction: column; gap: 4px; position: relative; }
.rk-details-header > div + div::before { content: ""; position: absolute; left: 0; top: 13px; bottom: 13px; width: 1px; background: #dce2e8; }
.rk-details-header span { color: #758397; font-size: 8px; }
.rk-details-header strong { color: #132a43; font-size: 12px; font-weight: 400; }
.rk-details-header > div:first-child span { color: #1775a3; font-size: 7.5px; letter-spacing: .08em; }
.rk-pool-note { margin: 0; padding: 7px 14px; color: #6b7789; background: #f7fafc; border-bottom: 1px solid #e2e7ec; font-size: 8.5px; }
.rk-transit-breakdown { min-height: 47px; padding: 7px 13px; display: grid; grid-template-columns: 105px repeat(6, minmax(80px, 1fr)); align-items: center; border-bottom: 1px solid #e2e7ec; }
.rk-transit-breakdown > span { color: #557087; font-size: 8px; text-transform: uppercase; }
.rk-transit-breakdown > div { min-height: 30px; padding-left: 10px; display: flex; justify-content: center; flex-direction: column; gap: 2px; border-left: 1px solid #e1e6eb; }
.rk-transit-breakdown small { color: #8793a2; font-size: 7.5px; }
.rk-transit-breakdown strong { color: #294056; font-size: 9px; font-weight: 400; }
.rk-details-grid { display: grid; grid-template-columns: 1fr 1fr; }
.rk-details-grid > section + section { border-left: 1px solid #dfe4ea; }
.rk-details-grid h3 { margin: 0; padding: 9px 13px; color: #5f6d81; background: #f7f9fb; border-bottom: 1px solid #e1e6eb; font-size: 8px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.rk-details-grid table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.rk-details-grid th,
.rk-details-grid td { height: 34px; padding: 6px 9px; border-right: 1px solid #edf0f3; border-bottom: 1px solid #e7eaee; font-size: 8.5px; text-align: left; }
.rk-details-grid th:first-child { width: 52%; }
.rk-details-grid th { height: 29px; color: #8490a0; background: #fbfcfd; font-size: 7.5px; font-weight: 400; text-transform: uppercase; }
.rk-details-grid td strong,
.rk-details-grid td small { display: block; }
.rk-details-grid td strong { color: #26364b; font-size: 9px; font-weight: 400; }
.rk-details-grid td small { margin-top: 2px; color: #8d98a7; font-size: 7.5px; }
.rk-procurement-empty { min-height: 220px; display: grid; place-content: center; gap: 5px; text-align: center; }
.rk-procurement-empty strong { font-size: 13px; font-weight: 400; }
.rk-procurement-empty span { color: var(--muted); font-size: 9px; }
.rk-request-dialog { position: fixed; inset: 0; width: min(340px, calc(100vw - 28px)); max-height: min(520px, calc(100dvh - 28px)); margin: auto; transform: none; }
.rk-request-dialog::backdrop { background: rgba(10, 18, 30, .42); backdrop-filter: blur(2px); }

@media (max-width: 900px) {
    .rk-procurement-period { grid-template-columns: 1fr; }
    .rk-procurement-period .report-period-control { grid-column: 1; }
    .rk-brand-filter > div { left: 0; right: auto; width: min(100%, 320px); }
    .rk-procurement-toolbar { align-items: stretch; flex-direction: column; }
    .rk-procurement-brand-control { align-items: stretch; }
    .rk-procurement-brand-control .rk-brand-filter { width: auto; flex: 1 1 auto; }
    .rk-procurement-toolbar .primary-button { width: 100%; }
    .rk-source-tooltip-item { grid-template-columns: 1fr; }
    .rk-details-header { grid-template-columns: 1fr repeat(3, 110px); }
    .rk-details-grid { grid-template-columns: 1fr; }
    .rk-details-grid > section + section { border-top: 1px solid #dfe4ea; border-left: 0; }
}

.action-confirm-dialog {
    position: fixed;
    inset: 0;
    width: min(430px, calc(100vw - 28px));
    max-width: none;
    margin: auto;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    overflow: visible;
}
.action-confirm-dialog::backdrop {
    background: rgba(10, 18, 30, .48);
    backdrop-filter: blur(2px);
}
.action-confirm-card {
    padding: 25px;
    background: #fff;
    border: 1px solid rgba(216, 222, 230, .9);
    border-radius: 15px;
    box-shadow: 0 28px 80px rgba(11, 18, 31, .28);
    text-align: center;
}
.action-confirm-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 13px;
    display: grid;
    place-items: center;
    color: #a34747;
    background: #fff0f0;
    border-radius: 50%;
    font-size: 17px;
}
.action-confirm-card h2 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 500; }
.action-confirm-card p { margin: 11px auto 21px; color: #667085; font-size: 11px; line-height: 1.6; }
.action-confirm-actions { display: flex; justify-content: center; gap: 8px; }
.action-confirm-actions button { min-width: 108px; min-height: 38px; padding: 0 14px; border-radius: 8px; font-size: 10px; font-weight: 500; }
.action-confirm-submit { color: #fff; background: var(--violet); border: 1px solid var(--violet); }
.action-confirm-submit:hover { background: #004f8b; border-color: #004f8b; }
.action-confirm-submit.is-danger { background: #b64d4d; border-color: #b64d4d; }
.action-confirm-submit.is-danger:hover { background: #9f3f3f; border-color: #9f3f3f; }
@media (max-width: 520px) {
    .action-confirm-card { padding: 21px 17px; }
    .action-confirm-actions { align-items: stretch; flex-direction: column-reverse; }
    .action-confirm-actions button { width: 100%; }
}

/* The GOST composition tooltip is nested in the product-name cell. Keep the
   compact cell ellipsis from leaking into the floating card or its metrics. */
.procurement-report-table .report-product-name .report-merge-tooltip {
    display: none;
    overflow: visible;
    color: #dbe1ec;
    font-weight: 400;
    text-overflow: clip;
    white-space: normal;
}
.procurement-report-table .report-product-name .gost-product-name-line {
    width: 100%;
    max-width: 100%;
    display: flex !important;
    flex-flow: row nowrap !important;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}
.procurement-report-table .report-product-name .report-merge-indicator:hover .report-merge-tooltip,
.procurement-report-table .report-product-name .report-merge-indicator:focus .report-merge-tooltip {
    display: block;
}
.procurement-report-table .report-product-name [data-pinnable-tooltip] {
    cursor: pointer;
}
.procurement-report-table .report-product-name [data-pinnable-tooltip]::after {
    position: absolute;
    top: 100%;
    left: -5px;
    width: min(500px, calc(100vw - 48px));
    height: 8px;
    display: none;
    content: "";
}
.procurement-report-table .report-product-name [data-pinnable-tooltip]:hover::after,
.procurement-report-table .report-product-name [data-pinnable-tooltip]:focus::after,
.procurement-report-table .report-product-name [data-pinnable-tooltip].is-pinned::after {
    display: block;
}
.procurement-report-table .report-product-name [data-pinnable-tooltip].is-pinned {
    color: #3b9a70;
    opacity: 1;
}
.procurement-report-table .report-product-name [data-pinnable-tooltip].is-pinned .report-merge-tooltip {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.procurement-report-table .report-product-name .report-merge-tooltip span,
.procurement-report-table .report-product-name .report-merge-tooltip small {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}
.procurement-report-table .report-product-name .gost-composition-tooltip {
    width: min(500px, calc(100vw - 48px));
    max-height: min(620px, calc(var(--app-dynamic-viewport-height) - 48px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: auto;
    scrollbar-color: rgba(174, 185, 201, .72) rgba(255, 255, 255, .06);
    scrollbar-width: thin;
}
.procurement-report-table .report-product-name .gost-composition-tooltip::-webkit-scrollbar {
    width: 8px;
}
.procurement-report-table .report-product-name .gost-composition-tooltip::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .06);
    border-radius: 999px;
}
.procurement-report-table .report-product-name .gost-composition-tooltip::-webkit-scrollbar-thumb {
    background: rgba(174, 185, 201, .72);
    border: 2px solid #172033;
    border-radius: 999px;
}
.procurement-report-table .report-product-name .gost-composition-product b {
    color: #fff;
    font-size: 9.5px;
    font-weight: 400;
    overflow-wrap: anywhere;
}
.procurement-report-table .report-product-name .gost-composition-product small {
    margin-top: 3px;
    color: #aeb9c9;
    font-size: 8.3px;
    font-weight: 400;
}
.procurement-report-table .report-product-name .gost-composition-metrics {
    display: grid !important;
}
.procurement-report-table .report-product-name .gost-composition-metrics > span {
    display: block;
}
.procurement-report-table .report-product-name .gost-composition-metrics small {
    margin-top: 0;
    color: #8fa0b7;
    font-size: 7.8px;
    font-weight: 400;
}
.procurement-report-table .report-product-name .gost-composition-metrics strong {
    margin-top: 3px;
    color: #fff;
    font-size: 9.5px;
    font-weight: 400;
}

/* Central queues for data that must be completed in 1C. */
.data-completion-heading { align-items: end; }
.data-completion-overview { margin-bottom: 12px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.data-completion-card { min-width: 0; min-height: 92px; padding: 14px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 11px; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 4px 14px rgba(25,42,70,.035); text-decoration: none; transition: border-color .14s, box-shadow .14s, transform .14s; }
.data-completion-card:hover { border-color: #b9d9ea; box-shadow: 0 8px 22px rgba(25,62,91,.07); transform: translateY(-1px); }
.data-completion-card.is-active { border-color: #75b9dc; box-shadow: inset 0 0 0 1px rgba(0,92,161,.12), 0 8px 22px rgba(25,62,91,.07); }
.data-completion-card-icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--violet-dark); background: #eaf5fa; border-radius: 9px; font-size: 8px; font-weight: 700; letter-spacing: .035em; }
.data-completion-card > span:nth-child(2) { min-width: 0; }
.data-completion-card strong, .data-completion-card small { display: block; }
.data-completion-card strong { color: var(--ink); font-size: 11px; font-weight: 500; }
.data-completion-card small { margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 8px; font-weight: 400; line-height: 1.45; }
.data-completion-card > b { color: var(--violet); font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-completion-panel { overflow: hidden; }
.data-completion-panel-header { min-height: 86px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.data-completion-panel-header > div > span { color: var(--violet); font-size: 8px; font-weight: 600; letter-spacing: .12em; }
.data-completion-panel-header h2 { margin: 4px 0 0; color: var(--ink); font-size: 16px; font-weight: 500; }
.data-completion-panel-header p { margin: 4px 0 0; color: var(--muted); font-size: 8.5px; }
.data-completion-panel-header .primary-button { min-width: 170px; height: 40px; padding: 0 15px; white-space: nowrap; }
.data-completion-toolbar { min-height: 70px; padding: 10px 15px; display: flex; align-items: end; gap: 9px; background: #fbfcfd; border-bottom: 1px solid var(--line); }
.data-completion-toolbar label { min-width: 260px; flex: 1; }
.data-completion-toolbar label > span { margin-bottom: 5px; display: block; color: var(--muted); font-size: 8.5px; }
.data-completion-toolbar label > div { position: relative; }
.data-completion-toolbar svg { position: absolute; left: 11px; top: 50%; width: 15px; height: 15px; fill: none; stroke: #8d95a3; stroke-width: 1.8; transform: translateY(-50%); }
.data-completion-toolbar input { width: 100%; height: 39px; padding: 0 12px 0 35px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; outline: none; font-size: 10px; }
.data-completion-toolbar input:focus { border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }
.data-completion-toolbar .secondary-button { height: 39px; padding: 0 18px; }
.data-completion-reset { height: 39px; padding: 0 8px; display: inline-flex; align-items: center; color: #8b5960; font-size: 9px; text-decoration: none; }
.data-completion-toolbar > strong { min-width: 95px; height: 39px; display: inline-flex; align-items: center; justify-content: flex-end; color: #687486; font-size: 9px; font-weight: 500; white-space: nowrap; }
.data-completion-table-wrap { max-height: calc(var(--app-viewport-height) - 300px); overflow: auto; }
.data-completion-table { width: 100%; min-width: 1400px; border-collapse: collapse; table-layout: fixed; color: #4d5b6d; font-size: 9px; font-variant-numeric: tabular-nums; }
.data-completion-table thead { position: sticky; z-index: 3; top: 0; }
.data-completion-table th { height: 40px; padding: 0 9px; color: #778497; background: #f5f7fa; border-right: 1px solid #e3e7ed; border-bottom: 1px solid #d9dfe7; font-size: 7.8px; font-weight: 500; letter-spacing: .045em; text-align: left; text-transform: uppercase; }
.data-completion-table td { height: 44px; padding: 7px 9px; overflow: hidden; background: #fff; border-right: 1px solid #edf0f4; border-bottom: 1px solid #e8ebef; text-overflow: ellipsis; white-space: nowrap; }
.data-completion-table th:last-child, .data-completion-table td:last-child { border-right: 0; }
.data-completion-table tbody tr:nth-child(even) td { background: #fbfcfd; }
.data-completion-table tbody tr:hover td { background: #f1f7fa; }
.data-completion-table td strong { color: var(--ink); font-weight: 500; }
.data-completion-table .numeric { text-align: right; }
.data-completion-table .is-missing { color: #9c6418; background: #fffaf0; }
.data-completion-table tbody tr:nth-child(even) .is-missing { background: #fff8eb; }
.data-completion-product strong, .data-completion-product small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.data-completion-product small { margin-top: 3px; color: var(--muted); font-size: 7.8px; }
.data-completion-action { padding: 5px 7px; color: #096799; background: #eaf4fb; border-radius: 5px; font-size: 8px; white-space: nowrap; }
.data-completion-action.is-warning { color: #96601c; background: #fff3df; }
.data-completion-table.is-create-pv th:nth-child(1) { width: 10%; }
.data-completion-table.is-create-pv th:nth-child(2) { width: 13%; }
.data-completion-table.is-create-pv th:nth-child(3) { width: 18%; }
.data-completion-table.is-create-pv th:nth-child(4) { width: 8%; }
.data-completion-table.is-create-pv th:nth-child(5) { width: 13%; }
.data-completion-table.is-create-pv th:nth-child(6) { width: 25%; }
.data-completion-table.is-create-pv th:nth-child(7) { width: 13%; }
.data-completion-table.is-overdue-orders th:nth-child(1) { width: 24%; }
.data-completion-table.is-overdue-orders th:nth-child(2) { width: 16%; }
.data-completion-table.is-overdue-orders th:nth-child(3) { width: 20%; }
.data-completion-table.is-overdue-orders th:nth-child(4) { width: 24%; }
.data-completion-table.is-overdue-orders th:nth-child(5) { width: 16%; }
.data-completion-table.is-products th:nth-child(1) { width: 260px; }
.data-completion-table.is-products th:nth-child(2) { width: 135px; }
.data-completion-table.is-products th:nth-child(3) { width: 110px; }
.data-completion-table.is-products th:nth-child(4) { width: 135px; }
.data-completion-table.is-products th:nth-child(5) { width: 120px; }
.data-completion-table.is-products th:nth-child(6) { width: 70px; }
.data-completion-table.is-products th:nth-child(7) { width: 105px; }
.data-completion-table.is-products th:nth-child(8) { width: 135px; }
.data-completion-table.is-products th:nth-child(9) { width: 100px; }
.data-completion-table.is-products th:nth-child(10) { width: 100px; }
.data-completion-table.is-products th:nth-child(11) { width: 130px; }
.data-completion-pagination { min-height: 52px; padding: 8px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); border-top: 1px solid var(--line); font-size: 9px; }
.data-completion-pagination > div { display: flex; gap: 7px; }
.data-completion-pagination a { min-height: 32px; padding: 0 12px; display: inline-flex; align-items: center; color: var(--violet-dark); background: #f2f7fa; border: 1px solid #d9e8f0; border-radius: 7px; text-decoration: none; }
@media (max-width: 1100px) {
    .data-completion-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .data-completion-heading { align-items: stretch; }
    .data-completion-overview { grid-template-columns: 1fr; }
    .data-completion-card { min-height: 80px; }
    .data-completion-panel-header, .data-completion-toolbar { align-items: stretch; flex-direction: column; }
    .data-completion-panel-header .primary-button, .data-completion-toolbar label { width: 100%; min-width: 0; }
    .data-completion-toolbar > strong { justify-content: flex-start; }
    .data-completion-table-wrap { max-height: none; }
}

/* Repair-kit bill of materials workspace. */
.repair-kit-purchase-workspace { height: clamp(420px, calc(var(--app-viewport-height) - 278px), 760px); min-height: 0; display: grid; grid-template-columns: minmax(245px, 300px) minmax(0, 1fr); gap: 10px; transition: opacity .12s ease; }
.repair-kit-purchase-workspace.is-loading { opacity: .55; pointer-events: none; }
.repair-kit-catalog, .repair-kit-composer { min-width: 0; overflow: hidden; }
.repair-kit-catalog { display: flex; flex-direction: column; }
.repair-kit-catalog > header { min-height: 74px; padding: 14px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.repair-kit-catalog > header span, .repair-kit-composer-header span, .repair-kit-add-copy > span, .repair-kit-composition-head span { color: var(--violet); font-size: 7.7px; font-weight: 600; letter-spacing: .11em; }
.repair-kit-catalog > header h2, .repair-kit-composer-header h2, .repair-kit-composition-head h3 { margin: 4px 0 0; color: var(--ink); font-weight: 500; }
.repair-kit-catalog > header h2 { margin-top: 0; color: #132d43; font-size: 15.5px; font-weight: 400; letter-spacing: -.015em; line-height: 1.2; }
.repair-kit-catalog > header > b { min-width: 36px; height: 28px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; color: #34647d; background: #f0f6f8; border: 1px solid #dce8ed; border-radius: 999px; font-size: 10px; font-weight: 400; line-height: 1; text-align: center; }
.repair-kit-catalog-controls { margin: 10px 10px 9px; flex: 0 0 auto; overflow: hidden; background: #fff; border: 1px solid #dce4eb; border-radius: 10px; box-shadow: 0 3px 12px rgba(23, 48, 67, .035); }
.repair-kit-list-search { position: relative; display: block; border-bottom: 1px solid #e4e9ee; }
.repair-kit-list-search svg { position: absolute; z-index: 1; left: 11px; top: 50%; width: 15px; height: 15px; fill: none; stroke: #7f8d9d; stroke-width: 1.7; transform: translateY(-50%); pointer-events: none; }
.repair-kit-list-search input { width: 100%; height: 42px; padding: 0 11px 0 34px; color: var(--ink); background: #fff; border: 0; border-radius: 0; outline: none; font-size: 9.5px; }
.repair-kit-list-search input:focus { background: #fbfdfe; box-shadow: inset 3px 0 #2492c4; }
.repair-kit-list-filters { margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 82px; gap: 0; background: #fafcfd; border: 0; border-radius: 0; }
.repair-kit-list-filters label { min-width: 0; }
.repair-kit-list-filters > label:not(.repair-kit-empty-filter) { padding: 8px 10px 7px; }
.repair-kit-list-filters > label:nth-child(2) { border-left: 1px solid #e4e9ee; }
.repair-kit-list-filters label > span { margin-bottom: 3px; display: block; color: #8491a0; font-size: 7.8px; font-weight: 500; letter-spacing: .025em; }
.repair-kit-list-filters select { width: 100%; height: 24px; padding: 0 20px 0 0; color: #263f52; background-color: transparent; border: 0; border-radius: 0; outline: none; font-size: 10.2px; font-weight: 500; }
.repair-kit-list-filters select option { font-size: 12px; }
.repair-kit-list-filters select:focus { color: #006b9e; }
.repair-kit-list-filters .repair-kit-empty-filter { min-height: 35px; padding: 8px 10px; display: flex; grid-column: 1 / -1; align-items: center; gap: 8px; color: #4b6274; border-top: 1px solid #e4e9ee; cursor: pointer; }
.repair-kit-empty-filter input { width: 14px; height: 14px; margin: 0; flex: 0 0 auto; accent-color: var(--violet); }
.repair-kit-list-filters .repair-kit-empty-filter > span { margin: 0; color: inherit; font-size: 8.8px; letter-spacing: 0; }
.repair-kit-list { min-height: 0; padding: 0 8px 10px; flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; }
.repair-kit-list-item { min-height: 55px; padding: 9px 9px 9px 11px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; color: inherit; border: 1px solid transparent; border-radius: 8px; text-decoration: none; }
.repair-kit-list-item[hidden], .repair-kit-list-item.is-search-hidden, .repair-kit-list-no-match[hidden] { display: none !important; }
.repair-kit-list-item:hover { background: #f6fafc; border-color: #e2edf3; }
.repair-kit-list-item.is-active { background: #eaf6fb; border-color: #b9dceb; box-shadow: inset 3px 0 #0d91c8; }
.repair-kit-list-item span, .repair-kit-list-item strong, .repair-kit-list-item small { min-width: 0; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repair-kit-list-copy strong { color: var(--ink); font-size: 10.4px; font-weight: 500; }
.repair-kit-list-copy small { margin-top: 4px; color: var(--muted); font-size: 8.3px; font-weight: 400; }
.repair-kit-list-meta { display: flex !important; align-items: center; gap: 6px; }
.repair-kit-list-meta em { color: #3e627a; font-size: 9.8px; font-style: normal; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.repair-kit-list-meta > b { min-width: 23px; padding: 4px 6px; color: #567184; background: #eef3f6; border-radius: 999px; font-size: 8px; font-weight: 500; text-align: center; }
.repair-kit-list-item.is-active .repair-kit-list-meta > b { color: #056897; background: #d9eef7; }
.repair-kit-list-empty, .repair-kit-list-no-match { margin: 12px 4px; padding: 18px 12px; color: var(--muted); background: #fafbfd; border: 1px dashed var(--line-strong); border-radius: 8px; font-size: 8.5px; line-height: 1.5; text-align: center; }
.repair-kit-list-empty strong, .repair-kit-list-empty span { display: block; }
.repair-kit-list-empty strong { margin-bottom: 5px; color: var(--ink); font-size: 10px; font-weight: 500; }
.repair-kit-composer { display: flex; flex-direction: column; }
.repair-kit-composer-header { min-height: 82px; padding: 14px 16px; display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.repair-kit-composer-header h2 { font-size: 16px; }
.repair-kit-composer-header p { margin: 5px 0 0; color: var(--muted); font-size: 8px; }
.repair-kit-add-panel { padding: 12px 15px; display: grid; flex: 0 0 auto; grid-template-columns: minmax(0, 1fr); align-items: end; gap: 14px; background: #fbfcfd; border-bottom: 1px solid var(--line); }
.repair-kit-add-panel form { min-width: 0; display: grid; grid-template-columns: minmax(220px, 1fr) 110px 135px; align-items: end; gap: 8px; }
.repair-kit-add-panel label > span { margin-bottom: 5px; display: block; color: #6f7b8c; font-size: 8px; }
.repair-kit-add-panel input { width: 100%; height: 39px; padding: 0 11px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; outline: none; font-size: 10px; }
.repair-kit-add-panel input:focus { border-color: #4a9fd0; box-shadow: 0 0 0 3px rgba(0,92,161,.08); }
.repair-kit-add-panel .primary-button { height: 39px; padding: 0 12px; font-size: 8.5px; }
.repair-kit-add-panel .primary-button:disabled { cursor: not-allowed; opacity: .45; }
.repair-kit-component-search { position: relative; min-width: 0; }
.repair-kit-search-results { position: absolute; z-index: 20; top: calc(100% + 5px); left: 0; width: min(860px, calc(100vw - 70px)); max-height: 360px; padding: 6px; overflow: auto; background: #fff; border: 1px solid #cfd9e3; border-radius: 9px; box-shadow: 0 16px 35px rgba(18,38,61,.18); }
.repair-kit-search-columns, .repair-kit-search-result { display: grid; grid-template-columns: minmax(230px, 1fr) 80px 90px 90px 90px; align-items: center; gap: 9px; }
.repair-kit-search-columns { position: sticky; z-index: 2; top: -6px; min-width: 0; height: 33px; padding: 0 11px; color: #6d7d90; background: rgba(248,250,252,.98); border-bottom: 1px solid #dfe6ec; font-size: 8.4px; letter-spacing: .03em; text-transform: uppercase; }
.repair-kit-search-columns span:nth-child(n+3) { text-align: right; }
.repair-kit-search-entry + .repair-kit-search-entry { border-top: 1px solid #edf1f4; }
.repair-kit-search-result { width: 100%; min-height: 62px; padding: 10px 11px; color: inherit; background: transparent; border: 0; border-radius: 7px; text-align: left; }
.repair-kit-search-result:hover, .repair-kit-search-result:focus { background: #eef7fb; outline: none; }
.repair-kit-search-result.is-in-composition { background: #f1f8fc; box-shadow: inset 3px 0 #2b98c8; }
.repair-kit-search-result.is-in-composition:hover, .repair-kit-search-result.is-in-composition:focus { background: #e7f4fa; }
.repair-kit-search-result > span { min-width: 0; }
.repair-kit-search-result strong, .repair-kit-search-result small { display: block; }
.repair-kit-search-result strong { color: var(--ink); font-size: 10.2px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; white-space: normal; }
.repair-kit-search-result small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repair-kit-search-result small { margin-top: 4px; color: var(--muted); font-size: 8.4px; }
.repair-kit-search-result > b { color: #315c76; font-size: 9.2px; font-weight: 500; }
.repair-kit-search-result > i { color: #354d61; font-size: 9.2px; font-style: normal; font-variant-numeric: tabular-nums; line-height: 1.45; text-align: right; }
.repair-kit-search-message { padding: 20px 11px; color: var(--muted); font-size: 9.5px; text-align: center; }
.repair-kit-composition-head { min-height: 58px; padding: 10px 15px; display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; }
.repair-kit-composition-head h3 { font-size: 13px; }
.repair-kit-composition-head > strong { color: var(--muted); font-size: 8px; font-weight: 400; }
.repair-kit-composition-head > strong b { color: var(--ink); font-size: 11px; font-weight: 500; }
.repair-kit-composer > [data-repair-kit-composition-region] { min-height: 0; display: flex; flex: 1 1 auto; flex-direction: column; overflow: hidden; }
.repair-kit-composition-table-wrap { min-height: 0; flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; }
.repair-kit-composition-table { width: 100%; min-width: 880px; border-collapse: collapse; table-layout: fixed; color: #4e5c6e; font-size: 11.2px; font-variant-numeric: tabular-nums; }
.repair-kit-composition-table th { height: 39px; padding: 0 10px; color: #748196; background: #f5f7fa; border-top: 1px solid var(--line); border-right: 1px solid #e1e6ec; border-bottom: 1px solid #d7dde5; font-size: 7.6px; font-weight: 500; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.repair-kit-composition-table td { height: 58px; padding: 7px 10px; vertical-align: middle; background: #fff; border-right: 1px solid #edf0f3; border-bottom: 1px solid #e8ebef; }
.repair-kit-composition-table tr:hover td { background: #f8fbfc; }
.repair-kit-composition-table th:nth-child(1) { width: 32%; }
.repair-kit-composition-table th:nth-child(2) { width: 9%; }
.repair-kit-composition-table th:nth-child(3) { width: 14%; }
.repair-kit-composition-table th:nth-child(4) { width: 12%; text-align: left; }
.repair-kit-composition-table th:nth-child(5) { width: 12%; text-align: left; }
.repair-kit-composition-table th:nth-child(6) { width: 13%; text-align: left; }
.repair-kit-composition-table th:nth-child(7) { width: 8%; }
.repair-kit-composition-table th:last-child, .repair-kit-composition-table td:last-child { border-right: 0; }
.repair-kit-composition-table td:first-child { overflow: visible; }
.repair-kit-component-name-line { min-width: 0; display: flex; align-items: center; gap: 5px; }
.repair-kit-component-name-line > strong { min-width: 0; display: block; color: var(--ink); font-size: 11.2px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; white-space: normal; }
.repair-kit-composition-table td:first-child small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repair-kit-composition-table td:first-child > small { display: block; margin-top: 4px; color: var(--muted); font-size: 7.9px; }
.repair-kit-merge-indicator { overflow: visible; }
.repair-kit-merge-tooltip { position: fixed; z-index: 1200; top: 0; left: 0; width: min(520px, calc(100vw - 24px)); max-height: min(560px, calc(var(--app-dynamic-viewport-height) - 24px)); overflow-x: hidden; overflow-y: auto; pointer-events: auto; scrollbar-color: rgba(174,185,201,.72) rgba(255,255,255,.06); scrollbar-width: thin; }
.repair-kit-merge-indicator.is-pinned .repair-kit-merge-tooltip { display: block; visibility: visible; opacity: 1; transform: translateY(0); }
.repair-kit-merge-overview { margin-top: 10px; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.repair-kit-merge-overview > span { min-width: 0; padding: 8px 9px; display: block; background: rgba(0,92,161,.2); border: 1px solid rgba(72,165,214,.23); border-radius: 7px; }
.repair-kit-merge-overview small, .repair-kit-merge-overview strong { display: block; overflow: visible !important; text-overflow: clip !important; white-space: nowrap !important; }
.repair-kit-merge-overview small { margin: 0 !important; color: #9fb0c6 !important; font-size: 7.8px !important; }
.repair-kit-merge-overview strong { margin-top: 3px; color: #fff !important; font-size: 10px; font-weight: 500; }
.repair-kit-merge-member-list { margin-top: 7px; display: block !important; }
.repair-kit-merge-member { min-width: 0; padding: 9px 0; display: grid !important; grid-template-columns: minmax(0, 1fr) 205px; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.repair-kit-merge-member > span:first-child { min-width: 0; }
.repair-kit-merge-member b, .repair-kit-merge-member small { display: block; overflow: visible !important; text-overflow: clip !important; white-space: normal !important; }
.repair-kit-merge-member b { color: #fff; font-size: 9.3px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.repair-kit-merge-member > span:first-child small { margin-top: 3px !important; color: #aeb9c9 !important; font-size: 7.8px !important; }
.repair-kit-merge-member-metrics { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.repair-kit-merge-member-metrics > span { min-width: 0; padding: 5px 6px; display: block; background: rgba(255,255,255,.055); border-radius: 5px; text-align: right; }
.repair-kit-merge-member-metrics small { margin: 0 !important; color: #8fa0b7 !important; font-size: 7.2px !important; }
.repair-kit-merge-member-metrics strong { margin-top: 2px; display: block; color: #fff !important; font-size: 8.5px; font-weight: 500; white-space: nowrap; }
.repair-kit-source-badge { width: max-content; max-width: 100%; margin-top: 5px; padding: 4px 7px; display: block; overflow: hidden; color: #527084; background: #eef4f7; border: 1px solid #dbe7ec; border-radius: 999px; font-size: 8px; font-style: normal; font-weight: 500; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.repair-kit-source-badge.is-pv_merged { color: #087044; background: #eaf8f1; border-color: #bfe6d1; }
.repair-kit-source-badge.is-pv_own { color: #8a651e; background: #fff8e8; border-color: #eedda9; }
.repair-kit-source-badge.is-excluded { color: #a04148; background: #fff1f2; border-color: #efcdd0; }
.repair-kit-source-badge.is-seal_merged { color: #075f8d; background: #e7f5fb; border-color: #b9dfed; }
.repair-kit-search-result .repair-kit-source-badge.is-bearing_merged { width: max-content; margin-top: 6px; padding: 0; display: flex; align-items: baseline; gap: 0; overflow: visible; color: #486a7f; background: transparent; border: 0; border-radius: 0; font-style: normal; line-height: 1.25; }
.repair-kit-search-result .repair-kit-source-badge.is-bearing_merged::before { width: 5px; height: 5px; margin-right: 5px; flex: 0 0 auto; background: #49a47e; border-radius: 50%; content: ""; }
.repair-kit-search-result .repair-kit-source-badge.is-bearing_merged b { color: #315d72; font-size: 8.4px; font-weight: 600; }
.repair-kit-search-result .repair-kit-source-badge.is-bearing_merged small { margin: 0 !important; display: inline; color: #7a8997; font-size: 8px; }
.repair-kit-search-result .repair-kit-source-badge.is-bearing_merged small::before { margin: 0 5px; color: #a1acb5; content: "·"; }
.repair-kit-membership-badge { width: max-content; max-width: 100%; margin-top: 5px; padding: 4px 7px; display: block; color: #075f8d; background: #e2f2f9; border: 1px solid #b9deed; border-radius: 999px; font-size: 8px; font-style: normal; font-weight: 500; line-height: 1; }
.repair-kit-component-brand { color: #315d78; font-size: 11.2px; font-weight: 500; line-height: 1.35; }
.repair-kit-composition-table th.numeric,
.repair-kit-composition-table td.numeric { text-align: left !important; }
.repair-kit-composition-table .numeric > strong, .repair-kit-metric-with-info > strong { color: var(--ink); font-size: 11.2px; font-weight: 500; line-height: 1.35; }
.repair-kit-metric-with-info { min-height: 34px; display: inline-flex; align-items: center; justify-content: flex-start; gap: 5px; }
.repair-kit-metric-unit { color: #728093; font-size: 9.8px; font-weight: 400; line-height: 1; white-space: nowrap; }
.repair-kit-metric-indicator { color: #4f7f6b; opacity: .82; }
.repair-kit-metric-tooltip { width: min(420px, calc(100vw - 24px)); }
.repair-kit-metric-breakdown-list { margin-top: 9px; display: block !important; }
.repair-kit-metric-breakdown-item { min-width: 0; padding: 9px 0; display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.repair-kit-metric-breakdown-item > span { min-width: 0; }
.repair-kit-metric-breakdown-item b, .repair-kit-metric-breakdown-item small { display: block; overflow: visible !important; text-overflow: clip !important; white-space: normal !important; }
.repair-kit-metric-breakdown-item b { color: #fff; font-size: 9.3px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.repair-kit-metric-breakdown-item > span small { margin-top: 3px !important; color: #aeb9c9 !important; font-size: 7.8px !important; }
.repair-kit-metric-breakdown-item > strong { color: #fff !important; font-size: 10px; font-weight: 500; white-space: nowrap; }
.repair-kit-metric-breakdown-item > strong small { margin: 0 0 0 2px !important; display: inline; color: #93a3b8 !important; font-size: 7.5px !important; }
.repair-kit-transit-breakdown-tooltip { width: min(520px, calc(100vw - 24px)); }
.repair-kit-transit-stage-summary { margin-top: 10px; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.repair-kit-transit-stage-summary > span { min-width: 0; padding: 7px 8px; display: block; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.075); border-radius: 6px; }
.repair-kit-transit-stage-summary > span.is-active { background: rgba(35,132,92,.2); border-color: rgba(69,176,126,.3); }
.repair-kit-transit-stage-summary small, .repair-kit-transit-stage-summary strong { display: block; overflow: visible !important; text-overflow: clip !important; white-space: normal !important; }
.repair-kit-transit-stage-summary small { margin: 0 !important; color: #91a1b6 !important; font-size: 7.7px !important; line-height: 1.25; }
.repair-kit-transit-stage-summary > span.is-active small { color: #a8d7c0 !important; }
.repair-kit-transit-stage-summary strong { margin-top: 3px; color: #fff !important; font-size: 9.6px; font-weight: 500; }
.repair-kit-transit-member { min-width: 0; padding: 10px 0; display: block !important; border-top: 1px solid rgba(255,255,255,.08); }
.repair-kit-transit-member-head { min-width: 0; display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px; }
.repair-kit-transit-member-head > span { min-width: 0; }
.repair-kit-transit-member-head b, .repair-kit-transit-member-head small { display: block; overflow: visible !important; text-overflow: clip !important; white-space: normal !important; }
.repair-kit-transit-member-head b { color: #fff; font-size: 9.3px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.repair-kit-transit-member-head > span small { margin-top: 3px !important; color: #aeb9c9 !important; font-size: 7.8px !important; }
.repair-kit-transit-member-head > strong { color: #fff !important; font-size: 10px; font-weight: 500; white-space: nowrap; }
.repair-kit-transit-member-head > strong small { margin: 0 0 0 2px !important; display: inline; color: #93a3b8 !important; font-size: 7.5px !important; }
.repair-kit-transit-member-stages { margin-top: 7px; display: flex !important; flex-wrap: wrap; gap: 5px; }
.repair-kit-transit-member-stages > span { min-width: 105px; padding: 5px 7px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: rgba(255,255,255,.055); border-radius: 5px; }
.repair-kit-transit-member-stages small { margin: 0 !important; color: #9dadc1 !important; font-size: 7.4px !important; }
.repair-kit-transit-member-stages strong { color: #fff !important; font-size: 8.5px; font-weight: 500; white-space: nowrap; }
.repair-kit-quantity-editor { min-height: 34px; display: flex; align-items: center; }
.repair-kit-quantity-value { min-width: 70px; height: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: flex-start; gap: 5px; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 6px; font: inherit; font-variant-numeric: tabular-nums; line-height: 1; cursor: text; }
.repair-kit-quantity-value:hover, .repair-kit-quantity-value:focus-visible { background: #f6f9fb; border-color: #d8e0e7; outline: none; }
.repair-kit-quantity-value span { font-size: 11.2px; line-height: 1; }
.repair-kit-quantity-value small { color: #728093; font-size: 9.8px; line-height: 1; }
.repair-kit-quantity-value[hidden], .repair-kit-quantity-form[hidden] { display: none !important; }
.repair-kit-quantity-form { display: flex; align-items: center; gap: 5px; }
.repair-kit-quantity-form input { width: 78px; height: 34px; padding: 0 8px; color: var(--ink); background: #fff; border: 1px solid #d6dde6; border-radius: 6px; outline: none; font-size: 11.2px; }
.repair-kit-quantity-form input:focus { border-color: #58a7d1; box-shadow: 0 0 0 2px rgba(0,92,161,.07); }
.repair-kit-quantity-form button { width: 34px; height: 34px; color: #087647; background: #ebf8f1; border: 1px solid #c2e8d3; border-radius: 6px; font-size: 12px; }
.repair-kit-quantity-form.is-saving { opacity: .55; }
.repair-kit-composition-table [data-repair-kit-remove-form] { text-align: center; }
.repair-kit-composition-table [data-repair-kit-remove-form] button { width: 30px; height: 30px; padding: 0; display: inline-grid; place-items: center; color: #c8424c; background: transparent; border: 0; border-radius: 0; box-shadow: none; cursor: pointer; }
.repair-kit-composition-table [data-repair-kit-remove-form] button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.repair-kit-composition-table [data-repair-kit-remove-form] button:hover,
.repair-kit-composition-table [data-repair-kit-remove-form] button:focus-visible { color: #c8424c; background: transparent; outline: none; }
.repair-kit-composition-table [data-repair-kit-remove-form] button:active { color: #c8424c; }
.repair-kit-composition-empty, .repair-kit-composer-empty { min-height: 250px; padding: 40px 20px; display: grid; place-items: center; align-content: center; color: var(--muted); text-align: center; }
.repair-kit-composition-empty { min-height: 0; flex: 1 1 auto; }
.repair-kit-composition-empty > span, .repair-kit-composer-empty > span { width: 38px; height: 38px; display: grid; place-items: center; color: #1689bd; background: #eaf6fb; border-radius: 50%; font-size: 15px; }
.repair-kit-composition-empty h3, .repair-kit-composer-empty h2 { margin: 10px 0 0; color: var(--ink); font-size: 13px; font-weight: 500; }
.repair-kit-composition-empty p, .repair-kit-composer-empty p { max-width: 430px; margin: 6px 0 0; font-size: 8.5px; line-height: 1.55; }
@media (max-width: 1050px) {
    .repair-kit-purchase-workspace { grid-template-columns: 235px minmax(0, 1fr); }
    .repair-kit-add-panel { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .repair-kit-purchase-workspace { height: auto; display: block; }
    .repair-kit-catalog { height: 330px; max-height: 330px; margin-bottom: 10px; }
    .repair-kit-composer-header { align-items: flex-start; }
    .repair-kit-add-panel form { grid-template-columns: 1fr 100px; }
    .repair-kit-add-panel .primary-button { grid-column: 1 / -1; }
    .repair-kit-search-results { width: calc(100vw - 50px); }
    .repair-kit-search-columns, .repair-kit-search-result { grid-template-columns: minmax(190px, 1fr) 65px 75px 75px 75px; }
    .repair-kit-merge-member { grid-template-columns: 1fr; }
}

/* Every table header uses one optical weight. Sorting and filters may change
   colour or add an icon, but never make one column label heavier than another. */
table thead th,
table thead th > a,
table thead th > button,
table thead th .sortable-heading,
table thead th .report-column-summary,
table thead th .report-column-title {
    font-weight: 400 !important;
}

/* System settings */
.system-settings-content-shell { max-width: none; }
.system-settings-heading { margin-bottom: 10px; }
.system-settings-panel, .system-settings-history { overflow: hidden; }
.system-settings-history { margin-top: 10px; }
.system-settings-panel-head { min-height: 58px; padding: 11px 16px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.system-settings-panel-head h2 { margin: 2px 0 0; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.2; }
.system-settings-panel-head p { margin: 3px 0 0; color: var(--muted); font-size: 9.5px; }
.system-settings-section-kicker { color: var(--blue); font-size: 7.7px; font-weight: 600; letter-spacing: .12em; }
.delivery-settings-form { padding: 0 16px 14px; }
.delivery-settings-list { width: min(820px, 100%); }
.delivery-setting-row { min-height: 56px; display: grid; grid-template-columns: 130px 105px 18px 98px 22px minmax(130px, 1fr); align-items: center; gap: 8px; color: #526273; border-bottom: 1px solid #e5ebf0; cursor: default; }
.delivery-setting-name { min-width: 0; display: block; }
.delivery-setting-name strong, .delivery-setting-name small { display: block; }
.delivery-setting-name strong { color: var(--ink); font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.delivery-setting-name small { margin-top: 2px; color: var(--muted); font-size: 8.7px; }
.delivery-setting-source, .delivery-setting-result { font-size: 10.5px; white-space: nowrap; }
.delivery-setting-result { color: #385268; }
.delivery-setting-operator { color: #91a0af; font-size: 12px; text-align: center; }
.delivery-rule-input { height: 32px; display: inline-flex; align-items: center; overflow: hidden; background: #fff; border: 1px solid #cfd9e3; border-radius: 6px; }
.delivery-rule-input input { width: 57px; height: 100%; padding: 0 8px; color: var(--ink); background: transparent; border: 0; outline: 0; font: inherit; font-size: 11px; font-variant-numeric: tabular-nums; }
.delivery-rule-input:focus-within { border-color: #48a9d5; box-shadow: 0 0 0 3px rgba(36,155,207,.1); }
.delivery-rule-input small { height: 100%; padding: 0 7px; display: inline-flex; align-items: center; color: #778697; background: #f3f6f8; border-left: 1px solid #dce4eb; font-size: 8.3px; }
.delivery-settings-actions { width: min(820px, 100%); padding-top: 12px; display: flex; align-items: center; gap: 12px; }
.delivery-settings-actions .primary-button { min-height: 34px; padding: 0 14px; }
.delivery-settings-actions span { color: var(--muted); font-size: 8.8px; }
.system-settings-field-error, .system-settings-form-error { color: #ba3742; font-size: 9px; }
.system-settings-form-error { padding-top: 10px; }
.system-settings-field-error { grid-column: 2 / -1; padding-bottom: 7px; display: block; }
.system-settings-history-list { display: block; }
.system-settings-history-list, .system-settings-empty { width: min(820px, 100%); }
.system-settings-history-row { min-height: 42px; padding: 7px 16px; display: grid; grid-template-columns: 90px 145px minmax(140px, 1fr) auto; align-items: center; gap: 12px; border-top: 1px solid #e8edf2; font-size: 9.7px; }
.system-settings-history-row:first-child { border-top: 0; }
.system-settings-history-fob { color: var(--ink); font-weight: 500; }
.system-settings-history-value { color: #176e99; font-variant-numeric: tabular-nums; }
.system-settings-history-user, .system-settings-history-row time { color: var(--muted); }
.system-settings-history-row time { font-size: 8.8px; white-space: nowrap; }
.system-settings-empty { margin: 0; padding: 14px 16px; color: var(--muted); font-size: 9.5px; }
.delivery-settings-form-wrap { display: grid; gap: 10px; }
.system-settings-status-panel { margin-top: 0; }
.delivery-settings-note { width: min(820px, 100%); margin-top: 12px; padding: 10px 12px; display: grid; gap: 3px; color: #536575; background: #f6fafc; border: 1px solid #dceaf1; border-radius: 8px; font-size: 9.2px; line-height: 1.45; }
.delivery-settings-note strong { color: #173b53; font-size: 10px; font-weight: 550; }
.status-setting-row .delivery-setting-name strong { white-space: normal; }
.system-settings-history-fob { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 800px) {
    .delivery-setting-row { padding: 10px 0; grid-template-columns: minmax(90px, 1fr) auto 18px 98px; }
    .delivery-setting-arrow, .delivery-setting-result { display: none; }
    .system-settings-history-row { grid-template-columns: 82px 1fr; }
    .system-settings-history-user, .system-settings-history-row time { grid-column: 2; }
}

.delivery-settings-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); align-items: stretch; gap: 10px; }
.delivery-settings-grid > .system-settings-panel { height: 100%; display: flex; flex-direction: column; }
.status-lead-time-table, .fob-lead-time-list { padding: 0 16px; }
.status-lead-time-head, .status-lead-time-row { display: grid; grid-template-columns: minmax(170px, 1fr) 112px 112px; align-items: center; gap: 10px; }
.status-lead-time-head { min-height: 30px; color: #7f8c99; border-bottom: 1px solid #e6ebef; font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.status-lead-time-head span:not(:first-child) { text-align: center; }
.status-lead-time-row { min-height: 57px; border-bottom: 1px solid #e8edf1; }
.status-lead-time-row:last-child, .fob-lead-time-row:last-child { border-bottom: 0; }
.status-lead-time-name, .fob-lead-time-name { min-width: 0; display: block; }
.status-lead-time-name strong, .status-lead-time-name small, .fob-lead-time-name strong, .fob-lead-time-name small { display: block; }
.status-lead-time-name strong, .fob-lead-time-name strong { color: var(--ink); font-size: 10.5px; font-weight: 500; }
.status-lead-time-name small, .fob-lead-time-name small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.3; }
.fob-lead-time-row { min-height: 68px; display: grid; grid-template-columns: minmax(160px, 1fr) 112px; align-items: center; gap: 12px; border-bottom: 1px solid #e8edf1; }
.lead-time-inline-editor { position: relative; width: 100%; min-width: 0; margin: 0; display: flex; justify-content: center; }
.lead-time-value-button { width: 100%; min-width: 0; height: 32px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: #24475d; background: #f6fafc; border: 1px solid #d8e4eb; border-radius: 7px; font: inherit; cursor: pointer; transition: border-color .12s, background .12s, box-shadow .12s; }
.lead-time-value-button[hidden] { display: none !important; }
.lead-time-value-button:hover, .lead-time-value-button:focus-visible { background: #fff; border-color: #70b8d7; box-shadow: 0 0 0 3px rgba(45,153,199,.09); outline: 0; }
.lead-time-value-button > span { font-size: 11px; font-variant-numeric: tabular-nums; }
.lead-time-value-button small { color: #7b8995; font-size: 7.8px; }
.lead-time-value-button svg { width: 11px; height: 11px; margin-left: 2px; fill: none; stroke: #78a0b5; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.lead-time-value-editor { width: 100%; min-width: 0; height: 32px; display: inline-flex; align-items: stretch; overflow: hidden; box-sizing: border-box; background: #fff; border: 1px solid #61afd1; border-radius: 7px; box-shadow: 0 0 0 3px rgba(45,153,199,.1); }
.lead-time-value-editor[hidden] { display: none !important; }
.lead-time-value-editor input { width: auto; min-width: 0; padding: 0 5px; flex: 1 1 auto; appearance: textfield; color: var(--ink); background: transparent; border: 0; outline: 0; font: inherit; font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }
.lead-time-value-editor input::-webkit-inner-spin-button, .lead-time-value-editor input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.lead-time-value-editor > small { padding: 0 4px; display: inline-flex; flex: 0 0 auto; align-items: center; color: #7b8995; background: #f6f8fa; border-left: 1px solid #e1e7ec; font-size: 7.3px; }
.lead-time-value-editor button { width: 31px; padding: 0; display: grid; flex: 0 0 31px; place-items: center; color: #fff; background: #1682af; border: 0; cursor: pointer; }
.lead-time-value-editor button:hover { background: #0d719b; }
.lead-time-value-editor button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lead-time-inline-editor.is-saving { opacity: .62; pointer-events: none; }
.lead-time-inline-status { position: absolute; z-index: 2; top: calc(100% + 3px); left: 50%; padding: 2px 4px; color: #24825e; background: #fff; border-radius: 3px; font-size: 7px; line-height: 1; white-space: nowrap; transform: translateX(-50%); }
.lead-time-inline-status:empty { display: none; }
.lead-time-inline-status.is-hint { color: #647786; box-shadow: 0 1px 4px rgba(23,46,64,.08); }
.lead-time-inline-status.is-error { color: #bd3943; }
.delivery-settings-grid .delivery-settings-note { width: auto; margin: 10px 16px 14px; padding: 9px 10px; font-size: 8.4px; }
.system-settings-fob-panel .delivery-settings-note { margin-top: auto; }
.system-settings-history-list, .system-settings-empty { width: 100%; }
.system-settings-history-row { grid-template-columns: minmax(145px, 220px) 145px minmax(140px, 1fr) auto; }
@media (max-width: 1050px) {
    .delivery-settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .status-lead-time-head, .status-lead-time-row { grid-template-columns: minmax(130px, 1fr) 88px 88px; gap: 5px; }
    .status-lead-time-table, .fob-lead-time-list { padding: 0 11px; }
    .lead-time-value-button { min-width: 76px; }
    .system-settings-history-row { grid-template-columns: 82px 1fr; }
}

/* Permission-aware control center */
.control-center-content-shell { max-width: none; }
.control-center-heading { min-height: 56px; margin-bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.control-center-heading h1 { margin: 4px 0 3px; color: var(--ink); font-size: clamp(22px, 2vw, 27px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.control-center-heading p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.35; }
.control-center-period-form { margin: 0; flex: 0 0 auto; }
.control-center-period-control { position: relative; width: 178px; min-height: 44px; padding: 6px 10px; display: grid; grid-template-columns: 25px minmax(0, 1fr) 13px; align-items: center; gap: 9px; color: #496277; background: #fff; border: 1px solid #d9e2e9; border-radius: 9px; box-shadow: 0 5px 16px rgba(22,43,62,.06); cursor: pointer; }
.control-center-period-control:focus-within { border-color: #42a8d5; box-shadow: 0 0 0 3px rgba(39,151,199,.11), 0 7px 18px rgba(22,43,62,.08); }
.control-center-period-icon, .control-center-period-chevron { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.control-center-period-icon { width: 21px; height: 21px; color: #2794c3; }
.control-center-period-chevron { width: 13px; height: 13px; color: #7e8e9d; pointer-events: none; }
.control-center-period-copy { min-width: 0; display: block; }
.control-center-period-copy small { display: block; color: #8794a3; font-size: 7.2px; line-height: 1.1; }
.control-center-period-copy strong { margin-top: 3px; display: block; overflow: hidden; color: var(--ink); font-size: 10px; font-weight: 540; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.control-center-period-select { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }

.control-center-kpis { margin-bottom: 13px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(142px, 1fr)); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }
.control-center-kpi { position: relative; min-width: 0; min-height: 76px; padding: 10px 11px; display: grid; grid-template-columns: 28px minmax(0, 1fr) 11px; align-items: center; gap: 9px; color: var(--text); background: #fff; border: 0; border-right: 1px solid #edf0f3; border-radius: 0; text-decoration: none; }
.control-center-kpi:last-child { border-right: 0; }
.control-center-kpi:hover { z-index: 1; background: #f8fbfc; box-shadow: inset 0 -2px 0 #47a8d6; }
.control-center-kpi-icon { width: 28px; height: 28px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 8px; }
.control-center-kpi-icon svg { width: 14px; height: 14px; }
.control-center-kpi.is-red .control-center-kpi-icon { color: var(--red); background: var(--red-soft); }
.control-center-kpi.is-amber .control-center-kpi-icon { color: var(--amber); background: var(--amber-soft); }
.control-center-kpi.is-green .control-center-kpi-icon { color: var(--green); background: var(--green-soft); }
.control-center-kpi.is-teal .control-center-kpi-icon { color: var(--teal); background: var(--teal-soft); }
.control-center-kpi-copy { min-width: 0; display: block; }
.control-center-kpi-copy > small, .control-center-kpi-copy > strong, .control-center-kpi-copy > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-center-kpi-copy > small { color: #697589; font-size: 8px; }
.control-center-kpi-copy > strong { margin-top: 4px; color: var(--ink); font-size: 16px; font-weight: 560; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; }
.control-center-kpi-copy > strong em { color: #6f7c8e; font-size: 9px; font-style: normal; font-weight: 450; letter-spacing: 0; }
.control-center-kpi-copy > span { margin-top: 4px; color: #929aa8; font-size: 7.2px; }
.control-center-kpi-arrow { width: 13px; height: 13px; color: #aeb6c2; }

.control-center-main-stage { margin-bottom: 13px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; }
.control-center-main-stage.has-single-column { grid-template-columns: 1fr; }
.control-center-main-stage.has-three-panels {
    --control-center-main-height: 330px;
    height: var(--control-center-main-height);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
}
.control-center-main-stage.has-three-panels.action-count-5 { --control-center-main-height: 396px; }
.control-center-main-stage.has-three-panels.action-count-6 { --control-center-main-height: 462px; }
.control-center-main-stage.has-three-panels.action-count-7 { --control-center-main-height: 528px; }
.control-center-main-stage.has-three-panels.action-count-8 { --control-center-main-height: 594px; }
.control-center-main-stage.has-three-panels > .control-center-panel { height: 100%; }
.control-center-main-stage.has-three-panels .control-center-action-list { overflow-y: hidden; }
.control-center-main-stack { min-width: 0; display: grid; align-content: start; gap: 12px; }
.control-center-support-grid { margin-bottom: 11px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: stretch; gap: 12px; }
.control-center-panel { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }
.control-center-actions {
    height: 330px;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    border-top: 2px solid #d86a6a;
}
.control-center-action-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #cbd4dc transparent; scrollbar-width: thin; }
.control-center-procurement { border-top: 2px solid #2b91c8; }
.control-center-main-stage .control-center-deliveries { height: 300px; border-top: 2px solid #4c9eb9; }
.control-center-repair-kits,
.control-center-requests,
.control-center-system {
    height: 330px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}
.control-center-repair-kits { border-top: 2px solid #4b9b7d; }
.control-center-main-stage .control-center-repair-kits { min-height: 0; align-self: stretch; }
.control-center-requests { border-top: 2px solid #71889c; }
.control-center-system { border-top: 2px solid #7773b0; }
.control-center-panel-body {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #cbd4dc transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
}
.control-center-panel-body::-webkit-scrollbar { width: 7px; }
.control-center-panel-body::-webkit-scrollbar-thumb {
    background: #cbd4dc;
    border: 2px solid #fff;
    border-radius: 999px;
}
.control-center-panel-head { min-height: 64px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(180deg, #fff 0%, #fafcfd 100%); border-bottom: 1px solid #e5e9ee; }
.control-center-panel-head h2 { margin: 3px 0 0; color: var(--ink); font-size: 14px; font-weight: 560; line-height: 1.25; }
.control-center-panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 8.2px; line-height: 1.35; }
.control-center-panel-head > a { flex: 0 0 auto; color: var(--violet); font-size: 8.5px; font-weight: 550; text-decoration: none; }
.control-center-panel-heading { min-width: 0; display: flex; align-items: center; gap: 10px; }
.control-center-panel-heading > div { min-width: 0; }
.control-center-panel-icon { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; color: #247ba6; background: #eaf5fa; border: 1px solid #d9eaf2; border-radius: 8px; }
.control-center-panel-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.control-center-panel-icon.is-repair-kit { color: #258266; background: #eaf7f2; border-color: #d8eee5; }
.control-center-panel-icon.is-request { color: #536c83; background: #eff3f6; border-color: #e0e6eb; }
.control-center-panel-icon.is-system { color: #6c68a8; background: #f1f0fa; border-color: #e3e1f3; }
.control-center-panel-icon.is-action { color: #bd4f4f; background: #fff0f0; border-color: #f3dada; }
.control-center-panel-icon.is-procurement { color: #237faa; background: #eaf5fa; border-color: #d8eaf2; }
.control-center-actions .control-center-panel-head { background: linear-gradient(180deg, #fffafa 0%, #fff 100%); }
.control-center-procurement .control-center-panel-head { background: linear-gradient(180deg, #f7fbfd 0%, #fff 100%); }
.control-center-deliveries .control-center-panel-head { background: linear-gradient(180deg, #f8fbfc 0%, #fff 100%); }
.control-center-subsection-label { min-height: 30px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #607084; background: #fafbfd; border-top: 1px solid #edf0f3; border-bottom: 1px solid #edf0f3; }
.control-center-subsection-label span { font-size: 7.5px; font-weight: 560; letter-spacing: .035em; text-transform: uppercase; }
.control-center-subsection-label small { color: #9ba4b0; font-size: 7px; }
.control-center-count { min-width: 25px; height: 25px; padding: 0 7px; display: inline-grid; place-items: center; color: #526b7d; background: #edf4f7; border-radius: 999px; font-size: 9px; font-weight: 550; }

.control-center-action-list { display: block; }
.control-center-action { min-height: 66px; padding: 9px 13px; display: grid; grid-template-columns: 7px minmax(0, 1fr) auto 14px; align-items: center; gap: 11px; color: inherit; border-top: 1px solid #edf0f3; text-decoration: none; }
.control-center-action:first-child { border-top: 0; }
.control-center-action:hover { background: #f9fbfc; }
.control-center-action-state { width: 6px; height: 29px; background: #7f9caf; border-radius: 999px; }
.control-center-action.is-critical .control-center-action-state { background: #d95d5d; }
.control-center-action.is-attention .control-center-action-state { background: #daa14b; }
.control-center-action.is-success { background: #fbfefc; }
.control-center-action.is-success:hover { background: #f4fbf7; }
.control-center-action.is-success .control-center-action-state { background: #36a36f; }
.control-center-action.is-success .control-center-action-copy > small { color: #398464; }
.control-center-action-copy { min-width: 0; display: block; }
.control-center-action-copy > small, .control-center-action-copy > strong, .control-center-action-copy > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-center-action-copy > small { color: #8b96a5; font-size: 7.4px; letter-spacing: .04em; text-transform: uppercase; }
.control-center-action-copy > strong { margin-top: 3px; color: var(--ink); font-size: 10.5px; font-weight: 540; }
.control-center-action-copy > span { margin-top: 4px; color: #778396; font-size: 8.2px; }
.control-center-action-value { min-width: 58px; display: flex; align-items: baseline; justify-content: flex-end; gap: 3px; text-align: right; }
.control-center-action-value strong { color: var(--ink); font-size: 14px; font-weight: 550; font-variant-numeric: tabular-nums; }
.control-center-action.is-critical .control-center-action-value strong { color: var(--red); }
.control-center-action.is-success .control-center-action-value strong { color: #27835b; }
.control-center-action-value small { color: #8490a1; font-size: 7.6px; }
.control-center-action > svg { width: 13px; height: 13px; color: #aeb7c3; }
.control-center-clear-state { min-height: 210px; padding: 30px; display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; }
.control-center-clear-state > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 50%; font-size: 14px; }
.control-center-clear-state strong { color: var(--ink); font-size: 11px; font-weight: 550; }
.control-center-clear-state p { margin: 5px 0 0; color: var(--muted); font-size: 8.5px; }

.control-center-procurement-main { padding: 16px 16px 14px; background: linear-gradient(90deg, #f7fbfd 0%, #fff 72%); border-bottom: 1px solid #e8edf1; }
.control-center-procurement-main > span, .control-center-procurement-main > small { display: block; color: var(--muted); font-size: 8.3px; }
.control-center-procurement-main > strong { margin: 6px 0 5px; display: block; color: var(--ink); font-size: 28px; font-weight: 560; font-variant-numeric: tabular-nums; letter-spacing: -.035em; line-height: 1; }
.control-center-procurement-main > strong small { color: #718094; font-size: 10px; font-weight: 450; letter-spacing: 0; }
.control-center-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.control-center-flow > div { min-width: 0; min-height: 66px; padding: 11px 12px; }
.control-center-flow > div + div { border-left: 1px solid var(--line); }
.control-center-flow > div:nth-child(2) { background: #fffbf4; }
.control-center-flow span, .control-center-flow strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-center-flow span { color: var(--muted); font-size: 7.5px; }
.control-center-flow strong { margin-top: 6px; color: var(--ink); font-size: 13px; font-weight: 540; font-variant-numeric: tabular-nums; }
.control-center-flow strong small { color: #8290a0; font-size: 7.5px; font-weight: 430; }
.control-center-progress { padding: 12px 15px 4px; }
.control-center-progress > span { height: 5px; overflow: hidden; display: block; background: #edf1f4; border-radius: 999px; }
.control-center-progress > span i { height: 100%; display: block; background: #2b91c8; border-radius: inherit; }
.control-center-progress > small { margin-top: 6px; display: block; color: #8190a0; font-size: 7.7px; }
.control-center-secondary-stats { padding: 11px 15px 13px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.control-center-secondary-stats > span { min-width: 0; }
.control-center-secondary-stats small, .control-center-secondary-stats strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-center-secondary-stats small { color: #929ba8; font-size: 7.4px; }
.control-center-secondary-stats strong { margin-top: 4px; color: #526072; font-size: 9.2px; font-weight: 500; }

.control-center-delivery-alerts { padding: 9px 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; background: #fff; }
.control-center-delivery-alerts > span { position: relative; min-width: 0; min-height: 56px; padding: 9px 10px 9px 13px; overflow: hidden; background: #f8fafb; border: 1px solid #e8edf1; border-radius: 8px; }
.control-center-delivery-alerts > span::before { position: absolute; top: 9px; bottom: 9px; left: 0; width: 3px; background: #b4c1cc; border-radius: 0 3px 3px 0; content: ""; }
.control-center-delivery-alerts small, .control-center-delivery-alerts strong, .control-center-delivery-alerts em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-center-delivery-alerts small { color: #758396; font-size: 7.5px; }
.control-center-delivery-alerts strong { margin-top: 4px; color: var(--ink); font-size: 13px; font-weight: 540; }
.control-center-delivery-alerts em { margin-top: 2px; color: #929baa; font-size: 7.4px; font-style: normal; }
.control-center-delivery-alerts .is-danger { background: #fff8f8; border-color: #f2dddd; }
.control-center-delivery-alerts .is-warning { background: #fffbf4; border-color: #f1e5cf; }
.control-center-delivery-alerts .is-danger::before { background: #d85f5f; }
.control-center-delivery-alerts .is-warning::before { background: #d49a42; }
.control-center-delivery-alerts .is-danger strong { color: var(--red); }
.control-center-delivery-alerts .is-warning strong { color: var(--amber); }
.control-center-delivery-periods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #f4f8fa; border-top: 1px solid #e5edf1; border-bottom: 1px solid #e5edf1; }
.control-center-delivery-periods > div { min-width: 0; min-height: 55px; padding: 9px 11px; }
.control-center-delivery-periods > div + div { border-left: 1px solid #dde7ec; }
.control-center-delivery-periods span, .control-center-delivery-periods strong, .control-center-delivery-periods > div > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-center-delivery-periods span { color: #6f8190; font-size: 7.2px; }
.control-center-delivery-periods strong { margin-top: 4px; color: #173d55; font-size: 10px; font-weight: 540; font-variant-numeric: tabular-nums; }
.control-center-delivery-periods strong small { color: #8b96a5; font-size: 7px; font-weight: 420; }
.control-center-delivery-periods > div > small { margin-top: 2px; color: #98a3ae; font-size: 6.9px; }
.control-center-upcoming-list > div { min-height: 46px; padding: 7px 13px; display: grid; grid-template-columns: minmax(0, 1fr) 70px 92px; align-items: center; gap: 10px; border-top: 1px solid #eff1f4; }
.control-center-upcoming-list > div:first-child { border-top: 0; }
.control-center-upcoming-list > div:hover { background: #f8fbfc; }
.control-center-upcoming-list span { min-width: 0; }
.control-center-upcoming-list span strong, .control-center-upcoming-list span small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-center-upcoming-list span strong { color: var(--ink); font-size: 9px; font-weight: 530; }
.control-center-upcoming-list span small { margin-top: 3px; color: #8b95a4; font-size: 7px; }
.control-center-upcoming-list time { color: #4f6a7d; font-size: 8.2px; font-variant-numeric: tabular-nums; }
.control-center-upcoming-list > div > b { color: var(--ink); font-size: 8.8px; font-weight: 520; text-align: right; }
.control-center-upcoming-list > div > b small { color: #8793a2; font-size: 7px; font-weight: 420; }

.control-center-rk-summary { padding: 0 11px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-bottom: 1px solid #e7ebef; }
.control-center-rk-summary > span { position: relative; min-width: 0; min-height: 72px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.control-center-rk-summary > span + span::before { position: absolute; top: 16px; bottom: 16px; left: 0; width: 1px; background: #dfe5ea; content: ""; }
.control-center-rk-summary small, .control-center-rk-summary strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-center-rk-summary small { color: #718094; font-size: 7.8px; }
.control-center-rk-summary strong { margin-top: 7px; color: var(--ink); font-size: 15px; font-weight: 550; font-variant-numeric: tabular-nums; }
.control-center-rk-summary strong em { color: #8490a1; font-size: 7.5px; font-style: normal; font-weight: 420; }
.control-center-rk-summary .is-danger strong { color: var(--red); }
.control-center-rk-summary .is-warning strong { color: var(--amber); }
.control-center-rk-list a { position: relative; min-height: 48px; padding: 7px 13px 7px 16px; display: grid; grid-template-columns: minmax(0, 1fr) 75px 75px; align-items: center; gap: 9px; border-top: 1px solid #eff1f4; text-decoration: none; }
.control-center-rk-list a::before { position: absolute; top: 12px; bottom: 12px; left: 6px; width: 3px; background: #d76868; border-radius: 99px; content: ""; }
.control-center-rk-list a:hover { background: #fffafa; }
.control-center-rk-list span { min-width: 0; }
.control-center-rk-list span > strong, .control-center-rk-list span > small, .control-center-rk-list span > b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-center-rk-list span > strong { color: var(--ink); font-size: 8.7px; font-weight: 520; }
.control-center-rk-list span > small { margin-top: 3px; color: #8b95a4; font-size: 7px; }
.control-center-rk-list span > b { margin-top: 3px; color: #536275; font-size: 8.4px; font-weight: 510; }

.control-center-request-list > a { min-height: 66px; padding: 9px 13px; display: grid; grid-template-columns: 24px minmax(0, 1fr) 76px 14px; align-items: center; gap: 11px; color: inherit; border-top: 1px solid #edf0f3; text-decoration: none; }
.control-center-request-list > a:first-child { border-top: 0; }
.control-center-request-list > a:hover { background: #f7fafc; }
.control-center-request-list span { min-width: 0; }
.control-center-request-list span > strong, .control-center-request-list span > small, .control-center-request-list span > b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-center-request-list span > strong { color: var(--ink); font-size: 10.5px; font-weight: 540; }
.control-center-request-list span > small { margin-top: 3px; color: #8b95a4; font-size: 7px; }
.control-center-request-list span > b { color: var(--ink); font-size: 14px; font-weight: 550; font-variant-numeric: tabular-nums; }
.control-center-request-metrics { text-align: right; }
.control-center-request-list > a > svg { width: 13px; height: 13px; color: #aeb7c3; }
.control-center-request-mark { width: 24px; height: 24px; display: grid; place-items: center; color: #2387bd; }
.control-center-request-mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.control-center-empty-row { min-height: 100px; padding: 30px; display: grid; place-items: center; color: var(--muted); font-size: 9px; }

.control-center-insight-stage { margin-bottom: 13px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; }
.control-center-insight-stage.has-single-panel { grid-template-columns: 1fr; }
.control-center-insight-stage > .control-center-panel { height: 300px; }
.control-center-demand-chart { display: grid; grid-template-rows: auto minmax(0, 1fr); border-top: 2px solid #2795c2; }
.control-center-demand-chart-head { min-height: 68px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border-bottom: 1px solid #e5eaf0; }
.control-center-panel-icon.is-demand-chart { color: #238ab8; background: #eaf6fb; border-color: #d8ebf3; }
.control-center-demand-chart-head h2 { margin: 3px 0 0; color: var(--ink); font-size: 14px; font-weight: 560; line-height: 1.25; }
.control-center-demand-chart-head p { max-width: 700px; margin: 4px 0 0; color: #6f7d8d; font-size: 8.5px; line-height: 1.4; }
.control-center-demand-chart-summary { min-width: 410px; align-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.control-center-demand-chart-summary > span { position: relative; min-width: 0; padding: 7px 20px; display: flex; flex-direction: column; justify-content: center; }
.control-center-demand-chart-summary > span + span::before { position: absolute; top: 10px; bottom: 10px; left: 0; width: 1px; background: #e0e6eb; content: ""; }
.control-center-demand-chart-summary small, .control-center-demand-chart-summary strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-center-demand-chart-summary small { color: #7f8c9c; font-size: 7.4px; }
.control-center-demand-chart-summary strong { margin-top: 5px; color: var(--ink); font-size: 14px; font-weight: 550; font-variant-numeric: tabular-nums; }
.control-center-demand-chart-summary strong em { color: #8490a1; font-size: 7.5px; font-style: normal; font-weight: 420; }
.control-center-demand-chart-summary .is-up strong { color: #c94c54; }
.control-center-demand-chart-summary .is-down strong { color: #288862; }
.control-center-demand-chart-canvas { min-height: 0; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.control-center-demand-chart-canvas > svg { width: 100%; min-height: 0; flex: 1 1 auto; display: block; }
.control-center-demand-grid-line { stroke: #edf1f4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.control-center-demand-point-guide { stroke: #dfe8ed; stroke-width: 1; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.control-center-demand-line { fill: none; stroke: #147fae; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.control-center-demand-svg-point-halo, .control-center-demand-svg-point-core { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.control-center-demand-svg-point-halo { stroke: #fff; stroke-width: 11; }
.control-center-demand-svg-point-core { stroke: #147fae; stroke-width: 6; }
.control-center-demand-scale { height: 40px; padding: 0 1.8% 0 6.4%; flex: 0 0 40px; display: flex; align-items: flex-start; justify-content: space-between; border-top: 1px solid #eef2f4; }
.control-center-demand-scale > span { min-width: 0; flex: 0 0 0; display: flex; align-items: center; flex-direction: column; color: #68788a; white-space: nowrap; }
.control-center-demand-scale strong { margin-top: 5px; color: #183649; font-size: 9.2px; font-weight: 560; font-variant-numeric: tabular-nums; }
.control-center-demand-scale small { margin-top: 2px; color: #718093; font-size: 8.4px; }

.control-center-data-quality { display: grid; grid-template-rows: auto minmax(0, 1fr); border-top: 2px solid #d69a43; }
.control-center-panel-icon.is-data-quality { color: #a66d1e; background: #fff6e8; border-color: #f1e2c8; }
.control-center-data-quality-actions { display: flex; align-items: center; gap: 12px; }
.control-center-data-quality-actions > a { color: var(--violet); font-size: 8.5px; font-weight: 550; text-decoration: none; white-space: nowrap; }
.control-center-data-quality-list { min-height: 0; overflow: hidden; display: grid; grid-template-rows: repeat(6, minmax(0, 1fr)); }
.control-center-data-quality-list > a { position: relative; min-height: 0; padding: 7px 13px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 13px; align-items: center; gap: 10px; color: inherit; border-top: 1px solid #edf0f3; text-decoration: none; }
.control-center-data-quality-list > a:first-child { border-top: 0; }
.control-center-data-quality-list > a:hover { background: #fffcf7; }
.control-center-data-quality-list > a.is-complete:hover { background: #f7fcf9; }
.control-center-data-quality-state { width: 20px; height: 20px; display: grid; place-items: center; }
.control-center-data-quality-state i { width: 7px; height: 7px; display: block; background: #d69a43; border-radius: 50%; box-shadow: 0 0 0 4px #fff3df; }
.control-center-data-quality-state svg { width: 16px; height: 16px; fill: none; stroke: #319266; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.control-center-data-quality-copy { min-width: 0; }
.control-center-data-quality-copy strong, .control-center-data-quality-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-center-data-quality-copy strong { color: var(--ink); font-size: 9.3px; font-weight: 530; }
.control-center-data-quality-copy small { margin-top: 3px; color: #818d9c; font-size: 7.5px; }
.control-center-data-quality-value { min-width: 54px; display: flex; align-items: baseline; justify-content: flex-end; gap: 3px; }
.control-center-data-quality-value strong { color: #9d671f; font-size: 13px; font-weight: 550; font-variant-numeric: tabular-nums; }
.control-center-data-quality-value small { color: #8995a4; font-size: 7.5px; }
.control-center-data-quality-list > a.is-complete .control-center-data-quality-value strong { color: #2d8961; }
.control-center-data-quality-chevron { width: 13px; height: 13px; color: #aeb7c3; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.control-center-source-list a { min-height: 48px; padding: 7px 13px; display: grid; grid-template-columns: 7px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-top: 1px solid #edf0f3; text-decoration: none; }
.control-center-source-list a:first-child { border-top: 0; }
.control-center-source-list a:hover { background: #f8fbf9; }
.control-center-source-list i { width: 7px; height: 7px; background: #b8c0cb; border-radius: 50%; }
.control-center-source-list i.is-ok { background: #35a26f; box-shadow: 0 0 0 4px #eaf7f0; }
.control-center-source-list i.is-error { background: #d35a5a; box-shadow: 0 0 0 4px #fff0f0; }
.control-center-source-list span { min-width: 0; }
.control-center-source-list strong, .control-center-source-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-center-source-list strong { color: var(--ink); font-size: 9px; font-weight: 530; }
.control-center-source-list small { margin-top: 3px; color: #8792a2; font-size: 7px; }
.control-center-source-list a > b { padding: 4px 7px; color: #247454; background: #edf8f2; border-radius: 999px; font-size: 7.3px; font-weight: 520; }
.control-center-quality-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.control-center-quality-list a { min-height: 39px; padding: 7px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto 12px; align-items: center; gap: 7px; border-right: 1px solid #edf0f3; border-bottom: 1px solid #edf0f3; text-decoration: none; }
.control-center-quality-list a:nth-child(2n) { border-right: 0; }
.control-center-quality-list a:hover { background: #fffbf5; }
.control-center-quality-list span { overflow: hidden; color: #667487; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.control-center-quality-list strong { color: #9a6724; font-size: 9.2px; font-weight: 540; }
.control-center-quality-list svg { width: 11px; height: 11px; color: #aab3bf; }
.control-center-settings-row { padding: 9px 12px 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.control-center-settings-row a { min-height: 29px; padding: 0 9px; display: inline-flex; align-items: center; gap: 6px; color: #647487; background: #f5f7fb; border: 1px solid #e3e7ef; border-radius: 7px; font-size: 7.5px; text-decoration: none; }
.control-center-settings-row a:hover { border-color: #d3d9e6; background: #f0f3f9; }
.control-center-settings-row strong { color: #325f79; font-weight: 520; }

.control-center-no-access { min-height: 430px; padding: 35px; display: grid; place-items: center; align-content: center; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); text-align: center; }
.control-center-no-access > span { width: 40px; height: 40px; display: grid; place-items: center; color: #738397; background: #eef3f6; border-radius: 50%; font-size: 18px; }
.control-center-no-access h2 { margin: 12px 0 0; color: var(--ink); font-size: 14px; font-weight: 550; }
.control-center-no-access p { max-width: 500px; margin: 7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }

@media (max-width: 1320px) {
    .control-center-main-stage { grid-template-columns: 1fr; }
    .control-center-main-stage.has-three-panels { height: auto; }
    .control-center-main-stage.has-three-panels > .control-center-panel { height: 330px; }
    .control-center-main-stage.has-three-panels > .control-center-actions { height: var(--control-center-main-height); }
    .control-center-insight-stage { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
    .control-center-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .control-center-support-grid { grid-template-columns: 1fr; }
    .control-center-delivery-periods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .control-center-demand-chart-head { align-items: stretch; flex-direction: column; gap: 10px; }
    .control-center-demand-chart-summary { width: 100%; min-width: 0; }
}
@media (max-width: 680px) {
    .control-center-heading { align-items: flex-start; flex-direction: column; }
    .control-center-kpis { grid-template-columns: 1fr; }
    .control-center-action { grid-template-columns: 7px minmax(0, 1fr) 14px; }
    .control-center-action-value { grid-column: 2; justify-content: flex-start; text-align: left; }
    .control-center-action > svg { grid-column: 3; grid-row: 1 / span 2; }
    .control-center-flow, .control-center-delivery-alerts, .control-center-rk-summary { grid-template-columns: 1fr; }
    .control-center-flow > div + div { border-top: 1px solid var(--line); border-left: 0; }
    .control-center-secondary-stats { grid-template-columns: 1fr 1fr; }
    .control-center-upcoming-list > div { grid-template-columns: minmax(0, 1fr) auto; }
    .control-center-upcoming-list > div > b { grid-column: 1 / -1; text-align: left; }
    .control-center-request-list > a { grid-template-columns: 24px minmax(0, 1fr) 14px; }
    .control-center-request-list > a > span:nth-of-type(n+3) { display: none; }
    .control-center-quality-list { grid-template-columns: 1fr; }
    .control-center-quality-list a { border-right: 0; }
}

/* Control center workspace — readable hierarchy for desktop and 4K */
.control-center-content-shell {
    --cc-xs: clamp(10px, .28vw, 12px);
    --cc-sm: clamp(11px, .32vw, 13px);
    --cc-md: clamp(13px, .37vw, 15px);
    --cc-lg: clamp(16px, .48vw, 20px);
    --cc-gap: clamp(14px, .55vw, 22px);
    padding: clamp(22px, 1.15vw, 38px) clamp(20px, 1.25vw, 42px) 64px;
}
.control-center-heading {
    min-height: 72px;
    margin-bottom: clamp(20px, 1vw, 32px);
    align-items: center;
    padding: 0 2px;
}
.control-center-heading h1 {
    margin: 7px 0 6px;
    font-size: clamp(27px, 1.35vw, 38px);
    font-weight: 620;
}
.control-center-heading p { font-size: var(--cc-sm); }
.control-center-heading .page-kicker,
.control-center-panel .section-kicker {
    font-size: var(--cc-xs);
    font-weight: 760;
    letter-spacing: .12em;
}
.control-center-period-control {
    width: clamp(205px, 11vw, 260px);
    min-height: 56px;
    padding: 9px 13px;
    grid-template-columns: 27px minmax(0, 1fr) 15px;
    gap: 11px;
    border-color: #d9e3e9;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(23, 49, 67, .06);
}
.control-center-period-control:hover { border-color: #b9d5e3; }
.control-center-period-icon { width: 23px; height: 23px; }
.control-center-period-chevron { width: 14px; height: 14px; }
.control-center-period-copy small { font-size: var(--cc-xs); }
.control-center-period-copy strong {
    margin-top: 4px;
    font-size: var(--cc-md);
    font-weight: 590;
}

.control-center-main-stage {
    margin-bottom: var(--cc-gap);
    gap: var(--cc-gap);
}
.control-center-main-stage.has-three-panels {
    --control-center-main-height: clamp(620px, 60vh, 860px);
    height: var(--control-center-main-height);
    grid-template-columns: minmax(360px, .82fr) minmax(620px, 1.65fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "actions repair"
        "requests repair";
}
.control-center-main-stage.has-three-panels > .control-center-actions { grid-area: actions; }
.control-center-main-stage.has-three-panels > .control-center-requests { grid-area: requests; }
.control-center-main-stage.has-three-panels > .control-center-repair-kits { grid-area: repair; }
.control-center-main-stage.has-three-panels.action-count-5,
.control-center-main-stage.has-three-panels.action-count-6,
.control-center-main-stage.has-three-panels.action-count-7,
.control-center-main-stage.has-three-panels.action-count-8 {
    --control-center-main-height: clamp(680px, 64vh, 920px);
}
.control-center-panel {
    border: 1px solid #dfe6eb;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(24, 39, 54, .025), 0 14px 34px rgba(24, 39, 54, .055);
}
.control-center-actions,
.control-center-requests,
.control-center-repair-kits,
.control-center-demand-chart,
.control-center-data-quality {
    height: auto;
    border-top: 0;
}
.control-center-actions { box-shadow: inset 0 3px 0 #df6666, 0 2px 4px rgba(24,39,54,.025), 0 14px 34px rgba(24,39,54,.055); }
.control-center-requests { box-shadow: inset 0 3px 0 #6d879d, 0 2px 4px rgba(24,39,54,.025), 0 14px 34px rgba(24,39,54,.055); }
.control-center-repair-kits { box-shadow: inset 0 3px 0 #399174, 0 2px 4px rgba(24,39,54,.025), 0 14px 34px rgba(24,39,54,.055); }
.control-center-demand-chart { box-shadow: inset 0 3px 0 #2795c2, 0 2px 4px rgba(24,39,54,.025), 0 14px 34px rgba(24,39,54,.055); }
.control-center-data-quality { box-shadow: inset 0 3px 0 #d69a43, 0 2px 4px rgba(24,39,54,.025), 0 14px 34px rgba(24,39,54,.055); }
.control-center-panel-head,
.control-center-demand-chart-head {
    min-height: 88px;
    padding: 16px clamp(17px, .7vw, 26px);
    background: #fff;
    border-bottom-color: #e8edf1;
}
.control-center-actions .control-center-panel-head,
.control-center-procurement .control-center-panel-head,
.control-center-deliveries .control-center-panel-head { background: #fff; }
.control-center-panel-head h2,
.control-center-demand-chart-head h2 {
    margin-top: 5px;
    font-size: var(--cc-lg);
    font-weight: 610;
    letter-spacing: -.015em;
}
.control-center-panel-head p,
.control-center-demand-chart-head p {
    margin-top: 5px;
    font-size: var(--cc-xs);
    line-height: 1.45;
}
.control-center-panel-head > a,
.control-center-data-quality-actions > a {
    padding: 7px 0;
    color: #176b98;
    font-size: var(--cc-xs);
    font-weight: 610;
}
.control-center-panel-head > a:hover,
.control-center-data-quality-actions > a:hover { color: #0a4e76; text-decoration: underline; text-underline-offset: 3px; }
.control-center-panel-heading { gap: 13px; }
.control-center-panel-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
}
.control-center-panel-icon svg { width: 21px; height: 21px; }
.control-center-count {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    font-size: var(--cc-sm);
}

.control-center-action-list { overflow-y: auto; }
.control-center-action {
    min-height: 76px;
    padding: 12px clamp(15px, .65vw, 22px);
    grid-template-columns: 6px minmax(0, 1fr) auto 16px;
    gap: 13px;
    border-top-color: #edf1f4;
}
.control-center-action:hover { background: #f7fafb; }
.control-center-action-state { width: 5px; height: 36px; }
.control-center-action-copy > small { font-size: var(--cc-xs); font-weight: 590; }
.control-center-action-copy > strong {
    margin-top: 4px;
    font-size: var(--cc-md);
    font-weight: 600;
}
.control-center-action-copy > span {
    margin-top: 5px;
    font-size: var(--cc-xs);
}
.control-center-action-value { min-width: 82px; gap: 5px; }
.control-center-action-value strong { font-size: clamp(17px, .46vw, 20px); font-weight: 610; }
.control-center-action-value small { font-size: var(--cc-xs); }
.control-center-action > svg { width: 16px; height: 16px; }

.control-center-request-list > a {
    min-height: 76px;
    padding: 12px clamp(15px, .65vw, 22px);
    grid-template-columns: 32px minmax(0, 1fr) 105px 16px;
    gap: 13px;
    border-top-color: #edf1f4;
}
.control-center-request-mark { width: 30px; height: 30px; }
.control-center-request-mark svg { width: 27px; height: 27px; }
.control-center-request-list span > strong { font-size: var(--cc-md); font-weight: 590; }
.control-center-request-list span > b { font-size: clamp(16px, .45vw, 19px); font-weight: 600; }
.control-center-request-list > a > svg { width: 16px; height: 16px; }
.control-center-empty-row { font-size: var(--cc-sm); }

.control-center-rk-summary {
    min-height: 102px;
    padding: 0 clamp(10px, .45vw, 18px);
    background: #fbfcfd;
}
.control-center-rk-summary > span {
    min-height: 102px;
    padding: 17px clamp(15px, .7vw, 26px);
}
.control-center-rk-summary > span + span::before { top: 20px; bottom: 20px; background: #dce4e9; }
.control-center-rk-summary small { font-size: var(--cc-xs); }
.control-center-rk-summary strong {
    margin-top: 9px;
    font-size: clamp(19px, .55vw, 24px);
    font-weight: 610;
}
.control-center-rk-summary strong em { font-size: var(--cc-xs); }
.control-center-subsection-label {
    min-height: 42px;
    padding: 0 clamp(17px, .7vw, 26px);
    background: #f7f9fa;
}
.control-center-subsection-label span { font-size: var(--cc-xs); font-weight: 650; }
.control-center-subsection-label small { font-size: var(--cc-xs); }
.control-center-rk-list a {
    min-height: 70px;
    padding: 11px clamp(18px, .75vw, 28px) 11px clamp(23px, .9vw, 32px);
    grid-template-columns: minmax(0, 1fr) 105px 105px;
    gap: 16px;
}
.control-center-rk-list a::before { top: 17px; bottom: 17px; left: 10px; width: 4px; }
.control-center-rk-list span > strong { font-size: var(--cc-md); font-weight: 600; }
.control-center-rk-list span > small { margin-top: 5px; font-size: var(--cc-xs); }
.control-center-rk-list span > b { margin-top: 5px; font-size: var(--cc-sm); font-weight: 590; }

.control-center-insight-stage {
    margin-bottom: var(--cc-gap);
    grid-template-columns: minmax(0, 1.35fr) minmax(430px, .9fr);
    gap: var(--cc-gap);
}
.control-center-insight-stage > .control-center-panel {
    height: clamp(410px, 39vh, 570px);
}
.control-center-demand-chart-head { gap: 28px; }
.control-center-demand-chart-summary {
    min-width: min(420px, 44%);
    align-self: stretch;
}
.control-center-demand-chart-summary > span { padding: 8px clamp(16px, .8vw, 28px); }
.control-center-demand-chart-summary small { font-size: var(--cc-xs); line-height: 1.3; }
.control-center-demand-chart-summary strong {
    margin-top: 7px;
    font-size: clamp(17px, .48vw, 21px);
    font-weight: 610;
}
.control-center-demand-chart-summary strong em { font-size: var(--cc-xs); }
.control-center-demand-chart-canvas { padding-top: 8px; }
.control-center-demand-line { stroke-width: 2.8; }
.control-center-demand-svg-point-halo { stroke-width: 12; }
.control-center-demand-svg-point-core { stroke-width: 6.5; }
.control-center-demand-scale {
    height: 54px;
    padding: 0 1.8% 0 6.4%;
    flex-basis: 54px;
}
.control-center-demand-scale strong { margin-top: 8px; font-size: var(--cc-sm); }
.control-center-demand-scale small { margin-top: 4px; font-size: var(--cc-xs); }

.control-center-data-quality-list { grid-template-rows: repeat(6, minmax(0, 1fr)); }
.control-center-data-quality-list > a {
    padding: 9px clamp(15px, .65vw, 22px);
    grid-template-columns: 25px minmax(0, 1fr) auto 15px;
    gap: 12px;
}
.control-center-data-quality-state { width: 24px; height: 24px; }
.control-center-data-quality-copy strong { font-size: var(--cc-md); font-weight: 590; }
.control-center-data-quality-copy small { margin-top: 4px; font-size: var(--cc-xs); }
.control-center-data-quality-value { min-width: 70px; }
.control-center-data-quality-value strong { font-size: clamp(16px, .44vw, 19px); font-weight: 610; }
.control-center-data-quality-value small { font-size: var(--cc-xs); }
.control-center-data-quality-chevron { width: 15px; height: 15px; }

@media (max-width: 1500px) {
    .control-center-main-stage.has-three-panels {
        height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto auto;
        grid-template-areas:
            "actions requests"
            "repair repair";
    }
    .control-center-main-stage.has-three-panels > .control-center-actions,
    .control-center-main-stage.has-three-panels > .control-center-requests { height: 390px; }
    .control-center-main-stage.has-three-panels > .control-center-repair-kits { height: 650px; }
    .control-center-insight-stage { grid-template-columns: 1fr; }
    .control-center-insight-stage > .control-center-panel { height: 470px; }
}
@media (max-width: 980px) {
    .control-center-content-shell { padding: 18px 14px 48px; }
    .control-center-main-stage.has-three-panels {
        grid-template-columns: 1fr;
        grid-template-areas: "actions" "requests" "repair";
    }
    .control-center-main-stage.has-three-panels > .control-center-actions,
    .control-center-main-stage.has-three-panels > .control-center-requests,
    .control-center-main-stage.has-three-panels > .control-center-repair-kits { height: auto; min-height: 380px; }
    .control-center-insight-stage > .control-center-panel { height: auto; min-height: 470px; }
    .control-center-demand-chart-head { align-items: stretch; flex-direction: column; gap: 14px; }
    .control-center-demand-chart-summary { width: 100%; min-width: 0; }
}
@media (max-width: 680px) {
    .control-center-heading { align-items: stretch; flex-direction: column; }
    .control-center-period-control { width: 100%; }
    .control-center-panel-head,
    .control-center-demand-chart-head { min-height: 78px; padding: 14px; }
    .control-center-panel-icon { width: 36px; height: 36px; }
    .control-center-action { grid-template-columns: 5px minmax(0, 1fr) 15px; }
    .control-center-action-value { grid-column: 2; justify-content: flex-start; }
    .control-center-rk-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .control-center-rk-summary > span + span::before { display: none; }
    .control-center-rk-summary > span:nth-child(even) { border-left: 1px solid #e2e7eb; }
    .control-center-rk-summary > span:nth-child(n+3) { border-top: 1px solid #e2e7eb; }
    .control-center-rk-list a { grid-template-columns: minmax(0, 1fr) 75px 75px; }
    .control-center-request-list > a { grid-template-columns: 30px minmax(0, 1fr) 15px; }
    .control-center-request-list > a .control-center-request-metrics { grid-column: 2; text-align: left; }
    .control-center-data-quality-list > a { grid-template-columns: 24px minmax(0, 1fr) 14px; }
    .control-center-data-quality-value { grid-column: 2; justify-content: flex-start; }
}

/*
 * Large desktop workspaces
 *
 * Keep data-heavy screens inside the visible browser height on QHD/4K
 * monitors.  These are maximum heights on report tables on purpose: a
 * short filtered result must stay compact instead of turning into an empty
 * fixed-height canvas.
 */
@media (min-width: 1600px) and (min-height: 850px) {
    .procurement-report-scroll {
        max-height: calc(var(--app-dynamic-viewport-height) - 450px);
    }

    .data-completion-table-wrap {
        max-height: calc(var(--app-dynamic-viewport-height) - 518px);
    }

    .rk-procurement-scroll {
        max-height: calc(var(--app-dynamic-viewport-height) - 380px);
    }

    .request-card {
        height: calc(var(--app-dynamic-viewport-height) - 217px);
        max-height: none;
    }

    .repair-kit-purchase-workspace {
        height: calc(var(--app-dynamic-viewport-height) - 199px);
        max-height: none;
    }

    .user-directory {
        height: auto;
        min-height: 0;
    }

    .user-directory .user-list-stack {
        min-height: 0;
        align-content: start;
        overflow: visible;
    }
}

/* Control center v4 final — one connected operations console, not a card board. */
@media (min-width: 1401px) {
    .control-center-dashboard-grid.is-full {
        display: grid;
        grid-template-columns: minmax(310px, .92fr) minmax(560px, 1.52fr) minmax(390px, 1.06fr);
        grid-template-rows: clamp(170px, 23vh, 245px) clamp(145px, 18vh, 205px) clamp(215px, 28vh, 310px);
        column-gap: 0;
        row-gap: 0;
        overflow: visible;
    }
    .control-center-dashboard-grid.is-full > .control-center-main-stage,
    .control-center-dashboard-grid.is-full > .control-center-insight-stage {
        display: contents;
    }
    .control-center-dashboard-grid.is-full .control-center-actions {
        grid-column: 1;
        grid-row: 1;
    }
    .control-center-dashboard-grid.is-full .control-center-requests {
        grid-column: 1;
        grid-row: 2;
    }
    .control-center-dashboard-grid.is-full .control-center-repair-kits {
        grid-column: 2;
        grid-row: 1 / 3;
    }
    .control-center-dashboard-grid.is-full .control-center-data-quality {
        grid-column: 3;
        grid-row: 1 / 3;
    }
    .control-center-dashboard-grid.is-full .control-center-demand-chart {
        grid-column: 1 / 4;
        grid-row: 3;
        height: calc(100% - 14px);
        margin-top: 14px;
    }

    .control-center-dashboard-grid.is-full .control-center-panel {
        height: 100%;
        min-height: 0;
        margin: 0;
        border-color: #dbe4e9;
        border-radius: 0;
        box-shadow: none;
    }
    .control-center-dashboard-grid.is-full .control-center-actions {
        border-right: 0;
        border-bottom: 0;
        border-radius: 14px 0 0 0;
        box-shadow: inset 3px 0 0 #df6666;
    }
    .control-center-dashboard-grid.is-full .control-center-requests {
        border-right: 0;
        border-radius: 0 0 0 14px;
        box-shadow: inset 3px 0 0 #6d879d;
    }
    .control-center-dashboard-grid.is-full .control-center-repair-kits {
        border-right: 0;
        box-shadow: inset 3px 0 0 #399174;
    }
    .control-center-dashboard-grid.is-full .control-center-data-quality {
        border-radius: 0 14px 14px 0;
        box-shadow: inset 3px 0 0 #d69a43;
    }
    .control-center-dashboard-grid.is-full .control-center-demand-chart {
        border-radius: 14px;
        box-shadow: inset 0 3px 0 #2795c2, 0 8px 24px rgba(24, 39, 54, .045);
    }

    .control-center-dashboard-grid.is-full .control-center-panel-head,
    .control-center-dashboard-grid.is-full .control-center-demand-chart-head {
        min-height: 58px;
        padding: 9px 13px;
        background: #fff;
    }
    .control-center-dashboard-grid.is-full .control-center-panel-head h2,
    .control-center-dashboard-grid.is-full .control-center-demand-chart-head h2 {
        font-size: 13.5px;
    }
    .control-center-dashboard-grid.is-full .control-center-panel-head p,
    .control-center-dashboard-grid.is-full .control-center-demand-chart-head p {
        font-size: 7.8px;
    }
    .control-center-dashboard-grid.is-full .control-center-panel-icon {
        width: 29px;
        height: 29px;
        border: 0;
        border-radius: 8px;
    }
    .control-center-dashboard-grid.is-full .control-center-panel-icon svg {
        width: 15px;
        height: 15px;
    }
    .control-center-dashboard-grid.is-full .control-center-count {
        min-width: 24px;
        height: 24px;
    }

    .control-center-dashboard-grid.is-full .control-center-action-list,
    .control-center-dashboard-grid.is-full .control-center-request-list {
        height: 100%;
        min-height: 0;
    }
    .control-center-dashboard-grid.is-full .action-count-3 .control-center-action-list {
        display: grid;
        grid-template-rows: repeat(3, minmax(0, 1fr));
    }
    .control-center-dashboard-grid.is-full .control-center-action {
        min-height: 0;
        padding: 7px 11px;
        gap: 8px;
    }
    .control-center-dashboard-grid.is-full .control-center-action-state {
        height: 28px;
    }
    .control-center-dashboard-grid.is-full .control-center-action-copy > strong {
        font-size: 10px;
    }
    .control-center-dashboard-grid.is-full .control-center-action-copy > span {
        font-size: 7.5px;
    }
    .control-center-dashboard-grid.is-full .control-center-action-value strong {
        font-size: 14px;
    }

    .control-center-dashboard-grid.is-full .control-center-panel-body {
        min-height: 0;
    }
    .control-center-dashboard-grid.is-full .control-center-request-list {
        display: grid;
        grid-auto-rows: minmax(0, 1fr);
    }
    .control-center-dashboard-grid.is-full .control-center-request-list > a {
        min-height: 0;
        padding: 6px 11px;
        grid-template-columns: 23px minmax(0, 1fr) 66px 12px;
        gap: 8px;
    }
    .control-center-dashboard-grid.is-full .control-center-request-mark,
    .control-center-dashboard-grid.is-full .control-center-request-mark svg {
        width: 21px;
        height: 21px;
    }
    .control-center-dashboard-grid.is-full .control-center-request-list span > strong {
        font-size: 10px;
    }
    .control-center-dashboard-grid.is-full .control-center-request-list span > b {
        font-size: 12.5px;
    }

    .control-center-dashboard-grid.is-full .control-center-repair-kits .control-center-panel-body {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .control-center-dashboard-grid.is-full .control-center-rk-summary {
        min-height: 70px;
        flex: 0 0 70px;
    }
    .control-center-dashboard-grid.is-full .control-center-rk-summary > span {
        min-height: 70px;
        padding: 10px 12px;
    }
    .control-center-dashboard-grid.is-full .control-center-rk-summary strong {
        margin-top: 5px;
        font-size: 15px;
    }
    .control-center-dashboard-grid.is-full .control-center-subsection-label {
        min-height: 28px;
        flex: 0 0 28px;
    }
    .control-center-dashboard-grid.is-full .control-center-rk-list {
        min-height: 0;
        overflow-y: auto;
    }
    .control-center-dashboard-grid.is-full .control-center-rk-list a {
        min-height: 46px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .control-center-dashboard-grid.is-full .control-center-data-quality-list {
        min-height: 0;
        overflow-y: auto;
    }
    .control-center-dashboard-grid.is-full .control-center-data-quality-list > a {
        min-height: 0;
        padding: 6px 10px;
        grid-template-columns: 18px minmax(0, 1fr) auto 11px;
        gap: 8px;
    }
    .control-center-dashboard-grid.is-full .control-center-data-quality-state {
        width: 18px;
        height: 18px;
    }
    .control-center-dashboard-grid.is-full .control-center-data-quality-copy strong {
        font-size: 9px;
    }
    .control-center-dashboard-grid.is-full .control-center-data-quality-copy small {
        font-size: 7px;
    }
    .control-center-dashboard-grid.is-full .control-center-data-quality-value strong {
        font-size: 12px;
    }

    .control-center-dashboard-grid.is-full .control-center-demand-chart-head {
        min-height: 62px;
    }
    .control-center-dashboard-grid.is-full .control-center-demand-chart-summary {
        min-width: 390px;
    }
    .control-center-dashboard-grid.is-full .control-center-demand-chart-canvas {
        min-height: 0;
    }
}

/* Control center v4 — unified three-lane operations console */
@media (min-width: 1401px) {
    .control-center-dashboard-grid.is-full {
        display: grid;
        grid-template-columns: minmax(310px, .92fr) minmax(560px, 1.52fr) minmax(390px, 1.06fr);
        grid-template-rows: clamp(170px, 23vh, 245px) clamp(145px, 18vh, 205px) clamp(215px, 28vh, 310px);
        column-gap: 0;
        row-gap: 0;
    }
    .control-center-dashboard-grid.is-full > .control-center-main-stage,
    .control-center-dashboard-grid.is-full > .control-center-insight-stage { display: contents; }
    .control-center-dashboard-grid.is-full .control-center-actions { grid-column: 1; grid-row: 1; }
    .control-center-dashboard-grid.is-full .control-center-requests { grid-column: 1; grid-row: 2; }
    .control-center-dashboard-grid.is-full .control-center-repair-kits { grid-column: 2; grid-row: 1 / 3; }
    .control-center-dashboard-grid.is-full .control-center-data-quality { grid-column: 3; grid-row: 1 / 3; }
    .control-center-dashboard-grid.is-full .control-center-demand-chart {
        grid-column: 1 / 4;
        grid-row: 3;
        height: calc(100% - 14px);
        margin-top: 14px;
    }
    .control-center-dashboard-grid.is-full .control-center-panel {
        height: 100%;
        min-height: 0;
        border-color: #dde5ea;
        border-radius: 0;
        box-shadow: none;
    }
    .control-center-dashboard-grid.is-full .control-center-actions {
        border-right: 0;
        border-bottom: 0;
        border-radius: 14px 0 0 0;
        box-shadow: inset 3px 0 0 #df6666;
    }
    .control-center-dashboard-grid.is-full .control-center-requests {
        border-right: 0;
        border-radius: 0 0 0 14px;
        box-shadow: inset 3px 0 0 #6d879d;
    }
    .control-center-dashboard-grid.is-full .control-center-repair-kits {
        border-right: 0;
        box-shadow: inset 3px 0 0 #399174;
    }
    .control-center-dashboard-grid.is-full .control-center-data-quality {
        border-radius: 0 14px 14px 0;
        box-shadow: inset 3px 0 0 #d69a43;
    }
    .control-center-dashboard-grid.is-full .control-center-demand-chart {
        border-radius: 14px;
        box-shadow: inset 0 3px 0 #2795c2, 0 8px 24px rgba(24,39,54,.045);
    }
    .control-center-dashboard-grid.is-full .control-center-panel-head,
    .control-center-dashboard-grid.is-full .control-center-demand-chart-head {
        min-height: 58px;
        padding: 9px 13px;
        background: #fff;
    }
    .control-center-dashboard-grid.is-full .control-center-panel-head h2,
    .control-center-dashboard-grid.is-full .control-center-demand-chart-head h2 { font-size: 13.5px; }
    .control-center-dashboard-grid.is-full .control-center-panel-head p,
    .control-center-dashboard-grid.is-full .control-center-demand-chart-head p { font-size: 7.8px; }
    .control-center-dashboard-grid.is-full .control-center-panel-icon {
        width: 29px;
        height: 29px;
        border: 0;
        border-radius: 8px;
    }
    .control-center-dashboard-grid.is-full .control-center-panel-icon svg { width: 15px; height: 15px; }
    .control-center-dashboard-grid.is-full .control-center-count { min-width: 24px; height: 24px; }

    .control-center-dashboard-grid.is-full .control-center-action-list,
    .control-center-dashboard-grid.is-full .control-center-request-list { height: 100%; min-height: 0; }
    .control-center-dashboard-grid.is-full .action-count-3 .control-center-action-list {
        display: grid;
        grid-template-rows: repeat(3, minmax(0, 1fr));
    }
    .control-center-dashboard-grid.is-full .control-center-action {
        min-height: 0;
        padding: 7px 11px;
        gap: 8px;
    }
    .control-center-dashboard-grid.is-full .control-center-action-state { height: 28px; }
    .control-center-dashboard-grid.is-full .control-center-action-copy > strong { font-size: 10px; }
    .control-center-dashboard-grid.is-full .control-center-action-copy > span { font-size: 7.5px; }
    .control-center-dashboard-grid.is-full .control-center-action-value strong { font-size: 14px; }

    .control-center-dashboard-grid.is-full .control-center-panel-body { min-height: 0; }
    .control-center-dashboard-grid.is-full .control-center-request-list {
        display: grid;
        grid-auto-rows: minmax(0, 1fr);
    }
    .control-center-dashboard-grid.is-full .control-center-request-list > a {
        min-height: 0;
        padding: 6px 11px;
        grid-template-columns: 23px minmax(0, 1fr) 66px 12px;
        gap: 8px;
    }
    .control-center-dashboard-grid.is-full .control-center-request-mark,
    .control-center-dashboard-grid.is-full .control-center-request-mark svg { width: 21px; height: 21px; }
    .control-center-dashboard-grid.is-full .control-center-request-list span > strong { font-size: 10px; }
    .control-center-dashboard-grid.is-full .control-center-request-list span > b { font-size: 12.5px; }

    .control-center-dashboard-grid.is-full .control-center-repair-kits .control-center-panel-body {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .control-center-dashboard-grid.is-full .control-center-rk-summary { min-height: 70px; flex: 0 0 70px; }
    .control-center-dashboard-grid.is-full .control-center-rk-summary > span { min-height: 70px; padding: 10px 12px; }
    .control-center-dashboard-grid.is-full .control-center-rk-summary strong { margin-top: 5px; font-size: 15px; }
    .control-center-dashboard-grid.is-full .control-center-subsection-label { min-height: 28px; flex: 0 0 28px; }
    .control-center-dashboard-grid.is-full .control-center-rk-list { min-height: 0; overflow-y: auto; }
    .control-center-dashboard-grid.is-full .control-center-rk-list a {
        min-height: 46px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .control-center-dashboard-grid.is-full .control-center-data-quality-list { min-height: 0; }
    .control-center-dashboard-grid.is-full .control-center-data-quality-list > a {
        min-height: 0;
        padding: 6px 10px;
        grid-template-columns: 18px minmax(0, 1fr) auto 11px;
        gap: 8px;
    }
    .control-center-dashboard-grid.is-full .control-center-data-quality-state { width: 18px; height: 18px; }
    .control-center-dashboard-grid.is-full .control-center-data-quality-copy strong { font-size: 9px; }
    .control-center-dashboard-grid.is-full .control-center-data-quality-copy small { font-size: 7px; }
    .control-center-dashboard-grid.is-full .control-center-data-quality-value strong { font-size: 12px; }

    .control-center-dashboard-grid.is-full .control-center-demand-chart-head { min-height: 62px; }
    .control-center-dashboard-grid.is-full .control-center-demand-chart-summary { min-width: 390px; }
    .control-center-dashboard-grid.is-full .control-center-demand-chart-canvas { min-height: 0; }
}

/* Control center v3 — compact single-screen desktop composition */
.control-center-content-shell {
    --cc-xs: 9px;
    --cc-sm: 10px;
    --cc-md: 11.5px;
    --cc-lg: 15px;
    --cc-gap: 12px;
    padding: 14px 20px 20px;
}
.control-center-heading {
    min-height: 58px;
    margin-bottom: 10px;
    padding: 0;
}
.control-center-heading h1 {
    margin: 5px 0 4px;
    font-size: clamp(24px, 1.25vw, 28px);
}
.control-center-heading p { font-size: 10px; }
.control-center-heading .page-kicker,
.control-center-panel .section-kicker { font-size: 8px; }
.control-center-period-control {
    width: 180px;
    min-height: 46px;
    padding: 7px 10px;
    grid-template-columns: 23px minmax(0, 1fr) 13px;
    gap: 9px;
    border-radius: 9px;
}
.control-center-period-icon { width: 20px; height: 20px; }
.control-center-period-chevron { width: 12px; height: 12px; }
.control-center-period-copy small { font-size: 7.5px; }
.control-center-period-copy strong { margin-top: 3px; font-size: 10.5px; }

.control-center-main-stage.has-three-panels,
.control-center-main-stage.has-three-panels.action-count-5,
.control-center-main-stage.has-three-panels.action-count-6,
.control-center-main-stage.has-three-panels.action-count-7,
.control-center-main-stage.has-three-panels.action-count-8 {
    --control-center-main-height: clamp(330px, 40vh, 440px);
    height: var(--control-center-main-height);
    grid-template-columns: minmax(300px, 1.05fr) minmax(255px, .85fr) minmax(530px, 2.1fr);
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas: "actions requests repair";
}
.control-center-main-stage.has-three-panels > .control-center-panel {
    height: 100%;
    min-height: 0;
}
.control-center-panel { border-radius: 12px; box-shadow: 0 5px 18px rgba(24,39,54,.045); }
.control-center-panel-head,
.control-center-demand-chart-head {
    min-height: 64px;
    padding: 10px 14px;
}
.control-center-panel-head h2,
.control-center-demand-chart-head h2 { margin-top: 3px; font-size: 15px; }
.control-center-panel-head p,
.control-center-demand-chart-head p { margin-top: 3px; font-size: 8.5px; line-height: 1.35; }
.control-center-panel-heading { gap: 10px; }
.control-center-panel-icon { width: 32px; height: 32px; border-radius: 8px; }
.control-center-panel-icon svg { width: 16px; height: 16px; }
.control-center-count { min-width: 26px; height: 26px; padding: 0 8px; font-size: 9px; }
.control-center-panel-head > a,
.control-center-data-quality-actions > a { padding: 4px 0; font-size: 8.5px; }

.control-center-action {
    min-height: 66px;
    padding: 9px 13px;
    grid-template-columns: 5px minmax(0, 1fr) auto 13px;
    gap: 10px;
}
.control-center-action-state { width: 5px; height: 30px; }
.control-center-action-copy > small { font-size: 7.5px; }
.control-center-action-copy > strong { margin-top: 3px; font-size: 11px; }
.control-center-action-copy > span { margin-top: 4px; font-size: 8px; }
.control-center-action-value { min-width: 58px; gap: 3px; }
.control-center-action-value strong { font-size: 15px; }
.control-center-action-value small { font-size: 7.5px; }
.control-center-action > svg { width: 13px; height: 13px; }

.control-center-request-list > a {
    min-height: 66px;
    padding: 9px 13px;
    grid-template-columns: 25px minmax(0, 1fr) 76px 13px;
    gap: 10px;
}
.control-center-request-mark { width: 24px; height: 24px; }
.control-center-request-mark svg { width: 22px; height: 22px; }
.control-center-request-list span > strong { font-size: 11px; }
.control-center-request-list span > b { font-size: 14px; }
.control-center-request-list > a > svg { width: 13px; height: 13px; }

.control-center-rk-summary {
    min-height: 76px;
    padding: 0 10px;
}
.control-center-rk-summary > span { min-height: 76px; padding: 12px 14px; }
.control-center-rk-summary > span + span::before { top: 15px; bottom: 15px; }
.control-center-rk-summary small { font-size: 7.5px; }
.control-center-rk-summary strong { margin-top: 6px; font-size: 16px; }
.control-center-rk-summary strong em { font-size: 7.5px; }
.control-center-subsection-label { min-height: 30px; padding: 0 13px; }
.control-center-subsection-label span { font-size: 7.5px; }
.control-center-subsection-label small { font-size: 7px; }
.control-center-rk-list a {
    min-height: 43px;
    padding: 6px 13px 6px 18px;
    grid-template-columns: minmax(0, 1fr) 72px 72px;
    gap: 9px;
}
.control-center-rk-list a::before { top: 10px; bottom: 10px; left: 6px; width: 3px; }
.control-center-rk-list span > strong { font-size: 9.5px; }
.control-center-rk-list span > small { margin-top: 3px; font-size: 7px; }
.control-center-rk-list span > b { margin-top: 3px; font-size: 8.5px; }

.control-center-insight-stage {
    margin-bottom: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.control-center-insight-stage > .control-center-panel {
    height: clamp(240px, 29vh, 340px);
}
.control-center-demand-chart-head { gap: 18px; }
.control-center-demand-chart-summary { min-width: 330px; }
.control-center-demand-chart-summary > span { padding: 7px 15px; }
.control-center-demand-chart-summary small { font-size: 7.2px; }
.control-center-demand-chart-summary strong { margin-top: 4px; font-size: 14px; }
.control-center-demand-chart-summary strong em { font-size: 7.5px; }
.control-center-demand-chart-canvas { padding-top: 0; }
.control-center-demand-scale { height: 40px; flex-basis: 40px; }
.control-center-demand-scale strong { margin-top: 5px; font-size: 9px; }
.control-center-demand-scale small { margin-top: 2px; font-size: 8px; }

.control-center-data-quality-list > a {
    padding: 6px 12px;
    grid-template-columns: 20px minmax(0, 1fr) auto 13px;
    gap: 9px;
}
.control-center-data-quality-state { width: 20px; height: 20px; }
.control-center-data-quality-copy strong { font-size: 9.5px; }
.control-center-data-quality-copy small { margin-top: 3px; font-size: 7.5px; }
.control-center-data-quality-value { min-width: 52px; }
.control-center-data-quality-value strong { font-size: 13px; }
.control-center-data-quality-value small { font-size: 7.5px; }
.control-center-data-quality-chevron { width: 12px; height: 12px; }

@media (min-width: 2400px) and (max-width: 2999px) and (max-resolution: 1.25dppx) {
    .control-center-content-shell {
        --cc-xs: 9px;
        --cc-sm: 10px;
        --cc-md: 11.5px;
        --cc-lg: 15px;
    }
}
@media (max-width: 1180px) {
    .control-center-main-stage.has-three-panels {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-areas: "actions" "requests" "repair";
    }
    .control-center-main-stage.has-three-panels > .control-center-panel { height: auto; min-height: 350px; }
    .control-center-insight-stage { grid-template-columns: 1fr; }
    .control-center-insight-stage > .control-center-panel { height: 400px; }
}
@media (max-width: 680px) {
    .control-center-content-shell { padding: 14px 12px 34px; }
    .control-center-heading { align-items: stretch; flex-direction: column; }
    .control-center-period-control { width: 100%; }
    .control-center-action { grid-template-columns: 5px minmax(0, 1fr) 13px; }
    .control-center-action-value { grid-column: 2; justify-content: flex-start; }
    .control-center-action > svg { grid-column: 3; grid-row: 1 / span 2; }
    .control-center-request-list > a { grid-template-columns: 25px minmax(0, 1fr) 13px; }
    .control-center-request-list > a .control-center-request-metrics { grid-column: 2; text-align: left; }
    .control-center-rk-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .control-center-rk-summary > span + span::before { display: none; }
    .control-center-rk-summary > span:nth-child(even) { border-left: 1px solid #e2e7eb; }
    .control-center-rk-summary > span:nth-child(n+3) { border-top: 1px solid #e2e7eb; }
    .control-center-data-quality-list > a { grid-template-columns: 20px minmax(0, 1fr) 13px; }
    .control-center-data-quality-value { grid-column: 2; justify-content: flex-start; }
}
/* Provenance of custom-date sales, without adding another table column. */
.report-sales-basis { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; max-width: 100%; margin-top: 4px; color: #31746b; white-space: normal; }
.report-sales-basis > small { font-size: 12px; line-height: 1.3; }
.report-sales-basis.is-estimated { color: #956016; }
