:root {
  color-scheme: dark;
  --bg: #060606;
  --bg-soft: #101010;
  --surface: #151515;
  --surface-2: #1d1d1d;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f7f3ec;
  --muted: #b9b1a5;
  --faint: #80786e;
  --orange: #f7931a;
  --orange-dark: #b85c00;
  --steel: #d9e0e7;
  --green: #2bd67b;
  --red: #ff5b5b;
  --cyan: #68d8ff;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(247, 147, 26, 0.06), transparent 260px),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body::selection {
  color: #070707;
  background: var(--orange);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 6, 6, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 750;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.brand span {
  white-space: nowrap;
}

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

.nav-links a,
.nav-links button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--text);
  border-color: rgba(247, 147, 26, 0.46);
  background: rgba(247, 147, 26, 0.12);
}

.nav-links a:focus-visible,
.nav-links button:focus-visible,
.button:focus-visible,
.icon-button:focus-visible,
.field input:focus-visible,
.field select:focus-visible {
  outline: 3px solid rgba(247, 147, 26, 0.56);
  outline-offset: 3px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 750;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
  touch-action: manipulation;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(247, 147, 26, 0.6);
  background: rgba(247, 147, 26, 0.12);
}

.button.primary {
  border-color: rgba(247, 147, 26, 0.84);
  color: #080706;
  background: var(--orange);
}

.button.primary:hover {
  background: #ffad42;
}

.button.ghost {
  background: transparent;
}

.button.danger {
  border-color: rgba(255, 91, 91, 0.5);
  color: #ffd8d8;
}

.button.success {
  border-color: rgba(43, 214, 123, 0.54);
  color: #d9ffe9;
}

.button svg,
.nav-links svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 86dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.18), rgba(6, 6, 6, 0.94)),
    linear-gradient(90deg, rgba(6, 6, 6, 0.74), rgba(6, 6, 6, 0.24)),
    url("https://www.satoshi-opcat.com/assets/project-logo.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 68%, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 124px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  border: 1px solid rgba(247, 147, 26, 0.44);
  border-radius: 999px;
  padding: 0 14px;
  color: #ffe4bf;
  background: rgba(247, 147, 26, 0.13);
  font-size: 13px;
  font-weight: 760;
}

