/* ONIX V3 / SECTION UI OVERRIDES */
/* Daily overview */
#backoffice-page .report-columns{gap:13px}
#backoffice-page .report-panel h3{font-size:17px;color:#f0f7fd}
#backoffice-page .report-line{border-bottom:1px solid #263c4a;padding-bottom:9px}
#backoffice-page .report-line:last-child{border-bottom:0}
#backoffice-page .report-line strong{color:#edf7ff}
/* Analytics */
#analytics-page .analytics-filters{background:#0d1b29;border:1px solid #2e4557;border-radius:10px;padding:18px;margin:12px 0 21px;gap:14px}
#analytics-page .analytics-actions,#analytics-page .analytics-presets{display:flex;flex-wrap:wrap;gap:7px}
#analytics-page .analytics-presets button{background:#111f2c;border:1px solid #304a60;color:#adc2d1;border-radius:7px;min-height:39px}
#analytics-page .analytics-presets button[aria-pressed=true]{background:#204961;border-color:#7bb5d4;box-shadow:inset 0 -2px #b0e9ff;color:#f5faff}
#analytics-page .analytics-dates{gap:10px;flex-wrap:wrap}
#analytics-page .analytics-dates label{font-size:11px}
#analytics-page .analytics-dates input{background:#0b1825;border-color:#30495e;border-radius:7px}
#analytics-page .analytics-kpis{gap:11px}
#analytics-page .analytics-panel-head{border-bottom:1px solid #304657;padding-bottom:14px;margin-bottom:18px}
#analytics-page .analytics-panel-head h3{font-size:17px}
#analytics-page .analytics-panel-head p{color:#92abbe}
#analytics-page .analytics-primary{background:linear-gradient(140deg,#142e41,#0c1a28);border-color:#395d73}
#analytics-page .analytics-chart{display:block;width:100%;max-width:100%;overflow:visible}
#analytics-page .analytics-chart text{fill:#9aafbf}
#analytics-page .analytics-bars{gap:17px}
#analytics-page .analytics-bar-track{background:#203447;border-radius:5px;overflow:hidden}
#analytics-page .analytics-bar-fill{background:linear-gradient(90deg,#2d7fab,#9bdaee)}
#analytics-page .analytics-bar-head strong{color:#e4f4fc}
#analytics-page .analytics-heatmap{border-spacing:3px}
#analytics-page .analytics-heatmap th{color:#91adbf}
#analytics-page details{border:1px solid #2d4457;border-radius:9px;background:#0d1c2a;padding:14px}
#analytics-page summary{color:#b7ddec;cursor:pointer}
/* Outgoings */
#outgoings-page .sales-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#0d1c29;border:1px solid #2e4558;border-radius:9px;padding:15px;margin-bottom:15px}
#outgoings-page .sales-controls label{color:#9db7c7;font:650 11px Consolas,monospace}
#outgoings-page .sales-controls .field{min-width:160px}
#outgoings-page .outgoing-details{background:#0e1b29;border:1px solid #304858;border-radius:9px;padding:18px}
#outgoings-page .outgoing-details dt{color:#91aabb}
#outgoings-page .outgoing-details dd{color:#e8f2fa}
/* Schedule */
#schedule-page .schedule-tools{background:#0d1b28;border:1px solid #2e4557;border-radius:9px;padding:14px;margin-bottom:12px;gap:8px}
#schedule-page .schedule-switch{border-bottom:1px solid #2c4354;padding-bottom:14px;margin:14px 0 17px;gap:6px}
#schedule-page .schedule-switch button{background:#112331;border-color:#344f62;border-radius:6px}
#schedule-page .schedule-switch button[aria-pressed=true]{background:#1a425a;border-color:#7fb7d2}
#schedule-page .schedule-wrap{border:1px solid #2e4659;border-radius:9px;max-height:70vh;overflow:auto;scrollbar-color:#38576b transparent}
#schedule-page .schedule-table th,#schedule-page .schedule-table td{padding:12px 10px;border-bottom-color:#2b4556;border-right-color:#273a4b}
#schedule-page .schedule-table thead th{background:#172e3f;color:#acc8d8}
#schedule-page .schedule-table th:first-child{background:#122638;min-width:175px}
#schedule-page .schedule-table .schedule-today{background:#1b445b!important;color:#bbeafa}
#schedule-page .schedule-table .schedule-weekend{background:#112337}
#schedule-page .schedule-avatar{border-radius:7px}
#schedule-page .schedule-caption{color:#94b0c0}
/* Warehouse */
#warehouse-page .warehouse-heading{gap:14px;align-items:center}
#warehouse-page .warehouse-toolbar{background:#0d1b29;border:1px solid #2c4556;padding:15px;border-radius:9px;margin:17px 0;gap:9px}
#warehouse-page .warehouse-toolbar .field{width:100%}
#warehouse-page .warehouse-hidden-toggle{display:inline-flex;gap:8px;align-items:center}
#warehouse-page .inventory-pager{padding:14px 0;gap:9px}
#warehouse-page .inventory-pager button{border-color:#39576d;border-radius:7px}
#warehouse-page .warehouse-list{gap:9px}
#warehouse-page .warehouse-row{background:#0e1b28;border:1px solid #2e4758;border-radius:10px;padding:18px;gap:15px;transition:background .16s,border-color .16s}
#warehouse-page .warehouse-row:hover{background:#122737;border-color:#547488}
#warehouse-page .warehouse-row-title h3{color:#eaf6ff;font-size:16px}
#warehouse-page .warehouse-row-identity p{color:#91adbd;font-size:12px}
#warehouse-page .warehouse-badge{background:#132e43;border:1px solid #33556d;border-radius:6px}
#warehouse-page .warehouse-row-stock strong{font-variant-numeric:tabular-nums;color:#daf2ff}
#warehouse-page .state-negative,#warehouse-page .state-empty{color:#ff9eaa}
#warehouse-page .state-low{color:#edc8a2}
#warehouse-page .state-available{color:#8cc9b8}
#warehouse-page .warehouse-row-actions{gap:7px}
/* Operations */
#operations-page .operation-tabs{background:#0d1b29;border:1px solid #30485c;border-radius:9px;padding:8px;gap:7px;overflow-x:auto;margin:16px 0 18px}
#operations-page .operation-tabs button{background:#111f2d;border:1px solid transparent;color:#a8becc;border-radius:7px;white-space:nowrap}
#operations-page .operation-tabs button[aria-pressed=true]{background:#1c4056;border-color:#6fa9c6;color:#effaff;box-shadow:inset 0 -2px #a2e1f9}
#operations-page .operation-list{gap:10px}
#operations-page .operation-card{background:#0e1c2a;border:1px solid #2e475a;border-radius:10px;padding:19px}
#operations-page .operation-card:hover{border-color:#53768a}
#operations-page .operation-card h3{font-size:16px;color:#edf6fd}
#operations-page .operation-card>p{font-size:12px;color:#98b1c1}
#operations-page .operation-card .operation-composition{background:#0a1825;border:1px solid #2a4254;border-radius:7px;padding:11px}
#operations-page .operation-actions{flex-wrap:wrap;gap:7px}
#operations-page .operation-add{background:#173d54;border-color:#689eb9;color:#eaf6ff}
/* Customers */
#customers-page .customers-tools{background:#0d1b29;border:1px solid #2d4658;border-radius:10px;padding:16px;gap:10px}
#customers-page .customers-tools label{font:650 11px Consolas,monospace;color:#9cb7c8}
#customers-page .customers-tools .field{background:#0a1925;border-color:#364e61;border-radius:7px}
#customers-page .customers-list-head{border-bottom:1px solid #2b4456;padding:0 0 14px;margin:19px 0 14px}
#customers-page .customers-grid{gap:11px}
#customers-page .customer-card{background:linear-gradient(135deg,#122535,#0b1825);border:1px solid #2f4758;border-radius:10px;padding:19px;gap:13px;box-shadow:none;transition:border-color .16s,background .16s}
#customers-page .customer-card:hover{background:#152b3c;border-color:#5a8298;box-shadow:none}
#customers-page .customer-avatar{border-radius:8px}
#customers-page .customer-name{color:#eff8ff;font-size:17px;font-weight:680}
#customers-page .customer-phone{color:#bddbea}
#customers-page .customer-stats{border-top:1px solid #2f495a;padding-top:13px}
#customers-page .customer-stats small{color:#94b2c2}
#customers-page .customer-stats strong{color:#e4f6ff;font-variant-numeric:tabular-nums}
#customers-page .customers-pager{padding:15px 0;gap:10px}
#customers-page .customer-empty{background:#0d1d2a;border:1px dashed #3b5a71;border-radius:9px;padding:35px}
#customers-page .customers-dialog{background:#0b1825;border:1px solid #45687d;border-radius:13px}
#customers-page .customer-detail-stat{background:#122a3b;border:1px solid #314d62;border-radius:8px}
#customers-page .customer-section{border-top:1px solid #2d4457}
/* Catalog, bot */
#bot-menu-page .bot-policy{background:#0d1e2b;border:1px solid #355064;border-radius:10px;padding:19px}
#bot-menu-page .bot-policy p{color:#9eb8c7}
#bot-menu-page .bot-menu-grid,#products-page .bot-menu-grid{gap:12px;grid-template-columns:repeat(auto-fill,minmax(min(245px,100%),1fr))}
#bot-menu-page .bot-product,#products-page .bot-product{background:linear-gradient(160deg,#112333,#0c1926);border:1px solid #304759;border-radius:10px;padding:16px;gap:10px}
#bot-menu-page .bot-product:hover,#products-page .bot-product:hover{border-color:#5c8199}
#bot-menu-page .bot-product img,#products-page .bot-product img{border-radius:7px;aspect-ratio:4/3;object-fit:cover;background:#0c1621;border:1px solid #283e51}
#bot-menu-page .bot-product h3,#products-page .bot-product h3{color:#edf6fd;font-size:17px;font-weight:670}
#bot-menu-page .bot-product p,#products-page .bot-product p{color:#9fb7c9}
#bot-menu-page .bot-price{color:#b6e8ff;font-size:18px;font-weight:750}
#bot-menu-page .bot-status{color:#9cb8c9}
#products-page .product-categories{gap:7px}
#products-page .product-categories button{border:1px solid #304a60;background:#112333;border-radius:7px}
#products-page .product-categories button[aria-pressed=true]{background:#1c465f;border-color:#82bbd8;color:#effaff}
#products-page .product-toolbar{gap:8px}
#products-page .product-editor{background:#0b1723;border:1px solid #3f6078;border-radius:13px;box-shadow:0 32px 110px #000c}
#products-page .product-photo-panel{background:#0e2131;border:1px solid #2d4c62;border-radius:9px;padding:13px}
#products-page .product-photo-preview{border-radius:8px;background:#101d2a;border-color:#3b5a70}
#products-page .product-editor header,#products-page .product-editor footer{background:#101f2d;border-color:#2a4557}
/* Integrations, security */
#yandex-page .grid{gap:13px}
#yandex-page .item{padding:19px;background:#0e1e2b;border:1px solid #2d4658;border-radius:9px}
#yandex-page .item label{color:#9eb8c9}
#yandex-page .menu-builder{border-top-color:#2d4657;padding-top:28px}
#yandex-page .menu-row{background:#0e1e2d;border:1px solid #2d475b;border-radius:9px;padding:16px}
#yandex-page .menu-row:hover{border-color:#577b94}
#yandex-page .menu-row-title{color:#eff8ff}
#yandex-page .menu-row-meta{color:#9aafc0}
#yandex-page .menu-add{background:#0e1d2a;border:1px dashed #44637b;border-radius:9px}
#security-page{background:linear-gradient(145deg,#101f2c,#0b1722);border:1px solid #304b5f;border-radius:11px;padding:clamp(20px,3vw,32px)!important}
#security-page h2{font-size:27px;font-weight:680;letter-spacing:-.045em}
#security-page .password-grid{gap:14px}
#security-page .password-grid input{background:#091724}
#remote-qr-dialog,#operations-page .operations-dialog,#products-page .product-editor{color:#ebf5fd}
@media(max-width:1050px){#warehouse-page .warehouse-row{grid-template-columns:1fr 150px}#warehouse-page .warehouse-row-actions{grid-column:1/-1}#analytics-page .analytics-grid{grid-template-columns:1fr}}
@media(max-width:620px){#analytics-page .analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#customers-page .customers-grid{grid-template-columns:1fr}#warehouse-page .warehouse-toolbar{grid-template-columns:1fr}#warehouse-page .warehouse-row{display:block}#warehouse-page .warehouse-row-stock{margin:11px 0}#warehouse-page .warehouse-row-actions{margin-top:12px}#analytics-page .analytics-filters{padding:13px}#operations-page .operation-tabs{padding:6px}#schedule-page .schedule-tools{padding:10px}#security-page .password-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.warehouse-row,.customer-card{transition:none}}
