html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

:root {
  --tk-ink: #17211f;
  --tk-muted: #69746f;
  --tk-bg: #f3f6f2;
  --tk-surface: #ffffff;
  --tk-line: #dce4dc;
  --tk-sidebar: #14362f;
  --tk-sidebar-2: #1f4b41;
  --tk-sidebar-text: #eaf3ee;
  --tk-sidebar-muted: #a8c1b8;
  --tk-accent: #c46a3d;
  --tk-accent-dark: #9f4e2b;
  --tk-teal: #28786f;
  --tk-danger: #b83a46;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--tk-bg);
  color: var(--tk-ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

a {
  color: var(--tk-teal);
}

a:hover {
  color: var(--tk-accent-dark);
}

.btn-primary {
  --bs-btn-bg: var(--tk-teal);
  --bs-btn-border-color: var(--tk-teal);
  --bs-btn-hover-bg: #1f625a;
  --bs-btn-hover-border-color: #1f625a;
  --bs-btn-active-bg: #1a554e;
  --bs-btn-active-border-color: #1a554e;
}

.btn-outline-primary {
  --bs-btn-color: var(--tk-teal);
  --bs-btn-border-color: var(--tk-teal);
  --bs-btn-hover-bg: var(--tk-teal);
  --bs-btn-hover-border-color: var(--tk-teal);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.app-shell {
  padding: 0;
}

.app-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--tk-accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.app-heading h1 {
  margin-bottom: 16px;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.1;
}

.app-heading .lead {
  max-width: 680px;
  color: var(--tk-muted);
}

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

.status-card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--tk-line);
  border-radius: 8px;
  background: var(--tk-surface);
  box-shadow: 0 14px 32px rgba(20, 54, 47, 0.06);
}

.status-label {
  display: block;
  margin-bottom: 14px;
  color: var(--tk-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.status-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--tk-ink);
  font-size: 1.35rem;
}

.status-card p {
  margin-bottom: 0;
  color: var(--tk-muted);
}

.public-navbar {
  border-bottom: 1px solid var(--tk-line);
  background: rgba(255, 255, 255, 0.94);
}

.public-navbar .nav-link {
  color: var(--tk-ink);
}

.public-content {
  padding-bottom: 64px;
}

.privacy-page {
  max-width: 880px;
  margin: 48px auto 0;
  padding: 32px;
  border: 1px solid var(--tk-line);
  border-radius: 16px;
  background: var(--tk-surface);
}

.privacy-page section + section {
  margin-top: 28px;
}

.privacy-page h2 {
  font-size: 1.25rem;
  font-weight: 750;
}

.privacy-page p,
.privacy-page li {
  color: var(--tk-muted);
  line-height: 1.7;
}

.public-footer {
  padding: 18px 0;
  border-top: 1px solid var(--tk-line);
  color: var(--tk-muted);
}

.public-landing {
  padding-top: 48px;
}

.public-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--tk-line);
  border-radius: 28px;
  background: #f8f8f1;
  box-shadow: 0 28px 70px rgba(20, 54, 47, 0.12);
}

.public-hero-copy {
  position: relative;
  z-index: 2;
  padding: 64px 24px 64px 64px;
}

.public-hero-copy h1 {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--tk-sidebar);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.public-hero-lead {
  max-width: 590px;
  margin-bottom: 30px;
  color: #55635e;
  font-size: 1.15rem;
  line-height: 1.7;
}

.public-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.public-hero-actions .btn {
  min-width: 150px;
  border-radius: 10px;
  font-weight: 700;
}

