/* Public welcome page, built from real controls over a separate illustrated scene. */
body.production:has(.welcome-screen){height:auto;overflow:auto;background:#030c1c}
.welcome-screen{position:relative;isolation:isolate;min-height:100dvh;overflow:hidden;color:#f5f9ff;background:#020b1b;font-family:system-ui,-apple-system,'Noto Sans Thai',sans-serif}
.welcome-screen button,.welcome-screen select{font:inherit;cursor:pointer}.welcome-screen button:focus-visible,.welcome-screen select:focus-visible{outline:2px solid #7de8ff;outline-offset:4px}.welcome-screen svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}.welcome-screen .premium-brand{max-width:none}.welcome-screen .premium-ribbon{background:none;border:0;border-radius:0;width:220px;height:72px;object-fit:contain;mix-blend-mode:normal}
.welcome-top{height:96px;position:relative;z-index:5;display:flex;align-items:center;gap:32px;padding:10px 3.2%;border-bottom:1px solid #174977;background:linear-gradient(110deg,#031328f5,#061b40ed 72%,#032152f0);box-shadow:0 5px 30px #0006}.welcome-top>.premium-brand{flex:0 0 230px}.welcome-nav{display:flex;align-items:center;justify-content:center;gap:26px;margin-left:auto}.welcome-nav button{position:relative;white-space:nowrap;border:0;background:none;color:#cadbf1;font-size:14px;padding:22px 0}.welcome-nav button.active{color:#e9faff}.welcome-nav button.active:after{content:'';position:absolute;left:0;right:0;bottom:8px;height:3px;background:#72ddff;box-shadow:0 0 10px #078bff,0 0 20px #1685ff}.welcome-top-actions{display:flex;gap:12px;align-items:center;margin-left:auto}.welcome-screen :is(.welcome-cta,.welcome-secondary){display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:12px 24px;border-radius:18px;white-space:nowrap;font-weight:650;font-size:16px;line-height:1.4;transition:filter .15s,transform .15s}.welcome-screen .welcome-cta{background:linear-gradient(115deg,#03c5fa,#0070ff 55%,#064aff);color:white;border:1px solid #15c6ff;box-shadow:inset 0 1px #b6f6ff55,0 0 15px #087cff7a,0 0 30px #087cff22}.welcome-screen .welcome-secondary{background:#031329dd;color:#e7f5ff;border:1px solid #6aacc8;box-shadow:inset 0 0 0 1px #12385c}.welcome-screen :is(.welcome-cta,.welcome-secondary):hover{filter:brightness(1.15);transform:translateY(-1px)}.welcome-language{display:flex;align-items:center;gap:5px;border:1px solid #174977;background:#03142d;border-radius:14px;padding:10px 12px;color:#e5f5ff}.welcome-language>span{font-size:23px;line-height:1}.welcome-language select{color:#e7f5ff;border:0;background:#03142d;font-size:14px;max-width:90px}.welcome-top-actions>.welcome-secondary{min-width:110px}.welcome-top-actions>.welcome-cta{min-width:138px}.welcome-screen #welcomeMenuButton{display:none}
.welcome-stage{position:relative;height:clamp(540px,65vh,680px);min-height:540px}.welcome-visual{position:absolute;inset:0 220px 0 0;z-index:-1}.welcome-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#010b1b65,transparent 37%),linear-gradient(0deg,#020b1b55,transparent 15%)}.welcome-scene{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.welcome-copy{position:relative;z-index:2;width:45%;max-width:690px;padding:30px 0 0 3.4%}.welcome-copy>.premium-brand{margin:0 0 20px}.welcome-copy .premium-ribbon{width:450px;height:150px;filter:drop-shadow(0 0 16px #007cff30)}.welcome-copy h1{color:#f4f8ff;font-size:clamp(35px,3.2vw,53px);font-weight:800;line-height:1.3;letter-spacing:-1.2px;margin:0 0 22px;text-shadow:0 2px 8px #000c}.welcome-copy h1 span{white-space:nowrap;font-size:.94em}.welcome-intro{font-size:18px;line-height:1.65;color:#f3f7fd;margin:0 0 8px;text-shadow:0 2px 8px #000}.welcome-detail{font-size:16px;line-height:1.8;color:#d8e4f5;margin:0 0 25px;text-shadow:0 2px 8px #000}.welcome-hero-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.welcome-hero-actions .welcome-cta{min-width:240px;min-height:60px}.welcome-hero-actions .welcome-secondary{min-height:60px}.welcome-laptop-brand{position:absolute;z-index:1;left:59%;top:79%;width:70px;height:64px;object-fit:contain;transform:translate(-50%,-50%) rotate(-2deg);filter:drop-shadow(0 0 5px #00abff99)}.welcome-holo-label{position:absolute;z-index:1;color:#e6faff;font-size:13px;text-shadow:0 0 5px #5cdaff;transform:rotate(7deg)}.label-analytics{left:46%;top:40%}.label-marketing{left:46%;top:56%}.label-crm{left:54%;top:63%}.label-content{left:45%;top:69%}
.welcome-phone{position:absolute;z-index:4;right:2%;top:-10px;width:340px;height:740px;transform:rotate(1.2deg);padding:11px;border:3px solid #7898b6;border-radius:54px;background:linear-gradient(120deg,#03101f,#01050c 70%);box-shadow:inset 0 0 0 3px #a4bdd333,inset 0 0 0 6px #000,8px 15px 40px #000a,0 0 20px #168bff33}.welcome-phone:before{content:'';position:absolute;left:35%;top:18px;width:30%;height:25px;background:#000;border-radius:20px;z-index:5}.welcome-phone:after{content:'';position:absolute;bottom:14px;left:34%;width:32%;height:4px;border-radius:8px;background:#e4e9ef}.welcome-phone-screen{height:100%;position:relative;border-radius:40px;overflow:hidden;padding:16px 17px 24px;background:radial-gradient(ellipse at 50% 58%,#0752b199,transparent 48%),linear-gradient(150deg,#051632,#010b1a 74%)}.welcome-phone-status{display:flex;justify-content:space-between;padding:0 4px;font-size:10px;line-height:18px;margin-bottom:18px;color:white}.welcome-phone-brand{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px}.welcome-phone-brand .premium-ribbon{width:188px;height:62px}.welcome-phone-brand>svg{color:#4bd1ff;border:1px solid #193b72;border-radius:8px;width:32px;height:32px;padding:5px}.welcome-phone h2{font-size:23px;line-height:1.35;letter-spacing:-.5px;color:#f1f7ff;margin:0 0 12px;font-weight:750}.welcome-phone p{font-size:11px;line-height:1.8;color:#d3e7ff;margin:0}.welcome-phone-art{position:relative;height:239px;margin:5px -17px 0;overflow:hidden}.welcome-phone-robot{position:absolute;height:245px;width:270px;max-width:none;object-fit:contain;bottom:-6px;left:20px;z-index:2;filter:drop-shadow(0 0 13px #0089ff88)}.welcome-phone-grid{position:absolute;inset:20px -40px 0;background:repeating-linear-gradient(0deg,transparent 0 29px,#087cff36 30px),repeating-linear-gradient(90deg,transparent 0 39px,#087cff36 40px);transform:perspective(350px) rotateY(-18deg);box-shadow:inset 0 0 50px #007dff66}.phone-holo{position:absolute;z-index:3;padding:9px;border-radius:9px;color:#a4f5ff;border:1px solid #07bdff;background:#0266c788;box-shadow:0 0 10px #009cffb3}.phone-chat{left:12px;top:45px}.phone-chart{right:8px;top:64px}.phone-customer{left:20px;bottom:20px}.welcome-phone-actions{position:relative;z-index:4;display:grid;gap:12px;margin-top:1px}.welcome-phone-actions :is(.welcome-cta,.welcome-secondary){min-height:48px;border-radius:18px;font-size:16px;padding:9px}.welcome-phone-dots{display:flex;justify-content:center;gap:10px;margin-top:18px}.welcome-phone-dots i{width:6px;height:6px;border:1px solid #41c9ff;border-radius:100%}.welcome-phone-dots i:first-child{background:#00d1ff;box-shadow:0 0 9px #00aaff}
.welcome-features{position:relative;z-index:3;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0 390px 0 2.5%;padding:14px;border:1px solid #174572;border-radius:24px;background:linear-gradient(130deg,#041a35ed,#020b1ef0);box-shadow:0 -8px 30px #0005}.welcome-feature{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:15px 7px;min-height:139px;border:1px solid #163b64;border-radius:14px;color:#e7f5ff;background:linear-gradient(150deg,#061e3d,#021026);text-align:center}.welcome-feature:hover{border-color:#087cff;box-shadow:0 0 15px #087cff26}.welcome-feature>svg{width:39px;height:39px;stroke:#1ad4ff;filter:drop-shadow(0 0 6px #0baeff);margin-bottom:3px}.welcome-feature b{font-size:15px;font-weight:650;white-space:nowrap}.welcome-feature span{font-size:12px;color:#bdcfe6}.welcome-development{position:relative;color:#7f9bbd;font-size:10px;padding:10px 3.5% 14px;margin:0;letter-spacing:.2px}
.production .auth-back{border:0;background:none;color:#7fcaef;margin:0 0 15px;padding:0;cursor:pointer;font:inherit;font-size:12px}.premium-logo-png{background:none!important;border:0!important;border-radius:0!important;mix-blend-mode:normal!important}.premium-logo-text-replaced{display:none!important}.auth-intro>.premium-brand .premium-logo-png{width:240px;height:80px}.paami-live .premium-logo-symbol{width:170px;flex-basis:170px;height:57px}.paami-live .top .premium-ribbon.premium-logo-png{width:170px;height:57px}.paami-live .top .brand>div:has(>.premium-logo-text-replaced){display:none!important}
@media(min-width:1600px){.welcome-copy{padding-top:38px}.welcome-copy .premium-ribbon{width:500px;height:167px}.welcome-copy h1{font-size:55px}.welcome-phone{right:3%;width:360px;height:770px}.welcome-phone-art{height:267px}.welcome-phone-robot{height:270px;width:295px}.welcome-features{margin-right:430px}}
@media(max-width:1390px){.welcome-top{gap:18px;padding-inline:2.5%}.welcome-top>.premium-brand{flex-basis:195px}.welcome-top .premium-ribbon{width:190px;height:64px}.welcome-nav{gap:18px}.welcome-nav button{font-size:12px}.welcome-top-actions{gap:8px}.welcome-top-actions :is(.welcome-cta,.welcome-secondary){min-width:0;padding:11px 19px;font-size:14px}.welcome-language{padding:8px}.welcome-copy{width:48%;padding-top:25px}.welcome-copy .premium-ribbon{width:360px;height:120px}.welcome-copy h1{font-size:40px}.welcome-intro{font-size:16px}.welcome-detail{font-size:14px}.welcome-hero-actions{gap:10px}.welcome-hero-actions :is(.welcome-cta,.welcome-secondary){min-width:0;padding:12px 18px;font-size:15px}.welcome-phone{width:290px;height:688px;right:1.5%;border-radius:47px}.welcome-phone-screen{border-radius:34px;padding-inline:14px}.welcome-phone-brand .premium-ribbon{width:160px;height:54px}.welcome-phone h2{font-size:21px}.welcome-phone-art{height:221px}.welcome-phone-robot{height:227px;width:248px;left:12px}.welcome-phone-actions :is(.welcome-cta,.welcome-secondary){font-size:14px;min-height:44px}.welcome-features{margin-right:320px;gap:8px;padding:10px}.welcome-feature{min-height:126px}.welcome-feature b{font-size:12px}.welcome-feature span{font-size:10px}.welcome-visual{right:160px}}
@media(max-width:1100px){.welcome-top{gap:15px}.welcome-top>.premium-brand{flex-basis:170px}.welcome-top .premium-ribbon{width:170px;height:57px}.welcome-nav{gap:14px}.welcome-nav button{font-size:11px}.welcome-top-actions .welcome-secondary{display:none}.welcome-top-actions .welcome-cta{font-size:13px;padding:10px 14px}.welcome-phone{width:245px;height:650px;padding:8px}.welcome-phone-screen{padding-inline:11px}.welcome-phone-brand .premium-ribbon{width:142px;height:48px}.welcome-phone-brand>svg{width:26px;height:26px}.welcome-phone h2{font-size:18px}.welcome-phone p{font-size:10px}.welcome-phone-art{height:219px;margin-inline:-11px}.welcome-phone-robot{width:219px;height:213px;left:5px}.welcome-phone-actions :is(.welcome-cta,.welcome-secondary){min-height:42px;font-size:12px}.welcome-copy{width:52%;padding-top:40px}.welcome-copy .premium-ribbon{width:310px;height:104px}.welcome-copy h1{font-size:34px}.welcome-intro{font-size:14px}.welcome-detail{font-size:13px}.welcome-hero-actions :is(.welcome-cta,.welcome-secondary){font-size:13px}.welcome-features{margin-right:270px;grid-template-columns:repeat(3,1fr)}.welcome-feature{min-height:95px;padding:10px;gap:4px}.welcome-feature>svg{width:28px;height:28px}.welcome-visual{right:90px}.welcome-holo-label{display:none}}
@media(max-width:900px){.welcome-top{height:82px;padding:10px 4%;gap:15px}.welcome-top>.premium-brand{flex-basis:auto}.welcome-nav{display:none;position:absolute;left:12px;right:12px;top:77px;margin:0;padding:12px;border:1px solid #195587;border-radius:15px;background:#051832f5;box-shadow:0 15px 35px #0009;flex-wrap:wrap;gap:8px 22px}.welcome-nav.open{display:flex}.welcome-nav button{font-size:14px;padding:12px 4px}.welcome-nav button.active:after{bottom:4px}.welcome-screen #welcomeMenuButton{display:flex;align-items:center;justify-content:center;border:1px solid #1c5890;background:#05234a;color:#54d8ff;width:38px;height:38px;border-radius:10px}.welcome-language{padding:6px 8px}.welcome-language>span{display:none}.welcome-language select{font-size:12px;max-width:65px}.welcome-top-actions{gap:8px}.welcome-top-actions>.welcome-cta{min-height:40px;padding:8px 14px}.welcome-phone{display:none}.welcome-stage{height:690px;min-height:0}.welcome-visual{inset:0}.welcome-scene{object-position:62% center}.welcome-visual:after{background:linear-gradient(90deg,#010b1bc7,transparent 85%),linear-gradient(0deg,#020b1b,transparent 20%)}.welcome-copy{width:85%;max-width:640px;padding:35px 5% 0}.welcome-copy .premium-ribbon{width:350px;height:117px}.welcome-copy h1{font-size:42px}.welcome-intro{font-size:17px}.welcome-detail{font-size:15px}.welcome-laptop-brand{display:none}.welcome-features{margin:0 4%;grid-template-columns:repeat(3,1fr);padding:14px;gap:12px}.welcome-feature{min-height:130px;gap:7px}.welcome-feature b{font-size:15px}.welcome-feature span{font-size:12px}.welcome-feature>svg{width:36px;height:36px}.welcome-development{text-align:center;padding:14px}}
@media(max-width:600px){.welcome-top{height:76px;gap:6px;padding:8px 4%}.welcome-top .premium-ribbon{width:148px;height:50px}.welcome-top-actions{gap:6px}.welcome-top-actions>.welcome-cta{display:none}.welcome-language{padding:6px;border-color:#173761}.welcome-language select{max-width:56px}.welcome-screen #welcomeMenuButton{width:34px;height:34px}.welcome-stage{height:740px}.welcome-copy{width:100%;max-width:none;padding:24px 5% 0}.welcome-copy>.premium-brand{margin-bottom:16px}.welcome-copy .premium-ribbon{width:280px;height:94px}.welcome-copy h1{font-size:clamp(28px,7.4vw,40px);line-height:1.35;letter-spacing:-.7px;margin-bottom:14px}.welcome-copy h1 span{white-space:normal}.welcome-intro{font-size:13px;max-width:95%;margin-bottom:6px}.welcome-detail{font-size:12px;line-height:1.85;max-width:95%;margin-bottom:18px}.welcome-hero-actions{gap:10px}.welcome-hero-actions :is(.welcome-cta,.welcome-secondary){min-height:48px;padding:10px 15px;font-size:13px;border-radius:15px}.welcome-hero-actions .welcome-cta{min-width:180px}.welcome-hero-actions .welcome-secondary{min-width:150px}.welcome-visual{inset:0}.welcome-scene{object-fit:cover;object-position:63% center;opacity:.96}.welcome-visual:after{background:linear-gradient(180deg,#010e2af2 0%,#010e2ae6 35%,#010d2688 56%,transparent 76%,#020b1b 100%)}.welcome-visual .welcome-scene{height:100%;width:100%;object-position:64% 70%}.welcome-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 4%;padding:10px;border-radius:20px}.welcome-feature{min-height:126px;padding:12px 5px}.welcome-feature b{font-size:14px}.welcome-feature span{font-size:11px}.welcome-development{font-size:9px}.production .auth-intro>.premium-brand .premium-ribbon{width:190px;height:64px}}
@media(max-width:380px){.welcome-top .premium-ribbon{width:132px;height:45px}.welcome-stage{height:760px}.welcome-copy h1{font-size:27px}.welcome-copy .premium-ribbon{width:260px;height:87px}.welcome-hero-actions .welcome-secondary{min-width:0;padding:10px 13px;font-size:12px}.welcome-hero-actions .welcome-cta{min-width:0;padding:10px 14px;font-size:12px}}
@media(max-width:640px){body.paami-live #appView .brand>.premium-logo-symbol{width:92px!important;flex:0 0 92px!important;height:32px!important}body.paami-live #appView .brand .premium-ribbon.premium-logo-png{width:92px!important;height:32px!important}}
@media(prefers-reduced-motion:reduce){.welcome-screen *{scroll-behavior:auto!important;transition:none!important}}

.welcome-screen .welcome-language{display:flex;flex-direction:row;align-items:center;justify-content:center;height:50px;padding:8px 12px;gap:8px}.welcome-language>svg{width:22px;height:22px}.welcome-language select{padding:0;margin:0;min-height:0;height:28px}.welcome-screen .welcome-mobile-login,.welcome-mobile-art{display:none}
@media(max-width:900px){.welcome-screen .welcome-mobile-login{display:inline-flex}.welcome-screen .welcome-language{height:38px;padding:5px 8px}.welcome-language>svg{width:18px;height:18px}}
@media(max-width:600px){.welcome-copy>.premium-brand{display:none}.welcome-stage{height:760px}.welcome-copy{padding-top:26px}.welcome-copy h1{font-size:clamp(28px,7.4vw,40px)}.welcome-hero-actions{position:absolute;left:5%;right:5%;bottom:24px;display:grid;grid-template-columns:1fr;gap:12px;z-index:4}.welcome-hero-actions [data-welcome=video]{display:none}.welcome-hero-actions :is(.welcome-cta,.welcome-secondary){width:100%;min-height:50px;font-size:16px}.welcome-visual .welcome-scene{position:absolute;inset:0;height:100%;width:100%;object-position:14% center;opacity:.72}.welcome-visual:after{background:linear-gradient(180deg,#02132caa,transparent 52%,#020b1b 100%)}.welcome-mobile-art{display:block;position:absolute;left:50%;bottom:150px;width:min(95%,380px);height:320px;transform:translateX(-50%);z-index:1}.welcome-mobile-robot{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 18px #078cff8c)}.mobile-holo-chat{left:4%;top:25%;transform:rotate(-7deg)}.mobile-holo-chart{right:2%;top:35%;transform:rotate(8deg)}.mobile-holo-customer{left:8%;bottom:15%;transform:rotate(-5deg)}.welcome-language>svg{display:none}.welcome-screen .welcome-language{height:34px;padding:4px 6px}}

@media(max-width:600px){.welcome-copy{position:static}}

html:has(.welcome-screen),html:has(.auth-wrap){height:auto!important;min-height:100%;overflow:auto!important}body.production:has(.welcome-screen),body.production:has(.auth-wrap){height:auto!important;min-height:100dvh;overflow:visible!important}body.production:has(.welcome-screen) #app,body.production:has(.auth-wrap) #app{height:auto!important;overflow:visible!important;min-height:100dvh}
.welcome-modal-bg[hidden]{display:none!important}.welcome-modal-bg:not([hidden]){position:fixed!important;inset:0;z-index:10000;display:flex!important;align-items:center;justify-content:center;padding:20px;background:#010714d9;backdrop-filter:blur(8px)}.welcome-modal{width:min(620px,100%);max-height:85dvh;overflow:auto;border:1px solid #235d94;border-radius:22px;background:linear-gradient(140deg,#0b294b,#06162e);padding:26px;color:#e8f5ff;box-shadow:0 20px 80px #000a}.welcome-modal>header{display:flex;align-items:center;justify-content:space-between;gap:15px}.welcome-modal h2{font-size:24px;margin:0;color:#fff}.welcome-modal #liveModalClose{width:36px;height:36px;border:1px solid #286193;border-radius:10px;background:#08213d;color:#e7f6ff;font-size:24px}.welcome-modal #liveModalBody{font-size:16px;line-height:1.9;margin-top:18px}.welcome-modal li{margin:9px 0}.welcome-modal .btn.primary{color:#fff;background:linear-gradient(110deg,#08baff,#075bff);border:1px solid #1cc6ff;padding:10px 18px;border-radius:12px}html:has(.welcome-modal-bg:not([hidden])){overflow:hidden!important}

@media(min-width:641px) and (max-width:1100px){body.paami-live #appView .top .brand{min-width:0!important;flex:0 1 auto!important;gap:8px!important}body.paami-live #appView .top .brand>.premium-logo-symbol{width:120px!important;flex:0 0 120px!important;height:40px!important}body.paami-live #appView .top .premium-ribbon.premium-logo-png{width:120px!important;height:40px!important}body.paami-live #appView .top-actions{gap:6px!important;min-width:0!important}body.paami-live #appView #language{min-width:62px!important;width:62px!important;padding-inline:6px!important}body.paami-live #appView #v65RoleSimulatorBtn{width:40px!important;min-width:40px!important;padding-inline:8px!important}body.paami-live #appView #notificationBtn{min-width:44px!important;width:44px!important;padding-inline:8px!important}body.paami-live #appView .top .is-status{min-width:40px!important;width:40px!important;padding-inline:8px!important}body.paami-live #appView #currentWorkspaceBadge{min-width:40px!important;max-width:112px!important;overflow:hidden!important}body.paami-live #appView #currentUserBadge{min-width:40px!important;max-width:110px!important;overflow:hidden!important}body.paami-live #appView #welcomeVoiceBtn{min-width:40px!important;width:40px!important;padding-inline:8px!important}body.paami-live #appView #logoutBtn{min-width:44px!important;width:44px!important;padding-inline:8px!important}}
