@import url('/fonts/fonts.css');
:root{--ink:#173a32;--green:#0e6b5e;--muted:#7a8d84;--line:#e0e9df;--bg:#f6f8f4;--lime:#d8f788;--radius:20px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:13px/1.6 Inter,Arial,sans-serif}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;flex-shrink:0}button svg,a svg{pointer-events:none}button{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #88b860;outline-offset:4px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,Inter,Arial,sans-serif}h1{font-size:34px;line-height:1.2;letter-spacing:-1.25px;font-weight:800}h2{font-size:21px;line-height:1.3;letter-spacing:-.7px}h3{font-size:16px;letter-spacing:-.35px}.eyebrow{font-size:9px;text-transform:uppercase;letter-spacing:1.6px;color:var(--muted);font-weight:700}.quiet{color:var(--muted);font-size:12px}.brand{display:flex}.brand img{object-fit:contain}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:10px;padding:13px 19px;background:var(--green);color:white;font-size:12px;font-weight:600;min-height:44px;transition:background .2s,transform .2s}.btn:hover:not(:disabled){background:#07564b;transform:translateY(-1px)}.btn.primary{background:var(--green);color:white}.btn.secondary{background:white;color:var(--green);border-color:var(--line)}.btn.secondary:hover{background:#f0f6ec}.btn.small{padding:9px 13px;min-height:37px;font-size:11px}.btn.full{width:100%;justify-content:space-between}.btn.danger{background:#fceee9;color:#b34c38;border-color:#f0d4c9}.icon-button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:9px;background:white;font-size:23px}.text-button{background:none;border:0;padding:0;color:var(--green);font-weight:600;font-size:11px;text-align:left}.field{display:flex;flex-direction:column;gap:9px;margin:19px 0;font-size:12px;font-weight:600}.field small{color:var(--muted);font-weight:400}input,select{background:#fcfdfb;color:var(--ink);border:1px solid #dce6da;border-radius:9px;min-height:46px;padding:12px 13px;min-width:0;max-width:100%}input::placeholder{color:#9aa9a0;font-size:12px}.notice{padding:15px 18px;background:#edf4e8;border:1px solid #dbe6d4;border-radius:12px;font-size:12px;margin-bottom:20px;overflow-wrap:anywhere}.notice.error{background:#fff0ec;color:#a2412d;border-color:#f0d3c9}.form-note{font-size:10px;text-align:center;color:var(--muted);margin-top:13px;line-height:1.8}.form-note.left{text-align:left;margin:0 0 20px}.skip-link{position:fixed;top:-100px;left:15px;z-index:100;background:var(--green);color:white;padding:12px;border-radius:6px}.skip-link:focus{top:10px}
/* Sign-in */
.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{padding:47px max(42px,calc((100vw - 1250px)/2));background:#e9f1df;position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:850px}.auth-story-copy{margin:auto 0;padding:60px 0 35px;position:relative;z-index:1}.auth-story h1{font-size:clamp(37px,4vw,57px);line-height:1.15;letter-spacing:-2.2px;margin:18px 0 20px}.auth-story h1 em{font-style:normal;color:var(--green)}.auth-story-copy>p{font-size:14px;color:#71836b;line-height:1.9}.auth-illustration{height:255px;position:relative;margin:15px 0 22px}.mini-document{position:absolute;top:40px;left:0;width:310px;max-width:85%;border-radius:18px;background:#ffffffeb;box-shadow:0 20px 60px #46633d15;padding:22px;transform:rotate(-3deg);animation:document-in .85s both}.mini-label{display:block;letter-spacing:1.2px;color:#8c9b85;font-size:7px}.mini-document>strong{display:block;font-family:Manrope,sans-serif;font-size:14px;margin:10px 0 18px}.mini-document>div:not(.mini-document-bottom){font-size:10px;margin:10px 0;color:#6c7f68;display:flex;align-items:center;gap:8px}.mini-check{background:#e0f6b6;color:var(--green);width:17px;height:17px;display:inline-grid;place-items:center;border-radius:50%}.mini-document-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:12px;border-top:1px solid #edf0e8;font-weight:700}.mini-pill{font-size:8px;font-weight:500;color:var(--green);padding:4px 8px;background:#e8f1e0;border-radius:5px}.floating-note{position:absolute;bottom:10px;left:185px;white-space:nowrap;padding:12px 17px;background:var(--green);color:white;border-radius:12px;box-shadow:0 10px 30px #0e6b5e1f;display:flex;align-items:center;gap:8px;font-size:10px;transform:rotate(3deg);animation:float 5s ease-in-out infinite}.floating-note svg{width:16px;height:16px}.orbit{position:absolute;width:300px;height:300px;border:1px solid #cfdcbd;border-radius:50%;right:-50px;top:-5px}.orbit-two{width:210px;height:210px;right:-5px;top:40px;border-style:dashed}.auth-perks{padding:0;margin:0;display:grid;gap:11px;list-style:none;font-size:11px;color:#687e60}.auth-perks li::before{content:'✓';color:var(--green);margin-right:11px}.auth-bottom{display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#839278;z-index:1}.auth-bottom a{color:var(--green)}.auth-main{padding:42px 48px;display:flex;flex-direction:column;align-items:center}.auth-home{align-self:flex-end;font-size:11px;color:var(--muted)}.auth-card{width:min(385px,100%);margin:auto; padding:50px 0}.auth-card h2{font-size:35px;letter-spacing:-1.5px;margin:15px 0 12px;font-weight:800}.auth-sub{color:var(--muted);font-size:12px;line-height:1.8}.auth-tabs{display:flex;gap:4px;padding:5px;background:#edf1e9;border-radius:11px;margin:29px 0 25px}.auth-tabs button{border:0;background:none;border-radius:8px;padding:10px 7px;flex:1;font-size:10px;white-space:nowrap;color:var(--muted);transition:.2s}.auth-tabs button[aria-selected=true]{background:white;box-shadow:0 2px 5px #2949260c;color:var(--green);font-weight:600}.auth-card form{animation:arrive .25s both}.auth-card form>.field:first-child{margin-top:0}.auth-card input{width:100%}.auth-card #loginPinInput{text-align:center;font-size:32px;letter-spacing:9px;font-family:Manrope,Arial;font-weight:700;padding:14px 10px;height:75px;background:white;border-radius:12px}.auth-card #loginPinInput::placeholder{font-size:30px;letter-spacing:8px;color:#b9c5b3}.pin-guide{display:grid;grid-template-columns:20px 1fr;gap:10px;margin:18px 0 24px;font-size:10px;color:var(--muted)}.pin-guide b{font-weight:500;color:#4d6a56}.guide-number{width:17px;height:17px;display:grid;place-items:center;border-radius:5px;background:#e8efdf;color:#69835b;font-size:9px}.password-wrap{position:relative}.password-wrap input{padding-right:50px}.eye{position:absolute;right:10px;top:7px;width:32px;height:32px;border:0;background:none;color:var(--muted);display:grid;place-items:center}.eye svg{width:18px;height:18px}.auth-install{border-top:1px solid var(--line);padding-top:25px;margin-top:29px;display:flex;gap:13px}.auth-install>svg{background:#e8efdf;border-radius:8px;padding:8px;width:33px;height:33px;color:#7c9d61}.auth-install strong{font-size:11px}.auth-install p{font-size:10px;color:var(--muted);margin:5px 0 9px}.auth-install a{font-size:10px;color:var(--green);font-weight:600}.auth-legal{display:flex;gap:13px;font-size:9px;color:var(--muted);width:min(385px,100%);flex-wrap:wrap}.auth-legal>span:last-child{margin-left:auto}
/* Workspace shell */
.workspace{display:flex;min-height:100vh}.sidebar{width:235px;flex-shrink:0;padding:32px 20px 20px;background:white;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;z-index:20;display:flex;flex-direction:column}.sidebar .brand{padding:0 12px;margin-bottom:39px}.workspace-label{font-size:8px;letter-spacing:1.4px;text-transform:uppercase;color:#9bab9e;margin:0 12px 14px}.sidebar nav{display:grid;gap:7px}.sidebar nav button{position:relative;display:flex;align-items:center;gap:12px;text-align:left;padding:13px 12px;min-height:45px;border:0;background:none;border-radius:10px;font-size:11px;color:#6e8477;transition:background .2s}.sidebar nav button svg{width:18px;height:18px}.sidebar nav button:hover{background:#f4f7ef}.sidebar nav button[aria-selected=true]{background:#eaf3e4;color:var(--green);font-weight:600}.sidebar-bottom{margin-top:auto;padding-top:35px}.tariff-note{padding:18px;background:#f5f8ef;border:1px solid #e9eedf;border-radius:14px}.tariff-note strong{display:block;font-family:Manrope,sans-serif;font-size:30px;line-height:1.1;margin:13px 0}.tariff-note strong small{font:400 10px Inter,sans-serif;color:#84927a}.tariff-note p{font-size:9px;color:#83927b;line-height:1.8}.sidebar-support{margin:18px 10px;display:flex;justify-content:space-between;font-size:11px;color:var(--green);font-weight:600}.logout{display:flex;align-items:center;gap:10px;border:0;background:none;font-size:10px;color:#93a18f;padding:9px 10px}.logout svg{width:16px;height:16px}.workspace-body{margin-left:235px;flex:1;min-width:0}.workspace-header{height:82px;background:#ffffffb8;border-bottom:1px solid var(--line);padding:0 36px;display:flex;align-items:center;gap:20px;position:relative}.workspace-header #headerOrgInfo{display:flex;align-items:center;gap:10px;min-width:0;font-size:11px}.org-dot{width:6px;height:6px;border-radius:50%;background:#64a583;flex-shrink:0}.workspace-header #headerOrgName{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:280px}.account-id{font:500 8px Inter,sans-serif;letter-spacing:.3px;padding:4px 7px;border:1px solid var(--line);background:#f6f8f3;border-radius:5px;color:#7e907f;white-space:nowrap}.header-actions{display:flex;gap:10px;align-items:center;margin-left:auto;flex-shrink:0}.help-icon{width:34px;height:34px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:#7a927a;position:relative}.unread-dot{position:absolute;right:1px;top:1px;width:7px;height:7px;border-radius:50%;background:#dc5047;box-shadow:0 0 0 2px white}.sidebar nav .unread-dot{right:10px;top:18px}.mobile-brand{display:none}.workspace-main{max-width:1450px;margin:auto;padding:10px 36px 0}.sync-line{display:flex;justify-content:space-between;font-size:9px;color:#95a38f;height:30px;align-items:center}.page-heading{display:flex;justify-content:space-between;gap:22px;align-items:center;padding:24px 0 27px}.page-heading .eyebrow{display:block;margin-bottom:10px}.page-heading p{font-size:11px;color:var(--muted);margin-top:10px}.heading-dot{color:#8fbb6a}.period-label{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:10px;white-space:nowrap}.period-label select{min-height:36px;padding:7px 11px;font-size:10px;background:white}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.metric{border:1px solid var(--line);border-radius:17px;background:white;padding:22px;min-height:155px;animation:arrive .45s both}.metric:nth-child(2){animation-delay:.04s}.metric:nth-child(3){animation-delay:.08s}.metric:nth-child(4){animation-delay:.12s}.metric-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7e917f;gap:6px}.metric-label svg{width:17px;height:17px;opacity:.65}.metric>strong{display:block;font-family:Manrope,sans-serif;font-size:33px;letter-spacing:-1.2px;margin:12px 0 3px;line-height:1.3}.metric p{font-size:9px;color:#91a08b}.balance-metric{background:var(--green);border-color:var(--green);color:white}.balance-metric .metric-label,.balance-metric p{color:#a9cbb7}.metric-link{border:0;background:none;padding:0;margin-top:13px;font-size:9px;color:var(--green);font-weight:500}.balance-metric .metric-link{color:var(--lime)}.balance-alert{display:flex;align-items:center;gap:15px;padding:18px 20px;border-radius:14px;background:#fff4df;border:1px solid #eddfbe;margin-bottom:20px}.balance-alert>svg{color:#b78b37}.balance-alert strong{font-size:12px;color:#8d6a23}.balance-alert p{font-size:10px;color:#9c8355;margin-top:3px}.balance-alert .btn{margin-left:auto;background:white;color:#8a6a28;border-color:#e9dbba}.card{padding:25px;background:white;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:22px;min-width:0}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.card-heading h2{margin-top:6px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:22px}.chart-key{font-size:8px;color:var(--muted);display:flex;align-items:center;gap:5px;white-space:nowrap}.chart-key i{width:5px;height:5px;border-radius:2px;background:var(--green);margin-left:6px}.chart-key i.free{background:#c6e59a}.chart{height:157px;display:flex;align-items:flex-end;gap:4px;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 38px,#edf2e9 39px,#edf2e9 40px);position:relative;padding:0 2px}.chart-group{flex:1;height:100%;display:flex;align-items:flex-end;position:relative;min-width:0;gap:1px}.chart-bar{flex:1;min-height:2px;background:#dfe8d8;border-radius:3px 3px 0 0;transition:height .6s cubic-bezier(.25,.8,.25,1)}.chart-bar.active{background:var(--green)}.chart-bar.free{background:#c6e59a;position:absolute;left:0;right:0;bottom:0;opacity:.95}.chart-group:hover::after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 4px);left:50%;transform:translateX(-50%);background:#163b32;color:white;border-radius:6px;font-size:9px;padding:5px 8px;white-space:nowrap;z-index:3}.chart-empty{position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:#95a38c;font-size:11px;background:#ffffffba}.chart-labels{display:flex;justify-content:space-between;color:#97a48f;font-size:8px;margin:10px 0 19px}.chart-footer{border-top:1px solid var(--line);padding-top:16px;display:flex;justify-content:space-between;gap:12px;color:#85977e;font-size:9px}.quick-card{background:#f1f6e9}.quick-card h2{margin:9px 0 10px}.quick-card>p{font-size:10px;color:#8a9b7d;margin-bottom:10px}.quick-action{width:100%;display:flex;align-items:center;gap:10px;padding:14px 0;border:0;border-bottom:1px solid #e1e9d7;background:none;text-align:left;color:var(--green)}.quick-action:last-child{border:0;padding-bottom:0}.quick-action>svg{width:28px;height:28px;background:white;padding:6px;border-radius:8px}.quick-action>span{flex:1}.quick-action strong{display:block;font-size:10px;font-weight:600}.quick-action small{display:block;font-size:8px;color:#97a389;margin-top:2px}.quick-action>b{font-weight:400;font-size:15px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;font-size:10px;text-align:left}.data-table th{font-size:8px;color:#98a58f;font-weight:500;padding:0 12px 13px;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{padding:16px 12px;border-bottom:1px solid #edf1e8;color:#6e8773;vertical-align:middle}.data-table td:first-child,.data-table th:first-child{padding-left:0}.data-table td:last-child,.data-table th:last-child{padding-right:0}.data-table tr:last-child td{border-bottom:0}.data-table td strong{font-size:10px;color:#355f46;font-weight:500}.doc-copy{padding:0;border:0;background:none;color:var(--green);font-size:10px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;text-align:left}.operator-badge,.status-badge{display:inline-block;border-radius:5px;padding:4px 7px;white-space:nowrap;font-size:8px;background:#eef4e8;color:#78936c}.operator-badge.diadoc{background:#eef0fc;color:#7b86af}.status-badge.free,.status-badge.paid{background:#eaf4df;color:#688c4f}.status-badge.pending{background:#fff3dc;color:#ad8a4a}.status-badge.expired,.status-badge.canceled{background:#f4f4f0;color:#969e90}.empty-state{text-align:center;color:#8da080;padding:40px 20px;font-size:11px}.empty-state>svg{width:33px;height:33px;opacity:.6;margin-bottom:12px}.empty-state h3{font-size:15px;color:#4f7454;margin-bottom:7px}.empty-state a{color:var(--green)}.filter-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding-bottom:22px}.filter-row select{font-size:10px;min-height:40px;padding:9px}.search-field{position:relative;flex:1;min-width:170px}.search-field input{width:100%;padding-left:38px;min-height:40px;font-size:10px}.search-field input::placeholder{font-size:10px}.search-field svg{position:absolute;left:12px;top:12px;width:15px;height:15px;color:#9bad92}.pagination{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:18px;margin-top:15px;gap:12px}.pagination span{font-size:9px;color:#8a9b7e}.section-note{font-size:10px;color:#92a187;margin-top:10px}.billing-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.topup-card h2{font-size:32px;letter-spacing:-1px;margin:14px 0 6px}.topup-card .quiet{font-size:10px}.topup-card input{font-family:Manrope,sans-serif;font-size:25px;font-weight:600;letter-spacing:-.7px}.amount-presets{display:flex;gap:7px;flex-wrap:wrap;margin:-4px 0 24px}.amount-presets button{border:1px solid var(--line);border-radius:7px;padding:7px 10px;font-size:10px;background:white;color:#7f9478}.amount-presets button[aria-pressed=true]{background:#eef6e4;border-color:#b8d1a6;color:var(--green)}.billing-info h2{margin:12px 0 24px}.billing-rule{display:flex;gap:14px;margin:18px 0}.billing-rule>span{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#eef4e8;color:#8a9f7c;font-size:9px;flex-shrink:0}.billing-rule strong{font-size:11px}.billing-rule p{font-size:10px;color:#95a38b;margin-top:3px}.delay-note{border:1px solid #e9dbb9;background:#fff8e9;border-radius:10px;padding:14px;margin-top:24px;color:#a78a50;font-size:10px}.delay-note strong{font-weight:600}.delay-note p{font-size:9px;line-height:1.7;margin-top:4px}.ledger-row,.payment-row,.ticket-row{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:17px 0;border-bottom:1px solid #edf1e8}.ledger-row:last-child,.payment-row:last-child,.ticket-row:last-child{border:0}.ledger-row>div:first-child,.payment-row>div:first-child,.ticket-row>div:first-child{min-width:0}.ledger-row strong,.payment-row strong,.ticket-row strong{font-size:11px;font-weight:500;overflow-wrap:anywhere}.ledger-row small,.payment-row small,.ticket-row small{display:block;font-size:9px;color:#91a18a;margin-top:4px}.ledger-amount{font-family:Manrope,sans-serif;font-size:17px;white-space:nowrap;color:var(--green);font-weight:700}.ledger-amount.minus{color:#a47d60}.payment-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.payment-actions>a{font-size:10px;color:var(--green)}.devices-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.device-card{background:white;border:1px solid var(--line);border-radius:18px;padding:23px}.device-top{display:flex;align-items:center;gap:12px;margin-bottom:18px}.device-top>svg{background:#f0f5e9;border-radius:11px;padding:10px;width:43px;height:43px;color:#79986a}.device-top h3{font-size:14px;overflow-wrap:anywhere}.device-top small{color:#99a98d;font-size:9px}.device-card>p{color:#91a288;font-size:10px;margin:7px 0}.device-actions{display:flex;gap:15px;border-top:1px solid var(--line);padding-top:16px;margin-top:19px;justify-content:space-between}.device-actions button{background:none;border:0;padding:0;color:var(--green);font-size:10px}.device-actions button:last-child{color:#b1937e}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.start-steps{list-style:none;padding:0;margin:25px 0 0;display:grid;gap:23px}.start-steps>li{display:flex;gap:13px}.start-steps>li>span{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border-radius:8px;background:#edf4e5;color:#82a26d;font-size:10px}.start-steps strong{font-size:11px}.start-steps p{font-size:10px;color:#90a184;margin:4px 0 7px}.start-steps a,.start-steps button{font-size:10px;color:var(--green);font-weight:500}.catalog-info{background:#edf3e5}.feature-icon{width:40px;height:40px;background:white;color:#85a36e;border-radius:11px;padding:10px;margin-bottom:17px}.catalog-info h2{font-size:25px}.catalog-info>p{color:#8c9e7c;font-size:11px;line-height:1.9;margin:16px 0}.hint-box{background:#ffffff80;border:1px solid #e1e9d5;border-radius:10px;padding:14px;font-size:9px;color:#91a07f;margin:17px 0}.account-card h2{font-size:19px;margin:13px 0 23px;overflow-wrap:anywhere}.account-card dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:10px;margin:0 0 22px}.account-card dt{color:#91a385}.account-card dd{margin:0;text-align:right;overflow-wrap:anywhere}.faq-card details{border-bottom:1px solid var(--line);padding:17px 0}.faq-card details:last-child{border:0}.faq-card summary{cursor:pointer;font-size:11px}.faq-card details p{font-size:10px;line-height:1.9;color:#8fa181;margin-top:12px}.workspace-footer{display:flex;justify-content:space-between;font-size:9px;color:#9aaa91;padding:30px 0;border-top:1px solid var(--line);margin-top:30px;gap:15px}.workspace-footer a{white-space:nowrap}dialog{margin:auto;border:1px solid var(--line);border-radius:22px;padding:28px;width:min(440px,calc(100% - 32px));max-height:90vh;overflow:auto;background:#fcfdf9;color:var(--ink);box-shadow:0 30px 150px #163c3220}dialog::backdrop{background:#14392c42;backdrop-filter:blur(5px)}dialog[open]{animation:arrive .23s both}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.dialog-heading h2{font-size:22px}.dialog-heading~p{font-size:12px;color:#879a7e}.pin-digits{font-family:Manrope,Arial;font-size:46px;letter-spacing:9px;text-align:center;color:var(--green);margin:24px 0}.pin-progress{height:3px;border-radius:4px;background:#e7efdf;margin:14px 0}.pin-progress>div{height:3px;border-radius:4px;background:#8db66d;transition:width 1s linear}#modalPinExpires{font-size:10px;text-align:center;margin-bottom:22px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);padding:12px 20px;border-radius:11px;background:#153c32;color:white;box-shadow:0 10px 40px #173a3225;z-index:100;font-size:12px;text-align:center}.panel-enter{animation:arrive .35s both}@keyframes arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes document-in{from{opacity:0;transform:translateY(15px) rotate(-3deg)}to{opacity:1;transform:rotate(-3deg)}}@keyframes float{0%,100%{transform:translateY(0) rotate(3deg)}50%{transform:translateY(-7px) rotate(2deg)}}
@media(min-width:1550px){.auth-story{padding-left:calc((100vw - 1250px)/2)}.workspace-main{padding-left:45px;padding-right:45px}}@media(max-width:1200px){.sidebar{width:205px;padding-left:15px;padding-right:15px}.workspace-body{margin-left:205px}.workspace-header{padding:0 25px}.workspace-main{padding-left:25px;padding-right:25px}.workspace-header #headerOrgName{max-width:190px}.account-id{max-width:100px;overflow:hidden;text-overflow:ellipsis}.metric{padding:17px}.metric>strong{font-size:28px}.metric-label{font-size:9px}.overview-grid{grid-template-columns:1.4fr 1fr}.card{padding:22px}.card-heading{gap:12px}.chart-key{font-size:7px}.auth-story{padding:40px}.auth-main{padding:40px}.floating-note{left:140px}}@media(max-width:1000px){.auth-layout{grid-template-columns:.85fr 1fr}.auth-story h1{font-size:39px}.auth-story{padding:30px;min-height:800px}.floating-note{left:70px}.auth-story-copy>p{font-size:12px}.auth-bottom{font-size:8px}.auth-bottom>span{display:none}.sidebar{width:185px;padding:26px 13px}.sidebar .brand{padding:0 5px}.sidebar .brand img{width:125px}.sidebar nav button{font-size:10px;gap:9px}.workspace-body{margin-left:185px}.workspace-main{padding:10px 22px 0}.workspace-header{padding:0 22px;gap:10px;height:74px}.workspace-header #headerOrgName{max-width:140px;font-size:10px}.account-id{display:none}.header-actions{gap:7px}.header-actions .btn{font-size:10px;padding:8px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.metric{min-height:142px}.metric>strong{font-size:32px}.metric-label{font-size:10px}.overview-grid{grid-template-columns:1fr}.quick-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px}.quick-card>.eyebrow,.quick-card>h2{grid-column:1/-1}.quick-card>p{display:none}.quick-card>h2{margin:0}.quick-action{border:0;padding:10px 0}.quick-action>b{display:none}.quick-action>span>small{font-size:8px}.billing-grid,.help-grid{gap:16px}.page-heading h1{font-size:29px}.page-heading{align-items:flex-start}.page-heading .btn{font-size:10px;padding:10px 12px}.period-label{gap:6px;font-size:9px}.period-label select{font-size:9px}.devices-grid{grid-template-columns:1fr}.card-heading h2{font-size:20px}.sidebar-bottom{padding-top:20px}}
@media(max-width:760px){.auth-layout{display:block}.auth-story{min-height:0;padding:25px 24px 28px}.auth-story-copy{padding:32px 0 0}.auth-story h1{font-size:34px;letter-spacing:-1.3px;margin:12px 0}.auth-story-copy>p{font-size:11px}.auth-illustration,.auth-perks,.auth-bottom{display:none}.auth-main{padding:24px}.auth-home{display:none}.auth-card{padding:12px 0 35px}.auth-card h2{font-size:30px;margin:10px 0}.auth-sub br{display:none}.auth-tabs{margin:23px 0}.auth-legal{padding-bottom:10px}.auth-install{margin-top:25px}.sidebar{position:static;width:0;padding:0;border:0}.sidebar>.brand,.workspace-label,.sidebar-bottom{display:none}.sidebar nav{position:fixed;z-index:40;bottom:0;left:0;right:0;background:#ffffffef;backdrop-filter:blur(15px);border-top:1px solid var(--line);padding:8px 7px max(9px,env(safe-area-inset-bottom));display:flex;justify-content:space-around;gap:2px}.sidebar nav button{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;padding:7px 3px;font-size:8px;border-radius:8px;line-height:1.25;text-align:center;min-height:47px;white-space:nowrap}.sidebar nav button>svg{width:18px;height:18px}.sidebar nav button[data-view=balance]>span{font-size:0}.sidebar nav button[data-view=balance]>span::after{content:'Баланс';font-size:8px}.sidebar nav button[data-view=devices]>span{font-size:0}.sidebar nav button[data-view=devices]>span::after{content:'Устройства';font-size:8px}.sidebar nav button[data-view=help]>span{font-size:0}.sidebar nav button[data-view=help]>span::after{content:'Помощь';font-size:8px}.sidebar nav .unread-dot{right:calc(50% - 16px);top:3px}.workspace-body{margin-left:0}.workspace-header{height:70px;padding:0 20px;gap:8px}.workspace-header #headerOrgInfo{display:none}.mobile-brand{display:flex}.mobile-brand img{object-fit:contain}.header-actions .btn>span{display:none}.header-actions .btn{padding:8px;width:34px;min-height:34px}.header-actions .btn>svg{width:15px;height:15px}.header-actions .icon-button,.help-icon{width:31px;height:31px}.workspace-main{padding:6px 20px 75px}.sync-line{height:24px;font-size:8px}.page-heading{padding:21px 0 23px;gap:12px;flex-wrap:wrap}.page-heading h1{font-size:29px;letter-spacing:-1.1px}.page-heading p{font-size:10px;line-height:1.8}.page-heading .eyebrow{font-size:8px;margin-bottom:8px}.period-label{margin-top:0;margin-left:auto}.period-label select{min-height:31px}.metrics{gap:11px;margin-bottom:17px}.metric{padding:16px;min-height:137px;border-radius:14px}.metric-label{font-size:9px}.metric-label svg{width:15px;height:15px}.metric>strong{font-size:29px;margin:11px 0 4px}.metric p,.metric-link{font-size:8px}.card{border-radius:16px;padding:20px;margin-bottom:17px}.overview-grid{gap:0}.chart{height:145px;gap:3px}.chart-labels{font-size:8px}.chart-footer{font-size:8px;gap:10px}.card-heading{margin-bottom:21px;gap:10px}.card-heading h2{font-size:19px}.card-heading .eyebrow{font-size:8px}.chart-key{font-size:7px;gap:3px}.chart-key i{margin-left:3px}.quick-card{display:block}.quick-card>h2{margin:8px 0 12px}.quick-action{border-bottom:1px solid #e1e9d7;padding:12px 0}.quick-action>b{display:block}.quick-action strong{font-size:11px}.quick-action small{font-size:9px}.quick-action>svg{width:32px;height:32px;padding:7px}.table-wrap{margin-left:0;margin-right:0}.data-table{min-width:570px}.data-table th{font-size:8px}.data-table td{font-size:10px;padding:15px 10px}.data-table td strong{font-size:10px}.filter-row{gap:8px}.filter-row .search-field{flex-basis:100%}.filter-row select{flex:1;min-width:80px;max-width:100%;font-size:9px;padding:8px;min-height:37px}.pagination .btn{min-height:33px;font-size:9px;padding:7px 10px}.pagination span{font-size:8px}.billing-grid,.help-grid{grid-template-columns:1fr;gap:0}.billing-rule strong{font-size:11px}.billing-info h2{font-size:23px}.topup-card h2{font-size:32px}.topup-card input{font-size:24px}.payment-row{flex-wrap:wrap;gap:12px}.payment-actions{width:100%;justify-content:space-between}.ledger-row{gap:15px}.ledger-amount{font-size:16px}.ledger-row strong{font-size:10px}.ledger-row small{font-size:8px}.balance-alert{padding:15px;flex-wrap:wrap;gap:10px}.balance-alert>svg{display:none}.balance-alert>div{flex:1;min-width:170px}.balance-alert .btn{font-size:9px;min-height:32px;padding:7px 9px}.workspace-footer{font-size:8px;flex-wrap:wrap;padding:25px 0;gap:10px;margin-top:23px}.toast{bottom:85px;font-size:11px}.ticket-row strong{font-size:10px}.ticket-row small{font-size:8px}.account-card h2{font-size:20px}.catalog-info h2{font-size:25px}.device-card{padding:20px}.device-card>p{font-size:10px}.dialog-heading h2{font-size:21px}.pin-digits{font-size:40px;letter-spacing:7px}.empty-state{padding:30px 10px}.empty-state p{font-size:10px}.devices-grid .empty-state{background:white;border-radius:16px;border:1px solid var(--line)}.device-actions button{font-size:10px}.mobile-logout{display:inline-flex!important}.workspace-header .mobile-logout{width:auto;font-size:9px;padding:0 6px}}
@media(max-width:370px){.workspace-main{padding-left:14px;padding-right:14px}.workspace-header{padding:0 14px}.page-heading h1{font-size:27px}.metric{padding:13px}.metric-label{font-size:8px}.metric>strong{font-size:26px}.card{padding:17px}.chart-key{display:none}.header-actions{gap:6px}.auth-main{padding:23px 20px}.auth-story{padding-left:20px;padding-right:20px}.auth-story h1{font-size:30px}.auth-card h2{font-size:28px}.sidebar nav button{font-size:7px}.sidebar nav button span::after{font-size:7px!important}.topup-card h2{font-size:29px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.mobile-logout{display:none}@media(max-width:760px){.mobile-logout{display:grid!important;width:31px!important;padding:0!important}.mobile-logout svg{width:16px;height:16px}}
.chart-group:focus-visible::after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 4px);left:50%;transform:translateX(-50%);background:#163b32;color:white;border-radius:6px;font-size:9px;padding:5px 8px;white-space:nowrap;z-index:3}

.chart-bar{transform-origin:bottom;animation:bar-rise .65s cubic-bezier(.25,.8,.25,1) both}.device-card{transition:box-shadow .2s,border-color .2s}.device-card:hover{border-color:#c7d9bd;box-shadow:0 8px 28px #365b2b06}@keyframes bar-rise{from{transform:scaleY(.1);opacity:.4}to{transform:scaleY(1);opacity:1}}
@media(max-width:760px){.data-table{min-width:0;display:block}.data-table thead{display:none}.data-table tbody{display:block}.data-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px 15px;border:1px solid var(--line);border-radius:11px;margin-bottom:12px;padding:14px}.data-table tr:last-child{margin-bottom:0}.data-table td{display:block;padding:0!important;border:0;font-size:9px;min-width:0}.data-table td::before{content:attr(data-label);display:block;color:#a0ae96;font-size:8px;margin-bottom:4px}.data-table td:first-child{grid-column:1/-1;color:#8c9f7f}.data-table td:first-child::before{display:none}.data-table td:first-child strong{font-size:9px;font-weight:400;color:#8c9f7f}.data-table td:nth-child(2){grid-column:1/-1}.data-table td:nth-child(2)::before{display:none}.doc-copy{font-size:12px;font-weight:600;max-width:100%}.data-table td:nth-child(5){display:none}.data-table td:last-child{grid-column:1/-1}.data-table td:last-child::before{display:none}.data-table td .status-badge{font-size:8px}.data-table td .operator-badge{font-size:9px}.table-wrap{overflow:visible}}

.metric-label{font-size:11px}.metric p,.metric-link{font-size:10px}.data-table td{font-size:11px}.data-table th{font-size:9px}.pin-guide{font-size:11px}.auth-tabs button{min-height:41px}.chart-footer{flex-wrap:wrap;font-size:10px}.payment-actions>a{font-size:11px}.quick-action strong{font-size:11px}.quick-action small{font-size:9px}
@media(max-width:1000px){.metric-label{font-size:10px}}@media(max-width:760px){.metric-label{font-size:10px}.metric p,.metric-link{font-size:9px}.sidebar nav button{font-size:9px}.sidebar nav button span::after{font-size:9px!important}.pagination .btn{min-height:40px}.chart-footer{font-size:9px}.quick-action strong{font-size:12px}.quick-action small{font-size:10px}.data-table td{font-size:11px}.data-table td::before{font-size:9px}.data-table td:first-child strong{font-size:10px}}

@media(max-width:760px){.auth-story{padding:26px 24px 8px;background:transparent}.auth-story-copy{display:none}.auth-main{padding-top:17px}.auth-card{padding-top:10px}.auth-card h2{font-size:32px}.auth-legal{margin-top:5px}}
