:root {
  --red: #e30613;
  --red-dark: #b6000c;
  --red-soft: #fff0f1;
  --ink: #202a33;
  --muted: #66717c;
  --line: #d7e2ea;
  --bg: #f2f7fb;
  --card: #ffffff;
  --green: #14804a;
  --green-soft: #e8f7ef;
  --yellow: #ffed00;
  --yellow-soft: #fffbd6;
  --warning: #9a6500;
  --blue: #0069b4;
  --blue-dark: #004f89;
  --area-accent: var(--blue);
  --area-soft: #e7f2fa;
  --area-line: #c6dfef;
  --area-ring: rgba(0,105,180,.15);
  --gray: #575756;
  --shadow: 0 10px 30px rgba(20, 32, 45, .07);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, label.button:focus-within { outline: 3px solid #111820; outline-offset: 3px; box-shadow: 0 0 0 6px rgba(255,237,0,.9); }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 272px minmax(0, 1fr) 210px; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 22px 16px; background: linear-gradient(180deg, #20262c, #12171c); color: white; display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; flex-direction: column; align-items: stretch; gap: 9px; padding: 0 8px 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.brand-logo-frame { width: 100%; height: 70px; overflow: hidden; border-radius: 10px; background: var(--red); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.brand-logo-frame img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; }
.brand small, .sidebar-footer strong, .sidebar-footer small { display: block; }
.brand small { color: #d9e8f3; margin-top: 2px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
#main-nav { display: grid; gap: 4px; margin-top: 16px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #68727b transparent; }
.nav-group-label { margin: 14px 10px 4px; color: #9ba5ae; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.nav-item { width: 100%; border: 0; color: #d0d5da; background: transparent; padding: 9px 12px; min-height: 42px; border-radius: 10px; text-align: left; display: flex; gap: 11px; align-items: center; font-weight: 680; font-size: 13px; }
.nav-item[hidden], .top-actions [hidden] { display: none !important; }
.nav-item span { width: 20px; text-align: center; font-size: 18px; }
.nav-item:hover { color: white; background: rgba(255,255,255,.06); }
.nav-item.active { color: white; background: var(--red); box-shadow: 0 6px 18px rgba(0,0,0,.2); border-left: 4px solid var(--yellow); padding-left: 10px; }
.sidebar-footer { margin-top: 12px; padding: 14px 10px; border-radius: 12px; background: rgba(255,255,255,.05); display: flex; gap: 10px; align-items: center; }
.sidebar-footer strong { font-size: 12px; }
.sidebar-footer small { font-size: 11px; color: #aeb8c3; margin-top: 2px; }
.sync-dot { width: 9px; height: 9px; border-radius: 50%; background: #30c875; box-shadow: 0 0 0 4px rgba(48,200,117,.12); }

.main { min-width: 0; }
.photo-rail { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #173246; border-left: 4px solid var(--yellow); }
.photo-rail::after { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(180deg, rgba(0,55,94,.04) 30%, rgba(0,44,76,.86) 100%); pointer-events: none; }
.photo-rail::before { content: ""; position: absolute; z-index: 1; inset: 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 18px; pointer-events: none; }
.photo-rail img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 54% center; filter: saturate(.94) contrast(1.04); }
.photo-rail-caption { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 18px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(0,36,61,.62); backdrop-filter: blur(8px); color: white; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.photo-rail-caption strong, .photo-rail-caption small { display: block; }
.photo-rail-caption strong { font-size: 16px; line-height: 1.25; }
.photo-rail-caption small { margin-top: 6px; color: #dceaf4; font-size: 11px; line-height: 1.4; }
.topbar { min-height: 98px; padding: 22px 34px; background: white; border-bottom: 4px solid var(--yellow); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.eyebrow { margin: 0 0 4px; color: var(--blue); font-weight: 850; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; }
.top-actions { display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.global-search { min-width: 210px; display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 11px; background: #f8fafb; color: var(--muted); }
.global-search input { width: 150px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.role-chip { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-flex; align-items: center; padding: 9px 12px; border-radius: 999px; background: #e7f2fa; color: var(--blue-dark); border: 1px solid #c6dfef; font-size: 12px; font-weight: 800; }
.area-context { min-width: 158px; max-width: 220px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--area-line); border-left: 4px solid var(--area-accent); border-radius: 11px; background: var(--area-soft); color: var(--ink); }
.area-context-marker { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--area-accent); box-shadow: 0 0 0 4px var(--area-ring); }
.area-context-copy { min-width: 0; display: grid; gap: 1px; line-height: 1.15; }
.area-context-copy > span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.area-context-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--area-accent); font-size: 12px; }
.area-context-code { margin-left: auto; padding: 4px 6px; border-radius: 6px; background: var(--area-accent); color: white; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.area-switcher { display: flex; align-items: center; gap: 5px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafb; }
.area-switcher button { border: 0; border-radius: 7px; padding: 6px 8px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 850; }
.area-switcher button:hover, .area-switcher button[aria-current="true"] { background: var(--area-soft); color: var(--area-accent); }
.area-switch-button { white-space: nowrap; }
.area-switch-dot { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.area-badge { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 3px 7px; border-radius: 999px; border: 1px solid var(--area-line); background: var(--area-soft); color: var(--area-accent); font-size: 10px; font-weight: 850; white-space: nowrap; }
.area-badge.area-red { --area-accent: var(--red); --area-soft: var(--red-soft); --area-line: #f0cbd1; }
.area-badge.area-blue { --area-accent: var(--blue); --area-soft: #e7f2fa; --area-line: #c6dfef; }
.area-badge-muted { opacity: .72; }
.area-badge-compact { font-size: 9px; padding: 2px 5px; }
.area-access-fieldset { min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafb; }
.area-access-fieldset legend { padding: 0 5px; font-weight: 800; color: var(--ink); }
.area-access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.area-access-option { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.area-access-option input { accent-color: var(--area-accent); }
.area-access-option:has(input:checked) { border-color: var(--area-accent); box-shadow: 0 0 0 2px var(--area-ring); }
.area-option-swatch { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--area-accent); box-shadow: 0 0 0 4px var(--area-ring); }
.area-option-red { --area-accent: var(--red); --area-ring: rgba(227,6,19,.15); }
.area-option-blue { --area-accent: var(--blue); --area-ring: rgba(0,105,180,.15); }
.area-access-option > span:last-child { display: grid; gap: 2px; min-width: 0; }
.area-access-option small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .area-access-grid { grid-template-columns: 1fr; } }
body[data-area="zwr-dk"], body[data-area="zwrd-k"] { --area-accent: var(--red); --area-soft: var(--red-soft); --area-line: #f0cbd1; --area-ring: rgba(227,6,19,.15); }
body[data-area="ortgruppe"] { --area-accent: var(--blue); --area-soft: #e7f2fa; --area-line: #c6dfef; --area-ring: rgba(0,105,180,.15); }
.area-context[data-area="zwr-dk"], .area-context[data-area="zwrd-k"] { --area-accent: var(--red); --area-soft: var(--red-soft); --area-line: #f0cbd1; --area-ring: rgba(227,6,19,.15); }
.area-context[data-area="ortgruppe"] { --area-accent: var(--blue); --area-soft: #e7f2fa; --area-line: #c6dfef; --area-ring: rgba(0,105,180,.15); }
body[data-area="zwr-dk"] .topbar, body[data-area="zwrd-k"] .topbar, body[data-area="ortgruppe"] .topbar { border-bottom-color: var(--area-accent); }
body[data-area="zwr-dk"] .sidebar, body[data-area="zwrd-k"] .sidebar, body[data-area="ortgruppe"] .sidebar { box-shadow: inset -3px 0 0 var(--area-accent); }
.button { border-radius: 10px; padding: 10px 15px; border: 1px solid transparent; font-weight: 750; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--red); color: white; box-shadow: 0 6px 16px rgba(227,6,19,.2); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { background: white; color: var(--ink); border-color: var(--line); }
.button-ghost { background: transparent; color: var(--red); border-color: transparent; padding-inline: 8px; }
.button-small { padding: 7px 10px; font-size: 13px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.section-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.permission-lock { display: inline-flex; align-items: center; min-height: 39px; padding: 8px 12px; border-radius: 10px; background: #f5f7f9; border: 1px dashed var(--line); color: var(--muted); font-size: 12px; font-weight: 700; }

.view { display: none; padding: 30px 34px 50px; animation: view-in .18s ease both; }
.view.active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 18px; }
.section-head h2 { margin: 0 0 4px; font-size: 20px; }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.kpi { padding: 20px; position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; width: 70px; height: 70px; border-radius: 50%; right: -25px; top: -22px; background: var(--tone-soft, #eef2f5); }
.kpi-label { color: var(--muted); font-weight: 650; font-size: 13px; }
.kpi-value { display: block; margin-top: 9px; font-size: 30px; font-weight: 850; letter-spacing: -.04em; }
.kpi-note { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr); gap: 18px; margin-top: 18px; }
.panel { padding: 22px; }
.panel h2, .panel h3 { margin: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 10px; }
.panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.equipment-list { display: grid; gap: 14px; }
.equipment-row { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr 86px; align-items: center; gap: 14px; }
.equipment-row strong { font-size: 13px; }
.progress { height: 9px; background: #edf0f3; border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.equipment-row small { color: var(--muted); text-align: right; }
.donut-wrap { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 24px; }
.donut { --green-end: 0; --yellow-end: 0; --red-end: 0; width: 150px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--green-end)*1%), #d29a00 0 calc(var(--yellow-end)*1%), var(--red) 0 calc(var(--red-end)*1%), #a9b1b8 0); position: relative; display: grid; place-items: center; }
.donut::after { content: ""; width: 104px; aspect-ratio: 1; border-radius: 50%; background: white; position: absolute; }
.donut span { z-index: 1; font-size: 25px; font-weight: 850; }
.legend { display: grid; gap: 12px; }
.legend-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.legend-label { display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.green { background: var(--green); } .dot.yellow { background: var(--yellow); box-shadow: inset 0 0 0 1px #c4a900; } .dot.red { background: var(--red); } .dot.gray { background: #a9b1b8; }
.alerts { margin-top: 18px; }
.alert-list { display: grid; gap: 10px; }
.alert { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff8f8; border: 1px solid #f6d8dc; border-radius: 12px; }
.alert-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-weight: 900; }
.alert div:nth-child(2) { min-width: 0; flex: 1; }
.alert strong, .alert small { display: block; }
.alert small { color: var(--muted); margin-top: 2px; }

.toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) 200px 160px auto; gap: 10px; margin-bottom: 16px; }
.input, .select, .textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 10px 12px; color: var(--ink); outline: none; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.08); }
.table-card { overflow: hidden; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 12px 14px; color: var(--muted); background: #f8f9fb; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px 14px; border-bottom: 1px solid #edf0f3; font-size: 13px; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfcfd; }
.material-name strong, .material-name small { display: block; }
.material-name small { color: var(--muted); margin-top: 3px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; min-width: 180px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 850; padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-green { color: var(--green); background: var(--green-soft); }
.status-yellow { color: var(--warning); background: var(--yellow-soft); }
.status-red { color: var(--red); background: var(--red-soft); }
.status-gray { color: #5b6570; background: #eef1f3; }
.status-reason { display: block; margin-top: 5px; max-width: 180px; color: var(--muted); line-height: 1.35; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.pagination-actions { display: flex; gap: 6px; }
.empty { padding: 42px 20px; text-align: center; color: var(--muted); }

.control-hero { padding: 24px; background: linear-gradient(120deg, #171f28, #293643); color: white; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.control-hero p { color: #c7d0d9; max-width: 700px; margin: 8px 0 0; line-height: 1.55; }
.step-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 18px 0; }
.step { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.step-number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: white; font-weight: 850; font-size: 12px; margin-bottom: 10px; }
.step strong, .step small { display: block; }
.step small { color: var(--muted); margin-top: 4px; line-height: 1.4; }
.timeline { position: relative; display: grid; gap: 16px; }
.timeline-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; }
.timeline-icon { width: 36px; height: 36px; border-radius: 50%; background: #edf1f4; display: grid; place-items: center; color: var(--blue); font-weight: 850; }
.timeline-content { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.timeline-content p { margin: 4px 0; font-size: 13px; }
.timeline-content small { color: var(--muted); }
.audit-detail { color: var(--muted); }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: 12px; font-weight: 750; color: #46515d; }
.hint { font-size: 12px; color: var(--muted); line-height: 1.5; }
.danger-zone { border-color: #f0cbd1; }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.role-card { position: relative; display: grid; gap: 5px; padding: 14px; min-height: 100px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfd; }
.role-card.selected { border-color: var(--blue); background: #eef7fc; box-shadow: 0 0 0 3px rgba(0,105,180,.08); }
.role-card strong { font-size: 13px; }
.role-card small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.role-dot { width: 10px; height: 10px; border-radius: 50%; display: block; }
.role-red { background: var(--red); }.role-blue { background: var(--blue); }.role-yellow { background: var(--yellow); box-shadow: inset 0 0 0 1px #c4a900; }
.permission-note { display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #f6f8fa; color: var(--muted); font-size: 12px; }
.permission-note strong { color: var(--ink); }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(10,17,25,.58); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; }
.modal { width: min(900px,100%); max-height: calc(100vh - 40px); overflow: auto; background: white; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal.narrow { width: min(590px,100%); }
.modal-head { position: sticky; top: 0; z-index: 2; background: white; display: flex; justify-content: space-between; align-items: start; gap: 18px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; }
.modal-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.modal-body { padding: 22px; }
.modal-footer { position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--line); background: white; }
.control-items { display: grid; gap: 8px; margin-top: 16px; }
.control-item { display: grid; grid-template-columns: minmax(180px,1fr) 76px 76px 150px; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; background: #f8f9fb; }
.control-item small { color: var(--muted); }
.control-item input, .control-item select { min-width: 0; }
.summary-strip { display: flex; gap: 14px; flex-wrap: wrap; padding: 12px 14px; background: #f8f9fb; border-radius: 10px; font-size: 12px; color: var(--muted); }

.vehicle-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.vehicle-card { padding: 22px; display: grid; gap: 20px; border-top: 5px solid var(--blue); }
.vehicle-card h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.vehicle-card .eyebrow { margin-bottom: 4px; }
.vehicle-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.vehicle-symbol { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--blue); color: white; box-shadow: inset 0 -5px 0 rgba(0,0,0,.12); font-weight: 900; font-size: 13px; letter-spacing: .04em; }
.vehicle-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vehicle-facts div { padding: 11px; border-radius: 10px; background: #f5f8fb; min-width: 0; }
.vehicle-facts span, .vehicle-facts strong { display: block; }
.vehicle-facts span { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.vehicle-facts strong { font-size: 13px; overflow-wrap: anywhere; }
.vehicle-modal { width: min(1040px, 100%); }
.vehicle-detail { display: grid; gap: 18px; }
.vehicle-section { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.vehicle-section .panel-head { margin-bottom: 14px; }
.inline-entry-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.compact-list { display: grid; gap: 8px; }
.compact-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 12px; border-radius: 10px; background: #f6f8fa; }
.compact-row strong, .compact-row small, .compact-row span { display: block; }
.compact-row small, .compact-row span { color: var(--muted); font-size: 11px; margin-top: 3px; }
.compact-row > div:last-child { text-align: right; }
.compact-empty { padding: 16px; background: #f8f9fb; border-radius: 10px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.photo-card { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white; }
.photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #eef2f5; }
.photo-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; font-size: 11px; }
.photo-card figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-card figcaption button { width: 26px; height: 26px; flex: none; border: 0; border-radius: 50%; background: var(--red-soft); color: var(--red); font-weight: 900; }
.photo-empty { grid-column: 1/-1; border: 1px dashed var(--line); border-radius: 12px; }

#toast-root { position: fixed; z-index: 200; right: 22px; bottom: 22px; display: grid; gap: 8px; }
.toast { max-width: 360px; padding: 12px 15px; border-radius: 10px; background: #171f28; color: white; box-shadow: var(--shadow); font-size: 13px; animation: toast-in .2s ease; }
@keyframes toast-in { from { transform: translateY(10px); opacity: 0; } }
.mobile-only { display: none; }

body.auth-locked {
  background:
    linear-gradient(120deg, rgba(0, 28, 48, .9) 0%, rgba(0, 55, 94, .64) 48%, rgba(101, 10, 18, .42) 100%),
    url("assets/login-hero.jpg") center / cover no-repeat fixed;
}
body.auth-locked .app-shell { display: none; }
.auth-screen { display: none; position: relative; min-height: 100dvh; place-items: center; padding: clamp(18px, 4vw, 44px); }
body.auth-locked .auth-screen { display: grid; }
.auth-card { width: min(560px, 100%); max-height: calc(100dvh - 36px); overflow: auto; padding: 30px; border-radius: 22px; background: rgba(255,255,255,.95); box-shadow: 0 28px 90px rgba(0,22,45,.42); backdrop-filter: blur(10px); }
.auth-brand { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--blue-dark); font-weight: 850; }
.auth-brand img { width: 170px; height: 54px; object-fit: contain; object-position: center; border-radius: 9px; background: var(--red); }
.auth-copy { padding: 24px 0 12px; }
.auth-copy h1 { margin: 0 0 10px; font-size: 30px; }
.auth-copy p:last-child { margin: 0; color: var(--muted); line-height: 1.55; }
.auth-form { display: grid; gap: 14px; }
.password-field { position: relative; display: flex; align-items: center; }
.password-field .input { padding-right: 90px; }
.password-toggle { position: absolute; right: 8px; border: 0; background: transparent; color: var(--blue-dark); font-size: 12px; font-weight: 800; }
.check-line { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.check-line input { accent-color: var(--red); }
.auth-submit { width: 100%; margin-top: 4px; padding-block: 13px; }
.auth-note { display: grid; gap: 4px; margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: #f5f8fb; color: var(--muted); font-size: 12px; line-height: 1.45; }
.auth-note strong { color: var(--ink); }
.auth-error { margin: 0 0 14px; padding: 11px 13px; border-radius: 10px; color: var(--red-dark); background: var(--red-soft); border: 1px solid #f0cbd1; font-size: 13px; font-weight: 750; }
.button-danger { color: var(--red); border-color: #f0cbd1; background: var(--red-soft); }
.user-admin-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); gap: 18px; margin-top: 18px; }
.user-side-stack { display: grid; gap: 18px; align-content: start; }
.user-toolbar { grid-template-columns: minmax(220px, 1fr) 190px 150px; padding: 0 22px 16px; margin: 0; }
.user-actions { min-width: 270px; }
.role-overview-list { display: grid; gap: 11px; }
.role-overview { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.role-overview span:nth-child(2) { flex: 1; }
.role-overview strong { font-size: 14px; }
.role-gray { background: #7a8692; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.radio-toolbar { grid-template-columns: minmax(260px, 1fr) 210px 170px auto; }
.radio-info { margin-top: 18px; }
.radio-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.radio-info-grid div { display: grid; gap: 5px; padding: 14px; border-radius: 12px; background: #f5f8fb; border-left: 4px solid var(--blue); }
.radio-info-grid strong { font-size: 14px; }
.radio-info-grid span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 18px; }
.profile-card { text-align: center; }
.profile-card h2 { margin: 14px 0 4px; }
.profile-avatar { width: 84px; height: 84px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-size: 32px; font-weight: 900; box-shadow: 0 0 0 7px #e8f2f8; }
.profile-facts, .security-list { display: grid; gap: 10px; margin-top: 20px; text-align: left; }
.profile-facts div, .security-list div { padding: 11px 12px; border-radius: 10px; background: #f6f8fa; }
.profile-facts span, .security-list span, .profile-facts strong, .security-list strong { display: block; }
.profile-facts span, .security-list span { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.profile-facts strong, .security-list strong { font-size: 13px; overflow-wrap: anywhere; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

@media (max-width: 1240px) {
  .app-shell { grid-template-columns: 254px minmax(0, 1fr); }
  .photo-rail { display: none; }
}
@media (max-width: 1080px) {
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .vehicle-summary { grid-template-columns: repeat(2,1fr); }
  .vehicle-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .user-admin-grid, .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -270px; width: 254px; transition: left .22s ease; }
  .sidebar.open { left: 0; box-shadow: 20px 0 60px rgba(0,0,0,.25); }
  .mobile-only { display: inline-grid; place-items: center; }
  .topbar { padding: 16px 18px; min-height: 86px; }
  .top-actions .button-secondary { display: none; }
  .role-chip { display: none; }
  .top-actions .button-primary { font-size: 0; width: 42px; height: 42px; padding: 0; }
  .top-actions .button-primary::after { content: "+"; font-size: 24px; }
  .area-context { min-width: 0; max-width: 148px; padding: 7px 8px; }
  .area-context-copy > span { display: none; }
  .area-context-copy strong { font-size: 11px; }
  .view { padding: 22px 18px 40px; }
  .kpi-grid, .settings-grid, .form-grid, .step-list { grid-template-columns: 1fr; }
  .vehicle-summary { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .donut-wrap { grid-template-columns: 130px 1fr; }
  .donut { width: 130px; }
  .donut::after { width: 88px; }
  .equipment-row { grid-template-columns: 1fr 1fr; }
  .equipment-row .progress { grid-column: 1/-1; grid-row: 2; }
  .toolbar { grid-template-columns: 1fr; }
  .radio-toolbar { grid-template-columns: 1fr; }
  .radio-info-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-actions { justify-content: flex-start; width: 100%; }
  .control-hero { align-items: flex-start; flex-direction: column; }
  .control-item { grid-template-columns: 1fr 70px 120px; }
  .control-item > div:first-child { grid-column: 1/-1; }
}
@media (max-width: 430px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
  .legend { width: 100%; }
  .control-item { grid-template-columns: 1fr 1fr; }
  .control-item select { grid-column: 1/-1; }
  .vehicle-summary, .photo-grid { grid-template-columns: 1fr; }
  .area-context { max-width: 112px; }
  .area-context-code { display: none; }
  .compact-row { align-items: flex-start; flex-direction: column; }
  .compact-row > div:last-child { text-align: left; }
  .row-actions { min-width: 0; }
}

/* Modernisierte BOS-Arbeitsbereiche */
.traffic-dashboard { margin-bottom: 20px; }
.traffic-dashboard-head { margin-bottom: 12px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.traffic-dashboard-head h2 { margin: 2px 0 3px; font-size: clamp(22px, 2.5vw, 30px); }
.traffic-dashboard-head p:last-child, .traffic-dashboard-head > small { margin: 0; color: var(--muted); font-size: 12px; }
.traffic-dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.traffic-card { width: 100%; min-width: 0; padding: 18px; border: 1px solid var(--line); border-left: 6px solid var(--warning); border-radius: 15px; background: white; color: var(--ink); display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 17px; text-align: left; box-shadow: var(--shadow); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.traffic-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(20,32,45,.13); }
.traffic-card-green { border-left-color: var(--green); }
.traffic-card-yellow { border-left-color: var(--warning); }
.traffic-card-red { border-left-color: var(--red); }
.traffic-card-gray { border-left-color: #8a949d; }
.traffic-lights { width: 50px; padding: 7px; border-radius: 14px; background: #20262c; display: grid; gap: 6px; align-self: start; box-shadow: inset 0 0 0 2px #101419; }
.traffic-light { width: 36px; height: 36px; border-radius: 50%; background: #515961; border: 3px solid #161b20; opacity: .36; }
.traffic-light.red.active { background: #ef1b2d; opacity: 1; box-shadow: 0 0 15px rgba(239,27,45,.7); }
.traffic-light.yellow.active { background: #ffcf00; opacity: 1; box-shadow: 0 0 15px rgba(255,207,0,.72); }
.traffic-light.green.active { background: #168a52; opacity: 1; box-shadow: 0 0 15px rgba(22,138,82,.68); }
.traffic-light.gray.active { background: #a9b1b8; opacity: 1; box-shadow: 0 0 15px rgba(169,177,184,.55); }
.traffic-card-content { min-width: 0; display: grid; gap: 13px; }
.traffic-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.traffic-card-title > span:first-child { min-width: 0; }
.traffic-card-title strong, .traffic-card-title small { display: block; }
.traffic-card-title strong { font-size: 20px; }
.traffic-card-title small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.traffic-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.traffic-counts > span { min-width: 0; padding: 9px 10px; border-radius: 10px; background: #f5f7f8; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1px 7px; }
.traffic-counts .dot { grid-row: 1/3; }
.traffic-counts strong { font-size: 17px; line-height: 1; }
.traffic-counts small { color: var(--muted); font-size: 10px; }
.traffic-total { color: var(--blue-dark); font-size: 11px; font-weight: 800; }
.readiness-banner { margin-bottom: 22px; padding: 20px 22px; border-left: 6px solid var(--red); border-radius: 14px; background: linear-gradient(120deg, #20262c, #343d45); color: white; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: var(--shadow); }
.readiness-banner h2 { margin: 2px 0 5px; font-size: clamp(23px, 3vw, 34px); }
.readiness-banner p:last-child { max-width: 760px; margin: 0; color: #d4d9dd; font-size: 13px; line-height: 1.5; }
.quick-actions { margin-bottom: 18px; display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: 10px; }
.quick-action { min-height: 76px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--ink); display: flex; align-items: center; gap: 11px; text-align: left; box-shadow: 0 5px 16px rgba(20,32,45,.04); }
.quick-action:hover { border-color: #f0a8ae; background: var(--red-soft); }
.quick-action span { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--red); color: white; font-size: 20px; font-weight: 900; }
.quick-action strong { font-size: 12px; line-height: 1.3; }
.kpi-grid-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.material-mobile-list { display: none; }
.mobile-material-card { padding: 16px; }
.mobile-material-card h3 { margin: 10px 0 3px; }
.mobile-material-card p { margin: 0; color: var(--muted); font-size: 12px; }
.mobile-material-card dl { margin: 14px 0; display: grid; gap: 8px; }
.mobile-material-card dl div { padding: 9px 10px; border-radius: 9px; background: #f6f8fa; }
.mobile-material-card dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.mobile-material-card dd { margin: 3px 0 0; font-size: 13px; font-weight: 750; }
.packlist-overview { margin: 0 0 18px; padding: 0; border: 1px solid #ead66b; border-radius: 15px; background: linear-gradient(135deg, #fffceb, #fff 64%); box-shadow: 0 6px 20px rgba(20,32,45,.05); overflow: hidden; }
.packlist-summary { min-height: 66px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.packlist-summary::-webkit-details-marker { display: none; }
.packlist-summary::after { content: "⌄"; width: 28px; height: 28px; flex: none; display: grid; place-items: center; border: 1px solid #e5d889; border-radius: 50%; color: #8a7100; font-size: 17px; transition: transform .18s ease, background .18s ease; }
.packlist-overview[open] .packlist-summary { border-bottom: 1px solid #eadf9f; }
.packlist-overview[open] .packlist-summary::after { transform: rotate(180deg); background: #fff8cf; }
.packlist-summary:focus-visible { outline: 3px solid rgba(0,94,162,.28); outline-offset: -3px; }
.packlist-summary > span:first-child { min-width: 0; display: grid; gap: 2px; }
.packlist-summary strong { color: var(--ink); font-size: 15px; }
.packlist-summary small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.packlist-summary-action { color: var(--blue-dark); font-size: 11px; font-weight: 850; white-space: nowrap; }
.packlist-overview-body { padding: 0 18px 18px; }
.packlist-overview-head { margin-bottom: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.packlist-overview-head h3 { margin: 2px 0 0; font-size: 18px; }
.packlist-overview-head > span { color: var(--muted); font-size: 12px; font-weight: 750; }
.packlist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.packlist-card { min-width: 0; padding: 14px; color: var(--ink); display: grid; justify-items: start; gap: 7px; text-align: left; border-color: #ebe2b0; box-shadow: none; }
.packlist-card:hover { border-color: #d8b60b; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(20,32,45,.08); }
.packlist-card.selected { border: 2px solid var(--red); background: #fff4f5; box-shadow: 0 0 0 3px rgba(226,0,26,.09); }
.packlist-card > strong { font-size: 14px; line-height: 1.35; }
.packlist-card > small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.packlist-card-link { margin-top: 2px; color: var(--blue-dark); font-size: 11px; font-weight: 850; }
.inventory-results { scroll-margin-top: 18px; outline: none; }
.inventory-results:focus-visible { outline: 3px solid rgba(0,94,162,.28); outline-offset: 5px; border-radius: 12px; }
.packlist-selection { margin: 0 0 14px; padding: 16px 18px; border-left: 5px solid var(--red); border-radius: 12px; background: #fff4f5; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.packlist-selection h3 { margin: 2px 0 4px; font-size: 18px; }
.packlist-selection p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.location-grid, .supplier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.location-card, .supplier-card { padding: 20px; display: grid; gap: 18px; }
.supplier-card p { color: var(--muted); line-height: 1.5; }
.supplier-note { padding: 13px; border-radius: 10px; background: var(--yellow-soft); display: grid; gap: 5px; font-size: 12px; }
.procurement-notice { margin: 0 0 18px; padding: 14px 16px; border-left: 5px solid var(--red); border-radius: 11px; background: var(--red-soft); display: flex; gap: 10px; align-items: baseline; font-size: 13px; }
.procurement-notice.warning { margin-top: 16px; border-left-color: #d29a00; background: var(--yellow-soft); }
.procurement-notice span { color: var(--muted); line-height: 1.5; }
.import-status { padding: 0; display: block; overflow: hidden; }
.import-status > summary { padding: 12px 14px; display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.import-status > summary::-webkit-details-marker { display: none; }
.import-status > summary::after { content: "⌄"; margin-left: auto; color: #8a7100; font-size: 16px; transition: transform .18s ease; }
.import-status[open] > summary { border-bottom: 1px solid rgba(210,154,0,.25); }
.import-status[open] > summary::after { transform: rotate(180deg); }
.import-status > summary strong { color: var(--ink); white-space: nowrap; }
.import-status > summary span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.import-status-details { padding: 0 14px 12px; }
.import-status-details span { display: block; }
.import-status-chevron { display: none; }
.issue-toolbar, .procurement-toolbar { grid-template-columns: minmax(220px, 320px); margin-top: 18px; }
.select-compact { min-width: 165px; padding: 7px 9px; font-size: 12px; }
.text-link { display: block; margin-top: 4px; color: var(--blue-dark); font-size: 11px; font-weight: 750; }
.workflow-list { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--muted); line-height: 1.5; }
.document-grid, .report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.document-card, .report-card { min-height: 98px; padding: 16px; display: flex; align-items: center; gap: 14px; }
.document-card > div, .report-card > div { min-width: 0; flex: 1; }
.document-card h3, .report-card h3 { margin: 0 0 4px; font-size: 15px; }
.document-card p, .report-card p, .document-card small { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.document-icon, .report-card > span { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #20262c; color: white; font-size: 12px; font-weight: 900; }
.material-modal { width: min(1060px, 100%); }
.form-section { margin: 0 0 18px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfd; }
.form-section legend { padding: 0 8px; color: #252d34; font-size: 13px; font-weight: 900; }
.loadout-checklist { display: grid; gap: 9px; }
.loadout-row { display: grid; grid-template-columns: minmax(180px, 1fr) 170px minmax(180px, 1fr); align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: #f6f8fa; }
.digital-confirm { margin-top: 18px; padding: 15px; border: 1px solid #e2ca4c; border-radius: 11px; background: var(--yellow-soft); display: flex; align-items: flex-start; gap: 11px; font-size: 13px; line-height: 1.45; }
.digital-confirm input { width: 20px; height: 20px; flex: none; accent-color: var(--red); }
.control-item > label { display: grid; gap: 4px; }
.control-item > label > span { display: none; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.modal { max-height: calc(100dvh - 40px); }

@media (max-width: 1380px) {
  .app-shell { grid-template-columns: 272px minmax(0, 1fr); }
  .photo-rail { display: none; }
  .global-search { display: none; }
}
@media (max-width: 1080px) {
  .traffic-dashboard-grid { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -290px; width: 272px; transition: left .22s ease; }
  .sidebar.open { left: 0; box-shadow: 20px 0 60px rgba(0,0,0,.32); }
  .mobile-only { display: inline-grid; place-items: center; }
  .topbar { min-height: 82px; padding: 14px 18px; }
  .topbar h1 { font-size: 22px; }
  .top-actions .button-secondary, .role-chip { display: none; }
  .view { padding: 22px 18px 40px; }
  .location-grid, .supplier-grid { grid-template-columns: 1fr; }
  .loadout-row { grid-template-columns: 1fr 1fr; }
  .loadout-row strong { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .traffic-dashboard-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .traffic-card { grid-template-columns: 46px minmax(0, 1fr); gap: 13px; padding: 14px; }
  .traffic-lights { width: 44px; }
  .traffic-light { width: 30px; height: 30px; }
  .traffic-card-title { align-items: flex-start; flex-direction: column; }
  .desktop-material-table { display: none; }
  .material-mobile-list { display: grid; gap: 12px; }
  .packlist-overview-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .packlist-grid { grid-template-columns: 1fr; }
  .packlist-selection { align-items: stretch; flex-direction: column; }
  .quick-actions, .kpi-grid-wide, .document-grid, .report-grid { grid-template-columns: 1fr 1fr; }
  .readiness-banner { align-items: flex-start; flex-direction: column; }
  .control-item { grid-template-columns: 1fr; align-items: stretch; }
  .control-item > div:first-child { grid-column: auto; }
  .control-item > label > span { display: block; }
  .modal-backdrop { padding: 0; }
  .modal, .modal.narrow, .vehicle-modal, .material-modal { width: 100%; max-height: 100dvh; min-height: 100dvh; border-radius: 0; }
  .modal-footer { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) {
  .traffic-card { grid-template-columns: 1fr; }
  .traffic-lights { width: auto; grid-template-columns: repeat(4, 30px); justify-self: start; }
  .traffic-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .traffic-counts > span { padding: 8px; }
  .quick-actions, .kpi-grid-wide, .document-grid, .report-grid { grid-template-columns: 1fr; }
  .quick-action { min-height: 62px; }
  .loadout-row { grid-template-columns: 1fr; }
  .loadout-row strong { grid-column: auto; }
  .procurement-notice { flex-direction: column; }
}
