/* ==========================================================================
   Ryan · Internet · Studio — Pa'lais-inspired editorial system
   Cream paper, deep indigo, warm organic accents, condensed display type.
   ========================================================================== */

@font-face {
  font-family: 'Bebas Neue';
  src: url('fonts/bebas-neue-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('fonts/caveat-var.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-var.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --indigo: #234386;
  --indigo-deep: #1a3268;
  --gold: #ffc400;
  --orange: #ed7328;
  --sky: #6aa8dc;
  --sand: #d2b68c;
  --mint: #a2d3a6;
  --ink: #000000;
  --white: #ffffff;
  --cream: #fbf9f6;
  --cream-2: #f5f0e8;
  --muted: #6d6458;
  --line: rgba(0, 0, 0, 0.14);
  --line-soft: #ece5da;
  --line-strong: rgba(0, 0, 0, 0.55);
  --shadow-card: -14px 10px 49px rgba(0, 0, 0, 0.09);
  --shadow-soft: 0 20px 27px rgba(0, 0, 0, 0.05);
  --font-display: 'Bebas Neue', 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-script: 'Caveat', 'Bradley Hand', 'Snell Roundhand', cursive;
  --max: 1200px;
  --radius-card: 8px;
  --radius-pill: 32px;
  --radius-tag: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--indigo); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--orange); }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; }
button, input { font: inherit; }
.inline { display: inline; }
.muted { color: var(--muted); }
.mono, code {
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 11.5px;
  word-break: break-all;
}
code {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--indigo);
  padding: 2px 6px;
}
.mt-16 { margin-top: 16px; }
.uppercase { text-transform: uppercase; }

/* --------------------------------------------------------------- decoration */
.decor {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1120px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.blob { position: absolute; }
.blob-gold { width: 520px; height: 520px; right: -150px; top: -190px; opacity: .95; }
.blob-mint { width: 420px; height: 420px; left: -180px; top: 410px; opacity: .8; }
.blob-orange { width: 240px; height: 240px; right: 5vw; top: 760px; opacity: .85; }
.botanical {
  position: absolute;
  color: var(--sky);
  opacity: .55;
  stroke-width: 1.2;
}
.botanical-a { width: 210px; left: 4vw; top: 120px; transform: rotate(-7deg); }
.botanical-b { width: 280px; right: 3vw; top: 420px; transform: rotate(6deg); color: var(--indigo); opacity: .35; }

/* ------------------------------------------------------------------- type */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.043em;
  line-height: 0.88;
  color: var(--indigo);
}
.display-xl { font-size: clamp(58px, 8.2vw, 102px); }
.display-lg { font-size: clamp(44px, 5.6vw, 72px); }
.display-md { font-size: clamp(36px, 4.2vw, 50px); }
.display-sm { font-size: clamp(26px, 2.7vw, 34px); line-height: .95; }
.display-xs { font-size: 22px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--indigo);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--orange);
  flex: 0 0 auto;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.62); }
.eyebrow-light::before { background: var(--gold); }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.05;
  color: var(--indigo);
  text-transform: none;
  letter-spacing: 0;
}
.lede {
  max-width: 48ch;
  color: #4e463b;
  font-size: 14.5px;
  line-height: 1.85;
  letter-spacing: 0.015em;
}
.hint { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.7; letter-spacing: .02em; }
.empty { color: var(--muted); font-size: 12.5px; padding: 20px 0; }

/* ------------------------------------------------------------------ topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(22px, calc((100vw - var(--max)) / 2));
  background: rgba(251, 249, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--indigo); }
.brand:hover { color: var(--indigo); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1;
  letter-spacing: .02em;
}
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 23px;
  line-height: .9;
  letter-spacing: .08em;
}
.brand-copy small {
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .22em;
  color: var(--indigo);
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav-link {
  position: relative;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--indigo);
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--orange);
  transition: right .2s ease;
}
.nav-link:hover::after { right: 0; }
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-user-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(162, 211, 166, .22); }

/* ------------------------------------------------------------------ layout */
.wrap {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 44px));
  margin: 52px auto 88px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}
.wrap > * { min-width: 0; }
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.page-head .display { margin: 0 0 8px; }
.page-sub { color: var(--muted); font-size: 12px; letter-spacing: .06em; }

/* -------------------------------------------------------------------- card */
.card {
  position: relative;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.card-head .display { margin: 0; }
.card-access { box-shadow: 0 20px 27px rgba(0,0,0,.05); }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; min-width: 0; }
.grid-2 > * { min-width: 0; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--indigo);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .38; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.btn-primary:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); color: var(--white); }
.btn-outline { border: 2px solid var(--orange); color: var(--orange); background: transparent; }
.btn-outline:hover { background: var(--orange); color: var(--white); }
.btn-ghost { border-color: var(--line); color: var(--indigo); background: transparent; }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-danger { border: 2px solid var(--orange); color: var(--orange); background: transparent; }
.btn-danger:hover { background: var(--orange); color: var(--white); }
.btn-sm { min-height: 34px; padding: 8px 14px; font-size: 9.5px; letter-spacing: .12em; }
.btn-block { width: 100%; }

