:root {
  --red:      #BB0000;
  --red-dark: #960000;
  --green:    #006600;
  --black:    #1C1C1C;
  --brown:    #4A3728;
  --cream:    #FFF8F0;
  --biscuit:  #F5E6D3;
  --biscuit2: #EDD9BC;
  --mute:     #7A6A5A;
  --border:   #E0CDB8;
  --white:    #FFFFFF;
  --flag-black: #3D2B1F;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--black);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ── SCREEN ROUTER ── */
.screen { display: none; min-height: 100vh; flex-direction: column; }
.screen.active { display: flex; }

/* ── NAV ── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  background: var(--white);
  border-bottom: 2px solid var(--biscuit);
  position: sticky; top: 0; z-index: 100;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
}
.nav-flag {
  display: flex; flex-direction: column; gap: 2px; width: 24px;
}
.nav-flag span {
  height: 4px; border-radius: 1px; display: block;
}
.nav-flag .f-black { background: var(--flag-black); }
.nav-flag .f-red   { background: var(--red); height: 6px; }
.nav-flag .f-green { background: var(--green); }
.nav-logo-text {
  font-size: 20px; font-weight: 700; color: var(--black); letter-spacing: -0.02em;
}
.nav-logo-text span { color: var(--red); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--mute); cursor: pointer;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--black); }
.nav-signin {
  padding: 9px 20px; border: 2px solid var(--black); border-radius: 6px;
  font-size: 13px; font-weight: 600; color: var(--black); cursor: pointer;
  transition: all 0.15s;
}
.nav-signin:hover { background: var(--black); color: var(--white); }

/* ── KENYAN FLAG STRIPE (signature element) ── */
.flag-stripe {
  display: flex; flex-direction: row; height: 5px; width: 100%;
}
.flag-stripe .fs-black { flex: 1; background: var(--flag-black); }
.flag-stripe .fs-red   { flex: 2; background: var(--red); }
.flag-stripe .fs-green { flex: 1; background: var(--green); }

/* ── HERO — Full-bleed cinematic treatment ── */
/*
  Design intent:
  - The photograph is the entire hero. It bleeds to both edges, no radius, no frame.
    This makes it immersive — the user is "in" the scene.
  - A gradient mask at the bottom of the image dissolves it into the cream page
    background. The image doesn't end — it becomes the page. (Headspace / Airbnb method)
  - The headline lives in the dissolve zone — half over faded photo, half on cream.
    It feels like it grew out of the memory, not like text placed on an image.
  - One CTA. No decisions, no options. Just "yes" or not yet.
*/

.hero {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  /* No padding — image goes edge to edge */
}

/* ── The photograph ── */
.hero-photo-wrap {
  position: relative;
  width: 100%;
  /* Maintain a tall-enough crop to feel cinematic but not absurd on mobile */
  aspect-ratio: 16/9;
  overflow: hidden;
  max-height: 72vh; /* Never taller than 72% of the viewport */
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Focus the crop on the hands — the emotional centre of the photo */
  object-position: center 45%;
  display: block;
  /* Extremely subtle scale on load — barely perceptible, just enough to feel alive */
  animation: heroScale 8s ease-out forwards;
}

@keyframes heroScale {
  from { transform: scale(1.03); }
  to   { transform: scale(1.00); }
}

/* ── Gradient dissolution — image fades into cream ── */
/* This is the key technique: a pseudo-element overlays the bottom of the photo
   with a gradient from transparent to the page's cream background.
   The harder the gradient, the more abrupt the transition.
   We want it soft — cream starts bleeding in at about 50% of the image height. */
.hero-photo-wrap::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 65%;  /* How much of the image the fade covers */
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 10%,
    rgba(255,248,240, 0.25) 30%,
    rgba(255,248,240, 0.65) 55%,
    rgba(255,248,240, 0.88) 75%,
    var(--cream) 100%
  );
  pointer-events: none;
}

/* ── Text body — sits below the photo, in the cream zone ── */
/* The top of this block overlaps the bottom of the dissolve — 
   creating the illusion that the headline grows out of the image */
.hero-text-body {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
  padding: 0 28px 52px;
  /* Pull it UP into the dissolve zone so headline reads over the faded image */
  margin-top: -120px;
  z-index: 2;
  text-align: left;
}

