/* ============================================================
   EcoKo microsite
   ------------------------------------------------------------
   Two deliberate layers:

   1. SITE CHROME  — the that wednesday inc. brand system
      (Forest / Sage / Leaf / Amber / Sand, Plus Jakarta Sans).
   2. DEVICE SCREENS — EcoKo's own product tokens, lifted from
      the app mockups (warm cream ground, #1F5D4C primary,
      italic Instrument Serif amounts). The screens should look
      like the product, not like the marketing page around them.
   ============================================================ */

:root {
  /* --- brand guide --- */
  --forest: #0F3D32;
  --sage:   #5B8F6B;
  --leaf:   #A7C48F;
  --amber:  #F4A62A;
  --sand:   #F7F5ED;
  --stone:  #D9D7CE;
  --slate:  #6B6F6B;
  --ink:    #1A1A1A;

  --forest-2: #17513f;

  /* page grounds, matched to the studio site (assets/site.css):
     --daylight is the body, #FFFFFF the raised bands. --sand stays
     the light ink used on forest. */
  --daylight: #FBFAF7;
  --sand-2:   #FFFFFF;
  --hair:     rgba(15,61,50,0.12);
  --hair-2:   rgba(15,61,50,0.07);

  /* --- product accent (white-label; rewritten by the swatches) --- */
  --primary:      #1F5D4C;
  --primary-2:    #2F7A65;
  --primary-soft: #E2EEE8;
  --primary-dark: #12362C;   /* the co-op's nav bar   */
  --primary-pill: #A8CBBF;   /* Sign in, on that bar  */

  --display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono:    ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
/* An explicit `display` in a class beats the `hidden` attribute's
   UA display:none, so every element we toggle with .hidden and also
   give a display to (the confirm dialog, the two send routes, the
   package drawer) stayed on screen while claiming to be hidden. The
   dialog was covering the builder and eating clicks. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--daylight); color: var(--ink);
  font-family: var(--body); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
/* Every page in the microsite shares one measure, the builder
   included — it was on its own width for a while and read as a
   different site. The dashboard gets its room by narrowing the
   feature panel instead (see .cfg.is-desktop). */
.eyebrow {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--slate); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }

h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.035em; font-weight: 700; margin: 0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 0; cursor: pointer; font-weight: 600;
  font-size: 15px; padding: 13px 22px; letter-spacing: -0.01em;
  transition: background 0.16s ease, transform 0.08s ease, color 0.16s ease;
}
.btn:active { transform: scale(0.985); }
.btn svg { width: 16px; height: 16px; }
.btn-forest { background: var(--forest); color: var(--sand); }
.btn-forest:hover { background: var(--forest-2); }
.btn-amber { background: var(--amber); color: #3A2400; }
.btn-amber:hover { background: #ffb844; }
.btn-outline { background: transparent; color: var(--forest); border: 1px solid rgba(15,61,50,0.28); }
.btn-outline:hover { border-color: var(--forest); }

/* ---------- NAV ----------
   Same bar as the studio site (assets/site.css header.nav) so the
   microsite reads as part of that wednesday, not a separate site. */
header.enav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,250,247,0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16,64,59,0.10);
}
.enav-in { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.elock { display: flex; align-items: center; gap: 11px; }
.elock .mark { width: 34px; height: 34px; flex: none; }
.elock .wm { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.04em; color: var(--forest); }
.elock .wm b { color: var(--amber); font-weight: 700; }
.elock .by {
  font-size: 10.5px; font-family: var(--mono); letter-spacing: 0.08em; color: var(--slate);
  padding-left: 11px; margin-left: 3px; border-left: 1px solid var(--stone); line-height: 1.3;
}
.emenu { display: flex; align-items: center; gap: 30px; }
.emenu a { font-size: 14.5px; font-weight: 500; color: var(--slate); }
.emenu a:hover, .emenu a.on { color: var(--forest); }

/* ---------- SECTIONS ---------- */
section.band { padding: 88px 0; }
.band-sand { background: var(--daylight); }
.band-white { background: #FFFFFF; }
.band-forest { background: var(--forest); color: var(--sand); }
.band-forest .eyebrow { color: rgba(247,245,237,0.6); }
.band-forest h2 { color: var(--sand); }

/* ---------- BROWSE TOGGLE ---------- */
.btabs {
  display: inline-flex; gap: 4px; margin-top: 34px; padding: 4px;
  background: rgba(15,61,50,0.06); border-radius: 999px;
}
.btab {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  padding: 10px 20px; font-size: 14.5px; font-weight: 600; color: var(--slate);
}
.btab.on { background: var(--forest); color: var(--sand); }

/* ============================================================
   CONFIGURATOR
   ============================================================ */
.tstrip { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tchip {
  cursor: pointer; border: 1px solid var(--hair); background: #fff;
  border-radius: 14px; padding: 10px 15px; text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.08s ease;
}
.tchip b { display: block; font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: -0.02em; color: var(--forest); }
.tchip em { display: block; font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--slate); margin-top: 2px; }
.tchip:hover { border-color: rgba(15,61,50,0.35); }
.tchip:active { transform: scale(0.98); }
.tchip.on { background: var(--forest); border-color: var(--forest); }
.tchip.on b { color: var(--leaf); }
.tchip.on em { color: rgba(247,245,237,0.7); }

/* ---------- switching package asks first ----------
   It restarts the build from the new package, so any add-on on top
   of the old one goes. There is no undo, so it is worth a stop. */
.ask { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ask-veil { position: absolute; inset: 0; background: rgba(10,30,25,0.55); backdrop-filter: blur(2px); }
.ask-box {
  position: relative; background: #fff; border-radius: 20px; padding: 28px 30px;
  max-width: 460px; width: 100%; box-shadow: 0 30px 70px rgba(10,30,25,0.4);
}
.ask-box h3 { font-size: 22px; letter-spacing: -0.035em; color: var(--forest); }
.ask-box > div { font-size: 14px; line-height: 1.55; color: var(--slate); margin-top: 12px; }
.ask-box b { color: var(--ink); font-weight: 700; }
.ask-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.ask-list li {
  font-size: 11.5px; color: var(--slate);
  border: 1px solid var(--hair); border-radius: 999px; padding: 4px 10px;
}
.ask-list li.more { border-style: dashed; color: #A8A79E; }
.ask-acts { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .tstrip { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .tchip { flex: none; }
  .ask-acts .btn { flex: 1; }
}
/* Both panes stick under the nav and scroll inside themselves, so
   working down the feature list never drags the preview off screen.
   --pane is the height they share: the viewport, less the nav above
   and the cart below. */
.cfg {
  /* An iPad in landscape is 768px tall. A pane sized only off the
     viewport left the handset at a third scale there, so the height
     is clamped: never so short the device stops reading as a device,
     never so tall the page needs scrolling to see the whole thing. */
  --pane: clamp(440px, calc(100vh - 216px), 780px);
  /* The handset is 330px wide. Giving the stage half the page left
     it adrift in a field of dark green while the picker — the half
     you actually work in — was squeezed. The stage takes what a
     device needs; the rest goes to the picker. */
  display: grid; grid-template-columns: minmax(300px, 500px) minmax(0, 1fr);
  gap: 24px; margin-top: 8px; align-items: start;
}

/* --- left: the stage --- */
/* The stage holds the device and nothing else. The white-label
   fields used to run down its left side, where they took a fifth of
   the width permanently for three inputs that get set once. They are
   now a bar above, and the device gets the room. */
.stage {
  position: sticky; top: 92px; height: var(--pane);
  display: flex; flex-direction: column; min-height: 0;
  background: linear-gradient(155deg, #123f34 0%, #0a2a22 100%);
  border-radius: 26px; padding: 20px 22px;
}

/* ============================================================
   THE MEMBER SCREEN
   Structured to match the EcoKo web-app mockup — browser chrome,
   the co-op's own nav bar, a filled green identity + bill panel,
   quick actions on white, tab bar — but coloured from the that
   wednesday palette: forest nav, --primary panel, leaf and amber
   accents in place of the mockup's navy and gold.
   ============================================================ */
.ephone {
  --pink:  #1A1A1A;      /* screen ink            */
  --pink2: #4A4A46;      /* secondary ink         */
  --pink3: #8A8A82;      /* tertiary ink          */
  --line:  #E4E2DA;      /* hairline on white     */
  width: 330px; flex: none; background: #14120E; border-radius: 42px; padding: 8px;
  box-shadow: 0 34px 70px rgba(0,0,0,0.5);
}
.ephone.is-native { box-shadow: 0 34px 70px rgba(0,0,0,0.5), 0 0 0 2px var(--primary-2); }

/* android status line, above the browser */
.pstatus {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px 6px; font-size: 11px; font-weight: 700; color: #fff;
}
.pstatus .sig { display: inline-flex; gap: 5px; align-items: center; }

.escreen {
  background: #fff; border-radius: 34px; overflow: hidden; color: var(--pink);
  /* a real handset's proportions — 330 x 660. When the window is
     short the whole device is scaled down to fit (see fitPreview in
     assets/ecoko-data.js) rather than squashed towards a square. */
  height: 660px;
  display: flex; flex-direction: column;
  font-size: 13px; line-height: 1.45; position: relative;
}

/* ---------- browser chrome ---------- */
.pchrome {
  display: flex; align-items: center; gap: 8px; flex: none;
  padding: 9px 12px; background: #fff; color: var(--pink3);
}
.purl {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px;
  background: #F1F0EC; border-radius: 999px; padding: 7px 12px;
  font-size: 10.5px; color: var(--pink2);
}
.purl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.purl b { color: var(--pink); font-weight: 700; }
.ptabs {
  flex: none; width: 18px; height: 18px; border: 1.6px solid var(--pink3);
  border-radius: 4px; font-size: 9.5px; font-weight: 700; color: var(--pink2);
  display: flex; align-items: center; justify-content: center;
}
.pnative {
  display: flex; align-items: center; justify-content: center; gap: 6px; flex: none;
  background: var(--primary-soft); color: var(--primary);
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em; padding: 7px 12px;
}

/* ---------- the cooperative's own nav bar ---------- */
.pnav {
  display: flex; align-items: center; gap: 9px; flex: none;
  background: var(--primary-dark); color: #fff; padding: 11px 13px;
}
.pnav-lock { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; }
.pnav-av {
  width: 27px; height: 27px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em;
}
.pnav-lock b { font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pnav-in {
  flex: none; background: var(--primary-pill); color: var(--primary-dark);
  border-radius: 8px; padding: 6px 13px; font-size: 11.5px; font-weight: 700;
}
.pnav > svg { flex: none; opacity: 0.9; }

/* offline strip */
.poff {
  background: #2A2419; color: #F4ECDC; font-size: 10px; padding: 6px 14px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* ---------- the green panel ---------- */
.phero { background: var(--primary); color: #fff; padding: 14px 15px 18px; }
.ph-greetrow { display: flex; align-items: center; gap: 9px; }
.ph-av {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,0.17); display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.ph-who { flex: 1; min-width: 0; }
.ph-k { display: block; font-size: 10px; opacity: 0.75; letter-spacing: 0.05em; }
.ph-nm {
  display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.15; margin-top: 1px;
}
.ph-nm svg { opacity: 0.7; flex: none; }
.ph-bell {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 11px;
  background: rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center;
}
.ph-bell i {
  position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px;
  border-radius: 999px; background: var(--amber); color: #3A2400;
  font-size: 9.5px; font-weight: 700; font-style: normal;
  display: flex; align-items: center; justify-content: center;
}

/* account switcher */
.ph-acct {
  display: flex; align-items: center; gap: 9px; margin-top: 11px;
  border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.1);
  border-radius: 12px; padding: 8px 11px;
}
.ph-ai {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center;
}
.ph-at { flex: 1; min-width: 0; }
.ph-at b { display: block; font-size: 12px; font-weight: 700; letter-spacing: -0.01em; }
.ph-at em {
  display: block; font-style: normal; font-family: var(--mono);
  font-size: 10px; opacity: 0.8; margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ph-acct > svg { flex: none; opacity: 0.8; }

/* the bill */
.ph-bill { margin-top: 11px; background: rgba(255,255,255,0.12); border-radius: 15px; padding: 14px 14px 13px; }
.ph-bh { display: flex; align-items: baseline; justify-content: space-between; gap: 9px; }
.ph-bk { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.78; line-height: 1.35; }
.ph-unpaid {
  flex: none; background: rgba(244,166,42,0.3); color: #FBE7C2;
  border-radius: 999px; padding: 4px 10px; font-size: 10.5px; font-weight: 700;
}
.ph-amt { font-family: var(--mono); font-size: 33px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-top: 8px; }
.ph-amt small { font-size: 20px; opacity: 0.85; }
.ph-due { font-size: 11.5px; opacity: 0.85; margin-top: 5px; }
.ph-pay { display: flex; gap: 8px; margin-top: 13px; }
.ph-p1 {
  flex: 1; background: #fff; color: var(--primary); border-radius: 999px;
  padding: 10px; text-align: center; font-size: 12.5px; font-weight: 700;
}
.ph-p2 {
  background: rgba(255,255,255,0.18); border-radius: 999px;
  padding: 10px 14px; font-size: 12.5px; font-weight: 600;
}
.ph-nopay {
  margin-top: 13px; border: 1px dashed rgba(255,255,255,0.4); border-radius: 12px;
  padding: 10px; text-align: center; font-size: 11px; opacity: 0.8;
}
.ph-pdf {
  display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 8px;
  border: 1px solid rgba(255,255,255,0.35); border-radius: 12px;
  padding: 8px; font-size: 11.5px; font-weight: 600;
}

/* ---------- the scrolling page ---------- */
.pscroll { flex: 1; overflow-y: auto; background: #fff; scrollbar-width: none; }
.pscroll::-webkit-scrollbar { display: none; }

/* ---------- white region ---------- */
.pwhite { background: #fff; padding: 14px 14px 18px; }
.ph-qk {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--pink3); margin-bottom: 9px;
}
.ph-q { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; }
.ph-q:empty { display: none; }
.ph-extras:empty { display: none; }
.ph-qt {
  border: 1px solid var(--line); background: #FCFCFA; border-radius: 14px;
  padding: 11px 3px 9px; display: flex; flex-direction: column; align-items: center; gap: 7px;
}
.ph-qt .qi { width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.ph-qt b { font-size: 9.5px; font-weight: 700; line-height: 1.15; text-align: center; color: var(--pink2); }

.ph-ask {
  display: flex; gap: 10px; align-items: center; margin-top: 12px;
  background: var(--primary); border-radius: 15px; padding: 12px 13px; color: #fff;
}
.ph-ask .ai {
  width: 30px; height: 30px; border-radius: 9px; flex: none; color: var(--primary);
  background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center;
}
.ph-ask b { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: -0.01em; }
.ph-ask em { display: block; font-style: normal; font-size: 10.5px; opacity: 0.8; margin-top: 2px; }

.ph-promo {
  margin-top: 12px; border-radius: 15px; padding: 14px 15px; color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  position: relative; overflow: hidden;
}
.ph-promo::after {
  content: "₱"; position: absolute; right: -6px; top: -22px;
  font-size: 78px; font-weight: 700; opacity: 0.14; line-height: 1;
}
.pp-k { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.ph-promo b { display: block; font-size: 13px; font-weight: 700; margin-top: 4px; line-height: 1.25; }
.ph-promo em { display: block; font-style: normal; font-size: 10.5px; opacity: 0.9; margin-top: 3px; }

.ph-card { margin-top: 12px; background: #FCFCFA; border: 1px solid var(--line); border-radius: 15px; padding: 13px 15px; }
.ph-card b { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: -0.01em; }
.ph-card em { display: block; font-style: normal; font-size: 10.5px; color: var(--pink2); margin-top: 3px; line-height: 1.4; }
.ph-ban { margin-top: 12px; border-radius: 15px; padding: 13px 15px; color: #fff; }
.ph-ban b { display: block; font-size: 12.5px; font-weight: 700; }
.ph-ban em { display: block; font-style: normal; font-size: 10.5px; opacity: 0.88; margin-top: 2px; }
.ph-ban.t-gold  { background: linear-gradient(135deg, #B07408 0%, #E0A03A 100%); }
.ph-ban.t-green { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); }
.ph-ban.t-clay  { background: linear-gradient(135deg, #A8452A 0%, #D2653C 100%); }
.pempty {
  border: 1px dashed var(--line); border-radius: 15px; padding: 30px 16px;
  text-align: center; font-size: 11.5px; color: var(--pink3); line-height: 1.5;
}

/* ---------- tab bar ---------- */
.ptabbar {
  flex: none; display: flex; background: #fff;
  border-top: 1px solid var(--line); padding: 6px 2px 8px;
}
.ptabbar span {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 9px; font-weight: 600; color: var(--pink3);
}
.ptabbar span i { display: flex; align-items: center; justify-content: center; width: 38px; height: 22px; border-radius: 999px; }
.ptabbar span.on { color: var(--primary); }
.ptabbar span.on i { background: var(--primary-soft); }

/* android browser chrome, below the page */
.pbot {
  flex: none; display: flex; align-items: center; justify-content: space-around;
  padding: 8px 14px 10px; background: #fff; color: var(--pink3);
  border-top: 1px solid var(--line);
}
.pbot > svg:first-child { transform: rotate(180deg); }
.pb-o { width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.pb-o::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: currentColor; }
.pb-t {
  width: 17px; height: 17px; border: 1.8px solid currentColor; border-radius: 4px;
  font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   THE PREVIEW — one surface at a time
   The member app is a handset; the admin console is a desktop
   window. Switching between them changes the shape of the stage,
   because the two products are not the same shape.
   ============================================================ */
.preview { min-width: 0; display: flex; flex-direction: column; min-height: 0; flex: 1; }

/* ------------------------------------------------------------
   THE PAIR
   Both surfaces are on the page at once, drawn as the two devices
   they are. A segmented control with the word "Admin dashboard" in
   it let co-ops look straight past the half of EcoKo their own
   staff would live in; two cards with live counts do not.
   ------------------------------------------------------------ */
.devpair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 12px; }
.dtab {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 12px 16px; cursor: pointer; font: inherit; min-width: 0;
  background: var(--sand-2); border: 1.5px solid var(--hair); border-radius: 16px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}
.dtab:hover { border-color: rgba(15,61,50,0.3); }
.dtab:active { transform: scale(0.994); }
.dtab.on { background: var(--forest); border-color: var(--forest); }

/* the glyphs, drawn rather than fetched: a handset and a monitor */
.dt-dev { flex: none; width: 36px; height: 32px; display: grid; place-items: center; color: var(--sage); }
.dtab.on .dt-dev { color: var(--leaf); }
.dt-dev i { display: block; border: 2px solid currentColor; position: relative; }
.dt-phone i { width: 19px; height: 29px; border-radius: 5px; }
.dt-phone i::after {
  content: ''; position: absolute; top: 2.5px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 1.6px; border-radius: 2px; background: currentColor;
}
.dt-desk i { width: 32px; height: 23px; border-radius: 3px; }
.dt-desk i::after {
  content: ''; position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 2px; border-radius: 2px; background: currentColor;
}
.dt-tx { min-width: 0; flex: 1; }
.dt-tx b {
  display: block; font-family: var(--display); font-size: 15px; font-weight: 700;
  letter-spacing: -0.025em; color: var(--forest); line-height: 1.2;
}
.dt-tx em {
  display: block; font-style: normal; font-size: 11.5px; color: var(--slate);
  margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dtab.on .dt-tx b { color: var(--sand); }
.dtab.on .dt-tx em { color: rgba(247,245,237,0.62); }
.dt-n { flex: none; text-align: center; min-width: 34px; }
.dt-n b {
  display: block; font-family: var(--display); font-size: 21px; font-weight: 700;
  letter-spacing: -0.04em; color: var(--forest); line-height: 1;
}
.dt-n i {
  display: block; font-style: normal; font-family: var(--mono); font-size: 8px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-top: 3px;
}
.dtab.on .dt-n b { color: var(--leaf); }
.dtab.on .dt-n i { color: rgba(247,245,237,0.5); }

/* a card whose count moved while you were looking at the other one */
.dtab.bumped { animation: dbump 0.9s cubic-bezier(0.22,1,0.36,1); }
.dtab.bumped .dt-n b { animation: dcount 0.9s cubic-bezier(0.22,1,0.36,1); }
@keyframes dbump {
  0%   { box-shadow: 0 0 0 0 rgba(244,166,42,0.55); }
  35%  { box-shadow: 0 0 0 5px rgba(244,166,42,0.28); }
  100% { box-shadow: 0 0 0 0 rgba(244,166,42,0); }
}
@keyframes dcount {
  0%, 100% { transform: scale(1); }
  30%      { transform: scale(1.3); color: var(--amber); }
}

/* the line that says why there are two of them */
.pairnote {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12.5px; line-height: 1.5; color: var(--slate);
  margin: 0 0 18px; padding: 0 2px; max-width: 760px;
}
.pairnote svg { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--sage); }

.pv-stage {
  flex: 1; min-height: 0; display: flex; justify-content: center;
  align-items: flex-start; overflow: hidden;
}

/* A line inside the stage naming what just moved and on which
   screen. It sits over the device rather than above it, because at
   a booth nobody's eye leaves the thing they just tapped. */
.pvtoast {
  /* Pinned to the top of the stage, not the bottom: the stage is
     taller than the viewport until you scroll, and a toast at its
     foot fired where nobody could see it. */
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%);
  z-index: 6; max-width: calc(100% - 44px); text-align: center;
  /* Light against the dark stage: a dark chip on dark green read as
     part of the device rather than a message about it. */
  background: var(--sand); border: 1px solid rgba(15,61,50,0.12);
  color: var(--forest); border-radius: 13px; padding: 9px 15px;
  font-size: 12.5px; line-height: 1.4; letter-spacing: -0.01em; font-weight: 500;
  box-shadow: 0 14px 34px rgba(0,0,0,0.38);
  animation: toastin 0.26s cubic-bezier(0.22,1,0.36,1);
}
.pvtoast b { font-weight: 700; }
.pvtoast.pair { background: #FFF6E4; border-color: rgba(244,166,42,0.55); color: #6B4400; }
.pvtoast.pair b { color: #4A2E00; }
.pvtoast.out { color: var(--slate); }
@keyframes toastin {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
/* --fit is measured and set in JS: 1 when the device fits as drawn,
   less when the window is short. Scaling keeps the shape honest. */
.shot {
  transform: scale(var(--fit, 1)); transform-origin: top center;
  transition: transform 0.12s ease;
}
.shot.handset { flex: none; }
.shot.desktop { width: 100%; min-width: 0; }

/* the dashboard is wide, so it borrows width from the panel */
/* Deliberately NOT a different grid per surface. The picker used to
   change width, and on a tablet jump below the stage, whenever you
   switched to the console — so the half of the page you work in
   moved under you every time you looked at the other screen. One
   layout, both surfaces: only what is inside the stage changes. */
.stage.is-desktop { padding: 16px 14px; }

/* ---------- the admin console, as a desktop window ---------- */
.dwin {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 26px 54px rgba(0,0,0,0.34); color: var(--ink);
  display: flex; flex-direction: column;
  height: 620px;
}
.dbar {
  display: flex; align-items: center; gap: 12px; flex: none;
  padding: 10px 14px; background: #F4F2EB; border-bottom: 1px solid var(--hair-2);
}
.dbar .dl { display: flex; gap: 6px; flex: none; }
.dbar .dl i { width: 9px; height: 9px; border-radius: 50%; background: rgba(15,61,50,0.16); display: block; }
.durl {
  flex: 1; min-width: 0; text-align: center; background: #fff;
  border: 1px solid var(--hair-2); border-radius: 999px; padding: 5px 14px;
  font-family: var(--mono); font-size: 10.5px; color: var(--slate);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dwho { flex: none; font-size: 11px; font-weight: 600; color: var(--slate); }

.dbody { flex: 1; display: grid; grid-template-columns: 172px 1fr; min-height: 0; }
.drail {
  background: #F7F6F0; border-right: 1px solid var(--hair-2);
  /* wider window, so the rail can carry full module names */
  padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; overflow-y: auto;
}
.dr-lock {
  display: flex; align-items: center; gap: 8px; padding: 0 6px 14px;
  margin-bottom: 8px; border-bottom: 1px solid var(--hair-2);
}
.dr-av {
  width: 26px; height: 26px; border-radius: 8px; flex: none; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700;
}
.dr-lock b {
  font-size: 12px; font-weight: 700; color: var(--primary-dark); letter-spacing: -0.02em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dnav {
  display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 9px;
  font-size: 12px; color: var(--slate);
}
.dnav { transition: background 0.2s ease, color 0.2s ease; }
.dnav b { font-weight: 600; letter-spacing: -0.01em; }
.dnav.on { background: var(--primary-soft); color: var(--primary); }
.dnav.dim { color: #B4B2A9; }

.dmain {
  padding: 18px 20px; overflow-y: auto; min-width: 0;
  /* the panels answer to the dashboard's own width, not the window's:
     the same window gives the dashboard very different room depending
     on which surface is showing and how wide the feature panel is */
  container-type: inline-size;
}
.dm-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.dm-k {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.13em;
  text-transform: uppercase; color: #A8A79E;
}
.dm-h h4 { font-size: 20px; letter-spacing: -0.035em; color: var(--primary-dark); margin-top: 3px; }
.dm-date { font-family: var(--mono); font-size: 10px; color: var(--slate); flex: none; }

.dtiles { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.dtile { flex: 1 1 160px; max-width: 250px; }
.dtile { border-radius: 12px; padding: 13px 15px; }
.dtile.t-green { background: #EAF1E6; } .dtile.t-gold { background: #FBF3E2; }
.dtile.t-blue  { background: #E7EFF3; } .dtile.t-clay { background: #F8EAE3; }
.dt-n { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.035em; color: var(--primary-dark); line-height: 1; }
.dt-l { font-size: 10.5px; color: var(--slate); margin-top: 5px; }

.dpanels { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
@container (min-width: 560px) { .dpanels { grid-template-columns: repeat(3,1fr); } }
@container (min-width: 900px) { .dpanels { grid-template-columns: repeat(4,1fr); } }
.dpanel {
  border: 1px solid var(--hair-2); border-radius: 12px; padding: 13px 14px; background: #FCFCFA;
}
.dpanel.narrow { grid-column: span 1; }
.dpanel:has(.dp-heat), .dpanel:has(.dp-bars) { grid-column: span 2; }

.dp-h {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.11em;
  text-transform: uppercase; color: #A8A79E; margin-bottom: 9px;
}
.dp-req { color: var(--sage); flex: none; }
.dp-v { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.dp-v.ok { color: #1F5D4C; } .dp-v.warn { color: #B5482E; }
.dp-t { width: 100%; border-collapse: collapse; font-size: 12px; }
.dp-t td { padding: 6px 0; color: var(--slate); }
.dp-t td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.dp-t tr + tr td { border-top: 1px solid var(--hair-2); }
.dp-bars { display: flex; align-items: flex-end; gap: 6px; height: 76px; }
.dp-bars i { flex: 1; background: var(--primary); border-radius: 3px 3px 0 0; opacity: 0.85; }
.dp-heat { display: grid; grid-template-columns: repeat(20,1fr); gap: 3px; }
.dp-heat i { aspect-ratio: 1; border-radius: 2px; background: var(--primary); }
.dp-heat i.h1 { opacity: 0.13; } .dp-heat i.h2 { opacity: 0.32; }
.dp-heat i.h3 { opacity: 0.58; } .dp-heat i.h4 { opacity: 0.9; }
.dempty {
  border: 1px dashed var(--hair); border-radius: 12px; padding: 40px 20px;
  text-align: center; font-size: 12.5px; color: var(--slate); line-height: 1.5;
}

/* --- right: the feature panel ---
   One surface at a time, so a row is always about the screen next
   to it. The button carries the action (+ / −); the tag on the
   right only says whether it is in the package or riding on top.
   ------------------------------------------------------------ */
.panel {
  position: sticky; top: 92px; height: var(--pane);
  display: flex; flex-direction: column; min-height: 0;
  background: var(--sand-2); border: 1px solid var(--hair);
  border-radius: 22px; overflow: hidden;
}
.panel-h, .panel-f { flex: none; }

.panel-h { padding: 18px 20px 14px; border-bottom: 1px solid var(--hair); }
.panel-h h3 { font-size: 18px; color: var(--forest); letter-spacing: -0.035em; }
.panel-h h3 span { color: var(--sage); }
.panel-h p { font-size: 12px; color: var(--slate); margin: 7px 0 0; line-height: 1.45; }
.panel-h p b { color: var(--forest); }
.panel-req {
  background: #EEF4EC; border-radius: 9px; padding: 8px 10px;
  font-size: 11px !important; line-height: 1.4 !important; color: var(--forest) !important;
}
/* the categories on this surface, as a list you read down */
/* The categories scroll sideways in one row rather than standing as
   a fixed column — at eight of them the column was taking a third of
   the panel and leaving the feature rows almost no room. */
.catlist {
  flex: none; display: flex; gap: 6px; flex-wrap: nowrap;
  overflow-x: auto; overscroll-behavior-x: contain;
  border-bottom: 1px solid var(--hair); padding: 12px 14px;
  scrollbar-width: none;
}
.catlist::-webkit-scrollbar { display: none; }
/* the rail runs past the edge, so fade it rather than letting a chip
   sit half-cut and look like a rendering fault */
.catwrap { position: relative; flex: none; }
.catwrap::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 1px; width: 36px;
  pointer-events: none; border-radius: 0 0 0 0;
  background: linear-gradient(90deg, rgba(250,249,244,0) 0%, var(--sand-2) 78%);
}
.clrow {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; border: 1px solid var(--hair); background: transparent;
  border-radius: 999px; padding: 7px 13px; white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.cl-n { font-size: 12.5px; font-weight: 600; color: var(--slate); letter-spacing: -0.01em; }
.cl-c { flex: none; font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: var(--forest); }
.cl-c i { font-style: normal; font-weight: 400; color: #A8A79E; }
.clrow:hover { border-color: rgba(15,61,50,0.32); }
.clrow:hover .cl-n { color: var(--forest); }
.clrow.on { background: var(--forest); border-color: var(--forest); }
.clrow.on .cl-n { color: var(--sand); }
.clrow.on .cl-c { color: var(--leaf); }
.clrow.on .cl-c i { color: rgba(247,245,237,0.5); }
.clrow.flash { animation: clflash 1.4s ease; }
@keyframes clflash {
  0%, 100% { box-shadow: none; }
  20%, 60% { box-shadow: 0 0 0 2px var(--amber); }
}
.pg-blurb { font-size: 11.5px; line-height: 1.45; color: var(--slate); margin: 10px 4px 4px; }

/* the rows take everything left after the header and the chip rail */
.panel-scroll {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 2px 16px 12px;
  /* reaching the end of the list must not start scrolling the page */
  overscroll-behavior: contain; scroll-behavior: auto;
}
.pgroup { padding: 14px 4px 2px; border-radius: 12px; transition: background 0.4s ease; }
.pgroup.flash { background: #FBF3E2; }
.pgroup h4 {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--slate); font-weight: 600;
  padding-bottom: 8px; border-bottom: 1px solid var(--hair-2); margin-bottom: 4px;
}
.pgroup h4 em { font-style: normal; color: var(--forest); font-weight: 700; letter-spacing: 0.04em; flex: none; }

/* A row: the whole thing is the control. A 28px "+" at the end of a
   line of text is a fine mouse target and a poor thumb one, and at a
   booth every one of these is pressed with a thumb. */
.fx {
  width: 100%; display: grid; grid-template-columns: 26px 1fr auto;
  align-items: start; gap: 12px; padding: 12px 10px; margin-bottom: 3px;
  min-height: 58px; text-align: left; font: inherit; cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: 13px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
}
.fx:hover { background: #fff; border-color: var(--hair); }
.fx:active { transform: scale(0.992); }
.fx:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.fx.on { background: #EFF5EC; border-color: rgba(31,93,76,0.16); }
.fx.on:hover { background: #E8F1E4; }
.fx.on .fxn { color: var(--forest); }
.fx.is-locked { cursor: default; background: transparent; border-color: transparent; }
.fx.is-locked:hover { background: transparent; border-color: transparent; }
.fx.is-locked:active { transform: none; }
/* a row that was just switched, so the eye can find it again after
   the list redraws under the thumb */
.fx.justset { animation: fxset 1.1s ease; }
@keyframes fxset {
  0%   { background: #FBF3E2; border-color: var(--amber); }
  100% { background: transparent; border-color: transparent; }
}
.fxi { min-width: 0; }
.fxn { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; line-height: 1.3; }
.fxb { display: block; font-size: 11.5px; color: var(--slate); line-height: 1.45; margin-top: 3px; }
.fxstar { font-style: normal; color: var(--amber); font-weight: 700; cursor: help; }

/* the state box: empty + to add, filled tick once it is on */
.fx-box {
  width: 26px; height: 26px; flex: none; margin-top: 1px; border-radius: 8px;
  display: grid; place-items: center;
  border: 1.5px solid rgba(15,61,50,0.26); background: #fff; color: var(--forest);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.fx:hover .fx-box { border-color: var(--forest); }
.fx.on .fx-box { background: var(--forest); border-color: var(--forest); color: var(--leaf); }
/* on hover a switched-on row offers removal, so the tick turns clay */
.fx.on:hover .fx-box { background: #8a3c28; border-color: #8a3c28; color: #fff; }
.fx.is-locked .fx-box,
.fx.is-locked:hover .fx-box {
  background: #E9F0E5; border-style: dashed; border-color: rgba(15,61,50,0.18);
  color: var(--sage);
}

/* ---- a group: one decision, several rows of the matrix ---- */
.fxg { margin-bottom: 3px; border-radius: 13px; }
.fxg .fx { margin-bottom: 0; }
.fxg.has-kids.on { background: #EFF5EC; border: 1px solid rgba(31,93,76,0.16); }
.fxg.has-kids.on .fx { background: transparent; border-color: transparent; }
.fxg.has-kids.on .fx:hover { background: rgba(255,255,255,0.5); }

/* the disclosure: informational, and deliberately a much smaller
   target than the row, so a thumb aiming to add does not open it */
.fx-disc {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  margin: -4px 0 6px 48px; padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--hair); background: #fff;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate);
  transition: border-color 0.14s ease, color 0.14s ease;
}
.fx-disc:hover { border-color: rgba(15,61,50,0.32); color: var(--forest); }
.fx-disc svg { width: 11px; height: 11px; transition: transform 0.18s ease; }
.fx-disc[aria-expanded="true"] svg { transform: rotate(180deg); }

.fx-kids {
  list-style: none; margin: 0 10px 10px 48px; padding: 8px 0 0;
  border-top: 1px dashed var(--hair);
}
.fx-kids li {
  position: relative; padding: 5px 0 5px 16px;
  font-size: 12px; line-height: 1.4; color: var(--slate);
}
.fx-kids li::before {
  content: ''; position: absolute; left: 2px; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--sage); opacity: 0.55;
}

/* the locked tail of a category */
.pfixed { margin-top: 12px; border-top: 1px dashed var(--hair); }
.pf-h {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.13em;
  text-transform: uppercase; color: #A8A79E; padding: 12px 10px 4px;
}
.pfixed .fxn { color: var(--slate); font-weight: 500; }
.pg-none {
  font-size: 12.5px; line-height: 1.5; color: var(--slate);
  background: #EEF4EC; border-radius: 12px; padding: 12px 14px; margin: 4px 0 0;
}

/* the state tag */
.fxt {
  flex: none; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 999px; padding: 4px 9px; max-width: 130px;
  text-align: center; line-height: 1.3;
}
.fxt.core  { background: #EEF4EC; color: #1F5D4C; }
.fxt.req   { background: #EEF4EC; color: var(--sage); text-transform: none; letter-spacing: 0.02em; font-size: 9px; }
.fxt.incl  { background: #EAF1E6; color: #3F6B45; }
.fxt.addon { background: #FBF3E2; color: #8A5A00; }
.fxt.off   { background: transparent; color: #B4B2A9; box-shadow: inset 0 0 0 1px var(--hair-2); }

.panel-f {
  padding: 10px 20px 12px; border-top: 1px solid var(--hair);
  font-size: 10.5px; line-height: 1.45; color: var(--slate);
}
.panel-f b { color: var(--amber); }

/* --- sticky summary (the "cart") --- */
.sumbar {
  position: sticky; bottom: 8px; z-index: 40; margin-top: 14px;
  background: var(--forest); color: var(--sand); border-radius: 14px;
  padding: 10px 20px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  box-shadow: 0 -6px 30px rgba(15,61,50,0.16);
}
.sumbar .sblk { min-width: 0; }
.sumbar .sk { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247,245,237,0.5); }
.sumbar .sv { font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: -0.02em; margin-top: 1px; }
.sumbar .sv.big { font-size: 17px; color: var(--leaf); }
.sumbar .grow { flex: 1; }
.sumbar .warn {
  font-size: 12px; color: #3A2400; background: var(--amber);
  border-radius: 999px; padding: 7px 14px; font-weight: 600;
}

/* ---------- CONTACT ---------- */
.jform { background: var(--sand-2); border: 1px solid var(--hair); border-radius: 24px; padding: 34px; }
.jrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jf { margin-bottom: 16px; }
.jf label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 7px; }
.jf input, .jf select, .jf textarea {
  width: 100%; font-family: var(--body); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--stone); border-radius: 12px; padding: 12px 14px; outline: none;
}
.jf input:focus, .jf select:focus, .jf textarea:focus { border-color: var(--forest); }
.jf textarea { resize: vertical; min-height: 88px; }
.jnote { font-size: 12px; color: var(--slate); text-align: center; margin-top: 14px; }
.jdone { text-align: center; padding: 26px 0; }
.jdone .ok { width: 54px; height: 54px; border-radius: 50%; background: var(--leaf); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.jdone h3 { font-size: 24px; color: var(--forest); margin-bottom: 8px; }
.jdone p { font-size: 15px; color: var(--slate); margin: 0; }
.jdone .line { font-family: var(--mono); font-size: 12px; color: var(--forest); margin-top: 14px; background: #EEF4EC; border-radius: 999px; padding: 8px 16px; display: inline-block; }

/* ---------- FOOTER ---------- */
footer.efoot { background: var(--forest); color: var(--sand); padding: 56px 0 40px; }
.efoot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.efoot .elock .wm { color: var(--sand); }
.efoot .elock .by { color: rgba(247,245,237,0.55); border-left-color: rgba(247,245,237,0.25); }
.efoot-links { display: flex; gap: 54px; flex-wrap: wrap; }
.efoot-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(247,245,237,0.5); margin-bottom: 14px; font-weight: 600; }
.efoot-col a, .efoot-col span { display: block; font-size: 14px; color: rgba(247,245,237,0.8); margin-bottom: 9px; }
.efoot-col a:hover { color: var(--leaf); }
.efoot-bot {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(247,245,237,0.16);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(247,245,237,0.55);
}
.efoot-bot a { color: rgba(247,245,237,0.75); }
.efoot-bot a:hover { color: var(--leaf); }

/* ---------- RESPONSIVE ---------- */
/* ------------------------------------------------------------
   TABLETS
   The builder used to go single-column at 1180px, which put every
   iPad — 1024x768 landscape, 768x1024 portrait — into a layout
   where the device sat a full screen above the feature list. You
   tapped "add" and the thing you changed was off-screen, which is
   the one moment the whole page exists to show. So the two panes
   stay side by side all the way down to 820px, and the device
   shrinks to fit rather than the layout breaking.
   ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .cfg { grid-template-columns: minmax(290px, 440px) minmax(0, 1fr); gap: 18px; }
  .dt-tx em { display: none; }
  .pairnote { font-size: 12px; margin-bottom: 14px; }
}
/* iPad landscape: 768px of height, and the nav and cart take their
   cut of it. Give the pane everything else and let --fit scale. */
@media (max-height: 820px) and (min-width: 701px) {
  .cfg { --pane: calc(100vh - 168px); margin-top: 4px; }
  .stage, .panel { top: 74px; }
  .stage { padding: 14px 16px; }
  .idbar { padding: 10px 14px; gap: 12px; }
  .idhint { display: none; }
  .pairnote { display: none; }
  .dtab { padding: 9px 13px; gap: 10px; }
  .dt-tx em { display: none; }
  .bhead { padding: 18px 0 10px; }
  .bhead h1 { font-size: 26px; }
  .bhead .lede { display: none; }
}
@media (max-width: 980px) {
  .cfg { grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 14px; }
}
/* iPad portrait is 768 wide. A 300px panel still leaves the handset
   its full 330px plus the stage's padding, so the pair survives. */
@media (max-width: 860px) {
  .cfg { grid-template-columns: minmax(0, 374px) minmax(0, 1fr); gap: 12px; }
  .stage { padding: 16px 12px; }
  .dtab { padding: 11px 13px; gap: 10px; }
  .dt-tx em { display: none; }
  .dt-dev { width: 30px; }
  .bhead h1 { font-size: 27px; }
  .bhead .lede { display: none; }
}
/* ------------------------------------------------------------
   THE CONSOLE ON A NARROW SCREEN
   The member app is a handset and sits happily in half a tablet.
   The admin console is a desktop window: squeezed into 460px it
   stopped looking like the product and started looking like a bug.
   So on a narrow screen it takes the full width and the picker goes
   underneath, with the window pinned so it stays in sight while you
   work down the list.
   ------------------------------------------------------------ */
/* Below a tablet the two panes genuinely cannot sit side by side.
   The device then pins to the top of the viewport and the list
   scrolls under it, so adding something is still visible. */
@media (max-width: 700px) {
  .cfg { grid-template-columns: 1fr; gap: 14px; --pane: auto; }
  .stage {
    position: sticky; top: 62px; z-index: 30; height: auto;
    max-height: 52vh; padding: 12px 14px; border-radius: 20px;
  }
  /* The device is scaled to fit with transform-origin at its top, so
     it must stay top-aligned. Centring it positioned the untransformed
     704px box first and cropped the handset's head off. */
  .pv-stage { align-items: flex-start; }
  .panel { position: static; height: auto; max-height: none; }
  .panel-scroll { max-height: none; overflow: visible; }
  .pvtoast { top: 8px; font-size: 11.5px; padding: 7px 12px; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .emenu { display: none; }
  /* the nav has to stay one line: drop the byline, tighten the CTA */
  .elock .by { display: none; }
  .enav-in { height: 62px; gap: 12px; }
  .enav-in .btn { padding: 10px 15px; font-size: 13.5px; white-space: nowrap; }
  .enav-in .btn svg { display: none; }
  section.band { padding: 56px 0; }
  .ephone { width: 100%; max-width: 330px; }
  .stage { padding: 22px 18px; }
  .stage-top { flex-direction: column; }
  /* the sticky cart has to stay one compact strip or it covers the devices */
  .sumbar { padding: 12px 16px; gap: 10px 16px; border-radius: 16px; }
  .sumbar .sblk:nth-of-type(5) { display: none; }
  .sumbar .sv { font-size: 14px; }
  .sumbar .sv.big { font-size: 18px; }
  .sumbar .btn { padding: 10px 16px; font-size: 13.5px; }
  .sumbar .grow { display: none; }
  .sumbar .warn { font-size: 11.5px; padding: 6px 12px; }
  .jform { padding: 24px 20px; }
}

/* ============================================================
   CONFIGURATOR — additions
   Everything below belongs to the "build yours" experience:
   the white-label controls, the two extra phone widgets, the
   console module rail, and the cost estimator.
   ============================================================ */

/* ------------------------------------------------------------
   THE FREE BASE
   The free route has no package strip, so this is what tells a
   co-op where they are standing. Collapsed it is one line; opened
   it is the ten rows they get before choosing anything.
   ------------------------------------------------------------ */
.basecard {
  background: var(--forest); color: var(--sand);
  border-radius: 18px; padding: 16px 20px; margin: 0 0 14px;
}
.basecard > summary {
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px;
  align-items: center; cursor: pointer; list-style: none;
}
.basecard > summary::-webkit-details-marker { display: none; }
.bc-tag {
  grid-area: 1 / 1 / span 2 / 2; align-self: center;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--forest); background: var(--leaf);
  border-radius: 999px; padding: 6px 12px; white-space: nowrap;
}
.bc-h { grid-area: 1 / 2 / 2 / 3; font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -0.03em; }
.bc-h b { color: var(--leaf); }
.bc-sub { grid-area: 2 / 2 / 3 / 3; font-size: 12.5px; color: rgba(247,245,237,0.62); line-height: 1.4; }
.bc-more {
  grid-area: 1 / 3 / span 2 / 4; align-self: center; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; color: var(--leaf);
  border: 1px solid rgba(167,196,143,0.45); border-radius: 999px; padding: 8px 14px;
}
.basecard[open] .bc-more::after { content: ' \2191'; }
.basecard:not([open]) .bc-more::after { content: ' \2193'; }
.baselist {
  margin: 16px 0 2px; padding: 16px 0 0;
  border-top: 1px solid rgba(247,245,237,0.16);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px;
}
.bl-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 0 4px; font-family: var(--mono); font-size: 9px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--leaf);
}
.bl-hd span {
  font-size: 9px; color: rgba(247,245,237,0.45);
}
.bl-col ul { list-style: none; margin: 0; padding: 0; }
.bl-col li {
  font-size: 13px; letter-spacing: -0.01em; line-height: 1.35;
  padding: 7px 0; border-bottom: 1px solid rgba(247,245,237,0.08);
}
@media (max-width: 860px) {
  .basecard { padding: 13px 15px; }
  .bc-sub { display: none; }
  .bc-h { font-size: 15px; }
  .baselist { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .basecard > summary { grid-template-columns: auto 1fr; }
  .bc-more { grid-area: 2 / 2 / 3 / 3; justify-self: start; margin-top: 6px; }
  .bc-sub { display: none; }
}

/* ---------- white-label controls (the identity bar) ---------- */
.idbar {
  display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap;
  background: var(--sand-2); border: 1px solid var(--hair);
  border-radius: 16px; padding: 14px 18px; margin: 0 0 14px;
}
.idbar .sfield:nth-of-type(1), .idbar .sfield:nth-of-type(2) { flex: 1 1 190px; }
.idhint {
  flex: 1 1 100%; font-size: 11.5px; color: var(--slate); margin: 0; line-height: 1.45;
}
.sfield { min-width: 0; }
.sfield > label {
  display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 6px;
}
.sfield input {
  width: 100%; font-family: var(--display); font-size: 16px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--forest); background: #fff;
  border: 1px solid var(--hair); border-radius: 11px; padding: 10px 13px; outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.sfield input::placeholder { color: #B4B2A9; font-weight: 500; }
.sfield input:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(31,93,76,0.1); }

.swatches { display: flex; flex-direction: row; flex-wrap: wrap; gap: 4px; }
.swatch {
  position: relative; display: flex; align-items: center; gap: 8px;
  cursor: pointer; padding: 7px 11px 7px 9px; border-radius: 10px;
  border: 1px solid var(--hair); background: #fff; text-align: left;
  transition: background 0.14s ease, border-color 0.14s ease;
}
.sw-dot {
  width: 15px; height: 15px; border-radius: 50%; background: var(--sw); flex: none;
  box-shadow: 0 0 0 1px rgba(15,61,50,0.14);
}
.sw-nm {
  font-size: 12.5px; color: var(--slate); letter-spacing: -0.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.swatch:hover { border-color: rgba(15,61,50,0.3); }
.swatch.on { background: var(--forest); border-color: var(--forest); }
.swatch.on .sw-nm { color: var(--sand); font-weight: 600; }
.swatch:focus-within { border-color: var(--sage); }

/* the co-op's own colour — a native picker behind the row, with a
   spectrum dot so it reads as "anything you like" */
.swatch.pick .sw-dot {
  background:
    radial-gradient(circle at 50% 50%, var(--sw) 0 42%, transparent 43%),
    conic-gradient(#E05C4B, #F4A62A, #C8E08F, #4FA8A0, #4A79C9, #8B5CC7, #E05C4B);
}
.swatch.pick input[type=color] {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0; border: 0; padding: 0; cursor: pointer; width: 100%; height: 100%;
}

/* ---------- tier + category card additions ---------- */

/* ---------- cost estimator ---------- */
.estimator {
  display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center;
  margin-top: 22px; background: var(--sand-2); border: 1px solid var(--hair);
  border-radius: 22px; padding: 26px 30px;
}
.estq label {
  display: block; font-family: var(--display); font-size: 17px; font-weight: 700;
  letter-spacing: -0.03em; color: var(--forest); margin-bottom: 16px;
}
.estq input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 99px; background: linear-gradient(90deg, var(--leaf), var(--sage));
  outline: none; margin: 0;
}
.estq input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--forest); border: 3px solid var(--sand-2);
  box-shadow: 0 2px 8px rgba(15,61,50,0.3); cursor: pointer;
}
.estq input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--forest);
  border: 3px solid var(--sand-2); cursor: pointer;
}
.estq output {
  display: block; font-family: var(--display); font-size: 32px; font-weight: 700;
  letter-spacing: -0.04em; color: var(--forest); margin-top: 14px;
}
.estcalc { border-left: 1px solid var(--hair); padding-left: 34px; }
.eline { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; }
.eline + .eline { border-top: 1px solid var(--hair-2); }
.eline .ek { font-size: 13.5px; color: var(--slate); }
.eline .ev { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.eline.tot { border-top: 1px solid var(--forest); margin-top: 4px; padding-top: 13px; }
.eline.tot .ek { color: var(--forest); font-weight: 600; }
.eline.tot .ev { font-size: 26px; color: var(--forest); }
.estnote { font-size: 11.5px; line-height: 1.5; color: var(--slate); margin: 12px 0 0; }
.estnote span { color: var(--amber); font-weight: 600; }

/* ---------- cart additions ---------- */
.sumbar .sk { display: block; }
.sumbar .sblk:last-of-type .sv { color: var(--leaf); }

/* ---------- RESPONSIVE (configurator) ---------- */
@media (max-width: 1080px) {
  .estimator { grid-template-columns: 1fr; gap: 24px; }
  .estcalc { border-left: 0; border-top: 1px solid var(--hair); padding: 20px 0 0; }
}
/* This block used to un-stick both panes at 900px and reflow a
   .stage-controls column that no longer exists. It sat after the
   tablet rules above, so it quietly won and took iPad portrait with
   it. Only the estimator still needs anything here. */
@media (max-width: 900px) {
  .estimator { padding: 22px 20px; }
  .sw-nm { max-width: 96px; }
}

/* ============================================================
   THE LINEUP PAGE
   A product row, not a pricing table: each package gets a tinted
   preview, and the two actions surface on hover (always visible
   on touch, where there is no hover to reveal them).
   ============================================================ */
.ehero-lean { padding: 44px 0 38px; }
.ehero-lean-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 48px; align-items: center; }
.ehero-lean h1 {
  font-size: 56px; line-height: 1.02; margin: 18px 0 0;
  color: var(--forest); letter-spacing: -0.045em; text-wrap: balance;
}
.ehero-lean .lede {
  font-size: 17.5px; line-height: 1.6; color: var(--slate);
  margin: 18px 0 0; max-width: 620px; text-wrap: pretty;
}
.elean-stats { display: flex; gap: 40px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--hair); flex-wrap: wrap; }
.elean-stats b {
  display: block; font-family: var(--display); font-size: 27px; font-weight: 700;
  letter-spacing: -0.04em; color: var(--forest);
}
.elean-stats span { display: block; font-size: 12.5px; color: var(--slate); margin-top: 2px; }
.elean-art {
  /* a handset's proportions and corner, so the hero mark reads as the
     thing EcoKo actually is rather than as a card */
  background: linear-gradient(155deg, #123f34 0%, #0a2a22 100%);
  border-radius: 32px; padding: 26px 22px; text-align: center;
  aspect-ratio: 232 / 468; max-width: 232px; width: 100%; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  position: relative; box-shadow: 0 26px 60px rgba(14,42,36,0.28);
}
/* the speaker slot, as on the device */
.elean-art::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 42px; height: 4px; border-radius: 3px; background: rgba(247,245,237,0.18);
}
.elean-mark { display: block; width: 62px; height: 62px; margin: 0 auto 14px; }
.elean-by b { display: block; font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.04em; color: var(--sand); }
.elean-by span { display: block; font-size: 10.5px; line-height: 1.4; color: rgba(247,245,237,0.6); margin-top: 4px; }

.lhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.lhead h2 { font-size: 42px; line-height: 1.08; color: var(--forest); letter-spacing: -0.045em; }
.lsub { font-size: 16px; line-height: 1.6; color: var(--slate); margin: 16px 0 0; max-width: 760px; text-wrap: pretty; }
.lfoot { font-size: 11.5px; line-height: 1.5; color: var(--slate); margin: 22px 0 0; max-width: 820px; }

/* ---------- package rail ----------
   The studio site's sector-card treatment (assets/site.css
   .sector-card): a photo card under a forest scrim, a leaf icon
   tile top-left, copy set white over the image. Five packages sit
   in a scrolling rail rather than a cramped five-column grid.

   PHOTOS: each card's image is set per-package below. Drop real
   photography in at assets/images/ecoko/pkg-<id>.jpg and change
   the one url() line — nothing else needs to move.
   ------------------------------------------------------------ */
.prail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 288px;
  gap: 16px; margin-top: 34px; padding: 4px 40px 18px; overflow-x: auto;
  margin-left: -40px; margin-right: -40px;         /* bleed to the page edge */
  scroll-snap-type: x proximity; scrollbar-width: thin;
}
.prail::-webkit-scrollbar { height: 8px; }
.prail::-webkit-scrollbar-thumb { background: rgba(15,61,50,0.2); border-radius: 99px; }

.pcard {
  position: relative; overflow: hidden; scroll-snap-align: start;
  border-radius: 24px; min-height: 430px; padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background-size: cover; background-position: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(14,42,36,0.97) 0%, rgba(14,42,36,0.88) 34%,
    rgba(14,42,36,0.58) 62%, rgba(14,42,36,0.30) 84%, rgba(14,42,36,0.22) 100%);
}
.pcard > * { position: relative; z-index: 1; }
.pcard:hover, .pcard:focus-within { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(14,42,36,0.28); }
.pcard.picked { box-shadow: 0 0 0 2px var(--amber), 0 22px 44px rgba(14,42,36,0.28); }

/* per-package photograph — swap these five urls for real shots */
/* four packages now, per the flyer */
.pcard.i0 { background-image: url(images/sector-electric-cooperatives.jpg); background-position: 50% 78%; }
.pcard.i1 { background-image: url(images/hero.jpg);                         background-position: 22% 40%; }
.pcard.i2 { background-image: url(images/sector-electric-cooperatives.jpg); background-position: 12% 30%; }
.pcard.i3 { background-image: url(images/hero.jpg);                         background-position: 78% 60%; }

.pc-ic {
  position: absolute; top: 26px; left: 26px; z-index: 1;
  width: 44px; height: 44px; border-radius: 13px; color: var(--forest);
  background: var(--leaf); display: flex; align-items: center; justify-content: center;
}
.pflag {
  position: absolute; top: 32px; right: 26px; z-index: 1;
  background: var(--amber); color: #3A2400; border-radius: 999px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600; padding: 5px 10px;
}
.pc-body { display: flex; flex-direction: column; }
.pc-count {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--leaf); margin-bottom: 8px;
}
.pname { font-size: 25px; font-weight: 700; letter-spacing: -0.035em; color: #fff; line-height: 1.1; }
.ppitch { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,0.82); margin: 7px 0 0; }
.pprice {
  font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.04em;
  color: #fff; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.22);
}
.pprice .pk {
  display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.6); font-weight: 400; margin-bottom: 3px;
}
.pprice em {
  display: block; font-style: normal; font-family: var(--body); font-size: 11.5px;
  font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,0.72); margin-top: 3px;
}

/* the two actions, revealed on hover — always there for keyboard and touch */
.pacts { margin-top: 18px; display: grid; gap: 7px; }
.pacts .btn { width: 100%; padding: 11px 12px; font-size: 13.5px; }
.btn-signal { background: var(--leaf); color: var(--forest); }
.btn-signal:hover { background: #b8d3a1; }
.btn-glass { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.38); }
.btn-glass:hover { background: rgba(255,255,255,0.24); }
.pcard .pacts, .fcard .pacts {
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.pcard:hover .pacts, .pcard:focus-within .pacts,
.fcard:hover .pacts, .fcard:focus-within .pacts,
.pcard.picked .pacts { opacity: 1; transform: none; }
@media (hover: none) {
  .pcard .pacts, .fcard .pacts { opacity: 1; transform: none; }
}

/* ---------- "learn more" drawer ---------- */
.pdrop {
  background: var(--daylight); border: 1px solid var(--hair);
  border-radius: 22px; padding: 28px 30px; margin-top: 6px;
}
.pd-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 26px;
  padding-bottom: 22px; border-bottom: 1px solid var(--hair); margin-bottom: 24px; flex-wrap: wrap;
}
.pd-head h3 { font-size: 26px; letter-spacing: -0.04em; color: var(--forest); margin-top: 10px; }
.pd-head h3 span {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: none; color: var(--slate); font-weight: 400; margin-top: 6px;
}
.pd-acts { display: flex; gap: 9px; flex-wrap: wrap; }
.pd-cols { columns: 4; column-gap: 30px; }
.pdcat { break-inside: avoid; margin-bottom: 20px; }
.pdc-n {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--forest); letter-spacing: -0.02em;
  padding-bottom: 6px; border-bottom: 1px solid var(--hair-2); margin-bottom: 8px;
}
.pdc-n em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--slate); font-weight: 400; }
.pdcat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.pdcat li { font-size: 12.5px; line-height: 1.35; color: var(--ink); padding-left: 15px; position: relative; }
.pdcat li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--leaf);
}
.pdrop-f { font-size: 12.5px; line-height: 1.5; color: var(--slate); margin: 4px 0 0; }

/* ---------- feature cards ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 34px; align-items: start; }
.fcard {
  background: #fff; border: 1px solid var(--hair); border-radius: 22px;
  padding: 24px 22px; display: flex; flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.fcard:hover, .fcard:focus-within { border-color: rgba(15,61,50,0.3); box-shadow: 0 18px 38px rgba(15,61,50,0.1); transform: translateY(-3px); }
.fcard-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fname { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.035em; color: var(--forest); line-height: 1.2; }
.fcount {
  flex: none; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--forest);
  background: #EEF4EC; border-radius: 999px; padding: 4px 10px;
}
.fblurb { font-size: 13.5px; line-height: 1.5; color: var(--slate); margin: 9px 0 0; }
.flist { list-style: none; margin: 16px 0 14px; padding: 0; display: grid; gap: 0; }
.flist li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-size: 12.5px; line-height: 1.35; color: var(--ink); padding: 7px 0;
}
.flist li + li { border-top: 1px solid var(--hair-2); }
.flist em {
  flex: none; font-style: normal; font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 3px 8px;
  background: #F1F0EA; color: var(--slate);
}
.flist em.ft-starter    { background: #EEF4EC; color: #1F5D4C; }
.flist em.ft-foundation { background: #E9F0F3; color: #2C5F72; }
.flist em.ft-standard   { background: #FBF3E2; color: #8A5A00; }
.flist em.ft-ecoko      { background: var(--forest); color: var(--leaf); }
.fmeta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; color: var(--slate); }
.fmeta b { color: var(--forest); font-weight: 700; }

/* ============================================================
   BUILDER PAGE — step header, package strip, jump chips
   ============================================================ */
.bhead { padding: 24px 0 18px; }
.bhead-in { display: flex; align-items: flex-start; justify-content: space-between; gap: 34px; }
.bhead h1 { font-size: 31px; line-height: 1.08; letter-spacing: -0.045em; color: var(--forest); margin: 10px 0 0; text-wrap: balance; }
.bhead .lede { font-size: 14.5px; line-height: 1.55; color: var(--slate); margin: 8px 0 0; max-width: 620px; text-wrap: pretty; }
.bhead .hlname { color: var(--sage); }
.bback {
  flex: none; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--slate);
  border: 1px solid var(--hair); border-radius: 999px; padding: 10px 16px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.bback:hover { color: var(--forest); border-color: var(--forest); }
.bbuild { padding-top: 18px; }

/* ============================================================
   HANDOVER PAGE
   ============================================================ */
.rempty { text-align: center; padding: 70px 20px; }
.rempty h1 { font-size: 40px; letter-spacing: -0.045em; color: var(--forest); }
.rempty p { font-size: 17px; line-height: 1.6; color: var(--slate); margin: 16px auto 28px; max-width: 480px; }

.rscreens { padding: 40px 0 34px; }
.rstage {
  /* phone and summary share the top row, the dashboard runs the full
     width beneath — the earlier column split left a large void beside
     the handset and squeezed the dashboard into a third of the page */
  display: grid; grid-template-columns: auto 1fr;
  grid-template-areas: "phone side" "phone console";
  grid-template-rows: auto 1fr;
  gap: 22px 32px; align-items: start;
  background: linear-gradient(155deg, #123f34 0%, #0a2a22 100%);
  border-radius: 26px; padding: 28px 30px;
}
.rshot-phone   { grid-area: phone; }
.rside         { grid-area: side; }
.rshot-console { grid-area: console; }
.rshot { margin: 0; min-width: 0; }
.rshot figcaption {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(247,245,237,0.5); margin-bottom: 10px;
}
.rshot-console .dwin { height: 470px; }
/* the handset is the tallest thing here, so it spans both rows and
   the dashboard sits beside it rather than under a column of air */
.rshot-phone { align-self: start; }
.rside { color: var(--sand); min-width: 0; }
.rk {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(247,245,237,0.55);
}
.rtier { margin-top: 10px; }
.rtier b { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.04em; color: var(--leaf); display: block; }
.rtier span { font-size: 14px; color: rgba(247,245,237,0.72); display: block; margin-top: 2px; }
.rspec { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(247,245,237,0.18); display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; align-items: baseline; }
.rspec dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247,245,237,0.5); }
.rspec dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--sand); letter-spacing: -0.01em; }
.rspec dd b { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.03em; color: var(--leaf); }
.rspec dd em { font-style: normal; font-size: 11.5px; font-weight: 400; color: rgba(247,245,237,0.55); }
.racts { display: flex; gap: 9px; margin-top: 20px; flex-wrap: wrap; }
.racts .btn { color: var(--sand); border-color: rgba(247,245,237,0.35); font-size: 13.5px; padding: 11px 18px; }
.racts .btn:hover { border-color: var(--sand); background: rgba(247,245,237,0.1); }
.rhint { font-size: 11.5px; line-height: 1.5; color: rgba(247,245,237,0.5); margin: 14px 0 0; max-width: 340px; }

.rgrid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.rlist { margin-top: 22px; columns: 2; column-gap: 32px; }
.rgroup { break-inside: avoid; margin-bottom: 22px; }
.rg-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  font-size: 13.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--forest);
  padding-bottom: 7px; border-bottom: 1px solid var(--hair); margin-bottom: 8px;
}
.rg-h em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--slate); font-weight: 400; }
.rgroup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rgroup li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 12.5px; line-height: 1.35; color: var(--ink); }
.rgroup li em { flex: none; font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: #A8A79E; }

.rdropped { background: var(--daylight); border: 1px solid var(--hair); border-radius: 18px; padding: 22px 24px; margin-top: 8px; }
.rd-h { font-size: 14px; color: var(--ink); }
.rd-h b { font-family: var(--display); font-size: 17px; color: var(--amber); }
.rdropped ul { list-style: none; margin: 14px 0; padding: 0; display: flex; gap: 7px; flex-wrap: wrap; }
.rdropped li { font-size: 11.5px; color: var(--slate); border: 1px solid var(--hair); border-radius: 999px; padding: 5px 11px; }
.rdropped p { font-size: 12px; line-height: 1.5; color: var(--slate); margin: 0; }

.rformcol .jform { margin-top: 22px; }
.rdone-acts { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hair); }
.rdone-note { font-size: 11.5px; line-height: 1.5; color: var(--slate); margin: 12px 0 0; }
.rshots { margin-top: 24px; }
.rshot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.rshot-row figure { margin: 0; }
.rshot-row img { width: 100%; display: block; border: 1px solid var(--hair); border-radius: 12px; background: #fff; }
.rshot-row figcaption { font-family: var(--mono); font-size: 9px; letter-spacing: 0.05em; color: var(--slate); margin-top: 6px; word-break: break-all; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .pd-cols { columns: 3; }
}
@media (max-width: 1080px) {
  .fgrid { grid-template-columns: repeat(2,1fr); }
  .pd-cols { columns: 2; }
  .rgrid { grid-template-columns: 1fr; gap: 34px; }
  .rlist { columns: 2; }
  .rstage { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .ehero-lean-grid { grid-template-columns: 1fr; gap: 30px; }
  .ehero-lean h1 { font-size: 38px; }
  .lhead h2 { font-size: 30px; }
  .lhead { align-items: flex-start; }
  .fgrid { grid-template-columns: 1fr; }
  .prail { grid-auto-columns: 260px; padding-left: 20px; padding-right: 20px; margin-left: -20px; margin-right: -20px; }
  .pdrop { padding: 22px 20px; }
  .pd-cols { columns: 1; }
  .pd-head { align-items: flex-start; }
  .bhead-in { flex-direction: column; gap: 18px; }
  .bhead h1 { font-size: 30px; }
  .rempty h1 { font-size: 30px; }
  .rstage { padding: 22px 18px; }
  .rlist { columns: 1; }
  .rshot-row { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .rstage { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .dbody { grid-template-columns: 1fr; }
  .drail { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--hair-2); }
  .dr-lock { display: none; }
  .dnav { flex: none; white-space: nowrap; }
  .dtiles { grid-template-columns: repeat(2,1fr); }
  .dpanels { grid-template-columns: 1fr; }
  .dpanel.narrow, .dpanel:has(.dp-heat), .dpanel:has(.dp-bars) { grid-column: span 1; }
  .fx { grid-template-columns: 26px 1fr; }
  .fxt { grid-column: 2; justify-self: start; margin-top: 6px; }
}

/* ---------- a widget that has just been added ----------
   The shell stays put now, so the only thing that moves on screen is
   the widget itself. It gets one pass of a ring so the eye can find
   where the feature landed, and the device scrolls it into view. */
@keyframes justAdded {
  0%   { transform: scale(0.94); opacity: 0; }
  40%  { transform: none; opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@keyframes justAddedRing {
  0%, 70% { box-shadow: 0 0 0 2px var(--primary), 0 0 0 6px color-mix(in srgb, var(--primary) 22%, transparent); }
  100%    { box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent; }
}
.just-added {
  animation: justAdded 0.34s cubic-bezier(.2,.8,.3,1), justAddedRing 1.5s ease 0.1s;
  border-radius: 14px;
}
.ph-qt.just-added, .dtile.just-added, .dpanel.just-added { border-radius: 12px; }
@media (prefers-reduced-motion: reduce) {
  .just-added { animation: justAddedRing 1.2s ease; }
}

/* ============================================================
   HANDING IT OVER — two routes
   Both bring us the same list. The difference is whether the co-op
   keeps a live link or just the pictures.
   ============================================================ */
.paths { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 38px; }
.path {
  background: var(--sand-2); border: 1px solid var(--hair); border-radius: 22px;
  padding: 28px 26px; display: flex; flex-direction: column; cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.path:hover { border-color: rgba(15,61,50,0.32); box-shadow: 0 18px 38px rgba(15,61,50,0.09); transform: translateY(-2px); }
.path-k {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate);
}
.path h3 { font-size: 23px; letter-spacing: -0.035em; color: var(--forest); margin-top: 8px; }
.path > p { font-size: 14px; line-height: 1.55; color: var(--slate); margin: 10px 0 0; }
.path-list { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 8px; }
.path-list li { font-size: 13px; line-height: 1.4; color: var(--ink); padding-left: 18px; position: relative; }
.path-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--leaf);
}
.path .btn { margin-top: auto; width: 100%; }

.sendwrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; margin-top: 38px; align-items: start; }
.send-h {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--hair); margin-bottom: 22px;
}
.send-h h3 { font-size: 21px; letter-spacing: -0.035em; color: var(--forest); margin-top: 7px; }
.btn.sm { padding: 8px 14px; font-size: 13px; }
.sendside { min-width: 0; }
.sendside .rk { color: var(--slate); }
.sendside .rlist { columns: 1; margin-top: 16px; }

@media (max-width: 1080px) {
  .rstage { grid-template-columns: 1fr; grid-template-areas: "phone" "side" "console"; }
  .rshot-phone .shot.handset { display: flex; justify-content: center; }
  .sendwrap { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .paths { grid-template-columns: 1fr; }
  .rshot-console .dwin { height: 420px; }
}

/* ------------------------------------------------------------
   TOUCH
   Everything that revealed itself on hover has to be standing
   there already, and every target has to be thumb-sized.
   ------------------------------------------------------------ */
@media (hover: none) {
  .fx { min-height: 62px; }
  .fx:hover { background: transparent; border-color: transparent; }
  .fx.on:hover { background: #EFF5EC; border-color: rgba(31,93,76,0.16); }
  .fx:hover .fx-box { border-color: rgba(15,61,50,0.26); }
  .fx.on:hover .fx-box { background: var(--forest); border-color: var(--forest); color: var(--leaf); }
  .clrow { padding: 10px 15px; }
  .swatch { padding: 9px 13px 9px 11px; }
  .dtab { padding: 14px 16px; }
}

/* phones: the pair still fits two across, but only just */
@media (max-width: 480px) {
  .devpair { gap: 8px; }
  .dtab { padding: 10px 11px; gap: 8px; }
  .dt-dev { width: 24px; height: 26px; }
  .dt-phone i { width: 15px; height: 23px; }
  .dt-desk i { width: 25px; height: 18px; }
  .dt-tx b { font-size: 13px; }
  .dt-n { min-width: 24px; }
  .dt-n b { font-size: 18px; }
  .dt-n i { display: none; }
  .idhint { display: none; }
  .pairnote { font-size: 11.5px; margin-bottom: 12px; }
}
