:root {
  --ink: #102117;
  --muted: #3f5247;
  --surface: #ffffff;
  --page: #e7efe4;
  --line: #aabdab;
  --accent: #176b3d;
  --accent-strong: #0f4d2e;
  --gold: #8f6b16;
  --danger: #b53932;
  --status-green: #176b3d;
  --status-yellow: #b98524;
  --status-red: #b53932;
  --status-blue: #2f7f9d;
  --shadow: 0 16px 34px rgba(16, 33, 23, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(196, 219, 214, 0.9), rgba(230, 239, 225, 0.96) 260px),
    var(--page);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.app-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #b7c8b8;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.topbar,
.page-shell {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.nav-actions,
.brand > span:last-child {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--ink);
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 950;
}

.brand > span:last-child {
  align-items: flex-start;
  flex-direction: column;
}

.brand strong,
.brand small,
.nav-actions a,
.user-chip {
  font-weight: 850;
}

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

.nav-actions {
  gap: 8px;
  flex-wrap: wrap;
}

.nav-actions a,
.nav-button,
.user-chip {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
}

.logout-form {
  margin: 0;
}

.nav-button {
  cursor: pointer;
  font: inherit;
}

.user-chip {
  background: #dfeade;
  color: var(--accent-strong);
}

.page-shell {
  padding: 32px 0 56px;
}

.farm-snapshot,
.department-overview,
.department-details,
.dashboard-hero,
.summary-grid,
.workflow-track,
.panel,
.page-header.compact {
  margin-bottom: 18px;
}

.farm-snapshot,
.panel,
.page-header.compact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.farm-snapshot {
  padding: 20px;
}

.snapshot-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: center;
  min-height: 150px;
}

.clock-card {
  min-height: 138px;
  border: 1px solid #b7c8b8;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

.clock-card span,
.card-label,
.field-card-label,
.eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.clock-card strong,
.clock-card small {
  display: block;
  color: var(--ink);
}

.clock-card strong {
  margin-top: 14px;
  font-size: 1.35rem;
}

.clock-card small {
  margin-top: 6px;
  color: var(--accent-strong);
  font-size: 1.85rem;
  font-weight: 950;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--gold);
}

h1,
h2 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.1rem;
}

.lede {
  max-width: 680px;
  margin: 10px 0 0;
  color: #33443a;
}

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.status-legend span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  background: #fff;
  font-weight: 850;
}

.legend-dot {
  width: 12px;
  height: 12px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
}

.legend-dot.green { background: var(--status-green); }
.legend-dot.yellow { background: var(--status-yellow); }
.legend-dot.red { background: var(--status-red); }
.legend-dot.blue { background: var(--status-blue); }

.snapshot-grid,
.department-grid,
.summary-grid,
.workflow-track {
  display: grid;
  gap: 12px;
}

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

.snapshot-grid > article,
.department-card,
.metric,
.workflow-step,
.hero-copy,
.hero-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(16, 33, 23, 0.08);
}

.snapshot-grid > article {
  min-height: 166px;
  padding: 16px;
}

.weather-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 12px;
  align-items: start;
  background: linear-gradient(135deg, #fff, #eef7ec);
}

.weather-card small,
.weather-card p,
.snapshot-gauge p {
  color: var(--muted);
  font-weight: 750;
}

.weather-card p,
.snapshot-gauge p {
  margin: 8px 0 0;
  grid-column: 1 / -1;
}

.snapshot-gauge {
  display: grid;
  align-content: start;
}

.status-dial,
.department-large-gauge,
.gauge {
  --needle-angle: -28deg;
  --gauge-color: var(--status-green);
  --gauge-fill: 180deg;
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #9fb39f;
  background:
    conic-gradient(
      from 270deg at 50% 100%,
      var(--gauge-color) 0deg var(--gauge-fill),
      #d3ded2 var(--gauge-fill) 180deg,
      transparent 180deg 360deg
    );
}

.status-dial {
  width: 122px;
  height: 76px;
  border-radius: 122px 122px 10px 10px;
}

.status-dial.green,
.department-large-gauge.green {
  --needle-angle: -28deg;
  --gauge-color: var(--status-green);
}

.status-dial.yellow,
.department-large-gauge.yellow {
  --needle-angle: 28deg;
  --gauge-color: var(--status-yellow);
}

.status-dial.red,
.department-large-gauge.red {
  --needle-angle: 62deg;
  --gauge-color: var(--status-red);
}

.status-dial.blue,
.department-large-gauge.blue {
  --needle-angle: -64deg;
  --gauge-color: var(--status-blue);
}

.status-dial::before,
.department-large-gauge::before,
.gauge::before {
  content: "";
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(159, 179, 159, 0.74);
  border-bottom: 0;
  background: #fff;
}

.status-dial::before {
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 49px;
  border-radius: 92px 92px 0 0;
}

.status-dial::after,
.department-large-gauge::after,
.gauge::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 2;
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(-50%) rotate(var(--needle-angle));
  transform-origin: 50% 100%;
}

.status-dial::after {
  bottom: 25px;
  width: 4px;
  height: 30px;
}

