/* SSLTools v7 fixed: base layout + light theme overrides */
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#e9efff;background:#090f1d;font-size:14px}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{display:flex;min-height:100vh}.sidebar{width:252px;flex:none;position:sticky;top:0;height:100vh;overflow-y:auto;background:#0c1425;border-inline-end:1px solid #1d2b41;padding:24px 13px;scrollbar-width:thin}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:850;padding:0 11px 30px;letter-spacing:-.6px}.brand-mark{width:34px;height:34px;background:linear-gradient(140deg,#4b8eff,#7358ff);border-radius:10px;display:grid;place-items:center;font-size:23px;box-shadow:0 5px 25px #3265e744}.brand-light{font-weight:450}.brand small{font-size:9px;letter-spacing:1px;color:#8ca3ff;margin-inline-start:5px}.sidebar-caption,.nav-heading,.section-overline{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#71829f}.sidebar-caption{padding:0 13px 12px}.side-search{display:flex;gap:9px;align-items:center;background:#111e33;border:1px solid #25334a;border-radius:10px;padding:0 11px;margin:0 5px 20px;color:#8396b5}.side-search input{min-width:0;width:100%;padding:11px 0;border:0;outline:0;background:transparent;color:#fff}.nav-group{margin-bottom:18px}.nav-heading{padding:0 13px 9px;letter-spacing:.5px;text-transform:uppercase}.nav-link{min-height:36px;display:flex;align-items:center;gap:11px;padding:8px 12px;border-radius:9px;color:#a1b0c9;font-size:12px;transition:.15s}.nav-link:hover{background:#182740;color:#fff}.nav-link.active{background:linear-gradient(90deg,#243f73,#1c2b48);color:#fff;font-weight:700}.nav-symbol{width:20px;text-align:center;color:#789de6;font-size:17px}.active-indicator,.online-dot{width:7px;height:7px;border-radius:50%;background:#37d9a2;display:inline-block;margin-inline-start:auto}.side-foot{border-top:1px solid #1d2b41;padding:17px 10px 0;color:#7589a7;font-size:11px;display:flex;align-items:center}.main-shell{min-width:0;flex:1}.topbar{height:66px;border-bottom:1px solid #1b293e;display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:#0b1221}.breadcrumb{font-size:12px;color:#a9b8cf}.breadcrumb span{color:#526684;margin:0 9px}.top-actions{display:flex;gap:19px;align-items:center}.system-label{font-size:11px;color:#8ea0ba}.system-label i{display:inline-block;width:6px;height:6px;background:#34d399;border-radius:50%;margin-inline-end:5px}.lang-switch{display:flex;border:1px solid #293951;border-radius:9px;padding:3px;gap:2px}.lang-switch a{font-size:11px;color:#8da0ba;padding:6px 9px;border-radius:6px}.lang-switch a.selected{background:#293d60;color:white}.mobile-toggle{display:none}.content{max-width:1200px;margin:auto;padding:27px 34px}.hero{min-height:185px;border:1px solid #293e67;background:radial-gradient(circle at 80% 20%,#233a7b 0,transparent 40%),linear-gradient(105deg,#162748,#101b33);border-radius:17px;display:flex;justify-content:space-between;overflow:hidden;padding:28px 33px;position:relative}.hero-content{z-index:1}.eyebrow{font-size:10px;letter-spacing:1.4px;color:#90b5ff;font-weight:750}.spark{color:#5cdac7;margin-inline-end:6px}.hero h1{font-size:clamp(23px,2.6vw,34px);line-height:1.3;margin:14px 0 7px;letter-spacing:-.8px}.hero p{color:#a9bad9;margin:0;max-width:540px;line-height:1.8;font-size:13px}.hero-chips{display:flex;gap:8px;margin-top:19px}.hero-chips span{border:1px solid #405a87;border-radius:6px;color:#c0d4fa;padding:4px 9px;font-size:10px}.hero-orb{width:160px;height:160px;position:relative;display:grid;place-items:center;margin:0 55px 0 0}.orb-center{width:75px;height:75px;border-radius:24px;background:linear-gradient(130deg,#5e9cff,#715dff);box-shadow:0 0 70px #427dff99;display:grid;place-items:center;font-size:54px}.orb-ring{position:absolute;border:1px solid #678bd466;border-radius:50%;width:135px;height:135px}.orb-ring.two{width:185px;height:185px;border-style:dashed;opacity:.45}.workspace-head,.report-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:26px 0 13px}.workspace-head h2,.report-head h2{font-size:19px;margin:7px 0 0}.tool-type{display:flex;gap:10px;align-items:center;font-size:10px;letter-spacing:1px;color:#8da1bd}.work-card,.detail-card,.score-card,.check-card,.metric,.tls-card{background:#111c2f;border:1px solid #263750;border-radius:13px}.work-card{padding:21px}.form-grid{display:flex;gap:13px;align-items:end}.form-primary{flex:1;min-width:0}.work-card label{display:block;color:#b8c6dc;font-size:12px;font-weight:650;margin-bottom:9px}.input-wrap{display:flex;align-items:center;background:#0b1526;border:1px solid #30425d;border-radius:10px;padding-inline:15px}.input-icon{font-size:20px;color:#7395d5}.input-wrap input{width:100%;border:0;background:transparent;color:#f3f6ff;outline:0;padding:15px 12px}.work-card textarea,.work-card select,.extra-inline input{background:#0b1526;color:#fff;border:1px solid #30425d;border-radius:9px;padding:12px;width:100%;resize:vertical}.submit-btn{background:linear-gradient(110deg,#4a84f5,#6a60ee);border:0;border-radius:10px;color:#fff;font-weight:750;padding:15px 22px;white-space:nowrap;min-height:49px;box-shadow:0 8px 20px #335af044}.submit-btn:hover{filter:brightness(1.1)}.extra-field,.extra-inline{margin-top:16px}.extra-inline{display:flex;gap:12px}.extra-inline label{flex:1}.safety-note{color:#ffcf89;font-size:12px}.alert{margin-top:15px;padding:15px;border-radius:10px}.error{background:#43212b;color:#ffb8c2;border:1px solid #854251}.error span{margin-inline-end:10px}.report{scroll-margin-top:12px}.report-actions{display:flex;gap:8px}.ghost-btn{border:1px solid #30415a;background:#15233a;color:#c4d2e7;border-radius:8px;padding:9px 12px;font-size:11px}.summary-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:13px;margin-bottom:13px}.score-card{display:flex;align-items:center;gap:22px;padding:19px}.score-dial{width:116px;height:116px;border-radius:50%;background:conic-gradient(#44d8b1 calc(var(--score)*1%),#283851 0);display:grid;place-items:center;flex:none}.score-dial>div{background:#111c2f;border-radius:50%;width:95px;height:95px;display:flex;flex-direction:column;align-items:center;justify-content:center}.score-dial strong{font-size:27px}.score-dial small{font-size:9px;color:#9aacbf}.score-note{display:flex;flex-direction:column;gap:9px}.score-note strong{font-size:15px}.score-note span{color:#45d5ac;font-size:12px}.score-note small{color:#90a3bf;line-height:1.6}.check-card{padding:12px 18px}.check-item{display:flex;align-items:center;gap:11px;padding:8px 0;border-bottom:1px solid #263750;font-size:12px}.check-item:last-child{border:0}.check-item strong{margin-inline-start:auto;font-size:10px;color:#9db1c9}.check-icon{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;font-weight:900}.check-icon.ok{background:#164b44;color:#50e0b2}.check-icon.bad{background:#553139;color:#ff9c9e}.metric-grid,.tls-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:13px}.metric,.tls-card{padding:18px;display:flex;flex-direction:column;gap:12px}.metric span,.tls-card span{color:#92a7c4;font-size:11px}.metric strong{font-size:25px}.metric small{font-size:12px;color:#8a9fbc}.tls-grid{grid-template-columns:repeat(2,1fr)}.tls-card strong{font-size:16px}.tls-card small{color:#92a7c4}.dns-visual{display:flex;align-items:center;justify-content:center;gap:10px;padding:20px;border:1px solid #273952;border-radius:12px;background:#111c2f;margin-bottom:13px}.dns-node{display:flex;align-items:center;gap:10px;border:1px solid #37517a;border-radius:9px;padding:11px 15px;color:#b8d2ff;max-width:44%;overflow-wrap:anywhere}.dns-line{height:2px;background:#4b85e7;width:70px;flex:none}.detail-card{overflow:hidden}.detail-head{padding:17px 19px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #293a51}.detail-head h3{font-size:14px;margin:0}.detail-head span{font-size:11px;color:#8195b2}.detail-table-wrap{max-height:400px;overflow:auto}.detail-table{border-collapse:collapse;width:100%;font-size:12px}.detail-table th{text-align:start;background:#17243a;color:#8da6cb;position:sticky;top:0;padding:12px 17px}.detail-table td{padding:12px 17px;border-top:1px solid #24354b;overflow-wrap:anywhere;max-width:500px;line-height:1.6}.detail-table td:first-child{width:35%;color:#9db4d3}.detail-table tr:hover td{background:#16243a}.raw-details{border:1px solid #293951;border-radius:10px;margin-top:13px;overflow:hidden}.raw-details summary{padding:14px 18px;cursor:pointer;color:#a9bcdb;font-size:12px}.raw-details summary span{float:right}.raw-details pre{padding:15px;background:#0b1423;white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto;font-size:11px}.empty-state{text-align:center;padding:35px 20px;color:#91a4c1;border:1px dashed #293c55;border-radius:13px;margin-top:18px}.empty-state h3{color:#dce7f8;margin:8px 0}.empty-state p{font-size:12px}.empty-icon{font-size:27px;color:#6998ec}.disclaimer{display:flex;gap:11px;color:#879cb9;font-size:11px;line-height:1.7;margin:22px 0}.disclaimer span{font-size:19px;color:#8ca8d5}.disclaimer p{margin:0}footer{border-top:1px solid #24334b;padding:20px 0;color:#768ca9;font-size:11px;display:flex;justify-content:space-between}html[dir=rtl] .hero-orb{margin:0 0 0 55px}html[dir=rtl] .raw-details summary span{float:left}@media(max-width:1000px){.sidebar{width:215px}.content{padding:24px}.topbar{padding:0 24px}.hero-orb{margin:0}.summary-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.sidebar{position:fixed;z-index:20;transform:translateX(-110%);transition:transform .2s;width:265px;box-shadow:15px 0 40px #0007}.sidebar.open{transform:translateX(0)}html[dir=rtl] .sidebar{right:0;left:auto;transform:translateX(110%)}html[dir=rtl] .sidebar.open{transform:translateX(0)}.mobile-toggle{display:block;background:none;border:0;color:#fff;font-size:21px}.topbar{height:59px;padding:0 16px}.system-label{display:none}.content{padding:16px}.hero{padding:22px;min-height:160px}.hero-orb{display:none}.hero h1{font-size:25px}.hero-chips{flex-wrap:wrap}.form-grid{flex-direction:column;align-items:stretch}.submit-btn{width:100%}.workspace-head{margin-top:21px}.metric-grid{grid-template-columns:repeat(2,1fr)}.score-card{gap:15px}.score-dial{width:100px;height:100px}.score-dial>div{width:81px;height:81px}.report-head{align-items:start}.report-actions{flex-direction:column}.detail-table td{padding:10px}.dns-line{width:20px}.dns-node{font-size:11px;padding:9px}.breadcrumb{max-width:190px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}@media print{.sidebar,.topbar,.hero,.work-card,.report-actions,.empty-state,.disclaimer,footer{display:none!important}.content{max-width:none;padding:0}.report{color:#111}.detail-card,.score-card,.check-card,.metric{border:1px solid #ddd;background:white;color:#111}.detail-table td,.detail-table th{color:#111;background:white}.detail-table-wrap{max-height:none;overflow:visible}.score-dial>div{background:white}.report-head{color:#111}}

