/* Theme affects interface surfaces only. Media pixels and export canvases are untouched. */
.jdad-theme-toggle{position:fixed;right:18px;top:92px;z-index:90;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 15px;border:1px solid #a9bfd53d;border-radius:24px;background:#1b293deb;color:#eff5ff;box-shadow:0 4px 18px #0002;backdrop-filter:blur(16px);font:500 12px/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;cursor:pointer}
.jdad-theme-toggle:hover{border-color:#7aa2d9;transform:translateY(-1px)}
.jdad-theme-toggle:focus-visible{outline:3px solid #4c8ce5;outline-offset:3px}
@media(max-width:640px){.jdad-theme-toggle{top:auto;bottom:88px;right:12px;min-height:40px;padding:0 12px}}
html[data-theme="light"]{color-scheme:light;--ink:#1c2d43;--muted:#586b83;--paper:#f3f6fa;--panel:#fff;--panel-bg:#fff;--surface-soft:#edf2f8;--text:#1c2d43;--bg:#f3f6fa;--border:#c9d5e3;--line:#d5deea;--white:#fff;--accent:#285da1;--purple:#3167b5;--blue:#3167b5;--blue-light:#285b9d;--blue-soft:#eaf2ff;--blue-surface:#dfeafa;--amber:#a56416;--amber-deep:#835013;--amber-soft:#fff5e6;--amber-line:#efdbc1;--red:#b33343;--red-soft:#fff0f2;--green:#26724f;--green-soft:#e9f5ef;background:#f3f6fa;color:#1c2d43}
html[data-theme="light"] body{background:radial-gradient(ellipse 90% 620px at 28% 0%,#d9e7fa,transparent 85%),#f3f6fa;color:#1c2d43}
html[data-theme="light"] .jdad-theme-toggle{background:#ffffffed;color:#294c79;border-color:#c2d2e5;box-shadow:0 4px 18px #253f6612}
html[data-theme="light"] :is(.harness-portal,.admin-portal){--ink:#1c2d43;--muted:#586b83;--paper:#f3f6fa;--line:#d5deea;--purple:#3167b5;--admin-ink:#1c2d43;--admin-muted:#586b83;--admin-line:#d5deea;--panel-bg:#fff;--surface-soft:#edf2f8;background:#f3f6fa;color:#1c2d43}
html[data-theme="light"] :is(.topbar,.harness-portal .topbar,.admin-portal .topbar){background:#f7faffed!important;border-color:#c7d4e5!important;box-shadow:inset 0 1px #fff,0 8px 28px #2945640c;color:#1c2d43}
html[data-theme="light"] :is(.brand,.brand b,.brand small,.brand-dot,.top-actions,.topnav a,.weather-widget,.weather-place b,.weather-place small,.weather-widget strong){color:#2d4868!important}
html[data-theme="light"] :is(.brand-logo,.jdad-brand img,.weather-icon img,.category-art-icon){filter:brightness(0) saturate(100%) invert(24%) sepia(23%) saturate(1049%) hue-rotate(175deg)!important}
html[data-theme="light"] :is(h1,h2,h3,h4){color:#1b304b}
html[data-theme="light"] :is(.harness-portal .hero,.hero){background:transparent;color:#1b304b}
html[data-theme="light"] .harness-portal .hero:after{background:linear-gradient(0deg,#f3f6fa,transparent 70%)}
html[data-theme="light"] .harness-portal .harness-flow-canvas{opacity:1;mix-blend-mode:normal;filter:none}
html[data-theme="light"] :is(.hero h1,.harness-portal .hero h1,.hero h1 em){color:#203f6b;text-shadow:none}
html[data-theme="light"] :is(.hero p,.hero-bottom-note,.intro-desc,.gallery-desc,.gallery-summary p,.gallery-index,.eyebrow,.intro,.hero-note,.date-line,.stat-line,.section-sub,.vi-download-hint){color:#526b88}
html[data-theme="light"] :is(.hero-links a,.harness-portal .hero-links a,.topnav a,.mode-tab,.vi-tab,.tab-btn,.chip,.anchor-nav a,.hotspots-nav button){color:#365578;border-color:#bdcfe3;background:#eff5fc}
html[data-theme="light"] :is(.hero-links a:hover,.harness-portal .hero-links a:hover){background:#fff;border-color:#80a7d9;color:#1e548f}
html[data-theme="light"] :is(.tool-card,.featured-category-card,.workspace-window,.workspace-panel,.workspace-card,.announcement-bar,.card,.signal-card,.recon-card,.image-card,.panel,.vi-card,.vi-preview,.preview-card,.controls .panel,.qr-input-card,.qr-result,.compress-item,.quality-control,.upload-zone,.activity-card){background:#ffffffed!important;border-color:#cad7e7!important;box-shadow:0 6px 22px #24456a08;color:#1c2d43}
html[data-theme="light"] :is(.tool-card:hover,.featured-category-card:hover,.image-card:hover,.upload-zone:hover){background:#f8fbff!important;border-color:#8dafdd!important;box-shadow:0 8px 26px #3267a51a}
html[data-theme="light"] :is(.tool-card h3,.tool-card p,.usage,.category-description,.featured-category-label,.category-index,.workspace-window *,.workspace-panel *,.workspace-card *,.announcement-bar *,.card-title,.card-summary,.card-footer,.sig-name,.sig-action,.recon-title,.recon-item,.image-meta strong,.image-meta span){color:#334f70}
html[data-theme="light"] :is(.workspace-window>header,.workspace-window>footer,.workspace-header,.workspace-footer,.announcement-track,.workspace-list li){background:transparent;border-color:#d8e2ee}
html[data-theme="light"] :is(.category-label,.usage-bubble){color:#32547e;border-color:#bdd0e7;background:#eaf2fc}
html[data-theme="light"] :is(.ember-background,.gallery-sentinel){opacity:.2!important;mix-blend-mode:multiply}
html[data-theme="light"] :is(.front-wrap,.explore-section,.harness-portal .front-wrap){background:#f3f6fa}
html[data-theme="light"] :is(.filter-dock,.tab-switch,.anchor-nav,.hotspots-nav,.vi-tabs-row,.vi-tabs,.mode-tabs,.toolbar,.tabs-wrap,.tool-tabs,.filter-bar){background:#f3f6faf5!important;border-color:#cbd9e9!important;color:#28496f;box-shadow:none}
html[data-theme="light"] :is(.tab-btn.active,.mode-tab.active,.vi-tab.active,.chip.active,.topnav a.active,.anchor-nav a.active,.hotspots-nav button.active,.tabs button.active){background:#2b5f9f!important;color:#fff!important;border-color:#2b5f9f!important}
html[data-theme="light"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),textarea,select){background:#fff!important;color:#223d60!important;border-color:#b9cadf!important;caret-color:#1c4f94}
html[data-theme="light"] :is(input,textarea)::placeholder{color:#71849c!important}
html[data-theme="light"] :is(select option,.category-picker-menu,.admin-settings-menu){background:#fff!important;color:#254366!important}
html[data-theme="light"] :is(.header-search,.search-box,.mini-search,.number-unit){background:#fff!important;border-color:#c2d2e5!important;color:#48678c}
html[data-theme="light"] :is(.field,.select,.btn,.text-button,.download-button,.quiet-admin,.spec,.check-row,.field-label,.field-note,.feedback,.source-card,.layout-summary,.output-size,.result-status,.export-notice,.page-footer,.vi-foot,.compress-foot,.preview-info,.vi-poster-info,.spec-item,.info-row,.ctrl-label,.logo-name,.fmt-template-name,.fmt-text-label,.vi-notice,.item-name,.item-size-row,.size-result,.metric span,.metric strong){color:#365578}
html[data-theme="light"] :is(.btn,.download-button,.text-button,.brief-btn,.back-home-orb,.size-btn,.frame-btn,.ctrl-reset){background:#edf3fb;border-color:#bdd0e7}
html[data-theme="light"] :is(.btn-dark,.btn-accent,.primary-button,.fmt-process-btn,.vi-download-btn,.warn-modal-btn,.brief-btn.active){background:#2b5f9f!important;color:#fff!important;border-color:#2b5f9f!important}
html[data-theme="light"] :is(.logo-option,.fmt-template-option,.fmt-file-item,.upload,.vi-upload-zone,.bubble-edit-block,.status-item,.hotspot-list,.hotspot-item,.total-stats,.batch-mode,.size-saved){background:#f6f9fd!important;border-color:#c7d6e8!important;color:#355578}
html[data-theme="light"] :is(.logo-option.active,.fmt-template-option.active,.size-btn.active,.frame-btn.active){background:#e4efff!important;border-color:#4e81c2!important;color:#214e88}
html[data-theme="light"] :is(.hotspot-item a,.hotspot-meta,.hotspot-note,.hotspot-category,.card-link,.card-num,.section-header,.status-bar,.stat-line,.section-header small){color:#365a85}
html[data-theme="light"] :is(.modal,.pdf-modal-content,.warn-modal-box,.upload-notice,.edit-panel,.login-panel,.admin-card,.download-settings-modal,.server-status-panel){background:#f8fbff!important;color:#223d60!important;border-color:#bdcfe5!important;box-shadow:0 24px 80px #16314b25}
html[data-theme="light"] :is(.modal-backdrop,.edit-backdrop,.warn-modal,.pdf-modal){background:#263e6355;backdrop-filter:blur(10px)}
html[data-theme="light"] .upload-notice::backdrop{background:#263e6355}
html[data-theme="light"] :is(.modal-head,.modal-actions,.tool-live-preview,.preview-tool-card){background:#edf3fa!important;border-color:#c5d5e8!important;color:#233f62}
html[data-theme="light"] :is(.modal p,.modal label,.modal small,.modal strong,.modal h2,.modal h3,.modal-head button,.modal-actions button,.upload-notice p,.upload-notice .notice-tip,.warn-modal-msg){color:#365578!important}
html[data-theme="light"] :is(.modal-actions .primary,.modal .btn-dark,.modal .primary-button){color:#fff!important}
html[data-theme="light"] .admin-portal :is(.panel,.table-panel,.metrics>div,.dashboard .metrics .metric-primary,.dashboard .metrics .metric-blocked,.account-chip,.range-control select,.tag-manage-btn,.api-settings-trigger,.download-settings-trigger,.admin-weather-mark,.secret-note,.tool-live-preview .tool-card){background:#fff!important;color:#233f62!important;border-color:#c7d6e8!important}
html[data-theme="light"] .admin-portal :is(th,td,thead,.table-toolbar,.panel-title,.dashboard h2,.dashboard h3,.dashboard p,.dashboard small,.dashboard strong,.dashboard em,.dashboard span,.guard-score,.account-chip a,.admin-weather-status button){color:#3b5679!important;border-color:#d4deec!important}
html[data-theme="light"] .admin-portal :is(thead,.account-chip>span,.guard-score,.legend){background:#edf3fa!important}
html[data-theme="light"] .admin-portal :is(tbody tr:hover,.account-table tr:hover,.category-picker-menu button:hover){background:#e8f1fc!important;color:#20466e!important}
html[data-theme="light"] :is(.account-table-wrap,.bubble-visible-field,.tool-edit-layout,.tool-live-preview){border-color:#c7d6e8!important}
html[data-theme="light"] :is(.toast,.admin-portal .toast){background:#e9f2ff;color:#21466f;border-color:#adc5e5}
html[data-theme="light"] :is(.feedback.error,.danger,.login-error,.tool-save-error){color:#a62d41!important}
html[data-theme="light"] .feedback.warning{color:#94601b}
html[data-theme="light"] :is(.loading-overlay){background:#f3f6fa;color:#27486e}
html[data-theme="light"] :is(.loading-text,.loading-pct,.loading-studio-caption){color:#436487}
html[data-theme="light"] :is(.page-footer,footer,.copyright,.visit-stats,.visit-stats strong,.visit-stats small,.beian-link){color:#627791;border-color:#d4deec}
html[data-theme="light"] :is(.gallery-shortcut,.liquid-button,.liquid-launch-button){color:#eff6ff}
html[data-theme="light"] *{scrollbar-color:#a5bad4 #edf3fa}
html[data-theme="light"] ::selection{background:#bdd7fc;color:#193c68}
/* Surfaces with their own composited backgrounds. */
html[data-theme="light"] .harness-atmosphere{background:radial-gradient(ellipse at 63% 0%,#c4d9f3,#e4edf9 55%,#f3f6fa 90%)}
html[data-theme="light"] .harness-atmosphere:after{background:linear-gradient(180deg,transparent 62%,#f3f6fa 100%)}
html[data-theme="light"] :is(.launch-panel-window,.launch-panel-bar,.launch-panel-bottom){background:#ffffffb8;border-color:#c3d1e3;box-shadow:none}
html[data-theme="light"] :is(.launch-panel-caption,.launch-panel-caption span,.launch-panel-bar,.launch-panel-bottom,.launch-panel-body p,.launch-panel-body p span,.workspace-tool,.workspace-tool span,.workspace-tool b,.workspace-tool small,.workspace-tool i,.hero-bottom-note a,.featured-intro p,.featured-intro small){color:#456383!important}
html[data-theme="light"] .launch-panel-body .workspace-tool{border-color:#d6e0ec}
html[data-theme="light"] .launch-panel-body .workspace-tool:hover{background:#e8f1ff;color:#234d83}
html[data-theme="light"] :is(.tool-heading,.tool-sticky-viewport-cover){background:#f3f6faf5!important;color:#294c79}
html[data-theme="light"] .tool-heading:before{background:#f3f6fa!important}
html[data-theme="light"] :is(.hero-badge,.back-home-orb,.total-stats b,.empty-canvas,.empty-canvas p,.empty-canvas span){color:#486587!important}
html[data-theme="light"] .canvas-wrap{background-color:#edf2f8;background-image:repeating-conic-gradient(#dde5ee 0% 25%,#f2f5f9 0% 50%);background-size:20px 20px}
html[data-theme="light"] .weather-icon{filter:brightness(.45) sepia(.3) hue-rotate(165deg)}
.jdad-theme-toggle{top:auto;bottom:88px}
html[data-theme="light"] .gallery-intro :is(h1,p){text-shadow:none!important}
html[data-theme="light"] .admin-portal :is(.trend-panel,.guard-panel,.admin-weather-status,.system-config-menu summary,.system-config-menu>div,.category-picker,.category-picker-trigger,.modal-foot,.login-card,.category-list>div,.download-platform-settings,.cleanup-warning,.cleanup-scope,.sortable-row>td,.sort-cell){background:#f8fbff!important;color:#365578!important;border-color:#c7d6e8!important}
html[data-theme="light"] .admin-portal :is(.dashboard b,.account-chip button,.maintenance-jump,.system-config-menu button,.modal button:not(.primary):not(.bubble-color-swatch),.login-card label,.login-card p,.category-list b,.category-picker button){color:#365578!important}
html[data-theme="light"] .admin-portal :is(.dashboard,.modal){--admin-ink:#233e62;--admin-muted:#516b8c;--admin-line:#c7d6e8;color-scheme:light}
html[data-theme="light"] .admin-portal :is(thead th,.guard-note,.sort-handle,.modal-foot button,.role-badge,.perm-tags i,.status-badge,.category-picker button){background:#eaf2fc!important;border-color:#c5d6e9!important;color:#365578!important}
html[data-theme="light"] .admin-portal :is(.sortable-row:hover>td,.system-config-menu button:hover,.category-list button:hover,.row-actions button:hover){background:#e5effc!important;color:#244e84!important}
html[data-theme="light"] .admin-portal .dashboard .chart{background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#c6d7eb calc(25% - 1px),#c6d7eb 25%)}
html[data-theme="light"] .harness-portal :is(.tool-heading h2,.featured-category-action,.featured-category-card>small){color:#365578!important}
html[data-theme="light"] .harness-portal .category-tabs{background:#e7eef8;border-color:#c5d5e9}
html[data-theme="light"] .harness-portal .category-tabs button{color:#456383}
html[data-theme="light"] .harness-portal .category-tabs button.active{background:#d4e4f9;color:#214e88;border-color:#9fbbdf;box-shadow:none}
html[data-theme="light"] .harness-portal .category-count{color:#466b98;border-color:#bdcfe6}
html[data-theme="light"] :is(.harness-portal,.admin-portal) .category-label{color:color-mix(in srgb,var(--category-accent) 50%,#18344f);border-color:color-mix(in srgb,var(--category-accent) 45%,#d1ddeb);background:color-mix(in srgb,var(--category-accent) 12%,white)}
html[data-theme="light"] :is(.source-chip,.count-chip,.status-item,.hero-badge){background:#e4eefb!important;color:#3a5e8c!important;border-color:#b8cde7!important}
html[data-theme="light"] .status-item b{color:#274e7c}
html[data-theme="light"] :is(.sig-toggle,.status-item b,.featured-category-card small,.featured-section p){color:#46688f!important}
/* Light card actions retain the shared hover effect on a pale surface. */
html[data-theme="light"] .harness-portal .tool-liquid-host .gallery-liquid-plate{background:linear-gradient(180deg,#fff,#e6eef9);box-shadow:0 3px 10px #355a8614,inset 0 1px #fff;border:1px solid #bed0e7}
html[data-theme="light"] .harness-portal .tool-liquid-host:is(:hover,:focus-within,.hot) .gallery-liquid-plate{background:linear-gradient(180deg,#fff,#dbeaff);box-shadow:0 0 14px #6cafff38,inset 0 1px #fff;border-color:#8fb5e7}
html[data-theme="light"] .harness-portal .tool-liquid-host .magnetic-launch{color:#2a527e!important;border-color:transparent}
html[data-theme="light"] .harness-portal .tool-liquid-host .magnetic-label{color:inherit;text-shadow:none}
html[data-theme="light"] .harness-portal .tool-liquid-host .shared-liquid-layer{mix-blend-mode:screen;opacity:.7}
html[data-theme="light"] .harness-portal .tool-card .usage-bubble{text-shadow:none}
html[data-theme="light"] .harness-portal .tool-card .usage-bubble{color:color-mix(in srgb,var(--bubble-tint) 30%,#172b45);background:color-mix(in srgb,var(--bubble-tint) 16%,#fff);border-color:color-mix(in srgb,var(--bubble-tint) 55%,#d1dceb);font-size:11px;font-weight:600;line-height:1.5;text-shadow:none;box-shadow:inset 0 1px #ffffffb3}
/* Make linked notice text distinguishable without relying on color alone. */
html .announcement-bar a.notice-inline-link,
html .notice-link-preview a.notice-inline-link{color:#a8d5ff;font-weight:650;text-decoration-line:underline;text-decoration-color:currentColor;text-decoration-thickness:2px;text-underline-offset:3px;background:#6db5ff1c;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone;transition:color .15s,background .15s}
html .announcement-bar a.notice-inline-link:hover,
html .notice-link-preview a.notice-inline-link:hover{color:#fff;background:#6db5ff38}
html[data-theme="light"] .announcement-bar a.notice-inline-link,
html[data-theme="light"] .notice-link-preview a.notice-inline-link{color:#1559b7;background:#e0edff}
html[data-theme="light"] .announcement-bar a.notice-inline-link:hover,
html[data-theme="light"] .notice-link-preview a.notice-inline-link:hover{color:#093d8b;background:#c9dfff}
html .announcement-bar a.notice-inline-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}
html[data-theme="light"] .harness-portal .topbar .gallery-liquid-host .gallery-liquid-plate,
html[data-theme="light"] .harness-portal .topbar .gallery-liquid-host .search-image-btn{box-shadow:none!important}
html[data-theme="light"] .harness-portal .hero-content>p{color:#2d496b}
html[data-theme="light"] .harness-portal footer{background:#f3f6fa;color:#526b88}
html[data-theme="light"] .harness-portal footer :is(.visit-stats,.visit-stats strong,.visit-stats small,.visit-stats em,.beian-link,.quiet-admin){color:#526b88}
html[data-theme="light"] input#galaxy-input{background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:#234c7e!important}
/* Light-theme contrast: descendants with fixed dark-theme colors must not stay white. */
html[data-theme="light"] :is(.total-stats strong,.total-stat strong,.quality-control output,.ctrl-label output,.spec-item strong,.info-row strong){color:#23466f!important;text-shadow:none}
html[data-theme="light"] :is(.size-btn,.frame-btn,.pure-frame-row,.quality-control label,.quality-control small,.format-joint-controls p){color:#496583}
html[data-theme="light"] .pure-frame-row:has(input:checked){background:#e4efff;border-color:#88acd8;color:#23466f}
html[data-theme="light"] :is(.upload-icon,.upload-symbol,.spec summary span,.weather-placeholder-icon,.header-search>span,.category-link i,.tool-heading h2 sup){color:#496b93!important;text-shadow:none}
html[data-theme="light"] .harness-portal .tool-liquid-host .magnetic-label i{color:#2a527e}
html[data-theme="light"] .recon-card .recon-title{color:#23466f!important}
html[data-theme="light"] :is(.preview-badge,.pdf-download-link){background:#e8f0fb;border-color:#bfd0e5;color:#305680}
html[data-theme="light"] .pdf-download-link:hover{background:#d7e7fb;color:#183f70}
html[data-theme="light"] :is(.vi-foot,.compress-foot){background:#f3f6fa;color:#526b88;border-color:#d4deec}
html[data-theme="light"] [class*="word-galaxy-module"] [class*="domainButton"]>span{color:#365d8b}
html[data-theme="light"] .activity-toolbar{background:#f8fbff;border-color:#c7d6e8}
html[data-theme="light"] :is(.activity-toolbar h2,.activity-card h3){color:#23466f}
html[data-theme="light"] :is(.activity-toolbar p,.activity-controls label,.activity-card small,.activity-note){color:#496583}
html[data-theme="light"] .activity-card button{background:#eaf2fc;border-color:#bdd0e7;color:#305680}
html[data-theme="light"] .activity-card button:hover:not(:disabled){background:#dceafb;color:#23466f}
html[data-theme="light"] .hotspot-item .hotspot-rank{color:#305d95!important}
html[data-theme="light"] .login-card{background:#f8fbff;color:#23466f;border-color:#c7d6e8}
html[data-theme="light"] .login-card :is(p,label,small,.login-close,.login-cancel){color:#496583}
html[data-theme="light"] :is(.btn-dark,.primary-button,.fmt-process-btn,.activity-card button,.activity-input-row button):disabled{background:#e3eaf3!important;border-color:#cbd7e5!important;color:#60738b!important;opacity:1;box-shadow:none;cursor:not-allowed}
/* Galaxy component descendants: stable CSS Module names, independent of build hashes. */
html[data-theme="light"] main[data-harness-surface][class] :is([class*="__collection"],[class*="__modeTip"],[class*="__reasonTooltip"],[class*="__rootLimitModal"],[class*="__creativeModal"],[class*="__downloadModal"],[class*="__constellationDialog"]) :is(p,b,strong,small,em,label,h2,h3,li,span){color:#365578!important;text-shadow:none}
html[data-theme="light"] main[data-harness-surface][class] :is([class*="__rootLimitModal"],[class*="__creativeModal"],[class*="__constellationDialog"]) :is(header,footer){background:#edf3fb!important;border-color:#c4d4e8!important}
html[data-theme="light"] main[data-harness-surface][class] :is([class*="__roleActions"],[class*="__collectionUtility"],[class*="__rootLimitModal"],[class*="__creativeModal"],[class*="__constellationDialog"],[class*="__downloadModal"]) :is(button,footer>a){background:#e7effb!important;color:#2e5688!important;border-color:#b9cde7!important;text-shadow:none}
html[data-theme="light"] main[data-harness-surface][class] :is([class*="__roleActions"],[class*="__collectionUtility"],[class*="__rootLimitModal"],[class*="__creativeModal"],[class*="__constellationDialog"]) button:hover:not(:disabled){background:#d7e6fb!important;color:#204b80!important}
html[data-theme="light"] main[data-harness-surface][class] :is([class*="__roleActions"],[class*="__collectionUtility"],[class*="__rootLimitModal"],[class*="__creativeModal"]) button:disabled{background:#e8edf4!important;color:#61738a!important;border-color:#ced8e6!important;opacity:1}
html[data-theme="light"] main[data-harness-surface][class] :is([class*="__creativeContent"]>ol>li,[class*="__rootChoices"]>button,[class*="__downloadOptionCard"]){background:#f1f6fd!important;border-color:#bed0e7!important}
html[data-theme="light"] main[data-harness-surface][class] :is([class*="__promptBlock"],[class*="__creativeKeywords"]){background:#eaf2fd!important;color:#365578!important}
html[data-theme="light"] main[data-harness-surface][class] :is([class*="__intro"]>small,[class*="__composer"]>small,[class*="__reasonTooltip"] footer,[class*="__modeTip"] b){color:#496583!important}
html[data-theme="light"] main[data-harness-surface][class] [class*="__titleStars"]{fill:#38669c;filter:none}
html[data-theme="light"] main[data-harness-surface][class] [class*="__titleOrbitTrack"]{stroke:#38669c}
html[data-theme="light"] main[data-harness-surface][class] [class*="__orbThought"]{stroke:#365d8b;filter:none}
html[data-theme="light"] main[data-harness-surface][class] [class*="__focusedWorld"] [class*="__node"]{opacity:.78}
html[data-theme="light"] main[data-harness-surface][class] [class*="__focusedWorld"] [class*="__relatedNode"]{opacity:1}

/* Solar-term banner: readable text over the light hero. */
html[data-theme="light"] .harness-portal .solar-term-top-banner{color:#294461}
html[data-theme="light"] .harness-portal .solar-term-top-banner :is(.solar-term-meta h2,blockquote p){color:#243e5c;text-shadow:none}
html[data-theme="light"] .harness-portal .solar-term-top-banner :is(.solar-term-meta small,blockquote cite){color:#465d78;text-shadow:none}
html[data-theme="light"] .harness-portal .solar-term-top-banner blockquote{border-left-color:#7188a54d}

/* Keep usage below a visible badge; badge-free cards retain their layout. */
.harness-portal .tool-card .tool-top-right:has(>.usage-bubble){flex-direction:column-reverse;align-items:flex-end;flex-wrap:nowrap;gap:7px}
.harness-portal .tool-card .tool-top-right:has(>.usage-bubble)>.usage{white-space:nowrap}
