/* assets/ui.css: the one shared stylesheet (2026-09-28).
   Linked at the end of <head> on every page with the shared nav, so it sits
   after each page's own <style> in the cascade, exactly where the nav and
   footer <style> blocks it replaces used to sit. Edit here, never per page;
   tools/check_ui_css.py fails the build if a page grows its own copy back. */

/* Colour tokens. The only definition of these names on the site. */
:root{--navy:#1F3864;--navy-deep:#152B4F;--red:#8B1A1A;--red-dark:#6D1414;--red-text:#8B1A1A;--ink:#1E293B;--mut:#56627A;--line:#E2E8F0;--bg:#FBFBF9;--soft:#F2F4F8;--cream:#F7F4EE}

/* Shared nav: bar, logo, desktop dropdowns, phone sheet. (Was repeated in the
   <head> of every page in ten slightly different versions; this is the one
   about.html and 43 other pages carried.) */
/* body>nav, not nav: the site header is the only <nav> that is a direct
   child of <body>. A bare nav selector also made every in-page <nav>
   (the "On this page" list on how-to-study-for-the-mccqe.html, the jump
   bar on the per-* pages) sticky at the top of the screen, and a list
   taller than a phone viewport then covered the article (2026-10-03). */
body>nav{background:rgba(251,251,249,.92);backdrop-filter:blur(10px);position:sticky;top:0;z-index:60;border-bottom:1px solid var(--line)}
.nav-inner{height:84px;display:flex;align-items:center;justify-content:space-between}
nav .logo{text-decoration:none;display:flex;flex-direction:column;gap:3px}
nav .logo .l1{font-family:'Montserrat',sans-serif;font-weight:500;font-size:16.5px;letter-spacing:4.5px;color:#1F3864}
nav .logo .l2{font-family:'Montserrat',sans-serif;font-weight:400;font-size:13px;letter-spacing:2px;color:#1F3864;display:flex;align-items:center;gap:8px}
nav .logo .leaf{height:11px;width:auto;flex:none}
.nav-links{display:flex;gap:26px;align-items:center}
.nav-links a{color:var(--ink);text-decoration:none;font-weight:600;font-size:15px}
.nav-links a:hover,.nav-links a.active{color:var(--red-text)}
.nav-links .btn{padding:11px 22px;font-size:14px;color:#fff}
@media(max-width:1080px){
.nav-links{display:none}
}
.nav-open{display:none}
.nav-burger{display:none;font-size:26px;line-height:1;color:var(--navy);cursor:pointer;padding:6px 10px;user-select:none}
.nav-links .btn-red{color:#fff}
.nav-links a.btn-red:hover{color:#fff}
.nav-links .btn-books{color:#fff}
.nav-links a.btn-books:hover{color:#fff}
.nav-cta-row{display:contents}
@media(max-width:1080px){
.nav-burger{display:block}
nav .nav-menu.mega{display:block !important;position:static;min-width:0;left:auto;transform:none;box-shadow:none;border:0;padding:4px 0 0 14px}
nav .nav-menu.mega span{display:none}
nav .nav-links{display:none;position:absolute;top:84px;left:0;right:0;background:var(--bg);flex-direction:column;align-items:flex-start;padding:20px 32px 28px;gap:18px;border-bottom:1px solid var(--line);box-shadow:0 18px 30px rgba(31,56,100,.12);z-index:59;max-height:calc(100vh - 96px);overflow-y:auto;-webkit-overflow-scrolling:touch}
nav .nav-open:checked ~ .nav-links{display:flex}
nav .nav-links{max-height:calc(100dvh - 96px)}
nav .nav-links .nav-cta-row{display:flex;flex-wrap:wrap;gap:12px}
}
.nav-group{position:relative;display:flex;align-items:center}
.nav-top{color:var(--ink);font-weight:600;font-size:15px;cursor:pointer;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.nav-top i{font-style:normal;font-size:10px;color:var(--mut);transition:.15s}
.nav-group:hover .nav-top,.nav-group:hover .nav-top i{color:var(--red-text)}
.nav-menu{display:none;position:absolute;top:100%;left:-14px;padding-top:10px}
@media (hover:hover){
.nav-group:hover .nav-menu{display:block}
}
.nav-menu.mega{min-width:600px;left:50%;transform:translateX(-50%);display:none;grid-template-columns:1fr 1fr;gap:2px 14px;padding:16px}
@media (hover:hover){
.nav-group:hover .nav-menu.mega{display:grid}
}
.nav-menu.mega a{padding:10px 14px;border-radius:8px}
.nav-menu.mega a:hover{background:var(--soft)}
.nav-menu.mega b{display:block;font-size:14.5px;color:var(--navy)}
.nav-menu.mega span{display:block;font-size:12.5px;color:var(--mut);line-height:1.45;margin-top:2px;font-weight:400}
.nav-menu-inner,.nav-menu{min-width:210px}
.nav-menu{background:transparent}
.nav-menu>a{display:block}
.nav-group .nav-menu{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 34px rgba(31,56,100,.14);padding:8px 0;overflow:hidden}
.nav-group .nav-menu a{display:block;padding:11px 20px;font-size:15px;font-weight:600;color:var(--ink);white-space:nowrap}
.nav-group .nav-menu a:hover{background:var(--soft);color:var(--red-text)}
@media(max-width:1080px){
.nav-group{display:block;width:100%}
.nav-top{padding:2px 0;font-family:'Montserrat',sans-serif;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--mut);cursor:default}
.nav-top i{display:none}
.nav-group .nav-menu{display:block;position:static;border:none;box-shadow:none;border-radius:0;padding:6px 0 10px 14px;min-width:0}
.nav-group .nav-menu a{padding:8px 0;font-size:16px}
.nav-group .nav-menu a:hover{background:none}
.nav-links .nav-menu a{min-height:44px;display:flex;flex-direction:column;justify-content:center}
.nav-burger{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
}

/* Shared nav: CTA row, phone accordion menu, keyboard access, skip link.
   (Moved verbatim from the <style> that sat inside <nav> on every page.) */
.nav-cta-row .btn{white-space:nowrap}.nav-links .nav-plain{font-weight:700;color:var(--navy);text-decoration:none;font-size:15px;white-space:nowrap}.nav-links .nav-plain:hover{color:var(--red-text)}.nav-links .nav-start{color:var(--red-text)}@media(min-width:1081px){.nav-links{gap:18px}.nav-links .btn{padding:10px 16px;font-size:14px}}@media(min-width:1081px) and (max-width:1180px){.nav-links{gap:12px}.nav-links .btn{padding:9px 12px;font-size:13px}}@media(max-width:1080px){.nav-links .nav-plain{font-size:16px;padding:6px 0}}/* Phone menu (2026-09-25): each group is a closed accordion, no descriptions, one full-height sheet, the page behind it does not scroll. Desktop untouched. */@media(max-width:1080px){nav .nav-inner .nav-links{max-height:none;height:calc(100vh - 84px);height:calc(100dvh - 84px);overflow-y:auto;overscroll-behavior:contain;align-items:stretch;gap:0;padding:16px 24px 40px;box-shadow:none}nav .nav-inner .nav-links .nav-cta-row{margin-bottom:12px}nav .nav-inner .nav-links>.nav-plain,nav .nav-inner .nav-group>.nav-top{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:0;border-bottom:1px solid var(--line,#E2E8F0);font-family:inherit;font-size:17px;font-weight:700;letter-spacing:0;text-transform:none;line-height:1.3;color:var(--navy,#1F3864);cursor:pointer;white-space:normal}nav .nav-inner .nav-links>.nav-start{color:var(--red-text,#8B1A1A)}nav .nav-inner .nav-group{display:block;width:100%}nav .nav-inner .nav-group>.nav-top i{display:inline-block;font-size:13px;color:var(--mut,#56627A);transition:transform .15s}nav .nav-inner .nav-group>.nav-top[aria-expanded=true] i{transform:rotate(180deg)}nav .nav-inner .nav-group .nav-menu{display:none!important;position:static;transform:none;border:0;box-shadow:none;border-radius:0;min-width:0;padding:4px 0 10px 14px;background:none}nav .nav-inner .nav-group>.nav-top[aria-expanded=true]+.nav-menu,nav:not(.nav-js) .nav-inner .nav-group>.nav-menu{display:block!important;border-bottom:1px solid var(--line,#E2E8F0)}nav .nav-inner .nav-open{display:block!important;position:absolute;width:1px;height:1px;margin:0;padding:0;border:0;opacity:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}nav .nav-inner .nav-group .nav-menu a{min-height:44px;padding:8px 0;font-size:16px;font-weight:600;white-space:normal}nav .nav-inner .nav-group .nav-menu a b{font-weight:600}nav .nav-inner .nav-group .nav-menu a span{display:none}html:has(.nav-open:checked){overflow:hidden}}@media(max-width:359px){nav .nav-inner:is(.wrap,.nav-wrap){padding-left:16px;padding-right:16px}nav .logo .l1,nav.site-head .logo .l1{letter-spacing:2px;font-size:14px}nav .logo .l2,nav.site-head .logo .l2{letter-spacing:.8px}nav .nav-inner .nav-links{padding:12px 16px 40px}nav .nav-inner .nav-links .nav-cta-row .btn{white-space:normal;text-align:center}body{overflow-wrap:anywhere}h1,h2,h3,h4{hyphens:auto}select,textarea,input:not([type=checkbox]):not([type=radio]){max-width:100%!important;min-width:0!important}}/* Keyboard access (2026-09-25): the group labels and the burger are buttons; menus open on focus as well as hover; Escape closes. */:where(nav .nav-top,nav button.nav-burger){appearance:none;-webkit-appearance:none;background:none;border:0;margin:0;padding:0;font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;text-align:inherit;line-height:inherit}:where(nav button.nav-burger){padding:6px 10px;line-height:1}nav.nav-js .nav-burger-l,nav:not(.nav-js) .nav-burger-b{display:none!important}nav .nav-top:focus-visible,nav .nav-burger:focus-visible,nav .nav-open:focus-visible+.nav-burger{outline:2px solid var(--navy,#1F3864);outline-offset:2px}@media(min-width:1081px){nav .nav-group:focus-within:not(.nav-shut)>.nav-menu,nav .nav-group>.nav-top[aria-expanded=true]+.nav-menu{display:block}nav .nav-group:focus-within:not(.nav-shut)>.nav-menu.mega,nav .nav-group>.nav-top[aria-expanded=true]+.nav-menu.mega{display:grid}nav .nav-group:focus-within:not(.nav-shut)>.nav-top{color:var(--red-text,#8B1A1A)}}/* Site-wide (2026-09-25): skip link, room for the sticky nav and bottom bars when focus scrolls, reduced motion. */html{scroll-padding-top:88px;scroll-padding-bottom:96px}.skip-link{position:absolute;left:12px;top:-200px;z-index:1000;background:#1F3864;color:#fff!important;padding:13px 18px;border-radius:8px;font:700 15px/1.2 'Source Sans 3',-apple-system,sans-serif;text-decoration:none}.skip-link:focus{top:12px;outline:2px solid #fff;outline-offset:-5px}@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}html{scroll-behavior:auto!important}}

/* Footer links: whole labels, even rows (2026-09-25) */
footer.foot .foot-links{display:flex;flex-wrap:wrap;gap:6px 20px}footer.foot .foot-links a{white-space:nowrap}
footer.site .foot-inner>div:last-child{display:flex;flex-wrap:wrap;gap:10px 22px}footer.site .foot-inner a{margin:0;white-space:nowrap}

/* At a glance (.pg): label + short bold value rows, at most one grey note.
   The one glance component: pathway pages, comparison pages, exam guides,
   PER specialty pages and fellowship pages all use it. Markup:
   <section class="pg"><h2>..</h2><dl><div><dt>Label</dt><dd><b>Value</b><small>note</small></dd></div>..</dl>
   <div class="pg-foot"><a class="btn ..">..</a><p class="glance-note">..</p></div></section> */
.pg{background:#fff;border:1px solid var(--line);border-top:4px solid var(--red);border-radius:12px;padding:16px 20px 12px;margin:24px 0;scroll-margin-top:12px}
.pg>h2,.pg>h3{color:var(--navy);font-size:20px;font-weight:800;margin:0 0 4px!important}
.pg dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
.pg dl>div{display:grid;grid-template-columns:minmax(104px,40%) 1fr;gap:1px 12px;padding:6px 0;border-top:1px solid var(--line);align-items:baseline;background:none}
.pg dt{font-size:14px;font-weight:700;color:var(--navy);margin:0;text-transform:none;letter-spacing:0}
.pg dd{margin:0;font-size:14px;line-height:1.4;color:var(--ink)}
.pg dd b{color:var(--navy);font-weight:800}
.pg small{display:block;margin-top:1px;font-size:13px;color:var(--mut);line-height:1.35}
.pg .pg-list{list-style:none;margin:0;padding:0;font-size:14px;line-height:1.5}
.pg .pg-list li{margin:0;padding:0}
.pg .pg-list li b{color:var(--navy)}
.pg-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;border-top:1px solid var(--line);padding-top:10px;margin-top:2px}
.pg-foot .btn,.pg-foot .cmp-btn{padding:9px 16px;font-size:14px;min-height:40px;display:inline-flex;align-items:center}
.pg-foot .glance-note{margin:0;flex:1 1 220px}
/* Consultation band inside results (Screener). Its rules lived in pra-specialists.html, where the block no longer exists, so the Screener's copy rendered unstyled with the full-size button (Filipe, 2026-11-05: "why is this button still so thick/wide?"). Compact button, same size as the page-foot buttons. */
.consult-mini{background:var(--navy);border-radius:10px;color:#fff;padding:16px 20px;margin:20px 0;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.consult-mini p{flex:1 1 320px;color:#D7DEE9;font-size:14.5px;line-height:1.5;margin:0}
.consult-mini p strong{color:#fff}
:where(.ui) .consult-mini .btn{padding:9px 16px;font-size:14px;line-height:1.2;min-height:40px;display:inline-flex;align-items:center;white-space:nowrap;box-shadow:none}
.pg .glance-note{font-size:13px;color:var(--mut);margin:8px 0 0;line-height:1.4}
.pg .fh-asof{font-weight:600;color:var(--mut);font-size:13px}
.pg .gl-ps{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pg .gl-p{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:36px;padding:0 10px;border:1.5px solid #C9D3E2;border-radius:8px;background:#fff;font-size:13.5px;font-weight:800;color:var(--navy);text-decoration:none}
.pg .gl-p:hover{border-color:var(--navy)}
/* One column at every width, for rows of pills (fellowship counts, province buttons) */
.pg.pg-1col dl{grid-template-columns:1fr}
@media(min-width:641px){.pg.pg-1col dl>div{grid-template-columns:minmax(120px,32%) 1fr}}
@media(max-width:760px){.pg dl{grid-template-columns:1fr}}
@media(max-width:640px){.pg{padding:14px 14px 12px;margin:18px 0}.pg>h2,.pg>h3{font-size:18px}.pg dl>div{grid-template-columns:minmax(92px,33%) 1fr;gap:1px 10px}}
@media(max-width:359px){.pg dl>div{grid-template-columns:1fr}}

/* Buttons: primary = red filled (.btn.btn-red), secondary = navy outline
   (.btn.btn-navy). A page opts in with <body class="ui"> and then carries no
   .btn/.btn-red/.btn-navy rules of its own; contextual tweaks such as
   ".cta-row .btn-red{padding:..}" stay on the page and still win. Opt-in
   because most pages still define their own buttons and this file loads
   after them; migrate a page by deleting its copies and adding the class. */
:where(.ui) .btn{display:inline-block;padding:13px 26px;border-radius:6px;font-weight:700;font-size:15.5px;text-decoration:none;transition:.2s;text-align:center;cursor:pointer}
:where(.ui) .btn-red{background:var(--red);color:#fff;box-shadow:0 4px 14px rgba(139,26,26,.22)}
:where(.ui) .btn-red:hover{background:var(--red-dark);transform:translateY(-2px)}
:where(.ui) .btn-navy{border:2px solid var(--navy);color:var(--navy)}
:where(.ui) .btn-navy:hover{background:var(--navy);color:#fff}
/* A <button> does not inherit the page font and paints the system grey, so a
   button.btn-navy rendered in Arial on grey (per-guide, design audit). */
:where(.ui) button.btn{font-family:inherit;line-height:1.2}
:where(.ui) button.btn-navy{background:#fff}

/* Accordion: <details class="acc"><summary>Question</summary><div class="acc-body">..</div></details>
   Bottom rule, 16px bold navy summary, +/- icon. */
.acc{border-bottom:1px solid var(--line)}
.acc>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:12px 0;font-size:16px;font-weight:700;line-height:1.35;color:var(--navy)}
.acc>summary::-webkit-details-marker{display:none}
.acc>summary::after{content:"+";flex:none;font-size:20px;font-weight:700;line-height:1;color:var(--mut)}
.acc[open]>summary::after{content:"\2212"}
.acc>summary:hover{color:var(--red-text)}
.acc>summary:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.acc>:not(summary):last-child{margin-bottom:16px}

/* Current section (2026-09-28): the group or link holding this page is marked, on the phone sheet with a red bar, on desktop with an underline. */nav .nav-links a[aria-current=page],nav .nav-links a[aria-current=page] b{color:var(--red-text,#8B1A1A)}@media(min-width:1081px){nav .nav-group.nav-here>.nav-top,nav .nav-links>a.nav-plain.nav-here{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px;text-decoration-color:var(--red-text,#8B1A1A)}nav .nav-group.nav-here>.nav-top i{display:inline-block;text-decoration:none}}@media(max-width:1080px){nav .nav-inner .nav-links>a.nav-plain.nav-here,nav .nav-inner .nav-group.nav-here>.nav-top{box-shadow:inset 3px 0 0 var(--red-text,#8B1A1A);padding-left:12px}}

/* Site search (2026-09-29, Filipe: "a search bar at the right top corner"). A magnifier sits at the right of the bar on every page; it opens a row under the bar with the field and live results (assets/search.js, index from tools/build_search_index.py). The one exception to the single-header-button rule, on his instruction. */
.nav-search{display:flex;align-items:center;position:static}
.ns-toggle{display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;padding:6px 10px;border:0;background:none;color:var(--navy);font-family:inherit;font-size:14px;font-weight:700;line-height:1;cursor:pointer;border-radius:8px}
.ns-toggle:hover,.ns-toggle[aria-expanded=true]{color:var(--red-text)}
.ns-toggle:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.ns-panel{position:absolute;top:84px;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 18px 30px rgba(31,56,100,.12);z-index:61;padding:14px 32px 18px}
.ns-panel[hidden]{display:none}
.ns-form{display:flex;gap:10px;max-width:760px;margin:0 auto}
.ns-input{flex:1;min-width:0;font-family:inherit;font-size:17px;padding:12px 14px;border:1.5px solid #C9D3E2;border-radius:10px;background:#fff;color:var(--ink);-webkit-appearance:none;appearance:none}
.ns-input:focus{outline:2px solid var(--navy);outline-offset:1px;border-color:var(--navy)}
.ns-go{font-family:inherit;font-size:15px;font-weight:700;padding:12px 18px;border:0;border-radius:10px;background:var(--navy);color:#fff;cursor:pointer;min-height:44px}
.ns-go:hover{background:var(--navy-deep)}
.ns-results{max-width:760px;margin:8px auto 0;max-height:calc(100dvh - 190px);overflow-y:auto}
.ns-results a{display:block;padding:10px 12px;border-radius:8px;text-decoration:none;color:var(--ink)}
.ns-results a:hover,.ns-results a:focus{background:var(--soft);outline:none}
.ns-results a:focus-visible{outline:2px solid var(--navy)}
.ns-results b{display:block;color:var(--navy);font-size:15.5px;font-weight:700}
.ns-results span{display:block;font-size:13.5px;color:var(--mut);line-height:1.45;margin-top:2px}
.ns-results mark{background:#FFE58A;color:inherit;padding:0 1px;border-radius:2px}
.ns-results i.ns-sec{display:block;font-style:normal;font-size:13.5px;font-weight:600;color:var(--red-text);margin-top:1px}
.ns-results .ns-fixed{padding:6px 12px 2px;font-size:13.5px;color:var(--mut)}.ns-results .ns-fixed b{display:inline;color:var(--navy);font-size:inherit}
.ns-results .ns-none a{color:var(--navy);font-weight:600}
/* One short sentence for screen readers (role=status), never shown. */
.ns-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* The pinned "See all N results" row sits outside the scrolling list, so it is
   always on screen on a phone (audit, UX 8). */
.ns-all{display:block;margin:8px auto 0;max-width:760px;padding:11px 12px;border-radius:8px;background:var(--soft);color:var(--red-text);text-decoration:none;font-size:14.5px}
@media(max-width:1080px){.ns-all:not([hidden])+.ns-results{max-height:calc(100dvh - 250px)}}
@media(max-width:1080px) and (max-height:620px){.ns-results span{-webkit-line-clamp:1}.ns-results a{padding:7px 10px}.ns-results b{font-size:14.5px}}
.ns-all[hidden]{display:none}.ns-all:hover,.ns-all:focus-visible{background:#EEF1F7;outline:2px solid var(--navy);outline-offset:-2px}
@media(max-width:1080px){.ns-results span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}
/* The spot a search result opened (search.js land()): a short highlight, then gone. */
.ns-found{animation:ns-found 2.4s ease-out;outline:none}@keyframes ns-found{0%,55%{box-shadow:-4px 0 0 0 var(--navy),0 0 0 4px #FFF1C2;background-color:#FFF8DC}100%{box-shadow:none;background-color:transparent}}
@media (prefers-reduced-motion:reduce){.ns-found{animation:none;background-color:#FFF8DC;box-shadow:-4px 0 0 0 var(--navy),0 0 0 4px #FFF1C2}}
.ns-results .ns-more b{color:var(--red-text)}
.ns-results .ns-none{padding:10px 12px;color:var(--mut);font-size:14px}
@media(max-width:1080px){.nav-search{order:1;margin-left:auto}nav .nav-burger{order:2}.ns-toggle span{display:none}.ns-panel{padding:12px 16px 16px}.ns-go{padding:12px 14px}}
@media(min-width:1081px){.nav-links{margin-left:auto}.nav-search{margin-left:10px}nav .logo{flex:none}nav .logo .l1{white-space:nowrap}}
@media(min-width:1081px){.ns-toggle span{display:none}.nav-search{margin-left:0}.ns-toggle{min-width:36px;padding:6px 6px}}
/* Desktop carries the search FIELD in the bar, not just the magnifier
   (Filipe, 2026-09-30: "a search box that people can type in, like on
   Google"). It starts at 1300px because that is where it fits since Get
   the App became the ninth top-level item (2026-10-02): at 1241px the nine
   items left the field a 66px stub. Narrower windows and phones keep
   the magnifier, which opens the same field in a row underneath. The
   magnifier is inside the input, so the control costs one box, and Enter
   submits to search.html. */
@media(min-width:1081px){
  .ns-toggle{display:none}
  /* The bar gets a wider container than the page body, because at the shared
     1160px the logo and the eight items leave 92px and a field cannot live
     there. Only where the field shows; narrower windows keep the old width. */
  nav .nav-inner,nav .nav-inner.nav-wrap{max-width:1400px}
  /* The three legacy pages (licensing-guide, per-guide, pra-specialists) still
     carry their own 15px/26px nav, which left the field 37px wide on them.
     Bring them to the same metrics as every other page. */
  nav.site-head .nav-links{gap:12px}
  nav.site-head .nav-links a,nav.site-head .nav-links .nav-top{font-size:13.5px}
  nav.site-head .nav-menu a{font-size:15px}
  /* The field gives way rather than pushing the bar wide: three pages cap the
     header at a narrower container, so it shrinks there instead of spilling. */
  .nav-search{margin-left:12px;position:relative;min-width:0;flex:0 1 auto}
  .ns-panel{position:static;display:flex;background:none;border:0;box-shadow:none;padding:0;z-index:auto;min-width:0;flex:1 1 auto}
  .ns-form{margin:0;gap:0;max-width:none;min-width:0;flex:1 1 auto}
  .ns-form .ns-go{position:absolute;width:1px;height:1px;min-width:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  .ns-input{width:auto;flex:1 1 140px;min-width:0;font-size:14.5px;padding:9px 12px 9px 34px;border-radius:999px;border-width:1px;border-color:var(--line);
    background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356627A' stroke-width='2.2'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.6 15.6 21 21' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 10px 50%/15px 15px}
  .ns-input:focus{border-color:var(--navy)}
  .ns-input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
  /* The results hang under the field and take no space until someone types. */
  nav .ns-results{position:absolute;top:calc(100% + 10px);right:0;width:min(440px,90vw);max-width:none;margin:0;background:var(--bg);
    border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 30px rgba(31,56,100,.14);padding:6px;z-index:61;max-height:min(70vh,520px)}
  nav .ns-results:empty{display:none}
  nav .ns-all{position:absolute;top:calc(100% + 10px);right:0;width:min(440px,90vw);margin:0;z-index:62;border-radius:12px 12px 0 0;border:1px solid var(--line);border-bottom:0;background:var(--bg);padding:9px 12px;box-shadow:0 -6px 18px rgba(31,56,100,.08)}
  nav .ns-all:not([hidden])~.ns-results{top:calc(100% + 52px);border-radius:0 0 12px 12px}
}
@media(min-width:1600px){.ns-input{width:220px}.ns-input:focus{width:300px}}
@media(min-width:1600px) and (prefers-reduced-motion:no-preference){.ns-input{transition:width .15s}}
@media(min-width:1081px) and (max-width:1599px){nav .logo .l1{letter-spacing:3px;font-size:15px}nav .logo .l2{letter-spacing:1.5px}.ns-toggle{padding:6px 2px;min-width:30px}}
@media(min-width:1300px) and (max-width:1360px){.nav-links{gap:8px}.nav-links .btn{padding:9px 12px}nav .logo{margin-right:10px}}
@media(max-width:359px){.ns-form{flex-wrap:wrap}.ns-go{width:100%}}
/* Free Resources joined the top bar (2026-09-29): eight items plus the button. Slightly tighter type and gaps on desktop so the logo never wraps. */nav .logo{flex:none}@media(min-width:1081px){nav .nav-inner .nav-links{gap:10px}nav .nav-links>.nav-plain,nav .nav-links>.nav-group>.nav-top{font-size:14px}}@media(min-width:1081px) and (max-width:1599px){nav .nav-inner .nav-links{gap:9px}nav .nav-links>.nav-plain,nav .nav-links>.nav-group>.nav-top{font-size:13.5px}nav .nav-links .btn{padding:9px 11px;font-size:13px}nav .logo .l1{letter-spacing:3px;font-size:15px}nav .logo .l2{letter-spacing:1.2px}}
/* Get the App is the ninth top-level item (Filipe, 2026-10-02: "I just feel its hidden"). Measured by render: nine items overflowed the bar below 1160px and squeezed the search field to a stub up to 1300px, so the band under 1300px tightens type and gaps in two steps and the field starts at 1300px. Keep 1081px as the phone-menu breakpoint: page-local nav CSS on 150 pages depends on it. */
@media(min-width:1081px) and (max-width:1299px){nav .nav-inner .nav-links{gap:7px}nav .nav-links>.nav-plain,nav .nav-links>.nav-group>.nav-top{font-size:13px}nav .nav-links .btn{padding:9px 10px;font-size:12.5px}nav .logo{margin-right:8px}nav .logo .l1{letter-spacing:2.5px;font-size:14.5px}nav .logo .l2{letter-spacing:1px}}
@media(min-width:1081px) and (max-width:1159px){nav .nav-inner .nav-links{gap:6px}nav .nav-links>.nav-plain,nav .nav-links>.nav-group>.nav-top{font-size:12.5px}nav .nav-links .btn{padding:8px 9px;font-size:12px}nav .logo .l1{letter-spacing:2px;font-size:14px}nav .logo .l2{letter-spacing:.8px;font-size:13px}}
/* The three legacy pages (licensing-guide, per-guide, pra-specialists) keep their own 15px/26px nav CSS, which the shared tightening above cannot reach on specificity. Give them the shared metrics at every desktop width, same bands as above. */
@media(min-width:1081px){nav.site-head .nav-inner{gap:12px}nav.site-head .nav-inner.nav-wrap{max-width:1400px}nav.site-head .nav-links{gap:9px}nav.site-head .nav-links a,nav.site-head .nav-links .nav-top{font-size:13.5px}nav.site-head .nav-menu a{font-size:15px}nav.site-head a.btn{padding:9px 11px;font-size:13px}nav.site-head .logo .l1{letter-spacing:3px;font-size:15px}nav.site-head .logo .l2{letter-spacing:1.2px}}
@media(min-width:1081px) and (max-width:1299px){nav.site-head .nav-links{gap:7px}nav.site-head .nav-links a,nav.site-head .nav-links .nav-top{font-size:13px}nav.site-head a.btn{padding:9px 10px;font-size:12.5px}nav.site-head .logo .l1{letter-spacing:2.5px;font-size:14.5px}nav.site-head .logo .l2{letter-spacing:1px}}
@media(min-width:1081px) and (max-width:1159px){nav.site-head .nav-links{gap:6px}nav.site-head .nav-links a,nav.site-head .nav-links .nav-top{font-size:12.5px}nav.site-head a.btn{padding:8px 9px;font-size:12px}nav.site-head .logo .l1{letter-spacing:2px;font-size:14px}nav.site-head .logo .l2{letter-spacing:.8px;font-size:13px}}
@media(min-width:1300px) and (max-width:1360px){nav.site-head .nav-links{gap:8px}}


/* The pathway hero lede moved below the at-a-glance block (2026-10-05 marketing
   review): the words stay on the page for search, the first screen carries the
   heading and the call to action instead. */
.sh-intro{max-width:70ch;margin:18px 0 0;font-size:15.5px;line-height:1.7;color:var(--mut)}
/* The skip link moves focus to <main tabindex="-1">; that is a programmatic
   target, not a control, so it takes no focus ring. */
main[tabindex="-1"]:focus{outline:none}
/* The IMG FAQ topic pages were reachable only from their own hub, so 15 of
   19 had no inbound link from anywhere that ranks. This points each one at
   it from the page that already answers the same questions. */
.faqlink{margin:34px 0 0;padding:16px 18px;background:var(--cream,#F7F4EE);border:1px solid var(--line);border-radius:12px}
.faqlink p{margin:0 0 8px;font-family:'Montserrat',sans-serif;font-size:12px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--mut)}
.faqlink a{display:block;color:var(--red-text);font-weight:700;text-decoration:none;font-size:15px;line-height:1.45}
.faqlink a+a{margin-top:8px}
.faqlink a:hover{text-decoration:underline}
/* Tap targets on touch screens (S2 accessibility pass, 2026-10-09): 44px
   minimum, DESIGN.md. Controls with a visible box grow to 44px; text links
   whose underline or border must stay put get an invisible 44px hit area
   instead, so nothing moves. Desktop with a mouse is untouched. */
@media (pointer:coarse){
footer.site .foot-inner>div:last-child{row-gap:0}
footer.site .foot-inner a,footer.foot .foot-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px}
footer.foot .foot-links{row-gap:0}
.pg-foot .btn,.pg-foot .cmp-btn,.per-jump a{min-height:44px}
.gl-p,.pg .gl-p{min-height:44px;min-width:44px}
.related a{display:inline-flex;align-items:center;min-height:44px;margin-top:0;margin-bottom:0}
details>summary{min-height:44px}
select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]){min-height:44px}
button:is(.fchip,.wiz-step,.mini-btn,.who-t,.feed-btn,.expand-all,.btn){min-height:44px}
.fq-sibs a{min-height:44px;align-items:center}
:is(.amzn,.backlink,.muted-link,.pk-name,.pk-amzn,.lb-more,.allnews,.howgo,.gcal-link,.dsel,.fq-crumbs a,.qbk,.qlabel,.qmore,.qconsult,.totop,.jump){position:relative}
:is(.amzn,.backlink,.muted-link,.pk-name,.pk-amzn,.lb-more,.allnews,.howgo,.gcal-link,.dsel,.fq-crumbs a,.qbk,.qlabel,.qmore,.qconsult,.totop,.jump)::after{content:"";position:absolute;left:50%;top:50%;width:calc(100% + 8px);min-width:44px;height:44px;transform:translate(-50%,-50%)}
}

/* Question-led pages (S5, 2026-10-09): the direct answer opens the glance box,
   the FAQ uses .acc rows, and every regulatory fact is listed under Sources. */
.pg .pg-answer{font-size:16.5px;line-height:1.6;color:var(--ink);margin:2px 0 14px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.pg .pg-answer b{color:var(--navy);font-weight:800}
.qa-faq{margin:36px 0 0}
.qa-faq>h2,.src>h2{font-size:26px;margin:0 0 8px}
.qa-faq .acc p{font-size:16px;line-height:1.6;margin:0 0 10px;color:var(--ink)}
.src{margin:36px 0 0;padding-top:20px;border-top:1px solid var(--line)}
.src>p{font-size:14.5px;color:var(--mut);margin:0 0 10px}
.src ol{margin:0;padding-left:22px;font-size:14.5px;line-height:1.5;color:var(--ink)}
.src li{margin:0 0 8px}
.src li a{color:var(--navy);font-weight:700;overflow-wrap:anywhere}
.src .src-d{color:var(--mut)}
/* The three legacy pages (licensing-guide, per-guide, pra-specialists) carry
   `nav.site-head *{margin:0;padding:0}`, which outranks the .ns-* rules above
   and left the search field 23px tall with its text over the magnifier (audit,
   UX 6). These restore the search controls' spacing on those pages. */
nav.site-head .ns-toggle{padding:6px 10px}
nav.site-head .ns-panel{padding:14px 32px 18px}
nav.site-head .ns-input{padding:12px 14px}
nav.site-head .ns-go{padding:12px 18px}
nav.site-head .ns-results{margin:8px auto 0}
nav.site-head .ns-results a{padding:10px 12px}
nav.site-head .ns-results .ns-none{padding:10px 12px}
nav.site-head .ns-results .ns-fixed{padding:6px 12px 2px}
nav.site-head .ns-all{margin:6px auto 0;padding:11px 12px}
@media(max-width:1080px){nav.site-head .ns-panel{padding:12px 16px 16px}nav.site-head .ns-go{padding:12px 14px}}
@media(min-width:1081px){nav.site-head .ns-panel{padding:0}nav.site-head .ns-input{padding:9px 12px 9px 34px}nav.site-head .ns-go{padding:0}nav.site-head .ns-results{margin:0;padding:6px}nav.site-head .ns-all{margin:0;padding:9px 12px}}

/* One type scale and one page background for content pages (design audit S4,
   S5 and M1, 2026-10-22; Filipe approved). Pages used nine h1 sizes on phones
   (19.5 to 34px), two weights (800, 900) and two backgrounds (--soft on the
   pathway and PER families, --bg everywhere else), so a reader moving from
   Start Here to a PRA page to the books saw three different sites. Now:
   - every hero h1 is 30px on phones, rising with the window to 42px at
     1273px and wider, weight 800;
   - every page sits on --bg; --soft stays for bands and panels;
   - the small label above an h1 (.eyebrow) is one style: 13px/700 Source
     Sans 3, sentence case as written. Montserrat is for the wordmark only.
   The homepage h1 (.fp-h1) is a different element on purpose and keeps its
   own scale. The selector list names the hero containers in use; a new hero
   class needs adding here. Page CSS still sets the colour (white on the navy
   bands), margins and max-width. */
:root{--h1-phone:30px;--h1-desk:42px;--h1-w:800}
body{background:var(--bg)}
:is(.page-hero,.shero,.hero,.fq-hero,.jb-hero,.detail-hero,.art-hero,.ga-hero,.ss-hero,main>.wrap) h1:not(.fp-h1){font-size:clamp(var(--h1-phone),calc(2.2vw + 14px),var(--h1-desk));font-weight:var(--h1-w);line-height:1.15;letter-spacing:-.3px;text-wrap:balance}
.eyebrow{font-family:'Source Sans 3',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:13px;font-weight:700;line-height:1.3;letter-spacing:.2px;text-transform:none}
/* Zero specificity: a page that sets its own eyebrow colour (light pink on
   the navy confirmation bands) keeps it. */
:where(.eyebrow){color:var(--red-text)}

/* Small fixes from the same audit, CSS only. */
/* M5: on the three legacy pages the header's magnifier sat 240px left of the
   burger at tablet widths; push it to the right like every other page. */
@media(max-width:1080px){nav.site-head .nav-search{margin-left:auto}nav.site-head .nav-burger{margin-left:8px}}

/* Product pages: purchase-recovery link under each Buy button */
.buy-help{font-size:14px;line-height:1.5;color:var(--mut);margin:10px 0 0}
.buy-help a{color:var(--navy);font-weight:600}
.buy-cta .buy-help{color:#C9D5EA;margin:14px 0 6px}
.buy-cta .buy-help a{color:#fff}

/* Two-row header (2026-10-22/23, Filipe chose and shaped it). Markup lives in
   index.html and tools/sync_nav.py copies it. Desktop (1081px and up), 68px:
   a light strip (38px: links, Book Consultation, search) over a navy row (30px:
   the five menus). Columns: logo | spacer | links | button | search; the navy
   row spans links to search. The logo is split across the rows: FILIPE SANTOS
   MD on the strip, PATH TO PRACTICE on the navy, with the gap between them
   0.6 x the name's font size, as in the one-colour logo, centred on the colour
   change (--l1y/--l2y; re-measure the ink gap if a font size changes). Phones
   keep the white bar. The typed field shows from 1081px (was 1300px; ui.css,
   search.js and the inline nav script change together).
   :is(body>nav,nav.site-head) outranks the older pages' own nav.site-head rules. */
@media(min-width:1081px){
  :is(body>nav,nav.site-head),body>nav.site-head{background:linear-gradient(to bottom,#F2F4F8 0 38px,var(--navy) 38px);border-bottom-color:var(--navy)}
  :is(body>nav,nav.site-head) .nav-inner{display:grid;grid-template-columns:auto 1fr auto auto auto;grid-template-rows:38px 30px;column-gap:18px;row-gap:0;align-items:center;height:auto;min-height:68px}
  :is(body>nav,nav.site-head) .nav-inner .nav-links{display:contents}
  /* logo across both rows */
  :is(body>nav,nav.site-head) .nav-inner>.logo{grid-row:1/3;grid-column:1;align-self:stretch;display:grid;grid-template-rows:38px 30px;gap:0;margin:0;--l1y:-9.2px;--l2y:6px}
  :is(body>nav,nav.site-head) .logo .l1{align-self:end;margin:0;padding:0;font-size:19px;letter-spacing:4px;line-height:1;color:var(--navy);transform:translateY(var(--l1y))}
  :is(body>nav,nav.site-head) .logo .l2{align-self:start;margin:0;font-size:15px;letter-spacing:2.6px;line-height:1;color:#fff;transform:translateY(var(--l2y))}
  :is(body>nav,nav.site-head) .logo .leaf{width:15px;height:15px}
  /* strip: links, then the one red button, then search */
  :is(body>nav,nav.site-head) .nav-inner .nav-util{grid-row:1;grid-column:3;justify-self:start;display:flex;align-items:center;gap:24px}
  :is(body>nav,nav.site-head) .nav-inner .nav-cta-row>.btn{grid-row:1;grid-column:4;min-height:0;border:0;padding:4px 16px;font-size:13.5px;line-height:1.5;box-shadow:none;text-align:center}
  :is(body>nav,nav.site-head) .nav-inner>.nav-search{grid-row:1;grid-column:5;margin:0;width:210px}
  :is(body>nav,nav.site-head) .nav-search .ns-input{padding:3px 12px 3px 32px;font-size:14px;border:1px solid #D5DCE7;background-position:10px 50%}
  :is(body>nav,nav.site-head) .nav-util>.nav-plain,:is(body>nav,nav.site-head) .nav-util>.nav-group>.nav-top{font-size:13.5px;font-weight:600;color:var(--ink)}
  :is(body>nav,nav.site-head) .nav-util>.nav-plain:hover,:is(body>nav,nav.site-head) .nav-util>.nav-group>.nav-top:hover{color:var(--red-text)}
  /* navy row: the five menus, white, from under the strip's first link */
  :is(body>nav,nav.site-head) .nav-inner .nav-main{grid-row:2;grid-column:3/6;justify-self:stretch;display:flex;align-items:center;justify-content:flex-start;gap:36px}
  :is(body>nav,nav.site-head) .nav-main>.nav-plain,:is(body>nav,nav.site-head) .nav-main>.nav-group>.nav-top{font-size:15px;color:#fff}
  :is(body>nav,nav.site-head) .nav-main>.nav-plain{font-weight:700}
  :is(body>nav,nav.site-head) .nav-main>.nav-plain:hover,:is(body>nav,nav.site-head) .nav-main>.nav-group>.nav-top:hover,:is(body>nav,nav.site-head) .nav-main>.nav-group:focus-within:not(.nav-shut)>.nav-top{color:#F3D5D5}
  :is(body>nav,nav.site-head) .nav-main .nav-top i{color:#C9D5EA}
  :is(body>nav,nav.site-head) .nav-main .nav-top:focus-visible,:is(body>nav,nav.site-head) .nav-main>.nav-plain:focus-visible{outline-color:#fff}
  /* menus hang from their label so they never leave the window */
  :is(body>nav,nav.site-head) .nav-util .nav-menu{left:auto;right:-14px;transform:none}
  :is(body>nav,nav.site-head) .nav-util .nav-menu.mega{min-width:340px;grid-template-columns:1fr}
  :is(body>nav,nav.site-head) .nav-main .g-exams .nav-menu.mega{left:-14px;transform:none}
  /* current section: underline (white on the navy row) */
  :is(body>nav,nav.site-head) .nav-links :is(.nav-main,.nav-util)>a.nav-plain.nav-here{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px;text-decoration-color:var(--red-text)}
  :is(body>nav,nav.site-head) .nav-main>.nav-group.nav-here>.nav-top,:is(body>nav,nav.site-head) .nav-main>a.nav-plain.nav-here{text-decoration-color:#fff;text-underline-offset:5px}
  :is(body>nav,nav.site-head) .nav-util>.nav-group.nav-here>.nav-top,:is(body>nav,nav.site-head) .nav-util>a.nav-plain.nav-here{text-underline-offset:5px}
  html{scroll-padding-top:82px}
}
@media(min-width:1081px) and (max-width:1299px){
  :is(body>nav,nav.site-head) .nav-inner{column-gap:14px}
  :is(body>nav,nav.site-head) .nav-inner,:is(body>nav,nav.site-head) .nav-inner.nav-wrap{max-width:1160px}
  :is(body>nav,nav.site-head) .nav-inner>.logo{--l1y:-6px}
  :is(body>nav,nav.site-head) .logo .l1{font-size:17px;letter-spacing:3px}
  :is(body>nav,nav.site-head) .logo .l2{font-size:13.5px;letter-spacing:2px}
  :is(body>nav,nav.site-head) .nav-inner .nav-util{gap:18px}
  :is(body>nav,nav.site-head) .nav-inner>.nav-search{width:180px}
  :is(body>nav,nav.site-head) .nav-inner .nav-main{gap:26px}
  :is(body>nav,nav.site-head) .nav-main>.nav-plain,:is(body>nav,nav.site-head) .nav-main>.nav-group>.nav-top{font-size:14px}
}
@media(min-width:1081px) and (max-width:1159px){:is(body>nav,nav.site-head) .nav-inner .nav-main{gap:22px}}
/* Touch screens at desktop width (iPad landscape, Windows touch laptops): both
   rows 44px so every label and the field are 44px targets; header 88px there.
   The red button keeps its slim 28px look (Filipe, 2026-10-29: at 44px it was a
   block from the window edge to the navy row); its 44px target is an invisible
   ::after, as for the small links above. */
@media(min-width:1081px) and (pointer:coarse){
  :is(body>nav,nav.site-head),body>nav.site-head{background:linear-gradient(to bottom,#F2F4F8 0 44px,var(--navy) 44px)}
  :is(body>nav,nav.site-head) .nav-inner,:is(body>nav,nav.site-head) .nav-inner>.logo{grid-template-rows:44px 44px}
  :is(body>nav,nav.site-head) .nav-inner>.logo{--l2y:10px}
  :is(body>nav,nav.site-head) .nav-inner :is(.nav-main,.nav-util)>.nav-plain,:is(body>nav,nav.site-head) .nav-inner :is(.nav-main,.nav-util)>.nav-group>.nav-top{min-height:44px;display:inline-flex;align-items:center}
  :is(body>nav,nav.site-head) .nav-inner .nav-cta-row>.btn{position:relative}
  :is(body>nav,nav.site-head) .nav-inner .nav-cta-row>.btn::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}
  :is(body>nav,nav.site-head) .nav-search .ns-input{min-height:40px}
  html{scroll-padding-top:102px}
}

/* Phone sheet: the button, then Pathways first (Filipe, 2026-10-22). The bar
   stays white; search is the magnifier in the bar. */
@media(max-width:1080px){
  /* 2026-10-30: the sheet follows the DOM (Pathways, Exams & Study, Books,
     Fellowships, Jobs, Free Resources, App, About), so the focus order and
     the visual order agree; Get the App and Book a Consultation appear once. */
  nav .nav-inner .nav-links .nav-menu a.nav-dup{display:none}
  nav .nav-inner .nav-links .nav-main,nav .nav-inner .nav-links .nav-util{display:contents}
  /* the shared phone rules address .nav-links>.nav-plain; repeat them for items inside the wrappers */
  nav .nav-inner .nav-links :is(.nav-main,.nav-util)>.nav-plain{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:0;border-bottom:1px solid var(--line);font-size:17px;font-weight:700;line-height:1.3;color:var(--navy);white-space:normal}
  nav .nav-inner .nav-links .nav-util>.nav-acct{display:none}
  nav .nav-inner .nav-links :is(.nav-main,.nav-util)>a.nav-plain.nav-here{box-shadow:inset 3px 0 0 var(--red-text);padding-left:12px}
  nav .nav-inner .nav-links .nav-cta-row .btn{width:100%;text-align:center;font-size:16px;padding:14px 16px}
}

/* "Not sure? Start here" closes the Pathways menu */
nav .nav-menu a.nav-notsure{border-top:1px solid var(--line);margin-top:4px;color:var(--red-text)}

/* Product column on guide and content pages (2026-10-30). assets/products.js
   appends <aside class="site-side"> to <main>; from 1081px main becomes two
   columns and the aside runs the full height on the right. A hero header that
   is the first child of main keeps the full width (.side-full) and the aside
   starts on the second row (.side-r2). On phones the aside follows the content
   with its lists collapsed. The homepage has its own column and does not load
   the script. */
.site-side{margin:24px 16px 8px;background:var(--cream);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.site-side .side-h{font-size:20px;font-weight:700;color:var(--navy);margin:0 0 2px;line-height:1.3;letter-spacing:normal;text-transform:none}
.site-side .side-sub{margin:0;font-size:15px;color:var(--mut);line-height:1.45}
.site-side .side-feat{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.site-side .side-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 14px 12px;text-decoration:none;color:inherit}
.site-side .side-card:hover{border-color:var(--navy)}
.site-side .side-kick{font-family:'Montserrat',sans-serif;font-size:11.5px;letter-spacing:2px;font-weight:700;color:var(--red-text);text-transform:uppercase;margin-bottom:8px}
.site-side .side-row{display:flex;gap:12px;align-items:flex-start}
.site-side .side-cov{flex:none;display:flex;align-items:flex-start}
.site-side .side-cov img{width:56px;height:auto;border-radius:5px;box-shadow:1px 2px 7px rgba(0,0,0,.22);display:block}
.site-side .side-cov img+img{margin-left:-26px}
.site-side .side-tx{display:flex;flex-direction:column;gap:3px;min-width:0}
.site-side .side-tx b{color:var(--navy);font-size:17px;line-height:1.25}
.site-side .side-card:hover b{text-decoration:underline}
.site-side .side-flag{align-self:flex-start;background:var(--red);color:#fff;font-size:12px;font-weight:700;border-radius:999px;padding:2px 9px;margin-bottom:2px}
.site-side .side-note{font-size:13.5px;color:var(--mut);line-height:1.4}
.site-side .side-pr{font-size:16px;font-weight:700;color:var(--navy);margin-top:2px}
.site-side .side-pr small{font-size:12px;color:var(--mut);font-weight:600}
.site-side .side-pr em{display:block;font-style:normal;font-size:13px;color:#1F7A4D;font-weight:700}
.site-side .side-go{display:block;text-align:center;border:2px solid var(--navy);color:var(--navy);border-radius:8px;padding:10px 14px;font-size:14px;font-weight:700;margin-top:12px}
.site-side .side-card:hover .side-go{background:var(--navy);color:#fff}
.site-side .side-d{margin-top:12px;border-top:1px solid var(--line)}
.site-side summary{cursor:pointer;font-weight:700;color:var(--navy);font-size:15px;min-height:44px;display:flex;align-items:center;list-style:none}
.site-side summary::-webkit-details-marker{display:none}
.site-side summary::after{content:"\203A";margin-left:auto;font-size:20px;color:var(--mut);transition:transform .15s}
.site-side .side-d[open] summary::after{transform:rotate(90deg)}
.site-side .side-k{font-family:'Montserrat',sans-serif;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--mut);font-weight:600;margin:12px 0 2px}
.site-side ul{list-style:none;margin:0;padding:0}
.site-side li{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:44px;border-bottom:1px solid var(--line);margin:0;padding:0}
.site-side li:last-child{border-bottom:0}
.site-side li a{flex:1 1 auto;display:flex;align-items:center;min-height:44px;color:var(--navy);font-weight:600;font-size:14.5px;line-height:1.3;text-decoration:none}
.site-side li a:hover{text-decoration:underline}
.site-side li a img{flex:none;width:48px;height:auto;border-radius:4px;box-shadow:1px 1px 4px rgba(0,0,0,.2);margin-right:10px}
.site-side .side-wide{display:block;width:100%;height:auto;border-radius:8px;margin-bottom:12px}
.site-side li span{color:var(--mut);font-size:14px;white-space:nowrap}
.site-side .side-more{margin:12px 0 0;font-size:14.5px;line-height:1.5}
.site-side .side-more a{color:var(--navy);font-weight:700;display:inline-flex;align-items:center;min-height:44px}
@media(min-width:1081px){
  main.has-side{display:grid;grid-template-columns:minmax(0,1fr) 320px;column-gap:32px;align-items:start;max-width:1160px;margin:0 auto;padding:0 32px;box-sizing:border-box}
  main.has-side.seo-wrap,main.has-side.wrap{max-width:1160px!important;padding:0 32px!important}
  main.has-side>*{grid-column:1;min-width:0}
  main.has-side>.site-side{grid-column:2;grid-row:1/span 400;align-self:stretch;margin:24px 0 24px}
  main.has-side>.site-side.side-r2{grid-row:2/span 400}
  main.has-side>.side-full{grid-column:1/-1;margin-left:-32px;margin-right:-32px}
  main.has-side>*:not(.side-full) .wrap,main.has-side>*:not(.side-full) .seo-wrap{max-width:none!important;padding-left:0!important;padding-right:0!important}
  main.has-side .side-d>summary{display:none}
}

/* Black Friday 2026 (assets/sale.js; remove after the sale) */
.bf-strip{background:#0a0d12;color:#FAF7F2;font-size:14.5px;line-height:1.45;padding:9px 0;text-align:center}
.bf-strip b{color:#ff6b74}
.bf-strip .bf-end{color:#E3B062;font-weight:700}
.bf-strip a{color:#FAF7F2;font-weight:700;text-decoration:underline;margin-left:6px}
.bf-was{text-decoration:line-through;color:var(--mut);font-weight:700;font-size:.72em;margin-right:6px}
.bf-now{color:var(--red)}
.bf-note{margin:8px 0 10px;font-size:14.5px;font-weight:700;color:var(--red)}
.bf-consult{background:var(--cream);border-bottom:1px solid var(--line);padding:28px 0}
.bf-consult h2{margin:0 0 8px}
.bf-consult .bf-first{font-weight:700;border-left:4px solid var(--red);padding-left:12px;margin:0 0 10px}
.bf-consult .bf-terms{font-size:14px;color:var(--mut)}
