/* Hisab Time: account and team dashboard (hisabtime.com/account/ and /admin/).
   "Ledger Luxe, White Edition", the same tokens, fonts and corner radii as the
   home page and the policy pages. Self-hosted fonts. Motion is transform and
   opacity only, and respects prefers-reduced-motion. */

/* ---------- fonts (same files and subsets as site.css) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-rupee-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-rupee-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  font-weight: 100 900;
  font-style: normal;
  size-adjust: 86.5%;
  ascent-override: 113.1%;
  descent-override: 29.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia Italic"), local("Georgia-Italic");
  font-weight: 100 900;
  font-style: italic;
  size-adjust: 81%;
  ascent-override: 120.8%;
  descent-override: 31.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 200 549;
  font-style: normal;
  size-adjust: 103.6%;
  ascent-override: 100.2%;
  descent-override: 21.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 550 800;
  font-style: normal;
  size-adjust: 100%;
  ascent-override: 103.9%;
  descent-override: 22.2%;
  line-gap-override: 0%;
}

/* ---------- tokens ---------- */
:root {
  --canvas: #f7f8fa;
  --card: #ffffff;
  --line: #e7e9ef;
  --line-2: #f0f2f5;
  --line-3: #dfe2e9;
  --ink: #161a2b;
  --ink-2: #41465a;
  --muted: #737889;
  --muted-aa: #626779;
  --faint: #a7abb8;
  --em: #0b7a55;
  --em-2: #0f9f6e;
  --em-hi: #14a072;
  --em-deep: #064a33;
  --glow: #34d399;
  --tint: #e6f5ee;
  --ruby: #e0475c;
  --ruby-ink: #b4283c;
  --ruby-tint: #fdecef;
  --amber: #d98a06;
  --amber-ink: #8f5b00;
  --amber-tint: #fdf3df;
  --sapphire: #2f6fe0;
  --sapphire-ink: #1f55b8;
  --sapphire-tint: #eaf1fd;
  --gold: #f5c45a;
  --gold-deep: #b8862a;
  --ivory: #fbf6ea;
  --night: #11141f;

  --serif: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --top-h: 72px;

  --sh-1: 0 1px 2px rgba(22, 26, 43, 0.04), 0 1px 1px rgba(22, 26, 43, 0.02);
  --sh-2: 0 1px 0 rgba(22, 26, 43, 0.03), 0 14px 34px -20px rgba(22, 26, 43, 0.24);
  --sh-3: 0 2px 4px rgba(22, 26, 43, 0.04), 0 28px 56px -28px rgba(22, 26, 43, 0.34), 0 60px 110px -60px rgba(22, 26, 43, 0.22);
  --sh-float: 0 1px 2px rgba(22, 26, 43, 0.06), 0 24px 48px -24px rgba(22, 26, 43, 0.38);

  --r-1: 12px;
  --r-2: 16px;
  --r-3: 24px;
  --r-4: 32px;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
main {
  flex: 1 0 auto;
}
main:focus {
  outline: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--em);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(11, 122, 85, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
a:hover {
  color: #075c40;
  text-decoration-color: currentColor;
}
:focus-visible {
  outline: 2px solid var(--em);
  outline-offset: 3px;
  border-radius: 8px;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}
p,
li,
dd {
  text-wrap: pretty;
}
strong {
  font-weight: 700;
  color: var(--ink);
}
code,
.mono {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--ink);
  letter-spacing: 0;
}
::selection {
  background: rgba(52, 211, 153, 0.28);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.nowrap {
  white-space: nowrap;
}
.muted {
  color: var(--muted-aa);
}
.pos {
  color: var(--em);
}
.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  transform: translateY(calc(-100% - 40px));
  opacity: 0;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--r-1);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.skip:focus {
  transform: none;
  opacity: 1;
  color: #fff;
}
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--em);
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--em-2);
  box-shadow: 0 0 0 4px rgba(15, 159, 110, 0.14);
}

/* ---------- wordmark ----------
   "Sahi h" wordmark as live text (brand/BRAND.md): "hisab" Plus Jakarta Sans
   800, tracking -2.2%; "time" Fraunces italic at 1.04x, the text cut (opsz 96,
   580) because it is set at 32px and below here. */
.ht-word {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 800;
  font-variation-settings: normal;
  letter-spacing: -0.022em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.ht-word em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 580;
  font-size: 1.04em;
  font-variation-settings: "opsz" 96;
  letter-spacing: 0;
  margin-left: 0.075em;
  color: var(--em);
}

/* ---------- top bar ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 250, 0.88);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid rgba(231, 233, 239, 0.9);
}
.top__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--top-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex: none;
  text-decoration: none;
  color: var(--ink);
  border-radius: 10px;
}
.brand:hover {
  color: var(--ink);
}
.brand img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 6px 8px rgba(6, 74, 51, 0.22));
}
.brand .ht-word {
  font-size: 23px;
  transform: translateY(-1px);
}
.brand__tag {
  margin-left: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}
.top__end {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.top__home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.top__home .i {
  width: 17px;
  height: 17px;
}
.top__home:hover {
  color: var(--ink);
  border-color: #d5d9e2;
  box-shadow: 0 8px 20px -14px rgba(22, 26, 43, 0.35);
}
.who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.who__txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.who__txt strong {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.who__txt small {
  font-size: 12.5px;
  color: var(--muted-aa);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(160deg, #14a072, #0b7a55 55%, #064a33);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 14px -8px rgba(6, 74, 51, 0.6);
}
.avatar--sm {
  width: 34px;
  height: 34px;
  font-size: 12px;
}
.avatar--lg {
  width: 56px;
  height: 56px;
  font-size: 18px;
}

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--h);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-1);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, opacity 0.2s;
}
.btn .i {
  width: 18px;
  height: 18px;
}
.btn:active:not(:disabled) {
  transform: scale(0.985);
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.btn.is-busy {
  opacity: 0.85;
  cursor: progress;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #0e8560, #0b7a55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(6, 74, 51, 0.3), 0 12px 24px -12px rgba(11, 122, 85, 0.7);
}
.btn--primary:hover:not(:disabled) {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 4px rgba(6, 74, 51, 0.28), 0 18px 32px -14px rgba(11, 122, 85, 0.78);
}
.btn--ink {
  color: #fff;
  background: linear-gradient(180deg, #232842, var(--ink));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1px 2px rgba(22, 26, 43, 0.3), 0 12px 24px -14px rgba(22, 26, 43, 0.8);
}
.btn--ink:hover:not(:disabled) {
  color: #fff;
  transform: translateY(-1px);
}
.btn--ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--sh-1);
}
.btn--ghost:hover:not(:disabled) {
  color: var(--ink);
  border-color: #d3d6df;
  transform: translateY(-1px);
  box-shadow: var(--sh-2);
}
.btn--ivory {
  color: var(--em-deep);
  background: var(--ivory);
  box-shadow: inset 0 1px 0 #fff, 0 16px 30px -16px rgba(2, 31, 21, 0.7);
}
.btn--ivory:hover:not(:disabled) {
  color: var(--em-deep);
  background: #fff;
  transform: translateY(-1px);
}
.btn--google {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-3);
  box-shadow: var(--sh-1);
}
.btn--google:hover:not(:disabled) {
  color: var(--ink);
  border-color: #c9cdd6;
  box-shadow: var(--sh-2);
}
.btn--google .g {
  width: 20px;
  height: 20px;
}
.btn--danger {
  color: #fff;
  background: linear-gradient(180deg, #e5566a, #d63c52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 22px -14px rgba(180, 40, 60, 0.8);
}
.btn--danger:hover:not(:disabled) {
  color: #fff;
  transform: translateY(-1px);
}
.btn--danger-ghost {
  color: var(--ruby-ink);
  background: #fff;
  border-color: rgba(224, 71, 92, 0.35);
}
.btn--danger-ghost:hover:not(:disabled) {
  color: var(--ruby-ink);
  background: var(--ruby-tint);
  border-color: rgba(224, 71, 92, 0.6);
}
.btn--lg {
  --h: 54px;
  padding: 0 26px;
  font-size: 16px;
}
.btn--sm {
  --h: 38px;
  padding: 0 14px;
  font-size: 13.5px;
  border-radius: 10px;
}
.btn--sm .i {
  width: 16px;
  height: 16px;
}
.btn--block {
  width: 100%;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--sh-1);
  transition: transform 0.3s var(--ease), border-color 0.2s, box-shadow 0.3s var(--ease), background-color 0.2s;
}
.icon-btn:hover {
  border-color: #d3d6df;
  box-shadow: var(--sh-2);
}
.icon-btn .i {
  width: 18px;
  height: 18px;
}
.icon-btn--quiet {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.icon-btn--quiet:hover {
  background: #fff;
  border-color: var(--line);
}
.icon-btn--xs {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: none;
  vertical-align: middle;
}
.icon-btn--xs .i {
  width: 14px;
  height: 14px;
}
.icon-btn.is-spinning .i {
  animation: spin 0.9s linear infinite;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--em);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(11, 122, 85, 0.35);
  text-underline-offset: 3px;
  cursor: pointer;
}
.link:hover {
  color: #075c40;
  text-decoration-color: currentColor;
}
.link .i {
  width: 16px;
  height: 16px;
}
.link--sm {
  font-size: 13.5px;
}
.spin {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.75s linear infinite;
}
.spin--lg {
  width: 36px;
  height: 36px;
  border-width: 3px;
  color: var(--em);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  vertical-align: middle;
  background: var(--line-2);
  color: var(--ink-2);
}
.pill .i {
  width: 13px;
  height: 13px;
  stroke-width: 2;
}
.pill--ok {
  background: var(--tint);
  color: var(--em);
}
.pill--err {
  background: var(--ruby-tint);
  color: var(--ruby-ink);
}
.pill--warn {
  background: var(--amber-tint);
  color: var(--amber-ink);
}
.pill--info {
  background: var(--sapphire-tint);
  color: var(--sapphire-ink);
}
.pill--muted {
  background: var(--line-2);
  color: var(--muted-aa);
}
.pill--pro {
  background: linear-gradient(180deg, #232842, var(--ink));
  color: var(--gold);
}

/* ---------- fields ---------- */
.field {
  display: grid;
  gap: 7px;
}
.field__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.field__label {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}
.field__box {
  position: relative;
}
.field__input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-3);
  border-radius: var(--r-1);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  box-shadow: inset 0 1px 2px rgba(22, 26, 43, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field__input::placeholder {
  color: var(--faint);
}
.field__input:hover {
  border-color: #c9cdd6;
}
.field__input:focus {
  outline: none;
  border-color: var(--em-2);
  box-shadow: 0 0 0 4px rgba(15, 159, 110, 0.14);
}
.field__box .field__input[type="password"],
.field__box .field__input[name="password"] {
  padding-right: 52px;
}
.field__eye {
  position: absolute;
  right: 5px;
  top: 5px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted-aa);
  cursor: pointer;
}
.field__eye:hover {
  color: var(--ink);
  background: var(--line-2);
}
.field__eye .i {
  width: 19px;
  height: 19px;
}
.field__hint {
  font-size: 13px;
  color: var(--muted-aa);
}
.form-err {
  display: flex;
  gap: 8px;
  padding: 11px 14px;
  border-radius: var(--r-1);
  background: var(--ruby-tint);
  color: var(--ruby-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- skeletons ---------- */
.skel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-1);
  background: #eceef3;
}
.skel::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: shimmer 1.4s var(--ease) infinite;
}
@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}
.skel--eyebrow {
  width: 150px;
  height: 14px;
  border-radius: 6px;
}
.skel--title {
  width: min(420px, 80%);
  height: 52px;
  margin-top: 18px;
}
.skel--line {
  width: min(360px, 70%);
  height: 16px;
  margin-top: 16px;
  border-radius: 6px;
}
.skel--card {
  height: 236px;
  border-radius: var(--r-3);
}
.skel--ink {
  background: #23283c;
}
.skel--ink::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
}
.skel--h {
  width: 260px;
  height: 34px;
  margin-bottom: 28px;
}
.skel--offer {
  height: 380px;
  border-radius: var(--r-3);
}
.skel--pack {
  height: 220px;
  border-radius: var(--r-3);
}
.skel--row {
  height: 58px;
}
.skel--kpi {
  height: 150px;
  border-radius: var(--r-3);
}
.skel--chart {
  height: 300px;
  border-radius: var(--r-3);
}
.skel--trow {
  height: 52px;
  border-radius: 10px;
}
.rows-skel,
.tbl-skel {
  display: grid;
  gap: 10px;
}
.tbl-skel {
  padding: 8px 0;
}

