:root {
  --bg: #e8eff5;
  --surface: #ffffff;
  --surface-2: #e6f0f7;
  --ink: #10283a;
  --muted: #52697a;
  --line: #b4c5d1;
  --line-strong: #8ea7b8;
  --accent: #07517d;
  --accent-dark: #063d5f;
  --blue: #0a5c8f;
  --brand-red: #c9282d;
  --good: #15803d;
  --warn: #c75d12;
  --danger: #b91c1c;
  --section-header-bg: #edf5fa;
  --section-header-bg-strong: #dfeaf2;
  --section-header-border: #9fb6c6;
  --section-accent: #07517d;
  --section-accent-soft: rgba(7, 81, 125, 0.12);
  --scroll-surface: #f8fbfd;
  --shadow: 0 13px 32px rgba(16, 40, 58, 0.13);
  --shadow-soft: 0 5px 14px rgba(16, 40, 58, 0.08);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(232, 239, 245, 0.96)),
    linear-gradient(135deg, rgba(7, 81, 125, 0.12), transparent 32rem),
    linear-gradient(315deg, rgba(201, 40, 45, 0.08), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

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

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line-strong);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 18rem;
  gap: 0.9rem;
}

.brand-logo {
  display: block;
  width: clamp(7rem, 14vw, 12rem);
  height: 3.1rem;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: var(--radius);
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--brand-red));
}

.brand h1 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.brand p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.nav button,
.ghost-button,
.plain-button {
  min-height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.72rem;
  color: var(--ink);
  background: var(--surface);
  white-space: nowrap;
}

.nav button.active,
.primary-button {
  border-color: var(--accent);
  color: white;
  background: var(--accent);
}

.nav button:hover,
.ghost-button:hover,
.plain-button:hover {
  border-color: #b9c7c1;
}

.main {
  width: min(1480px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
}

.grid {
  display: grid;
  gap: 1.15rem;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1fr) 23rem;
  align-items: start;
}

.admin-grid,
.settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kiosk-hero {
  display: grid;
  grid-template-columns: minmax(22rem, 0.55fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  min-height: calc(100vh - 8rem);
}

.clock-panel,
.kiosk-pin {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.clock-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(1.25rem, 4vw, 3.5rem);
  text-align: center;
}

.kiosk-status-panel {
  align-content: start;
  justify-items: stretch;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.6rem);
  text-align: left;
}

