/* HTNG V12 — true V6.3 reference-based visual system. No legacy frontend style dependencies. */
:root{color-scheme:light;--bg:#fafbfd;--card:#fff;--fg:#101e34;--muted:#617086;--ink:#101e34;--blue:#2873d3;--bluehover:#175ab1;--line:#e4e8ee;--surface:#f2f5f9;--soft:#e9f2fd;--shadow:0 16px 44px -28px rgba(13,35,64,.3)}
html,body,*{scrollbar-width:none}*::-webkit-scrollbar{display:none;width:0;height:0}body{overflow-x:clip}
.header{position:sticky;top:0;z-index:200;background:rgba(249,251,255,.74)!important;border-bottom:1px solid rgba(218,227,240,.65);backdrop-filter:blur(24px) saturate(165%);-webkit-backdrop-filter:blur(24px) saturate(165%);box-shadow:0 8px 24px -25px rgba(11,31,58,.6)}
.header.scrolled{background:rgba(249,251,255,.84)!important;box-shadow:0 12px 36px -30px #10203f}
.header-inner{min-height:84px;gap:18px}.header-right{flex-shrink:0}.nav{backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);background:rgba(235,240,248,.62)}.nav a{padding:11px 12px;font-size:.82rem}.nav a.active{background:rgba(255,255,255,.91)}
.theme-switch{border-radius:50%;font-size:19px;font-weight:700;background:rgba(255,255,255,.64);transition:transform .22s,background .22s}.theme-switch:hover{transform:rotate(14deg);background:#e9f2fd}.header .account-link{white-space:nowrap;padding:11px 14px;font-size:.84rem}.header .account-link svg{width:16px;height:16px}
.drawer-nav{padding:24px;flex:1;display:grid;align-content:start;gap:4px}.drawer-nav>a{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-radius:15px;font-weight:700;font-size:1.1rem}.drawer-nav>a.active,.drawer-nav>a:hover{background:var(--surface)}.drawer-footer{padding:20px 24px;display:flex;align-items:center;gap:12px;border-top:1px solid var(--line)}.drawer-footer .btn{flex:1}
.htng-v12-site .hero-picture{min-height:400px}.htng-v12-site .stats-float [data-count]{font-variant-numeric:tabular-nums}.footer{border-top:1px solid var(--line)}
/* Keep the original reference spacing and card system while applying accessible color tokens. */
[data-theme="dark"]{color-scheme:dark;--bg:#0d1626;--card:#172338;--fg:#f4f8ff;--muted:#b4c4d8;--ink:#0f1f38;--blue:#75aaff;--bluehover:#a3caff;--line:#31445c;--surface:#121f33;--soft:#183452;--shadow:0 20px 55px -24px rgba(0,0,0,.7)}
[data-theme="dark"] body{background:var(--bg);color:var(--fg)}[data-theme="dark"] .header{background:rgba(12,22,38,.78)!important;border-color:#31445c}[data-theme="dark"] .header.scrolled{background:rgba(12,22,38,.9)!important}[data-theme="dark"] .nav{background:rgba(31,48,72,.76)}[data-theme="dark"] .nav a{color:#c1d1e6}[data-theme="dark"] .nav a.active{background:#2c4160;color:#fff}[data-theme="dark"] .iconbtn,[data-theme="dark"] .theme-switch{background:#202f46;color:#e8f2ff;border-color:#38516e}
[data-theme="dark"] .card,[data-theme="dark"] .faq-stack,[data-theme="dark"] .blog-tools,[data-theme="dark"] .aside-sticky,[data-theme="dark"] .searchbox,[data-theme="dark"] .drawer,[data-theme="dark"] .footer{background:var(--card);border-color:var(--line)}[data-theme="dark"] .surface{background:var(--surface)}[data-theme="dark"] .blog-row,[data-theme="dark"] .faq-item{border-color:var(--line)}[data-theme="dark"] .blog-row:hover{background:#202f46}[data-theme="dark"] .btn.outline,[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea{background:#16273f;color:#f0f6ff;border-color:#3b5370}[data-theme="dark"] input::placeholder{color:#9babc0}[data-theme="dark"] .service-media,[data-theme="dark"] .service-illustration,[data-theme="dark"] .hero-picture{background:linear-gradient(145deg,#1f3652,#345471)}[data-theme="dark"] .service-media:after{background:#ffffff11}[data-theme="dark"] .hero p,[data-theme="dark"] .muted{color:var(--muted)}[data-theme="dark"] .status{background:#143c32;color:#a0f1c9}[data-theme="dark"] .page-head,[data-theme="dark"] .site-page{color:var(--fg)}
/* shared PHP pages (login, registration and integrated account) */
.htng-php-page{min-height:100dvh;background:var(--bg);color:var(--fg)}.htng-php-page .header{margin-bottom:0}.htng-auth .htng9-auth-shell{max-width:1180px;margin:0 auto;padding:clamp(52px,7vw,110px) 22px}.htng-auth .htng9-auth-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:clamp(24px,6vw,84px)}.htng-auth .htng9-auth-copy{padding:24px 0}.htng-auth .htng9-auth-copy h1{font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.08}.htng-auth .htng9-auth-copy p{max-width:460px;color:var(--muted);line-height:1.8}.htng-auth .htng9-eyebrow{display:block;color:var(--blue);letter-spacing:.13em;text-transform:uppercase;font-size:.75rem;font-weight:800;margin-bottom:20px}.htng-auth .htng9-auth-feature{padding:12px 0;color:var(--fg)}.htng-auth .htng9-auth-feature b{color:#268969;margin-right:9px}.htng-auth .login-container{width:100%}.htng-auth .login-card{padding:clamp(24px,4vw,44px);background:var(--card);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:16px}.htng-auth .login-card h2{font-size:2rem;margin:0 0 10px}.htng-auth .login-card label{font-weight:700;color:var(--fg);font-size:.88rem;display:flex;flex-direction:column;gap:8px}.htng-auth .login-card input{width:100%;height:50px;padding:12px 15px;background:var(--card);color:var(--fg);border:1px solid var(--line);border-radius:12px}.htng-auth .login-card button[type=submit]{min-height:52px;background:#2873d3;border:0;border-radius:13px;color:#fff;font-weight:800}.htng-auth .htng9-auth-foot{display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap}.htng-auth .htng9-auth-foot a{font-weight:700;color:var(--blue)}.htng-auth .htng9-auth-note{font-size:.79rem;color:var(--muted);margin:0}.htng-auth .error{border-radius:12px;padding:12px;background:#fff0f0;color:#a42835}.htng-auth .success{border-radius:12px;padding:12px;background:#e8f9ef;color:#216343}
.htng-account .portal-layout{max-width:1220px;margin:0 auto;min-height:calc(100dvh - 86px);padding:36px 22px 92px;display:grid;grid-template-columns:238px minmax(0,1fr);gap:26px;align-items:start}.htng-account .portal-sidebar{position:sticky;top:112px;background:var(--card);border:1px solid var(--line);border-radius:22px;padding:15px;box-shadow:var(--shadow)}.htng-account .portal-sidebar nav{display:flex;flex-direction:column;gap:4px}.htng-account .portal-sidebar a{display:block;padding:13px 15px;border-radius:12px;text-decoration:none;color:var(--muted);font-weight:700}.htng-account .portal-sidebar a:hover,.htng-account .portal-sidebar a.active{background:var(--soft);color:var(--blue)}.htng-account .portal-content{min-width:0;padding:0!important;background:none!important}.htng-account .portal-header{margin:0 0 25px}.htng-account .portal-header h1{font-size:clamp(2rem,3vw,3.2rem);line-height:1.12}.htng-account .portal-card,.htng-account .workorder-card{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px;padding:25px}.htng-account .portal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.htng-account :is(input,select,textarea){background:var(--card);color:var(--fg);border:1px solid var(--line);border-radius:12px;padding:12px;max-width:100%}.htng-account table{width:100%;max-width:100%;border-collapse:collapse}.htng-account .portal-content :is(a.button,button[type=submit],.btn-primary){background:#2873d3;color:#fff;border:0;border-radius:12px;padding:12px 18px}
@media(max-width:1170px){.header .nav{gap:0}.nav a{padding:10px 9px;font-size:.75rem}.header-inner{gap:10px}.brand-sub{font-size:.61rem}}
@media(max-width:1020px){.header .nav{display:none}.header .hamburger{display:inline-flex!important}.header-inner{min-height:74px}}
@media(max-width:800px){.htng-auth .htng9-auth-grid{grid-template-columns:1fr}.htng-auth .htng9-auth-copy{padding:5px 0}.htng-account .portal-layout{grid-template-columns:1fr;padding-top:20px}.htng-account .portal-sidebar{position:static}.htng-account .portal-sidebar nav{display:flex;flex-direction:row;flex-wrap:wrap}.htng-account .portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:530px){.htng-account .portal-grid{grid-template-columns:1fr}.htng-account .portal-layout{padding:15px 12px 70px}.htng-account .portal-card{padding:18px}.header .call-desktop{display:none}.header .account-link{padding:9px}.header .account-link svg{display:none}.header-inner{min-height:69px}.brand-name{font-size:1rem}.brand-sub{font-size:.54rem}.brandmark{width:38px;height:38px}.header .theme-switch{min-width:38px;min-height:38px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.reveal{opacity:1!important;transform:none!important}}

/* V15: theme toggle remains mathematically circular at every breakpoint. */
.htng-v12-site .header .theme-switch,.htng-php-page .header .theme-switch,.htng-v12-site .drawer .theme-switch,.htng-php-page .drawer .theme-switch{box-sizing:border-box!important;display:inline-grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important;max-height:42px!important;aspect-ratio:1/1!important;padding:0!important;border-radius:50%!important;line-height:1!important}
.htng-v12-site .theme-switch .theme-symbol,.htng-php-page .theme-switch .theme-symbol{display:grid;place-items:center;line-height:1;width:22px;height:22px}
@media(max-width:530px){.htng-v12-site .header .theme-switch,.htng-php-page .header .theme-switch{width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important;max-height:38px!important;flex-basis:38px!important}}
