@font-face{font-family:Manrope;src:url('/design/fonts/manrope.ttf?v=3ae11c49db0455a3') format('truetype');font-weight:200 800;font-display:swap}
:root{color-scheme:light;--bg:#f5f8ff;--ink:#142035;--muted:#334155;--faint:#475569;--blue:#245bda;--blue-hover:#1b52d1;--line:#dae4f0;--surface:#ffffffbf;--solid:#fff;--subtle:#f0f5fc;--accent:#eaf1ff;--green:#17644e;--green-bg:#e6f6ef;--amber:#765315;--amber-bg:#fbf2dd;--red:#a12f46;--shadow:0 8px 32px #25457606,inset 0 1px 0 #ffffffde;--glass:blur(20px) saturate(135%)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:30px}
body{margin:0;background:radial-gradient(ellipse at 30% 0,#e5f0ff99,transparent 55%),radial-gradient(ellipse at 100% 30%,#e8f5fc80,transparent 60%),var(--bg);background-attachment:fixed;color:var(--ink);font:500 14px/1.6 Manrope,Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button, a{transition:background .18s,color .18s,box-shadow .18s,transform .18s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #83acff;outline-offset:3px}h1,h2,h3,p{margin-top:0}button{color:inherit}svg{display:block;flex-shrink:0}[hidden]{display:none!important}
.icon{width:19px;height:19px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.brand-link{text-decoration:none;display:inline-flex;align-items:center;flex-shrink:0}.brand{display:inline-flex;align-items:center;gap:9px;height:46px;color:var(--ink);direction:ltr;white-space:nowrap}.brand-mark{display:block;width:34px;height:34px;flex-shrink:0;fill:currentColor}.brand-mark-accent{fill:#2469f6}.brand-name{font:800 27px/1 Manrope,Arial,sans-serif;letter-spacing:-1px}
.rail-brand .brand{height:43px}.rail-brand .brand-mark{width:32px;height:32px}.rail-brand .brand-name{font-size:25px}
.public-footer .brand{height:39px;gap:8px}.public-footer .brand-mark{width:28px;height:28px}.public-footer .brand-name{font-size:23px}
html[data-theme=dark] .hero-emblem,html[data-theme=dark] .boot img{filter:brightness(0) invert(1)}
@media(max-width:520px){.public-header .brand,.docs-public-header .brand{height:41px;gap:8px}.public-header .brand-mark,.docs-public-header .brand-mark{width:30px;height:30px}.public-header .brand-name,.docs-public-header .brand-name{font-size:24px}}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;border:1px solid transparent;border-radius:11px;background:var(--blue);color:#fff;padding:11px 17px;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap;line-height:1.4}.button:hover{background:var(--blue-hover);box-shadow:0 5px 12px #2865ef24;transform:translateY(-1px)}.button .icon{width:16px;height:16px}.button.secondary{background:var(--solid);color:var(--ink);border-color:var(--line)}.button.secondary:hover{background:var(--subtle);border-color:#b9ccef;box-shadow:none}.button.soft{background:var(--accent);color:var(--blue)}.button.soft:hover{background:#d9e6ff}.button.danger{color:var(--red);border-color:#d8a7b055;background:#d56d7910}.button.small{font-size:12px;min-height:30px;padding:6px 9px;gap:5px;border-radius:8px}.button.small .icon{width:13px;height:13px}
.icon-button{padding:9px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;min-width:37px;min-height:37px}.icon-button:hover{background:var(--accent);color:var(--blue)}.text-link,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;background:none;padding:0;font-weight:700;font-size:12px;text-decoration:none;color:var(--blue)}.text-link:hover,.text-button:hover{color:var(--blue-hover);background:none;box-shadow:none}.text-link .icon{width:17px;height:17px}.eyebrow{display:block;font-size:12px;font-weight:700;letter-spacing:1.4px;color:var(--muted);margin-bottom:9px}.glass-card,.panel,.stat{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);backdrop-filter:var(--glass);-webkit-backdrop-filter:var(--glass)}
/* Public landing */
.public-page{overflow:clip}.public-header{max-width:1200px;margin:22px auto 0;min-height:76px;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:30px;background:var(--surface);border:1px solid var(--solid);box-shadow:0 8px 35px #29487905;border-radius:22px;backdrop-filter:var(--glass);-webkit-backdrop-filter:var(--glass)}.public-header nav{display:flex;align-items:center;gap:30px}.public-header nav a{font-size:12px;text-decoration:none;font-weight:600;color:var(--muted)}.public-header nav a:hover{color:var(--blue)}.public-header nav small{font-size:12px;color:var(--blue);padding:3px 5px;background:var(--accent);border-radius:5px;margin-left:2px}.public-header-actions{display:flex;align-items:center;gap:10px}.public-login{display:flex;align-items:center;gap:13px;background:var(--solid);border:1px solid var(--line);border-radius:11px;padding:10px 15px;font-size:12px;font-weight:700;min-height:40px}.public-login .icon{width:15px;height:15px}.public-login:hover{color:var(--blue);background:var(--accent)}
.crystal-hero{max-width:1120px;padding:58px 24px 40px;margin:auto;text-align:center}.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;border:1px solid #dce8ff;border-radius:30px;background:#ffffffa3;padding:7px 13px;color:#3e526f;font-size:12px;font-weight:600;margin-bottom:23px}.hero-eyebrow i,.status-dot,.environment i{width:6px;height:6px;display:inline-block;border-radius:50%;background:#64adac;box-shadow:0 0 0 3px #64adac13}
.crystal-hero h1{font-size:clamp(44px,4.7vw,67px);line-height:1.12;font-weight:700;letter-spacing:-3.7px;margin:0 0 22px}.crystal-hero h1 span{color:var(--blue)}.crystal-hero>p{color:var(--muted);font-size:14px;line-height:1.85;margin:0 0 27px}.hero-actions{display:flex;align-items:center;justify-content:center;gap:28px}.hero-actions .button{min-height:49px;padding:13px 22px;box-shadow:0 8px 18px #2865ef28;border-radius:13px}.hero-actions>.text-link{color:var(--muted);font-size:12px}
.hero-scene{position:relative;height:328px;max-width:860px;margin:20px auto 0;isolation:isolate}.hero-halo{position:absolute;z-index:-1;inset:1% 16% 0;border-radius:50%;background:radial-gradient(ellipse,#b7dbff75,transparent 65%);filter:blur(22px)}.hero-emblem{position:absolute;width:272px;height:272px;left:calc(50% - 136px);top:17px;object-fit:contain;filter:drop-shadow(0 20px 25px #2878c91c);animation:emblem-float 7s ease-in-out infinite}.hero-sms{position:absolute;left:8%;top:77px;width:250px;border-radius:20px;padding:18px 19px;transform:rotate(-7deg);z-index:2;background:linear-gradient(125deg,#ffffffea,#ffffffe0);border-color:#fff;box-shadow:0 16px 35px #4273b417,inset 0 1px 0 #fff;animation:sms-float 8s ease-in-out infinite}.hero-sms-head{display:flex;align-items:center;gap:9px;text-align:left}.sms-symbol{height:31px;width:31px;display:grid;place-items:center;border-radius:10px;background:#e7f0ff;color:#3975e9}.sms-symbol .icon{width:17px;height:17px}.hero-sms-head strong{font-size:12px;display:block;line-height:1.5}.hero-sms-head span span{font-size:12px;color:var(--muted)}.hero-sms-head>div>span{display:block;font-size:12px;color:#4b5f78}.hero-sms-head>i{width:5px;height:5px;margin-left:auto;background:#42b692;border-radius:50%}.hero-code{font-size:27px;letter-spacing:2px;font-weight:700;line-height:1.4;margin:18px 0 15px;color:#23344f;white-space:nowrap}.hero-sms-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e6edf7;padding-top:10px}.hero-sms-foot>span{color:#4b5f78;font-size:12px}.hero-sms-foot>strong{font-size:15px;color:#17694f}.hero-sms-foot small{font-size:12px;font-weight:500}.hero-ref{position:absolute;right:8%;top:81px;z-index:2;width:183px;padding:19px;border-radius:20px;text-align:left;transform:rotate(8deg);background:linear-gradient(140deg,#ffffffe8,#f5f0fff2);border-color:#fff;box-shadow:0 15px 35px #5272bd12;animation:ref-float 8.5s ease-in-out infinite}.hero-ref>span{font-size:12px;color:#42516c}.hero-ref strong{display:block;font-size:43px;color:#394eaa;letter-spacing:-2px;line-height:1.5}.hero-ref small{font-size:12px;color:#52607b}.hero-confirm{position:absolute;bottom:19px;left:calc(50% - 64px);display:flex;gap:7px;align-items:center;padding:8px 12px;border-radius:30px;color:#23684f;background:#ffffffbd;border:1px solid #fff;box-shadow:0 4px 16px #32767905;font-size:12px}.hero-confirm .icon{width:13px;height:13px}.hero-flow{display:flex;align-items:center;justify-content:center;gap:24px;padding:25px 0 0;color:var(--muted);font-size:12px}.hero-flow>span{display:flex;align-items:center;gap:9px}.hero-flow b{font-size:12px;border:1px solid var(--line);height:26px;width:26px;border-radius:9px;display:grid;place-items:center;background:var(--surface);color:var(--faint);font-weight:500}.hero-flow>.icon{width:13px;height:13px;color:#a3b5d1}
.public-section{max-width:1120px;padding:52px 28px;margin:0 auto}.how-section{padding-top:64px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:25px}.public-section h2{font-size:34px;letter-spacing:-1.3px;line-height:1.25;font-weight:650;margin:0}.section-heading>p,.api-section p{color:var(--muted);font-size:12px;line-height:1.9;margin:0}.how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.how-card{padding:25px 26px;border-radius:20px}.how-card>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:37px}.how-card>div>span{font-size:12px;color:var(--faint)}.how-card>div>.icon{color:var(--blue);height:21px;width:21px}.how-card h3{font-size:17px;font-weight:650;letter-spacing:-.5px;margin:0 0 10px}.how-card p{font-size:12px;color:var(--muted);line-height:1.8;margin:0;max-width:280px}
.referral-banner{padding:45px 48px;border-radius:26px;border:1px solid #264b78;background:#16345c;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px;box-shadow:0 8px 30px #6289b906}.referral-banner h2{font-size:34px;color:#fff}.referral-banner p{font-size:12px;color:#d5e2f5;line-height:1.9;margin:17px 0 24px}.referral-number{font-size:130px;letter-spacing:-10px;line-height:1.15;font-weight:500;color:#fff;min-width:310px;text-align:center}.referral-number>span{font-size:68px;letter-spacing:-3px}.referral-number>small{font-size:12px;display:block;color:#b9cdeb;letter-spacing:1px;text-transform:uppercase;margin-top:14px}.referral-banner .button.secondary,html[data-theme=dark] .referral-banner .button.secondary{background:#fff;color:#16345c;border-color:#fff}.referral-banner .button.secondary:hover,html[data-theme=dark] .referral-banner .button.secondary:hover{background:#e5eefc;color:#16345c;border-color:#e5eefc;box-shadow:none}
.api-section{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;padding-bottom:62px}.api-section p{margin:20px 0 22px;max-width:370px}.api-preview{min-width:0;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);background:var(--surface);overflow:hidden}.api-preview-head{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:17px 20px;color:var(--faint);font-size:12px}.api-preview pre{margin:0;padding:29px 26px;color:var(--ink);font:12px/1.8 Consolas,monospace;overflow:auto}.code-comment{color:var(--faint)}.code-blue{color:var(--blue)}.api-preview-foot{display:flex;gap:8px;align-items:center;color:var(--green);border-top:1px solid var(--line);padding:14px 23px;font-size:12px}.api-preview-foot .icon{height:14px;width:14px}
.public-status{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;padding:15px 22px 30px;color:var(--faint);font-size:12px}.public-status .status-dot{flex-shrink:0;background:#b6a16b;box-shadow:none}.public-footer{max-width:1120px;margin:auto;padding:26px 28px 35px;display:flex;justify-content:space-between;align-items:center;gap:22px;border-top:1px solid var(--line);color:var(--faint);font-size:12px}.public-footer .brand{font-size:18px;gap:6px}.public-footer .brand-logo{height:35px;width:35px}
/* Application shell */
.app-rail{position:fixed;left:16px;top:16px;bottom:16px;width:224px;z-index:60;display:flex;flex-direction:column;gap:0;border-radius:21px;border:1px solid var(--solid);box-shadow:var(--shadow);background:var(--surface);backdrop-filter:var(--glass);-webkit-backdrop-filter:var(--glass);padding:15px 12px 12px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.rail-brand{padding:3px 4px 14px}.rail-brand .brand{font-size:22px;gap:6px}.rail-workspace{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:10px 12px;margin:0 0 20px}.rail-workspace>span{font-size:12px;color:var(--faint);display:block;margin-bottom:4px}.rail-workspace strong{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:650}.rail-workspace .icon{width:12px;height:12px;color:var(--faint)}.app-rail nav{display:grid;gap:4px}.rail-link{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;min-height:40px;border:0;border-radius:10px;background:transparent;text-align:left;font-size:12px;font-weight:600;color:var(--muted);flex-shrink:0}.rail-link .icon{width:17px;height:17px;color:#526984}.rail-link:hover{background:var(--subtle);color:var(--ink)}.rail-link.active{background:var(--accent);color:var(--blue)}.rail-link.active .icon{color:var(--blue)}.rail-link>small{margin-left:auto;font-size:12px;background:var(--solid);padding:2px 5px;border-radius:5px;color:#3857ac;letter-spacing:-.2px}.rail-caption{font-size:12px;letter-spacing:1.3px;color:var(--faint);padding:20px 12px 10px}.rail-user{border-top:1px solid var(--line);padding:14px 1px 0;margin-top:auto;display:flex;align-items:center;gap:8px;flex-shrink:0}.rail-user>div{min-width:0;flex:1}.rail-user strong{font-size:12px;font-weight:650;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rail-user small{font-size:12px;color:var(--faint)}.rail-user .icon-button{padding:6px;min-width:30px;min-height:32px}.rail-user .icon-button .icon{width:16px;height:16px}.avatar{width:33px;height:33px;display:grid;place-items:center;border:1px solid #cddcf5;border-radius:50%;background:linear-gradient(135deg,#e8efff,#ecf3fa);color:#405f93;font-size:12px;font-weight:600;flex-shrink:0}
.app-workspace{margin-left:256px;min-height:100vh;max-width:1640px;display:flex;flex-direction:column}.app-topbar{min-height:81px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 32px;border-bottom:1px solid var(--line)}.app-breadcrumb{display:flex;gap:13px;align-items:center;font-size:12px;color:var(--faint)}.app-breadcrumb i{font-style:normal;color:#7385a0}.app-breadcrumb strong{color:var(--muted);font-weight:500}.topbar-actions{display:flex;align-items:center;gap:14px}.environment{display:inline-flex;gap:8px;align-items:center;color:var(--faint);font-size:12px;white-space:nowrap}.environment i{height:5px;width:5px;box-shadow:none;background:#bba771}.topbar-actions .icon-button{border-color:var(--line);background:var(--surface);height:31px;width:31px;min-height:31px;min-width:31px;padding:7px;border-radius:9px}.topbar-actions .icon-button .icon{height:16px;width:16px}.top-avatar{height:30px;width:30px;font-size:12px}.mobile-menu{display:none}.app-content{padding:30px 32px 0;flex:1;min-width:0}.app-footer{display:flex;justify-content:space-between;gap:15px;padding:22px 32px 25px;color:var(--faint);font-size:12px}.footer-separator{padding:0 7px}.status-online{display:flex;align-items:center;gap:6px}.status-online:before{content:'';width:5px;height:5px;display:block;background:#64a392;border-radius:50%;flex-shrink:0}.page-enter{animation:page-in .4s ease both}.nav-scrim{position:fixed;inset:0;z-index:50;background:#182c4566;border:0;backdrop-filter:blur(4px)}
/* Dashboard */
.dashboard-heading,.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:24px}.dashboard-heading h1,.page-heading h1{font-size:27px;letter-spacing:-1px;font-weight:650;margin:0;line-height:1.3}.dashboard-heading p,.subtitle{font-size:12px;color:var(--muted);line-height:1.7;margin:8px 0 0}.dashboard-heading .eyebrow{font-size:12px;margin-bottom:8px}.dashboard-filters{display:flex;gap:8px;align-items:center}.dashboard-filters select{min-width:90px;max-width:185px;height:34px;padding:0 26px 0 11px;font-size:12px;border-radius:9px}.dashboard-filters>select:first-of-type{width:136px}.select-wrap{position:relative;display:inline-flex}.select-wrap>.icon{position:absolute;left:10px;top:10px;width:14px;height:14px;pointer-events:none;color:var(--muted)}.dashboard-filters .period-select select{padding-left:31px;min-width:111px;background-color:var(--surface)}
.overview-grid{display:grid;grid-template-columns:minmax(240px,1.07fr) minmax(0,2fr);gap:18px;margin-bottom:20px}.balance-card{position:relative;padding:23px 24px 21px;border:1px solid #dae6ff;border-radius:21px;background:radial-gradient(ellipse at 100% 0,#cbe3ff77,transparent 60%),linear-gradient(120deg,#ecf3ff,#e5edff);box-shadow:inset 0 1px 0 #fff}.balance-card>.eyebrow{font-size:12px;color:#405b83;margin-bottom:12px;letter-spacing:1px}.balance-card>strong{display:block;color:#2c508e;font-size:37px;font-weight:650;line-height:1.15;letter-spacing:-1.4px}.balance-card>strong>small{font-size:13px;font-weight:400;color:#405b83;letter-spacing:0;margin-left:9px}.balance-card>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:19px}.balance-card>div>span{font-size:12px;color:#405b83}.balance-card .text-button{min-height:24px;padding:0;font-size:12px;color:#2a579b}.balance-card .text-button .icon{width:12px;height:12px}.overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.compact-stat{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:21px;background:var(--surface);box-shadow:var(--shadow);padding:22px 20px;min-width:0}.metric-icon{width:31px;height:31px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;color:#5c728d;background:var(--solid)}.metric-icon .icon{width:16px;height:16px}.metric-icon.green{background:#eaf8f1;border-color:#ddede5;color:#256e59}.compact-value{font-size:27px;font-weight:650;letter-spacing:-1px;line-height:1.2;white-space:nowrap}.compact-label{color:var(--muted);font-size:12px;margin-top:6px}.metric-delta{font-size:12px;color:var(--green);font-weight:500;letter-spacing:0;margin-left:5px}.metric-delta.negative{color:var(--red)}
.activity-grid{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:20px;margin-bottom:20px}.panel{border-radius:19px;overflow:hidden;min-width:0}.panel-head{padding:22px 23px 20px;display:flex;justify-content:space-between;align-items:center;gap:13px}.panel-head h2{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650;margin:0;letter-spacing:-.25px}.panel-head h2 .icon{width:16px;height:16px;color:var(--muted)}.panel-head p{font-size:12px;color:var(--faint);margin:6px 0 0}.panel-body{padding:0 23px 23px}.panel-head>select{max-width:175px;font-size:12px;min-height:31px;padding:7px 28px 7px 10px;border-radius:8px}.chart-body{padding:8px 21px 8px}.sms-chart{width:100%;height:185px;display:block;overflow:visible}.sms-chart text{font-family:inherit;font-size:12px;fill:var(--faint)}.sms-chart line{stroke:var(--line);stroke-width:.65;stroke-dasharray:3 5}.chart-summary{display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid var(--line);padding:15px 23px;color:var(--faint);font-size:12px}.chart-summary>span{display:flex;align-items:center;gap:7px}.chart-summary .icon{height:13px;width:13px}.chart-summary b{color:var(--muted);font-weight:500}.dashboard-aside{display:flex;flex-direction:column;gap:14px;min-width:0}.dashboard-aside>.button{width:100%;justify-content:space-between;font-size:12px;border-radius:12px;min-height:46px}.dashboard-aside>.button .icon{height:15px;width:15px}.referral-card{flex:1;border:1px solid #eee5d1;border-radius:19px;padding:25px 21px;background:radial-gradient(ellipse at 100% 0,#fff1c688,transparent 70%),linear-gradient(140deg,#fffaf0,#fcf5e5);color:#715822}.referral-card>div{display:flex;align-items:center;gap:9px;font-size:12px}.referral-card>div>.icon{width:16px;height:16px}.referral-card>strong{font-size:62px;line-height:1.2;letter-spacing:-3px;font-weight:500;display:block;margin:18px 0 1px;color:#715822}.referral-card>strong>span{font-size:40px;letter-spacing:-1px}.referral-card>p{font-size:12px;color:#725928;margin:0 0 28px}.referral-card .text-link{justify-content:space-between;width:100%;font-size:12px;color:#725928;font-weight:500}.referral-card .text-link .icon{height:14px;width:14px}
.rpm-panel{display:flex;align-items:center;gap:15px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 20px}.rpm-icon{background:var(--subtle);color:var(--muted);border-radius:9px;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0}.rpm-icon .icon{width:17px;height:17px}.rpm-main{flex:1;min-width:0}.rpm-text{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:var(--faint);margin-bottom:7px}.rpm-text strong{color:var(--muted);font-weight:600;font-size:12px}.rpm-text small{font-size:12px;margin-left:9px}.rpm-text b{font-weight:500;color:var(--muted)}progress{width:100%;height:4px;display:block;appearance:none;border:0;border-radius:8px;background:var(--subtle);overflow:hidden}progress::-webkit-progress-bar{background:var(--subtle);border-radius:8px}progress::-webkit-progress-value{background:#8dafff;border-radius:8px}progress::-moz-progress-bar{background:#8dafff;border-radius:8px}.rpm-health{display:flex;gap:5px;align-items:center;font-size:12px;color:var(--green);margin-left:9px}.rpm-health .icon{width:12px;height:12px}.breakdown-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.breakdown-grid .panel-head{padding-bottom:15px}.inline-caption{color:var(--faint);font-size:12px;font-weight:400}.count-badge{color:var(--faint);font-size:12px;background:var(--subtle);padding:3px 6px;border-radius:6px;font-weight:500}.row-chevron{color:var(--faint);margin-right:4px}
/* Data pages */
.table-wrap{width:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:12px;font-weight:500;color:var(--faint);letter-spacing:.2px;background:#8aaada04;border-bottom:1px solid var(--line);padding:12px 23px}td{font-size:12px;color:var(--muted);padding:17px 23px;border-bottom:1px solid var(--line)}td strong{font-weight:650;color:var(--ink)}td small{display:block;font-size:12px;color:var(--faint);margin-top:4px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#7aa2ed04}.breakdown-grid th,.breakdown-grid td{padding:11px 18px;font-size:12px}.breakdown-grid th{font-size:12px}.breakdown-grid th:nth-child(n+3),.breakdown-grid td:nth-child(n+3){text-align:right}.mono{font-family:Consolas,'Courier New',monospace;letter-spacing:-.1px}.tag{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:4px 7px;font-size:12px;line-height:1.4;background:var(--subtle);color:var(--muted);white-space:nowrap}.tag:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.tag.waiting,.tag.pending{color:var(--amber);background:var(--amber-bg)}.tag.received,.tag.finished,.tag.paid{color:var(--green);background:var(--green-bg)}.tag.canceled,.tag.expired,.tag.rejected,.tag.disabled{color:#774454;background:#c195a713}.row-actions{display:flex;align-items:center;gap:7px}.cell-wrap{white-space:normal;overflow-wrap:anywhere;max-width:280px;min-width:130px}.success-text,.success-text strong{color:var(--green)!important}.amber-text{color:var(--amber)!important}.muted{color:var(--faint)!important}.panel-footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:14px 23px;font-size:12px;color:var(--faint)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.stat{border-radius:18px;padding:21px 22px;min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:9px;color:var(--muted);font-size:12px}.stat-top .icon{height:17px;width:17px;color:var(--faint)}.stat-value{font-size:29px;letter-spacing:-1px;font-weight:650;margin:17px 0 8px;line-height:1.2;white-space:nowrap}.stat-value small{font-size:12px;font-weight:400;margin-left:6px;color:var(--faint);letter-spacing:0}.stat-hint{font-size:12px;color:var(--faint)}.stat.emphasis{background:linear-gradient(140deg,var(--accent),var(--surface));border-color:#9ab6e044}.stat.emphasis .stat-value{color:var(--blue)}.two-col,.docs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.stack{display:grid;gap:22px}.mt{margin-top:23px}
.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:38px 20px;text-align:center;white-space:normal}.empty-icon{height:43px;width:43px;border:1px solid var(--line);border-radius:13px;background:var(--subtle);display:grid;place-items:center;color:#8da6c7;margin-bottom:14px;flex-shrink:0}.empty h3{font-size:12px;font-weight:600;color:var(--muted);margin:0 0 8px}.empty p{font-size:12px;color:var(--faint);line-height:1.8;max-width:360px;margin:0 0 17px}.breakdown-grid .empty{padding:26px 20px}.breakdown-grid .empty-icon{display:none}.notice{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:14px 17px;font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:23px}.notice .icon{width:16px;height:16px;color:var(--faint);margin-top:1px}.notice strong{color:var(--ink);font-weight:500}
.referral-link{display:flex;align-items:center;gap:10px;margin:18px 0}.referral-link input{flex:1;min-width:0;font-family:Consolas,monospace;font-size:12px}.provider-state{display:flex;align-items:center;gap:13px;padding:8px 0 18px}.provider-state .empty-icon{margin:0}.provider-state h3{font-size:12px;font-weight:600;margin:0 0 6px}.provider-state p{font-size:12px;color:var(--faint);margin:0}.provider-steps{padding-left:18px;font-size:12px;line-height:2.2;color:var(--muted);margin:8px 0}.admin-shortcuts{display:grid;gap:2px}.shortcut{display:flex;align-items:center;gap:14px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;padding:15px 0;color:var(--muted)}.shortcut:last-child{border-bottom:0}.shortcut:hover{color:var(--blue)}.shortcut>span{flex:1}.shortcut strong{display:block;font-size:12px;font-weight:600}.shortcut small{display:block;font-size:12px;color:var(--faint);margin-top:5px}.shortcut>.icon:last-child{width:13px;height:13px}
.docs-text{font-size:12px;color:var(--muted);line-height:1.9;overflow-wrap:anywhere}.docs-text h3{font-size:12px;color:var(--ink);margin:24px 0 12px}.docs-text ol{padding-left:18px}.docs-text a{color:var(--blue)}.docs-text code{font:12px/1.8 Consolas,monospace;color:var(--ink)}.endpoint{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.verb{font:12px Consolas,monospace;background:var(--accent);color:var(--blue);padding:2px 5px;border-radius:4px;min-width:40px;text-align:center}.code{padding:16px 18px;border-radius:10px;background:var(--subtle);border:1px solid var(--line);font:12px/1.9 Consolas,monospace;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}
/* Forms and dialogs */
input,select,textarea{min-height:42px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--solid);color:var(--ink);font-size:12px;max-width:100%}select{cursor:pointer}textarea{resize:vertical;min-height:90px}.field{display:grid;gap:7px;margin-bottom:17px;min-width:0}.field>span{font-size:12px;font-weight:600;color:var(--muted)}.field input,.field select,.field textarea{width:100%}.field small{font-size:12px;color:var(--faint)}.check-field{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);margin:17px 0}.check-field input{width:16px;height:16px;min-height:0;accent-color:var(--blue)}dialog{width:min(510px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--solid);border-radius:22px;color:var(--ink);background:var(--solid);box-shadow:0 24px 100px #1a386d30;overflow:auto}dialog::backdrop{background:#253d6040;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}dialog[open]{animation:dialog-in .22s ease-out}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:21px 25px 17px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:18px;letter-spacing:-.55px;font-weight:650;margin:0}.dialog-body{padding:22px 25px 26px}.dialog-note{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 18px}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding-top:15px}.form-error{font-size:12px;color:var(--red);line-height:1.6}.form-error:not(:empty){padding:12px 14px;border:1px solid #ce9aa342;background:#e398a610;border-radius:9px;margin-bottom:17px}.password-hint{color:var(--faint);font-size:12px;margin:-9px 0 18px}.login-switch{text-align:center;color:var(--muted);font-size:12px;margin:23px 0 6px}.login-switch button{border:0;background:none;color:var(--blue);font-size:12px;font-weight:700}.auth-dialog{width:min(450px,calc(100% - 32px))}.auth-dialog .dialog-head{border:0;padding:27px 28px 0}.auth-dialog .dialog-head h2{font-size:22px}.auth-dialog .dialog-body{padding:17px 28px 29px}.auth-dialog .dialog-note{margin-bottom:25px}.auth-dialog .dialog-actions{flex-direction:row-reverse}.auth-dialog .dialog-actions [type=submit]{flex:1;min-height:44px}.auth-dialog .dialog-actions>.secondary{display:none}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px;margin:0 0 24px}.detail-grid dt{font-size:12px;color:var(--faint);margin:0 0 5px}.detail-grid dd{font-size:12px;margin:0;color:var(--ink)}.message{border:1px solid var(--line);border-radius:12px;background:var(--subtle);padding:15px 17px;margin-bottom:13px}.message-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.sms-code{font:26px/1.4 Consolas,monospace;letter-spacing:4px;color:var(--blue)}.message p{font-size:12px;color:var(--muted);line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.message time{font-size:12px;color:var(--faint)}.secret-box{white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--accent);color:var(--blue);font:12px/1.8 Consolas,monospace}
.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:var(--muted);font-size:12px}.boot-logo{width:70px;height:70px;object-fit:contain}.loading{padding:90px 20px;text-align:center;color:var(--faint);font-size:12px}.error-panel{padding:40px 20px;color:var(--red);text-align:center}.error-panel .button{margin-top:18px}#toast{position:fixed;left:50%;bottom:25px;z-index:100;max-width:calc(100% - 30px);padding:13px 20px;border:1px solid var(--line);border-radius:13px;background:var(--solid);color:var(--ink);box-shadow:0 8px 40px #142f5026;font-size:12px;opacity:0;transform:translate(-50%,16px);transition:opacity .2s,transform .2s;pointer-events:none;text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{color:var(--red)}
/* Dark Crystal retains the same hierarchy. */
html[data-theme=dark]{color-scheme:dark;--bg:#101b2e;--ink:#f1f5ff;--muted:#c4d0e3;--faint:#aec0db;--blue:#83afff;--blue-hover:#a2c3ff;--line:#2b3d58;--surface:#1b2b44c9;--solid:#1d2d46;--subtle:#24344e;--accent:#2a4267;--green:#79c8ae;--green-bg:#203d3c;--amber:#d6b97b;--amber-bg:#3c372c;--red:#e193a2;--shadow:0 8px 30px #050b180b,inset 0 1px 0 #ffffff04}
html[data-theme=dark] body{background:radial-gradient(ellipse at 20% 0,#1e37605e,transparent 60%),var(--bg)}html[data-theme=dark] .button{background:#376ee1;color:#fff}html[data-theme=dark] .button:hover{background:#4a7fea}html[data-theme=dark] .button.secondary{background:var(--solid);color:var(--ink)}html[data-theme=dark] .button.soft{background:var(--accent);color:var(--blue)}html[data-theme=dark] .button.text-button{background:none;color:var(--blue)}html[data-theme=dark] .balance-card{background:linear-gradient(120deg,#243957,#284164);border-color:#3a567a;box-shadow:inset 0 1px 0 #ffffff08}html[data-theme=dark] .balance-card>strong{color:#c5d9ff}html[data-theme=dark] .balance-card>.eyebrow,html[data-theme=dark] .balance-card>div>span,html[data-theme=dark] .balance-card>strong>small{color:#bacbe5}html[data-theme=dark] .referral-card{background:linear-gradient(140deg,#3c382f,#35332e);border-color:#4a4438}html[data-theme=dark] .referral-card,html[data-theme=dark] .referral-card>strong{color:#d8c396}html[data-theme=dark] .referral-card>p,html[data-theme=dark] .referral-card .text-link{color:#dbcaa5}html[data-theme=dark] .metric-icon.green{background:#213e3e;border-color:#2d4d4c;color:#7abcad}html[data-theme=dark] .avatar{background:#2a4063;border-color:#395076;color:#b3c8ec}html[data-theme=dark] .hero-eyebrow{background:#243c5d;color:#c2d0e5;border-color:#375079}html[data-theme=dark] .hero-sms{color:#24334d}html[data-theme=dark] .hero-confirm{background:#294243;border-color:#375551;color:#b4dfcd}html[data-theme=dark] .public-header,html[data-theme=dark] .app-rail{border-color:var(--line)}
@keyframes emblem-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes sms-float{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-7px) rotate(-5deg)}}
@keyframes ref-float{0%,100%{transform:translateY(0) rotate(8deg)}50%{transform:translateY(9px) rotate(6deg)}}
@keyframes page-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes dialog-in{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}
@media(min-width:1900px){.app-workspace{margin-left:auto;margin-right:auto;padding-left:256px;max-width:1750px}.app-rail{left:max(16px,calc((100vw - 1750px)/2 + 16px))}}
@media(max-width:1250px){.public-header{margin-left:24px;margin-right:24px}.app-topbar{margin:0 24px}.app-content{padding:26px 24px 0}.app-footer{padding-left:24px;padding-right:24px}.dashboard-heading{align-items:flex-start;flex-direction:column;gap:17px}.dashboard-filters{align-self:stretch}.dashboard-filters>select:first-of-type{max-width:220px;width:180px}.overview-grid{grid-template-columns:1fr 1.7fr;gap:14px}.overview-metrics{gap:10px}.compact-stat{padding:19px 15px}.compact-value{font-size:24px}.balance-card{padding:22px 21px}.balance-card>strong{font-size:33px}.balance-card>div>span{font-size:12px}.activity-grid{grid-template-columns:minmax(0,1fr) 207px;gap:17px}.chart-summary{flex-wrap:wrap;font-size:12px;padding:14px 20px}.chart-summary>span:last-child{display:none}.stats{gap:12px}.stat{padding:20px 17px}.stat-value{font-size:25px}.stat-hint{font-size:12px}.breakdown-grid th,.breakdown-grid td{padding:10px 13px}}
@media(max-width:999px){.app-rail{transform:translateX(-260px);transition:transform .23s ease;width:234px;box-shadow:0 12px 70px #10274724;background:var(--solid);top:12px;left:12px;bottom:12px}.nav-open .app-rail{transform:translateX(0)}body.nav-open{overflow:hidden}.mobile-menu{display:inline-flex;border:1px solid var(--line);background:var(--surface)}.app-workspace{margin-left:0}.app-topbar{min-height:76px;gap:15px}.app-breadcrumb{margin-right:auto}.app-content{padding-top:25px}.dashboard-heading{flex-direction:row;align-items:center}.dashboard-filters{align-self:auto;flex-wrap:wrap;justify-content:flex-end;max-width:330px}.dashboard-filters>select:first-of-type{width:125px}.overview-grid{grid-template-columns:minmax(230px,1fr) minmax(0,1.9fr)}.public-header{gap:20px;margin:17px 22px 0;min-height:71px;padding:10px 15px}.public-header nav{gap:20px}.public-header nav a{font-size:12px}.public-header .brand{font-size:20px}.public-header .brand-logo{width:37px;height:37px}.public-login{font-size:12px;padding:10px 12px}.public-header-actions{gap:3px}.crystal-hero{padding-top:54px}.crystal-hero h1{font-size:58px;letter-spacing:-3px}.hero-scene{max-width:720px}.hero-sms{left:2%}.hero-ref{right:3%}.public-section{padding-left:30px;padding-right:30px}.api-section{gap:45px}.referral-banner{padding:37px}.referral-number{min-width:230px;font-size:108px}.referral-number>span{font-size:60px}.public-section h2{font-size:30px}.public-footer>span:nth-child(2){display:none}}
@media(max-width:740px){.public-header nav{display:none}.public-header{margin-left:18px;margin-right:18px}.crystal-hero{padding:49px 20px 25px}.crystal-hero h1{font-size:49px;letter-spacing:-2.5px}.crystal-hero>p{font-size:12px}.hero-scene{max-width:580px;height:288px;margin-top:27px}.hero-emblem{height:245px;width:245px;left:calc(50% - 122.5px);top:13px}.hero-sms{width:210px;padding:16px;left:0;top:59px}.hero-code{font-size:23px;margin:15px 0 12px}.hero-sms-foot>strong{font-size:13px}.hero-sms-foot>span{font-size:12px}.hero-ref{width:149px;right:0;top:62px;padding:17px}.hero-ref>strong{font-size:36px}.hero-ref>span{font-size:12px}.hero-ref small{font-size:12px}.hero-confirm{bottom:8px}.section-heading{align-items:flex-start;flex-direction:column;gap:15px}.section-heading>p br{display:none}.how-card{padding:22px 20px}.how-card h3{font-size:14px}.how-card p{font-size:12px}.how-card>div{margin-bottom:26px}.public-section{padding-top:38px;padding-bottom:38px}.referral-banner{padding:33px 29px;gap:20px}.referral-banner h2{font-size:27px}.referral-banner p{font-size:12px}.referral-number{min-width:165px;font-size:88px}.referral-number>span{font-size:44px}.referral-number>small{font-size:12px;letter-spacing:.4px}.api-section{gap:30px}.api-preview pre{font-size:12px;padding:26px 19px}.api-preview-head{font-size:12px;padding:15px}.api-preview-foot{font-size:12px;padding:13px 16px}.dashboard-heading{flex-direction:column;align-items:stretch;gap:18px}.dashboard-filters{max-width:none;justify-content:flex-start}.overview-grid{grid-template-columns:1fr}.overview-metrics{gap:12px}.balance-card{display:grid;grid-template-columns:1fr auto;align-items:center}.balance-card>.eyebrow{grid-column:1/-1}.balance-card>div{margin-top:0;flex-direction:column;gap:4px;align-items:flex-end}.balance-card>div>span{font-size:12px}.balance-card>strong{font-size:35px}.compact-stat{flex-direction:row;align-items:center;gap:10px;padding:20px 16px}.compact-stat>div{flex:1}.compact-value{font-size:24px}.compact-label{font-size:12px}.metric-icon{width:28px;height:28px;border-radius:9px}.activity-grid{grid-template-columns:minmax(0,1fr) 195px;gap:14px}.chart-body{padding:4px 16px 4px}.sms-chart{height:165px}.activity-panel .panel-head{padding:19px 18px 14px;align-items:flex-start;flex-wrap:wrap;gap:11px}.activity-panel .panel-head>select{max-width:130px;font-size:12px;padding:6px 8px;min-height:28px}.referral-card{padding:21px 18px}.referral-card>strong{font-size:55px}.referral-card>p{margin-bottom:25px}.rpm-health{display:none}.stats{grid-template-columns:1fr 1fr}.stat-hint{font-size:12px}.two-col,.docs-grid{grid-template-columns:1fr}.breakdown-grid{grid-template-columns:1fr;gap:18px}.breakdown-grid td,.breakdown-grid th{padding:12px 23px}.breakdown-grid td{font-size:12px}.breakdown-grid th{font-size:12px}}
@media(max-width:520px){.public-header{margin:12px 12px 0;padding:8px 11px;min-height:62px;border-radius:17px;gap:8px}.public-header .brand{font-size:20px;gap:5px}.public-header .brand-logo{width:35px;height:35px}.public-header-actions{gap:1px}.public-header-actions>.icon-button{min-width:32px;min-height:32px;padding:6px}.public-header-actions>.icon-button .icon{width:16px;height:16px}.public-login{font-size:12px;border-radius:9px;padding:9px;min-height:34px;gap:5px}.public-login .icon{width:12px;height:12px}.crystal-hero{padding:41px 14px 29px}.hero-eyebrow{font-size:12px;padding:6px 10px;margin-bottom:22px}.hero-eyebrow i{height:5px;width:5px}.crystal-hero h1{font-size:clamp(34px,9.7vw,48px);letter-spacing:-1.9px;margin-bottom:18px;line-height:1.17}.crystal-hero>p{font-size:12px;line-height:1.9;margin-bottom:23px}.hero-actions{flex-direction:column;gap:17px}.hero-actions .button{font-size:12px;min-height:45px;padding:12px 19px}.hero-actions>.text-link{font-size:12px}.hero-scene{height:305px;max-width:360px;margin-top:19px}.hero-emblem{height:156px;width:156px;left:calc(50% - 78px);top:0}.hero-sms{left:8px;top:151px;width:164px;padding:12px;border-radius:15px}.sms-symbol{height:23px;width:23px;border-radius:7px}.sms-symbol .icon{height:13px;width:13px}.hero-sms-head{gap:6px}.hero-sms-head strong{font-size:12px}.hero-sms-head>div>span{font-size:12px}.hero-sms-head i{height:4px;width:4px}.hero-code{font-size:17px;letter-spacing:1px;margin:11px 0 10px}.hero-sms-foot{padding-top:8px}.hero-sms-foot>span{font-size:12px}.hero-sms-foot>strong{font-size:12px}.hero-sms-foot small{font-size:12px}.hero-ref{width:116px;right:8px;top:159px;padding:14px 12px;border-radius:15px}.hero-ref>span{font-size:12px}.hero-ref strong{font-size:29px;letter-spacing:-1px}.hero-ref small{font-size:12px}.hero-confirm{font-size:12px;bottom:5px;left:calc(50% - 53px);padding:6px 10px;gap:5px}.hero-confirm .icon{width:11px;height:11px}.hero-flow{gap:12px;font-size:12px;padding-top:18px}.hero-flow>span{gap:5px}.hero-flow b{font-size:12px;height:20px;width:20px;border-radius:6px}.hero-flow>.icon{width:10px;height:10px}.public-section{padding:28px 20px}.how-section{padding-top:31px}.public-section h2{font-size:27px;letter-spacing:-1px}.eyebrow{font-size:12px;letter-spacing:1.2px}.section-heading{gap:15px;margin-bottom:21px}.section-heading>p{font-size:12px}.how-grid{grid-template-columns:1fr;gap:12px}.how-card{padding:22px 23px;position:relative;min-height:146px}.how-card>div{position:absolute;left:23px;top:23px;bottom:22px;flex-direction:column;margin:0;gap:17px}.how-card h3,.how-card p{margin-left:45px}.how-card h3{font-size:16px;margin-top:1px;margin-bottom:9px}.how-card p{font-size:12px;max-width:260px}.referral-banner{flex-direction:column;align-items:flex-start;gap:21px;padding:27px 25px;border-radius:21px}.referral-banner h2{font-size:27px}.referral-banner p{font-size:12px;margin-top:16px}.referral-banner p br{display:none}.referral-banner .button{font-size:12px;min-height:39px}.referral-number{align-self:flex-end;min-width:0;font-size:91px;letter-spacing:-6px;line-height:1}.referral-number>span{font-size:50px}.referral-number>small{font-size:12px;letter-spacing:.5px;margin-top:10px}.api-section{grid-template-columns:1fr;gap:24px;padding-top:36px}.api-section p{font-size:12px;margin:16px 0 19px}.api-preview pre{font-size:12px;padding:26px 23px}.api-preview-head{font-size:12px;padding:15px 19px}.api-preview-foot{font-size:12px;padding:13px 19px}.public-status{font-size:12px;gap:8px;line-height:1.8;padding:21px 22px}.public-status .status-dot{width:5px;height:5px}.public-footer{margin:0 20px;padding:21px 0 24px;font-size:12px;gap:12px}.public-footer .brand{font-size:17px;gap:4px}.public-footer .brand-logo{height:30px;width:30px}
 .app-topbar{margin:0 16px;min-height:68px;gap:10px}.app-breadcrumb>span,.app-breadcrumb>i{display:none}.app-breadcrumb{font-size:12px}.topbar-actions{gap:10px}.environment{font-size:12px;gap:5px}.top-avatar{display:none}.mobile-menu{min-width:33px;min-height:33px;padding:7px;border-radius:9px}.mobile-menu .icon{height:17px;width:17px}.app-content{padding:24px 16px 0}.app-footer{padding:21px 16px;font-size:12px;gap:10px;flex-wrap:wrap}.dashboard-heading,.page-heading{margin-bottom:21px;gap:18px}.dashboard-heading h1,.page-heading h1{font-size:25px}.dashboard-heading p,.subtitle{font-size:12px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading>.button{font-size:12px;min-height:38px}.dashboard-filters{gap:6px}.dashboard-filters select{font-size:12px;padding-left:9px;padding-right:10px;min-width:0;height:33px}.dashboard-filters .period-select select{min-width:101px;padding-left:29px}.dashboard-filters>select:first-of-type{flex:1;width:100px}.dashboard-filters>select:last-child{width:78px}.select-wrap>.icon{width:12px;height:12px;left:10px;top:11px}.balance-card{padding:21px 22px;border-radius:18px}.balance-card>strong{font-size:35px}.balance-card>div>span{font-size:12px}.balance-card .text-button{font-size:12px}.overview-grid{gap:12px;margin-bottom:18px}.overview-metrics{gap:9px}.compact-stat{padding:16px 13px;flex-direction:column;align-items:flex-start;gap:16px;border-radius:16px}.compact-stat>div{flex:none}.compact-value{font-size:24px;letter-spacing:-.8px}.compact-label{font-size:12px;white-space:nowrap}.metric-icon{width:26px;height:26px;border-radius:8px}.metric-icon .icon{width:14px;height:14px}.metric-delta{font-size:12px;margin-left:3px}.activity-grid{grid-template-columns:1fr;gap:14px;margin-bottom:18px}.activity-panel .panel-head{padding:20px 19px 14px;flex-wrap:nowrap;align-items:center}.panel-head h2{font-size:12px}.chart-body{padding:6px 15px}.sms-chart{height:175px}.chart-summary{padding:14px 19px;font-size:12px}.dashboard-aside{display:grid;grid-template-columns:1fr;gap:12px}.referral-card{display:grid;grid-template-columns:1fr auto;padding:20px 22px;align-items:center;border-radius:17px}.referral-card>div{font-size:12px}.referral-card>strong{grid-column:2;grid-row:1/4;font-size:52px;margin:0;align-self:center}.referral-card>strong>span{font-size:32px}.referral-card>p{margin:5px 0 15px 25px;font-size:12px}.referral-card>.text-link{grid-column:1;font-size:12px;gap:6px;max-width:177px}.dashboard-aside>.button{min-height:44px}.rpm-panel{padding:15px;gap:11px;border-radius:13px}.rpm-icon{width:29px;height:29px}.rpm-text{font-size:12px}.rpm-text strong{font-size:12px}.rpm-text small{display:none}.breakdown-grid{margin:18px 0}.panel{border-radius:17px}.panel-head{padding:19px 18px 16px;gap:9px}.panel-head h2 .icon{height:14px;width:14px}.panel-head .button.small{font-size:12px;padding:5px 7px;min-height:27px}.panel-head .button.small .icon{height:12px;width:12px}.inline-caption{font-size:12px}.panel-body{padding:0 19px 21px}.panel-footer{padding:13px 18px;font-size:12px;flex-wrap:wrap;gap:5px}.breakdown-grid th,.breakdown-grid td{padding:11px 14px}.breakdown-grid th{font-size:12px}.breakdown-grid td{font-size:12px}th,td{padding-left:18px;padding-right:18px}.notice{font-size:12px;line-height:1.8;padding:13px 14px;margin-bottom:20px}.stats{gap:11px;margin-bottom:20px}.stat{padding:18px 16px;border-radius:16px}.stat-top{font-size:12px}.stat-top .icon{height:14px;width:14px}.stat-value{font-size:25px;margin:15px 0 9px}.stat-value small{font-size:12px}.stat-hint{font-size:12px}.referral-link{flex-wrap:wrap;gap:9px}.referral-link input{flex:auto;width:100%;font-size:12px}.referral-link .button{font-size:12px;min-height:37px}.dialog-head{padding:18px 21px 15px}.dialog-body{padding:20px 21px 23px}.dialog-head h2{font-size:17px}.dialog-actions{gap:7px}.dialog-actions .button{font-size:12px;padding:10px 14px}.auth-dialog .dialog-head{padding-left:23px;padding-right:23px}.auth-dialog .dialog-body{padding-left:23px;padding-right:23px}.auth-dialog .dialog-head h2{font-size:21px}.provider-state{align-items:flex-start}.provider-state h3{font-size:12px;line-height:1.6}.provider-state p{font-size:12px}.provider-steps{font-size:12px}.empty{padding:30px 20px}.empty p{font-size:12px}.endpoint{gap:8px}.endpoint code{font-size:12px}}
.sms-chart polyline{stroke:var(--blue)}.sms-chart circle{fill:var(--blue)}.sms-chart stop{stop-color:var(--blue)}
.referral-programs{margin-bottom:23px}.referral-programs .panel-body{padding-top:0}.program-rate{font-size:43px;font-weight:600;letter-spacing:-1.8px;color:var(--blue);line-height:1.25;margin:0 0 16px}.program-rate small{font-size:24px;margin-left:3px;font-weight:500}.referral-programs .field{margin-bottom:0}.referral-programs .referral-link{margin-top:8px}.referral-programs .code{font-size:12px;margin:0}.referral-programs .button{font-size:12px;padding-left:12px;padding-right:12px}.referral-programs .referral-link input{font-size:12px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Readable type across the public site, workspace and admin. */
input::placeholder,textarea::placeholder{color:var(--faint);opacity:1}
.public-header nav a,.public-login,.rail-link{font-size:13px}
.rail-workspace-switch{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:10px 11px;margin:-8px 0 16px;border:1px solid var(--line);border-radius:11px;background:var(--accent);color:var(--blue);font:inherit;font-size:13px;font-weight:600;text-align:start;cursor:pointer}
.rail-workspace-switch span{flex:1;min-width:0;overflow-wrap:anywhere}
.rail-workspace-switch .icon{width:17px;height:17px;flex:none}
.rail-workspace-switch:hover{border-color:var(--blue)}
.rail-workspace-switch:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.rail-workspace-switch:disabled{opacity:.65;cursor:default}
html[dir=rtl] .rail-workspace-switch>.icon:last-child{transform:scaleX(-1)}
.rail-link .icon{flex-shrink:0}
.rail-caption,.eyebrow,th,.field>span,.tag,.count-badge{font-weight:600}
.dashboard-heading p,.subtitle,.section-heading>p,.api-section p,.how-card p,.referral-banner p,.docs-text,.dialog-note,.notice,.message p{font-size:14px;line-height:1.65}
.crystal-hero>p{font-size:16px;line-height:1.7}
.panel-head h2{font-size:15px}
td,.breakdown-grid td,.check-field,.shortcut strong,.provider-state p,.empty p{font-size:13px}
.breakdown-grid th{font-size:12px}
input,select,textarea{font-size:14px;font-weight:500}
.field>span{font-size:13px}
.panel-head,.panel-footer,.chart-summary,.rpm-text{gap:12px}
.session-groups{display:grid;gap:20px}
html[data-theme=dark] .tag.canceled,html[data-theme=dark] .tag.expired,html[data-theme=dark] .tag.rejected,html[data-theme=dark] .tag.disabled{color:#efb9c5}
html[data-theme=dark] .rail-link>small{color:#b8ccff}
html[data-theme=dark] .rail-link:not(.active) .icon{color:var(--muted)}
html[data-theme=dark] .balance-card .text-button{color:#b8d2ff}
html[data-theme=dark] .button:hover{background:#3566ce}
html[data-theme=dark] .button.secondary:hover{background:var(--subtle)}
html[data-theme=dark] .button.soft:hover{background:var(--accent)}
html[data-theme=dark] .button.text-button:hover{background:transparent}
@media(max-width:640px){
  .public-header nav a,.public-login,.rail-link{font-size:13px}
  .crystal-hero>p{font-size:14px}
  .hero-sms{width:192px;padding:14px;left:0}
  .hero-ref{width:139px;right:0;padding:14px}
  .hero-sms-head{gap:7px}
  .hero-sms-head>div>span,.hero-sms-foot>span,.hero-sms-foot small,.hero-ref small{font-size:11px}
  .hero-sms-foot{gap:8px;align-items:flex-start}
  .hero-sms-foot>strong{white-space:nowrap}
  .hero-scene{height:375px}
  .hero-confirm{bottom:0;left:50%;transform:translateX(-50%);white-space:nowrap}
  .referral-card{column-gap:16px}
  .referral-card>p{margin-left:0}
  .dashboard-filters{flex-wrap:wrap}
  .panel-head{flex-wrap:wrap}
  .panel-footer{flex-wrap:wrap}
  input,select,textarea{font-size:16px}
}

/* Keep the public shell out of the first paint while a workspace session resumes. */
.app-boot{display:none}
html[data-app-pending="true"] #app{display:none}
html[data-app-pending="true"] .app-boot{display:flex;min-height:100vh;min-height:100svh;align-items:center;justify-content:center;flex-direction:column;gap:24px}
.app-boot-spinner{width:22px;height:22px;border:2px solid var(--line);border-top-color:var(--blue);border-radius:50%;animation:app-boot-spin .8s linear infinite}
@keyframes app-boot-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.app-boot-spinner{animation:none}}

.auth-remember{display:flex;align-items:center;gap:12px;margin:18px 0 8px;padding:12px 0;cursor:pointer;min-height:44px}.auth-remember input{width:18px;height:18px;min-height:18px;padding:0;margin:0;flex:none;accent-color:var(--blue)}.auth-remember span{display:grid;gap:4px;min-width:0}.auth-remember strong{font-size:13px;font-weight:650}.auth-remember small{font-size:11px;color:var(--muted);line-height:1.5}.auth-remember input:focus-visible{outline:2px solid var(--blue);outline-offset:4px}.auth-resume-error{display:grid;gap:28px;justify-items:center;align-content:center;min-height:100svh;padding:28px}.auth-resume-error .error-panel{width:min(100%,440px);text-align:center}.auth-resume-error h1{font-size:20px;margin:0 0 24px}

.admin-entry{min-height:100svh;display:grid;align-content:center;justify-items:center;gap:28px;padding:28px}.admin-entry .brand-link{max-width:220px}.admin-entry .button{min-width:220px;min-height:44px}

.runtime-load-error{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:1500;width:min(440px,calc(100% - 32px));display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border:1px solid var(--line);border-radius:14px;background:var(--solid);color:var(--ink);box-shadow:0 12px 40px #17283e1f}.runtime-load-error p{margin:0}.runtime-load-error[hidden]{display:none}

/* Isolated, session-protected Telegram workspace. */
.tg-soft-panel{border:1px solid var(--line,#d7e3f3);border-radius:18px;overflow:hidden;background:#f4f7fc}.tg-soft-frame{display:block;width:100%;height:calc(100dvh - 210px);min-height:640px;border:0;background:#f4f7fc}@media(max-width:700px){.tg-soft-frame{height:calc(100dvh - 160px);min-height:540px}.tg-soft-panel{border-radius:14px}}
