@font-face{font-family:Vazirmatn;src:url('/static/brand/vazirmatn.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--bg:#f7f8f2;--panel:#fff;--panel2:#f2f5ef;--ink:#18392f;--text:#213c33;--muted:#637169;--line:#dfe5dc;--border:var(--line);--green:#153f36;--accent1:#21775b;--accent2:#153f36;--mint:#d7eddf;--gold:#edc58a;--ok:#23744e;--bad:#b33d42;--warn:#916119;--shadow:0 12px 35px #1c453809}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px;overflow-x:hidden}body{margin:0;background:var(--bg);color:var(--text);font-family:Vazirmatn,Tahoma,sans-serif;line-height:1.85;font-size:14px;overflow-x:hidden}a{color:var(--green);text-underline-offset:4px}button,input,textarea,select{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}img{max-width:100%;display:block}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{color:var(--ink);line-height:1.55}h1{font-size:30px;letter-spacing:-.8px}h2{font-size:25px}h3{font-size:17px}p{color:var(--muted)}:focus-visible{outline:3px solid #aa742b;outline-offset:4px}button:disabled{cursor:wait;opacity:.6}[hidden]{display:none!important}.skip{position:fixed;top:-90px;right:20px;z-index:999;background:var(--green);color:#fff;padding:12px}.skip:focus{top:10px}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;flex-shrink:0}.brand img{width:43px;height:43px}.brand strong{font-size:21px;font-weight:850;line-height:1.4;display:block;color:inherit}.brand small{font-size:10px;letter-spacing:2px;display:block;direction:ltr;font-weight:650}.muted{color:var(--muted)}.eyebrow{font-size:12px;color:#47775e;font-weight:750;display:flex;align-items:center;gap:9px;margin-bottom:17px}.eyebrow:before{content:'';width:23px;height:2px;background:#47775e}.btn,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:45px;border:1px solid transparent;border-radius:12px;padding:10px 20px;background:var(--green);color:#fff;text-decoration:none;font-weight:650;font-size:13px;transition:background .18s,transform .18s;white-space:normal}.btn:hover,.button:hover{background:#28604d;transform:translateY(-1px)}.btn.secondary,.button.secondary{background:#fff;color:var(--green);border-color:var(--line)}.btn.ghost{background:transparent;color:var(--green);border-color:var(--line)}.btn.danger{background:#fff0ef;color:#a5363e;border-color:#f0d2d0}.btn.small{min-height:36px;padding:5px 12px;font-size:12px}.text-link{font-size:13px;font-weight:650;text-decoration:none}.arrow{font-size:19px;line-height:1}.pill,.tag{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:8px;font-size:11px;background:#eef2ec;color:#4b6456;white-space:nowrap}.pill.ok{color:#236746;background:#e6f3e9}.pill.bad{color:#a0363d;background:#ffebeb}.pill.warn{color:#835612;background:#fff2da}.card{background:var(--panel);border:1px solid var(--line);padding:24px;border-radius:18px;margin-bottom:20px;box-shadow:var(--shadow)}.card h3{margin-bottom:15px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.grid .card{margin:0}.row{display:flex;gap:16px;flex-wrap:wrap}.row>*{flex:1;min-width:180px}.field{margin-bottom:18px}label{display:block;font-size:12px;font-weight:650;color:#435c4f;margin-bottom:7px}input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{width:100%;background:#fcfdfb;border:1px solid #ced9ce;border-radius:10px;color:var(--ink);min-height:46px;padding:10px 13px;outline-offset:2px;font-size:14px}input[type=checkbox],input[type=radio]{width:17px;height:17px;accent-color:var(--green);vertical-align:middle}input[readonly]{background:#f0f3ed!important;color:#6b786d!important}input[type=email],input[type=password],input[autocomplete=username],code{direction:ltr;text-align:left}textarea{resize:vertical;min-height:100px}.hint,small.muted{font-size:11px;color:var(--muted);display:block;margin-top:5px}.error,.notice{padding:13px 16px;border-radius:11px;font-size:13px;margin-bottom:20px;overflow-wrap:anywhere}.error{color:#943039;background:#fff0f0;border:1px solid #f0cbce}.notice{color:#346146;background:#eaf4e9;border:1px solid #d2e3d0}.empty{text-align:center;padding:36px 20px;color:var(--muted)}.table-wrap{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;min-width:650px}th,td{text-align:right;padding:13px 14px;border-bottom:1px solid #e9ede7;font-size:12px;vertical-align:middle}th{font-weight:650;color:#6c7a6f;background:#f6f8f3;white-space:nowrap}tbody tr:hover{background:#fafcf7}tr:last-child td{border-bottom:0}td input{min-width:130px}details summary{cursor:pointer}details[open]>summary{margin-bottom:13px}audio{max-width:100%;height:36px}pre,code{overflow-wrap:anywhere;white-space:pre-wrap}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.toolbar>*{flex:1;min-width:140px}form.inline{display:inline}.inline .btn{margin:3px}.password-field{position:relative}.password-field input{padding-right:64px!important}.password-toggle{position:absolute;right:7px;top:5px;min-height:36px;background:none;border:none;font-size:11px;color:#38694e;padding:0 8px}.form-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.form-actions p{font-size:12px;margin:0}.full{width:100%}.icon-box{width:43px;height:43px;display:grid;place-items:center;background:#eaf2e6;border-radius:12px;font-size:21px;color:#346b4b}.toast{position:fixed;bottom:25px;left:25px;background:var(--green);color:#fff;padding:12px 20px;z-index:100;border-radius:12px;max-width:calc(100% - 40px)}
/* Public website */
.container{width:min(1192px,calc(100% - 64px));margin:auto}.site-header{position:sticky;top:0;z-index:40;background:#f7f8f2f5;backdrop-filter:blur(12px);border-bottom:1px solid #e4e8dd}.site-nav{height:89px;display:flex;align-items:center;justify-content:space-between;gap:25px}.site-links{display:flex;align-items:center;gap:27px}.site-links a{text-decoration:none;color:#647365;font-size:13px}.nav-actions{display:flex;gap:12px;align-items:center}.nav-toggle{display:none}.hero{padding:64px 0 62px;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.hero h1{font-size:clamp(37px,4.2vw,59px);font-weight:850;line-height:1.45;margin-bottom:22px;letter-spacing:-1.9px}.hero h1 em{font-style:normal;position:relative;color:#43815d}.hero p{font-size:15px;max-width:470px;line-height:2.1}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:27px 0 22px}.hero-note{font-size:11px;display:flex;gap:17px;color:#728071;flex-wrap:wrap}.hero-art{position:relative;margin:0;padding-bottom:34px}.hero-art>img{width:100%;height:465px;object-fit:cover;border-radius:110px 24px 24px 24px}.art-note{position:absolute;bottom:12px;right:24px;left:24px;padding:17px 19px;border-radius:16px;background:#fffffff0;box-shadow:0 15px 30px #143a3412;display:flex;gap:14px;align-items:center;backdrop-filter:blur(12px)}.art-note strong{font-size:13px}.art-note small{display:block;font-size:11px;color:var(--muted)}.sound-bars{display:flex;gap:3px;align-items:center;margin-inline-start:auto;direction:ltr;height:25px}.sound-bars i{display:block;width:3px;border-radius:5px;background:#5b9470;height:12px}.sound-bars i:nth-child(2n){height:22px}.sound-bars i:nth-child(3n){height:30px}.capability-strip{border-block:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;padding:24px 0;color:#516354;font-size:12px;flex-wrap:wrap}.capability-strip span{display:flex;gap:10px;align-items:center}.capability-strip b{font-size:18px;color:#5e8469}.section{padding:80px 0}.section-heading{display:flex;justify-content:space-between;gap:35px;align-items:end;margin-bottom:30px}.section-heading h2{font-size:32px;letter-spacing:-.7px;margin-bottom:0}.section-heading>p{max-width:360px;font-size:13px;margin:0}.feature-card{padding:28px;border:1px solid var(--line);border-radius:18px;background:#fff}.feature-card h3{margin:20px 0 10px}.feature-card p{font-size:13px;margin:0}.feature-card .number{font-size:11px;color:#8b9a88;float:left}.feature-card.featured{background:var(--green);border-color:var(--green);color:#fff}.featured h3{color:#fff}.featured p{color:#c2d7c7}.featured .icon-box{background:#ffffff13;color:#deebce}.workflow{background:#eaf0e5;border-radius:28px;padding:40px;display:grid;grid-template-columns:1fr 1.3fr;gap:65px;align-items:center}.workflow h2{font-size:31px}.steps-list{list-style:none;padding:0;margin:0;display:grid;gap:20px}.steps-list li{display:flex;gap:17px;align-items:flex-start}.step-index{background:#fff;border:1px solid #d8e2d1;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;flex-shrink:0;font-weight:700}.steps-list h3{font-size:14px;margin-bottom:4px}.steps-list p{font-size:12px;margin:0}.account-card{display:flex;flex-direction:column;padding:27px;background:white;border:1px solid var(--line);border-radius:18px}.account-card h3{margin:20px 0 10px}.account-card p{font-size:13px}.account-card .btn{margin-top:auto}.account-card .account-links{font-size:12px;display:flex;gap:13px;flex-wrap:wrap;margin-top:16px}.faq-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:75px}.faq-layout details{padding:18px 0;border-bottom:1px solid var(--line)}.faq-layout summary{font-size:14px;font-weight:650;list-style:none;display:flex;justify-content:space-between;gap:15px}.faq-layout summary:after{content:'+';font-size:23px;line-height:1}.faq-layout details[open] summary:after{content:'−'}.faq-layout details p{font-size:13px;margin:15px 0 0}.cta-band{padding:40px;border-radius:24px;background:var(--green);display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:65px}.cta-band h2{color:#fff;margin:0 0 8px}.cta-band p{color:#c4d7c8;margin:0;font-size:13px}.cta-band .btn{background:#ddefcf;color:var(--green)}.site-footer{border-top:1px solid var(--line);padding:33px 0}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}.footer-links{display:flex;gap:22px;flex-wrap:wrap;font-size:12px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:24px;font-size:11px;color:#7a8679}
/* Authentication */
.auth-page{min-height:100svh;display:grid;grid-template-columns:1fr 1fr;padding:22px;gap:20px;background:#fbfcf8}.auth-story{background:#eaf0e4;border-radius:24px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:40px;min-height:calc(100svh - 44px)}.auth-story h2{font-size:36px;font-weight:800;max-width:400px;margin:35px 0 12px}.auth-story p{font-size:14px;max-width:390px}.auth-story>img{width:100%;height:310px;object-fit:cover;mix-blend-mode:multiply;border-radius:22px}.auth-story-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;color:#54664f}.auth-main{display:flex;align-items:center;justify-content:center;padding:35px;min-width:0}.auth-box{width:100%;max-width:390px}.auth-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.auth-top a{font-size:12px;text-decoration:none}.auth-top .brand{display:none}.auth-box h1{font-size:27px;margin:17px 0 10px}.auth-box .intro{font-size:13px;margin-bottom:25px}.role-tabs{display:flex;gap:5px;padding:4px;border:1px solid var(--line);background:#f0f3eb;border-radius:12px;margin-bottom:24px}.role-tabs a{flex:1;text-align:center;padding:8px;border-radius:8px;font-size:12px;text-decoration:none;color:#667364}.role-tabs a.active{background:#fff;color:var(--green);box-shadow:0 2px 6px #143a3410;font-weight:700}.form-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin:8px 0 22px;color:var(--muted)}.form-meta a{font-weight:650}.auth-bottom{text-align:center;font-size:12px;margin:23px 0 0}.auth-bottom a{font-weight:700;margin-right:6px}.auth-security{border-top:1px solid var(--line);padding-top:19px;margin-top:25px;font-size:10px;text-align:center;color:#798576}.auth-box .notice p{color:inherit;margin:0}.form-step{font-size:11px;color:#7a8978}.success-icon{width:52px;height:52px;border-radius:50%;background:#ddedda;color:#376a41;display:grid;place-items:center;font-size:24px;margin-bottom:15px}
/* Shared workspace */
.workspace-sidebar{position:fixed;inset:0 0 0 auto;width:248px;background:var(--green);color:#f0f7ec;padding:28px 20px 20px;display:flex;flex-direction:column;z-index:60;transition:transform .22s ease}.workspace-sidebar .brand{color:#fff;margin:0 9px 34px}.workspace-sidebar .brand img{border:1px solid #ffffff22;border-radius:14px}.sidebar-label{font-size:10px;color:#a6c0b1;margin:0 13px 11px}.workspace-nav{display:flex;flex-direction:column;gap:5px;overflow:auto;flex:1;scrollbar-width:thin}.workspace-nav a,.workspace-nav button{display:flex;align-items:center;gap:13px;width:100%;text-align:right;background:transparent;border:0;font:inherit;cursor:pointer;text-decoration:none;color:#bed1c4;padding:11px 14px;font-size:12px;border-radius:10px}.workspace-nav a.active,.workspace-nav button.active,.workspace-nav button[aria-current=true]{background:#ddecce;color:#163e32;font-weight:750}.workspace-nav a:hover:not(.active),.workspace-nav button:hover:not(.active):not([aria-current=true]){background:#ffffff0e;color:#fff}.nav-icon{font-size:17px;width:21px;text-align:center;line-height:1}.sidebar-bottom{border-top:1px solid #ffffff18;padding:20px 9px 0;margin-top:20px}.sidebar-bottom>a{color:#c5d5c8;text-decoration:none;font-size:12px}.workspace{margin-right:248px;min-height:100vh;min-width:0;transition:margin-right .22s ease}.workspace-topbar{height:86px;border-bottom:1px solid var(--line);padding:0 36px;display:flex;justify-content:space-between;align-items:center;background:#ffffffb3;gap:20px}.crumb{font-size:11px;color:#7b897d}.workspace-topbar strong{font-size:13px}.top-actions{display:flex;gap:17px;align-items:center;font-size:12px;color:#5e6f5f}.avatar{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:#e7eede;color:#446141;font-weight:700}.workspace-main{padding:30px 36px;max-width:1600px;margin:auto;min-width:0}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-head h1{font-size:25px;margin:0 0 5px}.page-head p{font-size:12px;margin:0}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px;margin-bottom:22px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:var(--shadow);font-size:11px;color:#687867}.stat-card b{display:block;font-size:29px;font-weight:750;color:var(--green);margin-bottom:3px;font-variant-numeric:tabular-nums}.stat-card:first-child{background:#e7efdf}.stat-card small{font-size:11px}.workspace-menu{display:none}.sidebar-scrim{display:none}.workspace-footer{margin-top:35px;padding-top:20px;border-top:1px solid var(--line);font-size:10px;color:#87917e;display:flex;justify-content:space-between}.dashboard-banner{background:#e9f0e1;border:1px solid #dce6d4;border-radius:18px;padding:26px 28px;display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:24px}.dashboard-banner h2{font-size:22px;margin:0 0 7px}.dashboard-banner p{font-size:12px;margin:0}.user-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:22px;align-items:start}.profile-summary{display:flex;gap:15px;align-items:center;margin-bottom:20px}.profile-summary .avatar{width:54px;height:54px;font-size:22px;border-radius:16px}.info-list{margin:0}.info-list>div{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.info-list dt{color:var(--muted)}.info-list dd{margin:0;overflow-wrap:anywhere}.info-list>div:last-child{border-bottom:0}.department-list{display:grid;gap:10px}.department-row{display:flex;gap:13px;align-items:center;border:1px solid var(--line);padding:13px;border-radius:12px}.department-row strong{font-size:13px}.department-row .pill{margin-right:auto}.search-field{max-width:280px;margin-bottom:16px}.settings-form{max-width:630px}.workspace-main .card>p{font-size:12px}.workspace-main section{min-width:0}
/* Brand the existing working call widget without changing its call controls. */
.ec-sup-btn{background:var(--green)!important;box-shadow:0 7px 24px #153f3630!important;inset-inline-end:24px!important}.ec-sup-panel{background:#fff!important;color:var(--ink)!important;border-color:var(--line)!important;font-family:Vazirmatn,Tahoma,sans-serif!important;max-height:75vh;overflow:auto!important}.ec-sup-head{background:var(--green)!important;color:#fff!important}.ec-sup-dept{background:#f5f8f0!important;color:var(--ink)!important;border-color:#d9e3d4!important}.ec-sup-status,.ec-sup-back{color:#637363!important}.ec-sup-big{color:var(--green)!important}.ec-sup-cancel,.ec-sup-mute{background:#eef3e9!important;color:var(--green)!important}
@media(min-width:1500px){.auth-story>img{height:420px}}@media(max-width:1100px){.site-links{gap:17px}.hero{gap:30px}.hero-art>img{height:400px}.workspace-sidebar{width:220px}.workspace{margin-right:220px}.workspace-main{padding:26px 22px}.workspace-topbar{padding-inline:22px}.auth-story{padding:28px}.auth-story h2{font-size:30px}}
@media(max-width:850px){.container{width:calc(100% - 36px)}.site-nav{height:76px;gap:12px}.site-links{display:none;position:absolute;top:76px;right:18px;left:18px;background:#fff;border:1px solid var(--line);padding:16px;border-radius:14px;box-shadow:var(--shadow)}.site-links.open{display:flex;flex-direction:column;align-items:stretch}.site-links a{padding:8px}.nav-toggle{display:inline-flex;min-width:42px;padding:8px}.hero{padding:36px 0;gap:27px}.hero h1{font-size:39px}.hero-art>img{height:380px}.grid{gap:13px}.feature-card,.account-card{padding:21px}.section{padding:52px 0}.workflow{gap:30px;padding:30px}.faq-layout{gap:35px}.auth-page{grid-template-columns:.85fr 1fr;padding:14px;gap:5px}.auth-main{padding:22px}.auth-story{min-height:calc(100svh - 28px);padding:24px}.auth-story h2{font-size:27px}.auth-story>img{height:250px}.workspace-sidebar{transform:translateX(100%);transition:transform .2s;width:248px}.workspace-sidebar.open{transform:none}.workspace{margin-right:0}.workspace-menu{display:inline-flex;min-width:40px;padding:6px 10px}.sidebar-scrim.open{display:block;position:fixed;inset:0;background:#10261c66;z-index:55}.workspace-topbar{height:74px}.user-layout{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.brand strong{font-size:17px}.brand img{width:36px;height:36px}.brand small{font-size:8px}.nav-actions{gap:7px}.nav-actions .btn{min-height:40px;padding:8px 12px;font-size:11px}.nav-actions .login-link{display:none}.hero{grid-template-columns:1fr;gap:24px}.hero h1{font-size:42px;letter-spacing:-1.3px}.hero p{font-size:14px}.hero-art>img{height:330px;border-top-right-radius:70px}.hero-art{padding-bottom:25px}.hero-note{gap:14px}.capability-strip{display:grid;grid-template-columns:1fr 1fr;gap:16px;font-size:11px;padding:21px 0}.grid{grid-template-columns:1fr}.section-heading{display:block}.section-heading h2{font-size:27px;margin-bottom:15px}.section-heading>p{max-width:none}.feature-card{padding:23px}.workflow{grid-template-columns:1fr;padding:25px;gap:25px}.workflow h2{font-size:27px}.faq-layout{grid-template-columns:1fr;gap:15px}.cta-band{padding:27px;display:block;margin-bottom:35px}.cta-band h2{font-size:23px}.cta-band .btn{margin-top:22px}.footer-inner{display:grid;gap:24px}.footer-bottom{display:block}.site-footer{padding-bottom:90px}.auth-page{display:block;padding:0}.auth-story{display:none}.auth-main{min-height:100svh;padding:25px 24px;align-items:flex-start}.auth-box{padding-top:10px;max-width:410px}.auth-top .brand{display:flex}.auth-top{margin-bottom:38px}.auth-box h1{font-size:26px}.auth-box .intro{font-size:12px}.workspace-main{padding:23px 15px}.workspace-topbar{padding-inline:15px;gap:10px}.top-actions{gap:9px}.top-actions .date-label{display:none}.page-head{align-items:flex-start;flex-wrap:wrap;gap:12px}.page-head h1{font-size:22px}.card{padding:20px 16px;border-radius:15px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:16px}.stat-card b{font-size:25px}.user-layout{grid-template-columns:1fr}.dashboard-banner{padding:23px;display:block}.dashboard-banner .btn{margin-top:17px}.dashboard-banner h2{font-size:21px}.row>*{min-width:min(100%,180px)}.workspace-footer{padding-bottom:70px}.auth-security{margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

.feature-card .number{color:#62735e}.feature-card.featured .number{color:#bad1b8}.hint,small.muted,.form-step,.auth-security{color:#63705d}.workspace-footer{color:#66745e}.workspace-main th{color:#53654f}.workspace-main .stat-card{color:#52674e}.auth-story-bottom{color:#4a6245}.footer-bottom{color:#62725f}.hero-note{color:#61725e}.brand small{letter-spacing:1.8px}#live-monitor{font-size:13px}#live-monitor>div{padding-block:5px}.workspace-nav a,.workspace-nav button{min-height:43px}.sidebar-label{color:#b6cebd}

:root{--muted:#566650}.eyebrow{color:#3e6a4d}.crumb{color:#60725e}input[readonly]{color:#53664f!important}

/* Keep mobile navigation controls comfortable to tap. */
@media(min-width:851px){.site-links .mobile-role-link{display:none}}
@media(max-width:850px){.site-links a{min-height:44px;display:flex;align-items:center}.nav-actions .nav-toggle{min-width:44px;min-height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(prefers-reduced-motion:reduce){.workspace-sidebar,.workspace{transition:none}}.table-scroll-hint{font-size:11px;color:var(--muted);margin:6px 2px 0;text-align:left}.table-wrap.is-scrollable{scrollbar-width:thin}/* ===== Hamava Auth Beauty v2 — هم‌استایل لندینگ Limty v3 =====
   Append-only override. No template change. Keeps all class names. */
body[data-ui-auth]{background:#0b1f1a;color:#213c33}
body[data-ui-auth]::before,body[data-ui-auth]::after{content:'';position:fixed;z-index:0;pointer-events:none;border-radius:50%;filter:blur(90px);opacity:.5}
body[data-ui-auth]::before{width:520px;height:520px;top:-160px;left:-140px;background:radial-gradient(circle,#0fb99666,transparent 70%)}
body[data-ui-auth]::after{width:460px;height:460px;bottom:-160px;right:-120px;background:radial-gradient(circle,#0fb99644,transparent 70%)}
.auth-page{position:relative;z-index:1;max-width:1240px;margin:0 auto;min-height:100svh;grid-template-columns:1.05fr 1fr;padding:28px;gap:28px;background:transparent;align-items:stretch}
/* ---- Story side: rich gradient like landing hero ---- */
.auth-story{background:linear-gradient(160deg,#0d2b23 0%,#153f36 45%,#0e6b52 100%);border-radius:28px;padding:44px 42px;min-height:calc(100svh - 56px);color:#eaf5ee;box-shadow:0 30px 80px #0b1f1a55;overflow:hidden;isolation:isolate}
.auth-story::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(600px 300px at 85% 10%,#0fb99655,transparent 60%),radial-gradient(500px 320px at 10% 95%,#0fb99633,transparent 60%)}
.auth-story::after{content:'';position:absolute;inset:0;z-index:-1;opacity:.14;background-image:radial-gradient(#ffffff55 1px,transparent 1px);background-size:22px 22px}
.auth-story .brand{color:#fff}
.auth-story .brand small{color:#9fd8c2}
.auth-story .eyebrow{color:#7fe3bd}
.auth-story .eyebrow:before{background:#7fe3bd}
.auth-story h2{color:#fff;font-size:clamp(30px,3.2vw,42px);line-height:1.5;letter-spacing:-.5px;margin:30px 0 14px}
.auth-story p{color:#c4ddd2;font-size:14.5px;line-height:2.1;max-width:420px}
.auth-story>img{height:300px;object-fit:cover;border-radius:20px;mix-blend-mode:normal;box-shadow:0 20px 50px #00000045;border:1px solid #ffffff22;margin-top:26px}
.auth-story-bottom{color:#9fd8c2;margin-top:26px;padding-top:20px;border-top:1px solid #ffffff1e}
/* ---- Form side: floating glass card ---- */
.auth-main{padding:12px}
.auth-box{width:100%;max-width:440px;background:#fffffffa;backdrop-filter:blur(14px);border:1px solid #e2ece4;border-radius:26px;padding:36px 36px 28px;box-shadow:0 30px 70px #0b1f1a2e;position:relative;overflow:hidden;animation:svAuthUp .5s ease both}
.auth-box::before{content:'';position:absolute;top:0;right:0;left:0;height:5px;background:linear-gradient(90deg,#0fb996,#0a7a5f,#0fb996)}
.auth-top{margin-bottom:24px}
.auth-top>a:last-child{font-size:12px;color:#0a7a5f;background:#e6f6ef;border:1px solid #cde9da;padding:8px 14px;border-radius:999px;text-decoration:none;font-weight:700;transition:.2s}
.auth-top>a:last-child:hover{background:#0fb996;color:#fff;transform:translateY(-1px)}
.form-step{display:inline-flex;align-items:center;gap:8px;font-size:11.5px;font-weight:800;color:#0a7a5f;background:#e6f6ef;border:1px solid #cde9da;padding:6px 14px;border-radius:999px}
.form-step::before{content:'';width:7px;height:7px;border-radius:50%;background:#0fb996;box-shadow:0 0 0 4px #0fb99622;animation:svPulse 1.8s infinite}
.auth-box h1{font-size:29px;letter-spacing:-.5px;margin:16px 0 8px;color:#10281f}
.auth-box .intro{font-size:13.5px;color:#5b6f63;margin-bottom:24px;line-height:2}
/* role tabs — modern segmented */
.role-tabs{gap:6px;padding:6px;border:1px solid #dde7de;background:#f1f6f1;border-radius:16px;margin-bottom:26px}
.role-tabs a{padding:11px 6px;border-radius:11px;font-size:13px;font-weight:700;color:#6b7d70;transition:.2s}
.role-tabs a:hover{color:#0a7a5f;background:#ffffffaa}
.role-tabs a.active{background:linear-gradient(135deg,#0fb996,#0a7a5f);color:#fff;box-shadow:0 8px 20px #0fb99655;font-weight:800}
/* inputs */
.auth-box .field{margin-bottom:18px}
.auth-box label{font-size:12.5px;font-weight:750;color:#33473c;margin-bottom:8px}
.auth-box input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.auth-box select,.auth-box textarea{min-height:52px;border-radius:14px;border:1.5px solid #d3ded4;background:#fbfdfb;font-size:14.5px;padding:12px 16px;transition:border .2s,box-shadow .2s,background .2s}
.auth-box input:focus,.auth-box select:focus,.auth-box textarea:focus{border-color:#0fb996;background:#fff;box-shadow:0 0 0 4px #0fb99622;outline:none}
.password-field input{padding-left:70px!important}
.password-toggle{color:#0a7a5f;font-weight:800;font-size:12px;top:8px;left:8px;right:auto;background:#e6f6ef;border-radius:9px;padding:0 12px;min-height:36px}
.password-toggle:hover{background:#0fb996;color:#fff}
.form-meta{font-size:12px;margin:10px 0 22px;align-items:center}
.form-meta a{color:#0a7a5f;text-decoration:none;font-weight:800}
.form-meta a:hover{text-decoration:underline}
/* main button — landing CTA style */
.auth-box .btn.full{min-height:54px;border-radius:15px;font-size:15px;font-weight:800;background:linear-gradient(135deg,#0fb996 0%,#0a7a5f 100%);box-shadow:0 14px 30px #0fb99655;letter-spacing:-.2px;transition:transform .2s,box-shadow .2s,filter .2s}
.auth-box .btn.full:hover{transform:translateY(-2px);box-shadow:0 18px 38px #0fb99666;filter:brightness(1.05);background:linear-gradient(135deg,#0fb996 0%,#0a7a5f 100%)}
.auth-box .btn.full:active{transform:translateY(0)}
.auth-bottom{font-size:13px;background:#f2f7f2;border:1px dashed #cfe0d1;border-radius:13px;padding:13px;margin-top:22px}
.auth-bottom a{color:#0a7a5f}
.auth-security{font-size:11px;color:#8a988d;border-top:1px solid #e6ede6}
.auth-box .error{border-radius:13px;font-weight:700}
.auth-box .notice{border-radius:13px}
.hint{font-size:11.5px}
/* settings gear */
body[data-ui-auth] .display-open{border-radius:12px;box-shadow:0 8px 22px #0b1f1a25;background:#ffffffee}
/* animations */
@keyframes svAuthUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes svPulse{0%{box-shadow:0 0 0 0 #0fb99655}70%{box-shadow:0 0 0 8px transparent}100%{box-shadow:0 0 0 0 transparent}}
/* ---- dark mode (html[data-display-theme=dark]) ---- */
html[data-display-theme="dark"] body[data-ui-auth],html[data-display-theme="dark"] [data-ui-auth]{background:#0b1f1a}
html[data-display-theme="dark"] .auth-page{background:transparent!important}
html[data-display-theme="dark"] .auth-box{background:#13281ff8!important;border-color:#2c4a3d!important;box-shadow:0 30px 70px #00000066}
html[data-display-theme="dark"] .auth-box h1{color:#eaf5ee!important}
html[data-display-theme="dark"] .auth-box .intro{color:#a9bfae!important}
html[data-display-theme="dark"] .auth-box label{color:#c4d6c8!important}
html[data-display-theme="dark"] .role-tabs{background:#0e2018!important;border-color:#2c4a3d!important}
html[data-display-theme="dark"] .role-tabs a{color:#93a89a!important}
html[data-display-theme="dark"] .role-tabs a.active{color:#fff!important}
html[data-display-theme="dark"] .auth-bottom{background:#0e2018!important;border-color:#2c4a3d!important;color:#a9bfae!important}
html[data-display-theme="dark"] .auth-top>a:last-child{background:#1a3a2d!important;border-color:#2c4a3d!important;color:#7fe3bd!important}
html[data-display-theme="dark"] .form-step{background:#1a3a2d!important;border-color:#2c4a3d!important;color:#7fe3bd!important}
/* ---- responsive ---- */
@media(max-width:1100px){.auth-page{gap:18px;padding:18px}.auth-story{padding:32px}}
@media(max-width:850px){.auth-page{grid-template-columns:1fr;max-width:560px}.auth-story{min-height:0;padding:30px 28px}.auth-story>img{height:200px}.auth-main{padding:6px}.auth-box{max-width:100%}}
@media(max-width:620px){
body[data-ui-auth]::before,body[data-ui-auth]::after{opacity:.35}
.auth-page{display:flex;flex-direction:column;padding:14px;gap:14px}
.auth-story{display:flex;min-height:0;border-radius:22px;padding:26px 24px}
.auth-story h2{font-size:25px;margin:18px 0 8px}
.auth-story p{font-size:13px}
.auth-story>img{height:170px;margin-top:18px}
.auth-story-bottom{display:none}
.auth-main{min-height:0;padding:4px}
.auth-box{padding:28px 22px 22px;border-radius:22px}
.auth-box h1{font-size:24px}
.auth-box .btn.full{min-height:52px}
}
@media(prefers-reduced-motion:reduce){.auth-box{animation:none}.form-step::before{animation:none}}
