:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --ink: #18211c;
  --muted: #647168;
  --line: #d9ded8;
  --accent: #b5121b;
  --accent-dark: #820e15;
  --nav: #111714;
  --nav-soft: #1d2822;
  --green: #267251;
  --blue: #315f9d;
  --orange: #a85a19;
  --shadow: 0 18px 44px rgba(24, 33, 28, 0.08);
  --soft-shadow: 0 8px 24px rgba(24, 33, 28, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(246,247,244,0.96) 260px),
    var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.login-view {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.login-card {
  display: grid;
  width: min(430px, 100%);
  gap: 16px;
  padding: 28px;
  border-top: 4px solid var(--accent);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 158px;
  max-width: 48%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 22px rgba(181, 18, 27, 0.24);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: 26px;
}

h2 {
  margin-bottom: 0;
  font-size: 28px;
}

h3 {
  margin-bottom: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  min-height: 40px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 11px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(181, 18, 27, 0.55);
  box-shadow: 0 0 0 3px rgba(181, 18, 27, 0.11);
}

textarea {
  min-height: 110px;
  padding: 10px 11px;
  resize: vertical;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 40px;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 800;
}

.primary-button {
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 10px 20px rgba(181, 18, 27, 0.18);
}

.primary-button:hover {
  background: var(--accent-dark);
}

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
  color: #101827;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.file-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
}

.file-button input {
  display: none;
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
}

.form-error {
  min-height: 18px;
  margin-bottom: 0;
  color: var(--accent);
  font-weight: 700;
}

.hint,
.muted {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.app-shell {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(181, 18, 27, 0.16), rgba(181, 18, 27, 0) 220px),
    linear-gradient(180deg, var(--nav-soft), var(--nav));
  color: #fff;
  box-shadow: inset -1px 0 rgba(255,255,255,0.08);
}

