:root {
  --bg: #f4f1e6;
  --bg-2: #ffffff;
  --bg-3: #fffdf6;
  --bg-side: #efe9d6;
  --line: rgba(28, 32, 14, 0.12);
  --line-strong: rgba(28, 32, 14, 0.22);
  --ink: #16180f;
  --muted: #5c5a4c;
  --faint: #8a8774;
  --lime: #c8f000;
  --lime-ink: #3f4d00;
  --lime-wash: #eef8a8;
  --orange: #ff6a2a;
  --cyan: #14c4b0;
  --danger: #d63b3b;
  --ok: #2f6b12;
  --shadow: 0 18px 50px rgba(40, 44, 18, 0.08);
  --shadow-lg: 0 28px 70px rgba(40, 44, 18, 0.12);
  --font: "Figtree", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }

.grid-bg {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(63, 77, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 77, 0, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 14px;
  text-transform: none;
  color: var(--ink);
}
.mark-logo {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  display: block;
  object-fit: cover;
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn[hidden] { display: none !important; }
.btn:hover { transform: translateY(-1px); }
.btn-lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(200, 240, 0, 0.35);
}
.btn-lime:hover { background: #d6ff2a; }
.btn-ghost {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-orange { background: var(--orange); color: #fff8f3; }
.btn-block { width: 100%; }
.btn:disabled:not(.is-loading) { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn.is-loading {
  cursor: progress;
  pointer-events: none;
}
.btn-spin {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
  flex: 0 0 auto;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field input, .field textarea, .field select {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--lime-ink);
  box-shadow: 0 0 0 3px var(--lime-wash);
}
.hit-buy {
  display: grid;
  gap: 12px;
  padding: 4px 18px 18px;
}
.hit-buy .field { margin: 0; }
.hit-buy input {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  width: 100%;
}
.hit-buy input::-webkit-outer-spin-button,
.hit-buy input::-webkit-inner-spin-button { opacity: 1; height: 28px; }
.hit-buy-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.hit-buy-total span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hit-buy-total strong {
  display: block;
  margin-top: 2px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
}
.hit-buy-total small { color: var(--muted); font-size: 12px; text-align: right; }
.hit-buy .btn { justify-self: start; }
.alert {
  background: #fdecec;
  border: 1px solid #f3bcbc;
  color: #8a1f1f;
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}
.ok {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: #eef8d4;
  border: 1px solid #c5e08a;
  color: var(--ok);
  padding: 10px 12px;
  border-radius: 12px;
}
.ok[hidden] { display: none !important; }
.fp-sync-first[hidden],
.fp-sync-category[hidden] { display: none !important; }
.ok-close {
  flex: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.nav-m {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7vw;
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(244, 241, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-m nav { display: flex; gap: 22px; align-items: center; color: var(--muted); font-size: 14px; }
.nav-m nav a:hover { color: var(--ink); }
.hero {
  padding: 8vh 7vw 10vh;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
}
.kicker {
  color: var(--lime-ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.92;
  margin: 0 0 22px;
  max-width: 11ch;
  color: var(--ink);
}
.hero p.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.5;
}
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.hero-photo {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.hero-photo p {
  margin: 0;
  padding: 14px 18px 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.home .hero > div > * {
  animation: home-rise 0.7s ease both;
}
.home .hero .kicker { animation-delay: 0.04s; }
.home .hero h1 { animation-delay: 0.12s; }
.home .hero p.lede { animation-delay: 0.2s; }
.home .hero-actions { animation-delay: 0.28s; }
.home .hero-photo {
  animation: home-rise 0.85s ease both;
  animation-delay: 0.18s;
}
.home .hero-photo img { transition: transform 0.7s ease; }
.home .hero-photo:hover img { transform: scale(1.035); }
.home .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.home .feat-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.home .feat-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.home .reveal.is-shown { opacity: 1; transform: none; }
.home .product-shot img { transition: transform 0.7s ease; }
.home .product-row:hover .product-shot img { transform: scale(1.03); }
.nav-m nav a:not(.btn) { position: relative; }
.nav-m nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-m nav a:not(.btn):hover::after { transform: scaleX(1); }
@keyframes home-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.spec-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.spec-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--lime);
}
.spec-card header {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
  padding-left: 8px;
}
.spec-row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 10px 8px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.spec-row b { color: var(--ink); }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f6b12;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 4px rgba(47, 107, 18, 0.15);
}
.band {
  padding: 72px 7vw;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
}
.band h2 {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 500;
  margin: 0 0 28px;
}
.sku-grid, .feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feat-grid { grid-template-columns: repeat(3, 1fr); }
.sku-card, .feat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 160px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.sku-card { padding: 0; overflow: hidden; min-height: 0; }
.sku-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.sku-card .sku-body { padding: 18px 20px 20px; }
.product-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  margin: 0 0 56px;
}
.product-row.reverse { grid-template-columns: 0.95fr 1.05fr; }
.product-row.reverse .product-shot { order: 2; }
.product-row.reverse .product-copy { order: 1; }
.product-shot {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.product-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.product-copy h3 {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
  margin: 12px 0 8px;
}
.product-tag {
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 12px;
}
.product-copy p { color: var(--muted); line-height: 1.5; }
.product-copy .btn { margin-top: 8px; }
.doc-hero {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}
.sku-card.sku-soon { cursor: default; opacity: 0.72; }
.sku-card.sku-soon:hover { transform: none; border-color: var(--line); }
.sku-pick { display: block; cursor: pointer; }
.sku-pick input { margin: 0 0 10px; }
.sku-pick:has(input:checked) {
  border-color: var(--lime-ink);
  box-shadow: 0 0 0 2px var(--lime);
}
.sku-card:hover, .feat:hover {
  transform: translateY(-3px);
  border-color: var(--lime-ink);
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.shop-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shop-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f6f1e4;
  display: block;
}
.shop-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  flex: 1;
}
.shop-body h2 {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
}
.shop-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
  flex: 1;
}
.shop-price { font-size: 18px; letter-spacing: -0.02em; }
.shop-body .btn { align-self: flex-start; margin-top: 4px; }
.sku-card h3, .feat h3 { margin: 8px 0 8px; font-size: 20px; }
.sku-card p, .feat p { color: var(--muted); margin: 0; line-height: 1.45; }
.chip {
  display: inline-flex;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--bg-3);
}
.chip.lime { color: var(--ink); background: var(--lime); border-color: transparent; }
.chip.orange { color: #fff8f3; background: var(--orange); border-color: transparent; }
.chip.cyan { color: #04332e; background: var(--cyan); border-color: transparent; }
.update-list { display: grid; gap: 12px; }
.update-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.update-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  margin: 12px 0 8px;
}
.update-card p { margin: 0; color: var(--muted); line-height: 1.55; white-space: pre-wrap; }
.foot {
  padding: 28px 7vw;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.auth-art {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(160deg, var(--lime-wash) 0%, var(--bg) 55%, #fff 100%);
  border-right: 1px solid var(--line);
}
.auth-art h1 {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 500;
  line-height: 0.95;
  max-width: 10ch;
}
.auth-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--bg-2);
}
.auth-card { width: min(420px, 100%); }

.shell {
  display: grid;
  grid-template-columns: 268px 1fr;
  min-height: 100vh;
}
.side {
  border-right: 1px solid var(--line);
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, #f8f4e6 0%, var(--bg-side) 220px);
  position: sticky;
  top: 0;
  height: 100vh;
}
.side-brand {
  padding: 6px 8px 16px;
  border-bottom: 1px solid var(--line);
}
.side nav {
  display: grid;
  align-content: start;
  gap: 2px;
  margin-top: 14px;
  overflow: auto;
  padding-right: 2px;
}
.side-group {
  display: grid;
  gap: 2px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.side-label {
  margin: 2px 10px 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.side nav a, .side-locked {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
}
.side nav a::before, .side-locked::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  flex: none;
}
.side nav a::before {
  background: var(--lime-ink);
  opacity: 0.28;
}
.side nav a:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}
.side nav a:hover::before { opacity: 0.7; }
.side nav a.active {
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  box-shadow: none;
}
.side nav a.active::before {
  opacity: 1;
  background: var(--ink);
}
.side-locked {
  color: var(--faint);
  cursor: not-allowed;
}
.side-locked::before {
  background: transparent;
  border: 1.5px solid var(--faint);
}
.side-locked .side-name { flex: 1; }
.side-locked em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.side-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.side-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px 12px;
}
.side-avatar {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}
.side-user strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.side-user span {
  display: block;
  margin-top: 1px;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.3;
  word-break: break-all;
}
.side-foot .btn {
  width: 100%;
  justify-content: center;
}
.center-stage {
  min-height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0 28px;
}
.center-stage .page-title {
  display: block;
  text-align: center;
  width: min(480px, 100%);
  margin-bottom: 16px;
}
.center-stage .page-title p {
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
.center-stage .alert { width: min(480px, 100%); }
.center-card {
  width: min(480px, 100%);
  padding: 22px 22px 18px;
}
.center-card .two { grid-template-columns: 1fr 1fr; }
.center-card .btn { width: 100%; justify-content: center; }
.main { min-width: 0; background: var(--bg); }
.top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
  background: rgba(255, 253, 246, 0.86);
  backdrop-filter: blur(10px);
}
.top-selects { display: flex; gap: 8px; }
.top select {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 8px 10px;
}
.meter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.meter-bar {
  width: 120px;
  height: 6px;
  background: #e4dfcc;
  border-radius: 99px;
  overflow: hidden;
}
.meter-bar span {
  display: block;
  height: 100%;
  background: var(--lime-ink);
}
.content { padding: 28px; }
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}
.page-title h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 36px;
  margin: 0;
}
.page-title p { margin: 6px 0 0; color: var(--muted); }
.home-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.home-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.home-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  align-items: end;
  height: 180px;
  padding: 18px 16px 12px;
}
.home-bars div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.home-bars span {
  display: block;
  width: 70%;
  max-width: 36px;
  border-radius: 8px 8px 3px 3px;
  background: var(--lime, #c6f135);
  min-height: 0;
}
.home-bars span.is-ink { background: #1c2416; }
.home-bars small, .home-bars em { font-style: normal; font-size: 11px; color: var(--muted); }
.home-work {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 8px 18px 18px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.stat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 28px; font-family: var(--display); font-weight: 500; }
.stat span { color: var(--muted); font-size: 13px; }
.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.panel h2 {
  margin: 0;
  padding: 16px 18px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.table th {
  color: var(--faint);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.table tr:last-child td { border-bottom: 0; }
.table a { color: var(--lime-ink); font-weight: 600; }
.table a:hover { text-decoration: underline; }
.filters { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.filters select {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 8px 10px;
}
.two { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.mono { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.token-box {
  background: #fff;
  border: 1px dashed var(--lime-ink);
  padding: 14px;
  border-radius: 12px;
  word-break: break-all;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  white-space: pre-wrap;
  margin: 0;
}
.ussd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.ussd-card {
  display: grid;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.ussd-card:hover { transform: translateY(-3px); border-color: var(--lime-ink); }
.ussd-card-screen {
  display: grid;
  gap: 8px;
  min-height: 108px;
  padding: 18px 18px 16px;
  background: #d7e8a0;
  color: #1a220c;
  border-bottom: 1px solid #b7c97a;
}
.ussd-card-code {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}
.ussd-card-line {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.45;
}
.ussd-card-body {
  display: grid;
  gap: 4px;
  padding: 14px 18px 16px;
}
.ussd-card-body strong { font-size: 17px; }
.ussd-card-body span { color: var(--muted); font-size: 13px; }
.ussd-back { margin: 0 0 6px; font-size: 13px; }
.ussd-back a { color: var(--lime-ink); font-weight: 600; }
.ussd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 20px;
  align-items: start;
}
.ussd-panel-body { padding: 18px 20px 20px; }
.ussd-code {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
}
.ussd-welcome { margin: 0 0 16px; color: var(--muted); }
.ussd-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ussd-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-3);
}
.ussd-items span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--lime);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  flex: none;
}
.ussd-handset { display: flex; justify-content: center; }
.ussd-bezel {
  width: min(320px, 100%);
  padding: 18px 16px 16px;
  border-radius: 36px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.ussd-ear {
  width: 64px;
  height: 6px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.ussd-screen {
  background: #d7e8a0;
  color: #1a220c;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.5;
  min-height: 240px;
  padding: 16px;
  border-radius: 8px;
  white-space: pre-wrap;
  border: 1px solid #b7c97a;
}
.ussd-dial {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.ussd-dial input {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-family: var(--mono);
}
.ussd-dial .btn { padding: 12px 16px; }
.form-grid { max-width: 560px; }
.request-wrap { max-width: 640px; margin: 0 auto; }
.ticket-list { display: grid; gap: 8px; }
.ticket-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.ticket-row.has-action { grid-template-columns: 88px 1fr auto auto; }
.ticket-row:hover { border-color: var(--lime-ink); }
.ticket-id { font-family: var(--mono); color: var(--muted); }
.ticket-main { display: grid; gap: 4px; min-width: 0; }
.ticket-main strong { font-size: 16px; }
.ticket-main span, .ticket-empty p { color: var(--muted); font-size: 13px; }
.ticket-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.ticket-status.is-submitted { background: var(--bg-3); }
.ticket-status.is-scoped { background: #d9f6f2; }
.ticket-status.is-quoted { background: #ffe4d6; }
.ticket-status.is-in_progress { background: var(--lime); color: var(--ink); border-color: transparent; }
.ticket-status.is-delivered { background: #e5f3d8; }
.ticket-empty { padding: 28px; display: grid; gap: 12px; justify-items: start; }
.ticket-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 16px; align-items: start; }
.ticket-body, .ticket-side { padding: 18px 20px 20px; }
.ticket-body h2, .ticket-side h2 { margin: 0 0 12px; font-size: 16px; }
.ticket-body p { margin: 0; white-space: pre-wrap; line-height: 1.55; }
.ticket-side dl { margin: 0 0 16px; display: grid; gap: 10px; }
.ticket-side dl div { display: grid; gap: 2px; }
.ticket-side dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ticket-side dd { margin: 0; }
.request-wrap .form-grid { max-width: none; }
.split-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.device-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-bottom: 16px;
}
.docs {
  padding: 18px 20px 8px;
  color: var(--ink);
  line-height: 1.55;
}
.docs p { margin: 0 0 12px; }
.json {
  font-family: var(--mono);
  font-size: 12px;
  white-space: pre-wrap;
  color: #2a3a08;
  background: #f7fbe6;
}
.fp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}
.fp-head h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 40px;
  margin: 0;
  letter-spacing: -0.03em;
}
.fp-head p { margin: 8px 0 0; color: var(--muted); max-width: 46rem; }
.fp-head .kicker { margin: 0 0 8px; }
.fp-head-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.fp-modal {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  background: rgba(28, 27, 23, 0.45);
  overflow: auto;
}
.fp-modal[hidden] { display: none; }
.fp-modal .fp-add { width: min(860px, 100%); margin: 0; }
.fp-add-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.fp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  gap: 16px;
  align-items: start;
}
.fp-main, .fp-side { display: grid; gap: 16px; }
.fp-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-right: 14px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}
.fp-panel-head h2 { border-bottom: 0; flex: 1; }
.fp-search {
  width: min(240px, 46vw);
  margin: 10px 0;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  outline: none;
}
.fp-search:focus {
  border-color: var(--lime-ink);
  box-shadow: 0 0 0 3px var(--lime-wash);
}
.fp-attendance-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fp-attendance-tools .fp-search { margin: 10px 0; }
#fp-attendance-date { width: auto; }
#fp-attendance-reset { margin: 10px 0; }
.fp-body { padding: 16px 18px 18px; }
.fp-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.fp-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: 8px; }
.fp-steps li { line-height: 1.45; }
.fp-body .fp-steps + .fp-note { margin-top: 14px; }
.fp-main .fp-note { margin: 0; padding: 14px 18px 0; }
.fp-staff-scroll {
  max-height: 420px;
  overflow: auto;
}
.fp-staff-scroll thead th {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.fp-label {
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fp-dash > .fp-guide { margin-top: 16px; width: 100%; }
.fp-guide .fp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  counter-reset: fp-step;
}
.fp-guide .fp-steps li {
  counter-increment: fp-step;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 0;
  padding: 8px 10px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  line-height: 1.4;
  font-size: 13px;
}
.fp-guide .fp-steps li > span { min-width: 0; }
.fp-guide .fp-steps li::before {
  content: counter(fp-step);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
}
.fp-guide .fp-steps .mono { color: var(--lime-ink); }
.fp-guide-callout {
  margin: 8px 0 0;
  padding: 8px 10px;
  background: var(--lime-wash);
  border-radius: 14px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}
.fp-guide-callout .mono { color: var(--lime-ink); }
.fp-guide-samples {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8px;
  margin-top: 8px;
  align-items: start;
}
.fp-code-card {
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #1c1f14;
  color: #f4f1e6;
  box-shadow: var(--shadow);
}
.fp-code-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #2c311f;
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fp-code-card pre {
  margin: 0;
  max-height: 180px;
  overflow: auto;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  color: #f7f4ea;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.fp-code-card p {
  margin: 0;
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(244, 241, 230, 0.12);
  color: #d9d4c4;
  font-size: 12px;
  line-height: 1.45;
}
.fp-code-card p .mono { color: var(--lime); }
.fp-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  background: #f3f0e4;
  border-radius: 999px;
}
.fp-switch button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.fp-switch button.is-on { background: var(--lime); color: var(--ink); }
.fp-add { margin-top: 16px; }
.fp-add-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 20px 20px 0;
}
.fp-add-top h2 {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: none;
}
.fp-add-top p { margin: 6px 0 0; color: var(--muted); }
.fp-add-top .fp-switch { margin: 0; min-width: 280px; }
.fp-add .fp-body { padding-top: 16px; }
.fp-add .ok, .fp-add .alert { margin-bottom: 14px; }
.fp-pane[hidden] { display: none; }
.fp-sheet {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.fp-manual, .fp-file {
  display: grid;
  gap: 12px;
  align-items: end;
}
.fp-manual { grid-template-columns: minmax(0, 1.5fr) minmax(140px, 0.6fr) auto; }
.fp-file { grid-template-columns: minmax(0, 1fr) auto; }
.fp-manual .field, .fp-file .field, .fp-endpoint .field { margin-bottom: 0; }
.fp-manual .field input,
.fp-file .field input,
.fp-manual .btn,
.fp-file .btn { min-height: 48px; }
.fp-file input[type="file"],
.fp-add input[type="file"] {
  width: 100%;
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 11px 12px;
}
.fp-endpoint {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  gap: 18px;
  align-items: start;
}
.fp-endpoint .fp-actions { margin-top: 12px; }
.fp-endpoint .fp-label { margin-top: 0; }
.fp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-modes { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-device-actions { margin-top: 8px; }
.fp-sync-pick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fp-sync-pick select,
.fp-sync-pick input {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}
.fp-person-edit {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
}
.fp-person-edit[hidden] { display: none; }
.fp-person-edit input {
  width: 140px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
}
tr[data-editing="1"] .fp-name-link { display: none; }
.fp-person-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  max-width: 340px;
}
.fp-person-actions .fp-enroll-actions,
.fp-person-actions .fp-person-delete { display: contents; }
#fp-people .btn {
  padding: 4px 9px;
  font-size: 12px;
  line-height: 1.2;
  box-shadow: none;
}
#fp-people .fp-enroll-device,
#fp-people .fp-category-edit input,
#fp-people .fp-person-edit input {
  padding: 4px 8px;
  font-size: 12px;
}
#fp-people .fp-category-edit button { padding: 4px 8px; }
.fp-category-edit { display: flex; gap: 6px; align-items: center; }
.fp-category-edit input {
  width: 7.5rem;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}
.fp-sync-category select { min-width: 8rem; }
.fp-rename { display: flex; gap: 6px; align-items: center; }
.fp-rename .fp-name {
  width: 11rem;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}
.fp-assign { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.fp-assign select {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}
.fp-assign .fp-note { margin: 6px 0 0; width: 100%; }
.fp-wifi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.fp-wifi-row strong { display: block; }
.fp-wifi-row .btn { padding: 8px 12px; font-size: 13px; }
.fp-wifi-add { margin-top: 14px; }
.fp-device-actions .btn { border: 0; box-shadow: none; }
.fp-device-actions .is-sync { background: var(--cyan); color: #07332e; }
.fp-device-actions .is-sync:hover { background: #0eaa99; }
.fp-confirm {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(28, 27, 23, 0.45);
}
.fp-confirm[hidden] { display: none; }
.fp-confirm-card {
  width: min(420px, 100%);
  background: #fffdf8;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(28, 27, 23, 0.2);
}
.fp-confirm-text { margin: 0 0 18px; font-size: 16px; }
.fp-confirm-actions { display: flex; justify-content: flex-end; gap: 8px; }
.fp-enroll-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fp-enroll-device {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  max-width: 11rem;
}
.fp-enroll-actions .fp-reenroll { background: var(--cyan); color: #07332e; }
.fp-enroll-actions .fp-disable { background: #6b6456; color: #fffaf2; }
.fp-enroll-actions .fp-enable { background: var(--lime); color: var(--ink); }
.fp-enroll-actions .fp-reenroll:hover { background: #0eaa99; }
.fp-device-actions .is-clear, .fp-enroll-actions .is-clear { background: var(--orange); color: #fff8f3; }
.fp-device-actions .is-clear:hover, .fp-enroll-actions .is-clear:hover { background: #e25518; }
.fp-power { display: inline-flex; align-items: center; gap: 8px; }
.fp-toggle {
  position: relative;
  width: 44px;
  height: 26px;
  padding: 3px;
  border: 0;
  border-radius: 999px;
  background: #c8c4b4;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.fp-toggle.is-on { background: var(--lime); }
.fp-toggle-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}
.fp-toggle.is-on .fp-toggle-knob { transform: translateX(18px); }
.fp-toggle-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.fp-toggle.is-on + .fp-toggle-label { color: var(--lime-ink); }
.fp-toggle.is-loading { pointer-events: none; }
.fp-toggle.is-loading .fp-toggle-knob { visibility: hidden; }
.fp-toggle .btn-spin { position: absolute; left: 15px; top: 6px; }
.fp-device-actions .is-remove { background: var(--danger); color: #fff8f6; }
.fp-device-actions .is-remove:hover { background: #b82b2b; }
.fp-modes .btn, .fp-actions .btn, .fp-panel-head .btn { padding: 8px 12px; font-size: 13px; }
.fp-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  background: #f3f0e4;
  color: var(--muted);
}
.fp-pill.is-on { background: var(--lime-wash); color: var(--lime-ink); }
.fp-job {
  display: block;
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: #efe8d4;
  overflow: hidden;
}
.fp-job[hidden] { display: none !important; }
.fp-job-fill {
  display: block;
  height: 100%;
  background: var(--cyan);
  border-radius: inherit;
}
.fp-job.is-clear .fp-job-fill { animation: fp-job-slide 1s ease-in-out infinite; }
@keyframes fp-job-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}
.fp-pill.is-on::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: fp-pulse 1.4s ease-in-out infinite;
}
.fp-pill.is-wait { background: #fff1e8; color: #9a3d12; }
.fp-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fp-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}
.fp-live.is-on { color: var(--lime-ink); }
.fp-live.is-on::before { background: var(--lime-ink); animation: fp-pulse 1.4s ease-in-out infinite; }
.fp-progress { margin-top: 16px; }
.fp-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
}
.fp-progress-top strong { font-weight: 600; }
.fp-progress-top span { font-family: var(--mono); color: var(--muted); }
.fp-track {
  height: 8px;
  background: #e4dfcc;
  border-radius: 99px;
  overflow: hidden;
}
.fp-track span {
  display: block;
  height: 100%;
  background: var(--lime-ink);
  border-radius: inherit;
  transition: width 0.25s ease;
}
.fp-track.is-wait span {
  width: 35% !important;
  animation: fp-slide 1.1s ease-in-out infinite;
}
.fp-track.is-bad span { background: var(--danger); }
@keyframes fp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@keyframes fp-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
@keyframes fp-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes fp-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes fp-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fp-dash .fp-head { animation: fp-rise 0.45s ease both; }
.fp-dash .stat {
  position: relative;
  overflow: hidden;
  animation: fp-rise 0.5s ease both;
}
.fp-dash .stat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--lime-ink);
}
.fp-dash .stat:nth-child(2) { animation-delay: 0.06s; }
.fp-dash .stat:nth-child(2)::before { background: var(--cyan); }
.fp-dash .stat:nth-child(3) { animation-delay: 0.12s; }
.fp-dash .stat:nth-child(3)::before { background: var(--orange); }
.fp-dash .stat:nth-child(4) { animation-delay: 0.18s; }
.fp-dash .stat:nth-child(4)::before { background: var(--lime); }
.fp-dash .fp-main > .panel,
.fp-dash .fp-side > .panel,
.fp-dash > .fp-guide { animation: fp-rise 0.55s ease both; }
.fp-dash .fp-main > .panel:nth-child(2) { animation-delay: 0.08s; }
.fp-dash .fp-main > .panel:nth-child(3) { animation-delay: 0.14s; }
.fp-dash .fp-main > .panel:nth-child(4) { animation-delay: 0.2s; }
.fp-dash .fp-main > .panel:nth-child(5) { animation-delay: 0.26s; }
.fp-dash .fp-side > .panel:nth-child(2) { animation-delay: 0.1s; }
.fp-dash .ok,
.fp-dash .alert { animation: fp-rise 0.3s ease; }
.fp-dash .table tbody tr { transition: background 0.16s ease; }
.fp-dash .table tbody tr:hover { background: #fbfaf2; }
.fp-table-scroll { overflow-x: auto; }
.fp-control { min-width: 320px; vertical-align: top; }
.fp-console {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.fp-console .fp-modes,
.fp-console .fp-device-actions,
.fp-console .fp-assign { margin-top: 0; }
.fp-console .fp-note { padding: 0; }
.fp-job-fill { transition: width 0.45s ease; }
.fp-dash .fp-modal:not([hidden]) { animation: fp-fade 0.2s ease; }
.fp-add.is-in { animation: fp-pop 0.28s ease; }
.fp-confirm:not([hidden]) .fp-confirm-card { animation: fp-pop 0.22s ease; }
.fp-dash .token-box { transition: border-color 0.2s ease; }
.fp-dash .token-box:hover { border-color: var(--lime-ink); }

@media (prefers-reduced-motion: reduce) {
  .home .hero > div > *,
  .home .hero-photo,
  .home .hero-photo img,
  .home .product-shot img,
  .home .reveal,
  .nav-m nav a:not(.btn)::after {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
  .fp-dash .fp-head,
  .fp-dash .stat,
  .fp-dash .fp-main > .panel,
  .fp-dash .fp-side > .panel,
  .fp-dash > .fp-guide,
  .fp-dash .ok,
  .fp-dash .alert,
  .fp-add.is-in,
  .fp-dash .fp-modal:not([hidden]),
  .fp-confirm:not([hidden]) .fp-confirm-card,
  .fp-pill.is-on::before,
  .fp-live.is-on::before,
  .fp-job.is-clear .fp-job-fill,
  .fp-track.is-wait span {
    animation: none;
  }
}

#checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(18, 22, 16, 0.62);
}
#checkout-overlay[hidden] { display: none; }
.checkout-sheet {
  width: min(640px, 100%);
  height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}
.checkout-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #1c2416;
  color: #fff;
}
.checkout-bar img { width: 32px; height: 32px; border-radius: 8px; }
.checkout-bar strong, .checkout-bar span { display: block; }
.checkout-bar span { font-size: 12px; opacity: 0.75; }
.checkout-bar b { margin-left: auto; }
#checkout-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.checkout-frame { position: relative; flex: 1; min-height: 0; }
#checkout-loader {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
#checkout-iframe { width: 100%; height: 100%; border: 0; }

.acct-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(200, 240, 0, 0.45), transparent 60%),
    linear-gradient(160deg, #1c2416 0%, #2a331c 70%);
  color: #f7f4ea;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  animation: acct-rise 0.7s ease both;
}
.acct-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--lime);
  transform-origin: left;
  animation: acct-line 1s 0.2s ease both;
}
.acct-mark {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--lime);
  color: #1c2416;
  box-shadow: 0 0 0 0 rgba(200, 240, 0, 0.55);
  animation: acct-pulse 2.4s ease-in-out infinite;
}
.acct-mark span {
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
}
.acct-hero h1 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 40px;
}
.acct-hero .kicker { color: var(--lime); margin: 0; }
.acct-hero-copy p { margin: 6px 0 0; color: rgba(247, 244, 234, 0.72); }
.acct-pills { display: grid; gap: 8px; justify-items: end; }
.acct-pills span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}
.acct-pills .is-open {
  background: var(--lime);
  color: #1c2416;
  border-color: transparent;
}
.acct-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.acct-facts article {
  padding: 16px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  animation: acct-rise 0.7s ease both;
}
.acct-facts article:nth-child(1) { animation-delay: 0.08s; }
.acct-facts article:nth-child(2) { animation-delay: 0.16s; }
.acct-facts article:nth-child(3) { animation-delay: 0.24s; }
.acct-facts article:nth-child(4) { animation-delay: 0.32s; }
.acct-facts b {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
}
.acct-facts span { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.acct-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}
.acct-card { animation: acct-rise 0.75s ease both; }
.acct-layout .acct-card:nth-child(1) { animation-delay: 0.18s; }
.acct-layout .acct-card:nth-child(2) { animation-delay: 0.28s; }
.acct-activity { margin-top: 16px; animation-delay: 0.36s; }
.acct-form { padding: 18px 18px 8px; }
.acct-form-row { display: flex; gap: 8px; flex-wrap: wrap; }
.acct-meta { margin: 0; padding: 8px 18px 18px; display: grid; gap: 10px; }
.acct-meta div { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.acct-meta dt { color: var(--muted); }
.acct-meta dd { margin: 0; text-align: right; }
.acct-people { list-style: none; margin: 0; padding: 8px; }
.acct-people li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  animation: acct-rise 0.55s ease both;
  animation-delay: calc(var(--i, 1) * 70ms);
}
.acct-people li:hover { background: var(--bg-3); transform: translateX(4px); }
.acct-people li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--lime-wash);
  color: var(--lime-ink);
  font-weight: 700;
}
.acct-people strong, .acct-people em { display: block; }
.acct-people em { color: var(--muted); font-style: normal; font-size: 12px; }
.acct-timeline {
  list-style: none;
  margin: 0;
  padding: 8px 18px 18px 28px;
  position: relative;
}
.acct-timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--lime);
  transform-origin: top;
  animation: acct-grow 1.1s 0.3s ease both;
}
.acct-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 8px;
  padding: 10px 12px 10px 22px;
  animation: acct-rise 0.5s ease both;
  animation-delay: calc(var(--i, 1) * 50ms);
}
.acct-timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px var(--bg-2);
}
.acct-timeline time { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.acct-timeline em { color: var(--muted); font-style: normal; font-size: 13px; }
.acct-empty { color: var(--muted); }
@keyframes acct-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes acct-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes acct-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes acct-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 240, 0, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(200, 240, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .acct-hero, .acct-facts article, .acct-card, .acct-people li, .acct-timeline li, .acct-hero::after, .acct-timeline::before, .acct-mark {
    animation: none;
  }
}

@media (max-width: 980px) {
  .hero, .auth-shell, .shell, .sku-grid, .feat-grid, .shop-grid, .stats, .home-stats, .home-charts, .home-work, .two, .acct-facts, .acct-layout, .acct-hero, .device-hero, .split-cards, .product-row, .product-row.reverse, .fp-grid, .ticket-grid, .ticket-row, .ussd-layout {
    grid-template-columns: 1fr;
  }
  .fp-head, .fp-add-top { align-items: flex-start; flex-direction: column; }
  .fp-head h1 { font-size: 32px; }
  .fp-manual, .fp-file, .fp-endpoint, .fp-guide-samples { grid-template-columns: 1fr; }
  .fp-add-top .fp-switch { width: 100%; min-width: 0; }
  .product-row.reverse .product-shot, .product-row.reverse .product-copy { order: 0; }
  .hero-photo img { height: 240px; }
  .acct-pills { justify-items: start; }
  .acct-timeline li { grid-template-columns: 1fr; gap: 2px; }
  .side { display: none; }
  .hero h1 { font-size: 48px; }
}
