@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{--bg:#0b1020;--panel:#121a2e;--panel2:#17223a;--line:#26334d;--text:#eef3ff;--muted:#8d9bb5;--accent:#70e1c1;--accent2:#7d8cff;--danger:#ff8795;--shadow:0 20px 60px #03071366}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 85% 0%,#1d3154 0,transparent 35%),var(--bg);color:var(--text);font:15px 'DM Sans',sans-serif}h1,h2,h3,b{font-family:'Space Grotesk',sans-serif}h1{font-size:30px;margin:7px 0 0}h2{font-size:19px;margin:0 0 7px}h3{font-size:15px;margin:25px 0 10px}p{line-height:1.55}.layout{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{background:#0c1426dd;border-right:1px solid var(--line);padding:25px 17px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:0 8px 28px}.brand b{display:block}.brand small,.user-chip small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.brand-mark{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--accent),#5d91ff);display:grid;place-items:center;color:#081322;font:700 13px 'Space Grotesk';box-shadow:0 7px 25px #70e1c144}.sidebar nav{display:grid;gap:7px}.sidebar nav a,.logout{padding:12px 13px;border-radius:11px;color:#aebbd2;text-decoration:none;transition:.2s}.sidebar nav a:hover,.sidebar nav a.active{background:#1b2942;color:#fff}.sidebar nav a.active{box-shadow:inset 3px 0 var(--accent)}.logout{margin-top:auto;border:1px solid var(--line)}.main{padding:30px clamp(18px,4vw,55px);max-width:1600px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--accent);font-weight:700}.user-chip{display:flex;align-items:center;gap:10px;font-size:13px}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#283958;color:var(--accent);font-weight:700}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:18px}.stat,.panel{background:linear-gradient(145deg,#151f35ee,#10182aee);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}.stat{padding:20px}.stat span,.stat small{display:block;color:var(--muted);font-size:12px}.stat strong{display:block;font:700 30px 'Space Grotesk';margin:12px 0 5px}.grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-bottom:18px}.panel{padding:23px;margin-bottom:18px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.panel-head p,.muted-text{color:var(--muted);font-size:13px;margin:4px 0 0}.panel-head a{color:var(--accent);text-decoration:none}.pill{display:inline-block;padding:5px 9px;border-radius:20px;background:#25344e;color:#c8d5ed;font-size:11px}.pill.warn{background:#493c21;color:#ffd58a}.pill.muted{background:#263047;color:#aab6ca}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{text-align:left;padding:13px 12px;border-bottom:1px solid #26334d;font-size:12px}th{color:#91a1bd;font-weight:600}td{color:#d8e2f4}.empty{text-align:center;color:var(--muted);padding:30px}.btn{border:0;border-radius:10px;padding:12px 17px;font-weight:700;font-size:13px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.btn.primary{background:linear-gradient(100deg,var(--accent),#82b8ff);color:#071523}.btn.secondary{background:#24334e;color:#e7efff;border:1px solid #344665}.narrow{max-width:850px}.auth{min-height:100vh;display:grid;place-items:center;padding:20px}.auth-card{width:min(100%,430px);padding:34px;background:#131e33;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.auth-card h1{font-size:26px}.auth-card p,.auth-card small{color:var(--muted)}.auth-card .brand-mark{margin-bottom:20px}label{display:block;color:#c8d4e9;font-size:12px;font-weight:600;margin:15px 0}input,textarea,select{display:block;width:100%;margin-top:7px;padding:12px 13px;border-radius:10px;border:1px solid #33425e;background:#0c1527;color:#f1f5ff;font:14px 'DM Sans',sans-serif;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #70e1c11c}textarea{resize:vertical}.auth-card .btn,.narrow form>.btn{width:100%;margin-top:12px}.alert{padding:13px 15px;border-radius:11px;background:#173c39;color:#a9f2dc;margin-bottom:16px;font-size:13px}.alert.danger{background:#482530;color:#ffbac3}.callout{padding:15px;border:1px solid #66552e;background:#302a1b;border-radius:12px;margin-bottom:20px;color:#f5dda7}.callout p{font-size:13px;margin-bottom:0;color:#e3d6b8}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check{display:flex;align-items:center;gap:10px;font-weight:400}.check input{width:auto;margin:0}.auth-card small{display:block;margin-top:15px}
@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{height:auto;position:relative;padding:14px}.brand{padding-bottom:13px}.sidebar nav{display:flex;overflow:auto}.sidebar nav a{white-space:nowrap}.logout{position:absolute;right:15px;top:15px;margin:0;padding:9px}.main{padding:22px 16px}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.topbar{align-items:flex-start;gap:10px}.topbar h1{font-size:24px}.user-chip{font-size:0}.user-chip small{display:none}.grid-two,.form-row{grid-template-columns:1fr}.panel{padding:17px}.stat{padding:15px}.stat strong{font-size:25px}.stats{gap:10px}.sidebar nav a{padding:10px;font-size:12px}}

.inline-form{margin:0}.btn.small{padding:7px 10px;font-size:11px}