/* ---------- generic states ---------- */
.state {
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(64px, 12vh, 140px) var(--gutter);
  text-align: center;
}
.state__ic {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--em);
  box-shadow: var(--sh-2);
}
.state__ic .i {
  width: 28px;
  height: 28px;
}
.state--warn .state__ic {
  color: var(--amber);
}
.state--ok .state__ic {
  background: var(--tint);
  border-color: rgba(11, 122, 85, 0.2);
}
.state__title {
  font-family: var(--serif);
  font-weight: 470;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.state__text {
  max-width: 50ch;
  margin: 16px auto 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}
.state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.inline-err,
.inline-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-2);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
}
.inline-err > .i {
  color: var(--amber);
}
.inline-err > span {
  flex: 1 1 240px;
}
.inline-note {
  margin-bottom: 20px;
  background: var(--amber-tint);
  border-color: rgba(217, 138, 6, 0.25);
  color: var(--amber-ink);
}
.inline-note strong {
  color: inherit;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 36px 20px;
  text-align: center;
  color: var(--muted-aa);
  font-size: 14.5px;
}
.empty .i {
  width: 26px;
  height: 26px;
  color: var(--faint);
}
.empty p {
  max-width: 40ch;
}
.empty-line {
  padding: 18px 0;
  font-size: 14.5px;
  color: var(--muted-aa);
}

/* ---------- banners ---------- */
.banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 14px 14px 16px;
  border-radius: var(--r-2);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  font-size: 14.5px;
  line-height: 1.55;
  animation: rise 0.5s var(--ease) both;
}
.banner > .i {
  margin-top: 2px;
}
.banner__txt {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}
.banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.banner--ok > .i {
  color: var(--em);
}
.banner--ok {
  border-color: rgba(11, 122, 85, 0.3);
}
.banner--err {
  border-color: rgba(224, 71, 92, 0.35);
}
.banner--err > .i {
  color: var(--ruby);
}
.banner--warn {
  border-color: rgba(217, 138, 6, 0.32);
}
.banner--warn > .i {
  color: var(--amber);
}
.banner--info > .i {
  color: var(--sapphire);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ---------- sign-in ---------- */
.auth-wrap {
  padding-block: clamp(36px, 7vh, 88px) clamp(56px, 10vh, 112px);
}
.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.auth__title {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.5rem, 1.3rem + 3.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.auth__title em {
  font-style: italic;
  font-weight: 450;
  color: var(--em);
  letter-spacing: -0.012em;
}
.auth__lede {
  max-width: 46ch;
  margin-top: 22px;
  font-size: clamp(1.0625rem, 1rem + 0.28vw, 1.2rem);
  line-height: 1.62;
}
.auth__points {
  display: grid;
  gap: 18px;
  margin-top: 36px;
  max-width: 480px;
}
.auth__points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.auth__points div {
  display: grid;
  gap: 2px;
  font-size: 15px;
  line-height: 1.5;
}
.auth__points strong {
  font-size: 15.5px;
}
.auth__points span {
  color: var(--muted-aa);
}
.auth__pi {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: var(--r-1);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--em);
  box-shadow: var(--sh-1);
}
.auth__trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 480px;
  font-size: 13.5px;
  color: var(--muted-aa);
}
.auth__trust .i {
  width: 18px;
  height: 18px;
  color: var(--em);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--sh-3);
}
.auth__card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(26px, 3.2vw, 40px);
}
.auth__card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 4px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, var(--em-hi), var(--em) 50%, var(--gold) 100%);
  opacity: 0.85;
}
.auth__h {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.auth__sub {
  margin-top: -8px;
  font-size: 15px;
  color: var(--muted-aa);
}
.auth__form {
  display: grid;
  gap: 16px;
}
.or {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.or::before,
.or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth__switch {
  font-size: 14.5px;
  text-align: center;
  color: var(--muted-aa);
}
.auth__legal {
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  font-size: 12.5px;
  line-height: 1.55;
  text-align: center;
  color: var(--muted-aa);
}
.auth__done {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}
.auth__done .auth__sub {
  margin-top: 0;
}
.auth__done-ic {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--tint);
  color: var(--em);
}
.auth__done-ic .i {
  width: 26px;
  height: 26px;
}
.auth--admin {
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
  gap: 28px;
}
.auth__brandmark {
  display: flex;
  justify-content: center;
}
.auth__brandmark img {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 14px 18px rgba(6, 74, 51, 0.3));
}

/* ---------- coming soon ---------- */
.soon {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(48px, 9vh, 110px) clamp(64px, 11vh, 128px);
}
.soon::before,
.acct-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 39px, rgba(22, 26, 43, 0.05) 39px, rgba(22, 26, 43, 0.05) 40px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 92%);
}
.soon::after,
.acct-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 900px;
  height: 620px;
  left: -260px;
  top: -320px;
  background: radial-gradient(closest-side, rgba(52, 211, 153, 0.14), rgba(52, 211, 153, 0));
  pointer-events: none;
}
.soon__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.soon__title {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "opsz" 144;
  font-size: clamp(3rem, 1.4rem + 4.6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
}
.soon__title em {
  font-style: italic;
  font-weight: 450;
  color: var(--em);
}
.soon__lede {
  max-width: 44ch;
  margin-top: 24px;
  font-size: clamp(1.0625rem, 1rem + 0.28vw, 1.25rem);
  line-height: 1.62;
}
.soon__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.soon__out {
  margin-top: 18px;
  font-size: 14.5px;
}
.soon__list {
  display: grid;
  gap: 0;
  padding: 10px 28px;
  border-radius: var(--r-4);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
}
.soon__list li {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-2);
}
.soon__list li:last-child {
  border-bottom: 0;
}
.soon__list h2 {
  font-family: var(--serif);
  font-weight: 520;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.soon__list p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-aa);
}
.soon__ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--r-1);
  background: var(--tint);
  color: var(--em);
}

/* ---------- account: hero and summary ---------- */
.acct-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(28px, 5vh, 56px) 0 clamp(40px, 6vh, 64px);
}
.acct-hero__title {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.acct-hero__title em {
  font-style: italic;
  font-weight: 450;
  color: var(--em);
  letter-spacing: -0.012em;
}
.acct-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted-aa);
}
.acct-hero__meta span {
  overflow-wrap: anywhere;
}
.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--faint);
}
.sum {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.sum__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 28px 30px 30px;
  border-radius: var(--r-3);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
}
.sum__plan {
  background: var(--ink);
  border-color: var(--ink);
  color: rgba(251, 246, 234, 0.76);
  box-shadow: 0 30px 60px -36px rgba(17, 20, 31, 0.8);
}
.sum__plan::before {
  content: "";
  position: absolute;
  inset: 0 0 0 46%;
  z-index: -1;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(251, 246, 234, 0.07) 27px, rgba(251, 246, 234, 0.07) 28px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 70%);
  mask-image: linear-gradient(to right, transparent, #000 70%);
}
.sum__plan::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -140px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  background: radial-gradient(closest-side, rgba(52, 211, 153, 0.2), rgba(52, 211, 153, 0));
}
.sum__plan.is-pro::after {
  background: radial-gradient(closest-side, rgba(245, 196, 90, 0.22), rgba(245, 196, 90, 0));
}
.sum__k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-aa);
}
.sum__k .i {
  width: 17px;
  height: 17px;
  color: var(--em);
}
.sum__plan .sum__k {
  color: rgba(251, 246, 234, 0.62);
}
.sum__plan .sum__k .i {
  color: var(--gold);
}
.sum__v {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 450;
  font-variation-settings: "opsz" 144;
  font-size: clamp(3rem, 2rem + 2.6vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}
.sum__plan .sum__v {
  color: var(--ivory);
}
.sum__plan.is-pro .sum__v {
  font-style: italic;
  background: linear-gradient(100deg, #ffe6a3, var(--gold) 45%, #e0a93f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.sum__line {
  max-width: 40ch;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
}
.sum__plan .sum__line strong {
  color: var(--ivory);
}
.sum__sub {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(251, 246, 234, 0.6);
}
.meter {
  height: 6px;
  margin-top: 16px;
  max-width: 320px;
  border-radius: 999px;
  background: rgba(251, 246, 234, 0.12);
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e0a93f, var(--gold));
}
/* the button sits on the card's bottom edge, at least 24px below the text */
.sum__cta {
  align-self: flex-start;
  margin-top: auto;
}
.sum__card > :nth-last-child(2) {
  margin-bottom: 24px;
}
.app-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-aa);
}
.app-note .i {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--em);
}

