:root {
  --ink: #10231c;
  --muted: #62736c;
  --paper: #f5f4ed;
  --card: #fffefa;
  --green: #10a66a;
  --green-dark: #087a4c;
  --green-pale: #d9f4e7;
  --red: #ba3b3b;
  --line: #dce2dc;
  --shadow: 0 22px 60px rgba(10, 35, 26, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background: #071813;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1.65fr) minmax(360px, 0.75fr);
}

.map-wrap {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background:
    linear-gradient(rgba(7, 24, 19, 0.18), rgba(7, 24, 19, 0.18)),
    #dce6dd;
}

#map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.brand {
  position: absolute;
  z-index: 500;
  top: max(22px, env(safe-area-inset-top));
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.92);
  box-shadow: 0 10px 25px rgba(10, 35, 26, 0.16);
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.brand-mark {
  width: 13px;
  height: 13px;
  border: 3px solid var(--green);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.control-panel {
  position: relative;
  z-index: 600;
  display: flex;
  min-height: 100dvh;
  align-items: center;
  padding: 48px clamp(28px, 4vw, 64px);
  background:
    radial-gradient(circle at 100% 0%, rgba(16, 166, 106, 0.11), transparent 34%),
    var(--paper);
}

.view {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 5vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.intro {
  max-width: 46ch;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.primary-button,
.secondary-button,
.danger-button {
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  font-weight: 750;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  background: var(--green);
  color: white;
  box-shadow: 0 12px 25px rgba(16, 166, 106, 0.24);
}

.primary-button:hover,
.secondary-button:hover,
.danger-button:hover {
  transform: translateY(-1px);
}

.primary-button:hover {
  background: var(--green-dark);
}

.button-icon {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.privacy-note {
  margin: 16px 0 0;
  color: #7d8984;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.setup-form {
  display: grid;
  gap: 12px;
}

.setup-form label,
.admin-links label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.setup-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 16px;
  background: var(--card);
  color: var(--ink);
  outline: none;
}

.setup-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 166, 106, 0.11);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.84rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  box-shadow: 0 0 0 4px rgba(16, 166, 106, 0.14);
}

.status-pill.connecting {
  background: #eeeadd;
  color: #806d31;
}

.status-pill.offline {
  background: #f5dddd;
  color: var(--red);
}

.share-card {
  margin: 28px 0 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 10px 35px rgba(10, 35, 26, 0.06);
}

.share-card label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.share-input {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
}

.share-input input {
  min-width: 0;
  flex: 1;
  padding: 13px;
  border: 0;
  outline: none;
  color: var(--muted);
}

.share-input button {
  border: 0;
  border-left: 1px solid var(--line);
  padding: 0 17px;
  background: white;
  color: var(--green-dark);
  font-weight: 750;
}

.secondary-button {
  margin-top: 11px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.telemetry {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.4fr;
  gap: 1px;
  overflow: hidden;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.telemetry div {
  min-width: 0;
  padding: 16px;
  background: var(--card);
}

.telemetry dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
}

.telemetry dd {
  overflow: hidden;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.danger-button {
  border: 1px solid #e4bebe;
  background: transparent;
  color: var(--red);
}

.setup-card {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 10px 35px rgba(10, 35, 26, 0.06);
}

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

.setup-card input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 14px;
  outline: none;
  background: white;
  color: var(--ink);
}

.setup-card input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 166, 106, 0.12);
}

.sos-button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 92px;
  place-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #c83434;
  box-shadow: 0 12px 30px rgba(186, 59, 59, 0.24);
  color: white;
  text-align: center;
  touch-action: none;
}

.sos-button::before {
  position: absolute;
  inset: 0;
  width: 0;
  background: #8e1e1e;
  content: "";
}

.sos-button.holding::before {
  width: 100%;
  transition: width 2s linear;
}

.sos-button strong,
.sos-button span {
  position: relative;
  z-index: 1;
}