.response-box{white-space:pre-wrap;word-break:break-word;max-width:420px;max-height:180px;overflow:auto;background:#0a1222;padding:10px;border-radius:8px;color:#b9c9e4;font-size:11px}details summary{cursor:pointer;color:var(--accent);font-size:12px}

.btn.danger{background:#7f1d1d;color:#fff;border:1px solid #991b1b}.inline-form{display:inline-block}

/* Motion identity + interactive SMS composer */
:root{--glow:0 0 28px #70e1c144}
body{background:radial-gradient(circle at 78% 8%,#263d67 0,transparent 34%),radial-gradient(circle at 5% 90%,#143b45 0,transparent 32%),var(--bg);background-attachment:fixed}
.brand-mark{position:relative;isolation:isolate;animation:brandFloat 4s ease-in-out infinite,brandGlow 3s ease-in-out infinite alternate}
.brand-mark:after{content:"";position:absolute;inset:-4px;border:1px solid #70e1c177;border-radius:17px;z-index:-1;animation:brandOrbit 8s linear infinite}
.sidebar nav a,.btn,.logout,.stat,.panel{transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease,background .24s ease}
.sidebar nav a:hover{transform:translateX(4px)}
.btn{position:relative;overflow:hidden;transform:translateZ(0)}
.btn:before{content:"";position:absolute;inset:-80% -20%;background:linear-gradient(110deg,transparent 35%,#ffffff55 50%,transparent 65%);transform:translateX(-120%) rotate(8deg);transition:transform .65s ease}
.btn:hover:before{transform:translateX(120%) rotate(8deg)}
.btn:hover{transform:translateY(-2px);box-shadow:0 9px 26px #0005,var(--glow)}
.btn.pressed{transform:scale(.97)}
.btn.primary{background-size:180% 180%;animation:gradientFlow 6s ease infinite}
.stat:hover,.panel:hover{border-color:#70e1c166;box-shadow:var(--shadow),0 0 26px #70e1c10d}
.send-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);gap:18px;align-items:start}
.price-estimate{padding:13px 15px;border:1px solid #3b6c69;background:#112d32;border-radius:11px;color:#aaf1dc;font-size:13px;margin:14px 0}
.phone-preview{position:sticky;top:18px}
.phone-frame{width:min(100%,300px);margin:15px auto 18px;min-height:490px;border:7px solid #05080e;border-radius:36px;background:linear-gradient(#f4f6fa,#e9edf5);color:#182033;box-shadow:0 22px 55px #0008;overflow:hidden;position:relative;padding:12px}
.phone-notch{position:absolute;top:0;left:50%;transform:translateX(-50%);width:105px;height:19px;background:#05080e;border-radius:0 0 13px 13px}
.phone-status{font-size:10px;padding:8px 4px 15px;color:#26334a}
.phone-head{text-align:center;border-bottom:1px solid #d8deea;padding:6px 0 12px;position:relative;font-size:12px}
.phone-head span{position:absolute;left:5px;color:#3885d9;font-size:22px;top:0}
.phone-head b,.phone-head small{display:block}.phone-head small{color:#7b879c;font-size:9px;margin-top:3px}
.phone-date{text-align:center;color:#8994a8;font-size:9px;margin:17px 0}
.sms-bubble{background:#dcefe0;color:#15251a;border-radius:15px 15px 15px 4px;padding:12px 13px;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;max-width:92%;min-height:48px;box-shadow:0 2px 5px #0001}
.phone-footer{position:absolute;bottom:15px;left:14px;right:14px;border:1px solid #d1d8e5;border-radius:20px;padding:9px 13px;color:#98a2b3;font-size:10px}
.compact-form{min-width:170px}.compact-form label{margin:7px 0}.compact-form input{padding:8px;font-size:12px}.compact-form .check{display:flex}
.sender-assign{align-items:end}.sender-assign label{margin:4px 0}
@keyframes brandFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(2deg)}}
@keyframes brandGlow{from{box-shadow:0 7px 25px #70e1c144}to{box-shadow:0 7px 32px #7d8cff88}}
@keyframes brandOrbit{to{transform:rotate(360deg)}}
@keyframes gradientFlow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@media(max-width:980px){.send-layout{grid-template-columns:1fr}.phone-preview{position:static}.phone-frame{min-height:420px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

.page-loader{position:fixed;inset:0;z-index:9999;background:#090f1e;display:grid;place-items:center;pointer-events:none;animation:loaderOut .65s ease 1.1s forwards}
.loader-logo{width:68px;height:68px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),#7d8cff);color:#071523;font:700 18px 'Space Grotesk';box-shadow:0 0 40px #70e1c177;animation:loaderPulse .8s ease-in-out infinite alternate}
.page-loader i{position:absolute;width:92px;height:92px;border:2px solid transparent;border-top-color:var(--accent);border-right-color:#7d8cff;border-radius:50%;animation:spinLoader .8s linear infinite}
@keyframes spinLoader{to{transform:rotate(360deg)}}@keyframes loaderPulse{to{transform:scale(1.08);filter:brightness(1.2)}}@keyframes loaderOut{to{opacity:0;visibility:hidden}}

.price-edit-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:10px;align-items:end}.price-edit-row label{margin:4px 0}.price-edit-row input{padding:8px}@media(max-width:700px){.price-edit-row{grid-template-columns:1fr 1fr}}

body:before{content:'';position:fixed;inset:-40%;z-index:-1;pointer-events:none;background:conic-gradient(from 0deg at 50% 50%,#70e1c10a,#7d8cff12,#173e5b12,#70e1c10a);filter:blur(45px);animation:bgDrift 28s linear infinite}@keyframes bgDrift{to{transform:rotate(360deg) scale(1.1)}}

/* V6 public landing, split installer, OTP and responsive visual system */
.ui-icon{width:18px;height:18px;display:inline-block;vertical-align:middle;flex:0 0 auto}.sidebar nav a{display:flex;align-items:center;gap:11px}.sidebar nav a .ui-icon{color:var(--accent);width:17px;height:17px}.field-icon{display:inline-flex;vertical-align:middle;margin-right:6px;color:var(--accent)}.field-icon .ui-icon{width:15px;height:15px}
.install-card{width:min(100%,560px);max-height:calc(100vh - 32px);overflow:auto}.install-steps{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:25px}.install-steps span{padding:10px 12px;border:1px solid var(--line);border-radius:10px;color:var(--muted);font-size:12px;text-align:center;background:#0d1729}.install-steps .active{border-color:var(--accent);color:var(--accent);box-shadow:0 0 18px #70e1c11b}.install-steps .done{color:#a9f2dc;border-color:#3b7669}.installer .auth-card h1{margin-bottom:5px}.installer .auth-card form h3{color:var(--accent)}
.landing{background:#080f1e;min-height:100vh;overflow-x:hidden}.landing:before{content:"";position:fixed;inset:-40%;z-index:-1;pointer-events:none;background:conic-gradient(from 0deg,#70e1c10a,#7d8cff12,#173e5b10,#70e1c10a);filter:blur(60px);animation:bgDrift 32s linear infinite}.landing-nav{max-width:1240px;margin:auto;padding:22px clamp(18px,4vw,42px);display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #26334d88}.landing-brand{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none}.landing-brand b,.landing-brand small{display:block}.landing-brand small{color:var(--muted);font-size:11px;margin-top:3px}.landing-nav>div{display:flex;align-items:center;gap:18px}.landing-nav>div>a:not(.btn){font-size:13px;color:#b5c4dc;text-decoration:none}.landing main{max-width:1240px;margin:auto;padding:0 clamp(18px,4vw,42px)}.hero{min-height:650px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:40px;padding:70px 0 80px}.hero-copy{max-width:620px;animation:riseIn .8s ease both}.hero-copy h1{font-size:clamp(42px,6vw,72px);line-height:1.02;letter-spacing:-2.8px;margin:20px 0}.hero-copy h1 em{font-style:normal;color:var(--accent);text-shadow:0 0 34px #70e1c133}.hero-copy>p{font-size:17px;max-width:550px;color:#9cabc4;line-height:1.7}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0}.hero-trust{display:flex;gap:20px;flex-wrap:wrap;color:#91a2be;font-size:11px}.hero-trust span{display:flex;align-items:center;gap:6px}.hero-trust .ui-icon{width:15px;height:15px;color:var(--accent)}.pulse-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 14px var(--accent);margin-right:7px;animation:pulseDot 1.5s ease infinite}.hero-visual{min-height:490px;position:relative;display:grid;place-items:center}.orbit{position:absolute;border:1px solid #70e1c12b;border-radius:50%;animation:orbitSpin 24s linear infinite}.orbit-one{width:440px;height:440px}.orbit-two{width:530px;height:530px;border-style:dashed;animation-direction:reverse}.hero-phone{position:relative;width:250px;height:490px;border:8px solid #303b50;border-radius:43px;background:linear-gradient(#f8f9fc,#e7ecf4);color:#1b2638;padding:15px;box-shadow:0 30px 90px #0009,0 0 50px #70e1c122;transform:rotate(-5deg);animation:phoneFloat 5s ease-in-out infinite}.hero-dynamic-island{position:absolute;top:8px;left:50%;transform:translateX(-50%);width:90px;height:22px;border-radius:20px;background:#05070b}.hero-phone-top{font-size:10px;padding:7px 3px 18px}.hero-phone-top span{float:right}.hero-message-head{text-align:center;border-bottom:1px solid #d5dce8;padding:8px;font-size:11px}.hero-message-head span{float:left;color:#438de4;font-size:18px}.hero-date{text-align:center;color:#8793a8;font-size:9px;margin:20px 0}.hero-bubble{padding:12px;background:#e0ebdc;border-radius:15px 15px 15px 4px;font-size:11px;line-height:1.5;margin:12px 0;max-width:90%}.hero-bubble.outgoing{background:#9bd4ff;border-radius:15px 15px 4px 15px;margin-left:auto}.hero-compose{position:absolute;bottom:16px;left:14px;right:14px;border:1px solid #d3dae5;border-radius:20px;padding:10px;color:#9aa5b7;font-size:10px}.hero-compose span{float:right}.float-chip{position:absolute;padding:12px 15px;background:#17243b;border:1px solid #334967;border-radius:13px;box-shadow:0 12px 35px #0005;color:#dce8fa;font-size:11px;animation:chipFloat 4s ease-in-out infinite}.chip-delivery{right:0;top:90px}.chip-secure{left:0;bottom:90px}.chip-secure .ui-icon{width:14px;height:14px;color:var(--accent)}.feature-section{padding:55px 0 90px}.section-heading{text-align:center;max-width:680px;margin:0 auto 35px}.section-heading h2,.cta-section h2{font-size:clamp(28px,4vw,42px);letter-spacing:-1px}.section-heading p,.cta-section p{color:var(--muted)}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.feature-card{padding:25px;border:1px solid #293a55;border-radius:18px;background:linear-gradient(145deg,#17243a99,#0e1728cc);transition:transform .3s,border-color .3s,box-shadow .3s}.feature-card:hover{transform:translateY(-7px);border-color:#70e1c188;box-shadow:0 18px 45px #0005,0 0 25px #70e1c111}.feature-card>.ui-icon{width:28px;height:28px;color:var(--accent);margin-bottom:18px}.feature-card h3{margin:0 0 8px}.feature-card p{font-size:13px;color:var(--muted);line-height:1.6;margin:0}.cta-section{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:30px;margin:0 0 65px;border:1px solid #304765;border-radius:22px;background:linear-gradient(110deg,#14263a,#15203a)}.cta-section h2{margin:9px 0}.cta-section p{margin:0}.landing-footer{max-width:1240px;margin:auto;padding:22px clamp(18px,4vw,42px);border-top:1px solid #26334d88;display:flex;justify-content:space-between;gap:15px;color:#71829f;font-size:11px}
.auth-modern{background:radial-gradient(circle at 15% 10%,#173c4b 0,transparent 32%),radial-gradient(circle at 90% 90%,#252d59 0,transparent 35%),#090f1e}.auth-modern .auth-card{animation:riseIn .65s cubic-bezier(.2,.8,.2,1) both}.auth-back{display:inline-block;color:var(--muted);text-decoration:none;font-size:12px;margin-bottom:18px}.auth-card small a{color:var(--accent);text-decoration:none}.otp-card{text-align:center}.otp-card .brand-mark{margin:0 auto 20px}.otp-input{font:700 30px 'Space Grotesk';letter-spacing:13px;text-align:center;padding:18px 10px;border:1px solid #49617b;background:#0a1425;box-shadow:inset 0 0 20px #70e1c10b}.otp-card .btn{width:100%;margin-top:18px}.resend-form{margin-top:8px}.resend-form .btn{margin-top:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* iPhone-style preview bezel */
.phone-frame{width:min(100%,310px);min-height:540px;border:9px solid transparent;border-radius:46px;background:linear-gradient(#f7f8fc,#e9edf5) padding-box,linear-gradient(135deg,#69778e,#151c2a 30%,#8391a7 55%,#1a2434) border-box;padding:15px 13px;box-shadow:0 28px 65px #0009,0 0 0 1px #a9b6c433;animation:phoneFloat 6s ease-in-out infinite}.phone-frame:after{content:"";position:absolute;right:-12px;top:115px;width:3px;height:70px;border-radius:0 4px 4px 0;background:#77869b}.phone-notch{width:105px;height:24px;border-radius:16px;top:5px}.phone-status{padding-top:11px}.phone-preview .panel-head .ui-icon{color:var(--accent);margin-right:7px}
@keyframes riseIn{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}@keyframes phoneFloat{0%,100%{translate:0 0}50%{translate:0 -10px}}@keyframes chipFloat{0%,100%{translate:0 0}50%{translate:0 -8px}}@keyframes pulseDot{50%{opacity:.45;box-shadow:0 0 3px var(--accent)}}@keyframes orbitSpin{to{transform:rotate(360deg)}}
@media(max-width:980px){.hero{grid-template-columns:1fr;gap:15px;padding-top:55px}.hero-copy{margin:auto;text-align:center}.hero-copy>p{margin-left:auto;margin-right:auto}.hero-actions,.hero-trust{justify-content:center}.hero-visual{min-height:520px}.feature-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.landing-nav{align-items:flex-start}.landing-nav>div{gap:8px;flex-wrap:wrap;justify-content:flex-end}.landing-nav>div>a:not(.btn){display:none}.landing-brand .brand-mark{width:36px;height:36px}.landing-brand b{font-size:12px}.landing-brand small{font-size:9px}.landing-nav .btn{padding:9px 10px;font-size:11px}.hero{padding:48px 0 45px;min-height:unset}.hero-copy h1{font-size:43px;letter-spacing:-1.8px}.hero-copy>p{font-size:14px}.hero-trust{gap:10px}.hero-visual{min-height:430px;overflow:hidden}.hero-phone{transform:scale(.86) rotate(-5deg)}.orbit-one{width:330px;height:330px}.orbit-two{width:390px;height:390px}.chip-delivery{right:2px;top:65px}.chip-secure{left:0;bottom:48px}.feature-section{padding:35px 0 55px}.feature-grid{gap:10px}.feature-card{padding:17px}.feature-card h3{font-size:13px}.feature-card p{font-size:11px}.cta-section{display:block;padding:22px;margin-bottom:40px}.cta-section .btn{margin-top:18px;width:100%}.landing-footer{font-size:10px}.auth-card{padding:27px 22px}.install-card{max-height:calc(100vh - 20px)}.otp-input{letter-spacing:9px;font-size:26px}.phone-frame{min-height:510px}}
@media(prefers-reduced-motion:reduce){.landing *, .landing *:before,.landing *:after,.auth-modern *,.installer *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.otp-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:24px 0 10px}.otp-digit{width:100%;height:62px;margin:0;padding:0;text-align:center;font:700 25px 'Space Grotesk';border:1px solid #435b78;background:#0a1425;border-radius:13px;box-shadow:inset 0 0 18px #70e1c10b;transition:border-color .2s,transform .2s,box-shadow .2s}.otp-digit:focus{border-color:var(--accent);box-shadow:0 0 0 3px #70e1c122,0 0 20px #70e1c122;transform:translateY(-2px)}input[type=hidden]{display:none!important}.otp-card .otp-boxes+.btn{margin-top:10px}
@media(max-width:420px){.otp-boxes{gap:6px}.otp-digit{height:54px;font-size:22px;border-radius:10px}}

/* V7 layout hardening: keep the public site composed even with stale partial styles. */
html{min-width:320px;scroll-behavior:smooth}
body{min-width:320px;max-width:100%;overflow-x:hidden}
img,svg,video,canvas{max-width:100%;height:auto}
svg.ui-icon{display:inline-block!important;width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important;vertical-align:middle;flex:0 0 18px}
body.landing{display:block!important;min-height:100svh;background:#080f1e;color:#eef3ff}
body.landing>.page-loader{position:fixed;inset:0;display:grid;place-items:center;z-index:99999;pointer-events:none}
body.landing>.landing-nav{position:relative;z-index:2;width:min(100%,1240px);min-height:82px;margin-inline:auto;padding:18px clamp(16px,4vw,42px);display:flex!important;flex-flow:row nowrap;align-items:center;justify-content:space-between;gap:18px}
body.landing>.landing-nav>div{display:flex!important;flex-flow:row wrap;align-items:center;justify-content:flex-end;gap:clamp(8px,1.5vw,18px)}
body.landing>.landing-nav a{line-height:1.25}
body.landing>.landing-nav .landing-brand{display:flex!important;flex:0 1 auto;min-width:0;align-items:center;gap:12px}
body.landing>.landing-nav .brand-mark{width:44px;height:44px;flex:0 0 44px;border-radius:14px}
body.landing>main{display:block!important;width:min(100%,1240px);margin:0 auto;padding:0 clamp(16px,4vw,42px)}
body.landing .hero{width:100%;min-height:clamp(560px,72vh,720px);display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);align-items:center;gap:clamp(20px,4vw,56px);padding:clamp(38px,6vw,76px) 0}
body.landing .hero-copy{min-width:0;max-width:660px}
body.landing .hero-copy h1{font-size:clamp(38px,5.3vw,68px);line-height:1.04;overflow-wrap:normal}
body.landing .hero-copy>p{max-width:58ch}
body.landing .hero-visual{position:relative;isolation:isolate;width:100%;min-width:0;min-height:520px;display:grid!important;place-items:center;overflow:visible}
body.landing .orbit{position:absolute;inset:auto;display:block;pointer-events:none;border-radius:50%;max-width:95%;max-height:95%;}
body.landing .orbit-one{width:min(420px,82vw);height:min(420px,82vw)}
body.landing .orbit-two{width:min(500px,94vw);height:min(500px,94vw)}
body.landing .hero-phone{position:relative;z-index:1;width:250px;max-width:70%;height:490px;max-height:calc(100vw + 150px);min-height:420px;box-sizing:border-box;overflow:hidden}
body.landing .float-chip{z-index:2;max-width:45%;white-space:normal}
body.landing .feature-section{width:100%;padding:48px 0 76px}
body.landing .feature-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.landing .feature-card{min-width:0}
body.landing .cta-section{display:flex!important;flex-wrap:wrap;width:100%;align-items:center;justify-content:space-between}
body.landing .landing-footer{width:min(100%,1240px);margin-inline:auto;padding-inline:clamp(16px,4vw,42px)}
@media(max-width:980px){body.landing .hero{grid-template-columns:minmax(0,1fr);min-height:0;gap:12px}body.landing .hero-copy{margin-inline:auto;text-align:center}body.landing .hero-copy>p{margin-inline:auto}body.landing .hero-actions,body.landing .hero-trust{justify-content:center}body.landing .hero-visual{min-height:500px}body.landing .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body.landing>.landing-nav{min-height:68px;padding-block:12px;gap:8px}body.landing>.landing-nav>div{gap:7px}body.landing>.landing-nav>div>a:not(.btn){display:none}body.landing>.landing-nav .brand-mark{width:36px;height:36px;flex-basis:36px}body.landing>.landing-nav .landing-brand{gap:8px}body.landing>.landing-nav .landing-brand b{font-size:12px}body.landing>.landing-nav .landing-brand small{font-size:9px}body.landing>.landing-nav .btn{padding:9px 10px;font-size:11px}body.landing .hero{padding:42px 0 32px;gap:4px}body.landing .hero-copy h1{font-size:clamp(34px,9vw,46px);letter-spacing:-1.4px}body.landing .hero-copy>p{font-size:14px}body.landing .hero-visual{min-height:420px;overflow:hidden}body.landing .hero-phone{width:220px;height:430px;min-height:0;max-width:72%;transform:scale(.9) rotate(-4deg)}body.landing .orbit-one{width:300px;height:300px}body.landing .orbit-two{width:360px;height:360px}body.landing .float-chip{font-size:10px;padding:9px 10px}body.landing .feature-section{padding:30px 0 48px}body.landing .feature-grid{gap:10px}body.landing .feature-card{padding:16px}body.landing .feature-card h3{font-size:13px}body.landing .feature-card p{font-size:11px}body.landing .cta-section{display:block!important;padding:20px;margin-bottom:35px}body.landing .cta-section .btn{width:100%;margin-top:16px}body.landing .landing-footer{flex-wrap:wrap;font-size:10px}}
@media(max-width:380px){body.landing>.landing-nav .landing-brand small{display:none}body.landing>.landing-nav .btn{padding:8px;font-size:10px}body.landing .hero-copy h1{font-size:33px}body.landing .hero-visual{min-height:390px}body.landing .hero-phone{transform:scale(.82) rotate(-4deg)}body.landing .feature-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Voucher credit tools */
.voucher-code-list{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;border:1px solid var(--line,rgba(148,163,184,.22));border-radius:12px;background:rgba(15,23,42,.55);font:600 .95rem/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--text,#e5e7eb);}


/* V19 split authentication and SMS traffic dashboard */
.auth-split{min-height:100vh;padding:0!important;display:block!important;background:#f5f7fb!important}
.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr)}
.auth-office{position:relative;isolation:isolate;min-height:100vh;padding:42px clamp(28px,5vw,76px);display:flex;flex-direction:column;justify-content:space-between;color:#fff;background:#101a2b url('office-background.png') center/cover no-repeat}
.auth-office-overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(115deg,rgba(5,13,27,.88),rgba(7,18,35,.62) 55%,rgba(8,20,38,.30))}
.auth-office-brand{display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none}
.auth-office-brand>span{display:grid;gap:4px}.auth-office-brand b{font-size:18px;letter-spacing:.02em}.auth-office-brand small{font-size:10px;letter-spacing:.18em;color:#b8c9df}
.auth-office-copy{max-width:620px;margin:70px 0}
.auth-kicker{font-size:11px;font-weight:800;letter-spacing:.2em;color:#82e7d0}
.auth-office-copy h2{font-size:clamp(38px,5vw,68px);line-height:1.06;letter-spacing:-.045em;margin:18px 0}
.auth-office-copy h2 em{font-style:normal;color:#79e0ce}
.auth-office-copy p{max-width:470px;color:#d4deeb;font-size:16px;line-height:1.8}
.auth-office-points{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:30px;color:#e3edf8;font-size:12px}
.auth-office-footer{color:#b8c9df;font-size:11px}
.auth-form-side{display:flex;align-items:center;justify-content:center;padding:40px 28px;background:linear-gradient(145deg,#fbfcff,#edf2f8)}
.auth-form-side .auth-card{width:min(100%,460px);max-width:460px;margin:0;padding:clamp(26px,4vw,48px);border:1px solid rgba(148,163,184,.2);border-radius:24px;background:#fff;box-shadow:0 24px 80px rgba(15,35,65,.12)}
.auth-form-side .auth-card h1{font-size:30px;letter-spacing:-.035em;color:#172238}
.auth-form-side .auth-card>p{color:#6b7890}
.traffic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}
.traffic-panel{min-width:0}
.traffic-live{font-size:9px;font-weight:800;letter-spacing:.12em;color:#0b9b7c;background:rgba(16,185,129,.1);padding:6px 9px;border-radius:30px;white-space:nowrap}
.traffic-status-row,.country-row{margin:17px 0}
.traffic-status-row>div:first-child,.country-row>div:first-child{display:flex;align-items:center;gap:9px;margin-bottom:9px}
.traffic-status-row b,.country-row span{font-size:12px;color:var(--text,#263348)}
.traffic-status-row strong,.country-row b{margin-left:auto;font-size:12px;font-variant-numeric:tabular-nums}
.status-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8}
.status-dot.success{background:#16b887}.status-dot.failed{background:#ef5b67}.status-dot.queued{background:#8b9bb3}.status-dot.processing{background:#e9a23b}.status-dot.unknown{background:#8792a2}
.traffic-track{height:7px;border-radius:20px;background:rgba(148,163,184,.18);overflow:hidden}
.traffic-fill{height:100%;display:block;border-radius:20px;background:#16b887}
.traffic-fill.failed{background:#ef5b67}.traffic-fill.queued{background:#8b9bb3}.traffic-fill.processing{background:#e9a23b}.traffic-fill.unknown{background:#8792a2}.traffic-fill.country{background:linear-gradient(90deg,#4f8df7,#6bcdb9)}
.traffic-pill.success{color:#07865f;background:rgba(16,185,129,.12)}.traffic-pill.failed{color:#d94351;background:rgba(239,91,103,.12)}.traffic-pill.queued,.traffic-pill.unknown{color:#66758b;background:rgba(148,163,184,.16)}.traffic-pill.processing{color:#b7791f;background:rgba(233,162,59,.15)}
.recent-traffic{margin-top:18px}
.recent-traffic .table-wrap{overflow-x:auto}
.recent-traffic table{min-width:760px}
@media(max-width:900px){.auth-layout{grid-template-columns:minmax(0,.85fr) minmax(390px,1fr)}.auth-office{padding:30px}.auth-office-copy h2{font-size:42px}.traffic-grid{grid-template-columns:1fr}}
@media(max-width:680px){.auth-layout{display:flex;flex-direction:column}.auth-office{min-height:260px;padding:24px 22px 20px}.auth-office-copy{margin:34px 0 18px}.auth-office-copy h2{font-size:35px;margin:10px 0}.auth-office-copy p{font-size:13px;line-height:1.55;margin:8px 0}.auth-office-points{gap:8px 14px;margin-top:15px;font-size:10px}.auth-office-footer{display:none}.auth-form-side{padding:24px 16px 34px;min-height:55vh}.auth-form-side .auth-card{padding:26px 22px;border-radius:18px}.auth-form-side .auth-card h1{font-size:26px}}


/* V20 — Global Project team photo authentication split */
.auth-split{min-height:100vh!important;padding:0!important;background:#f3f6fa!important}
.auth-layout{width:100%;min-height:100vh;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(420px,.88fr);gap:0;overflow:hidden;background:#fff}
.auth-office{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:100vh;padding:clamp(26px,4vw,58px);color:#fff;background:#101a2b url('office-background.png') center center/cover no-repeat}
.auth-office-overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(115deg,rgba(5,13,27,.78) 0%,rgba(5,13,27,.40) 52%,rgba(5,13,27,.16) 100%)}
.auth-office-brand{position:relative;z-index:1;display:flex;align-items:center;gap:14px;width:max-content;max-width:100%;padding:12px 16px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(8,18,34,.35);backdrop-filter:blur(10px);color:#fff;text-decoration:none}
.auth-office-brand>span{display:grid;gap:4px}.auth-office-brand b{font-size:18px;letter-spacing:.02em}.auth-office-brand small{font-size:10px;letter-spacing:.16em;color:#d5e1ef}
.auth-office-copy{position:relative;z-index:1;max-width:620px;margin:auto 0 20px;padding:26px 28px;border:1px solid rgba(255,255,255,.16);border-radius:22px;background:linear-gradient(120deg,rgba(5,15,30,.72),rgba(5,15,30,.22));backdrop-filter:blur(8px)}
.auth-kicker{font-size:10px;font-weight:800;letter-spacing:.2em;color:#a7f3df}
.auth-office-copy h2{font-size:clamp(34px,4vw,58px);line-height:1.06;letter-spacing:-.045em;margin:14px 0}
.auth-office-copy h2 em{font-style:normal;color:#9af0df}
.auth-office-copy p{max-width:480px;color:#e0eaf5;font-size:14px;line-height:1.75;margin:0}
.auth-office-points{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:22px;color:#f0f6fc;font-size:11px}
.auth-office-footer{position:relative;z-index:1;color:#e0eaf5;font-size:10px}
.auth-form-side{display:flex;align-items:center;justify-content:center;min-width:0;min-height:100vh;padding:clamp(22px,4vw,58px);background:linear-gradient(145deg,#fff 0%,#f4f7fb 100%)}
.auth-form-side .auth-card{width:min(100%,460px);max-width:460px;margin:0;padding:clamp(26px,3.5vw,46px);border:1px solid #e7edf5;border-radius:22px;background:#fff;box-shadow:0 22px 65px rgba(15,35,65,.10)}
@media(max-width:900px){.auth-layout{grid-template-columns:minmax(0,1fr) minmax(360px,.9fr)}.auth-office{padding:26px}.auth-office-copy{padding:20px}.auth-office-copy h2{font-size:38px}}
@media(max-width:680px){.auth-layout{display:flex;flex-direction:column;min-height:100vh}.auth-office{min-height:250px;padding:18px 18px 14px;background-position:center 42%}.auth-office-brand{padding:8px 11px}.auth-office-brand b{font-size:15px}.auth-office-copy{margin:30px 0 10px;padding:16px 18px}.auth-office-copy h2{font-size:30px;margin:8px 0}.auth-office-copy p{font-size:12px;line-height:1.5}.auth-office-points{gap:7px 12px;margin-top:12px;font-size:9px}.auth-office-footer{display:none}.auth-form-side{min-height:auto;flex:1;padding:22px 15px 30px}.auth-form-side .auth-card{padding:24px 20px;border-radius:18px}}


/* V21 — Theme-aware authentication cards and account ATM credit card */
.auth-form-side{background:var(--bg-elevated)!important;color:var(--text)!important}
.auth-form-side .auth-card{background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important;box-shadow:var(--shadow)!important}
.auth-form-side .auth-card h1,.auth-form-side .auth-card label{color:var(--text)!important}
.auth-form-side .auth-card p,.auth-form-side .auth-card small{color:var(--muted)!important}
.auth-form-side .auth-card input:not([type=hidden]),.auth-form-side .auth-card select{background:var(--field-bg)!important;color:var(--text)!important;border-color:var(--field-border)!important}
.credit-overview{display:grid;grid-template-columns:minmax(280px,420px) minmax(220px,1fr);gap:24px;align-items:center;margin:0 0 22px}
.atm-credit-card{position:relative;isolation:isolate;overflow:hidden;min-height:228px;padding:22px 24px;border:1px solid color-mix(in srgb,var(--accent) 45%,var(--line));border-radius:22px;color:#f7fbff!important;background:radial-gradient(ellipse at 90% 5%,color-mix(in srgb,var(--accent) 38%,transparent),transparent 44%),linear-gradient(135deg,#101b30 0%,#1a2d48 52%,#0b1426 100%);box-shadow:0 18px 42px rgba(0,0,0,.22)}
.atm-credit-card:before,.atm-credit-card:after{content:"";position:absolute;z-index:-1;border:1px solid rgba(255,255,255,.09);border-radius:50%;width:260px;height:260px;right:-100px;top:-150px}
.atm-credit-card:after{width:210px;height:210px;right:-68px;top:-118px}
.atm-card-top{display:flex;align-items:center;gap:12px}
.atm-brand-mark{display:grid;place-items:center;width:38px;height:30px;border-radius:9px;background:linear-gradient(135deg,#9af0df,#3b9d91);color:#102338!important;font-weight:950;font-style:italic;letter-spacing:-.08em}
.atm-card-label{font-size:10px;font-weight:800;letter-spacing:.18em;color:#c5d5e8!important}
.atm-contactless{margin-left:auto;color:#d6e7f5!important;font-size:19px;letter-spacing:-.12em;transform:rotate(90deg)}
.atm-chip{display:grid;grid-template-columns:repeat(2,12px);gap:2px;width:29px;height:23px;margin:20px 0 13px;padding:3px;border-radius:5px;background:linear-gradient(135deg,#e8d59a,#9d8954)}
.atm-chip i{border:1px solid #756842;border-radius:2px}
.atm-balance-label{font-size:9px;letter-spacing:.18em;color:#aebfd3!important}
.atm-balance-amount{margin-top:3px;font-size:clamp(25px,3vw,34px);font-weight:800;letter-spacing:.015em;color:#fff!important;font-variant-numeric:tabular-nums}
.atm-balance-amount small{font-size:11px;color:#a9c4d7!important;letter-spacing:.1em}
.atm-card-bottom{display:flex;align-items:end;gap:22px;margin-top:20px}
.atm-card-bottom>div:not(.atm-card-watermark){display:grid;gap:4px;min-width:0}
.atm-card-bottom small{font-size:8px;letter-spacing:.14em;color:#9eb2ca!important}
.atm-card-bottom b{max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#fff!important}
.atm-card-watermark{margin-left:auto;text-align:right;font-size:10px;line-height:1.1;font-weight:900;letter-spacing:.13em;color:#a9c4d7!important;opacity:.8}
.credit-card-actions{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;padding:20px 4px}
.credit-eyebrow{font-size:10px;font-weight:800;letter-spacing:.18em;color:var(--accent)!important}
.credit-card-actions h2{margin:7px 0;font-size:22px;color:var(--text)!important}
.credit-card-actions p{max-width:360px;margin:0;color:var(--muted)!important;font-size:13px;line-height:1.6}
@media(max-width:760px){.credit-overview{grid-template-columns:1fr;gap:12px}.atm-credit-card{max-width:100%;min-height:218px}.credit-card-actions{padding:8px 2px 14px}}
@media(max-width:420px){.atm-credit-card{padding:18px;min-height:210px}.atm-card-bottom{gap:12px}.atm-card-bottom b{max-width:112px}.atm-balance-amount{font-size:25px}}


/* V22 — Mobile/tablet authentication: show the form immediately */
@media (max-width: 1024px) {
  body.auth-split{display:block!important;min-height:100svh!important;padding:0!important}
  .auth-layout{display:flex!important;flex-direction:column!important;min-height:100svh!important;height:auto!important;overflow:visible!important}
  .auth-form-side{order:0!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;flex:0 0 auto!important;width:100%!important;min-height:100svh!important;padding:clamp(18px,3.5vw,34px)!important}
  .auth-form-side .auth-card{width:min(100%,500px)!important;max-width:500px!important;max-height:none!important;overflow:visible!important;margin:0 auto!important;padding:clamp(24px,4vw,42px)!important}
  .auth-office{order:1!important;display:flex!important;justify-content:flex-end!important;width:100%!important;min-height:150px!important;height:150px!important;padding:14px 20px!important;background-position:center 42%!important}
  .auth-office-overlay{background:linear-gradient(90deg,rgba(5,13,27,.68),rgba(5,13,27,.22))!important}
  .auth-office-brand{padding:7px 10px!important}
  .auth-office-brand b{font-size:14px!important}
  .auth-office-brand small{font-size:8px!important}
  .auth-office-copy{display:none!important}
  .auth-office-footer{display:none!important}
}
@media (max-width:600px) {
  .auth-form-side{min-height:100svh!important;padding: max(14px,env(safe-area-inset-top)) 14px max(20px,env(safe-area-inset-bottom))!important}
  .auth-form-side .auth-card{width:100%!important;max-width:460px!important;padding:24px 20px!important;border-radius:18px!important}
  .auth-form-side .auth-card h1{font-size:clamp(24px,7vw,30px)!important}
  .auth-form-side .auth-card p{font-size:14px!important;line-height:1.55!important}
  .auth-form-side .auth-card input:not([type=hidden]),.auth-form-side .auth-card select{width:100%!important;min-height:48px!important;font-size:16px!important}
  .auth-form-side .auth-card button,.auth-form-side .auth-card .btn{min-height:46px}
  .auth-office{min-height:112px!important;height:112px!important;padding:12px 14px!important;background-position:center 38%!important}
  .auth-office-brand{max-width:100%!important}
}
@media (min-width:601px) and (max-width:1024px) {
  .auth-form-side{padding:28px 24px 36px!important}
  .auth-form-side .auth-card{padding:34px!important}
  .auth-office{min-height:180px!important;height:180px!important}
}
@media (max-height:760px) and (max-width:1024px) {
  .auth-form-side{min-height:100svh!important;padding-top:12px!important;padding-bottom:18px!important}
  .auth-form-side .auth-card{padding-top:20px!important;padding-bottom:20px!important}
  .auth-form-side .auth-card h1{margin-top:10px!important}
}


/* V23 — Phone-only centered silver authentication and dashboard promo banner */
@media (max-width:600px) {
  body.auth-split{background:linear-gradient(145deg,#c8cdd3 0%,#f7f8fa 48%,#d5d9de 100%)!important}
  .auth-layout{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;min-height:100svh!important;height:auto!important;padding:0!important;background:transparent!important}
  .auth-office{display:none!important}
  .auth-form-side{order:0!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:1 0 100svh!important;width:100%!important;min-height:100svh!important;padding:max(18px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom))!important;background:linear-gradient(145deg,#cbd0d6 0%,#f8f9fb 48%,#d8dce1 100%)!important}
  .auth-form-side .auth-card{width:min(100%,440px)!important;max-width:440px!important;max-height:none!important;overflow:visible!important;margin:auto!important;padding:clamp(24px,6vw,32px)!important;border:1px solid rgba(255,255,255,.92)!important;border-radius:24px!important;background:linear-gradient(145deg,#fdfefe 0%,#edf0f3 48%,#d9dee3 100%)!important;color:#182438!important;box-shadow:0 22px 55px rgba(42,54,69,.20),inset 0 1px 0 rgba(255,255,255,.95)!important}
  .auth-form-side .auth-card h1,.auth-form-side .auth-card label{color:#17243a!important}
  .auth-form-side .auth-card p,.auth-form-side .auth-card small{color:#647187!important}
  .auth-form-side .auth-card input:not([type=hidden]),.auth-form-side .auth-card select{background:linear-gradient(180deg,#fff 0%,#edf0f3 100%)!important;color:#17243a!important;border:1px solid #c3cbd4!important;box-shadow:inset 0 1px 2px rgba(32,45,60,.06)!important}
  .auth-form-side .auth-card input::placeholder{color:#8b96a5!important}
  .auth-form-side .auth-card a,.auth-form-side .auth-card .auth-back{color:#267e79!important}
}
@media (max-width:380px) {
  .auth-form-side{padding-left:12px!important;padding-right:12px!important}
  .auth-form-side .auth-card{padding:22px 18px!important;border-radius:20px!important}
}
.credit-overview{display:flex!important;flex-direction:column!important;gap:18px!important}
.credit-visual-row{display:grid;grid-template-columns:minmax(280px,420px) minmax(260px,1fr);gap:18px;align-items:stretch;min-width:0}
.credit-visual-row .atm-credit-card{width:100%;height:100%;min-height:228px}
.credit-promo-banner{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;min-height:228px;padding:22px 26px;border:1px solid var(--line);border-radius:22px;background:#14243b url('office-background.png') center 44%/cover no-repeat;box-shadow:var(--shadow)}
.credit-promo-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,rgba(5,13,27,.88),rgba(5,13,27,.48) 65%,rgba(5,13,27,.28))}
.credit-promo-content{max-width:560px;color:#fff!important}
.credit-promo-content>span{font-size:9px;font-weight:900;letter-spacing:.2em;color:#a8f1df!important}
.credit-promo-content h2{margin:8px 0;font-size:clamp(19px,2.3vw,28px);line-height:1.15;color:#fff!important}
.credit-promo-content p{max-width:470px;margin:0 0 12px;font-size:12px;line-height:1.55;color:#e3edf8!important}
.credit-promo-content small{font-size:9px;font-weight:800;letter-spacing:.13em;color:#c5d8e8!important}
.credit-card-actions{display:flex;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:4px 2px!important}
@media(max-width:900px){.credit-visual-row{grid-template-columns:minmax(0,1fr)!important}.credit-promo-banner{min-height:190px}}
@media(max-width:600px){.credit-visual-row .atm-credit-card{min-height:218px}.credit-promo-banner{min-height:170px;padding:18px}.credit-card-actions{align-items:flex-start!important;flex-direction:column!important}}


/* V24 — Equal-width ATM and Global Project banner; remove wallet action panel */
.credit-visual-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch!important;gap:22px!important;width:100%!important}
.credit-visual-row>.atm-credit-card,.credit-visual-row>.credit-promo-banner{width:100%!important;min-width:0!important;min-height:270px!important;height:270px!important;box-sizing:border-box!important}
.credit-visual-row>.atm-credit-card{display:flex!important;flex-direction:column!important;justify-content:space-between!important;padding:26px 28px!important}
.credit-visual-row>.credit-promo-banner{display:flex!important;align-items:flex-end!important;padding:26px 30px!important;background-position:center 44%!important}
.atm-balance-amount{font-size:clamp(29px,3vw,38px)!important}
.atm-card-bottom{gap:24px!important}
.atm-redeem-link{align-self:flex-start;display:inline-flex;align-items:center;gap:12px;margin-top:12px;padding:7px 12px;border:1px solid rgba(255,255,255,.28);border-radius:9px;color:#eaf7ff!important;background:rgba(255,255,255,.09);font-size:11px;font-weight:750;text-decoration:none}
.atm-redeem-link span{font-size:15px}
.credit-card-actions{display:none!important}
@media(max-width:900px){
  .credit-visual-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important}
  .credit-visual-row>.atm-credit-card,.credit-visual-row>.credit-promo-banner{min-height:250px!important;height:250px!important}
  .credit-visual-row>.atm-credit-card{padding:22px!important}
  .credit-visual-row>.credit-promo-banner{padding:22px!important}
}
@media(max-width:620px){
  .credit-visual-row{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  .credit-visual-row>.atm-credit-card,.credit-visual-row>.credit-promo-banner{height:auto!important;min-height:230px!important}
}


/* V25 — Wider Global Project banner than ATM card */
.credit-visual-row{
  grid-template-columns:minmax(260px,.82fr) minmax(0,1.18fr)!important;
}
.credit-visual-row>.atm-credit-card{min-width:0!important}
.credit-visual-row>.credit-promo-banner{min-width:0!important}
@media(max-width:900px){
  .credit-visual-row{grid-template-columns:minmax(230px,.82fr) minmax(0,1.18fr)!important}
}
@media(max-width:620px){
  .credit-visual-row{grid-template-columns:minmax(0,1fr)!important}
}


/* V26 — Password recovery and editable email template workspace */
.auth-forgot-row{display:flex;justify-content:flex-end;margin:-5px 0 12px;font-size:12px}
.auth-forgot-row a{font-weight:700;color:var(--accent)!important;text-decoration:none}
.auth-forgot-row a:hover{text-decoration:underline}
.email-template-panel{margin-top:20px}
.email-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:18px}
.email-template-editor{min-width:0;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface-soft,var(--surface))}
.email-template-editor h3{margin:0 0 14px;color:var(--text)}
.email-template-editor textarea{width:100%;min-height:210px;resize:vertical;font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}
.email-template-editor .muted-text{font-size:11px;line-height:1.5;margin:8px 0 12px;overflow-wrap:anywhere}
.email-preview-wrap{margin-top:22px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.email-preview{padding:16px;border-radius:12px;background:var(--bg-elevated);border:1px solid var(--line);color:var(--text)}
.email-preview-subject{font-weight:800;padding-bottom:12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.email-preview pre{margin:14px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.7 inherit;color:var(--text)}
.email-test-form{display:grid;grid-template-columns:minmax(160px,.7fr) minmax(220px,1fr) auto;gap:14px;align-items:end;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
@media(max-width:800px){.email-template-grid{grid-template-columns:1fr}.email-test-form{grid-template-columns:1fr}}


/* V27 — Responsive profile photo upload and avatar sizing */
.profile-grid{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr);gap:18px;align-items:start}
.profile-photo-panel{display:flex;flex-direction:column;align-items:flex-start}
.profile-photo-preview{width:clamp(112px,18vw,164px);height:clamp(112px,18vw,164px);display:grid;place-items:center;overflow:hidden;border-radius:50%;border:4px solid var(--surface);outline:1px solid var(--line);background:linear-gradient(145deg,#dce2e8,#f8fafc);box-shadow:0 8px 24px rgba(15,23,42,.12);margin:12px 0 18px}
.profile-photo-preview img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.profile-photo-preview span{font-size:clamp(34px,6vw,52px);font-weight:800;color:#526174}
.profile-photo-form{width:100%;display:flex;flex-direction:column;gap:12px}
.profile-photo-form input[type=file]{width:100%;max-width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--field-bg);color:var(--text)}
.user-avatar{width:38px;height:38px;min-width:38px;overflow:hidden;border-radius:50%;display:grid;place-items:center}
.user-avatar img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
@media(max-width:760px){.profile-grid{grid-template-columns:minmax(0,1fr)}.profile-photo-panel{align-items:center;text-align:center}.profile-photo-form{text-align:left;max-width:480px}.profile-photo-preview{width:132px;height:132px}}


/* V36 — OTP verification card: balanced spacing and responsive safe-area layout. */
body.auth.otp-page{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:100vh!important;
  min-height:100svh!important;
  width:100%;
  margin:0;
  padding:clamp(28px,6vh,72px) max(16px,env(safe-area-inset-left)) clamp(28px,6vh,72px) max(16px,env(safe-area-inset-right))!important;
  overflow-x:hidden;
  overflow-y:auto;
  box-sizing:border-box;
}
body.auth.otp-page>.otp-card{
  flex:0 1 520px;
  width:min(100%,520px)!important;
  max-width:520px;
  min-width:0;
  margin:auto!important;
  padding:clamp(24px,5vw,42px);
  text-align:center;
  box-sizing:border-box;
}
body.auth.otp-page .otp-card>p{max-width:38rem;margin:12px auto 0;line-height:1.65;overflow-wrap:anywhere}
body.auth.otp-page #otp-form,body.auth.otp-page .resend-form{width:100%;max-width:100%;margin-inline:auto}
body.auth.otp-page .otp-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(6px,1.8vw,12px);width:100%;max-width:440px;margin:28px auto 12px}
body.auth.otp-page .otp-digit{display:block;width:100%;min-width:0;height:auto;aspect-ratio:1/1;max-height:76px;margin:0;padding:0;border-radius:clamp(10px,2vw,15px);font-size:clamp(20px,4vw,28px);line-height:1;text-align:center}
body.auth.otp-page #otp-form>.btn,body.auth.otp-page .resend-form>.btn{display:flex;width:100%;min-height:54px;margin:14px 0 0;white-space:normal;text-align:center;line-height:1.35}
body.auth.otp-page .resend-form{margin-top:8px}
body.auth.otp-page>.otp-card>.auth-back{margin:12px auto 0}
@media(max-width:600px){
  body.auth.otp-page{align-items:center!important;justify-content:center!important;padding-top:max(30px,env(safe-area-inset-top))!important;padding-bottom:max(30px,env(safe-area-inset-bottom))!important;padding-left:max(14px,env(safe-area-inset-left))!important;padding-right:max(14px,env(safe-area-inset-right))!important}
  body.auth.otp-page>.otp-card{flex-basis:auto;width:100%!important;max-width:480px;padding:clamp(22px,6vw,30px)!important;border-radius:22px}
  body.auth.otp-page .otp-card .brand-mark{margin-bottom:16px}
  body.auth.otp-page .otp-card h1{font-size:clamp(24px,7vw,31px);line-height:1.2;margin:12px 0}
  body.auth.otp-page .otp-card>p{font-size:clamp(13px,3.7vw,15px);line-height:1.6}
  body.auth.otp-page .otp-boxes{gap:clamp(5px,1.5vw,9px);margin-top:24px}
  body.auth.otp-page .otp-digit{max-height:68px;border-radius:11px}
  body.auth.otp-page #otp-form>.btn,body.auth.otp-page .resend-form>.btn{min-height:50px;padding:12px 10px;font-size:clamp(12px,3.4vw,14px)}
}
@media(max-width:360px){
  body.auth.otp-page{padding-left:10px!important;padding-right:10px!important}
  body.auth.otp-page>.otp-card{padding:20px 15px!important}
  body.auth.otp-page .otp-boxes{gap:5px}
  body.auth.otp-page .otp-digit{border-radius:9px}
}
@media(max-height:620px){
  body.auth.otp-page{align-items:flex-start!important;padding-top:max(18px,env(safe-area-inset-top))!important;padding-bottom:max(18px,env(safe-area-inset-bottom))!important}
  body.auth.otp-page>.otp-card{margin-block:auto!important}
}

/* V37 — OTP uses the exact same split authentication layout as the login form. */
body.auth.auth-modern.auth-split.otp-page{
  display:block!important;
  align-items:initial!important;
  justify-content:initial!important;
  min-height:100vh!important;
  min-height:100svh!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
}
body.auth.auth-modern.auth-split.otp-page>.auth-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr)!important;
  align-items:stretch!important;
  justify-content:initial!important;
  width:100%!important;
  min-height:100vh!important;
  min-height:100svh!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
body.auth.auth-modern.auth-split.otp-page .auth-form-side{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:100vh!important;
  min-height:100svh!important;
  padding:clamp(22px,4vw,58px)!important;
  box-sizing:border-box!important;
}
body.auth.auth-modern.auth-split.otp-page .auth-form-side>.otp-card{
  flex:0 1 460px!important;
  width:min(100%,460px)!important;
  max-width:460px!important;
  max-height:calc(100svh - 44px)!important;
  margin:auto!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
  text-align:center!important;
}
body.auth.auth-modern.auth-split.otp-page .otp-boxes{width:100%!important;max-width:420px!important;margin:26px auto 12px!important}
body.auth.auth-modern.auth-split.otp-page #otp-form,
body.auth.auth-modern.auth-split.otp-page .resend-form{width:100%!important;margin-inline:auto!important}
body.auth.auth-modern.auth-split.otp-page #otp-form>.btn,
body.auth.auth-modern.auth-split.otp-page .resend-form>.btn{width:100%!important;min-height:50px!important}
@media(max-width:1024px){
  body.auth.auth-modern.auth-split.otp-page>.auth-layout{display:flex!important;flex-direction:column!important;min-height:100svh!important}
  body.auth.auth-modern.auth-split.otp-page .auth-form-side{order:0!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:100%!important;min-height:100svh!important;padding:clamp(18px,3.5vw,34px)!important}
  body.auth.auth-modern.auth-split.otp-page .auth-form-side>.otp-card{width:min(100%,500px)!important;max-width:500px!important;max-height:none!important;overflow:visible!important;margin:auto!important;padding:clamp(24px,4vw,42px)!important}
  body.auth.auth-modern.auth-split.otp-page .auth-office{order:1!important}
}
@media(max-width:600px){
  body.auth.auth-modern.auth-split.otp-page{background:linear-gradient(145deg,#c8cdd3 0%,#f7f8fa 48%,#d5d9de 100%)!important}
  body.auth.auth-modern.auth-split.otp-page .auth-layout{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;min-height:100svh!important;height:auto!important}
  body.auth.auth-modern.auth-split.otp-page .auth-office{display:none!important}
  body.auth.auth-modern.auth-split.otp-page .auth-form-side{order:0!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:1 0 100svh!important;width:100%!important;min-height:100svh!important;padding:max(18px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom))!important;background:linear-gradient(145deg,#cbd0d6 0%,#f8f9fb 48%,#d8dce1 100%)!important}
  body.auth.auth-modern.auth-split.otp-page .auth-form-side>.otp-card{width:min(100%,440px)!important;max-width:440px!important;max-height:none!important;overflow:visible!important;margin:auto!important;padding:clamp(22px,6vw,32px)!important;border-radius:24px!important}
}
@media(max-height:620px){
  body.auth.auth-modern.auth-split.otp-page .auth-form-side{min-height:100svh!important;align-items:center!important;padding-top:max(12px,env(safe-area-inset-top))!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
  body.auth.auth-modern.auth-split.otp-page .auth-form-side>.otp-card{max-height:calc(100svh - 24px)!important;overflow-y:auto!important}
}

/* V38 — Login and OTP share one identical form alignment system. */
body.auth.auth-modern.auth-split:not(.otp-page),
body.auth.auth-modern.auth-split.otp-page{
  display:block!important;
  width:100%!important;
  min-height:100vh!important;
  min-height:100svh!important;
  margin:0!important;
  padding:0!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
body.auth.auth-modern.auth-split:not(.otp-page)>.auth-layout,
body.auth.auth-modern.auth-split.otp-page>.auth-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr)!important;
  align-items:stretch!important;
  width:100%!important;
  min-height:100vh!important;
  min-height:100svh!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
body.auth.auth-modern.auth-split:not(.otp-page) .auth-form-side,
body.auth.auth-modern.auth-split.otp-page .auth-form-side{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:stretch!important;
  min-width:0!important;
  min-height:100vh!important;
  min-height:100svh!important;
  padding:clamp(22px,4vw,58px)!important;
  box-sizing:border-box!important;
}
body.auth.auth-modern.auth-split:not(.otp-page) .auth-form-side>.auth-card,
body.auth.auth-modern.auth-split.otp-page .auth-form-side>.auth-card{
  flex:0 1 460px!important;
  width:min(100%,460px)!important;
  max-width:460px!important;
  max-height:calc(100svh - 48px)!important;
  margin:auto!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
}
@media(max-width:1024px){
  body.auth.auth-modern.auth-split:not(.otp-page)>.auth-layout,
  body.auth.auth-modern.auth-split.otp-page>.auth-layout{
    display:flex!important;flex-direction:column!important;min-height:100svh!important;
  }
  body.auth.auth-modern.auth-split:not(.otp-page) .auth-form-side,
  body.auth.auth-modern.auth-split.otp-page .auth-form-side{
    order:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 auto!important;width:100%!important;min-height:100svh!important;
    padding:clamp(18px,3.5vw,34px)!important;
  }
  body.auth.auth-modern.auth-split:not(.otp-page) .auth-form-side>.auth-card,
  body.auth.auth-modern.auth-split.otp-page .auth-form-side>.auth-card{
    width:min(100%,500px)!important;max-width:500px!important;max-height:none!important;
    overflow:visible!important;margin:auto!important;padding:clamp(24px,4vw,42px)!important;
  }
  body.auth.auth-modern.auth-split:not(.otp-page) .auth-office,
  body.auth.auth-modern.auth-split.otp-page .auth-office{order:1!important}
}
@media(max-width:600px){
  body.auth.auth-modern.auth-split:not(.otp-page),
  body.auth.auth-modern.auth-split.otp-page{background:linear-gradient(145deg,#c8cdd3 0%,#f7f8fa 48%,#d5d9de 100%)!important}
  body.auth.auth-modern.auth-split:not(.otp-page)>.auth-layout,
  body.auth.auth-modern.auth-split.otp-page>.auth-layout{
    display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;
    min-height:100svh!important;height:auto!important;
  }
  body.auth.auth-modern.auth-split:not(.otp-page) .auth-office,
  body.auth.auth-modern.auth-split.otp-page .auth-office{display:none!important}
  body.auth.auth-modern.auth-split:not(.otp-page) .auth-form-side,
  body.auth.auth-modern.auth-split.otp-page .auth-form-side{
    order:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
    flex:1 0 100svh!important;width:100%!important;min-height:100svh!important;
    padding:max(18px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom))!important;
    background:linear-gradient(145deg,#cbd0d6 0%,#f8f9fb 48%,#d8dce1 100%)!important;
  }
  body.auth.auth-modern.auth-split:not(.otp-page) .auth-form-side>.auth-card,
  body.auth.auth-modern.auth-split.otp-page .auth-form-side>.auth-card{
    flex:0 1 auto!important;width:min(100%,440px)!important;max-width:440px!important;
    max-height:none!important;overflow:visible!important;margin:auto!important;
    padding:clamp(22px,6vw,32px)!important;border-radius:24px!important;
  }
}
@media(max-height:620px) and (max-width:1024px){
  body.auth.auth-modern.auth-split:not(.otp-page) .auth-form-side,
  body.auth.auth-modern.auth-split.otp-page .auth-form-side{padding-top:max(12px,env(safe-area-inset-top))!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
  body.auth.auth-modern.auth-split:not(.otp-page) .auth-form-side>.auth-card,
  body.auth.auth-modern.auth-split.otp-page .auth-form-side>.auth-card{max-height:calc(100svh - 24px)!important;overflow-y:auto!important}
}


/* User management refresh */
.users-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:26px 28px;margin:0 0 20px;border:1px solid var(--line,rgba(148,163,184,.16));border-radius:20px;background:linear-gradient(125deg,rgba(59,130,246,.13),rgba(139,92,246,.08) 55%,rgba(15,23,42,.15))}
.users-hero h2{margin:7px 0 6px;font-size:clamp(20px,2.2vw,27px);letter-spacing:-.04em}.users-hero p{margin:0;color:var(--muted,#94a3b8);font-size:13px}
.users-summary{min-width:112px;padding:13px 17px;border:1px solid var(--line,rgba(148,163,184,.16));border-radius:15px;background:rgba(15,23,42,.28);text-align:center}.users-summary span{display:block;font-size:27px;font-weight:800;line-height:1.1}.users-summary small{color:var(--muted,#94a3b8);font-size:11px}
.users-directory{margin-bottom:22px}.users-table{min-width:760px}.users-table th{font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:var(--muted,#94a3b8);white-space:nowrap}.users-table td{vertical-align:middle}.user-cell{display:flex;align-items:center;gap:11px;min-width:190px}.user-cell>span:last-child{display:grid;gap:3px}.user-cell b{font-size:13px}.user-cell small{color:var(--muted,#94a3b8);font-size:11px}.user-initial{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:12px;background:linear-gradient(145deg,rgba(59,130,246,.24),rgba(139,92,246,.2));border:1px solid rgba(99,102,241,.22);font-weight:800;color:var(--text,#e5e7eb)}
.role-pill,.status-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}.role-owner{background:rgba(168,85,247,.13);color:#c4b5fd}.role-admin{background:rgba(59,130,246,.13);color:#93c5fd}.role-customer{background:rgba(148,163,184,.12);color:var(--muted,#94a3b8)}.status-pill i{width:6px;height:6px;border-radius:50%;background:currentColor}.is-active{background:rgba(34,197,94,.11);color:#4ade80}.is-disabled{background:rgba(239,68,68,.11);color:#fca5a5}.user-balance{font-variant-numeric:tabular-nums;font-weight:650;white-space:nowrap}.actions-head{text-align:right}.user-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}.action-form{display:inline-flex;margin:0}.icon-action,.owner-lock{width:34px;height:34px;display:inline-grid;place-items:center;border:1px solid var(--line,rgba(148,163,184,.18));border-radius:10px;background:rgba(148,163,184,.06);color:var(--muted,#94a3b8);cursor:pointer;transition:transform .18s ease,background .18s ease,border-color .18s ease}.icon-action:hover{transform:translateY(-2px)}.icon-action svg,.owner-lock svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-action.edit:hover{color:#93c5fd;border-color:rgba(59,130,246,.4);background:rgba(59,130,246,.12)}.icon-action.disable:hover,.icon-action.remove:hover{color:#fca5a5;border-color:rgba(239,68,68,.4);background:rgba(239,68,68,.12)}.icon-action.enable:hover{color:#4ade80;border-color:rgba(34,197,94,.4);background:rgba(34,197,94,.12)}.owner-lock{cursor:default;opacity:.55}.modal-backdrop{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(2,6,23,.72);backdrop-filter:blur(9px)}.modal-backdrop.open{display:flex}.user-edit-modal{width:min(100%,480px);max-height:min(90vh,720px);overflow:auto;padding:24px;border:1px solid var(--line,rgba(148,163,184,.2));border-radius:20px;background:var(--panel,#111827);box-shadow:0 24px 80px rgba(0,0,0,.4)}.modal-title{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.modal-title h2{margin:5px 0 0}.modal-close{width:32px;height:32px;border:0;border-radius:9px;background:rgba(148,163,184,.1);color:inherit;font-size:24px;cursor:pointer}.user-edit-modal form{display:grid;gap:13px}.user-edit-modal label{display:grid;gap:7px}.user-edit-modal label small{display:inline;color:var(--muted,#94a3b8);font-weight:400}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:8px}.modal-open{overflow:hidden}
@media(max-width:700px){.users-hero{padding:20px;align-items:flex-start}.users-summary{min-width:82px;padding:11px}.users-summary span{font-size:23px}.users-directory .panel-head{align-items:flex-start}.users-table{min-width:720px}.user-edit-modal{padding:19px}}

/* Unified user directory and modal actions */
.users-directory>.panel-head{gap:14px;align-items:center;flex-wrap:wrap}
.users-directory>.panel-head>.btn{flex:0 0 auto;white-space:nowrap}
.user-edit-modal{animation:userModalIn .18s ease-out}
@keyframes userModalIn{from{opacity:0;transform:translateY(9px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.user-edit-modal input:focus,.user-edit-modal select:focus{outline:2px solid rgba(96,165,250,.55);outline-offset:1px}
@media(max-width:520px){.users-directory>.panel-head>.btn{width:100%;justify-content:center}.modal-backdrop{padding:12px}.user-edit-modal{width:100%;max-height:calc(100dvh - 24px);padding:18px;border-radius:17px}.modal-actions{flex-direction:column-reverse}.modal-actions .btn{width:100%;justify-content:center}}

/* User edit modal v41 */
.modal-backdrop[hidden]{display:none!important}.user-edit-modal-wide{width:min(100%,760px);max-height:min(92vh,850px)}.user-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.user-modal-grid>label{min-width:0}.user-modal-grid input,.user-modal-grid select{width:100%;min-width:0}.user-rule-toggle{padding:12px 14px;border:1px solid var(--line,rgba(148,163,184,.18));border-radius:12px;background:rgba(148,163,184,.045);align-self:end}.user-rule-toggle .check{display:flex;align-items:center;gap:9px}.user-rule-toggle input{width:auto}.user-rule-toggle p{margin:6px 0 0 24px;font-size:11px}.user-edit-modal-wide .modal-title p{margin:6px 0 0;font-size:12px}.user-edit-modal-wide .modal-actions{padding-top:14px;border-top:1px solid var(--line,rgba(148,163,184,.15))}@media(max-width:620px){.user-edit-modal-wide{width:100%;max-height:calc(100dvh - 20px);overflow:auto}.user-modal-grid{grid-template-columns:1fr;gap:12px}.user-edit-modal-wide .modal-actions{flex-direction:column-reverse}.user-edit-modal-wide .modal-actions .btn{width:100%;justify-content:center}}


/* v51 — SMS confirmation and animated provider-accepted feedback */
.sms-confirm-dialog,.sms-success-dialog{width:min(560px,calc(100vw - 28px));max-width:none;max-height:min(88dvh,820px);padding:0;border:1px solid var(--line);border-radius:24px;background:linear-gradient(150deg,#17243a,#0d1628);color:var(--text);box-shadow:0 28px 100px #000b;overflow:auto}
.sms-confirm-dialog::backdrop,.sms-success-dialog::backdrop{background:#030817c9;backdrop-filter:blur(9px)}
.sms-confirm-card,.sms-success-card{padding:clamp(20px,4vw,32px)}
.sms-confirm-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#f0ad3c18;border:1px solid #f0ad3c55;color:#f4bd60;margin-bottom:17px}
.sms-confirm-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sms-confirm-card h2,.sms-success-card h2{font-size:clamp(21px,4vw,27px);margin:8px 0}
.sms-confirm-intro,.sms-success-card>p{color:var(--muted);font-size:13px;line-height:1.6}
.sms-confirm-summary{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;margin:20px 0;padding:4px 16px;border:1px solid var(--line);border-radius:15px;background:#07122266}
.sms-confirm-summary>div{padding:12px 0;border-bottom:1px solid #ffffff12;min-width:0}
.sms-confirm-summary>div:nth-last-child(-n+2){border-bottom:0}
.sms-confirm-summary span{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}
.sms-confirm-summary b{font-size:13px;overflow-wrap:anywhere}
.sms-confirm-summary .sms-confirm-message{grid-column:1/-1;border-bottom:0}
.sms-confirm-message p{margin:0;max-height:110px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px 12px;border-radius:10px;background:#ffffff08;font-size:13px;line-height:1.55}
.sms-confirm-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.sms-confirm-actions .btn{min-height:44px}.sms-confirm-actions button:disabled{opacity:.6;cursor:wait}
.sms-success-dialog{width:min(470px,calc(100vw - 28px));text-align:center}
.sms-success-card{padding:clamp(24px,5vw,38px)}
.sms-success-mark{width:90px;height:90px;margin:0 auto 15px;display:grid;place-items:center}
.sms-success-mark svg{width:88px;height:88px;overflow:visible}
.success-ring{fill:#22c78a12;stroke:#36d99b;stroke-width:2.5;stroke-dasharray:195;stroke-dashoffset:195;transform:rotate(-90deg);transform-origin:36px 36px;animation:successRingDraw .85s cubic-bezier(.2,.8,.2,1) .1s forwards}
.success-check{fill:none;stroke:#66f0b4;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:48;stroke-dashoffset:48;animation:successCheckDraw .48s ease-out .8s forwards}
.sms-success-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0}
.sms-success-stats>div{padding:13px 6px;border:1px solid var(--line);border-radius:13px;background:#ffffff07;min-width:0}
.sms-success-stats b{display:block;font-size:20px;color:#67e8ad;overflow-wrap:anywhere}
.sms-success-stats span{display:block;margin-top:5px;font-size:10px;color:var(--muted)}
.sms-success-note{padding:11px 13px;border-radius:11px;background:#22c78a12;border:1px solid #36d99b35;color:#b9f6dc;font-size:12px;line-height:1.5;margin-bottom:18px}
.sms-success-close{display:inline-flex;justify-content:center;min-width:180px}
@keyframes successRingDraw{to{stroke-dashoffset:0}}@keyframes successCheckDraw{to{stroke-dashoffset:0}}
@media(max-width:480px){.sms-confirm-summary{grid-template-columns:1fr;gap:0}.sms-confirm-summary>div:nth-last-child(-n+2){border-bottom:1px solid #ffffff12}.sms-confirm-summary>.sms-confirm-message{border-bottom:0}.sms-confirm-actions{display:grid;grid-template-columns:1fr}.sms-confirm-actions .btn{width:100%}.sms-success-stats{gap:5px}.sms-success-stats>div{padding:10px 4px}.sms-success-stats b{font-size:17px}}
@media(prefers-reduced-motion:reduce){.success-ring,.success-check{animation:none;stroke-dashoffset:0}}


/* v54 — keep the complete edit-user dialog reachable on short/tall screens.
   The backdrop owns viewport scrolling; the dialog owns its content scrolling. */
.modal-backdrop{
  align-items:flex-start!important;
  justify-content:center!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  padding: max(16px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right))
           max(16px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;
}
.user-edit-modal-wide{
  width:min(100%,760px)!important;
  max-height:calc(100vh - 32px)!important;
  max-height:calc(100dvh - max(32px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 16px))!important;
  height:auto!important;
  min-height:0!important;
  margin:auto!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scroll-behavior:auto;
  -webkit-overflow-scrolling:touch;
}
.user-edit-modal-wide .modal-title{
  position:sticky;
  top:-1px;
  z-index:3;
  padding:4px 0 14px;
  background:var(--surface)!important;
}
.user-edit-modal-wide .modal-actions{
  position:sticky;
  bottom:-1px;
  z-index:3;
  padding:14px 0 2px;
  margin-top:14px;
  background:var(--surface)!important;
  border-top:1px solid var(--line)!important;
}
.user-edit-modal-wide form{min-width:0}
.user-edit-modal-wide .user-modal-grid{padding-bottom:4px}
.modal-backdrop[hidden]{display:none!important}
body.modal-open{overflow:hidden!important}
@media(max-width:700px){
 .modal-backdrop{padding: max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom)) 10px!important}
 .user-edit-modal-wide{
   width:100%!important;
   max-height:calc(100vh - 20px)!important;
   max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 8px))!important;
   padding:18px!important;
   border-radius:16px!important;
 }
}
@media(max-width:540px){
 .user-edit-modal-wide .user-modal-grid{grid-template-columns:1fr!important;gap:12px}
 .user-edit-modal-wide .modal-title{margin-bottom:12px}
 .user-edit-modal-wide .modal-actions{display:grid;grid-template-columns:1fr;gap:8px}
 .user-edit-modal-wide .modal-actions .btn{width:100%;justify-content:center}
}


/* v55 — robust viewport modal layout. The overlay is moved under <body> by JS. */
#userEditModal.modal-backdrop,
#userCreateModal.modal-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:2147482000!important;
  display:none;
  box-sizing:border-box!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  min-height:0!important;
  padding: max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right))
           max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;
  align-items:flex-start!important;
  justify-content:center!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch;
}
#userEditModal.modal-backdrop.open,
#userCreateModal.modal-backdrop.open{display:flex!important}
#userEditModal .user-edit-modal-wide{
  position:relative!important;
  display:block!important;
  flex:0 0 auto!important;
  width:min(760px,100%)!important;
  max-width:760px!important;
  height:auto!important;
  max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)!important;
  min-height:0!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-gutter:stable;
  padding:clamp(16px,2.5vw,26px)!important;
}
#userEditModal .user-edit-modal-wide form{
  display:grid!important;
  gap:14px!important;
  min-height:0!important;
}
#userEditModal .user-edit-modal-wide .modal-title{
  position:sticky!important;
  top:calc(-1 * clamp(16px,2.5vw,26px))!important;
  z-index:5!important;
  margin:calc(-1 * clamp(16px,2.5vw,26px)) calc(-1 * clamp(16px,2.5vw,26px)) 14px!important;
  padding:clamp(16px,2.5vw,26px) clamp(16px,2.5vw,26px) 14px!important;
  background:var(--surface)!important;
  border-bottom:1px solid var(--line)!important;
}
#userEditModal .user-edit-modal-wide .modal-actions{
  position:sticky!important;
  bottom:calc(-1 * clamp(16px,2.5vw,26px))!important;
  z-index:5!important;
  margin:10px calc(-1 * clamp(16px,2.5vw,26px)) calc(-1 * clamp(16px,2.5vw,26px))!important;
  padding:14px clamp(16px,2.5vw,26px) clamp(16px,2.5vw,26px)!important;
  background:var(--surface)!important;
  border-top:1px solid var(--line)!important;
}
#userEditModal .user-modal-grid{min-width:0}
@media(max-width:620px){
 #userEditModal.modal-backdrop{padding:env(safe-area-inset-top) 8px env(safe-area-inset-bottom)!important}
 #userEditModal .user-edit-modal-wide{
   width:100%!important;max-width:none!important;
   max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
   border-radius:14px!important;padding:16px!important;
 }
 #userEditModal .user-edit-modal-wide .modal-title{
   top:-16px!important;margin:-16px -16px 12px!important;padding:16px 16px 12px!important;
 }
 #userEditModal .user-edit-modal-wide .modal-actions{
   bottom:-16px!important;margin:10px -16px -16px!important;padding:12px 16px 16px!important;
 }
 #userEditModal .user-modal-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 #userEditModal .modal-actions{display:grid!important;grid-template-columns:1fr!important}
 #userEditModal .modal-actions .btn{width:100%!important;justify-content:center}
}
@media(max-height:650px) and (min-width:621px){
 #userEditModal.modal-backdrop{padding-top:8px!important;padding-bottom:8px!important}
 #userEditModal .user-edit-modal-wide{max-height:calc(100dvh - 16px)!important}
}


/* v56 — iPhone 18 front-and-back live preview showcase */
.iphone18-showcase{
 position:relative;
 display:flex;
 align-items:center;
 justify-content:center;
 width:100%;
 min-height:220px;
 margin:12px auto 10px;
 padding:8px 6px 0;
 overflow:hidden;
 border:1px solid var(--line);
 border-radius:20px;
 background:radial-gradient(ellipse at 50% 46%,color-mix(in srgb,var(--accent) 15%,var(--surface-2)),var(--surface-2) 62%,var(--surface));
}
.iphone18-product-image{
 display:block;
 width:min(100%,560px);
 max-height:390px;
 height:auto;
 object-fit:contain;
 object-position:center;
 filter:drop-shadow(0 18px 25px rgba(0,0,0,.22));
}
.iphone18-caption{
 position:absolute;
 left:12px;
 bottom:10px;
 display:inline-flex;
 align-items:center;
 gap:7px;
 padding:6px 10px;
 border:1px solid var(--line);
 border-radius:999px;
 background:color-mix(in srgb,var(--surface) 88%,transparent);
 color:var(--text-soft);
 font-size:10px;
 font-weight:700;
 letter-spacing:.02em;
 backdrop-filter:blur(8px);
}
.iphone18-live-dot{width:7px;height:7px;border-radius:50%;background:var(--success);box-shadow:0 0 0 3px color-mix(in srgb,var(--success) 16%,transparent)}
.iphone18-message-preview{
 margin:12px auto 10px;
 max-width:440px;
 padding:14px;
 border:1px solid var(--line);
 border-radius:17px;
 background:var(--surface-2);
 color:var(--text);
}
.iphone18-message-top{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.iphone18-message-avatar{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:11px;background:color-mix(in srgb,var(--accent) 16%,var(--surface-3));color:var(--accent);font-size:10px;font-weight:800}
.iphone18-message-top>div{min-width:0;flex:1}
.iphone18-message-top b{display:block;color:var(--text);font-size:12px;overflow-wrap:anywhere}
.iphone18-message-top small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.iphone18-message-time{color:var(--muted);font-size:10px}
.iphone18-message-preview .sms-bubble{
 display:block;
 width:fit-content;
 max-width:100%;
 margin:13px 0 0;
 padding:11px 13px;
 border-radius:14px 14px 14px 5px;
 background:var(--surface-3);
 border:1px solid var(--line);
 color:var(--text);
 white-space:pre-wrap;
 overflow-wrap:anywhere;
 line-height:1.5;
 font-size:12px;
}
.iphone18-preview-hint{margin:10px 0 0;color:var(--muted);font-size:10px;line-height:1.45}
@media(max-width:980px){.iphone18-product-image{max-height:340px}}
@media(max-width:480px){.iphone18-showcase{min-height:170px;border-radius:15px}.iphone18-product-image{max-height:270px}.iphone18-message-preview{padding:11px}}


/* v57 — side-profile-to-front iPhone 18 hero framing */
.iphone18-showcase{min-height:260px;padding:10px 4px 18px}
.iphone18-product-image{
 width:min(100%,520px);
 max-height:420px;
 object-fit:contain;
 object-position:center;
}
.iphone18-caption{left:12px;bottom:9px}
@media(max-width:980px){.iphone18-product-image{max-height:370px}}
@media(max-width:480px){.iphone18-showcase{min-height:190px}.iphone18-product-image{max-height:300px}}


/* v58 — front-only iPhone 18 Pro Max live preview */
.iphone18-product-image{
  width:min(100%,390px)!important;
  max-height:440px!important;
  object-fit:contain!important;
  object-position:center!important;
}
.iphone18-showcase{
  min-height:300px;
  background:radial-gradient(ellipse at 50% 52%,color-mix(in srgb,var(--accent) 20%,var(--surface-2)),var(--surface-2) 66%,var(--surface));
}
@media(max-width:980px){.iphone18-product-image{max-height:380px!important}}
@media(max-width:480px){.iphone18-showcase{min-height:220px}.iphone18-product-image{max-height:320px!important}}


/* v59 — render live SMS content inside the iPhone screen, not in a separate card */
.iphone18-device-stage{
 position:relative!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 width:100%!important;
 min-height:0!important;
 padding:8px 6px 28px!important;
 overflow:hidden!important;
}
.iphone18-device-stage .iphone18-product-image{
 display:block!important;
 width:auto!important;
 height:auto!important;
 max-width:min(100%,390px)!important;
 max-height:min(68vh,620px)!important;
 object-fit:contain!important;
 position:relative!important;
 z-index:1!important;
}
.iphone18-lock-notification{
 position:absolute!important;
 z-index:2!important;
 /* Coordinates are aligned to the visible lock-screen notification area in the device artwork. */
 left:50%!important;
 top:43%!important;
 transform:translate(-50%,-50%)!important;
 width:min(69%,270px)!important;
 max-height:25%!important;
 overflow:hidden!important;
 box-sizing:border-box!important;
 padding:clamp(7px,1.3vw,11px)!important;
 border:1px solid rgba(255,255,255,.46)!important;
 border-radius:clamp(11px,2vw,17px)!important;
 background:rgba(247,245,255,.88)!important;
 color:#151321!important;
 box-shadow:0 7px 22px rgba(10,7,28,.22)!important;
 backdrop-filter:blur(16px) saturate(1.35)!important;
 -webkit-backdrop-filter:blur(16px) saturate(1.35)!important;
}
.iphone18-lock-notification-head{display:flex;align-items:center;gap:7px;min-width:0;margin-bottom:5px}
.iphone18-messages-icon{width:clamp(17px,4vw,23px);height:clamp(17px,4vw,23px);flex:0 0 auto;display:grid;place-items:center;border-radius:6px;background:#20c76a;color:white}
.iphone18-messages-icon svg{width:75%;height:75%;fill:currentColor}
.iphone18-lock-notification-head b{font-size:clamp(9px,1.5vw,12px);font-weight:750;color:#171522}
.iphone18-lock-notification-head .iphone18-message-time{margin-left:auto;font-size:clamp(8px,1.25vw,10px);color:#686675}
.iphone18-notification-sender{display:block;margin:2px 0 3px;font-size:clamp(9px,1.55vw,12px);line-height:1.25;color:#151321;overflow-wrap:anywhere}
.iphone18-notification-message{margin:0!important;font-size:clamp(9px,1.45vw,12px)!important;line-height:1.32!important;color:#242230!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:4!important;overflow:hidden!important}
.iphone18-device-stage .iphone18-caption{z-index:3}
@media(max-width:600px){
 .iphone18-device-stage{padding:4px 4px 26px!important}
 .iphone18-device-stage .iphone18-product-image{max-height:min(58vh,480px)!important}
 .iphone18-lock-notification{width:69%!important;top:43%!important;padding:7px!important}
}



/* v61 — restore the original on-device iPhone preview composition */
.iphone18-device-stage{
  background:radial-gradient(ellipse at 50% 52%,color-mix(in srgb,var(--accent) 20%,var(--surface-2)),var(--surface-2) 66%,var(--surface))!important;
  border:1px solid var(--line)!important;
  overflow:hidden!important;
}
.iphone18-device-stage .iphone18-product-image{
  filter:drop-shadow(0 14px 24px rgba(0,0,0,.22))!important;
}


/* v62 — restore the original phone mockup with the SMS content inside its screen */
.sms-live-device{
  width:min(100%,300px)!important;
  min-height:490px!important;
  margin:16px auto 20px!important;
  padding:12px!important;
  box-sizing:border-box!important;
  position:relative!important;
  display:block!important;
  overflow:hidden!important;
  border:7px solid #05080e!important;
  border-radius:36px!important;
  background:linear-gradient(180deg,#f7f8fc 0%,#e9edf5 100%)!important;
  color:#182033!important;
  box-shadow:0 22px 55px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,255,255,.35)!important;
}
.sms-live-device .phone-notch{z-index:3}
.sms-live-device .phone-status{display:flex;justify-content:space-between;gap:8px;padding:8px 4px 15px;color:#26334a;font-size:10px}
.sms-live-device .phone-head{color:#182033}
.sms-live-device .phone-head b{max-width:85%;margin:0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sms-live-device .phone-date{color:#8994a8}
.sms-live-device .sms-bubble{
  background:#dcefe0!important;
  color:#15251a!important;
  max-width:92%!important;
  min-height:48px;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  box-shadow:0 2px 5px rgba(0,0,0,.08)!important;
}
.sms-live-device .phone-footer{background:rgba(255,255,255,.72);color:#657187;border-color:#d1d8e5}
@media(max-width:480px){
 .sms-live-device{width:min(100%,270px)!important;min-height:455px!important;border-radius:32px!important}
}


/* v63 — consistent pagination controls for all tables */
.table-pagination{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 flex-wrap:wrap;
 width:100%;
 box-sizing:border-box;
 padding:12px 2px 4px;
 margin:0 0 8px;
 color:var(--text-soft,var(--muted));
 font-size:12px;
}
.table-pagination-info{font-variant-numeric:tabular-nums}
.table-pagination-controls{
 display:flex;
 align-items:center;
 justify-content:flex-end;
 flex-wrap:wrap;
 gap:5px;
}
.table-page-btn{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-width:34px;
 height:34px;
 padding:0 9px;
 border:1px solid var(--line);
 border-radius:9px;
 background:var(--surface-2);
 color:var(--text);
 font:inherit;
 font-weight:650;
 cursor:pointer;
 transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
.table-page-btn:hover:not(:disabled){
 border-color:var(--accent);
 background:color-mix(in srgb,var(--accent) 11%,var(--surface-2));
}
.table-page-btn:active:not(:disabled){transform:scale(.96)}
.table-page-btn.is-active{
 background:var(--accent);
 border-color:var(--accent);
 color:var(--accent-contrast,#fff);
 box-shadow:0 3px 10px color-mix(in srgb,var(--accent) 22%,transparent);
}
.table-page-btn:disabled{opacity:.38;cursor:not-allowed}
.table-page-ellipsis{min-width:18px;text-align:center;color:var(--muted)}
@media(max-width:560px){
 .table-pagination{align-items:flex-start;flex-direction:column;gap:8px}
 .table-pagination-controls{justify-content:flex-start;width:100%;gap:4px}
 .table-page-btn{min-width:32px;height:32px;padding:0 7px}
}
@media(prefers-reduced-motion:reduce){.table-page-btn{transition:none}}

/* Ensure hidden rows stay hidden even when table row styles are defined. */
tbody tr[hidden]{display:none!important}


/* v64 — animated right-side dashboard statistic icons */
.dashboard-stats .stat{
 position:relative!important;
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:12px!important;
 min-width:0!important;
 overflow:hidden!important;
 isolation:isolate;
}
.dashboard-stats .stat-copy{position:relative;z-index:1;min-width:0}
.dashboard-stats .stat-copy>span,
.dashboard-stats .stat-copy>small{display:block}
.dashboard-stats .stat-copy>strong{display:block}
.dashboard-stats .stat-motion-icon{
 position:relative;
 z-index:0;
 flex:0 0 clamp(48px,5vw,64px);
 width:clamp(48px,5vw,64px);
 height:clamp(48px,5vw,64px);
 display:grid;
 place-items:center;
 border-radius:18px;
 color:var(--stat-icon-color,var(--accent));
 background:color-mix(in srgb,var(--stat-icon-color,var(--accent)) 12%,var(--surface-2,var(--surface)));
 border:1px solid color-mix(in srgb,var(--stat-icon-color,var(--accent)) 22%,var(--line));
 box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 7px 18px rgba(0,0,0,.08);
 animation:stat-icon-float 3.8s ease-in-out infinite;
}
.dashboard-stats .stat-motion-icon::before{
 content:"";
 position:absolute;
 inset:-5px;
 border:1px solid currentColor;
 border-radius:22px;
 opacity:0;
 animation:stat-icon-ripple 3.8s ease-out infinite;
}
.dashboard-stats .stat-motion-icon svg{
 width:clamp(27px,3vw,36px);
 height:clamp(27px,3vw,36px);
 display:block;
 overflow:visible;
}
.dashboard-stats .stat-batches{--stat-icon-color:#65a9ff}
.dashboard-stats .stat-recipients{--stat-icon-color:#a78bfa}
.dashboard-stats .stat-success{--stat-icon-color:#28c78a}
.dashboard-stats .stat-failed{--stat-icon-color:#f59b55}
.dashboard-stats .stat-batches .stat-motion-icon svg{animation:stat-icon-rotate 12s linear infinite}
.dashboard-stats .stat-recipients .stat-motion-icon svg{animation:stat-icon-bob 2.8s ease-in-out infinite}
.dashboard-stats .stat-success .stat-motion-icon svg{animation:stat-icon-check 2.4s ease-in-out infinite}
.dashboard-stats .stat-failed .stat-motion-icon svg{animation:stat-icon-alert 2.2s ease-in-out infinite}
@keyframes stat-icon-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes stat-icon-ripple{0%{transform:scale(.82);opacity:0}35%{opacity:.2}100%{transform:scale(1.18);opacity:0}}
@keyframes stat-icon-rotate{to{transform:rotate(360deg)}}
@keyframes stat-icon-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes stat-icon-check{0%,100%{transform:scale(1)}45%{transform:scale(1.1)}}
@keyframes stat-icon-alert{0%,100%{transform:translateY(0)}25%{transform:translateY(-2px)}50%{transform:translateY(1px)}75%{transform:translateY(-1px)}}
@media(max-width:560px){
 .dashboard-stats .stat{padding:15px!important;gap:8px!important}
 .dashboard-stats .stat-motion-icon{flex-basis:42px;width:42px;height:42px;border-radius:14px}
 .dashboard-stats .stat-motion-icon svg{width:25px;height:25px}
 .dashboard-stats .stat-copy>strong{font-size:25px}
}
@media(prefers-reduced-motion:reduce){
 .dashboard-stats .stat-motion-icon,
 .dashboard-stats .stat-motion-icon::before,
 .dashboard-stats .stat-motion-icon svg{animation:none!important}
}


/* v65 — native SMS provider configuration guidance */
.provider-help{
 display:block;
 margin-top:7px;
 color:var(--muted);
 font-size:11px;
 line-height:1.55;
 font-weight:500;
}
#server-config-modal input[readonly]{
 opacity:.82;
 cursor:not-allowed;
 background:var(--surface-2);
}


/* v67 — build identity integrated into the ATM account card */
.atm-build-info{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:12px;row-gap:3px;margin-top:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,.16);color:#c8d7e8!important}
.atm-build-info>span{font-size:8px;font-weight:850;letter-spacing:.16em;color:#a9c4d7!important}
.atm-build-info>b{grid-column:2;grid-row:1 / span 2;display:flex;align-items:center;gap:7px;font-size:11px;color:#fff!important;white-space:nowrap}
.atm-build-info>b i{padding:4px 7px;border:1px solid rgba(126,230,203,.38);border-radius:6px;background:rgba(126,230,203,.12);color:#a6f2dd!important;font-size:8px;font-style:normal;letter-spacing:.08em}
.atm-build-info>small{font-size:8px;letter-spacing:.08em;color:#9eb2ca!important}
@media(max-width:420px){.atm-build-info{column-gap:6px}.atm-build-info>small{font-size:7px;letter-spacing:.04em}.atm-build-info>b{font-size:10px}}
/* v67 — allow the ATM card to grow for the added build details */
.credit-visual-row>.atm-credit-card{height:auto!important;min-height:320px!important;justify-content:flex-start!important;gap:0!important}
.credit-visual-row>.credit-promo-banner{height:auto!important;min-height:320px!important}
.atm-card-bottom{margin-top:16px!important}
.atm-build-info{margin-top:auto!important;padding-top:10px!important}
@media(max-width:900px){.credit-visual-row>.atm-credit-card,.credit-visual-row>.credit-promo-banner{height:auto!important;min-height:300px!important}}
@media(max-width:620px){.credit-visual-row>.atm-credit-card,.credit-visual-row>.credit-promo-banner{height:auto!important;min-height:270px!important}}