/* ---------- account: blocks ---------- */
.acct-body {
  display: grid;
  gap: clamp(56px, 8vw, 96px);
  padding-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(64px, 9vw, 120px);
}
.block {
  scroll-margin-top: calc(var(--top-h) + 20px);
}
.block__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.block__head--row {
  align-items: center;
  margin-bottom: 8px;
}
.block__title {
  font-family: var(--serif);
  font-weight: 470;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.block__title--sm {
  font-size: 24px;
  font-variation-settings: "opsz" 48;
  letter-spacing: -0.015em;
}
.block__lede {
  max-width: 58ch;
  margin-top: 12px;
  font-size: 16.5px;
  line-height: 1.6;
}
.block--panel {
  padding: 26px 28px 22px;
  border-radius: var(--r-3);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.fine {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 760px;
  margin-top: 22px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted-aa);
}
.fine .i {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--faint);
}

/* offers (Pro) */
.offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 26px;
  border-radius: var(--r-4);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.offer:hover {
  box-shadow: var(--sh-2);
}
.offer--best {
  border-color: rgba(11, 122, 85, 0.36);
  box-shadow: 0 0 0 1px rgba(11, 122, 85, 0.08), 0 34px 70px -40px rgba(11, 122, 85, 0.45);
}
.offer__top {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.offer__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--line-2);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.offer__tag .i {
  width: 13px;
  height: 13px;
}
.offer--best .offer__tag {
  background: var(--tint);
  color: var(--em);
}
.offer__name {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 480;
  letter-spacing: -0.015em;
}
.offer__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 16px;
}
.offer__amt {
  font-family: var(--serif);
  font-size: clamp(48px, 4.6vw, 62px);
  font-weight: 430;
  font-variation-settings: "opsz" 144;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}
.offer__per {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted-aa);
}
.offer__line {
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--em);
}
.offer__list {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.offer__list li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
}
.offer__list .i {
  width: 18px;
  height: 18px;
  color: var(--em);
  stroke-width: 2;
}
.offer > .btn {
  margin-top: auto;
}
.offer__fine {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
  color: var(--muted-aa);
}
.offer__fine strong {
  font-weight: 650;
  color: var(--ink-2);
}

/* packs (credits) */
.packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pack {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 22px;
  border-radius: var(--r-3);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.pack__amt {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 450;
  font-variation-settings: "opsz" 144;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.pack__bonus {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--em);
}
.pack__bonus .i {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}
.pack__bonus .muted {
  font-weight: 600;
}
.pack__get {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 18px 0 20px;
  border-radius: var(--r-2);
  background: var(--canvas);
  border: 1px solid var(--line-2);
}
.pack__get div {
  padding: 10px 14px;
}
.pack__get div + div {
  border-left: 1px solid var(--line-2);
}
.pack__get dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-aa);
}
.pack__get dd {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.pack > .btn {
  margin-top: auto;
}

/* lists (wallet activity, payments) */
.cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.rows {
  display: grid;
}
.row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
}
.row:last-child {
  border-bottom: 0;
}
.row__ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: var(--r-1);
  background: var(--line-2);
  color: var(--ink-2);
}
.row__ic .i {
  width: 18px;
  height: 18px;
}
.row__ic--pos {
  background: var(--tint);
  color: var(--em);
}
.row__main {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 1px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted-aa);
}
.row__main strong {
  font-size: 15px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.row__main > span {
  overflow-wrap: anywhere;
}
.row__id {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.row__id code {
  font-size: 12.5px;
  color: var(--muted-aa);
}
.row__amt {
  flex: none;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.row__amt.pos {
  color: var(--em);
}
.row__end {
  display: grid;
  justify-items: end;
  gap: 6px;
  flex: none;
}
.rows__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  font-size: 12.5px;
  color: var(--muted-aa);
}

/* settings */
.kv {
  display: grid;
  margin-top: 10px;
}
.kv > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
}
.kv dt {
  color: var(--muted-aa);
  font-weight: 600;
}
.kv dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.kv code {
  font-size: 13px;
  color: var(--ink-2);
}
.danger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: var(--r-2);
  background: #fffafa;
  border: 1px solid rgba(224, 71, 92, 0.2);
}
.danger h3 {
  font-size: 16px;
  font-weight: 700;
}
.danger p {
  max-width: 56ch;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-aa);
}

/* help card */
.help {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 44px;
  border-radius: 28px;
  background: var(--ink);
  color: rgba(251, 246, 234, 0.76);
}
.help::before {
  content: "";
  position: absolute;
  inset: 0 0 0 44%;
  z-index: -1;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(251, 246, 234, 0.07) 27px, rgba(251, 246, 234, 0.07) 28px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60%);
  mask-image: linear-gradient(to right, transparent, #000 60%);
}
.help::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(52, 211, 153, 0.18), rgba(52, 211, 153, 0));
}
.help h2 {
  color: var(--ivory);
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.help h2 em {
  color: var(--glow);
  font-style: italic;
  font-weight: 420;
}
.help p {
  max-width: 52ch;
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.6;
}
.help code {
  color: var(--ivory);
}
.help__actions {
  display: grid;
  gap: 14px;
  justify-items: start;
  flex: none;
}
.help__alt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ivory);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration-color: rgba(251, 246, 234, 0.35);
}
.help__alt:hover {
  color: #fff;
}
.help__alt .i {
  width: 17px;
  height: 17px;
  color: var(--glow);
}
.help :focus-visible {
  outline-color: var(--glow);
}

/* ---------- dialogs ---------- */
.dlg {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: var(--ink-2);
  box-shadow: 0 40px 100px -30px rgba(17, 20, 31, 0.55);
  overflow: auto;
  overscroll-behavior: contain;
}
.dlg::backdrop {
  background: rgba(17, 20, 31, 0.42);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.dlg--sm {
  width: min(440px, calc(100% - 32px));
}
.dlg__body {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 34px 32px 28px;
}
.dlg__body--center {
  justify-items: center;
  text-align: center;
}
.dlg__x {
  position: absolute;
  top: 14px;
  right: 14px;
}
.dlg__ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
}
.dlg__ic .i {
  width: 26px;
  height: 26px;
}
.dlg__ic--ok {
  background: var(--tint);
  color: var(--em);
}
.dlg__ic--ok .i {
  stroke-width: 2.2;
}
.dlg__ic--err {
  background: var(--ruby-tint);
  color: var(--ruby);
}
.dlg__title {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.dlg__text {
  font-size: 15.5px;
  line-height: 1.6;
}
.dlg__meta {
  font-size: 13.5px;
  color: var(--muted-aa);
}
.dlg__list {
  display: grid;
  gap: 9px;
  padding: 16px 18px;
  border-radius: var(--r-2);
  background: var(--canvas);
  border: 1px solid var(--line-2);
}
.dlg__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.55;
}
.dlg__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
}
.dlg__actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.dlg__actions--center {
  justify-content: center;
}
@media (prefers-reduced-motion: no-preference) {
  .dlg[open] {
    animation: dlg-in 0.32s var(--ease) both;
  }
  .dlg[open]::backdrop {
    animation: fade-in 0.3s var(--ease) both;
  }
  .dlg.is-out {
    animation: dlg-out 0.18s ease-in both;
  }
}
@keyframes dlg-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
}
@keyframes dlg-out {
  to {
    opacity: 0;
    transform: translateY(6px) scale(0.99);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}

/* ---------- toasts ---------- */
.toasts {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 200;
  display: grid;
  gap: 8px;
  justify-items: center;
  width: min(460px, calc(100% - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 20px 40px -20px rgba(17, 20, 31, 0.7);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.is-in {
  opacity: 1;
  transform: none;
}
.toast .i {
  width: 18px;
  height: 18px;
  color: var(--glow);
}
.toast--err .i {
  color: #ff8a9a;
}
.toast--info .i {
  color: #9cc1ff;
}

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  color: var(--muted-aa);
}
.foot__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 22px;
}
/* The seller's GST registration, on its own line under the links. */
.foot__legal {
  flex-basis: 100%;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
}
.foot__legal .nowrap {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .foot__legal > span { display: block; }
  .foot__legal .foot__dot { display: none; }
}
.foot nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.foot a {
  color: var(--ink-2);
  text-decoration: none;
}
.foot a:hover {
  color: var(--em);
  text-decoration: underline;
}

/* ======================================================================
   Team dashboard
   ====================================================================== */
.page-admin {
  --top-h: 68px;
}
.adm-head {
  padding-top: clamp(24px, 4vh, 44px);
}
.adm-head__in {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 26px;
}
.adm-title {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.1rem, 1.4rem + 2vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.adm-title em {
  font-style: italic;
  font-weight: 450;
  color: var(--em);
}
.adm-head__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted-aa);
  white-space: nowrap;
}
.live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--em-2);
  box-shadow: 0 0 0 4px rgba(15, 159, 110, 0.16);
}
.tabs {
  position: sticky;
  top: var(--top-h);
  z-index: 30;
  background: rgba(247, 248, 250, 0.9);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
}
.tabs__in {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: -8px;
  padding-inline: 8px;
}
.tabs__in::-webkit-scrollbar {
  display: none;
}
.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 16px 14px;
  color: var(--muted-aa);
  font-size: 14.5px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.tab .i {
  width: 18px;
  height: 18px;
}
.tab:hover {
  color: var(--ink);
}
.tab[aria-current="page"] {
  color: var(--ink);
}
.tab[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--em);
}
.tab[aria-current="page"] .i {
  color: var(--em);
}
.tab__n {
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--line-2);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 700;
}
.tab__n:empty {
  display: none;
}
.adm-body {
  display: grid;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: clamp(56px, 8vw, 96px);
}

