/* TPG application flow. Uses the site's brand tokens (Webflow variables). */
.tpg-apply {
  --navy: var(--_tpg-brand-tokens---navy, #21304d);
  --navy-raise: var(--_tpg-brand-tokens---navy-raise, #2a3b5c);
  --stardust: var(--_tpg-brand-tokens---star-dust, #eee6e3);
  --gold: var(--_tpg-brand-tokens---heritage-gold, #a08a65);
  --gold-bright: var(--_tpg-brand-tokens---gold-bright, #b89f76);
  --terra: var(--_tpg-brand-tokens---terracotta-base, #b85c2f);
  --teal: var(--_tpg-brand-tokens---teal-base, #0e4659);
  --charcoal: var(--_tpg-brand-tokens---charcoal, #1a1a1a);
  --muted: var(--_tpg-brand-tokens---text-secondary, #4a4440);
  --serif: var(--_tpg-brand-tokens---font-serif, "Libre Baskerville", Georgia, serif);
  --sans: var(--_tpg-brand-tokens---font-sans, "Source Sans 3", Arial, sans-serif);
  background: var(--navy);
  color: var(--stardust);
  font-family: var(--sans);
  min-height: 80vh;
  padding: 7.5rem 1.5rem 5rem;
}
.tpg-apply * { box-sizing: border-box; }
.tpg-apply .wrap { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: start; }
.tpg-apply .eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; margin-bottom: 1rem; }
.tpg-apply h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.12; margin: 0 0 1.25rem; color: var(--stardust); }
.tpg-apply h1 em { font-style: normal; color: var(--gold-bright); }
.tpg-apply .lede { font-size: 1.12rem; line-height: 1.6; color: rgba(238,230,227,.82); max-width: 34em; margin: 0 0 2rem; }
.tpg-apply .points { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .8rem; }
.tpg-apply .points li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; line-height: 1.5; color: rgba(238,230,227,.88); }
.tpg-apply .points li::before { content: ""; width: .55rem; height: .55rem; margin-top: .55rem; border-radius: 50%; background: var(--gold-bright); }
.tpg-apply .door-b { font-size: .95rem; color: rgba(238,230,227,.7); border-top: 1px solid rgba(238,230,227,.16); padding-top: 1.25rem; }
.tpg-apply .door-b a { color: var(--gold-bright); }

.tpg-apply .card { background: rgba(238,230,227,.06); border: 1px solid rgba(238,230,227,.2); border-radius: 16px; padding: 1.9rem; backdrop-filter: blur(8px); }
.tpg-apply .card h2 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin: 0 0 .35rem; color: var(--stardust); }
.tpg-apply .card .sub { color: rgba(238,230,227,.72); margin: 0 0 1.4rem; font-size: .98rem; line-height: 1.5; }
.tpg-apply label.field { display: block; margin-bottom: 1.05rem; }
.tpg-apply label.field span { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; margin-bottom: .45rem; }
.tpg-apply input[type=text], .tpg-apply input[type=email], .tpg-apply input[type=url], .tpg-apply input[type=tel] {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: 1.02rem; color: var(--stardust);
  background: rgba(238,230,227,.08); border: 1px solid rgba(238,230,227,.28); border-radius: 8px; outline: none;
}
.tpg-apply input:focus { border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(184,159,118,.25); }
.tpg-apply .seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(238,230,227,.28); border-radius: 8px; overflow: hidden; }
.tpg-apply .seg.two { grid-template-columns: repeat(2, 1fr); }
.tpg-apply .seg button { background: none; border: 0; color: rgba(238,230,227,.8); font: inherit; padding: .7rem .4rem; cursor: pointer; }
.tpg-apply .seg button[aria-pressed=true] { background: var(--gold); color: var(--navy); font-weight: 600; }
.tpg-apply .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tpg-apply .consent { display: grid; grid-template-columns: 1.2rem 1fr; gap: .6rem; font-size: .88rem; line-height: 1.45; color: rgba(238,230,227,.75); margin: .3rem 0 1.3rem; }
.tpg-apply .consent input { margin-top: .2rem; accent-color: var(--gold); }
.tpg-apply .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .95rem 1.2rem; border: 0; border-radius: 8px; background: var(--gold); color: var(--navy); font: inherit; font-weight: 700; font-size: 1.02rem; cursor: pointer; }
.tpg-apply .btn:hover { background: var(--gold-bright); }
.tpg-apply .btn:disabled { opacity: .55; cursor: default; }
.tpg-apply .btn.ghost { background: transparent; color: var(--stardust); border: 1px solid rgba(238,230,227,.35); }
.tpg-apply .btn.end { background: var(--terra); color: #fff; }
.tpg-apply .note { font-size: .82rem; color: rgba(238,230,227,.6); margin-top: .9rem; text-align: center; }
.tpg-apply .error { color: #f3b59a; font-size: .92rem; margin: .2rem 0 1rem; min-height: 1.2em; }

/* Profile read-out */
.tpg-apply .steps { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; }
.tpg-apply .steps li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .5rem; color: rgba(238,230,227,.55); }
.tpg-apply .steps li::before { content: ""; }
.tpg-apply .steps li.on { color: var(--stardust); }
.tpg-apply .steps li.failed::before { content: "–"; color: rgba(238,230,227,.5); }
.tpg-apply .steps li.done::before { content: "✓"; color: var(--gold-bright); }
.tpg-apply .steps li.on:not(.done)::before { content: ""; width: .7rem; height: .7rem; margin-top: .35rem; border-radius: 50%; border: 2px solid var(--gold-bright); border-top-color: transparent; animation: tpgspin 0.9s linear infinite; }
@keyframes tpgspin { to { transform: rotate(360deg); } }
.tpg-apply .who { border-top: 1px solid rgba(238,230,227,.16); padding-top: 1.1rem; margin-bottom: 1.4rem; }
.tpg-apply .who .name { font-family: var(--serif); font-size: 1.3rem; }
.tpg-apply .who .head { color: rgba(238,230,227,.75); margin: .2rem 0 .8rem; }
.tpg-apply .who .st { display: grid; grid-template-columns: 7.5rem 1fr; gap: .6rem; font-size: .93rem; padding: .25rem 0; color: rgba(238,230,227,.88); }
.tpg-apply .who .st b { font-weight: 400; color: rgba(238,230,227,.55); }

/* Interview */
.tpg-apply .live { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.tpg-apply .orb-row { display: flex; align-items: center; gap: 1.2rem; }
.tpg-apply .orb { width: 86px; height: 86px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--gold-bright), var(--gold) 55%, #6f5d3f); box-shadow: 0 0 0 0 rgba(184,159,118,.5); transition: transform .08s linear; flex: none; }
.tpg-apply .orb.listening { background: radial-gradient(circle at 35% 35%, #9fc3cc, var(--teal) 60%, #082c38); }
.tpg-apply .status-line { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; }
.tpg-apply .status-sub { color: rgba(238,230,227,.75); margin-top: .25rem; }
.tpg-apply .timer { margin-left: auto; font-variant-numeric: tabular-nums; color: rgba(238,230,227,.7); }
.tpg-apply .transcript { max-height: 360px; overflow-y: auto; display: grid; gap: .6rem; padding-right: .3rem; }
.tpg-apply .msg { padding: .75rem .95rem; border-radius: 12px; line-height: 1.45; font-size: .98rem; max-width: 92%; }
.tpg-apply .msg small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .65; margin-bottom: .25rem; }
.tpg-apply .msg.agent { background: rgba(255,255,255,.93); color: var(--charcoal); border-top-left-radius: 3px; }
.tpg-apply .msg.user { background: var(--navy-raise); color: var(--stardust); border: 1px solid rgba(238,230,227,.22); margin-left: auto; border-top-right-radius: 3px; }

/* Snapshot */
.tpg-apply .snap h2 { font-size: 1.6rem; }
.tpg-apply .pos { background: rgba(184,159,118,.14); border-left: 3px solid var(--gold-bright); padding: .9rem 1rem; border-radius: 0 8px 8px 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.45; margin: .8rem 0 1.2rem; }
.tpg-apply .snap h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); margin: 1.2rem 0 .5rem; font-weight: 600; }
.tpg-apply .snap ul { margin: 0; padding-left: 1.1rem; line-height: 1.55; color: rgba(238,230,227,.9); }
.tpg-apply .ready { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: .85rem; }
.tpg-apply .ready.getting_there { background: rgba(238,230,227,.85); }
.tpg-apply .ready.early_stage { background: rgba(238,230,227,.55); }
.tpg-apply [hidden] { display: none !important; }

@media (max-width: 900px) {
  .tpg-apply { padding-top: 6rem; }
  .tpg-apply .wrap { grid-template-columns: 1fr; gap: 2rem; }
}

/* Screening taps (26 Sep) */
.tpg-apply fieldset.scr { border: 0; padding: 0; margin: 0 0 1.05rem; min-width: 0; }
.tpg-apply fieldset.scr legend { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; margin-bottom: .5rem; line-height: 1.4; padding: 0; }
.tpg-apply .opts { display: grid; gap: .4rem; }
.tpg-apply .opts button { text-align: left; background: rgba(238,230,227,.06); border: 1px solid rgba(238,230,227,.24); border-radius: 8px; color: rgba(238,230,227,.88); font: inherit; font-size: .93rem; line-height: 1.35; padding: .6rem .8rem; cursor: pointer; }
.tpg-apply .opts button[aria-pressed=true] { background: rgba(184,159,118,.22); border-color: var(--gold-bright); color: var(--stardust); }
.tpg-apply .seg.four { grid-template-columns: repeat(4, 1fr); }
.tpg-apply .seg.four button { font-size: .9rem; padding: .7rem .2rem; }
.tpg-apply .linked { background: rgba(184,159,118,.14); border-left: 3px solid var(--gold-bright); border-radius: 0 8px 8px 0; padding: .75rem .9rem; margin: 0 0 1.1rem; font-size: .95rem; line-height: 1.45; }
/* Practice Readiness bars in the snapshot */
.tpg-apply .band { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: var(--serif); font-size: 1.2rem; margin-bottom: .3rem; }
.tpg-apply .band span { font-family: var(--sans); color: var(--gold-bright); font-weight: 700; }
.tpg-apply .bars { display: grid; gap: .55rem; margin: .6rem 0 .4rem; }
.tpg-apply .bar { display: grid; grid-template-columns: minmax(0, 11rem) 1fr 3rem; gap: .7rem; align-items: center; font-size: .9rem; }
.tpg-apply .bar i { height: 8px; border-radius: 99px; background: rgba(238,230,227,.14); overflow: hidden; }
.tpg-apply .bar em { display: block; height: 100%; background: var(--gold-bright); border-radius: 99px; }
.tpg-apply .bar b { text-align: right; font-weight: 600; }
@media (max-width: 520px) { .tpg-apply .seg.four { grid-template-columns: repeat(2, 1fr); } .tpg-apply .bar { grid-template-columns: 1fr 3rem; } .tpg-apply .bar i { grid-column: 1 / -1; grid-row: 2; } }

/* ---- Expanded layout after "Continue" (27 Sep) ---------------------------- */
.tpg-apply .wrap > div { min-width: 0; }
.tpg-apply .wrap.expanded { grid-template-columns: 1fr; }
.tpg-apply .wrap.expanded > div:first-child { display: none; }
.tpg-apply .wrap.expanded .card:not(.read) { max-width: 860px; margin: 0 auto; }
.tpg-apply .intro-out { transition: opacity .25s ease, transform .25s ease; opacity: 0; transform: translateX(-24px); }

/* ---- Read step ------------------------------------------------------------ */
.tpg-apply .card.read { padding: 2.4rem; }
.tpg-apply .read-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: start; }
.tpg-apply .read-left h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.15; margin: .3rem 0 1.3rem; }
.tpg-apply .fade-in { animation: tpgfade .5s ease both; }
@keyframes tpgfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tpg-apply .voice { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; border: 1px solid rgba(184,159,118,.35); border-radius: 12px; background: rgba(184,159,118,.08); margin-bottom: 1.6rem; }
.tpg-apply .voice-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold); cursor: pointer; display: grid; place-items: center; }
.tpg-apply .eq { display: flex; gap: 3px; align-items: flex-end; height: 16px; }
.tpg-apply .eq i { width: 3px; height: 4px; background: var(--navy); border-radius: 2px; }
.tpg-apply .voice.playing .eq i { animation: tpgeq .9s ease-in-out infinite; }
.tpg-apply .voice.playing .eq i:nth-child(2) { animation-delay: .15s; }
.tpg-apply .voice.playing .eq i:nth-child(3) { animation-delay: .3s; }
.tpg-apply .voice.playing .eq i:nth-child(4) { animation-delay: .45s; }
@keyframes tpgeq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.tpg-apply .voice-copy { display: grid; gap: .1rem; font-size: .95rem; }
.tpg-apply .voice-copy span { color: rgba(238,230,227,.65); font-size: .85rem; }