.sidebar .brand-row span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-group {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.nav-group summary {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-group summary::-webkit-details-marker {
  display: none;
}

.nav-group summary::after {
  content: "+";
  color: rgba(255, 255, 255, 0.58);
  font-size: 18px;
  line-height: 1;
}

.nav-group[open] summary::after {
  content: "-";
}

.nav-group .nav-item {
  width: calc(100% - 16px);
  min-height: 38px;
  margin: 0 8px 8px;
  padding-left: 16px;
}

.subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subtab {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  padding: 0 12px;
  font-weight: 800;
}

.subtab.active {
  border-color: var(--accent);
  background: #fff1f2;
  color: var(--accent);
}

.nav-item {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  padding: 0 14px;
  font-weight: 800;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.nav-item.active,
.nav-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.workspace {
  min-width: 0;
  padding: 30px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.login-footer {
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.app-footer {
  margin-top: 22px;
  padding: 18px 0 2px;
  border-top: 1px solid var(--line);
}

.footer-logo {
  display: block;
  width: 54px;
  height: 30px;
  object-fit: contain;
  opacity: 0.82;
}

.topbar,
.section-actions,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.topbar {
  margin-bottom: 24px;
  border: 1px solid rgba(217, 222, 216, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  padding: 18px;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}

.department-selector {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 8px 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.department-selector select {
  min-height: 28px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(17, 24, 39, .55);
  padding: 20px;
}

.modal-card {
  width: min(520px, 100%);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 24, 39, .28);
  padding: 24px;
}

.modal-card.wide-modal {
  width: min(840px, 100%);
}

.modal-card h3 {
  margin-top: 0;
}

.modal-card p {
  color: var(--muted);
  line-height: 1.5;
}

.eyebrow {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: #edf0ed;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.badge.done {
  background: #dff0e8;
  color: var(--green);
}

.badge.pending,
.badge.modtaget {
  background: #f7eadf;
  color: var(--orange);
}

.badge.klar {
  background: #e0e9f6;
  color: var(--blue);
}

.badge.fejlmeldt,
.badge.lukket,
.badge.danger,
.badge.syg {
  background: #f4dddd;
  color: var(--accent-dark);
}

.badge.fejlmeldt,
.text-button.vehicle-fault {
  border-color: #cf2e2e;
  background: #f05b5b;
  color: #111111;
}

.badge.aktiv {
  background: #dff0e8;
  color: var(--green);
}

.view {
  display: none;
  gap: 18px;
}

.view.active {
  display: grid;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.summary-grid article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--soft-shadow);
}

.summary-grid article span,
.summary-grid article small {
  display: block;
  color: var(--muted);
}

.summary-grid article span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-grid article strong {
  display: block;
  color: var(--text);
  font-size: 30px;
  line-height: 1;
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfcfb);
  box-shadow: var(--soft-shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-value {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 800;
}

.panel {
  padding: 20px;
  box-shadow: var(--soft-shadow);
}

.table-panel {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f7f8f5;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

tbody tr:hover td {
  background: #fcf7f7;
}

.route-assignment-panel {
  border-radius: 8px;
  background: #f8faf8;
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow-x: auto;
  border: 1px solid var(--line);
}

.route-planner-shell {
  min-width: 1540px;
}

.route-planner-heading {
  position: sticky;
  left: 0;
  padding: 16px 16px 12px;
  background: #f8faf8;
}

.route-planner-stats {
  display: flex;
  gap: 8px;
}

.route-planner-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.route-assignment-panel table {
  min-width: 1540px;
}

.route-week-table th:first-child,
.route-week-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 132px;
}

.route-week-table th:first-child {
  z-index: 2;
}

.route-week-table td:first-child {
  background: #fff;
}

.route-week-table td {
  min-width: 198px;
  height: 86px;
  padding: 8px;
  vertical-align: top;
}

.route-week-table th {
  height: 58px;
  border-bottom: 1px solid var(--line);
  background: #eef2ef;
  color: var(--ink);
}

.route-day-name,
.route-day-date {
  display: block;
}

.route-day-name {
  font-size: 12px;
  font-weight: 900;
}

.route-day-date {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

.route-id-cell strong,
.route-id-cell span {
  display: block;
}

.route-id-cell strong {
  font-size: 20px;
}

.route-id-cell span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.route-week-table .route-today-head {
  position: relative;
  border-top: 5px solid #050505;
  background: #050505;
  color: #fff;
}

.route-week-table .route-today-head span {
  color: rgba(255, 255, 255, .82);
}

.route-week-table .route-today-cell {
  border-left: 3px solid #050505;
  border-right: 3px solid #050505;
  box-shadow: inset 0 5px 0 #050505;
}

.route-week-table .route-default-cell {
  background: #eef8f3;
}

.route-week-table .route-assigned-cell {
  background: #eef4ff;
}

.route-week-table .route-open-cell {
  background: #fff;
}

.route-cell-card {
  display: grid;
  gap: 7px;
}

.route-table select {
  min-width: 0;
  min-height: 34px;
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.route-cell-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.calendar-cell {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  padding: 10px;
}

.calendar-cell.has-absence {
  border-color: rgba(181, 18, 27, 0.24);
  background: #fffafa;
}

.calendar-cell.muted-cell {
  background: transparent;
  box-shadow: none;
}

.calendar-date {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.calendar-date strong {
  font-size: 22px;
}

.calendar-date span,
.calendar-names {
  color: var(--muted);
  font-size: 12px;
}

.calendar-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.calendar-names {
  display: grid;
  gap: 4px;
}

.stack {
  display: grid;
  gap: 10px;
}

.fold-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.fold-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  background: #fbfcfb;
}

.fold-panel > summary::-webkit-details-marker {
  display: none;
}

.fold-panel > summary span {
  display: grid;
  gap: 3px;
}

.fold-panel > summary small {
  color: var(--muted);
}

.fold-panel[open] > summary {
  border-bottom: 1px solid var(--line);
}

.fold-panel > table,
.fold-panel > .detail-grid,
.fold-panel > p {
  margin: 14px 16px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.detail-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfb;
}

.detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.subcontractor-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.subcontractor-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.subcontractor-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.subcontractor-list-item:hover,
.subcontractor-list-item.active {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.subcontractor-list-item span {
  display: grid;
  gap: 3px;
}

.subcontractor-list-item small {
  color: var(--muted);
}

.subcontractor-list-item b {
  display: inline-grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #f3f4f6;
}

.subcontractor-profile-card {
  display: grid;
  gap: 14px;
}

.stack-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.stack-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfb;
}

.handbook-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.summary-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 14px;
}

.summary-box h4 {
  margin: 0 0 10px;
}

.summary-box ol {
  margin: 0;
  padding-left: 20px;
}

.summary-box li {
  margin: 6px 0;
}

.compact-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.checkbox-label {
  align-content: end;
  grid-template-columns: auto 1fr;
  min-height: 40px;
}

.checkbox-label input {
  width: auto;
  min-height: auto;
}

.weekday-fieldset {
  display: flex;
  flex-wrap: wrap;
  align-content: end;
  gap: 8px;
  min-height: 40px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}

.weekday-fieldset legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.weekday-fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.weekday-fieldset input {
  width: auto;
  min-height: auto;
}

.compact-form button {
  align-self: end;
}

.wide-field {
  grid-column: span 2;
}

.compact-form .project-wide-field {
  grid-column: 1 / -1;
}

.project-checklist-field {
  gap: 8px;
}

.project-checklist-toolbar {
  flex-wrap: wrap;
  margin-top: 2px;
}

.project-checklist-toolbar .text-button {
  align-self: flex-start;
}

.case-longtext {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
  white-space: pre-wrap;
}

.notice-panel {
  display: grid;
  gap: 4px;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  background: #eef2ff;
  color: #1e1b4b;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.followup-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.followup-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.map-preview-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(240px, 0.8fr);
  gap: 14px;
}

.map-preview-grid iframe {
  width: 100%;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 14px;
}

.contract-builder {
  display: grid;
  gap: 16px;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(17, 23, 20, 0.56);
  padding: 24px;
}

.modal-box {
  width: min(1060px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.28);
}

.employee-modal-box {
  width: min(1280px, 100%);
  padding: 18px;
}

.employee-dialog-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 0;
  box-shadow: none;
}

.employee-dialog-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.employee-dialog-heading h3 {
  margin: 4px 0 4px;
  font-size: 32px;
  line-height: 1.05;
}

.employee-dialog-heading .eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hr-editor-modal {
  width: min(1500px, 100%);
  padding: 16px;
}

.word-editor-shell {
  display: grid;
  grid-template-columns: minmax(460px, 1.1fr) minmax(360px, .9fr);
  gap: 16px;
  align-items: start;
}

.word-preview-panel {
  min-height: 720px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2f0;
  padding: 12px;
}

.word-document-preview {
  height: 650px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #dfe6e2;
  padding: 18px;
}

.word-pdf-frame {
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
  border-radius: 6px;
  background: #fff;
}

.word-page {
  width: min(720px, 100%);
  min-height: 920px;
  margin: 0 auto;
  border: 1px solid #d5dcd8;
  background: #fff;
  box-shadow: 0 18px 38px rgba(17, 23, 20, .12);
  padding: 48px 56px;
  color: #111827;
}

.word-page-meta {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  padding-bottom: 12px;
}

.word-page-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.word-page p {
  margin: 0 0 10px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.empty-preview {
  display: grid;
  min-height: 420px;
  align-content: center;
  justify-items: start;
  gap: 10px;
}

.editor-form {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.editor-form .wide-field {
  grid-column: 1 / -1;
}

.document-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 12px;
}

.document-status-column {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 10px;
  overflow-x: auto;
}

.document-status-column h5 {
  margin: 0;
  font-size: 14px;
}

.modal-box .contract-builder {
  border: 0;
  box-shadow: none;
}

.modal-close {
  margin-left: auto;
}

.wizard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.wizard-tab {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  padding: 0 12px;
  font-weight: 800;
}

.wizard-tab.active {
  border-color: var(--accent);
  background: #fff1f2;
  color: var(--accent);
}

.wizard-panel {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wizard-panel.active {
  display: grid;
}

.field-error {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(181, 18, 27, 0.12) !important;
}

.contract-preview {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 14px;
}

.contract-preview h4 {
  margin: 0 0 12px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px 12px;
}

.preview-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.action-row {
  display: flex;
  gap: 8px;
}

.fleet-parts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 320px;
}

.fleet-part {
  display: inline-grid;
  gap: 4px;
  max-width: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 6px;
}

.fleet-part small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.text-button.subtle {
  min-height: 28px;
  color: var(--muted);
  font-size: 12px;
}

.text-button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
}

.text-button.danger-text {
  border-color: #fecaca;
  color: #b42318;
}

.text-button.danger-text:hover {
  background: #fff1f1;
}

.text-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.stacked-links {
  display: grid;
  gap: 4px;
}

.payroll-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.payroll-summary article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 12px;
}

.payroll-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.payroll-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.explanation-list {
  margin-top: 0;
  padding-left: 22px;
}

.explanation-list li {
  margin: 8px 0;
}

.employee-dashboard {
  display: grid;
  gap: 16px;
}

.dashboard-band {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) 1.2fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 14px;
}

.dashboard-band h3,
.dashboard-card h4 {
  margin: 4px 0 6px;
}

.payroll-summary.compact {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 0;
}

.district-control {
  margin: 14px 0;
}

.district-control-compact {
  padding: 10px;
}

.district-control-compact .panel-heading {
  margin-bottom: 0;
}

.district-control-compact .panel-heading p {
  font-size: 12px;
  margin-top: 2px;
}

.district-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.district-metric-grid article {
  display: grid;
  gap: 6px;
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 12px;
}

.district-metric-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.district-metric-grid strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.district-metric-grid small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.district-metric-grid-compact {
  gap: 8px;
  margin-top: 8px;
}

.district-metric-grid-compact article {
  gap: 4px;
  min-height: 74px;
  padding: 8px 10px;
}

.district-metric-grid-compact span {
  font-size: 11px;
}

.district-metric-grid-compact strong {
  font-size: 17px;
}

.district-metric-grid-compact small {
  font-size: 11px;
  line-height: 1.25;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr 1fr;
  gap: 14px;
  align-items: start;
}

.dashboard-grid.kpi-grid-expanded {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.dashboard-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  overflow-x: auto;
}

.dashboard-card.full {
  width: 100%;
}

.message-list {
  display: grid;
  gap: 10px;
}

.inbox-collapse {
  padding: 0;
  overflow: hidden;
}

.inbox-collapse > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  list-style: none;
  cursor: pointer;
  font-weight: 900;
}

.inbox-collapse > summary::-webkit-details-marker {
  display: none;
}

.inbox-collapse > summary::before {
  content: "+";
  display: inline-grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfcfb;
}

.inbox-collapse[open] > summary::before {
  content: "-";
  background: #111827;
  color: #fff;
}

.inbox-collapse > summary span {
  margin-right: auto;
}

.inbox-collapse > summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.inbox-collapse .message-list {
  border-top: 1px solid var(--line);
  padding: 12px 14px 14px;
}

.message-list.compact .message-item {
  padding: 10px;
}

.message-list.compact .message-item p {
  max-height: 84px;
  overflow: auto;
}

.message-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.message-item.unread {
  border-color: #111827;
  box-shadow: inset 4px 0 0 #111827;
}

.message-item p {
  margin: 6px 0;
  color: var(--text);
}

.message-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.kpi-line-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.kpi-line-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 12px;
}

.kpi-line-card strong {
  display: block;
  margin-bottom: 8px;
}

.kpi-line-card svg {
  width: 100%;
  height: 120px;
  border-bottom: 1px solid var(--line);
}

.kpi-line-card polyline {
  fill: none;
  stroke: #111827;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.kpi-line-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 8px;
}

.permission-option {
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 10px;
}

.permission-option span {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.document-library {
  display: grid;
  gap: 10px;
}

.document-folder {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.document-folder summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.document-folder summary::-webkit-details-marker {
  display: none;
}

.document-folder summary::before {
  content: "+";
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-right: 4px;
  color: var(--accent);
  font-weight: 900;
}

.document-folder[open] summary::before {
  content: "-";
}

.document-folder summary span {
  flex: 1;
}

.document-folder summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.document-folder table {
  border-top: 1px solid var(--line);
}

.personnel-folder-grid {
  display: grid;
  gap: 14px;
  padding: 12px;
  background: #f8faf8;
}

.mini-archive-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.mini-archive-card h5 {
  margin: 0 0 10px;
  font-size: 14px;
}

.panel-heading.tight {
  margin-bottom: 10px;
}

.volume-chart {
  display: grid;
  gap: 8px;
}

.volume-line-chart {
  display: grid;
  gap: 8px;
}

.line-chart {
  width: 100%;
  min-height: 190px;
}

.line-chart .axis {
  stroke: #cfd8d3;
  stroke-width: 1;
}

.line-chart .actual-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-chart .budget-line {
  stroke: var(--orange);
  stroke-width: 2;
  stroke-dasharray: 6 6;
}

.line-chart circle {
  fill: #fff;
  stroke: var(--green);
  stroke-width: 3;
}

.chart-labels text {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.actual-dot,
.budget-dot {
  width: 16px;
  height: 4px;
  border-radius: 999px;
  display: inline-block;
}

.actual-dot {
  background: var(--green);
}

.budget-dot {
  background: var(--orange);
}

.finance-budget-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.finance-budget-hero article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.finance-budget-hero .finance-budget-primary {
  background: #101827;
  border-color: #101827;
  color: #fff;
}

.finance-budget-hero span,
.finance-budget-hero small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.finance-budget-hero .finance-budget-primary span,
.finance-budget-hero .finance-budget-primary small {
  color: rgba(255, 255, 255, .72);
}

.finance-budget-hero strong {
  display: block;
  margin: 8px 0 5px;
  color: #101827;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.finance-budget-hero .finance-budget-primary strong {
  color: #fff;
}

.positive-number {
  color: #166534 !important;
}

.negative-number {
  color: #991b1b !important;
}

.finance-budget-layout {
  grid-template-columns: minmax(0, 2fr) minmax(280px, .8fr);
}

.finance-budget-chart-card {
  min-height: 360px;
}

.finance-budget-chart-wrap {
  display: grid;
  gap: 12px;
}

.finance-budget-chart {
  width: 100%;
  min-height: 260px;
}

.finance-budget-chart .axis {
  stroke: #d9e1dc;
  stroke-width: 1;
}

.finance-budget-chart .zero-line {
  stroke: #aab4ae;
  stroke-width: 1;
  stroke-dasharray: 5 5;
}

.finance-budget-chart .budget-line-solid,
.finance-budget-chart .actual-line-solid {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.finance-budget-chart .budget-line-solid {
  stroke: var(--orange);
}

.finance-budget-chart .actual-line-solid {
  stroke: var(--green);
}

.finance-budget-chart circle {
  fill: #fff;
  stroke-width: 3;
}

.finance-budget-chart .budget-point {
  stroke: var(--orange);
}

.finance-budget-chart .actual-point {
  stroke: var(--green);
}

.finance-budget-chart .value-label {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.finance-budget-assumptions {
  display: grid;
  gap: 12px;
}

.finance-budget-assumptions .notice-panel {
  margin: 0;
}

.finance-budget-settings-form {
  grid-template-columns: 1fr;
  margin: 0;
}

#financeBudgetsPanel > .panel-heading {
  align-items: flex-start;
  gap: 16px;
}

#financeBudgetsPanel > .panel-heading .action-row {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 640px;
}

#financeBudgetsPanel > .panel-heading .secondary-button,
#financeBudgetsPanel > .panel-heading .file-button {
  min-width: 142px;
  text-align: center;
}

.volume-row {
  display: grid;
  grid-template-columns: 48px 1fr 58px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}

.volume-bars {
  position: relative;
  min-height: 18px;
  border-radius: 999px;
  background: #eef2f0;
  overflow: hidden;
}

.volume-bars .bar {
  position: absolute;
  left: 0;
  height: 50%;
  border-radius: 999px;
}

.volume-bars .actual {
  top: 0;
  background: var(--green);
}

.volume-bars .budget {
  bottom: 0;
  background: var(--orange);
  opacity: .55;
}

.forecast-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
  align-items: center;
}

.forecast-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.forecast-grid strong,
.complaint-summary strong {
  font-size: 24px;
}

.forecast-chart-wrap {
  display: grid;
  gap: 10px;
  overflow-x: auto;
}

.forecast-line-chart {
  min-width: 820px;
  width: 100%;
  height: auto;
}

.forecast-line-chart .axis {
  stroke: rgba(16, 24, 40, 0.24);
  stroke-width: 1;
}

.forecast-line-chart text {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.forecast-total-line {
  stroke: #111827;
}

.forecast-news-line {
  stroke: #2563eb;
}

.forecast-package-line {
  stroke: #059669;
}

.forecast-external-line {
  stroke: #d97706;
}

.legend-line {
  display: inline-block;
  width: 26px;
  height: 4px;
  border-radius: 99px;
  vertical-align: middle;
}

.legend-line.total {
  background: #111827;
}

.legend-line.news {
  background: #2563eb;
}

.legend-line.packages {
  background: #059669;
}

.legend-line.external {
  background: #d97706;
}

.counting-bundle-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 22px;
}

.counting-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 14px;
}

.counting-cover-sheet {
  max-width: 720px;
  margin: 10px 0 14px;
  border: 1px solid #111;
  background: #fff;
  color: #000;
  padding: 0;
}

.counting-cover {
  border-left: 4px solid var(--accent);
}

.counting-cover-meta {
  padding: 10px 12px 6px;
}

.counting-cover-meta h3 {
  margin: 0;
  color: #000;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.counting-cover-meta p {
  margin: 2px 0 0;
  color: #000;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
}

.counting-summary-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  margin: 0;
  color: #000;
}

.counting-summary-table td {
  border-top: 1px solid #111;
  border-right: 1px solid #111;
  padding: 1px 5px;
  color: #000;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.counting-summary-table td:last-child {
  width: 76px;
  border-right: 0;
  text-align: left;
}

.counting-summary-table tr:nth-child(even) {
  background: #e5e5e5;
}

.counting-card-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.button-row,
.counting-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.counting-card-actions {
  max-width: 280px;
}

.mini-note {
  font-size: 12px;
  font-weight: 800;
}

.counting-card-head strong,
.counting-card-head span {
  display: block;
}

.counting-card-head span {
  color: var(--muted);
  font-size: 13px;
}

.bundle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.counting-bundle-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.counting-bundle-board.saving::after,
.counting-bundle-board.saved::after {
  position: absolute;
  right: 10px;
  top: -30px;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.counting-bundle-board.saving::after {
  content: "Gemmer...";
  background: #fff7d6;
  color: #7a4a00;
}

.counting-bundle-board.saved::after {
  content: "Gemt";
  background: #e7f3ed;
  color: #267251;
}

.counting-dropzone {
  min-height: 132px;
  border: 1px dashed #b8c3ce;
  border-radius: 8px;
  background: #f8fafc;
  padding: 9px;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.counting-dropzone.drag-over {
  border-color: var(--accent);
  background: #fff8e7;
  box-shadow: inset 0 0 0 2px rgba(215, 151, 45, .18);
}

.counting-dropzone-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.counting-dropzone-head strong {
  font-size: 13px;
}

.counting-dropzone-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.counting-route-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: flex-start;
}

.counting-route-chip {
  min-height: 34px;
  border: 1px solid rgba(49, 95, 157, .28);
  border-radius: 8px;
  background: #fff;
  color: #20314a;
  padding: 0 10px;
  font-weight: 900;
  cursor: grab;
  box-shadow: 0 2px 5px rgba(15, 23, 42, .06);
}

.counting-route-chip:active {
  cursor: grabbing;
}

.counting-route-chip.dragging {
  opacity: .45;
}

.counting-empty-drop {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .counting-bundle-board {
    grid-template-columns: 1fr;
  }
}

.bundle-pill {
  display: grid;
  min-width: 150px;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 9px 11px;
}

.bundle-pill.known {
  border-color: rgba(38, 114, 81, .35);
  background: #e7f3ed;
}

.bundle-pill.manual-split {
  border-color: rgba(49, 95, 157, .38);
  background: #edf4ff;
}

.split-bundle-button {
  justify-self: start;
  margin-top: 4px;
  padding: 0;
}

.bundle-pill strong {
  font-size: 14px;
}

.bundle-pill span {
  color: var(--muted);
  font-size: 12px;
}

.liga-list {
  display: grid;
  gap: 12px;
  margin: 12px 0 20px;
}

.liga-tour {
  border-top: 1px solid var(--line);
  padding: 14px;
}

.liga-tour-head,
.liga-delivery {
  display: grid;
  gap: 8px;
}

.liga-tour-head {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 10px;
}

.liga-tour-head span,
.liga-delivery span {
  color: var(--muted);
  font-size: 13px;
}

.liga-delivery {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  margin-top: 8px;
}

.liga-delivery .bundle-pill {
  min-width: 130px;
}

.liga-delivery .bundle-pill span {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.complaint-summary {
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
}

.complaint-summary span {
  color: var(--muted);
}

.step-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 11px;
  background: #f7eadf;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.step-pill.done {
  background: #dff0e8;
  color: var(--green);
}

.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.mini-form {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 14px;
}

.mini-form h4 {
  margin: 0;
}

.fleet-collapse {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  overflow: hidden;
}

.fleet-collapse summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.fleet-collapse summary::-webkit-details-marker {
  display: none;
}

.fleet-collapse summary::after {
  content: "+";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-weight: 900;
}

.fleet-collapse[open] summary::after {
  content: "-";
}

.fleet-collapse summary span {
  margin-left: auto;
  margin-right: 10px;
  color: var(--muted);
  font-size: 13px;
}

.fleet-collapse table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.service-alert-yellow {
  background: #fff7d1;
}

.service-alert-red {
  background: #ffe0e0;
}

.sickness-followup-alert {
  border-color: rgba(159, 29, 29, 0.28) !important;
  background: #ffe0e0 !important;
  box-shadow: 0 0 0 3px rgba(159, 29, 29, 0.07), var(--soft-shadow);
}

.dashboard-card.sickness-followup-alert {
  animation: sickness-card-pulse 1.4s ease-in-out infinite;
}

.sickness-followup-alert h4 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9f1d1d;
}

.service-warning {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 900;
}

.service-warning.caution {
  color: #8a5a00;
}

.service-warning.danger {
  color: #9f1d1d;
}

.warning-triangle {
  position: relative;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 17px solid #ffd32a;
  animation: warning-blink 1s steps(2, start) infinite;
}

.warning-triangle::after {
  content: "!";
  position: absolute;
  left: -3px;
  top: 4px;
  color: #111;
  font-size: 11px;
  line-height: 1;
  font-weight: 1000;
}

@keyframes warning-blink {
  50% {
    opacity: .25;
  }
}

@keyframes sickness-card-pulse {
  50% {
    box-shadow: 0 0 0 4px rgba(159, 29, 29, 0.14), var(--soft-shadow);
  }
}

/* Premium operations skin - phase 1 */
:root {
  --bg: #f3f6f8;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #0f1720;
  --muted: #64707d;
  --line: #dfe5eb;
  --accent: #c59a42;
  --accent-dark: #8d6625;
  --nav: #07111c;
  --nav-soft: #0d1b2a;
  --nav-card: rgba(255, 255, 255, 0.062);
  --green: #248255;
  --blue: #235e9f;
  --orange: #b66f1d;
  --red: #b4232c;
  --shadow: 0 24px 70px rgba(15, 23, 32, 0.11);
  --soft-shadow: 0 12px 34px rgba(15, 23, 32, 0.075);
}

body {
  background:
    radial-gradient(circle at top left, rgba(197, 154, 66, 0.12), transparent 330px),
    linear-gradient(180deg, #f8fafc 0, #eef3f7 44%, #f6f7f9 100%);
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

.app-shell {
  grid-template-columns: 292px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  gap: 18px;
  padding: 24px 20px;
  background:
    linear-gradient(180deg, rgba(197, 154, 66, 0.18), rgba(197, 154, 66, 0) 255px),
    linear-gradient(180deg, #0e1f31 0%, #07111c 72%);
  box-shadow: inset -1px 0 rgba(255, 255, 255, 0.07), 18px 0 48px rgba(7, 17, 28, 0.12);
}

.sidebar .brand-row {
  min-height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  padding: 12px;
}

.sidebar-brand-logo {
  width: 132px;
  max-width: 52%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.brand-mark {
  border: 1px solid rgba(197, 154, 66, 0.68);
  background: linear-gradient(145deg, #172639, #081320);
  color: #f0c772;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.nav-list {
  gap: 7px;
  overflow-y: auto;
  padding-right: 2px;
}

.nav-group {
  border-color: rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  background: var(--nav-card);
  overflow: visible;
}

.nav-group summary {
  min-height: 38px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0.075em;
  border-radius: 8px;
}

.nav-group[open] {
  padding-bottom: 8px;
}

.nav-group[open] summary {
  margin-bottom: 4px;
  background: linear-gradient(135deg, rgba(197, 154, 66, 0.12), rgba(255, 255, 255, 0.045));
  color: #fff;
}

.nav-group summary::after {
  content: "▾";
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(197, 154, 66, 0.95);
  font-size: 13px;
  transition: transform .16s ease;
}

.nav-group[open] summary::after {
  content: "▾";
  transform: rotate(180deg);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(244, 247, 250, 0.74);
  padding: 0 12px;
}

.nav-group .nav-item {
  width: auto;
  margin: 0 8px 6px;
  padding-left: 10px;
}

.nav-item::before {
  content: "•";
  display: inline-grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(197, 154, 66, 0.95);
  font-size: 16px;
  font-weight: 900;
}

.nav-item[data-view="dashboard"]::before { content: "⌂"; }
.nav-item[data-view="employeeDashboard"]::before { content: "◉"; }
.nav-item[data-view="routes"]::before,
.nav-item[data-view="districts"]::before,
.nav-item[data-view="districtDao"]::before { content: "◇"; }
.nav-item[data-view="counting"]::before { content: "∑"; }
.nav-item[data-view="print"]::before { content: "▣"; }
.nav-item[data-view="dailyHr"]::before,
.nav-item[data-view="hr"]::before { content: "✦"; }
.nav-item[data-view="resources"]::before { content: "◌"; }
.nav-item[data-view="forecast"]::before { content: "⌁"; }
.nav-item[data-view="calendar"]::before { content: "□"; }
.nav-item[data-view="employees"]::before,
.nav-item[data-view="users"]::before { content: "♙"; }
.nav-item[data-view="imports"]::before { content: "⇣"; }
.nav-item[data-view="kpi"]::before { content: "↗"; }
.nav-item[data-view="finance"]::before,
.nav-item[data-view="financeCostModel"]::before,
.nav-item[data-view="financeCmMotor"]::before,
.nav-item[data-view="financeBudgets"]::before,
.nav-item[data-view="financeInvestments"]::before,
.nav-item[data-view="financeInvoices"]::before { content: "◆"; }
.nav-item[data-view="fleet"]::before { content: "◈"; }
.nav-item[data-view="material"]::before { content: "◫"; }
.nav-item[data-view="workshop"]::before,
.nav-item[data-view="spareParts"]::before { content: "⚙"; }
.nav-item[data-view="licenseIntegrations"]::before { content: "⚿"; }
.nav-item[data-view="systemAdmin"]::before { content: "⌬"; }

.nav-item.active,
.nav-item:hover {
  border-color: rgba(197, 154, 66, 0.28);
  background: linear-gradient(135deg, rgba(197, 154, 66, 0.22), rgba(255, 255, 255, 0.075));
  color: #fff;
}

.nav-item.active::before,
.nav-item:hover::before {
  background: #c59a42;
  color: #07111c;
}

.workspace {
  padding: 28px 32px 18px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 82px;
  border: 1px solid rgba(223, 229, 235, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(15, 23, 32, 0.085);
  backdrop-filter: blur(16px);
}

.topbar h2 {
  letter-spacing: 0;
}

.eyebrow {
  color: var(--accent-dark);
  letter-spacing: 0.08em;
}

.department-selector,
.status-pill,
.badge {
  border: 1px solid rgba(223, 229, 235, 0.9);
  background: #f8fafc;
  color: #475569;
}

.primary-button {
  background: linear-gradient(135deg, #c9a24e, #8d6625);
  box-shadow: 0 12px 26px rgba(141, 102, 37, 0.22);
}

.primary-button,
.secondary-button,
.ghost-button,
.file-button,
.text-button {
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}

.primary-button:hover,
.secondary-button:hover,
.file-button:hover,
.text-button:hover {
  transform: translateY(-1px);
}

.secondary-button:hover,
.file-button:hover {
  border-color: rgba(197, 154, 66, .42);
  box-shadow: 0 10px 24px rgba(15, 23, 32, .07);
}

.sidebar .ghost-button {
  width: 100%;
  margin-top: auto;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .78);
}

.small-button {
  display: inline-flex;
  min-height: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  line-height: 1.1;
  white-space: nowrap;
}

.sidebar .ghost-button:hover {
  border-color: rgba(197, 154, 66, .44);
  background: rgba(197, 154, 66, .14);
  color: #fff;
}

.secondary-button,
.file-button,
.subtab {
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 32, 0.045);
}

input,
select,
textarea {
  border-color: #dce4eb;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(197, 154, 66, 0.7);
  box-shadow: 0 0 0 3px rgba(197, 154, 66, 0.16);
}

.panel,
.dashboard-card,
.metric-card,
.payroll-summary article,
.dashboard-band,
.route-assignment-panel,
.modal-card {
  border-color: rgba(223, 229, 235, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
}

.dashboard-card,
.panel {
  padding: 18px;
}

.dashboard-card:hover,
.metric-card:hover,
.payroll-summary article:hover {
  box-shadow: 0 18px 46px rgba(15, 23, 32, 0.105);
}

.metric-card {
  min-height: 128px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    #fff;
}

.metric-card::before {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #c59a42, #235e9f);
}

.metric-card[data-metric-key="Aktive medarbejdere"]::before {
  background: linear-gradient(90deg, #248255, #73b991);
}

.metric-card[data-metric-key="Ture"]::before {
  background: linear-gradient(90deg, #235e9f, #78a9d8);
}

.metric-card[data-metric-key="Bemandede ture"]::before {
  background: linear-gradient(90deg, #c59a42, #f0c772);
}

.metric-card[data-metric-key="Afventende importjobs"]::before {
  background: linear-gradient(90deg, #b4232c, #ea7a82);
}

.metric-label,
.payroll-summary span,
.district-metric-grid span {
  letter-spacing: 0.055em;
}

.metric-value,
.payroll-summary strong,
.district-metric-grid strong {
  color: #0b1220;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

th {
  border-bottom: 1px solid #d8e0e8;
  background: #f3f6f9;
  color: #53606d;
  letter-spacing: 0.04em;
}

td {
  background: rgba(255, 255, 255, 0.8);
}

tbody tr:hover td {
  background: #f8fafc;
}

.badge.done,
.badge.aktiv {
  border-color: rgba(36, 130, 85, 0.18);
  background: #e7f5ee;
  color: #16633f;
}

.badge.pending,
.badge.modtaget {
  border-color: rgba(182, 111, 29, 0.20);
  background: #fff3df;
  color: #8a520f;
}

.badge.klar {
  border-color: rgba(35, 94, 159, 0.20);
  background: #e6f0fb;
  color: #1e4f87;
}

.badge.fejlmeldt,
.badge.lukket,
.badge.danger,
.badge.syg {
  border-color: rgba(180, 35, 44, 0.22);
  background: #fde8ea;
  color: #9f1d27;
}

.badge.fejlmeldt,
.text-button.vehicle-fault {
  border-color: #cf2e2e;
  background: #f05b5b;
  color: #111111;
}

.text-button.vehicle-fault:hover {
  background: #e94b4b;
  color: #111111;
}

.product-footer {
  opacity: 0.88;
}

.ops-command {
  display: grid;
}

.ops-hero {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(240px, 340px) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(223, 229, 235, 0.96);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.92)),
    radial-gradient(circle at 86% 14%, rgba(197, 154, 66, 0.18), transparent 260px);
  box-shadow: var(--soft-shadow);
  padding: 20px;
}

.ops-hero h3 {
  margin: 0 0 6px;
  font-size: 25px;
  letter-spacing: 0;
}

.ops-hero-meter {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(223, 229, 235, 0.92);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.ops-hero-meter span,
.ops-hero-meter small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ops-hero-meter strong {
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}

.ops-hero-meter::after {
  content: "";
  display: block;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #248255 var(--coverage), #e5ebf1 var(--coverage));
}

.ops-hero-status {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.resource-dashboard-view,
.forecast-dashboard-view {
  display: grid;
  gap: 16px;
}

.module-hero {
  border: 1px solid rgba(223, 229, 235, 0.96);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.92)),
    radial-gradient(circle at 90% 12%, rgba(35, 94, 159, 0.11), transparent 280px);
  box-shadow: var(--soft-shadow);
  padding: 18px;
}

.forecast-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.92)),
    radial-gradient(circle at 90% 12%, rgba(197, 154, 66, 0.17), transparent 280px);
}

.resource-metric-strip article,
.forecast-metric-strip article {
  position: relative;
  overflow: hidden;
}

.resource-metric-strip article::after,
.forecast-metric-strip article::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px 12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(197, 154, 66, .9), rgba(35, 94, 159, .78));
}

.resource-coverage-card,
.forecast-chart-card,
.forecast-table-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .96)),
    #fff;
}

.resource-plan-card {
  display: grid;
  gap: 6px;
}

.resource-plan-card::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #248255 var(--coverage), #e5ebf1 var(--coverage));
}

.coverage-pill {
  display: grid;
  min-width: 86px;
  gap: 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.coverage-pill::after {
  content: "";
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, currentColor var(--coverage), #e5ebf1 var(--coverage));
}

.coverage-pill.good {
  color: #248255;
}

.coverage-pill.watch {
  color: #b66f1d;
}

.coverage-pill.risk {
  color: #b4232c;
}

.forecast-chart-wrap {
  border: 1px solid rgba(223, 229, 235, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(248, 250, 252, .98)),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(15, 23, 32, .035) 40px);
  padding: 14px;
}

.forecast-line-chart {
  filter: drop-shadow(0 8px 14px rgba(15, 23, 32, .08));
}

.forecast-total-line {
  stroke: #07111c;
  stroke-width: 4;
}

.forecast-news-line {
  stroke: #235e9f;
}

.forecast-package-line {
  stroke: #248255;
}

.forecast-external-line {
  stroke: #c59a42;
}

.legend-line.total {
  background: #07111c;
}

.legend-line.news {
  background: #235e9f;
}

.legend-line.packages {
  background: #248255;
}

.legend-line.external {
  background: #c59a42;
}

.stack-item {
  position: relative;
  border-color: rgba(223, 229, 235, 0.95);
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 32, 0.045);
  padding-left: 16px;
}