/* ── Headline ── */
.hero-h1 {
  font-size: clamp(30px, 6.5vw, 50px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--black);
  margin-bottom: 20px;
  /* Drop shadow — subtle, makes the text legible where it overlaps the faded image */
  text-shadow: 0 1px 12px rgba(255,248,240,0.9), 0 2px 24px rgba(255,248,240,0.7);
}

.hero-h1 em {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  /* The serif italic contrasts with the sans display — warmth vs structure */
}

/* ── Sub-copy — the line that does the real work ── */
.hero-sub {
  font-size: clamp(15px, 3.5vw, 18px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--brown);
  margin-bottom: 36px;
  max-width: 500px;
}

/* ── CTA zone — one button, no second option in the hero ── */
/* Behavioral reason: offering a second CTA at this point splits attention.
   The user is emotionally engaged. Give her one door. */
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 340px;
}

.btn-hero {
  display: block;
  width: 100%;
  padding: 18px 28px;
  background: var(--red);
  color: var(--white);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  border: none;
  letter-spacing: -0.01em;
  font-family: inherit;
}
.btn-hero:hover { background: var(--red-dark); }
.btn-hero:active { transform: scale(0.99); }

/* The secondary action is demoted to a text link — not a button.
   This keeps visual weight entirely on the primary CTA. */
.hero-signin-note {
  font-size: 13px;
  color: var(--mute);
  text-align: center;
  max-width: 340px;
}
.hero-signin-note a,
.hero-signin-note span {
  color: var(--brown);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* ── Trust signal — sits just under the CTA, tiny ── */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--mute);
  max-width: 340px;
}

/* ── Responsive: on mobile, tighten the overlap and text ── */
@media (max-width: 500px) {
  .hero-photo-wrap {
    aspect-ratio: 4/3;
    max-height: 60vw;
  }
  .hero-text-body {
    margin-top: -90px;
    padding: 0 20px 44px;
  }
  .hero-h1 {
    font-size: 28px;
  }
}

/* ── btn-hero-sec kept for other screens ── */
.btn-hero-sec {
  display: block; width: 100%; padding: 15px 24px;
  background: transparent; color: var(--black);
  border-radius: 8px; font-size: 15px; font-weight: 600;
  text-align: center; cursor: pointer;
  border: 2px solid var(--border);
  transition: border-color 0.15s;
  font-family: inherit;
}
.btn-hero-sec:hover { border-color: var(--black); }
.hero-wa-note {
  font-size: 12px; color: var(--mute); margin-top: 12px;
  display: flex; align-items: center; gap: 6px;
}
.hero-wa-note svg { flex-shrink: 0; }
/* ── HERO IMAGE (kept for any other use) ── */
.hero-img-wrap { display: none; } /* old wrapper hidden */

/* ── WHAT WE DO ── */
.section { padding: 48px 24px; max-width: 640px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 12px;
}
.section-h2 {
  font-size: 26px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: var(--black);
  margin-bottom: 8px;
}
.section-sub {
  font-size: 15px; color: var(--mute); line-height: 1.6;
  margin-bottom: 32px;
}

