/* The paid 1-on-1 Plan Setup (2026-11-04): the shared screen-share picture, the Subscribe page's band, the booking page,
   the terms page, the thanks page and the Account card. Master colour variables only. utils/planSetup.js has the rules. */

/* ---- The screen-share picture: a real planner screen with two named cursors ---- */
.psu-screen { position: relative; overflow: hidden; box-sizing: border-box; border-radius: 10px; background: var(--color-white-1); border: 1px solid var(--ui-borders-borderDefault); }
.psu-screen img { position: absolute; max-width: none; height: auto; }
.psu-screen--xs { flex: 0 0 128px; width: 128px; height: 78px; border-radius: 8px; }
.psu-screen--xs img { width: 220px; left: -44px; top: -22px; }
.psu-screen--sm { flex: 0 0 228px; width: 228px; height: 132px; }
.psu-screen--sm img { width: 356px; left: -64px; top: -32px; }
.psu-screen--lg { width: 100%; height: 210px; border-radius: 12px; }
.psu-screen--lg img { width: 760px; left: -120px; top: -46px; }

.psu-cursor { position: absolute; display: flex; align-items: flex-start; gap: 2px; }
.psu-cursor svg { flex: none; width: 15px; height: 19px; stroke: var(--color-white-1); stroke-width: 1.4; stroke-linejoin: round; }
.psu-cursor span { margin-top: 12px; padding: 2px 7px; border-radius: 999px; font-size: var(--text-2xs, 11px); font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.psu-cursor--specialist { color: var(--color-teal-1); animation: psu-drift-a 7s ease-in-out infinite; }
.psu-cursor--specialist svg { fill: var(--color-teal-1); }
.psu-cursor--specialist span { background: var(--color-teal-1); color: var(--color-white-1); }
.psu-cursor--you { animation: psu-drift-b 9s ease-in-out infinite; }
.psu-cursor--you svg { fill: var(--ui-text-primaryText); }
.psu-cursor--you span { background: var(--ui-text-primaryText); color: var(--ui-backgrounds-cardBg); }
.psu-screen--xs .psu-cursor span { display: none; }
.psu-screen--xs .psu-cursor--specialist { left: 70px; top: 20px; }
.psu-screen--xs .psu-cursor--you { left: 30px; top: 46px; }
.psu-screen--sm .psu-cursor--specialist { left: 106px; top: 50px; }
.psu-screen--sm .psu-cursor--you { left: 34px; top: 88px; }
.psu-screen--lg .psu-cursor--specialist { left: 44%; top: 26%; }
.psu-screen--lg .psu-cursor--you { left: 14%; top: 62%; }
@keyframes psu-drift-a { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -12px); } }
@keyframes psu-drift-b { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-12px, 7px); } }

/* ---- The four things a session covers: the band's open panel and the booking page ---- */
.psu-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.psu-item { display: flex; flex-direction: column; gap: 10px; }
.psu-item-tile { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(var(--color-button-primary-bg-rgb), 0.14); color: var(--color-teal-1); }
.psu-item-tile svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.psu-item h3 { margin: 2px 0 0; font-size: 17px; line-height: 1.25; font-weight: 800; }
.psu-item p { margin: 0; font-size: var(--text-small, 14px); line-height: 1.45; text-wrap: pretty; }
.psu-note { margin: 0; font-size: var(--text-small, 14px); line-height: 1.5; text-wrap: pretty; }

/* ---- The Subscribe page's band: under the plan cards, opens in place. This page is drawn light in every theme, so it
        uses the page's own palette (subscribe2.ejs .s2-page). ---- */