.stack-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: #c59a42;
}

.nav-group summary::after {
  content: "v";
}

.nav-group[open] summary::after {
  content: "v";
}

.nav-item::before {
  content: "*";
}

.nav-item[data-view="dashboard"]::before { content: "D"; }
.nav-item[data-view="employeeDashboard"]::before { content: "M"; }
.nav-item[data-view="routes"]::before,
.nav-item[data-view="districts"]::before,
.nav-item[data-view="districtDao"]::before { content: "R"; }
.nav-item[data-view="counting"]::before { content: "A"; }
.nav-item[data-view="print"]::before { content: "P"; }
.nav-item[data-view="dailyHr"]::before,
.nav-item[data-view="hr"]::before { content: "H"; }
.nav-item[data-view="resources"]::before { content: "C"; }
.nav-item[data-view="forecast"]::before { content: "F"; }
.nav-item[data-view="calendar"]::before { content: "K"; }
.nav-item[data-view="employees"]::before,
.nav-item[data-view="users"]::before { content: "U"; }
.nav-item[data-view="imports"]::before { content: "I"; }
.nav-item[data-view="kpi"]::before { content: "Q"; }
.nav-item[data-view="finance"]::before,
.nav-item[data-view="financeCostModel"]::before,
.nav-item[data-view="financeCmMotor"]::before,
.nav-item[data-view="financeBudgets"]::before,
.nav-item[data-view="financeInvestments"]::before,
.nav-item[data-view="financeInvoices"]::before { content: "F"; }
.nav-item[data-view="fleet"]::before { content: "V"; }
.nav-item[data-view="material"]::before { content: "M"; }
.nav-item[data-view="workshop"]::before,
.nav-item[data-view="spareParts"]::before { content: "W"; }
.nav-item[data-view="licenseIntegrations"]::before { content: "L"; }
.nav-item[data-view="systemAdmin"]::before { content: "S"; }

