.admin-shell-v2 .sidebar-public-link{display:flex;align-items:center;gap:9px;margin-top:auto;margin-bottom:12px;padding:10px 11px;border:1px solid rgb(255 255 255/.12);border-radius:7px;color:#cbd7ce;font-size:12px;font-weight:600}.admin-shell-v2 .sidebar-public-link:hover{color:#fff;background:rgb(255 255 255/.07)}.admin-shell-v2 .sidebar-user{margin-top:0}.admin-v2-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:20px}.admin-v2-head h1{margin:2px 0 0;font-size:32px;line-height:1.2}.admin-v2-head p:last-child{max-width:680px;margin:6px 0 0;color:var(--ink-muted);font-size:13px}.admin-v2-actions{display:flex;gap:8px;flex-wrap:wrap}.pricing-admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.pricing-admin-summary{display:flex;align-items:baseline;gap:6px}.pricing-admin-summary strong{font-size:20px}.pricing-admin-summary span{color:var(--ink-muted);font-size:12px}.admin-advanced-menu{position:relative}.admin-advanced-menu summary{cursor:pointer;list-style:none;padding:7px 10px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--ink-soft);font-size:11px;font-weight:600}.admin-advanced-menu summary::-webkit-details-marker{display:none}.admin-advanced-menu>div{position:absolute;right:0;top:calc(100% + 6px);z-index:20;width:260px;padding:10px;border:1px solid var(--border);border-radius:9px;background:#fff;box-shadow:var(--shadow-md)}.admin-advanced-menu label{display:grid;gap:4px;color:var(--ink-muted);font-size:10px}.admin-advanced-menu select{min-height:38px;font-size:12px}.admin-advanced-menu a{display:block;margin-top:6px;padding:8px;border-radius:6px;background:var(--surface-soft);font-size:11px;font-weight:600}.pricing-admin-table-wrap{overflow:hidden;border:1px solid var(--border);border-radius:10px;background:#fff}.pricing-admin-table{width:100%;border-collapse:collapse}.pricing-admin-table th{padding:9px 11px;color:var(--ink-muted);background:#f8faf7;border-bottom:1px solid var(--border);text-align:left;font-size:10px;font-weight:700;text-transform:uppercase}.pricing-admin-table td{padding:10px 11px;border-bottom:1px solid var(--border);vertical-align:middle;font-size:12px}.pricing-admin-table tbody tr:last-child td{border-bottom:0}.pricing-admin-table tr.has-draft{background:#fffaf0}.pricing-line-identity{display:flex;align-items:center;gap:10px;min-width:210px}.pricing-line-thumb{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;overflow:hidden;border-radius:7px;background:var(--surface-soft);color:var(--ink-muted);font-weight:700}.pricing-line-thumb img{width:100%;height:100%;object-fit:cover}.pricing-line-identity>div:last-child{min-width:0;display:grid;gap:2px}.pricing-line-identity strong{font-size:13px}.pricing-line-identity span{color:var(--ink-muted);font-size:9px}.pricing-method-pill{display:inline-flex;padding:4px 7px;border-radius:999px;background:var(--surface-soft);font-size:10px;font-weight:600;white-space:nowrap}.pricing-admin-money{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.pricing-fee-line{display:block;color:var(--ink-muted);font-size:9px;white-space:nowrap}.pricing-admin-action{text-align:right}.pricing-admin-action form{margin:0}.pricing-admin-action .button{min-height:36px;padding:7px 11px;font-size:11px}.pricing-admin-mobile-list{display:none}.editor-v2-head{align-items:flex-start}.price-editor-v2-form{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.65fr);gap:16px;align-items:start}.price-editor-main,.price-editor-summary{padding:18px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:var(--shadow-sm)}.price-editor-main{display:grid;grid-template-columns:1fr 1fr;gap:15px}.price-editor-field{display:grid;gap:6px}.price-editor-field label{color:var(--ink-soft);font-size:12px;font-weight:700}.price-editor-field small{color:var(--ink-muted);font-size:10px}.price-editor-method{grid-column:1}.price-editor-base{grid-column:2}.price-editor-fees{grid-column:1/3;display:grid;grid-template-columns:1fr 1fr;gap:15px;padding-top:2px}.price-editor-note{grid-column:1/3}.money-input-wrap{position:relative}.money-input-wrap input{padding-right:90px;font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}.money-input-wrap span{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--ink-muted);font-size:11px;font-weight:600}.price-editor-summary{position:sticky;top:20px}.price-editor-summary h2{margin:3px 0 12px;font-size:20px}.price-editor-summary dl{margin:0 0 15px}.price-editor-summary dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--border)}.price-editor-summary dt{color:var(--ink-muted);font-size:10px}.price-editor-summary dd{margin:0;font-size:11px;font-weight:700;text-align:right}.price-editor-summary .button+.button{margin-top:7px}.advanced-text-link{display:block;margin-top:12px;color:var(--ink-muted);font-size:10px;text-align:center;text-decoration:underline}.price-publish-main{min-height:48px}.product-admin-form .product-code-field input{text-transform:uppercase;font-family:"IBM Plex Mono",monospace;letter-spacing:.04em}.admin-shell-v2 .primary-nav{margin-top:14px}
@media(max-width:900px){.admin-shell-v2 .app-stage{padding-bottom:calc(72px + env(safe-area-inset-bottom))}.admin-shell-v2 .bottom-nav{grid-auto-columns:1fr}.admin-v2-head{align-items:flex-start}.price-editor-summary{position:static}}
@media(max-width:760px){.pricing-admin-table-wrap{display:none}.pricing-admin-mobile-list{display:grid;gap:8px}.pricing-admin-mobile-card{display:grid;gap:10px;padding:12px;border:1px solid var(--border);border-radius:9px;background:#fff}.pricing-admin-mobile-card.has-draft{border-color:#d8b56a;background:#fffdf7}.pricing-mobile-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px}.pricing-mobile-stats>div{padding:8px;border-radius:7px;background:var(--surface-soft)}.pricing-mobile-stats span{display:block;color:var(--ink-muted);font-size:9px}.pricing-mobile-stats strong{display:block;margin-top:2px;font-size:11px}.admin-v2-head{display:grid;gap:10px}.admin-v2-head h1{font-size:27px}.admin-v2-actions{width:100%}.admin-v2-actions .button{flex:1 1 auto}.price-editor-v2-form{grid-template-columns:1fr}.price-editor-main{padding:14px}.price-editor-summary{padding:14px}}
@media(max-width:520px){.price-editor-main{grid-template-columns:1fr}.price-editor-method,.price-editor-base,.price-editor-fees,.price-editor-note{grid-column:1}.price-editor-fees{grid-template-columns:1fr}.admin-advanced-menu>div{right:0;width:min(260px,calc(100vw - 28px))}}

/* Product line management V2.4 */
.line-admin-actions{display:flex;justify-content:flex-end;gap:6px;align-items:center}.line-admin-actions form{margin:0}.line-rename{margin-top:6px}.line-rename summary{cursor:pointer;color:var(--primary);font-size:10px;font-weight:700;list-style:none}.line-rename summary::-webkit-details-marker{display:none}.line-rename form{display:flex;gap:6px;margin-top:6px;min-width:260px}.line-rename input{min-width:0;min-height:36px;padding:7px 9px;font-size:11px}.line-rename .button{min-height:36px;white-space:nowrap}.line-mobile-actions{display:grid;gap:7px}.line-product-section{margin-top:20px;padding:18px;border:1px solid var(--border);border-radius:10px;background:#fff}.line-product-section .section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:12px}.line-product-section h2{margin:2px 0 0}.line-product-section p{margin:4px 0 0;color:var(--ink-muted);font-size:11px}.line-product-list{display:grid;gap:8px}.line-product-row{display:grid;grid-template-columns:minmax(180px,.9fr) minmax(260px,1.6fr) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.line-product-main{display:grid;gap:2px}.line-product-main small{color:var(--ink-muted);font-size:9px}.line-size-chips{display:flex;flex-wrap:wrap;gap:5px}.line-size-chips span{padding:4px 7px;border:1px solid var(--border);border-radius:999px;background:#fff;font-size:9px;font-weight:600}.line-product-actions{display:flex;gap:6px}.line-product-actions .button{min-height:34px;padding:6px 9px;font-size:10px}.line-filter-banner{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:10px;padding:11px 12px;border:1px solid var(--primary);border-radius:9px;background:var(--primary-soft)}.line-filter-banner>div:first-child{display:grid;gap:2px}.line-filter-banner span{color:var(--ink-muted);font-size:9px}.line-filter-banner strong{font-size:15px}.line-filter-banner>div:last-child{display:flex;gap:7px}
@media(max-width:760px){.line-admin-actions{display:grid;grid-template-columns:1fr 1fr}.line-admin-actions .button{width:100%}.line-rename form{min-width:0;width:100%}.line-product-section{padding:14px}.line-product-section .section-heading{align-items:flex-start;display:grid}.line-product-row{grid-template-columns:1fr}.line-product-actions{display:grid;grid-template-columns:1fr 1fr}.line-product-actions .button{text-align:center}.line-filter-banner{align-items:flex-start;display:grid}.line-filter-banner>div:last-child{display:grid;grid-template-columns:1fr 1fr;width:100%}}
/* Representative products + inherited product codes (V2.5) */
.representative-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.representative-card{overflow:hidden;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.representative-media{aspect-ratio:16/9;background:var(--surface-soft);display:flex;align-items:center;justify-content:center;overflow:hidden}.representative-media img{width:100%;height:100%;object-fit:cover}.representative-media>span{font-size:40px;font-weight:700;color:var(--primary)}.representative-body{display:grid;gap:14px;padding:16px}.representative-name{display:block;font-size:18px}.representative-sub{display:block;margin-top:4px;color:var(--ink-muted);font-size:12px}.representative-rate{font-size:22px;font-weight:700;font-variant-numeric:tabular-nums}.representative-form-card{padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.representative-form-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}.rep-field{display:grid;gap:6px}.rep-field>span,.code-price-form label>span{font-size:12px;font-weight:700;color:var(--ink-soft)}.rep-field input,.rep-field select,.rep-field textarea,.code-price-form input,.code-price-form select{width:100%;min-height:44px}.rep-field textarea{min-height:220px;font-family:"IBM Plex Mono",monospace;resize:vertical}.rep-field small{color:var(--ink-muted);font-size:11px}.rep-name,.rep-codes{grid-column:1/-1}.rep-note{grid-column:1/-1}.representative-actions{display:flex;align-items:center;gap:14px;margin-top:16px}.representative-actions>span{color:var(--ink-muted);font-size:12px}.representative-section{margin-top:24px;padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.representative-section-head h2{margin:0}.representative-section-head p{margin:5px 0 0;color:var(--ink-muted)}.code-price-form{display:grid;grid-template-columns:1fr 1fr 2fr auto;gap:10px;align-items:end;margin-top:16px}.code-price-form label{display:grid;gap:6px}@media(max-width:760px){.representative-form-grid,.code-price-form{grid-template-columns:1fr}.rep-name,.rep-codes,.rep-note{grid-column:1}.representative-actions{align-items:stretch;flex-direction:column}.representative-grid{grid-template-columns:1fr}}

/* Representative activation V2.6 */
.representative-add-card{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding:18px 20px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.representative-add-card h2{margin:2px 0 4px}.representative-add-card p{margin:0;color:var(--ink-muted)}.representative-activate-form{display:flex;gap:8px;min-width:min(520px,48%)}.representative-activate-form select{min-width:0;min-height:44px;flex:1}.representative-activate-form .button{white-space:nowrap}@media(max-width:760px){.representative-add-card,.representative-activate-form{display:grid;width:100%;min-width:0}.representative-activate-form{grid-template-columns:1fr}.representative-activate-form .button{width:100%}}

/* Admin Pricing V2.8 - seller-center product editor */
.seller-center-page,.seller-editor-page{max-width:1180px}.seller-center-head,.seller-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.seller-center-head h1,.seller-editor-head h1{margin:2px 0 4px;font-size:30px}.seller-center-head p:last-child,.seller-editor-head p:last-child{margin:0;max-width:720px;color:var(--ink-muted);font-size:12px}.seller-center-actions{display:flex;gap:8px}.seller-add-product{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:16px 18px;border:1px solid #cbd7cd;border-radius:12px;background:#f8fbf8}.seller-add-product>div{display:flex;align-items:center;gap:12px}.seller-step-badge,.seller-card-title>span,.seller-card-title-inner>span{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;color:#fff;background:var(--primary);font-size:12px;font-weight:800}.seller-add-product h2,.seller-product-panel h2,.seller-card-title h2{margin:0;font-size:18px}.seller-add-product p,.seller-product-panel p,.seller-card-title p{margin:3px 0 0;color:var(--ink-muted);font-size:11px}.seller-add-form{display:flex;gap:8px;min-width:min(520px,48%)}.seller-add-form select{min-width:0;min-height:42px;flex:1}.seller-product-panel{overflow:hidden;border:1px solid var(--border);border-radius:12px;background:#fff}.seller-product-panel-head{padding:15px 16px;border-bottom:1px solid var(--border)}.seller-product-list{display:grid}.seller-product-row{display:grid;grid-template-columns:72px minmax(220px,1.5fr) minmax(140px,.7fr) minmax(130px,.6fr) auto;gap:14px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--border)}.seller-product-row:last-child{border-bottom:0}.seller-product-row:hover{background:#fbfcfa}.seller-product-thumb{width:72px;height:72px;overflow:hidden;display:grid;place-items:center;border-radius:8px;background:var(--surface-soft);color:var(--primary);font-size:24px;font-weight:800}.seller-product-thumb img{width:100%;height:100%;object-fit:cover}.seller-product-main{display:grid;gap:4px}.seller-product-main strong{font-size:14px}.seller-product-main span,.seller-product-price>span{color:var(--ink-muted);font-size:10px}.seller-product-price{display:grid;gap:3px}.seller-product-price strong{font-size:17px;font-variant-numeric:tabular-nums}.seller-product-price strong small{color:var(--ink-muted);font-size:9px;font-weight:600}.seller-product-price .is-missing{color:#a44a24;font-size:12px}.seller-product-status{display:flex;flex-wrap:wrap;gap:5px}.seller-pill{display:inline-flex;align-items:center;min-height:24px;padding:3px 7px;border-radius:999px;color:#075744;background:var(--primary-soft);font-size:9px;font-weight:700}.seller-pill.muted{color:var(--ink-muted);background:var(--surface-soft)}.seller-pill.accent{color:#8a410f;background:#fff0e7}.seller-product-edit{min-width:92px}.seller-editor-back{display:inline-flex;margin-bottom:10px;color:var(--ink-muted);font-size:11px;font-weight:700}.seller-editor-card{margin-bottom:16px;padding:18px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:var(--shadow-sm)}.seller-card-title,.seller-card-title-inner{display:flex;align-items:flex-start;gap:10px}.seller-card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.seller-card-title-inner{min-width:0}.seller-product-info-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;margin-top:16px}.seller-editor-image{display:grid;align-content:start;gap:8px}.seller-editor-image>img,.seller-editor-image>span{width:190px;aspect-ratio:1/1;display:grid;place-items:center;object-fit:cover;border-radius:10px;background:var(--surface-soft);color:var(--primary);font-size:48px;font-weight:800}.seller-editor-image a{color:var(--primary);font-size:10px;font-weight:700;text-align:center}.seller-product-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.seller-field{display:grid;gap:5px}.seller-field>span{color:var(--ink-soft);font-size:10px;font-weight:800}.seller-field input,.seller-field select,.seller-field textarea{width:100%;min-height:42px}.seller-field small{color:var(--ink-muted);font-size:9px}.seller-field-wide{grid-column:1/-1}.seller-money-field>div{position:relative}.seller-money-field input{padding-right:76px;font-size:17px;font-weight:800}.seller-money-field b{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:var(--ink-muted);font-size:9px}.seller-card-actions{display:flex;justify-content:flex-end;margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}.seller-batch-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 10px;padding:10px 12px;border-radius:9px;background:var(--surface-soft)}.seller-batch-bar>div:first-child{display:grid;gap:2px}.seller-batch-bar strong{font-size:11px}.seller-batch-bar span{color:var(--ink-muted);font-size:9px}.seller-batch-controls{display:flex;gap:7px}.seller-batch-controls input{width:150px;min-height:38px}.seller-variation-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:9px}.seller-variation-table{width:100%;border-collapse:collapse;min-width:700px}.seller-variation-table th{padding:9px 10px;color:var(--ink-muted);background:#f8faf7;font-size:9px;text-align:left;text-transform:uppercase;letter-spacing:.04em}.seller-variation-table td{padding:10px;border-top:1px solid var(--border);vertical-align:middle}.seller-variation-table td:first-child{display:grid;gap:2px}.seller-variation-table td:first-child strong{font-size:11px}.seller-variation-table td:first-child small{color:var(--ink-muted);font-size:8px}.seller-variation-table td:nth-child(2)>strong{font-size:11px}.seller-custom-price-toggle{display:flex;align-items:center;gap:7px;margin-bottom:5px;cursor:pointer}.seller-custom-price-toggle input{width:15px;height:15px;accent-color:var(--primary)}.seller-custom-price-toggle span{font-size:9px;font-weight:700}.seller-variant-price-input{position:relative;width:170px}.seller-variant-price-input input{width:100%;min-height:34px;padding-right:54px;font-size:11px}.seller-variant-price-input input:disabled{color:var(--ink-muted);background:#f5f7f4}.seller-variant-price-input>span{position:absolute;right:9px;top:50%;transform:translateY(-50%);color:var(--ink-muted);font-size:9px}.seller-variation-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:12px}.seller-count-badge{padding:5px 9px;border-radius:999px;color:var(--primary);background:var(--primary-soft);font-size:10px}.seller-codes-field textarea{min-height:190px;font-family:"IBM Plex Mono",monospace;font-size:11px;resize:vertical}.seller-codes-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:10px}.seller-code-price-form{display:grid;grid-template-columns:1fr 1fr 1.5fr auto;gap:10px;align-items:end;margin-top:14px}.seller-code-note{min-width:0}
@media(max-width:900px){.seller-product-row{grid-template-columns:64px minmax(0,1fr) auto}.seller-product-price,.seller-product-status{grid-column:2}.seller-product-edit{grid-column:3;grid-row:1/4}.seller-product-info-grid{grid-template-columns:150px minmax(0,1fr)}.seller-editor-image>img,.seller-editor-image>span{width:150px}}
@media(max-width:700px){.seller-center-head,.seller-editor-head{display:grid}.seller-center-actions{width:100%}.seller-center-actions .button{flex:1}.seller-add-product,.seller-add-product>div,.seller-add-form{display:grid;width:100%;min-width:0}.seller-add-form{grid-template-columns:1fr}.seller-product-row{grid-template-columns:58px minmax(0,1fr);gap:9px;padding:10px}.seller-product-thumb{width:58px;height:58px}.seller-product-price,.seller-product-status{grid-column:2}.seller-product-edit{grid-column:1/3;grid-row:auto;width:100%}.seller-editor-card{padding:13px}.seller-card-title-row{display:grid}.seller-product-info-grid{grid-template-columns:1fr}.seller-editor-image{grid-template-columns:88px 1fr;align-items:center}.seller-editor-image>img,.seller-editor-image>span{width:88px}.seller-editor-image a{text-align:left}.seller-product-fields{grid-template-columns:1fr}.seller-field-wide{grid-column:1}.seller-batch-bar{display:grid}.seller-batch-controls{display:grid;grid-template-columns:1fr auto}.seller-batch-controls input{width:100%}.seller-variation-actions,.seller-codes-actions,.seller-code-price-form{grid-template-columns:1fr}.seller-variation-table-wrap{margin-inline:-13px;border-left:0;border-right:0;border-radius:0}.seller-code-price-form .button{width:100%}}

/* Admin Pricing V2.9 - marketplace product editor polish */
.seller-editor-v29{max-width:1120px}.seller-editor-head-v29{align-items:flex-end}.seller-editor-title-row{display:flex;align-items:center;gap:10px}.seller-editor-title-row h1{margin:2px 0 0}.seller-live-status{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#e8f6ef;color:#08765c;font-size:10px;font-weight:800}.seller-live-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#0a8f6d}.seller-product-card-v29,.seller-variation-card-v29,.seller-codes-card-v29{padding:22px;border-radius:14px;box-shadow:none}.seller-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--border)}.seller-section-heading h2{margin:0;font-size:18px}.seller-section-heading p{margin:4px 0 0;color:var(--ink-muted);font-size:11px}.seller-section-heading-row{align-items:center}.seller-product-info-grid-v29{grid-template-columns:230px minmax(0,1fr);gap:24px;margin-top:20px}.seller-editor-image-v29{display:grid;align-content:start;gap:10px}.seller-editor-image-frame{width:230px;aspect-ratio:1/1;overflow:hidden;display:grid;place-items:center;border:1px solid var(--border);border-radius:12px;background:#f7f9f6}.seller-editor-image-frame .product-image{width:100%;height:100%;min-height:0}.seller-editor-image-frame img.product-image{object-fit:cover}.seller-editor-image-v29>a{color:var(--primary);font-size:11px;font-weight:750;text-align:center}.seller-product-fields-v29{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.seller-product-fields-v29 .seller-field>span{font-size:11px}.seller-product-fields-v29 .seller-field input,.seller-product-fields-v29 .seller-field select{min-height:46px}.seller-product-fields-v29 .seller-money-field input{font-size:18px}.seller-card-actions-v29{margin-top:18px;padding-top:16px}.seller-batch-bar-v29{margin-top:16px;padding:12px 14px;border:1px solid #dce5de;background:#f8faf8}.seller-batch-bar-v29 .seller-batch-controls input{width:180px}.seller-variation-table-wrap-v29{margin-top:10px}.seller-variation-table-v29{min-width:650px}.seller-variation-table-v29 th{padding:10px 12px;background:#fafbf9;font-size:9px}.seller-variation-table-v29 td{padding:13px 12px}.seller-variation-table-v29 td:first-child{min-width:230px}.seller-variation-table-v29 td:nth-child(2){min-width:150px}.seller-variation-table-v29 td:nth-child(3){min-width:260px}.seller-price-mode-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px}.seller-custom-price-toggle-v29{margin:0}.seller-custom-price-toggle-v29 span{font-size:10px}.seller-inherited-price{color:var(--primary);font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}.seller-variant-price-input[hidden]{display:none}.seller-variant-price-input{width:190px;margin-top:6px}.seller-variation-actions-v29{display:flex;justify-content:flex-end;margin-top:14px}.seller-code-preview{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.seller-code-preview>span{display:inline-flex;align-items:center;min-height:30px;padding:5px 9px;border:1px solid #d8e1da;border-radius:7px;background:#fafbf9;color:var(--ink-soft);font:650 10px "IBM Plex Mono",monospace}.seller-code-preview .seller-code-more{border-style:dashed;color:var(--primary);font-family:inherit}.seller-code-preview-empty{margin:16px 0;padding:12px;border-radius:8px;background:var(--surface-soft);color:var(--ink-muted);font-size:11px}.seller-disclosure{border-top:1px solid var(--border)}.seller-disclosure:first-of-type{margin-top:4px}.seller-disclosure summary{padding:14px 2px;color:var(--primary);font-size:11px;font-weight:800;cursor:pointer;list-style:none}.seller-disclosure summary::-webkit-details-marker{display:none}.seller-disclosure summary:after{content:"＋";float:right;color:var(--ink-muted)}.seller-disclosure[open] summary:after{content:"−"}.seller-codes-form-v29,.seller-code-price-form-v29{padding:4px 0 16px}.seller-codes-field textarea{min-height:150px}.seller-codes-actions-v29{display:flex;justify-content:flex-end}.seller-code-price-form-v29{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto}.seller-code-price-form-v29 .button{min-height:42px}
@media(max-width:900px){.seller-product-info-grid-v29{grid-template-columns:190px minmax(0,1fr)}.seller-editor-image-frame{width:190px}}
@media(max-width:700px){.seller-editor-head-v29{display:grid}.seller-editor-title-row{align-items:flex-start;justify-content:space-between}.seller-product-card-v29,.seller-variation-card-v29,.seller-codes-card-v29{padding:14px}.seller-section-heading-row{display:grid;align-items:start}.seller-product-info-grid-v29{grid-template-columns:1fr;gap:16px}.seller-editor-image-v29{grid-template-columns:116px minmax(0,1fr);align-items:center}.seller-editor-image-frame{width:116px}.seller-product-fields-v29{grid-template-columns:1fr}.seller-batch-bar-v29{display:grid}.seller-batch-bar-v29 .seller-batch-controls{grid-template-columns:1fr auto}.seller-batch-bar-v29 .seller-batch-controls input{width:100%}.seller-variation-table-wrap-v29{margin-inline:-14px}.seller-code-price-form-v29{grid-template-columns:1fr}.seller-codes-actions-v29 .button,.seller-code-price-form-v29 .button{width:100%}}


/* V3.0 one-page Shopee-style variation editor */
.variant-one-page-v30{scroll-margin-top:18px}.variant-inline-create{margin:14px 0;border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden}.variant-inline-create>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:12px 14px;cursor:pointer;list-style:none;background:var(--surface-soft)}.variant-inline-create>summary::-webkit-details-marker{display:none}.variant-inline-create>summary span:first-child{display:grid;gap:2px}.variant-inline-create>summary strong{font-size:13px}.variant-inline-create>summary small{color:var(--ink-muted);font-size:10px;font-weight:500}.variant-summary-action{padding:7px 10px;border:1px solid var(--border);border-radius:7px;background:#fff;font-size:11px;font-weight:700}.variant-inline-create[open]>summary{border-bottom:1px solid var(--border)}.variant-inline-create[open] .variant-summary-action{color:var(--primary)}.variant-inline-body{padding:14px}.variant-inline-grid{display:grid;gap:12px}.variant-inline-grid label{display:grid;gap:5px;color:var(--ink-soft);font-size:11px;font-weight:700}.variant-inline-grid input{width:100%;min-height:42px}.variant-inline-grid-main{grid-template-columns:1.25fr 1fr 1fr}.variant-inline-grid-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.variant-inline-subhead{margin:14px 0 8px;color:var(--ink-muted);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.variant-inline-actions{display:flex;justify-content:flex-end;margin-top:14px}.variant-admin-list-v30{display:grid;gap:8px}.variant-admin-row-v30{position:relative;grid-template-columns:minmax(260px,1fr) auto auto auto;gap:12px}.variant-admin-identity{min-width:0;display:grid;gap:2px}.variant-admin-identity strong{font-size:13px}.variant-admin-identity small{color:var(--ink-muted);font-size:10px}.variant-row-actions-v30{align-items:center}.variant-inline-edit{position:relative}.variant-inline-edit>summary{list-style:none;cursor:pointer}.variant-inline-edit>summary::-webkit-details-marker{display:none}.variant-inline-edit-popover{position:absolute;right:0;top:calc(100% + 7px);z-index:40;width:min(720px,78vw);padding:14px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:var(--shadow-md)}.variant-active-inline{margin-top:12px}.variant-empty-v30{padding:20px;border:1px dashed var(--border);border-radius:10px;color:var(--ink-muted);font-size:12px;text-align:center}
@media(max-width:900px){.variant-inline-grid-main{grid-template-columns:1fr 1fr}.variant-inline-grid-main label:first-child{grid-column:1/-1}.variant-inline-grid-metrics{grid-template-columns:1fr 1fr}.variant-admin-row-v30{grid-template-columns:1fr auto}.variant-admin-identity{grid-column:1/-1}.variant-inline-edit-popover{position:fixed;left:16px;right:16px;bottom:16px;top:auto;width:auto;max-height:78vh;overflow:auto}}
@media(max-width:620px){.variant-inline-grid-main,.variant-inline-grid-metrics{grid-template-columns:1fr}.variant-inline-grid-main label:first-child{grid-column:auto}.variant-inline-body{padding:12px}.variant-inline-create>summary{align-items:flex-start}.variant-admin-row-v30{grid-template-columns:1fr}.variant-admin-row-v30>.lifecycle-badge,.variant-admin-row-v30>.price-readiness{justify-self:start}.variant-row-actions-v30{display:grid;grid-template-columns:1fr 1fr;width:100%}.variant-row-actions-v30 .button{width:100%}.variant-inline-actions .button{width:100%}}

/* V3.1 shared-size model: product codes inherit one representative size set */
.size-shared-v31{scroll-margin-top:18px}.shared-size-code-note{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0;padding:12px 14px;border:1px solid #cfe0d6;border-radius:10px;background:#f5faf7}.shared-size-code-note>div{display:grid;gap:3px}.shared-size-code-note strong{font-size:12px}.shared-size-code-note span{color:var(--ink-muted);font-size:10px}.shared-size-code-note .button{white-space:nowrap}.size-inline-create-v31{margin-top:12px}.size-auto-name-hint{display:grid;gap:3px;margin-bottom:12px;padding:10px 12px;border-radius:9px;background:var(--surface-soft)}.size-auto-name-hint>span{color:var(--ink-muted);font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.size-auto-name-hint>strong{font-size:13px}.size-auto-name-hint>small{color:var(--ink-muted);font-size:10px}.size-grid-v31{grid-template-columns:repeat(4,minmax(0,1fr))}.size-admin-identity-v31 strong{font-size:14px;font-variant-numeric:tabular-nums}.size-admin-identity-v31 small{font-size:10px}.seller-size-table-v31{min-width:540px}.seller-size-table-v31 td:first-child{min-width:230px}.seller-size-table-v31 td:nth-child(2){min-width:280px}.seller-size-cell-v31{display:grid;gap:3px}.seller-size-cell-v31 strong{font-size:13px;font-variant-numeric:tabular-nums}.seller-size-cell-v31 small{color:var(--ink-muted);font-size:9px}
@media(max-width:900px){.shared-size-code-note{align-items:flex-start}.size-grid-v31{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.shared-size-code-note{display:grid}.shared-size-code-note .button{width:100%;text-align:center}.size-grid-v31{grid-template-columns:1fr}.seller-size-table-v31{min-width:520px}}

/* V3.2 representative price editor: add/edit shared sizes without leaving the page */
.seller-size-editor-v32{margin-top:16px;border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden}.seller-size-editor-v32>summary,.seller-size-edit-row-v32>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:56px;padding:11px 13px;cursor:pointer;list-style:none;background:var(--surface-soft)}.seller-size-editor-v32>summary::-webkit-details-marker,.seller-size-edit-row-v32>summary::-webkit-details-marker{display:none}.seller-size-editor-v32>summary>span:first-child,.seller-size-edit-row-v32>summary>span:first-child{display:grid;gap:2px}.seller-size-editor-v32>summary strong,.seller-size-edit-row-v32>summary strong{font-size:12px}.seller-size-editor-v32>summary small,.seller-size-edit-row-v32>summary small{color:var(--ink-muted);font-size:9px}.seller-size-editor-v32[open]>summary,.seller-size-edit-row-v32[open]>summary{border-bottom:1px solid var(--border)}.seller-size-editor-form-v32{padding:14px}.seller-size-grid-v32{display:grid;gap:12px}.seller-size-grid-v32 label{display:grid;gap:5px;color:var(--ink-soft);font-size:10px;font-weight:700}.seller-size-grid-v32 input{width:100%;min-height:42px}.seller-size-editor-actions-v32{display:flex;justify-content:flex-end;margin-top:14px}.seller-size-maintenance-v32{display:grid;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}.seller-size-maintenance-head-v32{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.seller-size-maintenance-head-v32>strong{font-size:12px}.seller-size-maintenance-head-v32>span{color:var(--ink-muted);font-size:9px}.seller-size-edit-row-v32{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff}.seller-size-active-v32{margin-top:12px}
@media(max-width:700px){.seller-size-maintenance-head-v32{display:grid;gap:3px}.seller-size-editor-actions-v32 .button{width:100%}}

/* Pricing V3.3: every shared size owns its product price. */
.seller-size-price-state-v33 {
  display: block;
  margin-top: 6px;
  color: var(--muted, #667085);
  font-size: 12px;
}
.seller-variant-table-v29 input[required][data-variant-price],
.seller-variation-table-v29 input[required][data-variant-price] {
  min-width: 150px;
}


/* Admin V3.5: top-9 task simplification */
.seller-center-v35,.seller-editor-v35{max-width:1120px}.seller-center-head-v35{align-items:flex-end}.seller-center-head-v35 .seller-center-actions{display:flex;gap:8px;flex-wrap:wrap}.seller-product-panel-v35{margin-top:14px}.seller-product-row-v35{grid-template-columns:64px minmax(0,1fr) 150px auto;gap:14px;align-items:center}.seller-product-main-v35{display:grid;gap:4px}.seller-product-main-v35>span{color:var(--ink-muted);font-size:10px}.seller-row-warnings{display:flex;gap:5px;flex-wrap:wrap;align-items:center}.seller-warning-pill{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border-radius:999px;background:#fff2d8;color:#865e00;font-size:9px;font-weight:800}.seller-warning-pill.muted{background:#eef2ef;color:var(--ink-muted)}.seller-product-price-v35{display:grid;gap:2px}.seller-product-price-v35>span{color:var(--ink-muted);font-size:9px}.seller-product-price-v35>strong{font-size:14px}.seller-product-price-v35 .is-missing{font-size:11px}.seller-dialog{width:min(520px,calc(100vw - 28px));max-width:520px;padding:0;border:1px solid var(--border);border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 24px 70px rgba(18,33,25,.18)}.seller-dialog::backdrop{background:rgba(17,28,22,.36)}.seller-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 18px 12px;border-bottom:1px solid var(--border)}.seller-dialog-head h2{margin:2px 0 0;font-size:20px}.seller-dialog-form{padding:18px}.seller-dialog-actions{display:flex;justify-content:flex-end;margin-top:16px}.seller-product-card-v35,.seller-variation-card-v35,.seller-codes-card-v35{padding:20px;border-radius:14px}.seller-product-info-grid-v35{grid-template-columns:210px minmax(0,1fr);gap:22px;margin-top:18px}.seller-editor-image-v35{display:grid;align-content:start;gap:8px}.seller-product-fields-v35{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.seller-advanced-quiet{margin-top:3px;border-top:1px dashed var(--border)}.seller-advanced-quiet summary{padding:10px 2px;color:var(--ink-muted);font-weight:700}.seller-card-actions-v35,.seller-variation-actions-v35,.seller-codes-actions-v35{display:flex;justify-content:flex-end;margin-top:12px}.seller-size-head-v35{align-items:center}.seller-batch-controls-v35{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.seller-batch-controls-v35 input{width:210px}.seller-variation-table-wrap-v35{margin-top:8px}.seller-variation-table-v35{min-width:520px}.seller-variation-table-v35 th,.seller-variation-table-v35 td{padding:10px 12px}.seller-variation-table-v35 th:last-child,.seller-variation-table-v35 td:last-child{width:44px;text-align:right}.seller-variant-price-input-v35{width:180px;margin:0}.seller-size-action-v35 .icon-button{width:34px;height:34px}.seller-size-grid-v35{grid-template-columns:1fr 1fr}.seller-codes-form-v35{padding-top:14px}.seller-codes-form-v35 .seller-codes-field textarea{min-height:132px}.seller-code-price-form-v35{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto}.seller-editor-title-row-v35{align-items:center}.seller-editor-title-row-v35 .seller-row-warnings{margin-left:6px}
@media(max-width:700px){.seller-center-head-v35,.seller-editor-head-v35{display:grid}.seller-center-head-v35 .seller-center-actions{display:grid;grid-template-columns:1fr 1fr}.seller-product-row-v35{grid-template-columns:58px minmax(0,1fr);gap:9px;padding:10px}.seller-product-price-v35{grid-column:2}.seller-product-edit{grid-column:1/3;width:100%}.seller-product-info-grid-v35{grid-template-columns:1fr}.seller-editor-image-v35{grid-template-columns:110px minmax(0,1fr);align-items:center}.seller-product-fields-v35{grid-template-columns:1fr}.seller-size-head-v35{display:flex;align-items:center}.seller-batch-controls-v35{display:grid;grid-template-columns:1fr auto}.seller-batch-controls-v35 input{width:100%}.seller-size-grid-v35{grid-template-columns:1fr}.seller-dialog-actions .button{width:100%}.seller-code-price-form-v35{grid-template-columns:1fr}.seller-editor-title-row-v35{display:grid;gap:6px}.seller-editor-title-row-v35 .seller-row-warnings{margin-left:0}}


/* V3.7: direct uploads and banner administration */
.seller-upload-image{display:grid;gap:6px;margin-top:10px;color:var(--ink-soft);font-size:11px;font-weight:750}.seller-upload-image input[type=file]{width:100%;padding:10px;border:1px dashed var(--border-strong);border-radius:8px;background:#fff;font-size:11px}.seller-upload-image small{color:var(--ink-muted);font-weight:500}.banner-admin-card{display:grid;gap:18px;padding:20px;border:1px solid var(--border);border-radius:14px;background:#fff}.banner-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.banner-upload-field{display:grid;gap:8px;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface-soft)}.banner-upload-field>span{color:var(--ink-muted);font-size:11px}.banner-upload-field img{width:100%;aspect-ratio:4/1;object-fit:cover;border-radius:8px;border:1px solid var(--border)}.banner-upload-field:nth-child(2) img{aspect-ratio:2/1}.banner-upload-field input{padding:9px;border:1px dashed var(--border-strong);border-radius:8px;background:#fff}.banner-toggle{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--border);border-radius:10px}.banner-toggle input{margin-top:3px}.banner-toggle span{display:grid;gap:2px}.banner-toggle small{color:var(--ink-muted);font-size:10px;font-weight:500}@media(max-width:720px){.banner-admin-grid{grid-template-columns:1fr}}

/* V3.8: high-ROI progressive disclosure without removing information */
.primary-nav-v38{display:grid;gap:4px}.nav-management-v38{margin-top:2px}.nav-management-v38>summary{display:flex;align-items:center;gap:9px;padding:10px 11px;border-radius:7px;color:#cbd7ce;font-size:12px;font-weight:600;cursor:pointer;list-style:none}.nav-management-v38>summary::-webkit-details-marker{display:none}.nav-management-v38>summary:hover,.nav-management-v38[open]>summary{color:#fff;background:rgb(255 255 255/.07)}.nav-management-links-v38{display:grid;gap:2px;margin:3px 0 4px 36px}.nav-management-links-v38 a{padding:7px 9px;border-radius:6px;color:#b9c8bd;font-size:11px}.nav-management-links-v38 a.active,.nav-management-links-v38 a:hover{color:#fff;background:rgb(255 255 255/.08)}
.bottom-nav-v38{grid-template-columns:repeat(4,1fr);grid-auto-flow:initial;grid-auto-columns:auto}.bottom-nav-more-v38{position:relative}.bottom-nav-more-v38>summary{display:flex;min-height:54px;align-items:center;justify-content:center;gap:3px;flex-direction:column;cursor:pointer;list-style:none;color:var(--ink-muted);font-size:10px;font-weight:600}.bottom-nav-more-v38>summary::-webkit-details-marker{display:none}.bottom-nav-menu-v38{position:absolute;right:8px;bottom:60px;display:grid;min-width:160px;padding:7px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:0 12px 32px rgba(18,33,25,.18)}.bottom-nav-menu-v38 a{padding:10px;border-radius:7px;color:var(--ink);font-weight:700}.bottom-nav-menu-v38 a:hover{background:var(--surface-soft)}
.seller-product-card-v38,.seller-variation-card-v38,.seller-codes-card-v38{padding:16px;border-radius:14px}.seller-product-info-grid-v38{display:grid;grid-template-columns:118px minmax(0,1fr);gap:16px;align-items:center;margin-top:12px}.seller-editor-image-v38{display:grid;gap:6px}.seller-editor-image-v38 .seller-editor-image-frame{aspect-ratio:1/1;overflow:hidden;border-radius:10px}.seller-editor-image-v38 .seller-editor-image-frame img{width:100%;height:100%;object-fit:cover}.seller-upload-image-v38{position:relative;margin:0}.seller-upload-image-v38>span{display:inline-flex;justify-content:center;padding:7px 9px;border:1px solid var(--border);border-radius:7px;background:#fff;cursor:pointer}.seller-upload-image-v38 input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.seller-product-fields-v38{display:grid;grid-template-columns:minmax(240px,2fr) minmax(140px,1fr) minmax(140px,1fr);gap:10px;align-items:end}.seller-product-fields-v38 .seller-field{margin:0}.seller-product-fields-v38 input{min-height:42px}.seller-hidden-save-form{display:none}
.seller-variation-table-v38{width:100%;min-width:540px}.seller-variation-table-v38 th,.seller-variation-table-v38 td{padding:9px 10px}.seller-variation-table-v38 th:last-child,.seller-variation-table-v38 td:last-child{width:44px}.seller-inline-variant-name{width:100%;min-width:220px;border:1px solid transparent;background:transparent;font-weight:750}.seller-inline-variant-name:hover,.seller-inline-variant-name:focus{border-color:var(--border-strong);background:#fff}.seller-variation-form-v38{margin-top:10px}.seller-unsaved-bar{position:fixed;left:calc(var(--sidebar-width,220px) + 24px);right:24px;bottom:18px;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1080px;margin:0 auto;padding:11px 13px;border:1px solid var(--border-strong);border-radius:12px;background:#fff;box-shadow:0 14px 42px rgba(18,33,25,.18)}.seller-unsaved-bar[hidden]{display:none}.seller-unsaved-bar>span{display:grid;gap:2px}.seller-unsaved-bar small{color:var(--ink-muted)}.seller-unsaved-bar>div{display:flex;gap:8px}.has-unsaved-bar .seller-editor-v38{padding-bottom:84px}
.seller-codes-manager{border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);overflow:hidden}.seller-codes-manager>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;cursor:pointer;list-style:none}.seller-codes-manager>summary::-webkit-details-marker{display:none}.seller-codes-manager>summary>span:first-child{display:grid;gap:3px;min-width:0}.seller-codes-manager>summary small{max-width:640px;overflow:hidden;color:var(--ink-muted);text-overflow:ellipsis;white-space:nowrap}.seller-codes-manager[open]>summary{border-bottom:1px solid var(--border)}.seller-codes-form-v38{padding:13px;background:#fff}.seller-codes-form-v38 textarea{min-height:132px}
.seller-product-panel-head-v38{display:flex;align-items:end;justify-content:space-between}.seller-product-toolbar-v38{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border)}.seller-product-toolbar-v38>input{flex:1;min-width:180px}.seller-filter-chips{display:flex;gap:5px;flex-wrap:wrap}.seller-filter-chips button{padding:7px 9px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--ink-soft);font-size:10px;font-weight:750;cursor:pointer}.seller-filter-chips button.is-active{border-color:var(--brand);background:var(--brand);color:#fff}.seller-filter-empty{margin:14px}
.audit-filter-v38{display:grid;grid-template-columns:minmax(220px,2fr) minmax(170px,1fr) auto auto auto;gap:8px;align-items:end}.audit-advanced-v38{grid-column:1/-1}.audit-advanced-v38>summary{cursor:pointer;color:var(--ink-muted);font-size:11px;font-weight:700}.audit-advanced-v38>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.audit-list-v38{display:grid;gap:8px}.audit-list-v38>li{padding:0}.audit-content-v38{width:100%;padding:14px;border:1px solid var(--border);border-radius:10px;background:#fff}.audit-human-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.audit-human-head>div{display:grid;gap:3px}.audit-human-head span,.audit-human-head time{color:var(--ink-muted);font-size:10px}.audit-human-summary{margin:8px 0 0;font-size:13px}.audit-raw-v38{margin-top:9px}.audit-raw-v38>summary{cursor:pointer;color:var(--ink-muted);font-size:10px;font-weight:700}.audit-raw-v38 .audit-diff{margin-top:8px}.audit-raw-v38 code{max-height:180px;overflow:auto}.adjustment-disclosure-v38{padding:0;overflow:hidden}.adjustment-disclosure-v38>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;cursor:pointer;list-style:none}.adjustment-disclosure-v38>summary::-webkit-details-marker{display:none}.adjustment-disclosure-v38>summary>span:first-child{display:grid;gap:3px}.adjustment-disclosure-v38>summary small{color:var(--ink-muted);font-weight:500}.adjustment-disclosure-v38>summary>span:last-child{color:var(--brand);font-size:11px;font-weight:750}.adjustment-disclosure-v38[open]>summary{border-bottom:1px solid var(--border)}.adjustment-disclosure-body-v38{padding:16px}
.banner-status-row-v38{display:grid;grid-template-columns:1fr 1fr;gap:12px}.banner-link-preview-v38{display:grid;grid-template-columns:1fr auto;gap:3px 10px;align-items:center;padding:14px;border:1px solid var(--border);border-radius:10px}.banner-link-preview-v38>span{color:var(--ink-muted);font-size:10px}.banner-link-preview-v38>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.banner-link-preview-v38>.button{grid-column:2;grid-row:1/3}.banner-preview-grid-v38{display:grid;grid-template-columns:2fr 1fr;gap:14px}.banner-preview-card-v38{display:grid;gap:8px}.banner-preview-card-v38>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.banner-preview-card-v38>div:first-child span{color:var(--ink-muted);font-size:10px}.banner-preview-frame-v38{display:grid;place-items:center;overflow:hidden;min-height:90px;border:1px dashed var(--border-strong);border-radius:10px;background:var(--surface-soft);color:var(--ink-muted);font-size:11px}.banner-preview-frame-v38 img{width:100%;height:100%;object-fit:cover}.banner-preview-card-v38.desktop .banner-preview-frame-v38{aspect-ratio:4/1}.banner-preview-card-v38.mobile .banner-preview-frame-v38{aspect-ratio:2/1}.banner-upload-grid-v38 .banner-upload-field img{display:none}
@media(max-width:900px){.seller-product-fields-v38{grid-template-columns:1fr 1fr}.seller-product-fields-v38 .seller-field:first-child{grid-column:1/-1}.seller-unsaved-bar{left:18px;right:18px}.audit-filter-v38{grid-template-columns:1fr 1fr}.audit-filter-v38>input:first-child{grid-column:1/-1}.banner-status-row-v38,.banner-preview-grid-v38{grid-template-columns:1fr}}
@media(max-width:700px){.seller-product-info-grid-v38{grid-template-columns:86px minmax(0,1fr);gap:10px}.seller-product-fields-v38{grid-template-columns:1fr}.seller-product-fields-v38 .seller-field:first-child{grid-column:auto}.seller-product-card-v38,.seller-variation-card-v38,.seller-codes-card-v38{padding:14px}.seller-inline-variant-name{min-width:180px}.seller-unsaved-bar{bottom:70px;display:grid;grid-template-columns:1fr}.seller-unsaved-bar>div{display:grid;grid-template-columns:1fr 1fr}.seller-product-toolbar-v38{display:grid}.seller-filter-chips{overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.seller-filter-chips button{white-space:nowrap}.audit-filter-v38{grid-template-columns:1fr}.audit-filter-v38>input:first-child,.audit-advanced-v38{grid-column:auto}.audit-advanced-v38>div{grid-template-columns:1fr}.audit-human-head{display:grid}.banner-link-preview-v38{grid-template-columns:1fr}.banner-link-preview-v38>.button{grid-column:auto;grid-row:auto}.bottom-nav-menu-v38{right:4px}}

.seller-fallback-save{display:flex;justify-content:flex-end;margin:-4px 0 12px}.js .seller-fallback-save{display:none}

/* V3.8.2: product list visual hierarchy and faster scanning */
.seller-center-v382{max-width:1080px}
.seller-center-head-v382{align-items:center;margin-bottom:14px;padding-bottom:2px}
.seller-center-heading-v382{min-width:0}
.seller-center-heading-v382>.eyebrow{margin-bottom:4px}
.seller-center-title-v382{display:flex;align-items:center;gap:10px}
.seller-center-title-v382 h1{margin:0;font-size:30px;line-height:1.05}
.seller-center-title-v382>span{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;background:var(--surface-soft);color:var(--ink-muted);font-size:10px;font-weight:750;white-space:nowrap}
.seller-center-heading-v382>p:last-child{margin-top:6px;font-size:11px}
.seller-center-actions-v382{flex-wrap:nowrap}
.seller-center-actions-v382 .button{min-height:40px}
.seller-product-panel-v382{overflow:hidden;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 1px 0 rgba(18,33,25,.02)}
.seller-product-toolbar-v382{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid var(--border);background:#fbfcfa}
.seller-product-toolbar-meta{display:flex;align-items:center;gap:12px}
.product-sort-toolbar{display:flex;justify-content:flex-end;padding:9px 14px;border-bottom:1px solid var(--border);background:#fbfcfa}
.product-sort-status{color:var(--ink-muted);font-size:10px;white-space:nowrap}
.product-sort-status[data-state="saving"]{color:#775d14}
.product-sort-status[data-state="saved"]{color:var(--primary)}
.product-sort-status[data-state="error"]{color:var(--danger)}
.seller-product-search-v382{position:relative;display:block;flex:1;max-width:560px;margin:0}
.seller-product-search-v382>span{position:absolute;left:12px;top:50%;transform:translateY(-52%);color:var(--ink-muted);font-size:18px;line-height:1;pointer-events:none}
.seller-product-search-v382>input{width:100%;min-height:42px;padding-left:36px;border-color:#cbd7cd;background:#fff}
.seller-visible-count-v382{color:var(--ink-muted);font-size:10px;white-space:nowrap}
.seller-visible-count-v382 strong{color:var(--ink);font-size:11px}
.seller-product-list-v382{display:grid}
.seller-product-row-v382{display:grid;grid-template-columns:56px minmax(0,1fr) 150px 116px;gap:14px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--border);transition:background .14s ease,box-shadow .14s ease}
.seller-product-row-v382.is-product-sortable{position:relative;padding-left:52px}
.product-sort-handle{position:absolute;left:12px;top:50%;width:28px;height:38px;display:grid;place-items:center;transform:translateY(-50%);border:1px solid #d7e0d9;border-radius:8px;color:var(--ink-muted);background:#fff;cursor:grab;touch-action:none;font-size:17px;line-height:1}
.product-sort-handle:hover,.product-sort-handle:focus-visible{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}
.product-sort-handle:active{cursor:grabbing}
.seller-product-row-v382.is-reordering-product{z-index:3;opacity:.78;background:var(--primary-soft);box-shadow:0 10px 26px rgba(9,107,85,.18)}
body.is-reordering-product{cursor:grabbing;user-select:none}
.seller-warning-pill.is-linked{color:#1458a8;background:#edf5ff}
.seller-product-description-field{grid-column:1/-1}
.seller-product-description-field textarea{width:100%;min-height:72px;resize:vertical}
.seller-product-row-v382:last-child{border-bottom:0}
.seller-product-row-v382:hover{background:#fbfcfa;box-shadow:inset 3px 0 0 var(--primary)}
.seller-product-row-v382[hidden]{display:none}
.seller-product-thumb-v382{width:56px;height:56px;border:1px solid #e5ebe6;border-radius:10px;background:#f6f8f5}
.seller-product-main-v382{display:grid;gap:3px;min-width:0}
.seller-product-main-v382>strong{overflow:hidden;font-size:14px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.seller-product-main-v382>span{color:var(--ink-muted);font-size:10px}
.seller-row-warnings-v382{gap:4px;margin-top:2px}
.seller-row-warnings-v382 .seller-warning-pill{min-height:20px;padding:2px 6px;font-size:8px}
.seller-product-price-v382{display:grid;gap:2px;text-align:right}
.seller-product-price-v382>span{font-size:9px}
.seller-product-price-v382>strong{font-size:16px;line-height:1.15;white-space:nowrap}
.seller-product-price-v382 .is-missing{font-size:11px;white-space:normal}
.seller-product-edit-v382{justify-content:center;min-height:38px;padding-inline:11px;white-space:nowrap}
.seller-product-edit-v382 span{margin-left:4px}
.seller-filter-empty-v382{margin:0;padding:42px 18px;border:0;border-radius:0;background:#fff}
.seller-empty-v382{padding:56px 18px}
.seller-empty-v382 .button{margin-top:10px}
@media(max-width:760px){
  .seller-center-head-v382{display:grid;gap:12px;align-items:start}
  .seller-center-title-v382 h1{font-size:27px}
  .seller-center-actions-v382{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .seller-product-toolbar-v382{display:grid;padding:10px 11px}
  .seller-product-toolbar-meta{justify-content:flex-start}
  .product-sort-toolbar{justify-content:flex-start;padding:8px 11px}
  .seller-product-search-v382{max-width:none}
  .seller-visible-count-v382{display:none}
  .seller-product-row-v382{grid-template-columns:54px minmax(0,1fr);gap:9px 10px;padding:11px}
  .seller-product-row-v382.is-product-sortable{padding-left:46px}
  .product-sort-handle{left:9px;width:27px;height:36px}
  .seller-product-thumb-v382{width:54px;height:54px}
  .seller-product-main-v382>strong{font-size:13px}
  .seller-product-price-v382{grid-column:2;grid-row:2;text-align:left}
  .seller-product-price-v382>span{display:inline;margin-right:5px}
  .seller-product-price-v382>strong{display:inline;font-size:14px}
  .seller-product-edit-v382{grid-column:1/3;width:100%;margin-top:2px}
}
@media(max-width:440px){
  .seller-center-actions-v382{grid-template-columns:1fr}
  .seller-center-title-v382{align-items:flex-end}
  .seller-center-title-v382>span{margin-bottom:1px}
}

/* V3.8.3: edit-page visual density + pricing-first hierarchy (no feature changes) */
.seller-editor-v38{max-width:1040px}
.seller-editor-v38 .seller-editor-head{margin-bottom:12px}
.seller-editor-v38 .seller-editor-head h1{font-size:28px;line-height:1.08}
.seller-editor-v38 .seller-editor-card{margin-bottom:12px;border-color:#dfe6e1;box-shadow:none}
.seller-editor-v38 .seller-section-heading{padding-bottom:9px;border-bottom-color:#e6ebe7}
.seller-editor-v38 .seller-section-heading h2{font-size:16px;line-height:1.2}
.seller-editor-v38 .seller-section-heading p{margin-top:2px;font-size:9px;line-height:1.35}

/* 1. Sales information: same fields, much less vertical space. */
.seller-editor-v38 .seller-product-card-v38{padding:12px 14px}
.seller-editor-v38 .seller-product-info-grid-v38{grid-template-columns:86px minmax(0,1fr);gap:12px;margin-top:8px;align-items:end}
.seller-editor-v38 .seller-editor-image-v38{gap:4px}
.seller-editor-v38 .seller-editor-image-v38 .seller-editor-image-frame{width:86px;border-radius:8px}
.seller-editor-v38 .seller-upload-image-v38>span{min-height:32px;padding:5px 7px;font-size:9px}
.seller-editor-v38 .seller-product-fields-v38{grid-template-columns:minmax(240px,2fr) minmax(120px,.85fr) minmax(120px,.85fr);gap:8px;align-items:end}
.seller-editor-v38 .seller-product-fields-v38 .seller-field{gap:3px}
.seller-editor-v38 .seller-product-fields-v38 .seller-field>span{font-size:9px}
.seller-editor-v38 .seller-product-fields-v38 input{min-height:38px;padding-block:7px}

/* 2. Variant price table is the primary work surface. */
.seller-editor-v38 .seller-variation-card-v38{padding:13px 14px 14px;border-color:#ccd8cf;background:#fff;box-shadow:0 3px 14px rgba(18,33,25,.045)}
.seller-editor-v38 .seller-size-head-v35{padding-bottom:10px}
.seller-editor-v38 .seller-size-head-v35 h2{font-size:18px}
.seller-editor-v38 .seller-batch-controls-v35{margin-top:8px;gap:6px}
.seller-editor-v38 .seller-batch-controls-v35 input{width:190px;min-height:38px}
.seller-editor-v38 .seller-variation-table-wrap-v35{margin-top:7px;border-color:#cbd6ce;border-radius:9px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.65)}
.seller-editor-v38 .seller-variation-table-v38{table-layout:fixed;min-width:560px}
.seller-editor-v38 .seller-variation-table-v38 th{padding:8px 11px;background:#f3f7f4;color:#627269;font-size:9px;letter-spacing:.045em}
.seller-editor-v38 .seller-variation-table-v38 th:first-child{width:48%}
.seller-editor-v38 .seller-variation-table-v38 th:nth-child(2){width:42%}
.seller-editor-v38 .seller-variation-table-v38 th:last-child{width:48px}
.seller-editor-v38 .seller-variation-table-v38 td{padding:8px 10px;border-top-color:#e0e6e1}
.seller-editor-v38 .seller-variation-table-v38 tbody tr{transition:background .12s ease}
.seller-editor-v38 .seller-variation-table-v38 tbody tr:hover{background:#fafcf9}

/* 3. Make both editable fields visually obvious without changing behavior. */
.seller-editor-v38 .seller-inline-variant-name{min-width:0;min-height:42px;padding:8px 10px;border:1px solid #cdd8d0;border-radius:8px;background:#fff;color:var(--ink);font-size:13px;font-weight:750;line-height:1.2}
.seller-editor-v38 .seller-inline-variant-name:hover{border-color:#aebdb2;background:#fff}
.seller-editor-v38 .seller-inline-variant-name:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(0,112,84,.09);outline:none}
.seller-editor-v38 .seller-variant-price-input-v35{width:min(240px,100%)}
.seller-editor-v38 .seller-variant-price-input-v35 input{min-height:42px;padding:8px 30px 8px 10px;border-color:#bdccc1;border-radius:8px;background:#fff;font-size:15px;font-weight:800;text-align:right;font-variant-numeric:tabular-nums}
.seller-editor-v38 .seller-variant-price-input-v35 input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(0,112,84,.09);outline:none}
.seller-editor-v38 .seller-variant-price-input-v35>span{right:10px;font-size:10px;font-weight:700}

/* 4. Product codes: preserve every detail, reduce visual footprint when collapsed. */
.seller-editor-v38 .seller-codes-card-v38{padding:11px 14px 10px}
.seller-editor-v38 .seller-codes-card-v38 .seller-section-heading{padding-bottom:7px}
.seller-editor-v38 .seller-codes-manager{margin-top:7px;border-color:#e0e6e1;border-radius:8px}
.seller-editor-v38 .seller-codes-manager>summary{min-height:46px;padding:8px 10px}
.seller-editor-v38 .seller-codes-manager>summary>span:first-child{gap:1px}
.seller-editor-v38 .seller-codes-manager>summary strong{font-size:11px}
.seller-editor-v38 .seller-codes-manager>summary small{font-size:9px}
.seller-editor-v38 .seller-codes-manager>summary .button{min-height:32px;padding:5px 9px;font-size:10px}
.seller-editor-v38 .seller-codes-form-v38{padding:10px}
.seller-editor-v38 .seller-codes-form-v38 textarea{min-height:108px}
.seller-editor-v38 .seller-codes-card-v38 .seller-advanced-quiet{margin-top:2px}
.seller-editor-v38 .seller-codes-card-v38 .seller-advanced-quiet summary{padding:6px 2px;font-size:9px}

/* 5. Lighter cards and tighter rhythm; hierarchy comes from type and spacing. */
.seller-editor-v38 .seller-product-card-v38,
.seller-editor-v38 .seller-codes-card-v38{background:#fff;border-color:#e0e6e1}
.seller-editor-v38 .seller-fallback-save{margin:-2px 0 10px}
.seller-editor-v38 .seller-editor-card input,
.seller-editor-v38 .seller-editor-card select,
.seller-editor-v38 .seller-editor-card textarea{box-shadow:none}

@media(max-width:900px){
  .seller-editor-v38 .seller-product-fields-v38{grid-template-columns:1fr 1fr}
  .seller-editor-v38 .seller-product-fields-v38 .seller-field:first-child{grid-column:1/-1}
}
@media(max-width:700px){
  .seller-editor-v38 .seller-editor-head{margin-bottom:10px}
  .seller-editor-v38 .seller-product-card-v38,
  .seller-editor-v38 .seller-variation-card-v38,
  .seller-editor-v38 .seller-codes-card-v38{padding:11px}
  .seller-editor-v38 .seller-product-info-grid-v38{grid-template-columns:74px minmax(0,1fr);gap:9px;align-items:start}
  .seller-editor-v38 .seller-editor-image-v38 .seller-editor-image-frame{width:74px}
  .seller-editor-v38 .seller-product-fields-v38{grid-template-columns:1fr;gap:7px}
  .seller-editor-v38 .seller-product-fields-v38 .seller-field:first-child{grid-column:auto}
  .seller-editor-v38 .seller-product-fields-v38 input{min-height:40px}
  .seller-editor-v38 .seller-size-head-v35{display:flex;align-items:center;gap:10px}
  .seller-editor-v38 .seller-size-head-v35>div{min-width:0}
  .seller-editor-v38 .seller-size-head-v35 .button{flex:0 0 auto}
  .seller-editor-v38 .seller-batch-controls-v35{grid-template-columns:1fr auto}
  .seller-editor-v38 .seller-batch-controls-v35 input{width:100%}
  .seller-editor-v38 .seller-variation-table-wrap-v35{margin-inline:0}
  .seller-editor-v38 .seller-variation-table-v38{min-width:500px}
  .seller-editor-v38 .seller-inline-variant-name{min-width:0;font-size:12px}
  .seller-editor-v38 .seller-variant-price-input-v35{width:100%}
  .seller-editor-v38 .seller-codes-manager>summary{gap:8px}
}

/* V3.9.4: add classifications as unsaved rows in the main editor. */
.seller-editor-v38 .seller-variant-add-row:hover{background:transparent}
.seller-editor-v38 .seller-variant-add-row td{padding-block:9px;border-top:1px dashed #cbd6ce}
.seller-editor-v38 .seller-add-variant-inline{width:100%;min-height:38px;justify-content:flex-start;border-style:dashed;color:var(--primary);background:#f8fbfa}
.seller-editor-v38 .seller-add-variant-inline:hover{border-color:var(--primary);background:var(--primary-soft)}
.seller-editor-v38 .seller-new-variant-row{background:#f6fbf8}
.seller-editor-v38 .seller-new-variant-row:hover{background:#f2f9f5}
.seller-editor-v38 .seller-new-variant-row .icon-button{color:var(--danger);font-size:18px}

/* V3.9.5: pointer, touch and keyboard-friendly classification ordering. */
.seller-editor-v38 .seller-variant-name-cell{display:flex;align-items:center;gap:8px;min-width:0}
.seller-editor-v38 .seller-variant-name-cell .seller-inline-variant-name{flex:1;min-width:0}
.seller-editor-v38 .seller-variant-order-controls{display:inline-flex;align-items:center;flex:0 0 auto;border:1px solid #d5ddd7;border-radius:7px;overflow:hidden;background:#fff}
.seller-editor-v38 .seller-variant-order-controls button{width:25px;height:32px;display:grid;place-items:center;padding:0;border:0;border-right:1px solid #e3e8e4;color:var(--ink-muted);background:#fff;cursor:pointer;font-size:12px;line-height:1}
.seller-editor-v38 .seller-variant-order-controls button:last-child{border-right:0}
.seller-editor-v38 .seller-variant-order-controls button:hover,.seller-editor-v38 .seller-variant-order-controls button:focus-visible{color:var(--primary);background:var(--primary-soft)}
.seller-editor-v38 [data-variant-drag-handle]{cursor:grab!important;touch-action:none;font-size:15px!important}
.seller-editor-v38 [data-variant-drag-handle]:active{cursor:grabbing!important}
.seller-editor-v38 tr.is-reordering{position:relative;z-index:3;opacity:.72;background:var(--primary-soft);box-shadow:0 8px 22px rgba(9,107,85,.16)}
body.is-reordering-variant{cursor:grabbing;user-select:none}
