:root{--ink:#252820;--muted:#85877d;--line:#ebe9e1;--paper:#faf9f6;--white:#fff;--olive:#66724f;--olive-dark:#4f5b3d;--sand:#f1eee5;--green:#e9f0e7;--shadow:0 16px 50px #292b2416}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Sans SC','DM Sans',sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#f3f1eb;border-right:1px solid #eae7dd;padding:29px 19px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;padding:0 7px}.brand-mark{width:39px;height:39px;border-radius:13px;background:var(--olive);color:#fff;display:grid;place-items:center;font-family:Georgia,serif;font-size:22px;font-style:italic}.brand b{display:block;font-size:16px;letter-spacing:.12em}.brand small{font:9px 'DM Sans',sans-serif;color:#96978c;letter-spacing:.11em}.store-label{margin:43px 9px 12px;color:#9a9a8f;font-size:11px;letter-spacing:.04em}.nav{display:grid;gap:5px}.nav-item{border:0;background:transparent;text-align:left;color:#72756a;border-radius:9px;padding:12px 13px;display:flex;align-items:center;gap:13px}.nav-item span{width:20px;text-align:center;font-size:17px}.nav-item.active,.nav-item:hover{background:#e7e8de;color:var(--olive-dark);font-weight:600}.sidebar-bottom{margin-top:auto;padding:13px 8px;border-top:1px solid #e3e1d9;color:#8c8e83;font-size:11px;display:flex;align-items:center;gap:8px}.connection-dot{width:7px;height:7px;border-radius:50%;background:#8fac7b}.main{margin-left:244px;min-height:100vh}.topbar{height:70px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#faf9f6dd}.breadcrumbs{font-size:12px;color:#999a90}.breadcrumbs span{margin:0 10px;color:#c3c2b9}.breadcrumbs b{color:#505247;font-weight:500}.top-actions{display:flex;align-items:center;gap:19px}.today{color:#a0a095;font-size:12px}.role-switch{display:flex;align-items:center;gap:7px;font-size:11px;color:#898b81}.role-switch select{border:0;background:#eeede6;border-radius:6px;padding:6px 8px;color:#55584c}.avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#d9ddca;color:#596548;font-size:12px;font-weight:600}.mobile-menu{display:none;border:0;background:transparent}.page{display:none;max-width:1380px;margin:0 auto;padding:37px 42px 50px}.page.active{display:block}.page-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 26px}.eyebrow{font:10px 'DM Sans',sans-serif;letter-spacing:.15em;color:#a0a18f;margin-bottom:9px}h1{font-size:26px;letter-spacing:.02em;margin:0;font-weight:600}.page-heading p{margin:7px 0 0;color:#929388;font-size:12px}.button{border:1px solid transparent;border-radius:7px;padding:10px 15px;font-size:12px;transition:.15s}.button.primary{background:var(--olive);color:#fff}.button.primary:hover{background:var(--olive-dark)}.button.secondary{background:#fff;border-color:#deded5;color:#686b60}.button.secondary:hover{background:#f5f4ef}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:23px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:17px 19px;min-height:108px}.stat-card>span{font-size:11px;color:#8c8e82}.stat-card strong{display:block;font:600 25px 'DM Sans','Noto Sans SC',sans-serif;margin:10px 0 5px;letter-spacing:.015em}.stat-card small{font-size:10px;color:#b0b1a8}.toolbar{display:flex;gap:9px;margin-bottom:13px}.searchbox{height:38px;background:#fff;border:1px solid var(--line);border-radius:7px;display:flex;align-items:center;padding:0 11px;gap:8px;flex:1;max-width:460px;color:#9a9b90}.searchbox span{font-size:20px}.searchbox input{outline:0;border:0;width:100%;font-size:12px;color:var(--ink)}.toolbar select{height:38px;min-width:126px;border:1px solid var(--line);border-radius:7px;padding:0 10px;background:#fff;color:#74766b;font-size:11px}.table-wrap{border:1px solid var(--line);border-radius:9px;background:#fff;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:790px;text-align:left}thead{background:#f8f7f3}th{font-size:10px;color:#93958a;font-weight:500;padding:12px 16px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:13px 16px;border-bottom:1px solid #f0efe9;font-size:11px;color:#66695e;white-space:nowrap}tbody tr:last-child td{border-bottom:0}.product-cell{display:flex;align-items:center;gap:11px;min-width:190px}.product-thumb{width:37px;height:37px;border-radius:7px;background:#eeeae0;color:#8e8a7e;display:grid;place-items:center;font-family:Georgia,serif;font-size:19px;flex:none}.product-cell b{display:block;color:#42443c;font-size:11px;font-weight:600}.product-cell small{display:block;color:#a2a398;margin-top:4px;font:10px 'DM Sans',sans-serif}.money{font:500 11px 'DM Sans',sans-serif;color:#54564c}.badge{display:inline-flex;border-radius:30px;padding:4px 9px;font-size:10px;background:#edf2e9;color:#68805e}.badge.sold{background:#f1eee8;color:#8d8578}.row-actions{display:flex;gap:5px}.text-action{border:0;background:transparent;color:#798365;font-size:10px;padding:5px}.text-action.danger{color:#a77f73}.empty-state{text-align:center;padding:55px 15px;color:#8d8f84;display:none}.empty-state.show{display:block}.empty-icon{font:40px Georgia,serif;color:#c9c8b8;margin-bottom:9px}.empty-state b{font-size:13px;color:#65675c}.empty-state p{font-size:11px;margin:8px 0 17px}.table-footer{display:flex;justify-content:space-between;padding:12px 3px;color:#a1a297;font-size:10px}.import-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.import-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:25px;min-height:245px}.card-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:10px;font-size:20px}.card-icon.warm{background:#f2eee4;color:#8d7d5e}.card-icon.green{background:#eaf0e8;color:#6d8461}.import-card h2{font-size:16px;margin:18px 0 8px}.import-card p{font-size:11px;line-height:1.9;color:#85877b;max-width:470px;min-height:62px}.file-button{position:relative;display:inline-block;overflow:hidden;margin-top:7px}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.import-card>small{margin-left:12px;color:#aaa99f;font-size:10px}.import-notes{background:#f1efe8;border-radius:9px;margin-top:18px;padding:20px 23px}.import-notes h3{font-size:12px;margin:0 0 15px}.steps{display:flex;gap:50px;color:#67695e;font-size:11px}.steps span{display:flex;align-items:center;gap:8px}.steps i{font:10px 'DM Sans',sans-serif;font-style:normal;width:21px;height:21px;border:1px solid #d7d7ca;border-radius:50%;display:grid;place-items:center;color:#7c806d}.import-notes p{font-size:10px;color:#999a8f;margin:16px 0 0}.import-preview{margin-top:20px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.preview-header{display:flex;justify-content:space-between;align-items:center}.preview-header h2{font-size:16px;margin:0}.icon-button{border:0;background:transparent;color:#8f9085;font-size:23px}.preview-meta{margin:13px 0;color:#86887c;font-size:11px}.preview-table{max-height:300px}.preview-table table{min-width:650px}.preview-table td,.preview-table th{max-width:200px;overflow:hidden;text-overflow:ellipsis}.preview-footer{display:flex;justify-content:space-between;align-items:center;margin-top:17px;color:#999a90;font-size:11px}.preview-footer>div{display:flex;gap:8px}.hidden{display:none!important}.permissions-card{background:white;border:1px solid var(--line);border-radius:10px;padding:8px 25px}.permission-intro{display:flex;justify-content:space-between;align-items:center;padding:21px 0;border-bottom:1px solid #f0efe9}.permission-intro h2{font-size:14px;margin:9px 0 5px}.permission-intro p{font-size:11px;color:#929388;margin:0}.pill{display:inline-block;border-radius:20px;padding:4px 9px;font-size:10px}.admin-pill{background:#edf0e7;color:#687853}.staff-pill{background:#f0eee8;color:#88816f}.avatar.large{width:39px;height:39px;font-size:14px}.avatar.pale{background:#f0eee8;color:#8b867a}.permission-matrix{padding:10px 0 8px;overflow-x:auto}.matrix-row{display:grid;grid-template-columns:1fr 120px 120px;padding:12px 10px;border-bottom:1px solid #f1f0eb;color:#5f6158;font-size:11px}.matrix-row:last-child{border-bottom:0}.matrix-row span:not(:first-child){text-align:center;color:#768363}.matrix-head{color:#a1a196;font-size:10px}.team-note{display:flex;gap:11px;margin-top:17px;padding:14px 16px;background:#f1efe8;border-radius:8px;color:#85867c}.team-note p{font-size:10px;margin:0;line-height:1.7}.modal-backdrop{position:fixed;inset:0;background:#24251f66;z-index:10;display:grid;place-items:center;padding:20px}.modal{width:min(560px,100%);background:#fff;border-radius:12px;padding:25px 27px;box-shadow:var(--shadow);max-height:90vh;overflow-y:auto}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-heading h2{font-size:19px;margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{font-size:10px;color:#73756a;display:flex;flex-direction:column;gap:7px}.form-grid label>span{color:#b16658;display:inline}.form-grid input,.form-grid select,.form-grid textarea{border:1px solid #e5e4dc;border-radius:6px;padding:9px 10px;outline:0;font-size:11px;color:#4f5149;background:#fff}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:#9ca487}.form-grid textarea{resize:vertical}.span-2{grid-column:span 2}.modal-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:21px;padding-top:17px;border-top:1px solid var(--line)}.toast{position:fixed;z-index:20;bottom:24px;left:50%;transform:translate(-50%,20px);background:#34372e;color:white;padding:11px 17px;border-radius:7px;font-size:11px;opacity:0;pointer-events:none;transition:.2s}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:1000px){.sidebar{width:205px}.main{margin-left:205px}.page{padding:30px 25px}.topbar{padding:0 25px}.stats{grid-template-columns:repeat(2,1fr)}.today{display:none}}
@media(max-width:680px){.sidebar{transform:translateX(-100%);transition:.2s;width:245px;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.topbar{height:58px;padding:0 16px}.mobile-menu{display:block;font-size:20px;color:#62645a}.breadcrumbs{margin-right:auto;margin-left:11px}.top-actions{gap:9px}.role-switch{font-size:0}.role-switch select{font-size:10px}.page{padding:24px 15px 36px}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:23px}.page-heading p{max-width:260px;line-height:1.7}.page-heading>.button{white-space:nowrap;padding:9px 10px;font-size:10px}.stats{gap:9px}.stat-card{padding:13px;min-height:99px}.stat-card strong{font-size:21px}.toolbar{flex-wrap:wrap}.searchbox{flex-basis:100%;max-width:none}.toolbar select{flex:1;min-width:0}.table-wrap{margin:0 -1px}.import-grid{grid-template-columns:1fr}.import-card{min-height:0;padding:20px}.import-card p{min-height:0}.import-card>small{display:block;margin:9px 0 0}.steps{gap:12px;flex-direction:column}.permissions-card{padding:5px 15px}.matrix-row{grid-template-columns:1fr 65px 65px;padding:11px 4px;font-size:10px}.modal{padding:20px}.form-grid{gap:11px}.table-footer{font-size:9px}}
.pagination{display:flex;align-items:center;justify-content:center;gap:15px;color:#8e9085;font-size:11px;padding:10px 0 4px}.pagination label{display:flex;align-items:center;gap:5px}.pagination select{border:1px solid var(--line);border-radius:5px;padding:4px 7px;color:#62645a;background:#fff}.page-button{padding:7px 11px;font-size:10px}.page-button:disabled{opacity:.45;cursor:not-allowed}.product-cell{gap:12px;min-width:260px}.product-thumb-button,.product-title{padding:0;border:0;background:transparent;text-align:left}.product-thumb-button{line-height:0;border-radius:7px;overflow:hidden}.product-thumb{display:block;width:76px;height:76px;object-fit:cover;border-radius:7px;background:#eeeae0}.image-placeholder{display:grid;place-items:center;color:#a9a694;font-size:27px;line-height:1}.product-title{min-width:140px}.product-title b{display:block;color:#42443c;font-size:11px;font-weight:600}.product-title small{display:block;color:#a2a398;margin-top:5px;font:10px 'DM Sans',sans-serif}.detail-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.detail-top #detailActions{display:flex;gap:8px}.detail-card{display:grid;grid-template-columns:minmax(280px,420px) 1fr;gap:35px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:25px}.detail-photo{width:100%;aspect-ratio:1/1;background:#f1efe8;border-radius:9px;overflow:hidden;display:grid;place-items:center}.detail-photo img{width:100%;height:100%;object-fit:contain}.detail-placeholder{display:grid;place-items:center;color:#aaa895}.detail-placeholder span{font:70px Georgia,serif}.detail-placeholder small{font-size:11px}.detail-info{padding:6px 6px 10px}.detail-info h1{font-size:24px;margin-bottom:8px}.detail-code{color:#9b9c91;font:11px 'DM Sans',sans-serif;margin-bottom:15px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 23px;margin-top:18px;border-top:1px solid #efeee8}.detail-grid>div{padding:14px 0;border-bottom:1px solid #efeee8}.detail-grid small,.detail-notes small{display:block;font-size:10px;color:#a0a195;margin-bottom:7px}.detail-grid b{font-size:12px;color:#52544b;font-weight:500}.detail-notes{padding:15px 0;border-bottom:1px solid #efeee8}.detail-notes p{font-size:11px;color:#62645a;line-height:1.8;white-space:pre-wrap;margin:0}.image-picker{display:flex;align-items:center;gap:14px}.image-preview{width:94px;height:94px;border-radius:8px;background:#f1efe8;display:grid;place-items:center;overflow:hidden;color:#aaa895;font:34px Georgia,serif}.image-preview img{width:100%;height:100%;object-fit:cover}.image-select{position:relative;overflow:hidden;display:inline-block}.image-select input{position:absolute;inset:0;opacity:0;cursor:pointer}.image-picker small{display:block;color:#a1a196;font-size:9px;margin-top:7px}.breadcrumbs button{border:0;background:transparent;color:#74766b;padding:0;cursor:pointer;font-size:12px}
@media(max-width:680px){.product-thumb{width:60px;height:60px}.product-cell{min-width:238px}.detail-card{grid-template-columns:1fr;gap:20px;padding:15px}.detail-photo{max-height:360px;aspect-ratio:1/1}.detail-info{padding:0}.detail-info h1{font-size:21px}.detail-grid{gap:0 15px}.pagination{gap:8px;font-size:10px}.page-button{padding:7px 8px}}
.image-field{display:flex;flex-direction:column;gap:7px}.field-label{font-size:10px;color:#73756a}
.import-thumb{display:block;width:42px;height:42px;object-fit:cover;border-radius:5px}
.size-column,.size-cell{width:96px;max-width:96px}.size-cell{white-space:normal;overflow-wrap:anywhere;line-height:1.55;min-width:72px}
.import-progress{display:flex;align-items:center;gap:14px;margin:18px 0;padding:16px 18px;border:1px solid #e7e6dc;border-radius:9px;background:#fff}.progress-spinner{width:22px;height:22px;flex:none;border:2px solid #e9eadf;border-top-color:var(--olive);border-radius:50%;animation:progress-spin .8s linear infinite}@keyframes progress-spin{to{transform:rotate(360deg)}}.progress-copy{display:grid;gap:5px;flex:1;min-width:0}.progress-copy b{font-size:12px;font-weight:600;color:#55584c}.progress-copy small{font-size:10px;color:#929388}.progress-copy progress{width:100%;height:5px;margin-top:4px;accent-color:var(--olive)}
.import-decision{max-width:300px;min-width:210px;padding:7px 8px;border:1px solid #deded5;border-radius:6px;background:#fff;color:#55584c;font-size:11px}
.source-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.source-field{padding:10px 0;border-bottom:1px solid #efeee8;min-width:0}.source-field small{display:block;font-size:10px;color:#a0a195;margin-bottom:6px;overflow-wrap:anywhere}.source-field b{display:block;font-size:11px;color:#55574e;font-weight:500;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.source-field:last-child{border-bottom:0}
@media(max-width:480px){.source-fields{grid-template-columns:1fr}}
.detail-card{display:block}.detail-photo{max-width:620px;aspect-ratio:4/3;margin:0 auto 25px}
@media(max-width:680px){.detail-photo{max-height:360px;aspect-ratio:1/1;margin-bottom:18px}.detail-card{padding:15px}}
.brand-highlight{display:inline-flex;align-items:baseline;gap:12px;background:#f2f1e9;border-left:3px solid var(--olive);padding:9px 13px;margin:0 0 13px}.brand-highlight small{font-size:10px;color:#96978b}.brand-highlight b{font-size:18px;color:#596548;letter-spacing:.03em}.detail-section{margin-top:24px}.detail-section h2{font-size:12px;font-weight:600;color:#626458;margin:0 0 12px}.basic-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}.detail-section .source-field{padding:8px 0}.pricing-section{padding:17px 19px;background:#f4f3ed;border-radius:9px}.price-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.price-field{background:#fff;border:1px solid #ebe9e1;border-radius:7px;padding:12px 13px;min-height:65px}.price-field small{display:block;font-size:10px;color:#999a8f;margin-bottom:9px}.price-field b{font:500 13px 'DM Sans','Noto Sans SC',sans-serif;color:#56584e;overflow-wrap:anywhere}.price-field.price-primary{background:#fff;border-color:#dce0d1}.price-field.price-primary b{font-size:16px;color:#596548;font-weight:600}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.section-heading small{font-size:10px;color:#a1a196}.edit-field-actions{display:flex;gap:7px}.edit-field-actions .button{padding:7px 11px;font-size:10px}.editable-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.editable-field{display:flex;flex-direction:column;gap:7px;min-width:0}.editable-field small{font-size:10px;color:#98998e}.editable-value{width:100%;min-height:36px;border:1px solid #e8e7df;border-radius:6px;background:#f8f7f3;padding:9px 10px;color:#585a50;font:inherit;font-size:11px;resize:vertical}.editable-value[readonly]{border-color:transparent;background:#f5f4ef}.editable-value:not([readonly]){background:#fff;border-color:#a8b092;outline:0}.editable-field textarea{min-height:74px;line-height:1.7}.no-edit-fields{font-size:11px;color:#a1a196;margin:0}.detail-footer{display:flex;flex-wrap:wrap;gap:24px;border-top:1px solid #efeee8;margin-top:22px;padding:16px 0 3px;color:#909186;font-size:10px}.detail-footer b{color:#64665b;font-weight:600}
@media(max-width:680px){.basic-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.price-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.editable-fields{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column}.detail-footer{gap:12px}.brand-highlight b{font-size:16px}}
.brand-status-row{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}.brand-highlight,.status-highlight{margin:0 0 13px;min-height:43px}.status-highlight{display:inline-flex;align-items:baseline;gap:10px;border-left:3px solid #9baa8b;border-radius:2px;background:#edf2e9;padding:9px 13px;color:#5e7852}.status-highlight small{font-size:10px;color:#809077}.status-highlight b{font-size:13px;font-weight:700}.status-highlight.sold{border-left-color:#b88979;background:#f4ece8;color:#966b5d}.status-highlight.sold small{color:#a8897d}
:root{--olive:#07332f;--olive-dark:#052722}.brand-logo{display:block;width:57px;height:54px;object-fit:contain;flex:none;background:transparent}.sidebar{background:#07332f;border-right-color:#16443e}.brand{gap:11px;padding:0 4px;color:#fff}.brand b{font-size:14px;letter-spacing:.04em;color:#fff}.brand small{color:#c7d6cf;letter-spacing:.08em}.store-label{color:#e4bd70}.nav-item{color:#c5d5ce}.nav-item span{color:#e8bd68}.nav-item.active,.nav-item:hover{background:#17443e;color:#f0c979}.nav-item.active span,.nav-item:hover span{color:#f0c979}.sidebar-bottom{border-top-color:#245149;color:#c0d0c9}.connection-dot{background:#e8b34f}.button.primary{background:#07332f}.button.primary:hover{background:#052722}.nav-item{transition:background .15s,color .15s}
.toolbar{flex-wrap:wrap}.toolbar .searchbox{min-width:240px}
.detail-photo{display:block;width:100%;max-width:900px;height:auto;min-height:0;aspect-ratio:auto;margin:0 auto 25px;overflow:visible;background:transparent}
.detail-photo img{display:block;width:100%;height:auto;max-width:100%;max-height:none;object-fit:unset;border-radius:9px}
@media(max-width:680px){.detail-photo{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;margin-bottom:18px}.detail-photo img{width:100%;height:auto}}

.quick-edit{height:34px;width:100%;min-width:90px;border:1px solid transparent;border-radius:6px;padding:6px 8px;background:transparent;color:#42443c;font-size:11px;outline:none;transition:.15s}.quick-edit:hover{border-color:#e4e5dc;background:#fff}.quick-edit:focus{border-color:#9ca487;background:#fff;box-shadow:0 0 0 2px #9ca48722}.quick-name{min-width:150px;font-weight:600}.quick-price{min-width:100px;color:#54564c}.quick-size{min-width:90px}.quick-description{min-width:190px}.product-title{min-width:160px}#inventoryPage .table-wrap table{min-width:1120px}

.quick-cell{display:flex;align-items:center;gap:4px;min-width:90px;max-width:240px}.quick-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;color:#55574d;font-size:11px}.quick-pencil{flex:none;width:25px;height:25px;padding:0;border:0;border-radius:5px;background:transparent;color:#788164;font-size:15px;line-height:1}.quick-pencil:hover{background:#edf0e8;color:#4f5b3d}.quick-edit{height:32px;min-width:70px;width:100%;border:1px solid #9ca487;border-radius:6px;padding:5px 7px;background:#fff;color:#42443c;font-size:11px;outline:none}.quick-edit:focus{box-shadow:0 0 0 2px #9ca48722}.quick-name{min-width:130px;font-weight:600}.quick-price{min-width:90px;color:#54564c}.quick-size{min-width:75px}.quick-description{min-width:170px}.product-title{min-width:160px}#inventoryPage .table-wrap table{min-width:1120px}

.quick-price::-webkit-outer-spin-button,.quick-price::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.quick-price{-moz-appearance:textfield}.quick-cell-size{max-width:135px}.quick-cell-description{max-width:240px}.quick-cell-size,.quick-cell-description{align-items:flex-start}.quick-pencil{margin-top:2px}.quick-value-size,.quick-value-description{white-space:pre-wrap;overflow:visible;overflow-wrap:anywhere;line-height:1.5}.quick-size,.quick-description{height:auto;min-height:42px;resize:vertical;white-space:pre-wrap;line-height:1.45}

.quick-cell-price{max-width:112px;min-width:86px;gap:1px}.quick-cell-price .quick-value{flex:0 1 auto;min-width:0}.quick-cell-price .quick-pencil{margin-left:-2px}.quick-cell-price .quick-edit{min-width:0}

#inventoryPage table th{font-size:12px}#inventoryPage table td{font-size:13px}.product-title small{font-size:11px}.quick-value{font-size:13px}.quick-edit{font-size:13px}.badge{font-size:11px}.row-actions .text-action{font-size:11px}

.toolbar-reset{height:38px;padding:0 12px;white-space:nowrap;flex:none}

#inventoryPage .table-wrap table{min-width:1220px}.cost-profit-rate{color:#5e7556;font-weight:600;white-space:nowrap}

#inventoryPage table th:nth-child(8),#inventoryPage table td:nth-child(8){width:8em;min-width:8em;max-width:8em}#inventoryPage table th:nth-child(9),#inventoryPage table td:nth-child(9){width:8em;min-width:8em;max-width:8em}.quick-cell-size,.quick-cell-description{width:8em;min-width:8em;max-width:8em}.quick-value-size,.quick-value-description{width:100%;min-width:0;overflow-wrap:anywhere}.quick-size,.quick-description{width:100%;min-width:0;max-width:100%}

#inventoryPage table th:nth-child(8),#inventoryPage table td:nth-child(8),#inventoryPage table th:nth-child(9),#inventoryPage table td:nth-child(9){width:calc(8em + 62px);min-width:calc(8em + 62px);max-width:calc(8em + 62px)}.quick-cell-size,.quick-cell-description{box-sizing:border-box;width:calc(8em + 30px);min-width:calc(8em + 30px);max-width:calc(8em + 30px)}.quick-value-size,.quick-value-description{box-sizing:border-box;flex:0 0 8em;width:8em;min-width:8em;max-width:8em}.quick-cell-size .quick-pencil,.quick-cell-description .quick-pencil{flex:0 0 22px;width:22px;margin-left:0}

#inventoryPage table th:first-child,#inventoryPage table td:first-child{width:280px;min-width:280px;max-width:280px}.product-cell{min-width:0;width:100%;gap:10px}.product-title{min-width:0;flex:1}.quick-cell-name{box-sizing:border-box;width:calc(10em + 26px);min-width:calc(10em + 26px);max-width:calc(10em + 26px);align-items:flex-start}.quick-value-name{box-sizing:border-box;flex:0 0 10em;width:10em;min-width:10em;max-width:10em;white-space:normal;overflow:visible;overflow-wrap:anywhere;line-height:1.45}.quick-cell-name .quick-pencil{flex:0 0 22px;width:22px;margin-left:0}.quick-name{box-sizing:border-box;width:10em;min-width:0;max-width:10em}

#inventoryPage table th:first-child,#inventoryPage table td:first-child{width:345px;min-width:345px;max-width:345px}.quick-cell-name{width:calc(15em + 26px);min-width:calc(15em + 26px);max-width:calc(15em + 26px)}.quick-value-name{flex:0 0 15em;width:15em;min-width:15em;max-width:15em}.quick-name{width:15em;max-width:15em}

#inventoryPage .table-wrap table{min-width:1320px}#inventoryPage table th:nth-child(10),#inventoryPage table td:nth-child(10){position:sticky;right:210px;z-index:2;width:90px;min-width:90px;background:#fff;box-shadow:-7px 0 10px #2528200a}#inventoryPage table th:nth-child(10){background:#f8f7f3;z-index:3}#inventoryPage table th:nth-child(11),#inventoryPage table td:nth-child(11){position:sticky;right:0;z-index:2;width:210px;min-width:210px;background:#fff;box-shadow:-7px 0 10px #2528200a}#inventoryPage table th:nth-child(11){background:#f8f7f3;z-index:3}#inventoryPage table td:nth-child(11) .row-actions{flex-wrap:nowrap}

#inventoryPage.page{max-width:none;padding-left:24px;padding-right:24px}#inventoryPage .table-wrap{overflow-x:auto}#inventoryPage .table-wrap table{min-width:0;width:100%}#inventoryPage table th,#inventoryPage table td{padding-left:8px;padding-right:8px}#inventoryPage table th:first-child,#inventoryPage table td:first-child{width:320px;min-width:320px;max-width:320px}#inventoryPage table th:nth-child(8),#inventoryPage table td:nth-child(8),#inventoryPage table th:nth-child(9),#inventoryPage table td:nth-child(9){width:calc(8em + 46px);min-width:calc(8em + 46px);max-width:calc(8em + 46px)}.quick-cell-size,.quick-cell-description{width:calc(8em + 30px);min-width:calc(8em + 30px);max-width:calc(8em + 30px)}#inventoryPage table th:nth-child(10),#inventoryPage table td:nth-child(10),#inventoryPage table th:nth-child(11),#inventoryPage table td:nth-child(11){position:static;right:auto;z-index:auto;box-shadow:none}#inventoryPage table th:nth-child(10),#inventoryPage table td:nth-child(10){width:76px;min-width:76px}#inventoryPage table th:nth-child(11),#inventoryPage table td:nth-child(11){width:170px;min-width:170px}#inventoryPage table td:nth-child(10),#inventoryPage table td:nth-child(11){background:#fff}#inventoryPage table th:nth-child(10),#inventoryPage table th:nth-child(11){background:#f8f7f3}@media(max-width:1000px){#inventoryPage.page{padding-left:12px;padding-right:12px}#inventoryPage .table-wrap table{min-width:1180px}}@media(max-width:680px){#inventoryPage.page{padding-left:15px;padding-right:15px}}

#inventoryPage table th:nth-child(2),#inventoryPage table td:nth-child(2){width:104px;min-width:104px;max-width:104px}#inventoryPage table td:nth-child(2){white-space:normal;overflow-wrap:anywhere;line-height:1.45}

/* Fluid full-width inventory table */
#inventoryPage.page{max-width:none;padding-left:20px;padding-right:20px}#inventoryPage .table-wrap{overflow-x:auto}#inventoryPage .table-wrap table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}#inventoryPage table th,#inventoryPage table td{padding:10px 8px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}#inventoryPage table th{font-size:11px;line-height:1.35}#inventoryPage table td{font-size:12px;line-height:1.4}#inventoryPage table th:nth-child(1),#inventoryPage table td:nth-child(1){width:23%}#inventoryPage table th:nth-child(3),#inventoryPage table td:nth-child(3){width:7%}#inventoryPage table th:nth-child(2),#inventoryPage table td:nth-child(2){width:8%}#inventoryPage table th:nth-child(5),#inventoryPage table td:nth-child(5){width:8%}#inventoryPage table th:nth-child(6),#inventoryPage table td:nth-child(6){width:9%}#inventoryPage table th:nth-child(7),#inventoryPage table td:nth-child(7){width:8%}#inventoryPage table th:nth-child(8),#inventoryPage table td:nth-child(8){width:8%}#inventoryPage table th:nth-child(9),#inventoryPage table td:nth-child(9){width:12%}#inventoryPage table th:nth-child(10),#inventoryPage table td:nth-child(10){width:7%}#inventoryPage table th:nth-child(11),#inventoryPage table td:nth-child(11){width:10%}#inventoryPage table th:nth-child(10),#inventoryPage table td:nth-child(10),#inventoryPage table th:nth-child(11),#inventoryPage table td:nth-child(11){position:static;right:auto;z-index:auto;box-shadow:none;background:transparent}#inventoryPage table th:nth-child(10),#inventoryPage table th:nth-child(11){background:#f8f7f3}#inventoryPage .product-cell{min-width:0;width:100%;gap:10px 8px;flex-wrap:wrap}#inventoryPage .product-thumb-button{width:104px;height:130px;flex:0 0 104px;border:1px solid var(--line);background:#f8f8f2}#inventoryPage .product-thumb{width:100%;height:100%;object-fit:contain;border-radius:6px;background:transparent}#inventoryPage .product-thumb.image-placeholder{display:grid;place-items:center}#inventoryPage .product-title{min-width:0;flex:1 1 110px}#inventoryPage .product-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#inventoryPage .quick-cell,#inventoryPage .quick-cell-name,#inventoryPage .quick-cell-size,#inventoryPage .quick-cell-description,#inventoryPage .quick-cell-price{box-sizing:border-box;width:100%;min-width:0;max-width:100%}#inventoryPage .quick-value,#inventoryPage .quick-value-name,#inventoryPage .quick-value-size,#inventoryPage .quick-value-description{box-sizing:border-box;flex:1 1 auto;width:auto;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;overflow:visible}#inventoryPage .quick-edit,#inventoryPage .quick-name,#inventoryPage .quick-price,#inventoryPage .quick-size,#inventoryPage .quick-description{box-sizing:border-box;width:100%;min-width:0;max-width:100%;font-size:12px}#inventoryPage .quick-cell .quick-pencil{flex:0 0 20px;width:20px;margin-left:0;padding:0}#inventoryPage .quick-cell-size,#inventoryPage .quick-cell-description{align-items:flex-start}#inventoryPage .quick-size,#inventoryPage .quick-description{min-height:42px;height:auto;resize:vertical}#inventoryPage .quick-value-size,#inventoryPage .quick-value-description{white-space:pre-wrap;line-height:1.45}#inventoryPage .cost-profit-rate{white-space:normal;overflow-wrap:anywhere}#inventoryPage .row-actions{display:flex;flex-wrap:wrap;gap:2px;align-items:flex-start}#inventoryPage .row-actions .text-action{font-size:10px;padding:4px 3px;white-space:normal}#inventoryPage .badge{font-size:10px;padding:4px 7px}#inventoryPage table td.money{white-space:nowrap;font-size:11px;padding-left:5px;padding-right:5px}@media(max-width:1000px){#inventoryPage.page{padding-left:14px;padding-right:14px}#inventoryPage .table-wrap table{min-width:1080px;table-layout:fixed}}@media(max-width:680px){#inventoryPage.page{padding-left:15px;padding-right:15px}#inventoryPage .table-wrap table{min-width:1080px}}

/* Inventory column priority: prices, size, and description */
#inventoryPage table th:nth-child(1),#inventoryPage table td:nth-child(1){width:18%}#inventoryPage table th:nth-child(3),#inventoryPage table td:nth-child(3){width:6%}#inventoryPage table th:nth-child(2),#inventoryPage table td:nth-child(2){width:7%}#inventoryPage table th:nth-child(5),#inventoryPage table td:nth-child(5){width:10%}#inventoryPage table th:nth-child(6),#inventoryPage table td:nth-child(6){width:13%}#inventoryPage table th:nth-child(7),#inventoryPage table td:nth-child(7){width:6%}#inventoryPage table th:nth-child(8),#inventoryPage table td:nth-child(8){width:11%}#inventoryPage table th:nth-child(9),#inventoryPage table td:nth-child(9){width:15%}#inventoryPage table th:nth-child(10),#inventoryPage table td:nth-child(10){width:6%}#inventoryPage table th:nth-child(11),#inventoryPage table td:nth-child(11){width:8%}#inventoryPage table td:nth-child(5){color:#484b40;font-size:13px;font-weight:600}#inventoryPage .quick-cell-price{padding:4px 5px;border-radius:6px;background:#f4f6ef}#inventoryPage .quick-value-price{font-size:15px;font-weight:700;color:#46553a}#inventoryPage .quick-cell-price .quick-edit{font-size:14px;font-weight:600}

#inventoryPage table td:nth-child(7){font-size:13px;font-weight:700;color:#4c623d}#inventoryPage .cost-profit-rate{display:table-cell;background:#f1f5ec;white-space:nowrap;font-size:13px;font-weight:700;color:#4c623d}#inventoryPage table td:nth-child(10){background:#faf9f6}#inventoryPage table td:nth-child(10) .badge{padding:6px 9px;font-size:12px;font-weight:700;white-space:nowrap;color:#536b45;background:#e8efe3}#inventoryPage table td:nth-child(10) .badge.sold{color:#756d60;background:#eeeae2}#inventoryPage table td:nth-child(11){background:#f8f7f3}#inventoryPage .row-actions{gap:4px}#inventoryPage .row-actions .text-action{border-radius:5px;padding:5px 6px;background:#edf0e8;color:#586747;font-size:11px;font-weight:600;line-height:1.25}#inventoryPage .row-actions .text-action:hover{background:#dfe7d8}#inventoryPage .row-actions .text-action.danger{background:#f4eeea;color:#9b6d5e}#inventoryPage .row-actions .text-action.danger:hover{background:#eee0da}

#inventoryPage table td:nth-child(7),#inventoryPage table td:nth-child(10),#inventoryPage table td:nth-child(11){background:transparent}#inventoryPage .cost-profit-rate{background:transparent}#inventoryPage table td:nth-child(10) .badge{background:transparent}#inventoryPage table td:nth-child(10) .badge.sold{background:transparent}#inventoryPage .row-actions .text-action,#inventoryPage .row-actions .text-action.danger{background:transparent}#inventoryPage .row-actions .text-action:hover,#inventoryPage .row-actions .text-action.danger:hover{background:transparent}

/* Inventory status colors */
#inventoryPage table td:nth-child(10) .badge{color:#a44f45;background:transparent}#inventoryPage table td:nth-child(10) .badge.sold{color:#4f7a45;background:transparent}.status-highlight{border-left-color:#bd675c;background:transparent;color:#a44f45}.status-highlight small{color:#a44f45}.status-highlight.sold{border-left-color:#6f945c;background:transparent;color:#4f7a45}.status-highlight.sold small{color:#4f7a45}

/* Keep inventory controls within the available page width. */
#inventoryPage .toolbar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;width:100%;min-width:0}
#inventoryPage .toolbar .searchbox{grid-column:span 2;width:100%;min-width:0;max-width:none}
#inventoryPage .toolbar select{width:100%;min-width:0}
#inventoryPage .toolbar .toolbar-reset,#inventoryPage .toolbar #bulkFeeToggle{width:100%;min-width:0;padding-left:8px;padding-right:8px;white-space:nowrap}
#inventoryPage .bulk-fee-panel{display:grid;grid-template-columns:minmax(180px,1fr) repeat(3,minmax(110px,.7fr)) auto;align-items:end;gap:10px;max-width:100%}
#inventoryPage .bulk-fee-panel>div{min-width:0;margin-right:0}
#inventoryPage .bulk-fee-panel>div small{line-height:1.5}
#inventoryPage .bulk-fee-panel label{min-width:0}
#inventoryPage .bulk-fee-panel input{width:100%;min-width:0}
#inventoryPage .bulk-fee-panel.hidden{display:none}
#inventoryPage .table-wrap{max-width:100%;min-width:0}
#inventoryPage .product-cell .product-select{flex:0 0 15px;margin:0}
.permission-matrix .matrix-row{grid-template-columns:minmax(170px,1fr) repeat(5,minmax(66px,88px))}
@media(max-width:680px){.permission-matrix .matrix-row{grid-template-columns:minmax(115px,1fr) repeat(5,minmax(42px,1fr));padding-left:2px;padding-right:2px;font-size:9px}.permission-matrix .matrix-row span{overflow-wrap:anywhere;text-align:center}.permission-matrix .matrix-row span:first-child{text-align:left}}
@media(max-width:1050px){#inventoryPage .toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}#inventoryPage .toolbar .searchbox{grid-column:span 2}#inventoryPage .bulk-fee-panel{grid-template-columns:repeat(2,minmax(0,1fr))}#inventoryPage .bulk-fee-panel>div{grid-column:1/-1}}
@media(max-width:600px){#inventoryPage .toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}#inventoryPage .toolbar .searchbox{grid-column:1/-1}#inventoryPage .bulk-fee-panel{grid-template-columns:1fr}#inventoryPage .bulk-fee-panel>div{grid-column:auto}#inventoryPage .bulk-fee-panel .button{width:100%}}

.analytics-filter{display:flex;align-items:center;gap:9px;color:#85877d;font-size:11px}.analytics-filter select{height:36px;min-width:120px;padding:0 10px;background:#fff;border:1px solid var(--line);border-radius:7px;color:#62645a}.analytics-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.analytics-kpi,.analytics-card{background:#fff;border:1px solid var(--line);border-radius:10px}.analytics-kpi{padding:17px 18px;min-height:112px}.analytics-kpi small,.analytics-kpi span{display:block;color:#8c8e82;font-size:10px}.analytics-kpi strong{display:block;font:600 23px 'DM Sans','Noto Sans SC',sans-serif;color:#384331;margin:10px 0 5px}.analytics-kpi span{font-size:10px;line-height:1.5}.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.analytics-card{padding:19px 20px;min-width:0}.analytics-wide{grid-column:1/-1}.analytics-card-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.analytics-card-heading h2{font-size:14px;margin:0 0 6px;color:#45483e}.analytics-card-heading p{margin:0;color:#999a90;font-size:10px}.analytics-count{font-size:10px;color:#85877d;background:#f5f4ef;padding:6px 9px;border-radius:20px}.analytics-chart{min-height:185px}.trend-chart{height:165px;display:flex;align-items:stretch;gap:7px;border-bottom:1px solid #ebe9e1;padding:8px 2px 0;overflow-x:auto}.trend-column{min-width:38px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;color:#898b80}.trend-bars{height:119px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px}.trend-bars i{display:block;width:min(13px,35%);min-height:3px;border-radius:4px 4px 0 0}.trend-cost{background:#87916f}.trend-count{background:#d5b774}.trend-column b{font-size:9px;font-weight:500}.trend-column small{font-size:8px;white-space:nowrap}.trend-legend{display:flex;align-items:center;gap:15px;margin-top:12px;color:#8c8e82;font-size:9px}.trend-legend span{display:flex;align-items:center;gap:5px}.trend-legend i{width:8px;height:8px;border-radius:2px}.trend-cost-key{background:#87916f}.trend-count-key{background:#d5b774}.trend-legend .trend-total{margin-left:auto}.analytics-bars{display:grid;gap:14px}.analytics-bar-row{min-width:0}.analytics-bar-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.analytics-bar-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#62645a;font-size:10px}.analytics-bar-label b{white-space:nowrap;color:#96978d;font-size:9px;font-weight:400}.analytics-bar-track{height:6px;border-radius:8px;background:#f0efe9;overflow:hidden}.analytics-bar-track i{display:block;height:100%;border-radius:8px;background:#87916f}.analytics-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.analysis-metric{padding:12px;background:#f8f7f3;border-radius:7px}.analysis-metric b{display:block;color:#4f5b3d;font:600 20px 'DM Sans','Noto Sans SC',sans-serif;margin-bottom:5px}.analysis-metric span{color:#898b80;font-size:10px}.analysis-footnote{grid-column:1/-1;color:#a0a095;font-size:9px;line-height:1.7}.analytics-table-wrap{overflow-x:auto}.analytics-table{min-width:650px;width:100%;border-collapse:collapse;text-align:left}.analytics-table th{padding:10px 12px;background:#f8f7f3;color:#909187;font-size:9px}.analytics-table td{padding:11px 12px;border-bottom:1px solid #f0efe9;color:#686a60;font-size:10px}.analytics-table td:first-child b,.analytics-table td:first-child small{display:block}.analytics-table td:first-child b{color:#4f5148;font-size:10px}.analytics-table td:first-child small{color:#a0a095;margin-top:4px;font-size:9px}.analytics-empty{padding:30px 12px;text-align:center;color:#a0a095;font-size:10px}
@media(max-width:900px){.analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){#analyticsPage .page-heading{align-items:flex-start}.analytics-filter{flex-direction:column;align-items:flex-start;gap:5px}.analytics-filter select{min-width:100px;width:100%}.analytics-grid{grid-template-columns:1fr;gap:10px}.analytics-wide{grid-column:auto}.analytics-card{padding:15px}.analytics-kpis{gap:8px}.analytics-kpi{padding:13px;min-height:103px}.analytics-kpi strong{font-size:19px}.trend-legend{gap:9px;font-size:8px}}

.analytics-extension{margin-top:15px}.analytics-extension .analysis-metric b{margin:8px 0}.analytics-extension .analytics-table-wrap{max-height:340px;overflow:auto}.analytics-extension .analytics-table thead{position:sticky;top:0;z-index:1}
.detail-image-actions{display:flex;align-items:center;gap:10px;width:min(100%,900px);margin:-8px auto 16px}.detail-image-add{position:relative;display:inline-flex;align-items:center;overflow:hidden}.detail-image-add input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.detail-image-actions>span{color:#929388;font-size:11px}.detail-extra-photo{width:100%;max-width:900px;margin:0 auto 20px}.detail-extra-photo img{display:block;width:100%;height:auto;max-width:100%;border-radius:9px;background:#f1efe8}

.detail-price-highlight{display:flex;align-items:baseline;gap:12px;margin:4px 0 17px;padding-left:12px;border-left:3px solid var(--olive)}.detail-price-highlight small{font-size:12px;color:#838679}.detail-price-highlight strong{font:700 28px 'DM Sans','Noto Sans SC',sans-serif;letter-spacing:.01em;color:var(--olive-dark)}@media(max-width:680px){.detail-price-highlight{margin:2px 0 14px}.detail-price-highlight strong{font-size:25px}}
.bulk-fee-panel{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:-2px 0 14px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:9px}.bulk-fee-panel>div{display:flex;flex-direction:column;gap:5px;margin-right:auto}.bulk-fee-panel>div strong{font-size:12px;color:#4e5147}.bulk-fee-panel>div small{font-size:10px;color:#93958a}.bulk-fee-panel label{display:grid;gap:5px;font-size:10px;color:#7d7f73}.bulk-fee-panel input{width:125px;height:34px;border:1px solid var(--line);border-radius:6px;padding:0 9px;outline-color:#9aa487}.table-wrap input[type=checkbox],#selectPageProducts{width:15px;height:15px;accent-color:var(--olive);cursor:pointer}

.attention-product{display:flex;align-items:center;gap:12px}.attention-photo{display:grid;place-items:center;flex:none;width:80px;height:90px;padding:0;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#f8f7f3}.attention-photo img{display:block;width:100%;height:100%;object-fit:contain}.attention-photo span{font-size:10px;color:#999a90}.attention-photo:focus-visible{outline:2px solid var(--olive);outline-offset:2px}.attention-product>div{min-width:0}.attention-product b{white-space:normal;min-width:120px;max-width:260px;line-height:1.6}

#pagination{flex-wrap:wrap;gap:12px;padding:18px 0 8px;font-size:13px}#pagination .page-numbers{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;max-width:100%}#pagination .page-button{min-height:36px;font-size:13px}#pagination .page-number{min-width:36px;padding:7px 10px;font-variant-numeric:tabular-nums}#pagination .page-number[aria-current="page"]{background:var(--olive-dark);border-color:var(--olive-dark);color:#fff;font-weight:700}#pagination .page-number:focus-visible{outline:2px solid var(--olive);outline-offset:2px}#pagination .page-ellipsis{padding:0 3px;color:var(--muted)}#pagination #pageInfo,#pagination label{white-space:nowrap}@media(max-width:680px){#pagination{gap:8px}#pagination .page-numbers{gap:4px}#pagination .page-number{min-width:32px;padding:7px 8px}#pagination .page-button{font-size:12px}}

/* Live preparation */
#liveprepPage{max-width:1800px}.live-workspace{display:grid;grid-template-columns:215px minmax(0,1fr);gap:20px;align-items:start}.live-sessions{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.live-sessions-heading{display:flex;justify-content:space-between;padding:17px 15px;border-bottom:1px solid var(--line);font-size:12px}.live-sessions-heading span{color:var(--muted);font-size:11px}.live-session-list{max-height:70vh;overflow:auto;padding:6px}.live-session{display:flex;flex-direction:column;gap:8px;width:100%;text-align:left;border:1px solid transparent;border-radius:7px;background:transparent;padding:13px 10px;color:var(--ink);margin-bottom:4px}.live-session.selected{background:#edf2eb;border-color:#d5dfd0}.live-session:hover{background:#f5f6f0}.live-session small{font-size:10px;color:#85877b;line-height:1.6}.live-session b{font-size:13px;overflow-wrap:anywhere}.live-session>span{font-size:11px;color:#909283}.live-main{min-width:0}.live-session-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}.live-session-heading h2{font-size:22px;margin:10px 0}.live-session-heading p{font-size:12px;color:#898c7c;line-height:1.7;margin:6px 0}.live-session-heading .live-note{white-space:pre-wrap;overflow-wrap:anywhere;max-width:700px}.live-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.live-pill{display:inline-flex;padding:4px 9px;border-radius:20px;font-size:11px;background:#edeee6;color:#777d65}.live-pill.live{background:#e5efea;color:#126747}.live-pill.ended{background:#eeede8;color:#96968b}.live-pill.sold{background:#e7f1e9;color:#1b713e}.live-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:19px 0}.live-kpis article{border:1px solid var(--line);background:white;border-radius:8px;padding:14px;min-width:0}.live-kpis small{font-size:11px;color:#8a8c7e}.live-kpis strong{display:block;margin-top:9px;font-size:22px;font-weight:600;color:var(--olive-dark);overflow-wrap:anywhere}.live-kpis em{font-size:11px;font-style:normal;color:#969887}.live-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.live-guidance{font-size:11px;color:#949789;line-height:1.8;margin:13px 0 17px}.live-items{display:grid;gap:12px}.live-item{display:grid;grid-template-columns:105px minmax(170px,1fr) minmax(170px,1fr) 88px;align-items:start;gap:16px;border:1px solid var(--line);border-radius:10px;background:white;padding:17px}.live-item-sold{border-left:3px solid #69966c}.live-item-photo button{display:grid;place-items:center;background:#f8f7f3;border:1px solid var(--line);border-radius:7px;padding:0;width:100%;height:135px;overflow:hidden}.live-item-photo img{width:100%;height:100%;object-fit:contain}.live-item-photo button>span{font-size:11px;color:#a1a294}.live-item-photo>span{display:block;text-align:center;margin-top:9px;color:#929586;font-size:11px}.live-item h3{font-size:15px;line-height:1.6;margin:10px 0 7px;overflow-wrap:anywhere}.live-item-info>p{color:#8f9285;font-size:11px;line-height:1.8;margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.live-item-info .live-size{color:#656b5a;font-size:12px}.live-item-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.live-alert{color:#b06a40;font-size:10px;line-height:1.6}.live-price{display:flex;align-items:center;gap:8px;color:#7f8473;font-size:11px;margin:11px 0 6px}.live-price input{min-width:0;width:100px;border:1px solid var(--line);border-radius:6px;padding:7px 8px;font-size:16px;font-weight:600;color:var(--olive-dark);background:white;appearance:textfield;-moz-appearance:textfield}.live-price input::-webkit-inner-spin-button,.live-price input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.live-price input:disabled{border-color:transparent;opacity:1;padding-left:0}.live-cost{font-size:10px;color:#999d8e}.live-talking>label{display:grid;gap:8px;color:#7e8473;font-size:11px}.live-talking textarea{width:100%;border:1px solid var(--line);border-radius:7px;padding:10px;background:#fcfcf8;color:#5d6455;line-height:1.9;font-size:12px;resize:vertical;min-height:120px}.live-talking .live-ready{display:flex;gap:7px;align-items:center;margin-top:12px;font-size:11px}.live-ready input,.live-picker-card input{accent-color:var(--olive);width:16px;height:16px}.live-item-actions{display:flex;flex-direction:column;gap:7px}.live-item-actions .button{padding:8px 7px;font-size:11px}.live-order-buttons{display:flex;gap:6px}.live-order-buttons .button{flex:1}.live-item button:disabled{cursor:default;opacity:.45}.live-item-info .live-sale-record{color:#36834c;font-size:12px;margin-top:9px}.live-empty{background:white;border:1px dashed #dfe2d6;border-radius:10px;padding:65px 25px;text-align:center;color:#858d78}.live-empty>span{font-size:34px;color:#acb49b}.live-empty h2{font-size:20px;font-weight:500;margin:16px 0}.live-empty h3{font-size:16px;font-weight:500}.live-empty p{font-size:12px;line-height:1.9;margin:12px auto 22px;max-width:430px}.live-empty-small{font-size:12px;line-height:1.9;color:#969b89;padding:24px 15px}.live-host-view .live-item{grid-template-columns:160px minmax(160px,1fr) minmax(180px,1.3fr) 100px}.live-host-view .live-item-photo button{height:200px}.live-host-view .live-cost,.live-host-view .live-order-buttons,.live-host-view .live-talking .live-ready{display:none}.live-host-view .live-item h3{font-size:19px}.live-host-view .live-talking textarea{font-size:15px;min-height:170px;background:white}.live-host-view .live-price input{font-size:21px}.live-dialog{border:0;border-radius:12px;padding:25px;width:min(520px,calc(100% - 30px));max-height:88vh;overflow:auto;color:var(--ink);box-shadow:var(--shadow);background:#fff}.live-dialog::backdrop{background:#1a2d2566}.live-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.live-dialog-heading h2{font-size:18px;margin:0}.live-dialog-heading small{display:block;color:#939a87;font-size:11px;line-height:1.8;margin-top:7px}.live-dialog form>label,.live-form-grid>label{display:grid;gap:8px;margin-bottom:15px;font-size:12px;color:#7a816d}.live-dialog input:not([type=checkbox]),.live-dialog textarea,.live-dialog select{border:1px solid var(--line);border-radius:7px;padding:9px 11px;color:var(--ink);font-size:13px;min-width:0;background:white}.live-dialog textarea{resize:vertical}.live-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.live-dialog form>p{font-size:12px;line-height:1.8;white-space:pre-wrap}.live-picker-dialog{width:min(980px,calc(100% - 30px))}.live-picker-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin-bottom:17px}.live-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.live-picker-card{position:relative;display:flex;flex-direction:column;gap:6px;min-width:0;border:1px solid var(--line);border-radius:8px;padding:12px;cursor:pointer}.live-picker-card:has(input:checked){border-color:#82936c;background:#fafcf6}.live-picker-card>input{position:static;align-self:flex-start;flex:none;margin:0}.live-picker-photo{display:flex;align-items:center;justify-content:center;flex:0 0 220px;width:100%;height:220px;min-width:0;min-height:0;padding:8px;background:#f7f7f1;border-radius:5px}.live-picker-photo img{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center}.live-picker-photo span{font-size:11px;color:#a5a894}.live-picker-card>b{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.live-picker-card>small{font-size:10px;color:#929785;line-height:1.6;white-space:pre-wrap}.live-picker-card>strong{font-size:14px;color:var(--olive-dark)}.live-picker-card>span{font-size:10px;line-height:1.7;color:#8d947f}.live-picker-footer{position:sticky;bottom:-25px;background:white;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:16px 0 7px;margin-top:8px;font-size:12px;color:#919986}.live-dialog input:focus-visible,.live-dialog textarea:focus-visible,.live-price input:focus-visible,.live-talking textarea:focus-visible{outline:2px solid #9eae86;outline-offset:1px}
@media(max-width:1350px){.live-workspace{grid-template-columns:180px minmax(0,1fr);gap:15px}.live-item,.live-host-view .live-item{grid-template-columns:100px minmax(0,1fr) 88px;gap:13px}.live-talking{grid-column:2;grid-row:2}.live-item-actions{grid-column:3;grid-row:1/span 2}.live-host-view .live-item-photo button{height:145px}}
@media(max-width:850px){.live-workspace{grid-template-columns:minmax(0,1fr)}.live-session-list{display:flex;overflow:auto;max-height:180px;gap:6px}.live-session{flex:none;width:200px;margin-bottom:0}.live-kpis strong{font-size:20px}.live-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.live-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.live-kpis article{padding:12px}.live-session-heading{flex-direction:column}.live-session-heading h2{font-size:20px}.live-item,.live-host-view .live-item{grid-template-columns:85px minmax(0,1fr);padding:13px;gap:12px}.live-item-photo button{height:115px}.live-host-view .live-item-photo button{height:130px}.live-talking{grid-column:1/-1;grid-row:auto}.live-item-actions{grid-column:1/-1;grid-row:auto;flex-direction:row;align-items:center;justify-content:flex-end;flex-wrap:wrap}.live-order-buttons{margin-right:auto}.live-item-actions .button{padding:9px 11px}.live-price{flex-wrap:wrap}.live-talking textarea{min-height:90px}.live-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.live-picker-photo{height:180px;flex-basis:180px}.live-picker-card{padding:8px}.live-picker-filters{grid-template-columns:1fr 1fr}.live-picker-filters input{grid-column:1/-1}.live-form-grid{grid-template-columns:1fr;gap:0}.live-dialog{padding:20px}.live-picker-footer{bottom:-20px}.live-picker-footer .button{padding:9px 10px;font-size:11px}.live-host-view .live-item h3{font-size:17px}.live-host-view .live-talking textarea{font-size:14px;min-height:120px}}

#purchaseTrend .trend-chart{height:200px;padding-top:10px;padding-bottom:6px}#purchaseTrend .trend-column{min-width:78px;flex-shrink:0}#purchaseTrend .trend-amount{font-size:11px;font-weight:600;color:var(--olive-dark);white-space:nowrap;font-variant-numeric:tabular-nums}#purchaseTrend .trend-bars{flex:none;height:125px}

.sales-analysis{margin-top:30px;padding-top:26px;border-top:1px solid var(--line)}.sales-analysis>.page-heading{margin-bottom:16px}.sales-analysis>.page-heading h2{margin:0;font-size:23px;font-weight:600}.sales-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.sales-controls label{display:grid;gap:6px;color:#85877d;font-size:11px}.sales-controls select{min-width:150px;max-width:240px;height:36px;border:1px solid var(--line);border-radius:7px;background:white;padding:0 10px;color:var(--ink)}.sales-basis{font-size:11px;line-height:1.9;color:#818576;margin:15px 0}.sales-scroll{max-height:430px;overflow:auto}.sales-analysis .analytics-table thead{position:sticky;top:0;z-index:1}.sales-analysis .analytics-table td small{display:block;color:#a0a095;font-size:9px;margin-top:4px}.sales-analysis .analysis-metric b{margin:8px 0}.sales-analysis .analytics-bar-label{flex-wrap:wrap}.sales-analysis .analytics-bar-label b{white-space:normal;line-height:1.7}.sales-loss{color:#b24e43!important;font-weight:600}@media(max-width:680px){.sales-controls label{flex:1;min-width:125px}.sales-controls select{min-width:0;max-width:none;width:100%}.sales-controls .button{width:100%}}

.live-picker-dialog{width:min(1120px,calc(100% - 30px))}.live-picker-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.live-picker-filter-form label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:11px;color:#808674}.live-picker-filter-grid input,.live-picker-filter-grid select{width:100%;max-width:100%;min-width:0}.live-picker-filter-form .live-filter-search{grid-column:1/-1}.live-filter-range{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px}.live-filter-range>span{font-size:10px;color:#a4a995}.live-picker-advanced{border:1px solid var(--line);border-radius:8px;margin-top:14px;padding:12px 14px}.live-picker-advanced summary{cursor:pointer;font-size:12px;color:#5f6d52;line-height:1.7}.live-picker-filter-group{margin-top:18px;padding-top:12px;border-top:1px solid var(--line)}.live-picker-filter-group h3{font-size:12px;font-weight:600;color:#717b62;margin:0 0 13px}.live-picker-filter-group p{font-size:10px;line-height:1.8;color:#979d8a;margin:12px 0 0}.live-picker-sort-row{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:15px}.live-picker-sort-row label:first-child{flex:1;min-width:190px}.live-picker-sort-row label select{width:100%}.live-picker-presets{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:16px}.live-picker-presets>span{color:#949b85;font-size:10px;margin-right:4px}.live-picker-presets button{border:1px solid #e1e6d8;background:#f7faf1;color:#71805c;border-radius:20px;padding:5px 9px;font-size:10px;line-height:1.6}.live-picker-presets button:hover{background:#eaf1df}.live-picker-filter-status{font-size:11px;color:#8c9581;line-height:1.8;margin:12px 0}.live-picker-footer{flex-wrap:wrap;gap:9px}.live-picker-footer>.live-actions{margin-left:auto}.live-picker-footer>.live-actions .button{font-size:11px;padding:9px 11px}.live-picker-dialog .live-picker-card>small{line-height:1.8}.live-picker-grid>.live-empty-small{grid-column:1/-1}
@media(max-width:850px){.live-picker-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.live-picker-dialog{width:calc(100% - 20px);padding:16px}.live-picker-filter-grid{gap:10px}.live-picker-advanced{padding:10px}.live-filter-range{gap:4px}.live-picker-filter-grid .live-filter-range input{padding:8px 5px;font-size:12px}.live-picker-sort-row{gap:8px}.live-picker-sort-row label:first-child{min-width:145px}.live-picker-sort-row>.button{flex-basis:100%}.live-picker-footer{bottom:-16px}.live-picker-footer>.live-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;margin:0}.live-picker-footer>.live-actions .button{padding:9px 5px}.live-picker-footer #livePickerCount{font-size:11px}.live-picker-presets>span{flex-basis:100%}}

.live-export-options{display:grid;gap:13px;margin:18px 0}.live-export-options label{display:flex;align-items:center;gap:9px;font-size:12px;color:#6d775f;line-height:1.7}.live-export-options input{width:16px;height:16px;accent-color:var(--olive);flex:none}.live-export-options input:disabled{opacity:.5}

.live-financial-summary{padding:16px;margin:0 0 18px;background:#fff;border:1px solid var(--line);border-radius:9px}.live-summary-heading{margin-bottom:13px}.live-summary-heading h3{font-size:14px;margin:0 0 7px;color:var(--olive-dark)}.live-summary-heading>small{font-size:10px;line-height:1.8;color:#909781;display:block}.live-financial-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.live-financial-cards article{min-width:0;padding:11px 12px;border:1px solid var(--line);border-radius:7px}.live-financial-cards article>small{font-size:11px;color:#808973;display:block}.live-financial-cards article>strong{display:block;color:var(--olive-dark);font-size:21px;margin:8px 0 5px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.live-financial-cards article>span{display:block;font-size:9px;color:#9bA18e;line-height:1.7}.live-summary-note{font-size:10px;line-height:1.9;color:#949b87;margin:13px 0 0}.live-picker-summary{margin:13px 0 10px}.live-picker-projection{font-size:11px;line-height:1.9;color:#6d7e57;margin:10px 0 15px}@media(max-width:1100px){.live-financial-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.live-financial-summary{padding:12px}.live-financial-cards{gap:7px}.live-financial-cards article{padding:10px}.live-financial-cards article>strong{font-size:18px}}

.live-picker-summary>.live-financial-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.live-summary-details{margin-top:12px}.live-summary-details summary{font-size:11px;color:#7d896c;cursor:pointer;line-height:1.9}.live-summary-details>.live-financial-cards{margin-top:12px}.live-picker-footer #livePickerCount{line-height:1.9;flex:1 1 100%;font-variant-numeric:tabular-nums}@media(max-width:600px){.live-picker-summary>.live-financial-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.live-picker-summary>.live-financial-cards article:last-child:nth-child(3){grid-column:1/-1}.live-summary-details summary{font-size:10px}}

.inventory-filter-panel{background:#fff;border:1px solid var(--line);border-radius:9px;padding:17px;margin-bottom:13px}.inventory-filter-grid{display:grid;gap:12px;grid-template-columns:repeat(6,minmax(0,1fr))}.inventory-filter-panel label{display:flex;flex-direction:column;gap:7px;min-width:0;color:#828975;font-size:11px}.inventory-filter-panel input,.inventory-filter-panel select{border:1px solid var(--line);border-radius:6px;padding:8px 9px;height:36px;width:100%;min-width:0;background:#fff;color:#5d6651;font-size:12px}.inventory-filter-panel input:focus-visible,.inventory-filter-panel select:focus-visible{outline:2px solid #acb99a;outline-offset:1px}.inventory-filter-search{grid-column:span 2}.inventory-filter-range{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:5px}.inventory-filter-range>span{color:#a3aa96;font-size:10px}.inventory-filter-range input{padding-left:6px;padding-right:4px}.inventory-more-filters{margin-top:15px;padding-top:12px;border-top:1px solid var(--line)}.inventory-more-filters summary{cursor:pointer;font-size:12px;color:#667657;line-height:1.8}.inventory-advanced-filters{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:15px}.inventory-filter-help{font-size:10px;color:#929b83;line-height:1.9;margin:13px 0 0}.inventory-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;margin-top:15px}.inventory-presets{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.inventory-presets>span{font-size:10px;color:#959d88}.inventory-presets button,.inventory-filter-chips button{border:1px solid #e1e7d8;background:#f8faf4;color:#748462;border-radius:20px;padding:5px 9px;font-size:10px;line-height:1.6}.inventory-presets button:hover,.inventory-filter-chips button:hover{background:#eaf0e0}.inventory-filter-status{font-size:11px;color:#939b86;line-height:1.8;margin:12px 0 0}.inventory-filter-status.inventory-filter-error{color:#ae6044}.inventory-filter-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.inventory-filter-chips:empty{display:none}.inventory-filter-chips button{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left}.inventory-filter-chips button>span{font-size:13px;margin-left:5px}.inventory-bulk-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:13px}.inventory-bulk-actions .button{font-size:12px;padding:9px 12px}.inventory-bulk-actions:not(:has(.button:not(.hidden))){display:none}
@media(max-width:1250px){.inventory-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-advanced-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.inventory-filter-grid,.inventory-advanced-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-filter-search{grid-column:1/-1}.inventory-filter-panel{padding:13px}.inventory-filter-actions #resetFilters{width:100%}.inventory-filter-grid{gap:10px}}
@media(max-width:420px){.inventory-filter-grid input,.inventory-filter-grid select{font-size:11px}.inventory-filter-panel{padding:11px}.inventory-filter-range{gap:3px}.inventory-filter-range input{padding-left:4px;padding-right:2px}}

/* Unified classification columns follow the brand column. */
#inventoryPage table th:nth-child(n),#inventoryPage table td:nth-child(n){min-width:0;max-width:none;position:static;right:auto;box-shadow:none}#inventoryPage table th:nth-child(1),#inventoryPage table td:nth-child(1){width:17%}#inventoryPage table th:nth-child(2),#inventoryPage table td:nth-child(2){width:6%}#inventoryPage table th:nth-child(3),#inventoryPage table td:nth-child(3){width:7%}#inventoryPage table th:nth-child(4),#inventoryPage table td:nth-child(4){width:8%}#inventoryPage table th:nth-child(5),#inventoryPage table td:nth-child(5){width:9%}#inventoryPage table th:nth-child(6),#inventoryPage table td:nth-child(6){width:11%}#inventoryPage table th:nth-child(7),#inventoryPage table td:nth-child(7){width:6%}#inventoryPage table th:nth-child(8),#inventoryPage table td:nth-child(8){width:10%}#inventoryPage table th:nth-child(9),#inventoryPage table td:nth-child(9){width:13%}#inventoryPage table th:nth-child(10),#inventoryPage table td:nth-child(10){width:6%}#inventoryPage table th:nth-child(11),#inventoryPage table td:nth-child(11){width:7%}
#inventoryPage .taxonomy-select{display:block;width:100%;min-width:0;max-width:100%;border:1px solid var(--line);border-radius:5px;background:#fff;padding:7px 2px;font-size:12px;color:#59694c;font-weight:500}#inventoryPage .taxonomy-select:disabled{opacity:1;color:#929985;background:transparent;border-color:transparent}#inventoryPage .taxonomy-select.taxonomy-pending{color:#a77b42}#inventoryPage .taxonomy-select:focus-visible{outline:2px solid #9eae86;outline-offset:1px}.detail-taxonomy{display:flex;flex-wrap:wrap;gap:18px;padding:10px 0 17px}.detail-taxonomy small{display:block;color:#919884;font-size:11px;margin-bottom:7px}.detail-taxonomy b{font-size:14px;color:var(--olive-dark)}@media(max-width:1100px){#inventoryPage .table-wrap table{min-width:1200px}}

.sku-progress{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;font-size:12px;color:#7d896c}.sku-progress>small{flex-basis:100%;font-size:11px;color:#949d86}.sku-progress label{display:flex;align-items:center;gap:6px;cursor:pointer;line-height:1.7}.sku-progress input{accent-color:var(--olive);width:16px;height:16px;flex:none;margin:0}.sku-progress input:disabled{opacity:.65}.sku-progress label:has(input:checked){color:#487344}.sku-progress-compact{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;margin-top:8px}.sku-progress-compact label{font-size:10px;gap:5px}.sku-progress-compact>small{font-size:9px}.sku-progress-compact input{width:13px!important;height:13px!important}#inventoryPage .product-cell:has(.sku-progress){align-items:flex-start}#assistantPage{max-width:1600px}.assistant-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:18px}.assistant-stats article{border:1px solid var(--line);border-radius:8px;background:white;padding:16px}.assistant-stats small{font-size:11px;color:#879079}.assistant-stats strong{display:block;font-size:25px;color:var(--olive-dark);margin:9px 0}.assistant-stats article>span{font-size:9px;color:#a0a68f}.assistant-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;border:1px solid var(--line);border-radius:9px;background:white;padding:16px}.assistant-filters label{display:grid;gap:7px;min-width:0;color:#88927b;font-size:11px}.assistant-filters input,.assistant-filters select{width:100%;min-width:0;border:1px solid var(--line);border-radius:6px;padding:9px 10px;background:white;color:#5b694b;font-size:12px}.assistant-search{grid-column:span 2}.assistant-result{font-size:11px;color:#949d85;margin:15px 0;line-height:1.9}.assistant-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.assistant-card{min-width:0;background:white;border:1px solid var(--line);border-radius:10px;padding:19px}.assistant-card-heading{display:flex;gap:15px;align-items:start;margin-bottom:18px}.assistant-photo{display:grid;place-items:center;width:100px;height:132px;flex:none;border:1px solid var(--line);border-radius:7px;padding:5px;background:#f8f8f2;overflow:hidden;color:#a3a98f;font-size:11px}.assistant-photo img{width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.assistant-card-heading>div{min-width:0}.assistant-card h2{font-size:16px;line-height:1.7;overflow-wrap:anywhere;margin:0 0 7px}.assistant-card-heading p{font-size:12px;color:#879175;line-height:1.8;overflow-wrap:anywhere;margin:5px 0}.assistant-card-heading small{display:block;font-size:10px;color:#a0a68f;line-height:1.8}.assistant-card-heading .text-action{font-size:11px;margin-top:8px;padding-left:0}.assistant-classification{display:grid;grid-template-columns:1fr 1fr;gap:13px}.assistant-card form label{display:grid;gap:7px;font-size:11px;color:#7b876b;min-width:0}.assistant-card select,.assistant-card textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--line);border-radius:6px;background:white;padding:9px 10px;color:#56654a;font-size:13px}.assistant-card textarea{line-height:1.9;resize:vertical;min-height:95px;white-space:pre-wrap}.assistant-card .assistant-size{margin-top:13px}.assistant-save-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 17px}.assistant-save-row small{font-size:10px;color:#a0a68f}.assistant-save-row>div{display:flex;gap:7px}.assistant-save-row .button{font-size:11px;padding:8px 11px}.assistant-card>.sku-progress{border-top:1px solid var(--line);padding-top:13px}.assistant-progress-bar{height:5px;border-radius:8px;background:#f0f2e9;margin-top:14px;overflow:hidden}.assistant-progress-bar>i{display:block;height:100%;background:#84996c;transition:width .15s}.assistant-data-note{font-size:10px;color:#ad8253;line-height:1.8;margin:10px 0 0}.assistant-empty{grid-column:1/-1;text-align:center;color:#9ba58c;background:white;border:1px dashed var(--line);border-radius:9px;padding:50px 20px;font-size:12px;line-height:1.9}.assistant-card :is(input,select,textarea):focus-visible,.assistant-filters :is(input,select):focus-visible{outline:2px solid #a4b48c;outline-offset:1px}.assistant-card button:disabled{opacity:.5;cursor:default}
@media(max-width:1150px){.assistant-list{grid-template-columns:1fr}.assistant-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.assistant-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.assistant-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.assistant-stats article{padding:12px}.assistant-stats strong{font-size:22px}.assistant-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px;gap:10px}.assistant-search{grid-column:1/-1}.assistant-card{padding:14px}.assistant-photo{width:85px;height:115px}.assistant-card-heading{gap:12px}.assistant-card h2{font-size:15px}.assistant-classification{gap:10px}.assistant-card .sku-progress{gap:10px;font-size:11px}.assistant-save-row>div{margin-left:auto}}
/* Five-step preparation progress: keep every checkbox readable on desktop and phone. */
.sku-progress-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 9px}
.sku-progress-compact>small{grid-column:1/-1}
.assistant-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.assistant-card>.sku-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 10px}
.assistant-card>.sku-progress>small{grid-column:1/-1}
@media(max-width:1000px){.assistant-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.assistant-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.assistant-card>.sku-progress{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.assistant-card>.sku-progress>small{grid-column:1/-1}#inventoryPage .sku-progress-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}

.role-access-note{margin:18px 20px;color:#879175;font-size:11px;line-height:1.9}.role-access-note:empty{display:none}

/* Shared workspace status stays available in every job workspace. */
.workspace-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:20px 30px 0;padding:16px 18px;border:1px solid var(--line);border-radius:9px;background:#fff}.workspace-status>div:first-child{flex:1 1 260px;min-width:0}.workspace-status strong{display:block;color:var(--olive-dark);font-size:13px;margin-bottom:7px}.workspace-status span,.workspace-status small{display:block;line-height:1.85;font-size:12px;color:#7b866e;overflow-wrap:anywhere}.workspace-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.workspace-actions .button{font-size:11px;padding:9px 11px}.workspace-actions button:disabled{opacity:.55;cursor:wait}.workspace-problem{border-color:#c6ae7d}.workspace-problem span{color:#947138}.workspace-progress{margin:10px 30px 0;font-size:12px;color:#667957;line-height:1.9}.workspace-progress:empty{display:none}@media(max-width:680px){.workspace-status{margin:14px 12px 0;padding:13px;gap:11px}.workspace-actions{width:100%}.workspace-actions .button{flex:1 1 135px}.workspace-progress{margin:10px 16px 0}}

/* Phone and tablet inventory. Card layout uses the column labels shared with the table. */
.inventory-selection-tools,.inventory-mobile-filter-toggle,.inventory-card-actions,.inventory-card-brand,.inventory-card-summary,.mobile-nav-backdrop{display:none}

@media(max-width:1000px){
  .app-shell{--mobile-topbar-height:calc(56px + env(safe-area-inset-top));min-width:0}
  .main{width:100%;min-width:0;margin-left:0}
  .sidebar{
    width:min(290px,calc(100vw - 48px));padding:calc(20px + env(safe-area-inset-top)) 16px 16px;
    overflow:auto;overscroll-behavior:contain;z-index:9;visibility:hidden;
    transform:translateX(-100%);transition:transform .2s,visibility .2s;
  }
  .sidebar.open{visibility:visible;transform:translateX(0)}
  .sidebar .nav-item{min-height:46px;font-size:15px}
  .mobile-nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:8;border:0;background:#20282069}
  .topbar{
    position:sticky;top:0;z-index:6;height:var(--mobile-topbar-height);min-height:0;
    padding:env(safe-area-inset-top) 12px 0;gap:8px;background:var(--paper)
  }
  .mobile-menu{display:grid;place-items:center;width:44px;height:44px;flex:none;padding:0;font-size:22px;color:var(--olive-dark)}
  .breadcrumbs{flex:1;min-width:0;margin:0;font-size:13px;overflow-wrap:anywhere}
  .breadcrumbs span{margin:0 4px}
  .top-actions{flex:none;gap:7px}
  .role-switch{font-size:0;gap:0}
  .role-switch select{max-width:96px;font-size:16px;min-height:38px;padding:4px}
  .avatar{display:none}

  #inventoryPage.page{width:100%;max-width:100%;margin:0;padding:16px 12px 28px}
  #inventoryPage .page-heading{align-items:center;gap:10px;margin-bottom:12px}
  #inventoryPage .page-heading .eyebrow,#inventoryPage .page-heading p{display:none}
  #inventoryPage .page-heading h1{font-size:23px}
  #inventoryPage .page-heading>.button{flex:none;min-height:44px;padding:9px 12px;font-size:13px}
  #inventoryPage .stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}
  #inventoryPage .stat-card{min-width:0;min-height:0;padding:8px}
  #inventoryPage .stat-card>span{font-size:11px}
  #inventoryPage .stat-card strong{font-size:18px;line-height:1.25;overflow-wrap:anywhere;margin:4px 0 0}
  #inventoryPage .stat-card:last-child strong{font-size:clamp(12px,3.7vw,17px)}
  #inventoryPage .stat-card small{display:none}

  #inventoryPage .inventory-filter-panel{padding:10px;min-width:0}
  #inventoryPage .inventory-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #inventoryPage .inventory-filter-panel label{font-size:12px}
  #inventoryPage .inventory-filter-panel :is(input,select){font-size:16px;min-height:44px;height:auto;max-width:100%}
  #inventoryPage .inventory-filter-search{grid-column:1/-1}
  #inventoryPage .inventory-filter-panel:not(.mobile-filters-expanded) .inventory-primary-filters>label:not(.inventory-filter-search),
  #inventoryPage .inventory-filter-panel:not(.mobile-filters-expanded) .inventory-more-filters,
  #inventoryPage .inventory-filter-panel:not(.mobile-filters-expanded) .inventory-presets{display:none}
  #inventoryPage .inventory-mobile-filter-toggle{display:block}
  #inventoryPage .inventory-filter-actions{gap:8px;margin-top:8px}
  #inventoryPage .inventory-filter-actions :is(.inventory-mobile-filter-toggle,#resetFilters){flex:1 1 120px;width:auto;min-width:0;min-height:44px;font-size:13px}
  #inventoryPage .inventory-presets{flex-basis:100%;order:2;min-width:0}
  #inventoryPage .inventory-presets button{min-height:40px;font-size:12px}
  #inventoryPage .inventory-filter-status{font-size:12px;overflow-wrap:anywhere}
  #inventoryPage .inventory-filter-chips,#inventoryPage .inventory-bulk-actions{min-width:0}
  #inventoryPage .inventory-bulk-actions:not(.has-selection){display:none}
  #inventoryPage .inventory-bulk-actions .button{flex:1 1 125px;min-width:0;min-height:44px;font-size:12px;white-space:normal}
  #inventoryPage .inventory-selection-tools{display:flex;align-items:center;margin:6px 0;color:var(--olive-dark);font-size:13px}
  #inventoryPage .inventory-selection-tools label{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}
  #inventoryPage .inventory-selection-tools input{width:22px;height:22px;margin:0;accent-color:var(--olive)}

  #inventoryPage .table-wrap{width:100%;min-width:0;margin:0;border:0;background:transparent;overflow:visible;scroll-margin-top:calc(var(--mobile-topbar-height) + 8px)}
  #inventoryPage .table-wrap table{display:block;position:relative;width:100%;min-width:0;max-width:100%}
  #inventoryPage table thead{display:none}
  #inventoryPage table tbody{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;min-width:0}
  #inventoryPage table tbody tr{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;
    min-width:0;padding:12px;background:#fff;border:1px solid var(--line);border-radius:12px;
  }
  #inventoryPage table tbody td[data-label]{
    display:block;position:static;order:3;width:auto;min-width:0;max-width:none;padding:0;
    border:0;background:transparent;box-shadow:none;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.5;
  }
  #inventoryPage table td[data-label]::before{content:attr(data-label);display:block;margin-bottom:3px;color:#686e60;font-size:11px;font-weight:400}
  #inventoryPage table td:is([data-label="商品"],[data-label="尺码"],[data-label="描述"],[data-label="操作"]){grid-column:1/-1}
  #inventoryPage table td[data-label="商品"]{order:0}
  #inventoryPage table tbody td:is([data-label="售价"],[data-label="状态"]){display:none}
  #inventoryPage table td[data-label="操作"]{order:4;border-top:1px solid var(--line);padding-top:8px}
  #inventoryPage table td:is([data-label="商品"],[data-label="操作"])::before{display:none}
  #inventoryPage table tr:not(.inventory-card-expanded) td:not(:is([data-label="商品"],[data-label="操作"])),
  #inventoryPage table tr:not(.inventory-card-expanded) :is(.sku-progress-compact,.row-actions){display:none}
  #inventoryPage table .row-actions:empty{display:none}
  #inventoryPage .inventory-card-actions,#inventoryPage .row-actions{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
  #inventoryPage .inventory-card-expanded .row-actions{margin-top:6px}
  #inventoryPage .inventory-card-actions .button,#inventoryPage .row-actions .text-action{
    flex:1 1 78px;min-width:0;min-height:44px;padding:7px 5px;
    border:1px solid var(--line);border-radius:7px;font-size:13px;text-align:center;white-space:normal;
  }
  #inventoryPage .inventory-card-actions [data-detail]{background:#edf1e8;color:var(--olive-dark);font-weight:600}
  #inventoryPage .product-cell{display:grid;position:relative;grid-template-columns:clamp(110px,39vw,174px) minmax(0,1fr);align-items:start;gap:10px;min-width:0}
  #inventoryPage .product-cell .product-select{position:absolute;top:5px;left:5px;z-index:1;width:23px;height:23px;margin:0;accent-color:var(--olive)}
  #inventoryPage .product-thumb-button{
    position:relative;align-self:stretch;width:100%;height:auto;min-height:clamp(148px,48vw,215px);
    background:#f7f6f2;
  }
  #inventoryPage .product-thumb{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}
  #inventoryPage .product-title{width:100%;min-width:0}
  #inventoryPage .product-title small{max-width:100%;margin-top:3px;font-size:12px;color:#686e60;white-space:normal;overflow-wrap:anywhere}
  #inventoryPage .inventory-card-brand{display:block;font-weight:600}
  #inventoryPage .inventory-card-summary{display:grid;justify-items:start;gap:4px;margin-top:8px}
  #inventoryPage .inventory-card-price{width:100%;min-width:0}
  #inventoryPage .inventory-card-price>span{display:block;color:#686e60;font-size:11px}
  #inventoryPage .quick-cell{width:100%;min-width:0;max-width:100%;gap:2px;background:transparent;padding:0}
  #inventoryPage .quick-value{font-size:14px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
  #inventoryPage .quick-value-name{font-size:16px;font-weight:650;color:var(--ink)}
  #inventoryPage tr:not(.inventory-card-expanded) :is(.quick-value-name,.inventory-card-code){
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
  }
  #inventoryPage .quick-cell-price .quick-value-price{font-size:20px;font-weight:700;color:var(--olive-dark)}
  #inventoryPage .quick-pencil{flex:0 0 36px;width:36px;height:44px;margin:0;padding:0;font-size:19px}
  #inventoryPage :is(.quick-edit,.taxonomy-select){width:100%;min-width:0;max-width:100%;min-height:44px;height:auto;padding:7px;font-size:16px}
  #inventoryPage :is(.quick-size,.quick-description){min-height:80px;white-space:pre-wrap}
  #inventoryPage .badge{padding:5px 9px;font-size:12px;white-space:normal}
  #inventoryPage .sku-progress-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:8px}
  #inventoryPage .sku-progress-compact label{min-width:0;min-height:36px;font-size:11px;white-space:normal}
  #inventoryPage .sku-progress-compact input{width:18px!important;height:18px!important}
  #inventoryPage .table-footer{gap:8px;font-size:12px}
  #inventoryPage #pagination{min-width:0;gap:8px;padding-top:10px}
  #inventoryPage #pagination .page-numbers{order:3;flex-basis:100%;min-width:0;gap:4px}
  #inventoryPage #pagination .page-button{min-width:36px;min-height:44px;font-size:13px}
  #inventoryPage #pagination #pageInfo{order:4}
  #inventoryPage #pagination label{order:5;max-width:100%}
  #inventoryPage #pagination select{min-height:44px;font-size:16px}
}

@media(min-width:650px) and (max-width:1000px){
  #inventoryPage table tbody{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
}

/* Monthly sales: all horizontal overflow stays inside each detail table. */
.sales-monthly{margin:24px 0 28px;min-width:0}
.sales-monthly-heading{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:16px}
.sales-monthly-heading h3{margin:0 0 8px;font-size:20px;font-weight:600;color:var(--ink)}
.sales-monthly-heading p{margin:0;color:#818576;font-size:11px;line-height:1.8}
.sales-monthly .analytics-kpi strong{overflow-wrap:anywhere}
.sales-month-legend{display:flex;flex-wrap:wrap;gap:18px;margin-bottom:16px;font-size:11px;color:#73796c}
.sales-month-legend span{display:flex;align-items:center;gap:7px}
.sales-month-legend i{width:12px;height:9px;border-radius:2px;display:inline-block}
.sales-month-actual{background:#366453}
.sales-month-estimated{background:#bca468}
.sales-month-trend{display:grid;gap:7px}
.sales-month-row{display:grid;grid-template-columns:66px minmax(0,1fr);align-items:center;gap:12px;width:100%;padding:10px 8px;border:1px solid transparent;border-radius:7px;background:none;text-align:left;font:inherit;cursor:pointer;min-width:0}
.sales-month-row:hover,.sales-month-row.is-selected{border-color:#93ab9e}
.sales-month-row:focus-visible{outline:2px solid #366453;outline-offset:2px}
.sales-month-label{font-size:13px;color:#425448;font-weight:600}
.sales-month-label small{display:block;margin-top:5px;font-size:10px;font-weight:400;color:#85877d}
.sales-month-plot{display:grid;gap:8px;min-width:0}
.sales-month-value{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#365443;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.sales-month-value small{font-size:11px;color:#85877d;font-weight:400}
.sales-month-track{display:flex;width:100%;height:9px;background:#f0efe9;border-radius:5px;overflow:hidden}
.sales-month-track i{height:100%;display:block;flex-shrink:0}
.sales-monthly .sales-month-breakdown{min-width:390px}
.sales-monthly .sales-month-table{min-width:1240px}
.sales-month-table td,.sales-month-table th{white-space:nowrap}
.sales-month-selected td:first-child{box-shadow:inset 3px 0 #366453}
.sales-month-table .text-action{font-size:12px;cursor:pointer}
.sales-month-undated{font-size:11px;color:#818576;line-height:1.9;margin:14px 0 0;overflow-wrap:anywhere}
.preview-review-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0;padding:12px 14px;border:1px solid #ecebe3;border-radius:8px;background:#faf9f6}
.import-batch-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex-basis:100%;padding-bottom:8px;border-bottom:1px solid #ecebe3;color:#62675c;font-size:11px}
.import-batch-tools label{display:flex;align-items:center;gap:6px}
.import-batch-tools input,.import-row-select{width:15px;height:15px;accent-color:#526f54;cursor:pointer}
.import-batch-tools button{cursor:pointer}
.import-row-select:disabled{cursor:not-allowed;opacity:.35}
.review-chip{display:inline-flex;padding:5px 9px;border-radius:20px;background:#edf2e9;color:#5e7051;font-size:10px}
.review-chip:first-child{background:#f4eee2;color:#8a6e3f}
.preview-review-summary small{color:#919287;font-size:10px}
.preview-pagination{display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 0 2px;color:#838579;font-size:11px}
.preview-pagination button{padding:7px 12px}
.preview-pagination button:disabled{opacity:.45;cursor:not-allowed}
.import-card-primary{border-color:#dbe2d2;box-shadow:0 8px 24px #39452c0a}
.import-source-links{display:flex;gap:18px;flex-wrap:wrap;margin-top:13px}
.import-source-links a{font-size:11px;color:var(--olive-dark);text-decoration:none;border-bottom:1px solid #bbc3ae;padding-bottom:2px}
.import-safety-note{color:#8a6e3f!important;background:#f7f2e8;border-radius:6px;padding:9px 11px}
.import-thumb-stack{display:flex;align-items:center;gap:4px;min-width:90px;flex-wrap:wrap}
.import-thumb-stack>small{font-size:9px;color:#888}
.import-image-actions{display:flex;gap:6px;align-items:center}
.import-file-action{cursor:pointer;color:#798365;font-size:10px}
.import-file-action input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.import-check{display:flex;align-items:flex-start;gap:6px;white-space:normal;min-width:170px;line-height:1.5;color:#64665d;font-size:10px}
.import-check input{margin:1px 0 0;flex:none}
.import-missing{display:block!important;min-width:190px;color:#a55446!important;line-height:1.5;margin-top:7px}
.import-match-evidence{display:block!important;min-width:190px;white-space:normal;color:#687853!important;line-height:1.5;margin-top:7px}
.review-chip-alert{background:#f6eae6;color:#945d50}
.preview-table table{min-width:1180px}
.preview-table td{white-space:normal;vertical-align:middle;line-height:1.65}
.preview-table td small{color:#93958a;font-size:9px}
.preview-table td select{display:block;max-width:220px;margin-top:5px;padding:6px;border:1px solid var(--line);border-radius:5px;background:#fff;color:#57594f;font-size:10px}
.preview-table td .import-image-source{max-width:135px}
.preview-table td .import-image-review{max-width:190px}
.preview-table td .import-decision{min-width:190px}
.import-candidates{margin:7px 0;min-width:230px;max-width:420px;color:#59634d;font-size:10px;white-space:normal}
.import-candidates summary{cursor:pointer;color:#536c4d;font-weight:600;padding:3px 0}
.import-candidates ul{margin:5px 0;padding:8px 10px 8px 24px;background:#f7f8f3;border:1px solid #e6e9df;border-radius:6px}
.import-candidates li{padding:5px 0;line-height:1.55;white-space:normal}
.import-candidates li+li{border-top:1px solid #e8eadf}
.import-candidates li b{color:#353a30;font-size:10px}
.import-candidates li small{display:inline;color:#777b70;font-size:9px!important}
@media(max-width:680px){.preview-review-summary{gap:6px}.preview-review-summary small{flex-basis:100%;line-height:1.6}.preview-footer{align-items:flex-start;gap:12px;flex-direction:column}.preview-footer>div{width:100%}.preview-footer>div button{flex:1}}
@media(max-width:680px){
 .sales-monthly-heading{display:block}
 .sales-monthly-heading .sales-controls{margin-top:14px;width:100%;gap:10px}
 .sales-monthly-heading .sales-controls label{min-width:0}
 .sales-month-row{grid-template-columns:47px minmax(0,1fr);gap:6px;padding:10px 4px}
 .sales-month-value{display:grid;gap:4px;font-size:15px}
 .sales-month-value small{font-size:10px;line-height:1.6}
 .sales-month-legend{gap:12px;font-size:10px}
}

/* New request book review: use the available window and keep the item list readable. */
#importsPage{width:100%;max-width:none;padding:30px clamp(18px,2.3vw,42px) 48px}
#importPreview{padding:26px}
#importPreview .preview-table{min-height:320px;max-height:min(68vh,900px);overflow:auto;overscroll-behavior:contain}
#importPreview .preview-table table{min-width:1450px}
#importPreview .preview-table th,#importPreview .preview-table td{padding:14px 13px;font-size:11px}
#importPreview .import-thumb{width:68px;height:68px;object-fit:contain;border:1px solid #efeee8;border-radius:5px;background:#fff}
.preview-review-summary{gap:9px;padding:14px 16px}
.review-chip{border:1px solid transparent;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.review-chip:hover:not(:disabled){border-color:#aab49e;box-shadow:0 2px 8px #25282012}
.review-chip[aria-pressed="true"]{border-color:#687b57;box-shadow:inset 0 0 0 1px #687b57;font-weight:700}
.review-chip:focus-visible{outline:2px solid #366453;outline-offset:2px}
.review-chip:disabled{opacity:.48;cursor:not-allowed}
.preview-empty{text-align:center!important;padding:56px 16px!important;color:#898b80!important}
.import-progress{display:grid;grid-template-columns:30px minmax(0,1fr);gap:13px;align-items:start;margin:18px 0;padding:20px 23px;background:#fff;border:1px solid #e7e6de;border-radius:10px;box-shadow:0 5px 20px #2528200a}
.progress-spinner{width:20px;height:20px;border:2px solid #dce3d8;border-top-color:#536a4a;border-radius:50%;animation:import-spin .8s linear infinite;margin-top:2px}
.import-progress.is-complete .progress-spinner{border:0;border-radius:0;width:auto;height:auto;animation:none;color:#547248}
.import-progress.is-complete .progress-spinner:after{content:'✓';font-size:20px;font-weight:700}
.progress-copy{display:grid;gap:7px;min-width:0}
.progress-copy>b{font-size:13px;color:#394538}
.progress-copy>small{font-size:11px;color:#85877d;line-height:1.6}
.import-progress-track{display:grid;grid-template-columns:78px minmax(120px,1fr) 55px;align-items:center;gap:11px;margin-top:4px;color:#77796e;font-size:10px}
.import-progress-track progress{width:100%;height:9px;accent-color:#49684f}
.import-progress-track strong{font:600 10px 'DM Sans','Noto Sans SC',sans-serif;text-align:right;color:#586b4e}
.image-progress-track{padding-top:9px;border-top:1px solid #f0efe9}
.image-progress-track progress{accent-color:#c39143}
.image-progress-track strong{font-family:'Noto Sans SC',sans-serif;font-weight:500;color:#8c7047}
@keyframes import-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){
 #importsPage{padding:20px 12px 32px}
 #importPreview{padding:16px}
 #importPreview .preview-table{min-height:260px;max-height:58vh}
 .import-progress{padding:15px;grid-template-columns:22px minmax(0,1fr);gap:9px}
 .import-progress-track{grid-template-columns:65px minmax(70px,1fr) 48px;gap:7px}
}
/* Inventory fields flow into multiple lines on desktop to keep the list in view. */
#inventoryPage .quick-cell-fee{width:100%;min-width:0;gap:3px}
#inventoryPage .quick-value-fee\:shipping,#inventoryPage .quick-value-fee\:laundry,#inventoryPage .quick-value-fee\:dispatch{white-space:nowrap;font-variant-numeric:tabular-nums}
#inventoryPage .quick-fee{width:100%;min-width:0;max-width:100%;padding:6px 5px;border:1px solid var(--line);border-radius:5px}
@media(min-width:1001px){
  #inventoryPage .inventory-selection-tools{display:flex;align-items:center;margin:8px 0 12px;color:var(--olive-dark)}
  #inventoryPage .inventory-selection-tools label{display:flex;align-items:center;gap:8px;cursor:pointer}
  #inventoryPage .inventory-selection-tools input{margin:0;accent-color:var(--olive)}

  #inventoryPage .table-wrap{width:100%;min-width:0;margin:0;border:0;background:transparent;overflow:visible}
  #inventoryPage .table-wrap table{display:block;width:100%;min-width:0}
  #inventoryPage table thead{display:none}
  #inventoryPage table tbody{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  #inventoryPage table tbody tr{
    display:grid;grid-template-columns:minmax(0,340px) repeat(6,minmax(0,1fr));
    grid-template-areas:
      "product brand brand category category clothing clothing"
      "product shipping laundry dispatch cost price margin"
      "product size size description description description status"
      "product actions actions actions actions actions actions";
    gap:8px 14px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:12px;
  }
  #inventoryPage table tbody tr>td[data-label]{
    display:block;position:static;width:auto;min-width:0;max-width:none;padding:6px 0;
    border:0;background:transparent;box-shadow:none;white-space:normal;overflow-wrap:anywhere;
  }
  #inventoryPage table td[data-label]::before{
    content:attr(data-label);display:block;margin-bottom:4px;color:#686e60;font-size:11px;font-weight:500;white-space:nowrap;
  }
  #inventoryPage table td:is([data-label="商品"],[data-label="操作"])::before{display:none}
  #inventoryPage table tbody tr>td[data-label="商品"]{grid-area:product;padding:0}
  #inventoryPage table td[data-label="品牌"]{grid-area:brand}
  #inventoryPage table td[data-label="物品大类"]{grid-area:category}
  #inventoryPage table td[data-label="服装类型"]{grid-area:clothing}
  #inventoryPage table td[data-label="运费"]{grid-area:shipping}
  #inventoryPage table td[data-label="洗衣费"]{grid-area:laundry}
  #inventoryPage table td[data-label="发货费"]{grid-area:dispatch}
  #inventoryPage table td[data-label="总成本"]{grid-area:cost}
  #inventoryPage table td[data-label="售价"]{grid-area:price}
  #inventoryPage table td[data-label="成本利润率"]{grid-area:margin}
  #inventoryPage table td[data-label="尺码"]{grid-area:size}
  #inventoryPage table td[data-label="描述"]{grid-area:description}
  #inventoryPage table td[data-label="状态"]{grid-area:status}
  #inventoryPage table td[data-label="操作"]{grid-area:actions;align-self:end}
  #inventoryPage table tbody tr>td[data-label="总成本"]{background:#f4f6ef;border-radius:6px;padding-inline:8px;color:var(--olive-dark);font-weight:700}

  #inventoryPage .product-cell{
    position:relative;display:grid;grid-template-columns:164px minmax(0,1fr);gap:10px;align-items:center;height:100%;
  }
  #inventoryPage .product-cell:has(.sku-progress){align-items:center}
  #inventoryPage .product-cell .product-select{
    position:absolute;z-index:1;top:8px;left:8px;width:18px;height:18px;accent-color:var(--olive);
  }
  #inventoryPage .product-thumb-button{position:relative;align-self:stretch;width:100%;height:auto;min-height:190px}
  #inventoryPage .product-thumb{position:absolute;inset:0}
  #inventoryPage .product-title{min-width:0}
  #inventoryPage .product-title .inventory-card-brand{display:none}
  #inventoryPage .sku-progress-compact{gap:5px}
  #inventoryPage .sku-progress-compact label{white-space:nowrap}
  #inventoryPage .sku-progress-compact label span{font-size:10px}
  #inventoryPage .taxonomy-select{padding:7px 6px}
  #inventoryPage .quick-cell,#inventoryPage .quick-edit{width:100%;min-width:0;max-width:100%}
  #inventoryPage .quick-value{min-width:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
  #inventoryPage .row-actions{flex-wrap:wrap;gap:4px}
  #inventoryPage .row-actions .text-action{min-height:30px}
}

@media(min-width:1001px) and (max-width:1300px){
  #inventoryPage table tbody tr{
    grid-template-columns:minmax(0,290px) repeat(6,minmax(0,1fr));
    column-gap:6px;
  }
  #inventoryPage .product-cell{grid-template-columns:150px minmax(0,1fr);gap:8px}
  #inventoryPage .sku-progress-compact{grid-template-columns:minmax(0,1fr)}
  #inventoryPage :is(.quick-cell-fee,.quick-cell-price) .quick-pencil{width:17px}
  #inventoryPage table tbody tr>td[data-label="总成本"]{padding-inline:4px}
}
/* Product detail layout and image carousel. */
#productDetailPage{max-width:1480px;padding-top:26px}
#productDetailPage .detail-top{position:sticky;top:0;z-index:4;padding:8px 0;background:linear-gradient(var(--paper) 76%,transparent);margin-bottom:12px}
#productDetailPage .detail-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,1fr);align-items:start;gap:clamp(24px,3.2vw,48px);padding:clamp(20px,2.6vw,36px);border-radius:14px}
#productDetailPage .detail-gallery-column{position:sticky;top:72px;min-width:0}
#productDetailPage .detail-gallery{min-width:0}
#productDetailPage .detail-carousel{position:relative;overflow:hidden;border-radius:12px;background:#f5f4ef}
#productDetailPage .detail-carousel-viewport{width:100%;aspect-ratio:4/3;max-height:min(68vh,680px);overflow:hidden;touch-action:pan-y;outline:none}
#productDetailPage .detail-carousel-viewport:focus-visible{box-shadow:inset 0 0 0 3px #7c8b68}
#productDetailPage .detail-carousel-track{display:flex;width:100%;height:100%;transition:transform .42s cubic-bezier(.22,.7,.25,1);will-change:transform}
#productDetailPage .detail-slide{display:grid;flex:0 0 100%;min-width:0;height:100%;place-items:center;padding:12px}
#productDetailPage .detail-slide img{display:block;width:100%;height:100%;object-fit:contain;border-radius:7px}
#productDetailPage .detail-carousel-empty{display:grid;place-items:center}
#productDetailPage .detail-carousel-arrow{position:absolute;top:50%;z-index:2;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffffaa;border-radius:50%;background:#fffE;color:#3f4937;font:32px/1 Georgia,serif;transform:translateY(-50%);box-shadow:0 3px 14px #20201820;transition:background .18s,transform .18s}
#productDetailPage .detail-carousel-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.05)}
#productDetailPage .detail-carousel-arrow.previous{left:14px}
#productDetailPage .detail-carousel-arrow.next{right:14px}
#productDetailPage .detail-carousel-count{position:absolute;right:14px;bottom:13px;padding:6px 10px;border-radius:20px;background:#252820b8;color:#fff;font:11px 'DM Sans','Noto Sans SC',sans-serif;font-variant-numeric:tabular-nums}
#productDetailPage .detail-thumbnails{display:flex;gap:9px;overflow-x:auto;padding:12px 2px 7px;scrollbar-width:thin}
#productDetailPage .detail-thumbnails button{display:block;flex:0 0 72px;width:72px;height:72px;padding:3px;border:1px solid var(--line);border-radius:8px;background:#f8f7f3;overflow:hidden;cursor:pointer}
#productDetailPage .detail-thumbnails button.active{border:2px solid var(--olive);padding:2px;box-shadow:0 0 0 2px #66724f24}
#productDetailPage .detail-thumbnails img{display:block;width:100%;height:100%;object-fit:contain}
#productDetailPage .detail-image-actions{width:100%;margin:10px 0 0;flex-wrap:wrap}
#productDetailPage .detail-info{min-width:0;padding:2px 0 8px}
#productDetailPage .detail-info h1{font-size:clamp(22px,2.2vw,30px);line-height:1.4;overflow-wrap:anywhere}
#productDetailPage .detail-code{overflow-wrap:anywhere}
#productDetailPage .detail-section{margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}
#productDetailPage .detail-section h2,#productDetailPage .basic-section h2{margin:0 0 12px;color:#44483f;font-size:15px}
#productDetailPage .basic-fields,#productDetailPage .source-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
#productDetailPage .source-field{min-width:0;padding:11px 0;border-bottom:1px solid #efeee8}
#productDetailPage .source-field b{overflow-wrap:anywhere;line-height:1.7}
#productDetailPage .editable-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#productDetailPage .detail-footer{flex-wrap:wrap;gap:12px 22px}
#productDetailPage .detail-notes{overflow-wrap:anywhere}
@media(max-width:1000px){
 #productDetailPage.page{max-width:820px;padding:20px 22px 36px}
 #productDetailPage .detail-card{grid-template-columns:minmax(0,1fr);gap:26px;padding:22px}
 #productDetailPage .detail-gallery-column{position:static}
 #productDetailPage .detail-carousel-viewport{aspect-ratio:16/11;max-height:68vh}
 #productDetailPage .detail-info{padding:0}
}
@media(max-width:600px){
 #productDetailPage.page{padding:12px 12px 28px}
 #productDetailPage .detail-top{align-items:center;gap:8px;padding:5px 0 10px}
 #productDetailPage .detail-top .button{min-height:40px;padding:8px 11px}
 #productDetailPage .detail-top #detailActions{min-width:0;justify-content:flex-end}
 #productDetailPage .detail-top #detailActions .button{max-width:155px;white-space:normal}
 #productDetailPage .detail-card{gap:20px;padding:13px;border-radius:11px}
 #productDetailPage .detail-carousel{border-radius:9px}
 #productDetailPage .detail-carousel-viewport{aspect-ratio:1/1;max-height:58vh;min-height:240px}
 #productDetailPage .detail-slide{padding:7px}
 #productDetailPage .detail-carousel-arrow{width:38px;height:38px;font-size:27px}
 #productDetailPage .detail-carousel-arrow.previous{left:8px}
 #productDetailPage .detail-carousel-arrow.next{right:8px}
 #productDetailPage .detail-carousel-count{right:9px;bottom:9px;padding:5px 8px;font-size:10px}
 #productDetailPage .detail-thumbnails{gap:7px;padding-top:9px}
 #productDetailPage .detail-thumbnails button{flex-basis:58px;width:58px;height:58px}
 #productDetailPage .detail-image-actions{gap:8px;margin-top:7px}
 #productDetailPage .detail-image-actions>span{font-size:10px}
 #productDetailPage .detail-info h1{font-size:22px}
 #productDetailPage .brand-status-row{gap:9px}
 #productDetailPage .brand-status-row>div{min-width:0;flex:1}
 #productDetailPage .detail-taxonomy{gap:12px}
 #productDetailPage .detail-price-highlight strong{font-size:24px}
 #productDetailPage .detail-section{margin-top:16px;padding-top:14px}
 #productDetailPage .basic-fields,#productDetailPage .source-fields,#productDetailPage .price-fields{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
 #productDetailPage .editable-fields{grid-template-columns:minmax(0,1fr)}
 #productDetailPage .editable-field{min-width:0}
 #productDetailPage .detail-footer{font-size:11px}
}
.assistant-card .assistant-description{margin-top:13px}

/* Mobile navigation, forms and secondary workspaces. */
.workspace-actions-toggle{display:none}
@media(max-width:1000px){
  .workspace-status{margin:8px 12px 0;padding:8px 10px;gap:6px 10px}
  .workspace-status>div:first-child{flex:1 1 145px}
  .workspace-status strong{margin-bottom:2px}
  .workspace-status span,.workspace-status small{line-height:1.55}
  .workspace-status .workspace-actions-toggle{display:block;flex:none;min-height:44px;padding:6px 9px;font-size:12px}
  .workspace-status.workspace-compact:not(.workspace-actions-expanded) .workspace-actions{display:none}
  .workspace-status .workspace-actions{width:100%}
  .workspace-actions .button{flex:1 1 116px;min-height:44px}
  .page,.page-heading>div{min-width:0}
  .table-wrap,.analytics-table-wrap,.permission-matrix{max-width:100%;overscroll-behavior-x:contain}
  #productDetailPage .detail-top{top:var(--mobile-topbar-height)}
  #productDetailPage .detail-top .button,#productDetailPage .detail-image-add,
  #productDetailPage .detail-carousel-arrow{min-height:44px}
  #productDetailPage .detail-carousel-arrow{width:44px}
}
@media(max-width:600px){
  .page{padding:16px 12px calc(24px + env(safe-area-inset-bottom))}
  #inventoryPage.page,#productDetailPage.page{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
  #productDetailPage .detail-carousel-viewport{min-height:0;max-height:50svh}
  #productDetailPage .detail-info .eyebrow{display:none}
  #productDetailPage .detail-info h1{font-size:21px}
  #productDetailPage .detail-section{min-width:0}
  #productDetailPage .editable-value,.assistant-filters :is(input,select),
  .assistant-card :is(input:not([type=checkbox]),select,textarea),
  #inventoryPage .bulk-fee-panel input,#payrollAuthDialog input{min-height:44px;font-size:16px}
  #productDetailPage .detail-footer{overflow-wrap:anywhere}
  .modal-backdrop{align-items:end;padding:0}
  #productForm{
    width:100%;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);
    border-radius:16px 16px 0 0;padding:16px 14px 0;overscroll-behavior:contain;
  }
  #productForm .form-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  #productForm .span-2{grid-column:auto}
  #productForm label{min-width:0;font-size:13px}
  #productForm :is(input,select,textarea){min-width:0;max-width:100%;min-height:44px;font-size:16px}
  #productForm .modal-footer{
    position:sticky;bottom:0;background:white;margin-top:14px;
    padding:10px 0 calc(10px + env(safe-area-inset-bottom));
  }
  #productForm .modal-footer .button,#payrollAuthDialog .modal-footer .button{flex:1;min-height:44px;font-size:14px}
  #productForm #closeModal,#payrollAuthDialog .icon-button{width:44px;height:44px}
  #payrollAuthDialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:16px}
  #importsPage .preview-footer>div,.payroll-heading-actions{flex-wrap:wrap}
  #importsPage .preview-footer .button{min-height:44px;white-space:normal}
  .permission-matrix .matrix-row{min-width:350px}
  .toast{width:max-content;max-width:calc(100% - 24px);bottom:calc(14px + env(safe-area-inset-bottom));font-size:13px}
}

.admin-account-panel{margin-bottom:14px;padding:14px 16px}
.admin-account-panel summary{width:fit-content;min-height:32px;padding:6px 0;color:var(--olive-dark);font-weight:700;cursor:pointer}
.admin-account-panel>p,.admin-account-actions p{color:#606b57;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.admin-account-panel form{max-width:560px}
.admin-account-panel .form-grid label,.admin-account-panel .form-grid input{font-size:14px;min-width:0}
.admin-account-panel .form-grid input{min-height:42px}
.admin-account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px}
.admin-account-actions p{margin:0}
@media(max-width:600px){
  .admin-account-panel .form-grid{grid-template-columns:minmax(0,1fr)}
  .admin-account-panel .span-2{grid-column:auto}
  .admin-account-panel .form-grid input{min-height:44px;font-size:16px}
}