/* KPI ledger strip */
.kgroups {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.kgroup {
  grid-column: span 12;
  padding: 18px 0 0;
  border-radius: var(--r-3);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.kgroup--people {
  grid-column: span 7;
}
.kgroup--usage {
  grid-column: span 5;
}
.kgroups > .skel--kpi:first-child {
  grid-column: span 12;
}
.kgroups > .skel--kpi:nth-child(2) {
  grid-column: span 7;
}
.kgroups > .skel--kpi:nth-child(3) {
  grid-column: span 5;
}
.kgroup__k {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-aa);
}
.kgroup__k .i {
  width: 16px;
  height: 16px;
  color: var(--em);
}
.kgroup__cells {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
}
.kpi {
  padding: 14px 24px 22px;
  min-width: 0;
}
.kpi + .kpi {
  border-left: 1px solid var(--line-2);
}
.kpi__k {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.kpi__v {
  margin-top: 6px;
  font-size: clamp(24px, 1.2rem + 0.9vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kpi__s {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted-aa);
}
.kpi--lead {
  background: linear-gradient(180deg, rgba(230, 245, 238, 0), rgba(230, 245, 238, 0.7));
}

/* charts */
.charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.charts > .wide,
.chart-card--wide {
  grid-column: span 2;
}
.chart-card {
  min-width: 0;
  padding: 22px 24px 18px;
  border-radius: var(--r-3);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.chart-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.chart-card__title {
  font-size: 16px;
  font-weight: 700;
}
.chart-card__sub {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted-aa);
}
.chart-card__total {
  display: grid;
  justify-items: end;
  text-align: right;
}
.chart-card__total span {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.chart-card__total small {
  font-size: 12.5px;
  color: var(--muted-aa);
  white-space: nowrap;
}
.chart {
  position: relative;
  width: 100%;
  min-height: 170px;
  touch-action: pan-y;
}
.ch {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  -webkit-user-select: none;
  user-select: none;
}
.ch-grid {
  stroke: #eceef3;
  stroke-width: 1;
  shape-rendering: crispEdges;
}
.ch-ax {
  fill: var(--muted-aa);
  font-family: var(--sans);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.ch-bar {
  fill: var(--ink);
  transition: opacity 0.15s;
}
.ch-bar--gold {
  fill: var(--gold-deep);
}
.ch-bar.is-dim {
  opacity: 0.38;
}
.ch-line {
  fill: none;
  stroke: var(--em);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.ch-area {
  fill: rgba(11, 122, 85, 0.1);
}
.ch-dot,
.ch-hot {
  fill: var(--em);
  stroke: #fff;
  stroke-width: 2;
}
.ch-cross {
  stroke: #c9cdd6;
  stroke-width: 1;
  shape-rendering: crispEdges;
}
.ch-hit {
  fill: transparent;
  cursor: crosshair;
}
.ch-tip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: grid;
  gap: 1px;
  padding: 7px 11px;
  border-radius: 10px;
  background: var(--ink);
  color: rgba(251, 246, 234, 0.7);
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 14px 28px -14px rgba(17, 20, 31, 0.7);
}
.ch-tip strong {
  color: #fff;
  font-size: 13.5px;
}

/* panels */
.ov-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.panel {
  min-width: 0;
  padding: 22px 24px;
  border-radius: var(--r-3);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.panel--table {
  padding: 22px 0 6px;
}
.panel--table > .panel__head,
.panel--table .pager,
.panel--table .empty,
.panel--table .inline-err,
.panel--table .tbl-skel {
  margin-inline: 24px;
}
.panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.panel__head--tools {
  align-items: center;
  flex-wrap: wrap;
}
.panel__title {
  font-size: 17px;
  font-weight: 700;
}
.panel__sub {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted-aa);
}
.stack {
  display: flex;
  gap: 2px;
  height: 14px;
  margin-top: 6px;
  border-radius: 999px;
  overflow: hidden;
}
.stack__seg {
  min-width: 4px;
}
.stack__seg--ok,
.sw--ok {
  background: var(--em-2);
}
.stack__seg--err,
.sw--err {
  background: var(--ruby);
}
.stack__seg--warn,
.sw--warn {
  background: var(--amber);
}
.legend,
.facts {
  display: grid;
  margin-top: 14px;
}
.legend > div,
.facts > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 14.5px;
}
.legend > div:last-child,
.facts > div:last-child {
  border-bottom: 0;
}
.legend dt,
.facts dt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
}
.legend dd,
.facts dd {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.legend small,
.facts small {
  margin-left: 6px;
  font-weight: 600;
  color: var(--muted-aa);
}
.sw {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

/* search */
.search {
  position: relative;
  flex: 0 1 360px;
}
.search .i {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted-aa);
  pointer-events: none;
}
.search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--line-3);
  border-radius: var(--r-1);
  background: var(--canvas);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--em-2);
  box-shadow: 0 0 0 4px rgba(15, 159, 110, 0.14);
}

/* tables */
.tbl-wrap {
  overflow-x: auto;
  transition: opacity 0.2s;
}
.tbl-wrap.is-loading {
  opacity: 0.5;
  pointer-events: none;
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.tbl th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted-aa);
  white-space: nowrap;
}
.tbl td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
  vertical-align: middle;
}
.tbl th:first-child,
.tbl td:first-child {
  padding-left: 24px;
}
.tbl th:last-child,
.tbl td:last-child {
  padding-right: 24px;
}
.tbl tbody tr:last-child td {
  border-bottom: 0;
}
.tbl .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tbl td.num {
  color: var(--ink);
  font-weight: 600;
}
.tbl .ell {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tbl .wrap {
  min-width: 200px;
}
.tbl code {
  font-size: 12.5px;
}
.tbl small.sub {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted-aa);
}
.tbl tr.is-link {
  cursor: pointer;
  transition: background-color 0.15s;
}
.tbl tr.is-link:hover,
.tbl tr.is-link:focus-visible {
  background: #fafbfc;
}
.tbl tr.is-link:focus-visible {
  outline: 2px solid var(--em);
  outline-offset: -2px;
}
.who-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.who-cell div {
  display: grid;
  min-width: 0;
  line-height: 1.35;
}
.who-cell strong {
  font-size: 14.5px;
  font-weight: 650;
}
.who-cell div span {
  font-size: 13px;
  color: var(--muted-aa);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px;
  color: var(--muted-aa);
}
.pager__btns {
  display: flex;
  gap: 8px;
}

