/* Style existing page headers only. No added bar or reserved body space. */
.ops-native-header{box-sizing:border-box;min-height:72px;height:auto;padding:14px 24px!important;gap:16px;background:#fff!important;color:#24344d!important;border:1px solid #e2e7ef!important;border-width:0 0 1px!important;border-radius:0!important;box-shadow:0 2px 10px #22304a04!important;font-family:"PingFang SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
.ops-native-header :is(h1,h2,.brand-title,.workspace-title){margin:0!important;font-size:20px!important;line-height:1.4!important;font-weight:700!important;letter-spacing:0!important;color:#24344d!important}
.ops-native-header :is(p,.sub,.subtitle,.brand-subtitle,.topnote,.eyebrow,small){font-size:12px!important;line-height:1.6!important;color:#768399!important;letter-spacing:0!important}
.ops-native-header :is(p,.sub,.subtitle,.brand-subtitle){margin:4px 0 0!important}
.ops-native-header :is(.portal-account,.top-actions,.header-actions,.topbar-actions,.top-action-slot,.top-side){display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.ops-native-header :is(.current-user,#currentIdentity,#currentUser,.permission-pill,#portal-current-user,.actor label,.actor>span,.role-field){color:#607089!important;font-size:13px!important;font-weight:500!important}
.ops-native-header :is(button,a.top-nav-button,a.button,a.btn,a.home-link,.portal-account>button,.portal-back,.top-status>a,.header-actions>a,.top-action-slot>a,.role-field[href]){box-sizing:border-box;min-height:36px;padding:7px 12px!important;border:1px solid #dfe5ef!important;border-radius:8px!important;background:#fff!important;color:#42516b!important;font:500 13px/1.4 "PingFang SC","Microsoft YaHei",sans-serif!important;text-decoration:none!important;box-shadow:none!important;white-space:nowrap;cursor:pointer;transform:none!important}
.ops-native-header :is(button,a.top-nav-button,a.button,a.btn,a.home-link,.portal-back,.header-actions>a,.role-field[href]):hover{color:#5264d5!important;background:#f3f5fc!important;border-color:#bbc6e8!important}
.ops-native-header :is(button,a,input,select):focus-visible{outline:3px solid #b5c2ff!important;outline-offset:2px}
.ops-native-header :is(input,select){box-sizing:border-box;min-height:36px;padding:7px 10px!important;border:1px solid #dfe5ef!important;border-radius:8px!important;background:#f8faff!important;color:#34435d!important;font:500 13px/1.4 "PingFang SC","Microsoft YaHei",sans-serif!important}
.ops-native-header [hidden]{display:none!important}
.ops-native-header :is(.brand,.portal-brand strong){color:#24344d!important;font-size:20px!important;font-weight:700!important}
.ops-native-header .portal-logo{width:40px;height:40px;flex:none}
.ops-native-header .portal-secure{color:#607089}
.ops-native-header[data-ops-header="home"]{display:flex;flex-wrap:wrap;justify-content:space-between}
.ops-native-header[data-ops-header="milan"]{min-height:64px;padding:10px 24px!important}
.ops-native-header[data-ops-header="milan"] :is(.workspace-title){font-size:16px!important}
.ops-native-header[data-ops-header="milan"] .store-selector button{min-height:32px;padding:6px 14px!important;border-color:transparent!important;background:transparent!important}
.ops-native-header[data-ops-header="milan"] .store-selector button.active{background:#5265ed!important;color:#fff!important}
.ops-native-header[data-ops-header="milan"] .top-status>span{color:#607089!important;border-color:#e2e7ef;background:#f8faff;font-size:12px}
.ops-native-header[data-ops-header="candidate"]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}
.ops-native-header[data-ops-header="candidate"] .brand{flex-shrink:0}
.ops-native-header[data-ops-header="candidate"] .top-actions{flex:1}
.ops-native-header[data-ops-header="candidate"] :is(.topnote,.role-field,#currentIdentity){color:#607089!important}
.ops-native-header[data-ops-header="candidate"] .top-actions .topnote{margin-right:auto}
.ops-native-header[data-ops-header="product-shooting"] :is(.crumb,.crumb b){color:#607089!important}
.ops-native-header[data-ops-header="product-shooting"] .permission-pill{margin-left:0;padding:0;border:0;background:none}
.ops-native-header[data-ops-header="product-shooting"] .topbar-actions{margin-left:auto}
.ops-native-header[data-ops-header="sku-generator"] .eyebrow{margin:0 0 4px!important}
.ops-native-header[data-ops-header="visual-tasks"],.ops-native-header[data-ops-header="product-development"]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;border:1px solid #e2e7ef!important;border-radius:12px!important}
.ops-native-header[data-ops-header="visual-tasks"] .actor,.ops-native-header[data-ops-header="product-development"] .actor{display:flex;align-items:center;gap:8px;color:#607089!important;font-size:12px}
.ops-native-header[data-ops-header="visual-tasks"] .actor input,.ops-native-header[data-ops-header="product-development"] .actor input{max-width:160px}
.ops-native-header[data-ops-header="product-development"] .eyebrow a{color:#5264d5;text-decoration:none}
.ops-native-header[data-ops-header="eia-file-search"]{display:block}
.ops-native-header[data-ops-header="energy-meter"]{height:59px;min-height:59px;padding:8px 24px!important}
.ops-native-header[data-ops-header="energy-meter"] :is(.brand,.right,.right a,.right span){color:#42516b!important}
.ops-native-header[data-ops-header="energy-meter"] .brand{font-size:20px!important}
h1.ops-native-header{font-size:20px!important;line-height:1.4;margin-bottom:12px!important}
@media(max-width:760px){
 .ops-native-header{padding:12px 14px!important;gap:10px;min-height:64px}
 .ops-native-header :is(h1,h2,.brand-title,.brand,.portal-brand strong){font-size:18px!important}
 .ops-native-header :is(.portal-account,.top-actions,.header-actions,.topbar-actions,.top-action-slot,.top-side){gap:7px;max-width:100%}
 .ops-native-header :is(button,a.top-nav-button,a.button,a.btn,a.home-link,.portal-back,.top-status>a,.header-actions>a,.role-field[href]){min-height:32px;padding:6px 9px!important;font-size:12px!important}
 .ops-native-header[data-ops-header="milan"]{padding:10px 12px!important;min-height:60px}
 .ops-native-header[data-ops-header="milan"] .topbar-primary{flex-wrap:wrap;min-width:0}
 .ops-native-header[data-ops-header="milan"] .top-status{flex-wrap:wrap;justify-content:flex-end}
 .ops-native-header[data-ops-header="candidate"] .top-actions{justify-content:flex-start;flex-basis:100%}
 .ops-native-header[data-ops-header="visual-tasks"] .top-side{width:auto;margin:0}
 .ops-native-header[data-ops-header="energy-meter"]{min-height:59px;height:59px;padding:8px 14px!important}
}
@media(max-width:760px){
 [data-ops-header-page="milan"]:not(.navigation-open) .sidebar{box-shadow:none}
 .ops-native-header[data-ops-header="milan"] #current-user{max-width:150px;font-size:12px!important}
}
.ops-native-header>strong{font-size:20px;line-height:1.4;color:#24344d}
.ops-native-header[data-ops-header="emf-calculator"]{font-size:18px;font-weight:700}
.ops-native-header[data-ops-header="candidate-permissions"]{display:block}
.ops-native-header[data-ops-header="candidate-permissions"] #identity{color:#607089!important;font-size:13px!important}
.ops-native-header[data-ops-header="candidate-suppliers"] nav a,h1.ops-native-header+a{display:inline-flex;align-items:center;min-height:36px;padding:7px 12px;border:1px solid #dfe5ef;border-radius:8px;background:#fff;color:#42516b;font-size:13px;text-decoration:none;box-sizing:border-box}

/* Confirmed UI standard: recolor only the six public page families' existing headers.
   Product development and private tools keep their deployed styles and behavior. */
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]){background:#17365d!important;color:#fff!important;border-color:#23486f!important;box-shadow:none!important;min-height:64px;padding:10px 20px!important;gap:12px}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]) :is(h1,h2,.brand-title,.workspace-title,.brand,.portal-brand strong),.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"])>strong{color:#fff!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]) :is(p,.sub,.subtitle,.brand-subtitle,.topnote,.eyebrow,small,.current-user,#currentIdentity,#currentUser,#identity,.permission-pill,#portal-current-user,.actor label,.actor>span,.actor,.role-field,.crumb,.crumb b,.portal-secure){color:#d8e5f5!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]) :is(.portal-account,.top-actions,.header-actions,.topbar-actions,.top-action-slot,.top-side){gap:8px}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]) :is(button,a.top-nav-button,a.button,a.btn,a.home-link,.portal-account>button,.portal-back,.top-status>a,.header-actions>a,.top-action-slot>a,.role-field[href],nav a){min-height:34px;padding:6px 10px!important;border:1px solid transparent!important;border-radius:4px!important;background:transparent!important;color:#edf5ff!important;box-shadow:none!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]) :is(button,a.top-nav-button,a.button,a.btn,a.home-link,.portal-back,.top-status>a,.header-actions>a,.top-action-slot>a,.role-field[href],nav a):hover{background:#284e78!important;color:#fff!important;border-color:#51759b!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]) :is(button,a,input,select):focus-visible{outline:3px solid #8dc2ff!important;outline-offset:2px}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]) :is(input,select){min-height:34px;padding:6px 10px!important;border:1px solid #9eb8d5!important;border-radius:4px!important;background:#f4f8fd!important;color:#17365d!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]) :is(.eyebrow a,.topnote a){color:#c8e2ff!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]) :is(#permissions-open,#permissionSettings,#settingsButton,#score-rules-top){background:#234970!important;border-color:#6e97bf!important;color:#fff!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]) :is(button.primary,a.primary,button.btn-primary,a.btn-primary){background:#1677ff!important;border-color:#1677ff!important;color:#fff!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"])[data-ops-header="milan"]{min-height:64px;padding:10px 20px!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"])[data-ops-header="milan"] .top-status>span{background:transparent!important;border-color:transparent!important;color:#d8e5f5!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"])[data-ops-header="milan"] .store-selector button{background:transparent!important;color:#d8e5f5!important;border-color:transparent!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"])[data-ops-header="milan"] .store-selector button.active{background:#1677ff!important;color:#fff!important;border-color:#1677ff!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"])[data-ops-header="visual-tasks"]{border-color:#23486f!important;border-radius:4px!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"])[data-ops-header="candidate-permissions"] #identity{color:#d8e5f5!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]):is([data-ops-header="candidate"],[data-ops-header="sku-generator"]){border-radius:0!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"])[data-ops-header="candidate"] :is(.topnote,.role-field,#currentIdentity){color:#d8e5f5!important}
.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"])[data-ops-header="product-shooting"] :is(.crumb,.crumb b){color:#d8e5f5!important}
@media(max-width:760px){
 .ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]){min-height:60px;padding:10px 12px!important;gap:8px}
 .ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]) :is(button,a.top-nav-button,a.button,a.btn,a.home-link,.portal-back,.top-status>a,.header-actions>a,.top-action-slot>a,.role-field[href],nav a){min-height:32px;padding:6px 8px!important}
 .ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"])[data-ops-header="milan"]{min-height:60px;padding:10px 12px!important}
}





/* Six public applications: confirmed compact UI, scoped away from product development and private tools. */
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]){--ops-ink:#17304e;--ops-muted:#60738a;--ops-line:#d9e3ef;--ops-wash:#f1f5fa;--ops-accent:#1677ff;--ops-shadow:none;--ink:#17304e;--muted:#60738a;--line:#d9e3ef;--line-strong:#bfcedf;--canvas:#f1f5fa;--page:#f1f5fa;--paper:#fff;--surface:#fff;--brand:#1677ff;--brand-deep:#145aab;--brand-soft:#eaf3ff;--brand-50:#eef5ff;--brand-100:#e1eeff;--brand-400:#599dff;--brand-500:#1677ff;--brand-600:#145aab;--brand-gradient:linear-gradient(#1677ff,#1677ff);--blue:#1677ff;--blue-soft:#eaf3ff;--violet:#1677ff;--violet-deep:#145aab;--navy:#17365d;--navy-soft:#eaf3ff;--radius-sm:4px;--radius-md:4px;--radius-lg:4px;--shadow:none;--shadow-card:none;--shadow-pop:0 4px 16px #17365d14;color:var(--ink);background:#f1f5fa!important;font-size:14px;line-height:1.5}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"])::before{background:none!important}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(h1,h2,h3){letter-spacing:0;line-height:1.4}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) main :is(h1,.page-head h1,.intro h1){font-size:24px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) main h2{font-size:18px} body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) main h3{font-size:15px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.page-head,.section-card,.table-shell,.table-wrap,.chart,.card,.panel,.scanner,.workspace,.board,.dashboard-card,.authority-month-card,.data-status>div,.upload-card,.upload-guide,.filtered-summary,.compare-group,.compare-item,.planning-rules,.rules-grid section,.supplier-panel,.manual-spec,.spec-group,.fixed-spec-entry,.portal-note,.permissions-panel){border-radius:4px!important;box-shadow:none!important}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.page-head,.panel,.dashboard-card,.upload-card,.upload-guide,.scanner){padding:12px!important}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.panel,.dashboard-card,.card,.stat-card,.metric-card,.kpi,.app-card):hover{transform:none;box-shadow:none}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.filters,.filter-row,.toolbar,.more-filters,.permissions-toolbar,.scanner-row,.specs-toolbar,.results-toolbar,.result-actions,.batch-toolbar,.admin-toolbar,.sync-toolbar){gap:8px;align-items:center;flex-wrap:wrap}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]){box-sizing:border-box;min-height:34px;padding:6px 9px;border-radius:4px;border-color:#bfcedf;font-size:13px;line-height:20px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) textarea{min-height:72px;white-space:pre-wrap}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(input,select,textarea,button,a):focus-visible{outline:2px solid #82b8ff;outline-offset:2px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(label,.field>label,.field-control){font-size:13px;line-height:1.4}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) label:has(> :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select,textarea)):not(.file-picker):not(.file-drop):not(.role-field):not(.hidden):not([hidden]):not([style*="display:none"]):not([style*="display: none"]){display:flex!important;flex-direction:row!important;align-items:center;gap:8px;white-space:nowrap;grid-template-rows:none!important;min-width:0}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) label> :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select,textarea){flex:1;min-width:0}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.field,.field-grid,.product-inline-grid,.form-grid,.compact-form-grid,.upload-form-grid,.settings-grid){gap:8px 12px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.btn,.button,.primary,.secondary,.text-button,.link-button,.upload-history-link,.upload-shortcut):not(.metric-filter):not(.stat-card){min-height:34px;padding:6px 10px;border-radius:4px;box-shadow:none;font-size:13px;font-weight:600;line-height:20px;white-space:nowrap}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.btn.ghost,.button.secondary,button.secondary,.text-button,.link-button){background:transparent;border-color:transparent;color:#145aab}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.btn.ghost,.button.secondary,button.secondary,.text-button,.link-button):hover{background:#eaf3ff;border-color:#abcaf0}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.btn.primary,.btn.purple,.button.primary,button.primary,a.primary,.upload-submit,.upload-shortcut){background:#1677ff;border-color:#1677ff;color:#fff;box-shadow:none}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.btn.danger,.button.danger,button.danger){background:#fff0f0;color:#b42318;border-color:#efb6b6}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.btn:disabled,.button:disabled,button:disabled){cursor:not-allowed;opacity:.55}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.close,.close-drawer,.dialog-close,.modal-close,.drawer-close,#assistant-close,#settingsClose,#imageViewerClose,#shootingBriefClose){display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;padding:4px 8px!important;background:#c93636!important;color:#fff!important;border:1px solid #c93636!important;border-radius:4px!important;font-size:16px;line-height:22px;box-shadow:none}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(#settingsClose,#imageViewerClose,#shootingBriefClose)::before{content:'×';margin-right:5px;font-size:20px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(dialog,.drawer,.modal){border-radius:4px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.dialog-head,.modal-head,.modal-header,.drawer-header,.settings-header,.image-viewer-header,.shooting-brief-header){padding:10px 14px;background:#eaf3ff;color:#17365d;border-bottom:1px solid #d9e3ef}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.dialog-body,.modal-body){padding:12px 14px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.form-grid,.field-grid,.product-inline-grid){min-width:0}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.dialog-footer,.modal-foot,.modal-footer,.drawer-actions,.settings-actions){gap:8px;padding-top:10px;flex-wrap:wrap}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(th,td){padding:7px 8px;line-height:1.45;font-size:13px;vertical-align:middle}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) th{background:#eaf1f9;color:#17365d;font-weight:700}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(td,th) :is(.btn,.button){min-height:30px;padding:4px 7px;font-size:12px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.row-actions,.list-actions){display:flex;flex-wrap:wrap;gap:5px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.badge,.status-badge,.urgency-badge,.grade-badge,.priority-badge,.chip){font-size:12px;border-radius:4px;padding:2px 6px;line-height:18px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.kpis,.metrics,.stats,.summary){background:#fff;border:1px solid #d9e3ef;border-radius:4px;gap:0;margin-bottom:12px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.kpis,.metrics,.stats,.summary)>:is(.kpi,.metric,.metric-card,.stat-card,.summary-card,.stat){min-height:78px;border:0;border-right:1px solid #e2e9f2;border-bottom:1px solid #e2e9f2;border-radius:0!important;box-shadow:none!important;padding:10px 12px;background:transparent;transform:none}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.kpis,.metrics,.stats,.summary)>:last-child{border-right:0}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.kpi b,.metric b,.stat-value){font-size:24px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.kpi small,.cell-small,.time-stack span,.goal-detail){font-size:11px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.stat-card .hint,.kpi span,.metric span){font-size:12px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.attachment-list,.attachments,.image-list){gap:8px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.list-primary-thumb,.product-thumbnail-button img){width:64px;height:64px;object-fit:contain;border-radius:4px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.drawer-section,.planning-rules){margin-top:12px;padding-top:12px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.drawer-section h4,.planning-rules h3){font-size:15px}
/* Homepage: compact entry list and restrained decoration, all entry links retained. */
body[data-ops-header-page="home"] .portal-main{width:calc(100% - 40px);max-width:1600px;padding:18px 0 32px}
body[data-ops-header-page="home"] .portal-hero{min-height:0;padding:20px 24px;gap:20px;background:#fff;border:1px solid #d9e3ef;border-radius:4px;box-shadow:none}
body[data-ops-header-page="home"] .portal-hero :is(h1,h1 span){font-size:28px;color:#17365d;background:none}
body[data-ops-header-page="home"] .portal-hero-copy>p:not(.portal-eyebrow){font-size:13px;margin-top:8px}
body[data-ops-header-page="home"] :is(.portal-hero:before,.portal-hero:after,.app-card:before){content:none}
body[data-ops-header-page="home"] .portal-hero-art{display:none}
body[data-ops-header-page="home"] .portal-metrics{margin-top:12px;gap:12px}
body[data-ops-header-page="home"] .portal-metrics span{padding:0;border:0;box-shadow:none;background:none}
body[data-ops-header-page="home"] .portal-apps{margin-top:18px}
body[data-ops-header-page="home"] .portal-section-head{margin-bottom:10px;align-items:center}
body[data-ops-header-page="home"] .portal-section-head h2{font-size:18px}
body[data-ops-header-page="home"] .portal-grid{gap:10px}
body[data-ops-header-page="home"] .app-card{min-height:112px;padding:14px;gap:12px;border:1px solid #d9e3ef;border-radius:4px;box-shadow:none;background:#fff;--accent:#145aab;--accent-soft:#eaf3ff}
body[data-ops-header-page="home"] .app-body strong{font-size:17px}
body[data-ops-header-page="home"] .app-body em{margin-top:5px;font-size:12px}
body[data-ops-header-page="home"] .app-icon,body[data-ops-header-page="home"] .app-icon.has-logo{width:44px;height:44px;flex-basis:44px;margin:0;border-radius:4px;box-shadow:none}
body[data-ops-header-page="home"] .app-arrow{width:26px;height:26px;right:12px;bottom:12px;border-radius:4px;box-shadow:none}
body[data-ops-header-page="home"] .app-status{top:12px;right:12px;border-radius:4px;font-size:11px;padding:2px 5px}
body[data-ops-header-page="home"] .portal-note{padding:10px 12px;margin-top:12px}
body[data-ops-header-page="home"] .portal-logo{background:#1677ff;box-shadow:none;border-radius:4px}
body[data-ops-header-page="home"] .portal-account>:is(span,strong){color:#d8e5f5;background:transparent;border-color:transparent;box-shadow:none}
/* Milan: existing navigation and every report pane use the same blue palette. */
body[data-ops-header-page="milan"] .sidebar{background:#17365d;box-shadow:none}
body[data-ops-header-page="milan"] .brand-mark{background:#1677ff;box-shadow:none;border-radius:4px}
body[data-ops-header-page="milan"] .nav a{border-radius:4px;padding:8px 10px}
body[data-ops-header-page="milan"] .nav a.active{color:#fff;background:#255c99;border-color:#447bb6;box-shadow:none}
body[data-ops-header-page="milan"] .nav a.active i{background:#1677ff;box-shadow:none}
body[data-ops-header-page="milan"] main{max-width:none;padding:16px 20px 28px}
body[data-ops-header-page="milan"] .hero{min-height:0;padding:18px 22px;gap:16px;background:#fff;border:1px solid #d9e3ef;color:#17365d;box-shadow:none}
body[data-ops-header-page="milan"] .hero:after{content:none}
body[data-ops-header-page="milan"] .hero h1{color:#17365d;font-size:26px}
body[data-ops-header-page="milan"] .hero :is(p,small,span,em,.eyebrow){color:#60738a}
body[data-ops-header-page="milan"] .hero .live-badge{color:#145aab;background:#eaf3ff;border-color:#d0e2f6;margin-bottom:8px}
body[data-ops-header-page="milan"] .hero-actions{margin-top:12px;gap:8px}
body[data-ops-header-page="milan"] .hero-actions a{border-radius:4px;background:#1677ff;box-shadow:none;padding:7px 10px}
body[data-ops-header-page="milan"] .hero-actions a.secondary{background:#eaf3ff;border-color:#b9d4f3;color:#145aab}
body[data-ops-header-page="milan"] .hero-date{min-width:220px;padding:12px 16px;background:#eaf3ff;border-color:#d0e2f6;border-radius:4px;text-align:left}
body[data-ops-header-page="milan"] .hero-date strong{color:#17365d;font-size:28px}
body[data-ops-header-page="milan"] .section-heading{margin:18px 0 10px}
body[data-ops-header-page="milan"] :is(.dashboard-grid,.dashboard-secondary,.data-status,.upload-layout){gap:10px}
body[data-ops-header-page="milan"] .shop-share{min-height:210px;gap:14px}
body[data-ops-header-page="milan"] :is(.goal-list,.ranking-list){min-height:200px}
body[data-ops-header-page="milan"] .file-drop{min-height:150px;padding:18px;border:1px dashed #82b8ff;background:#f4f8ff;border-radius:4px}
body[data-ops-header-page="milan"] .store-selector{background:transparent;border-color:#51759b;border-radius:4px}
body[data-ops-header-page="milan"] :is(.download,.filters button){background:#1677ff;box-shadow:none;border-radius:4px}
body[data-ops-header-page="milan"] :is(.workspace-tabs a.active,.product-tabs button.active){background:#eaf3ff;color:#145aab;border-color:#b9d4f3}
body[data-ops-header-page="milan"] :is(.page-head:before,.section-heading>span){background:#1677ff}
body[data-ops-header-page="milan"] .kpi b{white-space:nowrap;font-size:24px}
/* Candidate library: galleries stay image-based; surrounding controls become compact. */
body[data-ops-header-page="candidate"] main{max-width:1680px;padding:18px 20px 32px}
body[data-ops-header-page="candidate"] .intro{max-width:1100px;margin-bottom:14px}
body[data-ops-header-page="candidate"] .intro h1{font-size:24px;margin:0 0 6px}
body[data-ops-header-page="candidate"] .intro p{font-size:13px;margin:0}
body[data-ops-header-page="candidate"] :is(.path-field,.depth-field){display:flex;align-items:center;gap:8px;width:auto}
body[data-ops-header-page="candidate"] :is(.path-field,.depth-field)>label{white-space:nowrap;font-size:13px;margin:0}
body[data-ops-header-page="candidate"] .path-field input{flex:1;min-width:160px}
body[data-ops-header-page="candidate"] .depth-field select{width:78px}
body[data-ops-header-page="candidate"] :is(.scanner-row,.filter-row,.selection-bar){gap:8px}
body[data-ops-header-page="candidate"] :is(.tabs,.summary){margin:12px 0}
body[data-ops-header-page="candidate"] :is(.grid,.compare-grid,.gallery){gap:10px}
body[data-ops-header-page="candidate"] .card{border-radius:4px}
body[data-ops-header-page="candidate"] .card :is(.card-body,.card-content){padding:10px}
body[data-ops-header-page="candidate"] :is(.filter,.search,.supplier-filter summary,.operator-result-filter summary){height:34px;min-height:34px;padding:6px 9px;border-radius:4px;font-size:13px}
/* SKU: compact editable fields retain all specification choices and downloads. */
body:is([data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"]) .workspace{max-width:1680px;width:calc(100% - 40px);padding:16px 0 30px}
body[data-ops-header-page="sku-generator"] :is(.compact-input-grid,.spec-entry-grid){gap:10px}
body[data-ops-header-page="sku-generator"] :is(.workflow-step,.spec-tile,.spec-group,.manual-spec,.fixed-spec-entry){border-radius:4px;box-shadow:none}
body[data-ops-header-page="sku-generator"] .panel{margin-top:12px}
body[data-ops-header-page="sku-generator"] .section-heading{margin-bottom:10px}
body[data-ops-header-page="sku-generator"] :is(.form-grid,.inline-form,.manual-form){gap:8px 12px}
body[data-ops-header-page="sku-generator"] .search-field input{width:auto;flex:1}
/* Shooting: keep task role sections, thumbnails and table-to-mobile behavior. */
body[data-ops-header-page="product-shooting"] .page{padding:16px 20px 28px}
body[data-ops-header-page="product-shooting"] .intro{margin-bottom:12px}
body[data-ops-header-page="product-shooting"] .stats{margin:12px 0}
body[data-ops-header-page="product-shooting"] .field-control{height:auto}
body[data-ops-header-page="product-shooting"] .drawer{padding:16px}
body[data-ops-header-page="product-shooting"] .drawer-section>h4{margin:0 0 10px}
body[data-ops-header-page="product-shooting"] .field-grid label:has(>textarea){align-items:flex-start;white-space:normal}
@media(min-width:1100px){body[data-ops-header-page="visual-tasks"] .metrics{grid-template-columns:repeat(7,minmax(0,1fr))}}
body[data-ops-header-page="visual-tasks"] .metric-card{display:flex;flex-direction:column;justify-content:space-between}
body[data-ops-header-page="visual-tasks"] .metric-card .metric-filter{padding:0;min-height:74px}
body[data-ops-header-page="visual-tasks"] .task-table-v22 th{white-space:nowrap!important}
body[data-ops-header-page="visual-tasks"] .task-table-v22 th:nth-child(11){white-space:normal!important}
body[data-ops-header-page="visual-tasks"] .task-table-v22 col:nth-child(3){width:38px!important}
/* Visual tasks: filters wrap inside the workspace, labels remain beside fields. */
body[data-ops-header-page="visual-tasks"] .shell{max-width:1800px;padding:16px 20px 30px}
body[data-ops-header-page="visual-tasks"] .top{margin-bottom:12px}
body[data-ops-header-page="visual-tasks"] .top-action-slot{padding-top:0}
body[data-ops-header-page="visual-tasks"] .actor label{white-space:nowrap}
body[data-ops-header-page="visual-tasks"] .toolbar{overflow:visible;flex-wrap:wrap!important;padding:10px 12px;align-items:center;gap:8px}
body[data-ops-header-page="visual-tasks"] .toolbar .field{display:block;width:auto;min-width:0;flex:0 1 auto}
body[data-ops-header-page="visual-tasks"] .toolbar .field>label{display:flex!important;grid-template-rows:none!important;gap:8px;align-items:center;min-height:34px}
body[data-ops-header-page="visual-tasks"] .toolbar .field>label> :is(input,select){width:130px;min-height:34px;height:34px}
body[data-ops-header-page="visual-tasks"] .toolbar .field.date>label>input{width:145px}
body[data-ops-header-page="visual-tasks"] .toolbar :is(#task-import-template,.btn){margin-left:0}
body[data-ops-header-page="visual-tasks"] .content{padding:12px;min-height:220px}
body[data-ops-header-page="visual-tasks"] .form-grid .field:not(.hidden):not([hidden]):not(:has(>label>input,>label>select)){display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:8px}
body[data-ops-header-page="visual-tasks"] .form-grid .field>label{white-space:nowrap;min-height:0}
body[data-ops-header-page="visual-tasks"] .form-grid .field :is(input,select,textarea){min-width:0}
body[data-ops-header-page="visual-tasks"] :is(.flow-step,.req,.kv){border-radius:4px;padding:10px}
body[data-ops-header-page="visual-tasks"] .flow-step{min-height:114px;grid-template-rows:auto minmax(32px,auto) 26px}
body[data-ops-header-page="visual-tasks"] .flow-step span{min-height:32px}
body[data-ops-header-page="visual-tasks"] :is(.task-table-v22,.processing-table){width:100%;min-width:1100px;table-layout:fixed}
body[data-ops-header-page="visual-tasks"] :is(.task-table-v22,.processing-table) :is(th,td){min-width:0!important;width:auto;white-space:normal;overflow-wrap:break-word;font-size:12px;padding:6px}
@media(max-width:760px){
 body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.portal-main,main.workspace){width:calc(100% - 24px)}
 body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(main,.page,.shell){padding:12px!important}
 body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.filters,.filter-row,.toolbar){gap:8px}
 body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.field-grid,.product-inline-grid,.form-grid,.compact-form-grid,.upload-form-grid){grid-template-columns:1fr!important}
 body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.form-grid,.compact-form-grid)>:is(.two,.full){grid-column:1/-1}
 body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.kpis,.metrics,.stats,.summary){grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-ops-header-page="home"] .portal-hero{padding:14px}
 body[data-ops-header-page="home"] .portal-hero :is(h1,h1 span){font-size:23px}
 body[data-ops-header-page="candidate"] .path-field{flex-wrap:wrap}
 body[data-ops-header-page="candidate"] .path-field input{flex-basis:150px}
 body[data-ops-header-page="visual-tasks"] .toolbar .field{max-width:100%}
 body[data-ops-header-page="visual-tasks"] .toolbar .field>label> :is(input,select){width:126px}
 body[data-ops-header-page="visual-tasks"] .form-grid .field{width:100%}
 body[data-ops-header-page="milan"] .hero{padding:14px;flex-wrap:wrap}
 body[data-ops-header-page="milan"] .hero-date{min-width:0;width:100%}
}

.ops-native-header:is([data-ops-header="home"],[data-ops-header="milan"],[data-ops-header="candidate"],[data-ops-header="candidate-permissions"],[data-ops-header="candidate-suppliers"],[data-ops-header="sku-generator"],[data-ops-header="sku-history"],[data-ops-header="product-shooting"],[data-ops-header="visual-tasks"]) :is(.current-user,#current-user,#portal-current-user,#currentIdentity,#currentUser,.permission-pill){color:#e5effa!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
/* Keep eight report indicators balanced and auxiliary tabs compact. */
body[data-ops-header-page="milan"] :is(.product-tabs button,.workspace-tabs a,.quick button){border-radius:4px;box-shadow:none}
@media(min-width:1100px){body[data-ops-header-page="milan"] .kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Shooting ledger: bounded desktop columns, natural wrapping, existing mobile cards. */
@media(min-width:901px){
 body[data-ops-header-page="product-shooting"] .page{max-width:1280px!important;margin-inline:auto!important}
 body[data-ops-header-page="product-shooting"] .table-wrap table{table-layout:fixed!important;min-width:0!important}
 body[data-ops-header-page="product-shooting"] .table-wrap th:nth-child(1){width:20%!important}
 body[data-ops-header-page="product-shooting"] .table-wrap th:nth-child(2){width:23%!important}
 body[data-ops-header-page="product-shooting"] .table-wrap th:nth-child(3){width:7%!important}
 body[data-ops-header-page="product-shooting"] .table-wrap th:nth-child(4){width:14%!important}
 body[data-ops-header-page="product-shooting"] .table-wrap th:nth-child(5){width:11%!important}
 body[data-ops-header-page="product-shooting"] .table-wrap th:nth-child(6){width:17%!important}
 body[data-ops-header-page="product-shooting"] .table-wrap th:nth-child(7){width:8%!important}
 body[data-ops-header-page="product-shooting"] .table-wrap :is(th,td){overflow-wrap:anywhere}
 body[data-ops-header-page="product-shooting"] .table-wrap .row-actions .button{min-width:0!important;width:100%!important;padding-inline:4px!important}
}

/* 2026-10-13 audit: compact controls and complete responsive filters. */
body[data-ops-header-page="candidate"] #libraryView>.filter-row{margin-bottom:6px}
body[data-ops-header-page="candidate"] :is(#visualSearchEntry,.supplier-grade-legend,.batch-page-tools,.library-meta,.library-pager){margin-bottom:6px!important}
body[data-ops-header-page="candidate"] .supplier-grade-legend{margin-top:0}
body[data-ops-header-page="candidate"] .scanner :is(input:not([type=file]),select){height:34px!important;min-height:34px!important}
body[data-ops-header-page="product-shooting"] .row-actions .row-edit{background:#1677ff!important;border-color:#1677ff!important;color:#fff!important}
body[data-ops-header-page="visual-tasks"] .metric-card{min-height:0!important;padding:10px!important;gap:6px!important}
body[data-ops-header-page="visual-tasks"] .metric-card .metric-actions{gap:6px;min-height:30px}
body[data-ops-header-page="visual-tasks"] .metric-card .metric-action{min-height:30px!important;padding:4px 7px!important;font-size:12px!important;line-height:20px}
body[data-ops-header-page="visual-tasks"] .ops-native-header .actor input[readonly]{background:transparent!important;border-color:#51759b!important;color:#fff!important}
@media(max-width:760px){
 body[data-ops-header-page="candidate"] .path-field{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:8px;min-width:0}
 body[data-ops-header-page="candidate"] .path-field>label{flex:0 0 98px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body[data-ops-header-page="candidate"] .path-field>input{flex:1 1 0!important;width:0!important;min-width:0!important}
 body[data-ops-header-page="candidate"] #libraryView>.filter-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body[data-ops-header-page="candidate"] #libraryView>.filter-row #search{grid-column:1/-1;width:100%}
 body[data-ops-header-page="candidate"] #libraryView>.filter-row> :is(select,details){width:100%!important;min-width:0;max-width:100%;box-sizing:border-box}
 body[data-ops-header-page="candidate"] #libraryView>.filter-row>details>summary{min-height:34px;box-sizing:border-box}
 body[data-ops-header-page="candidate"] #libraryView>.filter-row>button{justify-self:start}
}
/* Native file inputs must not force the SKU import grid beyond narrow screens. */
body[data-ops-header-page="sku-generator"] .supplier-import-area{grid-template-columns:minmax(0,1fr);min-width:0}
body[data-ops-header-page="sku-generator"] :is(.supplier-upload-row,.supplier-file-picker,.supplier-paste-zone,.supplier-import-hint){min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:760px){
 body[data-ops-header-page="sku-generator"] .supplier-upload-row{grid-template-columns:minmax(0,1fr)}
 body[data-ops-header-page="sku-generator"] .supplier-file-picker{flex-wrap:wrap}
 body[data-ops-header-page="sku-generator"] .supplier-file-picker input[type=file]{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
}
@media(max-width:760px){
 body[data-ops-header-page="product-shooting"] .product-zoom{left:0;top:calc(100% + 8px);width:min(284px,calc(100vw - 48px));max-width:calc(100vw - 48px);box-sizing:border-box}
 body[data-ops-header-page="product-shooting"] .product-zoom img{width:100%;max-width:100%;height:auto;aspect-ratio:1;object-fit:contain}
}
@media(max-width:760px){
 body[data-ops-header-page="sku-generator"] .color-panel .inline-form{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 body[data-ops-header-page="sku-generator"] .color-panel .inline-form>label{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
 body[data-ops-header-page="sku-generator"] .color-panel .inline-form>button{justify-self:start}
 body[data-ops-header-page="candidate"] #libraryView>.filter-row #filterConfirm{grid-row:6;grid-column:1}
 body[data-ops-header-page="candidate"] #libraryView>.filter-row #filterClear{grid-row:6;grid-column:2}
}

/* Detail/edit/settings audit. Scoped to existing public application dialogs. */
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(dialog,.drawer){box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;border-radius:4px!important}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.dialog-head,.modal-head,.drawer-top,.settings-header,.image-viewer-header){display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.dialog-head,.modal-head,.drawer-top)>:first-child{min-width:0;flex:1}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.close,.close-drawer,.dialog-close,.modal-close,.drawer-close,#assistant-close,#settingsClose,#imageViewerClose,#shootingBriefClose,.ops-detail-close){flex:none;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;background:#c93636!important;color:#fff!important;border:1px solid #c93636!important;border-radius:4px!important;font-size:0!important;line-height:30px!important;box-shadow:none!important;position:relative}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.close,.close-drawer,.dialog-close,.modal-close,.drawer-close,#assistant-close,#settingsClose,#imageViewerClose,#shootingBriefClose,.ops-detail-close)::before{content:'×';font:24px/30px Arial,sans-serif;margin:0!important;color:#fff}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.dialog-head,.modal-head,.drawer-top,.settings-header,.image-viewer-header) :is(h2,h3){font-size:18px;line-height:1.4;margin:0}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.dialog-footer,.modal-foot,.product-actions,.media-upload-controls,.drawer-actions>div,.image-viewer-actions){display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;max-width:100%}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(dialog,.drawer) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;min-width:0;max-width:100%}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.modal-body,.dialog-body,.product-body,.drawer-section,.field,.selected-images,.selected-image-row,.path-control){min-width:0;box-sizing:border-box}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) .ops-detail-field{display:grid;grid-template-columns:100px minmax(0,1fr);gap:6px 10px;align-items:center;margin:10px 0}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) .ops-detail-field>label{white-space:nowrap;margin:0;font-size:13px}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) .ops-detail-field>:is(input,textarea){width:100%}
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) .ops-detail-hint{grid-column:1/-1;color:#60738a;font-size:12px;line-height:1.5}
body[data-ops-header-page="candidate"] .product-form>.upload-card{padding:10px;border-radius:4px}
body[data-ops-header-page="candidate"] .product-form .upload-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
body[data-ops-header-page="candidate"] .product-form .upload-row input[type=file]{flex:1 1 180px;width:100%;min-width:0}
body[data-ops-header-page="candidate-suppliers"] #editor .grid{gap:8px 12px;grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-ops-header-page="candidate-suppliers"] #editor .grid>label{min-width:0}
body[data-ops-header-page="candidate-suppliers"] #editor .ops-supplier-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
body[data-ops-header-page="candidate-permissions"] :is(.row,.group-grid){gap:8px 12px;min-width:0}
body[data-ops-header-page="candidate-permissions"] .row{flex-wrap:wrap}
body[data-ops-header-page="candidate-permissions"] .table-wrap{max-width:100%;overflow-x:auto}
body[data-ops-header-page="product-shooting"] .drawer{width:min(960px,calc(100vw - 24px))}
body[data-ops-header-page="product-shooting"] .drawer label>span{flex-shrink:0}
body[data-ops-header-page="product-shooting"] :is(.media-upload-zone,.inline-image-list,.inline-image-card){min-width:0;max-width:100%;box-sizing:border-box}
body[data-ops-header-page="product-shooting"] .inline-image-card .image-preview-button{width:88px;height:88px;padding:0}
body[data-ops-header-page="product-shooting"] .inline-image-card .image-preview-button img{width:100%;height:100%;object-fit:contain}
body[data-ops-header-page="product-shooting"] .settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-ops-header-page="visual-tasks"] :is(.path-control,.selected-image-row,.material-path-control,.gallery-toolbar){display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
body[data-ops-header-page="visual-tasks"] :is(.path-control,.selected-image-row)>input{flex:1 1 160px;min-width:0}
body[data-ops-header-page="visual-tasks"] :is(.selected-image-thumb,.selected-image-thumb-wrap img){width:64px;height:64px;object-fit:contain;border-radius:4px}
body[data-ops-header-page="visual-tasks"] :is(.detail-grid,.kv){overflow-wrap:anywhere}
@media(min-width:900px){
 body[data-ops-header-page="product-shooting"] #recordForm>.drawer-section:first-of-type{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:8px 16px}
 body[data-ops-header-page="product-shooting"] #recordForm>.drawer-section:first-of-type>h4{grid-column:1/-1}
 body[data-ops-header-page="product-shooting"] #recordForm>.drawer-section:first-of-type>:not(h4):not(.media-field){grid-column:1}
 body[data-ops-header-page="product-shooting"] #recordForm>.drawer-section:first-of-type>.media-field{grid-column:2;grid-row:2/6;margin:0}
 body[data-ops-header-page="product-shooting"] #recordForm>.drawer-section:first-of-type>.product-inline-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:760px){
 body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(dialog,.drawer){max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
 body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.dialog-body,.modal-body){padding:10px!important}
 body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.dialog-head,.modal-head,.drawer-top,.settings-header,.image-viewer-header){padding:10px!important}
 body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.modal-foot,.dialog-footer){padding:10px;gap:8px}
 body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) :is(.modal-foot,.dialog-footer,.product-actions,.drawer-actions) button{white-space:normal;max-width:100%}
 body[data-ops-header-page="product-shooting"] .drawer{width:calc(100vw - 16px);padding:10px}
 body[data-ops-header-page="product-shooting"] :is(.field-grid,.inline-field-grid,.product-inline-grid,.settings-grid){grid-template-columns:minmax(0,1fr)!important}
 body[data-ops-header-page="product-shooting"] .drawer label{white-space:nowrap!important;min-width:0;gap:8px!important}
 body[data-ops-header-page="product-shooting"] .drawer label>span{max-width:44%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;font-size:12px}
 body[data-ops-header-page="product-shooting"] .drawer label>:is(input,textarea,select){flex:1 1 0!important;min-width:0!important}
 body[data-ops-header-page="product-shooting"] .settings-grid label{align-items:flex-start!important}
 body[data-ops-header-page="candidate-suppliers"] #editor .grid{grid-template-columns:minmax(0,1fr)}
 body[data-ops-header-page="candidate-permissions"] :is(.group-grid,.row){grid-template-columns:minmax(0,1fr)}
 body[data-ops-header-page="visual-tasks"] .form-grid .field{grid-template-columns:minmax(0,max-content) minmax(0,1fr)!important}
 body[data-ops-header-page="visual-tasks"] .form-grid .field>label{max-width:120px;overflow:hidden;text-overflow:ellipsis;font-size:12px}
 body[data-ops-header-page="visual-tasks"] .form-grid .field :is(.path-control,.selected-image-row){width:100%}
 body[data-ops-header-page="visual-tasks"] .gallery-toolbar .field{max-width:100%;width:100%}
 body[data-ops-header-page="visual-tasks"] .gallery-toolbar label{max-width:100%;font-size:12px}
 body[data-ops-header-page="sku-history"] main.workspace{max-width:calc(100vw - 24px);min-width:0}
 body[data-ops-header-page="sku-history"] table{display:block;max-width:100%;overflow:auto}
}
body[data-ops-header-page="candidate"] .product-form{gap:8px}
body[data-ops-header-page="candidate"] .ops-detail-field{margin:0}
@media(max-width:760px){
 body[data-ops-header-page="visual-tasks"] dialog .form-grid:not([hidden]):not(.hidden){display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 body[data-ops-header-page="visual-tasks"] dialog .form-grid>.field:not([hidden]):not(.hidden){grid-column:1/-1!important;width:100%;min-width:0}
 body[data-ops-header-page="visual-tasks"] dialog .form-grid>.field:has(>label>input,>label>select,>label>textarea):not([hidden]):not(.hidden){display:block!important}
 body[data-ops-header-page="visual-tasks"] dialog .form-grid>.field>label:has(>input,>select,>textarea){max-width:100%;overflow:visible}
 body[data-ops-header-page="visual-tasks"] dialog .form-grid>.field>label:has(>input,>select,>textarea)>:is(input,select,textarea){flex:1 1 0!important;min-width:0}
 body[data-ops-header-page="visual-tasks"] dialog .form-grid>.field:not(:has(>label>input,>label>select,>label>textarea)):not([hidden]):not(.hidden){grid-template-columns:96px minmax(0,1fr)!important}
 body[data-ops-header-page="visual-tasks"] dialog .form-grid>.field>p{grid-column:1/-1;overflow-wrap:anywhere}
 body[data-ops-header-page="visual-tasks"] :is(.status-note,.material-shared-scope){overflow-wrap:anywhere}
}
body[data-ops-header-page="visual-tasks"] dialog .form-grid .field>div{min-width:0;max-width:100%}
body[data-ops-header-page="visual-tasks"] dialog .brief-file-control{white-space:normal!important;max-width:100%;box-sizing:border-box}
body[data-ops-header-page="visual-tasks"] dialog .form-grid .hint{overflow-wrap:anywhere}
/* Keep detailed score rows inside their own editor on narrow screens. */
body[data-ops-header-page="visual-tasks"] dialog .score-editor{min-width:0;max-width:100%;overflow-x:auto;box-sizing:border-box}

/* Preserve native hidden state, including permission and workflow sections. */
body:is([data-ops-header-page="home"],[data-ops-header-page="milan"],[data-ops-header-page="candidate"],[data-ops-header-page="candidate-permissions"],[data-ops-header-page="candidate-suppliers"],[data-ops-header-page="sku-generator"],[data-ops-header-page="sku-history"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"]) [hidden]{display:none!important}

/* Image previews use the browser top layer, above table clipping and dialogs. */
#ops-image-preview{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:min(600px,calc(100vw - 24px));height:min(500px,calc(100vh - 24px));padding:12px;border:1px solid #cbd8e8;border-radius:6px;background:#fff;box-shadow:0 12px 40px #17304e35;color:#17304e;z-index:2147483647;pointer-events:none;overflow:hidden}
#ops-image-preview[hidden]{display:none!important}
#ops-image-preview::backdrop{background:transparent;pointer-events:none}
#ops-image-preview img{display:block;width:100%;height:calc(100% - 32px);object-fit:contain;background:#f6f8fa}
#ops-image-preview .ops-image-preview-caption{margin-top:8px;font-size:12px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-ops-images=enabled] .product-zoom,body[data-ops-images=enabled] #primary-thumbnail-hover{display:none!important}

/* Keep the native shooting header pseudo label aligned with its workbench name. */
body[data-ops-header-page="product-shooting"] .ops-native-header::before{content:"▦  拍摄协作工作台"!important}

/* Bound the original native file picker inside the SKU maintenance toolbar. */
@media(max-width:480px){body[data-ops-header-page="sku-generator"] .file-picker{max-width:100%;min-width:0;flex-wrap:wrap}body[data-ops-header-page="sku-generator"] .file-picker input[type="file"]{width:100%;min-width:0;max-width:100%;box-sizing:border-box}}

/* Full shop labels wrap within existing cells instead of widening the page. */
body:is([data-ops-header-page="candidate"],[data-ops-header-page="sku-generator"],[data-ops-header-page="product-shooting"],[data-ops-header-page="visual-tasks"],[data-ops-header-page="product-development"]) [data-ops-shop-full]{white-space:normal;overflow-wrap:anywhere}

/* 20261023: reveal existing mobile navigation; desktop and hidden controls unchanged. */
@media(max-width:700px){
body[data-ops-header-page="candidate"] nav.tabs,
body[data-ops-header-page="visual-tasks"] nav#tabs{display:flex!important;flex-wrap:wrap!important;gap:4px!important;height:auto!important;overflow:visible!important;padding:6px!important}
body[data-ops-header-page="candidate"] nav.tabs>button,
body[data-ops-header-page="visual-tasks"] nav#tabs>button{flex:1 1 calc(33.333% - 4px)!important;min-width:0!important;max-width:100%;min-height:36px!important;padding:7px 6px!important;margin:0!important;font-size:12px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere}
body[data-ops-header-page="sku-generator"] .header-actions,
body[data-ops-header-page="sku-generator"] .notice-nav{display:flex!important;flex-wrap:wrap!important;gap:6px!important;width:100%;min-width:0}
body[data-ops-header-page="sku-generator"] .header-actions>a,
body[data-ops-header-page="sku-generator"] .notice-nav>a{flex:1 1 calc(50% - 6px);min-width:0;min-height:36px!important;display:flex;align-items:center;justify-content:center;padding:7px 8px!important;font-size:12px!important;white-space:normal!important;text-align:center;overflow-wrap:anywhere}
body[data-ops-header-page="sku-generator"] .header-actions>.header-note{flex-basis:100%}
body[data-ops-header-page="visual-tasks"] header.top .top-action-slot{display:flex!important;flex-wrap:wrap!important;gap:6px!important;width:100%;min-width:0}
body[data-ops-header-page="visual-tasks"] header.top .top-action-slot>:is(button,a){flex:1 1 calc(50% - 6px);min-width:0!important;min-height:36px!important;padding:6px!important;font-size:12px!important;white-space:normal!important;text-align:center}
body[data-ops-header-page="eia-file-search"] main{padding:12px!important;min-width:0}
body[data-ops-header-page="eia-file-search"] #status{font-size:12px;line-height:1.65;padding:10px;margin-bottom:12px;overflow-wrap:anywhere}
body[data-ops-header-page="eia-file-search"] #form .bar{display:flex;flex-wrap:nowrap;gap:6px}
body[data-ops-header-page="eia-file-search"] #q{flex:1;min-width:0;width:0}
body[data-ops-header-page="eia-file-search"] #form .bar button{flex:none;white-space:nowrap}
body[data-ops-header-page="eia-file-search"] #form .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}
body[data-ops-header-page="eia-file-search"] #form .filters>:is(input,select){min-width:0;width:100%;max-width:100%;box-sizing:border-box}
body[data-ops-header-page="eia-file-search"] #form :is(input,select,button){height:36px;min-height:36px;padding:6px 8px;font-size:12px}
body[data-ops-header-page="eia-file-search"] #pagination{display:flex;flex-wrap:wrap;gap:5px}
body[data-ops-header-page="eia-file-search"] #pagination button{min-height:36px;padding:6px 9px}
body[data-ops-header-page="eia-file-search"] #pagination .page-note{flex-basis:100%;font-size:12px;overflow-wrap:anywhere}
}