.mobile-app-promo {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 650px;
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid rgba(40, 120, 111, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.mobile-app-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.mobile-app-copy strong {
  color: var(--tk-sidebar);
  font-size: 1rem;
  font-weight: 800;
}

.mobile-app-copy span {
  color: #55635e;
  font-size: 0.94rem;
  line-height: 1.5;
}

.google-play-badge {
  display: inline-flex;
  flex: 0 0 auto;
  width: 174px;
  text-decoration: none;
}

.google-play-badge img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px;
  box-shadow: 0 10px 22px rgba(20, 54, 47, 0.18);
}

.google-play-badge:hover img {
  filter: brightness(1.08);
}

.public-hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--tk-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.public-check {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #d9ece5;
  color: var(--tk-teal);
  font-weight: 800;
}

.public-hero-visual {
  align-self: stretch;
  min-height: 560px;
  overflow: hidden;
}

.public-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.public-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.public-benefit-card {
  padding: 30px;
  border: 1px solid var(--tk-line);
  border-radius: 18px;
  background: var(--tk-surface);
}

.public-benefit-number {
  display: block;
  margin-bottom: 24px;
  color: var(--tk-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.public-benefit-card h2 {
  margin-bottom: 12px;
  color: var(--tk-sidebar);
  font-size: 1.25rem;
  font-weight: 750;
}

.public-benefit-card p {
  margin: 0;
  color: var(--tk-muted);
  line-height: 1.65;
}

.app-body {
  min-height: 100vh;
  overflow-x: hidden;
}

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

.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 18px;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--tk-sidebar), var(--tk-sidebar-2));
  color: var(--tk-sidebar-text);
}

.sidebar-brand {
  padding: 4px 6px 22px;
  border-bottom: 1px solid rgba(234, 243, 238, 0.14);
}

.sidebar-brand a {
  display: block;
  overflow: hidden;
  color: var(--tk-sidebar-text);
  font-size: 1.35rem;
  font-weight: 800;
  text-overflow: ellipsis;
  text-decoration: none;
  white-space: nowrap;
}

