/* Desktop outer surfaces only; page charts, signals and semantic colors remain. */
html[data-whdj-desktop-theme]:not([data-whdj-fixed-scene])[data-theme="light"],html[data-whdj-desktop-theme]:not([data-whdj-fixed-scene])[data-theme="light"] body{background-color:#FFFFFF!important}
html[data-whdj-desktop-theme]:not([data-whdj-fixed-scene])[data-theme="dark"],html[data-whdj-desktop-theme]:not([data-whdj-fixed-scene])[data-theme="dark"] body{background-color:#0E1318!important}
html[data-whdj-desktop-theme][data-theme="light"] .isv-page{background:#FFFFFF;color:#1C1B19}
html[data-whdj-desktop-theme][data-theme="dark"] .isv-page{background:#0E1318;color:#E8EBEE}
html[data-whdj-desktop-theme][data-theme="light"] .isv-page :is(.isv-sub,.isv-col-sub,.ind-src,.isv-close){color:#5E5A55}
html[data-whdj-desktop-theme][data-theme="light"] .isv-page :is(.isv-grid th,.isv-grid td,.ind-card,.pending-chip){border-color:#D9D5CE}
html[data-whdj-desktop-theme][data-theme="light"] .isv-page :is(.isv-grid th,.isv-grid th.rowlab){background:#F4F3F0;color:#3A3733}
html[data-whdj-desktop-theme][data-theme="light"] .isv-page .ind-card{background:#FFFFFF;color:#1C1B19}
html[data-whdj-desktop-theme][data-theme="light"] .isv-page .ind-card:hover{background:#F4F3F0;border-color:#9A968F}
html[data-whdj-desktop-theme][data-theme="light"] .isv-page .isv-detail{background:#FFFFFF;color:#1C1B19;border-color:#D9D5CE}
html[data-whdj-desktop-theme][data-theme="light"] .isv-page .pending-chip{background:#F4F3F0;color:#3A3733}
html[data-whdj-desktop-theme][data-whdj-funds-report][data-theme="light"]{--bg:#FFFFFF;--paper:#FFFFFF}
html[data-whdj-desktop-theme][data-whdj-funds-report][data-theme="dark"]{--bg:#0E1318;--paper:#161D24}
html[data-whdj-desktop-theme][data-theme="light"] .isv-page :is(.rowlab-sub,.ind-meta,.pm){color:#5E5A55}
html[data-whdj-desktop-theme][data-theme="light"] .isv-page .isv-pending h2{color:#1C1B19}
html[data-whdj-desktop-theme][data-theme="light"] .isv-page .isv-pending{border-color:#D9D5CE}
html[data-whdj-desktop-theme][data-theme="light"] .isv-page .ind-src{background:#F4F3F0;color:#5E5A55}
/* One application surface vocabulary; retain each page's up/down/accent tokens. */
html[data-whdj-desktop-theme]:not([data-whdj-fixed-scene])[data-theme="light"]{
 --bg:#FFFFFF;--paper:#FFFFFF;--card:#FFFFFF;--panel:#FFFFFF;
 --bg2:#F4F3F0;--paper2:#F4F3F0;--card2:#F4F3F0;--panel2:#F4F3F0;
 --fg:#1C1B19;--ink:#1C1B19;--text:#1C1B19;--ink2:#5E5A55;--text2:#3A3733;
 --ink3:#9A968F;--sub:#5E5A55;--muted:#5E5A55;--dim:#9A968F;
 --line:#E7E5E0;--border:#D9D5CE;--rule:#D9D5CE;--rule2:#E7E5E0
}
html[data-whdj-desktop-theme]:not([data-whdj-fixed-scene])[data-theme="dark"]{
 --bg:#0E1318;--paper:#161D24;--card:#161D24;--panel:#161D24;
 --bg2:#1C242C;--paper2:#1C242C;--card2:#1C242C;--panel2:#1C242C;
 --fg:#E8EBEE;--ink:#E8EBEE;--text:#E8EBEE;--ink2:#C2C8CE;--text2:#C2C8CE;
 --ink3:#9AA3AB;--sub:#9AA3AB;--muted:#9AA3AB;--dim:#6A737B;
 --line:#28323A;--border:#28323A;--rule:#28323A;--rule2:#28323A
}
html[data-whdj-desktop-theme]:not([data-whdj-fixed-scene])[data-theme="light"] body{color:#1C1B19}
html[data-whdj-desktop-theme]:not([data-whdj-fixed-scene])[data-theme="dark"] body{color:#E8EBEE}

/* Match the desktop login form's unframed surface in both themes. */
html[data-whdj-desktop-theme] #pw-card{background:transparent!important;border:0!important;box-shadow:none!important}

/* Identical, scroll-only masthead edge on the three desktop homes. */
html[data-whdj-desktop-theme] [data-whdj-masthead]{border-bottom:0!important;box-shadow:none!important}
[data-whdj-masthead]::after{content:"";position:absolute;left:0;right:0;top:100%;height:18px;pointer-events:none;visibility:hidden;opacity:0;background:linear-gradient(to bottom,var(--bg),transparent);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);-webkit-mask-image:linear-gradient(#000,transparent);mask-image:linear-gradient(#000,transparent)}
[data-whdj-masthead][data-scrolled]::after{visibility:visible;opacity:1}
/* Auction-only palette. No changes to homepage board widgets or web themes. */
html[data-whdj-desktop-theme][data-whdj-auction]:not([data-whdj-fixed-scene])[data-theme="light"]{
 --chip:#F4F3F0;--dim:#5E5A55;--sub:#5E5A55;--border:#86827B;--line:#86827B;
 --up:#A52620;--down:#11633F;--gold:#735000;--gold-d:#735000;--amber:#8A3F00;
 --cyan:#006170;--blue:#254FA3;--accent:#A52620;--green:#11633F;--purple:#653192;--pink:#9A2855;
}
html[data-whdj-desktop-theme][data-whdj-auction]:not([data-whdj-fixed-scene])[data-theme="dark"]{
 --chip:#243240;--dim:#A8B0B8;--sub:#B4BCC4;--border:#7F8D99;--line:#7F8D99;
 --up:#FF8278;--down:#65D5A2;--gold:#FFC125;--gold-d:#D5AA55;--amber:#FFB25C;
 --cyan:#72D8E8;--blue:#92B5FF;--accent:#FF8278;--green:#65D5A2;--purple:#CFA6FF;--pink:#FF9AC4;
}
html[data-whdj-auction]{color-scheme:light}
html[data-whdj-desktop-theme][data-whdj-auction]:not([data-whdj-fixed-scene])[data-theme="dark"]{color-scheme:dark}
html[data-whdj-auction] .wrap>.hd,html[data-whdj-auction] .wrap>div:first-child{align-items:center;gap:12px;flex-wrap:wrap}
html[data-whdj-auction] .wrap>.hd>div:nth-child(2){margin-left:auto}
html[data-whdj-auction] #whdj-auction-theme{width:30px;height:30px;flex:none;border:1px solid var(--border);background:transparent;color:var(--sub);display:flex;align-items:center;justify-content:center;font:14px system-ui;cursor:pointer;margin-left:10px;padding:0}
html[data-whdj-auction] #whdj-auction-theme:hover{background:var(--panel2);border-color:var(--sub)}
html[data-whdj-auction] #whdj-auction-theme:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
html[data-whdj-auction] .tabs{flex-wrap:wrap;row-gap:8px}
html[data-whdj-auction] .vb .it.frozen,html[data-whdj-auction] .mini[style*="opacity"]{opacity:1!important}
html[data-whdj-auction] svg line[opacity],html[data-whdj-auction] svg [stroke-opacity]{opacity:1;stroke-opacity:1}
html[data-whdj-auction] svg rect[fill-opacity=".6"]{fill-opacity:.75}
/* Keep translucent confidence fill; a solid dashed outline carries its range. */
html[data-whdj-auction] svg polygon[opacity]{opacity:1;fill-opacity:.13;stroke:var(--gold);stroke-width:1;stroke-dasharray:3 3}
html[data-whdj-auction] .b-neg{color:var(--down)}
html[data-whdj-auction] .b-neg2{color:var(--down)}
html[data-whdj-auction] .fbar{color:var(--up)}
html[data-whdj-auction] :is(.mkxf,.fdmax,.fbody button.nw-b){color:var(--purple);border-color:var(--purple)}
html[data-whdj-auction] :is(.mkhf,.cm20,.jdt){color:var(--amber);border-color:var(--amber)}
html[data-whdj-auction] :is(.mkzr,.cm30){color:var(--pink);border-color:var(--pink)}
html[data-whdj-auction] :is(.clcard.on,.filt button.on,.fbody button.on,.vtoggle button.on,.jdbtn.on,.mmark,.mmarkd),html[data-whdj-auction] .clcard.on b{color:var(--bg)!important}
html[data-whdj-auction] table.gt :is(td,th){border-bottom-color:var(--border)}
html[data-whdj-auction] #root tr.hl{background:var(--chip)!important}
html[data-whdj-auction] [fill="#6A737B" i]{fill:var(--dim)!important}
html[data-whdj-auction] [stroke="#6A737B" i]{stroke:var(--dim)!important}
html[data-whdj-auction] [style*="color:#6A737B" i]{color:var(--dim)!important}
html[data-whdj-auction] [fill="#9AA3AB" i]{fill:var(--sub)!important}
html[data-whdj-auction] [stroke="#9AA3AB" i]{stroke:var(--sub)!important}
html[data-whdj-auction] [style*="color:#9AA3AB" i]{color:var(--sub)!important}
html[data-whdj-auction] [fill="#C7CDD3" i]{fill:var(--sub)!important}
html[data-whdj-auction] [stroke="#C7CDD3" i]{stroke:var(--sub)!important}
html[data-whdj-auction] [style*="color:#C7CDD3" i]{color:var(--sub)!important}
html[data-whdj-auction] [fill="#C8CFDA" i]{fill:var(--sub)!important}
html[data-whdj-auction] [stroke="#C8CFDA" i]{stroke:var(--sub)!important}
html[data-whdj-auction] [style*="color:#C8CFDA" i]{color:var(--sub)!important}
html[data-whdj-auction] [fill="#28323A" i]{fill:var(--border)!important}
html[data-whdj-auction] [stroke="#28323A" i]{stroke:var(--border)!important}
html[data-whdj-auction] [style*="color:#28323A" i]{color:var(--border)!important}
html[data-whdj-auction] [fill="#3A4650" i]{fill:var(--border)!important}
html[data-whdj-auction] [stroke="#3A4650" i]{stroke:var(--border)!important}
html[data-whdj-auction] [style*="color:#3A4650" i]{color:var(--border)!important}
html[data-whdj-auction] [fill="#2a2f3a" i]{fill:var(--border)!important}
html[data-whdj-auction] [stroke="#2a2f3a" i]{stroke:var(--border)!important}
html[data-whdj-auction] [style*="color:#2a2f3a" i]{color:var(--border)!important}
html[data-whdj-auction] [fill="#0E1318" i]{fill:var(--bg)!important}
html[data-whdj-auction] [stroke="#0E1318" i]{stroke:var(--bg)!important}
html[data-whdj-auction] [style*="color:#0E1318" i]{color:var(--bg)!important}
html[data-whdj-auction] [fill="#161D24" i]{fill:var(--panel)!important}
html[data-whdj-auction] [stroke="#161D24" i]{stroke:var(--panel)!important}
html[data-whdj-auction] [style*="color:#161D24" i]{color:var(--panel)!important}
html[data-whdj-auction] [fill="#1C242C" i]{fill:var(--panel2)!important}
html[data-whdj-auction] [stroke="#1C242C" i]{stroke:var(--panel2)!important}
html[data-whdj-auction] [style*="color:#1C242C" i]{color:var(--panel2)!important}
html[data-whdj-auction] [fill="#243240" i]{fill:var(--chip)!important}
html[data-whdj-auction] [stroke="#243240" i]{stroke:var(--chip)!important}
html[data-whdj-auction] [style*="color:#243240" i]{color:var(--chip)!important}
html[data-whdj-auction] [fill="#E5594D" i]{fill:var(--up)!important}
html[data-whdj-auction] [stroke="#E5594D" i]{stroke:var(--up)!important}
html[data-whdj-auction] [style*="color:#E5594D" i]{color:var(--up)!important}
html[data-whdj-auction] [fill="#C0392B" i]{fill:var(--up)!important}
html[data-whdj-auction] [stroke="#C0392B" i]{stroke:var(--up)!important}
html[data-whdj-auction] [style*="color:#C0392B" i]{color:var(--up)!important}
html[data-whdj-auction] [fill="#D9564C" i]{fill:var(--up)!important}
html[data-whdj-auction] [stroke="#D9564C" i]{stroke:var(--up)!important}
html[data-whdj-auction] [style*="color:#D9564C" i]{color:var(--up)!important}
html[data-whdj-auction] [fill="#B9524A" i]{fill:var(--up)!important}
html[data-whdj-auction] [stroke="#B9524A" i]{stroke:var(--up)!important}
html[data-whdj-auction] [style*="color:#B9524A" i]{color:var(--up)!important}
html[data-whdj-auction] [fill="#f0a59d" i]{fill:var(--up)!important}
html[data-whdj-auction] [stroke="#f0a59d" i]{stroke:var(--up)!important}
html[data-whdj-auction] [style*="color:#f0a59d" i]{color:var(--up)!important}
html[data-whdj-auction] [fill="#3FB984" i]{fill:var(--down)!important}
html[data-whdj-auction] [stroke="#3FB984" i]{stroke:var(--down)!important}
html[data-whdj-auction] [style*="color:#3FB984" i]{color:var(--down)!important}
html[data-whdj-auction] [fill="#4A9E77" i]{fill:var(--down)!important}
html[data-whdj-auction] [stroke="#4A9E77" i]{stroke:var(--down)!important}
html[data-whdj-auction] [style*="color:#4A9E77" i]{color:var(--down)!important}
html[data-whdj-auction] [fill="#35A876" i]{fill:var(--down)!important}
html[data-whdj-auction] [stroke="#35A876" i]{stroke:var(--down)!important}
html[data-whdj-auction] [style*="color:#35A876" i]{color:var(--down)!important}
html[data-whdj-auction] [fill="#1E8A5F" i]{fill:var(--down)!important}
html[data-whdj-auction] [stroke="#1E8A5F" i]{stroke:var(--down)!important}
html[data-whdj-auction] [style*="color:#1E8A5F" i]{color:var(--down)!important}
html[data-whdj-auction] [fill="#7fd9b2" i]{fill:var(--down)!important}
html[data-whdj-auction] [stroke="#7fd9b2" i]{stroke:var(--down)!important}
html[data-whdj-auction] [style*="color:#7fd9b2" i]{color:var(--down)!important}
html[data-whdj-auction] [fill="#2f9c6d" i]{fill:var(--down)!important}
html[data-whdj-auction] [stroke="#2f9c6d" i]{stroke:var(--down)!important}
html[data-whdj-auction] [style*="color:#2f9c6d" i]{color:var(--down)!important}
html[data-whdj-auction] [fill="#4caf50" i]{fill:var(--down)!important}
html[data-whdj-auction] [stroke="#4caf50" i]{stroke:var(--down)!important}
html[data-whdj-auction] [style*="color:#4caf50" i]{color:var(--down)!important}
html[data-whdj-auction] [fill="#FFC125" i]{fill:var(--gold)!important}
html[data-whdj-auction] [stroke="#FFC125" i]{stroke:var(--gold)!important}
html[data-whdj-auction] [style*="color:#FFC125" i]{color:var(--gold)!important}
html[data-whdj-auction] [fill="#B8892A" i]{fill:var(--gold-d)!important}
html[data-whdj-auction] [stroke="#B8892A" i]{stroke:var(--gold-d)!important}
html[data-whdj-auction] [style*="color:#B8892A" i]{color:var(--gold-d)!important}
html[data-whdj-auction] [fill="#E8A33D" i]{fill:var(--amber)!important}
html[data-whdj-auction] [stroke="#E8A33D" i]{stroke:var(--amber)!important}
html[data-whdj-auction] [style*="color:#E8A33D" i]{color:var(--amber)!important}
html[data-whdj-auction] [fill="#FF8C32" i]{fill:var(--amber)!important}
html[data-whdj-auction] [stroke="#FF8C32" i]{stroke:var(--amber)!important}
html[data-whdj-auction] [style*="color:#FF8C32" i]{color:var(--amber)!important}
html[data-whdj-auction] [fill="#e8912f" i]{fill:var(--amber)!important}
html[data-whdj-auction] [stroke="#e8912f" i]{stroke:var(--amber)!important}
html[data-whdj-auction] [style*="color:#e8912f" i]{color:var(--amber)!important}
html[data-whdj-auction] [fill="#4FC3D9" i]{fill:var(--cyan)!important}
html[data-whdj-auction] [stroke="#4FC3D9" i]{stroke:var(--cyan)!important}
html[data-whdj-auction] [style*="color:#4FC3D9" i]{color:var(--cyan)!important}
html[data-whdj-auction] [fill="#34C6D6" i]{fill:var(--cyan)!important}
html[data-whdj-auction] [stroke="#34C6D6" i]{stroke:var(--cyan)!important}
html[data-whdj-auction] [style*="color:#34C6D6" i]{color:var(--cyan)!important}
html[data-whdj-auction] [fill="#5B8DEF" i]{fill:var(--blue)!important}
html[data-whdj-auction] [stroke="#5B8DEF" i]{stroke:var(--blue)!important}
html[data-whdj-auction] [style*="color:#5B8DEF" i]{color:var(--blue)!important}
html[data-whdj-auction] [fill="#60A5FA" i]{fill:var(--blue)!important}
html[data-whdj-auction] [stroke="#60A5FA" i]{stroke:var(--blue)!important}
html[data-whdj-auction] [style*="color:#60A5FA" i]{color:var(--blue)!important}
html[data-whdj-auction] [fill="#B48CE8" i]{fill:var(--purple)!important}
html[data-whdj-auction] [stroke="#B48CE8" i]{stroke:var(--purple)!important}
html[data-whdj-auction] [style*="color:#B48CE8" i]{color:var(--purple)!important}
html[data-whdj-auction] [fill="#c07be5" i]{fill:var(--purple)!important}
html[data-whdj-auction] [stroke="#c07be5" i]{stroke:var(--purple)!important}
html[data-whdj-auction] [style*="color:#c07be5" i]{color:var(--purple)!important}
html[data-whdj-auction] [fill="#c77dff" i]{fill:var(--purple)!important}
html[data-whdj-auction] [stroke="#c77dff" i]{stroke:var(--purple)!important}
html[data-whdj-auction] [style*="color:#c77dff" i]{color:var(--purple)!important}
html[data-whdj-auction] [fill="#e05a8a" i]{fill:var(--pink)!important}
html[data-whdj-auction] [stroke="#e05a8a" i]{stroke:var(--pink)!important}
html[data-whdj-auction] [style*="color:#e05a8a" i]{color:var(--pink)!important}
/* Faint red/green zone tints stay translucent (decorative). Data bars drawn with stronger tints use the theme up/down colour at reduced opacity. */
html[data-whdj-auction] [fill="rgba(229,89,77,.3)"],
html[data-whdj-auction] [fill="rgba(229,89,77,.30)"],
html[data-whdj-auction] [fill="rgba(229,89,77,.4)"],
html[data-whdj-auction] [fill="rgba(229,89,77,.45)"],
html[data-whdj-auction] [fill="rgba(229,89,77,.5)"],
html[data-whdj-auction] [fill="rgba(229,89,77,.55)"]{fill:var(--up)!important;fill-opacity:.72}
html[data-whdj-auction] [fill="rgba(63,185,132,.3)"],
html[data-whdj-auction] [fill="rgba(63,185,132,.30)"],
html[data-whdj-auction] [fill="rgba(63,185,132,.4)"],
html[data-whdj-auction] [fill="rgba(63,185,132,.45)"],
html[data-whdj-auction] [fill="rgba(63,185,132,.5)"],
html[data-whdj-auction] [fill="rgba(63,185,132,.55)"]{fill:var(--down)!important;fill-opacity:.72}

/* Shared installed-app auction masthead; business content keeps its own layout. */
html[data-whdj-auction] #whdj-auction-header{position:sticky;top:var(--whdj-titlebar-height,0px);z-index:100;background:var(--bg);color:var(--text);margin:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Segoe UI",sans-serif}
html[data-whdj-auction] .auction-header-inner{max-width:1460px;margin:auto;padding:12px 14px 14px}
html[data-whdj-auction] .auction-heading{display:flex;align-items:center;gap:16px;height:48px;margin-bottom:12px}
html[data-whdj-auction] .auction-heading-copy{flex:1;min-width:0}
html[data-whdj-auction] .auction-title{display:block;height:24px;margin:0;font:700 16px/24px -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Segoe UI",sans-serif;color:var(--text)}
html[data-whdj-auction] .auction-title .gold{color:inherit}
html[data-whdj-auction] #subline{height:18px;margin:0;color:var(--sub);font-size:11px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-whdj-auction] .auction-status{width:220px;flex:none;text-align:right;display:flex;flex-direction:column;justify-content:center;min-height:42px;line-height:18px}
html[data-whdj-auction] .auction-status :is(#tlab,#phaseLabel){font:700 13px/20px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important}
html[data-whdj-auction] .auction-status :is(#framelab,#stanceBadge){font-size:11px!important;line-height:18px!important;margin:0!important;min-height:18px}
html[data-whdj-auction] .auction-status .badge{font-size:11px;padding:0 6px;line-height:18px}
html[data-whdj-auction] #whdj-auction-theme{margin:0;border-color:var(--border);border-radius:0}
html[data-whdj-auction] #whdj-auction-header .auction-tabs{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;margin:0;height:32px}
html[data-whdj-auction] #whdj-auction-header .auction-tabs a{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100px;height:32px;padding:0 12px;border:1px solid var(--border);font:400 12px/18px system-ui;text-decoration:none;color:var(--sub);background:transparent;white-space:nowrap}
html[data-whdj-auction] #whdj-auction-header .auction-tabs a.on{color:var(--text);background:var(--panel2);border-color:var(--sub);font-weight:600}
html[data-whdj-auction] .auction-date{margin-left:auto!important;display:flex;align-items:center;gap:6px}
html[data-whdj-auction] .auction-date #dateSel{box-sizing:border-box;width:140px;height:30px;padding:3px 8px!important;font:12px/20px system-ui!important;color:var(--text)!important;background:var(--panel2)!important;border-color:var(--border)!important}
@media(max-width:700px){html[data-whdj-auction] #whdj-auction-header .auction-tabs{gap:4px}html[data-whdj-auction] #whdj-auction-header .auction-tabs a{width:auto;padding:0 7px}html[data-whdj-auction] .auction-date>span{display:none}html[data-whdj-auction] .auction-date #dateSel{width:116px}}

/* header-unify shared source: src/shared-header.css */
/* Shared geometry is independent of each business page's typography/palette. */
@font-face{font-family:'WHDJ Brand';font-style:normal;font-weight:900;font-display:swap;src:url('/site/vendor/sub/NotoSerifSC-Brand-900.woff2') format('woff2')}
html[data-whdj-desktop-theme] #whdj-shared-header{position:sticky;top:var(--whdj-titlebar-height,0px);z-index:100;background:var(--bg);color:var(--ink);margin:0;padding:0;border:0;box-shadow:none;font-family:Inter,'Noto Sans SC',sans-serif;--whdj-brand-accent:#C0392B;--whdj-menu-width:458.265625px}
html[data-whdj-desktop-theme][data-theme=dark] #whdj-shared-header{--whdj-brand-accent:#E5594D}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-global-bar{box-sizing:border-box;display:grid;grid-template-columns:320px var(--whdj-menu-width) minmax(0,1fr) auto;align-items:center;gap:12px;height:60px;padding:0 28px;margin:0;background:var(--bg);border:0}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-brand-slot{position:relative;min-width:0;display:flex;align-items:center;padding-left:26px}
html[data-whdj-desktop-theme] #whdj-shared-header #collapse-nav{position:absolute;left:-8px;top:50%;transform:translateY(-50%);width:26px;height:30px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink2);font:18px/30px sans-serif}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-global-brand{display:flex;align-items:center;color:var(--ink);text-decoration:none;white-space:nowrap}
html[data-whdj-desktop-theme] #whdj-shared-header .bmark{font-family:'WHDJ Brand','Noto Serif SC',Georgia,serif;font-weight:900;font-size:25px;letter-spacing:.06em;line-height:1;margin:0 4px 0 0}
html[data-whdj-desktop-theme] #whdj-shared-header .bmark i{color:var(--whdj-brand-accent);font-style:normal}
html[data-whdj-desktop-theme] #whdj-shared-header .bsub{font-family:Inter,'Noto Sans SC',sans-serif;font-weight:300;font-size:9.5px;letter-spacing:.34em;color:var(--ink3);margin:0 14px 0 10px;line-height:1;text-transform:uppercase;white-space:nowrap}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-search-slot{min-width:0}
html[data-whdj-desktop-theme] #whdj-shared-header .search{box-sizing:border-box;display:flex;align-items:center;width:min(280px,100%);height:32px;padding:5px 12px;margin:0;border:1px solid var(--line);border-radius:0;color:var(--ink3);font:13px/20px Inter,'Noto Sans SC',sans-serif}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-global-right{display:flex;align-items:center;gap:12px;min-width:0}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-status-slot{display:flex;align-items:center;justify-content:flex-end;gap:8px;width:clamp(205px,calc(100vw - 1235px),260px);min-width:0;text-align:right;color:var(--ink3);font:11px/18px ui-monospace,monospace}
html[data-whdj-desktop-theme] #whdj-shared-header .auction-status{overflow:hidden;text-overflow:ellipsis;width:100%;min-height:0;margin:0;line-height:18px}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-theme-control{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;min-width:30px;margin:0;padding:0;border:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink2);font:14px/1 Arial,sans-serif;cursor:pointer;user-select:none}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-theme-control:hover{color:var(--ink);border-color:var(--ink3);background:var(--panel2)}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-theme-control:focus-visible{outline:2px solid var(--ink3);outline-offset:2px}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-account-slot{position:relative;width:30px;height:30px;flex:none}
html[data-whdj-desktop-theme] #whdj-shared-header :is(.acct,.account-menu>summary){box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin:0;padding:0;border:0;border-radius:50%;background:var(--whdj-brand-accent);color:#fff;font:12px/1 Inter,'Noto Sans SC',sans-serif;cursor:pointer;list-style:none}
html[data-whdj-desktop-theme] #whdj-shared-header :is(.account-menu,.acct-wrap){position:relative;margin:0;padding:0}
html[data-whdj-desktop-theme] #whdj-shared-header .account-menu>div{position:absolute;top:38px;right:0;min-width:160px;background:var(--paper);border:1px solid var(--line);padding:8px;z-index:101}
/* Original portal actions stay independent, immediately before the theme. */
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-portal-actions{display:flex;align-items:center;gap:4px;flex:none;white-space:nowrap}
/* The measured wider original menu reserves the same first-row slot on all pages. */
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-menu-slot{min-width:0;height:60px}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-menu-fold{height:60px}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-menu-label{display:none}
html[data-whdj-desktop-theme] #whdj-shared-header .nav.whdj-page-menu{position:static!important;top:auto!important;display:flex;align-items:center;flex-wrap:nowrap;gap:4px;width:max-content;height:60px;min-height:60px;margin:0;padding:0;border:0!important;box-shadow:none!important;background:transparent;z-index:auto}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-page-menu>:is(.btn-platform,.navitem){flex:none}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-module-bar{max-width:1460px;padding:12px 14px 14px;box-sizing:border-box}
html[data-whdj-desktop-theme] #whdj-shared-header .auction-heading{height:48px;margin-bottom:12px}
html[data-whdj-desktop-theme] #whdj-shared-header .whdj-module-bar::after{display:none}
@media(max-width:1280px){
 html[data-whdj-desktop-theme] #whdj-shared-header{--whdj-menu-width:68px}
 html[data-whdj-desktop-theme] #whdj-shared-header .whdj-menu-label{display:flex;align-items:center;justify-content:center;height:60px;font-size:14px;color:var(--ink2);cursor:pointer;list-style:none;white-space:nowrap}
 html[data-whdj-desktop-theme] #whdj-shared-header .whdj-menu-label::-webkit-details-marker{display:none}
 html[data-whdj-desktop-theme] #whdj-shared-header .whdj-menu-fold[open] .whdj-menu-label{color:var(--ink)}
 html[data-whdj-desktop-theme] #whdj-shared-header .nav.whdj-page-menu{position:absolute!important;top:60px!important;left:0;right:0;box-sizing:border-box;width:100%;padding:0 20px;background:var(--paper);border-bottom:1px solid var(--line)!important}
 html[data-whdj-desktop-theme] #whdj-shared-header .whdj-page-menu .mega{top:60px}
}
@media(max-width:1100px){html[data-whdj-desktop-theme] #whdj-shared-header .whdj-global-bar{padding:0 20px}}
@media(max-width:800px){html[data-whdj-desktop-theme] #whdj-shared-header .whdj-global-bar{grid-template-columns:136px var(--whdj-menu-width) minmax(0,1fr) auto;padding:0 12px;gap:8px}html[data-whdj-desktop-theme] #whdj-shared-header .bsub{display:none}html[data-whdj-desktop-theme] #whdj-shared-header .whdj-status-slot{font-size:10px}html[data-whdj-desktop-theme] #whdj-shared-header .whdj-global-right{gap:8px}}

html[data-whdj-desktop-theme] #whdj-shared-header #whdj-auction-header{position:static;top:auto;margin:0;border:0;box-shadow:none}

/* The workspace chunk is immutable: repeat its light 3D surface rules here so
   older cached chunks cannot paint the iframe's transparent scrollbar black. */
html .k3d-pane.light{padding:0;background:#fff;border:0;color-scheme:light}
html .k3d-pane.light .k3d-frame{border:0;box-shadow:none;background:#fff;color-scheme:light}

/* V20 keeps the v11 fixed scientific palette. Only the shared application row
   follows the app theme; the original data controls keep their IDs and colors. */
html[data-whdj-fire-v20][data-theme="light"] #whdj-shared-header .whdj-global-bar{--bg:#FFFFFF;--paper:#FFFFFF;--panel2:#F4F3F0;--ink:#1C1B19;--ink2:#5E5A55;--ink3:#9A968F;--line:#E7E5E0}
html[data-whdj-fire-v20][data-theme="dark"] #whdj-shared-header .whdj-global-bar{--bg:#0E1318;--paper:#161D24;--panel2:#1C242C;--ink:#E8EBEE;--ink2:#C2C8CE;--ink3:#9AA3AB;--line:#28323A}
html[data-whdj-fire-v20][data-theme="light"] #whdj-shared-header{background:#FFFFFF}
html[data-whdj-fire-v20][data-theme="dark"] #whdj-shared-header{background:#0E1318}
html[data-whdj-fire-v20] #whdj-shared-header>.top{background:var(--bg)}
