.hs-v2 {
  font: 400 var(--hs-text-size)/var(--hs-text-leading) var(--hs-font);
  color: var(--hs-ink);
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
  text-align: left;
  overflow-wrap: anywhere;
}
.hs-v2 * { box-sizing: border-box; }
.hs-v2 h1, .hs-v2 h2, .hs-v2 h3, .hs-v2 p { margin: 0; }
.hs-v2 h1 { font-size: var(--hs-h1-size); line-height: var(--hs-h1-leading); letter-spacing: var(--hs-h1-tracking); font-weight: var(--hs-weight-strong); }
.hs-v2 h2 { font-size: var(--hs-h2-size); line-height: var(--hs-h2-leading); letter-spacing: var(--hs-h2-tracking); font-weight: var(--hs-weight-strong); }
.hs-v2 h3 { font-size: var(--hs-h3-size); line-height: var(--hs-h3-leading); font-weight: var(--hs-weight-strong); }
.hs-v2 button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; min-height: 44px; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background-color var(--hs-fade-speed), transform var(--hs-press-speed) var(--hs-press-ease); }
.hs-v2 :is(button:not(:disabled), .hs-nav a, a.hs-button, a.hs-pill, a.hs-link, .hs-report-next, .hs-stepper a, .hs-plan-card-link, .hs-book-card-link):not(p a):active { transform: scale(.965); }
.hs-v2 button:disabled { cursor: not-allowed; }
.hs-v2 :is(a, button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"]), [contenteditable]:not([contenteditable="false"])):focus-visible { outline: var(--hs-focus-ring); outline-offset: var(--hs-focus-offset); }
/* main takes focus only from script after a route change (tabindex=-1), so screen readers start
   at the new content; it is not a control and gets no ring. */
.hs-v2 .hs-content:focus { outline: none; }
.hs-v2 .hs-device {
  position: relative;
  display: grid;
  grid-template-columns: 172px minmax(0,1fr);
  grid-template-areas: 'top top' 'connection connection' 'nav main';
  align-items: start;
}
.hs-v2 .hs-top { grid-area: top; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--hs-line); padding: 16px 22px; }
.hs-v2 .hs-crumb { display: flex; align-items: baseline; gap: 9px; min-width: 0; flex-wrap: wrap; }
.hs-v2 .hs-brand { display: flex; align-items: center; gap: 8px; font-size: var(--hs-brand-size); font-weight: var(--hs-weight-brand); letter-spacing: -.02em; }
.hs-v2 .hs-brandmark { color: var(--hs-gold); font-size: 17px; line-height: 1; }
.hs-v2 .hs-crumb-rest { font-size: var(--hs-small-size); color: var(--hs-muted); }
.hs-v2 .hs-top-right { display: flex; align-items: center; gap: 8px; }
.hs-v2 .hs-account { color: var(--hs-muted); font-size: var(--hs-small-size); }
.hs-v2 .hs-icon { color: var(--hs-ink); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--hs-card); border: 1px solid var(--hs-line); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); box-shadow: inset 0 1px 0 var(--hs-edge), 0 4px 14px var(--hs-shadow); }
.hs-v2 .hs-icon svg { width: 20px; height: 20px; }
.hs-v2 .hs-current { color: var(--hs-teal-text); }
.hs-v2 .hs-content { grid-area: main; padding: 28px; }
.hs-v2 .hs-content p { margin-top: 18px; color: var(--hs-muted); }
.hs-v2 .hs-nav { grid-area: nav; display: grid; grid-template-columns: 1fr; gap: 3px; position: sticky; top: 12px; bottom: auto; margin: 16px 0 16px 12px; padding: 8px; border: 0; border-radius: var(--hs-radius-nav); background: transparent; z-index: 5; }
.hs-v2 .hs-nav a { display: flex; align-items: center; gap: 10px; padding: 12px; font-size: 13px; min-height: 48px; text-align: left; border-radius: var(--hs-radius-nav-item); color: var(--hs-muted); text-decoration: none; transition: background-color var(--hs-fade-speed), color var(--hs-fade-speed), transform var(--hs-press-speed) var(--hs-press-ease); }
.hs-v2 .hs-nav a[aria-current=page] { background: var(--hs-card); color: var(--hs-teal-text); box-shadow: inset 0 1px 0 var(--hs-edge), inset 0 -1px 1px var(--hs-edge), 0 6px 18px var(--hs-shadow); }
.hs-v2 .hs-nav a svg { width: 20px; height: 20px; flex: none; }
.hs-v2 .hs-eyebrow { font-size: var(--hs-eyebrow-size); letter-spacing: var(--hs-eyebrow-tracking); text-transform: uppercase; font-weight: var(--hs-weight-strong); color: var(--hs-muted); }
.hs-v2 .hs-small { font-size: var(--hs-small-size); line-height: var(--hs-small-leading); color: var(--hs-muted); }
.hs-v2 .hs-page { display: grid; gap: 20px; animation: hs-arrive var(--hs-speed) var(--hs-page-ease) both; }
.hs-v2 .hs-panel { padding: 22px; border-radius: var(--hs-radius); border: 1px solid var(--hs-edge); background-color: var(--hs-card); background-image: var(--hs-surface-glass); -webkit-backdrop-filter: var(--hs-surface-blur); backdrop-filter: var(--hs-surface-blur); box-shadow: var(--hs-surface-shadow); }
@media (prefers-reduced-transparency: reduce) {
  .hs-v2 .hs-panel, .hs-v2 .hs-icon, .hs-v2 .hs-pill:not(.quiet) { background-image: none; backdrop-filter: none; -webkit-backdrop-filter: none; background-color: var(--hs-card); }
}
:root[data-transparency="reduce"] .hs-v2 .hs-panel, :root[data-transparency="reduce"] .hs-v2 .hs-icon, :root[data-transparency="reduce"] .hs-v2 .hs-pill:not(.quiet) { background-image: none; backdrop-filter: none; -webkit-backdrop-filter: none; background-color: var(--hs-card); }
:root[data-transparency="reduce"] .hs-v2 .hs-sheet::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hs-v2 .hs-panel, .hs-v2 .hs-icon, .hs-v2 .hs-pill:not(.quiet) { background-image: none; backdrop-filter: none; -webkit-backdrop-filter: none; background-color: var(--hs-card); }
}
@media (max-width: 680px) {
  /* Anything scrolled or tabbed into view stops above the fixed bottom bar. */
  :root { scroll-padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
  .hs-v2 .hs-device { display: flex; flex-direction: column; min-height: 100dvh; }
  .hs-v2 .hs-top { padding: 14px 18px; width: 100%; }
  .hs-v2 .hs-brand { font-size: var(--hs-brand-size-mobile); }
  .hs-v2 .hs-brandmark { font-size: 15px; }
  .hs-v2 .hs-account { display: none; }
  .hs-v2 .hs-content { padding: 18px; padding-bottom: calc(120px + env(safe-area-inset-bottom)); flex: 1; width: 100%; order: 1; }
  .hs-v2 h1 { font-size: var(--hs-h1-size-mobile); }
  .hs-v2 .hs-nav { order: 2; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); grid-template-columns: none; align-self: stretch; position: fixed; top: auto; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); background: var(--hs-card); border: 1px solid var(--hs-line); margin: 0; padding: 5px; gap: 1px; border-radius: var(--hs-radius-nav); box-shadow: 0 6px 24px var(--hs-shadow); }
  .hs-v2 .hs-nav a { display: grid; justify-items: center; gap: 5px; font-size: 12px; padding: 8px 2px; min-height: 61px; text-align: center; border-radius: var(--hs-radius-nav-item-mobile); overflow-wrap: normal; line-height: 1.2; }
}
@media (max-width: 440px) {
  .hs-v2 .hs-panel { padding: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-v2 * { transition-property: opacity, color, background-color, border-color !important; transition-duration: 150ms !important; animation: none !important; }
  .hs-v2 :is(.hs-page, .hs-sheet-panel, .hs-toast) { animation: hs-fade-in 150ms var(--hs-ease) both !important; }
  .hs-v2 :is(button:not(:disabled), .hs-nav a, a.hs-button, a.hs-pill, a.hs-link, .hs-report-next, .hs-stepper a, .hs-plan-card-link, .hs-book-card-link):not(p a):active { transform: none !important; opacity: .7; }
}

:root[data-motion="reduce"] .hs-v2 * { transition-property: opacity, color, background-color, border-color !important; transition-duration: 150ms !important; animation: none !important; }
:root[data-motion="reduce"] .hs-v2 :is(.hs-page, .hs-sheet-panel, .hs-toast) { animation: hs-fade-in 150ms var(--hs-ease) both !important; }
:root[data-motion="reduce"] .hs-v2 :is(button:not(:disabled), .hs-nav a, a.hs-button, a.hs-pill, a.hs-link, .hs-report-next, .hs-stepper a, .hs-plan-card-link, .hs-book-card-link):not(p a):active { transform: none !important; opacity: .7; }

.hs-v2 .hs-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hs-v2 .hs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 12px; }