.kiosk-clock-strip {
  display: grid;
  grid-template-columns: minmax(8rem, 16rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.kiosk-logo {
  width: min(30rem, 84%);
  height: auto;
  margin-bottom: clamp(1rem, 4vh, 2rem);
}

.kiosk-status-panel .kiosk-logo {
  width: min(15rem, 100%);
  margin: 0;
}

.kiosk-time-block {
  min-width: 0;
  text-align: right;
}

.live-clock {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.16em;
  width: 100%;
  color: var(--accent);
  font-size: clamp(4.2rem, 14vw, 11rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 0.95;
  white-space: nowrap;
}

.clock-digits {
  flex: 0 0 auto;
  min-width: 7.8ch;
  text-align: right;
}

.clock-period {
  flex: 0 0 1.7em;
  text-align: left;
}

.kiosk-status-panel .live-clock {
  font-size: clamp(2.8rem, 5.9vw, 5.15rem);
}

.live-date {
  margin-top: 0.8rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 800;
}

.kiosk-status-panel .live-date {
  font-size: clamp(0.98rem, 1.8vw, 1.25rem);
}

.time-source {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.server-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 1.8rem;
  margin-top: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.24rem 0.65rem;
  color: var(--muted);
  background: #f8fbfd;
  font-size: 0.8rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-status.good {
  border-color: #9fd0b0;
  color: #166534;
  background: #f0fdf4;
}

.server-status.bad {
  border-color: #f1b8b8;
  color: #991b1b;
  background: #fff1f2;
}

.kiosk-counts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: clamp(1.1rem, 3vh, 2rem);
}

.kiosk-status-panel .kiosk-counts {
  justify-content: flex-end;
  margin-top: 0;
}

.kiosk-counts span {
  flex: 0 0 auto;
  min-width: 4.6rem;
  min-height: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: var(--muted);
  background: #f8fbfd;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.punch-result {
  width: 100%;
  border: 1px solid #9fd0b0;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: #14532d;
  background: #f0fdf4;
}

.punch-result.error {
  border-color: #f1b8b8;
  color: #991b1b;
  background: #fff1f2;
}

.punch-result strong,
.punch-result span {
  display: block;
}

.punch-result strong {
  font-size: 1.05rem;
}

.punch-result span {
  margin-top: 0.2rem;
  color: inherit;
  opacity: 0.78;
  font-size: 0.86rem;
}

.kiosk-pin {
  display: grid;
  align-content: center;
  align-self: stretch;
}

.kiosk-pin .panel {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.punch-processing .panel-body,
.punch-splash .panel-body {
  display: grid;
  min-height: 22rem;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.punch-processing strong {
  color: var(--accent);
  font-size: clamp(2rem, 6vw, 4.5rem);
}

.punch-splash {
  border: 0.3rem solid #15803d;
  background: #f0fdf4;
}

.punch-splash.clock-out {
  border-color: #1d4ed8;
  background: #eff6ff;
}

.punch-splash strong {
  color: #166534;
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.punch-splash.clock-out strong {
  color: #1d4ed8;
}

.punch-splash span {
  color: var(--ink);
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  font-weight: 800;
}

.punch-splash time {
  color: var(--muted);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  font-weight: 900;
}

.kiosk-people {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.75rem;
  background: #f8fbfd;
}

.kiosk-people-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.45rem;
}

.kiosk-person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.55rem;
  background: #ffffff;
}

.kiosk-person.in {
  border-color: #a7d6b7;
  background: #f0fdf4;
}

.kiosk-person.break {
  border-color: #fed7aa;
  background: #fff7ed;
}

.kiosk-person.more {
  border-style: dashed;
  color: var(--muted);
}

.kiosk-person strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kiosk-person span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.85rem 1.2rem;
  border-bottom: 1px solid var(--section-header-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), transparent 70%),
    linear-gradient(90deg, var(--section-header-bg-strong), var(--section-header-bg));
}

.panel-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.28rem;
  background: var(--section-accent);
}

.panel-header > div:first-child {
  min-width: 0;
}

.panel-header h2,
.panel-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  font-weight: 900;
  line-height: 1.18;
}

.panel-header p {
  max-width: 62rem;
  margin: 0.22rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.35;
}

.panel-body {
  padding: 1rem;
}

.stat {
  border-left: 0.28rem solid var(--section-accent);
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 251, 253, 0.94)),
    var(--surface);
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stat strong {
  display: block;
  margin-top: 0.28rem;
  font-size: clamp(1.4rem, 4vw, 2.15rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-height: 1em;
}

.stat small {
  display: block;
  margin-top: 0.42rem;
  color: var(--muted);
}

.department {
  margin-top: 1rem;
}

.department:first-child {
  margin-top: 0;
}

.department-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
  border: 1px solid var(--line);
  border-left: 0.25rem solid var(--section-accent);
  border-radius: var(--radius);
  padding: 0.45rem 0.62rem;
  color: var(--ink);
  background: var(--section-header-bg);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.department-title span {
  min-width: 0;
}

.department-title span:last-child {
  flex: 0 0 auto;
  white-space: nowrap;
}

.schedule-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(10rem, 1fr));
  gap: 0.75rem;
}

.schedule-day {
  min-height: 15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.schedule-day-head {
  display: grid;
  gap: 0.15rem;
  border-bottom: 1px solid var(--section-header-border);
  border-left: 0.25rem solid var(--section-accent);
  padding: 0.75rem 0.75rem 0.75rem 0.62rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), transparent 75%),
    var(--section-header-bg);
}

.schedule-day-head strong {
  color: var(--accent);
}

.schedule-day-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.schedule-day-body {
  display: grid;
  gap: 0.5rem;
  padding: 0.65rem;
}

