/* GrafiXact Tools — Night Professional. Scoped to the tools pages only. */
body.gxt-night{background:#071827!important;color:#dcecf6}
body.gxt-night .site,body.gxt-night .site-content,body.gxt-night .entry-content,body.gxt-night .wp-site-blocks,body.gxt-night main,body.gxt-night .elementor-section-wrap{background:transparent}
body.gxt-night .entry-content > .wp-block-group,body.gxt-night .entry-content > .elementor{background:transparent}
body.gxt-night .gxtools,body.gxt-night #gxtools-gamut,body.gxt-night #gxtools-icc,body.gxt-night #gxtools-tac{color:#dcebf6}
body.gxt-night .gxtools .gxt-hero,body.gxt-night .gxc-page .gxc-top,body.gxt-night .gxtt-head{border:1px solid #245371;box-shadow:0 18px 45px #0005;background:radial-gradient(circle at 95% 0%,#164e68 0,transparent 48%),linear-gradient(120deg,#071a2d,#102d46)}
body.gxt-night .gxtools-hub .gxt-section-title h2,body.gxt-night .gxtools-hub .gxt-section-title p{color:#e8f4fa}
body.gxt-night .gxtools-hub .gxt-card{background:linear-gradient(150deg,#102c43,#0b2034);border:1px solid #27516b;box-shadow:0 16px 32px #0003;transition:transform .18s,border-color .18s,box-shadow .18s}
body.gxt-night .gxtools-hub .gxt-card:hover{transform:translateY(-4px);border-color:#38bfe5;box-shadow:0 20px 45px #0006}
body.gxt-night .gxtools-hub .gxt-card h3{color:#f2f9ff}body.gxt-night .gxtools-hub .gxt-card p{color:#bbd0de}
body.gxt-night .gxtools-hub .gxt-status{background:#174936;color:#a3efbc}body.gxt-night .gxtools-hub .gxt-status.gxt-muted{background:#294154;color:#b4cfde}
body.gxt-night .gxtools-hub .gxt-card a{background:#06a1ca;color:#061c2c!important;box-shadow:0 5px 18px #009bcc33}body.gxt-night .gxtools-hub .gxt-card a:hover{background:#58dbf4}
body.gxt-night .gxtools-hub .gxt-symbol{color:#5bdaee}
body.gxt-night .gxt-footer{color:#c0d5e0!important}body.gxt-night .gxt-footer-bar{background:#03070c;border:1px solid #19344a}
/* Unified navigation, accessible high-contrast links */
body.gxt-night .gxtools-navigation{display:flex;align-items:center;gap:9px;flex-wrap:wrap;background:linear-gradient(120deg,#0d273b,#12384c);border:1px solid #24546c;border-radius:14px;padding:10px 12px;margin-bottom:17px;box-shadow:0 10px 28px #0003}
body.gxt-night .gxtools-navigation:before{content:'GRAFIXACT  /  TOOLS';font-size:11px;color:#68daf3;letter-spacing:.13em;font-weight:800;margin:0 auto 0 5px;white-space:nowrap}
body.gxt-night .gxtools-navigation a{background:#1a4057!important;color:#eaf8ff!important;border:1px solid #3a6780;border-radius:10px;padding:10px 17px;min-height:42px;transition:.2s}
body.gxt-night .gxtools-navigation a:hover,body.gxt-night .gxtools-navigation a:focus-visible{background:#0b8eae!important;color:#fff!important;border-color:#61d9f0;outline:2px solid #90e5f5;outline-offset:2px}
body.gxt-night .gxtools-navigation a:first-child{background:#075978!important;border-color:#238fb1}
/* CIEDE2000 report + converter */
body.gxt-night .gxt-panel,body.gxt-night .gxc-panel,body.gxt-night .gxc-tile{background:#102c42;border-color:#29546b;color:#e5f0f7}
body.gxt-night .gxt-panel h2,body.gxt-night .gxc-panel h2,body.gxt-night .gxc-tile strong{color:#f4fbff}
body.gxt-night .gxt-panel p,body.gxt-night .gxt-method,body.gxt-night .gxt-method p,body.gxt-night .gxc-tile small{color:#c0d7e5}
body.gxt-night .gxt-difference,body.gxt-night .gxt-report{background:#10293d;border-color:#35566a;color:#e6f1f8}
body.gxt-night .gxt-report h2,body.gxt-night .gxt-report h3{color:#effaff}
body.gxt-night .gxt-report th{background:#203e51;color:#e9f7ff}
body.gxt-night .gxt-report td{border-color:#315369;color:#d6eaf4}
body.gxt-night .gxt-setup label,body.gxt-night .gxt-inputs label{color:#c5dbe9}
body.gxt-night .gxt-stat{background:#16445e}
body.gxt-night .gxt-results .gxt-stat strong{color:#fff}
body.gxt-night .gxt-disclaimer{background:#47391c;color:#ffe1a4;border-color:#d9a039}
body.gxt-night .gxtools input:not([type=range]):not([type=color]):not([type=checkbox]),body.gxt-night .gxtools select,body.gxt-night .gxtools textarea{background:#f5fafc;color:#10283a;border-color:#7b9bad}
/* Converter */
body.gxt-night .gxc-page .gxc-panel,body.gxt-night .gxc-page .gxc-tile{background:#102b40;border-color:#29526a}
body.gxt-night .gxc-page .gxc-field label,body.gxt-night .gxc-page .gxc-caption{color:#c9ddea}
/* TAC */
body.gxt-night #gxtools-tac .gxtt-panel{background:#112d43;border-color:#2b536a;color:#e0f2f9}
body.gxt-night #gxtools-tac .gxtt-panel h2,body.gxt-night #gxtools-tac .gxtt-total{color:#e8f8ff}
body.gxt-night #gxtools-tac .gxtt-small,body.gxt-night #gxtools-tac .gxtt-muted{color:#c1d5e1}
/* ICC */
body.gxt-night #gxtools-icc .gxi-panel,body.gxt-night #gxtools-icc .gxi-card,body.gxt-night #gxtools-icc .gxi-result{background:#102d42;border-color:#31566c;color:#dbeff9}
body.gxt-night #gxtools-icc h2,body.gxt-night #gxtools-icc h3{color:#f0faff}
/* Gamut: preserve deep rendering canvas and its current controls */
body.gxt-night #gxtools-gamut .gxge-controls,body.gxt-night #gxtools-gamut .gxge-report{background:#102c40;color:#dfedf5;border-color:#2c536c}
body.gxt-night #gxtools-gamut .gxge-controls h2,body.gxt-night #gxtools-gamut .gxge-report h2,body.gxt-night #gxtools-gamut .gxge-report h3{color:#f4fbff}
body.gxt-night #gxtools-gamut .gxge-layer,body.gxt-night #gxtools-gamut .gxge-stats article{background:#193b51;border-color:#355c71;color:#e6f5fa}
body.gxt-night #gxtools-gamut .gxge-layer small,body.gxt-night #gxtools-gamut .gxge-stats small,body.gxt-night #gxtools-gamut .gxge-controls .gxge-small,body.gxt-night #gxtools-gamut .gxge-report p{color:#bcd5e3}
body.gxt-night #gxtools-gamut .gxge-file{background:#183b50;color:#ebf8fd;border-color:#3aa7ce}
body.gxt-night #gxtools-gamut .gxge-layer-settings label,body.gxt-night #gxtools-gamut .gxge-layer-settings output{color:#c7e0ed}
body.gxt-night #gxtools-gamut .gxge-stats b{color:#eef9ff}
body.gxt-night #gxtools-gamut .gxge-stats strong{color:#64d7ef}
body.gxt-night #gxtools-gamut .gxge-guide{background:#173b4b;color:#c8e5f2;border-color:#20b6da}
/* ColorLab lives in its own plugin: theme the page shell, not test patches or print colors. */
body.gxt-night:has(.gxtools-colorlab-navigation) .gxtools-colorlab-navigation{background:#102d43;border-radius:14px;padding:10px!important;border:1px solid #2d5570}
@media(max-width:740px){body.gxt-night .gxtools-navigation:before{width:100%;margin:0 0 4px 4px}body.gxt-night .gxtools-navigation a{flex:1}body.gxt-night .gxtools-hub .gxt-card{min-height:0}}
@media print{body.gxt-night{background:#fff!important;color:#161616!important}body.gxt-night .gxtools-navigation{display:none!important}body.gxt-night .gxt-report,body.gxt-night .gxt-panel,body.gxt-night .gxc-panel,body.gxt-night .gxtt-panel{background:#fff!important;color:#111!important;border-color:#ddd!important}body.gxt-night .gxt-report h2,body.gxt-night .gxt-report h3{color:#111!important}}