.status-dial span,
.status-dial small,
.department-large-gauge span,
.department-large-gauge small,
.gauge span {
  position: absolute;
  left: 50%;
  z-index: 3;
  display: block;
  transform: translateX(-50%);
  text-align: center;
  background: #fff;
}

.status-dial span {
  bottom: 20px;
  width: 74px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
}

.status-dial small {
  bottom: 5px;
  width: 74px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.status-dial.compact {
  width: 136px;
  height: 84px;
  margin-top: 8px;
}

.status-dial.compact::before {
  left: 20px;
  right: 20px;
  height: 55px;
}

.status-dial.compact::after {
  bottom: 28px;
  height: 34px;
}

.status-dial.compact span {
  bottom: 23px;
  font-size: 1.35rem;
}

.status-dial.compact small {
  bottom: 7px;
}

.status-dial.mini {
  width: 88px;
  height: 56px;
  margin-top: 8px;
}

.status-dial.mini::before {
  left: 13px;
  right: 13px;
  height: 36px;
}

.status-dial.mini::after {
  bottom: 18px;
  width: 3px;
  height: 22px;
}

.status-dial.mini span {
  bottom: 15px;
  font-size: 1.1rem;
}

.status-dial.mini small,
.status-dial.tiny small {
  display: none;
}

.status-dial.tiny {
  width: 62px;
  height: 40px;
}

.status-dial.tiny::before {
  left: 9px;
  right: 9px;
  height: 25px;
}

.status-dial.tiny::after {
  bottom: 14px;
  width: 2px;
  height: 16px;
}

.status-dial.tiny span {
  bottom: 10px;
  font-size: 0.95rem;
}

.section-heading {
  min-height: 64px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #b7c8b8;
  background: #eef4ec;
}

.section-heading.inline {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.department-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.department-card {
  min-height: 248px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 16px;
  color: var(--ink);
}

.department-card:hover,
.department-card:focus-visible {
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.department-card em,
.department-card p {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.department-card p {
  margin: 4px 0 0;
  font-weight: 700;
}

.department-card b,
.status-pill {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  background: #dfeade;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 850;
}

.status-pill.green {
  background: #dfeade;
  color: var(--accent-strong);
}

.status-pill.yellow {
  background: #fff1bd;
  color: #725200;
}

.status-pill.red {
  background: #ffe0dc;
  color: var(--danger);
}

.status-pill.blue {
  background: #dbeaf3;
  color: #245570;
}

.department-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 2px;
}

.department-tabs a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #9fb39f;
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}

.department-tabs a:hover,
.department-tabs a:focus-visible,
.department-tabs a.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.department-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  scroll-margin-top: 96px;
}

.department-panel + .department-panel {
  margin-top: 12px;
}

.department-details.tabs-ready .department-panel {
  display: none;
}

.department-details.tabs-ready .department-panel.active {
  display: block;
}

.department-detail-body {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.department-large-gauge {
  width: 176px;
  height: 108px;
  border-radius: 176px 176px 12px 12px;
}

.department-large-gauge::before {
  left: 26px;
  right: 26px;
  bottom: -1px;
  height: 70px;
  border-radius: 120px 120px 0 0;
}

.department-large-gauge::after {
  bottom: 37px;
  width: 5px;
  height: 46px;
}

.department-large-gauge span {
  bottom: 31px;
  width: 110px;
  font-size: 2rem;
  font-weight: 950;
}

.department-large-gauge small {
  bottom: 13px;
  width: 110px;
  color: var(--muted);
  font-weight: 850;
}

.department-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.department-metrics div {
  min-height: 92px;
  border: 1px solid #c1d0c1;
  border-radius: 8px;
  padding: 12px;
  background: #f8fbf7;
}

.department-metrics span,
.department-metrics strong {
  display: block;
}

.department-metrics span {
  color: var(--muted);
  font-weight: 850;
}

.department-metrics strong {
  margin-top: 8px;
  font-size: 1.15rem;
}

.dashboard-hero {
  min-height: 260px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.hero-actions,
.button-group,
.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 22px;
}

.hero-visual {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(204, 230, 212, 0.98), rgba(238, 246, 236, 0.88)),
    repeating-linear-gradient(90deg, rgba(15, 77, 46, 0.14) 0 1px, transparent 1px 42px);
}

.field-card {
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 77, 46, 0.34);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
}

.gauge {
  width: 136px;
  height: 84px;
  margin: 12px 0 6px;
  border-radius: 136px 136px 10px 10px;
}

.gauge::before {
  left: 20px;
  right: 20px;
  bottom: -1px;
  height: 55px;
  border-radius: 96px 96px 0 0;
}

.gauge::after {
  bottom: 28px;
  width: 4px;
  height: 34px;
}

.gauge span {
  bottom: 18px;
  width: 70px;
  font-size: 1.45rem;
  font-weight: 950;
}

.signal-stack {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.signal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(15, 77, 46, 0.28);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
}

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

.metric {
  padding: 17px;
}

.metric > span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.metric small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 750;
}

.workflow-track {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.workflow-step {
  min-height: 94px;
  padding: 13px;
}

.workflow-step span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #d7e4d4;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 900;
}

