body:has(.admin-shell){background:#f6f7f9;padding-bottom:0}.admin-shell{grid-template-columns:235px minmax(0,1fr);min-height:100vh;font-size:13px;display:grid}.admin-sidebar{z-index:30;background:#fff;border-right:1px solid #e5e8ec;flex-direction:column;height:100vh;padding:29px 16px 18px;display:flex;position:sticky;top:0}.sidebar-brand{padding:0 11px 28px}.sidebar-brand .logo{gap:9px}.sidebar-brand .logo strong{font-size:23px}.sidebar-brand .brand-mark{width:25px}.sidebar-brand .brand-mark i{width:24px;height:7px}.sidebar-brand .brand-mark i:nth-child(2){width:30px}.sidebar-brand .logo small{display:none}.sidebar-brand>small{letter-spacing:1.1px;color:#9aa0a8;margin-top:14px;font-size:8px;display:block}.admin-sidebar nav,.admin-drawer nav{flex-direction:column;gap:5px;display:flex}.admin-sidebar nav a,.admin-drawer nav a{color:#737b85;border-radius:6px;align-items:center;gap:12px;min-height:46px;padding:13px 15px;font-size:13px;display:flex}.admin-sidebar nav a:hover,.admin-drawer nav a:hover{color:#373e46;background:#f6f7f9}.admin-sidebar nav a[aria-current=page],.admin-drawer nav a[aria-current=page]{color:#e45c0d;background:#fff0e6;font-weight:700}.view-store{color:#888f97;justify-content:space-between;align-items:center;margin:28px 15px 20px;font-size:12px;display:flex}.view-store:hover{color:var(--orange)}.sidebar-user{border-top:1px solid #e9ecf0;align-items:center;gap:10px;margin-top:auto;padding:20px 0 0;display:flex}.avatar{color:#666f78;background:#f0f2f4;border-radius:50%;place-items:center;width:32px;height:32px;font-size:12px;font-weight:700;display:grid}.sidebar-user strong{font-size:11px}.sidebar-user small{color:#9199a2;margin-top:4px;font-size:8px;display:block}.sidebar-user .icon-button{color:#929aa4;width:30px;margin-left:auto}.demo-logout{color:#8b7a69;margin:10px 0 0;font-size:10px;line-height:1.5}.admin-workspace{min-width:0}.admin-header{background:#fff;border-bottom:1px solid #e5e8ec;justify-content:space-between;align-items:center;gap:20px;height:77px;padding:0 35px;display:flex}.admin-header>div{align-items:center;gap:12px;display:flex}.admin-breadcrumb{color:#9299a1;align-items:center;gap:13px;font-size:11px;display:flex}.admin-breadcrumb strong{color:#4b535d;font-weight:500}.admin-breadcrumb>span{color:#c3c9cf}.demo-pill{color:#a47237;white-space:nowrap;background:#fff9f1;border:1px solid #f5d9bc;border-radius:5px;align-items:center;gap:5px;padding:6px 9px;font-size:10px;display:flex}.demo-pill>span{background:#d69a4b;border-radius:50%;width:5px;height:5px}.admin-menu{display:none}.admin-main{max-width:1700px;margin:auto;padding:24px 35px 40px}.admin-demo-notice{color:#9aa0a8;margin-bottom:26px;font-size:10px;line-height:1.5}.admin-page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.admin-page-heading h1{letter-spacing:-.8px;margin:0;font-size:28px;font-weight:750;line-height:1.2}.admin-page-heading h1>span{color:#858d96;vertical-align:middle;letter-spacing:0;background:#e9ecf0;border-radius:5px;margin-left:6px;padding:4px 7px;font-size:13px}.admin-page-heading p{color:#9198a1;margin:9px 0 0;font-size:12px;line-height:1.6}.admin-page-heading .eyebrow{letter-spacing:1.4px;color:#9ca2aa;margin-bottom:10px;font-size:8px}.admin-page-heading .button{white-space:nowrap;min-height:41px;padding:11px 15px;font-size:11px}.admin-page-heading .outline{color:#636d78;background:#fff;border-color:#d8dde2}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px;display:grid}.stat-card{background:#fff;border:1px solid #e4e7eb;border-radius:9px;padding:21px}.stat-card>div{color:#737d87;justify-content:space-between;align-items:center;gap:10px;font-size:11px;display:flex}.stat-icon{color:#e77d38;background:#fff3eb;border-radius:7px;place-items:center;width:33px;height:33px;display:grid}.stat-icon svg{stroke-width:1.6px;width:18px}.stat-card>strong{letter-spacing:-1px;margin:10px 0 9px;font-size:32px;font-weight:700;display:block}.stat-card>small{color:#9aa1a9;font-size:9px;line-height:1.5;display:block}.admin-panel{background:#fff;border:1px solid #e4e7eb;border-radius:10px;min-width:0;margin-bottom:24px;overflow:hidden}.panel-heading{justify-content:space-between;align-items:center;gap:12px;padding:22px;display:flex}.panel-heading h2{letter-spacing:-.3px;font-size:16px}.panel-heading>a{color:#ed742d;align-items:center;gap:5px;font-size:10px;display:flex}.panel-heading>svg{color:#ed742d}.subtle-label{color:#9aa1a9;font-size:9px}.data-table-wrap{background:#fff;border:1px solid #e4e7eb;border-radius:9px;min-width:0;overflow:hidden}.admin-panel>.data-table-wrap,.form-section>.data-table-wrap{border:0;border-radius:0}.data-table{border-collapse:collapse;table-layout:auto;text-align:left;width:100%;font-size:11px}.data-table th{color:#939ca6;white-space:nowrap;background:#fbfcfd;border-bottom:1px solid #eaedf1;padding:13px 17px;font-size:10px;font-weight:500}.data-table td{vertical-align:middle;color:#636c76;overflow-wrap:anywhere;border-bottom:1px solid #eef0f3;padding:17px}.data-table td strong{color:#414a54;font-weight:600}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fdfdfe}.data-table td small{color:#9ba3ac;margin-top:5px;font-size:9px;line-height:1.5;display:block}.data-table td code{font-size:10px}.table-product{align-items:center;gap:10px;min-width:150px;display:flex}.table-product img{object-fit:contain;background:#f8f9fa;border-radius:5px;flex-shrink:0}.table-product>div{max-width:220px}.table-title{color:#424b56;font-weight:600;line-height:1.4;display:block}.table-title:hover{color:var(--orange)}.order-link{color:#e07838;white-space:nowrap;align-items:center;gap:3px;font-size:11px;font-weight:600;display:inline-flex}.dashboard-bottom{grid-template-columns:1fr 1fr;gap:22px;display:grid}.dashboard-product{border-top:1px solid #eef0f3;align-items:center;gap:12px;padding:14px 22px;display:flex}.dashboard-product img{object-fit:contain;background:#fafbfc;border-radius:5px;flex-shrink:0}.dashboard-product>span{flex:1;min-width:0}.dashboard-product strong{font-size:11px;font-weight:600;line-height:1.5;display:block}.dashboard-product small{color:#9aa2ac;margin-top:4px;font-size:9px;display:block}.dashboard-product>b{white-space:nowrap;font-size:11px;font-weight:600}.stock-low{font-weight:600;color:#d87530!important}.admin-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;display:flex}.admin-search{color:#a4acb5;background:#fff;border:1px solid #dfe3e8;border-radius:6px;flex:1;align-items:center;gap:9px;min-width:220px;max-width:380px;height:42px;padding:0 12px;display:flex}.admin-search input{outline-offset:0;background:0 0;border:0;width:100%;min-width:0;height:100%;font-size:11px}.filter-select select{color:#747f8a;background:#fff;border:1px solid #dfe3e8;border-radius:6px;max-width:210px;min-height:42px;padding:9px 32px 9px 12px;font-size:11px}.toolbar-count{color:#a0a8b1;margin-left:auto;font-size:10px}.row-actions{flex-wrap:wrap;align-items:center;gap:0;display:flex}.row-actions .icon-button{color:#929ca6;flex-shrink:0;width:31px;height:34px}.row-actions .icon-button:hover{color:#e66d24;background:#fff2e9}.row-actions .delete-action:hover{color:#c14141;background:#fceeee}.data-table .row-actions{min-width:110px}.editor-grid{grid-template-columns:minmax(0,1fr) 300px;gap:24px;display:grid}.editor-grid>div,.editor-grid>aside{min-width:0}.editor-bottom{border-top:1px solid #e1e5e9;justify-content:flex-end;gap:12px;padding-top:22px;display:flex}.editor-bottom .button{font-size:12px}.order-detail-grid{grid-template-columns:minmax(0,1fr) 290px;gap:24px;display:grid}.order-total{justify-content:flex-end;align-items:center;gap:35px;margin-top:25px;font-size:13px;display:flex}.order-total strong{font-size:22px}.detail-list{flex-direction:column;gap:18px;margin:0;display:flex}.detail-list dt{color:#969ea7;margin-bottom:6px;font-size:10px}.detail-list dd{overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.6}.customer-avatar{color:#d57335;background:#fff0e6;border-radius:50%;place-items:center;width:40px;height:40px;margin-bottom:10px;font-size:16px;display:grid}.customer-name{margin-bottom:22px;font-size:14px}.text-button{color:#d97536;text-align:left;background:0 0;min-height:30px;padding:0;font-size:12px}.text-button:hover{text-decoration:underline}.customer-detail{margin-bottom:25px}.customer-detail>.panel-heading{padding:5px 0 20px}.customer-detail-grid{grid-template-columns:1fr 1fr;gap:22px;display:grid}.customer-order{border-bottom:1px solid #eef0f3;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;font-size:11px;display:flex}.customer-order strong{color:#d97536}.settings-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;display:grid}.settings-user{align-items:center;gap:12px;display:flex}.settings-user>svg{color:#dd7a3a;background:#fff1e7;border-radius:50%;width:35px;height:35px;padding:8px}.settings-user strong{font-size:12px}.settings-user small{color:#989fa8;margin-top:5px;font-size:10px;display:block}.admin-drawer{width:285px;max-width:88vw;height:100dvh;max-height:none;color:var(--ink);background:#fff;border:0;border-right:1px solid #e5e8ec;margin:0;padding:30px 18px 20px;position:fixed;inset:0 auto 0 0}.admin-drawer[open]{flex-direction:column;display:flex}.drawer-close{position:absolute;top:9px;right:7px}.admin-drawer .sidebar-brand{padding-top:24px}.admin-main .empty-state{background:#fff;border:1px solid #e4e7eb}.admin-main .form-section:last-child{margin-bottom:22px}@media (max-width:1250px){.admin-shell{grid-template-columns:210px minmax(0,1fr)}.admin-main{padding:22px}.admin-header{padding-inline:22px}.admin-sidebar{padding-inline:12px}.sidebar-brand .logo strong{font-size:21px}.sidebar-brand{padding-inline:7px}.data-table th,.data-table td{padding:13px 11px}.stats-grid{gap:12px}.stat-card{padding:16px}.stat-card>small{font-size:8px}.editor-grid,.order-detail-grid{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.form-section{padding:20px}.table-product{gap:7px;min-width:120px}.table-product>div{max-width:170px}.table-product img{width:38px;height:38px}.row-actions .icon-button{width:28px}.data-table .row-actions{min-width:65px}.form-grid{gap:0 15px}}@media (max-width:1024px){.admin-shell{grid-template-columns:minmax(0,1fr)}.admin-sidebar{display:none}.admin-menu{display:flex}.admin-header{z-index:25;height:65px;position:sticky;top:0}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.data-table{font-size:10px}.data-table td{padding:13px 9px}.editor-grid{grid-template-columns:minmax(0,1fr) 260px}.admin-main{padding:22px 24px}.data-table .row-actions{min-width:85px}.row-actions .icon-button{width:29px}.admin-page-heading h1{font-size:26px}}@media (max-width:767px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-bottom{grid-template-columns:1fr;gap:0}.editor-grid,.order-detail-grid,.customer-detail-grid,.settings-grid{grid-template-columns:1fr}.editor-grid,.order-detail-grid,.settings-grid{gap:0}.data-table .row-actions{min-width:0}.data-table,.data-table tbody,.data-table tr,.data-table td{width:100%;display:block}.data-table thead{display:none}.data-table tr{background:#fff;border-bottom:1px solid #e6eaee;padding:16px}.data-table tr:last-child{border:0}.data-table td{text-align:right;border:0;justify-content:space-between;align-items:flex-start;gap:15px;padding:7px 0;font-size:11px;display:flex}.data-table td:before{content:attr(data-label);color:#929ba5;text-align:left;flex-shrink:0;min-width:68px;padding-top:2px;font-size:10px}.data-table td small{font-size:10px}.data-table td[data-label=Товар],.data-table td[data-label=Клиент]{text-align:left}.data-table td[data-label=Товар]:before{display:none}.data-table .table-product{gap:11px;width:100%}.table-product>div{max-width:none}.table-product img{width:48px;height:48px}.table-title{font-size:12px}.data-table .row-actions{justify-content:flex-end}.data-table td:has(>small){flex-wrap:wrap;column-gap:10px}.data-table td>small{width:100%;margin-top:0;padding-left:80px}.row-actions .icon-button{width:40px;height:40px}.data-table td[data-label=Действия]{border-top:1px solid #eef0f3;align-items:center;margin-top:8px;padding-top:9px}.data-table td[data-label=Порядок]{align-items:center}.admin-page-heading{align-items:flex-start}.admin-page-heading .button{white-space:normal}.admin-demo-notice{margin-bottom:22px}.admin-header{padding-inline:18px}.admin-main{padding:20px 18px 30px}.admin-breadcrumb{gap:7px;font-size:10px}.admin-toolbar{gap:10px}.admin-search{min-width:100%;max-width:none;height:44px}.filter-select{flex:1}.filter-select select{width:100%;max-width:none;height:44px}.toolbar-count{margin:0;font-size:10px}.stat-card{padding:16px}.stat-card>div{font-size:11px}.stat-card>strong{font-size:30px}.stat-card>small{font-size:9px}.admin-panel{margin-bottom:19px}.panel-heading{padding:19px 17px}.panel-heading h2{font-size:16px}.admin-page-heading h1{font-size:25px}.admin-page-heading p{font-size:11px}.order-detail-grid>.form-section{padding:18px}.order-total{justify-content:space-between;gap:15px}.order-total strong{font-size:20px}.form-section .data-table tr{padding-inline:0}.form-section .data-table-wrap{overflow:visible}.settings-form .admin-page-heading{flex-wrap:wrap}.admin-drawer .icon-button{min-width:40px;min-height:40px}.admin-drawer .sidebar-user{margin-top:auto}.customer-order{font-size:10px}}@media (max-width:430px){.admin-page-heading{flex-wrap:wrap;gap:16px}.admin-page-heading .button{min-height:44px}.admin-page-heading h1{font-size:25px}.admin-main{padding-inline:16px}.admin-breadcrumb{gap:5px;font-size:9px}.admin-header{gap:8px;padding-inline:12px}.admin-header>div{gap:5px}.demo-pill{padding:6px;font-size:9px}.stat-card{padding:14px}.stat-icon{width:28px;height:28px}.stat-card>div{font-size:10px}.dashboard-product{gap:8px;padding:13px 16px}.dashboard-product>b{font-size:10px}.dashboard-product strong{font-size:11px}.form-section{padding:18px}.stats-grid{gap:10px}}.admin-demo-notice,.stat-card>small,.data-table th,.data-table td small,.form-hint,.subtle-label,.admin-page-heading p{color:#707b88}.admin-demo-notice,.data-table th{font-size:11px}.admin-page-heading p{font-size:12px}@media (max-width:767px){.row-actions .icon-button{width:44px;height:44px}.order-link,.table-title,.text-button{align-items:center;min-height:44px;display:inline-flex}.table-title{font-size:13px}.data-table td{font-size:12px}.data-table td:before{color:#77818d;font-size:11px}.admin-demo-notice{font-size:10px}.panel-heading>a{min-height:44px}.admin-menu{width:44px;height:44px}}