.sidebar-brand span {
  display: block;
  overflow: hidden;
  color: var(--tk-sidebar-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-sidebar-brand {
  min-width: 0;
}

.mobile-sidebar-brand .offcanvas-title,
.mobile-sidebar-brand span {
  display: block;
  overflow: hidden;
  max-width: 220px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-sidebar-brand span {
  color: var(--tk-sidebar-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.sidebar-nav {
  padding-top: 18px;
}

.menu-group {
  margin-bottom: 8px;
}

.menu-toggle {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tk-sidebar-text);
  font-weight: 700;
  text-align: left;
}

.menu-toggle:hover,
.menu-toggle:not(.collapsed) {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle::after {
  float: right;
  content: "+";
  color: var(--tk-sidebar-muted);
}

.menu-toggle:not(.collapsed)::after {
  content: "-";
}

.menu-link {
  display: block;
  min-height: 38px;
  margin: 4px 0 4px 10px;
  padding: 8px 12px;
  border-left: 2px solid rgba(196, 106, 61, 0.65);
  color: var(--tk-sidebar-text);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.menu-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.menu-link.disabled {
  color: rgba(234, 243, 238, 0.48);
  cursor: default;
  pointer-events: none;
}

.menu-link.danger {
  border-left-color: #ef8d8d;
  color: #ffd9d9;
}

.app-main {
  min-width: 0;
  background: var(--tk-bg);
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 28px;
  border-bottom: 1px solid var(--tk-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.topbar-title span {
  color: var(--tk-ink);
  font-size: 1rem;
  font-weight: 800;
}

.company-selector {
  min-width: min(360px, 44vw);
}

.company-selector .form-select {
  border-color: var(--tk-line);
  color: var(--tk-ink);
  font-weight: 800;
}

.company-name {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--tk-ink);
  font-weight: 800;
}

.account-button,
.sidebar-open {
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--tk-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--tk-ink);
  font-weight: 700;
}

.sidebar-open {
  display: none;
}

.app-content {
  padding: 32px;
}

.mobile-sidebar {
  background: var(--tk-sidebar);
  color: var(--tk-sidebar-text);
}

.page-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.page-heading h1 {
  margin-bottom: 10px;
  font-size: 2.15rem;
  font-weight: 800;
}

.page-heading p:last-child {
  margin-bottom: 0;
  color: var(--tk-muted);
}

.worklog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  margin-bottom: 28px;
}

.worklog-card,
.worklog-history {
  padding: 24px;
  border: 1px solid var(--tk-line);
  border-radius: 8px;
  background: var(--tk-surface);
  box-shadow: 0 14px 32px rgba(20, 54, 47, 0.06);
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.card-heading span {
  color: var(--tk-muted);
  font-weight: 700;
}

.card-heading strong {
  color: var(--tk-ink);
  font-size: 1.25rem;
}

.muted-card p {
  margin-bottom: 0;
  color: var(--tk-muted);
}

.worklog-form {
  max-width: 420px;
}

.open-shift {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px 16px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 8px;
  background: #eef5f0;
}

.open-shift span {
  color: var(--tk-muted);
  font-weight: 700;
}

.open-shift strong {
  color: var(--tk-ink);
}

.section-title {
  margin-bottom: 14px;
}

.section-title h2 {
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.worklog-table {
  margin-bottom: 0;
  vertical-align: middle;
}

.worklog-table th {
  color: var(--tk-muted);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-pill.open {
  background: #fff1df;
  color: var(--tk-accent-dark);
}

.status-pill.closed {
  background: #e7f4ef;
  color: var(--tk-teal);
}

.status-pill.neutral {
  background: #eef2ee;
  color: var(--tk-muted);
}

.status-pill.rejected {
  background: #fde5e9;
  color: var(--tk-danger);
}

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

.mobile-phone-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.mobile-phone-option {
  margin: 0;
  padding: 16px 16px 16px 42px;
  border: 1px solid var(--tk-line);
  border-radius: 8px;
  background: var(--tk-bg);
  cursor: pointer;
  font-weight: 700;
}

.inline-form {
  display: inline;
}

.table-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.employee-table td {
  white-space: nowrap;
}

.operations-cell {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.admin-section-heading {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--tk-line);
}

.admin-section-heading h2 {
  margin-bottom: 16px;
  color: var(--tk-ink);
  font-size: 1.2rem;
  font-weight: 800;
}
.admin-search-form {
  display: grid;
  grid-template-columns: minmax(120px, 180px) auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-search-actions {
  padding-bottom: 1px;
}

.archive-search-form {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(220px, 360px) minmax(220px, auto);
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}

.archive-search-form .admin-search-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.archive-main-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.archive-upsert-button {
  margin-left: auto;
}

.archive-table td {
  white-space: nowrap;
}

.timesheet-status-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.timesheet-status-toolbar 
.admin-search-form {
  margin-bottom: 0;
}

.timesheet-status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.timesheet-status-swatch {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 3px;
}

.timesheet-status-swatch.worked,
.timesheet-status-table .worked {
  background: #d1e7dd;
}

.timesheet-status-swatch.missing,
.timesheet-status-table .missing {
  background: #f8d7da;
}

.timesheet-status-swatch.leave,
.timesheet-status-table .leave {
  background: #fff3cd;
}

.timesheet-status-swatch.leave-cm,
.timesheet-status-table .leave-cm {
  background: #dc3545;
  color: #ffffff;
}

.timesheet-status-scroll {
  max-height: calc(100vh - 300px);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.timesheet-status-table {
  width: max-content;
  min-width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.86rem;
}

.timesheet-status-table th,
.timesheet-status-table td {
  min-width: 42px;
  height: 42px;
  padding: 7px 6px;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: center;
  vertical-align: middle;
}

.timesheet-status-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #f8fafc;
  white-space: nowrap;
}

.timesheet-status-table thead .weekday-row th {
  top: 42px;
  height: 34px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.timesheet-status-table .employee-column {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 220px;
  max-width: 280px;
  background: #fff;
  text-align: left;
  white-space: nowrap;
}

.timesheet-status-table thead .employee-column {
  z-index: 4;
  background: #f8fafc;
}

.timesheet-status-table .total-column {
  position: sticky;
  right: 0;
  z-index: 2;
  min-width: 86px;
  background: #e9eef5;
  font-weight: 700;
}

.timesheet-status-table thead .total-column {
  z-index: 4;
}

.timesheet-status-table .day-cell {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.leave-request-card {
  margin-bottom: 28px;
}

.leave-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 260px)) auto;
  align-items: end;
  gap: 16px;
}

.leave-form-actions {
  padding-bottom: 1px;
}

.medical-leave-form {
  grid-template-columns: repeat(4, minmax(150px, 230px));
}

.medical-leave-actions {
  display: flex;
  gap: 8px;
  grid-column: 1 / -1;
}

.firebase-test-card {
  max-width: 720px;
}

.firebase-test-form {
  display: grid;
  gap: 18px;
}

.leave-table td {
  white-space: nowrap;
}

.leave-table .leave-reason {
  min-width: 180px;
  max-width: 320px;
  white-space: normal;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: 18px;
}

.dashboard-card {
  padding: 24px;
  border: 1px solid var(--tk-line);
  border-radius: 8px;
  background: var(--tk-surface);
  box-shadow: 0 14px 32px rgba(20, 54, 47, 0.06);
}

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

.calendar-weekdays {
  margin-bottom: 8px;
}

.calendar-weekdays span {
  color: var(--tk-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  position: relative;
  min-height: 82px;
  padding: 10px;
  border: 1px solid var(--tk-line);
  border-radius: 8px;
  background: #ffffff;
}

.calendar-day span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--tk-ink);
  font-weight: 800;
}

.calendar-day strong {
  position: absolute;
  right: 9px;
  bottom: 8px;
  min-width: 46px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--tk-ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.calendar-day.outside {
  background: #eef2ee;
  opacity: 0.45;
}

.calendar-day.sunday {
  background: #e6e9e7;
}

.calendar-day.worked {
  background: #c8f3c8;
  border-color: #9bdda0;
}

.calendar-day.missing {
  background: #ffd8e0;
  border-color: #f3a8b8;
}

.calendar-day.vacation {
  background: #fff2a8;
  border-color: #e5cf64;
}

.calendar-day.medical {
  background: #f6a0a0;
  border-color: #d66f73;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  color: var(--tk-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.legend-dot.worked {
  background: #9bdda0;
}

.legend-dot.missing {
  background: #f3a8b8;
}

.legend-dot.sunday {
  background: #cfd5d1;
}

.legend-dot.vacation {
  background: #e5cf64;
}

.legend-dot.medical {
  background: #d66f73;
}

.summary-list {
  display: grid;
  gap: 14px;
}

.summary-item {
  padding: 18px;
  border: 1px solid var(--tk-line);
  border-radius: 8px;
  background: #f8faf7;
}

.summary-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--tk-muted);
  font-weight: 700;
}

.summary-item strong {
  display: block;
  color: var(--tk-ink);
  font-size: 2rem;
  line-height: 1;
}

.auth-panel {
  max-width: 560px;
  padding: 36px 0 56px;
}

.auth-header {
  margin-bottom: 24px;
}

.auth-header h1 {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 700;
}

.auth-header p {
  margin-bottom: 0;
  color: var(--tk-muted);
}

.auth-form {
  padding: 24px;
  border: 1px solid var(--tk-line);
  border-radius: 8px;
  background: var(--tk-surface);
  box-shadow: 0 14px 32px rgba(20, 54, 47, 0.06);
}

.auth-help {
  margin-top: 18px;
}

.auth-help a {
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 991px) {
  .public-hero {
    grid-template-columns: 1fr;
  }

  .public-hero-copy {
    padding: 52px;
  }

  .public-hero-visual {
    min-height: 420px;
  }

  .public-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .app-layout {
    display: block;
  }

  .app-sidebar {
    display: none;
  }

  .app-topbar {
    padding: 0 16px;
  }

  .sidebar-open {
    display: inline-flex;
    align-items: center;
  }

  .app-content {
    padding: 22px 16px;
  }

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

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

  .leave-form {
    grid-template-columns: 1fr;
  }
.admin-search-form {
    grid-template-columns: 1fr;
  }

  .archive-search-form {
    grid-template-columns: 1fr;
  }

  .timesheet-status-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .timesheet-status-table .employee-column {
    min-width: 170px;
    max-width: 210px;
  }

  .leave-form-actions {
    padding-bottom: 0;
  }

  .admin-search-actions {
    padding-bottom: 0;
  }

  .archive-search-form .admin-search-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .archive-main-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .archive-upsert-button {
    margin-left: 0;
  }

  .calendar-day {
    min-height: 54px;
    padding: 6px;
  }

  .calendar-day span {
    width: 26px;
    height: 26px;
  }

  .col-email {
    display: none;
  }

  .app-shell {
    padding: 32px 0;
  }

  .app-heading h1 {
    font-size: 2rem;
  }

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

  .public-landing {
    padding-top: 24px;
  }

  .public-hero {
    min-height: 0;
    border-radius: 20px;
  }

  .public-hero-copy {
    padding: 38px 24px;
  }

  .public-hero-copy h1 {
    font-size: 2.75rem;
  }

  .public-hero-lead {
    font-size: 1rem;
  }

  .public-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .public-hero-actions .btn {
    width: 100%;
  }

  .mobile-app-promo {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .google-play-badge {
    width: 174px;
    max-width: 100%;
  }

  .public-hero-visual {
    min-height: 300px;
  }

  .public-benefit-card {
    padding: 24px;
  }
}
