:root {
  --bg: #eef2f5;
  --panel: #ffffff;
  --ink: #1a2b3c;
  --muted: #5d6f80;
  --accent: #0f5c4c;
  --accent-2: #c45c26;
  --line: #d5dee7;
  --sidebar: #102433;
  --sidebar-text: #d7e2ec;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", "IBM Plex Sans", sans-serif;
  background: linear-gradient(160deg, #e8eef3 0%, #f4f7f5 45%, #ebe6df 100%);
  color: var(--ink);
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.app-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: linear-gradient(180deg, #0d1d29 0%, #143246 100%);
  color: var(--sidebar-text);
  padding: 1.25rem 0.9rem;
  border-right: 1px solid #0a1620;
}

.brand {
  padding: 0.4rem 0.7rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1rem;
}

.brand h1 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #f4f7f8;
  font-weight: 700;
}

.brand small {
  color: #8da4b8;
  font-size: 0.75rem;
}

.nav-section {
  margin: 1rem 0 0.35rem;
  padding: 0 0.7rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7f96aa;
}

.nav-link {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  color: var(--sidebar-text);
  font-size: 0.92rem;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(15, 92, 76, 0.35);
  color: #fff;
  text-decoration: none;
}

.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.4rem;
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.topbar h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.content {
  padding: 1.25rem 1.4rem 2rem;
  min-width: 0;
  max-width: 100%;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 0 rgba(16,36,51,0.04);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

.stat .label { color: var(--muted); font-size: 0.8rem; }
.stat .value { font-size: 1.6rem; font-weight: 700; margin-top: 0.2rem; color: var(--accent); }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th, .table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.table th {
  background: #f3f7fa;
  font-weight: 650;
  color: #31475c;
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
}

.btn:hover { filter: brightness(1.05); text-decoration: none; color: #fff; }
.btn-secondary { background: #31475c; }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-warning { background: var(--accent-2); }
.btn-sm { padding: 0.25rem 0.55rem; font-size: 0.8rem; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.65rem;
}

.address-compact,
textarea.address-compact {
  min-height: 2.4rem !important;
  max-height: 4.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 0.25rem;
}

.form-group-wide {
  grid-column: 1 / -1;
}

/* Compact company address — keep Company form on one screen */
.address-compact,
textarea.address-compact {
  min-height: 2.4rem;
  max-height: 4.2rem;
  resize: vertical;
  line-height: 1.35;
  font-size: 0.9rem;
}

.company-form-compact .form-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
}

.stock-balance-hint {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #2d6a4f;
  font-weight: 600;
}

.fg-preview-panel {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f4f7fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.85rem;
}

.fg-preview-panel h4 {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
}

.fg-preview-panel ul {
  margin: 0.25rem 0 0.5rem 1.1rem;
  padding: 0;
}

.flow-chart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
}

.flow-step {
  background: #1f4e79;
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  min-width: 110px;
}

.flow-arrow {
  color: #5d6f80;
  font-size: 1.2rem;
  font-weight: 700;
}

.input-suffix {
  display: flex;
  align-items: stretch;
}

.input-suffix .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

.input-suffix .suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.7rem;
  background: #e8eef3;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 6px 6px 0;
  color: #31475c;
  font-size: 0.85rem;
  font-weight: 650;
  white-space: nowrap;
}

.readonly-field {
  background: #f0f3f6 !important;
  color: #31475c;
  cursor: not-allowed;
}

.field-help {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.field-error {
  color: #a33;
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.select2-container .select2-selection--single {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px;
  padding-left: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
}

.form-control, .form-select, textarea, input[type="text"], input[type="number"], input[type="email"], input[type="password"], input[type="date"], select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.45rem 0.55rem;
  font: inherit;
  background: #fff;
}

.messages { list-style: none; padding: 0; margin: 0 0 1rem; }
.messages li {
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 0.4rem;
  background: #e5f5ef;
  border: 1px solid #b7e0cf;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, #1a2f3a 0%, #243d4a 42%, #3a4f45 100%);
  padding: 1.5rem;
}

.login-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(212, 175, 55, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 80%, rgba(90, 140, 120, 0.28), transparent 50%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 14px,
      rgba(255, 255, 255, 0.025) 14px,
      rgba(255, 255, 255, 0.025) 15px
    );
  pointer-events: none;
}

.login-shell {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.login-hero {
  color: #f4f0e6;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4af37;
}

.login-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.login-tagline {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  color: rgba(244, 240, 230, 0.82);
  font-size: 1rem;
  line-height: 1.45;
}

.login-card {
  background: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 22px 48px rgba(8, 20, 28, 0.35);
}

.login-card h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: #1a2f3a;
}

.login-card .form-control,
.login-card input[type="text"],
.login-card input[type="password"] {
  width: 100%;
  box-sizing: border-box;
}

.login-submit {
  width: 100%;
  background: #1a2f3a;
  border-color: #1a2f3a;
}

.login-submit:hover {
  background: #243d4a;
}

@media (max-width: 760px) {
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-hero {
    padding: 0.5rem 0.25rem 0;
    text-align: center;
    align-items: center;
  }
  .login-tagline {
    margin-left: auto;
    margin-right: auto;
  }
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: #e8eef3;
  color: #31475c;
}

.badge-pending { background: #fff1df; color: #9a4d00; }
.badge-ok { background: #e4f5ec; color: #0f5c4c; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 960px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: sticky; top: 0; z-index: 10;
    max-height: 42vh; overflow: auto;
    border-right: none; border-bottom: 1px solid #d5dde6;
  }
  .two-col { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr !important; }
  .table-wrap, .card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table { min-width: 640px; }
  .toolbar { flex-wrap: wrap; gap: 0.5rem; }
  .btn, .btn-sm { min-height: 2.4rem; }
  .serial-modal { width: 100% !important; max-height: 92vh; }
  .main { padding: 0.75rem; }
  .topbar h2 { font-size: 1.05rem; }
  .time-flow-step { grid-template-columns: 1fr !important; gap: 0.35rem !important; }
}

@media (max-width: 560px) {
  .brand h1 { font-size: 1rem; }
  .sidebar { max-height: 36vh; }
}

/* Horizontal top menu layout */
.app-shell-topnav {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  grid-template-columns: none;
}
.app-shell-topnav .sidebar { display: none; }
.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #0d1d29 0%, #143246 100%);
  color: #d7e2ec;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid #0a1620;
  position: sticky;
  top: 0;
  z-index: 100;
}
.top-nav-brand a {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}
.top-nav-brand .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 280px;
}
.top-nav-brand .brand-logo {
  height: 34px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 2px;
}
.top-nav-brand .brand-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border-radius: 4px;
  background: #e8f2ef;
  color: #0f5c4c;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.35);
}
.dash-brand-fallback-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding: 0 8px;
  border-radius: 8px;
  background: #fff;
  color: #0f5c4c;
  font-weight: 800;
  font-size: 1.05rem;
  border: 1px solid #d0d8e0;
}
.dash-brand-banner-fallback {
  background: linear-gradient(90deg, #eef3f6 0%, #f7fafc 100%);
}
.top-nav-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.top-nav-brand .brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-nav-brand small { display: block; color: #9db0bf; font-size: 0.72rem; }
.dash-brand-banner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(90deg, #e8f2ef 0%, #f7fafc 100%);
  border: 1px solid #d0d8e0;
  border-radius: 10px;
}
.dash-brand-logo {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid #d0d8e0;
}
.dash-brand-name { font-weight: 700; color: #1a3a4a; font-size: 1.15rem; }
.dash-brand-sub { color: #5d6f80; font-size: 0.85rem; }
.top-menu { display: flex; align-items: center; gap: 0.25rem; flex: 1; flex-wrap: wrap; }
.top-menu-item { position: relative; }
.top-menu-btn, .top-menu-link {
  background: transparent;
  border: none;
  color: #d7e2ec;
  font: inherit;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}
.top-menu-btn:hover, .top-menu-link:hover, .top-menu-item.open .top-menu-btn {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.top-submenu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  max-height: 70vh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16,36,51,0.18);
  padding: 0.35rem;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.top-submenu-wide { min-width: 280px; columns: 2; column-gap: 0; }
/* Never set display:grid here — it used to override display:none and left
   the Transactions mega-menu permanently visible under Reports. */
.top-submenu-grouped {
  min-width: 520px;
  max-width: 900px;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.25rem 0.85rem;
  columns: unset;
  padding: 0.5rem 0.45rem;
}
.top-menu-item.open > .top-submenu {
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}
.top-menu-item.open > .top-submenu-grouped {
  display: grid !important;
}
/* Force-hide any grouped panel that is not inside an open item */
.top-menu-item:not(.open) > .top-submenu,
.top-submenu[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
.tx-group {
  break-inside: avoid;
  margin: 0;
  padding-bottom: 0.25rem;
}
.top-submenu .tx-group-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000000 !important;
  background: #e8eef3 !important;
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
  border-left: 4px solid #111111;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.top-submenu a {
  display: block;
  padding: 0.45rem 0.65rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.88rem;
  break-inside: avoid;
}
.top-submenu a:hover { background: #eef5f2; color: var(--accent); }
.top-nav-user { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.main-full { width: 100%; }
.topbar-simple { border-bottom: 1px solid var(--line); }

/* Mobile hamburger (hidden on desktop) */
.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255,255,255,0.2); }

@media (max-width: 900px) {
  .top-nav { gap: 0.5rem; }
  .nav-toggle { display: inline-block; order: 3; margin-left: auto; }
  .top-nav-brand { order: 1; }
  .top-nav-user { order: 2; margin-left: auto; }
  /* Collapse the menu into a vertical drawer toggled by the hamburger */
  .top-menu {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding-top: 0.4rem;
  }
  .top-menu.nav-open { display: flex; }
  .top-menu-item { width: 100%; }
  .top-menu-btn, .top-menu-link {
    width: 100%;
    text-align: left;
    min-height: 2.6rem;
    font-size: 1rem;
  }
  /* Submenus render inline (accordion) instead of floating dropdowns */
  .top-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--line);
    border-radius: 0;
    margin: 0.1rem 0 0.3rem 0.6rem;
    padding: 0.1rem 0;
    columns: 1 !important;
    background: #f7fafc;
  }
  .top-submenu-wide { columns: 1 !important; }
  .top-submenu-grouped {
    min-width: 0 !important;
    max-width: none !important;
    grid-template-columns: 1fr !important;
  }
  .top-submenu a { font-size: 0.95rem; min-height: 2.4rem; display: flex; align-items: center; }
}
a.stat-link { text-decoration: none; color: inherit; display: block; transition: box-shadow .15s, border-color .15s; }
a.stat-link:hover { border-color: var(--accent); box-shadow: 0 4px 14px rgba(15,92,76,0.12); text-decoration: none; }
.stat-warn .value { color: #b45309; }
.stat-danger .value { color: #b42318; }
.stats-alerts { margin-top: -0.35rem; }
.muted-sm { color: var(--muted); font-size: 0.82rem; }

.dash-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}
@media (max-width: 1100px) {
  .dash-grid { grid-template-columns: 1fr; }
}

/* Compact dashboard Chart.js containers — KPIs stay primary */
.chart-box {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 0.5rem;
}
.chart-box canvas {
  display: block;
  width: 100% !important;
  max-width: 100%;
}
.chart-box-bar {
  height: 160px;
  max-height: 180px;
}
.chart-box-donut {
  height: 140px;
  max-height: 160px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.today-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.55rem;
}
.today-tile {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f7faf9 0%, #fff 100%);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.today-tile:hover {
  border-color: var(--accent);
  box-shadow: 0 3px 10px rgba(15,92,76,0.1);
  text-decoration: none;
}
.today-count { font-size: 1.35rem; font-weight: 700; color: var(--accent); line-height: 1.1; }
.today-label { font-size: 0.75rem; color: var(--muted); }

.mini-bars { display: flex; flex-direction: column; gap: 0.45rem; }
.mini-bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 36px;
  gap: 0.5rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
a.mini-bar-row:hover { text-decoration: none; }
.mini-bar-label { font-size: 0.8rem; color: #31475c; }
.mini-bar-count { font-size: 0.82rem; font-weight: 650; text-align: right; }
.bar-track {
  height: 8px;
  background: #e6eef2;
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0f5c4c, #1a8a72);
  border-radius: 999px;
  min-width: 2px;
  transition: width .35s ease;
}
.bar-fill-jobs {
  background: linear-gradient(90deg, #31475c, #5a7590);
}

/* Report tables: clearer cell borders (screen preview vs PDF GRID) */
.table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap > .table {
  width: max-content;
  min-width: 100%;
}
.table-wrap .table th {
  min-width: 88px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.table-wrap .table td {
  max-width: 260px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.table-wrap .table th,
.table-wrap .table td,
.card .table.report-bordered th,
.card .table.report-bordered td {
  border: 1px solid var(--line);
}
.table-wrap .table th,
.card .table.report-bordered th {
  background: #eef5f2;
}

.voucher-help {
  background: linear-gradient(135deg, #eef6f3 0%, #f7faf8 100%);
  border: 1px solid #c5d9d1;
  border-left: 4px solid #0f5c4c;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
}
.voucher-help-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.voucher-help-body {
  margin: 0;
  color: #3d5160;
  font-size: 0.92rem;
  line-height: 1.4;
}
.dash-shift-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1rem;
}
.dash-shift-card {
  flex: 1 1 140px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  color: inherit;
}
.dash-shift-card:hover { border-color: #0f5c4c; text-decoration: none; }
.dash-shift-card .label { color: var(--muted); font-size: 0.8rem; }
.dash-shift-card .value { font-size: 1.35rem; font-weight: 700; color: #0f5c4c; }
.dash-shift-card .meta { font-size: 0.78rem; color: #5d6f80; margin-top: 0.2rem; }
.backup-reminder-banner {
  background: #fff8e8;
  border: 1px solid #e6c36a;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  margin: 0 0 1rem;
  color: #6a4b00;
}
