* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background: #f5f3ef; color: #1f2933; }
.app { max-width: 1180px; margin: 0 auto; padding: 18px; }
.topbar { background: #111827; color: #fff; border-radius: 18px; padding: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.brand { font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.subtitle { opacity: .75; margin-top: 4px; }
nav { display: flex; gap: 8px; flex-wrap: wrap; }
nav a { color: #fff; text-decoration: none; background: rgba(255,255,255,.12); padding: 10px 12px; border-radius: 12px; }
.content { padding: 20px 4px; }
h1 { margin: 10px 0 18px; font-size: 30px; }
h2 { margin-top: 0; }
.card { background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.06); margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { font-size: 34px; font-weight: 800; margin-top: 8px; }
label { display: block; font-weight: 700; margin-top: 12px; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid #d1d5db; border-radius: 12px; margin-top: 6px; font-size: 16px; }
textarea { min-height: 110px; resize: vertical; }
button, .button { display: inline-block; border: 0; background: #111827; color: #fff; padding: 12px 16px; border-radius: 12px; font-weight: 700; cursor: pointer; text-decoration: none; margin-top: 14px; }
.button.smallbtn, button.smallbtn { padding: 8px 10px; border-radius: 10px; margin: 2px 2px 2px 0; font-size: 13px; }
.secondary { background: #6b7280; }
.danger { background: #991b1b; }
.greenbtn { background: #166534; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; }
th, td { padding: 12px; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: top; }
th { background: #f9fafb; font-weight: 800; }
.badge { display: inline-block; padding: 5px 9px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #e5e7eb; white-space: nowrap; }
.badge.green { background: #dcfce7; color: #166534; }
.badge.yellow { background: #fef3c7; color: #92400e; }
.badge.red { background: #fee2e2; color: #991b1b; }
.notice { background: #ecfdf5; border: 1px solid #86efac; padding: 12px; border-radius: 12px; margin-bottom: 16px; }
.login-wrap { max-width: 420px; margin: 8vh auto; }
.small { color: #6b7280; font-size: 14px; }
.actions { white-space: nowrap; }
hr { border: 0; border-top: 1px solid #e5e7eb; margin: 18px 0; }
@media (max-width: 760px) { .topbar { display: block; } nav { margin-top: 14px; } nav a { flex: 1; text-align: center; } table { font-size: 14px; display: block; overflow-x: auto; } th, td { padding: 9px; } .two { grid-template-columns: 1fr; } }
.highlight { border: 2px solid #111827; }

/* v10 mobile and narrow desktop fixes */
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.booking-table { min-width: 980px; }
.booking-table th, .booking-table td { white-space: normal; }
.booking-table .actions { min-width: 360px; white-space: normal; }
.booking-table .actions form { display: inline-block !important; margin: 0; }
.booking-table .actions .smallbtn { margin: 3px 2px; }
.card { overflow: hidden; }
pre { white-space: pre-wrap; word-break: break-word; }
@media (max-width: 980px) {
  .app { padding: 10px; }
  .topbar { border-radius: 14px; padding: 14px; }
  .brand { font-size: 20px; }
  nav { gap: 6px; }
  nav a { padding: 10px 9px; font-size: 14px; }
  h1 { font-size: 26px; }
  .card { padding: 14px; border-radius: 16px; }
  .booking-table-wrap { overflow: visible; }
  .booking-table { min-width: 0; width: 100%; display: block; background: transparent; }
  .booking-table tbody, .booking-table tr, .booking-table td { display: block; width: 100%; }
  .booking-table tr:first-child { display: none; }
  .booking-table tr { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 12px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.04); }
  .booking-table td { border: 0; padding: 8px 0; display: grid; grid-template-columns: 105px 1fr; gap: 10px; align-items: start; }
  .booking-table td::before { content: attr(data-label); font-weight: 800; color: #6b7280; }
  .booking-table td.actions { display: block; min-width: 0; }
  .booking-table td.actions::before { display: block; margin-bottom: 8px; }
  .booking-table .actions a,
  .booking-table .actions form,
  .booking-table .actions button { width: 100%; display: block !important; }
  .booking-table .actions .smallbtn { width: 100%; text-align: center; margin: 4px 0; }
}
@media (max-width: 640px) {
  body { background: #f5f3ef; }
  .app { padding: 8px; }
  .topbar { margin: 0; }
  nav a { flex: 1 1 calc(50% - 6px); }
  .two { grid-template-columns: 1fr; gap: 0; }
  input, select, textarea { font-size: 16px; }
  .booking-table td { grid-template-columns: 92px 1fr; }
}

/* v11 layout fix: no right side overflow on bookings and logs */
html, body { max-width: 100%; overflow-x: hidden; }
.app { width: 100%; }
.card { max-width: 100%; }
.table-scroll { max-width: 100%; overflow-x: auto; }

.booking-table { width: 100%; min-width: 0; table-layout: fixed; }
.booking-table th:nth-child(1), .booking-table td:nth-child(1) { width: 42px; }
.booking-table th:nth-child(2), .booking-table td:nth-child(2) { width: 130px; }
.booking-table th:nth-child(3), .booking-table td:nth-child(3) { width: 95px; }
.booking-table th:nth-child(4), .booking-table td:nth-child(4) { width: 120px; }
.booking-table th:nth-child(5), .booking-table td:nth-child(5) { width: 82px; }
.booking-table th:nth-child(6), .booking-table td:nth-child(6) { width: 100px; }
.booking-table th:nth-child(7), .booking-table td:nth-child(7) { width: 78px; }
.booking-table th:nth-child(8), .booking-table td:nth-child(8) { width: 86px; }
.booking-table th:nth-child(9), .booking-table td:nth-child(9) { width: 78px; }
.booking-table th:nth-child(10), .booking-table td:nth-child(10) { width: 260px; }
.booking-table td { overflow-wrap: anywhere; word-break: break-word; }
.booking-table .actions { min-width: 0; white-space: normal; }
.action-grid { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; max-width: 100%; }
.action-grid form { display: block !important; margin: 0; }
.action-grid .button,
.action-grid button { margin: 0; white-space: nowrap; }
.action-grid .smallbtn { padding: 7px 9px; font-size: 12px; line-height: 1.15; }

.log-table { width: 100%; table-layout: fixed; }
.log-table th:nth-child(1), .log-table td:nth-child(1) { width: 115px; }
.log-table th:nth-child(2), .log-table td:nth-child(2) { width: 155px; }
.log-table th:nth-child(3), .log-table td:nth-child(3) { width: 95px; }
.log-table th:nth-child(4), .log-table td:nth-child(4) { width: 125px; }
.log-table th:nth-child(5), .log-table td:nth-child(5) { width: auto; }
.log-table td { overflow-wrap: anywhere; word-break: break-word; }
.log-details summary { cursor: pointer; font-weight: 800; color: #111827; }
.log-details pre { margin: 10px 0 0; max-height: 220px; overflow: auto; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px; font-size: 12px; line-height: 1.35; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }

@media (max-width: 1180px) {
  .app { max-width: 100%; padding: 14px; }
  .booking-table { min-width: 940px; table-layout: fixed; }
  .table-scroll { overflow-x: auto; }
}

@media (max-width: 760px) {
  table.responsive-table { display: block; overflow: visible; background: transparent; }
  table.responsive-table tbody,
  table.responsive-table tr,
  table.responsive-table td { display: block; width: 100%; }
  table.responsive-table tr:first-child { display: none; }
  table.responsive-table tr { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 12px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.04); }
  table.responsive-table td { border: 0; padding: 8px 0; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: start; }
  table.responsive-table td::before { content: attr(data-label); font-weight: 800; color: #6b7280; }
  table.responsive-table td.actions { display: block; }
  table.responsive-table td.actions::before { display: block; margin-bottom: 8px; }
  .booking-table { min-width: 0; }
  .action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .action-grid .button,
  .action-grid button,
  .action-grid form { width: 100%; }
  .action-grid .smallbtn { width: 100%; text-align: center; }
  .log-table { min-width: 0; }
  .log-details pre { max-height: 180px; }
}

@media (max-width: 420px) {
  .action-grid { grid-template-columns: 1fr; }
}

/* v13 Vipps payment columns */
.booking-table th:nth-child(5), .booking-table td:nth-child(5) { width: 82px; }
.booking-table th:nth-child(6), .booking-table td:nth-child(6) { width: 82px; }
.booking-table th:nth-child(7), .booking-table td:nth-child(7) { width: 92px; }
.booking-table th:nth-child(8), .booking-table td:nth-child(8) { width: 100px; }
.booking-table th:nth-child(9), .booking-table td:nth-child(9) { width: 78px; }
.booking-table th:nth-child(10), .booking-table td:nth-child(10) { width: 86px; }
.booking-table th:nth-child(11), .booking-table td:nth-child(11) { width: 78px; }
.booking-table th:nth-child(12), .booking-table td:nth-child(12) { width: 300px; }
.payment-link-box { word-break: break-all; }

/* v14 users and staff app */
.checkline { display: flex; gap: 10px; align-items: center; font-weight: 800; }
.checkline input { width: auto; }
.staff-hero { background: #111827; color: #fff; border-radius: 22px; padding: 20px; margin-bottom: 18px; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.staff-hero h2 { margin: 0 0 6px; }
.staff-hero p { margin: 0; color: #d1d5db; }
.staff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.staff-card, .room-tile { background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 10px 26px rgba(0,0,0,.06); border: 1px solid #eef0f3; }
.staff-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.staff-room { font-size: 22px; font-weight: 900; color: #111827; }
.staff-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.staff-info > div { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 14px; padding: 10px; }
.staff-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.staff-actions form { margin: 0; }
.bigbtn { display: block; width: 100%; border: 0; border-radius: 14px; padding: 13px 12px; font-weight: 900; text-align: center; text-decoration: none; color: #fff; background: #111827; cursor: pointer; }
.bigbtn.open { background: #166534; }
.bigbtn.phone { background: #2563eb; }
.bigbtn.secondary { background: #6b7280; }
.staff-room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.room-tile form { margin-top: 12px; }
@media (max-width: 980px) {
  .staff-grid { grid-template-columns: 1fr; }
  .staff-room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .staff-info { grid-template-columns: 1fr; }
  .staff-actions { grid-template-columns: 1fr; }
  .staff-room-grid { grid-template-columns: 1fr; }
  .staff-room { font-size: 20px; }
  .bigbtn { font-size: 16px; padding: 15px 12px; }
}

/* v15 staff remote lock controls */
.bigbtn.lock { background: #991b1b; }
.room-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.room-actions form { margin: 0; }
@media (max-width: 640px) {
  .room-actions { grid-template-columns: 1fr; }
}

/* v16 staff app without housekeeping */
.staff-app-shell { padding-bottom: 28px; }
.staff-hero-app { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.staff-date { background: rgba(255,255,255,.12); border-radius: 14px; padding: 10px 12px; font-weight: 900; white-space: nowrap; }
.staff-quick-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.staff-stat-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 16px; text-decoration: none; color: #111827; box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.staff-stat-card span { display: block; font-size: 32px; font-weight: 900; line-height: 1; }
.staff-stat-card small { display: block; margin-top: 8px; color: #6b7280; font-weight: 800; }
.staff-section { margin: 22px 0; }
.staff-section-title { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.staff-section-title h2 { margin: 0; }
.staff-section-title span { color: #6b7280; font-weight: 800; }
.staff-grid-app { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.staff-card-app { position: relative; overflow: hidden; }
.staff-card-app.needs-attention { border-color: #fbbf24; box-shadow: 0 10px 26px rgba(245, 158, 11, .14); }
.staff-guest-name { font-size: 18px; font-weight: 900; margin-top: 3px; }
.staff-status-stack { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.staff-info-app { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.staff-info-app > div { min-width: 0; overflow-wrap: anywhere; }
.staff-actions-app { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.staff-mini-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.staff-mini-info > div { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 14px; padding: 10px; }
.staff-room-grid-app { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.room-tile-app { min-width: 0; }
.staff-empty { color: #6b7280; font-weight: 800; }
@media (max-width: 980px) {
  .staff-hero-app { align-items: flex-start; }
  .staff-quick-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-grid-app { grid-template-columns: 1fr; }
  .staff-info-app { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-actions-app { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-room-grid-app { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .staff-hero-app { display: block; }
  .staff-date { display: inline-block; margin-top: 12px; }
  .staff-quick-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .staff-stat-card { padding: 13px; border-radius: 16px; }
  .staff-stat-card span { font-size: 28px; }
  .staff-section-title { display: block; }
  .staff-section-title span { display: block; margin-top: 4px; }
  .staff-card-top { display: block; }
  .staff-status-stack { justify-content: flex-start; margin-top: 10px; }
  .staff-info-app { grid-template-columns: 1fr; }
  .staff-actions-app { grid-template-columns: 1fr; }
  .staff-room-grid-app { grid-template-columns: 1fr; }
  .staff-card-app, .room-tile-app { border-radius: 18px; padding: 14px; }
}

/* v17 staff app compact foldable room cards + version footer */
.version-footer {
  margin-top: 28px;
  padding: 16px 4px 6px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
  border-top: 1px solid #e5e7eb;
}
.version-footer strong { color: #374151; }
.version-footer span { color: #6b7280; }

.staff-grid-app {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.staff-room-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.045);
  overflow: hidden;
}
.staff-room-card.needs-attention {
  border-color: #fbbf24;
  box-shadow: 0 10px 26px rgba(245, 158, 11, .14);
}
.staff-room-card[open] {
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}
.staff-room-summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  min-height: 76px;
}
.staff-room-summary::-webkit-details-marker { display: none; }
.staff-summary-main { min-width: 0; }
.staff-room-line {
  font-size: 19px;
  line-height: 1.1;
  font-weight: 950;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.staff-guest-line {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 850;
  color: #374151;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.staff-time-line {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 800;
  color: #6b7280;
}
.staff-summary-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.staff-summary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}
.staff-open-hint {
  font-size: 11px;
  font-weight: 900;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.staff-room-card[open] .staff-open-hint::before { content: 'Luk '; }
.staff-room-card:not([open]) .staff-open-hint::before { content: ''; }
.staff-room-details {
  border-top: 1px solid #eef0f3;
  padding: 12px 14px 14px;
  background: #fbfcfd;
}
.staff-info-compact {
  margin: 0 0 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.staff-actions-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.staff-actions-compact .bigbtn {
  min-height: 48px;
}

@media (max-width: 760px) {
  .staff-room-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    min-height: 68px;
    padding: 12px;
  }
  .staff-summary-side {
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
  }
  .staff-summary-badges { justify-content: flex-start; }
  .staff-room-line { font-size: 18px; }
  .staff-info-compact { grid-template-columns: 1fr; }
  .staff-actions-compact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 430px) {
  .staff-actions-compact { grid-template-columns: 1fr; }
}


/* v18 personaleapp UX oprydning */
.staff-hero-compact {
  padding: 16px;
  border-radius: 18px;
  margin-bottom: 12px;
}
.staff-hero-compact h2 {
  font-size: 22px;
  margin-bottom: 4px;
}
.staff-hero-compact p {
  font-size: 14px;
}
.staff-section-title-compact {
  align-items: center;
  margin-bottom: 8px;
}
.staff-section-title-compact h2 {
  font-size: 20px;
}
.bigbtn,
.staff-actions-compact .bigbtn,
a.bigbtn,
button.bigbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  line-height: 1.15;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}
.staff-actions-compact form {
  margin: 0;
  display: flex;
}
.staff-actions-compact {
  align-items: stretch;
}
.door-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
}
.door-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 8px 8px 8px 13px;
  box-shadow: 0 6px 18px rgba(0,0,0,.045);
  min-width: 0;
}
.door-chip-main {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}
.door-chip-main strong {
  font-size: 14px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111827;
}
.door-chip-main small {
  flex: 0 0 auto;
  color: #6b7280;
  font-weight: 900;
  font-size: 11px;
}
.door-chip-actions {
  display: flex;
  gap: 5px;
  flex: 0 0 auto;
}
.door-chip-actions form { margin: 0; }
.chipbtn {
  border: 0;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 11px;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}
.chipbtn.open { background: #166534; }
.chipbtn.lock { background: #991b1b; }

@media (max-width: 520px) {
  .door-chip-grid { grid-template-columns: 1fr; }
  .door-chip {
    border-radius: 18px;
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 10px;
  }
  .door-chip-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .chipbtn { width: 100%; min-height: 38px; }
}


/* v18.3: Kun de fire statuskort øverst i personaleappen */
.staff-premium-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.staff-premium-stat,
.staff-stat-card.staff-premium-stat {
  min-height: 116px;
  padding: 14px 13px 13px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  border: 1px solid rgba(17, 24, 39, .075);
  box-shadow: 0 12px 28px rgba(17, 24, 39, .07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.staff-premium-stat:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(17, 24, 39, .09);
}
.staff-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 18px rgba(17,24,39,.14);
}
.staff-premium-stat-arrivals .staff-stat-icon { background: #1f2937; }
.staff-premium-stat-staying .staff-stat-icon { background: #d19a22; }
.staff-premium-stat-departures .staff-stat-icon { background: #2f6b4f; }
.staff-premium-stat-doors .staff-stat-icon { background: #6d5aa8; }
.staff-premium-stat .staff-stat-number,
.staff-stat-card.staff-premium-stat .staff-stat-number {
  display: block;
  font-size: 30px;
  font-weight: 950;
  line-height: .95;
  letter-spacing: -.04em;
  color: #111827;
  margin-top: 2px;
}
.staff-premium-stat small,
.staff-stat-card.staff-premium-stat small {
  margin: 0;
  display: block;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: .01em;
  color: #6b7280;
}
@media (max-width: 640px) {
  .staff-premium-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }
  .staff-premium-stat,
  .staff-stat-card.staff-premium-stat {
    min-height: 94px;
    padding: 10px 8px;
    border-radius: 18px;
    align-items: center;
    text-align: center;
  }
  .staff-stat-icon {
    width: 34px;
    height: 34px;
  }
  .staff-stat-icon svg {
    width: 18px;
    height: 18px;
  }
  .staff-premium-stat .staff-stat-number,
  .staff-stat-card.staff-premium-stat .staff-stat-number {
    font-size: 25px;
  }
  .staff-premium-stat small,
  .staff-stat-card.staff-premium-stat small {
    font-size: 10.5px;
    letter-spacing: -.01em;
  }
}