.tpg-apply .agenda { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .35rem; }
.tpg-apply .agenda li { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; padding: .7rem .8rem; border-radius: 10px; transition: background .35s ease, opacity .35s ease; opacity: .55; }
.tpg-apply .agenda li.seen { opacity: .85; }
.tpg-apply .agenda li.active { opacity: 1; background: rgba(238,230,227,.07); }
.tpg-apply .agenda .num { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid rgba(184,159,118,.6); color: var(--gold-bright); display: grid; place-items: center; font-weight: 700; font-size: .9rem; transition: background .35s, color .35s; }
.tpg-apply .agenda li.active .num { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.tpg-apply .agenda b { display: block; font-weight: 600; margin-bottom: .1rem; }
.tpg-apply .agenda span:not(.num) { color: rgba(238,230,227,.72); font-size: .93rem; line-height: 1.45; }
.tpg-apply #read-actions { display: grid; gap: .7rem; }

/* Profile card */
.tpg-apply .pcard { background: rgba(10,18,34,.35); border: 1px solid rgba(238,230,227,.16); border-radius: 16px; padding: 1.6rem; }
.tpg-apply .pc-status { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--gold-bright); font-weight: 600; letter-spacing: .04em; min-height: 1.3em; }
.tpg-apply .spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--gold-bright); border-top-color: transparent; animation: tpgspin .9s linear infinite; }
.tpg-apply .pcard[data-state=done] .spin, .tpg-apply .pcard[data-state=failed] .spin { display: none; }
.tpg-apply .pc-bar { height: 3px; border-radius: 99px; background: rgba(238,230,227,.12); margin: .7rem 0 1.4rem; overflow: hidden; }
.tpg-apply .pc-bar i { display: block; height: 100%; width: 8%; background: var(--gold-bright); transition: width .6s ease; }
.tpg-apply .pcard[data-state=done] .pc-bar i { width: 100%; }
.tpg-apply .pc-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.2rem; align-items: center; margin-bottom: 1.5rem; }
.tpg-apply .pc-photo { width: 96px; height: 96px; border-radius: 50%; background: rgba(238,230,227,.08); box-shadow: 0 0 0 3px var(--navy), 0 0 0 4px rgba(184,159,118,.7); overflow: hidden; display: grid; place-items: center; font-family: var(--serif); font-size: 2rem; color: var(--gold-bright); }
.tpg-apply .pc-photo img { width: 100%; height: 100%; object-fit: cover; animation: tpgfade .6s ease both; }
.tpg-apply .pcard[data-state=loading] .pc-photo { animation: tpgpulse 1.4s ease-in-out infinite; }
.tpg-apply .pc-name { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; }
.tpg-apply .pc-headline { color: rgba(238,230,227,.82); margin-top: .3rem; line-height: 1.4; }
.tpg-apply .pc-loc { color: rgba(238,230,227,.55); font-size: .88rem; margin-top: .35rem; }
.tpg-apply .pc-label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; margin-bottom: .7rem; }
.tpg-apply .pc-timeline { list-style: none; margin: 0; padding: 0 0 0 1.2rem; position: relative; display: grid; gap: .95rem; }
.tpg-apply .pc-timeline::before { content: ""; position: absolute; left: .3rem; top: .45rem; bottom: .45rem; width: 1px; background: rgba(184,159,118,.4); }
.tpg-apply .pc-timeline li { position: relative; display: grid; gap: .15rem; }
.tpg-apply .pc-timeline li::before { content: ""; position: absolute; left: -1.2rem; top: .4rem; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); border: 2px solid var(--gold-bright); }
.tpg-apply .pc-timeline li.current::before { background: var(--gold-bright); }
.tpg-apply .pc-timeline li.fade-in { animation-duration: .5s; }
.tpg-apply .pc-role { font-weight: 600; }
.tpg-apply .pc-meta { color: rgba(238,230,227,.6); font-size: .88rem; }
.tpg-apply .pc-more { color: rgba(238,230,227,.55); font-size: .88rem; padding-left: 0; }
.tpg-apply .pc-more::before { display: none; }
.tpg-apply .pc-failed { margin: 0; color: rgba(238,230,227,.8); line-height: 1.5; }
.tpg-apply .pcard[data-state=failed] .pc-head, .tpg-apply .pcard[data-state=failed] .pc-label, .tpg-apply .pcard[data-state=failed] .pc-timeline, .tpg-apply .pcard[data-state=failed] .pc-bar { display: none; }
/* skeleton */
.tpg-apply .sk { display: block; height: .8em; border-radius: 6px; background: linear-gradient(90deg, rgba(238,230,227,.08), rgba(238,230,227,.18), rgba(238,230,227,.08)); background-size: 200% 100%; animation: tpgshim 1.3s linear infinite; margin: .25em 0; }
.tpg-apply .sk.w30 { width: 30%; } .tpg-apply .sk.w40 { width: 40%; } .tpg-apply .sk.w60 { width: 60%; } .tpg-apply .sk.w70 { width: 70%; } .tpg-apply .sk.w80 { width: 80%; }
@keyframes tpgshim { to { background-position: -200% 0; } }
@keyframes tpgpulse { 50% { opacity: .55; } }