/* v4 compact studio and branded print report */
.pdf-brand{display:none} .work-card input[type=file],.work-card input[type=password]{display:block;max-width:100%;padding:10px;margin:8px 0 12px;background:#14243a;color:#dce8f9;border:1px solid #34455f;border-radius:12px} .work-card label{display:block;margin-top:8px} .report{scroll-margin-top:20px} .hero{min-height:145px!important;padding-block:18px!important}.hero-orb{transform:scale(.7)}
@media print{body{background:white!important;color:#111!important} .sidebar,.topbar,.hero,.work-card,.report-actions,.disclaimer,footer,.raw-details{display:none!important}.app-shell,.content,.report{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:white!important;color:#111!important;box-shadow:none!important}.pdf-brand{display:flex!important;justify-content:space-between;align-items:center;padding:12px 0 20px;border-bottom:2px solid #133e6b;margin-bottom:18px;color:#123e6c}.pdf-brand strong{font-size:25px}.pdf-brand span{font-size:10px}.detail-table-wrap{max-height:none!important;overflow:visible!important}.detail-card,.metric,.score-card,.check-card{break-inside:avoid;color:#111!important;background:white!important;border:1px solid #ddd!important}.detail-table td,.detail-table th{color:#111!important;word-break:break-word} @page{size:A4;margin:15mm}}
/* v5: compact dashboard, calmer navigation, improved focus and print */
:root{scroll-behavior:smooth} .hero{min-height:unset!important;padding:22px 28px!important}.hero-orb{transform:scale(.7);transform-origin:center right}.hero h1{font-size:clamp(23px,2.7vw,36px)!important}.content{max-width:1440px}.work-card{padding:22px!important}.nav-group{margin-bottom:10px!important}.nav-link{min-height:38px!important;padding:9px 12px!important}.detail-table-wrap{max-height:390px;overflow:auto}.detail-table td{overflow-wrap:anywhere}.report{scroll-margin-top:70px}.ghost-btn{display:inline-flex;align-items:center;text-decoration:none;cursor:pointer}.work-card input[type=file],.work-card input[type=password],.work-card select{width:100%;min-height:42px;padding:10px;border:1px solid #34415b;border-radius:10px;background:#111d30;color:#eaf0ff}.work-card label{display:block;margin:10px 0 6px}.work-card input[type=checkbox]{width:auto;margin-inline-end:7px}.work-card textarea{max-width:100%}.report-head{gap:12px;flex-wrap:wrap}@media(max-width:720px){.hero{padding:18px!important}.hero-orb{display:none}.report-actions{flex-wrap:wrap}.work-card{padding:15px!important}}

/* v6 refined UX */
:root{--line:#2a3b56;--surface:#111d31}.sidebar{width:235px;background:linear-gradient(180deg,#0c1426,#0b1322)}.hero{background:radial-gradient(circle at 85% 10%,#3657a244,transparent 48%),linear-gradient(120deg,#142b4b,#111b31);border-radius:22px}.hero-chips span{border-radius:100px}.work-card,.detail-card,.metric,.score-card,.check-card{border-radius:17px;box-shadow:0 10px 28px #00000012}.nav-link.active{box-shadow:inset 3px 0 #60a5fa}.input-wrap:focus-within,.work-card textarea:focus,.work-card input:focus,.work-card select:focus{outline:2px solid #608cfa88;outline-offset:1px}.extra-inline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.csr-mode{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.csr-mode label{border:1px solid #355175;background:#172840;border-radius:11px;padding:11px 14px;cursor:pointer}.csr-mode input{accent-color:#76a9ff}.upload-box{position:relative;display:flex;gap:16px;align-items:center;padding:20px;background:#0c1a2f;border:1px dashed #54739d;border-radius:14px;margin-bottom:15px}.upload-box>span{font-size:30px;color:#81affb}.upload-box strong,.upload-box small{display:block}.upload-box small{color:#93a9c7;margin-top:5px}.upload-box input{margin-inline-start:auto;max-width:210px}.issue-list{padding:19px;border:1px solid #314762;background:#111d31;border-radius:16px;margin-bottom:14px}.issue-list h3{margin:0 0 16px}.issue{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border-radius:12px;background:#16283f;margin-top:9px}.issue>div{min-width:0}.issue strong,.issue small,.issue code{display:block;margin:4px 0}.issue code{font-size:12px;overflow-wrap:anywhere;color:#ffbca7}.issue small{color:#95aac7}.dns-priority{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:14px}.dns-priority>div{background:linear-gradient(120deg,#173b58,#172440);padding:18px;border:1px solid #376080;border-radius:15px}.dns-priority b{display:block;color:#b5d9ff;letter-spacing:1px}.dns-priority strong{display:block;font-size:30px;margin:8px 0}.dns-priority small{color:#a1b8d4}.report-actions .ghost-btn:hover{border-color:#79a4e5;background:#1d3352}@media(max-width:850px){.extra-inline{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.extra-inline,.dns-priority{grid-template-columns:1fr}.upload-box{flex-wrap:wrap}.issue{flex-direction:column;align-items:stretch}}


/* SSLTOOLS V7 — complete visual language replacement. */
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif!important;color:#16213a!important;background:#f4f6fa!important;font-size:14px!important;--ink:#17213a;--muted:#71809a;--blue:#3a65e9;--border:#e4e9f1;--surface:#fff;--navy:#111d39}
html{scroll-behavior:smooth}body{background:#f4f6fa!important;color:var(--ink)!important}a{text-decoration:none}.app-shell{background:#f4f6fa!important;align-items:stretch}.main-shell{min-width:0;flex:1;background:#f4f6fa!important}.sidebar{width:252px!important;min-width:252px;background:#fff!important;border-inline-end:1px solid #e5eaf3!important;padding:25px 15px!important;box-shadow:none!important;scrollbar-color:#d9e0eb transparent}.brand{color:#142440!important;display:flex!important;padding:2px 12px 26px!important;gap:11px!important;align-items:center!important;font-size:23px!important;font-weight:850!important;letter-spacing:-1.2px!important}.brand-mark{width:40px!important;height:40px!important;border-radius:13px!important;background:#3b65e8!important;box-shadow:0 8px 20px #3b65e829!important;color:white!important;font-size:27px!important}.brand-light{color:#3b65e8!important;font-weight:850!important}.brand small{display:block!important;color:#8c9ab2!important;letter-spacing:2px!important;font-size:8px!important;margin:0!important;font-weight:800!important}.sidebar-caption,.nav-heading,.section-overline{color:#8b98ac!important;font-size:10px!important;letter-spacing:1.3px!important}.sidebar-caption{padding:0 13px 12px!important}.side-search{background:#f6f8fc!important;border:1px solid #e6ebf3!important;color:#8290a7!important;border-radius:11px!important;margin:0 3px 23px!important}.side-search input{color:#233451!important}.side-search input::placeholder{color:#94a1b6!important}.nav-group{margin-bottom:20px!important}.nav-heading{padding:0 12px 8px!important}.nav-link{color:#64738c!important;font-size:12px!important;font-weight:570!important;min-height:39px!important;border-radius:10px!important;padding:9px 11px!important;margin:2px 0!important}.nav-link:hover{background:#f1f5fd!important;color:#2f57c8!important}.nav-link.active{background:#edf2ff!important;color:#315cd6!important;font-weight:800!important;box-shadow:none!important}.nav-symbol{color:#8e9db7!important;font-size:17px!important}.nav-link.active .nav-symbol{color:#4169df!important}.active-indicator{background:#4d71ed!important}.side-foot{border-color:#e8ecf4!important;color:#9ba7b9!important;font-size:10px!important}.topbar{height:69px!important;padding:0 39px!important;background:#fff!important;border-bottom:1px solid #e6ebf3!important;color:#63728a!important}.breadcrumb{font-size:12px!important;color:#8290a4!important}.breadcrumb b{color:#273b59!important;font-weight:700}.breadcrumb span{color:#b4c0d1!important;margin:0 9px}.crumb-home{font-size:20px!important;color:#526b95!important;margin:0!important}.system-label{color:#6c7b93!important;background:#f6f9fd!important;padding:8px 11px;border:1px solid #e7edf5;border-radius:50px}.system-label i{background:#2abf91!important}.lang-switch{background:#f2f5fa!important;border:1px solid #e4eaf3!important;border-radius:11px!important}.lang-switch a{color:#8592a5!important}.lang-switch a.selected{color:#2e55cb!important;background:white!important;box-shadow:0 1px 5px #15264d16!important}.content{max-width:1390px!important;padding:28px 39px 38px!important;margin:0 auto!important}.hero{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;overflow:hidden!important;min-height:225px!important;border-radius:20px!important;border:1px solid #dce5f8!important;background:linear-gradient(112deg,#edf3ff 0%,#f9fbff 68%,#eef5ff 100%)!important;padding:29px 39px!important;box-shadow:none!important}.hero-content{z-index:2!important;max-width:680px!important}.eyebrow{color:#4264bb!important;font-size:10px!important;font-weight:800!important;letter-spacing:1.4px!important}.eyebrow .spark{color:#416ae3!important;font-size:18px!important}.eyebrow-sep{margin:0 7px;color:#b5c2da}.hero h1{color:#15284e!important;font-size:clamp(25px,2.8vw,39px)!important;line-height:1.25!important;font-weight:850!important;letter-spacing:-.9px!important;margin:15px 0 10px!important}.hero p{color:#687d9f!important;font-size:13px!important;line-height:1.8!important;margin:0!important;max-width:590px!important}.hero-quick{display:flex;gap:9px;flex-wrap:wrap;margin-top:21px}.hero-quick a{border:1px solid #d7e2f7;background:#fff;color:#3b5e9c;padding:9px 13px;border-radius:9px;font-size:11px;font-weight:750;box-shadow:0 3px 10px #183a7710}.hero-quick a:hover{border-color:#8ca9ef;color:#2d57d2;transform:translateY(-1px)}.hero-quick a span{color:#4169e1;margin-inline-end:5px}.hero-art{position:relative;width:195px;height:160px;flex:none;margin-inline:20px 18px}.art-grid{position:absolute;inset:0;background-image:linear-gradient(#c8d8f05e 1px,transparent 1px),linear-gradient(90deg,#c8d8f05e 1px,transparent 1px);background-size:22px 22px;mask-image:radial-gradient(ellipse,#000 10%,transparent 70%)}.art-shield{position:absolute;left:57px;top:17px;width:88px;height:105px;clip-path:polygon(50% 0,94% 17%,89% 70%,50% 100%,11% 70%,6% 17%);background:linear-gradient(155deg,#537eff,#234dbd);display:grid;place-items:center;box-shadow:0 15px 30px #406ee93a}.art-shield span{font-size:42px;font-weight:900;color:white}.art-line{position:absolute;border:1px solid #8eb1f2;border-radius:50%;inset:5px 26px}.art-line.l2{inset:-10px 12px;border-style:dashed;opacity:.55}.art-dot{position:absolute;width:9px;height:9px;background:#3f71e7;border:3px solid #eaf2ff;border-radius:50%}.art-dot.d1{top:30px;left:25px}.art-dot.d2{bottom:23px;right:20px}.workspace-head{margin:25px 0 13px!important}.workspace-head h2{color:#192c4b!important;font-size:19px!important;letter-spacing:-.3px!important}.tool-type{color:#6e80a1!important;background:#fff!important;border:1px solid #e4eaf3!important;padding:9px 13px!important;border-radius:20px!important;font-size:10px!important}.work-card,.detail-card,.score-card,.check-card,.metric,.tls-card,.dns-visual,.issue-list{background:#fff!important;border:1px solid #e4eaf2!important;box-shadow:0 5px 20px #21345208!important;border-radius:15px!important;color:#24334e!important}.work-card{padding:24px!important}.work-card label{color:#3b4d69!important;font-size:12px!important;font-weight:700!important;margin:12px 0 7px!important}.work-card input:not([type=checkbox]),.work-card select,.work-card textarea,.work-card input[type=file],.work-card input[type=password],.input-wrap{background:#f9fbfe!important;color:#23334d!important;border:1px solid #dfe6f0!important;border-radius:10px!important;box-shadow:none!important}.work-card input::placeholder,.work-card textarea::placeholder{color:#9caac0!important}.work-card input:focus,.work-card textarea:focus,.work-card select:focus{outline:2px solid #7da2ff55!important;border-color:#7da2ff!important}.input-icon{color:#7390bb!important}.submit-btn{background:#3764e5!important;border:1px solid #3764e5!important;border-radius:11px!important;color:#fff!important;box-shadow:0 7px 17px #3866e92a!important;font-weight:800!important}.submit-btn:hover{background:#2754d4!important;transform:translateY(-1px)}.alert.error{background:#fff1f0!important;border-color:#f5d3d0!important;color:#a13f39!important}.report-head h2,.detail-head h3{color:#1d3151!important}.ghost-btn{background:#fff!important;color:#496181!important;border:1px solid #dfe7f1!important;border-radius:9px!important}.ghost-btn:hover{background:#edf3ff!important;border-color:#9eb6e9!important}.metric span,.check-card span,.score-card small,.detail-head span{color:#7788a1!important}.metric strong,.score-card strong{color:#1c3152!important}.score-dial{background:conic-gradient(#3b6be9 calc(var(--score)*1%),#e9eef7 0)!important}.score-dial>div{background:#fff!important}.check-card .pass{color:#079a74!important}.check-card .fail{color:#cb5a55!important}.detail-head{background:#f9fbfe!important;border-bottom:1px solid #e8edf5!important}.detail-table th{background:#f6f9fd!important;color:#6a7d99!important}.detail-table td{border-color:#edf0f5!important;color:#273955!important}.detail-table td:first-child{color:#7b8ba3!important}.detail-table tr:hover td{background:#f8faff!important}.raw-details{border-color:#e4eaf2!important;background:#fff!important}.raw-details summary{color:#627894!important}.raw-details pre{background:#f5f7fc!important;color:#34415c!important}.empty-state{background:#fff!important;border:1px dashed #d8e1ee!important;color:#8190a8!important;padding:31px!important}.empty-state h3{color:#273c5c!important}.empty-icon{color:#4975e6!important}.disclaimer{color:#8794a9!important}footer{border-color:#e0e7f1!important;color:#9aa7b8!important}.upload-box{background:#f7faff!important;border:1px dashed #9db6e5!important;color:#2c446b!important}.upload-box strong{color:#2c446b!important}.upload-box small{color:#879ab6!important}.csr-mode label{background:#f6f9ff!important;border:1px solid #dae4f5!important;color:#3b5379!important}.extra-inline input{background:#f9fbff!important}.issue-list h3{color:#263c5c!important}.issue{background:#f8faff!important;border:1px solid #e8edf7!important}.issue code{color:#b04c39!important}.issue small{color:#7d8ba4!important}.dns-priority>div{background:#eff5ff!important;border:1px solid #d9e5fa!important}.dns-priority b{color:#4365a2!important}.dns-priority strong{color:#1e365a!important}.dns-priority small{color:#7187a7!important}.tls-card{color:#2c405e!important}.safety-note{color:#8c6583!important}.pdf-brand{display:none}
@media(max-width:1100px){.sidebar{width:222px!important;min-width:222px}.content{padding:25px!important}.topbar{padding:0 25px!important}.hero-art{margin:0!important}}@media(max-width:720px){.sidebar{width:275px!important;min-width:275px;position:fixed!important;z-index:50!important;box-shadow:15px 0 45px #20345125!important}.mobile-toggle{color:#2e4366!important;background:#f4f7fd!important;border:1px solid #e2e8f2!important;border-radius:9px!important;padding:6px 10px!important}.topbar{height:61px!important;padding:0 16px!important}.content{padding:16px!important}.hero{min-height:unset!important;padding:23px!important}.hero-art{display:none!important}.hero h1{font-size:26px!important}.hero-quick a{font-size:10px!important}.work-card{padding:17px!important}.workspace-head h2{font-size:17px!important}.system-label{display:none!important}.report-actions{flex-direction:row!important;flex-wrap:wrap!important}.ghost-btn{font-size:11px!important}.detail-table-wrap{overflow:auto!important}.detail-table{min-width:460px}.form-grid{flex-direction:column!important}.submit-btn{width:100%!important}}
@media print{body,.main-shell,.content{background:#fff!important;color:#111!important}.sidebar,.topbar,.hero,.work-card,.report-actions,.empty-state,.disclaimer,footer{display:none!important}.report{color:#111!important}.detail-card,.metric,.score-card,.check-card{background:#fff!important;box-shadow:none!important;border-color:#ddd!important}.detail-table td,.detail-table th{color:#111!important}.pdf-brand{display:flex!important;color:#153d76!important}}


/* layout fixes */
html,body{min-width:320px}body{margin:0}*,*::before,*::after{box-sizing:border-box}.main-shell{min-width:0}.work-card input,.work-card textarea,.work-card select{max-width:100%}.detail-table-wrap{max-width:100%;overflow-x:auto}.report{min-width:0}@media(max-width:720px){.app-shell{display:block}.main-shell{width:100%}.sidebar:not(.open){transform:translateX(-110%)}html[dir=rtl] .sidebar:not(.open){transform:translateX(110%)}.sidebar.open{transform:translateX(0)}.content{width:100%}}

/* V8 structural redesign: command center, not a recolor */
:root{--v8-ink:#162b47;--v8-line:#e6eaf1;--v8-blue:#1559d8}
html,body{background:#f5f7fa!important}
.app-shell{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto 1fr!important;min-height:100vh}
.sidebar{position:relative!important;top:auto!important;width:100%!important;min-width:0!important;height:auto!important;overflow:visible!important;grid-row:1;display:flex!important;align-items:center;gap:22px;background:#fff!important;border:0!important;border-bottom:1px solid var(--v8-line)!important;padding:13px clamp(20px,4vw,60px)!important;box-shadow:none!important;z-index:25}
.sidebar .brand{padding:0!important;flex:none!important;font-size:19px!important}
.sidebar .brand small,.sidebar-caption,.side-foot{display:none!important}
.sidebar .side-search{order:3;margin:0 0 0 auto!important;width:210px!important;flex:none;background:#f5f7fb!important;border-color:#e5eaf2!important}
html[dir=rtl] .sidebar .side-search{margin:0 auto 0 0!important}
.sidebar .tool-nav{display:flex!important;align-items:center!important;gap:8px!important;flex:1!important;min-width:0!important}
.sidebar .nav-group{position:relative!important;margin:0!important;min-width:0!important}
.sidebar .nav-heading{padding:11px 13px!important;font-size:12px!important;letter-spacing:0!important;white-space:nowrap!important;text-transform:none!important;color:#35445e!important;border-radius:10px!important;background:#f6f8fc!important;cursor:default!important}
.sidebar .nav-group:hover .nav-heading,.sidebar .nav-group:focus-within .nav-heading{background:#eaf1ff!important;color:#1559d8!important}
.sidebar .nav-link{display:none!important}
.sidebar .nav-group:hover .nav-link,.sidebar .nav-group:focus-within .nav-link{display:flex!important;position:relative!important;min-height:39px!important;background:#fff!important;border-radius:9px!important;box-shadow:none!important;white-space:nowrap!important}
.sidebar .nav-group:hover,.sidebar .nav-group:focus-within{z-index:31!important}
.sidebar .nav-group:hover::after,.sidebar .nav-group:focus-within::after{content:'';position:absolute;z-index:-1;top:0;left:-9px;right:-9px;bottom:-8px;background:#fff;border:1px solid #e5eaf2;border-radius:14px;box-shadow:0 15px 30px #20355219}
.sidebar .nav-group:hover .nav-heading,.sidebar .nav-group:focus-within .nav-heading{margin-bottom:8px}
.sidebar .nav-group:hover .nav-link.active,.sidebar .nav-group:focus-within .nav-link.active{background:#eaf1ff!important}
.main-shell{grid-row:2;width:100%!important}
.topbar{height:49px!important;padding:0 clamp(20px,4vw,60px)!important;background:#f5f7fa!important;border-bottom:0!important}
.content{max-width:1320px!important;margin:0 auto!important;padding:16px clamp(20px,4vw,60px) 48px!important}
.command-head{display:flex;align-items:center;justify-content:space-between;gap:22px;background:#fff;border:1px solid #e6eaf1;border-radius:20px;padding:25px 30px;margin-bottom:24px;box-shadow:0 8px 35px #152a4b08}
.command-intro{min-width:0}.command-kicker{font-size:10px;font-weight:850;color:#4772bd;letter-spacing:1.6px}.command-intro h1{margin:7px 0 6px;font-size:clamp(22px,2.5vw,31px);color:#172b48;letter-spacing:-.6px}.command-intro p{margin:0;font-size:12px;color:#718098;line-height:1.8}
.command-links{display:grid;grid-template-columns:repeat(5,minmax(80px,1fr));gap:8px;flex:none}
.command-links a{display:flex;flex-direction:column;align-items:center;gap:7px;justify-content:center;min-width:80px;padding:12px 9px;border:1px solid #e5ebf4;border-radius:13px;color:#53637d;background:#f8faff;font-size:11px;font-weight:700;transition:.15s}
.command-links a span{font-size:22px;color:#386bdd}.command-links a:hover,.command-links a.picked{border-color:#93b5fb;background:#ebf2ff;color:#1559d8;transform:translateY(-2px)}
.workspace-head{margin:0 0 12px!important;display:flex;align-items:center}.workspace-head h2{font-size:22px!important}.work-card{padding:24px 28px!important;border-radius:18px!important}.form-grid{gap:20px!important}.form-primary{width:100%!important;min-width:0}.submit-btn{min-height:48px!important;align-self:end!important}
.mobile-tool-strip{display:none}
.nav-link[hidden],.nav-group[hidden]{display:none!important}
@media(max-width:1100px){.sidebar{gap:12px!important;padding:12px 20px!important}.sidebar .side-search{width:160px!important}.command-links{grid-template-columns:repeat(5,70px)}.command-links a{min-width:0}.command-head{padding:22px}.content{padding:14px 22px 40px!important}}
@media(max-width:850px){.sidebar{position:fixed!important;top:0!important;bottom:0!important;inset-inline-start:0!important;width:min(320px,86vw)!important;height:100dvh!important;overflow-y:auto!important;display:block!important;z-index:100!important;padding:24px 17px!important;border-inline-end:1px solid #e5eaf2!important;transform:translateX(-110%);transition:transform .2s ease}.sidebar.open{transform:translateX(0)!important}html[dir=rtl] .sidebar{transform:translateX(110%)}html[dir=rtl] .sidebar.open{transform:translateX(0)}.sidebar .brand{padding:0 8px 20px!important}.sidebar .side-search{display:flex!important;width:auto!important;margin:0 0 20px!important}.sidebar .tool-nav{display:block!important}.sidebar .nav-group{margin-bottom:14px!important}.sidebar .nav-heading{background:transparent!important;color:#8090a7!important;padding:6px 12px!important}.sidebar .nav-link,.sidebar .nav-group:hover .nav-link{display:flex!important;position:static!important;white-space:normal!important}.sidebar .nav-group:hover::after{display:none}.topbar{padding:0 18px!important}.mobile-toggle{display:block!important}.content{padding:12px 16px 32px!important}.command-head{display:block;padding:20px;margin-bottom:13px}.command-links{display:flex;overflow-x:auto;margin-top:17px;padding-bottom:4px;gap:8px}.command-links a{min-width:77px}.mobile-tool-strip{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;font-size:12px;color:#63718a}.mobile-tool-strip button{background:#eaf1ff;border:1px solid #d8e5ff;color:#225bc5;padding:10px 13px;border-radius:10px;font-weight:750}.work-card{padding:18px!important}}
@media(max-width:470px){.command-head{padding:17px}.command-intro h1{font-size:22px}.command-links a{min-width:72px;padding:10px 5px}.top-actions{gap:7px!important}.workspace-head h2{font-size:18px!important}}
@media print{.command-head,.mobile-tool-strip{display:none!important}}

/* V9: icon-first navigation, no sidebar, and full dark palette */
.sidebar,.mobile-toggle,.mobile-tool-strip{display:none!important}
.app-shell{display:block!important}.main-shell{width:100%!important;display:block!important}.topbar{height:64px!important;background:var(--v9-surface,#fff)!important;border-bottom:1px solid var(--v9-border,#e4eaf2)!important}.content{max-width:1370px!important}.command-head{display:block!important;background:var(--v9-surface,#fff)!important}.command-intro{margin-bottom:19px}.tool-icon-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.tool-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:15px 7px;min-height:108px;border:1px solid var(--v9-border,#e3eaf3);border-radius:15px;background:var(--v9-tile,#f7f9fd);color:var(--v9-text,#243752);text-decoration:none;transition:transform .15s,border-color .15s,background .15s}.tool-icon:hover{transform:translateY(-3px);border-color:#6496ed}.tool-icon.picked{border-color:#4b80e5;background:var(--v9-active,#eaf2ff)}.tool-icon-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:var(--v9-icon-bg,#e9f0ff);color:var(--v9-icon,#2465d9);font-size:25px}.tool-icon-label{font-size:12px;line-height:1.4;font-weight:750}.theme-toggle{display:flex;align-items:center;gap:7px;background:var(--v9-tile,#f6f8fc);color:var(--v9-text,#243752);border:1px solid var(--v9-border,#e3eaf3);border-radius:10px;padding:9px 12px;cursor:pointer;font-weight:750}.dns-record-focus{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.dns-record-panel{min-width:0;border:1px solid var(--v9-border,#dce5f4);background:var(--v9-surface,#fff);border-radius:16px;padding:20px}.dns-record-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:15px}.dns-record-title>span{padding:7px 11px;background:var(--v9-icon-bg,#e8f0ff);border-radius:8px;color:var(--v9-icon,#235ac0);font-size:15px;font-weight:900}.dns-record-title strong{font-size:17px;color:var(--v9-text,#1d3150)}.dns-record-title small{font-size:11px;color:var(--v9-muted,#73849d)}.dns-record-value{padding:13px 14px;margin:8px 0;border:1px solid var(--v9-border,#e1e9f4);border-radius:10px;background:var(--v9-tile,#f7faff);font:700 13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;color:var(--v9-text,#213e68);text-align:left}.dns-record-empty{color:var(--v9-muted,#8290a3);font-size:13px}.dns-priority{display:none!important}
@media(max-width:950px){.tool-icon-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:600px){.tool-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.tool-icon{min-height:90px;padding:9px 5px;gap:5px}.tool-icon-mark{width:36px;height:36px;font-size:21px}.tool-icon-label{font-size:10px}.command-head{padding:16px!important}.dns-record-focus{grid-template-columns:1fr}.theme-toggle span{display:none}}
html[data-theme=dark]{color-scheme:dark;--v9-surface:#172236;--v9-tile:#1e2d45;--v9-border:#34435d;--v9-text:#e8f0ff;--v9-muted:#a8b7cc;--v9-active:#263e64;--v9-icon-bg:#28436b;--v9-icon:#94bdff;background:#101827!important}html[data-theme=dark] body,html[data-theme=dark] .main-shell,html[data-theme=dark] .content,html[data-theme=dark] .app-shell{background:#101827!important;color:#e8f0ff!important}html[data-theme=dark] .topbar,html[data-theme=dark] .command-head,html[data-theme=dark] .work-card,html[data-theme=dark] .detail-card,html[data-theme=dark] .report,html[data-theme=dark] .score-card,html[data-theme=dark] .check-card,html[data-theme=dark] .metric,html[data-theme=dark] .tls-card,html[data-theme=dark] .raw-details,html[data-theme=dark] .empty-state,html[data-theme=dark] .issue,html[data-theme=dark] .dns-node,html[data-theme=dark] .dns-record-panel{background:#172236!important;border-color:#34435d!important;color:#e8f0ff!important}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] strong,html[data-theme=dark] .workspace-head h2,html[data-theme=dark] .command-intro h1,html[data-theme=dark] .detail-head h3,html[data-theme=dark] .detail-table td,html[data-theme=dark] .detail-table th,html[data-theme=dark] label,html[data-theme=dark] .metric strong,html[data-theme=dark] .raw-details summary{color:#e8f0ff!important}html[data-theme=dark] p,html[data-theme=dark] small,html[data-theme=dark] .section-overline,html[data-theme=dark] .command-intro p,html[data-theme=dark] .detail-table td:first-child,html[data-theme=dark] .disclaimer{color:#b0bfd5!important}html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select,html[data-theme=dark] .input-wrap,html[data-theme=dark] .upload-box,html[data-theme=dark] .csr-mode label,html[data-theme=dark] .detail-table tr:hover td,html[data-theme=dark] .raw-details pre{background:#1d2c44!important;border-color:#40516c!important;color:#edf3ff!important}html[data-theme=dark] .detail-table td,html[data-theme=dark] .detail-table th{border-color:#34435d!important}html[data-theme=dark] .ghost-btn,html[data-theme=dark] .lang-switch,html[data-theme=dark] .tool-type{background:#243653!important;color:#e3edff!important;border-color:#40516c!important}html[data-theme=dark] .lang-switch a{color:#bdcbe1!important}html[data-theme=dark] .lang-switch a.selected{background:#3764ae!important;color:#fff!important}html[data-theme=dark] .dns-record-value{background:#1e2d45!important;color:#eaf1ff!important}html[data-theme=dark] .empty-icon{color:#94bdff!important}@media print{html[data-theme=dark],html[data-theme=dark] body,html[data-theme=dark] .report,html[data-theme=dark] .detail-card{background:white!important;color:black!important}.theme-toggle,.tool-icon-grid{display:none!important}}

/* v10: dark-first legibility and more distinctive accents */
html:not([data-theme="light"]){color-scheme:dark}html:not([data-theme="light"]) body{background:#0b1020;color:#edf3ff}html:not([data-theme="light"]) select,html:not([data-theme="light"]) option,html:not([data-theme="light"]) input,html:not([data-theme="light"]) textarea{background-color:#141f35!important;color:#f3f7ff!important;border-color:#3b5276!important}html:not([data-theme="light"]) input::placeholder,html:not([data-theme="light"]) textarea::placeholder{color:#91a5c6!important}html:not([data-theme="light"]) select option{background:#141f35!important;color:#f3f7ff!important}html:not([data-theme="light"]) label{color:#d7e4fa!important}html:not([data-theme="light"]) .work-card{background:#111b30;border-color:#35466b}html:not([data-theme="light"]) .detail-table td{color:#e2eaff}html:not([data-theme="light"]) .detail-table td:first-child{color:#a9c6ff}html:not([data-theme="light"]) .dns-record-panel:nth-child(1){border-color:#2979b5}html:not([data-theme="light"]) .dns-record-panel:nth-child(2){border-color:#9672d9}.tool-icon:nth-child(4n+1) .tool-icon-mark{color:#5edcc5}.tool-icon:nth-child(4n+2) .tool-icon-mark{color:#a18bff}.tool-icon:nth-child(4n+3) .tool-icon-mark{color:#ffbf74}.tool-icon:nth-child(4n) .tool-icon-mark{color:#6db6ff}
.chain-graphic{margin:16px 0;background:linear-gradient(135deg,#111e35,#151c36);border:1px solid #35476a;border-radius:18px;padding:22px}.chain-title{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.chain-title strong{font-size:16px;color:#e6efff}.chain-title span{font-size:11px;color:#9db3d6}.chain-steps{display:flex;gap:18px;align-items:stretch;flex-wrap:wrap}.chain-step{position:relative;flex:1 1 175px;min-width:0;background:#1c2942;border:1px solid #3d5277;border-radius:14px;padding:16px;display:flex;gap:12px;align-items:center;overflow-wrap:anywhere}.chain-step:not(:last-child)::after{content:'→';position:absolute;right:-17px;top:42%;color:#64d8bd;z-index:1}.chain-step-icon{background:#264b62;color:#6ee4cf;border-radius:12px;min-width:38px;height:38px;display:grid;place-items:center;font-size:20px}.chain-step:nth-child(even) .chain-step-icon{background:#3b3264;color:#c4a8ff}.chain-step small{font-size:9px;color:#8fa8d1;display:block;letter-spacing:.6px}.chain-step strong{font-size:12px;color:#f2f5ff;display:block;margin:5px 0}.chain-step span{font-size:10px;color:#9db3d3;display:block}.chain-step>div:last-child{min-width:0}@media(max-width:700px){.chain-step:not(:last-child)::after{display:none}.chain-graphic{padding:15px}}

.caa-output{margin:16px 0;padding:20px;border:1px solid #3a5276;border-radius:15px;background:#132139}.caa-output h3{font-size:15px;color:#e6efff}.caa-line{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:10px 0;padding:12px;background:#0d182c;border:1px solid #32496d;border-radius:9px}.caa-line code{color:#7ce6c9;font-size:13px;overflow-wrap:anywhere}.caa-output p{font-size:11px;color:#a8bdd9}html[data-theme="light"] .caa-output{background:#f0f5ff}html[data-theme="light"] .caa-output h3{color:#18325d}html[data-theme="light"] .caa-line{background:#fff}html[data-theme="light"] .caa-line code{color:#176d60}html[data-theme="light"] .caa-output p{color:#425674}

/* V11 final tokens: override legacy light-first rules consistently. */
html[data-theme="dark"]{color-scheme:dark!important;--v9-surface:#151e31;--v9-tile:#1d2b43;--v9-border:#35465f;--v9-text:#f0f5ff;--v9-muted:#b1c0d6;--v9-active:#243f66;--v9-icon-bg:#29415f;--v9-icon:#82baff;background:#0b1020!important;color:#f0f5ff!important}
html[data-theme="dark"] body,html[data-theme="dark"] .app-shell,html[data-theme="dark"] .main-shell,html[data-theme="dark"] .content{background:#0b1020!important;color:#f0f5ff!important}
html[data-theme="dark"] .topbar,html[data-theme="dark"] .command-head,html[data-theme="dark"] .work-card,html[data-theme="dark"] .detail-card,html[data-theme="dark"] .score-card,html[data-theme="dark"] .check-card,html[data-theme="dark"] .metric,html[data-theme="dark"] .tls-card,html[data-theme="dark"] .dns-visual,html[data-theme="dark"] .issue-list,html[data-theme="dark"] .raw-details{background:#151e31!important;border-color:#35465f!important;color:#f0f5ff!important}
html[data-theme="dark"] .command-intro h1,html[data-theme="dark"] .workspace-head h2,html[data-theme="dark"] .report-head h2,html[data-theme="dark"] .detail-head h3,html[data-theme="dark"] .metric strong,html[data-theme="dark"] .score-card strong,html[data-theme="dark"] .empty-state h3,html[data-theme="dark"] .breadcrumb b{color:#f0f5ff!important}
html[data-theme="dark"] .breadcrumb,html[data-theme="dark"] .command-intro p,html[data-theme="dark"] .metric span,html[data-theme="dark"] .check-card span,html[data-theme="dark"] .detail-head span,html[data-theme="dark"] .disclaimer,html[data-theme="dark"] .tool-type,html[data-theme="dark"] .section-overline{color:#b3c4df!important}
html[data-theme="dark"] .work-card input:not([type=checkbox]),html[data-theme="dark"] .work-card select,html[data-theme="dark"] .work-card textarea,html[data-theme="dark"] .input-wrap,html[data-theme="dark"] .work-card input[type=file],html[data-theme="dark"] .work-card input[type=password],html[data-theme="dark"] .extra-inline input{background:#202f49!important;color:#f7faff!important;border:1px solid #4a5e7e!important;box-shadow:none!important}
html[data-theme="dark"] select option{background:#202f49!important;color:#f7faff!important}
html[data-theme="dark"] .work-card label,html[data-theme="dark"] .upload-box strong,html[data-theme="dark"] .csr-mode label{color:#ecf3ff!important}
html[data-theme="dark"] .work-card input::placeholder,html[data-theme="dark"] .work-card textarea::placeholder{color:#a6b9d4!important}
html[data-theme="dark"] .detail-head,html[data-theme="dark"] .detail-table th,html[data-theme="dark"] .raw-details pre,html[data-theme="dark"] .upload-box,html[data-theme="dark"] .csr-mode label{background:#202f49!important;color:#e9f1ff!important;border-color:#405775!important}
html[data-theme="dark"] .detail-table td,html[data-theme="dark"] .detail-table th{color:#e9f1ff!important;border-color:#344861!important}
html[data-theme="dark"] .detail-table td:first-child{color:#b8c9e3!important}
html[data-theme="dark"] .ghost-btn,html[data-theme="dark"] .lang-switch,html[data-theme="dark"] .tool-type,html[data-theme="dark"] .system-label{background:#22324c!important;color:#eaf2ff!important;border-color:#405775!important}
html[data-theme="dark"] .lang-switch a.selected{background:#3768b7!important;color:#fff!important}
html[data-theme="dark"] .tool-icon{background:#1d2b43!important;color:#f0f5ff!important;border-color:#35465f!important}
html[data-theme="dark"] .tool-icon.picked{background:#25436a!important;border-color:#64a9f9!important}
html[data-theme="dark"] .tool-icon-label{color:#f0f5ff!important}
html[data-theme="dark"] .dns-record-value{background:#20324a!important;color:#f2f8ff!important}
html[data-theme="dark"] .issue{background:#202f49!important;border-color:#405775!important}
html[data-theme="dark"] .empty-state{background:#151e31!important;border-color:#405775!important;color:#b7c8e2!important}
html[data-theme="dark"] .caa-output{background:#17263d!important}
html[data-theme="light"]{color-scheme:light!important}
.tool-icon:nth-child(6n+1) .tool-icon-mark{background:#103f42!important;color:#73e8d1!important}.tool-icon:nth-child(6n+2) .tool-icon-mark{background:#382d60!important;color:#c0a5ff!important}.tool-icon:nth-child(6n+3) .tool-icon-mark{background:#533822!important;color:#ffcb80!important}.tool-icon:nth-child(6n+4) .tool-icon-mark{background:#1e3b5c!important;color:#84c7ff!important}.tool-icon:nth-child(6n+5) .tool-icon-mark{background:#3e2a48!important;color:#f3a7dc!important}.tool-icon:nth-child(6n) .tool-icon-mark{background:#30452c!important;color:#a5df84!important}
.tool-icon:focus-visible,.theme-toggle:focus-visible,.submit-btn:focus-visible,.ghost-btn:focus-visible{outline:3px solid #7cb5ff!important;outline-offset:3px!important}
@media(max-width:760px){.content{padding:14px!important}.topbar{padding:0 14px!important}.top-actions{gap:7px!important}.system-label{display:none!important}.command-head{padding:17px!important}.tool-icon-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.tool-icon{min-width:0!important}.form-grid{flex-direction:column!important;align-items:stretch!important}.submit-btn{width:100%!important}.dns-record-focus,.summary-grid{grid-template-columns:1fr!important}.detail-table-wrap{overflow-x:auto!important}.caa-line{flex-wrap:wrap!important}.caa-line code{min-width:0!important}}
@media(max-width:480px){.tool-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.tool-icon-label{font-size:10px!important}.breadcrumb{max-width:45vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theme-toggle{padding:8px!important}.lang-switch a{padding:6px!important}.work-card{padding:14px!important}.chain-steps{display:grid;grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
