/* ==========================================================================
   FCA Fuels — web dashboard styles
   Brand: navy #1B3D7A, gold #8B6A14
   ========================================================================== */

:root {
  --navy:        #1B3D7A;
  --navy-dark:   #142c58;
  --navy-light:  #2d569e;
  --gold:        #8B6A14;
  --gold-light:  #c9a227;

  --bg:          #f4f6fa;
  --surface:     #ffffff;
  --surface-alt: #f8fafc;
  --border:      #e3e8f0;
  --text:        #1a2233;
  --text-soft:   #5b6779;
  --text-faint:  #8d97a8;

  --green:       #1f8a54;
  --red:         #c0392b;
  --amber:       #b7791f;

  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 1px 2px rgba(16,24,40,.05), 0 4px 16px rgba(16,24,40,.06);
  --font:        "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

/* The hidden attribute must always win over layout rules below. */
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; font-size: 14px; }

/* ---------- Login ------------------------------------------------------- */

#login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 60%, #0d1e3d 100%);
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border-radius: 18px;
  padding: 36px 32px 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
}
.login-mark {
  width: 76px; height: 76px;
  border-radius: 18px;
  display: block;
  box-shadow: 0 8px 20px rgba(27,61,122,.35);
}
.login-title { font-size: 20px; font-weight: 700; margin: 10px 0 0; }
.login-sub   { font-size: 12.5px; color: var(--text-faint); margin: 0; letter-spacing: .3px; }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(45,86,158,.14);
  background: #fff;
}

.btn {
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  font-weight: 600;
  font-size: 14px;
  background: var(--navy);
  color: #fff;
  transition: background .15s, opacity .15s;
}
.btn:hover:not(:disabled) { background: var(--navy-light); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-block { width: 100%; margin-top: 6px; }
.btn-ghost {
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-ghost:hover:not(:disabled) { background: var(--surface-alt); }
.btn-sm { padding: 7px 12px; font-size: 12.5px; }

.error-box {
  background: #fdecea;
  color: var(--red);
  border: 1px solid #f5c6c2;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 14px;
}
.error-box:empty { display: none; }

.login-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c4c9d4;
  font-weight: 700;
}

.setpw-intro {
  background: #eef2f9;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  margin-bottom: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.setpw-intro strong { font-size: 14.5px; color: var(--navy); }
.setpw-intro span { font-size: 12.5px; color: var(--text-soft); line-height: 1.45; }

#setpw-form .hint { font-size: 12px; color: var(--text-faint); margin-bottom: 10px; min-height: 16px; }
#setpw-form .hint.bad { color: var(--red); font-weight: 600; }

/* ---------- Login mode switch ------------------------------------------- */

.seg {
  display: flex;
  gap: 4px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
}
.seg-btn {
  flex: 1;
  border: none;
  background: none;
  padding: 9px 8px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
}
.seg-btn.active { background: var(--navy); color: #fff; }

/* ---------- Employee screen --------------------------------------------- */

#employee-app[hidden] { display: none; }

.emp-wrap { max-width: 620px; margin: 0 auto; padding: 22px 18px 130px; }
.emp-greeting { font-size: 26px; font-weight: 700; margin: 4px 0 2px; }
.emp-sub { color: var(--text-soft); margin: 0 0 20px; font-size: 14px; }

.emp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}
.emp-card .row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13.5px; }
.emp-card .row span { color: var(--text-soft); }
.emp-card .row strong { font-weight: 600; text-align: right; }

.emp-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.emp-section-head h2 { font-size: 15px; font-weight: 700; margin: 0; flex: 1; }

.fill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.fill-card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.fill-card .unit { font-weight: 700; font-size: 14.5px; }
.fill-card .gal { font-weight: 700; font-size: 15px; color: var(--navy); white-space: nowrap; }
.fill-card .meta { color: var(--text-faint); font-size: 12.5px; margin-top: 4px; }

.fab {
  position: fixed;
  right: 20px; bottom: 26px;
  display: flex; align-items: center; gap: 9px;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 16px 26px;
  border-radius: 40px;
  font-size: 16px; font-weight: 600;
  box-shadow: 0 10px 26px rgba(27,61,122,.42);
  z-index: 30;
}
.fab:hover { background: var(--navy-light); }

/* ---------- Sheet (fuel log form) --------------------------------------- */

.sheet {
  position: fixed; inset: 0;
  background: rgba(12,20,38,.55);
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 60;
}
.sheet[hidden] { display: none !important; }
.sheet-panel {
  background: var(--bg);
  width: 100%; max-width: 560px;
  max-height: 94vh;
  border-radius: 18px 18px 0 0;
  display: flex; flex-direction: column;
  box-shadow: 0 -10px 50px rgba(0,0,0,.3);
}
@media (min-width: 640px) {
  .sheet { align-items: center; }
  .sheet-panel { border-radius: 18px; max-height: 88vh; }
}
.sheet-head {
  display: flex; align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  border-radius: 18px 18px 0 0;
}
.sheet-head h2 { margin: 0; font-size: 17px; font-weight: 700; flex: 1; }
.sheet-close {
  border: none; background: none;
  font-size: 26px; line-height: 1;
  color: var(--text-faint); padding: 0 4px;
}
.sheet-body { padding: 18px; overflow-y: auto; flex: 1; }
.sheet-body .field input,
.sheet-body .field select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 16px; /* 16px stops iOS Safari zooming on focus */
}
.sheet-body .field input:focus,
.sheet-body .field select:focus {
  outline: none; border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(45,86,158,.14);
}
.sheet-body .field { margin-bottom: 16px; }
.sheet-body .hint { font-size: 12px; color: var(--text-faint); margin-top: 6px; }
.sheet-body .hint.bad { color: var(--red); font-weight: 600; }

