/* Purnam Tools: the public profiler pages under /tools/. Tokens follow docs/web/design-system.md and the home page. */
body.ptl-page { background: #09304D !important; }
body.ptl-page { overflow-x: hidden; }
body.ptl-page .entry-content > #ptl-app, body.ptl-page .wp-block-post-content > #ptl-app, body.ptl-page .is-layout-constrained > #ptl-app { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
body.ptl-page .wp-block-post-title { display: none !important; }
body.ptl-page .entry-content, body.ptl-page #main-content { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; background: transparent !important; }
body.ptl-taking-test #pnh, body.ptl-taking-test #pnf, body.ptl-taking-test .pnh-sticky { display: none !important; }
body.ptl-taking-test { padding-top: 0 !important; }
body.ptl-page:not(.ptl-taking-test) #ptl-app { min-height: 0; }
body.ptl-page #pnf .pnf-invite { padding: 40px 28px; }
body.ptl-page #pnf .pnf-grid { padding-top: 40px; padding-bottom: 32px; }
body.ptl-page #pnf .ptl-admin-link { margin-left: auto; color: rgba(255,255,255,.7); white-space: nowrap; }

#ptl-app {
  --ink: #2A3D50; --muted: #5B6B78; --navy: #09304D; --blue: #005495; --blue-deep: #0E3F72; --sky: #5095B3;
  --gold: #E6A23C; --gold-deep: #C9852A; --saffron: #FFBD59; --cream: #FFDFAE; --gold-soft: #F2CD8A; --ivory: #FFFAF3; --mist: #CCECFF;
  --serif: "Playfair Display", Georgia, serif; --sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; color: #fff; font-family: var(--sans); font-size: 17px; line-height: 1.6;
  background:
    radial-gradient(70% 45% at 50% 112%, rgba(255,223,174,.4) 0%, rgba(255,189,89,.16) 40%, rgba(255,189,89,0) 72%),
    radial-gradient(55% 50% at 90% 6%, rgba(80,149,179,.3) 0%, rgba(80,149,179,0) 70%),
    linear-gradient(180deg, #09304D 0%, #0B3A62 58%, #005495 100%);
}
#ptl-app *, #ptl-app *::before, #ptl-app *::after { box-sizing: border-box; }
#ptl-app p, #ptl-app h1, #ptl-app h2, #ptl-app h3 { margin: 0; padding: 0; }
#ptl-app a { color: var(--cream); }
#ptl-app button { font-family: inherit; }
#ptl-app .ptl-mandala { position: absolute; z-index: -1; width: 820px; height: 820px; right: -200px; top: -80px; opacity: .07; color: var(--saffron); animation: ptl-spin 160s linear infinite; pointer-events: none; }
#ptl-app .ptl-mandala path { fill: currentColor; }
#ptl-app .ptl-motes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
#ptl-app .ptl-motes span { position: absolute; bottom: -8px; width: 4px; height: 4px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 10px 2px rgba(255,189,89,.65); opacity: 0; animation: ptl-rise 16s linear infinite; }

#ptl-app .ptl-wrap { position: relative; max-width: 1180px; margin: 0 auto; padding: 64px 28px 32px; }
#ptl-app .ptl-focus-header { display: flex; align-items: center; gap: 20px; max-width: 1180px; margin: 0 auto; padding: 20px 28px; border-bottom: 1px solid rgba(255,223,174,.2); }
#ptl-app .ptl-focus-brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 600 22px/1.2 var(--serif); }
#ptl-app .ptl-focus-brand img { width: 34px; height: 34px; object-fit: contain; }
#ptl-app .ptl-focus-title { flex: 1; color: rgba(255,255,255,.8); font-size: 14px; }
#ptl-app .ptl-focus-exit { white-space: nowrap; font-size: 13px; text-decoration: none; }
#ptl-app .ptl-focus-footer { display: flex; justify-content: space-between; gap: 20px; max-width: 1124px; margin: 0 auto; padding: 22px 0 28px; border-top: 1px solid rgba(255,223,174,.2); color: rgba(255,255,255,.65); font-size: 13px; }
body.ptl-taking-test #ptl-app .ptl-wrap { padding-top: 32px; padding-bottom: 40px; }
#ptl-app .ptl-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--gold-soft); font: 700 11px/1.3 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
#ptl-app .ptl-eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
#ptl-app .ptl-h1 { margin-bottom: 22px; font: 600 54px/1.08 var(--serif); letter-spacing: -.012em; color: #fff; }
#ptl-app .ptl-h1 em { display: block; font-style: italic; font-weight: 500; background: linear-gradient(92deg, var(--cream) 0%, var(--saffron) 70%, var(--cream) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
#ptl-app .ptl-lede { max-width: 560px; margin-bottom: 30px; color: rgba(255,255,255,.84); font-size: 18.5px; line-height: 1.7; }
#ptl-app .ptl-meta { color: rgba(255,255,255,.64); font-size: 14px; line-height: 1.6; }

/* Background and research, available before entering either Soul-force profiler. */
#ptl-app .ptl-research-note { margin: 0; padding: clamp(24px, 4vw, 44px); border: 1px solid #7ba1b244; border-radius: 12px; background: linear-gradient(115deg,#123f60,#0c304e); }
#ptl-app .ptl-research-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
#ptl-app .ptl-research-glyph { display: inline-flex; flex-shrink: 0; color: var(--cream); }
#ptl-app .ptl-research-glyph svg { display: block; width: 21px; height: 21px; }
#ptl-app .ptl-research-emblem { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border: 1px solid #ffdfae30; border-radius: 50%; background: #ffffff08; }
#ptl-app .ptl-research-emblem svg { width: 23px; height: 23px; }
#ptl-app .ptl-research-note .ptl-research-eyebrow { margin: 0; color: var(--cream); font: 700 11px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
#ptl-app .ptl-research-note h2 { margin: 0 0 17px; padding: 0; color: var(--ivory); font: 500 clamp(26px, 3vw, 34px)/1.3 var(--serif); letter-spacing: -.015em; }
#ptl-app .ptl-research-note .ptl-research-copy { max-width: 680px; margin: 0; color: #d2e0e9; font: 400 15px/1.8 var(--sans); }
#ptl-app .ptl-research-trail { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; max-width: 680px; margin: 29px 0 26px; }
#ptl-app .ptl-research-step { position: relative; display: block; border-top: 1px solid #88a8b35c; padding-top: 18px; color: #d2e0e9; font: 400 12px/1.6 var(--sans); text-decoration: none; transition: color .25s ease, border-color .25s ease; }
#ptl-app a.ptl-research-step:hover { color: var(--cream); border-top-color: var(--cream); }
#ptl-app a.ptl-research-step:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
#ptl-app .ptl-research-step::before { content: ''; position: absolute; left: 0; top: -3.5px; width: 6px; height: 6px; border-radius: 50%; background: var(--cream); }
#ptl-app .ptl-research-step .ptl-research-glyph { display: flex; margin-bottom: 9px; }
#ptl-app .ptl-research-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 21px; border-top: 1px solid #c6dce321; }
#ptl-app .ptl-research-docs { color: #b6ccda; font: 400 12px/1.6 var(--sans); }
#ptl-app .ptl-research-note .ptl-research-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; max-width: 100%; padding: 12px 17px; border-radius: 6px; background: var(--cream); color: var(--navy); font: 700 14px/1.5 var(--sans); text-decoration: none; }
#ptl-app .ptl-research-cta .ptl-research-glyph { color: inherit; transition: transform .25s ease; }
#ptl-app .ptl-research-cta svg { width: 17px; height: 17px; }
#ptl-app .ptl-research-cta:hover .ptl-research-glyph { transform: translateX(3px); }
@media (max-width: 520px) {
  #ptl-app .ptl-research-trail { grid-template-columns: 1fr; gap: 14px; margin: 24px 0; }
  #ptl-app .ptl-research-step { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; }
  #ptl-app .ptl-research-step::before { display: none; }
  #ptl-app .ptl-research-step .ptl-research-glyph { margin: 0; }
  #ptl-app .ptl-research-step svg { width: 19px; height: 19px; }
}
@media (prefers-reduced-motion: reduce) { #ptl-app .ptl-research-cta .ptl-research-glyph { transition: none; } #ptl-app .ptl-research-cta:hover .ptl-research-glyph { transform: none; } }
#ptl-app .ptl-research-lower { margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255,223,174,.22); }
#ptl-app .ptl-research-lower .ptl-research-note { max-width: none; margin: 0; }
#ptl-app .ptl-research-note a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
#ptl-app .ptl-research-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 36px; margin-top: 64px; padding: clamp(24px, 4vw, 44px); overflow: hidden; border: 1px solid #7ba1b244; border-radius: 12px; background: linear-gradient(115deg,#123f60,#0c304e); }
#ptl-app .ptl-research-feature .ptl-research-note { min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
#ptl-app .ptl-research-feature .ptl-research-invitation { margin-top: 13px; }
#ptl-app .ptl-research-photo { min-width: 0; margin: 0; display: flex; flex-direction: column; background: transparent; }
#ptl-app .ptl-research-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1500 / 843; object-fit: cover; margin: 0; border-radius: 6px; }
#ptl-app .ptl-research-photo figcaption { margin: 0; padding: 17px 0 0; color: #b6ccda; font: 400 12px/1.7 var(--sans); }
#ptl-app .ptl-research-photo figcaption span { display: block; margin-bottom: 5px; color: var(--cream); font: 500 20px/1.4 var(--serif); }
#ptl-app .ptl-research-lower .ptl-research-feature { margin-top: 0; }
#ptl-app .ptl-research-feature-inline { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
#ptl-app .ptl-research-feature-inline .ptl-research-photo { order: 2; }
#ptl-app .ptl-research-feature-inline .ptl-research-photo img { aspect-ratio: auto; }
#ptl-app .ptl-research-feature-inline .ptl-research-note { order: 1; }
@media (max-width: 980px) { #ptl-app .ptl-research-feature { grid-template-columns: minmax(0,1fr); gap: 28px; } }
@media (max-width: 980px) { #ptl-app .ptl-research-feature-inline .ptl-research-photo { order: 0; } #ptl-app .ptl-research-feature-inline .ptl-research-photo img { max-height: none; } }

/* Coaching with Pooja, on the tools landing page. */
#ptl-app .ptl-coaching { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); align-items: center; gap: clamp(24px, 4vw, 48px); margin-top: 64px; padding: clamp(24px, 4vw, 44px); border: 1px solid #7ba1b244; border-radius: 12px; background: linear-gradient(115deg,#123f60,#0c304e); }
#ptl-app .ptl-coaching-photo { margin: 0; min-width: 0; }
#ptl-app .ptl-coaching-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; border: 1px solid #ffffff24; }
#ptl-app .ptl-coaching-photo figcaption { padding-top: 14px; color: #b6ccda; font: 400 12px/1.7 var(--sans); }
#ptl-app .ptl-coaching-photo figcaption span { display: block; margin-bottom: 3px; color: var(--cream); font: 500 20px/1.4 var(--serif); }
#ptl-app .ptl-coaching-body { min-width: 0; }
#ptl-app .ptl-coaching-body .ptl-research-eyebrow { margin: 0 0 14px; color: var(--cream); font: 700 11px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
#ptl-app .ptl-coaching h2 { margin: 0 0 14px; padding: 0; color: var(--ivory); font: 500 clamp(26px, 3vw, 34px)/1.3 var(--serif); letter-spacing: -.015em; }
#ptl-app .ptl-coaching-copy { max-width: 640px; margin: 0 0 26px; color: #d2e0e9; font: 400 15px/1.8 var(--sans); }
#ptl-app .ptl-coaching-options { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; }
#ptl-app .ptl-coaching-option { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; border: 1px solid #ffffff24; border-radius: 10px; background: #ffffff08; }
#ptl-app .ptl-coaching-primary { border-color: #ffdfae55; background: #ffffff10; }
#ptl-app .ptl-coaching-option h3 { margin: 0; padding: 0; color: var(--ivory); font: 500 20px/1.4 var(--serif); }
#ptl-app .ptl-coaching-option p { margin: 0; color: #d2e0e9; font: 400 14px/1.75 var(--sans); }
#ptl-app .ptl-coaching-option .ptl-coaching-price { color: var(--cream); font: 700 22px/1.3 var(--sans); }
#ptl-app .ptl-coaching-price span { color: #b6ccda; font: 400 13px/1.3 var(--sans); }
#ptl-app .ptl-coaching-option .ptl-research-cta { margin-top: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 12px 17px; border-radius: 6px; background: var(--cream); color: var(--navy); font: 700 14px/1.5 var(--sans); text-decoration: none; }
#ptl-app .ptl-coaching-link { margin-top: 10px; display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); font: 700 14px/1.5 var(--sans); text-decoration: underline; text-underline-offset: 4px; }
#ptl-app .ptl-coaching a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
@media (max-width: 980px) { #ptl-app .ptl-coaching { grid-template-columns: minmax(0, 1fr); gap: 22px; } #ptl-app .ptl-coaching-photo { display: flex; align-items: center; gap: 18px; } #ptl-app .ptl-coaching-photo img { flex: 0 0 112px; width: 112px; } #ptl-app .ptl-coaching-photo figcaption { padding-top: 0; } }
@media (max-width: 620px) { #ptl-app .ptl-coaching-options { grid-template-columns: minmax(0, 1fr); } }

/* Compact coaching card on the Level 1 page and results. */
#ptl-app .ptl-coaching-lower { margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255,223,174,.22); }
#ptl-app .ptl-coaching-lower + .ptl-research-lower { margin-top: 28px; padding-top: 0; border-top: 0; }
#ptl-app .ptl-coach-mini { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: start; padding: clamp(24px, 4vw, 44px); border: 1px solid #7ba1b244; border-radius: 12px; background: linear-gradient(115deg,#123f60,#0c304e); }
#ptl-app .ptl-coach-mini img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid #ffffff24; }
#ptl-app .ptl-coach-mini-photo { display: block; width: 96px; height: 96px; }
#ptl-app .ptl-coach-mini-title { color: inherit; text-decoration: none; }
#ptl-app .ptl-coach-mini-title:hover { text-decoration: underline; text-underline-offset: 4px; }
#ptl-app .ptl-coach-mini h2 { margin: 0 0 6px; padding: 0; color: var(--ivory); font: 500 20px/1.4 var(--serif); }
#ptl-app .ptl-coach-mini p { margin: 0 0 14px; color: #d2e0e9; font: 400 14px/1.75 var(--sans); }
#ptl-app .ptl-coach-mini-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
#ptl-app .ptl-coach-mini-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 6px; background: var(--cream); color: var(--navy); font: 700 14px/1.5 var(--sans); text-decoration: none; }
#ptl-app .ptl-coach-mini-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); font: 700 14px/1.5 var(--sans); text-decoration: underline; text-underline-offset: 4px; }
#ptl-app .ptl-coach-mini a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
#ptl-app .ptl-coach-quiet { max-width: 440px; margin: 14px 0 0; color: #b6ccda; font: 400 12.5px/1.7 var(--sans); }
#ptl-app .ptl-coach-quiet-link { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
#ptl-app .ptl-coach-quiet a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 520px) { #ptl-app .ptl-coach-mini { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 18px; } #ptl-app .ptl-coach-mini img, #ptl-app .ptl-coach-mini-photo { width: 72px; height: 72px; } }

/* WhatsApp route for a workshop gift email that matched no registration. */
#ptl-app .ptl-wa-help { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); }
#ptl-app .ptl-wa-help .ptl-label { display: block; margin-bottom: 6px; }

/* Buttons */
#ptl-app .ptl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer; font: 700 15px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background .25s ease, opacity .25s ease; }
#ptl-app .ptl-gold { color: var(--navy); background: linear-gradient(135deg, var(--cream), var(--saffron) 55%, var(--gold)); box-shadow: 0 10px 30px -10px rgba(255,189,89,.7); }
#ptl-app .ptl-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255,189,89,.85); }
#ptl-app .ptl-gold:disabled { opacity: .35; cursor: default; transform: none; box-shadow: none; }
#ptl-app .ptl-ghost { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.38); }
#ptl-app .ptl-ghost:hover { background: rgba(255,255,255,.08); }
#ptl-app .ptl-quiet { color: var(--blue-deep); background: transparent; border: 1px solid rgba(20,85,154,.25); }
#ptl-app .ptl-quiet:hover { background: rgba(20,85,154,.06); }
#ptl-app .ptl-quiet:disabled { opacity: .35; cursor: default; }
#ptl-app .ptl-link { padding: 6px 0; border: 0; background: none; color: var(--cream); cursor: pointer; font: 400 15px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 4px; }
#ptl-app .ptl-btn:focus-visible, #ptl-app .ptl-link:focus-visible, #ptl-app .ptl-lk:focus-visible, #ptl-app .ptl-opt:focus-visible, #ptl-app .ptl-card:focus-visible, #ptl-app input:focus-visible, #ptl-app select:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }

/* Landing */
#ptl-app .ptl-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
#ptl-app .ptl-arch { position: relative; height: 520px; }
#ptl-app .ptl-arch .ptl-halo { position: absolute; left: 50%; top: 46%; width: 440px; height: 440px; max-width: 100%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,189,89,.5), rgba(255,189,89,0) 65%); filter: blur(10px); animation: ptl-breathe 8s ease-in-out infinite; }
#ptl-app .ptl-arch .ptl-frame { position: absolute; left: 10%; top: 0; width: 80%; height: 100%; overflow: hidden; border-radius: 999px 999px 28px 28px; border: 1px solid rgba(255,223,174,.4); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); animation: ptl-float 10s ease-in-out infinite; }
#ptl-app .ptl-arch img { display: block; width: 100%; height: 100%; object-fit: cover; }
#ptl-app .ptl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 72px; }
#ptl-app .ptl-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--ivory); color: var(--ink); text-decoration: none; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
#ptl-app .ptl-card:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -30px rgba(0,0,0,.6); }
#ptl-app .ptl-card-art { position: relative; height: 190px; overflow: hidden; }
#ptl-app .ptl-card-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
#ptl-app .ptl-card-pob .ptl-card-art img { object-position: center top; }
#ptl-app .ptl-card-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,250,243,0) 55%, var(--ivory) 100%); }
#ptl-app .ptl-card-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 4px 26px 26px; }
#ptl-app .ptl-card-kicker { color: var(--gold-deep); font: 700 11px/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
#ptl-app .ptl-card h2 { color: var(--navy); font: 600 25px/1.2 var(--serif); }
#ptl-app .ptl-card p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
#ptl-app .ptl-card .ptl-card-go { margin-top: auto; padding-top: 6px; color: var(--blue); font: 700 15px/1.4 var(--sans); }
#ptl-app .ptl-card h2 a { color: inherit; text-decoration: none; }
#ptl-app .ptl-card-actions { display: flex; align-items: baseline; justify-content: flex-start; flex-wrap: wrap; gap: 22px; margin-top: auto; }
#ptl-app .ptl-card-buy { color: var(--blue-deep); font: 400 14px/1.4 var(--sans); border: 0; padding: 0; background: none; cursor: pointer; }
#ptl-app .ptl-overviews { display: grid; gap: 48px; margin-top: 72px; }
#ptl-app .ptl-overview { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; padding-top: 40px; border-top: 1px solid rgba(255,223,174,.3); }
#ptl-app .ptl-overview h2 { color: var(--cream); font: 500 34px/1.2 var(--serif); }
#ptl-app .ptl-overview p { margin-bottom: 20px; color: rgba(255,255,255,.85); line-height: 1.8; }
#ptl-app .ptl-overview .ptl-eyebrow { color: var(--gold-soft); }
#ptl-app .ptl-description .ptl-lede { margin-bottom: 18px; }
#ptl-app .ptl-purchase { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,223,174,.3); color: rgba(255,255,255,.75); font-size: 15px; }
#ptl-app .ptl-purchase .ptl-buy-link { color: var(--cream); font-weight: 700; }

/* Sign-in */
#ptl-app .ptl-signin { max-width: 470px; padding: 28px 28px 24px; border-radius: 22px; background: rgba(255,250,243,.06); border: 1px solid rgba(255,223,174,.28); animation: none; }
#ptl-app .ptl-gift { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 24px; padding: 20px 18px; border-radius: 16px; border: 1px solid var(--ps-gold, #E6A23C); background: linear-gradient(130deg, #FFF7E7, #FFEDD2); color: var(--ps-ink, #2A3D50); }
#ptl-app .ptl-gift-icon { flex: 0 0 44px; width: 44px; }
#ptl-app .ptl-gift-icon svg { display: block; width: 100%; }
#ptl-app .ptl-gift .ptl-gift-kicker { margin: 0 0 8px; color: var(--ps-blue, #005495); font: 700 11px/1.4 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
#ptl-app .ptl-gift h2 { margin: 0 0 10px; color: var(--ps-blue, #005495); font: 500 24px/1.2 var(--serif); }
#ptl-app .ptl-gift p { margin: 0; font: 400 14px/1.55 var(--sans); }
#ptl-app .ptl-workshop-return { margin-top: 24px; padding: 24px; border: 1px solid var(--ps-gold, #E6A23C); border-radius: 18px; background: var(--cream); color: var(--ps-ink, #2A3D50); }
#ptl-app .ptl-workshop-return h2 { margin: 0 0 12px; color: var(--ps-blue, #005495); font: 500 26px/1.25 var(--serif); }
#ptl-app .ptl-workshop-return p { margin: 0 0 14px; font: 400 16px/1.6 var(--sans); }
#ptl-app .ptl-workshop-return .ptl-workshop-date { font-weight: 700; color: var(--ps-blue, #005495); }
#ptl-app .ptl-workshop-return .ptl-ghost { color: var(--ps-blue, #005495); border-color: rgba(0,84,149,.3); }
#ptl-app .ptl-label { display: block; margin-bottom: 8px; color: rgba(255,255,255,.86); font: 700 14px/1.4 var(--sans); }
#ptl-app .ptl-input { display: block; width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 14px; background: rgba(255,255,255,.96); color: var(--ink); font: 400 16px/1.4 var(--sans); }
#ptl-app .ptl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.ptl-payment-dialog { width: min(860px, calc(100vw - 24px)); height: min(860px, calc(100dvh - 24px)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 20px; background: #FFFAF3; color: #2A3D50; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.ptl-payment-dialog[open] { display: flex; flex-direction: column; }
.ptl-payment-dialog::backdrop { background: rgba(9,48,77,.65); }
.ptl-payment-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid #E3E8EE; }
.ptl-payment-header h2 { margin: 0; color: #005495; font: 500 20px/1.3 Georgia,serif; }
.ptl-payment-header button { flex: 0 0 38px; width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer; background: #E8F1F5; color: #09304D; font: 26px/1 Arial,sans-serif; }
.ptl-payment-header button:focus-visible { outline: 2px solid #C9852A; outline-offset: 3px; }
.ptl-payment-dialog iframe { flex: 1; min-height: 0; width: 100%; border: 0; }
#ptl-app .ptl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
#ptl-app .ptl-msg { margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 15px; line-height: 1.6; }
#ptl-app .ptl-msg.is-error { background: rgba(212,75,160,.14); border: 1px solid rgba(212,75,160,.4); color: #fff; }
#ptl-app .ptl-msg.is-ok { background: rgba(255,223,174,.12); border: 1px solid rgba(255,223,174,.4); color: #fff; }
#ptl-app .ptl-msg a { color: var(--cream); }

/* The test */
#ptl-app .ptl-test { display: flex; gap: 40px; align-items: flex-end; }
#ptl-app .ptl-side { flex: none; width: 250px; height: 560px; overflow: hidden; border-radius: 999px 999px 24px 24px; border: 1px solid rgba(255,223,174,.35); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
#ptl-app .ptl-side img { display: block; width: 100%; height: 104%; object-fit: cover; animation: ptl-float 10s ease-in-out infinite; }
#ptl-app .ptl-main { flex: 1; min-width: 0; }
#ptl-app .ptl-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; color: rgba(255,255,255,.74); font-size: 14px; line-height: 1.4; }
#ptl-app .ptl-status strong { color: #fff; }
#ptl-app .ptl-saved { display: inline-flex; align-items: flex-start; justify-content: flex-end; min-height: 2.8em; max-width: 62%; text-align: right; gap: 8px; color: var(--gold-soft); }
#ptl-app .ptl-saved.is-flash { animation: ptl-saved 2.4s ease both; }
#ptl-app .ptl-progress { height: 4px; margin-bottom: 24px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.14); }
#ptl-app .ptl-progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cream), var(--saffron)); box-shadow: 0 0 12px rgba(255,189,89,.6); transition: width .6s cubic-bezier(.2,.7,.2,1); }
#ptl-app .ptl-sheet { position: relative; padding: 44px 56px 34px; border-radius: 28px; background: var(--ivory); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,223,174,.6); }
#ptl-app .ptl-sheet h2 { margin-bottom: 14px; color: var(--navy); font: 600 30px/1.2 var(--serif); }
#ptl-app .ptl-sheet h3 { margin: 20px 0 8px; color: var(--blue-deep); font: 700 16px/1.4 var(--sans); }
#ptl-app .ptl-sheet p, #ptl-app .ptl-sheet li { color: var(--ink); font-size: 16.5px; line-height: 1.75; }
#ptl-app .ptl-sheet ul { margin: 6px 0 0; padding-left: 20px; }
#ptl-app .ptl-sheet .ptl-kicker { margin-bottom: 8px; color: var(--gold-deep); font: 700 11px/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
#ptl-app .ptl-q-in { animation: ptl-in-fwd .32s cubic-bezier(.2,.7,.2,1) both; }
#ptl-app .ptl-q-back { animation: ptl-in-back .32s cubic-bezier(.2,.7,.2,1) both; }
#ptl-app .ptl-q:focus { outline: none; }
#ptl-app .ptl-q { min-height: 112px; margin-bottom: 34px; color: var(--navy); font: 500 30px/1.36 var(--serif); text-align: center; }
#ptl-app .ptl-cat { margin-bottom: 6px; color: var(--gold-deep); font: 700 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-align: center; }
#ptl-app .ptl-likert { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 64px; margin: 0; padding: 0; border: 0; }
#ptl-app .ptl-likert legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#ptl-app .ptl-lk-cell { display: flex; justify-content: center; align-items: center; flex: 0 1 56px; min-width: 0; }
#ptl-app .ptl-lk { max-width: 100%; height: auto; aspect-ratio: 1 / 1; padding: 0; border: 2px solid; border-radius: 50%; background: transparent; cursor: pointer; transition: transform .35s cubic-bezier(.3,1.4,.5,1), background .25s ease, box-shadow .35s ease; }
#ptl-app .ptl-lk:hover { transform: scale(1.1); }
#ptl-app .ptl-ends { display: flex; justify-content: space-between; width: 100%; max-width: 520px; margin: 12px auto 0; color: var(--muted); font: 700 13px/1.4 var(--sans); }
#ptl-app .ptl-ends span { width: 46%; }
#ptl-app .ptl-ends span + span { text-align: right; }
#ptl-app .ptl-opts { display: flex; flex-direction: column; gap: 10px; margin: 0 auto; max-width: 720px; }
#ptl-app .ptl-opt { display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 15px 18px; border: 1.5px solid rgba(20,85,154,.16); border-radius: 18px; background: #fff; color: var(--ink); cursor: pointer; text-align: left; font: 400 16px/1.55 var(--sans); box-shadow: 0 1px 2px rgba(9,48,77,.04); transition: border-color .3s ease, background .3s ease, box-shadow .4s ease, transform .35s cubic-bezier(.3,1.4,.5,1), opacity .3s ease; }
#ptl-app .ptl-opt:hover { border-color: rgba(230,162,60,.6); }
#ptl-app .ptl-opt:active { transform: scale(.99); }
#ptl-app .ptl-opt.is-on { border-color: var(--gold); background: #FFF3DF; box-shadow: 0 10px 26px -14px rgba(230,162,60,.8); }
#ptl-app .ptl-opt.is-dim { opacity: .5; }
#ptl-app .ptl-dot { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-top: 0; border: 1.5px solid rgba(20,85,154,.35); border-radius: 50%; color: var(--navy); font: 900 13px/1 var(--sans); }
#ptl-app .ptl-opt.is-on .ptl-dot { border-color: transparent; background: linear-gradient(135deg, var(--cream), var(--saffron) 55%, var(--gold)); animation: ptl-pop .45s cubic-bezier(.3,1.6,.5,1) both; }
#ptl-app .ptl-rankhint { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 720px; margin: 0 auto 14px; color: var(--muted); font-size: 14.5px; }
#ptl-app .ptl-chip { flex: none; padding: 5px 12px; border-radius: 999px; background: rgba(20,85,154,.08); color: var(--navy); font: 700 12.5px/1.2 var(--sans); }
#ptl-app .ptl-chip.is-full { background: var(--cream); }
#ptl-app .ptl-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(20,85,154,.1); }
#ptl-app .ptl-foot .ptl-hint { color: var(--muted); font-size: 13px; text-align: center; }

/* Details form */
#ptl-app .ptl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 18px; }
#ptl-app .ptl-field label { display: block; margin-bottom: 6px; color: var(--ink); font: 700 14px/1.4 var(--sans); }
#ptl-app .ptl-field input, #ptl-app .ptl-field select { display: block; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(20,85,154,.22); border-radius: 12px; background: #fff; color: var(--ink); font: 400 16px/1.4 var(--sans); }
#ptl-app .ptl-field input[disabled] { background: #F3F1EC; color: var(--muted); }
#ptl-app .ptl-field .ptl-err { margin-top: 6px; color: #A40351; font-size: 13.5px; line-height: 1.4; }
#ptl-app .ptl-field.has-err input, #ptl-app .ptl-field.has-err select { border-color: #A40351; }

/* Dialog */
#ptl-app .ptl-veil { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(6,28,46,.62); backdrop-filter: blur(8px); animation: ptl-fade .45s ease both; }
#ptl-app .ptl-dialog { width: 100%; max-width: 520px; padding: 44px 40px 36px; border-radius: 28px; background: var(--ivory); color: var(--ink); text-align: center; box-shadow: 0 50px 100px -30px rgba(0,0,0,.6); animation: ptl-pop-in .55s cubic-bezier(.2,.9,.25,1.05) .05s both; }
#ptl-app .ptl-dialog img { width: 60px; height: 60px; margin: 0 auto 16px; object-fit: contain; }
#ptl-app .ptl-dialog h2 { margin-bottom: 10px; color: var(--navy); font: 600 32px/1.15 var(--serif); }
#ptl-app .ptl-dialog p { margin-bottom: 10px; font-size: 16.5px; line-height: 1.6; }
#ptl-app .ptl-dialog .ptl-meter { width: 240px; max-width: 100%; height: 6px; margin: 4px auto 28px; overflow: hidden; border-radius: 999px; background: rgba(20,85,154,.1); }
#ptl-app .ptl-dialog .ptl-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--cream), var(--gold)); transform-origin: left; animation: ptl-grow 1.2s cubic-bezier(.2,.7,.2,1) .2s both; }
#ptl-app .ptl-dialog .ptl-btn { width: 100%; }
#ptl-app .ptl-stack { display: flex; flex-direction: column; gap: 12px; }

/* Results */
#ptl-app .ptl-results { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
#ptl-app .ptl-board { padding: 34px 34px 28px; border-radius: 28px; background: rgba(255,250,243,.06); border: 1px solid rgba(255,223,174,.28); backdrop-filter: blur(6px); }
#ptl-app .ptl-board h2 { margin-bottom: 22px; font: 600 22px/1.2 var(--serif); color: #fff; }
#ptl-app .ptl-bar { margin-bottom: 18px; }
#ptl-app .ptl-bar-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
#ptl-app .ptl-bar-top strong { font: 700 16px/1.3 var(--sans); }
#ptl-app .ptl-bar-top small { color: rgba(255,255,255,.62); font-size: 13.5px; }
#ptl-app .ptl-bar-top b { color: var(--cream); font: 600 20px/1 var(--serif); white-space: nowrap; }
#ptl-app .ptl-track { height: 11px; border-radius: 999px; background: rgba(255,255,255,.1); }
#ptl-app .ptl-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, rgba(204,236,255,.55), var(--sky)); transform-origin: left center; animation: ptl-grow 1.3s cubic-bezier(.2,.7,.2,1) both; }
#ptl-app .ptl-fill.is-lead { background: linear-gradient(90deg, var(--cream), var(--saffron)); animation: ptl-grow 1.3s cubic-bezier(.2,.7,.2,1) both, ptl-glow 3.6s ease-in-out 1.4s infinite; }
#ptl-app .ptl-credit { margin-top: 26px; color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.6; }

#ptl-app .ptl-rise { animation: ptl-up .9s cubic-bezier(.2,.7,.2,1) both; }
#ptl-app .ptl-rise-2 { animation: ptl-up .9s cubic-bezier(.2,.7,.2,1) .12s both; }
#ptl-app .ptl-rise-3 { animation: ptl-up .9s cubic-bezier(.2,.7,.2,1) .24s both; }
#ptl-app .ptl-rise-4 { animation: ptl-up .9s cubic-bezier(.2,.7,.2,1) .36s both; }
#ptl-app .ptl-loading { padding: 120px 20px; text-align: center; color: rgba(255,255,255,.7); }

@keyframes ptl-spin { to { transform: rotate(360deg); } }
@keyframes ptl-breathe { 0%, 100% { opacity: .65; transform: translate(-50%, -50%) scale(.95); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
@keyframes ptl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ptl-rise { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: .9; } 100% { transform: translateY(-900px); opacity: 0; } }
@keyframes ptl-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ptl-in-fwd { from { opacity: 0; transform: translate(14px, 8px); } to { opacity: 1; transform: none; } }
@keyframes ptl-in-back { from { opacity: 0; transform: translate(-14px, 8px); } to { opacity: 1; transform: none; } }
@keyframes ptl-saved { 0% { opacity: 0; transform: translateY(4px); } 15% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: .6; } }
@keyframes ptl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ptl-pop-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ptl-pop { from { transform: scale(0) rotate(-30deg); } to { transform: none; } }
@keyframes ptl-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ptl-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,189,89,0); } 50% { box-shadow: 0 0 24px 2px rgba(255,189,89,.45); } }

@media (max-width: 980px) {
  #ptl-app .ptl-overview { grid-template-columns: 1fr; gap: 16px; }
  #ptl-app .ptl-hero, #ptl-app .ptl-results { grid-template-columns: 1fr; gap: 36px; }
  #ptl-app .ptl-arch { height: 420px; max-width: 480px; width: 100%; margin: 0 auto; }
  #ptl-app .ptl-cards { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  #ptl-app .ptl-side { display: none; }
  #ptl-app .ptl-h1 { font-size: 44px; }
}
@media (max-width: 720px) {
  #ptl-app .ptl-focus-header { flex-wrap: wrap; gap: 12px; padding: 18px; }
  #ptl-app .ptl-focus-title { order: 3; flex-basis: 100%; font-size: 13px; }
  #ptl-app .ptl-focus-exit { margin-left: auto; }
  #ptl-app .ptl-focus-footer { margin: 0 18px; padding: 18px 0 24px; flex-wrap: wrap; gap: 8px; }
  #ptl-app .ptl-wrap { padding: 40px 18px 28px; }
  body.ptl-page #pnf .ptl-admin-link { align-self: flex-end; }
  #ptl-app .ptl-h1 { font-size: 36px; }
  #ptl-app .ptl-lede { font-size: 17px; }
  #ptl-app .ptl-sheet { padding: 28px 20px 22px; border-radius: 22px; }
  #ptl-app .ptl-q { min-height: 0; margin-bottom: 26px; font-size: 23px; }
  #ptl-app .ptl-likert { gap: 2px; }
  #ptl-app .ptl-lk-cell { flex-basis: 40px; }
  #ptl-app .ptl-grid { grid-template-columns: 1fr; }
  #ptl-app .ptl-foot { flex-wrap: wrap; }
  #ptl-app .ptl-foot .ptl-hint { order: 3; width: 100%; }
  #ptl-app .ptl-dialog { padding: 34px 22px 26px; }
  #ptl-app .ptl-arch { height: 340px; }
  #ptl-app .ptl-board { padding: 26px 20px 20px; }
}
@media (max-width: 380px) {
  #ptl-app .ptl-lk-cell { flex-basis: 34px; }
  #ptl-app .ptl-ends { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #ptl-app *, #ptl-app *::before, #ptl-app *::after { animation: none !important; transition: none !important; }
}

/* Workshop return links use a quiet neutral treatment. */
#ptl-app .ptl-workshop-return .ptl-btn { color: #3F454B; background: #F4EFE6; border: 1px solid #DDD4C7; box-shadow: none; font-weight: 400; }
#ptl-app .ptl-workshop-return .ptl-btn:hover { background: #EDE6DB; box-shadow: none; }

body.ptl-page:not(.ptl-taking-test) #ptl-app .ptl-wrap { padding-bottom: 96px; }
@media(max-width:620px) { body.ptl-page:not(.ptl-taking-test) #ptl-app .ptl-wrap { padding-bottom: 64px; } }

.ptl-payment-header { display: block; padding: 0; background: #fff; }
.ptl-payment-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 700px; margin: 0 auto; padding: 16px 22px; box-sizing: border-box; }
.ptl-payment-header h2 { color: #3F454B; }
.ptl-payment-header button { color: #3F454B; background: #F4EFE6; }
.ptl-payment-body { position: relative; flex: 1; min-height: 0; display: flex; }
.ptl-payment-loading { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: #FFFAF3; color: #5B6B78; font: 400 16px/1.5 Lato,Arial,sans-serif; }
.ptl-payment-loading[hidden] { display: none; }
.ptl-payment-spinner { width: 30px; height: 30px; border: 3px solid #E3E8EE; border-top-color: #5B6B78; border-radius: 50%; animation: ptl-spin 1s linear infinite; }
@keyframes ptl-spin { to { transform: rotate(360deg); } }
#ptl-app .ptl-card-actions { justify-content: flex-end; align-items: center; }
#ptl-app .ptl-card-go, #ptl-app .ptl-card-buy { margin: 0; padding: 6px 0; line-height: 1.4; display: inline-flex; align-items: center; min-height: 36px; }

#ptl-app .ptl-card .ptl-card-go { margin-top: 0; }

/* Public profiler landing navigation, separate from the focused assessment header. */
#ptl-app .ptl-breadcrumbs { margin: 0 0 32px; font: 400 13px/1.6 var(--sans); }
#ptl-app .ptl-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; list-style: none; margin: 0; padding: 0; }
#ptl-app .ptl-breadcrumbs li { padding: 0; color: rgba(255,255,255,.7); }
#ptl-app .ptl-breadcrumbs a { color: var(--ps-gold-soft, #F2CD8A); text-decoration: none; text-underline-offset: 4px; }
#ptl-app .ptl-breadcrumbs a:hover { text-decoration: underline; }
#ptl-app .ptl-breadcrumbs a:focus-visible { outline: 2px solid var(--ps-gold-soft, #F2CD8A); outline-offset: 4px; border-radius: 2px; }
#ptl-app .ptl-breadcrumbs .ptl-breadcrumb-separator { color: rgba(255,255,255,.4); }
@media (max-width:620px) { #ptl-app .ptl-breadcrumbs { margin-bottom: 24px; font-size: 12px; } }

body.ptl-taking-test .pnh-spacer { display: none !important; height: 0 !important; }
#ptl-app .ptl-q-in, #ptl-app .ptl-q-back { animation-duration: .55s; }
#ptl-app .ptl-q-out { animation: ptl-question-out .28s ease-in both; pointer-events: none; }
@keyframes ptl-question-out { to { opacity: 0; transform: translateY(-5px); } }
#ptl-app .ptl-review { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
#ptl-app .ptl-review-stay { border: 0; padding: 6px 8px; background: transparent; color: var(--ps-ink, #2A3D50); cursor: pointer; font: 600 13px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
#ptl-app .ptl-review-stay[hidden] { display: none; }
#ptl-app .ptl-review-stay:focus-visible { outline: 2px solid var(--ps-gold, #E6A23C); outline-offset: 2px; }

/* Keep the illustration stable and make review controls fit narrow screens. */
#ptl-app .ptl-test { align-items: flex-start; }
#ptl-app .ptl-side { position: sticky; top: 24px; }
#ptl-app .ptl-sheet .ptl-q { min-height: 0; margin-bottom: 22px; color: var(--navy); font: 500 30px/1.36 var(--serif); text-wrap: balance; }
#ptl-app .ptl-foot { display: grid; grid-template-columns: auto minmax(160px, 1fr) auto; }
#ptl-app .ptl-review { min-width: 0; }
#ptl-app .ptl-review-stay { white-space: nowrap; }
#ptl-app .ptl-opt { min-height: 58px; height: auto; overflow: visible; }
#ptl-app .ptl-dot { line-height: 1; }
#ptl-app .ptl-image-reveal { opacity: 0; transition: opacity .65s ease; }
#ptl-app .ptl-image-reveal.is-loaded { opacity: 1; }
@media (max-width: 720px) {
  #ptl-app .ptl-sheet .ptl-q { font-size: 24px; margin-bottom: 18px; }
  #ptl-app .ptl-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 12px; }
  #ptl-app .ptl-foot > .ptl-btn { min-width: 0; padding: 0 18px; }
  #ptl-app .ptl-foot > .ptl-review { grid-column: 1 / -1; grid-row: 2; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #ptl-app .ptl-image-reveal { opacity: 1; transition: none; }
}

/* SF2 selections update in place; unchanged ranks do not restart animations. */
#ptl-app .ptl-sheet .ptl-sf2-category { margin-bottom: 14px; color: var(--gold-deep); font: 700 12px/1.4 var(--sans); letter-spacing: .18em; }
#ptl-app .ptl-rank-option.is-on .ptl-dot { animation: none; }
#ptl-app .ptl-rankhint { align-items: flex-start; }

/* Inline rank hierarchy: words and numbers carry meaning; colour is supporting. */
#ptl-app .ptl-rank-option { align-items: center; }
#ptl-app .ptl-rank-text { flex: 1; min-width: 0; }
#ptl-app .ptl-rank-label { flex: none; width: 70px; text-align: right; font: 700 12px/1.4 var(--sans); color: #5B5145; }
#ptl-app .ptl-rank-label:empty { visibility: hidden; }
#ptl-app .ptl-rank-option.is-on { box-shadow: none; }
#ptl-app .ptl-rank-option[data-rank="1"] { background: #FFF0D4; border-color: #B9822F; }
#ptl-app .ptl-rank-option[data-rank="1"] .ptl-dot { background: #F2CD8A; color: #503915; }
#ptl-app .ptl-rank-option[data-rank="2"] { background: #F2F7F6; border-color: #84A5A7; }
#ptl-app .ptl-rank-option[data-rank="2"] .ptl-dot { background: #D9E9EA; color: #345E68; }
#ptl-app .ptl-rank-option[data-rank="3"] { background: #F8F5EF; border-color: #BEB4A4; }
#ptl-app .ptl-rank-option[data-rank="3"] .ptl-dot { background: #EEE8DD; color: #5B5145; }
@media(max-width:720px) {
 #ptl-app .ptl-rank-option { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 6px 12px; }
 #ptl-app .ptl-rank-option .ptl-dot { grid-row: 1 / 3; align-self: start; }
 #ptl-app .ptl-rank-label { grid-column: 2; width: auto; text-align: left; }
 #ptl-app .ptl-rank-label { min-height: 17px; }
}

/* community member tools: white cards so the living art keeps its colours */
#ptl-app .ptl-members { margin-top: 88px; padding-top: 48px; border-top: 1px solid rgba(255,223,174,.3); }
#ptl-app .ptl-members-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
#ptl-app .ptl-members-head h2 { margin: 0 0 14px; color: var(--cream); font: 500 34px/1.2 var(--serif); }
#ptl-app .ptl-members-lede { margin: 0; color: rgba(255,255,255,.82); font-size: 16.5px; line-height: 1.7; }
#ptl-app .ptl-members-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 980px; margin: 0 auto; }
#ptl-app .ptl-mt-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
#ptl-app .ptl-mt-card:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -30px rgba(0,0,0,.6); }
#ptl-app .ptl-mt-art { display: flex; align-items: center; justify-content: center; height: 320px; padding: 20px 20px 0; background: #fff; }
#ptl-app .ptl-mt-canvas { display: block; height: 100%; max-width: 100%; }
#ptl-app .ptl-mt-mandala { height: auto; width: min(100%, 280px); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 14px 34px -14px rgba(9,48,77,.25); }
#ptl-app .ptl-mt-charter { height: auto; width: min(100%, 300px); aspect-ratio: 800 / 1663; }
#ptl-app .ptl-mt-art:has(.ptl-mt-charter) { position: relative; align-items: flex-start; overflow: clip; }
#ptl-app .ptl-mt-art:has(.ptl-mt-charter)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); pointer-events: none; }
#ptl-app .ptl-mt-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 28px 28px; }
#ptl-app .ptl-mt-body h3 { margin: 0; color: var(--navy); font: 600 25px/1.2 var(--serif); }
#ptl-app .ptl-mt-body h3 a { color: inherit; text-decoration: none; }
#ptl-app .ptl-mt-body p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
#ptl-app .ptl-mt-go { margin-top: auto; padding-top: 8px; color: var(--blue); font: 700 15px/1.4 var(--sans); text-decoration: none; }
#ptl-app .ptl-mt-go:hover { text-decoration: underline; }
#ptl-app .ptl-members-note { max-width: 620px; margin: 28px auto 0; color: rgba(255,255,255,.7); font-size: 14.5px; line-height: 1.6; text-align: center; }
#ptl-app .ptl-members-note a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  #ptl-app .ptl-members { margin-top: 64px; padding-top: 36px; }
  #ptl-app .ptl-members-head h2 { font-size: 28px; }
  #ptl-app .ptl-members-cards { grid-template-columns: 1fr; gap: 22px; }
  #ptl-app .ptl-mt-art { height: 280px; }
  #ptl-app .ptl-mt-body { padding: 20px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) { #ptl-app .ptl-mt-card { transition: none; } }
