/* ============================================================
   Currys Path — Shared Stylesheet
   Single design-language stylesheet for the whole site.
   Base tokens & components follow storage/care-repair.html.
   Page-specific tweaks are scoped under body classes:
     .page-care-repair / .page-instant-replacement /
     .page-mobile-insurance / .page-zagg / .app-shell (index.php tool)
   ============================================================ */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

.material-symbols-outlined{font-size:20px;font-variation-settings:'FILL' 0,'wght' 300,'OPSZ' 24;color:inherit;}


/* ── DESIGN TOKENS (base, from care-repair) ───────────── */

:root{
  --purple:#5B2A8C;
  --purple-deep:#3D1B61;
  --purple-soft:#F3EDFA;
  --purple-line:rgba(91,42,140,0.16);
  --yellow:#FFD23F;
  --pink:#FF6FA5;
  --green:#3DD598;
  --ink:#221A33;
  --ink2:rgba(34,26,51,0.62);
  --ink3:rgba(34,26,51,0.40);
  --bg:#FAF8FC;
  --surface:#FFFFFF;
  --border:rgba(34,26,51,0.09);
  --shadow:0 2px 10px rgba(61,27,97,0.07),0 1px 3px rgba(61,27,97,0.05);
  --ease:cubic-bezier(0.32,0.72,0,1);

  /* ── Mode accents (Path) ───────────────────────────────
     Journey = calm, single-focus, guided sell (edit PIN).
     Links   = bright, scannable directory (view PIN).      */
  --journey:#2E7D6B;
  --journey-deep:#1E5548;
  --journey-soft:#EAF5F2;
  --journey-line:rgba(46,125,107,0.18);
  --links-accent:#5B2A8C;
}

/* ── BASE RESET ───────────────────────────────────────── */

html,body{
  min-height:100dvh;overflow-x:hidden;
  background:var(--bg);color:var(--ink);
  font-family:'Inter',system-ui,sans-serif;
  -webkit-tap-highlight-color:transparent;
}


/* ── SHARED COMPONENTS (from care-repair) ─────────────── */

.hero{
  background:linear-gradient(165deg,var(--purple) 0%,var(--purple-deep) 100%);
  color:#fff;
  padding:32px 24px 32px;
  position:relative;overflow:hidden;
}

.hero::before{
  content:'';position:absolute;top:-60px;right:-60px;
  width:240px;height:240px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%, rgba(61,213,152,0.32), transparent 70%);
}

.hero::after{
  content:'';position:absolute;bottom:-90px;left:-40px;
  width:200px;height:200px;border-radius:50%;
  background:radial-gradient(circle at 60% 40%, rgba(255,210,63,0.25), transparent 70%);
}

.hero-inner{max-width:900px;margin:0 auto;padding:0 24px;position:relative;}

.hero-topbar{display:flex;justify-content:flex-end;margin-bottom:14px;}

.go-back-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#fff;text-decoration:none;background:rgba(255,255,255,0.16);border:1px solid rgba(255,255,255,0.35);border-radius:8px;padding:7px 12px;transition:background 0.15s;}

.go-back-link:hover{background:rgba(255,255,255,0.26);}

.go-back-link svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}

.hero-eyebrow{
  display:inline-flex;align-items:center;gap:7px;
  font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;
  color:var(--green);margin-bottom:14px;
}

.hero-eyebrow-dot{width:5px;height:5px;border-radius:50%;background:var(--green);}

.hero-title{
  font-size:38px;font-weight:800;letter-spacing:-1px;line-height:1.08;
  margin-bottom:14px;
}

.hero-sub{
  font-size:17px;line-height:1.55;color:rgba(255,255,255,0.86);
  max-width:480px;font-weight:400;
}

.content{max-width:900px;margin:0 auto;padding:0 24px 56px;}

.section-label{
  font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;
  color:var(--purple);margin:40px 0 16px;
}

.section-label:first-of-type{margin-top:36px;}

.benefit-grid{display:flex;flex-direction:column;gap:10px;}

.benefit-card{
  display:flex;gap:16px;align-items:flex-start;
  background:var(--surface);border:1px solid var(--border);
  border-radius:14px;padding:18px 20px;
  box-shadow:var(--shadow);
}

.benefit-icon{
  flex-shrink:0;width:42px;height:42px;border-radius:11px;
  display:flex;align-items:center;justify-content:center;
  background:var(--purple-soft);color:var(--purple);
}

.benefit-icon svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

.benefit-title{font-size:16px;font-weight:700;color:var(--ink);margin-bottom:4px;letter-spacing:-0.2px;}

.benefit-body{font-size:14.5px;line-height:1.55;color:var(--ink2);}

.stat-strip{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;
  margin:36px 0 8px;
}

.stat-box{
  background:var(--purple-soft);border-radius:14px;
  padding:18px 14px;text-align:center;
}

.stat-num{font-size:24px;font-weight:800;color:var(--purple);letter-spacing:-0.5px;line-height:1;}

.stat-label{font-size:11.5px;color:var(--ink2);margin-top:6px;line-height:1.35;font-weight:500;}

.note-block{
  margin-top:32px;display:flex;gap:12px;align-items:flex-start;
  background:#FFF8E8;border:1px solid rgba(255,210,63,0.4);
  border-radius:12px;padding:16px 18px;
}