.sos-button strong {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.sos-button span {
  margin-top: 5px;
  font-size: 0.76rem;
  opacity: 0.82;
}

.sos-button.active {
  background: #8e1e1e;
  animation: sos-button-pulse 1.5s ease-in-out infinite;
}

.sos-button + .danger-button,
.sos-button ~ .secondary-button {
  margin-top: 12px;
}

.map-placeholder {
  position: absolute;
  z-index: 400;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 18px;
  background:
    linear-gradient(rgba(230, 237, 230, 0.84), rgba(230, 237, 230, 0.84)),
    repeating-linear-gradient(45deg, #d4dfd4 0 1px, transparent 1px 24px);
  color: #52665e;
  text-align: center;
  transition: opacity 300ms ease;
}

.map-placeholder.ready {
  pointer-events: none;
  opacity: 0;
}

.radar {
  position: relative;
  width: 90px;
  height: 90px;
  margin: auto;
  border: 1px solid rgba(16, 166, 106, 0.25);
  border-radius: 50%;
}

.radar::before,
.radar::after {
  position: absolute;
  border: 1px solid rgba(16, 166, 106, 0.25);
  border-radius: 50%;
  content: "";
}

.radar::before {
  inset: 15px;
}

.radar::after {
  inset: 32px;
  background: var(--green);
}

.radar span {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(16, 166, 106, 0.35), transparent 28%);
  animation: sweep 1.8s linear infinite;
}

.map-button {
  position: absolute;
  z-index: 500;
  right: 18px;
  bottom: 28px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 17px;
  background: var(--card);
  box-shadow: 0 8px 20px rgba(10, 35, 26, 0.2);
  color: var(--ink);
  font-weight: 750;
}

.toast {
  position: fixed;
  z-index: 1000;
  bottom: 24px;
  left: 50%;
  padding: 11px 17px;
  border-radius: 999px;
  background: #10231c;
  color: white;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.error-eyebrow {
  color: var(--red);
}

.leaflet-control-attribution {
  font-size: 10px;
}

.position-marker {
  width: 28px;
  height: 28px;
  border: 5px solid white;
  border-radius: 50%;
  background: var(--green);
  box-shadow:
    0 0 0 2px var(--green),
    0 5px 14px rgba(10, 35, 26, 0.36);
}

.admin-shell {
  grid-template-columns: minmax(0, 1.45fr) minmax(480px, 0.95fr);
}

.admin-shell .control-panel {
  align-items: flex-start;
  overflow-y: auto;
  padding: 34px clamp(24px, 3vw, 48px);
}

.admin-view {
  max-width: 680px;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.admin-header h1 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 4vw, 4.4rem);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 18px;
}

.stat-card {
  display: flex;
  min-height: 126px;
  flex-direction: column;
  justify-content: space-between;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--muted);
}

.stat-card strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.35rem;
  font-weight: 500;
  line-height: 0.9;
}

.active-stat {
  border-color: #a8dfc5;
  background: var(--green-pale);
  color: var(--green-dark);
}

.active-stat strong {
  color: var(--green-dark);
}

.admin-links {
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
}

.admin-links summary {
  padding: 16px 18px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
}

.admin-links[open] {
  padding: 0 18px 18px;
}

.admin-links[open] summary {
  margin: 0 -18px 16px;
  border-bottom: 1px solid var(--line);
}

.admin-links label {
  display: block;
  margin: 16px 0 8px;
}

.roster-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.roster-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.roster-heading span {
  color: var(--muted);
  font-size: 0.82rem;
}

.officer-roster {
  display: grid;
  gap: 8px;
}

.officer-card {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--card);
  color: var(--ink);
  text-align: left;
}

.officer-card:hover {
  border-color: #a8b9b0;
  box-shadow: 0 6px 18px rgba(10, 35, 26, 0.06);
}

.officer-card.inactive {
  opacity: 0.68;
}

.officer-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.inactive .officer-avatar {
  background: #e6e8e6;
  color: #68736e;
}

.officer-details {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.officer-details strong,
.officer-details small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.officer-details small {
  color: var(--muted);
}

.officer-state {
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.inactive .officer-state {
  background: #eceeec;
  color: #68736e;
}

.empty-roster {
  padding: 30px 20px;
  border: 1px dashed #bcc8c1;
  border-radius: 14px;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

.officer-map-marker {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 4px solid white;
  border-radius: 50%;
  background: var(--green);
  box-shadow:
    0 0 0 2px var(--green-dark),
    0 7px 18px rgba(10, 35, 26, 0.38);
  color: white;
  font-size: 0.72rem;
  font-weight: 850;
}

.officer-map-marker.inactive {
  background: #7b8781;
  box-shadow:
    0 0 0 2px #526059,
    0 7px 18px rgba(10, 35, 26, 0.25);
}

.admin-shell {
  display: block;
  min-height: 100dvh;
  padding: 24px;
  background:
    radial-gradient(circle at 95% 0%, rgba(16, 166, 106, 0.1), transparent 26%),
    var(--paper);
}

.admin-header {
  display: grid;
  max-width: 1600px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  margin: 0 auto 22px;
}

.admin-header h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.admin-header .eyebrow {
  margin-bottom: 7px;
}

.admin-brand {
  position: static;
  width: max-content;
}

.admin-stats {
  display: grid;
  max-width: 1600px;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 auto 16px;
}

.admin-stats article {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: var(--card);
}

.admin-stats span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 500;
}

.admin-stats .alert-stat strong {
  color: var(--red);
}

.admin-grid {
  display: grid;
  max-width: 1600px;
  grid-template-columns: minmax(0, 2fr) minmax(330px, 0.75fr);
  gap: 16px;
  margin: auto;
}

.command-map-wrap {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #dce6dd;
  box-shadow: var(--shadow);
}

#admin-map {
  position: absolute;
  inset: 0;
}

.personnel-panel {
  display: flex;
  max-height: 610px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 16px 40px rgba(10, 35, 26, 0.09);
}

.panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 22px;
}