/* user drawer */
.drawer {
  width: min(600px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  border-radius: 28px 0 0 28px;
}
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] {
    animation: drawer-in 0.4s var(--ease) both;
  }
  .drawer.is-out {
    animation: drawer-out 0.18s ease-in both;
  }
}
@keyframes drawer-in {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
}
@keyframes drawer-out {
  to {
    transform: translateX(30px);
    opacity: 0;
  }
}
.drawer__in {
  display: grid;
  gap: 22px;
  align-content: start;
  min-height: 100%;
  padding: 26px 28px 40px;
}
.drawer__load {
  padding-top: 20px;
}
.drawer__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.drawer__who {
  flex: 1;
  min-width: 0;
}
.drawer__name {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.drawer__who p {
  font-size: 14.5px;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.drawer__uid {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.drawer__uid code {
  font-size: 12px;
  color: var(--muted-aa);
}
.drawer__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.drawer__stats > div {
  min-width: 0;
  padding: 12px 16px;
}
.drawer__stats > div + div {
  border-left: 1px solid var(--line-2);
}
.drawer__who .drawer__meta {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted-aa);
}
.drawer__stats dt {
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-aa);
}
.drawer__stats dd {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.drawer__stats dd small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted-aa);
}
.acts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.act {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border-radius: var(--r-2);
  background: var(--canvas);
  border: 1px solid var(--line-2);
}
.act__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}
.act__title .i {
  width: 18px;
  height: 18px;
  color: var(--em);
}
.act__row {
  display: grid;
  gap: 10px;
}
.act .seg {
  display: flex;
  width: 100%;
}
.act .seg--4 {
  display: grid;
}
.act .field__input {
  height: 44px;
  font-size: 14.5px;
}
.act__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.act__btns .btn {
  flex: 1 1 auto;
}
.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--r-1);
  background: #fff;
  border: 1px solid var(--line);
}
.seg label,
.seg button {
  position: relative;
  flex: 1;
}
.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg span,
.seg button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted-aa);
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.seg span .i {
  width: 15px;
  height: 15px;
}
.seg input:checked + span,
.seg button.is-on {
  background: var(--ink);
  color: #fff;
}
.seg input:focus-visible + span {
  outline: 2px solid var(--em);
  outline-offset: 2px;
}
.seg--4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}
.seg--tabs {
  display: flex;
  width: 100%;
}
.seg--tabs small {
  font-weight: 600;
  opacity: 0.7;
}
.money {
  position: relative;
  flex: 1;
}
.money span {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--muted-aa);
}
.money input {
  width: 100%;
  height: 44px;
  padding: 0 12px 0 28px;
  border: 1px solid var(--line-3);
  border-radius: var(--r-1);
  background: #fff;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}
.money input:focus {
  outline: none;
  border-color: var(--em-2);
  box-shadow: 0 0 0 4px rgba(15, 159, 110, 0.14);
}
.confirm {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-1);
  background: #fff;
  border: 1px solid rgba(11, 122, 85, 0.3);
  font-size: 14px;
  line-height: 1.5;
}
.confirm__btns {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.mini {
  display: grid;
}
.mini li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
}
.mini li:last-child {
  border-bottom: 0;
}
.mini li > div:first-child {
  display: grid;
  min-width: 0;
  font-size: 13px;
  color: var(--muted-aa);
}
.mini strong {
  font-size: 14.5px;
  font-weight: 650;
}
.mini li > div:first-child span {
  overflow-wrap: anywhere;
}
.mini code {
  font-size: 12px;
}
.mini__end {
  display: grid;
  justify-items: end;
  gap: 4px;
  flex: none;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ---------- dev-only mock ---------- */
.mock-ribbon {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 300;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--amber);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px -10px rgba(143, 91, 0, 0.7);
  pointer-events: none;
}
.mock-rzp {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(17, 20, 31, 0.55);
}
.mock-rzp__sheet {
  display: grid;
  gap: 12px;
  width: min(380px, 100%);
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.mock-rzp__tag {
  justify-self: start;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--amber-tint);
  color: var(--amber-ink);
  font-size: 11.5px;
  font-weight: 750;
}
.mock-rzp__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mock-rzp__head img {
  border-radius: 12px;
}
.mock-rzp__head div {
  display: grid;
  font-size: 13.5px;
  color: var(--muted-aa);
}
.mock-rzp__amt {
  font-size: 32px;
  font-weight: 750;
  color: var(--ink);
}
.mock-rzp__who {
  font-size: 13px;
  color: var(--muted-aa);
}
.mock-rzp__pay {
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #0b7a55;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.mock-rzp__row {
  display: flex;
  justify-content: space-between;
}
.mock-rzp__row button {
  border: 0;
  background: none;
  color: var(--muted-aa);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- entry motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .acct-hero .eyebrow,
  .acct-hero__title,
  .acct-hero__meta,
  .sum__card,
  .auth__story > *,
  .auth__card,
  .soon__copy > *,
  .soon__list,
  .adm-head__in > *,
  .kgroup,
  .chart-card,
  .state > * {
    animation: rise 0.7s var(--ease) both;
  }
  .acct-hero__title,
  .auth__story > :nth-child(2),
  .soon__copy > :nth-child(2),
  .state > :nth-child(2) {
    animation-delay: 0.05s;
  }
  .acct-hero__meta,
  .auth__story > :nth-child(3),
  .soon__copy > :nth-child(3),
  .state > :nth-child(3),
  .kgroup:nth-child(2) {
    animation-delay: 0.1s;
  }
  .sum__card:first-child,
  .auth__story > :nth-child(4),
  .auth__card,
  .soon__list,
  .kgroup:nth-child(3),
  .state > :nth-child(4) {
    animation-delay: 0.15s;
  }
  .sum__card:last-child,
  .auth__story > :nth-child(5),
  .chart-card {
    animation-delay: 0.2s;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .kgroup--people,
  .kgroup--usage,
  .kgroups > .skel--kpi:nth-child(2),
  .kgroups > .skel--kpi:nth-child(3) {
    grid-column: span 12;
  }
  .kgroup--money .kgroup__cells {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kgroup--money .kpi:nth-child(3) {
    border-left: 0;
  }
  .kgroup--money .kpi:nth-child(n + 3) {
    border-top: 1px solid var(--line-2);
  }
}
@media (max-width: 960px) {
  .auth,
  .soon__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth {
    max-width: 560px;
    margin-inline: auto;
  }
  .auth__points,
  .auth__trust {
    max-width: none;
  }
  /* phones: headline, then the sign-in card, then the reasons */
  .auth:not(.auth--admin) {
    gap: 0;
  }
  .auth__story {
    display: contents;
  }
  .auth__card {
    order: 4;
    margin-top: 32px;
  }
  .auth__points {
    order: 5;
    margin-top: 44px;
  }
  .auth__trust {
    order: 6;
  }
  .sum,
  .cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .packs {
    grid-template-columns: minmax(0, 1fr);
  }
  .pack {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "amt get" "bonus get" "btn btn";
    column-gap: 20px;
    align-items: center;
  }
  .pack__amt {
    grid-area: amt;
  }
  .pack__bonus {
    grid-area: bonus;
    margin-top: 6px;
  }
  .pack__get {
    grid-area: get;
    margin: 0;
  }
  .pack > .btn {
    grid-area: btn;
    margin-top: 18px;
  }
  .help {
    flex-direction: column;
    align-items: flex-start;
  }
  .charts,
  .ov-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .chart-card--wide,
  .charts > .wide {
    grid-column: auto;
  }
}
@media (max-width: 760px) {
  :root {
    --top-h: 64px;
  }
  .page-admin {
    --top-h: 64px;
  }
  .who__txt {
    display: none;
  }
  .brand .ht-word {
    font-size: 21px;
  }
  .acct-hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .acct-hero__meta .dot {
    display: none;
  }
  .offers {
    grid-template-columns: minmax(0, 1fr);
  }
  .offer {
    padding: 26px 22px 22px;
    border-radius: var(--r-3);
  }
  .block--panel {
    padding: 22px 18px 16px;
  }
  .kv > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .danger {
    flex-direction: column;
    align-items: stretch;
  }
  .help {
    padding: 32px 24px;
  }
  .sum__card {
    padding: 24px 22px 24px;
    min-height: 0;
  }
  .adm-head__in {
    flex-direction: column;
    align-items: flex-start;
  }
  .kgroup--people .kgroup__cells,
  .kgroup--usage .kgroup__cells {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kgroup--people .kpi:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }
  .kpi {
    padding: 12px 18px 18px;
  }
  .kgroup__k {
    padding: 0 18px;
  }
  .chart-card,
  .panel {
    padding: 18px 16px 14px;
  }
  .chart-card__total span {
    font-size: 20px;
  }
  .panel--table {
    padding: 18px 0 4px;
  }
  .panel--table > .panel__head,
  .panel--table .pager,
  .panel--table .empty,
  .panel--table .inline-err,
  .panel--table .tbl-skel {
    margin-inline: 16px;
  }
  .search {
    flex-basis: 100%;
  }
  /* tables turn into cards */
  .tbl,
  .tbl tbody {
    display: block;
  }
  .tbl thead {
    display: none;
  }
  .tbl tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px 14px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line-2);
  }
  .tbl tbody tr:last-child {
    border-bottom: 0;
  }
  .tbl td,
  .tbl td:first-child,
  .tbl td:last-child {
    display: grid;
    gap: 2px;
    padding: 0;
    border: 0;
    min-width: 0;
  }
  .tbl td::before {
    content: attr(data-label);
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
  }
  .tbl td:first-child {
    grid-column: 1 / -1;
  }
  .tbl--users td:first-child::before {
    display: none;
  }
  .tbl .num {
    text-align: left;
  }
  .tbl .ell {
    max-width: none;
  }
  .tbl .wrap {
    min-width: 0;
    grid-column: 1 / -1;
  }
  .who-cell {
    min-width: 0;
  }
  .drawer {
    width: 100%;
    border-radius: 0;
  }
  .drawer__in {
    padding: 20px 18px 32px;
  }
  .drawer__stats > div {
    padding: 10px 12px;
  }
  .acts {
    grid-template-columns: minmax(0, 1fr);
  }
  .dlg__body {
    padding: 28px 22px 22px;
  }
  .dlg__actions .btn {
    flex: 1 1 auto;
  }
  .foot__in {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 420px) {
  .pack {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "amt" "bonus" "get" "btn";
  }
  .pack__get {
    margin-top: 14px;
  }
  .kgroup--money .kgroup__cells,
  .kgroup--people .kgroup__cells,
  .kgroup--usage .kgroup__cells {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .kpi__v {
    font-size: 22px;
  }
  .brand__tag {
    display: none;
  }
}
@media (max-width: 760px) {
  .tbl td > .pill {
    justify-self: start;
  }
}

/* ======================================================================
   Go-live (12 Oct 2026): buying from the app link, and running the app
   from the team dashboard (errors, app updates, app settings, refunds).
   ====================================================================== */

/* ---------- account: top bar and app note ---------- */
.top__dl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.top__dl .i {
  width: 16px;
  height: 16px;
  color: var(--em);
}
.top__dl:hover {
  color: var(--ink);
  border-color: #d5d9e2;
  box-shadow: 0 8px 20px -14px rgba(22, 26, 43, 0.35);
}
.app-note {
  align-items: center;
  flex-wrap: wrap;
}
.app-note > p {
  flex: 1 1 320px;
  min-width: 0;
}
.app-note .i {
  margin-top: 0;
}
.app-note__dl .i {
  color: var(--em);
}
.inline-note {
  flex-wrap: nowrap;
  align-items: flex-start;
}
.inline-note > .i {
  margin-top: 2px;
}
.inline-note > span {
  flex: 1 1 0;
  min-width: 0;
}
.inline-note--info {
  background: var(--sapphire-tint);
  border-color: rgba(47, 111, 224, 0.22);
  color: var(--sapphire-ink);
}
.inline-note--info a {
  color: inherit;
  font-weight: 700;
}

/* ---------- sign-in: why you are signing in ---------- */
.auth__intent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-2);
  background: linear-gradient(180deg, #f1faf6, var(--tint));
  border: 1px solid rgba(11, 122, 85, 0.22);
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
.auth__intent > .i {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--em);
}
.auth__intent strong {
  color: var(--ink);
}
.auth__intent-sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted-aa);
}

