/* ==========================================================================
   Football Reach - design system
   Pitch-green identity, Inter, warm paper background, dark hero.
   ========================================================================== */

:root {
  --pitch: #0a7a3f;
  --pitch-dark: #075c30;
  --pitch-deep: #063d21;
  --pitch-100: #e6f4ec;
  --pitch-200: #c6e6d4;
  --lime: #a3e635;

  --ink: #0d1512;
  --ink-2: #45524c;
  --ink-3: #7a877f;
  --paper: #f7f8f5;
  --paper-2: #eef1ea;
  --surface: #ffffff;
  --border: #dfe4dc;
  --border-2: #eceee8;

  --amber: #c2740a;
  --amber-bg: #fdf1dc;
  --red: #c0362c;
  --blue: #1f6feb;

  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(6, 38, 22, 0.05);
  --shadow: 0 4px 16px rgba(6, 38, 22, 0.07), 0 1px 3px rgba(6, 38, 22, 0.05);
  --shadow-lg: 0 20px 48px rgba(6, 38, 22, 0.14), 0 6px 16px rgba(6, 38, 22, 0.08);

  --wrap: 1120px;
  --wrap-narrow: 760px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }
::selection { background: var(--pitch); color: #fff; }

/* -- Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--wrap-narrow); }
.section { padding: 72px 0; }
.section-sm { padding: 44px 0; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.stack > * + * { margin-top: 16px; }

/* -- Typography ------------------------------------------------------------ */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.display { font-size: clamp(2.4rem, 5.4vw, 3.9rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.03; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: 1.18rem; line-height: 1.6; color: var(--ink-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--pitch);
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--pitch); border-radius: 2px; }
.center .eyebrow::before { display: none; }

/* -- Brand ----------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; }
.brand-img { width: 30px; height: 30px; display: block; flex-shrink: 0; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 34%, transparent 35%),
    conic-gradient(from 20deg, var(--pitch), var(--pitch-dark), var(--pitch));
  box-shadow: inset 0 0 0 2px var(--pitch-deep);
  position: relative;
}
.brand-name { font-size: 1.12rem; letter-spacing: -0.02em; }
.brand-to { color: var(--pitch); margin: 0 1px; }

/* -- Nav ------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 248, 245, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border-2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 0.95rem; }
.nav-links a:not(.btn):hover { color: var(--pitch); }
@media (max-width: 620px) { .nav-links a:not(.btn) { display: none; } }

/* -- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 0.98rem; padding: 12px 22px; border-radius: var(--radius-full);
  transition: transform 0.12s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pitch); color: #fff; box-shadow: 0 6px 18px rgba(10, 122, 63, 0.28); }
.btn-primary:hover { background: var(--pitch-dark); box-shadow: 0 8px 22px rgba(10, 122, 63, 0.34); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c2a23; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--pitch); color: var(--pitch); }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-block { display: flex; width: 100%; }

/* -- Hero ------------------------------------------------------------------ */
.hero {
  position: relative; color: #eafaf0; overflow: hidden;
  /* Photographic hero (Magnific render, Photoshop brand grade) under an
     emerald wash that keeps the headline readable; the radial gradient
     paints first as a fallback while the JPEG streams in. */
  background:
    linear-gradient(100deg, rgba(5, 43, 24, 0.88) 0%, rgba(6, 61, 33, 0.72) 45%, rgba(6, 61, 33, 0.55) 100%),
    url('/assets/img/hero.jpg') center 30% / cover no-repeat,
    radial-gradient(120% 120% at 80% -10%, #0d8f4a 0%, var(--pitch-dark) 45%, var(--pitch-deep) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; padding: 84px 0 92px; }
.hero .eyebrow { color: var(--lime); }
.hero .eyebrow::before { background: var(--lime); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: #cde7d7; max-width: 54ch; margin-top: 18px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-cta .btn-primary { background: var(--lime); color: var(--pitch-deep); box-shadow: 0 8px 24px rgba(163, 230, 53, 0.3); }
.hero-cta .btn-primary:hover { background: #b6f24a; }
.hero-cta .btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.28); }
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,0.16); color: #fff; }
.hero-trust { margin-top: 22px; font-size: 0.9rem; color: #a9d9bb; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

/* -- Page banner images ------------------------------------------------------ */
.page-hero-img {
  width: 100%; aspect-ratio: 3 / 1; object-fit: cover;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
  margin-bottom: 26px;
}
@media (max-width: 560px) { .page-hero-img { aspect-ratio: 2 / 1; } }

/* -- Cards ----------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.step-num {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--pitch-100); color: var(--pitch-dark); font-weight: 800; margin-bottom: 12px;
}
.step-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.step-head .step-num { margin-bottom: 0; }
.step-icon { color: var(--pitch); display: block; }
.img-card {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); }

/* -- Section headings ------------------------------------------------------ */
.section-head { max-width: 640px; margin: 0 auto 40px; }
.center.section-head { text-align: center; }

/* -- Pricing --------------------------------------------------------------- */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 780px; margin: 0 auto; }
@media (max-width: 640px) { .price-wrap { grid-template-columns: 1fr; } }
.price-card { position: relative; }
.price-card.featured { border-color: var(--pitch); box-shadow: var(--shadow-lg); }
.price-badge {
  position: absolute; top: -12px; right: 22px; background: var(--pitch); color: #fff;
  font-size: 0.75rem; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-full);
}
.price { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.03em; margin: 6px 0; }
.price small { font-size: 0.95rem; font-weight: 600; color: var(--ink-3); }
.feature-list { margin-top: 16px; }
.feature-list li { display: flex; gap: 10px; padding: 7px 0; color: var(--ink-2); font-size: 0.96rem; }
.feature-list li::before { content: '✓'; color: var(--pitch); font-weight: 800; }

/* -- Score dial + bands ---------------------------------------------------- */
.dial-wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.dial { position: relative; width: 168px; height: 168px; flex-shrink: 0; }
.dial svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.dial .track { stroke: var(--paper-2); }
.dial .value { stroke: var(--pitch); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.dial-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dial-score { font-size: 2.9rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.dial-outof { font-size: 0.82rem; color: var(--ink-3); font-weight: 600; }

.band-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 0.9rem; background: var(--pitch-100); color: var(--pitch-dark);
}
.band-elite { background: #dcefe0; color: var(--pitch-deep); }
.band-strong { background: #dcefe0; color: var(--pitch-dark); }
.band-promising { background: #e4f0d8; color: #4d6b1f; }
.band-developing { background: var(--amber-bg); color: var(--amber); }
.band-early, .band-foundational { background: var(--paper-2); color: var(--ink-2); }

/* -- Corner bars ----------------------------------------------------------- */
.bars { margin-top: 8px; }
.bar-row { margin: 14px 0; }
.bar-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.bar-label { font-weight: 600; font-size: 0.96rem; }
.bar-val { font-weight: 800; color: var(--pitch-dark); }
.bar-track { height: 10px; background: var(--paper-2); border-radius: var(--radius-full); overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--pitch), #16a34a); border-radius: var(--radius-full); }

/* -- Result / teaser ------------------------------------------------------- */
.result-hero { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow); }
.callout { background: var(--pitch-100); border: 1px solid var(--pitch-200); border-radius: var(--radius); padding: 16px 18px; color: var(--pitch-deep); font-size: 0.95rem; }
.callout-amber { background: var(--amber-bg); border-color: #f3ddb0; color: #7a4a08; }
.disclaimer { font-size: 0.86rem; color: var(--ink-3); border-left: 3px solid var(--border); padding-left: 14px; }

.locked { position: relative; }
.locked-inner { filter: blur(6px); opacity: 0.55; pointer-events: none; user-select: none; max-height: 260px; overflow: hidden; }
.lock-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 14px; padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.86) 55%);
  border-radius: var(--radius-lg);
}
.lock-badge { width: 46px; height: 46px; border-radius: 50%; background: var(--pitch-100); display: flex; align-items: center; justify-content: center; }

/* -- Unlock card ----------------------------------------------------------- */
.unlock { background: var(--ink); color: #eafaf0; border-radius: var(--radius-xl); padding: 32px; }
.unlock h2 { color: #fff; }
.unlock .price { color: #fff; }
.unlock .feature-list li { color: #cfe6d8; }
.unlock .feature-list li::before { color: var(--lime); }
.unlock .btn-primary { background: var(--lime); color: var(--pitch-deep); }
.unlock .btn-primary:hover { background: #b6f24a; }
.unlock-note { font-size: 0.82rem; color: #9fc6ad; margin-top: 12px; }

/* -- Forms ----------------------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 30px; box-shadow: var(--shadow); }
.fieldset { padding: 22px 0; border-top: 1px solid var(--border-2); }
.fieldset:first-of-type { border-top: 0; padding-top: 6px; }
.fieldset-legend { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pitch); margin-bottom: 4px; }
.fieldset-sub { color: var(--ink-3); font-size: 0.9rem; margin-bottom: 16px; }
.field { margin-bottom: 18px; }
.field > label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 0.97rem; }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: 0.86rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

input[type="text"], input[type="email"], input[type="number"], select {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
input:focus, select:focus { outline: 0; border-color: var(--pitch); box-shadow: 0 0 0 4px rgba(10,122,63,0.12); background: #fff; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a877f' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

.field.has-error input, .field.has-error select { border-color: var(--red); }
.err { color: var(--red); font-size: 0.85rem; margin-top: 6px; font-weight: 500; }
.form-error { background: #fbe9e7; border: 1px solid #f3c6c1; color: #8a251c; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; font-weight: 500; }

/* Segmented radio pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills input { position: absolute; opacity: 0; width: 0; height: 0; }
.pills label {
  display: inline-flex; padding: 9px 15px; border: 1.5px solid var(--border); border-radius: var(--radius-full);
  font-size: 0.92rem; font-weight: 600; color: var(--ink-2); background: var(--paper); cursor: pointer;
  transition: all 0.14s var(--ease);
}
.pills label:hover { border-color: var(--pitch-200); }
.pills input:checked + label { background: var(--pitch); border-color: var(--pitch); color: #fff; }
.pills input:focus-visible + label { box-shadow: 0 0 0 4px rgba(10,122,63,0.16); }

/* Range slider with value bubble */
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; height: 8px; border-radius: 999px; background: var(--paper-2); }
.range-row input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--pitch); border: 3px solid #fff; box-shadow: var(--shadow); cursor: pointer; }
.range-row input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--pitch); border: 3px solid #fff; cursor: pointer; }
.range-val { width: 46px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; background: var(--pitch-100); color: var(--pitch-dark); border-radius: var(--radius); }

/* -- Plan ------------------------------------------------------------------ */
.plan-section { padding: 26px 0; border-top: 1px solid var(--border-2); }
.plan-section:first-child { border-top: 0; }
.plan-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.plan-h .tag { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pitch); background: var(--pitch-100); padding: 5px 10px; border-radius: var(--radius-full); }
.priority { border-left: 4px solid var(--pitch); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; margin: 14px 0; box-shadow: var(--shadow-sm); border-top: 1px solid var(--border-2); border-right: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); }
.action-list li { display: flex; gap: 10px; padding: 6px 0; color: var(--ink-2); }
.action-list li::before { content: '→'; color: var(--pitch); font-weight: 800; }

.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border-2); }
.table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); }
.table td:nth-child(2) { font-weight: 800; color: var(--pitch-dark); white-space: nowrap; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }

.timeline { position: relative; margin-left: 8px; }
.timeline-item { position: relative; padding: 0 0 20px 26px; border-left: 2px solid var(--border); }
.timeline-item:last-child { border-left-color: transparent; }
.timeline-item::before { content: ''; position: absolute; left: -8px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--pitch); border: 3px solid var(--paper); }
.timeline-item .win { font-weight: 800; color: var(--pitch-dark); }

.week-list li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border-2); }
.week-list .day { font-weight: 800; width: 96px; flex-shrink: 0; }
.pre { white-space: pre-wrap; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.85rem; background: var(--paper-2); padding: 16px; border-radius: var(--radius); color: var(--ink-2); }

/* -- Methodology weights --------------------------------------------------- */
.weight-row { display: flex; align-items: center; gap: 14px; margin: 10px 0; }
.weight-row .wl { width: 260px; flex-shrink: 0; font-weight: 600; font-size: 0.95rem; }
.weight-bar { flex: 1; height: 22px; background: var(--paper-2); border-radius: var(--radius-full); overflow: hidden; }
.weight-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--pitch), #16a34a); border-radius: var(--radius-full); }
.weight-pct { width: 44px; text-align: right; font-weight: 800; color: var(--pitch-dark); }
@media (max-width: 560px) { .weight-row .wl { width: 130px; font-size: 0.85rem; } }