/* -------------------------------------------------------------------- auth */
.auth-page { background: var(--cream); }
.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-width: 0;
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  min-height: calc(100vh - 360px);
  padding: 26px 0 10px;
}
.auth-editorial { position: relative; z-index: 1; }
.auth-editorial .display-xl { margin: 0 0 6px; }
.auth-script { margin: 14px 0 22px; color: var(--indigo); }
.auth-editorial .lede { max-width: 44ch; }
.auth-rule { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: var(--muted); }
.auth-rule span { width: 68px; height: 1px; background: var(--indigo); }
.auth-rule em { font-style: normal; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.auth-card { width: 100%; max-width: 470px; min-width: 0; justify-self: end; padding: 36px; }
.auth-head { margin-bottom: 26px; }
.auth-head .display { margin: 0 0 6px; }
.auth-head .muted { font-size: 12px; }
.form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
label { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.label-text {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--indigo);
}
.label-text em {
  font-style: normal;
  font-size: 8px;
  letter-spacing: .2em;
  color: var(--muted);
}
input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: .01em;
  min-width: 0;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input::placeholder { color: #a49a8d; }
input:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(35, 67, 134, .1); }
.auth-submit { justify-content: space-between; min-height: 48px; padding-left: 22px; padding-right: 22px; }
.auth-foot { margin-top: 20px; text-align: center; font-size: 11.5px; }
.auth-foot a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------- usage */
.usage-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.usage-num { font-family: var(--font-display); font-size: clamp(52px, 5vw, 70px); line-height: .85; letter-spacing: .025em; color: var(--indigo); }
.usage-pct { font-family: var(--font-display); font-size: 34px; line-height: .9; color: var(--orange); letter-spacing: .02em; white-space: nowrap; }
.usage-pct small { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.usage-caption { margin: 6px 0 14px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.progress {
  height: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream-2);
  overflow: hidden;
}
.progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--indigo);
  transition: width .5s ease;
}
.meta-list { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 26px; margin: 24px 0 2px; min-width: 0; }
.meta-list > div { min-width: 0; }
.meta-list > div { border-top: 1px solid var(--line); padding: 10px 0 2px; }
.meta-list dt { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.meta-list dd { margin: 3px 0 0; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--indigo); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.actions-stack { display: grid; grid-template-columns: 1fr 1fr; }
.actions-stack .btn { width: 100%; }

/* ---------------------------------------------------------------- copy/kv */
.copy-row { display: flex; align-items: stretch; gap: 8px; min-width: 0; }
.copy-row .btn { padding-left: 18px; padding-right: 18px; }
.copy-row input {
  flex: 1;
  min-width: 0;
  padding: 12px 13px;
  background: var(--cream);
  font-size: 11.5px;
}
.kv { margin-top: 20px; }
.kv > div { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding: 9px 0; font-size: 11px; }
.kv .muted { letter-spacing: .12em; text-transform: uppercase; font-size: 9px; }
.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--indigo);
  border-radius: var(--radius-tag);
  padding: 4px 10px;
  color: var(--indigo);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ------------------------------------------------------------------- table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); }