.switch-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}
.switch-row label { font-size: 14px; font-weight: 600; margin: 0; }
.switch-row input { width: 22px; height: 22px; accent-color: var(--navy); }

/* Vehicle picker — same shape as the app's card grid */

.veh-group { margin-bottom: 16px; }
.veh-group-head {
  font-size: 10px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--text-faint);
  margin-bottom: 8px;
}

.veh-grid { display: block; }
.veh-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 560px) {
  .veh-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.veh-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  height: 100px;
  padding: 9px 6px;
  border: 1px solid #d7dde8;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(16,24,40,.05);
  text-align: center;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.veh-card .unit {
  font-size: 21px; font-weight: 800; line-height: 1.05;
  margin-bottom: 1px;
  color: var(--navy);
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.veh-card .mk {
  font-size: 10px; font-weight: 600; color: var(--text);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.veh-card .md {
  font-size: 10px; color: var(--text-soft);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.veh-card .ft {
  font-size: 9px; font-weight: 700;
  color: #2563a8; background: rgba(37,99,168,.10);
  padding: 3px 6px; border-radius: 4px;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.veh-card.sel {
  background: var(--navy);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(27,61,122,.28);
}
.veh-card.sel .unit { color: #fff; }
.veh-card.sel .mk { color: rgba(255,255,255,.92); }
.veh-card.sel .md { color: rgba(255,255,255,.75); }
.veh-card.sel .ft { color: #fff; background: rgba(255,255,255,.2); }

.veh-chosen {
  display: flex; align-items: center; gap: 10px;
  background: var(--navy);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
}
.veh-chosen .vc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.veh-chosen .vc-unit { font-size: 17px; font-weight: 800; line-height: 1.1; }
.veh-chosen .vc-name {
  font-size: 11.5px; color: rgba(255,255,255,.78);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.veh-chosen .ft {
  font-size: 9.5px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,.2);
  padding: 4px 7px; border-radius: 4px; white-space: nowrap;
}
.veh-chosen .btn { flex: none; }

.veh-empty {
  padding: 16px;
  background: var(--surface-alt);
  border-radius: 12px;
  color: var(--text-soft);
  font-size: 13.5px;
}

.info-card {
  background: #eef2f9;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--navy);
}
.info-card .r { display: flex; justify-content: space-between; padding: 2px 0; gap: 10px; }
.info-card .r span { opacity: .75; }

.gps-box {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  display: flex; flex-direction: column; gap: 3px;
}
.gps-box strong { font-size: 13.5px; }
.gps-box span { font-size: 12.5px; opacity: .85; }
.gps-wait { background: #fff6e6; color: #8a5a00; }
.gps-ok   { background: #e6f5ed; color: #146c41; }
.gps-bad  { background: #fdecea; color: var(--red); }

.sheet-foot {
  display: flex; gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.sheet-foot .btn { flex: 1; padding: 14px; font-size: 15px; }

.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  padding: 13px 22px;
  border-radius: 30px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 90;
}
.toast[hidden] { display: none !important; }

/* ---------- App shell --------------------------------------------------- */

#app[hidden] { display: none; }

.topbar {
  background: var(--navy);
  color: #fff;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 58px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.topbar-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: block;
  flex: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.topbar-spacer { flex: 1; }
.topbar-user { font-size: 12.5px; text-align: right; line-height: 1.35; }
.topbar-user strong { display: block; font-size: 13px; }
.topbar-user em { font-style: normal; color: rgba(255,255,255,.65); }
.topbar button {
  background: rgba(255,255,255,.12);
  border: none; color: #fff;
  padding: 7px 13px; border-radius: 7px; font-size: 12.5px; font-weight: 600;
}
.topbar button:hover { background: rgba(255,255,255,.22); }

.tabs {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 2px;
  padding: 0 14px;
  overflow-x: auto;
  position: sticky;
  top: 58px;
  z-index: 19;
}
.tab {
  background: none; border: none;
  padding: 13px 15px;
  font-size: 13.5px; font-weight: 600;
  color: var(--text-soft);
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
}
.tab:hover { color: var(--navy); }
.tab.active { color: var(--navy); border-bottom-color: var(--gold); }

.container { max-width: 1400px; margin: 0 auto; padding: 20px 20px 60px; }

/* ---------- Filter bar -------------------------------------------------- */

.filters {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  box-shadow: var(--shadow);
}
.filters .fgroup { display: flex; flex-direction: column; gap: 5px; }
.filters label { font-size: 11px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: .5px; }
.filters select, .filters input {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  min-width: 130px;
}
.filters select:focus, .filters input:focus { outline: none; border-color: var(--navy-light); background: #fff; }
.filters .spacer { flex: 1; }

/* ---------- Cards / KPIs ------------------------------------------------ */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.kpi .k-label {
  font-size: 11px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; color: var(--text-faint);
  margin-bottom: 8px;
}
.kpi .k-value { font-size: 25px; font-weight: 700; line-height: 1.1; }
.kpi .k-sub { font-size: 12px; color: var(--text-soft); margin-top: 5px; }
.kpi.accent { border-left: 3px solid var(--gold); }
.kpi.warn .k-value { color: var(--amber); }
.kpi.bad  .k-value { color: var(--red); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  overflow: hidden;
}
.card-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.card-head h2 { margin: 0; font-size: 15px; font-weight: 700; }
.card-head .sub { font-size: 12px; color: var(--text-faint); }
.card-head .spacer { flex: 1; }
.card-body { padding: 16px 18px; }

.chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
@media (min-width: 900px) {
  .chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.chart-box { position: relative; height: 280px; }

/* ---------- Tables ------------------------------------------------------ */

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th {
  text-align: left;
  padding: 10px 12px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--text-soft);
  white-space: nowrap;
  position: sticky; top: 0;
}
thead th.sortable { cursor: pointer; user-select: none; }
thead th.sortable:hover { color: var(--navy); }
thead th .arrow { color: var(--gold); }
tbody td { padding: 10px 12px; border-bottom: 1px solid #eef1f6; white-space: nowrap; }
tbody tr:hover { background: #fafbfe; }
tbody tr.flag-over { background: #fff8f0; }
tbody tr.flag-over:hover { background: #fff2e2; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tfoot td {
  padding: 11px 12px;
  border-top: 2px solid var(--border);
  font-weight: 700;
  background: var(--surface-alt);
}

.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: #eef2f9;
  color: var(--navy);
}
.pill.gold  { background: #fbf3dc; color: #7a5c11; }
.pill.green { background: #e6f5ed; color: var(--green); }
.pill.red   { background: #fdecea; color: var(--red); }
.pill.grey  { background: #eef0f4; color: var(--text-soft); }

.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-faint);
  font-size: 13.5px;
}

.bar-track {
  height: 8px;
  background: #eaeef5;
  border-radius: 5px;
  overflow: hidden;
  min-width: 90px;
}
.bar-fill { height: 100%; border-radius: 5px; }

.tank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.tank-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 16px;
  background: var(--surface);
}
.tank-card h3 { margin: 0 0 3px; font-size: 14.5px; }
.tank-card .meta { font-size: 12px; color: var(--text-faint); margin-bottom: 12px; }
.tank-card .lvl { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; }
.tank-card .lvl strong { font-size: 14px; }

/* ---------- Loading ----------------------------------------------------- */

.loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 70px 20px; color: var(--text-soft);
}
.spinner {
  width: 30px; height: 30px;
  border: 3px solid #dde3ed;
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive -------------------------------------------------- */

@media (max-width: 900px) {
  .chart-box { height: 240px; }
}

@media (max-width: 720px) {
  body { overflow-x: hidden; }

  .container { padding: 12px 12px 60px; }
  .topbar { padding: 0 12px; gap: 8px; height: 54px; }
  .topbar-brand { font-size: 14px; }
  .topbar-user { font-size: 11px; min-width: 0; }
  .topbar-user em { display: none; }
  .topbar-user strong {
    font-size: 12px;
    max-width: 96px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .topbar button { padding: 6px 10px; font-size: 11.5px; }
  .tabs { top: 54px; padding: 0 8px; }
  .tab { padding: 12px 11px; font-size: 13px; }

  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 13px 14px; }
  .kpi .k-value { font-size: 19px; }
  .kpi .k-label { font-size: 10px; }
  .kpi .k-sub { font-size: 11px; }

  .filters { padding: 12px; gap: 10px; }
  .filters .fgroup { flex: 1 1 46%; min-width: 0; }
  .filters select, .filters input { min-width: 0; width: 100%; }
  .filters .spacer { display: none; }

  .card-head { padding: 12px 14px; flex-wrap: wrap; gap: 6px; }
  .card-head h2 { font-size: 14px; }
  .card-body { padding: 12px 14px; }
  .chart-box { height: 230px; }

  /* Tables become stacked cards — no sideways scrolling, everything labelled. */
  .mb-hide { display: none !important; }

  .table-wrap { overflow-x: visible; }
  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tfoot,
  .table-wrap tr,
  .table-wrap td { display: block; width: 100%; }
  .table-wrap thead { display: none; }

  .table-wrap tbody tr {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin: 0 0 10px;
    padding: 4px 2px;
    background: var(--surface);
  }
  .table-wrap tbody tr.flag-over { background: #fff8f0; }
  .table-wrap tbody td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 7px 12px;
    border: none;
    white-space: normal;
    text-align: right;
    font-size: 13.5px;
  }
  .table-wrap tbody td::before {
    content: attr(data-label);
    color: var(--text-faint);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    text-align: left;
    flex: 0 0 42%;
  }
  .table-wrap tbody td:first-child {
    background: var(--surface-alt);
    border-radius: 6px 6px 0 0;
    font-weight: 700;
    padding-top: 9px; padding-bottom: 9px;
  }
  .table-wrap tfoot tr {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-alt);
  }
  .table-wrap tfoot td { padding: 8px 12px; border: none; }

  .tank-grid { grid-template-columns: 1fr; }
  .emp-wrap { padding: 18px 14px 130px; }
  .emp-greeting { font-size: 23px; }
  .fab { right: 14px; bottom: 18px; padding: 15px 22px; font-size: 15px; }
}

/* ---------- Print ------------------------------------------------------- */

@media print {
  .topbar, .tabs, .filters, .no-print, .chart-grid { display: none !important; }
  body { background: #fff; }
  .container { max-width: none; padding: 0; }
  .card { box-shadow: none; border: 1px solid #ccc; page-break-inside: avoid; }
  thead th { background: #eee !important; -webkit-print-color-adjust: exact; }
  .print-only { display: block !important; }
}
.print-only { display: none; }