/* -- Footer ---------------------------------------------------------------- */
.footer { background: var(--pitch-deep); color: #bfe0cc; padding: 48px 0 28px; margin-top: 60px; }
.footer .brand-name { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand .muted { color: #8fbfa1; margin-top: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 30px; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-legal .muted { color: #7fb193; font-size: 0.82rem; max-width: 640px; }

/* -- Prose ----------------------------------------------------------------- */
.prose { max-width: var(--wrap-narrow); }
.prose h2 { margin: 34px 0 12px; }
.prose h3 { margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; color: var(--ink-2); }
.prose ul { margin: 0 0 16px 0; }
.prose ul li { position: relative; padding: 5px 0 5px 22px; color: var(--ink-2); }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--pitch); }
.prose a { color: var(--pitch-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* -- Admin ----------------------------------------------------------------- */
.admin-bare { max-width: 420px; margin: 8vh auto; padding: 0 20px; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-side {
  width: 232px; flex-shrink: 0; background: var(--pitch-deep); color: #bfe0cc;
  padding: 20px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.admin-side .brand-name { color: #fff; }
.admin-side-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: #7fb193; margin: 4px 6px 8px; }
.admin-nav { display: flex; flex-direction: column; gap: 3px; }
.admin-nav a { padding: 9px 12px; border-radius: 9px; font-weight: 600; font-size: 0.94rem; color: #cbe6d6; }
.admin-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.admin-nav a.is-active { background: var(--pitch); color: #fff; }
.admin-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.admin-side-foot a { color: #8fbfa1; font-size: 0.88rem; font-weight: 600; }
.admin-side-foot a:hover { color: #fff; }
.admin-main { flex: 1; padding: 30px 34px; max-width: 960px; }
@media (max-width: 720px) {
  .admin-shell { flex-direction: column; }
  .admin-side { width: 100%; height: auto; position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-side-foot { margin: 0 0 0 auto; flex-direction: row; border: 0; padding: 0; }
  .admin-main { padding: 20px; }
}
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-head h1 { font-size: 1.7rem; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
@media (max-width: 780px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.stat .num { font-size: 1.8rem; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); }
.stat .lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); margin-top: 2px; }
.stat .sub { font-size: 0.82rem; color: var(--pitch-dark); font-weight: 600; margin-top: 4px; }

.wz { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.wz::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.wz.verified { background: var(--pitch-100); color: var(--pitch-dark); }
.wz.in_progress { background: var(--amber-bg); color: var(--amber); }
.wz.error { background: var(--red-bg); color: var(--red); }
.wz.not_started { background: var(--paper-2); color: var(--ink-3); }

.wz-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 10px; }
.wz-list a:hover { border-color: var(--pitch); box-shadow: var(--shadow-sm); }
.wz-list .wz-t { font-weight: 700; }
.wz-list .wz-d { font-size: 0.86rem; color: var(--ink-3); }

.copybox { display: flex; gap: 8px; align-items: stretch; margin: 8px 0; }
.copybox code { flex: 1; background: var(--paper-2); border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.84rem; white-space: pre-wrap; word-break: break-all; color: var(--ink); }
.copy-btn { flex-shrink: 0; background: var(--ink); color: #fff; border-radius: 9px; padding: 0 16px; font-weight: 600; font-size: 0.85rem; }
.copy-btn:hover { background: #1c2a23; }
.copy-btn.copied { background: var(--pitch); }

.env-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border-2); font-size: 0.9rem; }
.env-row code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.82rem; color: var(--ink-2); }
.deep-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.trouble { border-left: 3px solid var(--border); padding: 4px 0 4px 14px; margin: 10px 0; }
.trouble h4 { font-size: 0.95rem; margin-bottom: 2px; }
.trouble p { font-size: 0.88rem; color: var(--ink-2); }
.kv { width: 100%; border-collapse: collapse; }
.kv th { text-align: left; width: 200px; padding: 8px 12px 8px 0; color: var(--ink-3); font-weight: 600; font-size: 0.85rem; vertical-align: top; }
.kv td { padding: 8px 0; border-bottom: 1px solid var(--border-2); }

/* -- Print (Save the plan as PDF) ------------------------------------------ */
@media print {
  .nav, .footer, .no-print { display: none !important; }
  body { background: #fff; }
  .plan-section { break-inside: avoid; }
  .card, .priority { box-shadow: none; border-color: #ccc; }
}