.psu-band { position: relative; margin: 46px 0 0; }
.psu-band-plus { position: absolute; top: -19px; left: 50%; margin-left: -19px; box-sizing: border-box; width: 38px; height: 38px; border-radius: 999px; background: var(--color-white-1); border: 2px solid var(--s2-teal); display: flex; align-items: center; justify-content: center; color: var(--s2-teal-deep); box-shadow: var(--s2-shadow-soft); z-index: 2; }
.psu-band-plus svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.psu-band-card { border-radius: 17px; overflow: hidden; background: var(--color-white-1); box-shadow: 0 18px 44px rgba(var(--color-gray-900-rgb), 0.22); }
.psu-band-head { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; padding: 24px 32px 24px 24px; background: var(--s2-navy); }
.psu-band-head .psu-screen { border-color: rgba(var(--color-white-1-rgb), 0.2); }
.psu-band-copy { flex: 999 1 420px; min-width: 0; }
.psu-band-eyebrow { color: var(--color-teal-5); font-size: var(--text-xs, 12px); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.psu-band-title { margin: 6px 0 0; color: var(--color-white-1); font-size: 28px; line-height: 1.1; font-weight: 820; letter-spacing: -0.025em; }
.psu-band-text { margin: 8px 0 0; max-width: 620px; color: rgba(var(--color-white-1-rgb), 0.82); font-size: var(--text-medium, 15px); line-height: 1.45; text-wrap: pretty; }
.psu-band-fine { margin: 8px 0 0; color: rgba(var(--color-white-1-rgb), 0.68); font-size: var(--text-small, 14px); line-height: 1.4; }
.psu-band-side { flex: 1 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px 28px; }
.psu-band-price { display: flex; align-items: baseline; gap: 7px; color: rgba(var(--color-white-1-rgb), 0.82); font-size: 16px; font-weight: 700; }
.psu-band-price strong { color: var(--color-white-1); font-size: 46px; line-height: 1; font-weight: 850; letter-spacing: -0.05em; }
.psu-band-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 20px; border: 0; border-radius: 8px; background: var(--s2-teal); color: var(--s2-navy); font-family: inherit; font-size: 16px; font-weight: 850; cursor: pointer; white-space: nowrap; }
.psu-band-toggle:hover { background: var(--s2-teal-dark); }
.psu-band-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1); }
.psu-band-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.psu-band-body { animation: psu-reveal 0.42s cubic-bezier(0.16, 1, 0.3, 1); }
.psu-band-body[hidden] { display: none; }
@keyframes psu-reveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.psu-band-body .psu-items { gap: 1px; background: var(--s2-border); border-bottom: 1px solid var(--s2-border); }
.psu-band-body .psu-item { padding: 24px 24px 26px; background: var(--color-white-1); color: var(--s2-text); }
.psu-band-body .psu-item h3 { color: var(--s2-navy); }
.psu-band-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; padding: 20px 32px 20px 24px; background: rgba(var(--color-button-primary-bg-rgb), 0.06); color: var(--s2-text); }
.psu-band-foot .psu-note { flex: 999 1 460px; min-width: 0; }
.psu-band-book { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 8px; color: var(--s2-text); font-size: var(--text-small, 14px); line-height: 1.35; text-align: center; }
.psu-band-cta { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 8px; background: var(--s2-navy); color: var(--color-white-1); font-size: 16px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.psu-band-cta:hover { color: var(--color-white-1); opacity: 0.9; }

/* ---- The booking page ---- */
.psu-page { box-sizing: border-box; width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 56px; color: var(--ui-text-primaryText); }
.psu-page *, .psu-page *::before, .psu-page *::after { box-sizing: border-box; }
.psu-back { display: inline-flex; align-items: center; min-height: 36px; color: var(--ui-text-secondaryText); font-size: var(--text-small, 14px); text-decoration: none; }
.psu-back:hover { color: var(--ui-text-linkText); }
.psu-title { margin: 6px 0 0; font-size: clamp(28px, 3.4vw, 36px); line-height: 1.1; font-weight: 800; letter-spacing: -0.5px; }
.psu-lede { margin: 8px 0 0; max-width: 680px; color: var(--ui-text-secondaryText); font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.psu-columns { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 40px; margin-top: 26px; }
.psu-main { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.psu-main h2, .psu-panel h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.1px; }
.psu-main .psu-items { gap: 18px 22px; margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.psu-main .psu-item-tile { display: none; }
.psu-main .psu-item { gap: 3px; }
.psu-main .psu-item h3 { margin: 0; font-size: var(--text-medium, 15px); font-weight: 700; }
.psu-main .psu-item p, .psu-main .psu-note { color: var(--ui-text-secondaryText); }
.psu-main .psu-note { padding-top: 18px; border-top: 1px solid var(--ui-borders-borderLight); }
.psu-panel { flex: 1 1 400px; min-width: 0; padding: 24px; border: 1px solid var(--ui-borders-borderDefault); border-radius: 14px; background: var(--ui-backgrounds-cardBg); box-shadow: 0 12px 32px rgba(var(--color-gray-900-rgb), 0.08); }
.psu-sum { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding: 14px 16px; border-radius: 10px; background: var(--ui-backgrounds-pageBg); }
.psu-sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--text-small, 14px); }
.psu-sum-row span:first-child { color: var(--ui-text-secondaryText); }
.psu-sum-row strong { font-weight: 700; }
.psu-sum-total { align-items: baseline; padding-top: 8px; border-top: 1px solid var(--ui-borders-borderLight); }
.psu-sum-total span:first-child { color: var(--ui-text-primaryText); font-weight: 700; }
.psu-sum-total strong { font-size: 24px; font-weight: 850; letter-spacing: -0.5px; }
/* countryaware PRD 1b (2026-11-09): the visitor's estimate under the USD total. */
.psu-sum-local { margin-top: -4px; }
.psu-sum-local span:last-child { color: var(--ui-text-secondaryText); font-size: calc(var(--text-small, 14px) + 2px); font-weight: 600; }
.psu-agree { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--ui-borders-borderDefault); border-radius: 10px; cursor: pointer; font-size: var(--text-small, 14px); line-height: 1.4; }
.psu-agree:has(input:checked) { border-color: var(--ui-text-linkText); background: rgba(var(--color-blue-6-rgb), 0.08); }
.psu-agree input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--ui-text-linkText); cursor: pointer; }
.psu-agree a { color: var(--ui-text-linkText); font-weight: 700; }
.psu-pay { display: block; width: 100%; min-height: 50px; margin-top: 12px; border: 0; border-radius: 8px; background: var(--ui-text-linkText); color: var(--ui-backgrounds-cardBg); font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.psu-pay:hover:not(:disabled) { background: var(--ui-main-linkHover); }
.psu-pay:disabled { background: var(--ui-borders-borderLight); color: var(--ui-text-secondaryText); cursor: not-allowed; }
.psu-message { margin: 8px 0 0; color: var(--color-semantic-danger); font-size: var(--text-small, 14px); }
.psu-message:empty { display: none; }
.psu-ticks { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 14px 0 0; padding: 0; color: var(--ui-text-secondaryText); font-size: var(--text-small, 14px); line-height: 1.4; }
.psu-ticks li { display: flex; gap: 8px; }
.psu-ticks svg { flex: none; width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: var(--color-teal-1); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.psu-small { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--ui-borders-borderLight); color: var(--ui-text-secondaryText); font-size: var(--text-small, 14px); line-height: 1.5; text-wrap: pretty; }
.psu-state-title { font-size: 18px; font-weight: 800; }
.psu-state-text { margin: 8px 0 0; color: var(--ui-text-secondaryText); line-height: 1.5; text-wrap: pretty; }
.psu-state-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 14px; padding: 0 20px; border-radius: 6px; background: var(--ui-text-linkText); color: var(--ui-backgrounds-cardBg); font-weight: 700; text-decoration: none; }
.psu-state-link:hover { background: var(--ui-main-linkHover); color: var(--ui-backgrounds-cardBg); }