/* ── ERRAND CARDS ── */
.errand-list { display: flex; flex-direction: column; gap: 12px; }
.errand-card {
  background: var(--white); border: 2px solid var(--biscuit);
  border-radius: 12px; padding: 20px;
  display: flex; align-items: flex-start; gap: 16px;
  cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s;
}
.errand-card:hover {
  border-color: var(--red);
  box-shadow: 0 2px 16px rgba(187,0,0,0.08);
}
.errand-icon {
  font-size: 28px; flex-shrink: 0; line-height: 1;
  width: 48px; height: 48px;
  background: var(--biscuit); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.errand-body { flex: 1; }
.errand-title {
  font-size: 15px; font-weight: 700; color: var(--black);
  margin-bottom: 4px; line-height: 1.3;
}
.errand-quote {
  font-size: 13px; color: var(--mute); line-height: 1.5;
  font-style: italic; margin-bottom: 6px;
}
.errand-quote::before { content: '"'; }
.errand-quote::after  { content: '"'; }
.errand-price {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--green); letter-spacing: 0.02em;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--black); padding: 48px 24px;
}
.how-inner { max-width: 640px; margin: 0 auto; }
.how-section .section-label { color: var(--biscuit2); }
.how-section .section-h2 { color: var(--white); margin-bottom: 32px; }
.how-steps { display: flex; flex-direction: column; gap: 0; }
.how-step {
  display: flex; gap: 20px; padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.how-step:last-child { border-bottom: none; }
.how-num {
  font-size: 32px; font-weight: 700; color: var(--red);
  line-height: 1; flex-shrink: 0; width: 40px;
  font-family: 'Lora', serif; font-style: italic;
}
.how-text h3 {
  font-size: 16px; font-weight: 700; color: var(--white);
  margin-bottom: 4px;
}
.how-text p {
  font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6;
}

/* ── SOCIAL PROOF ── */
.proof-section { padding: 48px 24px; background: var(--biscuit); }
.proof-inner { max-width: 640px; margin: 0 auto; }
.testimonial {
  background: var(--white); border-radius: 12px;
  padding: 24px; margin-bottom: 16px;
  border-left: 4px solid var(--red);
}
.testimonial-text {
  font-size: 15px; line-height: 1.7; color: var(--black);
  margin-bottom: 14px;
}
.testimonial-who {
  display: flex; align-items: center; gap: 10px;
}
.t-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--biscuit2); display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 700;
  color: var(--brown); flex-shrink: 0;
}
.t-name { font-size: 13px; font-weight: 700; color: var(--black); }
.t-where { font-size: 12px; color: var(--mute); }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--red); padding: 48px 24px;
  text-align: center;
}
.cta-section h2 {
  font-size: 28px; font-weight: 700; color: var(--white);
  line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 12px;
}
.cta-section p {
  font-size: 15px; color: rgba(255,255,255,0.8);
  margin-bottom: 28px; line-height: 1.6;
}
.btn-cta-white {
  display: inline-block; padding: 16px 36px;
  background: var(--white); color: var(--red);
  border-radius: 8px; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: opacity 0.15s;
}
.btn-cta-white:hover { opacity: 0.92; }

/* ── AUTH SCREENS ── */
.auth-wrap {
  flex: 1; display: flex; flex-direction: column;
  background: var(--cream);
}
.auth-top-flag { height: 5px; display: flex; }
.auth-top-flag .atf-b { flex:1; background: var(--flag-black); }
.auth-top-flag .atf-r { flex:2; background: var(--red); }
.auth-top-flag .atf-g { flex:1; background: var(--green); }
.auth-card-wrap {
  flex: 1; display: flex; align-items: flex-start;
  justify-content: center; padding: 40px 20px 100px;
}
.auth-card {
  background: var(--white); border-radius: 16px;
  padding: 32px 28px; width: 100%; max-width: 420px;
  border: 2px solid var(--biscuit);
}
.auth-card-header {
  text-align: center; margin-bottom: 28px;
}
.auth-card-header .flag-mini {
  display: flex; gap: 3px; justify-content: center; margin-bottom: 14px;
}
.auth-card-header .flag-mini span {
  width: 22px; height: 7px; border-radius: 2px;
}
.auth-card-header h2 {
  font-size: 22px; font-weight: 700; color: var(--black);
  margin-bottom: 6px; letter-spacing: -0.02em;
}
.auth-card-header p {
  font-size: 14px; color: var(--mute); line-height: 1.5;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--brown); margin-bottom: 6px; letter-spacing: 0.03em;
  text-transform: uppercase;
}
.form-input {
  width: 100%; padding: 13px 14px;
  background: var(--cream); border: 2px solid var(--border);
  border-radius: 8px; font-size: 15px; color: var(--black);
  outline: none; transition: border-color 0.15s;
  font-family: inherit;
}
.form-input:focus { border-color: var(--red); background: var(--white); }
.form-hint { font-size: 12px; color: var(--mute); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit {
  width: 100%; padding: 15px;
  background: var(--red); color: var(--white);
  border-radius: 8px; font-size: 16px; font-weight: 700;
  border: none; cursor: pointer; transition: background 0.15s;
  margin-top: 8px; font-family: inherit;
}
.btn-submit:hover { background: var(--red-dark); }
.auth-switch {
  text-align: center; font-size: 14px; color: var(--mute);
  margin-top: 20px;
}
.auth-switch a { color: var(--red); font-weight: 600; cursor: pointer; }
.privacy-note {
  margin-top: 16px; padding: 12px 14px;
  background: var(--biscuit); border-radius: 8px;
  font-size: 12px; color: var(--brown); line-height: 1.6;
}
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--mute); cursor: pointer;
  margin-bottom: 20px; font-weight: 600;
}
.back-btn:hover { color: var(--black); }

