@font-face {
  font-family: "SUIT";
  src: url("/static/fonts/SUIT-Variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --admin-ink: #141414;
  --admin-paper: #f5f5f5;
  --admin-surface: #ffffff;
  --admin-surface-soft: #fafafa;
  --admin-grid: #d9d9d9;
  --admin-grid-soft: #f0f0f0;
  --admin-muted: #666666;
  --admin-primary: #1787bd;
  --admin-primary-hover: #0f6f9e;
  --admin-primary-soft: #e6f4ff;
  --admin-success: #389e0d;
  --admin-success-soft: #f6ffed;
  --admin-warning: #d48806;
  --admin-warning-soft: #fffbe6;
  --admin-danger: #cf3f22;
  --admin-danger-soft: #fff2e8;
  --brand-green: #54b92f;
  --brand-yellow: #ffd400;
  --brand-blue: #1b8fc5;
  --brand-purple: #812b8f;
  --admin-radius: 8px;
  --admin-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 4px 14px rgba(0, 0, 0, .04);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; }
body {
  margin: 0;
  color: var(--admin-ink);
  background: var(--admin-paper);
  font-family: "SUIT", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { touch-action: manipulation; }

.admin-wordmark {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}
.admin-wordmark img {
  display: block;
  width: 8.75rem;
  height: auto;
}
.admin-product-name {
  border-left: 1px solid var(--admin-grid);
  padding-left: .85rem;
  color: var(--admin-muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  white-space: nowrap;
}
.section-code {
  margin: 0;
  color: var(--admin-primary);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.admin-login-body { min-height: 100svh; background: var(--admin-surface); }
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(27rem, .92fr);
  min-height: 100svh;
}
.login-manifesto {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100svh;
  padding: clamp(2rem, 5vw, 5.5rem);
  color: #ffffff;
  background: #101010 url("/static/brand/vuivui-okoru-hair.jpg") 52% center / cover no-repeat;
}
.login-manifesto::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .86) 0%, rgba(9, 9, 9, .66) 48%, rgba(9, 9, 9, .24) 100%),
    linear-gradient(0deg, rgba(9, 9, 9, .72) 0%, transparent 54%);
}
.login-manifesto::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-yellow) 34%, var(--brand-blue) 68%, var(--brand-purple));
}
.login-manifesto .admin-wordmark {
  width: fit-content;
  border-radius: 999px;
  padding: .75rem 1rem;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(12px);
  animation: fade-in .55s ease-out both;
}
.login-manifesto .admin-wordmark img { width: clamp(9rem, 15vw, 11rem); }
.login-manifesto-copy {
  max-width: 42rem;
  margin-top: auto;
  animation: rise-in .65s .08s cubic-bezier(.2, .8, .2, 1) both;
}
.login-manifesto .section-code { color: rgba(255, 255, 255, .74); }
.login-manifesto h1 {
  max-width: 13ch;
  margin: .8rem 0 1.25rem;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.045em;
  word-break: keep-all;
}
.login-manifesto-copy > p:last-child {
  max-width: 37rem;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(.95rem, 1.25vw, 1.08rem);
  line-height: 1.75;
  word-break: keep-all;
}
.security-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: clamp(2rem, 6vh, 4.5rem) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .32);
  animation: rise-in .65s .18s cubic-bezier(.2, .8, .2, 1) both;
}
.security-notes div {
  min-width: 0;
  padding: 1rem 1rem 0 0;
}
.security-notes div + div {
  border-left: 1px solid rgba(255, 255, 255, .32);
  padding-left: 1rem;
}
.security-notes dt {
  color: var(--brand-yellow);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.security-notes dd {
  margin: .55rem 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: .82rem;
  line-height: 1.45;
}

.login-console {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(2.5rem, 7vw, 6.5rem);
  background: var(--admin-surface);
}
.login-console::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: var(--admin-grid-soft);
}
.login-console > form,
.login-console > .mfa-console,
.login-console > .recovery-console,
.login-console > .form-status,
.login-console > .login-console-footer {
  width: min(100%, 27.5rem);
  margin-right: auto;
  margin-left: auto;
}
.login-console form,
.mfa-console,
.recovery-console {
  display: grid;
  gap: 1rem;
}
.login-console > form,
.login-console > .mfa-console,
.login-console > .recovery-console {
  animation: rise-in .5s .12s cubic-bezier(.2, .8, .2, 1) both;
}
.login-console-heading { margin-bottom: .9rem; }
.login-console h2 {
  margin: .45rem 0 .65rem;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.2;
  word-break: keep-all;
}
.login-console-heading > p:last-child,
.mfa-console > p,
.recovery-console > p {
  margin: 0;
  color: var(--admin-muted);
  font-size: .88rem;
  line-height: 1.65;
}
.login-console > .login-console-footer {
  position: absolute;
  right: clamp(2.5rem, 7vw, 6.5rem);
  bottom: 1.75rem;
  left: clamp(2.5rem, 7vw, 6.5rem);
  width: auto;
  color: #bfbfbf;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
}