/* ---------- account: the focused purchase card (?buy=) ---------- */
.intent {
  position: relative;
  margin-top: 30px;
  scroll-margin-top: calc(var(--top-h) + 16px);
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(11, 122, 85, 0.28);
  box-shadow: 0 0 0 6px rgba(15, 159, 110, 0.06), var(--sh-3);
  overflow: hidden;
  animation: rise 0.6s var(--ease) both;
}
.intent::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--em-hi), var(--em) 50%, var(--gold) 100%);
}
.intent__head {
  position: relative;
  padding: 28px 30px 0;
}
.intent__k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--em);
}
.intent__k .i {
  width: 16px;
  height: 16px;
}
.intent--pro .intent__k .i {
  color: var(--gold-deep);
}
.intent__title {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2rem, 1.5rem + 1.4vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.intent__title:focus {
  outline: none;
}
.intent__title em {
  font-style: italic;
  font-weight: 450;
  color: var(--em);
}
.intent__x {
  position: absolute;
  top: 18px;
  right: 18px;
}
.intent__body {
  display: grid;
  gap: 18px;
  padding: 22px 30px 26px;
}
.intent__text {
  font-size: 15.5px;
}
.intent__one {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 18px 20px;
  border-radius: var(--r-2);
  background: var(--canvas);
  border: 1px solid var(--line-2);
}
.intent__amt {
  font-family: var(--serif);
  font-size: clamp(44px, 4vw, 56px);
  font-weight: 430;
  font-variation-settings: "opsz" 144;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.intent__what {
  flex: 1 1 260px;
  font-size: 15px;
  line-height: 1.55;
}
.intent__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-1);
  background: var(--sapphire-tint);
  color: var(--sapphire-ink);
  font-size: 14px;
  line-height: 1.5;
}
.intent__note .i {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.intent__note--warn {
  background: var(--amber-tint);
  color: var(--amber-ink);
}
.intent__note strong {
  color: inherit;
}
.intent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.intent__actions .btn--primary {
  min-width: 220px;
}
.intent__fine {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted-aa);
}
.intent__fine .i {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--em);
}
.intent__fine strong {
  font-weight: 650;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.skel--intent {
  height: 168px;
  border-radius: var(--r-2);
}

/* radio cards (month or year, credit packs) */
.choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.choice--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.choice__opt {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice__box {
  position: relative;
  display: grid;
  gap: 6px;
  height: 100%;
  padding: 16px 18px;
  border-radius: var(--r-2);
  border: 1.5px solid var(--line);
  background: #fff;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.25s var(--ease);
}
.choice__box::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--line-3);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.choice__opt:hover .choice__box {
  border-color: #cdd2db;
}
.choice__opt input:checked + .choice__box {
  border-color: var(--em);
  background: linear-gradient(180deg, #fff, #f3fbf7);
  box-shadow: 0 16px 30px -22px rgba(11, 122, 85, 0.6);
}
.choice__opt input:checked + .choice__box::after {
  border-color: var(--em);
  box-shadow: inset 0 0 0 5px var(--em);
}
.choice__opt input:focus-visible + .choice__box {
  outline: 2px solid var(--em);
  outline-offset: 3px;
}
.choice__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding-right: 28px;
}
.choice__top strong {
  font-size: 15.5px;
}
.choice__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--em);
  font-size: 11.5px;
  font-weight: 750;
}
.choice__tag .i {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
}
.choice__price {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 450;
  font-variation-settings: "opsz" 144;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.choice__sub {
  font-size: 13px;
  color: var(--muted-aa);
}

/* ---------- team dashboard: shared bits ---------- */
.tab__n--warn {
  background: var(--amber-tint);
  color: var(--amber-ink);
}
.bad {
  color: var(--ruby-ink);
}
.ok {
  color: var(--em);
}
.btn--xs {
  --h: 32px;
  gap: 6px;
  padding: 0 10px;
  font-size: 12.5px;
  border-radius: 9px;
}
.btn--xs .i {
  width: 14px;
  height: 14px;
}
.seg--sm button,
.seg--sm span {
  min-height: 32px;
  padding: 0 11px;
  font-size: 13px;
}
.panel__tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.select {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.select select {
  height: 38px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line-3);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.select select:focus {
  outline: none;
  border-color: var(--em-2);
  box-shadow: 0 0 0 4px rgba(15, 159, 110, 0.14);
}
.select .i {
  position: absolute;
  right: 10px;
  width: 16px;
  height: 16px;
  color: var(--muted-aa);
  pointer-events: none;
}
.select--field {
  display: flex;
}
.select--field select {
  width: 100%;
  height: 44px;
  font-size: 14.5px;
  font-weight: 500;
}
.tbl td.act-cell {
  text-align: right;
  white-space: nowrap;
}
.row-acts {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.note-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-1);
  background: var(--sapphire-tint);
  color: var(--sapphire-ink);
  font-size: 14px;
  line-height: 1.5;
}
.note-box .i {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.note-box strong {
  color: inherit;
}
.danger-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-2);
  background: var(--ruby-tint);
  border: 1px solid rgba(224, 71, 92, 0.3);
  color: var(--ruby-ink);
  font-size: 14px;
  line-height: 1.5;
}
.danger-note > .i {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.danger-note > div {
  display: grid;
  gap: 8px;
}
.danger-note strong {
  color: inherit;
}
.check {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--em);
}
.check--danger {
  margin-top: 2px;
  font-weight: 650;
  color: var(--ruby-ink);
}
.check--danger input {
  accent-color: var(--ruby);
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.field__opt {
  font-size: 12.5px;
  color: var(--muted-aa);
}
textarea {
  font: inherit;
  color: inherit;
}
.field__area {
  height: auto;
  min-height: 84px;
  padding: 12px 16px;
  line-height: 1.5;
  resize: vertical;
}
.dlg__ic--warn {
  background: var(--amber-tint);
  color: var(--amber);
}
.dlg--wide {
  width: min(720px, calc(100% - 32px));
}
.dlg__facts {
  display: grid;
  border-radius: var(--r-2);
  background: var(--canvas);
  border: 1px solid var(--line-2);
}
.dlg__facts > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-2);
  font-size: 14px;
}
.dlg__facts > div:last-child {
  border-bottom: 0;
}
.dlg__facts dt {
  flex: none;
  color: var(--muted-aa);
}
.dlg__facts dd {
  min-width: 0;
  text-align: right;
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.money--lg input {
  height: 50px;
  padding-left: 30px;
  font-size: 18px;
}
.money--lg span {
  left: 14px;
}
.pre {
  margin: 0;
  max-height: 340px;
  padding: 14px 16px;
  overflow: auto;
  border-radius: 14px;
  background: var(--night);
  color: #e9e4d6;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre;
  tab-size: 2;
}
.pre--soft {
  background: var(--canvas);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
}
.pre:focus-visible {
  outline-offset: 2px;
}

/* ---------- overview: the app ---------- */
.ov-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.panel__head > .link {
  flex: none;
  white-space: nowrap;
}
.app-card .panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-card .panel__title .i {
  width: 18px;
  height: 18px;
  color: var(--em);
}
.app-card--warn {
  border-color: rgba(217, 138, 6, 0.3);
}
.app-card--warn .panel__title .i {
  color: var(--amber);
}
.app-card__big {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.app-card__big span {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 450;
  font-variation-settings: "opsz" 144;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.app-card__big small {
  font-size: 13px;
  color: var(--muted-aa);
}
.app-card__line {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.live-list {
  display: grid;
}
.live-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
}
.live-list li:last-child {
  border-bottom: 0;
}
.live-list li > div:first-child {
  display: grid;
  font-size: 12.5px;
  color: var(--muted-aa);
}
.live-list strong {
  font-size: 15px;
}
.live-list__end {
  display: grid;
  justify-items: end;
  gap: 4px;
  font-size: 12.5px;
  color: var(--muted-aa);
}
.roll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.roll__bar {
  position: relative;
  width: 64px;
  height: 6px;
  border-radius: 999px;
  background: var(--line-2);
  overflow: hidden;
}
.roll__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--em-2), var(--em));
}
.roll b {
  min-width: 34px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.roll--dim .roll__bar i {
  background: var(--faint);
}
.roll--dim b {
  color: var(--muted-aa);
}

/* ---------- payments: test payment ---------- */
.test-pay {
  display: flex;
  align-items: center;
  gap: 18px;
  border-color: rgba(47, 111, 224, 0.22);
  background: linear-gradient(180deg, #fff, #f7faff);
}
.test-pay__ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: var(--sapphire-tint);
  color: var(--sapphire);
}
.test-pay__txt {
  flex: 1;
  min-width: 0;
}
.test-pay__txt .panel__sub {
  max-width: 78ch;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.55;
}

/* ---------- errors ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -2px 24px 16px;
}
.vfilter input {
  width: 210px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-3);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
}
.vfilter input:focus {
  outline: none;
  border-color: var(--em-2);
  box-shadow: 0 0 0 4px rgba(15, 159, 110, 0.14);
}
.vfilter input[aria-invalid="true"] {
  border-color: var(--ruby);
}
.err-cell {
  max-width: 460px;
}
.err-msg {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.tbl .err-frame {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted-aa);
  overflow-wrap: anywhere;
}
.chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--line-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}
.chip small {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
  color: var(--muted-aa);
}
.chip--more {
  font-family: var(--sans);
  color: var(--muted-aa);
}
.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 900px;
  padding: 0 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted-aa);
}
.privacy-note .i {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--em);
}
.drawer--wide {
  width: min(780px, 100%);
}
.err-head__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.drawer__name.err-head__msg {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.drawer__stats--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.err-acts {
  display: grid;
  gap: 8px;
}
.err-acts__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.bars {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px 16px;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
}
.bars__h,
.sample__k {
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-aa);
}
.bars__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 40px;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}
.bars__row > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bars__bar {
  height: 6px;
  border-radius: 999px;
  background: var(--line-2);
  overflow: hidden;
}
.bars__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--em-2);
}
.bars__row b {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.sample {
  display: grid;
  gap: 10px;
}
.sample__h {
  font-size: 15.5px;
  font-weight: 700;
}
.sample__k {
  margin: 4px 0 0;
}
.kv--tight {
  margin-top: 0;
}
.kv--tight > div {
  grid-template-columns: 90px minmax(0, 1fr);
  padding: 9px 0;
  font-size: 14px;
}
.kv--tight dd {
  display: block;
}
.tbl--occ {
  font-size: 13px;
}

/* ---------- app updates ---------- */
.ota-intro .panel__sub {
  max-width: 72ch;
  font-size: 13.5px;
  line-height: 1.55;
}
.howto {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
}
.howto summary,
.cfg-json summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 14px;
  font-weight: 650;
  color: var(--em);
  cursor: pointer;
}
.howto summary::-webkit-details-marker,
.cfg-json summary::-webkit-details-marker {
  display: none;
}
.howto summary .i,
.cfg-json summary .i {
  width: 17px;
  height: 17px;
}
.howto ol {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 22px;
  list-style: decimal;
  font-size: 14px;
  line-height: 1.55;
}
.howto li::marker {
  color: var(--em);
  font-weight: 700;
}
.ota-ch__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--ink-2);
  text-align: right;
}
.ota-ch__live .i {
  width: 16px;
  height: 16px;
  color: var(--em);
}
.ota-ver strong {
  font-size: 15px;
}
.tbl .ota-ver {
  min-width: 230px;
}
.tbl .ota-ver small.ota-notes {
  max-width: 300px;
  font-size: 13px;
  color: var(--ink-2);
}
.tbl--ota .row-acts {
  flex-wrap: nowrap;
}
.tbl--ota .pkg {
  white-space: nowrap;
}
.tbl--ota .pkg .hash {
  display: flex;
  margin-top: 4px;
}
.tbl--ota .pkg .hash code {
  font-size: 12px;
  color: var(--muted-aa);
}
[data-list="releases"] {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.counts {
  display: inline-flex;
  gap: 10px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.counts > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.counts .i {
  width: 14px;
  height: 14px;
}
.hash {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.filepick {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.filepick__btn {
  position: relative;
}
.filepick__btn input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.filepick__btn:focus-within {
  outline: 2px solid var(--em);
  outline-offset: 3px;
}
.filepick__name {
  font-size: 13.5px;
}
.rel-prev {
  border: 1px solid var(--line);
  border-radius: var(--r-2);
}
.tbl--rel {
  font-size: 13px;
}
.probs {
  display: grid;
  gap: 3px;
  color: var(--ruby-ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}
.seg--pct {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 3px;
  margin: 0;
}
.seg--pct span {
  min-height: 44px;
  font-size: 15px;
}

/* ---------- app settings ---------- */
.cfg {
  display: grid;
  gap: 20px;
}
.cfg-ver {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 13.5px;
  color: var(--muted-aa);
}
.cfg-top .panel__sub {
  max-width: 76ch;
  font-size: 13.5px;
  line-height: 1.55;
}
.cfg-top .panel__head {
  margin-bottom: 0;
}
.cfg-sec {
  padding: 22px 24px 24px;
}
.cfg-sec__h {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16.5px;
  font-weight: 700;
}
.cfg-sec__h .i {
  width: 18px;
  height: 18px;
  color: var(--em);
}
.cfg-sec__lede {
  max-width: 72ch;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-aa);
}
.cfg-sec > .cf,
.cfg-sec > .cfg-grid,
.cfg-sec > .kills,
.cfg-sec > .gates,
.cfg-sec > .ann,
.cfg-sec > .flags {
  margin-top: 16px;
}
.cfg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}
.cf {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}
.cf__label {
  font-size: 14.5px;
  font-weight: 650;
  color: var(--ink);
}
.cf__labelrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.cf__opt {
  margin-left: 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted-aa);
}
.cf__help {
  max-width: 64ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-aa);
}
.cf__help--flush {
  margin-top: -4px;
}
.cf__count {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted-aa);
}
.cf__count.is-over {
  color: var(--ruby-ink);
  font-weight: 700;
}
.cf__err {
  font-size: 13px;
  font-weight: 650;
  color: var(--ruby-ink);
}
.cf .field__input {
  height: 46px;
  font-size: 15px;
}
.cf .field__area {
  height: auto;
}
.cf__num {
  max-width: 160px;
  font-variant-numeric: tabular-nums;
}
.is-invalid .field__input[aria-invalid="true"] {
  border-color: var(--ruby);
  box-shadow: 0 0 0 4px rgba(224, 71, 92, 0.1);
}
.cf--row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 20px;
}
.cf--row > .cf__err {
  grid-column: 1 / -1;
}
.cf--row .cf__help {
  margin-top: 3px;
}
.kills {
  display: grid;
  border-top: 1px solid var(--line-2);
}
.kill {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
}
.kill:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.kill__state {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--em);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.kill.is-off .kill__state {
  background: var(--amber-tint);
  color: var(--amber-ink);
}
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  flex: none;
}
.switch input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.switch__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #cfd3dc;
  transition: background-color 0.2s;
}
.switch__track::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(22, 26, 43, 0.3);
  transition: transform 0.25s var(--ease);
}
.switch input:checked + .switch__track {
  background: var(--em);
}
.switch input:checked + .switch__track::after {
  transform: translateX(20px);
}
.switch input:focus-visible + .switch__track {
  outline: 2px solid var(--em);
  outline-offset: 3px;
}
.ann {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.ann__form {
  display: grid;
  gap: 16px;
  align-content: start;
}
.cfg-grid--link {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}
.ann__ph {
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-aa);
}
.phone-mock {
  display: grid;
  gap: 12px;
  max-width: 320px;
  padding: 10px 12px 16px;
  border-radius: 30px;
  border: 7px solid var(--ink);
  background: var(--canvas);
  box-shadow: var(--sh-2);
}
.phone-mock:empty {
  display: none;
}
.phone-mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.phone-mock__notch {
  width: 64px;
  height: 14px;
  border-radius: 999px;
  background: var(--ink);
}
.ann-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 14px;
  background: var(--sapphire-tint);
  border: 1px solid rgba(47, 111, 224, 0.2);
  color: var(--sapphire-ink);
  font-size: 13px;
  line-height: 1.45;
}
.ann-banner .i {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.ann-banner p {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ann-banner--warn {
  background: var(--amber-tint);
  border-color: rgba(217, 138, 6, 0.28);
  color: var(--amber-ink);
}
.ann-banner--critical {
  background: var(--ruby-ink);
  border-color: var(--ruby-ink);
  color: #fff;
}
.ann-banner--critical .muted {
  color: rgba(255, 255, 255, 0.8);
}
.ann-banner__link {
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ann-banner__x .i {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}
.phone-mock__page {
  display: grid;
  gap: 8px;
  padding: 4px 2px 0;
}
.phone-mock__page i {
  display: block;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line-2);
}
.phone-mock__page i.short {
  width: 60%;
}
.phone-mock__ch {
  font-size: 11.5px;
  text-align: center;
  color: var(--muted-aa);
}
.gates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.gate {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 18px;
  border-radius: var(--r-2);
  background: var(--canvas);
  border: 1px solid var(--line-2);
}
.gate__h {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}
.flags {
  display: grid;
  gap: 8px;
}
.flags:empty {
  display: none;
}
.flag-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 150px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
}
.flag-row .field__input {
  height: 44px;
  font-size: 14.5px;
}
.flag-row .mono {
  font-size: 13.5px;
}
.cfg-sec[data-f="flags"] > .btn {
  margin-top: 14px;
}
.cfg-sec[data-f="flags"] > .cf__err {
  margin-top: 10px;
}
.cfg-json {
  padding: 16px 24px;
}
.cfg-json .pre {
  margin-top: 12px;
}
.savebar {
  position: relative;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 12px 14px 12px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--sh-float);
}
/* only follows the screen while something is waiting to be saved */
.savebar.is-dirty {
  position: sticky;
  border-color: rgba(11, 122, 85, 0.4);
}
.savebar__state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted-aa);
}
.savebar__state .i {
  width: 17px;
  height: 17px;
  color: var(--em);
}
.savebar__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(217, 138, 6, 0.16);
}
.savebar__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chg {
  display: grid;
  max-height: 300px;
  overflow: auto;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
}
.chg li {
  display: grid;
  gap: 3px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-2);
}
.chg li:last-child {
  border-bottom: 0;
}
.chg__k {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted-aa);
}
.chg__v {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.chg__v s {
  color: var(--muted-aa);
}
.chg__v b {
  font-weight: 700;
  color: var(--ink);
}
.chg__v .i {
  width: 14px;
  height: 14px;
  color: var(--faint);
}
.chg__h {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-aa);
}

