/* Quiet operations UI. Layout only; business fields and actions retain their IDs. */
body{--ink:#202b3c;--muted:#738093;--line:#e4e9f0;background:#f4f6f9;font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;grid-template-columns:196px minmax(0,1fr)}
body>.sidebar{background:#fafbfc;border-right:1px solid #e3e8ef;padding:20px 10px 12px;gap:16px}
.sidebar .brand{padding:0 13px 16px;gap:9px}.sidebar .brand img{width:33px;height:33px;border-radius:7px}.sidebar .brand strong{font-size:16px;letter-spacing:.5px}.sidebar .brand span{font-size:11px}
.sidebar #moduleNav.nav{gap:2px;padding:0 2px}.sidebar .nav button{min-height:36px;padding:8px 12px;font-size:13px;border-radius:7px;color:#566477;font-weight:450}
.sidebar .nav button:hover{background:#edf0f5;color:#233c5d}.sidebar .nav button.active{background:#223d60;color:#fff;box-shadow:0 3px 8px #223d6014;font-weight:550}
.sidebar #moduleNav .nav-group-title,.sidebar #moduleNav .nav-group-toggle{font-size:10px!important;color:#8491a2!important;padding:16px 12px 6px!important;letter-spacing:.8px}
.sidebar .sidebar-foot{font-size:9px;opacity:.8;padding-top:10px}
body>.workspace{padding:0 26px 32px}
.workspace>.topbar{min-height:76px;padding:16px 26px;margin:0 -26px 24px;background:#fff;border-bottom:1px solid #e4e9f0;gap:16px}
.workspace .topbar h1{font-size:21px;letter-spacing:-.4px;font-weight:650}.workspace .topbar .top-subtitle{margin-top:4px;font-size:12px;color:#7a8799}
.topbar .admin-badge{background:transparent;border:0;color:#536c63;font-size:12px;padding:5px}.topbar .admin-badge::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#3b9370;margin-right:7px;vertical-align:middle}
.workspace button{border-radius:7px}.workspace button.primary{background:#254e7e;border-color:#254e7e;box-shadow:0 2px 3px #22436512}.workspace button.primary:hover{background:#1c3e65}
.workspace .panel{border-color:#e2e7ef;border-radius:12px;box-shadow:0 2px 5px #23395403}
.workspace input:not([type=checkbox]):not([type=radio]),.workspace select,.workspace textarea{border-radius:7px;border-color:#dce3ec;background-color:#fff}
.workspace input:focus-visible,.workspace select:focus-visible,.workspace textarea:focus-visible{outline:3px solid #dae7f6;outline-offset:1px;border-color:#7799c4}
.workspace .section-head h2{font-size:15px}.workspace .section-actions button{height:34px;min-width:0;font-size:12px;padding:0 13px}
#products>.section-head{margin-bottom:14px}#products>.section-head h2{color:#6c7a8e;font-weight:500;font-size:13px}
#products .product-workbench{grid-template-columns:256px minmax(0,1fr);gap:20px}
#products .product-filter-bar{padding:12px;gap:10px;border-radius:10px;margin-bottom:10px;background:#fff}
#products .product-direction-tabs{gap:4px}#products .product-direction-tabs button{background:#f4f6f9;border-color:transparent;font-size:11px;border-radius:5px;padding:4px 7px}
#products .product-direction-tabs button.active{color:#285887;background:#e8eff8;border-color:#d1def0}
#products .product-card{padding:14px 12px;gap:10px;border-radius:10px;transition:border-color .15s,background .15s}
#products .product-catalog .product-card.active{background:#fff;border-color:#7695b9;box-shadow:0 0 0 1px #7695b930}
#products .product-card:hover{border-color:#a9bacf}
#products .product-thumb{width:40px;height:50px;flex-basis:40px;border-radius:5px}
#products .product-card h3{font-size:12px;line-height:1.6;font-weight:600}
#products .product-card .price{background:none;padding:0;color:#243c5b;font-size:12px;font-weight:650}
#products .product-card .status-tag{background:#f0f4f8;color:#617084;font-size:10px;padding:3px 5px}
#products .product-card-actions{margin-top:9px;gap:10px}#products .product-card-actions button{font-size:11px}
#products .product-pagination{font-size:11px;color:#6b7a8e}
#products .product-editor{padding:0 24px;border-radius:12px;box-shadow:0 4px 16px #243b5304}
#products .product-editor-heading{padding:20px 0 16px;margin:0;min-height:0;align-items:center}
#products .product-editor-heading h3{font-size:16px;font-weight:650;letter-spacing:-.3px}
#products .product-editor-heading .sync-pill{font-size:11px;font-weight:500;line-height:1.5;padding:4px 8px;border-radius:5px;max-width:65%;white-space:normal;overflow-wrap:anywhere}
#products .sync-pill.ok{color:#35705b;background:#eff6f2}#products .sync-pill.warn{color:#8b6629;background:#fbf5e9}
#products .product-editor-nav{margin:0 0 4px;padding:4px;gap:3px;border:1px solid #e8edf3;border-radius:8px;background:#f5f7fa;overflow:auto}
#products .product-editor-nav a{flex:1;text-align:center;padding:9px 10px;border:0;border-radius:5px;background:none;font-size:12px;font-weight:500;color:#6b798b}
#products .product-editor-nav a[aria-current=true]{background:#fff;color:#254e7e;border:0;box-shadow:0 1px 4px #243a5b16;font-weight:600}
#products .product-editor-nav a:hover{background:#edf1f6}
#products .product-editor .form-section{padding:22px 0!important;gap:18px!important}
/* The active tab already names the section; retain its heading for screen readers. */
#products .product-editor .form-section>h4{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#products .product-editor label{font-size:12px;font-weight:500;color:#617086;gap:8px}
#products .product-editor input:not([type=checkbox]):not([type=file]),#products .product-editor select{height:39px;min-height:39px;font-size:13px;padding:8px 11px;border-color:#dce3ed}
#products .product-editor textarea{font-size:13px;line-height:1.7}
#products #productBasic{gap:22px!important;padding:26px 0 30px!important}
#products #productBasic>label input{font-size:15px;height:44px}
#products .product-publish-bar{margin:0 -24px;padding:14px 24px;border-radius:0 0 12px 12px;background:#fbfcfe;border-color:#e7ecf3;gap:10px;box-shadow:none}
#products .product-publish-bar button{height:36px;font-size:12px;padding:0 24px}
#products .product-publish-bar select{height:34px;min-height:34px;width:94px;background:#fff}
#products .product-publish-bar label{font-size:11px;color:#788599}
#products .product-reviews-panel{margin:16px 0 0 276px;padding:18px 24px;border-radius:12px}
#products .product-reviews-panel p{font-size:12px;margin:6px 0}#products .product-review-card{padding:14px;border-radius:8px}#products .product-review-card h4{font-size:13px}
#products .refined-help{position:relative;font-size:12px;color:#78889a;margin:0;min-width:0}
#products .refined-help summary{cursor:pointer;list-style:none;font-size:11px;color:#71839b;font-weight:400}
#products .refined-help summary::before{content:'ⓘ';margin-right:5px}#products .refined-help summary:hover{color:#254e7e}
#products .refined-help p{margin:10px 0 0;padding:12px;background:#f4f7fb;border-radius:6px;line-height:1.7;color:#63758b;font-size:12px}
#products .refined-display-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin:0 0 16px}
#products .refined-display-heading>strong{font-size:13px;white-space:nowrap;color:#566a83;font-weight:500}
#products .refined-display-heading .refined-help{max-width:70%;text-align:right}#products .refined-display-heading .refined-help p{text-align:left}
#products .mall-presentation-settings{margin:0;padding:0;border:0;background:none}
#products .mall-presentation-grid{gap:12px;padding:0}
#products .mall-presentation-group{gap:12px;padding:16px;border-radius:9px;border:1px solid #e5eaf1;background:#fff}
#products .mall-presentation-heading{gap:8px;flex-wrap:nowrap;color:#304865;font-size:13px;margin:0}
#products .mall-presentation-heading strong{font-weight:550}
#products .refined-single-field>.mall-field-label,#products .refined-single-field>label>.mall-field-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#products .mall-presentation-group textarea{height:100px;min-height:90px;border-color:#dce3ed}
#products .mall-presentation-group>small{color:#7c899b;font-size:11px}
#products .mall-presentation-live-preview{margin:0;padding:0;background:none;border:0;border-radius:0;font-size:12px;color:#456687;line-height:1.6;overflow-wrap:anywhere}
#products .refined-count-field{background:#fafcfe}
#products label.refined-switch{display:inline-flex;position:relative;flex:0 0 32px;height:20px;width:32px;min-width:32px;cursor:pointer;margin:0;padding:0;gap:0}
#products .refined-switch input{position:absolute;inset:0;width:32px!important;height:20px!important;min-height:20px!important;opacity:0;cursor:pointer;z-index:1}
#products .refined-switch>span{display:block;width:32px;height:18px;border-radius:12px;background:#c8d2df;transition:background .15s}
#products .refined-switch>span::after{content:'';display:block;position:absolute;width:12px;height:12px;border-radius:50%;top:4px;left:3px;background:#fff;box-shadow:0 1px 2px #10213a20;transition:transform .15s}
#products .refined-switch input:checked+span{background:#3c6d9f}#products .refined-switch input:checked+span::after{transform:translateX(14px)}
#products .refined-switch input:focus-visible+span{outline:3px solid #a9c7e7;outline-offset:3px}
#products .product-media-box{border:1px solid #e3e9f1;border-radius:10px;background:#fafcfe;padding:16px;gap:12px}
#products .product-media-box h5{font-size:13px;color:#304865}
#products .product-media-box .cover-preview{width:min(100%,240px);border-radius:8px;overflow:hidden;align-self:center}
#products .product-detail-image-preview{gap:12px}#products .mall-media-help{font-size:11px;color:#7a899b;margin:0}
#products .mall-variant-tabs{gap:8px}#products .mall-variant-tabs button{border-radius:8px;min-height:58px!important;padding:12px;box-shadow:none}
#products .mall-variant-tabs button[aria-pressed=true]{border-color:#8ba7c9;box-shadow:none;background:#eef4fb;color:#254e7e}
#products .mall-variant-header{margin-bottom:12px}#products .mall-variant-header button{background:#fff;border-color:#dce4ed;color:#355d8a}
#products .mall-context-note{font-size:11px;margin-bottom:12px}
#products .product-class-source,#products .mall-variant-detail{border-radius:9px;background:#fafbfd;padding:14px}
#products .mall-delivery-summary{background:#f4f7fa;border-color:#e1e8f1;gap:8px;font-size:12px;padding:12px}
#products .mall-simple-delivery-heading{margin:20px 0 12px;font-size:13px}
#products .mall-simple-material{border-radius:8px;background:#fafcfe}
#products .mall-extra-empty{background:none;border:1px dashed #dce4ee;padding:14px;font-size:12px}
#products .refined-caption{font-size:11px;color:#75859a;margin:8px 0 0}
#products .product-offer-block{border-radius:9px;background:#fafcfe;padding:18px}
@media(min-width:1700px){#products .product-workbench{grid-template-columns:280px minmax(0,1fr)}#products .product-reviews-panel{margin-left:300px}}
@media(max-width:1180px){body{grid-template-columns:174px minmax(0,1fr)}body>.workspace{padding:0 18px 24px}.workspace>.topbar{padding:16px 18px;margin:0 -18px 20px}#products .product-workbench{grid-template-columns:220px minmax(0,1fr);gap:14px}#products .product-editor{padding:0 18px}#products .product-publish-bar{margin:0 -18px;padding:12px 18px}#products .product-reviews-panel{margin-left:234px;padding:18px}#products .product-editor-nav a{padding:8px 9px}#products .mall-presentation-grid{grid-template-columns:1fr}#products .mall-presentation-wide{grid-column:auto}}
@media(max-width:760px){body{display:block}.sidebar #moduleNav.nav{max-height:130px}body>.sidebar{padding:12px}.sidebar .brand{padding-bottom:8px}.workspace>.topbar{align-items:flex-start}.topbar .top-actions{flex-wrap:wrap}#products .product-workbench{grid-template-columns:1fr}#products .product-catalog{max-height:330px;position:static}#products .product-reviews-panel{margin-left:0}#products .product-editor-heading .sync-pill{max-width:100%}#products .product-editor-nav a{flex:none}#products .product-editor .inline{grid-template-columns:1fr}#products .product-editor .inline>*{min-width:0}}
@media(prefers-reduced-motion:reduce){#products *,body .workspace button{transition:none!important;scroll-behavior:auto!important}}

#products .product-editor{container-type:inline-size}
#products .refined-material-grid{display:grid;grid-template-columns:1fr;gap:0 16px}
#products .refined-material-grid>section{min-width:0}
#products .refined-material-grid .mall-simple-delivery-heading{gap:8px}
#products .refined-material-grid .mall-simple-delivery-heading button{padding:6px 9px;font-size:11px}
@container(min-width:700px){#products .refined-material-grid{grid-template-columns:1fr 1fr}}
#products .mall-variant-detail>label:has([data-variant-field=desc]){display:block}#products .mall-variant-detail>label>small{display:inline;margin-left:5px}#products .mall-variant-detail>label>input{display:block;width:100%;margin-top:8px}