.nav-item::before {
  content: "";
  border-radius: 0;
  background: rgba(197, 154, 66, 0.96);
  -webkit-mask: var(--nav-icon) center / 19px 19px no-repeat;
  mask: var(--nav-icon) center / 19px 19px no-repeat;
}

.nav-item.active::before,
.nav-item:hover::before {
  background: #07111c;
}

.nav-item {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='black'/%3E%3C/svg%3E");
}

.nav-item[data-view="dashboard"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.nav-item[data-view="employeeDashboard"],
.nav-item[data-view="employees"],
.nav-item[data-view="users"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2M12 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="routes"],
.nav-item[data-view="districts"],
.nav-item[data-view="districtDao"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s6-5.2 6-11a6 6 0 0 0-12 0c0 5.8 6 11 6 11z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2' fill='black'/%3E%3C/svg%3E"); }
.nav-item[data-view="counting"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h12M8 12h12M8 18h12M4 6h.01M4 12h.01M4 18h.01' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="print"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 8V3h10v5M7 17H5a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-2M7 14h10v7H7z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="dayReport"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3h8l3 3v15H5V3zM16 3v4h3M8 11h8M8 15h8M8 19h5' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="dailyHr"],
.nav-item[data-view="hr"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="resources"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 19V9M10 19V5M16 19v-7M22 19H2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="forecast"],
.nav-item[data-view="kpi"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17l6-6 4 4 7-9M14 6h6v6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="calendar"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='17' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 2v4M16 2v4M3 10h18' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="imports"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M4 21h16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="cases"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10M7 4h10a2 2 0 0 1 2 2v14H5V6a2 2 0 0 1 2-2z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="payroll"],
.nav-item[data-view="finance"],
.nav-item[data-view="financeCostModel"],
.nav-item[data-view="financeCmMotor"],
.nav-item[data-view="financeBudgets"],
.nav-item[data-view="financeInvestments"],
.nav-item[data-view="financeInvoices"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='6' rx='8' ry='3' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M4 6v6c0 1.7 3.6 3 8 3s8-1.3 8-3V6M4 12v6c0 1.7 3.6 3 8 3s8-1.3 8-3v-6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.nav-item[data-view="contracts"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h9l5 5v15H6zM14 2v6h6M9 13h6M9 17h6' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="fleet"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='7' cy='18' r='2' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='18' cy='18' r='2' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.nav-item[data-view="material"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 8l-9-5-9 5 9 5 9-5zM3 8v8l9 5 9-5V8M12 13v8' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="workshop"],
.nav-item[data-view="spareParts"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5 5L3 18l3 3 6.7-6.7a4 4 0 0 0 5-5l-3 3-3-3 3-3z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="licenseIntegrations"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 7a4 4 0 1 1-2.8-3.8M10 10L3 17v4h4l7-7M14 6h7M18 3v6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.nav-item[data-view="systemAdmin"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8zM4 12H2M22 12h-2M12 4V2M12 22v-2M5.6 5.6L4.2 4.2M19.8 19.8l-1.4-1.4M18.4 5.6l1.4-1.4M4.2 19.8l1.4-1.4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

.route-assignment-panel {
  border-color: rgba(223, 229, 235, .95);
  background: #f5f8fb;
  box-shadow: 0 18px 48px rgba(15, 23, 32, .10);
}

.day-report-view {
  display: grid;
  gap: 18px;
}

.day-report-metrics article strong {
  font-variant-numeric: tabular-nums;
}

.day-report-actions {
  border-color: rgba(197, 154, 66, .32);
}

.day-report-entry-form {
  align-items: end;
}

.day-report-entry-form textarea {
  min-height: 94px;
  resize: vertical;
}

.day-report-log table {
  margin-top: 8px;
}

.day-report-log-row.warning td {
  background: #fff7ed;
}

.day-report-log-row.critical td {
  background: #fef2f2;
}

.action-line {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(223, 229, 235, .92);
  border-left: 4px solid #64748b;
  border-radius: 8px;
  background: #fff;
}

.action-line.warning {
  border-left-color: #d97706;
  background: #fff7ed;
}

.action-line.critical {
  border-left-color: #b91c1c;
  background: #fef2f2;
}

.action-line.info {
  border-left-color: #2563eb;
}

.route-planner-shell {
  background: #f5f8fb;
}

.route-planner-heading {
  background:
    linear-gradient(135deg, #07111c, #13283d),
    #07111c;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  padding: 18px;
}

.route-planner-heading h3 {
  margin: 0 0 5px;
  color: #fff;
}

.route-planner-heading .muted,
.route-planner-heading .eyebrow {
  color: rgba(255, 255, 255, .70);
}

.route-planner-stats span {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .82);
}

.route-week-table {
  border-spacing: 0;
  background: #eef3f7;
}

.route-week-table th {
  height: 62px;
  border-bottom: 1px solid #dbe4ec;
  background: #f8fafc;
  color: #172033;
}

.route-week-table th:first-child {
  background: #f8fafc;
}

.route-week-table td {
  border-right: 1px solid #e2e9ef;
  border-bottom: 1px solid #e2e9ef;
  background: #fff;
}

.route-week-table td:first-child {
  background: #fbfdff;
  box-shadow: 10px 0 18px rgba(15, 23, 32, .055);
}

.route-id-cell strong {
  color: #07111c;
  font-size: 19px;
}

.route-week-table .route-today-head {
  border-top: 0;
  background: linear-gradient(135deg, #07111c, #1a2f45);
  color: #fff;
  box-shadow: inset 0 4px 0 #c59a42;
}

.route-week-table .route-today-cell {
  border-left: 2px solid rgba(197, 154, 66, .78);
  border-right: 2px solid rgba(197, 154, 66, .78);
  box-shadow: inset 0 3px 0 #c59a42;
}

.route-week-table .route-default-cell {
  background: #edf8f2;
}

.route-week-table .route-assigned-cell {
  background: #edf4fb;
}

.route-week-table .route-open-cell {
  background: #fff;
}

.route-cell-card {
  min-height: 66px;
  border: 1px solid rgba(223, 229, 235, .85);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  padding: 8px;
}

.route-table select {
  border-color: rgba(223, 229, 235, .95);
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 32, .035);
}

.route-table select:focus {
  border-color: rgba(197, 154, 66, .72);
  box-shadow: 0 0 0 3px rgba(197, 154, 66, .14);
}

.employee-dashboard {
  gap: 18px;
}

.employee-hero {
  border: 1px solid rgba(223, 229, 235, .96);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 250, 252, .93)),
    radial-gradient(circle at 92% 10%, rgba(197, 154, 66, .16), transparent 280px);
  box-shadow: var(--soft-shadow);
  padding: 20px;
}

.employee-hero h3 {
  margin: 0 0 6px;
  font-size: 27px;
}

.employee-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.employee-payout-band {
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  background:
    linear-gradient(135deg, #07111c, #102437),
    #07111c;
  color: #fff;
  box-shadow: 0 18px 48px rgba(7, 17, 28, .18);
}

.employee-payout-band .muted,
.employee-payout-band .eyebrow {
  color: rgba(255, 255, 255, .72);
}

.employee-payout-band h3 {
  color: #fff;
}

.employee-payout-band .payroll-summary article {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .075);
  box-shadow: none;
}

.employee-payout-band .payroll-summary span,
.employee-payout-band .payroll-summary small {
  color: rgba(255, 255, 255, .68);
}

.employee-payout-band .payroll-summary strong {
  color: #fff;
}

.employee-action-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .96)),
    #fff;
}

.employee-action-card h4,
.employee-archive-card h4 {
  font-size: 18px;
}

.employee-archive-card {
  background: #fff;
}

.employee-dashboard .dashboard-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.employee-dashboard .dashboard-grid:has(.dashboard-card:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.employee-dashboard .inbox-collapse {
  border-color: rgba(197, 154, 66, .22);
}

.employee-dashboard .inbox-collapse > summary {
  background:
    linear-gradient(135deg, rgba(197, 154, 66, .09), rgba(255, 255, 255, .95));
}

.employee-dashboard .inbox-collapse > summary::before {
  border-color: rgba(197, 154, 66, .32);
  background: #fff8e7;
  color: #8d6625;
}

.employee-dashboard .inbox-collapse[open] > summary::before {
  background: #c59a42;
  color: #07111c;
}

.employee-dashboard .message-item {
  background: #fff;
}

.employee-dashboard .message-item.unread {
  border-color: rgba(197, 154, 66, .46);
  box-shadow: inset 4px 0 0 #c59a42;
}

.employee-dashboard .volume-line-chart,
.employee-dashboard .line-chart-wrap {
  border: 1px solid rgba(223, 229, 235, .92);
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
}

.table-panel {
  border-radius: 8px;
}

.table-panel table,
.dashboard-card table,
.panel table {
  min-width: 680px;
}

.table-panel th,
.dashboard-card th,
.panel th {
  position: relative;
  background: #f6f8fb;
  color: #52606d;
  font-size: 11px;
  letter-spacing: .06em;
}

.table-panel td,
.dashboard-card td,
.panel td {
  border-bottom-color: #e8edf2;
}

.table-panel tbody tr:last-child td,
.dashboard-card tbody tr:last-child td,
.panel tbody tr:last-child td {
  border-bottom: 0;
}

.compact-form,
.mini-form {
  border-color: rgba(223, 229, 235, .95);
}

.compact-form label,
.mini-form label {
  color: #5d6977;
}

.checkbox-label {
  align-items: center;
  grid-template-columns: 18px 1fr;
  min-height: 40px;
  border: 1px solid rgba(223, 229, 235, .92);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
}

.checkbox-label input {
  width: 16px;
  min-height: 16px;
  accent-color: #c59a42;
}

.wide-field {
  min-width: 0;
}

.section-actions {
  border: 1px solid rgba(223, 229, 235, .82);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 24px rgba(15, 23, 32, .045);
  padding: 14px;
}

.panel-heading.tight {
  margin-bottom: 10px;
}

.sidebar .nav-item:focus,
.sidebar .nav-item:focus-visible,
.nav-group summary:focus,
.nav-group summary:focus-visible {
  outline: none;
}

.sidebar .nav-item:focus-visible,
.nav-group summary:focus-visible {
  border-color: rgba(197, 154, 66, 0.48);
  box-shadow: inset 0 0 0 1px rgba(197, 154, 66, 0.28), 0 0 0 2px rgba(197, 154, 66, 0.16);
}

.nav-group summary::selection,
.nav-item::selection {
  background: rgba(197, 154, 66, 0.24);
  color: #fff;
}

.hr-docs-heading {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 229, 235, .9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .96), rgba(32, 43, 56, .92)),
    #111827;
  color: #fff;
  padding: 22px 24px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, .12);
}

