/* Autopilot public phone — approved premium V2.
   This stylesheet only dresses the existing dialog. The voice transport,
   themes, identity, quota handling and account forms remain owned by it. */

html body dialog.ap-team-call.ap-premium-v2[data-theme] {
  --ap-tc-surface:#fff;
  --ap-tc-ink:#0b1020;
  --ap-tc-muted:#566579;
  --ap-tc-border:#a9bacb;
  --ap-tc-blue:#18334f;
  --ap-tc-soft:#f0f4f8;
  --ap-tc-halo:rgba(70,105,145,.13);
  --ap-pv2-ring-line:rgba(46,83,123,.25);
  --ap-pv2-button-ink:#fff;
  --ap-pv2-button-edge:#91a7bf;
  --ap-pv2-button-shadow:rgba(11,28,54,.24);
  --ap-pv2-notch:linear-gradient(175deg,#26394f,#091323 70%);
  --ap-pv2-reflection-color:#e6f6fff0;
  --ap-pv2-x:30%;
  --ap-pv2-y:18%;
  --ap-pv2-angle:118deg;
  width:min(360px,calc(100vw - 24px));
  max-width:none;
  max-height:calc(100dvh - 24px);
  margin:auto;
  padding:0;
  overflow:auto;
  overscroll-behavior:contain;
  border:0;
  border-radius:45px;
  background:var(--ap-tc-surface);
  color:var(--ap-tc-ink);
  color-scheme:light;
  scrollbar-width:thin;
  scrollbar-color:#91a7bf #fff;
  font:15px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  text-align:center;
  box-shadow:0 32px 65px -20px #000b,0 8px 20px #0007,0 0 0 1px #ffffff5c;
  -webkit-font-smoothing:antialiased;
}
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-theme="copper"] {
  --ap-tc-surface:#fff;
  --ap-tc-ink:#261d19;
  --ap-tc-muted:#6a5a52;
  --ap-tc-border:#c8a58d;
  --ap-tc-blue:#a95129;
  --ap-tc-soft:#f8eee7;
  --ap-tc-halo:rgba(193,113,62,.19);
  --ap-pv2-ring-line:rgba(194,115,68,.38);
  --ap-pv2-button-ink:#fff;
  --ap-pv2-button-edge:#edb48c;
  --ap-pv2-button-shadow:rgba(143,55,23,.24);
  --ap-pv2-notch:linear-gradient(175deg,#562917,#160d0a 70%);
  --ap-pv2-reflection-color:#fff6dff0;
  scrollbar-color:#b87850 #fff;
}
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-theme="black"] {
  --ap-tc-surface:#101b2c;
  --ap-tc-ink:#f3f8ff;
  --ap-tc-muted:#b2c4d9;
  --ap-tc-border:#617b96;
  --ap-tc-blue:#b2e3ff;
  --ap-tc-soft:#1b2c43;
  --ap-tc-halo:rgba(127,200,243,.14);
  --ap-pv2-ring-line:rgba(159,216,248,.32);
  --ap-pv2-button-ink:#0c243d;
  --ap-pv2-button-edge:#f3fbff;
  --ap-pv2-button-shadow:rgba(93,187,233,.19);
  --ap-pv2-notch:linear-gradient(175deg,#050a12,#010409 70%);
  color-scheme:dark;
  scrollbar-color:#6286a4 #101b2c;
}
html body dialog.ap-team-call.ap-premium-v2[data-theme]::backdrop {
  background:radial-gradient(ellipse at 50% 70%,#1d2b3d73,transparent 58%),#060b1bd9;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
html body dialog.ap-team-call.ap-premium-v2[data-theme] [hidden] { display:none!important; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] * { box-sizing:border-box; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-phone {
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  align-items:center;
  min-height:min(650px,calc(100dvh - 24px));
  width:100%;
  padding:58px 30px 24px;
  overflow:hidden;
  border:0;
  border-radius:45px;
  background:#fff;
  box-shadow:none;
  animation:ap-pv2-enter .72s cubic-bezier(.16,1,.3,1) both;
}
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-phone::before {
  content:"";
  position:absolute;
  z-index:0;
  inset:6px;
  border-radius:39px;
  opacity:0;
  background:radial-gradient(ellipse at 25% 0%,#223951 0%,transparent 52%),linear-gradient(155deg,#15263c,#0d1729 52%,#090f1d);
  pointer-events:none;
  transition:opacity .68s ease;
}
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-theme="black"] .ap-tc-phone::before { opacity:1; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-phone::after {
  content:"";
  position:absolute;
  z-index:4;
  inset:5px;
  border:1px solid #ffffff73;
  border-radius:40px;
  box-shadow:0 0 0 1px #21150f40;
  pointer-events:none;
}
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-label,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-portrait-wrap,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-title,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-role,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-stage,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-status,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-dots,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-meter,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-time,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-transcript,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-extra,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-controls,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-notice { position:relative; z-index:2; }

/* Full-size decorative layers are either behind content or masked to a rim. */
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-layer {
  position:absolute;
  inset:0;
  z-index:0;
  display:block;
  border-radius:inherit;
  opacity:0;
  pointer-events:none;
  transition:opacity .72s cubic-bezier(.22,1,.36,1);
}
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-theme="white"] .ap-pv2-layer[data-finish="white"],
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-theme="black"] .ap-pv2-layer[data-finish="black"],
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-theme="copper"] .ap-pv2-layer[data-finish="copper"] { opacity:1; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-shell,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-reflection,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-sweep {
  position:absolute;
  z-index:5;
  inset:0;
  display:block;
  border-radius:inherit;
  padding:6px;
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite:exclude;
  pointer-events:none;
}
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-shell[data-finish="copper"] { background:linear-gradient(135deg,#67331f 0%,#d79764 12%,#ffe8cd 16%,#c77d4e 21%,#7d3219 38%,#e7ab7b 56%,#9f4c27 76%,#eab489 91%,#643020 100%); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-shell[data-finish="white"] { background:linear-gradient(135deg,#15283f 0%,#a6b8c8 12%,#f7fbff 16%,#647b92 21%,#182b43 38%,#c4d2df 56%,#334a63 76%,#b1c6dc 91%,#17283d 100%); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-shell[data-finish="black"] { background:linear-gradient(135deg,#0a172a 0%,#5f87a4 12%,#e6f7ff 16%,#23455e 21%,#0b1c31 38%,#9bc7e0 56%,#17334e 76%,#b6e4ff 91%,#0b1c31 100%); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-reflection {
  z-index:6;
  background:radial-gradient(210px 200px at var(--ap-pv2-x) var(--ap-pv2-y),var(--ap-pv2-reflection-color),#ffffff26 42%,transparent 72%);
  opacity:.78;
  transition:opacity .3s ease;
}
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-sweep {
  z-index:7;
  padding:3px;
  background:linear-gradient(115deg,transparent 34%,#ffffffb3 45%,transparent 55%) 160% 0 / 300% 100%;
  opacity:0;
  animation:none;
}
html body dialog.ap-team-call.ap-premium-v2[data-theme].ap-pv2-changing .ap-pv2-sweep { animation:ap-pv2-rim-sweep .9s ease both; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-notch {
  position:absolute;
  z-index:3;
  top:20px;
  left:50%;
  width:66px;
  height:13px;
  border-radius:20px;
  background:var(--ap-pv2-notch);
  box-shadow:0 0 0 1px var(--ap-tc-blue),0 1px 2px #0004,inset 0 1px 2px #ffffff21;
  transform:translateX(-50%);
  transition:box-shadow .58s ease;
}
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-themes { position:absolute; z-index:4; top:12px; right:14px; display:flex; gap:1px; align-items:center; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-theme {
  appearance:none;
  display:grid;
  place-items:center;
  width:28px;
  height:30px;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  box-shadow:none;
  color:inherit;
  transition:transform .2s ease;
  -webkit-tap-highlight-color:transparent;
}
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-theme::before { width:12px; height:12px; border:1px solid #82909f; box-shadow:inset 0 1px 2px #ffffff66; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-theme-white::before { background:linear-gradient(#fff,#e9eef3); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-theme-black::before { background:linear-gradient(#344860,#0b1020); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-theme-copper::before { background:linear-gradient(135deg,#f3bd96,#a84f29 60%,#7d3218); border-color:#a96b48; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-theme[aria-pressed="true"]::after { inset:auto; width:19px; height:19px; border:1px solid var(--ap-tc-blue); border-radius:50%; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-label { margin:0; color:var(--ap-tc-blue); font:700 11px/16px Inter,ui-sans-serif,system-ui,sans-serif; letter-spacing:.19em; }

html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-portrait-wrap {
  position:relative;
  flex:none;
  display:grid;
  place-items:center;
  width:154px;
  height:154px;
  max-width:100%;
  aspect-ratio:1;
  margin:29px 0 22px;
  padding:4px;
  overflow:visible;
  border:0;
  border-radius:50%;
  background:var(--ap-tc-soft);
  box-shadow:0 0 0 7px var(--ap-tc-halo),0 0 0 8px var(--ap-pv2-ring-line),0 8px 20px -10px var(--ap-pv2-button-shadow);
  transition:box-shadow .6s ease;
}
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-ring[data-finish="copper"] { background:linear-gradient(145deg,#893a1c,#eab28c 23%,#a94e27 49%,#dc9c71 72%,#843519); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-ring[data-finish="white"] { background:linear-gradient(145deg,#102039,#9baec3 24%,#1b334d 48%,#71869d 72%,#11223b); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-ring[data-finish="black"] { background:linear-gradient(145deg,#344f6b,#d7f0ff 23%,#79afcf 49%,#c7edff 73%,#355b79); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-portrait { position:relative; z-index:2; width:100%; height:100%; object-fit:cover; object-position:50% 30%; border-radius:50%; box-shadow:0 0 0 1px #0005; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-initial { position:relative; z-index:2; display:grid; place-items:center; width:100%; height:100%; border-radius:50%; background:var(--ap-tc-soft); color:var(--ap-tc-ink); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-portrait-wrap::before { content:""; position:absolute; z-index:0; inset:-13px; border:1px solid var(--ap-pv2-ring-line); border-radius:50%; opacity:.38; pointer-events:none; animation:ap-pv2-breathe 4.8s ease-in-out infinite; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-portrait-wrap::after { content:""; position:absolute; z-index:3; inset:0; border:0; border-top:1px solid #fff9; border-bottom:1px solid #0003; border-radius:50%; opacity:1; transform:none; animation:none; pointer-events:none; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-portrait-light { position:absolute; z-index:4; inset:0; border-radius:50%; padding:4px; background:conic-gradient(from var(--ap-pv2-angle),transparent 25%,#fff9 39%,transparent 54%,#fff4 76%,transparent 88%); -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); -webkit-mask-composite:xor; mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask-composite:exclude; pointer-events:none; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-voice-ring { position:absolute; z-index:0; inset:-13px; border:1px solid var(--ap-tc-blue); border-radius:50%; opacity:0; box-shadow:0 0 22px 2px var(--ap-tc-halo); pointer-events:none; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-voice-ring + .ap-pv2-voice-ring { inset:-20px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="speaking"] .ap-tc-portrait-wrap::before { animation:none; opacity:.2; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="speaking"] .ap-pv2-voice-ring { animation:ap-pv2-voice-halo 1.55s ease-out infinite; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="speaking"] .ap-pv2-voice-ring + .ap-pv2-voice-ring { animation-delay:.42s; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-title { margin:0; padding:0; color:var(--ap-tc-ink); font:750 38px/1.08 Inter,ui-sans-serif,system-ui,sans-serif; letter-spacing:-.045em; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-role { max-width:100%; margin:7px 0 0; color:var(--ap-tc-muted); font:400 13px/20px Inter,ui-sans-serif,system-ui,sans-serif; overflow-wrap:anywhere; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-stage { margin:14px 0 4px; min-height:20px; color:var(--ap-tc-blue); font:650 14px/20px Inter,ui-sans-serif,system-ui,sans-serif; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-status { width:100%; margin:0; min-height:20px; color:var(--ap-tc-muted); font:400 12px/20px Inter,ui-sans-serif,system-ui,sans-serif; overflow-wrap:anywhere; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-dots { display:none; height:10px; margin:15px 0 2px; gap:11px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="ringing"] .ap-tc-dots { display:flex; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-dots span { width:6px; height:6px; background:var(--ap-tc-blue); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-meter { width:58px; height:3px; margin:11px 0 1px; background:var(--ap-tc-halo); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-meter::after { background:var(--ap-tc-blue); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-time { margin:7px 0 0; color:var(--ap-tc-muted); font:400 11px/17px Inter,ui-sans-serif,system-ui,sans-serif; font-variant-numeric:tabular-nums; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-label,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-title,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-role,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-stage,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-status,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-time,
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-notice { transition:color .58s ease; }

html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-transcript { width:100%; margin:8px 0 0; color:var(--ap-tc-blue); font:400 12px/18px Inter,ui-sans-serif,system-ui,sans-serif; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-transcript summary { min-height:34px; padding:7px 3px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-transcript p { max-height:120px; overflow:auto; margin:6px 0 4px; padding:10px 12px; border:1px solid var(--ap-tc-border); border-radius:14px; background:var(--ap-tc-soft); color:var(--ap-tc-ink); font:400 12px/19px Inter,ui-sans-serif,system-ui,sans-serif; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-extra { width:100%; margin-top:17px; gap:10px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-controls { width:100%; margin-top:auto; padding-top:24px; align-items:flex-start; gap:28px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-controls button { display:flex; align-items:center; flex-direction:column; gap:7px; width:78px; min-height:80px; padding:0 2px; border:0; background:transparent; color:var(--ap-tc-ink); box-shadow:none; font:400 12px/18px Inter,ui-sans-serif,system-ui,sans-serif; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-controls svg { display:block; flex:none; width:53px; height:53px; padding:16px; border:1px solid var(--ap-tc-border); border-radius:50%; background:var(--ap-tc-soft); color:var(--ap-tc-blue); box-shadow:inset 0 1px 0 #ffffff66,0 4px 10px -6px var(--ap-pv2-button-shadow); transition:transform .2s ease,box-shadow .2s ease,background-color .58s ease,color .58s ease; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-end svg { border-color:#ff7b82; background:linear-gradient(145deg,#ff7178,#f74656 73%); color:#fff; fill:currentColor; stroke:none; box-shadow:inset 0 1px 0 #ffb6ba66,0 4px 10px -6px #ff375a88; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-mute[aria-pressed="true"] svg { background:var(--ap-tc-halo); color:var(--ap-tc-blue); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-controls button:active svg { transform:scale(.94); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-notice { margin:17px 0 0; color:var(--ap-tc-muted); font:400 11px/16px Inter,ui-sans-serif,system-ui,sans-serif; }

/* Keep the real links, submitters and their event handlers intact. */
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-extra .ap-pv2-button {
  appearance:none;
  position:relative;
  isolation:isolate;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  min-height:49px;
  margin:0;
  padding:12px 19px;
  overflow:hidden;
  border:1px solid var(--ap-pv2-button-edge);
  border-radius:28px;
  background:#1b304c;
  color:var(--ap-pv2-button-ink);
  box-shadow:inset 0 1px 0 #ffffff80,inset 0 -3px 4px #0003,0 3px 0 -1px var(--ap-pv2-button-shadow),0 9px 18px -8px var(--ap-pv2-button-shadow);
  font:650 13px/20px Inter,ui-sans-serif,system-ui,sans-serif;
  letter-spacing:normal;
  text-transform:none;
  text-decoration:none;
  white-space:normal;
  transition:color .58s ease,border-color .58s ease,transform .2s ease,box-shadow .3s ease;
  -webkit-tap-highlight-color:transparent;
}
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-button-surface[data-finish="copper"] { background:linear-gradient(172deg,#d18d5c 0%,#b4653a 20%,#9b4220 64%,#80311b 84%,#ae5d33 100%); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-button-surface[data-finish="white"] { background:linear-gradient(172deg,#446182 0%,#233c59 25%,#101d33 65%,#0b1429 84%,#2c4460 100%); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-button-surface[data-finish="black"] { background:linear-gradient(172deg,#edfaff 0%,#c7ebff 26%,#94d4f4 65%,#76bfdf 84%,#c4edff 100%); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-button-light { position:absolute; z-index:1; inset:0; border-radius:inherit; background:radial-gradient(150px 65px at var(--ap-pv2-x) 0%,#ffffff50,transparent 85%); opacity:.45; pointer-events:none; transition:opacity .25s ease; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-pv2-button-text { position:relative; z-index:3; display:inline; color:inherit; font:inherit; letter-spacing:inherit; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-extra .ap-pv2-button > svg { position:relative; z-index:3; flex:none; width:18px; height:18px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-extra .ap-pv2-button::before { content:""; position:absolute; z-index:2; top:-10%; left:-65%; width:45%; height:140%; background:linear-gradient(100deg,transparent,#ffffff26,transparent); transform:skewX(-18deg); pointer-events:none; animation:ap-pv2-button-sweep 10s 1.4s ease-in-out infinite; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-extra .ap-pv2-button::after { content:""; position:absolute; z-index:2; inset:2px; border-radius:25px; border-top:1px solid #ffffff36; pointer-events:none; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-extra .ap-pv2-button:active { transform:translateY(1px); }

html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-continue { width:100%; color:var(--ap-tc-ink); font:700 17px/23px Inter,ui-sans-serif,system-ui,sans-serif; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-continue-note { width:100%; color:var(--ap-tc-muted); font:400 12px/18px Inter,ui-sans-serif,system-ui,sans-serif; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-existing { color:var(--ap-tc-blue); font:500 12px/18px Inter,ui-sans-serif,system-ui,sans-serif; text-underline-offset:3px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] form[data-ap-tc-signup] { width:100%; margin:0; gap:10px; color:var(--ap-tc-ink); font:400 12px/18px Inter,ui-sans-serif,system-ui,sans-serif; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] form[data-ap-tc-signup] input[type="email"] { min-height:45px; width:100%; margin:0; padding:10px 13px; border:1px solid var(--ap-tc-border); border-radius:13px; background:var(--ap-tc-surface); color:var(--ap-tc-ink); font:400 14px/22px Inter,ui-sans-serif,system-ui,sans-serif; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] form[data-ap-tc-signup] input[type="email"]::placeholder { color:var(--ap-tc-muted); opacity:1; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] form[data-ap-tc-signup] input[type="checkbox"] { accent-color:var(--ap-tc-blue); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] form[data-ap-tc-signup] label { color:var(--ap-tc-ink); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] form[data-ap-tc-signup] .aia-access-check,
html body dialog.ap-team-call.ap-premium-v2[data-theme] form[data-ap-tc-signup] .ap-tc-signup-check { gap:8px; font-size:11px; line-height:17px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] form[data-ap-tc-signup] .ap-tc-signup-note,
html body dialog.ap-team-call.ap-premium-v2[data-theme] form[data-ap-tc-signup] .ap-tc-service-note,
html body dialog.ap-team-call.ap-premium-v2[data-theme] form[data-ap-tc-signup] small { color:var(--ap-tc-muted); font-size:11px; line-height:17px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme] form[data-ap-tc-signup] a { color:var(--ap-tc-blue); }
html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-auth-google,
html body dialog.ap-team-call.ap-premium-v2[data-theme] form[data-ap-tc-signup] [data-aia-social] { min-height:45px; border:1px solid #becbd6; border-radius:14px; background:#fff; color:#172d44; box-shadow:inset 0 1px 0 #fff,0 2px 6px #0000000a; font:650 13px/20px Inter,ui-sans-serif,system-ui,sans-serif; }

/* Compact completion keeps signup and the real closing control accessible. */
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="ended"] .ap-tc-portrait-wrap { width:96px; height:96px; margin:23px 0 19px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="ended"] .ap-tc-title { font-size:30px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="ended"] .ap-tc-role { margin-top:6px; font-size:12px; line-height:18px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="ended"] .ap-tc-status,
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="error"] .ap-tc-status { margin-top:13px; min-height:0; color:var(--ap-tc-muted); font-size:12px; line-height:19px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="ended"] .ap-tc-stage:empty,
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="error"] .ap-tc-stage:empty,
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="ended"] .ap-tc-dots,
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="ended"] .ap-tc-meter,
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="error"] .ap-tc-dots,
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="error"] .ap-tc-meter { display:none; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="ended"] .ap-tc-controls { padding-top:20px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="ended"] .ap-tc-controls button { min-height:70px; width:78px; padding:0 2px; color:var(--ap-tc-ink); font-size:12px; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="ended"] .ap-tc-controls svg { display:block; width:46px; height:46px; padding:13px; }

@media(hover:hover) and (pointer:fine) {
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-theme:hover { transform:translateY(-1px); }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-extra .ap-pv2-button:hover { color:var(--ap-pv2-button-ink); transform:translateY(-2px); box-shadow:inset 0 1px 0 #ffffffa6,inset 0 -3px 4px #0003,0 10px 20px -7px var(--ap-pv2-button-shadow); }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-extra .ap-pv2-button:hover .ap-pv2-button-light { opacity:.9; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-controls button:not(:disabled):hover svg { transform:translateY(-2px); box-shadow:0 6px 15px -7px var(--ap-pv2-button-shadow); }
}
@media(pointer:coarse),(max-width:420px) {
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-theme { width:44px; height:44px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-themes { top:7px; right:10px; gap:0; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-notch { left:31%; top:22px; width:58px; height:12px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] form[data-ap-tc-signup] input[type="email"] { font-size:16px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-transcript summary { min-height:44px; padding-top:12px; padding-bottom:12px; }
}
@media(max-width:350px) {
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-phone { padding-right:23px; padding-left:23px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-label { font-size:11px; letter-spacing:.12em; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-controls { gap:22px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-controls button { width:78px; }
}
@media(max-height:700px) {
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-phone { min-height:min(620px,calc(100dvh - 24px)); padding-top:54px; padding-bottom:20px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-portrait-wrap { width:136px; height:136px; margin:26px 0 20px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-title { font-size:34px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-stage { margin-top:12px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-controls { padding-top:20px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="ended"] .ap-tc-portrait-wrap { width:82px; height:82px; margin-top:22px; }
}
@media(max-height:560px) {
  html body dialog.ap-team-call.ap-premium-v2[data-theme] { border-radius:34px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-phone { min-height:0; padding:54px 23px 18px; border-radius:34px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-phone::before { border-radius:28px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-phone::after { border-radius:29px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-portrait-wrap { width:104px; height:104px; margin:23px 0 19px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-title { font-size:30px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-role { font-size:12px; line-height:18px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-stage { margin-top:10px; font-size:13px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-status { font-size:11px; line-height:18px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-controls { padding-top:18px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-controls button { min-height:72px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-controls svg { width:46px; height:46px; padding:13px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-notice { margin-top:12px; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="ended"] .ap-tc-portrait-wrap { width:72px; height:72px; }
}

/* Motion preference never changes call status or disables a real control. */
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-premium-motion="off"] *,
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-premium-motion="off"] *::before,
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-premium-motion="off"] *::after { animation:none!important; transition:none!important; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-premium-motion="off"] .ap-pv2-reflection { opacity:.45; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-premium-motion="off"][data-phase="speaking"] .ap-pv2-voice-ring { opacity:.35; }
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-premium-motion="off"] .ap-tc-extra .ap-pv2-button:hover,
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-premium-motion="off"] .ap-tc-theme:hover,
html body dialog.ap-team-call.ap-premium-v2[data-theme][data-premium-motion="off"] .ap-tc-controls button:hover svg { transform:none; }
@media(prefers-reduced-motion:reduce) {
  html body dialog.ap-team-call.ap-premium-v2[data-theme] *,
  html body dialog.ap-team-call.ap-premium-v2[data-theme] *::before,
  html body dialog.ap-team-call.ap-premium-v2[data-theme] *::after { animation:none!important; transition:none!important; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-extra .ap-pv2-button:hover,
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-theme:hover,
  html body dialog.ap-team-call.ap-premium-v2[data-theme] .ap-tc-controls button:hover svg { transform:none; }
  html body dialog.ap-team-call.ap-premium-v2[data-theme][data-phase="speaking"] .ap-pv2-voice-ring { opacity:.35; }
}

@keyframes ap-pv2-enter {
  from { opacity:0; transform:translateY(12px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes ap-pv2-breathe {
  0%,100% { transform:scale(1); opacity:.28; }
  50% { transform:scale(1.045); opacity:.7; }
}
@keyframes ap-pv2-voice-halo {
  0% { opacity:.18; transform:scale(.99); }
  25% { opacity:.7; }
  72% { opacity:.32; }
  100% { opacity:0; transform:scale(1.12); }
}
@keyframes ap-pv2-rim-sweep {
  0% { opacity:0; background-position:150% 0; }
  30% { opacity:.75; }
  78% { opacity:.4; }
  100% { opacity:0; background-position:-55% 0; }
}
@keyframes ap-pv2-button-sweep {
  0%,30% { left:-65%; opacity:0; }
  35% { opacity:1; }
  55% { left:130%; opacity:.7; }
  57%,100% { left:130%; opacity:0; }
}