/* ---- The terms page ---- */
.psu-terms { box-sizing: border-box; width: min(800px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 56px; color: var(--ui-text-primaryText); line-height: 1.6; }
.psu-terms h1 { margin: 6px 0 0; font-size: clamp(26px, 3.2vw, 32px); line-height: 1.15; font-weight: 800; letter-spacing: -0.4px; }
.psu-terms h2 { margin: 28px 0 8px; font-size: 18px; line-height: 1.3; font-weight: 800; }
.psu-terms ul { margin: 8px 0; padding-left: 22px; }
.psu-terms li { margin: 6px 0; }
.psu-terms ul ul { margin: 6px 0; }

/* ---- The Account card (views/account.ejs .account-card) ---- */
.psu-acct-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 20px; }
.psu-acct-text { flex: 999 1 280px; min-width: 0; }
.psu-acct-text p { margin: 0; line-height: 1.5; text-wrap: pretty; }
.psu-acct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 14px; }
.psu-acct-price { font-weight: 700; }
.psu-acct-price span { color: var(--ui-text-secondaryText); font-weight: 400; }
.psu-acct-state { font-size: 17px; font-weight: 700; }
.psu-acct-line { margin: 8px 0 0; line-height: 1.5; text-wrap: pretty; }
.psu-acct-fine { margin-top: 12px; }
.psu-acct-prep { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: rgba(var(--color-button-primary-bg-rgb), 0.1); border: 1px solid rgba(var(--color-button-primary-bg-rgb), 0.35); }
.psu-acct-prep h3 { margin: 0; font-size: var(--text-medium, 15px); font-weight: 800; }
.psu-acct-prep .psu-ticks { margin-top: 8px; color: var(--ui-text-primaryText); }