.schedule-pill {
  display: grid;
  gap: 0.15rem;
  border: 1px solid var(--shift-border, #c4d3de);
  border-left: 0.34rem solid var(--shift-color, var(--accent));
  border-radius: var(--radius);
  padding: 0.55rem;
  background: linear-gradient(180deg, var(--shift-bg-strong, #edf6fb), var(--shift-bg, #f8fbfd));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.schedule-pill.open {
  border-color: var(--shift-border, #e4b6bc);
  box-shadow:
    inset 0 0 0 1px rgba(199, 41, 47, 0.12),
    0 0 0 1px rgba(199, 41, 47, 0.08);
}

.schedule-pill.open strong {
  color: var(--brand-red);
}

.schedule-pill.shift-7-3 {
  --shift-color: #0b6e99;
  --shift-border: rgba(11, 110, 153, 0.72);
  --shift-bg: rgba(11, 110, 153, 0.2);
  --shift-bg-strong: rgba(11, 110, 153, 0.32);
}

.schedule-pill.shift-11-7-day {
  --shift-color: #7a558c;
  --shift-border: rgba(122, 85, 140, 0.72);
  --shift-bg: rgba(122, 85, 140, 0.2);
  --shift-bg-strong: rgba(122, 85, 140, 0.32);
}

.schedule-pill.shift-3-11 {
  --shift-color: #b36b00;
  --shift-border: rgba(179, 107, 0, 0.72);
  --shift-bg: rgba(179, 107, 0, 0.2);
  --shift-bg-strong: rgba(179, 107, 0, 0.32);
}

.schedule-pill.shift-11-7 {
  --shift-color: #4b6176;
  --shift-border: rgba(75, 97, 118, 0.72);
  --shift-bg: rgba(75, 97, 118, 0.2);
  --shift-bg-strong: rgba(75, 97, 118, 0.32);
}

.schedule-pill.shift-custom {
  --shift-color: #2d7a5f;
  --shift-border: rgba(45, 122, 95, 0.72);
  --shift-bg: rgba(45, 122, 95, 0.2);
  --shift-bg-strong: rgba(45, 122, 95, 0.32);
}

.schedule-pill strong {
  overflow-wrap: anywhere;
  font-size: 0.88rem;
}

.schedule-pill span,
.schedule-pill small {
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-schedule-panel {
  grid-column: 1 / -1;
}

.schedule-builder {
  display: grid;
  grid-template-columns: minmax(13rem, 0.22fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.employee-tray {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #f8fbfd;
  overflow: hidden;
}

.employee-chip-list {
  display: grid;
  gap: 0.45rem;
  max-height: 32rem;
  overflow: auto;
  padding: 0.65rem;
  background:
    linear-gradient(var(--scroll-surface), var(--scroll-surface)) padding-box,
    linear-gradient(180deg, rgba(16, 40, 58, 0.08), transparent 1.4rem, transparent calc(100% - 1.4rem), rgba(16, 40, 58, 0.08)) border-box;
  scrollbar-color: var(--line-strong) var(--scroll-surface);
  scrollbar-width: thin;
}

.employee-chip {
  display: grid;
  gap: 0.15rem;
  width: 100%;
  border: 1px solid #c4d3de;
  border-left: 0.24rem solid var(--section-accent);
  border-radius: var(--radius);
  padding: 0.55rem 0.55rem 0.55rem 0.48rem;
  text-align: left;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  cursor: grab;
}

.employee-chip span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-schedule-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(9rem, 1fr));
  gap: 0.75rem;
}

.admin-day {
  min-height: 20rem;
}

.admin-schedule-pill {
  grid-template-columns: minmax(0, 1fr);
}

.admin-schedule-pill.drop-ready {
  outline: 3px solid rgba(199, 41, 47, 0.28);
  background: linear-gradient(180deg, rgba(199, 41, 47, 0.18), var(--shift-bg-strong, #fffafa));
}

.schedule-pill-actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.employee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.75rem;
}

.task-list {
  display: grid;
  gap: 0.75rem;
  max-height: 38rem;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.75rem;
  background:
    linear-gradient(var(--scroll-surface), var(--scroll-surface)) padding-box,
    linear-gradient(180deg, rgba(16, 40, 58, 0.08), transparent 1.4rem, transparent calc(100% - 1.4rem), rgba(16, 40, 58, 0.08)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -0.75rem 1.2rem rgba(16, 40, 58, 0.05);
  scrollbar-color: var(--line-strong) var(--scroll-surface);
  scrollbar-width: thin;
}

.person-card {
  min-height: 10.8rem;
  border: 1px solid var(--line-strong);
  border-left-width: 0.32rem;
  border-radius: var(--radius);
  padding: 0.85rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.person-card.in {
  border-left-color: var(--good);
}

.person-card.break {
  border-left-color: var(--warn);
}

.person-card.out {
  border-left-color: #9aa7a1;
}

.person-card.alert {
  box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.18);
}

.timecard-review-card {
  display: grid;
  gap: 0.7rem;
}

.timecard-review-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timecard-review-note,
.audit-detail-card,
.audit-timeline-event {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  background: #f8fbfc;
}

.timecard-review-note p,
.audit-detail-card p,
.audit-timeline-event p {
  margin: 0.25rem 0;
}

.timecard-review-details {
  border-top: 1px solid var(--line);
  padding-top: 0.55rem;
}

.inline-timecard-drawer {
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--section-header-border);
  border-left: 0.32rem solid var(--section-accent);
  border-radius: var(--radius);
  padding: 0.75rem;
  background: #f4f8fb;
}

.timecard-review-details summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 800;
}

.audit-detail-card {
  margin-top: 0.6rem;
}

.audit-timeline {
  display: grid;
  gap: 0.65rem;
}

.audit-timeline-event {
  display: grid;
  gap: 0.55rem;
}

.audit-timeline-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
}

.audit-timeline-head time {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.audit-timeline-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.technical-details {
  border-top: 1px solid var(--line);
  padding-top: 0.45rem;
}

.technical-details summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 800;
}

.audit-detail-card code,
.technical-details code {
  display: block;
  max-height: 9rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.person-head {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: var(--radius);
  color: white;
  font-weight: 800;
  background: #334155;
}

.person-card.in .avatar {
  background: var(--good);
}

.person-card.break .avatar {
  background: var(--warn);
}

.person-main {
  min-width: 0;
  flex: 1;
}

.person-main strong {
  display: block;
  overflow-wrap: anywhere;
}

.person-main small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.65rem;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 3.7rem;
  white-space: nowrap;
}

.status-pill.in,
.tag.good {
  color: #0f5132;
  background: #dcfce7;
}

.status-pill.break,
.tag.warn {
  color: #7c2d12;
  background: #ffedd5;
}

.status-pill.out,
.tag.neutral {
  color: #475569;
  background: #e2e8f0;
}

.tag.danger {
  color: #7f1d1d;
  background: #fee2e2;
}

.mini-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 0.85rem 0 0;
}

.mini-meta div {
  min-width: 0;
}

.mini-meta dt {
  color: var(--muted);
  font-size: 0.72rem;
}

.mini-meta dd {
  margin: 0.18rem 0 0;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pin-station {
  position: sticky;
  top: 5.25rem;
}

.pin-display {
  width: 100%;
  height: 3.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1rem;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.28rem;
  background: var(--surface-2);
}

.pin-mask {
  -webkit-text-security: disc;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.keypad button {
  min-height: 3.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  background: var(--surface);
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.action-row > .primary-button:only-child {
  grid-column: 1 / -1;
}

.primary-button,
.secondary-button,
.danger-button {
  min-height: 2.75rem;
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
  font-weight: 800;
}

.secondary-button {
  border: 1px solid #bad5cf;
  color: var(--accent-dark);
  background: #e8f2f7;
}

.time-correction-callout {
  width: min(100%, 30rem);
  margin-top: 0.85rem;
}

.time-correction-button {
  display: flex;
  width: 100%;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #9fc0d4;
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  color: var(--accent-dark);
  text-align: left;
  background: #edf6fb;
  box-shadow: 0 2px 7px rgba(7, 81, 125, 0.08);
}

.time-correction-button:hover {
  border-color: var(--accent);
  background: #e3f1f8;
}

.time-correction-button:focus-visible {
  outline: 3px solid rgba(7, 81, 125, 0.22);
  outline-offset: 2px;
}

.time-correction-button-copy {
  display: grid;
  gap: 0.12rem;
}

.time-correction-button-copy strong {
  font-size: 0.95rem;
}

.time-correction-button-copy span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.time-correction-button-arrow {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 800;
}

.danger-button {
  color: white;
  background: var(--brand-red);
}

.system-status-layout {
  max-width: 72rem;
  margin: 0 auto;
}

.system-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
}

.system-status-grid > div {
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--scroll-surface);
}

.system-status-grid > .wide {
  grid-column: 1 / -1;
}

.system-status-grid dt {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.system-status-grid dd {
  margin: 0;
}

.system-status-grid code {
  overflow-wrap: anywhere;
}

.alerts {
  display: grid;
  gap: 0.6rem;
}

.alert-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
  background: #fffaf0;
}

.alert-row.high {
  background: #fff1f2;
}

.alert-dot {
  width: 0.62rem;
  height: 0.62rem;
  margin-top: 0.28rem;
  border-radius: 999px;
  background: var(--warn);
}

.alert-row.high .alert-dot {
  background: var(--danger);
}

.alert-row strong {
  display: block;
  font-size: 0.9rem;
}

.alert-row span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.employee-profile {
  margin-top: 1rem;
}

.break-ledger {
  margin-top: 1rem;
}

.balance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.balance-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.8rem;
  background: var(--surface);
}

.balance-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.balance-card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.35rem;
}

.meter {
  height: 0.52rem;
  margin-top: 0.7rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.meter div {
  width: min(100%, var(--value, 0%));
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--brand-red));
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.32rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.55rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.6rem 0.68rem;
  color: var(--ink);
  background: var(--surface);
}

.field input[type="color"] {
  padding: 0.22rem;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 700;
}

.checkbox-field input {
  width: 1rem;
  height: 1rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.employee-admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.inactive-row {
  color: var(--muted);
  background: #f8fbfd;
}

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

.request-panel-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.request-filter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0.85rem;
}

.request-list-scroll {
  max-height: 34rem;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(180deg, rgba(16, 40, 58, 0.08), transparent 1.4rem, transparent calc(100% - 1.4rem), rgba(16, 40, 58, 0.08)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -0.75rem 1.2rem rgba(16, 40, 58, 0.05);
  scrollbar-color: var(--line-strong) #ffffff;
  scrollbar-width: thin;
}

.request-list-scroll .table-wrap {
  min-width: 100%;
}

.request-list-scroll table {
  min-width: 58rem;
}

.request-list-scroll th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--section-header-bg-strong);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

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

th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #eaf2f7;
}

