/* TSZ_P19_8A — Stable-baseline chapter navigator.
   Scoped styles. Does not style .app-card, catalog, price, shelf or hero.
   The root is sticky within <main>; the chevron panel expands in normal flow. */
#tsz-p198-guide {
  --p198-line:rgba(218,185,176,.30);
  --p198-peach:#f5c9b8;
  --p198-fg:#fff1eb;
  --p198-muted:#cdb8bd;
  position:sticky;top:8px;z-index:16;
  width:100%;min-width:0;margin:22px 0 30px;
  color:var(--p198-fg);
  border:1px solid var(--p198-line);border-radius:18px;
  background:linear-gradient(110deg,rgba(30,24,36,.97),rgba(25,22,34,.97) 70%,rgba(35,25,37,.97));
  box-shadow:0 15px 32px rgba(0,0,0,.19),inset 0 1px rgba(255,237,231,.08);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  overflow:clip;
  container-type:inline-size;
}
#tsz-p198-guide .p198-accordion>summary{list-style:none;cursor:pointer}
#tsz-p198-guide .p198-accordion>summary::-webkit-details-marker{display:none}
#tsz-p198-guide .p198-summary {display:flex;align-items:center;gap:12px;padding:12px 15px 10px;min-width:0}
#tsz-p198-guide .p198-title {flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
#tsz-p198-guide .p198-eyebrow {display:block;color:var(--p198-muted);font-size:10px;font-weight:760;letter-spacing:.14em;text-transform:uppercase;line-height:1.4}
#tsz-p198-guide .p198-heading {font-size:14px;line-height:1.4;font-weight:730;overflow-wrap:anywhere}
#tsz-p198-guide .p198-fraction {flex:none;display:flex;align-items:baseline;gap:5px;direction:ltr;font-size:21px;font-weight:790;line-height:1.2;letter-spacing:-.05em;font-variant-numeric:tabular-nums;color:var(--p198-fg)}
#tsz-p198-guide .p198-fraction .p198-slash,#tsz-p198-guide .p198-fraction .p198-denominator{color:#a993a0;font-weight:550;font-size:13px}
#tsz-p198-guide .p198-open{flex:none;display:flex;gap:7px;align-items:center;justify-content:center;min-height:37px;padding:8px 12px;border:1px solid var(--p198-line);border-radius:11px;background:rgba(255,255,255,.035);color:var(--p198-fg);font-size:12px;font-weight:700}
#tsz-p198-guide .p198-accordion>summary:hover .p198-open{border-color:var(--p198-peach);background:rgba(255,205,187,.09)}
#tsz-p198-guide .p198-chevron{display:block;flex:none;width:14px;height:14px;transition:transform .18s ease}
#tsz-p198-guide .p198-accordion[open] .p198-chevron{transform:rotate(180deg)}
#tsz-p198-guide .p198-meter{display:block;width:calc(100% - 30px);height:6px;margin:0 15px 13px;border:0;border-radius:20px;overflow:hidden;background:rgba(255,255,255,.12);accent-color:var(--p198-peach)}
#tsz-p198-guide .p198-meter::-webkit-progress-bar{background:rgba(255,255,255,.12);border-radius:20px}
#tsz-p198-guide .p198-meter::-webkit-progress-value{background:linear-gradient(90deg,#f5c9b8,#d8a8d5);border-radius:20px;transition:width .22s ease}
#tsz-p198-guide .p198-meter::-moz-progress-bar{background:linear-gradient(90deg,#f5c9b8,#d8a8d5);border-radius:20px}
#tsz-p198-guide .p198-disclosure{border-top:1px solid var(--p198-line);padding:12px 15px 15px;background:rgba(0,0,0,.14)}
#tsz-p198-guide .p198-link-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#tsz-p198-guide .p198-chapter{min-width:0;display:flex;align-items:center;gap:8px;min-height:50px;padding:8px 10px;text-decoration:none;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.035);color:var(--p198-fg);font-size:12px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
#tsz-p198-guide .p198-chapter .p198-n{color:var(--p198-peach);font-size:11px;font-weight:790;font-variant-numeric:tabular-nums}
#tsz-p198-guide .p198-chapter:hover,#tsz-p198-guide .p198-chapter[aria-current="step"]{border-color:rgba(245,201,184,.7);background:rgba(245,201,184,.13)}
#tsz-p198-guide :focus-visible{outline:2px solid var(--p198-peach);outline-offset:2px}
#tsz-p198-guide [dir="ltr"]{direction:ltr}
@container (max-width:650px){#tsz-p198-guide .p198-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#tsz-p198-guide{top:4px;margin:12px 0 22px;border-radius:14px}#tsz-p198-guide .p198-summary{padding:10px 11px 8px;gap:7px}#tsz-p198-guide .p198-heading{font-size:12px}#tsz-p198-guide .p198-eyebrow{font-size:9px}#tsz-p198-guide .p198-fraction{font-size:19px}#tsz-p198-guide .p198-open{font-size:11px;padding:8px;min-height:35px}#tsz-p198-guide .p198-meter{width:calc(100% - 22px);margin:0 11px 10px}#tsz-p198-guide .p198-disclosure{padding:10px}#tsz-p198-guide .p198-chapter{min-height:44px}}
@media(max-width:370px){#tsz-p198-guide .p198-summary{flex-wrap:wrap}#tsz-p198-guide .p198-open{margin-inline-start:auto}}
@media(prefers-reduced-motion:reduce){#tsz-p198-guide .p198-chevron,#tsz-p198-guide .p198-meter::-webkit-progress-value{transition:none!important}}

/* P19-8B: compact analytics bar and readable section-anchor landing.
   Sticky nav intentionally stays narrow; targeted anchors account for its height. */
#tsz-p198-guide {top:6px;margin:18px 0 27px;border-radius:15px;backdrop-filter:none;-webkit-backdrop-filter:none;background:#1e1924;box-shadow:0 12px 24px rgba(0,0,0,.24);isolation:isolate}
#tsz-p198-guide .p198-summary {padding:9px 13px 7px;gap:10px}
#tsz-p198-guide .p198-eyebrow {font-size:9px;letter-spacing:.11em}
#tsz-p198-guide .p198-heading {font-size:14px;font-weight:770;line-height:1.35}
#tsz-p198-guide .p198-meter {height:5px;margin-bottom:9px;width:calc(100% - 26px);margin-left:13px;margin-right:13px}
#tsz-p198-guide .p198-open {min-height:35px;border-color:rgba(245,201,184,.45);background:rgba(245,201,184,.08)}
#tsz-p198-guide .p198-accordion>summary:active .p198-open {background:rgba(245,201,184,.2)}
#tsz-p198-guide .p198-chapter {transition:background-color .15s ease,border-color .15s ease}
#tsz-p198-guide .p198-disclosure {transform-origin:top;animation:p198-unfold .18s ease-out both}
@keyframes p198-unfold {from{opacity:.55;clip-path:inset(0 0 20% 0)}to{opacity:1;clip-path:inset(0 0 0 0)}}
#choose,#free-now,#paid-now,#catalog {scroll-margin-top:104px}
/* App Store CTAs are native links styled as buttons; real destinations, metadata
   and price badges remain under the original validated rendering code. */
.app-card .app-footer > a[href*="apps.apple.com"] {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;border:1px solid rgba(245,201,184,.5);border-radius:11px;background:rgba(245,201,184,.10);color:#f9e3d8;text-align:center;text-decoration:none;line-height:1.3;max-width:100%;transition:background-color .16s ease,border-color .16s ease}
.app-card .app-footer > a[href*="apps.apple.com"]:hover {background:rgba(245,201,184,.22);border-color:#f5c9b8;color:#fff4ed}
.app-card .app-footer > a[href*="apps.apple.com"]:focus-visible {outline:2px solid #f5c9b8;outline-offset:3px}
.app-card .app-footer {flex-wrap:wrap;align-items:center;row-gap:8px}
@media(max-width:620px){
  #tsz-p198-guide {top:3px;margin:11px 0 19px}
  #tsz-p198-guide .p198-summary {padding:8px 10px 6px;gap:7px}
  #tsz-p198-guide .p198-heading {font-size:12px}
  #tsz-p198-guide .p198-open {min-height:34px}
  #tsz-p198-guide .p198-meter {width:calc(100% - 20px);margin:0 10px 8px}
  #choose,#free-now,#paid-now,#catalog {scroll-margin-top:88px}
  .app-card .app-footer > a[href*="apps.apple.com"] {min-height:42px;padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){#tsz-p198-guide .p198-disclosure{animation:none!important}.app-card .app-footer > a[href*="apps.apple.com"]{transition:none!important}}
