/* Exam catalogue — the catalogue block's own layout.

   Lifted verbatim from index.html's inline <style> so btygoat's home page can
   carry the same catalogue without a second copy of the rules. index.html
   still holds the original inline; scripts/lint_catalog_shared.py asserts the
   two are byte-identical, so neither can drift while both exist.

   Generated: do not edit here. Edit index.html's block and re-run
   scripts/build_btygoat_home.py.
*/
/* ── Exam catalogue ─────────────────────────────────────────────
       Leans on the page's own components rather than restating them: the
       picker is .hero-tools (the dark panel this page already uses), labels
       are .eyebrow, the "Your prep" and "Yours" pills are .badge, and row
       meta is .exam-meta. Only layout lives here. */
    .cat-picker{margin-top:40px}
    .cat-picker .eyebrow{color:var(--rose-soft);margin-bottom:0}
    .cat-picker-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:14px}
    .cat-picker-lead{font-family:var(--display);font-size:clamp(23px,2.7vw,30px);font-weight:600;color:#fbf7f4;letter-spacing:-.018em}
    .cat-picker-wrap{position:relative;z-index:3}
    .cat-picker-btn{display:flex;align-items:center;gap:11px;border:0;border-bottom:2px solid var(--rose);background:none;padding:2px 4px 4px;cursor:pointer;font-family:var(--display);font-size:clamp(23px,2.7vw,30px);font-weight:600;font-style:italic;color:var(--rose-soft);letter-spacing:-.018em}
    .cat-caret{font-size:14px;color:var(--rose);font-style:normal;line-height:1}
    .cat-picker-menu{position:absolute;top:100%;left:0;margin-top:10px;min-width:250px;max-height:320px;overflow-y:auto;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:6px;z-index:60;box-shadow:0 18px 44px -18px rgba(28,16,19,.45)}
    .cat-picker-menu button{display:block;width:100%;padding:10px 13px;border:0;border-radius:10px;background:none;cursor:pointer;font-family:var(--body);font-size:14.5px;color:var(--ink);text-align:left}
    .cat-picker-menu button:hover,.cat-picker-menu button:focus{background:var(--rose-tint);outline:none}

    .cat-result{margin-top:34px;position:relative;z-index:0;background:var(--card);border:1px solid var(--rose-soft);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);padding:26px 26px 22px}
    /* Built on the mastery card: a white .radar-card holding rounded tinted
       tiles. The tints are that component's own — strong / mid / weak — one per
       exam family, so the catalogue reads in the same visual language as the
       skill profile rather than inventing a second one. */
    .cat-fam{margin-top:20px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);padding:26px 26px 22px}
    .cat-fam-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:0 4px 18px}
    /* Family head in the page's own title pattern: eyebrow pill, display
       sentence, body-face lede. */
    .cat-fam-head{display:block;padding:0 4px 18px}
    .cat-fam-head .eyebrow{gap:10px}
    .cat-fam-head .eyebrow .badge{margin-left:4px}
    .cat-fam-t{font-family:var(--display);font-weight:500;font-size:clamp(26px,3vw,34px);line-height:1.05;letter-spacing:-.022em;margin:16px 0 0}
    .cat-fam-note{font-size:14.5px;line-height:1.55;color:var(--ink-2);margin:10px 0 0;max-width:62ch}
    /* Everything but NIC starts folded to its head, so the page is one screen
       of NIC cards and four titled rows, not eighteen cards end to end. */
    .cat-fam-toggle{margin-top:16px;padding:9px 16px;border:1px solid var(--line);border-radius:999px;background:var(--bg);font-family:var(--body);font-size:13.5px;font-weight:600;color:var(--ink);cursor:pointer}
    .cat-fam-toggle:hover{border-color:var(--rose);color:var(--rose)}
    .cat-fam-toggle .cat-fam-toggle-hide{display:none}
    .cat-fam:not(.is-collapsed) .cat-fam-toggle .cat-fam-toggle-show{display:none}
    .cat-fam:not(.is-collapsed) .cat-fam-toggle .cat-fam-toggle-hide{display:inline}
    .cat-fam.is-collapsed .cat-cards{display:none}
    .cat-fam.is-collapsed .cat-fam-head{padding-bottom:4px}
    /* The catalogue grid: three cards per family, two on tablets, one on phones.
       The card itself is the canonical .price-card; only the grid is set here. */
    .cat-fam .state-pricing,.cat-result .state-pricing{grid-template-columns:repeat(3,1fr);gap:16px;margin:0;padding:0;max-width:none}
    .cat-result .state-pricing{margin-top:14px}
    @media(max-width:960px){.cat-fam .state-pricing,.cat-result .state-pricing{grid-template-columns:repeat(2,1fr);max-width:none}}
    @media(max-width:640px){.cat-fam .state-pricing,.cat-result .state-pricing{grid-template-columns:1fr}}
    #catalog .prep-includes{margin-top:20px}
    .cat-head{padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:4px}
    .cat-note{padding:0 4px 14px;margin:0}

    /* COLOUR ONLY WHERE IT REPEATS.
       Seven tints made a card read as confetti, and two pairs were too close to
       tell apart. Colour is only worth spending where it carries information:
       Cosmetology, Esthetics, Nails and Barber appear in NIC, PSI and Texas
       alike, so a candidate can track their own license down the page. Hair
       Design, Electrology and Permanent Cosmetics exist once each — a unique
       colour there teaches nothing — so they take the neutral, as the guides do.
       Four tints and a neutral, all from the mastery card and :root. */

    /* The answer badge is green, not rose: rose is this page's accent
       everywhere else, so the one thing that is THEIRS should not look like
       everything else. Tints are the mastery card's "strong" set. */
    .cat-badge-you{background:#e8efe5;color:#3a4a35}
    .cat-result{border-color:#d2dccd}
    .cat-head{border-bottom-color:#5e7558;background:#eef3ec}
    

    /* The rows inside the answer are green too, for the same reason as the badge. */
    /* Fixes the badge sitting on every family: .badge sets display:inline-flex,
       which outranks the hidden attribute, so all four read "Yours". */
    .cat-yours[hidden]{display:none}

    /* A little life, without leaving the tokens. */
    /* The glow needs clipping to the panel; the dropdown needs to escape it.
       overflow:hidden on the panel did both and swallowed the menu, so the
       glow gets its own clipped layer and the panel stays visible. */
    .cat-picker{position:relative;z-index:20}
    .cat-glow{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none}
    .cat-glow::after{content:'';position:absolute;top:-160px;right:-120px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(184,38,74,.30),transparent 68%)}
    .cat-picker>*:not(.cat-glow){position:relative;z-index:1}
    .cat-picker-wrap{z-index:2}
    .cat-picker-btn:hover{color:#fff}

        .cat-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--rose);margin-right:10px;vertical-align:middle;transform:translateY(-2px)}

    
    .cat-as{opacity:.7}
    .cat-gap{margin:0;padding:4px}
    .cat-gap-t{font-family:var(--display);font-size:19px;font-weight:500;margin:0;color:var(--ink)}
    .cat-gap-p{font-size:14.5px;line-height:1.6;color:var(--ink-2);margin:8px 0 0;max-width:620px}
    .cat-gap-t{display:flex;align-items:baseline;gap:11px;flex-wrap:wrap}
    .cat-soon{background:var(--cream);color:var(--ink-2);border:1px solid var(--line)}
    .cat-gap-act{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:18px}
    .cat-gap-btn{display:inline-block;margin:0;padding:14px 26px;background:var(--rose);color:#fff;
                 border-radius:11px;font-family:var(--body);font-size:15.5px;font-weight:700;
                 letter-spacing:-.005em;text-decoration:none;box-shadow:var(--shadow-cta)}
    .cat-gap-btn:hover{background:var(--rose-ink);color:#fff}
    /* Secondary, so it does not compete with the guide. */
    .cat-gap-form button{background:transparent;color:var(--rose);border:1px solid var(--rose)}
    .cat-gap-form button:hover{background:var(--rose-tint);color:var(--rose-ink)}
    .cat-gap-form{display:flex;gap:8px;flex:1;min-width:260px}
    .cat-gap-form input{flex:1;min-width:150px;font-family:var(--body);font-size:14.5px;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink)}
    .cat-gap-form input:focus{outline:none;border-color:var(--rose)}
    .cat-gap-form button{padding:11px 18px;background:var(--rose);color:#fff;border:0;border-radius:10px;font-family:var(--body);font-size:14.5px;font-weight:600;cursor:pointer;white-space:nowrap}
    .cat-gap-form button:hover{background:var(--rose-ink)}
    .cat-gap-msg{font-size:13.5px;margin:10px 0 0;min-height:18px;color:var(--ink-3)}
    .cat-gap-msg.is-good{color:var(--sage)}
    .cat-gap-msg.is-bad{color:var(--rose)}

/* ── Supplement ────────────────────────────────────────────────────────────
   Two rules the block above assumes and does NOT carry, because index.html
   defines them elsewhere in its own inline sheet and _styles.css does not:

   .hero-tools .eyebrow loses its pill on the dark picker panel. Without it the
   label is rose-soft text on a rose-soft pill — a pink lozenge with nothing
   legible in it, which is exactly how it first rendered on btygoat.

   Scoped to .hero-tools, which is the dark panel class both the picker and the
   hero aside use — btygoat's "What's inside" eyebrow was the same pink-on-pink
   lozenge for the same reason, and one rule is the honest fix for one bug.
   Everything above this line is verbatim from index.html and gated against it;
   this is the part that is not. */
.hero-tools .eyebrow{background:transparent;padding:0;color:var(--rose-soft,#f8dde4)}
.hero-tools .eyebrow::before{background:var(--rose)}