.workflow-step strong,
.workflow-step small {
  display: block;
}

.workflow-step strong {
  margin-top: 9px;
}

.workflow-step small {
  color: var(--muted);
}

.workflow-step.active {
  border-color: rgba(15, 77, 46, 0.48);
}

.workflow-step.active span {
  background: var(--accent);
  color: #fff;
}

.panel {
  overflow: hidden;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 18px;
  border-bottom: 1px solid #c1d0c1;
  text-align: left;
  vertical-align: top;
}

th {
  color: #2f4036;
  background: #eef4ec;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: #eef5ec;
}

.review-summary,
.review-meta {
  display: grid;
  gap: 4px;
}

.review-summary strong {
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.review-summary span,
.review-meta span {
  font-weight: 850;
}

.review-summary small,
.review-summary em,
.review-meta small {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.35;
}

.record-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.record-detail-grid article {
  border: 1px solid #c1d0c1;
  border-radius: 8px;
  padding: 14px;
  background: #f7faf5;
}

.record-detail-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.record-detail-grid p {
  margin: 0;
}

.decision-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.decision-notes {
  border: 1px solid #c1d0c1;
  border-radius: 8px;
  padding: 14px;
  background: #f7faf5;
}

.decision-notes h3 {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.decision-notes p {
  margin: 0 0 16px;
  line-height: 1.5;
}

.decision-notes p:last-child {
  margin-bottom: 0;
}

.action-cell {
  width: 1%;
  white-space: nowrap;
}

.inline-action-form {
  display: inline-flex;
  margin: 0;
}

.button,
button.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #9fb39f;
  border-radius: 8px;
  padding: 9px 13px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
  text-decoration: none;
}

.button:active {
  transform: translateY(1px);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-strong);
  color: #fff;
}

.button.secondary {
  background: #dfeade;
}

.button.small {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 0.92rem;
}

.muted,
.empty-state {
  color: var(--muted);
}

.empty-state {
  padding: 22px 18px;
  text-align: center;
}

.audit-filter-panel {
  padding: 18px;
}

.audit-filter-form {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) minmax(180px, 1.4fr) minmax(150px, 1fr) minmax(140px, 0.8fr) minmax(140px, 0.8fr) auto;
  gap: 12px;
  align-items: end;
}

.audit-filter-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.audit-filter-form input,
.audit-filter-form select {
  min-height: 40px;
  border: 1px solid #9fb39f;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.audit-filter-form input:focus,
.audit-filter-form select:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(23, 107, 61, 0.22);
}

.audit-filter-actions {
  display: flex;
  gap: 8px;
}

.messages {
  margin-bottom: 18px;
}

.message {
  margin: 0 0 10px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}

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

.page-header.compact {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}

.form-panel {
  padding: 18px;
}

.entry-form {
  max-width: 760px;
}

.entry-form p {
  margin: 0 0 16px;
}

.entry-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 850;
}

.entry-form input,
.entry-form select,
.entry-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #9fb39f;
  border-radius: 8px;
  padding: 9px 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.entry-form textarea {
  min-height: 120px;
  resize: vertical;
}

.entry-form input:focus,
.entry-form select:focus,
.entry-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(23, 107, 61, 0.22);
}

.entry-form .errorlist {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff1ef;
  color: var(--danger);
}

.entry-form .helptext {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-actions {
  margin-top: 20px;
}

@media (max-width: 980px) {
  .snapshot-grid,
  .department-grid,
  .dashboard-hero {
    grid-template-columns: 1fr 1fr;
  }

  .weather-card {
    grid-column: 1 / -1;
  }

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

  .audit-filter-actions {
    grid-column: 1 / -1;
  }

  .decision-summary-grid,
  .record-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar,
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .audit-filter-form {
    grid-template-columns: 1fr;
  }

  .audit-filter-actions {
    flex-wrap: wrap;
  }

  .topbar,
  .page-header.compact {
    align-items: stretch;
    flex-direction: column;
  }

  .snapshot-main,
  .snapshot-grid,
  .department-grid,
  .department-detail-body,
  .department-metrics,
  .dashboard-hero,
  .workflow-track {
    grid-template-columns: 1fr;
  }

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

  .department-large-gauge {
    width: 154px;
    height: 96px;
  }

  .department-large-gauge::before {
    left: 23px;
    right: 23px;
    height: 62px;
  }

  .department-large-gauge::after {
    bottom: 33px;
    height: 40px;
  }

  .hero-copy {
    padding: 22px;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    border-bottom: 1px solid var(--line);
  }

  tr:last-child {
    border-bottom: 0;
  }

  td {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    border-bottom: 0;
    padding: 10px 14px;
  }

  td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 850;
  }

  .action-cell {
    width: auto;
    white-space: normal;
  }
}

.verification-grid {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.verification-qr {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  width: 9rem;
}

.verification-qr img {
  display: block;
  width: 100%;
  height: auto;
}

.verification-details {
  margin: 0;
}

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

@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }

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

  .weather-card {
    grid-template-columns: 1fr;
  }

  td {
    grid-template-columns: 1fr;
  }
}
