:root {
  --ink: #17202a;
  --muted: #667085;
  --line: #d9e2ec;
  --paper: #f4f7fa;
  --panel: #ffffff;
  --soft: #edf3f8;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --accent-soft: #d8f3ee;
  --warning: #a15c07;
  --warning-soft: #fff1d6;
  --danger: #a43d3d;
  --danger-soft: #fbe3e3;
  --shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #eef5f7 0, var(--paper) 280px),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: none;
}

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

main {
  width: min(1240px, calc(100% - 32px));
  margin: 24px auto 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(217, 226, 236, .82);
  background: rgba(255, 255, 255, .92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.brand {
  color: var(--ink);
  display: grid;
  padding-left: 44px;
  position: relative;
  line-height: 1.1;
}

.brand::before {
  align-items: center;
  background: linear-gradient(135deg, #0f766e, #244c8f);
  border-radius: 8px;
  color: #ffffff;
  content: "R";
  display: flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
}

.brand span {
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.brand small {
  font-size: .72rem;
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.topnav {
  min-width: 0;
}

.global-search {
  align-items: center;
  display: flex;
  gap: 6px;
  min-width: 300px;
}

.global-search input {
  border-radius: 999px;
  min-height: 36px;
  min-width: 230px;
}

.global-search button {
  min-height: 36px;
  padding-inline: 12px;
}

.nav-group {
  position: relative;
}

.nav-group summary {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: .9rem;
  font-weight: 850;
  gap: 6px;
  list-style: none;
  min-height: 36px;
  padding: 0 12px;
  user-select: none;
}

.nav-group summary::-webkit-details-marker {
  display: none;
}

.nav-group summary::after {
  color: var(--muted);
  content: "v";
  font-size: .78rem;
}

.nav-group[open] summary,
.nav-group summary:hover {
  background: #e7f2f1;
  border-color: #c8e4e0;
  color: var(--accent-dark);
}

.nav-menu {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
  display: grid;
  gap: 4px;
  left: 0;
  min-width: 210px;
  padding: 8px;
  position: absolute;
  top: calc(100% + 8px);
  z-index: 20;
}

.nav-menu a {
  border-radius: 6px;
  color: var(--ink);
  font-size: .92rem;
  padding: 9px 10px;
}

.nav-menu a:hover {
  background: var(--soft);
  color: var(--accent-dark);
}

.nav-menu a.active,
.nav-group summary.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.account-actions {
  align-items: center;
  border-left: 1px solid var(--line);
  display: flex;
  gap: 8px;
  margin-left: 6px;
  padding-left: 12px;
}

.breadcrumbs {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .84rem;
  font-weight: 750;
  gap: 8px;
  margin: -6px 0 16px;
  text-transform: capitalize;
}

.breadcrumbs b {
  color: #a7b4c2;
}

.breadcrumbs span {
  color: var(--ink);
}

.user-chip {
  border-radius: 999px;
  color: var(--ink);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
}

.user-chip {
  background: var(--soft);
  color: var(--muted);
  font-size: .86rem;
  font-weight: 750;
}

nav form {
  margin: 0;
}

button,
.button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

button:hover,
.button:hover {
  border-color: #b9c6d3;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .06);
  transform: translateY(-1px);
}

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

.hero {
  min-height: 250px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(11, 45, 49, .92), rgba(15, 118, 110, .64)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .16);
  overflow: hidden;
  position: relative;
}

.hero::after {
  background: rgba(255, 255, 255, .18);
  bottom: 0;
  content: "";
  height: 1px;
  left: 32px;
  position: absolute;
  right: 32px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 1.04rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, .78);
}

.dashboard-hero {
  align-items: center;
  min-height: 320px;
}

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

.hero .ghost {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .5);
  color: #ffffff;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-badges span {
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #ffffff;
  font-size: .82rem;
  font-weight: 800;
  padding: 7px 10px;
}

.home-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
}

.home-strip article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .045);
  padding: 16px;
}

.home-strip span,
.home-strip small {
  color: var(--muted);
  display: block;
  font-size: .82rem;
  font-weight: 800;
}

.home-strip span {
  color: var(--accent-dark);
  text-transform: uppercase;
}

.home-strip strong {
  display: block;
  font-size: 1.08rem;
  margin: 4px 0;
}

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

.dashboard-metrics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.metric,
.panel,
.table-wrap,
.detail-grid article,
.work-panel,
.record-summary article,
.form-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric {
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
  overflow: hidden;
  position: relative;
}