.hero h1 {
  max-width: 780px;
  margin: 22px 0 16px;
  font-size: clamp(44px, 9vw, 108px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

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

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 72px 0;
}

.section-title {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.section-title-inline {
  margin-bottom: 0;
}

.section-inner-tight {
  padding-top: 28px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

.section-title p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rule-card,
.panel,
.stat,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.rule-card {
  padding: 22px;
}

.rule-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
}

.rule-card p {
  margin: 0;
  color: var(--muted);
}

.app-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.app-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.app-heading h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.02;
}

.app-heading p {
  max-width: 660px;
  margin: 12px 0 0;
  color: var(--muted);
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 18px;
  align-items: start;
}

.panel {
  padding: 22px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.panel-header h2 {
  margin: 0;
  font-size: 22px;
}

.status-pill {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.status-pill.ready,
.status-approved {
  color: #d9ffe9;
  border-color: rgba(43, 214, 123, 0.44);
  background: rgba(43, 214, 123, 0.12);
}

.status-pill.pending,
.status-pending {
  color: #ffe7bc;
  border-color: rgba(247, 147, 26, 0.44);
  background: rgba(247, 147, 26, 0.12);
}

.status-rejected {
  color: #ffdada;
  border-color: rgba(255, 91, 91, 0.44);
  background: rgba(255, 91, 91, 0.1);
}

.status-redeemed {
  color: #d9f2ff;
  border-color: rgba(104, 216, 255, 0.44);
  background: rgba(104, 216, 255, 0.1);
}

.field-stack {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--steel);
  font-size: 14px;
  font-weight: 720;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.24);
}

.field input[readonly] {
  color: #ffe4bf;
  border-color: rgba(247, 147, 26, 0.36);
}

.helper {
  margin: 0;
  color: var(--faint);
  font-size: 13px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.form-actions-inline {
  margin-top: 0;
}

.message {
  display: none;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
}

.message.is-visible {
  display: block;
}

.message.success {
  color: #defeea;
  border-color: rgba(43, 214, 123, 0.4);
  background: rgba(43, 214, 123, 0.1);
}

.message.error {
  color: #ffe2e2;
  border-color: rgba(255, 91, 91, 0.45);
  background: rgba(255, 91, 91, 0.1);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat {
  padding: 16px;
}

.stat span {
  display: block;
  color: var(--faint);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.stat strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.pass-card {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(247, 147, 26, 0.28), transparent 35%),
    radial-gradient(circle at 70% 30%, rgba(104, 216, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #1a1a1a, #050505);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.pass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.46;
}

.pass-card::after {
  content: "OP_CAT OP_DUP OP_HASH160 GENESIS BLOCK 000000000019D6689C085AE165831E93";
  position: absolute;
  inset: auto 18px 92px 18px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(10px, 2vw, 13px);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.pass-top,
.pass-bottom,
.pass-seal,
.pass-figure {
  position: absolute;
  z-index: 2;
}

.pass-top {
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.pass-kicker {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.pass-title {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: clamp(22px, 5vw, 38px);
  font-weight: 850;
  line-height: 0.98;
}

.pass-number {
  min-width: 80px;
  text-align: right;
  color: var(--steel);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.pass-figure {
  left: 50%;
  top: 50%;
  width: 42%;
  aspect-ratio: 0.72 / 1;
  transform: translate(-50%, -48%);
}

.pass-figure .head {
  position: absolute;
  top: 0;
  left: 50%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #f4f1eb, #8b8b8b);
  box-shadow: 0 0 0 12px rgba(247, 147, 26, 0.08);
}

.pass-figure .body {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 72%;
  clip-path: polygon(50% 0, 93% 100%, 7% 100%);
  background:
    linear-gradient(145deg, rgba(247, 147, 26, 0.78), rgba(241, 241, 241, 0.16) 42%, rgba(0, 0, 0, 0.92) 43%),
    #111;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.pass-seal {
  right: 22px;
  bottom: 108px;
  width: clamp(72px, 18vw, 116px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: #0a0806;
  background: linear-gradient(135deg, #f6f6f6, #a6afb7 46%, #f7931a);
  font-size: clamp(12px, 2vw, 17px);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 14px 44px rgba(247, 147, 26, 0.22);
}

.pass-bottom {
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
}

.pass-quote {
  margin: 0;
  color: #fff4df;
  font-size: clamp(18px, 4vw, 30px);
  font-weight: 860;
  line-height: 1.05;
}

.pass-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pass-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.3);
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.pass-detail {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.detail-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.detail-line span {
  color: var(--faint);
}

.detail-line strong {
  color: var(--text);
  text-align: right;
  overflow-wrap: anywhere;
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.table-wrap {
  overflow-x: auto;
}

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

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

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

td {
  color: var(--text);
}

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

.small-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 740;
}

.small-button:hover {
  border-color: rgba(247, 147, 26, 0.52);
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.route-link {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.admin-login-shell,
.admin-shell {
  color-scheme: light;
  color: #1f2937;
  background: #101014;
}

.admin-login-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    linear-gradient(135deg, rgba(247, 147, 26, 0.22), transparent 34%),
    linear-gradient(225deg, rgba(104, 216, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #17191f 0%, #101014 54%, #09090b 100%);
}

.admin-login-panel {
  width: min(100%, 1040px);
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #121318;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

.admin-login-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 640px;
  padding: 40px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(3, 7, 18, 0.14), rgba(3, 7, 18, 0.82)),
    linear-gradient(90deg, rgba(3, 7, 18, 0.82), rgba(3, 7, 18, 0.26)),
    url("https://www.satoshi-opcat.com/assets/project-logo.jpg") center / cover no-repeat;
  isolation: isolate;
}

.admin-login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, #000, transparent 84%);
}

.admin-login-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 6px 12px 6px 6px;
  background: rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
  font-weight: 760;
}

.admin-login-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-login-copy {
  max-width: 560px;
}

.admin-login-copy span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(247, 147, 26, 0.58);
  border-radius: 999px;
  padding: 0 12px;
  color: #ffe1b3;
  background: rgba(247, 147, 26, 0.14);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.admin-login-copy h1 {
  max-width: 540px;
  margin: 18px 0 14px;
  color: #fff;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0;
}

.admin-login-copy p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

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

.admin-login-metrics div {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.admin-login-metrics span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.admin-login-metrics strong {
  color: #fff;
  font-size: 15px;
}

.admin-login-card {
  display: grid;
  align-content: center;
  border: 0;
  border-radius: 0;
  color: #f8fafc;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #17191f;
  box-shadow: none;
}

.admin-login-card .ant-card-body {
  padding: 48px;
}

.admin-login-title {
  margin-bottom: 26px;
}

.admin-login-title .ant-typography {
  color: rgba(248, 250, 252, 0.72);
}

.admin-login-title h2 {
  margin: 4px 0 8px;
  color: #fff !important;
}

.admin-login-title p {
  margin-bottom: 0;
}

.admin-login-card .ant-form-item-label > label {
  color: rgba(248, 250, 252, 0.9);
}

.admin-login-card .ant-input,
.admin-login-card .ant-input-password {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.94);
}

.admin-login-submit {
  margin-top: 4px;
  border-color: #f7931a;
  color: #111;
  background: #f7931a;
}

.admin-login-submit:hover {
  border-color: #ffb04a !important;
  color: #111 !important;
  background: #ffb04a !important;
}

.admin-login-footnote {
  margin-top: 14px;
  color: rgba(248, 250, 252, 0.58);
  font-size: 12px;
  text-align: center;
}

.admin-shell {
  min-height: calc(100dvh - 72px);
}

.admin-sider {
  background: #111827 !important;
}

.admin-brand {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 0 20px;
  color: #fff;
}

.admin-brand strong {
  font-size: 18px;
  line-height: 1.2;
}

.admin-brand span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-header {
  height: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  line-height: 1.4;
}

.admin-header h3 {
  margin: 0;
}

.admin-content {
  display: grid;
  align-content: start;
  align-items: start;
  grid-auto-rows: max-content;
  gap: 16px;
  padding: 24px;
}

.admin-stats {
  margin-bottom: 0;
}

.admin-filter-form {
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.admin-filter-form .ant-form-item {
  margin-bottom: 8px;
}

.admin-alert {
  margin-bottom: 16px;
}

.admin-link {
  color: #1677ff;
}

.admin-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 32px 0;
  color: var(--faint);
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .app-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .grid-3,
  .metric-row {
    grid-template-columns: 1fr;
  }

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

  .admin-login-visual {
    min-height: 420px;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-links a,
  .nav-links button,
  .button {
    width: 100%;
  }

  .hero {
    min-height: 78dvh;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .section-inner,
  .app-shell {
    width: min(100% - 24px, var(--max));
  }

  .panel {
    padding: 16px;
  }

  .panel-header,
  .detail-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-line strong {
    text-align: left;
  }

  .pass-card {
    min-height: 292px;
  }

  .admin-content,
  .admin-header {
    padding: 16px;
  }

  .admin-login-shell {
    padding: 12px;
  }

  .admin-login-panel {
    min-height: auto;
  }

  .admin-login-visual {
    min-height: 340px;
    padding: 24px;
  }

  .admin-login-copy h1 {
    font-size: 38px;
  }

  .admin-login-copy p {
    font-size: 15px;
  }

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

  .admin-login-card .ant-card-body {
    padding: 24px;
  }
}

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