label {
  display: grid;
  gap: .45rem;
  color: #3f3f3f;
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.45;
}
label small { color: #8c8c8c; font-weight: 500; }
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--admin-grid);
  border-radius: 6px;
  padding: .68rem .75rem;
  color: var(--admin-ink);
  background: var(--admin-surface);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
input,
select { min-height: 2.55rem; }
textarea { min-height: 5rem; resize: vertical; }
input::placeholder,
textarea::placeholder { color: #bfbfbf; }
input:hover,
select:hover,
textarea:hover { border-color: #69b1d4; }
input:focus,
select:focus,
textarea:focus {
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 2px rgba(23, 135, 189, .15);
}
input:disabled,
select:disabled,
textarea:disabled { color: #bfbfbf; background: #f5f5f5; cursor: not-allowed; }

.primary-action,
.outline-action {
  min-height: 2.55rem;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: .62rem 1rem;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.primary-action { color: #ffffff; background: var(--admin-primary); box-shadow: 0 2px 0 rgba(0, 0, 0, .04); }
.primary-action:hover { background: var(--admin-primary-hover); }
.primary-action:active,
.outline-action:active { transform: translateY(1px); }
.outline-action { border-color: var(--admin-grid); color: var(--admin-ink); background: var(--admin-surface); }
.outline-action:hover { border-color: var(--admin-primary); color: var(--admin-primary); }
.primary-action:focus-visible,
.outline-action:focus-visible,
.text-action:focus-visible,
.nav-item:focus-visible,
.table-actions button:focus-visible {
  outline: 2px solid var(--admin-primary);
  outline-offset: 2px;
}
.primary-action:disabled,
.outline-action:disabled {
  border-color: var(--admin-grid);
  color: #bfbfbf;
  background: #f5f5f5;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.action-link { display: inline-grid; width: fit-content; place-items: center; text-decoration: none; }
.text-action {
  border: 0;
  border-radius: 4px;
  padding: .3rem .15rem;
  color: var(--admin-primary);
  background: transparent;
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
}
.text-action:hover { color: var(--admin-primary-hover); text-decoration: underline; }
.form-status { min-height: 1.45rem; margin-top: .8rem; color: var(--admin-danger); font-size: .8rem; line-height: 1.5; }
.enroll-result code,
.recovery-console pre {
  display: block;
  overflow-wrap: anywhere;
  margin: .7rem 0;
  border: 1px solid var(--admin-grid-soft);
  border-radius: 6px;
  padding: .8rem;
  color: #434343;
  background: var(--admin-surface-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .75rem;
  white-space: pre-wrap;
}

.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4rem;
  padding: .75rem 1.5rem;
  border-bottom: 1px solid var(--admin-grid-soft);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .035);
  backdrop-filter: blur(12px);
}
.header-context { display: flex; align-items: center; gap: 1.35rem; color: var(--admin-muted); font-size: .78rem; }
.header-context strong { color: var(--admin-ink); font-weight: 700; }
.dashboard-grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); min-height: calc(100vh - 4rem); }
.dashboard-nav {
  position: sticky;
  top: 4rem;
  align-self: start;
  display: grid;
  align-content: start;
  gap: .35rem;
  height: calc(100vh - 4rem);
  padding: 1.5rem .9rem;
  border-right: 1px solid var(--admin-grid-soft);
  background: var(--admin-surface);
}
.dashboard-nav > .section-code { margin: .35rem .65rem 1rem; color: #8c8c8c; }
.nav-item {
  min-height: 2.8rem;
  border: 0;
  border-radius: 6px;
  padding: .75rem .8rem;
  color: #595959;
  background: transparent;
  font-size: .88rem;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}
.nav-item:hover { color: var(--admin-primary); background: #fafafa; }
.nav-item.active { color: var(--admin-primary); background: var(--admin-primary-soft); font-weight: 750; }
.mfa-stepup {
  align-self: end;
  margin-top: auto;
  border: 1px solid #91caff;
  border-radius: var(--admin-radius);
  padding: .9rem;
  color: #174c69;
  background: #f0f8ff;
}
.mfa-stepup > strong { font-size: .8rem; }
.mfa-stepup div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; margin-top: .7rem; }
.mfa-stepup input { min-width: 0; min-height: 2.35rem; background: #ffffff; }
.mfa-stepup button {
  min-width: 3.2rem;
  border: 1px solid var(--admin-primary);
  border-radius: 6px;
  padding: .55rem .65rem;
  color: #ffffff;
  background: var(--admin-primary);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.mfa-stepup small { display: block; margin-top: .55rem; color: #47748a; font-size: .7rem; line-height: 1.45; }
.dashboard-content { min-width: 0; padding: clamp(1.5rem, 3vw, 3rem); }
.status-banner { min-height: 1.4rem; margin-bottom: .35rem; color: var(--admin-muted); font-size: .74rem; text-align: right; }
.dashboard-view { width: min(100%, 92rem); margin: 0 auto; animation: view-enter .28s ease-out both; }
.dashboard-view h1 {
  margin: .45rem 0 1.8rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.view-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.view-heading h1 { margin-bottom: 1.5rem; }
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--admin-grid-soft);
  border-radius: var(--admin-radius);
  background: var(--admin-surface);
  box-shadow: var(--admin-shadow);
}
.metric-strip article {
  display: grid;
  min-height: 8.5rem;
  padding: 1.25rem;
  border-right: 1px solid var(--admin-grid-soft);
}
.metric-strip article:last-child { border: 0; }
.metric-strip span { color: var(--admin-muted); font-size: .78rem; }
.metric-strip strong { align-self: end; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.workflow-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 1rem;
  border: 1px solid var(--admin-grid-soft);
  border-radius: var(--admin-radius);
  padding: 1.4rem;
  background: var(--admin-surface);
}
.workflow-line div { position: relative; display: grid; gap: .75rem; padding-right: 1rem; }
.workflow-line div::after { content: ""; position: absolute; top: .8rem; left: 2.2rem; right: 0; height: 1px; background: var(--admin-grid); }
.workflow-line b {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid #91caff;
  border-radius: 50%;
  color: var(--admin-primary);
  background: var(--admin-primary-soft);
  font-size: .72rem;
}
.workflow-line span { color: #434343; font-size: .78rem; line-height: 1.45; }
.mode-note {
  max-width: 50rem;
  margin: 1rem 0 0 auto;
  border: 1px solid var(--admin-grid-soft);
  border-left: 4px solid var(--admin-primary);
  border-radius: var(--admin-radius);
  padding: 1.25rem 1.4rem;
  background: var(--admin-surface);
  box-shadow: var(--admin-shadow);
}
.mode-note strong { display: block; margin-top: .5rem; font-size: 1.15rem; font-weight: 750; }
.mode-note p:last-child { margin-bottom: 0; color: var(--admin-muted); font-size: .84rem; line-height: 1.65; }

.split-workspace { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.operation-form {
  display: grid;
  align-content: start;
  gap: .8rem;
  border: 1px solid var(--admin-grid-soft);
  border-radius: var(--admin-radius);
  padding: 1.4rem;
  background: var(--admin-surface);
  box-shadow: var(--admin-shadow);
}
.operation-form h2 { margin: 0 0 .75rem; font-size: 1.15rem; }
.issuance-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 10rem auto;
  align-items: end;
  gap: .8rem;
  border: 1px solid var(--admin-grid-soft);
  border-radius: var(--admin-radius);
  padding: 1.2rem;
  background: var(--admin-surface);
  box-shadow: var(--admin-shadow);
}
.issuance-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  margin: 0 0 1rem;
  border: 1px solid var(--admin-grid-soft);
  border-radius: var(--admin-radius);
  padding: 0;
  list-style: none;
  background: var(--admin-surface);
}
.issuance-flow li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  min-height: 6rem;
  padding: 1rem;
  border-right: 1px solid var(--admin-grid-soft);
}
.issuance-flow li:last-child { border-right: 0; }
.issuance-flow b { color: var(--admin-primary); font-size: .7rem; font-weight: 800; }
.issuance-flow span { display: grid; align-content: space-between; gap: .7rem; }
.issuance-flow strong { font-size: .98rem; font-weight: 700; }
.issuance-flow small { color: var(--admin-muted); font-size: .74rem; line-height: 1.45; }
.lookup-bar {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) auto;
  align-items: end;
  gap: .8rem;
  max-width: 46rem;
  border: 1px solid var(--admin-grid-soft);
  border-radius: var(--admin-radius);
  padding: 1.2rem;
  background: var(--admin-surface);
  box-shadow: var(--admin-shadow);
}
.lookup-result { margin-top: 1rem; }
.lookup-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  border: 1px solid #91caff;
  border-radius: var(--admin-radius);
  padding: 1rem;
  color: #174c69;
  background: #f0f8ff;
}
.lookup-card code { color: var(--admin-primary-hover); font-size: 1rem; }
.lookup-card button { margin-left: auto; }
.callout {
  margin: 1rem 0;
  border: 1px solid #ffe58f;
  border-radius: var(--admin-radius);
  padding: 1rem;
  color: #613400;
  background: var(--admin-warning-soft);
  font-size: .84rem;
  line-height: 1.65;
}
.privacy-note { color: var(--admin-muted); font-size: .8rem; line-height: 1.6; }
.table-heading { margin: 2.5rem 0 -.9rem; font-size: 1.15rem; font-weight: 750; }
.ledger-table {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid var(--admin-grid-soft);
  border-radius: var(--admin-radius);
  background: var(--admin-surface);
  box-shadow: var(--admin-shadow);
}
table { width: 100%; border-collapse: collapse; font-size: .8rem; }
th,
td { padding: .85rem .75rem; border-bottom: 1px solid var(--admin-grid-soft); text-align: left; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color .15s ease; }
tbody tr:hover { background: #fafafa; }
th { color: var(--admin-muted); background: #fafafa; font-size: .68rem; font-weight: 750; letter-spacing: .03em; white-space: nowrap; }
.status-pill {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .24rem .55rem;
  color: #595959;
  background: #f5f5f5;
  font-size: .68rem;
  font-weight: 650;
  line-height: 1.35;
  white-space: nowrap;
}
.status-ready,
.status-low,
.status-activation_complete,
.status-valid,
.status-first { border-color: #b7eb8f; color: #237804; background: var(--admin-success-soft); }
.status-requested,
.status-review,
.status-activation_pending,
.status-not_activated { border-color: #ffe58f; color: #874d00; background: var(--admin-warning-soft); }
.status-generating,
.status-repeat { border-color: #91caff; color: #095987; background: var(--admin-primary-soft); }
.status-failed,
.status-high,
.status-recalled,
.status-revoked { border-color: #ffbb96; color: #ad2102; background: var(--admin-danger-soft); }
.table-statuses { display: grid; justify-items: start; gap: .35rem; }
.table-statuses small { color: var(--admin-muted); font-size: .7rem; }
.table-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.table-actions button {
  min-height: 1.9rem;
  border: 1px solid var(--admin-grid);
  border-radius: 5px;
  padding: .32rem .55rem;
  color: #434343;
  background: var(--admin-surface);
  font-size: .72rem;
  cursor: pointer;
}
.table-actions button:hover { border-color: var(--admin-primary); color: var(--admin-primary); }
.table-actions select { width: auto; min-width: 7rem; min-height: 1.9rem; padding: .3rem; font-size: .72rem; }
.table-actions .danger-action,
.danger-action { border-color: #ffbb96; color: var(--admin-danger); }
.failure-code { color: var(--admin-danger); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.empty-row { margin: 0; padding: 2rem 1rem; color: var(--admin-muted); text-align: center; }
.invitation-link-panel { align-content: start; border-color: #91caff; background: #f0f8ff; }
.invitation-link-panel textarea { min-height: 8rem; }

.operation-dialog {
  width: min(42rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 0;
  border-radius: 12px;
  padding: clamp(1.2rem, 4vw, 2rem);
  color: var(--admin-ink);
  background: var(--admin-surface);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .22);
}
.operation-dialog::backdrop { background: rgba(0, 0, 0, .45); backdrop-filter: blur(2px); }
.operation-dialog form { display: grid; gap: .8rem; }
.operation-dialog h2 { margin: .35rem 0 1rem; font-size: 1.55rem; font-weight: 750; letter-spacing: -.025em; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1rem; }
.parts-dialog { width: min(70rem, calc(100vw - 2rem)); }
.parts-dialog .ledger-table { max-height: 55vh; overflow: auto; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.pagination span { min-width: 9rem; color: var(--admin-muted); font-size: .78rem; text-align: center; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes view-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 72rem) {
  .login-layout { grid-template-columns: minmax(0, 1fr) minmax(25rem, .82fr); }
  .login-manifesto { padding: clamp(2rem, 4vw, 3.5rem); }
  .login-console { padding: clamp(2.5rem, 5vw, 4rem); }
  .security-notes dd { font-size: .76rem; }
}

@media (max-width: 58rem) {
  .login-layout { grid-template-columns: 1fr; }
  .login-manifesto { min-height: 62svh; background-position: center 45%; }
  .login-console { min-height: 38rem; }
  .login-console::before { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-nav {
    position: static;
    grid-template-columns: repeat(5, minmax(7rem, 1fr));
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--admin-grid-soft);
    padding: .7rem;
  }
  .dashboard-nav > .section-code,
  .mfa-stepup { grid-column: 1 / -1; }
  .dashboard-nav > .section-code { margin: .2rem .5rem .35rem; }
  .mfa-stepup { margin-top: .4rem; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-strip article:nth-child(2) { border-right: 0; }
  .metric-strip article:nth-child(-n + 2) { border-bottom: 1px solid var(--admin-grid-soft); }
  .workflow-line { grid-template-columns: 1fr; gap: .9rem; }
  .workflow-line div { grid-template-columns: auto 1fr; align-items: center; padding: 0; }
  .workflow-line div::after { display: none; }
  .split-workspace,
  .issuance-bar,
  .lookup-bar,
  .issuance-flow { grid-template-columns: 1fr; }
  .issuance-flow li { min-height: auto; border-right: 0; border-bottom: 1px solid var(--admin-grid-soft); }
  .issuance-flow li:last-child { border-bottom: 0; }
}

@media (max-width: 38rem) {
  .login-manifesto { min-height: 68svh; padding: 1.5rem; background-position: 58% center; }
  .login-manifesto h1 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .login-manifesto-copy > p:last-child { font-size: .9rem; }
  .security-notes { grid-template-columns: 1fr; margin-top: 1.7rem; }
  .security-notes div { padding: .7rem 0; }
  .security-notes div + div { border-top: 1px solid rgba(255, 255, 255, .24); border-left: 0; padding-left: 0; }
  .security-notes dd { margin-top: .25rem; }
  .login-console { min-height: 42rem; padding: 2.25rem 1.25rem 5rem; }
  .login-console-footer { right: 1.25rem; left: 1.25rem; }
  .dashboard-header { min-height: 3.7rem; padding: .7rem 1rem; }
  .dashboard-header .admin-wordmark img { width: 6.9rem; }
  .admin-product-name,
  .header-context > span { display: none; }
  .dashboard-grid { min-height: calc(100vh - 3.7rem); }
  .dashboard-nav { grid-template-columns: 1fr 1fr; }
  .dashboard-nav > .section-code,
  .mfa-stepup { grid-column: 1 / -1; }
  .dashboard-content { padding: 1.25rem .85rem 2.5rem; }
  .dashboard-view h1 { margin-bottom: 1.25rem; font-size: 1.9rem; }
  .view-heading { align-items: center; }
  .metric-strip { grid-template-columns: 1fr; }
  .metric-strip article { min-height: 6.5rem; border-right: 0; border-bottom: 1px solid var(--admin-grid-soft); }
  .metric-strip article:nth-child(3) { border-bottom: 1px solid var(--admin-grid-soft); }
  .metric-strip article:last-child { border-bottom: 0; }
  .metric-strip strong { font-size: 2.5rem; }
  .operation-form,
  .issuance-bar,
  .lookup-bar { padding: 1rem; }
  .table-heading { margin-top: 2rem; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions button { width: 100%; }
}

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