.note-icon{flex-shrink:0;width:20px;height:20px;color:#A87900;margin-top:1px;}

.note-icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

.note-text{font-size:13.5px;line-height:1.55;color:#6B5400;}

.note-text strong{font-weight:700;}

.brand-footer{
  display:flex;align-items:center;justify-content:center;gap:8px;
  padding:24px 24px max(env(safe-area-inset-bottom),24px);
  font-size:12px;color:var(--ink3);font-weight:600;letter-spacing:0.5px;
}

.brand-footer-mark{width:16px;height:16px;border-radius:50%;background:var(--purple);}

.tabs-section{margin-top:40px;}

.tabs-label{
  font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;
  color:var(--purple);margin-bottom:16px;
}

.tab-bar{
  display:flex;gap:0;border-bottom:2px solid var(--border);
  margin-bottom:0;overflow-x:auto;scrollbar-width:none;
}

.tab-bar::-webkit-scrollbar{display:none;}

.tab-btn{
  flex:1;min-width:0;padding:11px 10px 13px;
  font-family:inherit;font-size:12.5px;font-weight:600;
  color:var(--ink2);background:none;border:none;
  border-bottom:3px solid transparent;margin-bottom:-2px;
  cursor:pointer;text-align:center;line-height:1.3;
  transition:color 0.15s,border-color 0.15s;
  white-space:normal;
}

.tab-btn:hover{color:var(--purple);}

.tab-btn.active{color:var(--purple);border-bottom-color:var(--purple);}

.tab-panel{display:none;padding-top:20px;}

.tab-panel.active{display:block;}

.excl-list{display:flex;flex-direction:column;gap:10px;margin-bottom:20px;}

.excl-item{
  display:flex;gap:14px;align-items:flex-start;
  background:var(--surface);border:1px solid var(--border);
  border-radius:14px;padding:16px 18px;box-shadow:var(--shadow);
}

.excl-icon{
  flex-shrink:0;width:36px;height:36px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
}

.excl-icon.yes{background:#E8F9F4;color:#1A8C6A;}

.excl-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}

.excl-title{font-size:15px;font-weight:700;color:var(--ink);margin-bottom:3px;letter-spacing:-0.1px;}

.excl-body{font-size:13.5px;line-height:1.5;color:var(--ink2);}

.detail-block{
  margin-top:6px;border:1px solid var(--border);
  border-radius:14px;overflow:hidden;background:var(--surface);
  box-shadow:var(--shadow);
}

.detail-heading{
  font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;
  color:var(--purple);padding:14px 18px 6px;
}

.detail-section{border-top:1px solid var(--border);padding:16px 18px;}

.detail-section:first-of-type{border-top:none;}

.detail-section-title{font-size:14px;font-weight:700;color:var(--ink);margin-bottom:6px;}

.detail-section-body{font-size:13.5px;line-height:1.6;color:var(--ink2);}

.footnotes{
  margin-top:16px;padding:14px 16px;
  background:var(--purple-soft);border-radius:12px;
  font-size:12px;line-height:1.6;color:var(--ink2);
}

.footnotes p{margin-top:4px;}

.footnotes p:first-child{margin-top:0;}

.footnotes a{color:var(--purple);font-weight:600;}

@media (max-width:480px){
  .hero{padding:70px 0 44px;}
  .hero-title{font-size:30px;}
  .content{padding:0 18px 48px;}
  .stat-strip{grid-template-columns:1fr;}
  .tab-btn{font-size:11.5px;padding:10px 8px 12px;}
}


/* ── INSTANT REPLACEMENT — page overrides ─────────────── */
/* Same hero-embedded tab treatment as Care & Repair, adapted for 4 tabs */

body.page-instant-replacement .hero{padding:26px 24px 0;}

body.page-instant-replacement .hero::before{background:radial-gradient(circle at 35% 35%, rgba(255,210,63,0.35), transparent 70%);pointer-events:none;}

body.page-instant-replacement .hero::after{background:radial-gradient(circle at 60% 40%, rgba(255,111,165,0.28), transparent 70%);pointer-events:none;}

body.page-instant-replacement .hero-inner{padding:unset;}

body.page-instant-replacement .hero-eyebrow{color:var(--yellow);}

body.page-instant-replacement .hero-eyebrow-dot{background:var(--yellow);flex-shrink:0;}

body.page-instant-replacement .hero-sub{max-width:900px;margin-bottom:28px;}

body.page-instant-replacement .tab-bar{gap:4px;position:relative;z-index:1;border-bottom:unset;margin-bottom:unset;overflow-x:unset;scrollbar-width:unset;flex-wrap:wrap;}

body.page-instant-replacement .tab-btn{flex:1 1 0;padding:12px 10px 14px;border-radius:12px 12px 0 0;font-size:12.5px;font-weight:700;transition:background 0.18s var(--ease), color 0.18s;color:rgba(255,255,255,0.6);background:rgba(255,255,255,0.08);letter-spacing:-0.2px;min-width:unset;border-bottom:unset;margin-bottom:unset;text-align:center;line-height:1.25;white-space:unset;}

body.page-instant-replacement .tab-btn:active{transform:scale(0.98);}

body.page-instant-replacement .tab-btn.active{background:var(--bg);border-bottom-color:unset;}
body.page-instant-replacement .tab-btn.active{color:var(--purple);}

body.page-instant-replacement .tab-panel{padding-top:unset;}

body.page-instant-replacement .section-label{margin:36px 0 14px;}

body.page-instant-replacement .stat-strip{margin:32px 0 4px;}

body.page-instant-replacement .benefit-card.complete-only{
  border-color:rgba(91,42,140,0.22);
  background:linear-gradient(135deg,#fff 70%,var(--purple-soft));
}

body.page-instant-replacement .benefit-card.complete-only .benefit-icon{
  background:var(--purple);color:#fff;
}

@media (max-width:480px){
body.page-instant-replacement .hero{padding:70px 18px 0;}
body.page-instant-replacement .hero-title{font-size:30px;}
body.page-instant-replacement .content{padding:0 18px 48px;}
body.page-instant-replacement .stat-strip{grid-template-columns:1fr;}
body.page-instant-replacement .tab-btn{flex:1 1 45%;font-size:11.5px;padding:10px 8px 12px;}
}


/* ── MOBILE INSURANCE — page overrides ────────────────── */

body.page-mobile-insurance .hero{padding:26px 24px 0;}

body.page-mobile-insurance .hero::before{background:radial-gradient(circle at 35% 35%, rgba(255,210,63,0.35), transparent 70%);pointer-events:none;}

body.page-mobile-insurance .hero::after{background:radial-gradient(circle at 60% 40%, rgba(255,111,165,0.28), transparent 70%);pointer-events:none;}

body.page-mobile-insurance .hero-inner{padding:unset;}

body.page-mobile-insurance .hero-eyebrow{color:var(--yellow);}

body.page-mobile-insurance .hero-eyebrow-dot{background:var(--yellow);flex-shrink:0;}

body.page-mobile-insurance .hero-sub{max-width:900px;margin-bottom:28px;}

body.page-mobile-insurance .tab-bar{gap:4px;position:relative;z-index:1;border-bottom:unset;margin-bottom:unset;overflow-x:unset;scrollbar-width:unset;}

body.page-mobile-insurance .tab-btn{padding:12px 16px 14px;border-radius:12px 12px 0 0;font-size:15px;font-weight:700;transition:background 0.18s var(--ease), color 0.18s;color:rgba(255,255,255,0.6);background:rgba(255,255,255,0.08);letter-spacing:-0.2px;min-width:unset;border-bottom:unset;margin-bottom:unset;text-align:unset;line-height:unset;white-space:unset;}

body.page-mobile-insurance .tab-btn:active{transform:scale(0.98);}

body.page-mobile-insurance .tab-btn.active{background:var(--bg);border-bottom-color:unset;}
body.page-mobile-insurance .tab-btn.active{color:var(--purple);}

body.page-mobile-insurance .tab-btn .tab-badge{
  display:inline-block;margin-left:7px;
  font-size:10px;font-weight:700;letter-spacing:0.5px;
  padding:2px 7px;border-radius:20px;
  background:var(--yellow);color:#6B4700;
  vertical-align:middle;line-height:1.4;
}

body.page-mobile-insurance .tab-btn:not(.active) .tab-badge{
  background:rgba(255,210,63,0.25);color:rgba(255,255,255,0.7);
}

body.page-mobile-insurance .tab-panel{padding-top:unset;}

body.page-mobile-insurance .section-label{margin:36px 0 14px;}

body.page-mobile-insurance .stat-strip{margin:32px 0 4px;}

body.page-mobile-insurance .benefit-card.complete-only{
  border-color:rgba(91,42,140,0.22);
  background:linear-gradient(135deg,#fff 70%,var(--purple-soft));
}

body.page-mobile-insurance .benefit-card.complete-only .benefit-icon{
  background:var(--purple);color:#fff;
}

body.page-mobile-insurance .note-block{margin-top:4px;}

body.page-mobile-insurance .note-text{font-size:14.5px;}

@media (max-width:480px){
body.page-mobile-insurance .hero{padding:70px 18px 0;}
body.page-mobile-insurance .hero-title{font-size:30px;}
body.page-mobile-insurance .content{padding:0 18px 48px;}
body.page-mobile-insurance .stat-strip{grid-template-columns:1fr;}
body.page-mobile-insurance .tab-btn{font-size:14px;padding:11px 10px 13px;}
}


/* ── CARE & REPAIR — page overrides ───────────────────── */
/* Same hero-embedded tab treatment as Mobile Insurance, adapted for 3 tabs */

body.page-care-repair .hero{padding:26px 24px 0;}

body.page-care-repair .hero::before{background:radial-gradient(circle at 35% 35%, rgba(255,210,63,0.35), transparent 70%);pointer-events:none;}

body.page-care-repair .hero::after{background:radial-gradient(circle at 60% 40%, rgba(255,111,165,0.28), transparent 70%);pointer-events:none;}

body.page-care-repair .hero-inner{padding:unset;}

body.page-care-repair .hero-sub{max-width:900px;margin-bottom:28px;}

body.page-care-repair .tab-bar{gap:4px;position:relative;z-index:1;border-bottom:unset;margin-bottom:unset;overflow-x:unset;scrollbar-width:unset;flex-wrap:wrap;}

body.page-care-repair .tab-btn{flex:1 1 0;padding:12px 12px 14px;border-radius:12px 12px 0 0;font-size:13.5px;font-weight:700;transition:background 0.18s var(--ease), color 0.18s;color:rgba(255,255,255,0.6);background:rgba(255,255,255,0.08);letter-spacing:-0.2px;min-width:unset;border-bottom:unset;margin-bottom:unset;text-align:center;line-height:1.25;white-space:unset;}

body.page-care-repair .tab-btn:active{transform:scale(0.98);}

body.page-care-repair .tab-btn.active{background:var(--bg);border-bottom-color:unset;}
body.page-care-repair .tab-btn.active{color:var(--purple);}

body.page-care-repair .tab-panel{padding-top:unset;}

body.page-care-repair .section-label{margin:36px 0 14px;}

body.page-care-repair .stat-strip{margin:32px 0 4px;}

body.page-care-repair .benefit-card.complete-only{
  border-color:rgba(91,42,140,0.22);
  background:linear-gradient(135deg,#fff 70%,var(--purple-soft));
}

body.page-care-repair .benefit-card.complete-only .benefit-icon{
  background:var(--purple);color:#fff;
}

@media (max-width:480px){
body.page-care-repair .hero{padding:70px 18px 0;}
body.page-care-repair .hero-title{font-size:30px;}
body.page-care-repair .content{padding:0 18px 48px;}
body.page-care-repair .stat-strip{grid-template-columns:1fr;}
body.page-care-repair .tab-btn{flex:1 1 45%;font-size:12.5px;padding:11px 8px 13px;}
}


/* ── ZAGG — page overrides ────────────────────────────── */

body.page-zagg .hero-inner{max-width:980px;padding:unset;}

body.page-zagg .hero-sub{max-width:900px;margin-bottom:24px;}

body.page-zagg .content{max-width:980px;}

body.page-zagg .section-label{margin:44px 0 6px;}

body.page-zagg .device-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-bottom:24px;scrollbar-width:none;-ms-overflow-style:none;}

body.page-zagg .device-tabs::-webkit-scrollbar{display:none;}

body.page-zagg .device-tab{flex-shrink:0;display:flex;align-items:center;gap:7px;font-family:inherit;font-size:13.5px;font-weight:700;color:var(--ink2);background:var(--surface);border:1.5px solid var(--border);border-radius:24px;padding:10px 16px;cursor:pointer;transition:all 0.15s var(--ease);}

body.page-zagg .device-tab svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

body.page-zagg .device-tab.active{background:var(--purple);border-color:var(--purple);color:#fff;box-shadow:0 4px 12px rgba(91,42,140,0.28);}

body.page-zagg .device-tab:not(.active):active{transform:scale(0.97);background:var(--purple-soft);}

body.page-zagg .film-panel{display:none;}

body.page-zagg .film-panel.active{display:block;animation:fadeIn 0.25s var(--ease);}

@keyframes fadeIn{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);}}

body.page-zagg .film-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}

@media(max-width:640px){
body.page-zagg .film-grid{grid-template-columns:1fr;}
}

body.page-zagg .film-card{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;}

body.page-zagg .film-card.is-premium{border-color:rgba(91,42,140,0.28);}

body.page-zagg .film-card:only-child{grid-column:1/-1;}

body.page-zagg .film-card-top{padding:20px 20px 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}

body.page-zagg .film-card-swatch{width:46px;height:46px;border-radius:13px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#fff;}

body.page-zagg .film-card-swatch svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

body.page-zagg .film-badge{font-size:10px;font-weight:800;letter-spacing:0.8px;text-transform:uppercase;padding:5px 9px;border-radius:7px;white-space:nowrap;}

body.page-zagg .film-badge.core{background:var(--purple-soft);color:var(--purple);}

body.page-zagg .film-badge.enhanced{background:#FFF3D6;color:#9A6B00;}

body.page-zagg .film-card-body{padding:0 20px 20px;flex:1;display:flex;flex-direction:column;}

body.page-zagg .film-card-name{font-size:18px;font-weight:800;letter-spacing:-0.3px;margin-bottom:5px;}

body.page-zagg .film-card-tagline{font-size:13px;font-weight:600;color:var(--purple);margin-bottom:10px;}

body.page-zagg .film-card-desc{font-size:13.5px;line-height:1.55;color:var(--ink2);margin-bottom:14px;}

body.page-zagg .film-card-features{display:flex;flex-direction:column;gap:7px;margin-top:auto;}

body.page-zagg .film-feature{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;color:var(--ink);font-weight:500;line-height:1.4;}

body.page-zagg .film-feature svg{width:15px;height:15px;flex-shrink:0;margin-top:1px;stroke:var(--green);fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;}

body.page-zagg .film-card-skus{margin-top:14px;padding-top:12px;border-top:1px dashed var(--border);display:flex;flex-direction:column;gap:10px;}

body.page-zagg .sku-block{}

body.page-zagg .sku-label{font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--ink3);margin-bottom:5px;}

body.page-zagg .sku-barcode-wrap{background:var(--purple-soft);border-radius:8px;padding:10px 10px 7px;display:flex;flex-direction:column;align-items:center;gap:4px;}

body.page-zagg .sku-bc{display:block;width:100%;height:48px;}

body.page-zagg .sku-bc-num{font-family:'SF Mono',ui-monospace,Menlo,Consolas,monospace;font-size:10px;font-weight:700;letter-spacing:0.8px;color:var(--ink2);}

body.page-zagg .sku-na{font-family:'SF Mono',ui-monospace,Menlo,Consolas,monospace;font-size:11px;font-weight:700;color:var(--ink3);background:var(--purple-soft);padding:6px 10px;border-radius:8px;display:inline-block;}

body.page-zagg .note-block{margin-top:36px;}

body.page-zagg .stat-num{font-size:22px;}

body.page-zagg .offers-table-wrap{overflow-x:auto;border-radius:16px;box-shadow:var(--shadow);margin-bottom:16px;}

body.page-zagg .offers-table{width:100%;border-collapse:collapse;background:var(--surface);font-size:13.5px;border-radius:16px;overflow:hidden;}

body.page-zagg .offers-table thead tr{background:var(--purple);color:#fff;}

body.page-zagg .offers-table th{padding:13px 14px;font-size:11px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;text-align:left;}

body.page-zagg .offers-table tbody tr{border-bottom:1px solid var(--border);transition:background 0.12s;}

body.page-zagg .offers-table tbody tr:last-child{border-bottom:none;}

body.page-zagg .offers-table tbody tr:hover{background:var(--purple-soft);}

body.page-zagg .offers-table td{padding:13px 14px;vertical-align:middle;line-height:1.4;}

body.page-zagg .offers-table td.oc{background:var(--purple-soft);white-space:nowrap;vertical-align:middle;padding:10px 14px;}

body.page-zagg .barcode{display:block;width:140px;height:52px;margin:0 auto;}

body.page-zagg .oc-num{font-family:'SF Mono',ui-monospace,Menlo,Consolas,monospace;font-size:11px;font-weight:700;color:var(--purple);text-align:center;margin-top:4px;}

body.page-zagg .offers-table td.price{font-size:15px;font-weight:800;color:var(--ink);white-space:nowrap;}

body.page-zagg .offers-table td.was{font-size:12px;color:var(--ink3);text-decoration:line-through;white-space:nowrap;}

body.page-zagg .ot{display:block;font-size:12px;color:var(--ink2);}

body.page-zagg .saving-badge{display:inline-block;background:#FFD23F22;color:#7A5A00;font-size:11.5px;font-weight:700;padding:4px 9px;border-radius:8px;white-space:nowrap;}

body.page-zagg .saving-badge--big{background:#E8F9F1;color:#1A7A4A;}

body.page-zagg .offers-note{font-size:13px;color:var(--ink2);line-height:1.5;text-align:center;margin-bottom:24px;padding:12px 16px;background:var(--purple-soft);border-radius:10px;}

body.page-zagg .wbw-card{display:flex;align-items:center;gap:20px;background:var(--surface);border:2px solid var(--purple);border-radius:16px;padding:18px 20px;box-shadow:var(--shadow);max-width:520px;}

body.page-zagg .wbw-card-left{flex:1;display:flex;flex-direction:column;gap:5px;}

body.page-zagg .wbw-label{font-size:18px;font-weight:900;letter-spacing:-0.3px;color:var(--purple);}

body.page-zagg .wbw-sub{font-size:13px;font-weight:600;color:var(--ink2);}

body.page-zagg .wbw-fallback{margin-top:6px;font-size:12px;color:var(--ink3);line-height:1.45;}

body.page-zagg .wbw-fallback strong{display:block;font-family:'SF Mono',ui-monospace,Menlo,Consolas,monospace;font-size:13px;color:var(--ink);margin-top:2px;letter-spacing:0.5px;}

body.page-zagg .wbw-barcode{height:100px;width:auto;display:block;flex-shrink:0;border-radius:6px;}

body.page-zagg .swatch-elite{background:linear-gradient(135deg,#5B2A8C,#7C4BB0);}

body.page-zagg .swatch-eliteMatte{background:linear-gradient(135deg,#3D1B61,#5B2A8C);}

body.page-zagg .swatch-extreme{background:linear-gradient(135deg,#221A33,#473762);}

body.page-zagg .swatch-ultraEco{background:linear-gradient(135deg,#2FAE7F,#3DD598);}

body.page-zagg .swatch-privacy{background:linear-gradient(135deg,#0E3B5C,#1C5E8C);}

@media(max-width:480px){
body.page-zagg .hero{padding:32px 18px;}
body.page-zagg .hero-title{font-size:30px;}
body.page-zagg .content{padding:0 18px 48px;}
body.page-zagg .stat-strip{grid-template-columns:1fr;}
}

@media(min-width:1100px){
body.page-zagg .hero{padding:56px 48px;}
body.page-zagg .hero-inner, body.page-zagg .content{max-width:1400px;}
body.page-zagg .hero-title{font-size:52px;}
body.page-zagg .hero-sub{font-size:19px;}
body.page-zagg .content{padding:0 48px 72px;}
body.page-zagg .stat-strip{margin:40px 0 8px;}
body.page-zagg .stat-box{padding:22px 18px;}
body.page-zagg .stat-num{font-size:26px;}
body.page-zagg .film-grid{grid-template-columns:repeat(3,1fr);gap:18px;}
body.page-zagg .film-card:only-child{grid-column:1/-1;max-width:480px;}
body.page-zagg .sku-bc{height:56px;}
body.page-zagg .offers-table th, body.page-zagg .offers-table td{padding:15px 18px;}
body.page-zagg .offers-table td.oc{padding:10px 18px;}
body.page-zagg .offers-table{font-size:14.5px;}
body.page-zagg .barcode{width:200px;height:56px;}
body.page-zagg .wbw-card{max-width:640px;padding:24px 28px;}
body.page-zagg .wbw-barcode{height:130px;}
body.page-zagg .wbw-label{font-size:22px;}
}



/* ============================================================
   APP SHELL — Currys "Path" internal sales tool (index.php)
   Everything below is scoped to body.app-shell so it never
   collides with the four customer-facing storage/ pages above.
   ============================================================ */


.app-shell{
--purple:#5B2A8C;
  --purple-deep:#3D1B61;
  --purple-soft:#F3EDFA;
  --purple-line:rgba(91,42,140,0.16);
  --yellow:#FFD23F;
  --pink:#FF6FA5;
  --green:#3DD598;

  --bg:#FAF8FC;
  --surface:#FFFFFF;
  --surface2:#F3EDFA;
  --surface3:#EBE3F7;
  --surface-stripe:#F8F5FD;
  --border:rgba(61,27,97,0.08);
  --border-md:rgba(61,27,97,0.13);
  --border-hi:rgba(61,27,97,0.22);
  --ink:#221A33;
  --ink2:rgba(34,26,51,0.58);
  --ink3:rgba(34,26,51,0.82);

  --accent:#5B2A8C;
  --accent-dim:#3D1B61;
  --accent-soft:rgba(91,42,140,0.10);
  --accent-glow:rgba(91,42,140,0.12);

  --cat-intro:#8B5CF6;
  --cat-build:#5B2A8C;
  --cat-policy:#C49A00;
  --cat-pitch:#D4407A;
  --cat-logistics:#2BA87A;
  --cat-addons:#C75D28;
  --cat-close:#6D28D9;

  --content-max:900px;

  --ease:cubic-bezier(0.32,0.72,0,1);
  --ease-spring:cubic-bezier(0.34,1.56,0.64,1);
  --shadow-card:0 1px 3px rgba(61,27,97,0.07),0 1px 2px rgba(61,27,97,0.05);
  --shadow-btn:0 2px 12px rgba(91,42,140,0.35);
  --shadow-chrome:0 2px 10px rgba(61,27,97,0.07),0 1px 3px rgba(61,27,97,0.05);
}

/* ── MODE: Journey (edit PIN) ───────────────────────────────
   Calm, single-colour, low-clutter theme for the guided
   structured sell journey. Bigger type, one accent, no
   competing category colours fighting for attention.        */
.app-shell.mode-journey{
  --purple:var(--journey);
  --purple-deep:var(--journey-deep);
  --purple-soft:var(--journey-soft);
  --accent:var(--journey);
  --accent-dim:var(--journey-deep);
  --accent-soft:rgba(46,125,107,0.10);
  --accent-glow:rgba(46,125,107,0.16);
  --bg:#F7FAF9;
  font-size:17px;
}

/* ── MODE: Links (view PIN) ─────────────────────────────────
   Bright, scannable directory theme — default palette, kept
   explicit here so it reads as a deliberate second mode.     */
.app-shell.mode-links{
  --purple:#5B2A8C;
  --purple-deep:#3D1B61;
  --accent:#5B2A8C;
  --accent-dim:#3D1B61;
}

body.app-shell{
min-height:100dvh;overflow-x:hidden;
  background:var(--bg);color:var(--ink);
  font-family:'Inter',system-ui,sans-serif;
  font-size:16px;
  -webkit-tap-highlight-color:transparent;
  user-select:none;
}

.material-symbols-outlined{font-size:20px;font-variation-settings:'FILL' 0,'wght' 300,'OPSZ' 24;color:inherit;}

.app-shell .app-header{
  background: linear-gradient(180deg, var(--purple-deep) 0%, var(--purple) 100%);
  width: 100%;
  padding-top: max(env(safe-area-inset-top), 14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.app-shell .header-inner{
  max-width: 900px; 
  margin: 0 auto;
  padding: 0 16px;
}

.app-shell .header-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  padding-bottom: 18px;
}

.app-shell .brand{display:flex;align-items:center;gap:10px;flex-shrink:0;}

.app-shell .brand-mark{
  width:30px;height:30px;border-radius:8px;
  background:rgba(255,255,255,0.15);border:1px solid rgba(255,255,255,0.25);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:opacity 0.15s,transform 0.15s var(--ease-spring);flex-shrink:0;
}

.app-shell .brand-mark:active{opacity:0.7;transform:scale(0.92);}

.app-shell .brand-mark svg{width:13px;height:13px;stroke:#FFFFFF;fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;}

.app-shell .brand-mark.logout-btn:hover{background:rgba(255,90,90,0.28);border-color:rgba(255,120,120,0.45);}

.app-shell .brand-mark.logout-btn:active{background:rgba(255,60,60,0.40);}

.app-shell .brand-name{
  font-size:11px;font-weight:700;letter-spacing:4px;text-transform:uppercase;
  color:rgba(255,255,255,0.55);
}

.app-shell .header-controls{display:flex;align-items:center;gap:7px;flex-shrink:0;}

.app-shell .ctrl-btn{
  height:32px;padding:0 12px;border-radius:20px;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.20);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:all 0.15s;
  color:rgba(255,255,255,0.75);
  font-size:11px;font-weight:600;letter-spacing:0.5px;gap:6px;
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  font-family:inherit;
}

.app-shell .ctrl-btn:active{background:rgba(255,255,255,0.22);transform:scale(0.94);}

.app-shell .ctrl-btn svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

.app-shell .ctrl-btn.edit-active{
  background:rgba(255,111,165,0.25);
  border-color:rgba(255,111,165,0.50);
  color:#FFBBD6;
}

.app-shell .step-curr{font-size:19px;font-weight:800;color:#FFFFFF;font-variant-numeric:tabular-nums;letter-spacing:-0.3px;}

.app-shell .step-div{font-size:10px;color:rgba(255,255,255,0.35);margin:0 1px;}

.app-shell .step-total{font-size:11px;font-weight:500;color:rgba(255,255,255,0.55);font-variant-numeric:tabular-nums;}

.app-shell .progress-bar{
  height:3px;display:flex;gap:2px;
  background:transparent;
  width:100%;
  max-width:900px;
  margin-inline:auto;
  padding-inline:16px;
  box-sizing:border-box;
}

.app-shell .seg{height:3px;border-radius:2px;background:rgba(255,255,255,0.15);transition:background 0.3s ease;flex:1;}

.app-shell .seg.done{background:rgba(255,255,255,0.40);opacity:1;}

.app-shell .seg.current{background:#FFFFFF;opacity:1;}

.app-shell .edit-banner{
  height:0;overflow:hidden;
  background:rgba(255,111,165,0.10);border-bottom:1px solid transparent;
  display:flex;align-items:center;justify-content:center;gap:6px;
  font-size:9px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--pink);
  transition:height 0.2s ease,border-color 0.2s,padding 0.2s;flex-shrink:0;
}

.app-shell .edit-banner.visible{height:28px;border-color:rgba(255,111,165,0.20);padding:0 16px;}

.app-shell .edit-banner-dot{width:4px;height:4px;border-radius:50%;background:var(--pink);animation:pulse 2s infinite;}

@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.3}}

.app-shell .screens-wrap{
  flex: 1;
  position: relative;
  background: var(--bg);
  max-width: 900px;
  margin: 0 auto;
}

.app-shell .screen{position:absolute;left:0;right:0;top:0;opacity:0;pointer-events:none;transform:translateX(100%);will-change:transform,opacity;}

.app-shell .screen.active{position:relative;opacity:1;pointer-events:all;transform:translateX(0);}

.app-shell .screen-scroll{padding:20px 18px 28px;display:flex;flex-direction:column;gap:14px;}

.app-shell .step-title{
  font-size:26px;font-weight:800;letter-spacing:-0.5px;
  color:var(--cat-color,var(--purple));
  line-height:1.15;flex-shrink:0;
}

.app-shell .placeholder-block{
  background:var(--surface2);border:1px solid var(--border-md);
  border-left:3px solid var(--cat-color,var(--purple));
  border-radius:9px;padding:12px 14px;flex-shrink:0;
  position:relative;
}

.app-shell .placeholder-text{
  font-size:14px;line-height:1.55;color:var(--ink2);font-style:italic;
  outline:none;min-height:1em;
}

.app-shell .placeholder-label{
  font-size:8px;font-weight:700;letter-spacing:2px;text-transform:uppercase;
  color:var(--accent-dim);opacity:0.75;margin-bottom:5px;
}

.app-shell .note-empty:not(.editing-mode .note-empty){display:none}

.app-shell .step-card{
  background:var(--surface);border:1px solid var(--border-md);
  border-left:3px solid var(--cat-color,var(--purple));
  border-radius:11px;overflow:hidden;
  display:flex;flex-direction:column;
  box-shadow:var(--shadow-card);
}

.app-shell .card-label{
  display:flex;align-items:center;gap:7px;padding:9px 16px;
  background:var(--surface2);border-bottom:1px solid var(--border);
  flex-shrink:0;
}

.app-shell .label-dot{width:5px;height:5px;border-radius:50%;flex-shrink:0;background:var(--purple);}

.app-shell .label-text{font-size:9px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:var(--accent-dim);}

.app-shell .bullet-list{padding:0;display:flex;flex-direction:column;}

.app-shell .bullet{
  display:flex;align-items:center;gap:12px;
  padding:14px 16px;
  border-bottom:1px solid var(--border);
  position:relative;transition:background 0.12s;
}

.app-shell .bullet:last-child{border-bottom:none;}

.app-shell .b-text{
  font-family:'Inter',system-ui,sans-serif;
  font-size:15px;line-height:1.6;color:rgba(34,26,51,0.65);font-weight:400;
  letter-spacing:-0.01em;outline:none;flex:1;
}

.app-shell .b-text b, .app-shell .b-text strong, .app-shell .placeholder-text b, .app-shell .placeholder-text strong, .app-shell .bb-tip-text b, .app-shell .bb-tip-text strong{font-weight:600;color:var(--ink);}

.app-shell .b-text i, .app-shell .b-text em, .app-shell .placeholder-text i, .app-shell .placeholder-text em, .app-shell .bb-tip-text i, .app-shell .bb-tip-text em{font-style:italic;}

.app-shell .b-text u, .app-shell .placeholder-text u, .app-shell .bb-tip-text u{text-decoration:underline;text-decoration-color:rgba(34,26,51,0.30);}

.app-shell .b-text mark, .app-shell .placeholder-text mark, .app-shell .bb-tip-text mark{background:rgba(255,210,63,0.30);color:var(--ink);border-radius:2px;padding:0 2px;}

.app-shell .bullet.is-info{padding:9px 16px;}

.app-shell .bullet.is-info .b-text{font-size:12px;line-height:1.5;color:var(--ink2);font-style:italic;font-weight:400;letter-spacing:0;}

.app-shell .tips-card{background:transparent;border:none;border-radius:0;overflow:visible;flex-shrink:0;box-shadow:none;}

.app-shell .tips-card.tips-card-empty{display:none;}

.app-shell.editing-mode .tips-card.tips-card-empty{display:block;}

.app-shell .tips-section-label{margin:0 0 2px;}

.app-shell .stat-box.is-tip-ghost{display:none;}

.app-shell.editing-mode .stat-box.is-tip-ghost{display:flex;}

.app-shell .bb-seed-block{background:var(--surface);border:1px solid rgba(61,213,152,0.25);border-left:3px solid rgba(61,213,152,0.55);border-radius:11px;overflow:hidden;flex-shrink:0;box-shadow:var(--shadow-card);}

.app-shell .bb-seed-header{display:flex;align-items:center;gap:7px;padding:8px 16px;background:rgba(61,213,152,0.07);border-bottom:1px solid rgba(61,213,152,0.14);}

.app-shell .bb-seed-icon{font-size:11px;opacity:0.75;}

.app-shell .bb-seed-label{font-size:9px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:var(--cat-logistics);opacity:0.85;}

.app-shell .bb-cat-buttons{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px;border-bottom:1px solid rgba(61,213,152,0.12);}

.app-shell .bb-cat-btn{display:flex;align-items:center;gap:5px;padding:6px 11px;border-radius:20px;background:var(--surface2);border:1px solid var(--border-md);color:var(--ink2);font-family:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:all 0.14s;-webkit-tap-highlight-color:transparent;}

.app-shell .bb-cat-btn:active{transform:scale(0.94);}

.app-shell .bb-cat-btn.active{background:rgba(61,213,152,0.12);border-color:var(--cat-logistics);color:var(--cat-logistics);}

.app-shell .bb-cat-icon{font-size:13px;}

.app-shell .bb-cat-label{font-size:11px;}

.app-shell .bb-tips-panel{display:none;flex-direction:column;}

.app-shell .bb-tips-panel.active{display:flex;}

.app-shell .bb-tip-row{display:flex;align-items:flex-start;gap:10px;padding:11px 14px;border-bottom:1px solid var(--border);}

.app-shell .bb-tip-row:last-child{border-bottom:none;}

.app-shell .bb-tip-num{font-size:9px;font-weight:700;color:var(--cat-logistics);opacity:0.7;min-width:12px;margin-top:3px;flex-shrink:0;}

.app-shell .bb-tip-text{font-family:'Inter',system-ui,sans-serif;font-size:15px;line-height:1.6;color:var(--ink2);font-style:italic;outline:none;flex:1;}

.app-shell .bb-tip-empty .bb-tip-text:empty::before{content:'No tip set';color:var(--border-hi);font-size:12px;font-style:italic;}

.app-shell body:not(.editing-mode) .bb-tips-panel.active .bb-tip-row.bb-tip-empty .bb-tip-text:empty{display:none;}

.app-shell.editing-mode .bb-tip-text[contenteditable="true"]{background:var(--surface3);border-radius:5px;padding:4px 8px;margin-left:-8px;border:1px solid var(--border-md);cursor:text;user-select:text;color:var(--ink);font-style:normal;}

.app-shell.editing-mode .bb-tip-text[contenteditable="true"]:focus{border-color:var(--cat-logistics);background:var(--surface);box-shadow:0 0 0 2px rgba(61,213,152,0.20);}

.app-shell .fmt-toolbar{
  position:fixed;z-index:3000;
  display:flex;align-items:center;gap:2px;
  padding:5px 6px;
  background:var(--surface);border:1px solid var(--border-hi);
  border-radius:9px;
  box-shadow:0 6px 24px rgba(61,27,97,0.18),0 1px 4px rgba(61,27,97,0.10);
  opacity:0;pointer-events:none;
  transform:translateY(4px);
  transition:opacity 0.15s ease,transform 0.15s var(--ease-spring);
  user-select:none;
}

.app-shell .fmt-toolbar.visible{opacity:1;pointer-events:all;transform:translateY(0);}

.app-shell .fmt-btn{width:30px;height:30px;border-radius:6px;border:none;background:transparent;color:var(--ink2);font-family:'Inter',system-ui,sans-serif;font-size:13px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background 0.1s,color 0.1s,transform 0.1s;flex-shrink:0;-webkit-tap-highlight-color:transparent;}

.app-shell .fmt-btn:hover{background:var(--surface2);color:var(--ink);}

.app-shell .fmt-btn:active{transform:scale(0.88);}

.app-shell .fmt-btn.fmt-active{background:var(--accent-soft);color:var(--accent-dim);}

.app-shell .fmt-btn svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}

.app-shell .fmt-sep{width:1px;height:18px;background:var(--border-md);margin:0 3px;flex-shrink:0;}

.app-shell .fmt-btn-highlight{position:relative;}

.app-shell .fmt-btn-highlight .hl-swatch{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);width:16px;height:3px;border-radius:1px;background:rgba(255,210,63,0.8);}

.app-shell.editing-mode .b-text[contenteditable="true"]{background:var(--surface3);border-radius:5px;padding:4px 8px;margin-left:-8px;border:1px solid var(--border-md);cursor:text;user-select:text;color:var(--ink);}

.app-shell.editing-mode .b-text[contenteditable="true"]:focus{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 2px var(--accent-soft);}

.app-shell.editing-mode .placeholder-text[contenteditable="true"]{font-style:normal;color:var(--ink3);background:var(--surface3);border-radius:4px;padding:3px 5px;border:1px solid var(--border-md);cursor:text;user-select:text;}

.app-shell.editing-mode .placeholder-text[contenteditable="true"]:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft);}

.app-shell.editing-mode .note-empty{display:block!important;}

.app-shell .b-delete{width:18px;height:18px;border-radius:4px;background:transparent;border:none;color:var(--ink2);font-size:11px;cursor:pointer;display:none;align-items:center;justify-content:center;flex-shrink:0;opacity:0.5;transition:opacity 0.1s,color 0.1s;}

.app-shell.editing-mode .b-delete{display:flex;}

.app-shell .b-delete:hover{opacity:1;color:var(--pink);}

.app-shell .benefit-card.bullet-ghost{display:none;cursor:pointer;opacity:0.4;transition:opacity 0.15s;}

.app-shell.editing-mode .benefit-card.bullet-ghost{display:flex;}

.app-shell .bullet-ghost:hover{opacity:0.8;}

.app-shell .b-text-ghost{font-size:13px;color:var(--ink2);font-style:italic;}

.app-shell body:not(.editing-mode) .bullet-list{cursor:pointer;}

.app-shell .save-toast{
  position:fixed;bottom:max(env(safe-area-inset-bottom),16px);left:50%;transform:translateX(-50%) translateY(10px);
  background:var(--surface);border:1px solid var(--purple);border-radius:20px;
  padding:7px 16px;font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--accent-dim);opacity:0;pointer-events:none;
  box-shadow:var(--shadow-card);
  transition:opacity 0.2s,transform 0.2s;z-index:500;
}

.app-shell .save-toast.show{opacity:1;transform:translateX(-50%) translateY(0);}

.app-shell .choice-grid{display:flex;flex-direction:column;gap:9px;}

.app-shell .choice-card{
  background:var(--surface);border:1px solid var(--border-md);border-radius:14px;
  padding:16px 18px;cursor:pointer;display:flex;align-items:center;gap:14px;
  transition:transform 0.12s var(--ease-spring),background 0.15s,border-color 0.15s;
  box-shadow:var(--shadow-card);
}

.app-shell .choice-card:active{transform:scale(0.97);}

.app-shell .choice-card:focus-visible{outline:2px solid var(--purple);outline-offset:2px;}

.app-shell .choice-icon-wrap{width:42px;height:42px;border-radius:11px;background:var(--surface2);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px;border:1px solid var(--border-md);}

.app-shell .choice-title{font-size:15px;font-weight:600;color:var(--ink);line-height:1.2;}

.app-shell .choice-desc{font-size:13px;color:var(--ink2);margin-top:3px;line-height:1.4;}

.app-shell .choice-card.sel-blue{border-color:var(--purple);background:var(--accent-soft);box-shadow:0 0 0 1px var(--purple),0 0 16px var(--accent-glow);}

.app-shell .choice-card.sel-blue .choice-icon-wrap{background:var(--accent-soft);border-color:var(--purple);}

.app-shell .choice-card.sel-green{border-color:var(--green);background:rgba(61,213,152,0.08);box-shadow:0 0 0 1px var(--green),0 0 16px rgba(61,213,152,0.10);}

.app-shell .choice-card.sel-green .choice-icon-wrap{background:rgba(61,213,152,0.10);border-color:var(--green);}

.app-shell .choice-card.sel-amber{border-color:#C49A00;background:rgba(255,210,63,0.08);box-shadow:0 0 0 1px #C49A00,0 0 12px rgba(255,210,63,0.08);}

.app-shell .choice-card.sel-amber .choice-icon-wrap{background:rgba(255,210,63,0.12);border-color:#C49A00;}

.app-shell .choice-card.sel-muted{border-color:var(--border-hi);background:var(--surface2);}

.app-shell .screen.is-choice-screen .step-title::after{
  content:'Tap a card to continue';
  display:block;font-size:11px;font-weight:600;letter-spacing:0.3px;
  color:var(--ink2);margin-top:6px;text-transform:none;
}

.app-shell #step-0 .screen-scroll{
  padding:24px 16px 36px;
  gap:20px;
}

.app-shell .intro-section-head{
  display:flex;align-items:center;gap:10px;
  padding:0 2px;
}

.app-shell .intro-section-label{
  font-size:10px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;
  color:var(--ink2);flex:1;
}

.app-shell #assistedJourneys .section-label{
  font-size:10px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;
  color:var(--ink2);margin-bottom:10px;
}

.app-shell #assistedJourneys .choice-grid{
  gap:10px;
}

.app-shell #assistedJourneys .choice-card{
  border-radius:16px;
  padding:18px 20px;
  gap:16px;
}

.app-shell #assistedJourneys .choice-icon-wrap{
  width:48px;height:48px;border-radius:13px;font-size:22px;
}

.app-shell #assistedJourneys .choice-title{font-size:16px;font-weight:700;}

.app-shell #assistedJourneys .choice-desc{font-size:13px;}

.app-shell .resources-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:11px;
}

@media(min-width:540px){
.app-shell .resources-grid{grid-template-columns:repeat(3,1fr);}
}

@media(min-width:720px){
.app-shell .resources-grid{grid-template-columns:repeat(4,1fr);}
}

.app-shell .resources-grid .pitch-launch{
  position:relative;
  display:flex;flex-direction:column;align-items:flex-start;gap:0;
  background:var(--surface);
  border:1px solid var(--border-md);
  border-radius:18px;
  padding:0;
  text-decoration:none;cursor:pointer;
  box-shadow:0 1px 3px rgba(61,27,97,0.06), 0 1px 2px rgba(61,27,97,0.04);
  transition:
    transform 0.22s var(--ease-spring),
    border-color 0.18s,
    box-shadow 0.22s var(--ease-spring),
    background 0.18s;
  overflow:hidden;
  text-align:left;
  min-height:130px;
}

.app-shell .resources-grid .pitch-launch-icon{
  width:100%;height:76px;
  border-radius:0;
  background:var(--purple-soft);
  color:var(--accent-dim);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  transition:background 0.22s, transform 0.22s var(--ease-spring);
  border-bottom:1px solid var(--border);
}

.app-shell .resources-grid .pitch-launch-icon svg{
  width:32px;height:32px;
  stroke:currentColor;fill:none;
  stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
  transition:transform 0.22s var(--ease-spring);
}

.app-shell .resources-grid .pitch-launch-text{
  flex:1;padding:11px 13px 12px;width:100%;
}

.app-shell .resources-grid .pitch-launch-title{
  font-size:13px;font-weight:700;
  color:var(--ink);
  letter-spacing:-0.15px;line-height:1.25;
}

.app-shell .resources-grid .pitch-launch-desc{
  font-size:11.5px;font-weight:400;
  color:var(--ink2);
  line-height:1.4;margin-top:3px;
}

.app-shell .resources-grid .pitch-launch-arrow{
  position:absolute;top:8px;right:8px;
  width:22px;height:22px;
  background:rgba(255,255,255,0.72);
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  border-radius:7px;
  border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  color:var(--ink2);opacity:0;
  transition:opacity 0.18s, background 0.18s, transform 0.18s var(--ease-spring);
}

.app-shell .resources-grid .pitch-launch-arrow svg{
  width:11px;height:11px;
  stroke:currentColor;fill:none;stroke-width:2.4;
  stroke-linecap:round;stroke-linejoin:round;
}

@media(hover:hover){
.app-shell .resources-grid .pitch-launch:hover{
    transform:translateY(-4px) scale(1.025);
    border-color:rgba(91,42,140,0.28);
    box-shadow:
      0 12px 32px rgba(91,42,140,0.16),
      0 3px 8px rgba(91,42,140,0.10),
      0 0 0 1px rgba(91,42,140,0.08);
    background:var(--surface);
  }
.app-shell .resources-grid .pitch-launch:hover .pitch-launch-icon{
    background:var(--surface3);
  }
.app-shell .resources-grid .pitch-launch:hover .pitch-launch-icon svg{
    transform:scale(1.12);
  }
.app-shell .resources-grid .pitch-launch:hover .pitch-launch-arrow{
    opacity:1;
    transform:translate(1px,-1px);
  }
}

.app-shell .resources-grid .pitch-launch:active{
  transform:scale(0.96);
  box-shadow:0 1px 4px rgba(61,27,97,0.08);
}

.app-shell .resources-grid .pitch-launch[data-accent="green"] .pitch-launch-icon{
  background:rgba(61,213,152,0.10);color:var(--cat-logistics);
}

.app-shell .resources-grid .pitch-launch[data-accent="amber"] .pitch-launch-icon{
  background:rgba(255,210,63,0.12);color:#9A7200;
}

.app-shell .resources-grid .pitch-launch[data-accent="pink"] .pitch-launch-icon{
  background:rgba(255,111,165,0.10);color:#C03070;
}

.app-shell .resources-grid .pitch-launch[data-accent="blue"] .pitch-launch-icon{
  background:rgba(91,42,140,0.08);color:var(--purple);
}

.app-shell .resources-grid .pitch-launch[data-accent="teal"] .pitch-launch-icon{
  background:rgba(14,165,233,0.09);color:#0369A1;
}

.app-shell .resources-grid .pitch-launch[data-accent="orange"] .pitch-launch-icon{
  background:rgba(249,115,22,0.10);color:#C2410C;
}

@media(hover:hover){
.app-shell .resources-grid .pitch-launch[data-accent="green"]:hover .pitch-launch-icon{background:rgba(61,213,152,0.18);}
.app-shell .resources-grid .pitch-launch[data-accent="amber"]:hover .pitch-launch-icon{background:rgba(255,210,63,0.20);}
.app-shell .resources-grid .pitch-launch[data-accent="pink"]:hover .pitch-launch-icon{background:rgba(255,111,165,0.18);}
.app-shell .resources-grid .pitch-launch[data-accent="blue"]:hover .pitch-launch-icon{background:rgba(91,42,140,0.14);}
.app-shell .resources-grid .pitch-launch[data-accent="teal"]:hover .pitch-launch-icon{background:rgba(14,165,233,0.16);}
.app-shell .resources-grid .pitch-launch[data-accent="orange"]:hover .pitch-launch-icon{background:rgba(249,115,22,0.18);}
}

.app-shell .pitch-launch{
  display:flex;align-items:center;gap:12px;
  background:var(--surface);border:1px solid var(--border-md);
  border-radius:14px;padding:14px 16px;
  text-decoration:none;cursor:pointer;
  box-shadow:var(--shadow-card);
  transition:transform 0.12s var(--ease-spring),border-color 0.15s,background 0.15s;
  flex-shrink:0;
}

.app-shell .pitch-launch:active{transform:scale(0.98);}

.app-shell .pitch-launch-icon{flex-shrink:0;width:40px;height:40px;border-radius:11px;background:var(--purple-soft);color:var(--accent-dim);display:flex;align-items:center;justify-content:center;}

.app-shell .pitch-launch-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

.app-shell .pitch-launch-text{flex:1;min-width:0;}

.app-shell .pitch-launch-title{font-size:13.5px;font-weight:600;color:var(--ink);letter-spacing:-0.1px;}

.app-shell .pitch-launch-sub{font-size:11.5px;color:var(--ink2);margin-top:1px;}

.app-shell .pitch-launch-arrow{flex-shrink:0;width:15px;height:15px;color:var(--ink2);}

.app-shell .pitch-launch-arrow svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}

.app-shell .footer-left{display:flex;align-items:center;gap:8px;flex-shrink:0;}

.app-shell .back-btn{
  width:40px;height:40px;border-radius:50%;background:transparent;border:1px solid var(--border-md);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;opacity:0;pointer-events:none;
  transition:opacity 0.2s,background 0.12s,transform 0.12s var(--ease-spring);
}

.app-shell .back-btn.visible{opacity:1;pointer-events:all;}

.app-shell .back-btn:active{background:var(--surface2);transform:scale(0.92);}

.app-shell .back-btn svg{width:17px;height:17px;stroke:var(--ink3);fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}

.app-shell .next-step-preview{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;opacity:0;transition:opacity 0.25s;}

.app-shell .next-step-preview.visible{opacity:1;}

.app-shell .nsp-label{font-size:8.5px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--ink2);}

.app-shell .nsp-name{font-size:12px;font-weight:600;color:var(--accent-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.app-shell .footer-right{display:flex;align-items:center;flex-shrink:0;}

.app-shell .next-btn{
  width:44px;height:44px;border-radius:50%;background:var(--purple);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  box-shadow:var(--shadow-btn);transition:transform 0.12s var(--ease-spring),opacity 0.2s;
}

.app-shell .next-btn:active{transform:scale(0.9);}

.app-shell .next-btn svg{width:18px;height:18px;stroke:#FFFFFF;fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;}

.app-shell .next-btn.is-hidden{opacity:0;pointer-events:none;visibility:hidden;}

.app-shell .complete{
  position:fixed;inset:0;background:var(--bg);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:5px;padding:40px;text-align:center;
  opacity:0;pointer-events:none;
  transition:opacity 0.35s;
  z-index:250;
  visibility:hidden;
}

.app-shell .complete.active{opacity:1;pointer-events:all;visibility:visible;}

.app-shell .complete-mark{width:56px;height:56px;border-radius:14px;background:var(--accent-soft);border:1px solid var(--purple);display:flex;align-items:center;justify-content:center;margin-bottom:12px;}

.app-shell .complete-mark svg{width:26px;height:26px;stroke:var(--accent-dim);fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}

.app-shell .complete-title{font-size:32px;font-weight:800;letter-spacing:-1.5px;color:var(--ink);}

.app-shell .complete-sub{font-size:14px;color:var(--ink2);line-height:1.65;max-width:240px;margin-top:6px;}

.app-shell .restart-btn{margin-top:22px;padding:11px 26px;background:transparent;border:1px solid var(--border-md);border-radius:20px;color:var(--ink2);font-size:9px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;cursor:pointer;font-family:inherit;transition:background 0.15s,border-color 0.15s,color 0.15s;}

.app-shell .restart-btn:hover, .app-shell .restart-btn.confirming{background:var(--accent-soft);border-color:var(--purple);color:var(--accent-dim);}

.app-shell .pin-modal-wrap{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;background:rgba(34,26,51,0.55);opacity:0;pointer-events:none;transition:opacity 0.2s;}

.app-shell .pin-modal-wrap.visible{opacity:1;pointer-events:all;}

.app-shell .pin-modal{background:var(--surface);border:1px solid var(--border-md);border-radius:20px;padding:30px 26px 22px;width:min(340px,92vw);display:flex;flex-direction:column;align-items:center;gap:22px;box-shadow:0 10px 40px rgba(61,27,97,0.22);}

.app-shell .pin-logo{width:44px;height:44px;border-radius:11px;background:var(--purple);display:flex;align-items:center;justify-content:center;}

.app-shell .pin-logo svg{width:20px;height:20px;stroke:#FFFFFF;fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;}

.app-shell .pin-title{font-size:17px;font-weight:700;color:var(--ink);letter-spacing:-0.3px;}

.app-shell .pin-sub{font-size:13px;color:var(--ink2);text-align:center;line-height:1.5;margin-top:-14px;}

.app-shell .pin-dots{display:flex;gap:14px;justify-content:center;}

.app-shell .pin-dot{width:13px;height:13px;border-radius:50%;border:2px solid var(--border-hi);background:transparent;transition:background 0.15s,border-color 0.15s,transform 0.15s var(--ease-spring);}

.app-shell .pin-dot.filled{background:var(--purple);border-color:var(--purple);transform:scale(1.15);}

.app-shell .pin-dot.error{background:var(--pink);border-color:var(--pink);}

.app-shell .pin-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;width:100%;}

.app-shell .pin-key{height:56px;border-radius:11px;background:var(--surface2);border:1px solid var(--border-md);display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:20px;font-weight:600;color:var(--ink);transition:background 0.1s,transform 0.1s var(--ease-spring);user-select:none;}

.app-shell .pin-key:active{background:var(--surface3);transform:scale(0.93);}

.app-shell .pin-key-del{font-size:14px;color:var(--ink2);}

.app-shell .pin-key-blank{pointer-events:none;background:transparent;border-color:transparent;}

.app-shell .pin-actions{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:-6px;}

.app-shell .pin-action-btn{width:100%;padding:13px;border-radius:20px;font-family:inherit;cursor:pointer;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;transition:background 0.15s,border-color 0.15s,color 0.15s,transform 0.1s var(--ease-spring);}

.app-shell .pin-action-btn:active{transform:scale(0.97);}

.app-shell .pin-action-view{background:var(--purple);border:1px solid var(--purple);color:#FFFFFF;order:-1;}

.app-shell .pin-action-view:hover{opacity:0.92;}

.app-shell .pin-action-enter{background:transparent;border:1px solid var(--border-md);color:var(--ink2);font-size:10px;}

.app-shell .pin-action-enter:hover{background:var(--surface2);color:var(--ink);}

.app-shell .pin-error-msg{font-size:10px;color:var(--pink);font-weight:600;letter-spacing:1px;text-align:center;min-height:14px;transition:opacity 0.2s;}

.app-shell .chrome-btn{
  position:fixed;top:max(env(safe-area-inset-top),16px);
  z-index:998;display:flex;align-items:center;gap:7px;
  height:38px;padding:0 14px 0 12px;border-radius:20px;
  background:rgba(255,255,255,0.88);backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border:1px solid var(--border);box-shadow:var(--shadow-chrome);
  color:var(--ink2);font-size:13px;font-weight:600;
  text-decoration:none;cursor:pointer;
  transition:background 0.15s,transform 0.12s var(--ease),color 0.15s,opacity 0.2s;
  font-family:inherit;
}

.app-shell .chrome-btn:active{transform:scale(0.96);background:#FFFFFF;}

.app-shell .chrome-btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}

.app-shell #backBtn.chrome-btn{
  left:16px;
  left:max(16px, calc(50% - (var(--content-max) / 2) + 16px));
  opacity:0;pointer-events:none;
}

.app-shell #backBtn.chrome-btn.visible{opacity:1;pointer-events:all;}

.app-shell #nextBtn.chrome-btn{
  padding:0 14px 0 16px;
  right:16px;
  right:max(16px, calc(50% - (var(--content-max) / 2) + 16px));
}

.app-shell #nextBtn.chrome-btn.is-hidden{opacity:0;pointer-events:none;}

.app-shell .app-header.hero{
  background:linear-gradient(165deg,var(--purple) 0%,var(--purple-deep) 100%);
  color:#fff;padding:114px 22px 39px;position:sticky;top:0;overflow:hidden;
}

.app-shell .app-header.hero::before{
  content:'';position:absolute;top:-60px;right:-60px;
  width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%, rgba(255,210,63,0.30), transparent 70%);
  pointer-events:none;
}

.app-shell .app-header.hero::after{
  content:'';position:absolute;bottom:-90px;left:-40px;
  width:200px;height:200px;border-radius:50%;
  background:radial-gradient(circle at 60% 40%, rgba(255,111,165,0.25), transparent 70%);
  pointer-events:none;
}

.app-shell .hero-inner{position:relative;}

.app-shell .hero-eyebrow{
  display:inline-flex;align-items:center;gap:7px;
  font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;
  color:var(--yellow);margin-bottom:12px;
}

.app-shell .hero-eyebrow-dot{width:5px;height:5px;border-radius:50%;background:var(--yellow);flex-shrink:0;}

.app-shell .hero-title{
  font-size:28px;font-weight:800;letter-spacing:-0.8px;line-height:1.1;
  margin-bottom:8px;min-height:1.1em;
}

.app-shell .hero-sub{
  font-size:14px;line-height:1.5;color:rgba(255,255,255,0.82);
  font-weight:400;max-width:900px;min-height:1.2em;
}

.app-shell .hero-sub:empty{display:none;}

.app-shell .hero-controls{
  display:flex;align-items:center;gap:7px;
  position:fixed;top:max(env(safe-area-inset-top),16px);
  left:50%;transform:translateX(-50%);
  z-index:998;
}

.app-shell .stat-strip{display:flex;flex-wrap:wrap;gap:10px;}

.app-shell .stat-box{
  background:var(--purple-soft);
  border:1px solid var(--border-hi);
  border-radius:14px;
  padding:14px 14px;flex:1 1 140px;min-width:120px;
  display:flex;align-items:flex-start;gap:8px;position:relative;
}

.app-shell .stat-box .b-delete{position:absolute;top:6px;right:6px;}

.app-shell .stat-label{font-size:11.5px;color:var(--ink2);line-height:1.4;font-weight:500;outline:none;flex:1;}

.app-shell .stat-box-ghost{
  background:transparent;border:1.5px dashed var(--border-hi);
  align-items:center;justify-content:center;cursor:pointer;opacity:0.6;
}

.app-shell .stat-box-ghost:hover{opacity:1;}

.app-shell .section-label{
  font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;
  color:var(--purple);margin:2px 0 2px;
}

.app-shell .benefit-grid{display:flex;flex-direction:column;gap:10px;}

.app-shell .benefit-card{
  display:flex;gap:14px;align-items:center;
  background:var(--surface);
  border:1px solid var(--border-hi);
  border-radius:14px;padding:16px 18px;
  box-shadow:var(--shadow-card);
}

.app-shell .benefit-icon{
  flex-shrink:0;width:36px;height:36px;border-radius:11px;
  display:flex;align-items:center;justify-content:center;position:relative;
  background:var(--purple-soft);color:var(--purple);
}

.app-shell .benefit-icon svg{width:36px;height:36px;position:absolute;top:0;left:0;stroke:currentColor;fill:none;stroke-width:1.6;}

.app-shell .benefit-icon-num{position:relative;font-size:14px;font-weight:800;color:var(--purple);}

.app-shell .benefit-text-wrap{flex:1;min-width:0;display:flex;align-items:center;}

.app-shell .benefit-body{
  font-size:14.5px;line-height:1.55;color:var(--ink);font-weight:400;
}

.app-shell .benefit-card.bullet-ghost{
  background:transparent;border:1.5px dashed var(--border-hi);box-shadow:none;
  align-items:center;justify-content:center;cursor:pointer;opacity:0.55;padding:14px 18px;
}

.app-shell .benefit-card.bullet-ghost:hover{opacity:1;}

.app-shell .brand-footer{
  display:flex;align-items:center;justify-content:center;gap:9px;
  padding:16px 24px max(env(safe-area-inset-bottom),16px);
  font-size:12px;color:var(--ink3);font-weight:600;letter-spacing:0.5px;
  background:var(--bg);border-top:1px solid var(--border-md);
  flex-shrink:0;position:sticky;bottom:0;z-index:10;
}

.app-shell .brand-footer-mark{width:16px;height:16px;border-radius:50%;background:var(--purple);flex-shrink:0;}

.app-shell .brand-footer-edit{margin-left:auto;}

.app-shell .brand-footer-print{text-decoration:none;color:inherit;}

@media (max-width:480px){
.app-shell .app-header.hero{padding:102px 16px 33px;}
.app-shell .hero-title{font-size:23px;}
}

.app-shell .step-pill{
  display:flex;align-items:center;gap:4px;
  padding:18px 14px;text-align:center;
  background:var(--purple-soft);border-radius:14px;
  border:1px solid rgba(255,255,255,0.20);
}

.app-shell .app{
  display:flex;
  flex-direction:column;
  min-height:100dvh;
  max-width:100%;
  overflow-x:hidden;
}

.app-shell .app-header{
  background:linear-gradient(180deg,var(--purple-deep) 0%,var(--purple) 100%);
  width:100%;
  padding-top:max(env(safe-area-inset-top),14px);
  position:sticky;
  top:0;
  z-index:10;
  overflow:hidden;
}

.app-shell .app-header::before{
  content:'';position:absolute;top:-55px;right:-50px;
  width:180px;height:180px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%, rgba(61,213,152,0.30), transparent 70%);
  pointer-events:none;
}

.app-shell .app-header::after{
  content:'';position:absolute;bottom:-60px;left:-30px;
  width:150px;height:150px;border-radius:50%;
  background:radial-gradient(circle at 60% 40%, rgba(255,210,63,0.24), transparent 70%);
  pointer-events:none;
}

.app-shell .hero-inner, .app-shell .screens-wrap, .app-shell .brand-footer, .app-shell .edit-banner{
  width:100%;
  max-width:900px;
  margin-inline:auto;
  padding-inline:16px;
  box-sizing:border-box;
}

.app-shell .app-footer{
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px max(env(safe-area-inset-bottom), 10px);
  background: var(--bg);
  border-top: 1px solid var(--border-md);
}

.app-shell #backBtn{ opacity: 0; pointer-events: none; }

.app-shell #backBtn.visible{ opacity: 1; pointer-events: all; }

.app-shell #nextBtn.is-hidden{ opacity: 0; pointer-events: none; }

.app-shell .app-footer{
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px max(env(safe-area-inset-bottom), 10px);
  background: var(--bg);
  border-top: 1px solid var(--border-md);
}

.app-shell .footer-btn{
  display: flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 20px;
  border-radius: 22px;
  background: var(--purple);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border: none;
  transition: opacity 0.2s, transform 0.12s var(--ease-spring);
}

.app-shell .footer-btn:active{ transform: scale(0.95); }

.app-shell .footer-btn svg{
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

.app-shell #backBtn{ opacity: 0; pointer-events: none; background: transparent; border: 1px solid var(--border-md); color: var(--ink2); }

.app-shell #backBtn.visible{ opacity: 1; pointer-events: all; }

.app-shell #nextBtn.is-hidden{ opacity: 0; pointer-events: none; }

.app-shell [data-pin-restrict]{display:none;}

.app-shell .auth-gate{
  position:fixed;inset:0;z-index:9999;
  background:linear-gradient(180deg,var(--purple-deep) 0%,var(--purple) 100%);
  display:flex;align-items:center;justify-content:center;
  opacity:1;transition:opacity 0.3s;
}

.app-shell .auth-gate.dismissed{opacity:0;pointer-events:none;}

.app-shell .auth-card{
  background:var(--surface);border-radius:24px;
  padding:36px 28px 28px;width:min(340px,92vw);
  display:flex;flex-direction:column;align-items:center;gap:20px;
  box-shadow:0 20px 60px rgba(0,0,0,0.3);
}

.app-shell .auth-logo{
  width:52px;height:52px;border-radius:14px;background:var(--purple);
  display:flex;align-items:center;justify-content:center;
}

.app-shell .auth-logo svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;}

.app-shell .auth-title{font-size:20px;font-weight:800;color:var(--ink);letter-spacing:-0.5px;}

.app-shell .auth-sub{font-size:13px;color:var(--ink2);text-align:center;margin-top:-12px;}

.app-shell .auth-dots{display:flex;gap:14px;}

.app-shell .auth-dot{width:13px;height:13px;border-radius:50%;border:2px solid var(--border-hi);background:transparent;transition:background 0.15s,border-color 0.15s,transform 0.15s var(--ease-spring);}

.app-shell .auth-dot.filled{background:var(--purple);border-color:var(--purple);transform:scale(1.15);}

.app-shell .auth-dot.error{background:var(--pink);border-color:var(--pink);}

.app-shell .auth-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;width:100%;}

.app-shell .auth-key{height:56px;border-radius:11px;background:var(--surface2);border:1px solid var(--border-md);display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:20px;font-weight:600;color:var(--ink);transition:background 0.1s,transform 0.1s var(--ease-spring);user-select:none;}

.app-shell .auth-key:active{background:var(--surface3);transform:scale(0.93);}

.app-shell .auth-key-del{font-size:14px;color:var(--ink2);}

.app-shell .auth-key-blank{pointer-events:none;background:transparent;border-color:transparent;}

.app-shell .auth-error{font-size:10px;color:var(--pink);font-weight:600;letter-spacing:1px;text-align:center;min-height:14px;}

.app-shell .jump-drop{
  position:fixed;top:0;left:50%;transform:translateX(-50%);
  width:min(400px,100vw);
  background:var(--surface);border:1px solid var(--border-hi);
  border-radius:0 0 16px 16px;
  box-shadow:0 8px 32px rgba(61,27,97,0.18);
  z-index:500;
  max-height:70dvh;overflow-y:auto;
  opacity:0;pointer-events:none;
  transform:translateX(-50%) translateY(-12px);
  transition:opacity 0.2s ease,transform 0.2s var(--ease-spring);
}

.app-shell .jump-drop.visible{
  opacity:1;pointer-events:all;
  transform:translateX(-50%) translateY(0);
}

.app-shell .jump-drop-inner{padding:8px 0 10px;}

.app-shell .jump-item{
  display:flex;align-items:center;gap:11px;
  padding:11px 18px;cursor:pointer;
  transition:background 0.1s;
  font-size:13px;font-weight:500;color:var(--ink2);
}

.app-shell .jump-item:active{background:var(--surface2);}

.app-shell .jump-item.is-current{color:var(--purple);font-weight:700;background:var(--accent-soft);}

.app-shell .jump-item.is-done{color:var(--ink2);opacity:0.6;}

.app-shell .jump-num{
  font-size:10px;font-weight:700;color:var(--ink2);
  min-width:22px;text-align:right;opacity:0.45;font-variant-numeric:tabular-nums;
}

.app-shell .jump-item.is-current .jump-num{color:var(--purple);opacity:0.7;}

.app-shell .jump-dot{
  width:7px;height:7px;border-radius:50%;flex-shrink:0;
  background:var(--border-hi);
}

.app-shell .jump-item.is-current .jump-dot{background:var(--purple);}

.app-shell .jump-item.is-done .jump-dot{background:var(--green);opacity:0.7;}

.app-shell #heroTitle{cursor:pointer;user-select:none;transition:opacity 0.15s;}

.app-shell #heroTitle:active{opacity:0.7;}

.app-shell .jump-scrim{
  position:fixed;inset:0;z-index:499;
  background:transparent;
  display:none;
}

.app-shell .jump-scrim.visible{display:block;}

.app-shell #editBtn{ display: none; }

.app-shell #heroTitle{ pointer-events: none; }
/* ============================================================
   TWO-MODE OVERHAUL — mode tag, collapsible resources,
   journey-mode readability boosts, bigger touch targets.
   ============================================================ */

/* Small chrome label under the header title showing which
   experience is active. Text is static in the markup; only
   visibility is switched per mode. */
.app-shell .mode-tag{
  display:none;
  align-items:center;gap:5px;
  font-size:10px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;
  color:rgba(255,255,255,0.72);
  margin-top:2px;
}
.app-shell .mode-tag-dot{width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0;}
.app-shell.mode-links .tag-links{display:inline-flex;}
.app-shell.mode-journey .tag-journey{display:inline-flex;}
.app-shell .header-title-wrap{display:flex;flex-direction:column;align-items:center;}

/* ── Links mode: category quick-filter chips above the grid ── */
.app-shell .cat-filter-row{
  display:flex;gap:8px;overflow-x:auto;padding:2px 2px 4px;
  scrollbar-width:none;
}
.app-shell .cat-filter-row::-webkit-scrollbar{display:none;}
.app-shell .cat-filter-chip{
  flex-shrink:0;padding:9px 16px;border-radius:20px;
  background:var(--surface);border:1px solid var(--border-md);
  font-size:13px;font-weight:700;color:var(--ink2);cursor:pointer;
  transition:background 0.15s,color 0.15s,border-color 0.15s;
  -webkit-tap-highlight-color:transparent;white-space:nowrap;
}
.app-shell .cat-filter-chip.active{background:var(--accent);border-color:var(--accent);color:#fff;}
.app-shell.mode-journey .cat-filter-row{display:none;}

/* ── Collapsible "more resources" wrapper (native <details>) ── */
.app-shell .resources-details{margin-top:4px;}
.app-shell .resources-details summary{
  list-style:none;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:14px 16px;border-radius:14px;
  background:var(--surface);border:1px solid var(--border-md);
  box-shadow:var(--shadow-card);
  -webkit-tap-highlight-color:transparent;
}
.app-shell .resources-details summary::-webkit-details-marker{display:none;}
.app-shell .resources-details summary .rd-label{font-size:14px;font-weight:700;color:var(--ink);}
.app-shell .resources-details summary .rd-sub{font-size:12px;color:var(--ink2);font-weight:500;margin-top:1px;}
.app-shell .resources-details summary .rd-chev{
  width:22px;height:22px;flex-shrink:0;color:var(--ink2);
  transition:transform 0.2s var(--ease);
}
.app-shell .resources-details[open] summary .rd-chev{transform:rotate(180deg);}
.app-shell .resources-details .rd-body{padding-top:16px;display:flex;flex-direction:column;gap:14px;}

/* In Links mode the collapsible is redundant — force it open,
   flat, and hide the toggle affordance so everything is visible
   at a glance for colleagues who just want the directory. */
.app-shell.mode-links .resources-details summary{display:none;}
.app-shell.mode-links .resources-details .rd-body{padding-top:0;}

/* In Journey mode resources start tucked away so the two
   Assisted Journey cards are the only real decision on screen. */
.app-shell.mode-journey #assistedJourneys{margin-bottom:22px;}
.app-shell.mode-journey .intro-section-label{font-size:11px;}

/* ── Journey mode: calmer, larger, steadier ─────────────────── */
.app-shell.mode-journey .step-title{font-size:22px;line-height:1.25;}
.app-shell.mode-journey .b-text{font-size:16px;line-height:1.65;}
.app-shell.mode-journey .benefit-card{padding:20px 22px;border-radius:16px;}
.app-shell.mode-journey .choice-card{padding:20px 22px;border-radius:18px;}
.app-shell.mode-journey .footer-btn{height:52px;padding:0 26px;font-size:15px;border-radius:26px;}
.app-shell.mode-journey .app-header{background:linear-gradient(180deg,var(--purple-deep) 0%,var(--purple) 100%);}
.app-shell.mode-journey .screen-scroll{gap:18px;}

/* Step progress readout — "Step X of Y" — journey mode only. */
.app-shell .step-progress-readout{
  display:none;
  font-size:11px;font-weight:600;color:rgba(255,255,255,0.65);
  margin-top:2px;letter-spacing:0.2px;
}
.app-shell.mode-journey .step-progress-readout.visible{display:block;}

/* Bigger, calmer auth keypad — benefits everyone on an iPad,
   matters most for the neurodiverse-facing journey PIN. */
.app-shell .auth-key, .app-shell .pin-key{font-size:24px;}