@media (max-width: 900px) {
  .tpg-apply .card.read { padding: 1.4rem; }
  .tpg-apply .read-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .tpg-apply .read-right { order: -1; }
  .tpg-apply .pc-head { grid-template-columns: 72px minmax(0, 1fr); }
  .tpg-apply .pc-photo { width: 72px; height: 72px; font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tpg-apply *, .tpg-apply *::before { animation: none !important; transition: none !important; }
}
.tpg-apply .ready-note { margin: 0 0 1rem; padding: .85rem 1rem; border-left: 3px solid var(--gold-bright); background: rgba(184,159,118,.12); border-radius: 0 10px 10px 0; line-height: 1.5; animation: tpgfade .5s ease both; }
/* Same card for interview, processing, snapshot (27 Sep) */
.tpg-apply .pane[hidden] { display: none !important; }
.tpg-apply .pane.live { display: grid; gap: 1.2rem; }
.tpg-apply .pane .transcript { max-height: 460px; }
@media (max-width: 900px) {
  .tpg-apply .card.read:not([data-pane="pane-intro"]) .read-right { display: none; }
}
.tpg-apply .orb.pulse { animation: tpgorb 1.1s ease-in-out infinite; }
@keyframes tpgorb { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
/* Interview controls: mute, pause, end (27 Sep) */
.tpg-apply .controls { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: .6rem; }
.tpg-apply .btn.ctl { gap: .55rem; font-size: .95rem; padding: .85rem .8rem; }
.tpg-apply .btn.ctl[aria-pressed=true] { background: rgba(184,159,118,.2); border-color: var(--gold-bright); color: var(--stardust); }
.tpg-apply .btn.ctl:disabled { opacity: .45; cursor: default; }
.tpg-apply .ico { width: 16px; height: 16px; display: inline-block; background: currentColor; }
.tpg-apply .ico.mic { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 14a3 3 0 0 0 3-3V5a3 3 0 1 0-6 0v6a3 3 0 0 0 3 3zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21h2v-3.08A7 7 0 0 0 19 11z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 14a3 3 0 0 0 3-3V5a3 3 0 1 0-6 0v6a3 3 0 0 0 3 3zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21h2v-3.08A7 7 0 0 0 19 11z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tpg-apply .ico.pause { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 5h4v14H6zm8 0h4v14h-4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 5h4v14H6zm8 0h4v14h-4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tpg-apply #b-pause[aria-pressed=true] .ico.pause { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4l13 8-13 8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4l13 8-13 8z'/%3E%3C/svg%3E"); }
.tpg-apply #b-mute[aria-pressed=true] .ico.mic { background: #f3b59a; }
.tpg-apply .is-paused .orb { filter: grayscale(.8); opacity: .5; animation: none; }
.tpg-apply .is-paused .transcript { opacity: .6; }
@media (max-width: 520px) { .tpg-apply .controls { grid-template-columns: 1fr 1fr; } .tpg-apply .controls .end { grid-column: 1 / -1; } }
.tpg-apply .controls { grid-template-columns: auto auto 1fr; }
.tpg-apply .btn.ctl { white-space: nowrap; padding: .85rem 1rem; }
/* 6 Oct: book a partner call */
.tpg-apply .bookcard { border: 1px solid rgba(184,159,118,.55); background: rgba(184,159,118,.08); border-radius: 12px; padding: 1.1rem 1.2rem; }
.tpg-apply .bookcard h2 { font-size: 1.35rem; margin: 0 0 .4rem; }
.tpg-apply .bday { margin: .9rem 0; }
.tpg-apply .bday b { display: block; font-weight: 600; margin-bottom: .45rem; }
.tpg-apply .bslots { display: flex; flex-wrap: wrap; gap: .5rem; }
.tpg-apply .bslot { font: inherit; font-weight: 600; color: var(--stardust); background: transparent; border: 1px solid rgba(238,230,227,.35); border-radius: 8px; padding: .55rem 1rem; cursor: pointer; }
.tpg-apply .bslot:hover { border-color: var(--gold-bright); }
.tpg-apply .bslot[aria-pressed=true] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.tpg-apply .bookcard .btn { margin-top: .6rem; }
.tpg-apply .booked { border-left: 3px solid var(--gold-bright); padding: .7rem 1rem; background: rgba(184,159,118,.1); border-radius: 0 8px 8px 0; line-height: 1.55; }
/* 6 Oct: result = greeting + partner + slots (the evaluation stays internal) */
.tpg-apply .hello { font-size: 1.9rem; margin: .2rem 0 .7rem; }
.tpg-apply .lead-text { font-size: 1.12rem; line-height: 1.6; color: rgba(238,230,227,.92); margin: 0 0 1.3rem; }
.tpg-apply .partnercard { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--line, rgba(238,230,227,.16)); border-radius: 12px; margin: 0 0 1.1rem; background: rgba(238,230,227,.04); }
.tpg-apply .partnercard img, .tpg-apply .partnercard .pinit { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--gold-bright); }
.tpg-apply .partnercard .pinit { display: grid; place-items: center; font-family: Georgia, serif; font-size: 1.5rem; color: var(--gold-bright); background: rgba(184,159,118,.12); }
.tpg-apply .partnercard .plabel { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; margin-bottom: .2rem; }
.tpg-apply .partnercard b { display: block; font-size: 1.2rem; font-weight: 600; }
.tpg-apply .partnercard small { display: block; color: rgba(238,230,227,.7); margin-top: .1rem; }
.tpg-apply .slotq { font-weight: 600; margin: 0 0 .4rem; line-height: 1.5; }
.tpg-apply .small-note { font-size: .85rem; margin: .6rem 0 0; }
/* 6 Oct: personal card after the interview, other availabilities */
.tpg-apply .pcard.personal .pc-status, .tpg-apply .pcard.personal .pc-bar, .tpg-apply .pcard.personal .pc-label,
.tpg-apply .pcard.personal .pc-timeline, .tpg-apply .pcard.personal .pc-failed { display: none; }
.tpg-apply .pcard.personal { display: grid; gap: 1rem; align-content: start; }
.tpg-apply .pcard .pc-hello { display: none; }
.tpg-apply .pcard.personal .pc-hello { display: block; font-family: Georgia, "Libre Baskerville", serif; font-size: 2rem; line-height: 1.15; color: var(--stardust); }
.tpg-apply .pcard.personal .pc-head { margin: 0; }
@media (min-width: 901px) { .tpg-apply #booking .hello { display: none; } }
@media (max-width: 900px) { .tpg-apply .pcard.personal .pc-hello { display: none; } }
.tpg-apply .more-row { margin-top: .9rem; }
.tpg-apply .link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--gold-bright); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tpg-apply #suggest:not([hidden]) { margin-top: 1rem; display: grid; gap: .5rem; }
.tpg-apply #suggest label { font-weight: 600; }
.tpg-apply .suggest-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.tpg-apply .suggest-row input { font: inherit; color: var(--stardust); background: rgba(238,230,227,.08); border: 1px solid rgba(238,230,227,.3); border-radius: 8px; padding: .7rem .85rem; min-width: 0; }
.tpg-apply .suggest-row .btn { width: auto; }
/* 6 Oct: result = introduction (portraits + headline) + invitation card with day tiles */
.tpg-apply .card.read.result { background: none; border: 0; box-shadow: none; padding: 1rem 0 0; }
.tpg-apply .card.read.result .read-grid { grid-template-columns: 1fr; }
.tpg-apply .card.read.result .read-right { display: none; }
.tpg-apply .card.read.result #step-snap > .eyebrow { display: none; }
.tpg-apply .meet { max-width: 980px; margin: 0 auto; text-align: center; }
.tpg-apply .pair { display: flex; justify-content: center; align-items: center; margin-bottom: 2.4rem; }
.tpg-apply .pair figure { margin: 0; display: grid; justify-items: center; gap: .75rem; width: 15rem; }
.tpg-apply .pair img, .tpg-apply .pair .bubble-init { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; border: 3px solid var(--navy); box-shadow: 0 0 0 2px var(--gold-bright); }
.tpg-apply .pair .bubble-init { display: grid; place-items: center; font-family: var(--serif, Georgia, serif); font-size: 3rem; color: var(--gold-bright); background: rgba(184,159,118,.12); }
.tpg-apply .pair figcaption { font-size: .93rem; color: rgba(238,230,227,.68); line-height: 1.4; }
.tpg-apply .pair figcaption b { display: block; color: var(--stardust); font-size: 1.05rem; }
.tpg-apply .pair-link { width: 8rem; height: 2px; margin: 0 .5rem 4.5rem; position: relative; background: linear-gradient(90deg, transparent, var(--gold-bright) 20%, var(--gold-bright) 80%, transparent); flex: none; }
.tpg-apply .pair-link::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-bright); transform: translate(-50%, -50%); }
.tpg-apply .meet-title { font-family: "Libre Baskerville", Georgia, serif; font-weight: 400; font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.12; margin: 0 auto 1.3rem; max-width: 17ch; }
.tpg-apply .meet-lead { font-size: 1.2rem; line-height: 1.6; color: rgba(238,230,227,.88); max-width: 34em; margin: 0 auto 2.6rem; }
.tpg-apply .invite { position: relative; background: #f6f1ec; color: #1d2a42; border-radius: 6px; padding: 3rem 3.4rem 2.6rem; box-shadow: 0 30px 80px rgba(0,0,0,.35); max-width: 820px; margin: 0 auto; }
.tpg-apply .invite::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(160,138,101,.45); border-radius: 3px; pointer-events: none; }
.tpg-apply .tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .65rem; position: relative; }
.tpg-apply .tile { border: 1px solid #d9d0c4; border-radius: 6px; padding: .9rem .6rem .75rem; display: grid; gap: .5rem; background: #fbf8f4; text-align: center; }
.tpg-apply .tile.sel { border-color: #21304d; }
.tpg-apply .tile .dow, .tpg-apply .tile .mon { font-size: .85rem; color: #6a7386; }
.tpg-apply .tile .num { font-family: "Libre Baskerville", Georgia, serif; font-size: 2.5rem; line-height: 1; }
.tpg-apply .tile .mon { margin-top: -.3rem; }
.tpg-apply .tile .t { font: inherit; font-weight: 600; color: #1d2a42; background: #fff; border: 1px solid #c9bfb2; border-radius: 6px; padding: .5rem 0; cursor: pointer; }
.tpg-apply .tile .t:hover { border-color: #21304d; }
.tpg-apply .tile .t[aria-pressed=true] { background: #21304d; border-color: #21304d; color: #eee6e3; }
.tpg-apply .tile .t:focus-visible, .tpg-apply .invite-link:focus-visible { outline: 2px solid #a08a65; outline-offset: 2px; }
.tpg-apply .invite-foot { position: relative; margin-top: 2rem; display: grid; justify-items: center; gap: .7rem; }
.tpg-apply .invite-cta { width: auto; min-width: 22rem; background: #21304d; color: #eee6e3; }
.tpg-apply .invite-cta:hover { background: #2a3b5c; }
.tpg-apply .invite-cta:disabled { opacity: .45; }
.tpg-apply .invite-note { margin: 0; font-size: .92rem; color: #6a7386; }
.tpg-apply .invite-note:empty { display: none; }
.tpg-apply .invite-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: #7a6544; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.tpg-apply .invite #suggest:not([hidden]) { display: grid; gap: .5rem; width: 100%; max-width: 30rem; text-align: left; margin-top: .4rem; }
.tpg-apply .invite #suggest label { font-weight: 600; }
.tpg-apply .invite .suggest-row input { color: #1d2a42; background: #fff; border-color: #c9bfb2; }
.tpg-apply .invite .suggest-row .btn.ghost { color: #1d2a42; border-color: #c9bfb2; }
@media (max-width: 760px) {
  .tpg-apply .pair img, .tpg-apply .pair .bubble-init { width: 104px; height: 104px; }
  .tpg-apply .pair figure { width: 9rem; }
  .tpg-apply .pair-link { width: 2.5rem; margin-bottom: 3.5rem; }
  .tpg-apply .invite { padding: 2rem 1.2rem 1.8rem; }
  .tpg-apply .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpg-apply .invite-cta { min-width: 0; width: 100%; }
}

/* Option B under the form: ask for a call with Jordan instead of the interview */
.tpg-apply .optb { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid rgba(238,230,227,.14); font-size: .95rem; color: rgba(238,230,227,.72); }
.tpg-apply .optb p { margin: 0; }
.tpg-apply .optb .link { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-bright, #b89f76); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.tpg-apply .optb-body { margin-top: .9rem; display: grid; gap: .8rem; }
.tpg-apply .optb-who { display: flex; gap: .8rem; align-items: center; }
.tpg-apply .optb-av { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(184,159,118,.6); }
.tpg-apply .optb-who b { display: block; color: #eee6e3; }
.tpg-apply .optb-btn { justify-self: start; width: auto; padding: .65rem 1.2rem; }
.tpg-apply .optb-done { color: #eee6e3; }
.tpg-apply.result .optb, .tpg-apply .wrap.expanded .optb { display: none; }

.tpg-apply .error .link { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-bright, #b89f76); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Option B card: Teamtailor application fields, Jordan beside them */
.tpg-apply .wrap.expanded .card.call { max-width: 980px; }
.tpg-apply .call-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.2rem; align-items: start; }
.tpg-apply .call .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.tpg-apply .call input, .tpg-apply .call textarea { width: 100%; }
.tpg-apply .call textarea { font: inherit; color: var(--stardust); background: rgba(238,230,227,.08); border: 1px solid rgba(238,230,227,.28); border-radius: 8px; padding: .75rem .9rem; resize: vertical; }
.tpg-apply .call input[type=file] { font-size: .92rem; color: rgba(238,230,227,.8); }
.tpg-apply .call .yn { border: 0; padding: 0; margin: 0 0 1.1rem; }
.tpg-apply .call .yn legend { font-size: .95rem; line-height: 1.45; color: var(--stardust); margin-bottom: .5rem; padding: 0; }
.tpg-apply .call .yn legend b { color: var(--gold-bright); }
.tpg-apply .call .yn label { display: inline-flex; align-items: center; gap: .4rem; margin-right: 1.4rem; cursor: pointer; }
.tpg-apply .call .yn input { width: auto; accent-color: var(--gold); }
.tpg-apply .call .consent a, .tpg-apply #step-form .consent a { color: var(--gold-bright); }
.tpg-apply .call-back { text-align: center; margin: 1rem 0 0; }
.tpg-apply .call .link { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-bright); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.tpg-apply .call-who { display: grid; justify-items: center; text-align: center; gap: .35rem; padding: 1.6rem 1.2rem; border: 1px solid rgba(238,230,227,.16); border-radius: 14px; background: rgba(26,38,64,.45); }
.tpg-apply .call-who img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-bright); margin-bottom: .5rem; }
.tpg-apply .call-who b { font-size: 1.1rem; color: var(--stardust); }
.tpg-apply .call-who span { font-size: .9rem; color: rgba(238,230,227,.7); }
.tpg-apply .call-who p { margin: .7rem 0 0; font-size: .95rem; line-height: 1.5; color: rgba(238,230,227,.82); }
.tpg-apply .call-done { text-align: center; padding: 2rem 0; }
.tpg-apply .call-done h2 { margin-bottom: .6rem; }
@media (max-width: 760px) { .tpg-apply .call-grid { grid-template-columns: 1fr; } .tpg-apply .call-who { position: static; order: -1; } .tpg-apply .call .two { grid-template-columns: 1fr; } }

/* Privacy policy popup (text from the careers site) */
.tpg-privacy { width: min(760px, calc(100vw - 32px)); max-height: min(82vh, 900px); padding: 0; border: 0; border-radius: 14px; background: #f6f1ec; color: #1d2a42; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.tpg-privacy::backdrop { background: rgba(10,16,30,.65); }
.tpg-privacy-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.4rem; background: #f6f1ec; border-bottom: 1px solid #ddd3c6; }
.tpg-privacy-head b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.tpg-privacy-head button { border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: #1d2a42; }
.tpg-privacy-body { padding: 1rem 1.4rem 1.6rem; overflow-y: auto; max-height: calc(min(82vh, 900px) - 4rem); font-size: .95rem; line-height: 1.6; }
.tpg-privacy-body h1 { font-size: 1.3rem; } .tpg-privacy-body h2 { font-size: 1.1rem; } .tpg-privacy-body a { color: #7a6544; }

.tpg-apply .call label.field span span { display: inline; margin: 0; }
.tpg-apply .call textarea:focus { outline: none; border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(184,159,118,.25); }

/* Job this application is for */
/* Job pages: the role heads the application card instead of a box above the headline (Tibor, 23 Oct). */
.tpg-apply .job-banner { display: grid; gap: .2rem; margin: 0 0 .5rem; }
.tpg-apply .job-banner span:first-child { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright, #b89f76); font-weight: 600; }
.tpg-apply .job-banner b { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 1.55rem; line-height: 1.25; color: #eee6e3; }
.tpg-apply .job-banner #job-place { font-size: .92rem; color: rgba(238,230,227,.7); }
.tpg-apply .job-banner:not([hidden]) ~ h2 { display: none; }

/* Scroll targets clear the sticky header (booking confirmation, call request). */
#booking, #call-done, #suggest { scroll-margin-top: 96px; }

/* LinkedIn field helpers: open own profile, paste the copied link */
.tpg-apply label.field span.li-help { display: flex; margin-bottom: 0; color: inherit; font-weight: 400; gap: 1.1rem; flex-wrap: wrap; margin-top: .5rem; font-size: .9rem; text-transform: none; letter-spacing: 0; }
.tpg-apply label.field .li-help .link-btn { font-size: .9rem; }

/* Back for an unfinished interview */
.tpg-apply .resume-lead { display: grid; gap: .8rem; margin: 1.2rem 0 1.6rem; font-size: 1.05rem; line-height: 1.6; }
.tpg-apply .resume-lead p { margin: 0; }

/* Reschedule page (1 Nov): current time above the tiles, the partner's address as the fallback. */
.tpg-apply .rs-contact { margin-top: .4rem; }
.tpg-apply .rs-contact a { color: #21304d; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tpg-apply .rs-contact-lead a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
/* 8 Nov: Independence Assessment below the next step (Arnd: every candidate sees their result) */
.tpg-apply .ia { max-width: 820px; margin: 4rem auto 0; text-align: left; border-top: 1px solid rgba(184,159,118,.4); padding-top: 2.4rem; }
.tpg-apply .ia .eyebrow { margin: 0 0 .6rem; }
.tpg-apply .ia-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; }
.tpg-apply .ia-head h2 { text-transform: none; letter-spacing: 0; font-family: "Libre Baskerville", Georgia, serif; font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; margin: 0; }
.tpg-apply .ia-total { font-family: "Libre Baskerville", Georgia, serif; font-size: 2.6rem; color: var(--gold-bright); line-height: 1; font-variant-numeric: tabular-nums; }
.tpg-apply .ia-total small { font-size: 1rem; color: rgba(238,230,227,.6); margin-left: .15rem; }
.tpg-apply .ia-lead { font-size: 1.05rem; line-height: 1.6; color: rgba(238,230,227,.85); margin: .9rem 0 1.8rem; max-width: 42em; }
.tpg-apply .ia-dims { display: grid; gap: 1.2rem; }
.tpg-apply .ia-dim .bar { grid-template-columns: minmax(0, 13rem) 1fr 3.4rem; font-size: .98rem; }
.tpg-apply .ia-dim .bar span { font-weight: 600; color: var(--stardust); }
.tpg-apply .ia-dim .bar b { font-variant-numeric: tabular-nums; }
.tpg-apply .ia-dim .bar b small { font-weight: 400; color: rgba(238,230,227,.55); }
.tpg-apply .ia-dim p { margin: .45rem 0 0; font-size: .95rem; line-height: 1.55; color: rgba(238,230,227,.78); max-width: 46em; }
.tpg-apply .ia-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: 2.2rem; }
.tpg-apply .ia-lists h3 { font-family: "Libre Baskerville", Georgia, serif; font-weight: 400; font-size: 1.15rem; text-transform: none; letter-spacing: 0; margin: 0 0 .6rem; color: var(--gold-bright); }
.tpg-apply .ia-lists ul { margin: 0; padding-left: 1.1rem; line-height: 1.55; color: rgba(238,230,227,.85); }
.tpg-apply .ia-lists li + li { margin-top: .4rem; }
@media (max-width: 640px) { .tpg-apply .ia-lists { grid-template-columns: 1fr; gap: 1.4rem; } .tpg-apply .ia-dim .bar { grid-template-columns: 1fr 3.4rem; } .tpg-apply .ia-dim .bar i { grid-column: 1 / -1; grid-row: 2; } }
/* 10 Nov: after the assessment and after booking (Simon's feedback) */
.tpg-apply .ia-dim p.ia-help { color: var(--gold-bright); font-size: .9rem; margin-top: .3rem; }
.tpg-apply .ia-mailed { margin: 2rem 0 0; font-size: .92rem; color: rgba(238,230,227,.7); }
.tpg-apply .meet-extras { display: grid; gap: .9rem; justify-items: center; margin: 0 auto 1rem; }
.tpg-apply .meet-row { display: flex; flex-wrap: wrap; gap: .5rem .6rem; align-items: center; justify-content: center; }
.tpg-apply .meet-row > span { font-size: .92rem; color: rgba(238,230,227,.7); margin-right: .2rem; }
.tpg-apply .meet-chip { display: inline-block; padding: .45rem .9rem; border: 1px solid rgba(184,159,118,.7); border-radius: 999px; color: var(--stardust); font-weight: 600; font-size: .92rem; text-decoration: none; }
.tpg-apply .meet-chip:hover { background: rgba(184,159,118,.16); }
.tpg-apply .meet-chip:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
/* Personal booking page (/book/<name>): name and e-mail under the day tiles. */
.tpg-apply .bk-form { display: grid; gap: .2rem; max-width: 30rem; margin-inline: auto; text-align: left; }
.tpg-apply .bk-form .field { margin-bottom: .8rem; }
.tpg-apply .bk-form .invite-cta, .tpg-apply .bk-form .invite-link, .tpg-apply .bk-form .invite-note { justify-self: center; text-align: center; }
