/* All presentation is scoped to the provider welcome. No homepage selectors. */
.aptpw{--aptpw-ink:#17364a;--aptpw-muted:#b8c3e0;--aptpw-line:rgba(142,192,255,.2);box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:clamp(25px,5vw,72px);max-width:1240px;margin:30px auto 48px;padding:clamp(24px,4vw,56px);border:1px solid #dce7ed;border-radius:30px;background:radial-gradient(ellipse at 12% 0%,#eef5ff,transparent 55%),linear-gradient(135deg,#fffdf8,#f3faff);color:var(--aptpw-ink);font:16px/1.6 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 18px 70px #17364a0d}
.aptpw *{box-sizing:border-box}.aptpw [hidden]{display:none!important}.aptpw-intro{align-self:center;min-width:0}.aptpw .aptpw-eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;color:#2365a3;margin:0 0 20px}.aptpw #aptpw-title{font:500 clamp(32px,3.5vw,52px)/1.08 "Instrument Serif",Georgia,serif;color:var(--aptpw-ink);letter-spacing:-.03em;margin:0 0 22px}.aptpw-intro>p{color:#516b7a;font-size:16px;margin:0 0 24px}.aptpw-points{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0}.aptpw-points span{font-size:12px;font-weight:700;background:#ffffffba;border:1px solid #dce6ec;border-radius:50px;padding:7px 12px}.aptpw a{color:#155c9c;text-underline-offset:4px}.aptpw .aptpw-apply{display:inline-block;font-weight:750;padding:10px 0;line-height:1.4}
.aptpw button{appearance:none;font:700 13px/1.4 system-ui;font-family:inherit;cursor:pointer;border:1px solid var(--aptpw-line);background:#161c3e;border-radius:12px;color:#eef3ff;padding:11px 14px;min-height:44px;white-space:normal;text-transform:none;letter-spacing:normal;box-shadow:none;margin:0}.aptpw button:hover{background:#303960;color:#fff}.aptpw button:disabled{opacity:.55;cursor:wait}.aptpw button:focus-visible,.aptpw textarea:focus-visible,.aptpw input:focus-visible,.aptpw select:focus-visible,.aptpw a:focus-visible{outline:3px solid #54d7ff;outline-offset:3px}
.aptpw-entry{min-width:0;text-align:center;padding:27px 24px 18px;border-radius:28px;border:1px solid rgba(121,211,255,.3);background:linear-gradient(145deg,#11374b,#091d30 70%,#181f43);box-shadow:0 16px 44px #16304724;color:#f5f7ff}.aptpw .aptpw-kicker{margin:0 0 6px;color:#c7ac75;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.aptpw-entry h3,.aptpw #aptpw-dialog-title{margin:0;color:#f5f7ff;font:400 36px/1.1 "Instrument Serif",Georgia,serif;letter-spacing:-.02em}.aptpw .aptpw-entry-copy{margin:9px 0 0;color:var(--aptpw-muted);font-size:13px}.aptpw-ribbon{position:relative;width:100%;height:clamp(190px,30vh,330px);border-radius:22px;overflow:hidden;background:#071a2b;isolation:isolate}.aptpw-ribbon-preview{height:245px;margin:20px 0}.aptpw-ribbon canvas{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}.aptpw-mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.aptpw-mode-choices button{text-align:left;padding:15px;background:linear-gradient(135deg,#303969,#12344a)}.aptpw-mode-choices button:hover{border-color:#7fcfff;background:#293862}.aptpw-mode-choices strong{display:block;font-size:14px;line-height:1.35;margin-bottom:7px;color:#fff}.aptpw-mode-choices span{display:block;font-size:12px;line-height:1.45;font-weight:400;color:#c6d4e8}.aptpw .aptpw-entry-note{font-size:11px;color:#b8c3e0;margin:14px 0 0}
.aptpw .aptpw-dialog:not([open]){display:none}.aptpw .aptpw-dialog[open]{display:block}.aptpw .aptpw-dialog{position:fixed;inset:0;padding:0;margin:auto;width:min(1050px,calc(100vw - 36px));height:min(820px,calc(100dvh - 36px));max-width:none;max-height:none;overflow:hidden;border:1px solid rgba(121,211,255,.3);border-radius:28px;background:#090c21;color:#f5f7ff;box-shadow:0 30px 100px #0009;font:14px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.aptpw .aptpw-dialog::backdrop{background:rgba(4,5,18,.72);backdrop-filter:blur(14px)}.aptpw-shell{height:100%;display:grid;grid-template-columns:minmax(260px,34%) minmax(0,1fr);overflow:hidden}.aptpw-visual-pane{min-width:0;overflow:auto;display:flex;flex-direction:column;align-items:center;padding:30px 23px 22px;border-right:1px solid var(--aptpw-line);background:linear-gradient(140deg,#143d50,#071e31 66%,#1a2246);gap:18px}.aptpw-brand-copy{text-align:center}.aptpw-brand-copy>p:last-child{font-size:12px;line-height:1.5;color:var(--aptpw-muted);margin:12px 0 0}.aptpw #aptpw-dialog-title{font-size:34px}.aptpw-wave{display:flex;gap:4px;align-items:center;justify-content:center;height:14px}.aptpw-wave i{width:4px;height:4px;border-radius:4px;background:linear-gradient(#d2b574,#54d7ff)}.aptpw-speaking .aptpw-wave i,.aptpw-recording .aptpw-wave i{animation:aptpw-wave 1s ease-in-out infinite}.aptpw-wave i:nth-child(2n){animation-delay:-.25s}.aptpw-wave i:nth-child(3n){animation-delay:-.5s}.aptpw .aptpw-state{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:8px 12px;border:1px solid var(--aptpw-line);border-radius:50px;background:#111c3b;color:#d8eaff;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.aptpw-state>span:first-child{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#54d7ff;box-shadow:0 0 10px #54d7ff80}.aptpw-mini-controls{margin-top:auto;display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.aptpw-mini-controls button{border-radius:50px;font-size:11px;padding:8px 11px;min-height:36px}.aptpw-visual-hidden .aptpw-visual-pane>.aptpw-ribbon,.aptpw-visual-hidden .aptpw-wave{visibility:hidden}
.aptpw-conversation{min-width:0;min-height:0;display:flex;flex-direction:column;background:linear-gradient(180deg,#111634,#090c21)}.aptpw-head{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:19px 21px;border-bottom:1px solid var(--aptpw-line)}.aptpw-head strong{display:block;font-size:16px;color:#f5f7ff}.aptpw-head span{display:block;font-size:12px;color:var(--aptpw-muted);margin-top:3px}.aptpw .aptpw-close{flex:0 0 40px;width:40px;min-height:40px;padding:0;border-radius:50%;font:24px/1 system-ui;color:#fff}.aptpw-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:22px 22px 12px;scrollbar-width:thin;scrollbar-color:#4e6393 #111634}.aptpw .aptpw-privacy{margin:0 0 17px;padding:16px 18px;border:1px solid rgba(120,205,255,.18);border-radius:18px;background:linear-gradient(135deg,#1b2249,#0d2036);color:#dce7ff;font-size:13px;line-height:1.55}.aptpw-privacy strong{color:#fff}.aptpw .aptpw-reply,.aptpw .aptpw-user{font-size:14px;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere;padding:14px 16px;margin:0 0 12px;border-radius:17px;border:1px solid rgba(124,177,255,.17);background:#1f275bc2;color:#f3f6ff}.aptpw .aptpw-reply{border-bottom-left-radius:5px}.aptpw .aptpw-user{background:linear-gradient(135deg,#6a55d9,#1f8daf);margin-left:35px;border-bottom-right-radius:5px;color:#fff}.aptpw-confirm{display:flex;flex-wrap:wrap;gap:8px}.aptpw label{display:block;font-size:12px;font-weight:750;color:#d0ddf4;margin:13px 0 6px}.aptpw label>span{font-weight:400}.aptpw input,.aptpw select,.aptpw textarea{width:100%;min-width:0;display:block;border:1px solid rgba(132,185,255,.3);background:#14193c;color:#fff;border-radius:13px;padding:11px 12px;min-height:46px;font:16px/1.4 system-ui;font-family:inherit;box-shadow:none;margin-top:5px}.aptpw textarea{resize:vertical;min-height:55px;max-height:115px;font-size:16px}.aptpw input::placeholder,.aptpw textarea::placeholder{color:#b1bfda;opacity:1}.aptpw-start button{margin-top:16px;background:#303968}.aptpw .aptpw-compose{flex:none;padding:12px 19px 16px;border-top:1px solid var(--aptpw-line);background:#080c22}.aptpw .aptpw-status{font-size:12px;color:#c6d8f1;line-height:1.5;min-height:18px;margin:0 0 10px}.aptpw-prompts{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.aptpw-prompts button{font-size:11px;min-height:35px;padding:7px 10px;background:#171f40}.aptpw-input-row{display:flex;gap:9px;align-items:stretch}.aptpw-input-row textarea{margin:0}.aptpw .aptpw-input-row button{flex:0 0 50px;padding:0;border:0;background:linear-gradient(135deg,#7a5ce9,#19b7d4);font-size:23px;color:#fff}.aptpw-voice{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}.aptpw-voice button{flex:1 1 auto;font-size:12px;min-height:42px;background:#2e3665}.aptpw-dialog .aptpw-apply{color:#8bdcff;font-size:12px;margin-top:8px;padding:4px 0}.aptpw .aptpw-small{font-size:10px;line-height:1.5;color:#a4b3d0;margin:5px 0 0}.aptpw-dialog a{color:#8bdcff}.aptpw .aptpw-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0;margin:0}
.aptpw-invitation{margin:0;background:#f6f9fc;color:#18384e}.aptpw-brand{max-width:1240px;margin:0 auto;padding:28px 25px;display:flex;justify-content:space-between;align-items:center;gap:20px;font:14px/1.4 sans-serif}.aptpw-brand a{color:#234661;text-decoration:none}.aptpw-brand>a:first-child{display:flex;align-items:center;gap:12px;font:32px Georgia,serif}.aptpw-brand span{max-width:125px;font:700 10px/1.4 sans-serif;letter-spacing:.04em}.aptpw-footer,.aptpw-qa{max-width:1120px;margin:20px auto;padding:0 24px 30px;font:13px/1.8 sans-serif;color:#617b8e}.aptpw-footer a{color:#235e86}.aptpw-qa{padding-bottom:0;color:#755414}.aptpw-invitation .aptpw{margin-top:15px}
@keyframes aptpw-wave{50%{transform:scaleY(3)}}.aptpw.reduce-motion .aptpw-wave i{animation:none!important}@media(prefers-reduced-motion:reduce){.aptpw .aptpw-wave i{animation:none!important}}
@media(max-width:780px){.aptpw{grid-template-columns:1fr;margin:16px 15px 30px;padding:25px 20px;gap:24px;border-radius:22px}.aptpw #aptpw-title{font-size:37px}.aptpw-intro>p{font-size:15px}.aptpw-entry{padding:23px 20px}.aptpw-ribbon-preview{height:210px}.aptpw-brand{padding:22px}.aptpw .aptpw-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0}.aptpw-shell{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.aptpw-visual-pane{padding:14px 18px;display:grid;grid-template-columns:65px minmax(0,1fr);gap:8px 14px;border-right:0;border-bottom:1px solid var(--aptpw-line);overflow:visible}.aptpw-visual-pane>.aptpw-ribbon{grid-column:1;grid-row:1/3;width:65px;height:86px;border-radius:12px}.aptpw-brand-copy{grid-column:2;grid-row:1;text-align:left}.aptpw #aptpw-dialog-title{font-size:25px}.aptpw-brand-copy .aptpw-kicker{font-size:9px}.aptpw-brand-copy>p:last-child{font-size:10px;margin:4px 0 0}.aptpw-mini-controls{grid-column:2;grid-row:2;justify-content:flex-start;margin:0}.aptpw-mini-controls button{font-size:10px;min-height:30px;padding:5px 9px}.aptpw-visual-pane .aptpw-state,.aptpw-visual-pane .aptpw-wave{display:none}.aptpw-head{padding:11px 14px}.aptpw-head strong{font-size:14px}.aptpw-head span{font-size:11px}.aptpw-scroll{padding:14px}.aptpw .aptpw-compose{padding:11px 12px max(11px,env(safe-area-inset-bottom))}.aptpw .aptpw-privacy{padding:12px;font-size:12px}.aptpw-prompts{gap:6px;margin-bottom:9px}.aptpw-prompts button{font-size:10px;padding:6px 8px;min-height:34px}.aptpw-voice button{font-size:11px;min-height:38px;padding:8px}.aptpw .aptpw-small{font-size:10px}.aptpw .aptpw-status{font-size:11px}.aptpw .aptpw-reply,.aptpw .aptpw-user{font-size:13px}.aptpw .aptpw-dialog .aptpw-apply{font-size:11px}}

/* Beat the host theme's generic translucent form-field rule within this dialog. */
.aptpw .aptpw-dialog input,.aptpw .aptpw-dialog select,.aptpw .aptpw-dialog textarea{background:#14193c!important;color:#f5f7ff!important;border-color:rgba(132,185,255,.35)!important;-webkit-text-fill-color:#f5f7ff}
.aptpw .aptpw-dialog textarea::placeholder,.aptpw .aptpw-dialog input::placeholder{color:#b1bfda!important;-webkit-text-fill-color:#b1bfda;opacity:1}

/* Text-only production welcome: consumer Clarity is unaffected. */
.aptpw[data-voice-enabled="false"] .aptpw-mode-choices{grid-template-columns:1fr}
.aptpw[data-voice-enabled="false"] [data-talk],.aptpw[data-voice-enabled="false"] [data-type],.aptpw[data-voice-enabled="false"] [data-listen],.aptpw[data-voice-enabled="false"] [data-mute]{display:none!important}

/* Browser autofill must preserve the dark field and readable text together.
   An inset fill covers Chrome/Safari's protected pale autofill background. */
.aptpw .aptpw-dialog input,.aptpw .aptpw-dialog select,.aptpw .aptpw-dialog textarea{color-scheme:dark;caret-color:#f5f7ff}
.aptpw .aptpw-dialog input:-webkit-autofill,
.aptpw .aptpw-dialog textarea:-webkit-autofill,
.aptpw .aptpw-dialog select:-webkit-autofill{
  -webkit-box-shadow:0 0 0 1000px #14193c inset!important;
  box-shadow:0 0 0 1000px #14193c inset!important;
  -webkit-text-fill-color:#f5f7ff!important;
  caret-color:#f5f7ff;
}
.aptpw .aptpw-dialog input:autofill,
.aptpw .aptpw-dialog textarea:autofill,
.aptpw .aptpw-dialog select:autofill{
  box-shadow:0 0 0 1000px #14193c inset!important;
  -webkit-text-fill-color:#f5f7ff!important;
  caret-color:#f5f7ff;
}