.hr-docs-heading::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 170px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 18px, rgba(255, 255, 255, .16) 19px, transparent 20px),
    linear-gradient(180deg, rgba(197, 154, 66, .36), rgba(255, 255, 255, .08));
  opacity: .55;
  transform: rotate(-3deg);
}

.hr-docs-heading h3,
.hr-docs-heading p {
  position: relative;
  z-index: 1;
}

.hr-docs-heading h3 {
  margin-bottom: 6px;
  font-size: 28px;
  letter-spacing: 0;
}

.hr-docs-heading .muted {
  color: rgba(255, 255, 255, .74);
}

.hr-docs-top-grid {
  grid-template-columns: minmax(280px, .8fr) minmax(460px, 1.2fr);
}

.hr-search-card,
.hr-template-admin-card,
.hr-handbook-card,
.hr-library-card,
.hr-status-card,
.hr-signed-archive-card,
.hr-template-archive-card {
  position: relative;
}

.hr-search-card::before,
.hr-template-admin-card::before,
.hr-handbook-card::before,
.hr-library-card::before,
.hr-status-card::before,
.hr-signed-archive-card::before,
.hr-template-archive-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #c59a42, rgba(197, 154, 66, .18));
}

.hr-search-card,
.hr-template-admin-card {
  overflow: hidden;
}