td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.report-toolbar {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(12rem, 0.7fr) auto;
  gap: 0.75rem;
  align-items: end;
}

.report-card {
  margin-top: 1rem;
}

.available-open-shifts {
  border: 2px solid rgba(180, 83, 9, 0.42);
  background: linear-gradient(135deg, #fff8e8, #fffdf7 58%, #f5fbff);
  box-shadow: 0 0.9rem 2.2rem rgba(180, 83, 9, 0.12);
}

.available-open-shifts .panel-header {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), rgba(14, 116, 144, 0.1));
}

.available-open-shifts .table-actions {
  margin-top: 0;
}

.available-open-shifts table td:last-child {
  min-width: 24rem;
}

.report-detail-list {
  margin-top: 1rem;
}

.employee-report-detail {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.employee-report-detail + .employee-report-detail {
  margin-top: 0.55rem;
}

.employee-report-detail summary {
  display: grid;
  grid-template-columns: minmax(12rem, 1.2fr) minmax(8rem, 0.8fr) repeat(5, minmax(5.8rem, 0.6fr)) minmax(5rem, auto);
  gap: 0.65rem;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.68rem 0.85rem;
  cursor: pointer;
  list-style: none;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  background: #f8fbfd;
}

.employee-report-detail summary::-webkit-details-marker {
  display: none;
}

.employee-report-detail summary::before {
  content: "+";
  color: var(--accent);
  font-weight: 900;
}

.employee-report-detail[open] summary::before {
  content: "-";
}

.employee-report-detail summary {
  grid-template-columns: 1.25rem minmax(12rem, 1.2fr) minmax(8rem, 0.8fr) repeat(5, minmax(5.8rem, 0.6fr)) minmax(5rem, auto);
}

.detail-name {
  color: var(--ink);
  font-size: 0.95rem;
}

.payroll-summary {
  margin-top: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.payroll-summary .department-title {
  margin: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 1px solid var(--section-header-border);
  border-left-width: 0.28rem;
  border-radius: 0;
  padding: 0.72rem 0.85rem;
  background: var(--section-header-bg);
}

.payroll-table th {
  background: #dfeaf1;
}

.payroll-table td {
  background: #ffffff;
}

.payroll-table tbody tr:nth-child(even) td {
  background: #f8fbfd;
}

.payroll-print-summary {
  display: none;
}

.payroll-print-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.24rem;
}

.payroll-print-header h1 {
  margin: 0;
  font-size: 1rem;
}

.payroll-print-header p,
.payroll-print-header span {
  display: block;
  margin: 0.08rem 0 0;
  color: var(--muted);
}

.payroll-print-note-line {
  font-weight: 800;
}

.payroll-print-warning,
.missing-payroll-number {
  color: #9a3412;
  font-weight: 800;
}

.payroll-print-department {
  margin-top: 0.28rem;
  break-inside: avoid;
  page-break-inside: avoid;
}

.payroll-print-department h2,
.payroll-print-comments h2 {
  margin: 0;
  border: 1px solid #111;
  border-bottom: 0;
  padding: 0.1rem 0.18rem;
  color: #111;
  background: #e7eef8;
  font-size: 0.68rem;
}

.payroll-print-table,
.payroll-print-bonus-table {
  width: 100%;
  border-collapse: collapse;
  color: #111;
  background: white;
  font-size: 0.58rem;
}

.payroll-print-table {
  table-layout: fixed;
}

.payroll-col-name {
  width: 22%;
}

.payroll-col-emp {
  width: 6%;
}

.payroll-col-hour {
  width: 4.6%;
}

.payroll-col-pw-county {
  width: 7.5%;
}

.payroll-col-pw-rate {
  width: 5.5%;
}

.payroll-col-total {
  width: 5%;
}

.payroll-print-table th,
.payroll-print-table td,
.payroll-print-bonus-table th,
.payroll-print-bonus-table td {
  border: 1px solid #111;
  padding: 0.08rem 0.12rem;
  vertical-align: middle;
}

.payroll-print-table th,
.payroll-print-bonus-table th {
  background: #f2f2f2;
  font-weight: 800;
  white-space: nowrap;
}

.payroll-print-table th {
  text-align: center;
}

.payroll-print-table td:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.payroll-print-table td:nth-child(2) {
  white-space: nowrap;
}

.payroll-print-table .num,
.payroll-print-bonus-table .num {
  text-align: right;
}

.payroll-print-comments {
  margin-top: 0.36rem;
  break-inside: avoid;
  page-break-inside: avoid;
}

.payroll-print-bonus-row td {
  background: #fff36d;
}

.payroll-print-note {
  margin: 0.35rem 0 0;
  border: 1px solid #111;
  padding: 0.25rem;
  background: #fffdf0;
}

.pay-period-review {
  margin-top: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.55rem;
  padding: 0.85rem 1rem 0;
}

.review-check {
  margin: 0;
}

.pay-cell {
  color: var(--accent);
  font-size: 1.02rem;
  font-weight: 900;
}

.pay-cell.overtime {
  color: var(--brand-red);
}

.status-banner {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #f4f8fb;
  color: var(--ink);
  font-weight: 800;
}

.status-banner.good {
  border-color: rgba(24, 128, 73, 0.35);
  background: #eaf7ef;
  color: #12643b;
}

.status-banner.warn {
  border-color: rgba(179, 107, 0, 0.35);
  background: #fff7e8;
  color: #8a5200;
}

.totp-enrollment {
  align-items: center;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  margin: 1rem 0;
}

.totp-qr {
  background: #fff;
  border: 1px solid #d5d9df;
  border-radius: 6px;
  padding: 0.6rem;
}

.totp-qr img {
  display: block;
  height: min(16rem, 68vw);
  image-rendering: pixelated;
  width: min(16rem, 68vw);
}

.totp-manual {
  max-width: 24rem;
  width: 100%;
}

.totp-manual summary {
  color: #42526b;
  cursor: pointer;
  font-size: 0.9rem;
}

.payroll-detail-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 1.4fr) minmax(16rem, 1fr) minmax(16rem, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.payroll-detail-grid h3 {
  margin: 0.4rem 0 0.55rem;
  color: var(--ink);
  font-size: 0.88rem;
}

.compact-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.compact-list li + li {
  margin-top: 0.35rem;
}

.report-total-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(135deg, #ffffff, #eef6fa);
}

.report-total-panel span,
.report-employee-total span,
.report-employee-total dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.report-total-panel strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--accent);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.report-total-panel small {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
}

