:root{--sidebar-width:252px;--brand:#087f8c;--ink:#182230;--muted:#667085;--line:#e6eaf0;--surface:#fff;--canvas:#f5f7fa}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);display:flex;flex-direction:column;padding:20px 14px;background:#fff;border-right:1px solid var(--line);z-index:1040}.brand{display:flex;align-items:center;gap:10px;padding:4px 9px 26px;color:#17212f;font-weight:750;font-size:18px;text-decoration:none}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--brand);color:#fff;font-size:12px}.brand-light{color:var(--brand)}.sidebar-caption{padding:0 11px 10px;color:#98a2b3;font-size:10px;font-weight:700;letter-spacing:.1em}.sidebar .nav{gap:4px}.sidebar .nav-link{display:flex;align-items:center;gap:12px;padding:10px 11px;color:#475467;border-radius:8px;font-weight:550;text-decoration:none}.sidebar .nav-link i{width:18px;font-size:16px;color:#667085}.sidebar .nav-link:hover{background:#f2f7f8;color:var(--brand)}.sidebar .nav-link.active{background:#e8f5f5;color:#06717a;font-weight:650}.sidebar .nav-link.active i{color:#06717a}.sidebar-bottom{margin-top:auto;padding-top:12px;border-top:1px solid var(--line)}.main-area{min-height:100vh;margin-left:var(--sidebar-width)}.topbar{height:64px;display:flex;align-items:center;gap:12px;padding:0 28px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1020}.topbar-title{font-weight:650;font-size:16px}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e8f5f5;color:var(--brand);font-weight:700}.page-content{max-width:1600px;margin:auto;padding:26px 28px}.metric-card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 2px #10182808}.metric-card{padding:18px}.metric-label{color:var(--muted);font-size:12px}.metric-value{font-size:25px;font-weight:700;letter-spacing:-.03em}.metric-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#e8f5f5;color:var(--brand);font-size:17px}.panel{overflow:hidden}.panel-heading{padding:16px 18px;border-bottom:1px solid var(--line);font-weight:650}.table{margin:0}.table thead th{padding:11px 14px;background:#f8fafc;color:#667085;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.table tbody td{padding:12px 14px;vertical-align:middle}.status-pill{display:inline-flex;padding:4px 9px;border-radius:99px;background:#eff8ff;color:#175cd3;font-size:11px;font-weight:600}.empty-state{padding:48px 18px;color:var(--muted);text-align:center}.search-box{max-width:360px}.channel-card{height:100%;padding:18px;background:white;border:1px solid var(--line);border-radius:12px}.channel-logo{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f2f4f7;font-size:18px}
.sidebar .nav-parent{width:100%;border:0;background:transparent;text-align:left;font:inherit}.sidebar .nav-parent.active{background:#e8f5f5;color:#06717a}.sidebar .nav-parent.active i{color:#06717a}.nav-chevron{transition:transform .18s ease;font-size:11px!important}.nav-parent[aria-expanded="true"] .nav-chevron{transform:rotate(180deg)}.submenu{gap:2px!important;margin:3px 0 6px 29px;padding-left:12px;border-left:1px solid var(--line)}.sidebar .submenu .nav-link{padding:8px 10px;font-size:13px;font-weight:500}.sidebar .submenu .nav-link.active{background:#eef8f8;color:#06717a;font-weight:650}
.order-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:#fff;border:1px solid #e6eaf0;border-radius:10px;overflow:hidden}.summary-item{min-height:94px;padding:14px 16px;border-right:1px solid #edf0f4;display:flex;flex-direction:column;gap:3px}.summary-item>span{color:#344054;font-size:12px}.summary-item strong{font-size:20px;font-weight:700}.summary-item small{color:#667085;font-size:11px}.summary-item small i{color:#e5484d}.summary-highlight{margin:7px;background:#f5f6f8;border:0;border-radius:6px}.summary-footer{grid-column:1/-1;padding:10px 16px;border-top:1px solid #e6eaf0;color:#475467;font-size:12px}.order-workspace{background:#fff;border-radius:10px;border:1px solid #e9edf2;overflow:hidden}.order-tabs{display:flex;align-items:center;gap:22px;padding:0 16px;min-height:44px;border-bottom:1px solid #d0d5dd;overflow-x:auto;white-space:nowrap}.order-tabs a,.order-tabs button{display:inline-flex;align-items:center;gap:4px;height:44px;border:0;border-bottom:2px solid transparent;padding:0;background:transparent;color:#111827;text-decoration:none;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.order-tabs a.active,.order-tabs button.active{border-bottom-color:#079b96;color:#111827}.order-tabs a span,.order-tabs button span{color:#98a2b3}.order-tabs a.active span,.order-tabs button.active span{color:#079b96}.order-filter-form{padding:12px 16px 10px;border-bottom:1px solid #edf0f4}.filter-main-row,.filter-chip-group,.filter-actions,.delivery-filter-row{display:flex;align-items:center;gap:8px}.filter-main-row{justify-content:space-between;flex-wrap:wrap}.filter-chip-group{flex:1;min-width:500px;flex-wrap:wrap}.search-filter{height:34px;width:240px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #d0d5dd;border-radius:5px;color:#667085}.search-filter input{width:100%;min-width:0;border:0;outline:0;font-size:12px}.filter-select{width:180px;height:34px;padding-top:4px;padding-bottom:4px;font-size:12px}.date-filter{width:142px;height:34px;font-size:12px}.date-separator{font-size:11px;color:#667085}.filter-actions{flex-wrap:wrap}.filter-actions .btn{height:34px;white-space:nowrap}.delivery-filter-row{margin-top:10px;flex-wrap:wrap;font-size:12px}.delivery-choice{border:1px solid #d0d5dd;color:#475467;background:#fff}.delivery-choice.active,.delivery-choice:hover{border-color:#079b96;color:#07817c;background:#f0fbfa}.orders-table-wrap{overflow-x:auto}.orders-table{min-width:1170px}.orders-table thead th{height:39px;padding:9px 10px;background:#f8f8f9;color:#667085;font-size:11px;text-transform:none;letter-spacing:0}.orders-table tbody td{height:80px;padding:12px 10px;border-color:#e9edf2;font-size:12px}.orders-table tbody tr:hover{background:#fbfcfd}.orders-table .check-column{width:38px}.orders-table input[type=checkbox]{width:16px;height:16px;accent-color:#079b96}.order-code{color:#111827;font-weight:650;text-decoration:none}.order-code:hover{color:#079b96;text-decoration:underline}.order-date,.orders-table td small{color:#667085;font-size:11px}.channel-tag{display:table;margin-top:4px;padding:1px 7px;border-radius:99px;background:#f2f4f7;color:#667085;font-size:10px}.customer-name{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.product-preview{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:0;border:0;background:none;text-align:left}.product-count{color:#111827;font-weight:600}.product-thumbnails{display:flex;align-items:center;padding-left:2px}.product-thumbnails img,.product-placeholder,.product-more{width:25px;height:25px;margin-left:-2px;border:1px solid #e4e7ec;border-radius:4px;object-fit:cover;background:#fff}.product-placeholder,.product-more{display:inline-grid;place-items:center;color:#667085;background:#f2f4f7;font-size:10px}.shipping-alert{display:table;margin-top:5px;padding:4px 6px;border-radius:4px;background:#fff0ed;color:#d92d20;font-size:10px}.order-status-success{color:#067647}.order-status-danger{color:#b42318}.order-status-info{color:#175cd3}.order-status-neutral{color:#344054}.product-modal-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #eaecf0;font-size:12px}.product-modal-row img,.product-modal-row .product-placeholder{width:42px;height:42px;flex:none;object-fit:cover}.orders-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:9px 14px;color:#667085;font-size:12px}.pagination-controls{display:flex;align-items:center;gap:5px}.page-arrow,.page-number{display:grid;place-items:center;min-width:30px;height:30px;border-radius:5px;color:#344054;text-decoration:none}.page-arrow:hover,.page-number:hover{background:#f2f4f7}.page-arrow.disabled{pointer-events:none;opacity:.4}.page-number.active{background:#e9eaec;font-weight:700}.page-size{width:108px;height:30px;font-size:11px}
@media(max-width:1199.98px){.order-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-item:nth-child(3){border-right:0}.summary-item:nth-child(n+4){border-top:1px solid #edf0f4}}
@media(max-width:767.98px){.order-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-item:nth-child(2n){border-right:0}.summary-item:nth-child(n+3){border-top:1px solid #edf0f4}.filter-chip-group{min-width:0}.filter-actions{width:100%}.order-tabs{gap:16px}.orders-pagination{align-items:flex-start}}
@media(max-width:991.98px){.sidebar{transform:translateX(-100%);transition:transform .2s ease;box-shadow:0 12px 30px #10182822}.sidebar.sidebar-open{transform:translateX(0)}.main-area{margin-left:0}.topbar{padding:0 16px}.page-content{padding:18px 16px}}
.order-summary{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch}.summary-item,.summary-highlight{min-height:102px;margin:0;padding:16px 18px;background:#fff;border:0;border-right:1px solid #edf0f4;border-radius:0;justify-content:center}.summary-item:nth-child(6){border-right:0}.summary-item>span{font-size:14px;line-height:1.35}.summary-item strong{font-size:23px}.summary-item small{font-size:12px}.summary-footer{font-size:13px}.order-tabs a{font-size:14px}.order-filter-form{padding-top:14px;padding-bottom:13px}.search-filter input,.filter-select,.filter-actions .btn{font-size:13px}.search-filter{height:38px;width:270px}.filter-select{height:38px;width:190px}.date-range-picker{position:relative;width:250px;flex:none}.date-range-picker>i{position:absolute;left:11px;top:11px;z-index:2;color:#667085}.date-range-picker .form-control{height:38px;padding-left:34px;font-size:13px}.flatpickr-calendar{z-index:1080!important;font-family:inherit;box-shadow:0 8px 24px #10182824;border:1px solid #e4e7ec}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover{background:#087f8c;border-color:#087f8c}.flatpickr-day.inRange{background:#d9f2f0;border-color:#d9f2f0;box-shadow:-5px 0 0 #d9f2f0,5px 0 0 #d9f2f0}.orders-table thead th{font-size:12px}.orders-table tbody td{font-size:14px;line-height:1.4}.order-date,.orders-table td small{font-size:12px}.channel-tag{font-size:11px}.shipping-alert{font-size:11px}.orders-pagination{font-size:13px}.page-size{font-size:12px}
@media(max-width:1199.98px){.order-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-item:nth-child(3){border-right:0}.summary-item:nth-child(n+4){border-top:1px solid #edf0f4}}
@media(max-width:767.98px){.order-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-item:nth-child(2n){border-right:0}.summary-item:nth-child(n+3){border-top:1px solid #edf0f4}.date-range-picker{width:100%}.search-filter{width:100%}.filter-select{width:100%}}
.flatpickr-calendar.open{width:620px!important}.flatpickr-calendar .flatpickr-innerContainer{display:flex;width:100%}.date-range-shortcuts{width:112px;flex:0 0 112px;display:flex;flex-direction:column;gap:0;padding:5px 0;border-right:1px solid #e4e7ec}.date-range-shortcuts button{padding:7px 14px;border:0;background:#fff;color:#667085;text-align:left;font-size:12px;font-weight:600;white-space:nowrap}.date-range-shortcuts button:hover{background:#f2f4f7;color:#344054}.flatpickr-calendar .flatpickr-rContainer{flex:1;min-width:0}.flatpickr-calendar .flatpickr-days{width:100%!important}.flatpickr-calendar .dayContainer{width:50%!important;min-width:0!important;max-width:50%!important;flex:1}.flatpickr-calendar .flatpickr-day{max-width:none;flex-basis:14.2857%}.flatpickr-calendar .flatpickr-months .flatpickr-month{width:50%}.flatpickr-calendar .flatpickr-weekdays,.flatpickr-calendar .flatpickr-weekdaycontainer{width:100%}
@media(max-width:700px){.flatpickr-calendar.open{width:calc(100vw - 24px)!important}.date-range-shortcuts{width:96px;flex-basis:96px}.date-range-shortcuts button{padding:7px 8px;font-size:11px}.flatpickr-calendar .flatpickr-day{font-size:11px}}
.flatpickr-calendar .flatpickr-current-month{font-size:14px;line-height:1.4;font-weight:650}.flatpickr-calendar .flatpickr-year-input-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;opacity:0!important;pointer-events:none!important}.flatpickr-calendar .flatpickr-current-month .numInputWrapper{display:none}
.flatpickr-calendar .date-range-month-trigger,.flatpickr-calendar .date-range-year-trigger{border:0;border-radius:4px;padding:2px 5px;background:transparent;color:#182230;font:inherit;font-weight:650;cursor:pointer}.flatpickr-calendar .date-range-month-trigger:hover,.flatpickr-calendar .date-range-year-trigger:hover{background:#f2f4f7}
.flatpickr-calendar.range-selector-open .flatpickr-innerContainer{visibility:hidden}
.flatpickr-calendar .date-range-selection-panel{position:absolute;z-index:5;inset:36px 0 0;background:#fff;border-top:1px solid #e4e7ec}
.flatpickr-calendar .date-range-selection-heading{height:48px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;text-align:center;border-bottom:1px solid #d0d5dd}
.flatpickr-calendar .date-range-selection-heading strong{font-size:14px;font-weight:650;color:#182230}
.flatpickr-calendar .date-range-selection-heading button{height:100%;border:0;background:#fff;color:#667085;font-size:20px;cursor:pointer}
.flatpickr-calendar .date-range-selection-heading button:hover{background:#f2f4f7;color:#182230}
.flatpickr-calendar .date-range-selection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:42px;gap:4px;padding:8px 10px}
.flatpickr-calendar .date-range-selection-grid button{border:0;border-radius:3px;background:#fff;color:#182230;font:inherit;font-size:14px;cursor:pointer}
.flatpickr-calendar .date-range-selection-grid button:hover,.flatpickr-calendar .date-range-selection-grid button.active{background:#e4e4e4}
.flatpickr-calendar .date-range-selection-grid button.muted{background:#f4f4f4;color:#a7a9ac}
.order-bulk-toolbar{position:fixed;z-index:1050;left:calc(50% + var(--sidebar-width)/2);bottom:22px;transform:translateX(-50%);display:flex;align-items:center;gap:18px;max-width:calc(100vw - var(--sidebar-width) - 32px);padding:10px 14px;background:#fff;border:1px solid #eaecf0;border-radius:10px;box-shadow:0 8px 28px #10182824}.order-bulk-selection{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#344054;font-size:13px}.order-bulk-selection i{color:#079b96}.order-bulk-actions{display:flex;align-items:center;gap:8px}.order-bulk-actions .btn{height:36px;white-space:nowrap;font-size:13px}
@media(max-width:991.98px){.order-bulk-toolbar{left:50%;max-width:calc(100vw - 24px)}}
@media(max-width:575.98px){.order-bulk-toolbar{bottom:12px;width:calc(100vw - 24px);justify-content:space-between;gap:8px;padding:8px}.order-bulk-actions{gap:5px}.order-bulk-actions .btn{height:auto;padding:7px;font-size:11px;white-space:normal}}
.supplier-toast-container{z-index:1090}.supplier-toast-container .toast{min-width:300px;box-shadow:0 8px 24px #1018282b}.supplier-status-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;color:#fff;font-size:12px;font-weight:500}.supplier-status-active{background:#198754}.supplier-status-inactive{background:#6c757d}.panel .table thead th{font-weight:400}.supplier-grid-actions{display:flex;align-items:center;gap:5px}.supplier-grid-action.btn{width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border-radius:5px;line-height:1!important;font-size:12px!important}.supplier-grid-action i{font-size:12px;line-height:1}
.dashboard-summary-card{height:100%;min-height:158px;display:flex;flex-direction:column}.dashboard-summary-card .metric-value{margin-top:14px!important;margin-bottom:4px}.dashboard-chart-panel .panel-heading{font-size:14px}.dashboard-chart-panel canvas{display:block;width:100%;height:230px}
.product-editor-header{position:sticky;top:64px;z-index:1025;display:flex;align-items:center;gap:12px;padding:12px 0 16px;background:var(--canvas);margin-bottom:8px}.product-editor-header h1{flex:1;min-width:0;font-size:24px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.product-header-status{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:13px}.status-dot{width:7px;height:7px;border-radius:50%;background:#26a269}.status-dot.draft{background:#98a2b3}.product-header-actions{display:flex;gap:8px;white-space:nowrap}.product-header-actions .btn-primary{background:#009d99;border-color:#009d99}.product-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 215px;gap:20px}.product-editor-content{min-width:0;border:0;padding:0;margin:0}.product-editor-section{padding:24px;background:#fff;border-radius:10px;margin-bottom:16px;scroll-margin-top:145px}.product-editor-section h2{font-size:20px;font-weight:600;margin-bottom:24px}.product-editor-section h3{font-size:14px;font-weight:600;margin-bottom:12px}.product-editor-section .form-label{font-size:14px;font-weight:550;line-height:1.5;margin-bottom:8px}.product-editor-section .form-control,.product-editor-section .form-select{font-size:14px;min-height:34px;padding:5px 10px;border-radius:4px}.product-field{margin-top:24px}.product-field-hint{font-size:13px;color:#667085;margin:0 0 12px}.product-name-input{position:relative}.product-name-input input{padding-right:72px}.product-name-input span{position:absolute;right:8px;top:8px;color:#667085;background:#f1f1f1;border-radius:2px;font-size:12px;padding:0 4px}.product-attribute-box{background:#f6f6f6;border-radius:8px;padding:16px}.product-editor-navigation{position:sticky;top:150px;align-self:start}.product-editor-navigation a{display:block;padding:8px 0;color:#667085;text-decoration:none}.product-editor-navigation a:hover{color:#009d99}.product-photo-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.product-photo{position:relative;aspect-ratio:1;border:1px solid #d0d5dd;border-radius:4px;overflow:hidden;background:#fff}.product-photo.primary{grid-column:span 2;grid-row:span 2}.product-photo img{width:100%;height:100%;object-fit:contain}.product-primary-label{position:absolute;bottom:0;left:0;right:0;text-align:center;background:#182230b3;color:#fff;font-size:12px;padding:3px}.product-photo-remove{position:absolute;top:4px;right:4px;border:0;border-radius:50%;background:#ffffffed;width:24px;height:24px;font-size:18px;line-height:20px;cursor:pointer}.product-photo-empty{grid-column:span 4;min-height:150px;display:grid;place-items:center;background:#fafafa;border:1px dashed #d0d5dd;color:#98a2b3;border-radius:4px}.product-upload-button{display:inline-flex;align-items:center;justify-content:center;border:1px dashed #d0d5dd;border-radius:4px;padding:12px 16px;cursor:pointer;background:white;color:#344054}.product-upload-tile{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed #d0d5dd;border-radius:4px;cursor:pointer;color:#344054}.product-upload-tile i{font-size:22px}.product-description-editor{border:1px solid #d0d5dd;border-radius:4px;overflow:hidden}.product-description-toolbar{display:flex;align-items:center;gap:4px;padding:6px 8px;background:#f5f5f5;border-bottom:1px solid #e6eaf0}.product-description-toolbar>button{border:0;background:transparent;border-radius:3px;min-width:28px;height:28px;color:#667085}.product-description-toolbar>button:hover{background:#e4e7ec}.product-description-editor textarea{border:0!important;min-height:240px;resize:vertical}.product-description-preview{min-height:240px;padding:16px;white-space:pre-wrap}.product-description-preview p{margin-bottom:8px}.product-video-preview{max-width:240px;max-height:180px}.product-bulk-input{max-width:160px}.product-variants-table{min-width:720px}.product-variants-table th{text-transform:none!important;letter-spacing:0!important;font-size:12px!important;font-weight:600!important;background:#f5f5f5!important}.product-variants-table td{border-right:1px solid #e4e7ec;vertical-align:top!important}.product-variants-table td:first-child{width:32%}.variant-thumbnail{width:48px;height:48px;object-fit:contain}.product-editor-content .form-check-input:checked{background-color:#009d99;border-color:#009d99}.product-editor-content:disabled .form-control,.product-editor-content:disabled .form-select{color:#182230;background:#fff;opacity:1}.product-editor-content:disabled .form-check-input{opacity:.8}
@media(max-width:1199.98px){.product-editor-layout{grid-template-columns:1fr}.product-editor-navigation{display:none}.product-editor-header h1{font-size:20px}.product-photo-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:767.98px){.product-editor-header{flex-wrap:wrap;gap:8px;top:64px}.product-header-actions{width:100%;justify-content:flex-end}.product-editor-header h1{font-size:18px}.product-editor-section{padding:16px}.product-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.product-description-toolbar .small{display:none}}

.product-description-toolbar{flex-wrap:wrap}.product-description-preview img{display:inline-block;max-width:100%;height:auto;border-radius:4px}.product-description-preview a{color:#009d99}.product-description-preview u{text-decoration:underline}
.btn,button:not(.btn-close){height:36px!important;min-height:36px!important;padding-top:0!important;padding-bottom:0!important;align-items:center;line-height:1.4}.btn{display:inline-flex;justify-content:center;gap:4px}.category-image-field{display:block;clear:both}.category-image-dropzone{min-height:100px;border:1px dashed #cfd5df;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;background:#fff;text-align:center}.category-image-dropzone.dragging{border-color:#0d6efd;background:#eef5ff}.category-image-plus{font-size:24px;color:#98a2b3;vertical-align:middle;margin-right:6px}.category-upload-link{border:0;background:transparent;color:#0d6efd;padding:0 2px;font-size:14px;cursor:pointer}.category-upload-link:hover{text-decoration:underline}#categoryImagePreviewPanel:not([hidden]){display:flex}#categoryImagePreviewPanel[hidden]{display:none!important}
.category-image-dropzone{border:0;min-height:90px;padding:0;display:flex;flex-direction:row;justify-content:flex-start;gap:12px;flex-wrap:wrap}.category-image-dropzone.dragging{outline:1px dashed #0d6efd;outline-offset:4px}.category-image-choose{width:90px;height:90px!important;min-height:90px!important;border:1px dashed #cfd5df;border-radius:6px;background:#fff;color:#98a2b3;font-size:28px;cursor:pointer}.category-image-choose:hover{border-color:#0d6efd;color:#0d6efd}.category-image-preview-tile{position:relative;width:90px;height:90px;border:1px solid #e6eaf0;border-radius:6px;overflow:hidden}.category-image-preview-tile img{width:100%;height:100%;object-fit:contain}.category-image-remove{position:absolute;top:4px;right:4px;width:16px;height:16px;padding:4px!important;background-color:#fff;border-radius:50%;opacity:.85;box-shadow:0 1px 4px #0002}
.category-image-preview-tile .category-image-remove{width:28px;height:28px!important;min-height:28px!important;border:0;border-radius:4px;background:#dc3545;color:#fff;padding:0!important;display:flex;align-items:center;justify-content:center;opacity:1;z-index:1}.category-image-preview-tile .category-image-remove:hover{background:#b02a37}.category-image-view{cursor:zoom-in}.category-image-view:focus-visible{outline:2px solid #0d6efd;outline-offset:2px}.category-image-viewer{width:min(850px,calc(100vw - 32px));max-height:90vh;border:0;border-radius:10px;padding:20px;box-shadow:0 10px 40px #0004}.category-image-viewer::backdrop{background:#0009}.category-image-viewer>img{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:auto}
.category-image-preview-tile .category-image-remove{top:3px;right:3px;width:22px;height:22px!important;min-height:22px!important;border-radius:50%;font-size:11px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,visibility .15s ease;box-shadow:0 1px 4px #0003}.category-image-preview-tile:hover .category-image-remove,.category-image-preview-tile:focus-within .category-image-remove{opacity:1;visibility:visible;pointer-events:auto}@media(hover:none){.category-image-preview-tile .category-image-remove{opacity:1;visibility:visible;pointer-events:auto}}
.table thead th,.table th{ text-transform:none!important;letter-spacing:normal!important;padding-top:8px!important;padding-bottom:8px!important;line-height:1.4; }.table tbody td{padding-top:9px!important;padding-bottom:9px!important;}
.table th,.table td{font-size:14px!important;}.table td small{font-size:14px;}
#categoryList .category-image-view{width:38px;height:38px;object-fit:cover;}
.sidebar .nav-parent{font-weight:550!important;color:#475467!important;line-height:1.5;appearance:none}.sidebar .nav-parent i{color:#667085}
.compact-product-create{min-height:430px}.compact-product-image{max-width:230px;margin-left:auto;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fbfcfd}.compact-image-preview{width:190px;height:190px;margin:auto;display:grid;place-items:center;border:1px dashed #cbd5e1;border-radius:10px;background:#fff;overflow:hidden}.compact-image-preview img{width:100%;height:100%;object-fit:cover}
.compact-image-preview.drag-over{border-color:var(--brand);background:#e8f5f5;box-shadow:0 0 0 3px #087f8c22}
.save-progress{position:fixed;inset:0;z-index:2000;background:#10182866;display:grid;place-items:center}.save-progress[hidden]{display:none}.save-progress-card{min-width:320px;max-width:calc(100vw - 32px);padding:20px 22px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 15px 35px #10182833}.save-progress-card span{font-weight:600;color:var(--ink)}.save-progress-bar{grid-column:1/-1;height:6px}.save-progress-bar .progress-bar{background:var(--brand)}
.product-editor-layout.compact-product-layout{display:block;width:100%}.compact-product-layout .product-editor-content{width:100%}
.btn,button:not(.btn-close),input:not([type=checkbox]):not([type=radio]),select,textarea,.form-control,.form-select{font-size:14px!important}
#categoryList .category-search-button{background:#06717a;border-color:#06717a;color:#fff}#categoryList .category-search-button:hover,#categoryList .category-search-button:focus{background:#055e65;border-color:#055e65;color:#fff}
.product-table-panel{min-height:calc(100vh - 230px);background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.product-empty-cell{height:calc(100vh - 360px);min-height:420px;vertical-align:middle!important}.product-skeleton{padding:14px 18px;min-height:calc(100vh - 260px);background:#fff}.product-skeleton-row{display:grid;grid-template-columns:2fr 1fr 1fr .7fr 1fr;gap:18px;align-items:center;height:72px;border-bottom:1px solid #edf0f4}.product-skeleton-row span{height:14px;border-radius:6px;background:linear-gradient(90deg,#eef2f6 25%,#f8fafc 37%,#eef2f6 63%);background-size:400% 100%;animation:productSkeleton 1.4s ease-in-out infinite}.product-skeleton-row span:first-child{height:42px}@keyframes productSkeleton{0%{background-position:100% 0}100%{background-position:-100% 0}}.product-load-error{min-height:calc(100vh - 260px);display:grid;place-items:center;color:#b42318;background:#fff}
#orderResults{display:flex;flex-direction:column;flex:1;min-height:calc(100vh - 470px)}.order-workspace{min-height:calc(100vh - 300px);display:flex;flex-direction:column}.orders-table-wrap{flex:1;min-height:calc(100vh - 520px)}.order-empty-cell{height:calc(100vh - 540px);min-height:300px;vertical-align:middle!important}.order-results-error{min-height:calc(100vh - 470px);display:grid;place-items:center;color:#b42318;background:#fff}.order-loading{overflow:hidden;background:#fff}.order-loading thead span,.order-loading tbody span{display:block;height:12px;border-radius:6px;background:linear-gradient(90deg,#eef2f6 25%,#f8fafc 37%,#eef2f6 63%);background-size:400% 100%;animation:productSkeleton 1.4s ease-in-out infinite}.order-loading thead span{width:72%}.order-loading tbody tr{height:72px}.order-loading tbody span{height:18px;width:82%}.order-loading tbody td:first-child span{width:18px}.order-loading tbody td:nth-child(2) span{height:30px}
.admin-shortcut{display:block;height:100%;color:inherit;text-decoration:none;transition:border-color .15s ease,transform .15s ease}.admin-shortcut:hover{color:inherit;border-color:#06717a;transform:translateY(-1px)}.admin-shortcut>span{display:block;margin-top:8px;color:#06717a;font-size:13px}
.dashboard-update-badge{color:#344054!important;background:#e8f5f5!important;border:1px solid #b8dedf!important;font-weight:600}
.inventory-stock-badge{min-width:38px;padding:5px 8px;font-weight:650!important}.inventory-stock-out{color:#b42318!important;background:#fef3f2!important}.inventory-stock-low{color:#93370d!important;background:#fef0c7!important}.inventory-stock-ok{color:#067647!important;background:#dcfae6!important}.inventory-adjust-btn,.product-edit-icon{font-size:12px!important;padding:3px 8px;line-height:1.35}
.receipt-status-cancelled{color:#344054!important;background:#eaecf0!important}