.hr-template-admin-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 250, 252, .96)),
    #fff;
}

.hr-template-admin-card .mini-form,
.hr-search-card .mini-form,
.editor-form {
  background: #fff;
}

.hr-handbook-card .stack-list {
  gap: 10px;
}

.handbook-item {
  border-color: rgba(197, 154, 66, .28);
  background:
    linear-gradient(90deg, rgba(197, 154, 66, .12), transparent 42%),
    #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.document-library {
  gap: 14px;
}

.document-folder {
  border-color: rgba(223, 229, 235, .96);
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.document-folder summary {
  min-height: 62px;
  border-bottom: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, .94), rgba(255, 255, 255, .96)),
    #fff;
  padding: 0 18px;
}

.document-folder[open] summary {
  border-bottom-color: rgba(223, 229, 235, .92);
}

.document-folder summary::before {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-color: rgba(197, 154, 66, .42);
  background: rgba(197, 154, 66, .08);
  color: #8a6420;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .72);
}

.document-folder summary span {
  color: #142033;
  font-size: 15px;
}

.document-folder summary small,
.document-status-column .badge {
  border: 1px solid rgba(223, 229, 235, .94);
  border-radius: 999px;
  background: #fff;
  color: #607086;
  padding: 5px 9px;
}

.document-folder table,
.document-status-column table,
#hrSignedArchive table,
#hrTemplateArchive table {
  border-collapse: separate;
  border-spacing: 0;
}

