/* SadCRM V10 live storefront control. Keeps XSIZE visual language, no salon UI. */
.sadlive-wrap{display:flex;flex-direction:column;gap:14px}.sadlive-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.sadlive-head h2{margin:0 0 4px}.sadlive-head p{margin:0;color:#7a8191}.sadlive-actions{display:flex;gap:8px;flex-wrap:wrap}.sadlive-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid #e7e9ef;padding-bottom:9px}.sadlive-tab{border:0;background:#f4f5f8;color:#4f5665;padding:8px 12px;border-radius:9px;cursor:pointer;font-weight:700}.sadlive-tab.active{background:#6557e8;color:#fff}.sadlive-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px}.sadlive-kpi{background:#fff;border:1px solid #e7e9ef;border-radius:13px;padding:14px;box-shadow:0 1px 2px rgba(16,24,40,.03)}.sadlive-kpi small{display:block;color:#7b8190;margin-bottom:5px}.sadlive-kpi strong{font-size:25px}.sadlive-panel{background:#fff;border:1px solid #e7e9ef;border-radius:14px;padding:14px}.sadlive-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:12px}.sadlive-toolbar input,.sadlive-toolbar select{min-height:38px;border:1px solid #d7dbe5;border-radius:9px;padding:7px 10px;background:#fff}.sadlive-toolbar input[type=search]{min-width:280px;flex:1}.sadlive-table-wrap{overflow:auto;max-width:100%}.sadlive-table{width:100%;border-collapse:collapse;font-size:13px}.sadlive-table th{position:sticky;top:0;background:#f7f8fb;text-align:left;color:#697181;font-size:11px;text-transform:uppercase;letter-spacing:.03em;padding:9px;border-bottom:1px solid #e7e9ef;white-space:nowrap}.sadlive-table td{padding:9px;border-bottom:1px solid #eef0f4;vertical-align:top}.sadlive-table tr:hover td{background:#fafaff}.sadlive-table .clickable{cursor:pointer}.sadlive-muted{color:#858b99;font-size:12px}.sadlive-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:#f0f2f7;font-size:11px;font-weight:800}.sadlive-status.paid,.sadlive-status.packing,.sadlive-status.ready_to_ship{background:#e8f8ee;color:#15794b}.sadlive-status.new,.sadlive-status.payment_pending{background:#fff4da;color:#9a6500}.sadlive-status.shipped,.sadlive-status.pickup_ready{background:#e8f4ff;color:#1769aa}.sadlive-status.cancelled,.sadlive-status.expired,.sadlive-status.refund_pending{background:#fff0f0;color:#b42318}.sadlive-status.delivered{background:#e7f8e9;color:#137c3e}.sadlive-drawer{position:fixed;top:0;right:0;height:100vh;width:min(760px,96vw);background:#fff;z-index:12000;box-shadow:-18px 0 50px rgba(16,24,40,.18);display:flex;flex-direction:column}.sadlive-drawer.hidden{display:none}.sadlive-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #e7e9ef}.sadlive-drawer-body{padding:18px;overflow:auto;display:flex;flex-direction:column;gap:14px}.sadlive-close{border:0;background:#f1f2f6;border-radius:9px;width:36px;height:36px;font-size:20px;cursor:pointer}.sadlive-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.sadlive-form .wide{grid-column:1/-1}.sadlive-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#687082;font-weight:700}.sadlive-form input,.sadlive-form select,.sadlive-form textarea{border:1px solid #d6dae4;border-radius:9px;padding:9px;font:inherit;color:#242936;background:#fff}.sadlive-check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important}.sadlive-check input{width:auto}.sadlive-variant{border:1px solid #e7e9ef;border-radius:11px;padding:12px;margin-top:9px}.sadlive-variant h4{margin:0 0 8px}.sadlive-images{display:flex;gap:8px;flex-wrap:wrap}.sadlive-image{width:98px;border:1px solid #e1e4ea;border-radius:9px;padding:5px;position:relative}.sadlive-image img{width:100%;height:80px;object-fit:contain;border-radius:6px;background:#f8f8fa}.sadlive-image button{position:absolute;top:3px;right:3px;border:0;border-radius:999px;background:#fff;color:#b42318;cursor:pointer}.sadlive-order-items{display:grid;gap:7px}.sadlive-order-item{display:flex;justify-content:space-between;gap:12px;padding:8px;border:1px solid #eceef3;border-radius:9px}.sadlive-event{padding:8px 0;border-bottom:1px solid #eef0f4}.sadlive-event:last-child{border-bottom:0}.sadlive-site-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;background:#eef1f7;color:#667085;font-size:11px;font-weight:800;margin-left:8px;white-space:nowrap}.sadlive-site-badge.ok{background:#e8f8ee;color:#168044}.sadlive-site-badge.bad{background:#fff0f0;color:#b42318}.sadlive-notice{padding:10px 12px;border-radius:9px;background:#eef5ff;color:#2559a7;margin:8px 0}.sadlive-error{padding:10px 12px;border-radius:9px;background:#fff0f0;color:#b42318}.sadlive-success{padding:10px 12px;border-radius:9px;background:#e9f8ef;color:#15794b}.sadlive-empty{padding:24px;text-align:center;color:#858b99}.sadlive-legacy-off{display:inline-flex;align-items:center;gap:6px;font-size:12px;background:#effaf3;color:#16784a;border-radius:999px;padding:5px 9px}.sadlive-separator{height:1px;background:#eceef3;margin:8px 0}.sadlive-import-row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid #eef0f4}.sadlive-import-row:last-child{border-bottom:0}.sadlive-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;background:#f7f8fb;padding:2px 5px;border-radius:5px}
@media(max-width:1100px){.sadlive-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:720px){.sadlive-grid{grid-template-columns:1fr}.sadlive-form{grid-template-columns:1fr}.sadlive-form .wide{grid-column:auto}.sadlive-toolbar input[type=search]{min-width:100%}.sadlive-drawer{width:100vw}.sadlive-site-badge{display:none}}
/* V10.2 parity with the established Django catalog control */
.sadlive-store-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.sadlive-store-section-title h3{margin:0 0 3px}.sadlive-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px;margin:12px 0}.sadlive-filter-grid label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#5e6676}.sadlive-filter-grid input,.sadlive-filter-grid select{min-height:40px;border:1px solid #d7dbe5;border-radius:9px;padding:8px 10px;background:#fff}.sadlive-columns{position:relative}.sadlive-columns>summary{list-style:none;cursor:pointer}.sadlive-columns>summary::-webkit-details-marker{display:none}.sadlive-columns-menu{position:absolute;right:0;top:44px;z-index:30;min-width:220px;background:#fff;border:1px solid #dfe3eb;border-radius:10px;box-shadow:0 12px 30px rgba(16,24,40,.14);padding:10px;display:grid;gap:6px}.sadlive-columns-menu label{font-size:12px;display:flex;gap:7px;align-items:center}.sadlive-product-thumb{width:46px;height:58px;object-fit:contain;border:1px solid #e2e5eb;border-radius:8px;background:#fff}.sadlive-no-photo{display:inline-flex;width:46px;height:58px;align-items:center;justify-content:center;text-align:center;font-size:9px;color:#8a91a0;border:1px dashed #d8dce5;border-radius:8px}.sadlive-products-table td{min-width:80px}.sadlive-products-table td[data-col=product]{min-width:260px}.sadlive-products-table td[data-col=articles]{min-width:210px}.sadlive-products-table td[data-col=photo]{min-width:60px}
@media(max-width:1050px){.sadlive-filter-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}}@media(max-width:640px){.sadlive-filter-grid{grid-template-columns:1fr}.sadlive-columns-menu{right:auto;left:0}}
