
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --black: #0A0A0A; --white: #FFFFFF; --bg: #0B0B0D;
      --green: #1A3526; --green-mid: #2A5540; --green-light: #E4EDE7;
      --gray: #888; --gray-light: #E8E8E6;
      --font: 'Inter', sans-serif; --display: 'Archivo', sans-serif; --cerise:#E64966; --cerise-deep:#C4234D; --cerise-hover:#A81B45; --cerise-tint:#FBE9EF; --surface:#15151A; --text:#E6E9ED; --textmut:#9AA0A6; --bord:rgba(255,255,255,.12); --r: 16px; --r-sm: 10px;
    }
    html, body { height: 100%; background: var(--bg); font-family: var(--font); color: var(--black); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
    #app { max-width: 480px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }

    /* NAV */
    .nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; background: var(--bg); position: sticky; top: 0; z-index: 20; }
    .nav-logo { display: inline-flex; align-items: center; line-height: 0; }
    .nav-logo img { height: 22px; width: auto; display: block; }
    .nav-back { display: none; align-items: center; gap: 4px; background: none; border: none; font-family: var(--font); font-size: 14px; font-weight: 700; cursor: pointer; padding: 6px 0; }
    .nav-back.visible { display: flex; }

    /* SCREENS */
    .screen { display: none; flex: 1; padding: 4px 20px 110px; animation: up .2s ease; }
    .screen.active { display: block; }
    @keyframes up { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

    /* BOTTOM NAV */
    .bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: var(--bg); border-top: 1px solid var(--gray-light); padding: 10px 20px 20px; display: flex; gap: 10px; z-index: 20; }
    .bottom-nav.hidden { display: none; }
    .bnav-btn { flex: 1; padding: 15px 10px; font-family: var(--font); font-size: 13px; font-weight: 700; border-radius: var(--r-sm); border: none; cursor: pointer; }
    .bnav-btn.primary { background: var(--black); color: var(--white); }
    .bnav-btn.secondary { background: var(--white); color: var(--black); border: 2px solid var(--gray-light); }

    /* HOME */
    .home-hero { padding: 28px 0 20px; }
    .home-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
    .home-title { font-size: 34px; font-weight: 900; line-height: 1.12; margin-bottom: 12px; letter-spacing: -.01em; }
    .home-sub { font-size: 15px; color: var(--gray); line-height: 1.55; }
    .home-divider { height: 1px; background: var(--gray-light); margin: 28px 0; }
    .home-cta-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; }
    .home-actions { display: flex; flex-direction: column; gap: 10px; }
    .home-stats { display: flex; gap: 8px; margin-top: 28px; }
    .stat-chip { flex: 1; background: var(--white); border-radius: var(--r-sm); padding: 14px 12px; text-align: center; }
    .stat-num { font-size: 22px; font-weight: 900; }
    .stat-label { font-size: 11px; font-weight: 600; color: var(--gray); margin-top: 2px; }
    .btn-black { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 24px; background: var(--black); color: var(--white); font-family: var(--font); font-size: 15px; font-weight: 800; border: none; border-radius: var(--r); cursor: pointer; }
    .btn-white { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 24px; background: var(--white); color: var(--black); font-family: var(--font); font-size: 15px; font-weight: 800; border: 2px solid var(--gray-light); border-radius: var(--r); cursor: pointer; }
    .btn-arrow { font-size: 20px; opacity: .5; }

    /* DIAGNOSE */
    .diagnose-progress { display: flex; gap: 6px; margin: 8px 0 26px; }
    .prog-seg { height: 4px; border-radius: 2px; background: var(--gray-light); flex: 1; transition: background .3s; }
    .prog-seg.done { background: var(--black); }
    .diagnose-q { font-size: 24px; font-weight: 900; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 8px; }
    .diagnose-hint { font-size: 14px; color: var(--gray); line-height: 1.5; margin-bottom: 24px; }
    .options-list { display: flex; flex-direction: column; gap: 10px; }
    .option-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 18px 20px; background: var(--white); border: 2px solid transparent; border-radius: var(--r); cursor: pointer; text-align: left; font-family: var(--font); width: 100%; transition: border-color .12s, background .12s; }
    .option-card:active { border-color: var(--black); background: var(--bg); }
    .option-text { font-size: 15px; font-weight: 700; line-height: 1.3; }
    .option-sub { font-size: 12px; color: var(--gray); margin-top: 3px; font-weight: 500; line-height: 1.4; }
    .option-arrow { font-size: 20px; color: var(--gray); flex-shrink: 0; }

    /* RESULTS */
    .results-header { padding: 22px 0 18px; }
    .results-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
    .results-title { font-size: 26px; font-weight: 900; line-height: 1.2; letter-spacing: -.01em; }
    .results-sub { font-size: 14px; margin-top: 8px; line-height: 1.5; margin-bottom: 20px; background: var(--green-light); padding: 12px 14px; border-radius: var(--r-sm); color: var(--green); font-weight: 500; }
    .results-browse-link { text-align: center; margin-top: 8px; }
    .results-browse-link button { background: none; border: none; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--gray); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

    /* DRILL CARD */
    .drill-card { background: var(--white); border-radius: var(--r); padding: 20px; margin-bottom: 10px; cursor: pointer; border: 2px solid transparent; transition: border-color .12s; }
    .drill-card:active { border-color: var(--black); }
    .drill-card-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
    .drill-card-name { font-size: 17px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
    .drill-card-fix { font-size: 13px; color: var(--gray); margin-top: 4px; line-height: 1.4; font-weight: 500; }
    .drill-card-arrow { font-size: 22px; color: var(--gray-light); flex-shrink: 0; }
    .drill-card-tags { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }

    /* TAGS */
    .tag { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; display: inline-block; }
    .tag-cat   { background: var(--gray-light); color: #555; }
    .tag-begin { background: #E3F2E8; color: #1B6B38; }
    .tag-inter { background: #FEF4D3; color: #8B6010; }
    .tag-adv   { background: #FDECEA; color: #B02F20; }

    /* BROWSE */
    .browse-header { padding: 20px 0 4px; }
    .browse-title { font-size: 26px; font-weight: 900; letter-spacing: -.01em; }
    .browse-sub { font-size: 14px; color: var(--gray); margin-top: 6px; }
    .category-pills { display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; padding: 16px 0 10px; }
    .category-pills::-webkit-scrollbar { display: none; }
    .pill { flex-shrink: 0; padding: 9px 16px; border-radius: 100px; font-size: 12px; font-weight: 700; cursor: pointer; border: 2px solid var(--gray-light); background: var(--white); color: var(--black); font-family: var(--font); white-space: nowrap; transition: all .12s; }
    .pill.active { background: var(--black); color: var(--white); border-color: var(--black); }

    /* DRILL DETAIL */
    .detail-header { padding: 20px 0 14px; }
    .detail-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--gray); margin-bottom: 10px; }
    .detail-name { font-size: 30px; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 10px; }
    .detail-fix { font-size: 15px; color: var(--gray); line-height: 1.55; margin-bottom: 18px; font-weight: 500; }
    .detail-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
    .blueprint-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--green-light); color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 5px 12px; border-radius: 100px; text-transform: uppercase; }

    /* DIAGRAM */
    .drill-diagram { width: 100%; border-radius: var(--r); overflow: hidden; margin-bottom: 20px; }
    .drill-diagram svg { display: block; width: 100%; height: auto; }
    .drill-diagram img { display: block; width: 100%; height: auto; }
    .diagram-caption { background: var(--green); padding: 8px 14px; font-family: var(--font); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 10px; }
    .diagram-legend { display: flex; gap: 14px; margin-left: auto; }
    .legend-item { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.55); }
    .legend-swatch { width: 12px; height: 5px; border-radius: 2px; }
    .legend-swatch.spray { background: white; }
    .legend-swatch.ball  { background: #FFFAE8; border: 1px solid rgba(0,0,0,0.4); border-radius: 50%; width: 10px; height: 10px; }

    /* STEPS */
    .section-label { font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; }
    .steps-list { display: flex; flex-direction: column; margin-bottom: 24px; }
    .step { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 20px; position: relative; }
    .step:not(:last-child)::after { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--gray-light); }
    .step-num { flex-shrink: 0; width: 28px; height: 28px; background: var(--black); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; position: relative; z-index: 1; }
    .step-body { flex: 1; padding-top: 3px; }
    .step-text { font-size: 15px; line-height: 1.6; font-weight: 500; }
    .step-text strong { font-weight: 800; }

    /* VARIATION */
    .variation-box { background: var(--green-light); border-radius: var(--r); padding: 18px; margin-bottom: 28px; }
    .variation-label { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-mid); margin-bottom: 8px; }
    .variation-text { font-size: 14px; line-height: 1.6; color: var(--green); font-weight: 500; }
    .variation-text strong { font-weight: 800; }

    /* DRILL NAV */
    .drill-nav { display: flex; gap: 10px; margin-top: 4px; }
    .drill-nav-btn { flex: 1; padding: 14px; font-family: var(--font); font-size: 13px; font-weight: 700; border-radius: var(--r-sm); border: 2px solid var(--gray-light); background: var(--white); color: var(--black); cursor: pointer; text-align: center; }
    .drill-nav-btn:disabled { opacity: .3; cursor: default; }

    /* --- v3 dark theme: Ink bg + Cerise + Archivo/Inter --- */
    .nav-logo,.home-title,.diagnose-q,.results-title,.browse-title,.detail-name,.drill-card-name,.stat-num,.home-eyebrow,.results-eyebrow,.detail-eyebrow,.section-label,.btn-black,.btn-white,.bnav-btn,.pill,.tag,.blueprint-badge,.home-cta-label,.variation-label{font-family:var(--display);}
    .btn-black,.btn-white,.bnav-btn{text-transform:uppercase;letter-spacing:.04em;}
    body{background:var(--bg);color:var(--text);}
    .nav{background:var(--bg);}
    .nav-back{color:var(--text);}
    .bottom-nav{background:var(--bg);border-top-color:var(--bord);}
    .home-title,.diagnose-q,.results-title,.browse-title,.detail-name,.drill-card-name,.stat-num,.step-text,.option-text,.home-cta-label,.nav-logo{color:var(--text);}
    .home-sub,.diagnose-hint,.stat-label,.browse-sub,.drill-card-fix,.detail-fix,.option-sub,.section-label,.option-arrow,.drill-card-arrow,.results-browse-link button{color:var(--textmut);}
    .home-eyebrow,.results-eyebrow,.detail-eyebrow{color:var(--cerise);}
    .stat-chip,.option-card,.drill-card{background:var(--surface);}
    .pill{background:var(--surface);color:var(--text);border-color:var(--bord);}
    .btn-white,.bnav-btn.secondary{background:transparent;color:var(--text);border-color:var(--bord);}
    .btn-black,.bnav-btn.primary{background:var(--cerise-deep);color:#fff;}
    .step-num{background:var(--cerise-deep);color:#fff;}
    .home-divider{background:var(--bord);}
    .step:not(:last-child)::after{background:var(--bord);}
    .prog-seg{background:var(--bord);}
    .prog-seg.done{background:var(--cerise);}
    .tag-cat{background:rgba(255,255,255,.08);color:#cdd0d4;}
    .results-sub{background:rgba(255,255,255,.05);color:var(--text);}
    .blueprint-badge{background:rgba(230,73,102,.16);color:var(--cerise);}
    .variation-box{background:rgba(255,255,255,.05);}
    .variation-label{color:var(--cerise);}
    .variation-text{color:#cdd0d4;}
    .variation-text strong{color:var(--text);}
    .option-card:active{border-color:var(--cerise);background:var(--surface);}
    .drill-card:active{border-color:var(--cerise);}
    .pill.active{background:var(--cerise-deep);border-color:var(--cerise-deep);color:#fff;}
    /* ═══ NO-SCROLL SHELL ═══════════════════════════════════════ */
    html, body { overflow: hidden; }
    /* The frame is sized to the viewport by Velo on the Wix page. The app fills
       it up to 900px and then centres, so a laptop gets an edge-to-edge app and
       a 27" gets the same app centred with background above and below. */
    body { display: flex; align-items: center; justify-content: center; }
    #app { height: 100%; max-height: 900px; width: 100%; flex: 0 0 auto; min-height: 0; overflow: hidden; }
    .screen { padding: 4px 20px 0; min-height: 0; }
    .screen.active { display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: none; }
    .screen.active::-webkit-scrollbar { display: none; }
    .bottom-nav { position: static; transform: none; width: 100%; max-width: none; flex-shrink: 0; }

    /* ═══ BROWSE GRID ═══════════════════════════════════════════ */
    .browse-header { padding: 12px 0 0; }
    .category-pills { padding: 10px 0 8px; }
    .browse-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; flex: 1; min-height: 0; padding-bottom: 10px; }
    /* rows are always sized for the full catalogue, so a filtered view keeps the same tile size */
    .tile { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--r-sm); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; min-height: 0; overflow: hidden; transition: border-color .12s; }
    .tile:active { border-color: var(--cerise); }
    .tile-name { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; font-size: 14px; line-height: 1.15; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .tile-meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
    .tile-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
    .dot-begin { background: #3FB96A; } .dot-inter { background: #E3A81B; } .dot-adv { background: var(--cerise); }
    .tile-cat { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--textmut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    /* ═══ DRILL DECK ════════════════════════════════════════════ */
    #drill-content { flex: 1; min-height: 0; display: flex; flex-direction: column; }
    .deck { flex: 1; min-height: 0; display: flex; flex-direction: column; padding-bottom: 10px; }
    .deck-top { flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 6px 0 10px; }
    .deck-kicker { font-family: var(--display); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--textmut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .deck-dots { display: flex; gap: 4px; margin-left: auto; flex-shrink: 0; }
    .deck-dot { width: 18px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.18); border: none; padding: 0; cursor: pointer; }
    .deck-dot.on { background: var(--cerise); }
    .deck-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; }
    .page { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; animation: up .18s ease; }
    .page-media { flex: 0 1 auto; width: 100%; aspect-ratio: 4 / 3; max-height: 56vh; border-radius: var(--r); overflow: hidden; background: #10241A; display: flex; align-items: center; justify-content: center; }
    .page-media img, .page-media svg { width: 100%; height: 100%; object-fit: contain; display: block; }
    .page-media iframe, .page-media video { width: 100%; height: 100%; border: 0; display: block; }
    .page-body { flex: 0 0 auto; }
    .deck-foot { flex-shrink: 0; display: flex; gap: 8px; padding-top: 10px; }
    .deck-foot.end { flex-direction: column; }
    .end-row { display: flex; gap: 8px; width: 100%; }
    .deck-btn.opt { font-size: 11px; padding: 11px 6px; white-space: normal; line-height: 1.2; letter-spacing: .04em; }
    .deck-stage.scroll { overflow-y: auto; scrollbar-width: none; }
    .deck-stage.scroll::-webkit-scrollbar { display: none; }
    .all-wrap { display: flex; flex-direction: column; gap: 20px; padding-bottom: 4px; }
    .all-step { display: flex; flex-direction: column; gap: 10px; }
    .all-media { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #10241A; }
    .all-media img, .all-media svg, .all-media iframe, .all-media video { width: 100%; height: 100%; object-fit: contain; display: block; border: 0; }
    .deck-btn { flex: 1; padding: 14px 10px; font-family: var(--font); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: var(--r-sm); border: 1px solid var(--bord); background: transparent; color: var(--text); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .deck-btn.primary { background: var(--cerise); border-color: var(--cerise); color: #fff; }
    .deck-btn:disabled { opacity: .28; cursor: default; }
    .cover-name { font-family: var(--display); font-size: 30px; font-weight: 900; line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; color: var(--text); }
    .cover-fix { font-size: 14px; line-height: 1.5; color: var(--textmut); margin-top: 8px; }
    .cover-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
    .step-kicker { font-family: var(--display); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--cerise); margin-bottom: 6px; }
    .step-copy { font-size: 15px; line-height: 1.55; font-weight: 500; color: var(--text); }
    .step-copy strong, .var-copy strong { font-weight: 800; color: #fff; }
    .var-copy { font-size: 14px; line-height: 1.6; font-weight: 500; color: var(--text); }

    /* ═══ HOW TO USE TRAQ ═══════════════════════════════════ */
    .howto-card { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 24px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--r); cursor: pointer; text-align: left; font-family: var(--font); color: var(--text); }
    .howto-card:active { border-color: var(--cerise); }
    .howto-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: rgba(230,73,102,.14); display: flex; align-items: center; justify-content: center; }
    .howto-icon svg { width: 18px; height: 18px; }
    .howto-txt { flex: 1; min-width: 0; }
    .howto-eyebrow { font-family: var(--display); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cerise); }
    .howto-title { font-family: var(--display); font-size: 17px; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; margin-top: 3px; }
    .howto-sub { font-size: 12px; color: var(--textmut); margin-top: 2px; }
    .howto-card .btn-arrow { color: var(--text); }
    .page-media.howto-media { background: var(--bg); }
    .howto-title-lg { font-family: var(--display); font-size: 26px; font-weight: 900; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
    /* short screens (small phones, short laptop windows): tighten home so it never scrolls */
    @media (max-height: 720px) {
      .home-hero { padding: 12px 0 8px; }
      .home-title { font-size: 28px; margin-bottom: 8px; }
      .home-sub { font-size: 14px; line-height: 1.45; }
      .howto-card { margin-top: 12px; padding: 11px 16px; }
      .howto-icon { width: 34px; height: 34px; }
      .home-divider { margin: 14px 0; }
      .home-cta-label { margin-bottom: 10px; }
      .btn-black, .btn-white { padding: 14px 22px; }
    }
    @media (max-height: 600px) {
      .home-title { font-size: 24px; }
      .home-divider { margin: 10px 0; }
      .home-cta-label { display: none; }
    }
  
/* Approved TRAQ light draft — visual styling and accessible native controls; finder, drill data and media preserved. */
.tile,.drill-card{text-align:left;font-family:var(--font);width:100%;}

:root{--black:#161918;--bg:#F5F3EC;--surface:#FFFFFF;--text:#161918;--textmut:#636963;--gray:#636963;--gray-light:#DDDCD5;--bord:rgba(22,25,24,.18);--cerise:#C9253B;--cerise-deep:#C9253B;--cerise-hover:#A81F32;--cerise-tint:#FBE9EF;--display:'Archivo Black',sans-serif;--r:0px;--r-sm:0px;}
.nav-logo{background:#161918;padding:10px 12px;}
.btn-black,.bnav-btn.primary{background:#161918;color:#fff;}
.btn-black,.btn-white,.bnav-btn,.pill,.tag,.blueprint-badge,.home-eyebrow,.results-eyebrow,.detail-eyebrow,.section-label,.home-cta-label,.variation-label{font-family:var(--font);}
.pill,.tag,.blueprint-badge{border-radius:0;}
.tag-cat{background:#E8E8E6;color:#424A44;}
.results-sub,.variation-box{background:#FFFFFF;}
.variation-text,.step-copy strong,.var-copy strong{color:#161918;}
.deck-dot{background:#C8CCC8;}
.option-card{border-color:var(--bord);}
.nav-back,.pill,.bnav-btn,.deck-btn,.option-card{min-height:44px;}
a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:3px solid #C9253B;outline-offset:3px;}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;}}

/* Accessible tutorial pager targets, retaining compact visual markers. */
.deck-top{flex-direction:column;align-items:stretch;gap:4px}.deck-kicker{white-space:normal;overflow:visible;text-overflow:clip;max-width:100%}.deck-dots{display:flex;justify-content:flex-start;gap:2px}.deck-dot{flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;position:relative;background:transparent!important;border-radius:0}.deck-dot::after{content:"";position:absolute;left:13px;top:20px;width:18px;height:3px;background:#C5C8C3}.deck-dot.on::after{background:var(--cerise)}
.page-media.howto-media > img { filter: brightness(0); }

/* Richard feedback, local review draft — 2026-10-12.
   A single document scroller keeps all content reachable inside the Wix frame. */
html { height: 100%; overflow-x: hidden; overflow-y: auto; }
body { display: block; height: auto; min-height: 100%; overflow: visible; }
#app { height: auto; min-height: 100vh; min-height: 100dvh; max-height: none;
  overflow: visible; margin: 0 auto; }
.nav { position: sticky; top: 0; z-index: 20; flex-shrink: 0;
  gap: 12px; padding: 12px 20px; }
.nav-back { margin-left: auto; padding: 10px 8px; white-space: normal; }
.screen { flex: none; padding: 4px 20px max(24px, env(safe-area-inset-bottom)); }
.screen.active { overflow: visible; }
.browse-grid { flex: none; min-height: auto; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto; align-items: stretch; gap: 10px; padding: 12px 0 0; }
.tile { min-height: 100px; height: auto; overflow: visible; gap: 12px; }
.tile-name { display: block; -webkit-line-clamp: unset; overflow: visible;
  overflow-wrap: anywhere; line-height: 1.3; }
.tile-meta { flex-wrap: wrap; margin-top: 0; }
.tile-cat { white-space: normal; overflow: visible; line-height: 1.4; }
.drill-card-row > div:first-child { min-width: 0; }
.drill-card-name, .cover-name, .howto-title-lg { overflow-wrap: anywhere; }
#drill-content, .deck, .deck-stage, .page { flex: none; min-height: auto; }
.deck { padding-bottom: 0; }
.deck-top { gap: 8px; padding: 8px 0 16px; }
.deck-dots { flex-wrap: wrap; gap: 8px; margin-left: 0; }
.deck-stage.scroll { overflow: visible; }
.page { justify-content: flex-start; gap: 16px; }
.page-media, .all-media { flex: none; width: 100%; aspect-ratio: 4 / 3;
  max-height: none; background: #fff; overflow: visible; }
.page-media img, .page-media svg, .all-media img, .all-media svg {
  width: 100%; height: 100%; object-fit: contain; }
.page-media.howto-media { background: var(--bg); }
.deck-foot { padding-top: 20px; gap: 10px; }
.deck-btn { min-height: 48px; white-space: normal; overflow: visible;
  text-overflow: clip; line-height: 1.4; }
.deck-btn.opt { min-height: 48px; }
.end-row { gap: 10px; flex-wrap: wrap; }
.all-wrap { gap: 24px; }
.all-step { gap: 16px; }
.browse-finder { margin-top: 12px; padding: 12px 16px; min-height: 44px;
  font-family: var(--font); font-weight: 700; color: var(--text);
  background: var(--surface); border: 1px solid var(--bord); cursor: pointer; }
.pill { min-height: 44px; }
.results-browse-link button { min-height: 44px; padding: 12px; }
.page-body:focus, .screen:focus { outline: none; }
@media (max-width: 360px) {
  .nav { padding-inline: 16px; }
  .screen { padding-inline: 16px; }
  .tile { padding: 12px 10px; }
}


/* Keep mobile navigation scrollable above the existing site signup teaser. */
@media (max-width: 750px) {
  #app { padding-bottom: 96px; }
}