/* ---- The thanks page: its own head, like views/paymentSuccess.ejs ---- */
.psu-thanks-page { position: relative; min-height: 100vh; overflow: hidden; box-sizing: border-box; background: var(--color-white-1); }
.psu-thanks-glow { position: absolute; top: 0; left: 0; right: 0; height: 48%; background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(var(--color-button-primary-bg-rgb), 0.13), rgba(var(--color-button-primary-bg-rgb), 0) 70%); }
.psu-thanks { position: relative; min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 44px 24px 56px; text-align: center; }
.psu-thanks-logo { width: 200px; max-width: 70%; height: auto; margin-bottom: 26px; }
.psu-thanks-badge { width: 92px; height: 92px; margin-bottom: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--color-button-primary-bg); color: var(--color-white-1); }
.psu-thanks-badge--error { background: var(--color-semantic-danger); }
.psu-thanks-badge svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.psu-thanks h1 { margin: 0 0 14px; color: var(--color-gray-900); font-size: clamp(32px, 4vw, 42px); line-height: 1.1; font-weight: 800; letter-spacing: -1px; }
.psu-thanks-sub { max-width: 540px; margin: 0 0 24px; color: var(--color-gray-600); font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.psu-thanks-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.psu-thanks-chip { padding: 8px 14px; border-radius: 999px; background: rgba(var(--color-button-primary-bg-rgb), 0.14); color: var(--color-teal-1); font-size: var(--text-small, 14px); font-weight: 600; }
.psu-thanks-wait { box-sizing: border-box; width: min(540px, 100%); margin-bottom: 28px; padding: 16px 20px; border-radius: 12px; background: rgba(var(--color-button-primary-bg-rgb), 0.1); border: 1px solid rgba(var(--color-button-primary-bg-rgb), 0.35); text-align: left; }
.psu-thanks-wait h2 { margin: 0; color: var(--color-gray-900); font-size: var(--text-medium, 15px); font-weight: 800; }
.psu-thanks-wait .psu-ticks { margin-top: 8px; color: var(--color-gray-700); }
.psu-thanks-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; }
.psu-thanks-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; box-sizing: border-box; padding: 0 26px; border-radius: 10px; font-size: var(--text-medium, 15px); font-weight: 600; text-decoration: none; }
.psu-thanks-btn--outline { color: var(--color-gray-700); background: var(--color-white-1); border: 1.5px solid var(--color-gray-300); }
.psu-thanks-btn--primary { color: var(--color-white-1); font-weight: 700; background: var(--color-teal-1); }
.psu-thanks-more { margin: 22px 0 0; color: var(--color-gray-600); font-size: var(--text-small, 14px); }
.psu-thanks-more a { color: var(--color-teal-1); font-weight: 600; }

/* ---- The admin Plan Setup Sessions page (views/admin/plan-setup.ejs) ---- */
.pss { color: var(--ui-text-primaryText); font-size: var(--text-small, 14px); max-width: 1120px; margin: 0 auto; }
.pss * { box-sizing: border-box; }
.pss h1 { margin: 4px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.pss-eyebrow { font-size: var(--text-2xs, 11px); font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ui-text-secondaryText); }
.pss-lede { color: var(--ui-text-secondaryText); line-height: 1.55; max-width: 780px; margin: 8px 0 0; }
.pss-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; margin-top: 18px; }
.pss-tile { padding: 18px 20px; border: 1px solid var(--ui-borders-borderDefault); border-radius: 10px; background: var(--ui-backgrounds-cardBg); }
.pss-tile.is-todo { background: color-mix(in srgb, var(--color-teal-4) 8%, var(--ui-backgrounds-cardBg)); border-color: color-mix(in srgb, var(--color-teal-4) 40%, var(--ui-backgrounds-cardBg)); }
.pss-tile h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.1px; }
.pss-figure { margin-top: 8px; font-size: 26px; font-weight: 850; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.pss-figure span { color: var(--ui-text-secondaryText); font-size: var(--text-small, 14px); font-weight: 500; letter-spacing: 0.2px; }
.pss-sub { margin-top: 4px; color: var(--ui-text-secondaryText); line-height: 1.4; }
.pss-tablewrap { margin-top: 18px; border: 1px solid var(--ui-borders-borderDefault); border-radius: 10px; background: var(--ui-backgrounds-cardBg); overflow-x: auto; }
.pss-table { width: 100%; min-width: 860px; border-collapse: collapse; }
.pss-table th { padding: 10px 14px; text-align: left; color: var(--ui-text-secondaryText); font-size: var(--text-xs, 12px); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; border-bottom: 1px solid var(--ui-borders-borderDefault); white-space: nowrap; }
.pss-table td { padding: 10px 14px; border-bottom: 1px solid var(--ui-borders-borderLight); white-space: nowrap; vertical-align: middle; }
.pss-table tr:last-child td { border-bottom: 0; }
.pss-num { text-align: right; font-variant-numeric: tabular-nums; }
.pss-mail { display: block; color: var(--ui-text-secondaryText); font-size: var(--text-xs, 12px); }
.pss-mail a { color: inherit; }
.pss select { min-height: 36px; padding: 0 8px; border: 1px solid var(--ui-borders-borderDefault); border-radius: 4px; background: var(--ui-backgrounds-cardBg); color: var(--ui-text-primaryText); font: inherit; }
.pss-stripe { color: var(--ui-text-linkText); }
.pss-empty { padding: 28px 16px; text-align: center; color: var(--ui-text-secondaryText); }
.pss-foot { margin: 12px 2px 0; color: var(--ui-text-secondaryText); line-height: 1.5; }
.pss-err { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--color-semantic-danger); border-radius: 8px; color: var(--ui-text-primaryText); }
.pss-err:empty { display: none; }