.metric::before {
  background: linear-gradient(180deg, #0f766e, #244c8f);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
}

.metric span,
.record-summary span {
  color: var(--muted);
  display: block;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1.1;
}

.dashboard-metrics .metric {
  min-height: 116px;
}

.dashboard-metrics .metric strong {
  font-size: 1.85rem;
  margin-top: 8px;
}

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

.record-card-grid {
  display: grid;
  gap: 10px;
}

.record-card {
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 12px;
}

.record-card span {
  color: var(--accent-dark);
  font-size: .76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.record-card a {
  color: var(--ink);
}

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

.record-card-grid.compact {
  max-height: 460px;
  overflow: auto;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}

h1,
h2 {
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  font-size: 1.25rem;
}

.table-wrap,
.work-panel {
  overflow-x: auto;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .045);
  scrollbar-width: thin;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}

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

th {
  color: var(--muted);
  font-size: .76rem;
  text-transform: uppercase;
  background: #f8fbfd;
}

tr:hover td {
  background: #f4faf9;
}

.pill {
  align-items: center;
  gap: 5px;
  display: inline-flex;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 4px 10px;
  font-size: .78rem;
  font-weight: 850;
  text-transform: capitalize;
}

.pill b {
  background: rgba(255, 255, 255, .72);
  border-radius: 999px;
  font-size: .68rem;
  line-height: 1;
  padding: 2px 4px;
}

.pill.danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.status-draft {
  background: #eef2ff;
  color: #334eac;
}

.status-active,
.status-approved {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.status-archived,
.status-superseded {
  background: #e8edf3;
  color: #475569;
}

.status-destroyed,
.status-rejected,
.status-legal_hold {
  background: var(--danger-soft);
  color: var(--danger);
}

.status-pending {
  background: var(--warning-soft);
  color: var(--warning);
}

.tracking-in_repository {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.tracking-checked_out,
.tracking-transferred {
  background: var(--warning-soft);
  color: var(--warning);
}

.tracking-missing {
  background: var(--danger-soft);
  color: var(--danger);
}

.auth {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
}

.auth .panel {
  width: min(420px, 100%);
}

.auth-help {
  margin: 12px 0 0;
  text-align: center;
}

.auth-help a {
  color: var(--accent);
  font-weight: 700;
}

.form-shell {
  width: min(820px, 100%);
  padding: 24px;
}

.form-shell.wide {
  width: min(980px, 100%);
}

.grid-form,
.stack,
.search {
  display: grid;
  gap: 14px;
}

.grid-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.grid-form label:has(textarea),
.grid-form label:has(input[type="file"]),
.grid-form .check,
.grid-form button {
  grid-column: 1 / -1;
}

.user-admin-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.compact-user-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.panel-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.panel-title h2 {
  margin: 0;
}

.compact-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.compact-fields .span-2 {
  grid-column: span 2;
}

.compact-user-form label {
  gap: 5px;
}

.compact-user-form input,
.compact-user-form select,
.user-table-panel .inline-actions input {
  min-height: 38px;
}

.compact-user-form button {
  justify-self: start;
}

label {
  color: var(--muted);
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 9px 10px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .14);
  outline: none;
}

input,
select,
textarea,
.panel,
.table-wrap,
.work-panel,
.metric,
.record-summary article {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.panel:hover,
.table-wrap:hover,
.work-panel:hover,
.record-summary article:hover {
  border-color: #c6d3df;
}

textarea {
  resize: vertical;
}

.search {
  grid-template-columns: 1fr 190px 190px auto;
  margin: 0 0 18px;
}

.tracking-search {
  grid-template-columns: 1fr 220px auto;
}

.record-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 18px;
}

.record-head h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.record-head p:not(.eyebrow) {
  color: var(--muted);
  max-width: 780px;
}

.status-box {
  display: flex;
  gap: 8px;
  align-items: start;
  flex-wrap: wrap;
}

.record-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.record-summary article {
  padding: 14px;
}

.record-summary strong {
  display: block;
  margin-top: 4px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 18px;
  margin: 0 0 18px;
}

.detail-grid article,
.panel {
  padding: 18px;
}

.metadata {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 9px 16px;
}

.metadata dt {
  color: var(--muted);
  font-weight: 850;
}

.metadata dd {
  margin: 0;
}

.due-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.due-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfdff;
}

.due-list a,
.due-list span {
  display: block;
}

.due-list span {
  color: var(--muted);
  font-size: .88rem;
  margin-top: 2px;
}

.quick-actions {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
}

.quick-actions a {
  background: var(--soft);
  border-radius: 6px;
  color: var(--ink);
  padding: 10px 12px;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 14px;
}

.quick-filters a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: .88rem;
  padding: 8px 12px;
}

.quick-filters a:hover {
  background: var(--accent-soft);
  border-color: #bfe0dc;
  color: var(--accent-dark);
}

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

.bulk-bar {
  align-items: center;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px;
}

.bulk-bar select {
  width: min(220px, 100%);
}

.empty-state {
  background: #fbfdff;
  border: 1px dashed #b8c7d5;
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 18px;
}

.empty-state strong {
  color: var(--ink);
}

.empty-state p {
  margin: 0;
}

.action-cards a {
  display: grid;
  gap: 2px;
  border: 1px solid transparent;
}

