/* VOUDY GLOBAL V12 — cohesive four-service UI / real private Bot / bot-only immersive world */
#workspace #main .hero {position:relative;isolation:isolate;overflow:hidden;min-height:312px;padding:clamp(26px,3vw,44px)!important;padding-right:42%!important;}
#workspace #main .hero h1,#workspace #main .hero p,#workspace #main .hero small,#workspace #main .hero .aurora-kicker {position:relative;z-index:2;max-width:100%;}
#workspace #main .hero h1 {font-size:clamp(29px,3.5vw,50px);line-height:1.12;max-width:690px;word-break:normal;overflow-wrap:normal;}
#workspace #main .hero .aurora-sculpture {position:absolute!important;left:auto!important;top:50%!important;right:2.5%!important;bottom:auto!important;width:37%!important;height:clamp(130px,15vw,225px)!important;max-width:530px;min-width:0;display:flex;z-index:1;opacity:.94;transform-origin:center center;transform:translateY(-50%) rotate(-8deg);animation:v12g-wave 6.5s ease-in-out infinite;pointer-events:none;}
#workspace #main .hero .aurora-sculpture i {flex:0 1 7px;min-width:2px;max-width:7px;}
@keyframes v12g-wave{0%,100%{transform:translate3d(0,calc(-50% - 6px),0) rotate(-8deg)}50%{transform:translate3d(0,calc(-50% + 10px),0) rotate(-4deg)}}
#workspace #main .hero .aurora-sculpture::before{max-width:58%;width:58%;height:auto;aspect-ratio:1;}
#workspace #main .hero:has(button[aria-label*="Resume"]) .aurora-sculpture{animation-play-state:paused}
@media(max-width:1060px) and (min-width:768px){#workspace #main .hero{min-height:350px;padding-right:42%!important;}#workspace #main .hero h1{font-size:clamp(30px,3.4vw,42px);}#workspace #main .hero .aurora-sculpture{width:38%!important;right:1.5%!important;}}
@media(max-width:767px){#workspace #main .hero{min-height:410px;padding:24px 20px 160px!important;}#workspace #main .hero h1{font-size:clamp(28px,7vw,39px);max-width:100%}#workspace #main .hero .aurora-sculpture{width:min(76%,350px)!important;top:auto!important;right:6%!important;bottom:14px!important;height:126px!important;transform:rotate(-7deg);animation:v12g-wave-phone 6.2s ease-in-out infinite;}#workspace #main .hero .aurora-sculpture::before{width:100px;height:100px;max-width:none;}}
@keyframes v12g-wave-phone{0%,100%{transform:translate3d(0,-6px,0) rotate(-7deg)}50%{transform:translate3d(0,8px,0) rotate(-3deg)}}
/* single canonical service selector */
#v12-root{margin:0 0 30px;min-width:0;width:100%;color:var(--aurora-text);scroll-margin-top:100px}
#v12-root *{box-sizing:border-box}
#v12-root button,#v12-root select,#v12-root textarea{font:inherit}
#v12-root .v12-intro{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:0 0 17px;flex-wrap:wrap;}
#v12-root .v12-intro h2{font-size:clamp(22px,2.6vw,30px);margin:3px 0 0;letter-spacing:-.65px;}
#v12-root .v12-intro p{font-size:13px;color:var(--aurora-muted);margin:3px 0 0;}
#v12-root .v12-eyebrow{font-size:10px;color:var(--aurora-violet);font-weight:800;letter-spacing:2.2px;}
#v12-root .v12-intro-pill{font-size:10px;letter-spacing:1.2px;color:var(--aurora-muted);border:1px solid var(--aurora-line);border-radius:99px;padding:9px 13px;background:var(--aurora-panel);}
#v12-root .v12-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;}
#v12-root .v12-nav-card{position:relative;min-width:0;min-height:210px;display:flex;align-items:flex-start;flex-direction:column;gap:10px;text-align:left;white-space:normal;border:1px solid var(--aurora-line);border-radius:23px;padding:18px;background:var(--aurora-panel);color:var(--aurora-text);box-shadow:var(--aurora-shadow);overflow:hidden;cursor:pointer;transition:transform .2s,border-color .2s,box-shadow .2s}
#v12-root .v12-nav-card::before{content:'';position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#54dadd,#8b71f7,#e68fe3);opacity:.56}
#v12-root .v12-nav-card:hover{transform:translateY(-3px);border-color:var(--aurora-violet);}
#v12-root .v12-nav-card[aria-selected=true]{border-color:var(--aurora-violet);box-shadow:0 0 0 1px var(--aurora-violet),0 15px 40px rgba(101,90,192,.18)}
#v12-root .v12-number{align-self:flex-end;font-size:11px;letter-spacing:1px;color:var(--aurora-muted);}
#v12-root .v12-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:linear-gradient(135deg,rgba(85,215,220,.25),rgba(146,93,242,.24));font-size:24px;color:var(--aurora-violet);}
#v12-root .v12-nav-card strong{font-size:16px;line-height:1.15;}
#v12-root .v12-nav-card small{color:var(--aurora-muted);font-size:11px;line-height:1.55;flex:1}
#v12-root .v12-nav-status{color:var(--aurora-violet);font-size:10px;font-weight:750;line-height:1.4;}
#v12-root .v12-pane{min-width:0;border:1px solid var(--aurora-line);border-radius:25px;background:var(--aurora-panel);padding:clamp(16px,2.7vw,30px);box-shadow:var(--aurora-shadow);}
#v12-root .v12-pane[hidden]{display:none!important}
#v12-root .v12-pane-heading h2{font-size:clamp(22px,2.4vw,31px);margin:0 0 6px;letter-spacing:-.7px}
#v12-root .v12-pane-heading p{color:var(--aurora-muted);font-size:13px;line-height:1.65;margin:0 0 22px}
#v12-root .v12-glass{border:1px solid var(--aurora-line);background:rgba(137,130,220,.055);padding:clamp(15px,2vw,22px);border-radius:20px;margin:14px 0;min-width:0}
#v12-root .v12-glass label{font-size:12px;font-weight:700;display:block;margin:13px 0 7px}
#v12-root .v12-glass select,#v12-root .v12-glass textarea{display:block;width:100%;max-width:100%;min-width:0;border-radius:13px;padding:12px;background:var(--aurora-panel);color:var(--aurora-text);border:1px solid var(--aurora-line);resize:vertical;font-size:16px}
#v12-root .v12-glass button{min-height:44px;border-radius:13px;margin:4px 6px 4px 0;white-space:normal}
#v12-root .v12-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
#v12-root .v12-output{padding:15px;min-height:50px;border-radius:14px;border:1px solid var(--aurora-line);background:rgba(24,34,77,.065);white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65;color:var(--aurora-text)}
#v12-root .v12-output p{margin:5px 0}
#v12-root .v12-tags{display:flex;gap:6px;flex-wrap:wrap}
#v12-root .v12-tags span{padding:5px 8px;background:rgba(136,115,236,.13);border-radius:10px;font-size:11px}
#v12-root .v12-caution,#v12-bot-panel .v12-caution{color:var(--aurora-muted);font-size:12px;line-height:1.6;}
#v12-root .v12-consent{display:flex!important;align-items:flex-start;gap:9px;line-height:1.55}
#v12-root .v12-consent input{width:17px;height:17px;margin-top:2px;flex:0 0 17px}
#v12-root .v12-slot{min-width:0;width:100%}
#v12-root #v11-media{width:100%;max-width:100%;margin:0;background:transparent;box-shadow:none;padding:0;border:0}
#v12-root #v11g-panel{max-width:100%;overflow-wrap:anywhere;}
#v12-root #v11-media #v11g-panel{display:none!important}
#v12-root .v12-hint{color:var(--aurora-muted);font-size:13px}
/* Studio screen remains the existing validated recorder; hide older duplicate Paid uploads there. */
#workspace #main.v12-mode-studio #v12-pane-studio{display:none!important}
#workspace #main.v12-mode-studio > .grid > #v11-media,#workspace #main.v12-mode-studio > .grid > #ut-card {display:none!important}
#workspace #main:not(.v12-mode-studio) > .grid {display:none!important}
#workspace #main .hero + #v12-root {margin-top:4px}
@media(max-width:1280px){#v12-root .v12-nav{grid-template-columns:repeat(2,minmax(0,1fr))}#v12-root .v12-nav-card{min-height:175px}}
@media(max-width:640px){#v12-root .v12-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#v12-root .v12-nav-card{padding:13px;min-height:184px;border-radius:18px}#v12-root .v12-nav-card strong{font-size:14px}#v12-root .v12-intro-pill{display:none}}
@media(max-width:360px){#v12-root .v12-nav{grid-template-columns:minmax(0,1fr)}#v12-root .v12-nav-card{min-height:130px}}
/* Retire legacy bot surfaces without removing their backend integrations. */
#v11-bot-button,#v11-bot-panel,#v12-bot-products{display:none!important}
#v12-bot-button{position:fixed;z-index:90000;bottom:max(18px,env(safe-area-inset-bottom));right:max(18px,env(safe-area-inset-right));display:flex;align-items:center;gap:10px;min-height:56px;border-radius:100px;padding:8px 19px 8px 9px;background:linear-gradient(125deg,rgba(39,101,168,.56),rgba(155,93,240,.52));color:#fff;border:1px solid rgba(212,234,255,.7);box-shadow:0 15px 39px rgba(30,44,93,.33);backdrop-filter:blur(25px) saturate(170%);-webkit-backdrop-filter:blur(25px) saturate(170%);cursor:pointer;font-weight:800;}
#v12-bot-button .v12-orb{width:38px;height:38px;flex:0 0 38px}
#v12-bot-button small{color:#e3faff;font-size:10px;margin-left:3px}
.v12-orb{display:inline-block;border-radius:50%;background:radial-gradient(circle at 30% 27%,rgba(255,255,255,.95),transparent 24%),conic-gradient(#4de6e0,#6985ff,#ba74fa,#f2a6d7,#4de6e0);box-shadow:inset 0 0 12px #fff8,0 0 19px #61b7ff99;border:1px solid #fff8;}
#v12-bot-panel{position:fixed;z-index:90001;right:max(15px,env(safe-area-inset-right));bottom:91px;width:min(465px,calc(100vw - 30px));max-height:min(720px,calc(100dvh - 114px));overflow:auto;overscroll-behavior:contain;border:1px solid rgba(216,235,255,.55);border-radius:24px;padding:20px;background:linear-gradient(146deg,rgba(12,29,69,.83),rgba(50,29,94,.82),rgba(13,77,98,.79));backdrop-filter:blur(32px) saturate(150%);-webkit-backdrop-filter:blur(32px) saturate(150%);box-shadow:0 20px 72px rgba(13,22,70,.55);color:#f9fbff;}
#v12-bot-panel[hidden]{display:none!important}
#v12-bot-panel .v12-bot-head{display:flex;gap:12px;align-items:center;margin:0 0 16px}
#v12-bot-panel .v12-bot-head .v12-orb{height:50px;width:50px;flex:0 0 50px}
#v12-bot-panel .v12-bot-head div{flex:1;min-width:0}
#v12-bot-panel .v12-bot-head strong{font-size:25px;display:block;line-height:1.1}
#v12-bot-panel .v12-bot-head small{font-size:10px;color:#d3e2f9}
#v12-bot-panel button,#v12-bot-panel select,#v12-bot-panel textarea{color:#f5f8ff;border:1px solid rgba(215,234,255,.35);border-radius:13px;background:rgba(255,255,255,.12);padding:11px;max-width:100%;font:inherit;}
#v12-bot-panel button{cursor:pointer;min-height:44px;margin-top:8px}
#v12-bot-panel button:hover{background:rgba(255,255,255,.24)}
#v12-bot-panel label{font-size:12px;display:block;margin:10px 0 5px;font-weight:700}
#v12-bot-panel select,#v12-bot-panel textarea{width:100%;font-size:16px}
#v12-bot-panel .v12-bot-head button{margin:0 0 0 auto;min-width:44px;font-size:23px;line-height:1}
#v12-bot-panel p{font-size:13px;line-height:1.6}
#v12-bot-panel .v12-bot-dialogue{max-height:240px;min-height:60px;overflow:auto;margin:11px 0;display:flex;flex-direction:column;gap:10px}
#v12-bot-panel .v12-chat-message{padding:11px 13px;border-radius:13px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
#v12-bot-panel .v12-chat-message.user{background:rgba(97,112,218,.30);align-self:flex-end}
#v12-bot-panel .v12-chat-message.assistant{background:rgba(83,206,220,.13);align-self:flex-start}
#v12-bot-panel .v12-chat-message.error{background:rgba(255,95,95,.20)}
#v12-bot-panel .v12-source{font-size:11px;border-top:1px solid #fff4;padding:6px 0;color:#c8eafa}
#v12-bot-panel .v12-caution{color:#c3d0eb;margin-bottom:0}
/* Independent bot-only world: four drifting lights behind all content. */
body.v12-immersive{isolation:isolate}
body.v12-immersive::before{content:'';position:fixed;inset:-40vmax;pointer-events:none;z-index:40000;background:radial-gradient(ellipse at 17% 27%,rgba(94,226,230,.37),transparent 31%),radial-gradient(ellipse at 79% 22%,rgba(163,103,251,.37),transparent 35%),radial-gradient(ellipse at 57% 79%,rgba(237,100,188,.29),transparent 38%),radial-gradient(ellipse at 12% 75%,rgba(86,223,139,.20),transparent 32%);mix-blend-mode:screen;animation:v12g-ambient 15s ease-in-out infinite alternate;}
body.v12-immersive::after{content:'';position:fixed;inset:0;pointer-events:none;z-index:40001;opacity:.14;background-image:linear-gradient(rgba(163,234,255,.38) 1px,transparent 1px),linear-gradient(90deg,rgba(163,234,255,.38) 1px,transparent 1px);background-size:52px 52px;animation:v12g-grid 18s linear infinite;}
body.v12-immersive #v12-bot-panel,body.v12-immersive #v12-bot-button{z-index:90001!important}
body.v12-immersive #v12-bot-panel .v12-orb{animation:v12g-orb 6s linear infinite}
@keyframes v12g-ambient{0%{transform:translate3d(-6%,0,0) rotate(-4deg)}100%{transform:translate3d(7%,7%,0) rotate(5deg)}}
@keyframes v12g-grid{to{background-position:52px 52px}}
@keyframes v12g-orb{to{filter:hue-rotate(360deg)}}
@media(max-width:767px){#v12-bot-button{right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));min-height:51px;padding:6px 12px 6px 6px}#v12-bot-button .v12-orb{width:34px;height:34px;flex-basis:34px}#v12-bot-panel{left:max(9px,env(safe-area-inset-left));right:max(9px,env(safe-area-inset-right));bottom:75px;width:auto;max-height:calc(100dvh - 93px);padding:15px;border-radius:20px;}}
@media(prefers-reduced-motion:reduce){#workspace #main .hero .aurora-sculpture,body.v12-immersive::before,body.v12-immersive::after,body.v12-immersive .v12-orb{animation:none!important}}