.document-folder th,
.document-status-column th,
#hrSignedArchive th,
#hrTemplateArchive th {
  background: #f7f9fb;
  color: #526174;
  font-size: 11px;
  text-transform: uppercase;
}

.document-folder td,
.document-status-column td,
#hrSignedArchive td,
#hrTemplateArchive td {
  background: #fff;
}

.document-status-grid {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
}

.document-status-column {
  border-color: rgba(223, 229, 235, .94);
  background:
    linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .045);
  padding: 12px;
}

.document-status-column .panel-heading.tight {
  min-height: 40px;
}

.review-row td {
  background: #fbf7ee !important;
}

.review-row textarea {
  min-height: 180px;
  background: #fff;
}

.modal-shell {
  backdrop-filter: blur(6px);
}

.hr-editor-modal {
  border: 1px solid rgba(255, 255, 255, .24);
  background:
    linear-gradient(180deg, #ffffff, #f7f9fb);
}

.word-editor-shell {
  gap: 18px;
}

.word-preview-panel {
  border-color: rgba(223, 229, 235, .96);
  background:
    linear-gradient(180deg, #edf1f5, #dfe5ea);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
}

.word-preview-panel .panel-heading.tight {
  border: 1px solid rgba(223, 229, 235, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  padding: 10px 12px;
}

.word-document-preview {
  border: 0;
  background:
    radial-gradient(circle at 24px 24px, rgba(15, 23, 42, .08) 1px, transparent 1px) 0 0 / 18px 18px,
    #e2e8ef;
  padding: 26px;
}

.word-page {
  border: 0;
  border-radius: 4px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .22);
}

.word-page-meta {
  border-bottom-color: #d8dee8;
}

.editor-form {
  align-self: start;
  border-color: rgba(223, 229, 235, .96);
  box-shadow: 0 18px 36px rgba(15, 23, 42, .07);
}

.editor-form textarea[name="bodyText"] {
  min-height: 260px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.hr-library-card > .panel-heading,
.hr-signed-archive-card > .panel-heading {
  align-items: end;
}

.hr-library-card input,
.hr-signed-archive-card input {
  min-width: 260px;
}

.template-editor-modal {
  width: min(1800px, calc(100vw - 20px));
  height: calc(100vh - 20px);
  max-height: calc(100vh - 20px);
  overflow: hidden;
  padding: 18px;
}

.template-editor-grid {
  display: grid;
  grid-template-columns: minmax(440px, .9fr) minmax(520px, 1.1fr);
  gap: 18px;
  align-items: start;
  height: calc(100vh - 118px);
}

.template-editor-controls {
  display: grid;
  gap: 14px;
  max-height: 100%;
  overflow: auto;
  border: 1px solid rgba(223, 229, 235, .96);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .07);
  padding: 14px;
}

.template-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.template-token-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border: 1px solid rgba(223, 229, 235, .9);
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
}

.template-token-bar .text-button {
  border: 1px solid rgba(197, 154, 66, .24);
  border-radius: 999px;
  background: #fff;
  padding: 6px 9px;
  color: #5f4618;
  font-size: 12px;
}

.template-body-field textarea {
  min-height: 46vh;
  resize: vertical;
  border-color: rgba(173, 184, 198, .75);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, rgba(197, 154, 66, .34), rgba(32, 43, 56, .16)) border-box;
  color: #142033;
  font-family: Consolas, "Courier New", monospace;
  line-height: 1.5;
}

