#app{display:contents}
#app>div{display:contents}

body.s-dashboard-page footer{padding:44px 0 32px;background:#080808;color:var(--text-mut);font-size:13px;line-height:1.55;position:relative;flex-shrink:0}
body.s-dashboard-page .footer-fade{position:relative;height:140px;margin-top:auto;background:linear-gradient(to bottom,transparent 0%,rgba(8,8,11,.4) 35%,rgba(8,8,11,.85) 75%,#080808 100%);pointer-events:none;flex-shrink:0}
body.s-dashboard-page footer .wrap{max-width:1560px;margin:0 auto;padding:0 32px;width:100%}
body.s-dashboard-page .footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1.05fr 1.05fr 1.05fr;gap:26px;padding-bottom:26px;border-bottom:1px solid rgba(255,255,255,.045)}
body.s-dashboard-page .footer-brand{display:flex;flex-direction:column;align-items:flex-start}
body.s-dashboard-page .footer-brand .logo{font-size:18px;margin-bottom:10px;cursor:default;display:inline-flex;align-items:center;gap:10px;font-weight:700;letter-spacing:-.5px;color:#fff}
body.s-dashboard-page footer a{text-decoration:none}
body.s-dashboard-page .footer-brand .logo a{display:inline-flex;align-items:center;gap:10px;color:#fff}
body.s-dashboard-page .footer-brand .logo-mark{width:26px;height:26px;flex-shrink:0;display:inline-flex}
body.s-dashboard-page .footer-brand .logo-mark svg{width:100%;height:100%;display:block}
body.s-dashboard-page .footer-tagline{color:var(--text-dim);font-size:13px;line-height:1.5;max-width:280px}
body.s-dashboard-page .footer-uptime{display:inline-flex;align-items:center;gap:7px;margin-top:12px;color:var(--text-dim);font-size:12.5px}
body.s-dashboard-page .footer-uptime .ud{width:7px;height:7px;border-radius:50%;background:#4ade80;box-shadow:0 0 8px rgba(74,222,128,.55);flex-shrink:0}
body.s-dashboard-page .footer-uptime .uv{font-weight:600;color:#fff;font-variant-numeric:tabular-nums}
body.s-dashboard-page .footer-h{font-size:11.5px;color:#84848f;font-weight:700;text-transform:uppercase;letter-spacing:.6px;margin-bottom:14px}
body.s-dashboard-page .footer-col a{display:block;color:var(--text-dim);font-size:13px;line-height:1.35;padding:7px 0;transition:color .2s;text-decoration:none}
body.s-dashboard-page .footer-col a:hover{color:#fff}
body.s-dashboard-page .footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;color:#84848f;font-size:12.5px;padding-top:22px}
body.s-dashboard-page .footer-bottom a{color:var(--text-dim);transition:color .2s;text-decoration:none}
body.s-dashboard-page .footer-bottom a:hover{color:#fff}
body.s-dashboard-page .footer-bottom-links{display:flex;gap:18px;flex-wrap:wrap}
@media(max-width:1024px){body.s-dashboard-page footer .wrap{padding:0 24px}body.s-dashboard-page .footer-grid{grid-template-columns:1fr 1fr 1fr;gap:26px}body.s-dashboard-page .footer-brand{grid-column:1/-1}}
@media(max-width:640px){body.s-dashboard-page footer .wrap{padding:0 18px}body.s-dashboard-page .footer-grid{grid-template-columns:1fr 1fr;gap:24px}body.s-dashboard-page .footer-brand{grid-column:1/-1}body.s-dashboard-page .footer-bottom{flex-direction:column;align-items:flex-start;gap:8px}}
@media(max-width:420px){body.s-dashboard-page .footer-grid{grid-template-columns:1fr}}
html.s-dashboard-page{
            --bg:#050507;--bg-1:#0a0a0d;--bg-2:#0c0c10;--bg-3:#0e0e12;
            --surface:#0e0e12;--surface-hi:#14141a;--border:rgba(255,255,255,.06);--border-hi:rgba(255,255,255,.1);
            --text:#fff;--text-dim:#a3a3aa;--text-mut:#7f7f89;
            --accent:#3b82f6;--accent-hi:#7fb8ff;--accent-soft:rgba(59,130,246,.12);
            --ok:#4ade80;--warn:#facc15;--err:#f87171;
            --radius:14px;--radius-sm:11px;--radius-lg:18px;--radius-chip:9px;
            --tr:180ms cubic-bezier(.4,0,.2,1);
        }
        html.s-dashboard-page, body.s-dashboard-page, body.s-dashboard-page *{box-sizing:border-box;margin:0;padding:0}
        body.s-dashboard-page{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Inter',Roboto,sans-serif;background:var(--bg);color:var(--text);min-height:100vh;padding:20px;-webkit-font-smoothing:antialiased;position:relative}
        body.s-dashboard-page::before{content:'';position:fixed;top:-260px;left:-180px;width:900px;height:900px;border-radius:50%;background:radial-gradient(circle at center,rgba(59,130,246,.16) 0%,rgba(59,130,246,.05) 42%,transparent 72%);filter:blur(60px);pointer-events:none;z-index:0}
        body.s-dashboard-page::after{content:'';position:fixed;bottom:-320px;right:-220px;width:820px;height:820px;border-radius:50%;background:radial-gradient(circle at center,rgba(139,92,246,.10) 0%,rgba(139,92,246,.03) 45%,transparent 72%);filter:blur(70px);pointer-events:none;z-index:0}
        body.s-dashboard-page>*{position:relative;z-index:1}
        html.s-dashboard-page::-webkit-scrollbar, body.s-dashboard-page ::-webkit-scrollbar{width:10px;height:10px}
        html.s-dashboard-page::-webkit-scrollbar-track, body.s-dashboard-page ::-webkit-scrollbar-track{background:transparent}
        html.s-dashboard-page::-webkit-scrollbar-thumb, body.s-dashboard-page ::-webkit-scrollbar-thumb{background:rgba(255,255,255,.09);border-radius:10px;border:2px solid transparent;background-clip:padding-box}
        html.s-dashboard-page::-webkit-scrollbar-thumb:hover, body.s-dashboard-page ::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.16);background-clip:padding-box;border:2px solid transparent}
        body.s-dashboard-page .container{max-width:980px;margin:0 auto;position:relative;z-index:2}
        body.s-dashboard-page .header{display:flex;justify-content:space-between;align-items:center;gap:30px;position:sticky;top:10px;z-index:40;margin-bottom:18px;padding:9px 14px;backdrop-filter:blur(40px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);border:1px solid var(--border);border-radius:14px}
        body.s-dashboard-page .dash-topup{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:28px;padding:0 13px;font-size:12px;font-weight:600;color:#4ade80;background:rgba(74,222,128,.06);border:1px solid rgba(74,222,128,.16);border-radius:10px;text-decoration:none;white-space:nowrap;flex-shrink:0;transition:background var(--tr),border-color var(--tr),color var(--tr)}
        body.s-dashboard-page .dash-topup:hover{background:rgba(74,222,128,.12);border-color:rgba(74,222,128,.3);color:#86efac}
        body.s-dashboard-page .dash-topup svg{width:14px;height:14px;flex-shrink:0}
        body.s-dashboard-page .dash-logo-text{white-space:nowrap}
        @media (max-width:700px){
            body.s-dashboard-page .header{gap:12px;padding:8px 10px}
            body.s-dashboard-page .dash-logo-text{display:none}
            body.s-dashboard-page .dash-topup{padding:0 11px}
        }
        body.s-dashboard-page h1{font-size:20px;color:#fff}
        body.s-dashboard-page h2{font-size:16px;margin-bottom:10px;color:#fff}
        body.s-dashboard-page .card{background:linear-gradient(180deg,rgba(255,255,255,.024) 0%,rgba(255,255,255,.008) 100%);padding:18px;border-radius:var(--radius);margin-bottom:14px;border:1px solid var(--border);box-shadow:0 1px 2px rgba(0,0,0,.35)}
        body.s-dashboard-page .form-group{margin-bottom:12px}
        body.s-dashboard-page label{display:block;margin-bottom:4px;font-size:13px;color:var(--text-dim)}
        body.s-dashboard-page input{width:100%;padding:11px 13px;border:1px solid rgba(255,255,255,.08);border-radius:var(--radius-sm);background:rgba(255,255,255,.025);color:#fff;font-size:14px;transition:border-color var(--tr),background var(--tr),box-shadow var(--tr)}
        body.s-dashboard-page input:hover{border-color:rgba(255,255,255,.14)}
        body.s-dashboard-page input::placeholder{color:var(--text-mut)}
        body.s-dashboard-page input:focus{outline:none;border-color:rgba(59,130,246,.5);background:rgba(255,255,255,.045);box-shadow:0 0 0 3px rgba(59,130,246,.16)}
        body.s-dashboard-page .btn{padding:9px 16px;border:1px solid transparent;border-radius:var(--radius-sm);font-size:13px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1;transition:background var(--tr),border-color var(--tr),box-shadow var(--tr),color var(--tr)}
        body.s-dashboard-page .btn[data-loading="1"]{position:relative;color:transparent !important;pointer-events:none;cursor:wait;opacity:.5;overflow:hidden}
        body.s-dashboard-page .btn[data-loading="1"]>*{visibility:hidden}
        body.s-dashboard-page .btn[data-loading="1"]::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.18) 50%,transparent 100%);background-size:200% 100%;animation:btnShimmer 1.1s linear infinite;border-radius:inherit;pointer-events:none}
        @keyframes btnShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
        body.s-dashboard-page .form-group input[type=checkbox].tk-check,body.s-dashboard-page input[type=checkbox].tk-check{-webkit-appearance:none !important;-moz-appearance:none !important;appearance:none !important;box-sizing:border-box !important;width:20px !important;height:20px !important;min-width:20px !important;min-height:20px !important;max-width:20px !important;max-height:20px !important;flex:0 0 20px !important;margin:0 !important;padding:0 !important;border:1.5px solid rgba(255,255,255,.22) !important;border-radius:6px !important;background:rgba(14,14,18,.7) !important;cursor:pointer;display:inline-block !important;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;position:relative;vertical-align:middle}
        body.s-dashboard-page input[type=checkbox].tk-check:hover{border-color:rgba(255,255,255,.45) !important}
        body.s-dashboard-page input[type=checkbox].tk-check:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(59,130,246,.3) !important}
        body.s-dashboard-page input[type=checkbox].tk-check:checked{background:var(--accent) !important;border-color:var(--accent) !important}
        body.s-dashboard-page input[type=checkbox].tk-check:checked::after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2.2px 2.2px 0;transform:rotate(45deg)}
        body.s-dashboard-page input[type=checkbox].tk-check:disabled{opacity:.5;cursor:not-allowed}
        body.s-dashboard-page .tk-toggle{position:relative;display:inline-flex;align-items:center;width:46px;height:26px;cursor:pointer;flex-shrink:0;vertical-align:middle}
        body.s-dashboard-page .tk-toggle input{position:absolute;opacity:0;width:0;height:0;margin:0;padding:0}
        body.s-dashboard-page .tk-toggle .tk-toggle-track{position:absolute;inset:0;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:14px;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}
        body.s-dashboard-page .tk-toggle .tk-toggle-thumb{position:absolute;top:3px;left:3px;width:20px;height:20px;background:#fff;border-radius:50%;transition:left .22s cubic-bezier(.4,0,.2,1),background .2s ease,box-shadow .2s ease;box-shadow:0 1px 3px rgba(0,0,0,.45)}
        body.s-dashboard-page .tk-toggle:hover .tk-toggle-track{border-color:rgba(255,255,255,.22)}
        body.s-dashboard-page .tk-toggle input:focus-visible+.tk-toggle-track{box-shadow:0 0 0 3px rgba(59,130,246,.32)}
        body.s-dashboard-page .tk-toggle input:checked+.tk-toggle-track{background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:#2563eb}
        body.s-dashboard-page .tk-toggle input:checked+.tk-toggle-track+.tk-toggle-thumb{left:25px;background:#fff}
        body.s-dashboard-page .tk-toggle input:disabled+.tk-toggle-track{opacity:.5;cursor:not-allowed}
        body.s-dashboard-page .tk-toggle input:disabled+.tk-toggle-track+.tk-toggle-thumb{opacity:.7}
        body.s-dashboard-page .tk-skel{display:block;background:linear-gradient(90deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.10) 50%,rgba(255,255,255,.04) 100%);background-size:200% 100%;animation:tkSkelShimmer 1.4s linear infinite;border-radius:6px}
        @keyframes tkSkelShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
        body.s-dashboard-page .btn svg{width:14px;height:14px;flex-shrink:0;display:inline-block;vertical-align:middle}
        body.s-dashboard-page .btn-sm svg{width:13px;height:13px}
        body.s-dashboard-page .btn-block{width:100%}
        body.s-dashboard-page .btn-primary{background:#2563eb;color:#fff;border-color:rgba(255,255,255,.06);box-shadow:0 1px 3px rgba(37,99,235,.35)}
        body.s-dashboard-page .btn-primary:hover{background:#1d4fd8;border-color:rgba(255,255,255,.1);box-shadow:0 6px 18px -6px rgba(37,99,235,.6)}
        body.s-dashboard-page .btn-secondary{background:rgba(255,255,255,.04);color:#d4dae4;border-color:rgba(255,255,255,.08)}
        body.s-dashboard-page .btn-secondary:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14);color:#fff}
        body.s-dashboard-page .btn-sm{padding:6px 12px;font-size:12px;gap:5px}
        body.s-dashboard-page .btn-logout{background:rgba(248,113,113,.06);border:1px solid rgba(248,113,113,.28);color:var(--err);padding:4px 14px;border-radius:var(--radius-sm);font-size:11px;cursor:pointer;height:28px;display:flex;align-items:center;transition:background var(--tr),color var(--tr),border-color var(--tr)}
        
        body.s-dashboard-page .btn-logout:hover{background:rgba(248,113,113,.10);border-color:rgba(248,113,113,.45)}
        body.s-dashboard-page .btn-logout-icon{width:28px;height:28px;padding:0!important;justify-content:center;flex-shrink:0}
        body.s-dashboard-page .btn-news-icon{width:28px;height:28px;padding:0!important;flex-shrink:0}
        body.s-dashboard-page .btn-news-icon svg{width:17px;height:17px;flex:0 0 17px}
        body.s-dashboard-page .btn-logout-icon svg{width:15px;height:15px;flex:0 0 15px}
        body.s-dashboard-page .support-btn{position:relative;display:flex;align-items:center;justify-content:center;height:28px;width:34px;color:#f87171;border:1px solid rgba(248,113,113,.28);background:rgba(248,113,113,.10);border-radius:var(--radius-sm);text-decoration:none;transition:background var(--tr),color var(--tr),border-color var(--tr)}
        body.s-dashboard-page .support-btn:hover{color:#fca5a5;border-color:rgba(248,113,113,.5);background:rgba(248,113,113,.16)}
        body.s-dashboard-page .support-btn svg{width:14px;height:14px}
        body.s-dashboard-page .support-btn::after{content:attr(data-tip);position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);background:rgba(20,20,26,.98);color:#e5e5e5;font-size:11px;font-weight:600;padding:5px 9px;border-radius:6px;white-space:nowrap;border:1px solid rgba(255,255,255,.09);box-shadow:0 4px 12px rgba(0,0,0,.4);opacity:0;pointer-events:none;transition:opacity .15s;z-index:60}
        body.s-dashboard-page .support-btn:hover::after{opacity:1}
        body.s-dashboard-page .support-btn-labeled{width:auto;padding:0 13px;font-size:12px;font-weight:600;letter-spacing:.1px;gap:6px}
        body.s-dashboard-page .support-btn-labeled svg{width:14px;height:14px;flex-shrink:0}
        @media (max-width:600px){
            body.s-dashboard-page .support-btn-labeled{width:28px;padding:0;justify-content:center;gap:0}
            body.s-dashboard-page .support-btn-labeled .sup-label{display:none}
        }
        body.s-dashboard-page .support-btn-labeled::after{display:none}
        body.s-dashboard-page .lang-select{position:relative;user-select:none}
        
        body.s-dashboard-page .lang-select-btn{background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07);border-radius:var(--radius-sm);padding:0 10px;font-size:11px;color:#e6e6e6;display:flex;align-items:center;gap:6px;height:28px;cursor:pointer;transition:background var(--tr),border-color var(--tr)}
        body.s-dashboard-page .lang-select-btn:hover{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.13)}
        body.s-dashboard-page .lang-select-btn svg:last-child{transition:transform .2s cubic-bezier(.4,0,.2,1)}
        body.s-dashboard-page .lang-select.open .lang-select-btn{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16)}
        body.s-dashboard-page .lang-select.open .lang-select-btn svg:last-child{transform:rotate(180deg)}
        body.s-dashboard-page .lang-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:130px;background:rgba(14,14,18,.96);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.07);border-radius:8px;padding:4px;box-shadow:0 12px 32px rgba(0,0,0,.6),0 4px 10px rgba(0,0,0,.4);z-index:100;opacity:0;transform:translateY(-6px) scale(.96);transform-origin:top right;pointer-events:none;transition:opacity .18s ease,transform .18s cubic-bezier(.22,1,.36,1)}
        body.s-dashboard-page .lang-select.open .lang-menu{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
        body.s-dashboard-page #loginLangSelect .lang-select.open .lang-menu{transform:translateX(-50%) translateY(0) scale(1)}
        body.s-dashboard-page .lang-opt{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;font-size:12px;color:#e2e6ec;cursor:pointer;border-radius:6px;transition:background var(--tr),color var(--tr)}
        body.s-dashboard-page .lang-opt:hover{background:rgba(255,255,255,.06);color:#fff}
        body.s-dashboard-page .lang-opt .label{flex:1;font-weight:500}
        body.s-dashboard-page .lang-opt .check{width:14px;height:14px;opacity:0;color:var(--accent);transition:opacity var(--tr)}
        body.s-dashboard-page .lang-opt.active{background:rgba(59,130,246,.14);color:#fff}
        body.s-dashboard-page .lang-opt.active .check{opacity:1}
        body.s-dashboard-page .stat-row{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.05)}
        body.s-dashboard-page .stat-row:last-child{border-bottom:none}
        body.s-dashboard-page .stat-label{color:var(--text-dim);font-size:13px}
        body.s-dashboard-page .stat-value{color:#fff;font-size:15px;font-weight:600}
        body.s-dashboard-page .stat-value.green{color:var(--ok)}body.s-dashboard-page .stat-value.yellow{color:var(--warn)}body.s-dashboard-page .stat-value.red{color:var(--err)}
        body.s-dashboard-page .progress-bar{background:rgba(255,255,255,.07);border-radius:6px;height:6px;margin-top:8px;overflow:hidden}
        body.s-dashboard-page .progress-fill{height:100%;border-radius:6px;transition:width .4s ease}
        body.s-dashboard-page .api-key-box{background:rgba(255,255,255,.02);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 14px;font-family:inherit;font-size:12px;color:var(--accent);word-break:break-all;display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}
        body.s-dashboard-page .api-key-box span{flex:1}
        body.s-dashboard-page .api-key-box button{flex-shrink:0}
        body.s-dashboard-page .badge{display:inline-block;padding:3px 9px;border-radius:6px;font-size:10px;font-weight:700;background:var(--accent-soft);color:#9ecbff;border:1px solid rgba(59,130,246,.25);margin:2px;letter-spacing:.3px;text-transform:uppercase}
        body.s-dashboard-page .tabs-row{display:flex;gap:2px;margin-bottom:14px;border-bottom:1px solid var(--border)}
        body.s-dashboard-page .tab-btn{padding:9px 14px;background:none;border:none;color:var(--text-mut);font-size:13px;font-weight:600;cursor:pointer;border-bottom:2px solid transparent;border-radius:9px 9px 0 0;transition:color var(--tr),border-color var(--tr),background var(--tr);white-space:nowrap}
        body.s-dashboard-page .tab-btn:hover{color:var(--text);background:rgba(255,255,255,.03)}
        body.s-dashboard-page .tab-btn.active{color:#fff;border-bottom-color:var(--accent)}
        body.s-dashboard-page .key-head-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}
        body.s-dashboard-page .key-head-act{display:flex;align-items:center;gap:8px;flex-shrink:0}
        body.s-dashboard-page .key-head-act #dashRefreshBtn{margin-left:0}
        body.s-dashboard-page .dash-shell{display:block}
        @media (min-width:1024px){
            body.s-dashboard-page .dash-shell{display:grid;grid-template-columns:222px minmax(0,1fr);gap:22px;align-items:start}
            body.s-dashboard-page .tabs-row{grid-column:1;grid-row:1 / span 2;flex-direction:column;gap:2px;margin-bottom:0;border-bottom:none;padding:8px;background:linear-gradient(180deg,rgba(255,255,255,.024),rgba(255,255,255,.008));border:1px solid var(--border);border-radius:var(--radius);position:sticky;top:78px}
            body.s-dashboard-page .tab-btn{width:100%;text-align:left;padding:10px 12px;border-bottom:none;border-radius:10px;position:relative}
            body.s-dashboard-page .tab-btn.active{background:rgba(59,130,246,.1);color:#fff}
            body.s-dashboard-page .tab-btn.active::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:18px;border-radius:0 3px 3px 0;background:var(--accent)}
            body.s-dashboard-page .tab-content{grid-column:2;grid-row:1;min-width:0}
        }
        body.s-dashboard-page .tab-content{display:none}body.s-dashboard-page .tab-content.active{display:block}
        body.s-dashboard-page .studio-textarea{width:100%;padding:11px 13px;border:1px solid rgba(255,255,255,.08);border-radius:var(--radius-sm);background:rgba(255,255,255,.025);color:#fff;font-size:14px;font-family:inherit;resize:vertical;min-height:76px;transition:border-color var(--tr),background var(--tr),box-shadow var(--tr)}
        body.s-dashboard-page .studio-textarea:hover{border-color:rgba(255,255,255,.14)}
        body.s-dashboard-page .studio-textarea:focus{outline:none;border-color:rgba(59,130,246,.5);background:rgba(255,255,255,.045);box-shadow:0 0 0 3px rgba(59,130,246,.16)}
        body.s-dashboard-page .studio-select{width:100%;padding:11px 13px;border:1px solid rgba(255,255,255,.08);border-radius:var(--radius-sm);background:rgba(255,255,255,.025);color:#fff;font-size:14px;cursor:pointer}
        body.s-dashboard-page .studio-select:focus{outline:none;border-color:var(--accent)}
        body.s-dashboard-page .studio-chip{padding:7px 14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:20px;color:var(--text-dim);font-size:12px;cursor:pointer;transition:border-color var(--tr),color var(--tr),background var(--tr)}
        body.s-dashboard-page .studio-chip:hover{border-color:rgba(255,255,255,.16);color:#fff}
        body.s-dashboard-page .studio-chip.active{border-color:var(--accent);color:#fff;background:var(--accent-soft)}
        body.s-dashboard-page #studioGallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
        body.s-dashboard-page .studio-item{background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.06);border-radius:10px;overflow:hidden}
        body.s-dashboard-page .studio-item img{display:block;width:100%;height:auto;min-height:60px;background:rgba(255,255,255,.03)}
        body.s-dashboard-page .studio-item-meta{display:flex;align-items:center;gap:6px;padding:7px 9px}
        body.s-dashboard-page .studio-item-meta span{flex:1;min-width:0;font-size:11px;color:#a3a3aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
        body.s-dashboard-page .studio-item-act{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;background:none;border:none;color:#7f7f89;cursor:pointer;padding:0;line-height:0;text-decoration:none;transition:color var(--tr),background var(--tr)}
        body.s-dashboard-page .studio-item-act:hover{color:#d4dae4;background:rgba(255,255,255,.05)}
        body.s-dashboard-page .studio-item-act.del:hover{color:#f87171}
        body.s-dashboard-page .studio-item img{cursor:zoom-in}
        body.s-dashboard-page #studioLightbox{display:none;position:fixed;inset:0;z-index:1200;align-items:center;justify-content:center}
        body.s-dashboard-page #studioLightbox .studio-lb-back{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
        body.s-dashboard-page #studioLightbox .studio-lb-frame{position:relative;max-width:94vw;max-height:90vh;overflow:hidden;display:flex;align-items:center;justify-content:center}
        body.s-dashboard-page #studioLightboxImg{max-width:94vw;max-height:90vh;border-radius:12px;box-shadow:0 24px 80px rgba(0,0,0,.65)}
        body.s-dashboard-page .studio-lb-controls{position:absolute;top:14px;right:14px;display:flex;gap:8px;z-index:2}
        body.s-dashboard-page .studio-lb-btn{width:38px;height:38px;border-radius:10px;background:rgba(18,18,18,.88);border:1px solid rgba(255,255,255,.04);color:#e5e5e5;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;line-height:0;text-decoration:none;transition:background var(--tr),border-color var(--tr),color var(--tr)}
        body.s-dashboard-page .studio-lb-btn:hover{background:rgba(35,35,35,.95);border-color:rgba(255,255,255,.09);color:#fff}
        body.s-dashboard-page .studio-lb-btn.close{background:rgba(248,113,113,.1);border-color:rgba(248,113,113,.09);color:#f87171}
        body.s-dashboard-page .studio-lb-btn.close:hover{background:rgba(248,113,113,.2);border-color:rgba(248,113,113,.18);color:#fca5a5}
        body.s-dashboard-page #studioConfirm{display:none;position:fixed;inset:0;z-index:1300;align-items:center;justify-content:center;padding:20px}
        body.s-dashboard-page #studioConfirm .studio-cf-back{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);animation:studioCfBackIn .16s ease}
        body.s-dashboard-page .studio-cf-card{position:relative;width:100%;max-width:360px;background:linear-gradient(180deg,#14141a 0%,#0e0e12 100%);border:1px solid rgba(255,255,255,.07);border-radius:16px;padding:20px;box-shadow:0 24px 70px rgba(0,0,0,.6);animation:studioCfIn .18s cubic-bezier(.4,0,.2,1);transform-origin:center center}
        @keyframes studioCfIn{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}
        @keyframes studioCfBackIn{from{opacity:0}to{opacity:1}}
        body.s-dashboard-page .studio-cf-thumb{width:64px;height:64px;border-radius:10px;object-fit:cover;border:1px solid rgba(255,255,255,.07);flex-shrink:0;background:rgba(255,255,255,.02)}
        body.s-dashboard-page .studio-cf-btn-del{flex:1;padding:10px 14px;border-radius:10px;border:1px solid rgba(248,113,113,.08);background:rgba(248,113,113,.1);color:#f87171;font-size:13px;font-weight:600;cursor:pointer;transition:background var(--tr),border-color var(--tr),color var(--tr)}
        body.s-dashboard-page .studio-cf-btn-del:hover{background:rgba(248,113,113,.18);border-color:rgba(248,113,113,.16);color:#fca5a5}
        body.s-dashboard-page .studio-cf-btn-cancel{flex:1;padding:10px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#e8ebf0;font-size:13px;font-weight:600;cursor:pointer;transition:background var(--tr),border-color var(--tr)}
        body.s-dashboard-page .studio-cf-btn-cancel:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14)}
        body.s-dashboard-page .gen-stats-row{display:grid;grid-template-columns:1fr;gap:10px;margin-top:14px}
body.s-dashboard-page .sk-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:5px}
body.s-dashboard-page .sk-title{font-size:15px;font-weight:600;color:#fff}
body.s-dashboard-page .sk-count{font-size:12.5px;color:var(--text-mut);font-variant-numeric:tabular-nums}
body.s-dashboard-page .sk-hint{font-size:12.5px;color:var(--text-dim);line-height:1.55;margin-bottom:16px;max-width:640px}
body.s-dashboard-page .sk-form{background:rgba(255,255,255,.02);border:1px solid var(--border);border-radius:12px;padding:15px}
body.s-dashboard-page .sk-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}
body.s-dashboard-page .sk-fields.one-col{grid-template-columns:minmax(0,1fr)}
body.s-dashboard-page .skm-box{max-width:400px;padding:0;overflow:hidden}
body.s-dashboard-page .skm-head{padding:15px 17px 12px;border-bottom:1px solid var(--border)}
body.s-dashboard-page .skm-title{font-size:15px;font-weight:600;color:#fff;letter-spacing:-.1px}
body.s-dashboard-page .skm-key{display:block;margin-top:5px;font-size:11px;color:var(--text-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.s-dashboard-page .skm-body{padding:14px 17px 15px;display:flex;flex-direction:column;gap:12px}
body.s-dashboard-page .skm-field{display:flex;flex-direction:column;gap:5px;margin:0}
body.s-dashboard-page .skm-label{font-size:12px;color:var(--text-dim)}
body.s-dashboard-page .skm-body input{padding:8px 11px;font-size:13px}
body.s-dashboard-page .skm-switch{background:rgba(255,255,255,.025);border:1px solid var(--border);border-radius:10px;padding:10px 12px}
body.s-dashboard-page .skm-hint{font-size:11.5px;color:var(--text-mut);line-height:1.45;margin-top:6px}
body.s-dashboard-page .skm-foot{display:flex;gap:8px;justify-content:flex-end;padding:0 17px 15px}
body.s-dashboard-page .skm-foot .dc-btn{padding:8px 14px}
body.s-dashboard-page .sk-field{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0}
body.s-dashboard-page .sk-label{font-size:12px;color:var(--text-dim)}
body.s-dashboard-page .sk-form input{padding:9px 12px;font-size:13.5px}
body.s-dashboard-page .sk-form input:disabled{opacity:.45;cursor:not-allowed}
body.s-dashboard-page .sk-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:14px}
body.s-dashboard-page .sk-switch{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--text);cursor:pointer;user-select:none;margin:0}
body.s-dashboard-page .sk-list{margin-top:22px}
body.s-dashboard-page .sk-empty{border:1px dashed rgba(255,255,255,.09);border-radius:12px;padding:28px 18px;text-align:center;color:var(--text-mut);font-size:13px}
body.s-dashboard-page .sk-empty svg{display:block;margin:0 auto 10px;opacity:.4}
body.s-dashboard-page .sk-item{background:rgba(255,255,255,.02);border:1px solid var(--border);border-radius:12px;padding:14px 15px;margin-bottom:12px;transition:border-color var(--tr)}
body.s-dashboard-page .sk-item:last-child{margin-bottom:0}
body.s-dashboard-page .sk-item:hover{border-color:var(--border-hi)}
body.s-dashboard-page .sk-item-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
body.s-dashboard-page .sk-name{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#fff;min-width:0;overflow:hidden;text-overflow:ellipsis}
body.s-dashboard-page .sk-dot{width:7px;height:7px;border-radius:50%;background:#4ade80;flex-shrink:0}
body.s-dashboard-page .sk-dot.off{background:#6b7280}
body.s-dashboard-page .sk-dot.full{background:#f87171}
body.s-dashboard-page .sk-usage{font-size:12.5px;color:var(--text-dim);font-variant-numeric:tabular-nums;white-space:nowrap}
body.s-dashboard-page .sk-usage b{color:#fff;font-weight:600}
body.s-dashboard-page .sk-usage i{font-style:normal;color:#4ade80}
body.s-dashboard-page .sk-usage em{font-style:normal;color:var(--text-mut);border-left:1px solid rgba(255,255,255,.12);margin:0 9px;padding:0}
body.s-dashboard-page .sk-usage i.out{color:#f87171}
body.s-dashboard-page .sk-tag{font-size:11.5px;line-height:1.6;border-radius:20px;padding:2px 10px;color:var(--accent-hi);background:var(--accent-soft);white-space:nowrap}
body.s-dashboard-page .sk-tag.muted{color:#facc15;background:rgba(250,204,21,.12)}
body.s-dashboard-page .sk-keyrow{display:flex;align-items:center;gap:8px;margin-top:11px;background:rgba(255,255,255,.02);border:1px solid var(--border);border-radius:9px;padding:8px 6px 8px 11px}
body.s-dashboard-page .sk-keyrow code{flex:1;min-width:0;font-size:12px;color:var(--accent-hi);word-break:break-all}
body.s-dashboard-page .sk-bar{height:5px;background:rgba(255,255,255,.07);border-radius:5px;overflow:hidden;margin-top:11px}
body.s-dashboard-page .sk-bar span{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#16a34a,#4ade80);transition:width .45s cubic-bezier(.4,0,.2,1)}
body.s-dashboard-page .sk-bar.warn span{background:linear-gradient(90deg,#d97706,#f59e0b)}
body.s-dashboard-page .sk-bar.full span{background:linear-gradient(90deg,#dc2626,#ef4444)}
body.s-dashboard-page .sk-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
body.s-dashboard-page .sk-spacer{flex:1 1 auto}
body.s-dashboard-page .sk-btn{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);color:#c9c9d1;border-radius:9px;padding:7px 13px;font-family:inherit;font-size:12.5px;line-height:1.35;cursor:pointer;transition:color .18s ease,border-color .18s ease,background .18s ease,filter .18s ease}
body.s-dashboard-page .sk-btn svg{width:14px;height:14px;flex-shrink:0}
body.s-dashboard-page .sk-btn:hover{color:#fff;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.07)}
body.s-dashboard-page .sk-btn-warn{color:#f87171;border-color:rgba(248,113,113,.3);background:rgba(248,113,113,.06)}
body.s-dashboard-page .sk-btn-warn:hover{color:#fca5a5;border-color:rgba(248,113,113,.52);background:rgba(248,113,113,.13)}
body.s-dashboard-page .sk-btn-accent{color:#93c5fd;border-color:rgba(59,130,246,.38);background:rgba(59,130,246,.12);font-weight:600}
body.s-dashboard-page .sk-btn-accent:hover{color:#bfdbfe;border-color:rgba(59,130,246,.6);background:rgba(59,130,246,.2)}
body.s-dashboard-page .sk-btn-ok{color:#4ade80;border-color:rgba(74,222,128,.3);background:rgba(74,222,128,.07)}
body.s-dashboard-page .sk-btn-ok:hover{color:#86efac;border-color:rgba(74,222,128,.52);background:rgba(74,222,128,.14)}
body.s-dashboard-page .sk-btn-danger{color:#fff;font-weight:600;border-color:transparent;background:linear-gradient(135deg,#e5484d,#c2363b)}
body.s-dashboard-page .sk-btn-danger:hover{color:#fff;border-color:transparent;background:linear-gradient(135deg,#e5484d,#c2363b);filter:brightness(1.12)}
body.s-dashboard-page .sk-stats{margin-top:13px;border-top:1px solid var(--border);padding-top:13px}
body.s-dashboard-page .sk-stats-sum{display:flex;gap:20px;flex-wrap:wrap;font-size:12.5px;color:var(--text-dim);margin-bottom:12px}
body.s-dashboard-page .sk-stats-sum b{color:#fff;font-weight:600}
body.s-dashboard-page .sk-days{display:flex;align-items:flex-end;gap:4px;height:74px;overflow:visible}
body.s-dashboard-page .sk-day{position:relative;flex:1 1 0;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;height:100%;cursor:default}
body.s-dashboard-page .sk-day > span{display:block;background:linear-gradient(180deg,#60a5fa,#2563eb);border-radius:3px 3px 0 0;min-height:2px;transition:filter .16s ease}
body.s-dashboard-page .sk-day.zero > span{background:rgba(255,255,255,.06)}
body.s-dashboard-page .sk-day:hover > span{filter:brightness(1.35)}
body.s-dashboard-page .sk-day::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 9px);left:50%;transform:translateX(-50%) translateY(5px);background:#16161c;border:1px solid rgba(255,255,255,.13);border-radius:9px;padding:7px 10px;font-size:11.5px;line-height:1.45;color:#e4e4e7;white-space:pre;text-align:left;opacity:0;pointer-events:none;transition:opacity .16s ease,transform .16s ease;z-index:6;box-shadow:0 10px 26px rgba(0,0,0,.55)}
body.s-dashboard-page .sk-day:hover::after{opacity:1;transform:translateX(-50%) translateY(0)}
body.s-dashboard-page .sk-day:first-child::after,body.s-dashboard-page .sk-day:nth-child(2)::after{left:0;transform:translateX(0) translateY(5px)}
body.s-dashboard-page .sk-day:first-child:hover::after,body.s-dashboard-page .sk-day:nth-child(2):hover::after{transform:translateX(0) translateY(0)}
body.s-dashboard-page .sk-day:last-child::after,body.s-dashboard-page .sk-day:nth-last-child(2)::after{left:auto;right:0;transform:translateX(0) translateY(5px)}
body.s-dashboard-page .sk-day:last-child:hover::after,body.s-dashboard-page .sk-day:nth-last-child(2):hover::after{transform:translateX(0) translateY(0)}
body.s-dashboard-page .sk-daylabels{display:flex;gap:4px;margin-top:7px}
body.s-dashboard-page .sk-daylabels > div{flex:1 1 0;min-width:0;text-align:center;font-size:10px;color:var(--text-mut);overflow:hidden;white-space:nowrap}
body.s-dashboard-page .sk-models{margin-top:14px;display:flex;flex-direction:column;gap:7px}
body.s-dashboard-page .sk-models-h{font-size:11.5px;color:var(--text-mut);margin-bottom:2px}
body.s-dashboard-page .sk-model{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12px;color:var(--text-dim)}
body.s-dashboard-page .sk-model b{color:#e4e4e7;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.s-dashboard-page .sk-model span{white-space:nowrap;font-variant-numeric:tabular-nums}
body.s-dashboard-page .sk-none{font-size:12.5px;color:var(--text-mut);padding:4px 0}
body.s-dashboard-page .sk-item-skel{pointer-events:none}
body.s-dashboard-page .sk-item-skel .sk-item-head{justify-content:space-between}
@media(max-width:640px){
body.s-dashboard-page .sk-fields{grid-template-columns:1fr}
body.s-dashboard-page .sk-foot{align-items:stretch}
body.s-dashboard-page .sk-foot .btn{width:100%}
body.s-dashboard-page .sk-actions{flex-wrap:nowrap;gap:7px}
body.s-dashboard-page .sk-spacer{flex:1 1 auto;min-width:0}
body.s-dashboard-page .sk-btn{padding:9px 11px;flex:0 0 auto;gap:0}
body.s-dashboard-page .sk-btn-t{display:none}
body.s-dashboard-page .sk-btn svg{width:15px;height:15px}
body.s-dashboard-page .sk-item-head{gap:6px}
body.s-dashboard-page .sk-usage{font-size:11.5px;white-space:normal}
}
        body.s-dashboard-page .gen-stats-row > div[style*="display:none"]{display:none!important}
        body.s-dashboard-page .gen-stats-row:not(:has(> div:not([style*="display:none"]))){display:none}
        body.s-dashboard-page .tabs-row.is-busy .tab-btn:not(.active){cursor:not-allowed;pointer-events:none;opacity:.5;color:var(--text-mut)}
        body.s-dashboard-page .tabs-row.is-busy .tab-btn:not(.active):hover{color:var(--text-mut);border-bottom-color:transparent;background:none}
        body.s-dashboard-page .tabs-row.is-busy .tab-btn.active{cursor:not-allowed;pointer-events:none}
        body.s-dashboard-page .tabs-row.is-busy .tab-btn.active:hover{color:var(--accent);border-bottom-color:var(--accent)}
        body.s-dashboard-page .sidebar.busy a{pointer-events:none;opacity:.5}
        @media (max-width:680px){
        }
        body.s-dashboard-page .log-container{background:linear-gradient(180deg,rgba(255,255,255,.024) 0%,rgba(255,255,255,.008) 100%);border-radius:var(--radius);max-height:500px;overflow-y:auto;overflow-x:hidden;font-family:inherit;font-size:11px;border:1px solid var(--border)}
        body.s-dashboard-page .log-entry{padding:7px 10px;border-bottom:1px solid rgba(255,255,255,.05);display:flex;gap:8px;align-items:center;flex-wrap:nowrap;font-size:11px;line-height:1.3;transition:background var(--tr)}
        body.s-dashboard-page .log-entry:last-child{border-bottom:none}
        body.s-dashboard-page .log-entry:hover{background:rgba(255,255,255,.03)}
        body.s-dashboard-page .log-time{color:var(--text-mut);flex:0 0 auto;white-space:nowrap}
        body.s-dashboard-page .log-path{color:#d4dae4;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
        body.s-dashboard-page .log-model{color:var(--accent);flex:0 1 auto;max-width:32%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
        body.s-dashboard-page .log-tokens{color:var(--ok);flex:0 0 auto;white-space:nowrap;text-align:right}
        body.s-dashboard-page .log-free{flex:0 0 auto;white-space:nowrap;font-size:9.5px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;line-height:1;padding:3px 6px;border-radius:5px;color:#4ade80;background:rgba(74,222,128,.13);border:1px solid rgba(74,222,128,.32)}
        body.s-dashboard-page .log-keychip{flex:0 1 auto;min-width:0;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:9.5px;font-weight:600;line-height:1;padding:3px 6px;border-radius:5px}
        body.s-dashboard-page .log-keychip .log-keychip-t{overflow:hidden;text-overflow:ellipsis;max-width:96px}
        body.s-dashboard-page .log-keychip-i{width:10px;height:10px;flex:0 0 auto}
        body.s-dashboard-page .log-keychip.main{color:var(--text-mut);background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1)}
        body.s-dashboard-page .log-keychip.sub{color:#c4b5fd;background:rgba(168,85,247,.13);border:1px solid rgba(168,85,247,.32)}
        body.s-dashboard-page .log-status{flex:0 0 auto;text-align:right;min-width:30px;font-weight:600}
        body.s-dashboard-page .log-status.ok{color:var(--ok)}body.s-dashboard-page .log-status.err{color:var(--err)}
        body.s-dashboard-page .hidden{display:none!important}
        body.s-dashboard-page .footer-fade{margin-left:-20px;margin-right:-20px}
        body.s-dashboard-page footer{margin:0 -20px -20px}
        body.s-dashboard-page #loginView{min-height:calc(100vh - 40px);min-height:calc(100dvh - 40px);display:flex;flex-direction:column;justify-content:center}
        body.s-dashboard-page .alias-head{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) 40px;gap:10px;align-items:center;font-size:11px;color:#7f7f89;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
        body.s-dashboard-page .alias-rows{display:flex;flex-direction:column;gap:10px}
        body.s-dashboard-page .alias-row{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) 40px;gap:10px;align-items:center}
        body.s-dashboard-page .alias-row input.alias-name{height:40px;width:100%;min-width:0;padding:0 13px;border:1px solid rgba(255,255,255,.08);border-radius:var(--radius-sm);background:rgba(255,255,255,.025);color:#fff;font-size:13.5px;font-family:inherit;transition:border-color var(--tr),background var(--tr),box-shadow var(--tr)}
        body.s-dashboard-page .alias-row input.alias-name:hover{border-color:rgba(255,255,255,.14)}
        body.s-dashboard-page .alias-row input.alias-name:focus{outline:none;border-color:rgba(59,130,246,.5);background:rgba(255,255,255,.045);box-shadow:0 0 0 3px rgba(59,130,246,.16)}
        body.s-dashboard-page .alias-arrow{display:flex;align-items:center;justify-content:center;color:#7f7f89;font-size:15px;line-height:1}
        body.s-dashboard-page .alias-del{width:40px;height:40px;flex:0 0 40px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(248,113,113,.28);border-radius:var(--radius-sm);background:rgba(248,113,113,.06);color:var(--err);cursor:pointer;transition:background var(--tr),border-color var(--tr)}
        body.s-dashboard-page .alias-del:hover{background:rgba(248,113,113,.12);border-color:rgba(248,113,113,.45)}
        body.s-dashboard-page .alias-del svg{width:15px;height:15px;flex:0 0 15px}
        body.s-dashboard-page .alias-empty{font-size:12.5px;color:#7f7f89;padding:14px;border:1px dashed rgba(255,255,255,.08);border-radius:var(--radius-sm);text-align:center}
        body.s-dashboard-page .alias-top{margin-bottom:16px}
        body.s-dashboard-page .alias-top-text{min-width:0}
        body.s-dashboard-page .alias-add-btn{flex-shrink:0;white-space:nowrap}
        body.s-dashboard-page .alias-actions{display:flex;gap:10px;align-items:center;flex-wrap:nowrap;margin-top:16px}
        body.s-dashboard-page .alias-count{font-size:12px;color:#7f7f89;margin-left:auto;flex-shrink:0}
        body.s-dashboard-page #aliasSaveBtn{flex-shrink:0}
        body.s-dashboard-page #dashTabRouting .card{margin-bottom:0;padding-bottom:18px}
body.s-dashboard-page .dc-overlay{position:fixed;inset:0;z-index:3500;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(2,3,7,.72);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility 0s linear .2s,backdrop-filter 0s linear .2s}
body.s-dashboard-page .dc-overlay.open{opacity:1;visibility:visible;pointer-events:auto;backdrop-filter:blur(12px) saturate(1.2);-webkit-backdrop-filter:blur(12px) saturate(1.2);transition:opacity .2s ease,visibility 0s,backdrop-filter 0s}
body.s-dashboard-page .dc-box{width:100%;max-width:380px;background:#0e0e12;border:1px solid rgba(255,255,255,.09);border-radius:16px;box-shadow:0 26px 70px rgba(0,0,0,.6);transform:translateY(10px) scale(.985);transition:transform .26s cubic-bezier(.22,1,.36,1)}
body.s-dashboard-page .dc-overlay.open .dc-box{transform:none}
body.s-dashboard-page .dc-title{font-size:15px;font-weight:600;color:#fff;margin-bottom:8px}
body.s-dashboard-page .dc-text{font-size:13px;color:#9a9aa4;line-height:1.6;margin-bottom:20px}
body.s-dashboard-page .dc-actions{display:flex;gap:8px;justify-content:flex-end}
body.s-dashboard-page .dc-btn{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);color:#c9c9d1;border-radius:9px;padding:9px 15px;font-family:inherit;font-size:12.5px;cursor:pointer;transition:color .18s ease,border-color .18s ease,background .18s ease}
body.s-dashboard-page .dc-btn:hover{color:#fff;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.07)}
body.s-dashboard-page .dc-btn.primary{background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:transparent;color:#fff;font-weight:600}
body.s-dashboard-page .dc-btn.primary:hover{filter:brightness(1.08)}
body.s-dashboard-page .dc-btn.primary.danger{background:linear-gradient(135deg,#e5484d,#c2363b)}
body.s-dashboard-page .rp-thread-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}
body.s-dashboard-page .rp-thread-top .rp-back{margin-bottom:0}
body.s-dashboard-page .rp-thread-top .rp-refresh{width:auto;min-width:34px;height:34px;padding:8px 11px;align-self:stretch}
body.s-dashboard-page .rp-thread-head-right{display:flex;align-items:center;gap:8px;flex-shrink:0}
body.s-dashboard-page .rp-refresh{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.09);color:#a3a3aa;cursor:pointer;transition:color .18s ease,border-color .18s ease,background .18s ease}
body.s-dashboard-page .rp-refresh:hover{color:#fff;border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.06)}
body.s-dashboard-page .rp-refresh svg{width:14px;height:14px}
body.s-dashboard-page .rp-refresh.spin svg{animation:rpSpin .7s linear}
@keyframes rpSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
body.s-dashboard-page .rp-chip-img{padding:0;border:0;background:none;cursor:zoom-in;display:flex;flex-shrink:0}
body.s-dashboard-page .rp-filecount{margin-left:auto;font-size:11.5px;color:#7fb8ff;font-variant-numeric:tabular-nums;background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.26);border-radius:6px;padding:2px 8px}
body.s-dashboard-page .rp-pager{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
body.s-dashboard-page .rp-page{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);color:#a3a3aa;border-radius:7px;min-width:30px;height:30px;font-family:inherit;font-size:12px;cursor:pointer;transition:color .18s ease,border-color .18s ease,background .18s ease}
body.s-dashboard-page .rp-page:hover{color:#fff;border-color:rgba(255,255,255,.16)}
body.s-dashboard-page .rp-page.active{background:rgba(59,130,246,.16);border-color:rgba(59,130,246,.4);color:#fff}
body.s-dashboard-page .rp-thread-actions{display:flex;align-items:center;gap:7px;flex-shrink:0;margin-right:auto}
body.s-dashboard-page .rp-mini{padding:9px 16px;border:1px solid rgba(229,72,77,.32);border-radius:var(--radius-sm);font-family:inherit;font-size:13px;font-weight:600;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:rgba(229,72,77,.1);color:#e5484d;transition:color .18s ease,border-color .18s ease,background .18s ease}
body.s-dashboard-page .rp-mini:hover{color:#fff;background:rgba(229,72,77,.85);border-color:rgba(229,72,77,.85)}
body.s-dashboard-page .rp-thumb{display:block;padding:0;border:1px solid rgba(255,255,255,.09);border-radius:7px;overflow:hidden;background:none;cursor:zoom-in}
body.s-dashboard-page .rp-lightbox{position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(2,3,7,.9);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility 0s linear .2s,backdrop-filter 0s linear .2s}
body.s-dashboard-page .rp-lightbox.open{opacity:1;visibility:visible;pointer-events:auto;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:opacity .2s ease,visibility 0s,backdrop-filter 0s}
body.s-dashboard-page .rp-lightbox img{max-width:100%;max-height:100%;border-radius:10px;box-shadow:0 24px 70px rgba(0,0,0,.6);transform:scale(.97);transition:transform .22s cubic-bezier(.22,1,.36,1)}
body.s-dashboard-page .rp-lightbox.open img{transform:none}
body.s-dashboard-page .rp-lightbox-x{position:absolute;top:16px;right:16px;width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);color:#e5e5e5;cursor:pointer}
body.s-dashboard-page .rp-lightbox-x svg{width:16px;height:16px}
body.s-dashboard-page .rp-status.in_progress{background:rgba(250,204,21,.1);color:#facc15;border:1px solid rgba(250,204,21,.28)}
body.s-dashboard-page .rp-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
body.s-dashboard-page .rp-title{font-size:15px;font-weight:600;color:#fff}
body.s-dashboard-page .rp-sub{font-size:12.5px;color:#8b8b95;margin-top:4px;line-height:1.5;max-width:520px}
body.s-dashboard-page .rp-new-btn{flex-shrink:0}
body.s-dashboard-page .rp-list{display:flex;flex-direction:column;gap:8px}
body.s-dashboard-page .rp-item{width:100%;text-align:left;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.07);border-radius:10px;padding:12px 14px;cursor:pointer;font-family:inherit;transition:border-color .18s ease,background .18s ease}
body.s-dashboard-page .rp-item:hover{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.04)}
body.s-dashboard-page .rp-item-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.s-dashboard-page .rp-item-subj{font-size:13.5px;color:#fff;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.s-dashboard-page .rp-item-prev{font-size:12px;color:#7f7f89;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.s-dashboard-page .rp-item-meta{font-size:11.5px;color:#63636d;margin-top:6px}
body.s-dashboard-page .rp-status{flex-shrink:0;font-size:10.5px;font-weight:600;padding:2px 8px;border-radius:5px;white-space:nowrap}
body.s-dashboard-page .rp-status.open{background:rgba(59,130,246,.12);color:#7fb8ff;border:1px solid rgba(59,130,246,.3)}
body.s-dashboard-page .rp-status.answered{background:rgba(74,222,128,.1);color:#4ade80;border:1px solid rgba(74,222,128,.28)}
body.s-dashboard-page .rp-status.closed{background:rgba(255,255,255,.05);color:#8b8b95;border:1px solid rgba(255,255,255,.1)}
body.s-dashboard-page .rp-empty{padding:26px 14px;text-align:center;color:#63636d;font-size:12.5px;border:1px dashed rgba(255,255,255,.09);border-radius:10px}
body.s-dashboard-page .rp-back{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:8px;color:#a3a3aa;font-family:inherit;font-size:12.5px;line-height:1;cursor:pointer;padding:8px 12px 8px 9px;margin-bottom:16px;transition:color .18s ease,border-color .18s ease,background .18s ease}
body.s-dashboard-page .rp-back:hover{color:#fff;border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.06)}
body.s-dashboard-page .rp-back svg{width:14px;height:14px;flex-shrink:0}
body.s-dashboard-page .rp-label{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.s-dashboard-page .rp-count{font-size:11px;color:#5a5a63;font-variant-numeric:tabular-nums}
body.s-dashboard-page .rp-thread.is-closed{margin-bottom:0}
body.s-dashboard-page .rp-label{font-size:12px;color:#8b8b95;margin:0 0 6px}
body.s-dashboard-page .rp-input{width:100%;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.09);border-radius:9px;padding:10px 12px;color:#fff;font-family:inherit;font-size:13px;margin-bottom:14px;transition:border-color .18s ease}
body.s-dashboard-page .rp-input:focus{outline:none;border-color:rgba(59,130,246,.5)}
body.s-dashboard-page .rp-area{min-height:130px;resize:none;line-height:1.55}
body.s-dashboard-page .rp-files-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
body.s-dashboard-page .rp-file-btn{flex-shrink:0}
body.s-dashboard-page .rp-hint{font-size:11.5px;color:#63636d}
body.s-dashboard-page .rp-preview{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
body.s-dashboard-page .rp-chip{display:flex;align-items:center;gap:7px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:5px 8px;font-size:11.5px;color:#a3a3aa}
body.s-dashboard-page .rp-chip img{width:26px;height:26px;object-fit:cover;border-radius:5px}
body.s-dashboard-page .rp-chip button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;color:#8b8b95;cursor:pointer;padding:2px;transition:color .18s ease}
body.s-dashboard-page .rp-chip button svg{width:12px;height:12px}
body.s-dashboard-page .rp-chip button:hover{color:#e5484d}
body.s-dashboard-page .rp-send-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
body.s-dashboard-page .rp-thread-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
body.s-dashboard-page .rp-thread{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}
body.s-dashboard-page .rp-msg{border-radius:10px;padding:11px 13px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.02)}
body.s-dashboard-page .rp-msg.admin{border-color:rgba(59,130,246,.28);background:rgba(59,130,246,.07)}
body.s-dashboard-page .rp-msg-who{font-size:11px;font-weight:600;color:#8b8b95;margin-bottom:6px;display:flex;justify-content:space-between;gap:10px}
body.s-dashboard-page .rp-msg.admin .rp-msg-who{color:#7fb8ff}
body.s-dashboard-page .rp-msg-body{font-size:13px;color:#e4e4e7;line-height:1.6;white-space:pre-wrap;word-break:break-word}
body.s-dashboard-page .rp-msg-files{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
body.s-dashboard-page .rp-msg-files a{display:block;border-radius:7px;overflow:hidden;border:1px solid rgba(255,255,255,.09)}
body.s-dashboard-page .rp-msg-files img{display:block;width:92px;height:92px;object-fit:cover}
@media(max-width:560px){body.s-dashboard-page .rp-new-btn{width:100%}body.s-dashboard-page .rp-msg-files img{width:74px;height:74px}}
        body.s-dashboard-page .alias-sel{position:relative;user-select:none;min-width:0}
        body.s-dashboard-page .alias-sel-btn{width:100%;height:40px;display:flex;align-items:center;gap:8px;padding:0 12px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.08);border-radius:var(--radius-sm);color:#fff;font-size:13.5px;font-family:inherit;cursor:pointer;text-align:left;transition:background var(--tr),border-color var(--tr),box-shadow var(--tr)}
        body.s-dashboard-page .alias-sel-btn:hover{border-color:rgba(255,255,255,.14)}
        body.s-dashboard-page .alias-sel.open .alias-sel-btn{border-color:rgba(59,130,246,.5);background:rgba(255,255,255,.045);box-shadow:0 0 0 3px rgba(59,130,246,.16)}
        body.s-dashboard-page .alias-sel-val{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
        body.s-dashboard-page .alias-sel-val.empty{color:#7f7f89}
        body.s-dashboard-page .alias-sel-chev{width:15px;height:15px;flex:0 0 15px;color:#7f7f89;transition:transform .2s cubic-bezier(.4,0,.2,1)}
        body.s-dashboard-page .alias-sel.open .alias-sel-chev{transform:rotate(180deg)}
        body.s-dashboard-page .alias-sel-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;max-height:260px;overflow-y:auto;overscroll-behavior:contain;background:rgba(14,14,18,.96);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.07);border-radius:10px;padding:4px;box-shadow:0 12px 32px rgba(0,0,0,.6),0 4px 10px rgba(0,0,0,.4);z-index:120;opacity:0;transform:translateY(-6px) scale(.98);transform-origin:top center;pointer-events:none;transition:opacity .18s ease,transform .18s cubic-bezier(.22,1,.36,1)}
        body.s-dashboard-page .alias-sel.open .alias-sel-menu{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
        body.s-dashboard-page .alias-sel.up .alias-sel-menu{top:auto;bottom:calc(100% + 6px);transform-origin:bottom center;transform:translateY(6px) scale(.98)}
        body.s-dashboard-page .alias-sel.up.open .alias-sel-menu{transform:translateY(0) scale(1)}
        body.s-dashboard-page .alias-sel-opt{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:9px 11px;font-size:13px;color:#e2e6ec;background:transparent;border:none;border-radius:7px;cursor:pointer;text-align:left;font-family:inherit;transition:background var(--tr),color var(--tr)}
        body.s-dashboard-page .alias-sel-opt:hover{background:rgba(255,255,255,.06);color:#fff}
        body.s-dashboard-page .alias-sel-opt .label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
        body.s-dashboard-page .alias-sel-opt .check{width:14px;height:14px;flex:0 0 14px;opacity:0;color:var(--accent);transition:opacity var(--tr)}
        body.s-dashboard-page .alias-sel-opt.active{background:rgba(59,130,246,.14);color:#fff}
        body.s-dashboard-page .alias-sel-opt.active .check{opacity:1}
        body.s-dashboard-page .alias-sel-empty{padding:10px 11px;font-size:12.5px;color:#7f7f89}
        body.s-dashboard-page .alias-lab{display:none}
        @media(max-width:640px){
            body.s-dashboard-page .alias-head{display:none}
            body.s-dashboard-page .alias-row{grid-template-columns:minmax(0,1fr) 40px;grid-template-areas:"lab1 ." "name del" "lab2 ." "target .";gap:6px 10px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.05)}
            body.s-dashboard-page .alias-rows>.alias-row:last-child{border-bottom:none;padding-bottom:0}
            body.s-dashboard-page .alias-lab{display:block;font-size:11px;color:#7f7f89;text-transform:uppercase;letter-spacing:.5px}
            body.s-dashboard-page .alias-lab-name{grid-area:lab1}
            body.s-dashboard-page .alias-lab-target{grid-area:lab2;margin-top:6px}
            body.s-dashboard-page .alias-row input.alias-name{grid-area:name}
            body.s-dashboard-page .alias-row .alias-sel{grid-area:target}
            body.s-dashboard-page .alias-arrow{display:none}
            body.s-dashboard-page .alias-del{grid-area:del;height:40px;align-self:center}
        }
        body.s-dashboard-page .splash{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#08080b;z-index:1000;opacity:1;transition:opacity .34s ease,visibility 0s linear .34s}
        body.s-dashboard-page .splash.splash-out{opacity:0;visibility:hidden;pointer-events:none}
        body.s-dashboard-page .splash::before{content:"";position:absolute;width:min(620px,92vw);height:min(620px,92vw);border-radius:50%;background:radial-gradient(circle at center,rgba(59,130,246,.18) 0%,rgba(59,130,246,.06) 42%,transparent 70%);filter:blur(34px);animation:splashGlow 2.8s ease-in-out infinite}
        body.s-dashboard-page .splash-box{position:relative;display:flex;flex-direction:column;align-items:center;gap:22px}
        body.s-dashboard-page .splash-ring{position:relative;width:86px;height:86px;display:flex;align-items:center;justify-content:center}
        body.s-dashboard-page .splash-ring::before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,rgba(255,255,255,.04) 0deg,rgba(59,130,246,.12) 140deg,#2f6fde 268deg,#7fb8ff 348deg,rgba(255,255,255,.04) 360deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3.5px),#000 calc(100% - 3.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3.5px),#000 calc(100% - 3.5px));animation:splashSpin 1.1s linear infinite}
        body.s-dashboard-page .splash-mark{position:relative;width:40px;height:40px;display:block;filter:drop-shadow(0 6px 18px rgba(0,119,255,.42));animation:splashBreath 2.4s ease-in-out infinite}
        body.s-dashboard-page .splash-mark svg{width:100%;height:100%;display:block}
        body.s-dashboard-page .splash-bar{position:relative;width:108px;height:2px;border-radius:2px;background:rgba(255,255,255,.07);overflow:hidden}
        body.s-dashboard-page .splash-bar span{position:absolute;top:0;left:0;width:38%;height:100%;border-radius:2px;background:linear-gradient(90deg,rgba(59,130,246,0),#3b82f6 45%,#7fb8ff 75%,rgba(127,184,255,0));animation:splashSweep 1.25s ease-in-out infinite}
        body.s-dashboard-page .splash-label{color:#a3a3aa;font-size:13px}
        @keyframes splashSpin{to{transform:rotate(360deg)}}
        @keyframes splashSweep{0%{transform:translateX(-110%)}100%{transform:translateX(370%)}}
        @keyframes splashGlow{0%,100%{opacity:.5}50%{opacity:1}}
        @keyframes splashBreath{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
        @media (prefers-reduced-motion:reduce){body.s-dashboard-page .splash::before,body.s-dashboard-page .splash-ring::before,body.s-dashboard-page .splash-mark{animation:none}body.s-dashboard-page .splash-bar span{animation:splashSweep 2.4s linear infinite}}
        body.s-dashboard-page .pagination{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:12px;color:var(--text-mut)}
        body.s-dashboard-page .detail-entry{padding:10px;border-bottom:1px solid rgba(255,255,255,.05);cursor:pointer;transition:background var(--tr)}
        body.s-dashboard-page .detail-entry:hover{background:rgba(255,255,255,.03)}
        body.s-dashboard-page .detail-panel{display:none;margin-top:6px;padding:8px;background:var(--surface);border-radius:var(--radius-sm);font-size:11px;overflow:hidden;border:1px solid var(--border)}
        body.s-dashboard-page .detail-panel.open{display:block}
        body.s-dashboard-page .detail-section{margin-bottom:8px;min-width:0}
        body.s-dashboard-page .detail-section-title{color:var(--accent);font-weight:600;margin-bottom:3px;font-size:11px;text-transform:uppercase;letter-spacing:.3px}
        body.s-dashboard-page .detail-body{background:rgba(255,255,255,.02);padding:8px 10px;border-radius:var(--radius-sm);white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;max-height:200px;overflow-y:auto;overflow-x:hidden;color:#d4dae4;line-height:1.4;font-family:inherit;font-size:10px;box-sizing:border-box;width:100%;border:1px solid rgba(255,255,255,.05)}
        body.s-dashboard-page .exp-type-btn.active{background:#3b82f6!important;color:#fff!important;border-color:#3b82f6!important}
        body.s-dashboard-page .guide-tab-btn.active{background:#3b82f6!important;color:#fff!important;border-color:#3b82f6!important}
        body.s-dashboard-page .sdk-tab-oai.active,body.s-dashboard-page .sdk-tab-anth.active,body.s-dashboard-page .sdk-tab-tokens.active,body.s-dashboard-page .sdk-tab-stream.active,body.s-dashboard-page .sdk-tab-streamlang.active,body.s-dashboard-page .sdk-tab-streamapi.active{background:#3b82f6!important;color:#fff!important;border-color:#3b82f6!important}
        body.s-dashboard-page .skeleton{background:rgba(255,255,255,.06);border-radius:6px;overflow:hidden;position:relative}
        body.s-dashboard-page .skeleton::after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(90deg,transparent,#ffffff08,transparent);animation:shimmer 1.5s infinite}
        @keyframes shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
        @keyframes spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}
        body.s-dashboard-page .refresh-btn{background:none;border:none;cursor:pointer;padding:4px 8px;border-radius:6px;display:flex;align-items:center;transition:background var(--tr),color var(--tr),transform var(--tr)}
        body.s-dashboard-page .refresh-btn svg{transition:stroke var(--tr),transform var(--tr)}
        body.s-dashboard-page .refresh-btn:active{transform:scale(.95)}
        body.s-dashboard-page .refresh-btn.spinning svg{animation:spin .7s linear infinite;transform-origin:50% 50%}
        body.s-dashboard-page .refresh-btn:disabled{opacity:.6;cursor:default}
        body.s-dashboard-page .step-num{display:inline-block;color:var(--accent);font-weight:700;margin-right:0;opacity:.9}
        body.s-dashboard-page .step-num::after{content:'.'}
        body.s-dashboard-page .howto{background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.06);border-radius:6px;margin:6px 0 10px;font-size:12px;color:#c9ced8}
        body.s-dashboard-page .howto>summary{padding:9px 12px;cursor:pointer;color:#7fb8ff;font-weight:600;list-style:none;display:flex;align-items:center;gap:8px;outline:none;user-select:none}
        body.s-dashboard-page .howto>summary::-webkit-details-marker{display:none}
        body.s-dashboard-page .howto>summary::before{content:'';display:inline-block;width:0;height:0;border-left:5px solid #7fb8ff;border-top:4px solid transparent;border-bottom:4px solid transparent;transition:transform .15s}
        body.s-dashboard-page .howto[open]>summary::before{transform:rotate(90deg)}
        body.s-dashboard-page .howto>summary:hover{color:#a9d0ff}
        body.s-dashboard-page .howto .howto-body{padding:0 12px 10px;line-height:1.7}
        body.s-dashboard-page .howto ol{margin:4px 0 0 18px;padding:0}
        body.s-dashboard-page .howto li{margin-bottom:4px}
        body.s-dashboard-page .howto code{background:rgba(255,255,255,.08);padding:2px 6px;border-radius:4px;color:#facc15;font-size:11px}
        body.s-dashboard-page .copy-icon-btn{background:none;border:none;color:#7f7f89;cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center;flex-shrink:0;transition:color var(--tr),background var(--tr)}
        body.s-dashboard-page .copy-icon-btn:hover{color:#fff;background:rgba(255,255,255,.08)}
        body.s-dashboard-page .code-copy-wrap{position:relative}
        body.s-dashboard-page .code-copy-btn{position:absolute;top:6px;right:6px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);border-radius:5px;color:#a3a3aa;cursor:pointer;padding:0;transition:color .15s,background .15s,border-color .15s;z-index:2}
        body.s-dashboard-page .code-copy-btn:hover{color:#fff;background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.16)}
        body.s-dashboard-page .code-copy-btn svg{width:14px;height:14px;display:block}
        @media(max-width:600px){
            body.s-dashboard-page{padding:8px}
            body.s-dashboard-page #loginView{min-height:calc(100vh - 16px);min-height:calc(100dvh - 16px)}
            body.s-dashboard-page .footer-fade{margin-left:-8px;margin-right:-8px}
            body.s-dashboard-page footer{margin:0 -8px -8px}
            body.s-dashboard-page .container{max-width:100%}
            
            body.s-dashboard-page .header{flex-wrap:wrap;gap:8px;margin-bottom:10px;justify-content:space-between}
            body.s-dashboard-page .header h1{font-size:16px;min-width:0;flex:0 0 auto}
            body.s-dashboard-page .header > div{flex-wrap:wrap;justify-content:flex-end;gap:6px!important}
            body.s-dashboard-page .btn-logout{padding:4px 10px!important;font-size:10.5px!important}
            body.s-dashboard-page .card{padding:12px}
            body.s-dashboard-page .endpoints-grid{grid-template-columns:1fr!important}
            body.s-dashboard-page .endpoints-grid code{font-size:10px!important}
            body.s-dashboard-page .stats-grid{gap:6px!important}
        }
        body.s-dashboard-page.dash-balance-key #tokenStatsGrid{display:none!important}
        @media(max-width:480px){
            body.s-dashboard-page .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
            body.s-dashboard-page .stats-grid>div:last-child{grid-column:1/-1}
        }
        @media(max-width:420px){
            body.s-dashboard-page .stats-grid{grid-template-columns:minmax(0,1fr)!important}
        }
        @media(max-width:600px){
            body.s-dashboard-page .stats-grid>div{padding:8px!important}
            body.s-dashboard-page .stats-grid>div>div:last-child{font-size:14px!important}
            body.s-dashboard-page .stat-value{font-size:13px}
            body.s-dashboard-page .log-entry{font-size:10.5px;column-gap:6px;row-gap:3px;padding:7px 8px;flex-wrap:wrap;align-items:center}
            body.s-dashboard-page .log-entry::after{content:'';flex-basis:100%;height:0;order:9}
            body.s-dashboard-page .log-time{order:1;font-size:10px;opacity:.75}
            body.s-dashboard-page .log-keychip{order:2}
            body.s-dashboard-page .log-free{order:3}
            body.s-dashboard-page .log-tokens{order:6;margin-left:auto;font-size:10.5px}
            body.s-dashboard-page .log-status{order:7;min-width:0}
            body.s-dashboard-page .log-latency{order:8;font-size:10px;opacity:.75}
            body.s-dashboard-page .log-path{order:10;flex:1 1 auto;min-width:0;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
            body.s-dashboard-page .log-model{order:11;flex:0 1 auto;min-width:0;max-width:52%;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
            body.s-dashboard-page .log-keychip .log-keychip-t{max-width:70px}
            body.s-dashboard-page .tabs-row{gap:0;overflow-x:auto}
            body.s-dashboard-page .tab-btn{padding:8px 10px;font-size:12px;white-space:nowrap}
            body.s-dashboard-page #guideTabButtons::-webkit-scrollbar{display:none}
            body.s-dashboard-page .detail-body{font-size:9px}
        }
        
        @media(max-width:440px){
            body.s-dashboard-page .header h1{font-size:0;gap:0;line-height:0}
            body.s-dashboard-page .header h1 svg{flex-shrink:0}
            body.s-dashboard-page .btn-logout{padding:4px 8px!important;font-size:10px!important}
            body.s-dashboard-page .lang-select-btn{padding:4px 8px!important;font-size:10px!important}
        }
body.s-dashboard-page .build-stamp{color:inherit;font-size:inherit;white-space:nowrap;letter-spacing:.5px;font-weight:600}
body.s-dashboard-page .build-sep{opacity:.28;margin:0 8px}
@media (max-width:640px){body.s-dashboard-page .build-sep{display:none}body.s-dashboard-page .build-stamp{display:block;margin-top:4px}}
.dash-studio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 28px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 600;
  color: #7fb8ff;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-studio:hover {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.4);
  color: #a9d1ff;
}

.dash-studio svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .dash-studio {
    padding: 0 10px;
  }

  .dash-studio span {
    display: none;
  }
}

.cta-apps {
  position: relative;
  display: inline-flex;
}

.cta-apps .cta-dash {
  cursor: pointer;
}

.cta-apps-chev {
  width: 9px;
  height: 9px;
  margin-left: 1px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms linear;
}

.cta-apps.open .cta-apps-chev {
  transform: rotate(180deg);
  opacity: 1;
}

.cta-apps-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 196px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(14, 14, 18, 0.97);
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms linear, visibility 160ms step-end;
  z-index: 60;
}

.cta-apps.open .cta-apps-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 160ms linear, visibility 0s;
}

.cta-apps-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #d5d5dc;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms linear, color 160ms linear;
}

.cta-apps-menu a svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #7f7f89;
  transition: color 160ms linear;
}

.cta-apps-menu a:hover {
  background: rgba(59, 130, 246, 0.12);
  color: #fff;
}

.cta-apps-menu a:hover svg {
  color: #7fb8ff;
}

@media (max-width: 640px) {
  .cta-apps-menu {
    min-width: 176px;
  }
}
.studio-sel.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.studio-sel .alias-sel-btn[disabled] {
  cursor: not-allowed;
}

.studio-chip[disabled],
.studio-textarea[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.studio-chip[disabled] {
  pointer-events: none;
}

.studio-busy {
  transition: opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.studio-busy.on {
  opacity: 0.55;
}
body[class] textarea{resize:none!important}
body[class][class] #userChipBox:empty,
body[class][class] .nav-wrap > #userChipBox:empty,
body[class][class] header #userChipBox:empty{display:none}
@media(min-width:721px){
body[class] .cta-account.tk-signin{width:auto;padding:0 16px;gap:7px}
body[class] .cta-account.tk-signin .cta-account-label{display:inline}
}
.tk-skel{display:block;background:linear-gradient(90deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.10) 50%,rgba(255,255,255,.04) 100%);background-size:200% 100%;animation:tkSkelShimmer 1.4s linear infinite;border-radius:6px}
@keyframes tkSkelShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.tk-btn-spin{display:inline-block;width:13px;height:13px;margin-left:8px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:tkBtnSpin .7s linear infinite;vertical-align:-2px;opacity:.85;flex-shrink:0}
@keyframes tkBtnSpin{to{transform:rotate(360deg)}}
[data-tk-busy]{cursor:progress}
a.btn[data-tk-busy],[data-busy][data-tk-busy]{pointer-events:none;opacity:.75}
#tkRouteLoad{position:fixed;inset:0;z-index:390;display:flex;align-items:center;justify-content:center;background:#08080b;animation:tkRouteIn .18s ease both}
#tkRouteLoad::before{content:"";position:absolute;width:min(620px,92vw);height:min(620px,92vw);border-radius:50%;background:radial-gradient(circle at center,rgba(59,130,246,.18) 0%,rgba(59,130,246,.06) 42%,transparent 70%);filter:blur(34px)}
@keyframes tkRouteIn{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){#tkRouteLoad{animation:none}}
[data-tk-busy] .tk-btn-spin{margin-left:10px;margin-right:0}
.side-link[data-tk-busy],.tab-btn[data-tk-busy],.dash-nav-link[data-tk-busy]{gap:10px}
.refresh-btn[data-tk-busy] .tk-btn-spin,.copy-icon-btn[data-tk-busy] .tk-btn-spin,.code-copy-btn[data-tk-busy] .tk-btn-spin{display:none}
.refresh-btn.is-spinning svg,.refresh-btn[data-tk-busy] svg{animation:tkBtnSpin .8s linear infinite;transform-origin:50% 50%}
.dc-overlay .dc-box{padding:22px 22px 20px}
@media (max-width:520px){.dc-overlay .dc-box{padding:18px 16px 16px}}
.dc-btn:focus{outline:none}
.dc-btn:focus-visible{outline:2px solid rgba(59,130,246,.55);outline-offset:2px}
.tk-skel.tk-skel-center{display:block;margin-left:auto;margin-right:auto}
.payments-list .pay-card .pay-key-copy.pay-key-btn{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#e8ebf2;padding:0;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.payments-list .pay-card .pay-key-copy.pay-key-btn:hover{background:rgba(255,255,255,.17);border-color:rgba(255,255,255,.28);color:#fff}
.payments-list .pay-card .pay-key-copy.pay-key-btn .copy-ic{width:14px;height:14px}
.balance-chip[data-tk-busy]{cursor:progress}
body[class] .balance-chip[data-tk-busy] .balance-plus,body[class] .balance-chip-landing[data-tk-busy] .balance-plus{display:none}
body[class] .balance-chip[data-tk-busy] .tk-btn-spin,body[class] .balance-chip-landing[data-tk-busy] .tk-btn-spin{display:inline-flex;align-items:center;justify-content:center;width:32px;height:100%;margin:0;border:0;border-left:1px solid rgba(16,185,129,.18);border-radius:0;animation:none}
body[class] .balance-chip[data-tk-busy] .tk-btn-spin::before,body[class] .balance-chip-landing[data-tk-busy] .tk-btn-spin::before{content:"";width:9px;height:9px;border:1.6px solid currentColor;border-top-color:transparent;border-radius:50%;animation:tkBtnSpin .7s linear infinite;opacity:.85}
@media (max-width:600px){body[class] .balance-chip[data-tk-busy] .tk-btn-spin,body[class] .balance-chip-landing[data-tk-busy] .tk-btn-spin{width:28px}}
@keyframes tkFadeIn{from{opacity:0}to{opacity:1}}
#dashTopupLink,#dashNewsLink,.header .btn-logout,.header .dash-support,.tabs-row .tab-btn[id]{animation:tkFadeIn .2s ease both}
body[class] .balance-chip[class],body[class] .balance-chip-landing[class],body[class] #userChipBox .user-chip[class],body[class] #dashTopupLink[class],body[class] #dashNewsLink[class],body[class] .header .btn-logout[class],body[class] .tabs-row .tab-btn[id]{transition:opacity .2s ease,background var(--tr),border-color var(--tr),color var(--tr)}
@media (prefers-reduced-motion:reduce){#dashTopupLink,#dashNewsLink,.header .btn-logout,.header .dash-support,.tabs-row .tab-btn[id]{animation:none}}
body[class] .tk-freehead{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
body[class] .tk-freehead-reset{margin-left:auto;font-size:11.5px;color:#6f6f78;white-space:nowrap}
@media (max-width:620px){body[class] .tk-freehead{gap:7px;margin-bottom:10px}body[class] .tk-freehead-reset{margin-left:0;width:100%;white-space:normal}}
body[class] .tk-freehead .tk-freehead-copy{width:15px;height:15px;padding:0;margin-left:-5px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
body[class] .tk-freehead .tk-freehead-copy svg{width:10px;height:10px}
@media (prefers-reduced-motion:reduce){body[class] .hero h1 b,body[class] .hero b,body[class] .detail-modal,body[class] .modal{animation:none!important}}