.report-total-meta {
  display: grid;
  gap: 0.4rem;
  text-align: right;
}

.report-employee-total {
  display: grid;
  grid-template-columns: minmax(10rem, 0.55fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line-strong);
  background: #eef5f9;
}

.report-employee-total strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--accent);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.report-employee-total dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
}

.report-employee-total dd {
  margin: 0.18rem 0 0;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.compact-input {
  width: min(13rem, 100%);
  min-height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.55rem;
  background: var(--surface);
}

.table-actions {
  flex-wrap: nowrap;
  margin-top: 0;
}

.week-label {
  font-weight: 800;
}

.daily-row td {
  color: var(--muted);
  background: #fbfcfb;
}

.login-card {
  width: min(30rem, 100%);
  margin: 4rem auto;
}

.toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: grid;
  gap: 0.55rem;
  width: min(24rem, calc(100% - 2rem));
}

.toast {
  border: 1px solid var(--line);
  border-left: 0.32rem solid var(--accent);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.warning {
  border-left-color: var(--warn);
}

.empty {
  margin: 0;
  color: var(--muted);
}

.subtle {
  color: var(--muted);
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .kiosk-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .kiosk-clock-strip {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .kiosk-time-block,
  .kiosk-status-panel .kiosk-counts {
    text-align: center;
    justify-content: center;
  }

  .dashboard-grid,
  .admin-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .pin-station {
    position: static;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .system-status-grid {
    grid-template-columns: 1fr;
  }

  .system-status-grid > .wide {
    grid-column: auto;
  }

  .topbar {
    position: sticky;
    align-items: stretch;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.45rem 0.55rem;
  }

  .brand {
    min-width: 0;
    justify-content: center;
    gap: 0.45rem;
  }

  .brand h1 {
    font-size: 0.88rem;
  }

  .brand p {
    display: none;
  }

  .nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    gap: 0.35rem;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav button {
    flex: 0 0 auto;
    min-height: 2rem;
    padding: 0.38rem 0.52rem;
    font-size: 0.78rem;
  }

  .brand-logo {
    width: 7.6rem;
    height: 2.2rem;
  }

  .main {
    width: min(100% - 0.7rem, 1480px);
    padding: 0.45rem 0 0.6rem;
  }

  .kiosk-hero {
    min-height: calc(100svh - 6.25rem);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.45rem;
  }

  .kiosk-pin .panel-header {
    display: none;
  }

  .panel-header {
    gap: 0.6rem;
    padding: 0.78rem 0.72rem 0.66rem 0.95rem;
  }

  .panel-header::before {
    width: 0.22rem;
  }

  .panel-header h2,
  .panel-header h3 {
    font-size: 0.98rem;
  }

  .panel-header p {
    font-size: 0.74rem;
  }

  .kiosk-pin .panel-body,
  .kiosk-status-panel {
    padding: 0.55rem;
  }

  .kiosk-status-panel {
    gap: 0.45rem;
  }

  .kiosk-status-panel .kiosk-logo,
  .time-source {
    display: none;
  }

  .pin-display {
    height: 2.65rem;
    font-size: 1.45rem;
  }

  .keypad {
    gap: 0.35rem;
    margin-top: 0.45rem;
  }

  .keypad button {
    min-height: clamp(2rem, 7svh, 2.55rem);
    font-size: 0.95rem;
  }

  .action-row {
    gap: 0.4rem;
    margin-top: 0.45rem;
  }

  .primary-button,
  .secondary-button,
  .danger-button {
    min-height: 2.35rem;
    padding: 0.52rem 0.65rem;
  }

  .kiosk-status-panel .live-clock {
    font-size: clamp(1.9rem, 10.5vw, 3rem);
    justify-content: center;
  }

  .kiosk-status-panel .live-date {
    margin-top: 0.18rem;
    font-size: 0.82rem;
  }

  .server-status {
    min-height: 1.5rem;
    margin-top: 0.25rem;
    padding: 0.16rem 0.45rem;
    font-size: 0.68rem;
  }

  .kiosk-counts {
    gap: 0.3rem;
  }

  .kiosk-counts span {
    min-height: 1.55rem;
    padding: 0.18rem 0.42rem;
    font-size: 0.72rem;
  }

  .kiosk-people {
    padding: 0.45rem;
  }

  .kiosk-people .department-title {
    margin-bottom: 0.35rem;
    font-size: 0.68rem;
  }

  .kiosk-people-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .kiosk-person {
    min-height: 1.8rem;
    padding: 0.25rem 0.4rem;
    font-size: 0.75rem;
  }

  .kiosk-person span {
    font-size: 0.68rem;
  }

  .summary-grid,
  .balance-grid,
  .form-grid,
  .form-grid.three,
  .request-filter-grid,
  .report-toolbar,
  .report-total-panel,
  .report-employee-total,
  .action-row {
    grid-template-columns: 1fr;
  }

  .report-total-panel {
    display: grid;
  }

  .report-total-meta {
    text-align: left;
  }

  .report-employee-total dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timecard-review-meta {
    grid-template-columns: 1fr;
  }

  .audit-timeline-meta {
    grid-template-columns: 1fr;
  }

  .employee-report-detail summary {
    grid-template-columns: 1.25rem 1fr;
  }

  .employee-report-detail summary span:not(.detail-name):not(.tag) {
    display: none;
  }

  .employee-grid {
    grid-template-columns: 1fr;
  }

  .schedule-calendar {
    grid-template-columns: 1fr;
  }

  .schedule-builder,
  .admin-schedule-calendar {
    grid-template-columns: 1fr;
  }

  .employee-admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media print {
  @page {
    size: letter landscape;
    margin: 0.35in;
  }

  body {
    background: white;
  }

  .topbar,
  .pin-station,
  .panel-header,
  .report-toolbar,
  .report-detail-list,
  .payroll-summary,
  .pay-period-review,
  .button-row,
  .toast-stack {
    display: none !important;
  }

  .main {
    width: 100%;
    padding: 0;
  }

  .panel {
    box-shadow: none;
    break-inside: avoid;
  }

  .payroll-print-summary {
    display: none !important;
  }

  body.payroll-pdf-mode .payroll-print-summary {
    display: block !important;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 7.2pt;
    line-height: 1.12;
  }

  body.payroll-pdf-mode .panel-body > :not(.payroll-print-summary) {
    display: none !important;
  }

  body.payroll-pdf-mode .report-card {
    border: 0;
    box-shadow: none;
  }

  body.payroll-pdf-mode .panel-body {
    padding: 0;
  }

  .payroll-print-summary thead {
    display: table-header-group;
  }

  .payroll-print-summary tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .payroll-print-header h1 {
    font-size: 11pt;
  }

  .payroll-print-table,
  .payroll-print-bonus-table {
    font-size: 6.8pt;
  }

  .payroll-print-table th,
  .payroll-print-table td,
  .payroll-print-bonus-table th,
  .payroll-print-bonus-table td {
    border-width: 0.5pt;
    padding: 1.2pt 1.8pt;
    line-height: 1.1;
  }

  table {
    font-size: 0.68rem;
  }

  th,
  td {
    padding: 0.28rem;
  }
}