/* ── INTAKE FORM STEPS ── */
.step-bar {
  display: flex; margin-bottom: 28px; border-radius: 8px;
  overflow: hidden; border: 2px solid var(--biscuit);
}
.step-pill {
  flex: 1; padding: 10px 8px; text-align: center;
  font-size: 12px; font-weight: 700; color: var(--mute);
  background: var(--white); border-right: 2px solid var(--biscuit);
  transition: all 0.2s;
}
.step-pill:last-child { border-right: none; }
.step-pill.active { background: var(--red); color: var(--white); }
.step-pill.done { background: var(--green); color: var(--white); }

/* ── TASK CARDS (intake) ── */
.task-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.task-pick {
  border: 2px solid var(--biscuit); border-radius: 10px;
  padding: 16px 12px; text-align: center; cursor: pointer;
  transition: all 0.15s; background: var(--white);
}
.task-pick:hover { border-color: var(--red); }
.task-pick.picked { border-color: var(--red); background: #FFF5F5; }
.task-pick-icon { font-size: 26px; margin-bottom: 6px; }
.task-pick-name { font-size: 13px; font-weight: 700; color: var(--black); }
.task-pick-price { font-size: 11px; color: var(--green); font-weight: 600; margin-top: 2px; }

/* ── PORTAL / DASHBOARD ── */
.portal-shell { flex: 1; display: flex; background: var(--cream); min-height: 0; }
.portal-sidebar {
  width: 240px; background: var(--black); flex-shrink: 0;
  display: flex; flex-direction: column; padding: 0 0 24px;
}
.ps-brand {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
}
.ps-brand-name {
  font-size: 18px; font-weight: 700; color: var(--white);
  letter-spacing: -0.02em;
}
.ps-brand-name span { color: var(--red); }
.ps-brand-sub { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 2px; letter-spacing: 0.04em; }
.ps-nav { padding: 0 12px; flex: 1; }
.ps-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.45);
  cursor: pointer; transition: all 0.15s; margin-bottom: 2px;
}
.ps-item:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.ps-item.on { background: var(--red); color: var(--white); }
.ps-section {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); padding: 0 12px; margin: 16px 0 6px;
}
.ps-footer {
  padding: 16px 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08); margin-top: 16px;
}
.ps-user {
  display: flex; align-items: center; gap: 10px;
}
.ps-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 700;
  color: var(--white); flex-shrink: 0;
}
.ps-uname { font-size: 13px; font-weight: 600; color: var(--white); }
.ps-uloc { font-size: 11px; color: rgba(255,255,255,0.35); }
.portal-main {
  flex: 1; overflow-y: auto; padding: 32px 28px 80px;
}
.pm-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.pm-title { font-size: 24px; font-weight: 700; color: var(--black); letter-spacing: -0.02em; }
.pm-sub { font-size: 13px; color: var(--mute); margin-top: 4px; }
.btn-new {
  padding: 10px 20px; background: var(--red); color: var(--white);
  border-radius: 8px; font-size: 13px; font-weight: 700;
  border: none; cursor: pointer; white-space: nowrap;
}
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.stat-box {
  background: var(--white); border: 2px solid var(--biscuit);
  border-radius: 12px; padding: 16px 18px;
}
.stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--mute); margin-bottom: 6px; }
.stat-val { font-size: 28px; font-weight: 700; color: var(--black); letter-spacing: -0.03em; line-height: 1; }
.stat-sub { font-size: 12px; color: var(--mute); margin-top: 4px; }
.job-list { display: flex; flex-direction: column; gap: 10px; }
.job-row {
  background: var(--white); border: 2px solid var(--biscuit);
  border-radius: 12px; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; transition: border-color 0.15s;
}
.job-row:hover { border-color: var(--red); }
.job-icon { font-size: 24px; flex-shrink: 0; }
.job-info { flex: 1; min-width: 0; }
.job-title { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 3px; }
.job-meta { font-size: 12px; color: var(--mute); }
.job-right { text-align: right; flex-shrink: 0; }
.job-amt { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.b-prog { background: #FFF3E0; color: #E65100; }
.b-prog::before { background: #E65100; }
.b-conf { background: #E8F5E9; color: var(--green); }
.b-conf::before { background: var(--green); }
.b-done { background: #E3F2FD; color: #1565C0; }
.b-done::before { background: #1565C0; }

/* ── PROOF VIEW ── */
.proof-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.proof-panel {
  background: var(--white); border: 2px solid var(--biscuit);
  border-radius: 12px; padding: 20px;
}
.proof-panel h3 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--mute);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--biscuit);
}
.tl-item { display: flex; gap: 12px; padding-bottom: 18px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-line {
  position: absolute; left: 13px; top: 28px; bottom: 0;
  width: 1px; background: var(--biscuit);
}
.tl-item:last-child .tl-line { display: none; }
.tl-dot {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--biscuit); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; font-size: 12px;
}
.tl-dot.done { background: var(--green); border-color: var(--green); }
.tl-dot.now  { background: var(--red);   border-color: var(--red);   }
.tl-body { padding-top: 4px; }
.tl-title { font-size: 13px; font-weight: 700; color: var(--black); }
.tl-when  { font-size: 12px; color: var(--mute); }
.proof-thumbs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.p-thumb {
  aspect-ratio: 4/3; border-radius: 8px;
  background: linear-gradient(135deg, var(--biscuit), var(--biscuit2));
  border: 2px solid var(--biscuit); display: flex;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px; font-size: 20px;
  position: relative; overflow: hidden; cursor: pointer;
}
.p-thumb-gps {
  position: absolute; bottom: 4px; right: 4px;
  background: var(--green); color: var(--white);
  font-size: 9px; font-weight: 700; padding: 2px 5px;
  border-radius: 3px; letter-spacing: 0.04em;
}
.p-thumb-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.55); color: white;
  font-size: 10px; padding: 4px 6px; font-weight: 600;
}
.detail-kv { display: flex; gap: 8px; font-size: 13px; margin-bottom: 10px; }
.dk { color: var(--mute); min-width: 100px; }
.dv { color: var(--black); font-weight: 600; flex: 1; }
.warn-box {
  background: #FFF3E0; border: 2px solid #FFB300;
  border-radius: 8px; padding: 10px 14px;
  font-size: 12px; color: #6D4C00; line-height: 1.6;
  margin-top: 12px; font-weight: 500;
}
.warn-box::before { content: '⚠️  '; }

/* ── ADMIN ── */
.admin-bar {
  background: var(--black); padding: 10px 24px;
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.admin-bar strong { color: var(--red); }
.admin-bar a { color: rgba(255,255,255,0.6); cursor: pointer; }
.admin-bar .ml-auto { margin-left: auto; display: flex; gap: 16px; }
.upload-zone {
  border: 2px dashed var(--border); border-radius: 12px;
  padding: 36px 20px; text-align: center;
  cursor: pointer; transition: border-color 0.15s;
  background: var(--cream);
}
.upload-zone:hover { border-color: var(--red); }
.upload-zone p { font-size: 14px; color: var(--mute); line-height: 1.6; }
.upload-zone strong { color: var(--black); }
.wa-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; background: #25D366; color: white;
  border-radius: 6px; font-size: 12px; font-weight: 700;
  border: none; cursor: pointer;
}
.confirm-screen {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: var(--black); padding: 40px 24px;
}
.confirm-box { max-width: 420px; text-align: center; }
.confirm-emoji { font-size: 64px; margin-bottom: 20px; }
.confirm-h { font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 10px; letter-spacing: -0.02em; }
.confirm-sub { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 24px; }
.confirm-ref {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; padding: 12px 20px; margin-bottom: 24px;
  font-size: 14px; color: var(--biscuit2); letter-spacing: 0.06em; font-weight: 600;
}
.confirm-ref small { display: block; font-size: 11px; color: rgba(255,255,255,0.3); margin-bottom: 4px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── PAYMENT ── */
.pay-box {
  background: var(--white); border: 2px solid var(--biscuit);
  border-radius: 12px; padding: 24px; margin-bottom: 16px;
}
.pay-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--biscuit);
  font-size: 14px;
}
.pay-row:last-child { border-bottom: none; }
.pay-row .pl { color: var(--mute); }
.pay-total {
  display: flex; justify-content: space-between;
  padding: 14px 0 0; font-size: 16px; font-weight: 700;
  color: var(--black);
}
.gw-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px;
}
.gw-badge {
  padding: 4px 10px; background: var(--biscuit);
  border-radius: 4px; font-size: 11px; font-weight: 700;
  color: var(--brown);
}

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 80px; right: 20px;
  background: var(--black); color: var(--white);
  border-radius: 10px; padding: 12px 18px;
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  z-index: 9999; box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  transform: translateY(20px); opacity: 0;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ── PROTO NAV ── */
.proto-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white); border-top: 2px solid var(--biscuit);
  padding: 10px 14px; display: flex; gap: 6px; flex-wrap: wrap;
  z-index: 9998; justify-content: center; align-items: center;
}
.proto-nav span {
  font-size: 10px; color: var(--mute); letter-spacing: 0.08em;
  text-transform: uppercase; width: 100%; text-align: center;
  margin-bottom: 4px;
}
.pn-btn {
  padding: 7px 14px; border-radius: 6px; font-size: 11px;
  font-weight: 700; cursor: pointer; border: 2px solid var(--biscuit);
  color: var(--brown); background: var(--white); transition: all 0.15s;
  font-family: inherit; letter-spacing: 0.02em;
}
.pn-btn:hover { border-color: var(--black); color: var(--black); }
.pn-btn.admin { background: var(--red); color: var(--white); border-color: var(--red); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .portal-sidebar { display: none; }
  .proof-wrap { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 90px; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════════════════
   MyShugli — Stage 2 CSS additions (append to public/styles.css)

   New classes introduced by Stage 2:
     .pwrule         — password-requirement checklist rows (tick green when met)
     .disb-pick      — the No/Yes "money on your behalf" choice cards
     .job-row-action — highlighted portal row for a job awaiting payment
     .badge variants — b-wait / b-quote / b-cancel (extend existing b-conf/done/prog)

   Uses the prototype's existing CSS variables (--red, --mute, --border, etc.).
   Palette: red for action/selection, biscuit/cream for emphasis. No greens
   except the password tick (a universal "done" affordance).
   ═══════════════════════════════════════════════════════════════════════════ */

/* Password checklist rows. data-ok="1" => met (tick), "0" => pending. */
.pwrule {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--mute);
}
.pwrule::before {
  content: "○";
  font-size: 14px;
  line-height: 1;
  color: var(--mute);
}
.pwrule[data-ok="1"] {
  color: #0F6E56;
}
.pwrule[data-ok="1"]::before {
  content: "✓";
  color: #0F6E56;
  font-weight: 700;
}

/* "Money on your behalf" choice cards. Selected = red, matching task cards. */
.disb-pick {
  border: 2px solid var(--border);
  background: var(--white);
  transition: border-color .12s ease, background .12s ease;
}
.disb-pick.picked {
  border-color: var(--red);
  background: var(--cream);
}
.disb-pick.picked > div:first-child {
  color: var(--red-dark);
}

/* Portal job row awaiting payment — red-tinted, draws the eye to the action. */
.job-row-action {
  border: 1px solid var(--red) !important;
  background: var(--cream) !important;
}
.job-meta-action {
  color: var(--red) !important;
  font-weight: 600;
}

/* Status badges — extend the prototype's set (b-conf/b-done/b-prog already exist). */
.badge.b-wait {
  background: var(--biscuit);
  color: var(--brown);
}
.badge.b-quote {
  background: var(--red);
  color: var(--white);
}
.badge.b-cancel {
  background: #F0F0F0;
  color: #999;
}