/* ---------- go-live: responsive ---------- */
@media (max-width: 1100px) {
  .ov-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ov-grid--3 > :last-child {
    grid-column: span 2;
  }
}
@media (max-width: 960px) {
  .ov-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .ov-grid--3 > :last-child {
    grid-column: auto;
  }
  .ann,
  .gates {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .top__dl {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .top__dl span {
    display: none;
  }
  .top__dl .i {
    width: 18px;
    height: 18px;
  }
  .intent {
    margin-top: 24px;
    border-radius: var(--r-3);
  }
  .intent__head {
    padding: 24px 20px 0;
  }
  .intent__body {
    padding: 18px 20px 22px;
  }
  .intent__title {
    padding-right: 36px;
  }
  .intent__x {
    top: 12px;
    right: 10px;
  }
  .choice,
  .choice--3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .choice__box {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 14px 52px 14px 16px;
  }
  .choice__box::after {
    top: 50%;
    margin-top: -10px;
  }
  .choice__top {
    padding-right: 0;
  }
  .choice__price {
    grid-row: 1 / span 2;
    grid-column: 2;
    font-size: 26px;
  }
  .choice__sub {
    grid-column: 1;
  }
  .intent__actions .btn {
    flex: 1 1 100%;
  }
  .intent__actions .btn--primary {
    min-width: 0;
  }
  .app-note__dl {
    width: 100%;
  }
  .test-pay {
    flex-direction: column;
    align-items: stretch;
  }
  .test-pay__ic {
    display: none;
  }
  .filters {
    margin-inline: 16px;
  }
  .vfilter,
  .vfilter input {
    width: 100%;
  }
  .panel__tools {
    width: 100%;
  }
  .tbl td.act-cell {
    grid-column: 1 / -1;
    text-align: left;
  }
  .tbl td.act-cell::before {
    display: none;
  }
  .row-acts {
    justify-content: flex-start;
  }
  .err-cell {
    max-width: none;
  }
  .tbl--errors td:first-child::before,
  .tbl--ota td:first-child::before {
    display: none;
  }
  .drawer__stats--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .drawer__stats--4 > div:nth-child(3) {
    border-left: 0;
  }
  .drawer__stats--4 > div:nth-child(n + 3) {
    border-top: 1px solid var(--line-2);
  }
  .bars-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ota-ch .panel__head {
    flex-direction: column;
    gap: 8px;
  }
  .ota-ch__live {
    text-align: left;
  }
  .cfg-sec {
    padding: 18px 16px 20px;
  }
  .cfg-json {
    padding: 14px 16px;
  }
  .cfg-grid,
  .cfg-grid--link {
    grid-template-columns: minmax(0, 1fr);
  }
  .flag-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px;
  }
  .flag-row > .field__input:first-of-type {
    grid-column: 1 / -1;
  }
  .savebar {
    padding: 12px;
  }
  .savebar__btns {
    width: 100%;
  }
  .savebar__btns .btn {
    flex: 1 1 0;
  }
  .dlg__facts > div {
    flex-direction: column;
    gap: 2px;
  }
  .dlg__facts dd {
    text-align: left;
  }
}

/* ======================================================================
   GST (Oct 2026): prices include 18% GST, billing details before the
   first payment, GST invoices and credit notes on /account/, and the
   Invoices tab with the GSTR-1 exports on /admin/.
   ====================================================================== */

/* ---------- prices: "Price includes 18% GST" ---------- */
.offer__gst {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-aa);
}
.pack__gst {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted-aa);
}
.intent__gst {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted-aa);
}

/* ---------- account: GST invoices ---------- */
.gst__lede {
  max-width: 64ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-aa);
}
.gst__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 18px;
}
.gst__list {
  min-width: 0;
}
.gst__list .empty {
  padding: 28px 16px;
  border-radius: var(--r-2);
  background: var(--canvas);
  border: 1px dashed var(--line-3);
}
.docs .row {
  align-items: flex-start;
}
.row__ic--doc {
  background: var(--tint);
  color: var(--em);
}
.row__ic--cn {
  background: var(--amber-tint);
  color: var(--amber-ink);
}
.doc-no {
  margin-left: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0;
}
.doc-tax {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted-aa);
  font-variant-numeric: tabular-nums;
}
.docs .row__end {
  gap: 8px;
  padding-top: 2px;
}
.row__inv {
  justify-self: start;
  margin-top: 4px;
  font-size: 12.5px;
}
.row__inv .i {
  width: 14px;
  height: 14px;
}