.action-cards a:hover {
  background: #e7f2f1;
  border-color: #bfe0dc;
}

.action-cards small {
  color: var(--muted);
  font-weight: 650;
}

.timeline,
.movement-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.timeline li,
.movement-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}

.timeline strong,
.timeline span,
.movement-list a,
.movement-list strong,
.movement-list span,
.movement-list small {
  display: block;
}

.timeline-type {
  background: var(--soft);
  border-radius: 999px;
  color: var(--accent-dark);
  display: inline-flex;
  font-size: .7rem;
  margin-right: 8px;
  padding: 3px 7px;
  text-transform: uppercase;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.timeline span,
.movement-list span,
.movement-list small {
  color: var(--muted);
}

.timeline p {
  margin: 8px 0 0;
}

.notice {
  padding: 10px 12px;
  background: #fff4d8;
  border: 1px solid #ead39b;
  border-radius: 6px;
}

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

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .9em;
}

@media (max-width: 900px) {
  .dashboard-grid,
  .detail-grid,
  .record-summary,
  .home-strip,
  .user-admin-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  main {
    width: min(100% - 20px, 1240px);
    margin-top: 16px;
  }

  .topbar,
  .record-head,
  .section-head,
  .hero {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .global-search {
    min-width: 0;
    width: 100%;
  }

  .global-search input {
    min-width: 0;
  }

  .nav-group {
    width: 100%;
  }

  .nav-group summary {
    justify-content: space-between;
    width: 100%;
  }

  .nav-menu {
    box-shadow: none;
    margin-top: 6px;
    min-width: 0;
    position: static;
    width: 100%;
  }

  .account-actions {
    border-left: 0;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
    margin-left: 0;
    padding-left: 0;
    padding-top: 10px;
    width: 100%;
  }

  .account-actions form,
  .account-actions button,
  .bulk-bar select,
  .bulk-bar button {
    width: 100%;
  }

  .metrics,
  .dashboard-metrics,
  .grid-form,
  .compact-fields,
  .search {
    grid-template-columns: 1fr;
  }

  .compact-fields .span-2 {
    grid-column: auto;
  }

  .hero {
    min-height: 300px;
    padding: 22px;
  }

  .hero-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }
}

.retention-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-actions input { min-width: 180px; }
.report-actions { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 18px; }

.pagination {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 14px;
}

.page-tabs {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 6px;
  margin: 0 0 18px;
  overflow-x: auto;
  padding: 6px;
}

.page-tabs a {
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
  padding: 9px 12px;
  white-space: nowrap;
}

.page-tabs a:hover,
.page-tabs a.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.page-tabs.sub-tabs {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  margin-top: -4px;
  padding: 0 0 8px;
}

.page-tabs.sub-tabs a {
  border: 1px solid transparent;
  padding-inline: 14px;
}

.pagination span:not(.button) {
  color: var(--muted);
  font-weight: 850;
}

.button.disabled {
  color: #98a2b3;
  cursor: not-allowed;
  opacity: .75;
}

.button.disabled:hover {
  box-shadow: none;
  transform: none;
}

.bar-list {
  display: grid;
  gap: 12px;
}

.bar-row {
  display: grid;
  gap: 6px;
}

.bar-row div {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.bar-row span {
  color: var(--muted);
  font-weight: 850;
}

.bar-row progress {
  appearance: none;
  border: 0;
  background: linear-gradient(90deg, #1f7a8c, #5fb49c);
  border-radius: 999px;
  display: block;
  height: 10px;
  overflow: hidden;
  width: 100%;
}

.bar-row progress::-webkit-progress-bar {
  background: #dce5ea;
  border-radius: 999px;
}

.bar-row progress::-webkit-progress-value {
  background: linear-gradient(90deg, #1f7a8c, #5fb49c);
  border-radius: 999px;
}

.bar-row progress::-moz-progress-bar {
  background: linear-gradient(90deg, #1f7a8c, #5fb49c);
  border-radius: 999px;
}

.runbook {
  display: grid;
  gap: 12px;
}

.runbook h3,
.runbook p {
  margin: 0;
}

.runbook code {
  background: #eef5f7;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: block;
  overflow-x: auto;
  padding: 10px 12px;
}

.label-sheet {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.record-label {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 24px;
  width: min(520px, 100%);
}

.record-label h1 {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.record-label h2 {
  color: var(--muted);
  font-size: 1rem;
}

.barcode {
  background:
    repeating-linear-gradient(90deg, #111 0 3px, #fff 3px 5px, #111 5px 7px, #fff 7px 12px);
  border: 1px solid #111;
  color: #111;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 18px 0;
  padding: 58px 12px 10px;
  text-align: center;
}

@media print {
  .topbar,
  .label-sheet > button,
  .section-head button {
    display: none;
  }

  body {
    background: #fff;
  }

  main {
    margin: 0;
    width: 100%;
  }
}