.template-preview-panel {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.template-preview-panel .word-document-preview {
  height: calc(100% - 58px);
}

.word-page-blank {
  min-height: 10px;
}

.word-page h2,
.word-page h3 {
  color: #111827;
  letter-spacing: 0;
}

.word-page h2 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.word-page h3 {
  margin: 16px 0 8px;
  font-size: 17px;
}

.word-page-bullet,
.word-page-number,
.word-page-checkbox {
  position: relative;
  padding-left: 22px;
}

.word-page-bullet::before {
  content: "•";
  position: absolute;
  left: 4px;
  font-weight: 900;
}

.word-page-checkbox::before {
  content: "☐";
  position: absolute;
  left: 0;
}

.word-page-signature-line {
  width: min(420px, 100%);
  height: 1px;
  margin: 32px 0 8px;
  background: #111827;
}

@media (max-width: 1000px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    height: auto;
    top: 0;
    z-index: 3;
    gap: 14px;
  }

  .ops-hero {
    grid-template-columns: 1fr;
  }

  .employee-payout-band,
  .employee-dashboard .dashboard-grid,
  .finance-budget-layout {
    grid-template-columns: 1fr;
  }

  .hr-docs-top-grid,
  .document-status-grid,
  .template-editor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-hero-status {
    justify-items: start;
  }

  .nav-list,
  .metric-grid,
  .summary-grid,
  .finance-budget-hero,
  .calendar-grid,
  .dashboard-band,
  .dashboard-grid,
  .district-metric-grid,
  .word-editor-shell,
  .map-preview-grid,
  .payroll-summary,
  .onboarding-grid,
  .wizard-panel,
  .compact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-list {
    display: grid;
    grid-template-columns: 1fr;
    max-height: 62vh;
    overflow-y: auto;
  }

  .finance-budget-hero {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 650px) {
  .workspace {
    padding: 16px;
  }

  .sidebar {
    padding: 16px;
  }

  .topbar,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-list,
  .metric-grid,
  .summary-grid,
  .finance-budget-hero,
  .calendar-grid,
  .dashboard-band,
  .dashboard-grid,
  .word-editor-shell,
  .hr-docs-top-grid,
  .document-status-grid,
  .template-editor-grid,
  .template-meta-grid,
  .editor-form,
  .payroll-summary.compact,
  .payroll-summary,
  .district-metric-grid,
  .onboarding-grid,
  .wizard-panel,
  .compact-form {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 760px;
  }

  .finance-budget-hero {
    grid-template-columns: 1fr;
  }
}