/* billing details card */
.bill-card {
  min-width: 0;
  padding: 20px 22px 22px;
  border-radius: var(--r-2);
  background: var(--canvas);
  border: 1px solid var(--line-2);
}
.bill-card__k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-aa);
}
.bill-card__k .i {
  width: 16px;
  height: 16px;
  color: var(--em);
}
.bill-card__name {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 480;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.bill-card__dl {
  display: grid;
  margin: 12px 0 18px;
}
.bill-card__dl > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.bill-card__dl dt {
  color: var(--muted-aa);
  font-weight: 600;
}
.bill-card__dl dd {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.bill-card__dl code {
  font-size: 13px;
  letter-spacing: 0.02em;
}
.bill-card__warn {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: -6px 0 16px;
  padding: 10px 12px;
  border-radius: var(--r-1);
  background: var(--amber-tint);
  color: var(--amber-ink);
  font-size: 13px;
  line-height: 1.5;
}
.bill-card__warn .i {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.bill-card__fine {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-aa);
}
.bill-card__empty {
  margin: 10px 0 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.bill-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.bill-card__title:focus {
  outline: none;
}
.bill-card__text {
  margin: 4px 0 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted-aa);
}
.bill-card .billform__grid {
  grid-template-columns: minmax(0, 1fr);
}
.bill-card .field__input {
  background: #fff;
}

/* the billing details form */
.billform {
  display: grid;
  gap: 18px;
}
.billform__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  align-items: start;
}
.billform .field {
  gap: 6px;
}
.billform .field__hint {
  font-size: 12.5px;
  line-height: 1.5;
}
.billform .field__area {
  min-height: 76px;
}
.field__input--code {
  font-family: var(--mono);
  font-size: 15.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.field__input--code::placeholder {
  text-transform: none;
  letter-spacing: 0.04em;
}
.field__err {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  color: var(--ruby-ink);
}
.field__err .i {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  flex: none;
}
.field__err .link {
  font-weight: 700;
  color: var(--ruby-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.field__err[hidden],
.field.is-invalid > .field__hint:not(.field__ok) {
  display: none;
}
.field__ok {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-weight: 650;
  color: var(--em);
}
.field__ok .i {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  flex: none;
  stroke-width: 2.2;
}
.field.is-invalid .field__input,
.field.is-invalid select {
  border-color: var(--ruby);
  box-shadow: 0 0 0 4px rgba(224, 71, 92, 0.1);
}
.select--lg select {
  height: 50px;
  padding-left: 16px;
  border-radius: var(--r-1);
  font-size: 16px;
  font-weight: 500;
  box-shadow: inset 0 1px 2px rgba(22, 26, 43, 0.04);
}
.select--lg select:hover {
  border-color: #c9cdd6;
}
.select--lg .i {
  right: 14px;
}
.billform__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.billform .form-err:empty {
  display: none;
}

/* the step between Buy and checkout */
/* The step's slot is what scrolls into view: keep it clear of the sticky top bar. */
[data-billstep] {
  scroll-margin-top: calc(var(--top-h) + 16px);
}
.billstep {
  position: relative;
  margin-bottom: 26px;
  padding: 28px 30px 28px;
  scroll-margin-top: calc(var(--top-h) + 16px);
  border-radius: var(--r-3);
  background: #fff;
  border: 1px solid rgba(11, 122, 85, 0.3);
  box-shadow: 0 0 0 5px rgba(15, 159, 110, 0.05), var(--sh-2);
  animation: rise 0.5s var(--ease) both;
}
.billstep__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  scroll-margin-top: calc(var(--top-h) + 24px);
}
.billstep__ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--r-1);
  background: var(--tint);
  color: var(--em);
}
.billstep__ic .i {
  width: 22px;
  height: 22px;
}
.billstep__k {
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--em);
}
.billstep__title {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: clamp(22px, 1.4rem + 0.5vw, 27px);
  font-weight: 470;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.billstep__title:focus {
  outline: none;
}
.billstep__text {
  max-width: 62ch;
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-aa);
}
.billstep__item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 22px;
  padding: 12px 16px;
  border-radius: var(--r-1);
  background: var(--canvas);
  border: 1px solid var(--line-2);
  font-size: 14.5px;
  color: var(--ink-2);
}
.billstep__item > .i {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--em);
}
.billstep__item > span {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
}
.billstep__item strong {
  font-weight: 700;
  color: var(--ink);
}
.billstep__price {
  color: var(--muted-aa);
  font-weight: 600;
}
/* inside the ?buy= card the card itself is the frame */
.intent__body .billstep__head {
  padding-top: 4px;
}
.intent__body .billstep__item {
  margin: 16px 0 18px;
}
.dlg__meta--inv {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 44ch;
  margin-inline: auto;
  padding: 10px 14px;
  border-radius: var(--r-1);
  background: var(--tint);
  color: var(--em-deep);
  text-align: left;
}
.dlg__meta--inv .i {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: none;
}
.dlg__meta--inv .link {
  font-size: 13.5px;
}

/* ---------- team dashboard: Invoices ---------- */
.search--sm {
  flex: 1 1 280px;
  max-width: 380px;
}
.search--sm input {
  height: 38px;
  border-radius: 10px;
  font-size: 13.5px;
}
.search--sm .i {
  width: 16px;
  height: 16px;
  left: 12px;
}
.search--sm input {
  padding-left: 36px;
}
.inv-sum {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr);
  margin: 0 24px 16px;
  border-radius: var(--r-2);
  background: var(--canvas);
  border: 1px solid var(--line-2);
}
.inv-sum > div {
  min-width: 0;
  padding: 12px 16px;
}
.inv-sum > div + div {
  border-left: 1px solid var(--line-2);
}
.inv-sum dt {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-aa);
}
.inv-sum dd {
  margin-top: 3px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.inv-sum__total {
  background: #fff;
  border-radius: 0 var(--r-2) var(--r-2) 0;
}
.inv-sum__total dd {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.tbl--inv td {
  vertical-align: top;
}
.doc-cell {
  min-width: 220px;
}
.doc-cell__top {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.tbl--inv .doc-no {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}
.doc-cell small.sub {
  max-width: 300px;
}
.buyer-cell {
  min-width: 200px;
  max-width: 300px;
}
.buyer-cell strong {
  display: block;
  font-weight: 650;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.buyer-cell small.sub {
  overflow-wrap: anywhere;
}
.buyer-cell small.buyer-cell__flag {
  color: var(--amber-ink);
  font-weight: 650;
}
.buyer-cell code {
  font-size: 12px;
  color: var(--ink-2);
}
.tbl--inv td.num strong {
  font-weight: 750;
}
.exports__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.export {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-width: 0;
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: #fff;
  box-shadow: var(--sh-1);
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.export:hover:not(:disabled) {
  border-color: rgba(11, 122, 85, 0.4);
  box-shadow: var(--sh-2);
  transform: translateY(-1px);
}
.export:focus-visible {
  outline: 2px solid var(--em);
  outline-offset: 2px;
}
.export:disabled {
  cursor: progress;
  opacity: 0.6;
}
.export__ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--em);
}
.export__ic .i {
  width: 18px;
  height: 18px;
}
.export.is-busy .export__ic .i {
  animation: spin 0.9s linear infinite;
}
.export__txt {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.export__txt strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.export__txt small {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted-aa);
}

/* ---------- GST: responsive ---------- */
@media (max-width: 1100px) {
  .exports__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inv-sum {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inv-sum > div:nth-child(odd) {
    border-left: 0;
  }
  .inv-sum > div:nth-child(n + 3) {
    border-top: 1px solid var(--line-2);
  }
  .inv-sum__total {
    grid-column: 1 / -1;
    border-radius: 0 0 var(--r-2) var(--r-2);
  }
}
@media (max-width: 960px) {
  .gst__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .billform__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .billstep {
    margin-bottom: 20px;
    padding: 22px 18px 22px;
    border-radius: var(--r-3);
  }
  .billstep__ic {
    display: none;
  }
  .billstep__item {
    align-items: flex-start;
  }
  .billform__actions .btn {
    flex: 1 1 auto;
  }
  .intent__body .billform__actions .btn--primary {
    flex-basis: 100%;
  }
  .bill-card {
    padding: 18px 16px 20px;
  }
  .docs .row {
    flex-wrap: wrap;
  }
  .docs .row__main {
    flex-basis: calc(100% - 52px);
  }
  .docs .row__end {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 52px;
  }
  .inv-sum {
    margin-inline: 16px;
  }
  .exports__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .export {
    padding: 14px;
  }
  .search--sm {
    max-width: none;
    flex-basis: 100%;
  }
  .tbl--inv td:first-child::before {
    display: none;
  }
  .doc-cell,
  .buyer-cell {
    min-width: 0;
    max-width: none;
  }
  .tbl--inv .buyer-cell {
    grid-column: 1 / -1;
  }
}
/* Nine dashboard tabs: tighter on desktop, and without icons where they would not all fit. */
@media (min-width: 761px) {
  .tabs__in {
    gap: 0;
  }
  .tab {
    gap: 7px;
    padding-inline: 11px;
  }
  .tab[aria-current="page"]::after {
    left: 10px;
    right: 10px;
  }
}
@media (min-width: 761px) and (max-width: 1360px) {
  .tab > .i {
    display: none;
  }
}
.tbl--inv td:nth-child(2) {
  white-space: nowrap;
}
@media (max-width: 760px) {
  /* one compact card per document: amounts side by side */
  .tbl--inv tr {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "doc doc doc"
      "date pos pos"
      "buyer buyer buyer"
      "taxable gst total"
      "act act act";
    gap: 10px 12px;
  }
  .tbl--inv td {
    align-content: start;
  }
  .tbl--inv td:nth-child(1) { grid-area: doc; }
  .tbl--inv td:nth-child(2) { grid-area: date; }
  .tbl--inv td:nth-child(3) { grid-area: buyer; }
  .tbl--inv td:nth-child(4) { grid-area: pos; }
  .tbl--inv td:nth-child(5) { grid-area: taxable; }
  .tbl--inv td:nth-child(6) { grid-area: gst; }
  .tbl--inv td:nth-child(7) { grid-area: total; }
  .tbl--inv td:nth-child(8) { grid-area: act; }
  .tbl--inv .buyer-cell {
    grid-column: auto;
  }
  .tbl--inv td.act-cell .btn {
    width: 100%;
  }
}
.inv-cap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 24px 12px;
  padding: 10px 14px;
  border-radius: var(--r-1);
  background: var(--amber-tint);
  color: var(--amber-ink);
  font-size: 13.5px;
  line-height: 1.5;
}
.inv-cap .i {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  flex: none;
}
@media (max-width: 760px) {
  .inv-cap {
    margin-inline: 16px;
  }
}
