@font-face{font-family:Onest;src:url('/Onest.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--bg:#f6f5f8;--surface:#fff;--ink:#24212b;--muted:#716b79;--line:#e8e5ed;--accent:#7626ca;--accent-soft:#f0e7fa;--gemini:#7564bd;--openai:#3d8a7f;--glm:#b08040;--other:#8993a4;--warn:#765019;--warn-bg:#faf5e9;--error:#ad253d;--radius:14px}
*{box-sizing:border-box}body{margin:0;font:14px/1.5 Onest,system-ui,sans-serif;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button,a,select,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--accent);text-underline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a77bd3;outline-offset:3px}::selection{background:#dfc8f5;color:#30203f}input,textarea{caret-color:var(--accent)}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{color:inherit}button svg{pointer-events:none}button,input,select{min-height:40px}input,select,textarea{border:1px solid #dcd7e3;background:var(--surface);color:var(--ink);border-radius:8px;padding:9px 12px}input::placeholder{color:#7a7282}select{cursor:pointer;max-width:100%}h1,h2,p{margin:0}h1{font-size:28px;line-height:1.25;font-weight:650;letter-spacing:-.025em}h2{font-size:17px;font-weight:630;letter-spacing:-.015em}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip{position:fixed;top:-60px;left:20px;z-index:10;padding:12px;background:var(--surface)}.skip:focus{top:10px}
.sidebar{position:fixed;inset:0 auto 0 0;width:216px;background:#efedf3;border-right:1px solid var(--line);padding:34px 18px 22px;display:flex;flex-direction:column}.wordmark{text-decoration:none;color:var(--ink);font-size:35px;line-height:1;letter-spacing:-.065em;font-weight:750;display:flex;flex-direction:column;align-items:flex-start;margin:0 14px 45px}.wordmark span{font-size:12px;letter-spacing:.17em;line-height:1.4;font-weight:500;margin-top:7px;color:var(--muted)}nav{display:flex;flex-direction:column;gap:5px}.nav{display:flex;align-items:center;gap:11px;border:0;background:transparent;text-align:left;padding:11px 12px;border-radius:8px;min-height:44px;color:#635a6d;font-weight:500;white-space:nowrap}.nav:hover{background:#e6e0ed}.nav.active{background:var(--accent-soft);color:#6920ae}.nav-count{margin-left:auto;font-size:11px;border:1px solid #c8b8d8;border-radius:5px;min-width:19px;text-align:center}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:16px;padding:16px 12px 0;font-size:12px;color:var(--muted)}.owner-mark{display:flex;gap:8px;align-items:center}.owner-mark svg{width:16px;height:16px}.sidebar-bottom a{color:#675b74;text-decoration:none}.sidebar-bottom .text-button{text-align:left;min-height:24px;color:var(--muted);padding:0}.workspace{margin-left:216px}.topbar{height:76px;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;background:var(--surface);gap:16px}.topbar>div{display:flex;align-items:center;gap:14px}.product-name{font-weight:600;font-size:14px}.private-label{color:var(--muted);border-left:1px solid var(--line);padding-left:14px;font-size:12px}.sync{font-size:12px;color:var(--muted)}.icon-button{background:none;border:0;width:36px;height:36px;min-height:36px;display:grid;place-items:center;border-radius:7px}.icon-button:hover{background:var(--bg)}main{max-width:1540px;margin:auto;padding:34px 38px 24px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{color:var(--muted);margin-top:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 14px;border-radius:8px;white-space:nowrap;font-weight:500}.secondary{background:var(--surface);border:1px solid #dcd7e3}.secondary:hover{background:#f0edf4}.primary{background:var(--accent);border:0;color:#fff;border-radius:8px;min-height:44px;padding:10px 20px;font-weight:550}.primary:hover{background:#6420ad}.small{font-size:12px;min-height:36px;padding:6px 12px}.text-button{border:0;background:transparent;color:var(--accent);padding:5px;min-height:32px;font-weight:500}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:24px}.filters select{font-size:12px;min-height:38px}.range-label{font-size:12px;color:var(--muted);margin-left:auto}.date-fields{display:flex;gap:8px;align-items:center;flex-wrap:wrap;order:2;width:100%}.date-fields label{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px}.date-fields input{font-size:12px}.summary-section{display:flex;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:27px 28px;margin-bottom:16px;gap:34px}.total{min-width:230px;padding-right:32px;border-right:1px solid var(--line)}.summary-label{font-size:13px;font-weight:550}.amount{font-size:40px;font-weight:600;letter-spacing:-.035em;line-height:1.25;margin:5px 0;font-variant-numeric:tabular-nums}.basis-label{color:var(--muted);font-size:11px}.summary-details{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;flex:1;margin:0}.summary-details dt{color:var(--muted);font-size:11px;white-space:nowrap}.summary-details dd{margin:7px 0 0;font-size:19px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.coverage-notice{display:flex;gap:12px;align-items:center;padding:15px 17px;background:var(--warn-bg);border-radius:10px;margin:0 0 26px;color:var(--warn)}.coverage-notice p{font-size:12px;line-height:1.6;max-width:850px}.coverage-notice strong{font-weight:600}.coverage-notice>.text-button{font-size:12px;white-space:nowrap;margin-left:auto;color:var(--warn)}.coverage-notice svg{width:19px;height:19px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:22px;overflow:hidden}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 25px 19px}.section-heading p{font-size:12px;color:var(--muted);margin-top:5px}.chart{height:236px;padding:0 23px;position:relative}.chart svg{width:100%;height:100%;overflow:visible;stroke:none}.chart .axis-text{font:11px Onest,system-ui;fill:var(--muted)}.chart .grid{stroke:#eeebf2;stroke-width:1}.chart .bar-hit{fill:transparent;cursor:pointer}.chart .bar-hit:hover,.chart .bar-hit:focus{fill:#7626ca12;outline:none}.chart .day-selected{fill:#7626ca12}.chart-hint{font-size:11px;color:var(--muted);padding:7px 25px 17px}.legend{display:flex;align-items:center;gap:15px;font-size:11px;color:#635c6e;flex-wrap:wrap}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:8px;height:8px;border-radius:2px;background:var(--gemini)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}th{text-align:right;font-size:11px;font-weight:500;color:var(--muted);padding:12px 22px;background:#faf9fc;border-bottom:1px solid var(--line)}th:first-child,td:first-child{text-align:left;padding-left:25px}th button{background:transparent;border:0;font-size:11px;color:var(--muted);padding:0;min-height:22px}td{padding:15px 22px;border-bottom:1px solid #f0edf4;text-align:right;font-variant-numeric:tabular-nums}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbf9fe}.client-name{display:flex;align-items:center;gap:12px}.client-avatar{width:32px;height:32px;border-radius:8px;background:#f0edf5;color:#766585;display:grid;place-items:center;font-weight:550;font-size:12px}.client-link{padding:0;border:0;background:none;text-align:left;font-weight:550;min-height:28px}.client-link:hover{color:var(--accent)}.tenant-id{font-size:11px;color:var(--muted);font-weight:400;display:block}.cost-total{font-weight:600}tfoot td{background:#faf9fc;font-weight:600;border-top:1px solid var(--line);border-bottom:0}.search{position:relative;display:flex;align-items:center;max-width:220px}.search svg{position:absolute;left:12px;width:16px;height:16px;color:var(--muted)}.search input{padding-left:36px;width:100%;font-size:12px;min-height:36px}.empty{text-align:center;padding:35px 24px;color:var(--muted);font-size:13px}.provider-ledger{padding:0 25px 8px}.provider-row{display:grid;grid-template-columns:1.1fr 1.6fr 100px 110px;align-items:center;gap:24px;padding:17px 0;border-top:1px solid var(--line)}.provider-identity{display:flex;align-items:center;gap:10px;font-weight:550}.provider-dot{width:10px;height:10px;border-radius:3px;background:var(--gemini)}.provider-track{height:6px;background:#f0edf4;border-radius:3px;overflow:hidden}.provider-track span{display:block;height:100%;border-radius:3px}.provider-metric{text-align:right;font-variant-numeric:tabular-nums}.provider-metric small{display:block;color:var(--muted);font-size:11px;font-variant-numeric:normal}.billing-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:0 25px 23px;gap:27px}.billing-item{padding-right:20px;border-right:1px solid var(--line)}.billing-item:last-child{border:0;padding-right:0}.billing-item h3{font-size:13px;font-weight:550;margin:0 0 10px}.billing-value{font-size:23px;font-weight:550;margin-bottom:5px;font-variant-numeric:tabular-nums}.billing-item p{font-size:11px;color:var(--muted);line-height:1.6;margin-bottom:9px}.billing-item .text-button{font-size:11px;padding:0}.panel-footnote{font-size:11px;color:var(--muted);padding:14px 25px;border-top:1px solid var(--line);background:#fcfbfd}.source-row{padding:20px 25px;border-top:1px solid var(--line)}.source-top{display:flex;gap:15px;align-items:flex-start;justify-content:space-between}.source-info{flex:1}.source-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.source-title h3{font-size:13px;font-weight:550;margin:0}.source-info p{font-size:12px;color:var(--muted);line-height:1.65;margin:7px 0 0;max-width:800px}.badge{font-size:11px;padding:3px 7px;border-radius:5px;background:#f2edf7;color:#73637f;font-weight:500}.badge.ok{background:#eaf5f1;color:#276953}.badge.warn{background:var(--warn-bg);color:var(--warn)}.badge.error{background:#fcecf0;color:var(--error)}.source-form{margin-top:18px;padding:19px;background:#faf9fc;border-radius:10px;max-width:760px}.source-form label{display:flex;flex-direction:column;font-size:12px;gap:7px;margin-bottom:13px}.source-form input,.source-form textarea{width:100%}.source-form textarea{min-height:110px;resize:vertical}.source-form p{font-size:11px;margin:8px 0 15px;color:var(--muted)}.source-form .form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.source-form .form-result{margin-top:12px}.source-form a{font-size:11px}.notice{font-size:12px;border:1px solid #dcd7e3;padding:13px 16px;border-radius:9px;margin-bottom:18px;background:#f0edf5}.notice.error{border-color:#edc1cb;background:#fff0f3;color:#8c1d33}.page-footer{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);padding:2px 2px 8px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#302737;color:#fff;padding:12px 20px;border-radius:9px;font-size:13px;z-index:10;max-width:90vw;box-shadow:0 8px 28px #251a322b}.skeleton{display:grid;gap:20px}.skeleton div{background:#e9e5ee;border-radius:14px;height:140px;animation:pulse 1.5s ease-in-out infinite}.skeleton div:nth-child(2){height:300px}.skeleton div:nth-child(3){height:280px}@keyframes pulse{50%{opacity:.55}}.login-page{min-height:100dvh;display:grid;place-items:center;padding:30px;background:#f2eff6}.login-form{width:min(420px,100%)}.login-form .wordmark{margin:0 0 50px}.login-form h1{font-size:32px;margin-bottom:13px}.login-form>p{color:var(--muted);margin-bottom:30px}.login-form label{display:flex;flex-direction:column;gap:8px;margin-bottom:19px;font-size:12px}.login-form input{min-height:46px}.login-form .primary{width:100%}.login-error{color:var(--error);font-size:12px;margin-bottom:15px}.login-form .login-help{font-size:11px;line-height:1.7;margin-top:22px}
@media(min-width:1600px){main{padding-top:40px}.chart{height:270px}.summary-section{padding:32px}}
@media(max-width:1250px){.sidebar{width:190px}.workspace{margin-left:190px}.topbar{padding:0 26px}main{padding:28px 26px}.summary-section{gap:24px;padding:24px}.total{min-width:205px;padding-right:24px}.summary-details{grid-template-columns:repeat(2,1fr);gap:16px 24px}.coverage-notice{align-items:flex-start}.coverage-notice>.text-button{white-space:normal;min-width:100px}.range-label{width:100%;margin-left:0}.provider-row{grid-template-columns:1fr 1fr 75px 90px;gap:15px}}
@media(max-width:850px){.sidebar{width:76px;padding:30px 12px}.sidebar .wordmark{font-size:27px;margin:0 auto 36px}.sidebar .wordmark span{display:none}.nav{font-size:0;justify-content:center;padding:12px}.nav svg{width:21px;height:21px}.nav-count{display:none}.sidebar-bottom{padding:0}.sidebar-bottom a,.sidebar-bottom .owner-mark{display:none}.sidebar-bottom .text-button{font-size:11px;text-align:center}.workspace{margin-left:76px}.summary-section{align-items:flex-start}.amount{font-size:34px}.total{min-width:185px}.summary-details dd{font-size:17px}.legend{gap:10px}.billing-grid{gap:16px}.source-top>.button{font-size:11px}.source-info p{font-size:11px}}
@media(max-width:600px){.sidebar{position:static;width:auto;height:auto;padding:15px 17px 0;background:var(--surface);border:0;border-bottom:1px solid var(--line)}.sidebar .wordmark{font-size:27px;margin:0 0 18px;flex-direction:row;align-items:baseline;gap:9px}.sidebar .wordmark span{display:inline;font-size:11px;letter-spacing:0;margin:0;color:var(--muted)}.sidebar nav{flex-direction:row;justify-content:space-between;gap:4px}.nav{flex:1;flex-direction:column;gap:4px;font-size:11px;padding:9px 4px;border-radius:8px 8px 0 0;min-height:58px}.nav svg{width:19px;height:19px}.sidebar-bottom{display:none}.workspace{margin:0}.topbar{height:48px;padding:0 18px;background:var(--bg);border:0}.topbar .product-name,.private-label{display:none}.topbar>div:first-child:before{content:'Личный кабинет';font-size:11px;color:var(--muted)}.topbar>div{gap:5px}.sync{font-size:11px}.icon-button{width:30px;min-height:30px;height:30px}.icon-button svg{width:16px;height:16px}main{padding:17px 17px 20px}.page-heading{align-items:flex-start;margin-bottom:22px;gap:10px}h1{font-size:25px}.page-heading p{font-size:12px;max-width:220px;line-height:1.6}.page-heading>.button{font-size:0;min-width:38px;padding:8px}.page-heading>.button svg{width:18px}.filters{gap:7px;margin-bottom:17px}.filters>select{width:calc(50% - 4px);font-size:11px;padding:8px;min-height:37px}.range-label{font-size:11px;margin-top:2px}.summary-section{flex-direction:column;padding:21px;gap:22px;margin-bottom:12px}.total{width:100%;padding:0 0 20px;border-right:0;border-bottom:1px solid var(--line)}.summary-label{font-size:12px}.amount{font-size:39px}.basis-label{font-size:11px}.summary-details{width:100%;gap:19px 12px}.summary-details dt{font-size:11px}.summary-details dd{font-size:19px}.coverage-notice{gap:9px;padding:13px;flex-wrap:wrap;margin-bottom:20px}.coverage-notice svg{width:16px;height:16px;margin-top:2px}.coverage-notice p{flex:1;font-size:11px;min-width:210px}.coverage-notice>.text-button{margin-left:22px;padding:0;min-height:25px;font-size:11px}.section-heading{padding:18px 17px 16px;gap:12px;flex-wrap:wrap}h2{font-size:15px}.section-heading p{font-size:11px;line-height:1.6}.legend{width:100%;font-size:11px}.chart{height:210px;padding:0 10px}.chart-hint{padding:6px 17px 15px;font-size:11px}.panel{margin-bottom:17px}.search{max-width:none;width:100%}.search input{font-size:12px}.table-wrap table{font-size:11px}th{padding:10px 13px;font-size:11px}th:first-child,td:first-child{padding-left:17px}td{padding:13px}.client-avatar{display:none}.client-name{gap:0}.tenant-id{font-size:11px}.provider-ledger{padding:0 17px 5px}.provider-row{grid-template-columns:1fr 65px 80px;gap:10px;font-size:12px}.provider-track{display:none}.provider-metric small{font-size:11px}.billing-grid{grid-template-columns:1fr;padding:0 17px 19px;gap:18px}.billing-item{border-right:0;border-bottom:1px solid var(--line);padding:0 0 18px;display:grid;grid-template-columns:1fr auto;column-gap:20px}.billing-item h3{margin-bottom:5px}.billing-item .billing-value{grid-column:2;grid-row:1/3;font-size:20px}.billing-item p{margin:0;max-width:220px}.billing-item>.text-button{justify-self:start;margin-top:6px}.billing-item:last-child{padding-bottom:0}.panel-footnote{padding:13px 17px;font-size:11px}.source-row{padding:18px 17px}.source-top{gap:10px;flex-wrap:wrap}.source-top>.button{min-height:32px}.source-title h3{font-size:12px}.source-info{min-width:220px}.source-info p{font-size:11px}.badge{font-size:11px}.source-form{padding:14px}.page-footer{flex-direction:column;font-size:11px;gap:4px}.date-fields input{max-width:145px}.login-form h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

.day-picker{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:11px;color:var(--muted)}.day-picker select{min-height:36px;font-size:12px;padding:6px 9px}.table-wrap th:first-child,.table-wrap td:first-child{position:sticky;left:0;z-index:1;background:var(--surface)}.table-wrap th:first-child,.table-wrap tfoot td:first-child{background:#faf9fc}@media(max-width:600px){.day-picker{margin-left:0}.day-picker select{min-height:40px}}
