/* onix-cabinet-stage1.css */
/* Cabinet shell, desktop ONIX */
body{background:#050b10;font-family:var(--onix-font)}
.top{border-color:#122b3b;margin-bottom:16px;min-height:56px;padding-bottom:8px}
.top a{background:#07111a;color:#acd7f4;border-color:#1c3c52;border-radius:2px}
.brand-logo{width:50px;height:50px;filter:none}
#login-panel{background:#050c13;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px;box-shadow:none}
#login-panel h1{font-weight:500;letter-spacing:0;font-size:32px}
#dashboard.card:not(.hidden){background:#050b10;border:0;border-radius:0;box-shadow:none;padding:0;gap:0 22px;grid-template-columns:205px minmax(0,1fr)}
#dashboard > #cabinet-title{font-size:27px;font-weight:500;letter-spacing:0;color:#cbe9ff}
#dashboard > #cabinet-description{font-size:12px;margin-bottom:14px}
#dashboard > .cabinet-nav{border:0;border-right:1px solid #122b3b;border-radius:0;background:#050b10;padding:0 9px 0 0;top:12px}
#dashboard > .cabinet-nav:before{display:none}
#dashboard .cabinet-nav button{border-radius:0;font-weight:500;min-height:40px;padding:8px 12px;color:#b7d6ed}
#dashboard .cabinet-nav button[data-page]::before{content:none}
#dashboard .cabinet-nav button[data-page]:hover{background:#081824;border-color:transparent;color:#cbe9ff}
#dashboard .cabinet-nav button[data-page][aria-pressed=true]{background:#092239;border-color:transparent;color:#45cfff;box-shadow:inset 3px 0 #168cff}
#dashboard > section[id$="-page"] > h2,#dashboard .report-head h2{font-size:27px;letter-spacing:0;font-weight:500;color:#cbe9ff}
#dashboard button:not(.cabinet-nav button),#login-panel button{border-radius:2px;font-weight:500}
#dashboard button.primary,#login-panel button.primary{background:#071e30;border-color:#1684ae;color:#45cfff}
#dashboard button.primary:hover,#login-panel button.primary:hover{background:#0b3047;border-color:#168cff;color:#cbe9ff}
#dashboard .field,#login-panel .field{background:#07111a;border:1px solid #1c3c52;border-radius:2px;color:#cbe9ff}
#dashboard .field:focus,#login-panel .field:focus{border-color:#168cff;box-shadow:none}
#dashboard :is(button,input,textarea,select):focus-visible{outline:1px solid #45cfff;outline-offset:2px}
@media(max-width:850px){#dashboard.card:not(.hidden){display:block}#dashboard > .cabinet-nav{top:0;flex-direction:row;border-right:0;border-bottom:1px solid #122b3b;padding:6px 0;margin:0 0 12px}#dashboard .cabinet-nav button[data-page][aria-pressed=true]{box-shadow:inset 0 -2px #168cff}}

/* onix-nav-stage2.css */
#dashboard .cabinet-nav button[data-page="backoffice"]{--nav-icon:url(/assets/onix-nav/home_off.png);--nav-active:url(/assets/onix-nav/home_on.png)}
#dashboard .cabinet-nav button[data-page="analytics"]{--nav-icon:url(/assets/onix-nav/chart_off.png);--nav-active:url(/assets/onix-nav/chart_on.png)}
#dashboard .cabinet-nav button[data-page="outgoings"]{--nav-icon:url(/assets/onix-nav/wallet_off.png);--nav-active:url(/assets/onix-nav/wallet_on.png)}
#dashboard .cabinet-nav button[data-page="procurement"]{--nav-icon:url(/assets/onix-nav/truck_off.png);--nav-active:url(/assets/onix-nav/truck_on.png)}
#dashboard .cabinet-nav button[data-page="schedule"]{--nav-icon:url(/assets/onix-nav/calendar_off.png);--nav-active:url(/assets/onix-nav/calendar_on.png)}
#dashboard .cabinet-nav button[data-page="warehouse"]{--nav-icon:url(/assets/onix-nav/cube_off.png);--nav-active:url(/assets/onix-nav/cube_on.png)}
#dashboard .cabinet-nav button[data-page="operations"]{--nav-icon:url(/assets/onix-nav/receipt_off.png);--nav-active:url(/assets/onix-nav/receipt_on.png)}
#dashboard .cabinet-nav button[data-page="customers"]{--nav-icon:url(/assets/onix-nav/users_off.png);--nav-active:url(/assets/onix-nav/users_on.png)}
#dashboard .cabinet-nav button[data-page="bot-menu"]{--nav-icon:url(/assets/onix-nav/book_off.png);--nav-active:url(/assets/onix-nav/book_on.png)}
#dashboard .cabinet-nav button[data-page="yandex"]{--nav-icon:url(/assets/onix-nav/puzzle_off.png);--nav-active:url(/assets/onix-nav/puzzle_on.png)}
#dashboard .cabinet-nav button[data-page="security"]{--nav-icon:url(/assets/onix-nav/gear_off.png);--nav-active:url(/assets/onix-nav/gear_on.png)}
#dashboard .cabinet-nav button[data-page]::before{content:"";display:block;flex:0 0 20px;width:20px;height:20px;background:var(--nav-icon) center/contain no-repeat}
#dashboard .cabinet-nav button[data-page][aria-pressed=true]::before{background-image:var(--nav-active)}
#dashboard .cabinet-nav button[data-page]{position:relative;gap:12px;min-height:42px;border:0;padding:8px 12px;font-size:13px;transition:background .14s,color .14s}
#dashboard .cabinet-nav button[data-page][aria-pressed=true]{background:linear-gradient(90deg,#0a2337,#07111a 65%);box-shadow:none}
#dashboard .cabinet-nav button[data-page][aria-pressed=true]::after{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:#168cff;box-shadow:0 0 8px #168cff80}
#dashboard .cabinet-nav #logout-button{margin-top:9px;border-color:#122b3b;color:#7197b2}
@media(max-width:850px){#dashboard .cabinet-nav button[data-page]{gap:6px;font-size:12px;min-height:42px}#dashboard .cabinet-nav button[data-page]::before{width:16px;height:16px;flex-basis:16px}#dashboard .cabinet-nav button[data-page][aria-pressed=true]::after{left:0;right:0;top:auto;bottom:0;width:auto;height:2px}#dashboard .cabinet-nav #logout-button{margin:0 0 0 8px}}

/* onix-home-stage3.css */
/* Daily report — desktop home panels */
#dashboard #backoffice-page .report-head{gap:9px;margin:0 0 8px;border-bottom:1px solid #122b3b;padding:0 0 10px}
#dashboard #backoffice-page .report-head h2{font-size:24px}
#dashboard #backoffice-page .report-controls{gap:6px;align-items:center}
#dashboard #backoffice-page .report-controls label{font:11px var(--onix-font);color:#7197b2}
#dashboard #backoffice-page button,#dashboard #backoffice-page .field{min-height:32px;padding:5px 9px;font-size:12px;border-radius:2px}
#dashboard #backoffice-page button:not(.primary){background:#07111a;border:1px solid #1c3c52;color:#acd7f4}
#dashboard #backoffice-page button:not(.primary):hover{background:#081c2b;border-color:#168cff}
#dashboard #backoffice-page .report-metrics{gap:8px;margin:10px 0;grid-template-columns:repeat(4,minmax(0,1fr))}
#dashboard #backoffice-page .report-metric{background:#050c13;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px;min-height:82px;padding:10px 12px;box-shadow:none}
#dashboard #backoffice-page .report-metric span{font:11px var(--onix-font);letter-spacing:0;color:#7197b2}
#dashboard #backoffice-page .report-metric strong{font-size:24px;font-weight:500;letter-spacing:0;color:#cbe9ff}
#dashboard #backoffice-page .report-metric:first-child strong{color:#45cfff}
#dashboard #backoffice-page .report-metric small{font-size:10px;color:#87a7bb}
#dashboard #backoffice-page .report-columns{gap:9px;margin-top:9px;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
#dashboard #backoffice-page .report-panel{background:#050c13;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px;padding:12px;box-shadow:none}
#dashboard #backoffice-page .report-panel h3{font-size:14px;font-weight:500;letter-spacing:0;margin:0 0 9px;color:#cbe9ff}
#dashboard #backoffice-page .sales-chart-head{margin-bottom:5px}
#dashboard #backoffice-page .sales-chart-head h3{margin:0}
#dashboard #backoffice-page .report-panel p{font-size:11px;line-height:1.45;color:#87a7bb;margin:8px 0 0}
#dashboard #backoffice-page .report-lines{gap:0}
#dashboard #backoffice-page .report-line{padding:7px 0;border-bottom:1px solid #132c3d;font-size:12px}
#dashboard #backoffice-page .report-line strong{font-weight:500;color:#cbe9ff}
#dashboard #backoffice-page .report-line:last-child{border-bottom:0}
#dashboard #backoffice-page .report-table-wrap{border:0;border-radius:0}
#dashboard #backoffice-page .report-table{min-width:0;width:100%}
#dashboard #backoffice-page .report-table :is(th,td){padding:7px 6px;border-bottom:1px solid #10212e;font-size:12px}
#dashboard #backoffice-page .report-table th{background:#06111b;color:#78a7c8;font:11px var(--onix-font)}
#dashboard #backoffice-page .report-table tr:hover td{background:#081824}

#dashboard #backoffice-page .report-chart text{fill:#7197b2;font-family:var(--onix-font)}
#dashboard #backoffice-page .report-chart line{stroke:#183a50}
#dashboard #backoffice-page .report-status{font:11px var(--onix-font);color:#7197b2;margin-top:10px}
#dashboard #backoffice-page #open-outgoing-list{margin-top:9px;white-space:normal;text-align:left}
@media(max-width:1100px){#dashboard #backoffice-page .report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
#dashboard #backoffice-page .report-columns{grid-template-columns:minmax(0,1fr)}
#dashboard #backoffice-page .report-metric{min-height:76px;padding:9px}
#dashboard #backoffice-page .report-metric strong{font-size:clamp(17px,5vw,24px);overflow-wrap:anywhere}
#dashboard #backoffice-page .report-panel{padding:10px}
#dashboard #backoffice-page button,#dashboard #backoffice-page .field{min-height:40px}
#dashboard #backoffice-page .report-controls{flex-wrap:wrap}
#dashboard #backoffice-page .report-controls label{flex-basis:100%}
#dashboard #backoffice-page .report-controls .field{min-width:0;flex:1 1 120px}
#dashboard #backoffice-page .report-table :is(th,td){font-size:11px;padding:6px 4px}
}

/* onix-analytics-stage4.css */
/* ONIX analytics / native report parity */
#dashboard #analytics-page .report-head{gap:8px;margin:0 0 9px;padding-bottom:9px;border-bottom:1px solid #122b3b}
#dashboard #analytics-page .report-head h2{font-size:27px;font-weight:500;letter-spacing:0;margin:0}
#dashboard #analytics-page .report-head .eyebrow{color:#7197b2;font:10px var(--onix-font);margin-bottom:4px}
#dashboard #analytics-page .analytics-filters{background:transparent;border:0;padding:0;gap:8px;margin:8px 0}
#dashboard #analytics-page button,#dashboard #analytics-page .field{min-height:32px;padding:5px 9px;border-radius:2px;font-size:12px;font-weight:500}
#dashboard #analytics-page button:not(.primary){background:#07111a;color:#acd7f4;border:1px solid #1c3c52}
#dashboard #analytics-page button:not(.primary):hover{background:#081c2b;border-color:#168cff}
#dashboard #analytics-page button:disabled{opacity:.48;cursor:default}
#dashboard #analytics-page .analytics-presets button[aria-pressed=true]{background:#092239;color:#45cfff;border-color:#1589bf;box-shadow:inset 0 -2px #168cff}
#dashboard #analytics-page .analytics-dates{gap:6px}
#dashboard #analytics-page .analytics-muted{font-size:11px;color:#87a7bb;margin:6px 0}
#dashboard #analytics-page .analytics-kpis{gap:8px;margin:10px 0}
#dashboard #analytics-page .report-metric{background:#050c13!important;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px;min-height:86px;padding:10px 12px;box-shadow:none}
#dashboard #analytics-page .report-metric span{font:11px var(--onix-font);color:#7197b2;letter-spacing:0}
#dashboard #analytics-page .report-metric strong{font-size:23px;font-weight:500;letter-spacing:0;color:#cbe9ff;overflow-wrap:anywhere}
#dashboard #analytics-page .analytics-primary strong{color:#45cfff}
#dashboard #analytics-page .report-metric small{font-size:10px;color:#87a7bb}
#dashboard #analytics-page .analytics-grid{gap:9px}
#dashboard #analytics-page .report-panel{background:#050c13;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px;padding:12px;box-shadow:none}
#dashboard #analytics-page .report-panel h3{font-size:14px;font-weight:500;color:#cbe9ff;letter-spacing:0;margin:0 0 8px}

#dashboard #analytics-page .analytics-panel-head{padding:0 0 6px;margin:0 0 8px;border-color:#183a50;gap:6px}
#dashboard #analytics-page .analytics-panel-head h3{margin:0}
#dashboard #analytics-page .report-panel p{font-size:11px;line-height:1.5;margin:7px 0 0;color:#87a7bb}
#dashboard #analytics-page .analytics-chart{height:220px;margin:5px 0 8px}
#dashboard #analytics-page .analytics-chart text{fill:#87a7bb;font-family:var(--onix-font)}
#dashboard #analytics-page .analytics-chart path{stroke-width:1.8}
#dashboard #analytics-page .analytics-bars{gap:10px}
#dashboard #analytics-page .analytics-bar-head{font-size:12px;gap:8px}
#dashboard #analytics-page .analytics-bar-head strong{font-size:12px;font-weight:500;color:#cbe9ff}
#dashboard #analytics-page .analytics-bar-track{height:4px;background:#10212e;border-radius:0;margin-top:4px}
#dashboard #analytics-page .analytics-bar-fill{background:#168cff;border-radius:0}
#dashboard #analytics-page .report-lines{gap:0}
#dashboard #analytics-page .report-line{font-size:12px;border-bottom:1px solid #10212e;padding:7px 0}
#dashboard #analytics-page .report-table-wrap{border:0;border-radius:0;max-width:100%}
#dashboard #analytics-page .report-table :is(th,td){font-size:12px;padding:7px 8px;border-bottom:1px solid #10212e}
#dashboard #analytics-page .report-table th{background:#06111b;color:#78a7c8;font:11px var(--onix-font)}
#dashboard #analytics-page .report-table tr:hover td{background:#081824}
#dashboard #analytics-page .analytics-heatmap{border-spacing:2px}
#dashboard #analytics-page .analytics-heatmap td{height:26px;border-radius:0;font-weight:500}
#dashboard #analytics-page .analytics-abc{border-radius:2px;padding:2px 5px}
#dashboard #analytics-page details{background:transparent;border:0;border-top:1px solid #122b3b;border-radius:0;padding:5px 0;margin-top:9px}
@media(max-width:1100px){#dashboard #analytics-page .analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
#dashboard #analytics-page .analytics-grid{grid-template-columns:minmax(0,1fr)}
#dashboard #analytics-page .report-metric{padding:9px;min-height:80px}
#dashboard #analytics-page .report-metric strong{font-size:clamp(17px,5vw,23px)}
#dashboard #analytics-page button,#dashboard #analytics-page .field{min-height:40px}
#dashboard #analytics-page .analytics-dates input{padding:5px;min-width:0}
#dashboard #analytics-page .analytics-chart{height:180px}
}

/* onix-outgoings-stage5.css */

#dashboard #outgoings-page .report-head{margin:0 0 9px;padding-bottom:9px;border-bottom:1px solid #122b3b;gap:8px}
#dashboard #outgoings-page .report-head h2{font-size:24px;font-weight:500}
#dashboard #outgoings-page .sales-controls{background:transparent;border:0;padding:0;gap:8px;margin:8px 0}
#dashboard #outgoings-page .sales-controls label{font:11px var(--onix-font);color:#7197b2}
#dashboard #outgoings-page :is(button,.field){min-height:32px;padding:5px 9px;border-radius:2px;font-size:12px;font-weight:500}
#dashboard #outgoings-page button{background:#07111a;border:1px solid #1c3c52;color:#acd7f4}
#dashboard #outgoings-page button:hover:not(:disabled){background:#081c2b;border-color:#168cff}
#dashboard #outgoings-page button:disabled{opacity:.45;cursor:default}
#dashboard #outgoings-page #outgoing-kind{margin:0}
#dashboard #outgoings-page .report-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}
#dashboard #outgoings-page .report-metric{min-height:66px;padding:10px 12px;background:#050c13;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px;box-shadow:none}
#dashboard #outgoings-page .report-metric span{font:11px var(--onix-font);color:#7197b2;letter-spacing:0}
#dashboard #outgoings-page .report-metric strong{font-size:23px;font-weight:500;letter-spacing:0;color:#cbe9ff;overflow-wrap:anywhere}
#dashboard #outgoings-page #outgoing-total{color:#45cfff}
#dashboard #outgoings-page .report-table-wrap{border:0;border-radius:0;max-width:100%}
#dashboard #outgoings-page .report-table{width:100%;min-width:0;background:#050c13}
#dashboard #outgoings-page .report-table :is(th,td){padding:6px 8px;border-bottom:1px solid #10212e;font-size:12px}
#dashboard #outgoings-page .report-table th{background:#06111b;color:#78a7c8;font:11px var(--onix-font)}
#dashboard #outgoings-page .report-table td:nth-child(3){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#dashboard #outgoings-page .report-table td:last-child{text-align:right}
#dashboard #outgoings-page .report-table tr:hover td{background:#081824}
#dashboard #outgoings-page .actions{gap:8px;margin:10px 0}
#dashboard #outgoings-page :is(#outgoing-page,#report-expense-count,.schedule-caption){font:11px/1.5 var(--onix-font);color:#87a7bb}

.operations-dialog:has(.outgoing-details){background:#050c13;color:#cbe9ff;border:1px solid #1c3c52;border-top-color:#24506a;border-radius:2px;padding:16px;box-shadow:0 12px 40px #0008}
.operations-dialog:has(.outgoing-details) h2{font:500 22px var(--onix-font);margin:0 0 12px}
.operations-dialog .outgoing-details{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1.6fr);gap:0;margin:0}
.operations-dialog .outgoing-details :is(dt,dd){margin:0;padding:8px 6px;border-bottom:1px solid #10212e;line-height:1.5;font-size:12px}
.operations-dialog .outgoing-details dt{color:#7197b2}
.operations-dialog .outgoing-details dd{color:#cbe9ff}
.operations-dialog:has(.outgoing-details) .actions{margin-top:8px}
.operations-dialog:has(.outgoing-details) .error:empty{display:none}
.operations-dialog:has(.outgoing-details) button{background:#07111a;color:#acd7f4;border:1px solid #1c3c52;border-radius:2px;font:500 12px var(--onix-font);min-height:36px}
.operations-dialog:has(.outgoing-details) button:hover{background:#081c2b;border-color:#168cff}
@media(max-width:650px){
#dashboard #outgoings-page .report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
#dashboard #outgoings-page .report-metric:last-child{grid-column:1/-1}
#dashboard #outgoings-page .report-metric{padding:9px;min-height:60px}
#dashboard #outgoings-page .report-metric strong{font-size:clamp(17px,5vw,23px)}
#dashboard #outgoings-page :is(button,.field){min-height:40px}
#dashboard #outgoings-page .sales-controls{display:grid;grid-template-columns:auto minmax(0,1fr)}
#dashboard #outgoings-page .sales-controls .field{max-width:none;width:100%;min-width:0}
#dashboard #outgoings-page .report-table td:first-child{min-width:0;max-width:none}
#dashboard #outgoings-page .report-table :is(th,td){padding:6px 4px;font-size:11px;overflow-wrap:anywhere}
#dashboard #outgoings-page .report-table button{padding:4px 5px;font-size:11px}
#dashboard #outgoings-page .report-table{table-layout:fixed}
#dashboard #outgoings-page .report-table th:nth-child(1){width:34%}
#dashboard #outgoings-page .report-table th:nth-child(2){width:24%}
#dashboard #outgoings-page .report-table th:nth-child(3){width:20%}
#dashboard #outgoings-page .report-table th:nth-child(4){width:22%}
#dashboard #outgoings-page .report-table td:nth-child(3){white-space:normal}
}

/* onix-procurement-stage6.css */

#dashboard #procurement-page .procurement-head{border-bottom:1px solid #122b3b;padding-bottom:9px;margin-bottom:9px}
#dashboard #procurement-page .procurement-head h2{font-size:24px;font-weight:500;color:#cbe9ff}
#dashboard #procurement-page .procurement-eyebrow{font:10px var(--onix-font);color:#7197b2;letter-spacing:0}
#dashboard #procurement-page .procurement-toolbar label{font:11px var(--onix-font);color:#7197b2}
#dashboard #procurement-page .procurement-toolbar :is(.field,button){min-height:32px;background:#07111a;border:1px solid #1c3c52;color:#acd7f4;border-radius:2px;font-size:12px;font-weight:500}
#dashboard #procurement-page .procurement-toolbar button:hover{background:#081c2b;border-color:#168cff}
#dashboard #procurement-page .procurement-bar>span{font:11px var(--onix-font);color:#87a7bb}
#dashboard #procurement-page .procurement-order-card{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(100px,1fr);gap:4px 16px;padding:9px 12px;border:0;border-bottom:1px solid #132c3d;border-radius:0;background:#050c13}
#dashboard #procurement-page .procurement-order-card:hover{background:#081824}
#dashboard #procurement-page .procurement-card-head{grid-column:1/-1}
#dashboard #procurement-page .procurement-number{font:500 13px var(--onix-font);color:#cbe9ff}
#dashboard #procurement-page .procurement-card-total{grid-column:2;grid-row:2;text-align:right;font-size:22px;font-weight:500;color:#45cfff;margin:0}
#dashboard #procurement-page .procurement-card-hint{grid-column:2;grid-row:3;text-align:right;font-size:11px;color:#87a7bb}
#dashboard #procurement-page .procurement-card-data{grid-column:1;grid-row:2/4;align-content:start;justify-content:flex-start;padding:0;margin:0;gap:3px 12px;color:#87a7bb;font-size:11px}
#dashboard #procurement-page .procurement-state{border-radius:2px;font-weight:500;background:transparent;padding:2px 6px}
#dashboard #procurement-page .procurement-empty{background:#050c13;border:1px solid #122b3b;border-radius:2px;padding:18px;font-size:12px}

#procurement-detail{border:1px solid #1c3c52;border-top-color:#24506a;color:#cbe9ff;font-family:var(--onix-font);box-shadow:0 12px 40px #0008}
#procurement-detail .procurement-detail-head{border-color:#122b3b}
#procurement-detail h2{font-size:22px;font-weight:500;color:#cbe9ff}
#procurement-detail #procurement-close{min-height:32px;min-width:32px;border:0;background:transparent;border-radius:2px;padding:0}
#procurement-detail #procurement-close:hover{background:#14232f}
#procurement-detail #procurement-detail-meta{font-size:11px;color:#87a7bb}
#procurement-detail thead{background:#06111b}
#procurement-detail th{font:11px var(--onix-font);color:#78a7c8;padding:7px 8px}
#procurement-detail td{color:#cbe9ff;background:#050c13}
#procurement-detail td.procurement-name strong{font-weight:500}
#procurement-detail tbody tr:hover td{background:#081824}
#procurement-detail #procurement-detail-summary{border-color:#122b3b}
#procurement-detail #procurement-detail-summary strong{font-size:22px;font-weight:500;color:#45cfff}
#procurement-detail #procurement-status-panel{background:#050c13;border:1px solid #122b3b;padding:10px}
#procurement-detail .procurement-status-title{font:11px var(--onix-font);letter-spacing:0;color:#7197b2;margin-bottom:6px}
#procurement-detail #procurement-status-panel label{font-size:11px;font-weight:500;gap:4px}
#procurement-detail #procurement-status-panel :is(select,button){background:#07111a;color:#acd7f4;border:1px solid #1c3c52;border-radius:2px;font:500 12px var(--onix-font);min-height:32px;padding:5px 9px}
#procurement-detail #procurement-save-status{background:#071e30!important;color:#45cfff!important;border-color:#1684ae!important}
#procurement-detail #procurement-status-confirm{border-radius:2px;background:#17131b;border-color:#68424c;padding:9px}
#procurement-detail #procurement-status-message{margin:5px 0 0;font-size:11px}
@media(max-width:600px){
#dashboard #procurement-page .procurement-toolbar :is(.field,button),#procurement-detail #procurement-status-panel :is(select,button){min-height:40px}
#dashboard #procurement-page .procurement-card-total{font-size:19px;overflow-wrap:anywhere}
#dashboard #procurement-page .procurement-order-card{gap:4px 8px}
#procurement-detail tbody tr{background:#050c13}
#procurement-detail td{background:transparent}
}

/* onix-schedule-stage7.css */

#dashboard #schedule-page .report-head{margin:0 0 9px;padding-bottom:9px;border-bottom:1px solid #122b3b;gap:8px}
#dashboard #schedule-page .report-head h2{font-size:24px;font-weight:500}
#dashboard #schedule-page .schedule-tools{background:transparent;border:0;padding:0;gap:6px;margin:8px 0}
#dashboard #schedule-page :is(button,.field){min-height:32px;padding:5px 9px;border-radius:2px;font-size:12px;font-weight:500}
#dashboard #schedule-page button{background:#07111a;border:1px solid #1c3c52;color:#acd7f4}
#dashboard #schedule-page button:hover:not(:disabled){background:#081c2b;border-color:#168cff}
#dashboard #schedule-page button:disabled{opacity:.45;cursor:default}
#dashboard #schedule-page .report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}
#dashboard #schedule-page .report-metric{min-height:70px;padding:10px 12px;background:#050c13;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px;box-shadow:none}
#dashboard #schedule-page .report-metric span{font:11px var(--onix-font);color:#7197b2;letter-spacing:0}
#dashboard #schedule-page .report-metric strong{font-size:23px;font-weight:500;letter-spacing:0;color:#cbe9ff;overflow-wrap:anywhere}
#dashboard #schedule-page #schedule-hours{color:#45cfff}
#dashboard #schedule-page #schedule-paid{color:#7bcaaa}
#dashboard #schedule-page #schedule-remaining{color:#ffbd66}
#dashboard #schedule-page .report-metric small{font-size:10px;color:#87a7bb}
#dashboard #schedule-page .schedule-switch{border-bottom:1px solid #122b3b;padding-bottom:7px;margin:9px 0;gap:6px}
#dashboard #schedule-page .schedule-switch button[aria-pressed=true]{background:#092239;color:#45cfff;border-color:#1589bf;box-shadow:inset 0 -2px #168cff}
#dashboard #schedule-page .schedule-wrap{border:0;border-radius:0;background:#050c13;max-width:100%}
#dashboard #schedule-page .schedule-table{font-size:12px}
#dashboard #schedule-page .schedule-table :is(th,td){min-width:48px;padding:6px 7px;height:34px;border-color:#10212e}
#dashboard #schedule-page .schedule-table thead th{background:#06111b;color:#78a7c8;font-size:11px;font-weight:500}

#dashboard #schedule-page .schedule-table th:first-child{background:#07111a;min-width:150px;max-width:196px}
#dashboard #schedule-page .schedule-table .schedule-today{background:#0a2030!important;color:#45cfff}
#dashboard #schedule-page .schedule-table thead .schedule-today{box-shadow:inset 0 -2px #168cff}
#dashboard #schedule-page .schedule-table .schedule-weekend{background:#07111a}
#dashboard #schedule-page .schedule-table .schedule-total{background:#071823;min-width:92px;color:#cbe9ff}
#dashboard #schedule-page .schedule-table .schedule-paid{font-size:10px;margin-top:2px;color:#7bcaaa}
#dashboard #schedule-page .schedule-table .schedule-empty{color:transparent}
#dashboard #schedule-page .schedule-table .schedule-editable:hover,#dashboard #schedule-page .schedule-table .schedule-editable:focus-visible{background:#0b2639!important;outline:1px solid #168cff;outline-offset:-1px;color:#cbe9ff}
#dashboard #schedule-page .schedule-person{gap:7px}
#dashboard #schedule-page .schedule-avatar{height:24px;flex-basis:24px;border-radius:2px;font-size:10px}
#dashboard #schedule-page .schedule-person small{font-size:10px;margin-top:2px}
#dashboard #schedule-page :is(.schedule-caption,.report-status){font:11px/1.5 var(--onix-font);color:#87a7bb}
.operations-dialog:has(#web-planned-hours){background:#050c13;border:1px solid #1c3c52;border-top-color:#24506a;border-radius:2px;color:#cbe9ff;padding:16px;box-shadow:0 12px 40px #0008}
.operations-dialog:has(#web-planned-hours) h2{font:500 22px var(--onix-font);margin-bottom:8px}
.operations-dialog:has(#web-planned-hours) label{font:11px var(--onix-font);margin:10px 0 4px;color:#87a7bb}
.operations-dialog:has(#web-planned-hours) :is(.field,button){background:#07111a;color:#acd7f4;border:1px solid #1c3c52;border-radius:2px;min-height:36px;font:12px var(--onix-font)}
.operations-dialog:has(#web-planned-hours) button.primary{background:#071e30;color:#45cfff;border-color:#1684ae}
.operations-dialog:has(#web-planned-hours) .actions{margin-top:10px}
@media(max-width:1100px){#dashboard #schedule-page .report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#dashboard #schedule-page :is(button,.field){min-height:40px}#dashboard #schedule-page .report-metric{padding:9px}#dashboard #schedule-page .report-metric strong{font-size:clamp(17px,5vw,23px)}#dashboard #schedule-page .schedule-table :is(th,td){height:42px}#dashboard #schedule-page .schedule-table th:first-child{min-width:122px;max-width:140px}}

@media(max-width:650px){
#dashboard #schedule-page{min-width:0;width:100%}
#dashboard #schedule-page .schedule-wrap{width:100%;min-width:0;max-width:100%;overflow:auto}
#dashboard #schedule-page .schedule-tools{grid-template-columns:40px minmax(0,1fr) 40px}
#dashboard #schedule-page .schedule-tools .field{min-width:0;max-width:100%;width:100%}
#dashboard #schedule-page .schedule-switch{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px 40px}
#dashboard #schedule-page .schedule-switch button{min-width:0;padding:5px 3px}
#dashboard #schedule-page .schedule-switch #schedule-earlier,#dashboard #schedule-page .schedule-switch #schedule-later,#dashboard #schedule-page #schedule-current{font-size:0;padding:0}
#dashboard #schedule-page .report-metric{min-width:0}
}

/* onix-warehouse-stage8.css */

#dashboard #warehouse-page .report-head{margin:0 0 9px;padding-bottom:9px;border-bottom:1px solid #122b3b;gap:8px}
#dashboard #warehouse-page .warehouse-heading h2{font-size:24px;font-weight:500;margin:0}
#dashboard #warehouse-page .eyebrow{font:10px var(--onix-font);color:#7197b2;letter-spacing:0;margin-bottom:4px}
#dashboard #warehouse-page>p{font:11px/1.5 var(--onix-font);color:#87a7bb;margin:8px 0}
#dashboard #warehouse-page .warehouse-toolbar{background:transparent;border:0;padding:0;margin:8px 0;gap:8px}
#dashboard #warehouse-page :is(button,.field){min-height:32px;padding:5px 9px;border-radius:2px;font-size:12px;font-weight:500}
#dashboard #warehouse-page button{background:#07111a;border:1px solid #1c3c52;color:#acd7f4}
#dashboard #warehouse-page button:hover:not(:disabled){background:#081c2b;border-color:#168cff}
#dashboard #warehouse-page button:disabled{opacity:.45;cursor:default}
#dashboard #warehouse-page .warehouse-hidden-toggle{font-size:11px}
#dashboard #warehouse-page .warehouse-metrics{gap:8px;margin:10px 0;grid-template-columns:repeat(4,minmax(0,1fr))}
#dashboard #warehouse-page .report-metric{min-height:66px;padding:10px 12px;background:#050c13;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px;box-shadow:none}
#dashboard #warehouse-page .report-metric span{font:11px var(--onix-font);color:#7197b2;letter-spacing:0}
#dashboard #warehouse-page .report-metric strong{font-size:23px;font-weight:500;letter-spacing:0;color:#cbe9ff;overflow-wrap:anywhere}
#dashboard #warehouse-page #warehouse-low{color:#e6b36f}
#dashboard #warehouse-page #warehouse-negative{color:#ee9ca9}
#dashboard #warehouse-page #warehouse-value{color:#45cfff}
#dashboard #warehouse-page .warehouse-list{gap:2px}
#dashboard #warehouse-page .warehouse-row{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(90px,.5fr) minmax(0,1.4fr);gap:8px;padding:8px 10px;background:#050c13;border:0;border-bottom:1px solid #10212e;border-radius:0}
#dashboard #warehouse-page .warehouse-row:hover{background:#081824}

#dashboard #warehouse-page .warehouse-row-title{justify-content:flex-start;align-items:baseline;flex-wrap:wrap;gap:3px 8px}
#dashboard #warehouse-page .warehouse-row-title h3{font-size:13px;font-weight:500;color:#cbe9ff}
#dashboard #warehouse-page .warehouse-row-identity p{font-size:11px;color:#87a7bb;margin:3px 0 0}
#dashboard #warehouse-page .warehouse-badge{background:transparent;border:0;border-radius:0;padding:0;color:#7197b2;font-size:10px;white-space:normal}
#dashboard #warehouse-page .warehouse-row-stock{gap:2px}
#dashboard #warehouse-page .warehouse-row-stock strong{font-size:16px;font-weight:500;color:#cbe9ff}
#dashboard #warehouse-page .state-negative,#dashboard #warehouse-page .state-empty{color:#ee9ca9}
#dashboard #warehouse-page .state-low{color:#e6b36f}
#dashboard #warehouse-page .state-available{color:#7bcaaa}
#dashboard #warehouse-page .warehouse-row-actions{gap:4px;align-items:center}
#dashboard #warehouse-page .warehouse-row-actions button{font-size:11px;min-height:30px;padding:4px 7px}
#dashboard #warehouse-page .inventory-pager{padding:0;margin:10px 0;font-size:11px}
#dashboard #warehouse-page .warehouse-empty{background:#050c13;border:1px solid #122b3b;border-radius:2px;padding:12px}
.inventory-dialog{background:#050c13;color:#cbe9ff;border:1px solid #1c3c52;border-top-color:#24506a;border-radius:2px;padding:16px;box-shadow:0 12px 40px #0008}
.inventory-dialog h2{font:500 22px var(--onix-font);margin:0 0 12px}
.inventory-dialog form{gap:8px}
.inventory-dialog .inventory-field{font:11px var(--onix-font);color:#87a7bb;gap:4px}
.inventory-dialog :is(button,.field){background:#07111a;color:#acd7f4;border:1px solid #1c3c52;border-radius:2px;min-height:36px;font:12px var(--onix-font)}
.inventory-dialog button.primary{background:#071e30;color:#45cfff;border-color:#1684ae}
.inventory-dialog button:hover:not(:disabled){border-color:#168cff}
.inventory-dialog .movement-row{border:0;border-bottom:1px solid #10212e;border-radius:0;padding:7px}
.inventory-dialog .inventory-dialog-actions{background:#050c13}

@media(max-width:1100px){#dashboard #warehouse-page .warehouse-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboard #warehouse-page .warehouse-row{grid-template-columns:minmax(0,1fr) minmax(90px,.45fr)}#dashboard #warehouse-page .warehouse-row-actions{grid-column:1/-1;justify-content:flex-start;padding-top:4px;border-top:0}}
@media(max-width:650px){#dashboard #warehouse-page{min-width:0}#dashboard #warehouse-page .warehouse-toolbar{grid-template-columns:minmax(0,1fr)}#dashboard #warehouse-page .report-metric{padding:9px}#dashboard #warehouse-page .report-metric strong{font-size:clamp(17px,5vw,23px)}#dashboard #warehouse-page .warehouse-row-stock{margin:0}#dashboard #warehouse-page .warehouse-row-actions{margin:0}#dashboard #warehouse-page :is(button,.field),#dashboard #warehouse-page .warehouse-row-actions button{min-height:40px}.inventory-dialog :is(button,.field){min-height:40px}}

/* onix-operations-stage9.css */

#dashboard :is(#operations-page,#products-page) .report-head{margin:0 0 9px;padding-bottom:9px;border-bottom:1px solid #122b3b;gap:8px}
#dashboard :is(#operations-page,#products-page) .report-head h2{font-size:24px;font-weight:500;letter-spacing:0}
#dashboard :is(#operations-page,#products-page) .eyebrow{font:10px var(--onix-font);color:#7197b2;letter-spacing:0}
#dashboard :is(#operations-page,#products-page)>p{font:11px/1.5 var(--onix-font);color:#87a7bb;margin:8px 0}
#dashboard :is(#operations-page,#products-page) :is(button,.field){min-height:32px;padding:5px 9px;border-radius:2px;font-size:12px;font-weight:500}
#dashboard :is(#operations-page,#products-page) button:not(.primary){background:#07111a;border:1px solid #1c3c52;color:#acd7f4}
#dashboard :is(#operations-page,#products-page) button:hover:not(:disabled){background:#081c2b;border-color:#168cff}
#dashboard :is(#operations-page,#products-page) :is(.operation-tabs,.product-categories){background:transparent;border:0;border-bottom:1px solid #122b3b;padding:0 0 6px;margin:9px 0;gap:5px}
#dashboard :is(#operations-page,#products-page) button[aria-pressed=true]{background:#092239;color:#45cfff;border-color:#1589bf;box-shadow:inset 0 -2px #168cff}
#dashboard #operations-page .warehouse-toolbar{grid-template-columns:minmax(0,1fr);margin:8px 0}
#dashboard #operations-page .operation-list{gap:3px}
#dashboard #operations-page .operation-add{min-height:34px;background:#071e30;border:1px solid #1684ae;color:#45cfff}
#dashboard #operations-page .operation-card{background:#050c13;border:0;border-bottom:1px solid #10212e;border-radius:0;padding:9px 12px}
#dashboard #operations-page .operation-card:hover{background:#081824}
#dashboard #operations-page .operation-card h3{font-size:14px;font-weight:500;color:#cbe9ff}
#dashboard #operations-page .operation-card>p{font-size:11px;color:#87a7bb;margin:4px 0}
#dashboard #operations-page .operation-composition{background:transparent;border:0;border-left:2px solid #24506a;border-radius:0;padding:2px 8px}
#dashboard #operations-page .operation-actions{margin-top:6px}
#dashboard #operations-page .warehouse-badge{background:transparent;border:0;color:#7197b2;padding:0}

.inventory-dialog .recipe-source-head{gap:8px;margin-top:6px}
.inventory-dialog .recipe-source-head h3{font-size:13px;font-weight:500}
.inventory-dialog .recipe-input-list{border:1px solid #122b3b;border-radius:2px;padding:0;gap:0}
.inventory-dialog .recipe-input-row{background:#050c13;border-radius:0;border-bottom:1px solid #10212e;padding:6px 8px;gap:8px}
.inventory-dialog .recipe-input-row:has(input[type=checkbox]:checked){background:#081824;box-shadow:inset 2px 0 #168cff}
.inventory-dialog .recipe-input-title strong{font-weight:500;color:#cbe9ff}
.inventory-dialog .recipe-formula{background:#07111a;border-left:2px solid #24506a;border-radius:0;padding:8px;color:#acd7f4}
#dashboard .cabinet-nav button[data-page="products"]{--nav-icon:url(/assets/onix-nav/book_off.png);--nav-active:url(/assets/onix-nav/book_on.png)}
#dashboard #products-list{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:6px;margin-top:8px}
#dashboard #products-list .bot-product{padding:5px 8px 8px;background:#050c13;border:1px solid #122b3b;border-radius:2px;gap:5px}
#dashboard #products-list .bot-product:hover{border-color:#24506a;background:#081824}
#dashboard #products-list .bot-product img{height:110px;background:#050b10;border-radius:0}
#dashboard #products-list .bot-product h3{font-size:13px;font-weight:500;color:#cbe9ff}
#dashboard #products-list .bot-status,#dashboard #products-list .bot-product p{font-size:11px;color:#87a7bb}
#dashboard #products-list .bot-price{font-size:19px;font-weight:500;color:#45cfff}
.product-editor{background:#050c13;border:1px solid #1c3c52;border-radius:2px;box-shadow:0 12px 40px #0008}
.product-editor :is(header,footer){background:#07111a;border-color:#122b3b;padding:12px 16px}
.product-editor .product-editor-layout{padding:12px 16px;gap:12px}
.product-editor :is(.product-photo-preview,.product-photo-preview img,.product-check,.field,button){border-radius:2px}
.product-editor .product-check{background:#07111a}
.product-editor .product-form-field{margin-bottom:8px}
@media(max-width:650px){#dashboard :is(#operations-page,#products-page) :is(button,.field){min-height:40px}#dashboard #products-list{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboard #products-list .bot-product img{height:95px}#dashboard #operations-page .operation-tabs{max-width:100%}}

/* onix-customers-stage10.css */

#dashboard #customers-page .customers-tools{background:transparent;border:0;padding:0;margin:8px 0;gap:8px}
#dashboard #customers-page .customers-tools label{font:11px var(--onix-font);color:#7197b2}
#dashboard #customers-page :is(button,.field){border-radius:2px;font-size:12px;font-weight:500}
#dashboard #customers-page .customers-tools .field{margin-top:4px;background:#07111a;border:1px solid #1c3c52;color:#acd7f4;min-height:32px;padding:5px 9px}
#dashboard #customers-page button:not(.customer-card){background:#07111a;border:1px solid #1c3c52;color:#acd7f4;min-height:32px;padding:5px 9px}
#dashboard #customers-page button:not(.customer-card):hover:not(:disabled){background:#081c2b;border-color:#168cff}
#dashboard #customers-page button:disabled{opacity:.45;cursor:default}
#dashboard #customers-page .customers-list-head{margin:9px 0 5px;padding:8px 0;border-color:#122b3b}
#dashboard #customers-page .customers-list-head strong{font-size:14px;font-weight:500;color:#cbe9ff}
#dashboard #customers-page .customers-list-head span{font-size:11px;color:#7197b2}
#dashboard #customers-page .customers-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#dashboard #customers-page .customer-card{background:#050c13;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px;padding:10px 12px;gap:6px}
#dashboard #customers-page .customer-card:hover{background:#081824;border-color:#24506a}
#dashboard #customers-page .customer-person{gap:8px}
#dashboard #customers-page .customer-avatar{flex-basis:30px;height:30px;border-radius:2px;background:#071e30;color:#78a7c8;font-size:11px}
#dashboard #customers-page .customer-name{font-size:14px;font-weight:500;color:#cbe9ff}
#dashboard #customers-page :is(.customer-meta,.customer-phone,.customer-card-foot){font-size:11px;color:#87a7bb}
#dashboard #customers-page .customer-stats{border-color:#10212e;padding-top:6px;gap:6px}
#dashboard #customers-page .customer-stats small{font-size:10px;color:#7197b2}
#dashboard #customers-page .customer-stats strong{font-size:16px;font-weight:500;color:#cbe9ff;overflow-wrap:anywhere}
#dashboard #customers-page .customer-stats>span:first-child strong{color:#45cfff}

#dashboard #customers-page .customers-pager{padding:0;margin:10px 0;gap:8px}
#dashboard #customers-page .customer-empty{background:#050c13;border:1px solid #122b3b;border-radius:2px;padding:18px}
#dashboard #customers-page .customers-dialog{background:#050c13;border:1px solid #1c3c52;border-top-color:#24506a;border-radius:2px;padding:16px;box-shadow:0 12px 40px #0008}
#dashboard #customers-page .customer-dialog-head{background:#050c13;top:-16px;padding:9px 0;border-bottom:1px solid #122b3b;align-items:center}
#dashboard #customers-page .customer-dialog-head h2{font-size:23px;font-weight:500;color:#cbe9ff}
#dashboard #customers-page #customer-subtitle{font-size:11px;color:#87a7bb}
#dashboard #customers-page #customer-close{min-width:32px;min-height:32px;background:transparent;border:0}
#dashboard #customers-page .customer-detail-stats{gap:8px;margin:10px 0}
#dashboard #customers-page .customer-detail-stat{background:#050c13;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px;padding:9px}
#dashboard #customers-page .customer-detail-stat span{font-size:10px;color:#7197b2}
#dashboard #customers-page .customer-detail-stat strong{font-size:21px;font-weight:500;color:#cbe9ff}
#dashboard #customers-page .customer-detail-stat:first-child strong{color:#45cfff}
#dashboard #customers-page .customer-section{border-color:#122b3b;margin:10px 0;padding-top:9px}
#dashboard #customers-page .customer-section h3{font-size:14px;font-weight:500;margin:0 0 6px}
#dashboard #customers-page .customer-section p{font-size:11px;line-height:1.5;margin:5px 0}
#dashboard #customers-page .customer-section .report-table-wrap{border:0;border-radius:0}
#dashboard #customers-page .customer-section :is(th,td){padding:6px;border-color:#10212e}
#dashboard #customers-page .customer-section th{background:#06111b;color:#78a7c8;font-size:11px}
#dashboard #customers-page :is(.customer-address,.customer-note){background:#07111a;border:0;border-left:2px solid #24506a;border-radius:0;padding:7px 9px}
@media(min-width:1500px){#dashboard #customers-page .customers-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){#dashboard #customers-page .customers-grid{grid-template-columns:minmax(0,1fr)}#dashboard #customers-page .customers-tools :is(button,.field){min-height:40px}#dashboard #customers-page .customer-detail-stat strong{font-size:clamp(14px,4.3vw,20px)}#dashboard #customers-page .customer-detail-stat{padding:6px}#dashboard #customers-page .customers-dialog{max-width:calc(100% - 16px);box-sizing:border-box}}

/* onix-telegram-stage11.css */

#dashboard #bot-menu-page .report-head{margin:0 0 9px;padding-bottom:9px;border-bottom:1px solid #122b3b;gap:8px}
#dashboard #bot-menu-page .report-head h2{font-size:24px;font-weight:500;letter-spacing:0}
#dashboard #bot-menu-page>p{font:11px/1.5 var(--onix-font);color:#87a7bb;margin:8px 0}
#dashboard #bot-menu-page :is(button,.field){min-height:32px;padding:5px 9px;border-radius:2px;font-size:12px;font-weight:500}
#dashboard #bot-menu-page button:not(.primary){background:#07111a;border:1px solid #1c3c52;color:#acd7f4}
#dashboard #bot-menu-page button:hover:not(:disabled){background:#081c2b;border-color:#168cff}
#dashboard #bot-menu-page button:disabled{opacity:.45;cursor:default}
#dashboard #bot-menu-page .bot-policy{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;margin:7px 0;padding:10px 12px;background:#050c13;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px}
#dashboard #bot-menu-page .bot-policy label{margin:0;font-size:12px;color:#cbe9ff}
#dashboard #bot-menu-page .bot-policy p{font-size:11px;color:#87a7bb;line-height:1.4;margin:0}
#dashboard #bot-menu-page .bot-policy button{grid-column:2;grid-row:1;white-space:normal}
#dashboard #bot-menu-page #bot-bonus-form{grid-template-columns:minmax(0,1fr) 100px auto}
#dashboard #bot-menu-page #bot-bonus-form button{grid-column:3}
#dashboard #bot-menu-page #bot-bonus-percent{min-width:0;width:100%}
#dashboard #bot-menu-page #bot-menu-search{margin:9px 0 0}
#dashboard #bot-menu-page .bot-menu-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:6px;margin-top:8px}
#dashboard #bot-menu-page .bot-product{background:#050c13;border:1px solid #122b3b;border-radius:2px;padding:6px 8px 8px;gap:5px}
#dashboard #bot-menu-page .bot-product:hover{background:#081824;border-color:#24506a}
#dashboard #bot-menu-page .bot-product img{height:110px;object-fit:contain;background:#050b10;border:0;border-radius:0}
#dashboard #bot-menu-page .bot-product h3{font-size:14px;font-weight:500;color:#cbe9ff}
#dashboard #bot-menu-page .bot-price{font-size:19px;font-weight:500;color:#45cfff}
#dashboard #bot-menu-page .bot-product :is(p,.bot-status){font-size:11px;color:#87a7bb;line-height:1.4}

#dashboard #bot-menu-page .bot-policy .toggle{gap:8px}
#dashboard #bot-menu-page .bot-policy input[type=checkbox]{accent-color:#168cff}
#dashboard #bot-menu-page #bot-menu-message{font:11px/1.5 var(--onix-font);margin:6px 0;min-height:0}
.operations-dialog:has(#bot-edit-name){background:#050c13;color:#cbe9ff;border:1px solid #1c3c52;border-top-color:#24506a;border-radius:2px;padding:16px;box-shadow:0 12px 40px #0008}
.operations-dialog:has(#bot-edit-name) h2{font:500 22px var(--onix-font);margin:0 0 8px}
.operations-dialog:has(#bot-edit-name) label{font:11px var(--onix-font);color:#87a7bb;margin:8px 0 4px}
.operations-dialog:has(#bot-edit-name) :is(.field,button){background:#07111a;color:#acd7f4;border:1px solid #1c3c52;border-radius:2px;min-height:36px;font:12px var(--onix-font)}
.operations-dialog:has(#bot-edit-name) button.primary{background:#071e30;color:#45cfff;border-color:#1684ae}
.operations-dialog:has(#bot-edit-name) button:hover{border-color:#168cff}
.operations-dialog:has(#bot-edit-name) p{font:11px/1.5 var(--onix-font);margin:7px 0}
.operations-dialog:has(#bot-edit-name) .actions{margin-top:10px}
.operations-dialog:has(#bot-edit-name) input[type=file]{max-width:100%;padding:5px}
@media(max-width:650px){
#dashboard #bot-menu-page .bot-policy{grid-template-columns:minmax(0,1fr);padding:9px}
#dashboard #bot-menu-page .bot-policy button{grid-column:1/-1;grid-row:auto}
#dashboard #bot-menu-page #bot-bonus-form{grid-template-columns:minmax(0,1fr) 76px}
#dashboard #bot-menu-page #bot-bonus-form button{grid-column:1/-1}
#dashboard #bot-menu-page :is(button,.field){min-height:40px}
#dashboard #bot-menu-page .bot-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#dashboard #bot-menu-page .bot-product img{height:95px}
#dashboard #bot-menu-page .bot-product button{white-space:normal}
.operations-dialog:has(#bot-edit-name) :is(.field,button){min-height:40px}
}
@media(max-width:350px){#dashboard #bot-menu-page .bot-menu-grid{grid-template-columns:minmax(0,1fr)}}

/* onix-yandex-stage12.css */

#dashboard #yandex-page>.grid{gap:6px;grid-template-columns:repeat(2,minmax(0,1fr))}
#dashboard #yandex-page .item{background:#050c13;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px;padding:9px 12px;min-width:0}
#dashboard #yandex-page .item.wide{grid-column:1/-1}
#dashboard #yandex-page label{font:11px var(--onix-font);color:#87a7bb;margin:0 0 4px}
#dashboard #yandex-page :is(button,.field){min-height:32px;padding:5px 9px;border-radius:2px;font-size:12px;font-weight:500}
#dashboard #yandex-page .field{background:#07111a;color:#cbe9ff;border:1px solid #1c3c52;min-width:0}
#dashboard #yandex-page button:not(.primary){background:#07111a;border:1px solid #1c3c52;color:#acd7f4}
#dashboard #yandex-page button:hover:not(:disabled){background:#081c2b;border-color:#168cff}
#dashboard #yandex-page button:disabled{opacity:.45;cursor:default}
#dashboard #yandex-page .row{gap:5px}
#dashboard #yandex-page .row .field{flex:1;min-width:0}
#dashboard #yandex-page :is(.small,.menu-row-meta){font:11px/1.5 var(--onix-font);color:#87a7bb}
#dashboard #yandex-page .toggle{margin:0;color:#cbe9ff;gap:8px}
#dashboard #yandex-page input[type=checkbox]{accent-color:#168cff}
#dashboard #yandex-page .toolbar{margin:9px 0;gap:8px}
#dashboard #yandex-page .menu-builder{margin-top:12px;padding-top:10px;border-color:#122b3b}
#dashboard #yandex-page .menu-builder h2{font-size:24px;font-weight:500;color:#cbe9ff;letter-spacing:0}
#dashboard #yandex-page .menu-builder>p{font:11px/1.5 var(--onix-font);color:#87a7bb;margin:4px 0 8px}
#dashboard #yandex-page .menu-add{background:#050c13;border:1px solid #122b3b;border-radius:2px;padding:8px;gap:6px;margin-top:8px}
#dashboard #yandex-page .menu-list{gap:3px;margin-top:8px}
#dashboard #yandex-page .menu-row{background:#050c13;border:0;border-bottom:1px solid #10212e;border-radius:0;padding:9px 12px}
#dashboard #yandex-page .menu-row:hover{background:#081824}

#dashboard #yandex-page .menu-row-title{font-size:14px;font-weight:500;color:#cbe9ff;overflow-wrap:anywhere;min-width:0}
#dashboard #yandex-page .menu-row-head{gap:8px;align-items:center}
#dashboard #yandex-page .menu-enabled{font-size:11px;margin:0;color:#87a7bb}
#dashboard #yandex-page .menu-row-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,.8fr);gap:8px;margin-top:7px}
#dashboard #yandex-page .menu-row-grid>div,#dashboard #yandex-page .menu-add>div{min-width:0}
#dashboard #yandex-page .menu-row-grid div.field{overflow-wrap:anywhere;white-space:normal}
#dashboard #yandex-page .menu-empty{background:#050c13;border:1px solid #122b3b;border-radius:2px;padding:12px;font-size:12px}
#dashboard #yandex-page .actions{gap:6px}
@media(min-width:1101px){#dashboard #yandex-page .menu-add{grid-template-columns:minmax(0,1fr) 90px 100px 110px auto}}
@media(max-width:1100px){#dashboard #yandex-page .menu-add{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboard #yandex-page .menu-add .product-choice,#dashboard #yandex-page #menu-add-button{grid-column:1/-1}#dashboard #yandex-page .menu-row-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
#dashboard #yandex-page{min-width:0}
#dashboard #yandex-page>.grid{grid-template-columns:minmax(0,1fr)}
#dashboard #yandex-page .item{padding:9px}
#dashboard #yandex-page .row{flex-wrap:wrap}
#dashboard #yandex-page .row .field{flex:1 0 100%;width:100%}
#dashboard #yandex-page .row button{flex:1;min-width:0}
#dashboard #yandex-page :is(button,.field){min-height:40px}
#dashboard #yandex-page .menu-row-grid{grid-template-columns:minmax(0,1fr)}
#dashboard #yandex-page .toolbar{flex-wrap:wrap}
#dashboard #yandex-page .actions{flex-wrap:wrap}
}

/* onix-settings-stage13.css */

#dashboard #security-page{background:#050c13;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px;padding:12px 16px!important;margin:0;max-width:860px;min-width:0}
#dashboard #security-page h2{font-size:24px;font-weight:500;letter-spacing:0;color:#cbe9ff;margin:0 0 6px}
#dashboard #security-page>p{font:11px/1.5 var(--onix-font);color:#87a7bb;margin:0 0 12px}
#dashboard #security-page .password-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#dashboard #security-page label{font:11px var(--onix-font);color:#87a7bb;margin:0 0 5px}
#dashboard #security-page .field{min-width:0;background:#07111a;color:#cbe9ff;border:1px solid #1c3c52;border-radius:2px;min-height:32px;padding:5px 9px;font-size:12px}
#dashboard #security-page .field:focus{border-color:#168cff}
#dashboard #security-page button{background:#071e30;color:#45cfff;border:1px solid #1684ae;border-radius:2px;min-height:32px;padding:5px 12px;font-size:12px;font-weight:500}
#dashboard #security-page button:hover:not(:disabled){background:#0b3047;border-color:#168cff}
#dashboard #security-page button:disabled{opacity:.45}
#dashboard #security-page .actions{margin:10px 0 0}
#dashboard #security-page #password-message{font:12px/1.5 var(--onix-font);margin:8px 0 0;min-height:0}
#remote-qr-dialog{background:#050c13;color:#cbe9ff;border:1px solid #1c3c52;border-top-color:#24506a;border-radius:2px;padding:16px;box-shadow:0 12px 40px #0008;max-width:calc(100% - 20px);box-sizing:border-box}
#remote-qr-dialog h2{font:500 23px var(--onix-font);color:#cbe9ff}
#remote-qr-dialog p,#remote-qr-dialog label{font:12px/1.5 var(--onix-font);color:#87a7bb}
#remote-qr-dialog :is(button,.field){background:#07111a;color:#acd7f4;border:1px solid #1c3c52;border-radius:2px;min-height:36px;font:12px var(--onix-font)}
#remote-qr-dialog button.primary{background:#071e30;color:#45cfff;border-color:#1684ae}
#remote-qr-dialog #remote-qr-image{max-width:100%;height:auto}
@media(max-width:650px){#dashboard #security-page .password-grid{grid-template-columns:minmax(0,1fr)}#dashboard #security-page :is(button,.field),#remote-qr-dialog :is(button,.field){min-height:40px}}

/* onix-tab-fade.css */
:root{--onix-tab-fade:linear-gradient(to top,#071a30 0%,#07182d 6.25%,#07172a 12.5%,#061628 18.75%,#061525 25%,#061423 31.25%,#061321 37.5%,#06121f 43.75%,#06111e 50%,#06101c 56.25%,#060f1a 62.5%,#060e18 68.75%,#050d17 75%,#050c15 81.25%,#050c13 87.5%,#050b12 93.75%,#050a10 100%)}
#dashboard #backoffice-page .sales-controls button[data-sales-period][aria-pressed=true],
#dashboard #analytics-page .analytics-presets button[aria-pressed=true],
#dashboard #schedule-page .schedule-switch button[aria-pressed=true],
#dashboard :is(#operations-page,#products-page) button[aria-pressed=true]{background:var(--onix-tab-fade);border-color:transparent;color:#45cfff;box-shadow:inset 0 -2px #168cff,inset 0 -7px 9px -7px #168cff;}
@media(max-width:850px){#dashboard .cabinet-nav button[data-page][aria-pressed=true]{background:var(--onix-tab-fade)}}

/* onix-final-stage15.css */

#dashboard > .eyebrow{font:10px var(--onix-font);letter-spacing:.08em;color:#7197b2;margin-bottom:5px}
#dashboard > .status{font:11px var(--onix-font);margin-bottom:9px}
#dashboard .report-status{font:11px var(--onix-font)}
#dashboard .cabinet-nav button[data-page]{overflow:hidden}
#dashboard .cabinet-nav button[data-page][aria-pressed=true]{color:#45cfff;background:linear-gradient(to right,#0a2337,#07111a 75%);border:0;box-shadow:none}
#dashboard .cabinet-nav button[data-page][aria-pressed=true]::after{box-shadow:0 0 8px #168cff80}
#dashboard .cabinet-nav button[data-page]:focus-visible{outline-offset:-3px}
#sales-dialog{background:#050c13;border:1px solid #1c3c52;border-top-color:#24506a;border-radius:2px;padding:16px;color:#cbe9ff;box-shadow:0 12px 40px #0008}
#sales-dialog .report-head{background:#050c13;margin:0 0 8px;padding:0 0 8px;border-bottom:1px solid #122b3b;top:-16px}
#sales-dialog h2{font-size:23px;font-weight:500}
#sales-dialog .sales-controls{background:transparent;border:0;padding:0;gap:6px;margin:8px 0}
#sales-dialog :is(button,.field){background:#07111a;border:1px solid #1c3c52;border-radius:2px;min-height:32px;color:#acd7f4;font:12px var(--onix-font)}
#sales-dialog button[aria-pressed=true]{background:var(--onix-tab-fade);color:#45cfff;border-color:transparent;box-shadow:inset 0 -2px #168cff}
#sales-dialog .report-metric{background:#050c13;border:1px solid #122b3b;border-top-color:#24506a;border-radius:2px;min-height:68px;padding:9px}
#sales-dialog .report-metric strong{font-size:22px;color:#cbe9ff;font-weight:500;overflow-wrap:anywhere}
#sales-dialog #sales-revenue{color:#45cfff}
#sales-dialog .report-chart{height:220px}
#sales-dialog .report-table-wrap{border:0;border-radius:0}
#sales-dialog .report-table :is(th,td){padding:6px;border-color:#10212e}
#sales-dialog .report-table th{background:#06111b;color:#78a7c8}
@media(max-width:850px){#dashboard .cabinet-nav button[data-page][aria-pressed=true]{background:var(--onix-tab-fade)}}
@media(max-width:650px){#sales-dialog .report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#sales-dialog .report-metric strong{font-size:18px}#sales-dialog :is(button,.field){min-height:40px}#sales-dialog .report-chart{height:180px}}
