:root {
  --bg: #f3efe6;
  --bg-2: #e7f2ec;
  --ink: #14211c;
  --muted: #5c6b64;
  --line: #e3d9c8;
  --paper: #fffdf8;
  --jade: #0e7a56;
  --jade-dark: #08382a;
  --jade-soft: #e7f6ef;
  --nav: #121714;
  --nav-ink: #f6f3ec;
  --nav-muted: rgba(246, 243, 236, 0.72);
  --gold-line: #d4b36a;
  --gold: #a97612;
  --gold-soft: #f8efd2;
  --clay: #b94a32;
  --clay-soft: #fde8e2;
  --shadow: 0 16px 40px rgba(20, 33, 28, 0.08);
  --radius: 20px;
  --header: 64px;
  --dock: 76px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 400px at 100% -10%, rgba(14, 122, 86, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.5;
  min-height: 100vh;
}
body.has-dock { padding-bottom: calc(var(--dock) + 12px); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 560; letter-spacing: -0.03em; line-height: 1.15; margin: 0; }
p { margin: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.wrap-narrow { width: min(760px, calc(100% - 32px)); margin-inline: auto; }

.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.stack { display: grid; gap: 14px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.section-tight { padding-top: 0; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(18, 23, 20, .92);
  color: var(--nav-ink);
  border-bottom: 3px solid var(--gold-line);
  box-shadow: 0 10px 30px rgba(18, 23, 20, 0.18);
  backdrop-filter: blur(14px);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: var(--header); width: min(1120px, calc(100% - 32px)); }
.site-header .brand { color: white; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.nav-desktop { display: none; gap: 6px; margin-left: auto; align-items: center; }
.nav-desktop a {
  text-decoration: none;
  color: var(--nav-muted);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: white; background: rgba(255,255,255,.1); }
.btn.header-cta { display: none; margin-left: 4px; }
.menu-button {
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  color: white;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 14px;
}
.mobile-menu {
  border-top: 1px solid rgba(255,255,255,.08);
  background: #1b221e;
  color: white;
  padding: 8px 16px 16px;
  display: grid;
  gap: 4px;
}
.mobile-menu a { text-decoration: none; padding: 12px 4px; font-weight: 600; border-radius: 12px; }
.mobile-menu a:hover { background: rgba(255,255,255,.06); }

.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  background: var(--nav);
  color: white;
  border-radius: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px;
  box-shadow: var(--shadow);
}
.dock a {
  text-decoration: none;
  color: rgba(255,255,255,.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  min-height: 52px;
  justify-content: center;
  border-radius: 16px;
  position: relative;
}
.dock a[aria-current="page"], .dock a:hover { background: rgba(255,255,255,.08); color: white; }
.dock .count {
  position: absolute;
  top: 4px;
  right: calc(50% - 22px);
  background: #e6c36a;
  color: var(--ink);
  border-radius: 99px;
  min-width: 16px;
  height: 16px;
  font-size: 10px;
  display: grid;
  place-items: center;
}

.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }

.hero { padding: 28px 0 12px; }
.hero-grid { display: grid; gap: 28px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-soft);
  color: #6d4e09;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 650;
}
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.hero h1 { font-size: clamp(2.15rem, 7vw, 3.5rem); }
.page-head h1 { font-size: clamp(1.85rem, 5vw, 2.4rem); }
.lede { color: var(--muted); font-size: 1.05rem; margin-top: 12px; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fine { color: var(--muted); font-size: 0.92rem; margin-top: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  cursor: pointer;
  background: var(--jade);
  color: white;
}
.btn:hover { background: #0c6849; }
.btn-gold { background: #e7c56a; color: #2b220c; }
.btn-gold:hover { background: #f0d48a; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: white; }
.btn-dark { background: var(--jade-dark); }
.btn-dark:hover { background: #06281e; }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn.is-on, .btn[aria-pressed="true"] {
  background: var(--jade-dark);
  border-color: var(--jade-dark);
  color: white;
}
.btn-ghost.is-on, .btn-ghost[aria-pressed="true"] {
  background: var(--jade-soft);
  border-color: var(--jade);
  color: var(--jade-dark);
}

.plastic {
  --mark: none;
  aspect-ratio: 1.586 / 1;
  width: 100%;
  border-radius: 16px;
  padding: 14px 16px 12px;
  color: #1c2430;
  background: linear-gradient(165deg, #f7f7f8, #e6e8ec 70%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 16px 36px rgba(16, 18, 22, .22),
    inset 0 1px 0 rgba(255,255,255,.55);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.plastic-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.plastic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.28), transparent 32%, transparent 72%, rgba(0,0,0,.14));
  pointer-events: none;
}
.plastic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,.34) 48%, transparent 60%);
  transform: translateX(-130%);
  pointer-events: none;
}
.plastic > :not(.plastic-art) { position: relative; z-index: 2; }

.plastic[data-tone="dark"] { --mark: brightness(0) invert(1); color: #f6f3ec; }
.plastic[data-tone="gold"] { --mark: brightness(0); color: #2a2112; }
.plastic[data-tone="forest"] { --mark: brightness(0) invert(1); color: #f4f7f2; }
.plastic[data-tone="crimson"] { --mark: brightness(0) invert(1); color: #fff; }
.plastic[data-tone="wine"] { --mark: brightness(0) invert(1); color: #fff8f2; }

.plastic[data-bank="hbl"][data-tier="classic"] { background: linear-gradient(180deg, #fbfbfb, #e7eeec); }
.plastic[data-bank="hbl"][data-tier="classic"] .plastic-art {
  background:
    linear-gradient(135deg, transparent 46%, rgba(0, 140, 126, .16) 46% 47%, transparent 47%),
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(0, 120, 110, .1) 16px 17px),
    repeating-linear-gradient(0deg, transparent 0 16px, rgba(0, 120, 110, .1) 16px 17px);
  mask-image: linear-gradient(90deg, transparent 20%, #000 70%);
}
.plastic[data-bank="hbl"][data-tier="platinum"] { background: #111214; }
.plastic[data-bank="hbl"][data-tier="platinum"] .plastic-art {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 1 54 16v30L28 61 2 46V16zM28 38l26 15v30L28 98 2 83V53z' fill='none' stroke='%23fff' stroke-opacity='.28'/%3E%3C/svg%3E");
  background-size: 56px 98px;
  mask-image: linear-gradient(90deg, transparent, #000 42%);
}
.plastic[data-bank="ubl"][data-tier="gold"] {
  background: linear-gradient(128deg, #f8edd2 0%, #e6cb8c 34%, #c4963e 68%, #f3e0b0);
}
.plastic[data-bank="ubl"][data-tier="gold"] .plastic-art {
  background: linear-gradient(90deg, rgba(0, 40, 110, .18), transparent 28%);
}
.plastic[data-bank="mcb"][data-tier="classic"] { background: linear-gradient(160deg, #ffffff, #eef6f1); color: #0d3b28; }
.plastic[data-bank="mcb"][data-tier="classic"] .plastic-art {
  background:
    linear-gradient(210deg, rgba(0, 140, 70, .2), transparent 42%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(0, 122, 61, .12) 12px 13px);
  mask-image: linear-gradient(90deg, transparent 25%, #000);
}
.plastic[data-bank="allied-bank"][data-tier="gold"] {
  background: linear-gradient(150deg, #a3203a, #6d1228 62%, #c9a15a);
}
.plastic[data-bank="bank-alfalah"][data-tier="gold"] {
  background: linear-gradient(155deg, #ff5a4a, #c8102e 48%, #6e0d18);
}
.plastic[data-bank="bank-alfalah"][data-tier="gold"] .plastic-art {
  background: repeating-linear-gradient(115deg, transparent 0 14px, rgba(255,255,255,.08) 14px 15px);
}
.plastic[data-bank="askari-bank"][data-tier="gold"] {
  background: linear-gradient(150deg, #1e8a4a, #0c5a32 70%);
}
.plastic[data-bank="askari-bank"][data-tier="gold"] .plastic-art {
  background: linear-gradient(90deg, transparent 50%, rgba(212, 175, 90, .28));
}
.plastic[data-bank="js-bank"][data-tier="gold"] { background: #f7f7f8; }
.plastic[data-bank="js-bank"][data-tier="gold"] .plastic-art {
  background:
    radial-gradient(70% 46% at 78% 78%, rgba(255, 70, 110, .85), transparent 62%),
    radial-gradient(55% 50% at 42% 82%, rgba(124, 80, 255, .75), transparent 60%),
    radial-gradient(48% 40% at 86% 38%, rgba(40, 190, 180, .7), transparent 58%);
}
.plastic[data-bank="standard-chartered"][data-tier="platinum"] {
  background: linear-gradient(160deg, #0e4638, #071612 72%);
}
.plastic[data-bank="standard-chartered"][data-tier="platinum"] .plastic-art {
  background: linear-gradient(90deg, transparent 55%, rgba(212, 175, 90, .22));
}
.plastic[data-bank="meezan-bank"][data-tier="classic"] {
  background: linear-gradient(165deg, #f8fbf8, #e4f2e8);
  color: #0c3d2e;
}
.plastic[data-bank="meezan-bank"][data-tier="classic"] .plastic-art {
  background:
    repeating-linear-gradient(60deg, transparent 0 11px, rgba(0, 110, 70, .14) 11px 12px),
    repeating-linear-gradient(-60deg, transparent 0 11px, rgba(0, 110, 70, .14) 11px 12px);
  mask-image: linear-gradient(90deg, transparent 15%, #000 65%);
}
.plastic[data-bank="meezan-bank"][data-tier="platinum"] {
  background: linear-gradient(160deg, #0d4a36, #06281c);
}
.plastic[data-bank="meezan-bank"][data-tier="platinum"] .plastic-art {
  background:
    repeating-linear-gradient(60deg, transparent 0 12px, rgba(232, 196, 110, .2) 12px 13px),
    repeating-linear-gradient(-60deg, transparent 0 12px, rgba(232, 196, 110, .16) 12px 13px);
  mask-image: linear-gradient(90deg, transparent, #000 50%);
}
.plastic[data-bank="faysal-bank"][data-tier="gold"] {
  background: linear-gradient(155deg, #fbf6ea, #e4d2a4 70%);
  color: #16382c;
}
.plastic[data-bank="faysal-bank"][data-tier="gold"] .plastic-art {
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 122, 80, .2), transparent 26%),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(0, 100, 70, .1) 10px 11px);
}
.logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
  padding: 5px 8px;
  min-height: 36px;
  max-width: 58%;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.logo-plate img { height: 26px; width: auto; max-width: 108px; object-fit: contain; }
.logo-plate-net { max-width: 38%; padding: 4px 6px; }
.logo-plate-net img { height: 18px; max-width: 72px; }
.logo-plate-lg { max-width: 180px; min-height: 52px; margin-bottom: 8px; }
.logo-plate-lg img { height: 36px; max-width: 150px; }
.plastic-top, .plastic-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plastic-mid { display: flex; align-items: center; gap: 10px; }
.bank-mark {
  height: 22px;
  width: auto;
  max-width: 108px;
  min-width: 0;
  object-fit: contain;
  filter: var(--mark);
}
.product-label {
  margin-left: auto;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: lowercase;
  opacity: .82;
  white-space: nowrap;
}
.chip {
  width: 40px;
  height: 30px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 7px, rgba(90, 60, 16, .28) 7px 8px),
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(90, 60, 16, .28) 8px 9px),
    linear-gradient(160deg, #f8e7c1, #c9a15a 48%, #e7d19a);
  box-shadow: inset 0 0 0 1px rgba(110, 74, 16, .4), 0 1px 0 rgba(255,255,255,.35);
  display: grid;
  place-items: center;
}
.chip span {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(110, 74, 16, .35);
}
.contactless {
  width: 22px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  opacity: .88;
}
.plastic-foot strong {
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 68%;
}
.net-mark { height: 20px; width: auto; max-width: 64px; min-width: 0; object-fit: contain; margin-left: auto; flex: 0 0 auto; }
.plastic[data-network="Mastercard"] .net-mark { height: 28px; }
.plastic[data-network="Visa"][data-tone="dark"] .net-mark,
.plastic[data-network="Visa"][data-tone="forest"] .net-mark,
.plastic[data-network="Visa"][data-tone="crimson"] .net-mark,
.plastic[data-network="Visa"][data-tone="wine"] .net-mark { filter: brightness(0) invert(1); }

.card-fan {
  position: relative;
  min-height: 210px;
  margin-inline: -8px;
}
.card-fan .plastic:nth-child(1),
.card-fan .plastic:nth-child(2) { display: none; }
.card-fan .plastic {
  position: absolute;
  width: min(280px, 78%);
  left: 6%;
  top: 12px;
}
.card-fan .plastic:nth-child(1) { transform: rotate(-16deg) translate(-8px, 12px); z-index: 1; }
.card-fan .plastic:nth-child(2) { transform: rotate(12deg) translate(42px, -4px); z-index: 2; width: min(250px, 70%); left: 16%; }
.card-fan .plastic:nth-child(3) { transform: rotate(-2deg) translate(6px, 26px); z-index: 3; width: min(290px, 82%); }
.card-photo { border-radius: 18px; width: 100%; height: 180px; object-fit: cover; background: var(--bg-2); }

.section { padding: 28px 0; }
.section h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.sub { color: var(--muted); margin-top: 8px; }

.steps, .grid-3, .grid-cards { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.tile, .panel, .grid-cards > *, .grid-3 > * { min-width: 0; max-width: 100%; }
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.panel h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step-no {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--jade-soft);
  color: var(--jade-dark);
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card { padding: 0; overflow: hidden; }
.step-art { width: 100%; height: 168px; object-fit: cover; background: #f6f1e6; }
.step-card > div { padding: 16px 18px 18px; }
.cat-tile { padding: 0 0 14px; overflow: hidden; }
.cat-art { width: 100%; height: 148px; object-fit: cover; background: #f6f1e6; }
.cat-tile strong, .cat-tile .sub { padding-inline: 14px; }
.card-frame { min-width: 0; max-width: 100%; }
.card-frame .plastic, .card-frame .card-photo { width: 100%; max-width: 100%; }

.slider-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.slider-nav { display: flex; gap: 8px; flex: 0 0 auto; }
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.slider-btn:hover { background: var(--jade); color: white; border-color: var(--jade); }
.slider-btn:disabled { opacity: .35; cursor: default; background: white; color: var(--ink); border-color: var(--line); }
.bank-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.bank-viewport::-webkit-scrollbar { display: none; width: 0; height: 0; }
.bank-track { display: flex; gap: 12px; width: max-content; padding-bottom: 4px; }
.bank-pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 136px;
  height: 76px;
  text-decoration: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bank-pill img { height: 32px; width: auto; max-width: 124px; object-fit: contain; }

.tile {
  display: grid;
  gap: 12px;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.tile:hover { border-color: #c9deD2; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}
.badge-jade { background: var(--jade-soft); color: var(--jade-dark); }
.badge-gold { background: var(--gold-soft); color: #6d4e09; }
.badge-clay { background: var(--clay-soft); color: var(--clay); }
.badge-draft { background: var(--bg); color: var(--muted); }
.badge-pending { background: var(--gold-soft); color: #6d4e09; }
.badge-published { background: var(--jade-soft); color: var(--jade-dark); }
.badge-archived { background: #ece8e1; color: #6a6358; }

.disclaimer {
  background: var(--jade-dark);
  color: rgba(255,255,255,.86);
  padding: 22px 0 28px;
  font-size: .92rem;
}
.disclaimer a { color: white; }
.site-footer { padding: 22px 0 14px; }
.footer-grid { display: grid; gap: 12px; }
.site-footer a { text-decoration: none; color: var(--muted); display: inline-block; padding: 4px 0; }
.site-footer h3 { font-family: var(--font); font-size: .95rem; letter-spacing: 0; margin-bottom: 6px; }
.legal { color: var(--muted); font-size: .85rem; margin-top: 18px; }

.page-head { padding: 22px 0 8px; }
.filters { display: grid; gap: 10px; margin: 0 0 18px; grid-template-columns: minmax(0, 1fr); }
.choice-row, .filter-actions, .filters .span-all { grid-column: 1 / -1; }
.choice-row, .filter-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.choice-row .choice { flex: 1 1 180px; }
#results { scroll-margin-top: 84px; }
.empty-match { grid-column: 1 / -1; }
.empty-row td { color: var(--muted); text-align: center; padding: 28px 12px; }
.method-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.method-card { padding: 0; overflow: hidden; }
.method-card img { width: 100%; height: 180px; object-fit: cover; background: #f6f1e6; }
.method-card > div { padding: 16px 18px 18px; }
.method-note {
  display: grid;
  gap: 16px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.method-note img { width: 100%; height: 180px; object-fit: cover; background: #f6f1e6; }
.method-note > div { padding: 4px 18px 18px; }
.compare-cards { margin-bottom: 8px; }
.field { display: grid; gap: 6px; }
.field span, label.lbl { font-size: .86rem; font-weight: 650; }
input[type="text"], input[type="number"], input[type="email"], input[type="password"], input[type="url"], input[type="date"], select, textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
  padding: 10px 12px;
  font-size: 16px;
}
textarea { min-height: 110px; resize: vertical; }
.choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.choice input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--jade); }
.choice-grid { display: grid; gap: 8px; }

.wizard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.track { height: 6px; background: #e7e1d6; border-radius: 99px; overflow: hidden; }
.track span { display: block; height: 100%; background: var(--jade); width: 14%; }
.wizard-actions { display: flex; gap: 8px; margin-top: 16px; }
.wizard-actions .btn { flex: 1; }
.error-note { color: var(--clay); font-weight: 650; margin-top: 8px; }
.total-line { margin-top: 12px; background: var(--jade-soft); border-radius: 14px; padding: 12px; font-weight: 700; }

.result-hero { display: grid; gap: 16px; }
.match {
  font-family: var(--display);
  font-size: 3rem;
  color: var(--jade-dark);
  line-height: 1;
}
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { background: var(--bg); border-radius: 14px; padding: 10px; }
.stat b { display: block; font-size: 1rem; }
.stat span { color: var(--muted); font-size: .8rem; }
.reasons { margin: 8px 0 0; padding-left: 18px; }
.reasons li { margin: 6px 0; }
.bars { display: grid; gap: 8px; margin-top: 12px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: .85rem; }
.bar { height: 8px; background: #efe8dc; border-radius: 99px; grid-column: 1 / -1; }
.bar span { display: block; height: 100%; background: var(--jade); border-radius: inherit; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .92rem; }
th { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
tr.diff td { background: #fff8e8; }
tr.diff td:first-child { background: #f8efd2; font-weight: 700; }
.sticky-col { position: sticky; left: 0; background: var(--paper); min-width: 140px; }

.flash { padding: 12px 14px; border-radius: 14px; margin: 12px 0; }
.flash-ok { background: var(--jade-soft); }
.flash-error { background: var(--clay-soft); }

.compare-tray {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--dock) + 10px);
  z-index: 35;
  background: rgba(255, 253, 248, .92);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 8px 8px 8px 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
}
.compare-tray strong { font-size: .9rem; }
.tray-note { color: var(--muted); font-size: .78rem; display: none; }
.compare-tray.is-full .tray-note { display: inline; }
body.admin-body .compare-tray, body.admin-body .dock, body.admin-body .site-header { display: none; }
body.admin-body { padding-bottom: 0; background: var(--bg); overflow-x: hidden; }

.prose h2, .prose h3 { margin-top: 1.2em; }
.prose p, .prose li { margin: .6em 0; color: var(--ink); }
.prose ul { padding-left: 1.2em; }

.nav-ico { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.admin-main h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.admin-shell { --side: 232px; min-height: 100vh; }
.admin-shell.is-collapsed { --side: 76px; }
.admin-side {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: min(84vw, 240px);
  background: var(--nav);
  color: white;
  display: flex;
  flex-direction: column;
  padding: 12px 10px;
  border-right: 1px solid rgba(212, 179, 106, .35);
  overflow: hidden;
  transform: translateX(-105%);
  transition: transform .25s ease, width .25s ease;
}
.admin-shell.is-open .admin-side { transform: none; }
.side-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  border: 0;
  background: rgba(18, 23, 20, .45);
  display: none;
}
.admin-shell.is-open .side-backdrop { display: block; }
.side-brand { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; flex: 0 0 auto; }
.admin-side .brand { color: white; min-width: 0; }
.side-open, .side-collapse, .icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}
.icon-btn:hover, .side-collapse:hover, .side-open:hover { background: rgba(255,255,255,.08); }
.side-collapse { display: none; }
.admin-nav { display: grid; gap: 2px; margin-top: 8px; overflow: hidden; flex: 1; min-height: 0; }
.admin-nav a {
  color: rgba(246, 243, 236, .78);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .92rem;
}
.admin-nav a[aria-current="page"], .admin-nav a:hover { background: rgba(255,255,255,.1); color: white; }
.admin-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold-line); }
.admin-stage { min-height: 100vh; }
.admin-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 16px;
  background: var(--nav);
  color: white;
  border-bottom: 3px solid var(--gold-line);
}
.admin-bar-brand { display: flex; }
.bar-title {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin-right: auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-profile { display: flex; align-items: center; gap: 8px; margin-left: auto; min-width: 0; }
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7c56a;
  color: #2b220c;
  font-weight: 700;
}
.profile-copy { display: none; }
.profile-copy strong, .profile-copy em { display: block; font-style: normal; }
.profile-copy em { color: rgba(246, 243, 236, .68); font-size: .78rem; text-transform: capitalize; }
.admin-main { padding: 18px 0 40px; }
.admin-canvas { width: min(1180px, calc(100% - 28px)); margin-inline: auto; }
.admin-main .table-wrap td a, .table-btn {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--jade-soft);
  color: var(--jade-dark);
  text-decoration: none;
  font-weight: 650;
  font-size: .85rem;
}
.kpi-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.kpi {
  display: grid;
  gap: 4px;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.kpi b { font-family: var(--display); font-size: 1.8rem; line-height: 1; }
.kpi span:last-child { color: var(--muted); font-size: .88rem; }
.kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--jade-soft);
  color: var(--jade-dark);
}
.kpi-gold { background: var(--gold-soft); color: #6d4e09; }
.kpi-clay { background: var(--clay-soft); color: var(--clay); }
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.dash-split { display: grid; gap: 14px; margin-top: 14px; }
.chart { display: flex; align-items: flex-end; gap: 4px; height: 150px; margin-top: 16px; padding-top: 8px; border-bottom: 1px solid var(--line); max-width: 100%; overflow: hidden; }
.chart-col { flex: 1; display: grid; gap: 8px; justify-items: center; height: 100%; grid-template-rows: 1fr auto; min-width: 0; }
.chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 128px; width: 100%; justify-content: center; }
.chart-bars span { width: 10px; min-height: 4px; border-radius: 999px 999px 4px 4px; background: var(--jade); }
.chart-bars span.is-gold { background: #e0b85a; }
.chart-col em { font-style: normal; font-size: .75rem; color: var(--muted); }
.legend { display: inline-block; width: 10px; height: 10px; border-radius: 99px; margin: 0 4px 0 10px; vertical-align: middle; }
.legend-jade { background: var(--jade); }
.legend-gold { background: #e0b85a; }
.jump-list { display: grid; gap: 8px; margin-top: 14px; }
.jump {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
  text-decoration: none;
  font-weight: 650;
}
.jump:hover { border-color: var(--jade); background: var(--jade-soft); }
.auth-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 320px at 50% -10%, rgba(14, 122, 86, .12), transparent 55%),
    var(--bg);
}
.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 0 18px;
  background: var(--nav);
  color: white;
  border-bottom: 3px solid var(--gold-line);
}
.auth-top .brand { color: white; }
.auth-top-link { color: rgba(246, 243, 236, .82); text-decoration: none; font-weight: 650; }
.auth-top-link:hover { color: white; }
.auth-panel { flex: 1; display: grid; place-items: center; padding: 32px 16px 48px; }
.auth-card {
  width: min(420px, 100%);
  display: grid;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
}
.auth-head { display: grid; justify-items: center; gap: 12px; text-align: center; margin-bottom: 4px; }
.auth-mark { width: 56px; height: 56px; border-radius: 16px; }
.auth-card h1 { font-size: 2rem; }
.form-section { display: grid; gap: 12px; margin-bottom: 16px; }
.form-section h2 { font-size: 1.4rem; }
.split { display: grid; gap: 12px; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.checkline { display: flex; gap: 8px; align-items: center; font-weight: 650; }
.rule { display: grid; gap: 8px; padding: 10px; border: 1px dashed var(--line); border-radius: 16px; background: white; }
.help { color: var(--muted); font-size: .85rem; }
.weight { display: grid; grid-template-columns: 1fr 110px; gap: 10px; align-items: center; }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.trust-strip span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .8rem;
  font-weight: 650;
  color: var(--muted);
}
.bento { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.bento-wide { grid-column: auto; }
.cat-bento { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cat-bento .tile:first-child { grid-column: 1 / -1; }
.filter-box { margin-bottom: 16px; }
.filter-box > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}
.filter-box > summary::-webkit-details-marker { display: none; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.result-row {
  display: grid;
  gap: 12px;
  align-items: center;
}
.result-row .plastic, .result-row .card-photo { max-width: 220px; }
.score-line { display: flex; align-items: baseline; gap: 8px; }
.score-line .match { font-size: 2rem; }
.compare-stack { display: grid; gap: 8px; }
.compare-stack details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}
.compare-stack summary { font-weight: 700; cursor: pointer; }
.compare-stack .is-diff { background: #fff8e8; }
.compare-desktop { display: none; }
.page-chips {
  position: sticky;
  top: calc(var(--header) + 2px);
  z-index: 15;
  display: flex;
  gap: 6px;
  overflow: auto;
  padding: 8px 0;
  background: linear-gradient(var(--bg), rgba(243,239,230,.92));
}
.page-chips a {
  flex: 0 0 auto;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .85rem;
  font-weight: 650;
}
.stepper {
  display: flex;
  gap: 6px;
  overflow: auto;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.stepper li {
  flex: 0 0 auto;
  font-size: .78rem;
  font-weight: 650;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg);
}
.stepper li.is-on { background: var(--jade-soft); color: var(--jade-dark); }
.choice-grid.cols-2 { grid-template-columns: minmax(0, 1fr); }
.total-line.is-sticky {
  position: sticky;
  bottom: calc(var(--dock) + 8px);
  z-index: 5;
}
.card-tile { position: relative; }
.card-tile .tile-main { text-decoration: none; display: grid; gap: 12px; color: inherit; }
.form-sticky {
  position: sticky;
  bottom: 8px;
  z-index: 8;
  background: rgba(255, 253, 248, .94);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  backdrop-filter: blur(10px);
}
.rank-list { display: grid; gap: 8px; }
.rank-line { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: .9rem; }
.rank-line .bar { grid-column: 1 / -1; }
.content-body { min-height: 280px; }
.admin-main .dash-head h1 { font-size: 1.6rem; }

@media (min-width: 720px) {
  .steps, .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-grid { grid-template-columns: 1fr; }
  .method-note { grid-template-columns: 220px 1fr; }
  .method-note img { height: 100%; min-height: 160px; }
  .method-note > div { padding: 18px 18px 18px 0; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .split-2 { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 40px; }
  .rule { grid-template-columns: 1.2fr .8fr .6fr .7fr .7fr auto; align-items: end; }
  .btn.header-cta { display: flex; }
  .bento { grid-template-columns: 1.2fr .8fr; }
  .bento-wide { grid-column: 1; grid-row: 1 / span 2; }
  .choice-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .result-row { grid-template-columns: 180px 1fr; }
}

@media (min-width: 960px) {
  body.has-dock { padding-bottom: 0; }
  .dock, .menu-button, .mobile-menu { display: none; }
  .nav-desktop, .btn.header-cta { display: flex; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .card-fan { min-height: 300px; }
  .card-fan .plastic:nth-child(1),
  .card-fan .plastic:nth-child(2) { display: flex; }
  .card-fan .plastic:nth-child(2) { transform: rotate(12deg) translate(56px, -8px); }
  .filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filter-box > summary { display: none; }
  .filter-box { border: 0; }
  .cat-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-bento .tile:first-child { grid-column: span 2; grid-row: span 2; }
  .compare-stack { display: none; }
  .compare-desktop { display: block; }
  .total-line.is-sticky { position: static; }
  .method-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .result-hero { grid-template-columns: 280px 1fr; align-items: center; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .compare-tray { left: auto; right: 24px; width: 320px; bottom: 24px; }
  .admin-side { width: var(--side); transform: none; }
  .side-backdrop, .side-open, .admin-bar-brand { display: none; }
  .side-collapse { display: grid; }
  .admin-stage { margin-left: var(--side); transition: margin-left .25s ease; }
  .profile-copy { display: block; min-width: 0; }
  .profile-copy strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
  .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-split { grid-template-columns: 1.45fr .75fr; align-items: stretch; }
  .admin-shell.is-collapsed .side-label { display: none; }
  .admin-shell.is-collapsed .admin-nav a { justify-content: center; padding-inline: 0; }
  .admin-shell.is-collapsed .side-brand { flex-direction: column; justify-content: center; gap: 8px; }
  .admin-shell.is-collapsed .side-collapse { order: -1; }
  .chart { height: 180px; gap: 8px; }
  .admin-shell.is-collapsed .side-collapse svg { transform: rotate(180deg); }
  .admin-shell.is-collapsed .admin-nav a[aria-current="page"] { box-shadow: none; background: rgba(255,255,255,.12); }
}

.btn { transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.tile { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: fade-out .22s ease both; }
  ::view-transition-new(root) { animation: rise .32s ease both; }
  .hero h1, .hero .lede, .hero-actions, .kicker { animation: rise .55s cubic-bezier(.2,.8,.2,1) both; }
  .hero .lede { animation-delay: .06s; }
  .hero-actions { animation-delay: .12s; }
  .card-fan { animation: float 8s ease-in-out infinite; }
  .plastic::before { animation: sheen 5.8s ease-in-out infinite; }
  .card-fan .plastic { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
  .card-fan:hover .plastic:nth-child(1) { transform: rotate(-20deg) translate(-26px, 16px); }
  .card-fan:hover .plastic:nth-child(2) { transform: rotate(16deg) translate(64px, -14px); }
  .card-fan:hover .plastic:nth-child(3) { transform: rotate(-1deg) translate(4px, 22px); }
  .tile, .panel, .bank-pill { animation: rise .5s cubic-bezier(.2,.8,.2,1) backwards; }
  .tile:nth-child(2), .panel:nth-child(2) { animation-delay: .05s; }
  .tile:nth-child(3), .panel:nth-child(3) { animation-delay: .1s; }
  .tile:nth-child(4) { animation-delay: .15s; }
  .tile:nth-child(5) { animation-delay: .2s; }
  .tile:nth-child(6) { animation-delay: .25s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-out {
  to { opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-fan, .plastic::before, .tile, .panel, .bank-pill, .hero h1 { animation: none; }
  .card-fan .plastic { transition: none; }
  .tile:hover { transform: none; }
}