/* Portfolio list, guest introduction and simple-page empty states. */
.hs-v2 .hs-books { display: grid; gap: 20px; }
.hs-v2 .hs-books .hs-title, .hs-v2 .hs-placeholder-page > .hs-title { margin-bottom: 0; }
.hs-v2 .hs-books .hs-title-sub:empty { display: none; }
.hs-v2 .hs-books .hs-eyebrow { margin-bottom: 8px; }
.hs-v2 .hs-books-section { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.hs-v2 .hs-books-section .hs-card-h { font-size: 20px; align-self: center; }
.hs-v2 .hs-books-tools { display: grid; gap: 8px; justify-items: end; max-width: 100%; }
.hs-v2 .hs-books-tools .hs-caption { max-width: 36ch; text-align: right; }
.hs-v2 .hs-books-grid { display: grid; gap: 14px; grid-template-columns: minmax(0,1fr); }
@container (min-width: 560px) {
  .hs-v2 .hs-books-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@container (min-width: 900px) {
  .hs-v2 .hs-books-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.hs-v2 .hs-book-card { display: grid; gap: 10px; align-content: start; min-width: 0; padding: 18px; margin: 0; border-radius: 20px; overflow-wrap: anywhere; }
.hs-v2 .hs-book-card.primary { border: 1px solid var(--hs-gold); }
.hs-v2 .hs-book-card h3 { font-size: 17px; font-weight: 600; margin: 0; }
.hs-v2 .hs-book-top { min-height: 24px; }
.hs-v2 .hs-book-card p { margin: 0; }
.hs-v2 .hs-book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.hs-v2 .hs-book-actions button { margin: 0; }
.hs-v2 .hs-books .hs-pill, .hs-v2 .hs-landing :is(.hs-pill, .hs-button), .hs-v2 .hs-placeholder .hs-pill { transition: background-color var(--hs-fade-speed), color var(--hs-fade-speed), transform var(--hs-press-speed) var(--hs-press-ease); }
.hs-v2 .hs-books .hs-pill:disabled { opacity: .55; }
.hs-v2 .hs-landing { gap: 44px; }
.hs-v2 .hs-landing-hero { display: grid; justify-items: start; gap: 18px; }
.hs-v2 .hs-landing-hero h1 { max-width: 24ch; font-size: 40px; line-height: 1.12; letter-spacing: -1.25px; }
.hs-v2 .hs-landing p { margin: 0; }
.hs-v2 .hs-landing-lead { max-width: 65ch; font-size: 16px; color: var(--hs-muted); }
.hs-v2 .hs-landing .hs-actions { gap: 10px; margin: 0; }
.hs-v2 .hs-landing .hs-button { border-radius: 999px; text-decoration: none; }
.hs-v2 .hs-landing .hs-button svg { width: 18px; height: 18px; }
.hs-v2 .hs-landing-journey { display: grid; gap: 12px; }
.hs-v2 .hs-landing-journey > h2 { font-size: 24px; font-weight: 600; }
.hs-v2 .hs-landing-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 8px; }
.hs-v2 .hs-landing-step { display: grid; align-content: start; gap: 10px; padding: 18px; border-radius: 20px; }
.hs-v2 .hs-landing-number { color: var(--hs-teal-text); font-size: 12px; }
.hs-v2 .hs-landing-step h3 { font-size: 15px; font-weight: 600; }
.hs-v2 .hs-placeholder { display: grid; justify-items: start; gap: 12px; padding: 22px; border-radius: 24px; }
.hs-v2 .hs-placeholder p { margin: 0; }
@media (max-width: 680px) {
  .hs-v2 .hs-landing-hero h1 { font-size: 31px; }
  .hs-v2 .hs-landing-steps { grid-template-columns: minmax(0,1fr); }
}
.hs-v2 .hs-landing-line { display: block; }
.hs-v2 .hs-book-top:empty { display: none; }
/* Bell (R3): built as in the mockup, hidden until notifications are on for the account. */
.hs-v2 .hs-bell { position: relative; }
.hs-v2 .hs-bell[hidden], .hs-v2 .hs-bell-n[hidden] { display: none; }
.hs-v2 .hs-bell-n { position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 700; line-height: 1; background: var(--hs-ink); color: var(--hs-paper); font-variant-numeric: tabular-nums; }

.hs-v2 :is(button:not(:disabled), .hs-nav a, a.hs-button, a.hs-pill, a.hs-link, .hs-report-next, .hs-stepper a, .hs-plan-card-link, .hs-book-card-link):not(p a) { transition: opacity var(--hs-fade-speed), background-color var(--hs-fade-speed), transform var(--hs-press-speed) var(--hs-press-ease); }

@keyframes hs-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Guest opening and scope follow the mockup's paired panels. */
.hs-v2 .hs-landing-opening { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: center; gap: 32px; }
.hs-v2 .hs-landing-scope { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
.hs-v2 .hs-landing-scope > div { display: grid; align-content: start; gap: 10px; }
.hs-v2 .hs-landing-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; border-top: 1px solid var(--hs-line); padding-block: 18px; align-items: center; }
.hs-v2 .hs-landing-foot > span { flex: 1 1 240px; }
.hs-v2 .hs-landing-foot .hs-button { background: none; color: var(--hs-teal-text); box-shadow: none; padding: 0; min-height: 44px; font-size: 13px; }
@media (max-width: 1000px) { .hs-v2 .hs-landing-opening { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 680px) { .hs-v2 .hs-landing-scope { grid-template-columns: minmax(0,1fr); } }
/* Physical screen edges, including landscape notches and the Home indicator. */
.hs-v2 { padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.hs-v2 .hs-page-back { position: sticky; top: calc(10px + env(safe-area-inset-top)); z-index: 6; display: grid; place-items: center; justify-self: start; align-self: start; width: 44px; height: 44px; margin: 0 0 12px; border-radius: 999px; color: var(--hs-ink); text-decoration: none; background: var(--hs-surface-glass); -webkit-backdrop-filter: var(--hs-surface-blur); backdrop-filter: var(--hs-surface-blur); box-shadow: var(--hs-surface-shadow); transition: transform var(--hs-press-speed) var(--hs-press-ease); }
.hs-v2 .hs-page-back svg { width: 22px; height: 22px; stroke-width: 2.4; }
.hs-v2 .hs-page-back:active { transform: scale(.92); }
.hs-v2 .hs-legal-page :is(h3, p) { max-width: 70ch; }
.hs-v2 .hs-install-entry[hidden] { display: none; }
.hs-v2 .hs-install-steps { display: grid; gap: 18px; padding-left: 24px; }
.hs-v2 .hs-install-steps svg { vertical-align: middle; margin-right: 10px; }
.hs-v2.hs-legal-document { padding: calc(24px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left)); }
.hs-v2.hs-legal-document :is(h3, p) { margin-top: 18px; }
@media (max-width: 680px) {
  .hs-v2 .hs-nav { left: calc(8px + env(safe-area-inset-left)); right: calc(8px + env(safe-area-inset-right)); }
}

/* J3-08: shown only while the browser reports no connection. */
.hs-v2 .hs-offline { grid-area: connection; margin: 12px 22px 0; }
.hs-v2 .hs-offline[hidden] { display: none; }
@media (max-width: 680px) { .hs-v2 .hs-offline { margin: 12px 18px 0; } }
/* J3-05/J2-08: the undo toast takes input, unlike the plain toast; its button keeps 44px+. */
/* .hs-toast is pointer-events:none; the undo toast must be clickable whatever the stylesheet order. */
.hs-v2 .hs-toast.hs-undo-toast { display: flex; gap: 14px; align-items: center; pointer-events: auto; z-index: 100; }
.hs-v2 .hs-undo-toast > span { flex: 1; min-width: 0; }
.hs-v2 .hs-undo-toast .hs-button { flex: none; min-height: 44px; }
.hs-v2 .hs-kp-undo { display: grid; gap: 8px; justify-items: start; }

@media (max-width: 680px) {
  .hs-v2 .hs-nav a { grid-template-rows: 20px 2.4em; align-content: start; }
  .hs-v2 .hs-nav a span { display: flex; align-items: center; justify-content: center; min-height: 2.4em; }
}
.hs-v2 .hs-legal-document { max-width: 70ch; margin-inline: auto; }
.hs-v2 .hs-legal-document :is(h3, p) { margin-top: 18px; }

.hs-v2:has(.hs-legal-document) .hs-device { grid-template-columns: minmax(0,1fr); grid-template-areas: 'top' 'main'; }

@media (max-width: 680px) {
  .hs-v2 .hs-nav:has(a[href="#/aar"]) { grid-template-columns: repeat(3, minmax(0,1fr)) minmax(0,1.65fr); }
}
