/* Get Tools Lab: unified appearance in both theme modes. No tool-engine changes. */
html[data-theme="dark"] {color-scheme:dark;--gtl-ink:#f2f6ff;--gtl-muted:#acbad4;--gtl-surface:#15213a;--gtl-border:#354663;--gtl-bg:#0c1425}
html[data-theme="dark"] body {background:#0c1425!important;color:#f2f6ff!important;background-image:none!important}
html[data-theme="dark"] .site-header {background:#101b30!important;background-image:none!important;border-bottom:1px solid #354663!important;box-shadow:none!important}
html[data-theme="dark"] .site-header .brand-name,html[data-theme="dark"] .site-header .main-nav a,html[data-theme="dark"] .site-header .mega-toggle,html[data-theme="dark"] .site-header .nav-toggle,html[data-theme="dark"] .site-header #themeToggle,html[data-theme="dark"] .site-header .language-button {color:#f2f6ff!important;text-shadow:none!important}
html[data-theme="dark"] .site-header .enterprise-search,html[data-theme="dark"] .site-header .language-button,html[data-theme="dark"] .site-header #themeToggle {background:#1a2a45!important;border-color:#354663!important;color:#f2f6ff!important}
html[data-theme="dark"] .site-header .enterprise-search input {background:transparent!important;color:#f2f6ff!important}
html[data-theme="dark"] .site-header .enterprise-search input::placeholder {color:#b2bfd7!important}
html[data-theme="dark"] body.tool-view,html[data-theme="dark"] body.tool-view .tool-page {background:#0c1425!important;color:#f2f6ff!important;background-image:none!important}
html[data-theme="dark"] body.tool-view .tool-container .breadcrumbs {color:#afbdd4!important}
html[data-theme="dark"] body.tool-view .gtl-unified-workspace>.tool-panel,html[data-theme="dark"] body.tool-view .gtl-unified-workspace>.panel,html[data-theme="dark"] body.tool-view .gtl-unified-workspace>.content-section,html[data-theme="dark"] body.tool-view .gtl-unified-sidecard,html[data-theme="dark"] body.tool-view .gtl-unified-special .gtl-merge-panel {background:#15213a!important;border-color:#354663!important;color:#f2f6ff!important;box-shadow:0 6px 20px rgba(0,0,0,.15)!important}
html[data-theme="dark"] body.tool-view .gtl-unified-workspace h1,html[data-theme="dark"] body.tool-view .gtl-unified-workspace h2,html[data-theme="dark"] body.tool-view .gtl-unified-sidecard h2,html[data-theme="dark"] body.tool-view .gtl-unified-sidecard a {color:#f2f6ff!important}
html[data-theme="dark"] body.tool-view .gtl-unified-workspace p,html[data-theme="dark"] body.tool-view .gtl-unified-workspace label,html[data-theme="dark"] body.tool-view .gtl-unified-sidecard li {color:#d1daeb!important}
html[data-theme="dark"] body.tool-view .gtl-unified-sidecard a {border-bottom-color:#354663!important}
html[data-theme="dark"] body.tool-view .gtl-unified-workspace input:not([type=checkbox]):not([type=radio]):not([type=file]),html[data-theme="dark"] body.tool-view .gtl-unified-workspace textarea,html[data-theme="dark"] body.tool-view .gtl-unified-workspace select {background:#1b2b46!important;color:#f2f6ff!important;border-color:#455a7a!important}
html[data-theme="dark"] body.tool-view .gtl-unified-workspace .button:not(.secondary),html[data-theme="dark"] body.tool-view .gtl-unified-workspace button.button:not(.secondary) {background:#315cf5!important;border-color:#315cf5!important;color:#fff!important}
/* Keep the same homepage structure in dark mode; change surfaces only. */
html[data-theme="dark"] .gtl-home,html[data-theme="dark"] .gtla-home {background:#0c1425!important;background-image:none!important;color:#f2f6ff!important}
html[data-theme="dark"] .gtla-hero {background:radial-gradient(ellipse at 0 70%,#15284b,transparent 45%),radial-gradient(ellipse at 100% 30%,#192347,transparent 45%),#0c1425!important}
html[data-theme="dark"] .gtla-hero h1,html[data-theme="dark"] .gtla-hero h1 span {color:#f2f6ff!important}
html[data-theme="dark"] .gtla-hero p {color:#b6c3da!important}
html[data-theme="dark"] .gtla-hero-search {background:#15213a!important;border-color:#354663!important}
html[data-theme="dark"] .gtla-hero-search input {background:transparent!important;color:#f2f6ff!important}
html[data-theme="dark"] .gtla-category-card,html[data-theme="dark"] .gtla-tool-card {background:#15213a!important;border-color:#354663!important;color:#f2f6ff!important}
html[data-theme="dark"] .gtla-category-card *,html[data-theme="dark"] .gtla-tool-card * {text-shadow:none}
/* Brand mark remains the original multicolor artwork in both modes. */
.site-header .brand-mark img.brand-logo-mark {object-fit:contain!important;max-width:45px!important;max-height:45px!important}