.table-note { display: none; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { padding: 12px 14px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line-soft); }
th {
  background: #faf7f1;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #fffaf0; }
td .mono { color: var(--indigo); }
.cell-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.flag { font-size: 15px; }

.tag {
  display: inline-block;
  margin-left: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-tag);
  padding: 2px 8px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tag-warn { border-color: rgba(237, 115, 40, .45); color: var(--orange); }
.tag-danger { border-color: var(--orange); color: var(--orange); background: #fff7f1; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 13px;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-sm { padding: 3px 9px; font-size: 8px; letter-spacing: .1em; }
.status-active { color: #256b49; background: #eef8f1; border-color: #b7ddc1; }
.status-blocked { color: #7d5600; background: #fff6d8; border-color: #f0d27a; }
.status-stolen, .status-disabled { color: #a63b04; background: #fff0e6; border-color: #f1b38e; }

/* ---------------------------------------------------------------- banners */
.banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-card);
  background: var(--white);
  font-size: 12.5px;
  line-height: 1.7;
}
.banner-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
}
.banner-danger { border-left-color: var(--orange); }
.banner-warn { border-left-color: var(--gold); }
.banner-warn .banner-mark { background: var(--gold); color: var(--indigo); }

/* ------------------------------------------------------------------ alerts */
.alert-list { list-style: none; margin: 0; padding: 0; }
.alert-item { border-top: 1px solid var(--line); padding: 15px 0; }
.alert-item:first-child { border-top: none; }
.alert-item.unread { border-left: 3px solid var(--orange); padding-left: 14px; background: #fffaf3; }
.alert-top { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 7px; }
.alert-item p { color: #4e463b; font-size: 12.5px; line-height: 1.7; }
.alert-detail {
  white-space: pre-wrap;
  max-height: 210px;
  overflow: auto;
  margin: 14px 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--cream);
  color: var(--indigo);
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 10.5px;
  line-height: 1.7;
}

/* ------------------------------------------------------------------- modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(35, 67, 134, 0.32);
  backdrop-filter: blur(8px);
}
.modal {
  width: min(620px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(35, 67, 134, 0.18);
}
.modal .display { margin: 0 0 8px; }
.cn-title { margin: 2px 0 10px; font-size: 16px; font-weight: 600; letter-spacing: .05em; color: var(--indigo); }

/* ------------------------------------------------------------------ flashes */
.flash-stack { display: flex; flex-direction: column; gap: 9px; }
.flash {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--indigo);
  border-radius: var(--radius-card);
  background: var(--white);
  font-size: 12.5px;
  box-shadow: var(--shadow-soft);
}
.flash.error { border-left-color: var(--orange); color: #8f3c08; }
.flash.ok { border-left-color: var(--mint); color: #256b49; }

/* ------------------------------------------------------------------- error */
.error-page { background: var(--cream); }
.error-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 380px);
  padding: 60px 20px;
  text-align: center;
}
.error-shell .display-xl { font-size: clamp(110px, 18vw, 200px); line-height: .75; margin: 10px 0 0; }
.error-script { margin: 8px 0 14px; color: var(--orange); }
.error-shell .lede { margin-bottom: 24px; }

/* ------------------------------------------------------------------- toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  transform: translateX(-50%);
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--indigo);
  color: var(--white);
  font-size: 11.5px;
  letter-spacing: .04em;
  box-shadow: 0 18px 40px rgba(35, 67, 134, .22);
}
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ footer */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 70px;
  background: var(--indigo);
  color: var(--white);
  padding: 54px max(22px, calc((100vw - var(--max)) / 2));
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { color: var(--white); font-size: clamp(28px, 4vw, 48px); margin: 0; }
.footer-script { margin-top: 4px; color: var(--gold); font-size: 30px; }
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  color: rgba(255, 255, 255, .66);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-meta a { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-meta a:hover { color: var(--gold); }

/* ------------------------------------------------------------------ media */
@media (max-width: 980px) {
  .blob-gold { width: 360px; height: 360px; right: -170px; top: -170px; }
  .blob-mint { width: 300px; height: 300px; left: -160px; top: 520px; }
  .blob-orange { display: none; }
  .botanical-a { width: 150px; left: -50px; top: 160px; opacity: .35; }
  .botanical-b { width: 210px; right: -60px; top: 500px; opacity: .22; }
  .auth-shell { grid-template-columns: minmax(0, 1fr); gap: 38px; min-height: auto; padding-top: 10px; width: 100%; }
  .auth-card { justify-self: stretch; max-width: 560px; min-width: 0; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .page-head { align-items: flex-start; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 22px; }
  .footer-meta { align-items: flex-start; }
}

@media (max-width: 680px) {
  .card-head { flex-direction: column; gap: 8px; }
  .card-head .eyebrow { white-space: nowrap; }
  table { min-width: 760px; }
  table.table-ip { min-width: 620px; }
  th, td { white-space: nowrap; }
  td.mono, th.mono { white-space: nowrap; word-break: normal; }
  .topbar { padding: 12px 18px; gap: 12px; }
  .brand-mark { width: 34px; height: 34px; font-size: 20px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy small { font-size: 7.5px; letter-spacing: .16em; }
  .nav { gap: 12px; }
  .nav-link { font-size: 9px; letter-spacing: .12em; }
  .nav-user { display: none; }
  .nav .btn-sm { min-height: 30px; padding: 7px 10px; font-size: 8px; letter-spacing: .08em; }
  .wrap { width: calc(100% - 26px); margin: 30px auto 60px; gap: 18px; }
  .card { padding: 20px; }
  .display-xl { font-size: clamp(48px, 14vw, 66px); }
  .display-lg { font-size: clamp(40px, 11vw, 54px); }
  .auth-card { padding: 24px; max-width: none; }
  .usage-num { font-size: 48px; }
  .usage-pct { font-size: 28px; }
  .meta-list { grid-template-columns: 1fr; gap: 0; }
  .actions-stack { grid-template-columns: 1fr; }
  .copy-row { flex-direction: column; }
  .copy-row .btn { width: 100%; }
  .table-note { display: block; margin: 8px 0 0; color: var(--muted); font-size: 8.5px; letter-spacing: .13em; text-transform: uppercase; }
  .footer-brand { font-size: 32px; }
  .footer-script { font-size: 26px; }
  .modal { padding: 24px; }
  th, td { padding: 10px 11px; }
  .botanical { display: none; }
  .site-footer { margin-top: 40px; padding: 36px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