.panel-heading .eyebrow,
.deployment-links .eyebrow {
  margin-bottom: 7px;
}

.panel-heading h2,
.deployment-links h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.panel-heading > span {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.personnel-list {
  overflow-y: auto;
  padding: 10px;
}

.personnel-card {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.personnel-card:hover {
  background: var(--paper);
}

.personnel-card.sos {
  border-color: #efb7b7;
  background: #fff0f0;
}

.personnel-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.personnel-main {
  min-width: 0;
}

.personnel-main strong,
.personnel-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.personnel-main small {
  margin-top: 4px;
  color: var(--muted);
}

.personnel-state {
  border-radius: 999px;
  padding: 6px 8px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.personnel-state.offline {
  background: #eceae3;
  color: #6c726e;
}

.personnel-state.sos {
  background: #c83434;
  color: white;
}

.empty-state {
  padding: 50px 22px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.personnel-marker {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 4px solid white;
  border-radius: 14px;
  background: #8a948f;
  box-shadow: 0 6px 16px rgba(10, 35, 26, 0.3);
  color: white;
  font-size: 0.7rem;
  font-weight: 850;
}

.personnel-marker.active {
  background: var(--green);
}

.personnel-marker.sos {
  border-radius: 50%;
  background: #c83434;
  box-shadow:
    0 0 0 8px rgba(200, 52, 52, 0.2),
    0 6px 16px rgba(10, 35, 26, 0.3);
  animation: marker-sos-pulse 1.2s ease-in-out infinite;
}

.deployment-links {
  display: grid;
  max-width: 1600px;
  grid-template-columns: minmax(280px, 0.7fr) minmax(360px, 1fr);
  align-items: center;
  gap: 32px;
  margin: 16px auto 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: var(--card);
}

.deployment-links p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.sos-alerts {
  display: grid;
  max-width: 1600px;
  gap: 10px;
  margin: 0 auto 16px;
}

.sos-alert {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 15px;
  border: 1px solid #df8f8f;
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff0f0;
  box-shadow: 0 8px 25px rgba(186, 59, 59, 0.14);
}

.sos-alert div:nth-child(2) strong,
.sos-alert div:nth-child(2) span {
  display: block;
}

.sos-alert div:nth-child(2) span {
  margin-top: 4px;
  color: #865656;
  font-size: 0.82rem;
}

.sos-alert button {
  min-height: 38px;
  border: 1px solid #df8f8f;
  border-radius: 10px;
  padding: 0 13px;
  background: white;
  color: #8e1e1e;
  font-weight: 750;
}

.sos-pulse {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #c83434;
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  animation: marker-sos-pulse 1.2s ease-in-out infinite;
}

@keyframes sos-button-pulse {
  50% {
    box-shadow: 0 0 0 10px rgba(200, 52, 52, 0.15);
  }
}

@keyframes marker-sos-pulse {
  50% {
    transform: scale(1.1);
  }
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 820px) {
  .app-shell {
    display: block;
    min-height: 100dvh;
    background: var(--paper);
  }

  .map-wrap {
    min-height: 48dvh;
  }

  .control-panel {
    min-height: 52dvh;
    align-items: flex-start;
    padding: 32px 22px max(34px, env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    margin-top: -22px;
  }

  h1 {
    max-width: 15ch;
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  .intro {
    margin: 18px 0 25px;
  }

  .brand {
    top: max(14px, env(safe-area-inset-top));
    left: 14px;
  }

  .admin-shell .control-panel {
    overflow: visible;
    padding: 30px 18px max(34px, env(safe-area-inset-bottom));
  }

  .admin-header {
    align-items: center;
  }

  .admin-header h1 {
    font-size: clamp(2.2rem, 10vw, 3.7rem);
  }

  .admin-shell {
    padding: 14px;
  }

  .admin-header {
    grid-template-columns: 1fr auto;
  }

  .admin-brand {
    display: none;
  }

  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  .admin-grid,
  .deployment-links {
    grid-template-columns: 1fr;
  }

  .command-map-wrap {
    min-height: 55dvh;
  }

  .personnel-panel {
    max-height: none;
  }

  .sos-alert {
    grid-template-columns: auto 1fr;
  }
}

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

  .telemetry div:last-child {
    grid-column: 1 / -1;
  }

  .stat-card {
    min-height: 110px;
    padding: 15px;
  }

  .stat-card strong {
    font-size: 2.75rem;
  }

  .officer-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .officer-state {
    grid-column: 2;
    width: max-content;
  }

  .admin-stats {
    gap: 8px;
  }

  .admin-stats article {
    display: block;
    min-height: 88px;
    padding: 14px;
  }

  .admin-stats strong {
    display: block;
    margin-top: 6px;
    font-size: 2rem;
  }

  .personnel-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .personnel-state {
    grid-column: 2;
    width: max-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
