:root{--ink:#17233b;--muted:#718096;--line:#e7ecf3;--blue:#4778ee;--blue-dark:#2859d6;--navy:#101a32;--mint:#25b98b;--paper:#f7f9fc;--white:#fff;--shadow:0 18px 55px rgba(19,37,73,.10);font-family:'DM Sans','PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}.wrap{width:min(1160px,calc(100% - 48px));margin:0 auto}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}.brand{display:inline-flex;align-items:center;gap:11px;color:#18243d;font-family:Manrope,sans-serif;font-weight:700;letter-spacing:-.4px}.brand>span:last-child{font-size:17px;line-height:1.12}.brand b{font-weight:800;color:#4778ee}.brand small{display:block;font:500 8px 'DM Mono',monospace;letter-spacing:2px;color:#91a0b8;margin-top:5px}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:linear-gradient(145deg,#5b8bff,#315ed5);box-shadow:0 7px 18px rgba(65,113,232,.25)}.brand-mark svg{width:23px;height:23px;fill:none;stroke:white;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.topnav{display:flex;align-items:center;gap:34px;color:#66748b;font-size:13px}.topnav a:hover{color:var(--blue)}.topnav .nav-admin{padding:10px 16px;border:1px solid var(--line);border-radius:9px;color:#263550;font-weight:600}.nav-admin span{color:var(--blue);margin-left:7px}.hero{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:68px;padding:62px 0 72px;min-height:505px}.hero:before{content:"";position:absolute;z-index:-2;inset-block:0;left:50%;right:auto;width:100vw;transform:translateX(-50%);background:radial-gradient(ellipse at 74% 36%,rgba(80,125,238,.10),transparent 43%),linear-gradient(120deg,#fbfcff 0%,#f3f7ff 100%)}.hero-copy{padding-left:4px;z-index:1}.eyebrow{display:flex;align-items:center;gap:9px;color:#6d85b8;font:500 10px 'DM Mono',monospace;letter-spacing:1.7px}.pulse-dot{width:7px;height:7px;border-radius:50%;background:#35c79a;box-shadow:0 0 0 4px rgba(53,199,154,.13)}.hero h1{font:800 clamp(42px,5vw,62px)/1.15 Manrope,'PingFang SC',sans-serif;letter-spacing:-2.5px;color:#172541;margin:22px 0 18px}.hero h1 em{font-style:normal;color:#4778ee}.hero-lead{max-width:480px;color:#6e7c94;font-size:15px;line-height:1.95;margin:0}.hero-meta{display:flex;gap:19px;flex-wrap:wrap;margin-top:29px;color:#53647e;font-size:12px}.hero-meta span{display:flex;align-items:center;gap:7px}.mini-check{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#e2f7f0;color:#1ca67d;font-style:normal;font-size:10px;font-weight:700}.scan-panel{position:relative;z-index:1;background:#fff;border:1px solid rgba(218,227,241,.9);border-radius:19px;padding:29px 30px 0;box-shadow:0 25px 70px rgba(33,65,125,.12)}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.panel-kicker{font:500 9px 'DM Mono',monospace;letter-spacing:1.7px;color:#93a2b9}.panel-head h2{font:700 22px Manrope,sans-serif;letter-spacing:-.6px;margin:7px 0 0;color:#1d2b46}.scan-icon{width:44px;height:44px;border-radius:13px;background:#edf3ff;display:grid;place-items:center}.scan-icon svg{width:24px;height:24px;fill:none;stroke:#4778ee;stroke-width:1.7;stroke-linecap:round}.scan-panel label,.login-card label{display:block;font-size:12px;font-weight:700;color:#3b4b66;margin-bottom:9px}.domain-field{height:58px;border:1px solid #dce4f0;border-radius:10px;display:flex;align-items:center;padding:5px 5px 5px 14px;transition:.2s}.domain-field:focus-within{border-color:#6b91ef;box-shadow:0 0 0 4px rgba(71,120,238,.09)}.https-prefix{font:500 12px 'DM Mono',monospace;color:#9aa7ba;white-space:nowrap}.domain-field input{border:0;outline:0;min-width:0;flex:1;padding:0 8px;color:#1c2b47;font:500 14px 'DM Mono',monospace;background:transparent}.domain-field input::placeholder{color:#b6c0cf}.domain-field button,.primary-button{border:0;background:linear-gradient(135deg,#5686f5,#3564dc);color:#fff;border-radius:8px;padding:0 17px;height:46px;font-size:12px;font-weight:700;box-shadow:0 7px 14px rgba(61,105,222,.18);transition:transform .2s,box-shadow .2s}.domain-field button:hover,.primary-button:hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(61,105,222,.25)}.domain-field button:disabled{opacity:.65;cursor:wait;transform:none}.domain-field button b{font-size:18px;margin-left:11px;font-weight:400}.field-hint{font-size:10px;color:#9aa7b9;margin:10px 0 20px}.panel-foot{height:48px;border-top:1px solid #edf0f5;margin:0 -30px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;color:#99a5b6;font-size:10px}.panel-foot span:first-child{display:flex;align-items:center;gap:6px}.panel-foot svg{width:14px;height:14px;fill:none;stroke:#6a91e9;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.scan-status{background:#f5f8ff;border:1px solid #e5ecfb;border-radius:10px;padding:14px;margin:1px 0 17px}.status-top{display:flex;align-items:center;gap:8px;font-size:11px}.status-top strong{color:#344767}.status-top>span:last-child{margin-left:auto;color:#7e8eaa;font:10px 'DM Mono',monospace}.status-dot{width:7px;height:7px;background:#e9a43e;border-radius:50%;box-shadow:0 0 0 4px rgba(233,164,62,.12)}.scan-status.is-done .status-dot{background:#25b98b;box-shadow:0 0 0 4px rgba(37,185,139,.12)}.scan-status.is-error .status-dot{background:#e36b73;box-shadow:0 0 0 4px rgba(227,107,115,.12)}.progress-track{height:4px;border-radius:9px;background:#e2e9f6;margin:12px 0 9px;overflow:hidden}.progress-track span{display:block;width:12%;height:100%;border-radius:9px;background:linear-gradient(90deg,#5b8af5,#29b98e);transition:width .4s}.scan-status p{margin:0;color:#8290a6;font-size:10px}.report-link{display:inline-block;margin-top:11px;color:#3567dd;font-size:11px;font-weight:700}.report-link span{margin-left:5px}.hero-orbit{position:absolute;z-index:-1;border:1px solid rgba(92,133,221,.10);border-radius:50%;pointer-events:none}.orbit-one{width:420px;height:420px;right:-100px;top:20px}.orbit-two{width:520px;height:520px;right:-150px;top:-30px}.trust-strip{display:flex;align-items:center;gap:40px;padding:25px 0 27px;border-bottom:1px solid #edf0f5}.trust-label{font-size:10px;color:#9aa6b7;white-space:nowrap}.trust-items{display:flex;justify-content:space-between;gap:20px;flex:1;color:#62728b;font-size:11px}.trust-items span{white-space:nowrap}.section{padding-top:83px;padding-bottom:91px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:31px}.light-eyebrow{color:#7f95c1}.section-heading h2,.how-inner h2{font:800 30px/1.3 Manrope,'PingFang SC',sans-serif;letter-spacing:-1px;color:#1a2945;margin:11px 0 0}.section-heading>p{max-width:350px;color:#8491a5;font-size:12px;line-height:1.8;margin:0 0 3px}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.feature-card{border:1px solid #e9edf4;border-radius:13px;padding:22px 20px 18px;background:#fff;transition:.2s}.feature-card:hover{transform:translateY(-4px);box-shadow:0 15px 32px rgba(32,55,98,.07);border-color:#d8e3fa}.feature-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;font-size:19px;margin-bottom:18px}.icon-blue{background:#edf3ff;color:#4977e6}.icon-purple{background:#f2efff;color:#8b70e8}.icon-green{background:#eaf8f3;color:#23a77e}.icon-orange{background:#fff3e9;color:#dd9450}.feature-card h3{font-size:14px;margin:0 0 10px;color:#263550}.feature-card p{font-size:11px;line-height:1.9;color:#8290a5;min-height:63px;margin:0 0 18px}.feature-card>span{font:9px 'DM Mono',monospace;letter-spacing:1px;color:#a4afbf}.how-section{background:#111d38;color:#fff;position:relative;overflow:hidden}.how-section:before{content:"";position:absolute;width:540px;height:540px;border:1px solid rgba(126,158,224,.12);border-radius:50%;right:-100px;top:-220px;box-shadow:0 0 0 55px rgba(126,158,224,.025),0 0 0 110px rgba(126,158,224,.02)}.how-inner{padding-top:70px;padding-bottom:73px;display:grid;grid-template-columns:1fr 1fr;gap:120px;position:relative}.how-inner h2{color:#fff;font-size:34px}.how-inner>div:first-child>p{max-width:390px;color:#a3b1c9;font-size:12px;line-height:2;margin-top:17px}.steps{display:grid;gap:0}.step{display:flex;gap:20px;padding:16px 0;border-bottom:1px solid rgba(199,213,238,.12)}.step:first-child{padding-top:4px}.step>b{font:12px 'DM Mono',monospace;color:#6f94ec;padding-top:2px}.step strong{display:block;font-size:13px;color:#edf2ff;margin-bottom:5px}.step small{font-size:11px;color:#8798b6}.footer{height:90px;display:flex;align-items:center;justify-content:space-between;color:#9ba6b7;font-size:10px}.footer-brand .brand-mark{width:30px;height:30px;border-radius:9px}.footer-brand .brand-mark svg{width:18px}.footer-brand>span:last-child{font-size:13px}.footer-brand small{display:none}.footer>a:last-child{color:#6079ad}.scan-status[hidden],.report-link[hidden]{display:none}
/* Login */
.login-page{min-height:100vh;background:radial-gradient(circle at 20% 20%,rgba(75,120,230,.18),transparent 30%),linear-gradient(135deg,#111d38,#17284a);display:grid;place-items:center;padding:28px}.login-shell{width:min(420px,100%)}.login-shell>.brand{color:#fff;margin:0 0 27px 4px}.login-shell .brand b{color:#8eafff}.login-card{background:#fff;border-radius:18px;padding:34px 36px 29px;box-shadow:0 25px 80px rgba(0,0,0,.22)}.login-lock{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#edf3ff;color:#4778ee;font-size:25px;margin-bottom:20px}.login-card h1{font:800 25px Manrope,sans-serif;letter-spacing:-.7px;margin:9px 0}.login-card>p{color:#8591a5;font-size:12px;line-height:1.7;margin:0 0 24px}.login-card form{display:grid;gap:9px}.login-card label{margin:5px 0 0}.login-card input{height:46px;border:1px solid #dfe6f0;border-radius:8px;padding:0 12px;outline:0;font-size:13px}.login-card input:focus{border-color:#6f93ec;box-shadow:0 0 0 3px rgba(71,120,238,.09)}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;text-align:center;text-decoration:none}.login-card .primary-button{margin-top:12px;width:100%;height:48px}.login-card .primary-button span{font-size:17px;font-weight:400}.login-error{background:#fff0f0;border:1px solid #f5d2d2;color:#bd5353;border-radius:7px;padding:10px 12px;font-size:11px;margin-bottom:13px}.back-home{display:block;text-align:center;margin-top:22px;color:#8390a5;font-size:11px}.back-home:hover{color:#4778ee}.login-note{text-align:center;color:#7183a5;font:9px 'DM Mono',monospace;letter-spacing:1.3px;margin-top:24px}
/* Admin */
.admin-page{background:#f5f7fb;min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:244px;background:#121e38;color:#dce5f7;padding:26px 17px;display:flex;flex-direction:column;z-index:4}.sidebar .brand{color:#f2f6ff;padding:0 7px 34px}.sidebar .brand b{color:#89aaff}.sidebar .brand small{color:#7283a4}.side-label{font:9px 'DM Mono',monospace;letter-spacing:1.5px;color:#7283a4;padding:0 12px 12px}.side-link{border:0;background:transparent;color:#9baac5;display:flex;align-items:center;gap:13px;width:100%;padding:12px 13px;border-radius:8px;text-align:left;font-size:12px;margin:2px 0}.side-link>span{width:17px;text-align:center;font-size:16px}.side-link:hover,.side-link.active{background:#223454;color:#fff}.side-link.active{box-shadow:inset 3px 0 #6f95f3}.sidebar-bottom{margin-top:auto;border-top:1px solid rgba(211,224,248,.12);padding:18px 4px 0;display:flex;align-items:center;gap:10px}.admin-avatar{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#2d4772;color:#dbe6ff;font-size:12px;font-weight:700}.sidebar-bottom>div:nth-child(2){display:grid;gap:4px;flex:1}.sidebar-bottom strong{font-size:11px;color:#e7edfa}.sidebar-bottom small{font-size:9px;color:#8799b8}.logout-button{border:0;background:transparent;color:#8498bb;font-size:18px}.admin-main{margin-left:244px;min-height:100vh;padding:0 34px 22px}.admin-top{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8edf4}.breadcrumb{font-size:10px;color:#9aa6b7}.admin-top h1{font:700 22px Manrope,sans-serif;color:#24334e;margin:5px 0 0;letter-spacing:-.5px}.top-actions{display:flex;align-items:center;gap:13px}.live-pill{display:flex;align-items:center;gap:7px;border:1px solid #dbeee7;background:#f0faf6;color:#319b78;border-radius:20px;padding:7px 11px;font-size:10px}.live-pill i{width:6px;height:6px;background:#2bb88a;border-radius:50%}.refresh-button,.view-site{border:1px solid #e1e7f0;background:#fff;color:#65748b;border-radius:7px;padding:8px 11px;font-size:10px}.refresh-button:hover,.view-site:hover{border-color:#9db6f0;color:#3d6edc}.view-site{color:#4778ee}.admin-content{padding-top:25px}.admin-content[hidden]{display:none}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:18px}.stat-card{position:relative;overflow:hidden;background:#fff;border:1px solid #e9edf4;border-radius:11px;padding:17px 19px;min-height:117px}.stat-card>span{display:block;font-size:11px;color:#75839a}.stat-card strong{display:block;font:800 28px Manrope,sans-serif;color:#22324f;margin:7px 0 3px}.stat-card small{font-size:9px;color:#a0aabc}.stat-symbol{position:absolute;right:18px;top:18px;font-style:normal;font-size:23px;color:#d8e4fc}.stat-symbol.purple{color:#e4ddff}.stat-symbol.green{color:#d3f2e6}.stat-symbol.orange{color:#f9e7d4}.admin-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:17px}.admin-card{background:#fff;border:1px solid #e9edf4;border-radius:11px;padding:20px;min-width:0}.card-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.card-title h2{font-size:13px;color:#263651;margin:0 0 5px}.card-title p{font-size:10px;color:#9aa5b5;margin:0}.text-button{border:0;background:transparent;color:#5279d5;font-size:10px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:10px;white-space:nowrap}th{text-align:left;color:#a0aaba;font-size:9px;font-weight:600;padding:10px 9px;border-bottom:1px solid #edf0f5}td{padding:12px 9px;color:#68778e;border-bottom:1px solid #f0f2f6}td strong{display:block;color:#35445e;font-size:10px;font-weight:600}td .sub-id{display:block;color:#a7b1c0;font:8px 'DM Mono',monospace;margin-top:4px}.admin-status{display:inline-flex;align-items:center;border-radius:5px;padding:4px 7px;font-size:9px}.status-queued{background:#fff7e9;color:#c58a34}.status-running{background:#edf3ff;color:#4c79dc}.status-completed,.status-online{background:#eaf8f2;color:#25966f}.status-failed,.status-offline{background:#fff0f0;color:#c76868}.grade-mini{font:700 11px Manrope,sans-serif;color:#4778ee}.empty-cell{text-align:center;color:#a2adbd;padding:27px!important}.node-mini-list{display:grid}.node-mini{display:flex;align-items:center;gap:9px;padding:12px 0;border-bottom:1px solid #f0f2f6}.node-indicator{width:7px;height:7px;border-radius:50%;background:#d3dbe8}.node-indicator.online{background:#2db88a;box-shadow:0 0 0 4px #eaf8f2}.node-mini>div{flex:1;display:grid;gap:4px}.node-mini strong{font-size:10px;color:#35445e}.node-mini small{font-size:9px;color:#a1acbc}.node-mini>span:last-child{font-size:9px;color:#7d8aa0}.filter-select{border:1px solid #e1e7f0;border-radius:7px;padding:7px 10px;color:#64738a;font-size:10px;background:#fff;outline:0}.soft-tag{font:9px 'DM Mono',monospace;letter-spacing:1px;color:#7390ce;background:#f0f4ff;padding:7px 9px;border-radius:5px}.table-link{color:#4d79dc;font-size:10px}.node-tip{background:#f4f7fd;border-radius:8px;padding:14px 16px;margin-top:18px}.node-tip strong{font-size:11px;color:#3c5279}.node-tip p{font-size:10px;line-height:1.8;color:#8190a7;margin:6px 0 0}.log-list{display:grid}.log-row{display:grid;grid-template-columns:150px 58px 100px 1fr 70px;gap:12px;align-items:start;padding:12px 4px;border-bottom:1px solid #f0f2f6;font-size:9px}.log-row time,.log-node{color:#98a4b5;font:9px 'DM Mono',monospace}.log-level{font:9px 'DM Mono',monospace}.level-error{color:#d35f68}.level-warning{color:#c58a34}.level-info{color:#5281db}.level-debug{color:#a0aaba}.log-message{color:#5f6e84;line-height:1.6;overflow-wrap:anywhere}.log-row>a{color:#5d80d3}.admin-footer{display:flex;justify-content:space-between;padding:25px 2px 0;color:#aab4c2;font-size:9px}.admin-footer span{color:#b7c0cd}
/* Report */
.report-page{background:#f7f9fc;min-height:100vh}.report-top{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8edf4}.report-actions{display:flex;gap:9px;align-items:center}.outline-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfe6f0;background:#fff;color:#64738b;border-radius:7px;padding:9px 12px;font-size:10px}.outline-button:hover{border-color:#9fb7ed;color:#4778ee}.small-button{height:auto;padding:10px 13px;font-size:10px}.report-wrap{padding-bottom:70px}.report-breadcrumb{display:flex;gap:10px;color:#a1adbd;font-size:10px;padding:23px 0}.report-breadcrumb a{color:#6685c8}.report-loading{min-height:360px;display:grid;align-content:center;justify-items:center;text-align:center;color:#7d8ca4}.report-loading h1{font:700 22px Manrope,sans-serif;color:#253550;margin:17px 0 7px}.report-loading p{font-size:12px}.loading-spinner{width:32px;height:32px;border:3px solid #dfe8fb;border-top-color:#4778ee;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.report-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 0 27px}.report-heading h1{font:800 35px Manrope,sans-serif;color:#1d2d4b;letter-spacing:-1px;margin:9px 0 7px}.report-heading p{color:#8a98ac;font-size:10px;margin:0}.grade-badge{width:88px;height:88px;border-radius:19px;background:#eaf8f2;display:grid;align-content:center;justify-items:center;color:#269a74}.grade-badge strong{font:800 36px Manrope,sans-serif;line-height:1}.grade-badge span{font-size:9px;margin-top:7px}.grade-b{background:#eef4ff;color:#4c79dc}.grade-c{background:#fff8e9;color:#c18a32}.grade-d,.grade-f{background:#fff0f0;color:#ca646b}.report-stats{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #e8edf4;border-radius:12px;margin-bottom:40px}.report-stats>div{padding:18px 22px;border-right:1px solid #edf0f5}.report-stats>div:last-child{border:0}.report-stats span,.report-stats small{display:block;color:#8e9aae;font-size:10px}.report-stats strong{display:block;font:700 24px Manrope,sans-serif;color:#273752;margin:5px 0}.report-section{margin:40px 0}.section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.section-title>div>span{font:9px 'DM Mono',monospace;color:#8da2ce;letter-spacing:1.4px}.section-title h2{font:700 20px Manrope,sans-serif;color:#263651;margin:6px 0 0}.section-title>p{color:#9aa6b7;font-size:10px;margin:0 0 2px}.cert-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.cert-card{background:#fff;border:1px solid #e8edf4;border-radius:11px;padding:19px}.cert-card-head{display:flex;align-items:center;justify-content:space-between}.cert-index{font:9px 'DM Mono',monospace;letter-spacing:1px;color:#9aa8bd}.cert-card h3{font-size:16px;color:#293955;margin:16px 0 5px;overflow-wrap:anywhere}.cert-issuer{font-size:10px;color:#8b99ad}.result-pill{display:inline-flex;align-items:center;border-radius:5px;padding:5px 8px;font-size:9px;white-space:nowrap}.result-pill.good{background:#eaf8f2;color:#269a74}.result-pill.bad{background:#fff0f0;color:#c75e68}.result-pill.unknown{background:#f0f3f8;color:#7e8ba0}.cert-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 10px;border-top:1px solid #eff2f6;border-bottom:1px solid #eff2f6;padding:15px 0;margin-top:16px}.cert-facts small,.cert-sans small{display:block;color:#9aa6b7;font-size:9px;margin-bottom:5px}.cert-facts b{font-size:10px;color:#4b5a72;font-weight:600;overflow-wrap:anywhere}.cert-sans{padding-top:13px}.cert-sans p{font-size:10px;line-height:1.8;color:#65748a;margin:0;overflow-wrap:anywhere}.fingerprint{font:8px 'DM Mono',monospace;color:#aab4c2;overflow-wrap:anywhere;margin-top:13px}.protocol-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.protocol-card{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e8edf4;border-radius:9px;padding:13px 14px}.protocol-card>div{display:grid;gap:4px}.protocol-card strong{font:600 12px 'DM Mono',monospace;color:#35455f}.protocol-card small{font-size:9px;color:#9aa6b7}.endpoint-list{display:grid;gap:10px;margin-top:13px}.endpoint-card{background:#fff;border:1px solid #e8edf4;border-radius:9px;padding:15px}.endpoint-title{display:flex;justify-content:space-between;align-items:center}.endpoint-title strong{font:600 11px 'DM Mono',monospace;color:#34445f}.endpoint-title span{font-size:9px;color:#8291a7}.endpoint-tags{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.endpoint-tags span{background:#f3f6fb;color:#6c7c94;border-radius:5px;padding:5px 7px;font:9px 'DM Mono',monospace}.endpoint-chain small{color:#9aa6b7;font-size:9px}.endpoint-chain p{font-size:10px;color:#5e6d83;line-height:1.7;margin:5px 0 0;overflow-wrap:anywhere}.security-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.security-item{background:#fff;border:1px solid #e8edf4;border-radius:9px;padding:14px;min-width:0}.security-item span{display:block;color:#94a0b2;font-size:9px;margin-bottom:8px}.security-item strong{display:block;color:#45556e;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.security-item small{display:block;color:#9da9b9;font-size:9px;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}.compat-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;color:#9aa6b7;font-size:10px}.compat-toolbar input{width:260px;border:1px solid #e1e7f0;border-radius:7px;padding:9px 11px;font-size:10px;outline:0}.compat-toolbar input:focus{border-color:#8aa7ed}.compat-client{font-weight:600;color:#465670}.compat-reason{color:#8a97aa;white-space:normal;min-width:260px;line-height:1.6}.network-card{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#fff;border:1px solid #e8edf4;border-radius:10px}.network-fact{padding:16px;border-right:1px solid #edf0f5}.network-fact:last-child{border:0}.network-fact span{display:block;color:#9aa6b7;font-size:9px;margin-bottom:8px}.network-fact strong{display:block;color:#51617a;font:10px/1.8 'DM Mono',monospace;overflow-wrap:anywhere}.limitations-list{margin:0;padding:17px 20px 17px 34px;background:#fff;border:1px solid #e8edf4;border-radius:10px;color:#7f8da2;font-size:10px;line-height:2}.report-bottom{display:flex;justify-content:space-between;border-top:1px solid #e7ecf3;padding-top:20px;color:#a2adbd;font:9px 'DM Mono',monospace}.report-bottom a{font-family:'DM Sans',sans-serif;color:#6f8bd0;font-size:10px}.empty-panel{padding:30px;background:#fff;border:1px solid #e8edf4;border-radius:10px;color:#98a5b7;font-size:11px;text-align:center}
@media(max-width:1000px){.hero{gap:35px}.feature-grid{grid-template-columns:repeat(2,1fr)}.how-inner{gap:55px}.admin-main{padding:0 22px 20px}.sidebar{width:215px}.admin-main{margin-left:215px}.admin-grid{grid-template-columns:1fr}.security-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.wrap{width:min(100% - 32px,560px)}.topbar{height:70px}.topnav{gap:12px}.topnav>a:not(.nav-admin){display:none}.topnav .nav-admin{padding:8px 10px;font-size:11px}.hero{grid-template-columns:1fr;gap:31px;padding:46px 0 50px}.hero h1{font-size:44px}.hero-lead{font-size:13px}.hero-orbit{display:none}.scan-panel{padding:23px 20px 0}.panel-foot{margin:0 -20px;padding:0 20px}.trust-strip{display:block;padding:20px 0}.trust-items{margin-top:13px;flex-wrap:wrap;justify-content:flex-start;gap:11px 19px}.section{padding:58px 0}.section-heading{display:block}.section-heading>p{margin-top:12px}.section-heading h2{font-size:25px}.feature-grid{gap:10px}.feature-card{padding:16px}.feature-card p{min-height:90px}.how-inner{grid-template-columns:1fr;gap:25px;padding:54px 0}.how-inner h2{font-size:29px}.footer{height:auto;min-height:85px;gap:10px;flex-wrap:wrap;padding:18px 0}.footer>span{order:3;width:100%}.login-card{padding:28px 23px}.sidebar{position:relative;width:100%;height:auto;bottom:auto;padding:15px 16px;display:block}.sidebar .brand{padding:0 5px 13px}.side-label,.sidebar-bottom{display:none}.sidebar .side-link{display:inline-flex;width:auto;padding:9px 10px;font-size:10px}.admin-main{margin:0;padding:0 14px 18px}.admin-top{height:auto;min-height:85px;align-items:flex-start;padding:17px 0;gap:10px}.admin-top h1{font-size:18px}.top-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}.live-pill{display:none}.refresh-button,.view-site{font-size:9px;padding:7px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:9px}.stat-card{padding:13px;min-height:102px}.stat-card strong{font-size:24px}.admin-card{padding:14px}.admin-grid{gap:12px}.log-row{grid-template-columns:1fr 48px;gap:6px}.log-row time{grid-column:1}.log-row .log-level{grid-column:2;grid-row:1}.log-node{grid-column:1}.log-message{grid-column:1/-1}.log-row>a{grid-column:2;grid-row:2}.report-top{height:auto;min-height:70px;gap:10px}.report-top .brand>span:last-child{font-size:14px}.report-actions{gap:5px}.report-actions .outline-button,.report-actions .primary-button{padding:8px;font-size:9px}.report-heading{padding:16px 0 22px}.report-heading h1{font-size:26px;overflow-wrap:anywhere}.grade-badge{width:70px;height:70px;border-radius:15px;flex-shrink:0}.grade-badge strong{font-size:29px}.report-stats{grid-template-columns:repeat(2,1fr);margin-bottom:30px}.report-stats>div{padding:13px 15px;border-bottom:1px solid #edf0f5}.report-stats>div:nth-child(2){border-right:0}.report-stats>div:nth-child(n+3){border-bottom:0}.report-section{margin:30px 0}.section-title{display:block}.section-title>p{margin-top:8px}.section-title h2{font-size:18px}.cert-grid{grid-template-columns:1fr}.protocol-grid{grid-template-columns:repeat(2,1fr)}.security-grid{grid-template-columns:repeat(2,1fr)}.network-card{grid-template-columns:repeat(2,1fr)}.network-fact:nth-child(2){border-right:0}.network-fact:nth-child(-n+2){border-bottom:1px solid #edf0f5}.compat-toolbar{align-items:flex-start;gap:10px;flex-direction:column}.compat-toolbar input{width:100%}.report-bottom{gap:12px;flex-wrap:wrap}.report-bottom a{width:100%}}
@media print{body{background:#fff}.report-top,.report-breadcrumb,.report-actions{display:none!important}.report-wrap{width:100%;padding:0}.report-section{break-inside:avoid}.report-stats,.cert-card,.protocol-card,.security-item,.network-card,.endpoint-card{box-shadow:none;break-inside:avoid}.report-page{background:#fff}.compat-toolbar input{display:none}.report-bottom{margin-top:25px}}

/* V2 responsive layout: larger type, fluid spacing, and a full-row scan control. */
:root{font-size:clamp(14px,.35vw + 12px,18px)}
.wrap{width:min(1480px,calc(100% - clamp(28px,6vw,112px)))}
body{font-size:1rem}
.hero{display:flex;flex-direction:column;align-items:stretch;gap:30px;padding:clamp(38px,5vw,76px) 0 clamp(42px,5vw,78px);min-height:0}
.hero-copy{max-width:980px;padding-left:0}
.hero h1{font-size:clamp(40px,5vw,76px);line-height:1.12;letter-spacing:-.035em}
.hero-lead{max-width:900px;font-size:clamp(15px,1.1vw,19px)}
.hero-meta{font-size:clamp(12px,.8vw,15px)}
.scan-panel{width:100%;padding:clamp(22px,2.7vw,38px) clamp(20px,3vw,44px) 0;border-radius:22px}
.panel-head h2{font-size:clamp(22px,1.8vw,30px)}
.scan-panel label{font-size:clamp(13px,.9vw,16px)}
.domain-field{height:clamp(66px,6.4vw,88px);padding:7px 8px 7px clamp(14px,2vw,25px);gap:8px}
.domain-field input{font-size:clamp(17px,1.5vw,24px);padding:0 12px}
.https-prefix{font-size:clamp(13px,1vw,17px)}
.domain-field button{height:calc(100% - 8px);min-width:clamp(130px,15vw,190px);font-size:clamp(14px,1vw,17px)}
.field-hint{font-size:clamp(11px,.8vw,13px)}
.panel-foot{margin:0 calc(clamp(20px,3vw,44px)*-1);padding:0 clamp(20px,3vw,44px);font-size:clamp(11px,.8vw,13px)}
.scan-status{padding:clamp(15px,1.5vw,22px);font-size:clamp(13px,.9vw,16px)}
.status-top{font-size:clamp(13px,.9vw,16px)}
.scan-status p,.report-link{font-size:clamp(12px,.8vw,14px)}
.hero-orbit{display:none}
.topbar{height:clamp(70px,6vw,92px)}
.topnav{font-size:clamp(13px,.9vw,16px);gap:clamp(16px,2.5vw,36px)}
.section-heading h2,.how-inner h2{font-size:clamp(26px,2.6vw,38px)}
.feature-card h3{font-size:clamp(16px,1.2vw,20px)}
.feature-card p{font-size:clamp(12px,.9vw,15px)}
.footer{font-size:clamp(11px,.8vw,14px)}
.report-wrap{width:min(1480px,calc(100% - clamp(28px,6vw,112px)))}
.report-heading h1{font-size:clamp(27px,3vw,46px)}
.report-stats strong{font-size:clamp(22px,2vw,32px)}
.report-section .section-title h2{font-size:clamp(19px,1.6vw,26px)}
.cert-card h3{font-size:clamp(16px,1.2vw,21px)}
.cert-facts b,.security-item strong{font-size:clamp(11px,.85vw,14px)}
.security-item span,.security-item small,.cert-facts small,.cert-sans small{font-size:clamp(10px,.72vw,12px)}
.report-loading h1{font-size:clamp(23px,2vw,32px)}
@media(min-width:1500px){.hero{gap:36px}.scan-panel{max-width:none}.domain-field{width:100%}}
@media(max-width:720px){
  .wrap,.report-wrap{width:calc(100% - 28px)}
  .hero{padding:34px 0 40px;gap:22px}
  .hero h1{font-size:clamp(34px,10vw,46px);letter-spacing:-1.4px}
  .hero-lead{font-size:14px}
  .scan-panel{padding:21px 16px 0}
  .panel-foot{margin:0 -16px;padding:0 16px}
  .domain-field{height:auto;min-height:62px;flex-wrap:wrap;padding:7px;gap:4px}
  .https-prefix{padding-left:8px}
  .domain-field input{min-width:0;flex:1 1 55%;height:44px;font-size:16px}
  .domain-field button{flex:0 0 100%;height:48px;min-width:0}
  .report-top{flex-wrap:wrap}
}

/* V2 administration workspace */
.admin-v2{background:#f4f7fb;min-height:100vh;color:#1d2b45}
.admin-v2 .sidebar{position:fixed;left:0;top:0;bottom:0;width:250px;overflow:auto;background:#fff;border-right:1px solid #e6ebf2;padding:24px 18px;z-index:5}
.admin-v2 .sidebar .brand{margin:0 0 34px 4px}
.admin-v2 .side-label{margin:24px 8px 10px;color:#9aa7b9;font-size:11px;letter-spacing:1px}
.admin-v2 .side-link{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;color:#6d7c92;padding:12px 13px;border-radius:10px;text-align:left;font-size:14px;margin:3px 0}
.admin-v2 .side-link:hover,.admin-v2 .side-link.active{background:#edf3ff;color:#3568df}
.admin-v2 .sidebar-bottom{position:absolute;left:18px;right:18px;bottom:18px;border-top:1px solid #edf0f5;padding-top:15px;display:flex;align-items:center;gap:10px}
.admin-v2 .admin-avatar{width:34px;height:34px;border-radius:11px;background:#eaf0ff;color:#3e6fe0;display:grid;place-items:center;font-weight:700}
.admin-v2 .sidebar-bottom strong,.admin-v2 .sidebar-bottom small{display:block;font-size:12px}
.admin-v2 .sidebar-bottom small{color:#9aa6b7;margin-top:3px}
.admin-v2 .logout-button{border:1px solid #e6ebf2;background:#fff;border-radius:8px;padding:6px 9px;color:#728098;margin-left:auto}
.admin-v2 .admin-main{margin-left:250px;padding:0 clamp(18px,3vw,48px) 35px;max-width:1800px}
.admin-v2 .admin-top{height:96px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6ebf2;margin-bottom:28px}
.admin-v2 .admin-top h1{font-size:clamp(22px,1.8vw,30px);margin:6px 0 0}
.admin-v2 .breadcrumb{font-size:12px;color:#9aa6b7}
.admin-v2 .admin-content{display:block}.admin-v2 .admin-content[hidden]{display:none}
.admin-v2 .admin-card{background:#fff;border:1px solid #e6ebf2;border-radius:15px;padding:clamp(17px,2vw,26px);margin-bottom:18px;min-width:0}
.admin-v2 .card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.admin-v2 .card-title h2{font-size:18px;margin:0 0 5px}
.admin-v2 .card-title p{font-size:12px;color:#94a1b4;margin:0}
.admin-v2 .stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}
.admin-v2 .stat-card{background:#fff;border:1px solid #e6ebf2;border-radius:14px;padding:19px;min-height:118px;position:relative}
.admin-v2 .stat-card span,.admin-v2 .stat-card small{display:block;color:#8795aa;font-size:12px}
.admin-v2 .stat-card strong{display:block;font-size:clamp(25px,2vw,34px);margin:8px 0;color:#253650}
.admin-v2 .admin-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.9fr);gap:18px}
.admin-v2 .table-wrap{overflow:auto}
.admin-v2 table{width:100%;border-collapse:collapse;min-width:650px}
.admin-v2 th,.admin-v2 td{padding:12px 11px;text-align:left;border-bottom:1px solid #edf0f5;font-size:12px;vertical-align:middle}
.admin-v2 th{color:#8b98ab;font-weight:600;background:#fafbfd;white-space:nowrap}
.admin-v2 td{color:#52617a}
.admin-v2 .empty-cell{color:#9aa6b7;text-align:center;padding:28px}
.admin-v2 .sub-id{display:block;color:#a2adbd;font:10px monospace;margin-top:4px}
.admin-v2 .admin-status{display:inline-flex;padding:5px 8px;border-radius:6px;background:#f1f4f8;color:#75839a;font-size:11px;white-space:nowrap}
.admin-v2 .status-completed,.admin-v2 .status-online{background:#eaf8f2;color:#22966f}
.admin-v2 .status-running{background:#edf3ff;color:#426fda}
.admin-v2 .status-failed,.admin-v2 .status-disabled{background:#fff0f0;color:#c65e68}
.admin-v2 .status-queued,.admin-v2 .status-offline{background:#fff7e9;color:#b78534}
.admin-v2 .admin-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.admin-v2 .field{display:grid;gap:6px;min-width:0}
.admin-v2 .field.full{grid-column:1/-1}
.admin-v2 .field label{font-size:12px;color:#66758c;font-weight:650}
.admin-v2 .field input,.admin-v2 .field textarea,.admin-v2 .field select{width:100%;min-width:0;border:1px solid #dfe6f0;border-radius:9px;padding:11px 12px;color:#2a3b58;background:#fff;outline:0;font-size:13px}
.admin-v2 .field textarea{min-height:90px;resize:vertical;line-height:1.6}
.admin-v2 .field input:focus,.admin-v2 .field textarea:focus{border-color:#7293e9;box-shadow:0 0 0 3px rgba(71,120,238,.09)}
.admin-v2 .admin-button{border:0;border-radius:9px;padding:10px 15px;background:#416fe0;color:#fff;font-size:12px;font-weight:700}
.admin-v2 .admin-button.secondary{background:#edf2fb;color:#536784}
.admin-v2 .admin-button.danger{background:#fff0f0;color:#c05d67}
.admin-v2 .admin-button:disabled{opacity:.5;cursor:not-allowed}
.admin-v2 .toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.admin-v2 .node-list{display:grid;gap:10px}
.admin-v2 .node-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #edf0f5;border-radius:10px;padding:12px}
.admin-v2 .node-row strong,.admin-v2 .node-row small{display:block}
.admin-v2 .node-row strong{font-size:13px}
.admin-v2 .node-row small{font-size:11px;color:#94a1b4;margin-top:4px}
.admin-v2 .command-box{background:#101a32;color:#e7efff;padding:15px;border-radius:10px;font:11px/1.7 ui-monospace,monospace;overflow-wrap:anywhere;white-space:pre-wrap;user-select:all}
.admin-v2 .notice{border-radius:9px;padding:12px 14px;background:#f1f6ff;color:#5e739d;font-size:12px;line-height:1.7}
.admin-v2 .log-list{display:grid;gap:0}
.admin-v2 .log-row{display:grid;grid-template-columns:160px 65px 130px minmax(0,1fr) 90px;gap:12px;padding:12px 5px;border-bottom:1px solid #edf0f5;align-items:start;font-size:11px;color:#67768c}
.admin-v2 .log-message{overflow-wrap:anywhere;line-height:1.6}
.admin-v2 .log-level{font-weight:700}
.admin-v2 .log-level.level-error{color:#cb5d66}
.admin-v2 .log-level.level-warning{color:#ba883b}
.admin-v2 .admin-footer{padding:24px 0;color:#9aa6b7;font-size:11px}
.admin-v2 .admin-footer span{float:right}
.admin-v2 .top-actions{display:flex;gap:8px;align-items:center}
.admin-v2 .refresh-button,.admin-v2 .view-site{border:1px solid #e0e7f1;background:#fff;color:#63738d;border-radius:8px;padding:9px 12px;font-size:12px}
.admin-v2 .live-pill{font-size:11px;color:#289b76}
.admin-v2 .live-pill i{display:inline-block;width:7px;height:7px;background:#29b98a;border-radius:50%;margin-right:6px}
.admin-v2 .node-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.admin-v2 .filter-select{border:1px solid #e0e7f1;border-radius:8px;padding:8px 10px;background:#fff;color:#65758d}
.admin-v2 .check-line{display:flex;align-items:center;gap:8px;font-size:12px;color:#63738b}
.admin-v2 .check-line input{width:16px;height:16px}
.admin-v2 .toast{position:fixed;right:24px;bottom:24px;background:#17233b;color:#fff;padding:12px 16px;border-radius:10px;box-shadow:0 10px 35px rgba(0,0,0,.15);z-index:30;font-size:13px;max-width:min(420px,calc(100vw - 40px))}
.admin-v2 .login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}
.admin-v2 .login-card{width:min(460px,100%);background:#fff;border:1px solid #e6ebf2;border-radius:18px;padding:32px;box-shadow:0 18px 55px rgba(19,37,73,.08)}
.admin-v2 .login-card h1{font-size:26px;margin:8px 0}
.admin-v2 .login-card p{color:#8290a6;font-size:13px;line-height:1.7;margin-bottom:24px}
.admin-v2 .login-card form{display:grid;gap:10px}
.admin-v2 .login-card input{border:1px solid #dfe6f0;border-radius:9px;padding:12px;font-size:14px;margin-bottom:8px}
.admin-v2 .login-card button{height:46px}
@media(max-width:1100px){.admin-v2 .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-v2 .admin-grid{grid-template-columns:1fr}}
@media(max-width:760px){
  .admin-v2 .sidebar{position:relative;width:100%;height:auto;bottom:auto;padding:12px;display:block}
  .admin-v2 .sidebar .brand{margin:0 0 12px 4px}
  .admin-v2 .side-label,.admin-v2 .sidebar-bottom{display:none}
  .admin-v2 .side-link{display:inline-flex;width:auto;padding:9px 10px;font-size:11px;margin:2px}
  .admin-v2 .admin-main{margin:0;padding:0 13px 20px}
  .admin-v2 .admin-top{height:auto;min-height:80px;align-items:flex-start;padding:16px 0;gap:10px}
  .admin-v2 .top-actions{justify-content:flex-end;flex-wrap:wrap}
  .admin-v2 .live-pill{display:none}
  .admin-v2 .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .admin-v2 .stat-card{padding:13px;min-height:100px}
  .admin-v2 .admin-card{padding:14px}
  .admin-v2 .admin-form{grid-template-columns:1fr}
  .admin-v2 .field.full{grid-column:auto}
  .admin-v2 .log-row{grid-template-columns:1fr 65px;gap:6px}
  .admin-v2 .log-row time,.admin-v2 .log-node,.admin-v2 .log-message{grid-column:1/-1}
  .admin-v2 .log-row .log-level{grid-column:2;grid-row:1}
  .admin-v2 .admin-footer span{float:none;display:block;margin-top:7px}
}

.landing-page .notice{display:block;margin-top:18px;padding:12px 15px;border:1px solid #dfe8fa;border-radius:9px;background:#f2f6ff;color:#60759d;font-size:13px;line-height:1.65}
.login-view[hidden]{display:none!important}

/* The native hidden attribute must win over component display rules (notably .report-loading). */
[hidden]{display:none!important}

/* Fluid typography also applies to the control panel and dense report details. */
.admin-v2 .side-link{font-size:clamp(12px,.78vw,15px)}
.admin-v2 .side-label{font-size:clamp(10px,.62vw,12px)}
.admin-v2 .breadcrumb{font-size:clamp(11px,.72vw,14px)}
.admin-v2 .admin-top h1{font-size:clamp(23px,1.8vw,34px)}
.admin-v2 .card-title h2{font-size:clamp(17px,1.15vw,22px)}
.admin-v2 .card-title p,.admin-v2 .field label,.admin-v2 .check-line{font-size:clamp(12px,.78vw,15px)}
.admin-v2 th,.admin-v2 td{font-size:clamp(11px,.76vw,14px)}
.admin-v2 .admin-button,.admin-v2 .refresh-button,.admin-v2 .view-site{font-size:clamp(11px,.76vw,14px)}
.admin-v2 .field input,.admin-v2 .field textarea,.admin-v2 .field select{font-size:clamp(12px,.82vw,16px)}
.admin-v2 .node-row strong{font-size:clamp(12px,.86vw,16px)}
.admin-v2 .node-row small,.admin-v2 .stat-card span,.admin-v2 .stat-card small{font-size:clamp(10px,.68vw,13px)}
.admin-v2 .notice,.admin-v2 .log-row{font-size:clamp(11px,.75vw,14px)}
.admin-v2 .command-box{font-size:clamp(10px,.72vw,13px)}
.admin-v2 .admin-footer{font-size:clamp(10px,.7vw,13px)}
.report-breadcrumb,.report-heading p,.section-title>p,.cert-issuer,.cert-sans p,.compat-toolbar,.network-fact span{font-size:clamp(11px,.76vw,14px)}
.result-pill,.cert-facts b,.protocol-card small,.endpoint-title span,.endpoint-chain small,.endpoint-chain p,.security-item span,.security-item small,.security-item strong,.network-fact strong,.limitations-list{font-size:clamp(11px,.76vw,14px)}
.cert-card{padding:clamp(16px,1.5vw,24px)}
.protocol-card,.endpoint-card,.security-item{padding:clamp(13px,1.1vw,19px)}

/* V2.1: readable secondary text, adaptive logo slots and pasted-page input. */
.brand-logo-wrap{display:inline-flex;align-items:center;justify-content:flex-start;flex:0 1 auto;max-width:min(250px,38vw);max-height:58px;overflow:hidden}
.brand-logo{display:block;width:auto;max-width:100%;max-height:56px;object-fit:contain;object-position:left center}
.brand-logo-wrap[hidden],.brand-logo[hidden]{display:none!important}
.domain-field{height:auto;min-height:88px;align-items:stretch;padding:8px;gap:12px}
.domain-field textarea{display:block;flex:1 1 55%;min-width:0;min-height:70px;max-height:220px;resize:vertical;border:0;outline:0;padding:12px;color:#1c2b47;font:500 clamp(15px,1.1vw,19px)/1.55 'DM Sans','PingFang SC','Microsoft YaHei',sans-serif;background:transparent}
.domain-field textarea::placeholder{color:#8794a8;opacity:1}
.domain-field button{align-self:stretch;height:auto;min-height:64px;flex:0 0 clamp(150px,17vw,210px)}
.captcha-panel{margin:14px 0 18px;padding:16px 18px;border:1px solid #dce5f3;border-radius:12px;background:#f8faff;color:#31435f}
.captcha-panel strong{display:block;font-size:15px;margin-bottom:5px}
.captcha-panel p{margin:0 0 12px;color:#5c6c84;font-size:14px;line-height:1.6}
#captcha-widget{min-height:0;display:flex;align-items:center;justify-content:flex-start;overflow-x:auto}
#captcha-status{display:block;margin-top:8px;color:#596b84;font-size:13px;line-height:1.5}
.logo-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.logo-upload-item{display:grid;align-content:start;gap:10px;min-width:0;padding:14px;border:1px solid #e5ebf3;border-radius:11px;background:#fbfcfe}
.logo-upload-item>strong{font-size:14px;color:#34445d}
.logo-upload-item input[type=file]{max-width:100%;font-size:12px}
.logo-preview{height:92px;display:flex;align-items:center;justify-content:center;padding:10px;border:1px dashed #d6dfeb;border-radius:8px;background:#fff;overflow:hidden}
.logo-preview img{max-width:100%;max-height:70px;object-fit:contain}
.logo-preview.vertical img{max-height:82px;max-width:80px}

.field-hint,.panel-foot,.trust-label,.trust-items,.section-heading>p,.feature-card p,.step small,.scan-status p,.report-breadcrumb,.report-heading p,.section-title>p,.cert-issuer,.cert-sans p,.cert-facts small,.security-item span,.security-item small,.network-fact span,.limitations-list,.compat-toolbar,.compat-reason,.endpoint-title span,.endpoint-chain small,.endpoint-chain p,.protocol-card small{font-size:clamp(13px,.84vw,16px);color:#637188}
.field-hint{line-height:1.65}
.panel-foot{color:#66758c}
.feature-card p,.step small,.scan-status p,.section-heading>p,.report-heading p,.section-title>p,.cert-issuer,.cert-sans p,.compat-reason,.limitations-list{line-height:1.75}
.report-breadcrumb{font-size:13px}
.security-item strong,.cert-facts b,.network-fact strong,.endpoint-tags span,.result-pill{font-size:clamp(12px,.8vw,15px)}
.fingerprint{font-size:11px;color:#68778d}
.admin-v2 .breadcrumb,.admin-v2 .card-title p,.admin-v2 .stat-card span,.admin-v2 .stat-card small,.admin-v2 th,.admin-v2 td,.admin-v2 .empty-cell,.admin-v2 .admin-status,.admin-v2 .field label,.admin-v2 .node-row small,.admin-v2 .notice,.admin-v2 .log-row,.admin-v2 .command-box,.admin-v2 .admin-footer,.admin-v2 .login-card p,.admin-v2 .check-line{font-size:clamp(13px,.82vw,16px);color:#5f6f86}
.admin-v2 .stat-card span,.admin-v2 .stat-card small,.admin-v2 .node-row small,.admin-v2 .card-title p,.admin-v2 .breadcrumb{color:#64748b}
.admin-v2 .field input,.admin-v2 .field textarea,.admin-v2 .field select{font-size:clamp(14px,.9vw,17px)}
.admin-v2 .admin-button,.admin-v2 .refresh-button,.admin-v2 .view-site{font-size:clamp(13px,.82vw,15px)}
.admin-v2 .admin-status{font-size:13px}
.admin-v2 .notice{line-height:1.7}
.admin-v2 .logo-upload-item{font-size:14px}
@media(max-width:760px){
  .brand-logo-wrap{max-width:82px;max-height:66px}
  .brand-logo{max-height:64px;max-width:82px;object-position:center}
  .domain-field{min-height:0;flex-wrap:wrap;padding:7px;gap:7px}
  .domain-field textarea{flex:1 1 100%;min-height:88px;font-size:15px;padding:10px}
  .domain-field button{flex:0 0 100%;min-height:48px;height:48px}
  .logo-upload-grid{grid-template-columns:1fr}
  .logo-upload-item{grid-template-columns:1fr;}
  .logo-preview{height:84px}
  .field-hint,.panel-foot,.trust-label,.trust-items,.section-heading>p,.feature-card p,.step small,.scan-status p,.report-breadcrumb,.report-heading p,.section-title>p,.cert-issuer,.cert-sans p,.cert-facts small,.security-item span,.security-item small,.network-fact span,.limitations-list,.compat-toolbar,.compat-reason,.endpoint-title span,.endpoint-chain small,.endpoint-chain p,.protocol-card small{font-size:13px}
  .admin-v2 .breadcrumb,.admin-v2 .card-title p,.admin-v2 .stat-card span,.admin-v2 .stat-card small,.admin-v2 th,.admin-v2 td,.admin-v2 .empty-cell,.admin-v2 .admin-status,.admin-v2 .field label,.admin-v2 .node-row small,.admin-v2 .notice,.admin-v2 .log-row,.admin-v2 .command-box,.admin-v2 .admin-footer,.admin-v2 .login-card p,.admin-v2 .check-line{font-size:13px}
}

/* V2.2.2 viewport, navigation, typography and certificate-tool styles. */
html,body{max-width:100%;overflow-x:hidden;overflow-x:clip}
.hero:before{pointer-events:none}
.landing-page main,.report-page main,.tool-page main{min-width:0;max-width:100%}
.scan-panel,.hero-copy,.feature-card,.how-inner>div,.report-section,.tool-shell{min-width:0}
.domain-field{min-height:72px;height:auto;align-items:center;flex-wrap:nowrap}
.domain-field input{display:block;flex:1 1 auto;min-width:0;width:100%;height:58px;padding:0 clamp(12px,1.4vw,22px);font-size:clamp(18px,1.25vw,23px);font-family:'DM Sans','PingFang SC','Microsoft YaHei',sans-serif}
.domain-field input::placeholder{color:#8997ad;opacity:1}
.domain-field button{flex:0 0 clamp(140px,16vw,205px);min-height:58px;height:58px;font-size:clamp(15px,1vw,18px)}
.scan-panel form label{display:none}
.field-hint{font-size:clamp(14px,.92vw,17px);color:#637188;line-height:1.7}
.topnav,.report-actions,.tool-nav{min-width:0;flex-wrap:wrap}
.theme-toggle{border:1px solid var(--line);background:var(--white);color:#65748b;border-radius:8px;padding:8px 11px;font-size:12px;white-space:nowrap;transition:.2s}
.theme-toggle:hover{border-color:#9db6f0;color:var(--blue)}
.tools-menu{position:relative;display:inline-flex;align-items:center;z-index:10}
.tools-menu>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--white);color:#65748b;font-size:13px;white-space:nowrap}
.tools-menu>summary::-webkit-details-marker{display:none}
.tools-menu[open]>summary{border-color:#9db6f0;color:var(--blue)}
.tools-dropdown{position:absolute;top:calc(100% + 9px);right:0;width:min(320px,calc(100vw - 28px));max-height:min(70vh,560px);overflow:auto;display:grid;gap:3px;padding:9px;background:var(--white);border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 45px rgba(19,37,73,.16)}
.tools-dropdown a{display:block;padding:11px 12px;border-radius:8px;color:#53647e;font-size:14px;line-height:1.4}
.tools-dropdown a:hover{background:#f0f4ff;color:#315fd4}
.custom-link-group{display:flex;align-items:center;gap:clamp(10px,1.2vw,20px);flex-wrap:wrap;min-width:0}
.custom-link-group a{color:#60728f;font-size:clamp(12px,.8vw,15px);white-space:nowrap}
.custom-link-group a:hover{color:var(--blue)}
.footer-links{justify-content:flex-end}
.report-custom-header-links{justify-content:flex-end}
.report-bottom-links{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:flex-end}
.report-bottom-links .custom-link-group{justify-content:flex-end}
.report-bottom-links>a{color:#6079ad}
.footer{gap:clamp(12px,2vw,28px);height:auto;min-height:90px;flex-wrap:wrap;padding-top:18px;padding-bottom:18px}
.footer>span{font-size:clamp(12px,.8vw,15px)}
.footer .custom-link-group{flex:1 1 auto}
.login-theme-row{display:flex;justify-content:flex-end;margin-bottom:12px}

/* Readable report headings, metadata, compatibility headings and client labels. */
.report-heading .eyebrow{font-size:clamp(14px,.9vw,17px);letter-spacing:1px}
.report-breadcrumb{font-size:clamp(14px,.85vw,16px)}
.report-heading p,.section-title>p{font-size:clamp(14px,.9vw,17px);line-height:1.7}
.report-stats span,.report-stats small{font-size:clamp(13px,.82vw,16px)}
.report-section .section-title>div>span{font:600 clamp(13px,.82vw,16px)/1.4 'DM Mono',monospace;letter-spacing:.8px;color:#7188b5}
.report-section .section-title h2{font-size:clamp(22px,1.65vw,29px)}
.report-page .table-wrap table{font-size:clamp(14px,.9vw,17px);white-space:normal}
.report-page .table-wrap th{font-size:clamp(14px,.88vw,16px);color:#65748b;padding:14px 10px}
.report-page .table-wrap td{font-size:clamp(14px,.9vw,17px);line-height:1.65;padding:14px 10px}
.report-page .compat-client{font-size:clamp(14px,.92vw,17px);font-weight:700;color:#263651;min-width:220px}
.report-page .compat-reason{font-size:clamp(14px,.88vw,16px);line-height:1.65}
.report-page .result-pill{font-size:clamp(13px,.82vw,15px);padding:5px 8px}
.report-page .cert-index{font-size:clamp(13px,.82vw,15px)}
.report-page .cert-facts small,.report-page .security-item span,.report-page .security-item small,.report-page .network-fact span{font-size:clamp(13px,.82vw,15px)}
.report-page .cert-facts b,.report-page .security-item strong,.report-page .network-fact strong{font-size:clamp(14px,.9vw,17px)}
.report-page .limitations-list{font-size:clamp(14px,.9vw,17px);line-height:1.85}
.report-page .fingerprint{font-size:clamp(12px,.78vw,14px);overflow-wrap:anywhere}

/* Standalone certificate tools. */
.tool-page{min-height:100vh;background:#f7f9fc}
.tool-top{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e8edf4}
.tool-nav{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.tool-wrap{padding-top:26px;padding-bottom:55px}
.tool-breadcrumb{display:flex;align-items:center;gap:10px;color:#8b98ad;font-size:14px;margin-bottom:18px;flex-wrap:wrap}
.tool-breadcrumb a{color:#5d7fc6}
.tool-shell{background:#fff;border:1px solid #e6ebf3;border-radius:18px;padding:clamp(20px,3vw,38px);box-shadow:0 18px 50px rgba(24,45,84,.06)}
.tool-heading{margin-bottom:28px}
.tool-heading .eyebrow{font-size:13px}
.tool-heading h1{font-size:clamp(28px,3vw,42px);color:#1d2d4b;margin:10px 0}
.tool-heading p{font-size:clamp(14px,1vw,17px);color:#718096;line-height:1.7;margin:0}
.tool-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tool-form-grid label,.tool-result label{display:grid;gap:8px;color:#465773;font-size:14px;font-weight:650;min-width:0}
.tool-form-grid input,.tool-form-grid textarea,.tool-form-grid select,.tool-result textarea{width:100%;min-width:0;border:1px solid #dce4ef;border-radius:9px;background:#fff;color:#23334f;padding:12px 13px;font:400 15px/1.6 'DM Sans','PingFang SC','Microsoft YaHei',sans-serif;outline:0}
.tool-form-grid input:focus,.tool-form-grid textarea:focus,.tool-form-grid select:focus,.tool-result textarea:focus{border-color:#7b9dec;box-shadow:0 0 0 3px rgba(71,120,238,.1)}
.tool-form-grid textarea,.tool-result textarea{resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;overflow-wrap:anywhere}
.tool-form-grid .full{grid-column:1/-1}
.tool-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.tool-actions .primary-button{min-height:46px;padding:0 20px;font-size:14px}
.tool-result{margin-top:22px;padding:18px;border:1px solid #e0e8f4;border-radius:12px;background:#f9fbff;color:#34445f;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px}
.tool-pre{font:14px/1.75 ui-monospace,SFMono-Regular,Consolas,'Microsoft YaHei',monospace;max-height:620px;overflow:auto}
.tool-result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.tool-result-heading strong{font-size:17px;color:#253653}
.tool-result-heading span{font-size:13px;color:#73829a}
.tool-output-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tool-output-grid>label{display:grid;align-content:start;gap:8px;min-width:0}
.tool-output-grid .outline-button{justify-self:start}
.security-note{padding:14px 16px;margin-bottom:18px;border:1px solid #f1dfb7;border-radius:10px;background:#fff9eb;color:#80632e;font-size:14px;line-height:1.7}
.tool-success{border-color:#bde8d5;background:#f0fbf6;color:#1d815f}
.tool-error{border-color:#f0c8ca;background:#fff5f5;color:#b44f58}
.tool-footer{border-top:1px solid #e8edf4}

@media(max-width:900px){
  .topnav{gap:10px}
  .topnav>a:not(.nav-admin){display:none}
  .report-top{height:auto;min-height:76px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}
  .report-custom-header-links{order:3;width:100%;justify-content:flex-start}
  .report-actions{gap:7px}
  .tool-top{padding-top:12px;padding-bottom:12px;flex-wrap:wrap}
  .tool-nav{width:100%;justify-content:flex-end}
}
@media(max-width:760px){
  .domain-field{flex-wrap:wrap;padding:7px;gap:7px}
  .domain-field input{flex:1 1 100%;height:48px;font-size:17px;padding:0 10px}
  .domain-field button{flex:0 0 100%;height:48px;min-height:48px}
  .footer{justify-content:flex-start}
  .footer .custom-link-group{flex:1 1 100%;justify-content:flex-start}
  .report-bottom-links{justify-content:flex-start;width:100%}
  .report-page .compat-client{min-width:180px}
  .report-page .table-wrap th,.report-page .table-wrap td{font-size:14px;padding:12px 8px}
  .report-page .compat-reason{font-size:14px}
  .tool-form-grid,.tool-output-grid{grid-template-columns:1fr}
  .tool-form-grid .full{grid-column:auto}
  .tool-nav{justify-content:flex-start}
  .tools-dropdown{right:auto;left:0}
  .tool-wrap{padding-top:16px}
  .tool-shell{padding:18px}
  .theme-toggle{font-size:12px}
}

/* Dark theme: explicit choice or OS preference, with readable contrast. */
html[data-theme="dark"]{color-scheme:dark;--ink:#e6edf8;--muted:#a6b4c8;--line:#2b3951;--paper:#0b1220;--white:#141f32;--shadow:0 18px 55px rgba(0,0,0,.28);background:#0b1220;color:#e6edf8}
html[data-theme="dark"] body{background:#0b1220;color:#e6edf8}
html[data-theme="dark"] .landing-page,html[data-theme="dark"] .report-page,html[data-theme="dark"] .tool-page,html[data-theme="dark"] .admin-v2{background:#0b1220;color:#e6edf8}
html[data-theme="dark"] .hero:before{background:radial-gradient(ellipse at 74% 36%,rgba(80,125,238,.13),transparent 43%),linear-gradient(120deg,#101a2c 0%,#111f37 100%)}
html[data-theme="dark"] .brand,html[data-theme="dark"] .hero h1,html[data-theme="dark"] .panel-head h2,html[data-theme="dark"] .section-heading h2,html[data-theme="dark"] .feature-card h3,html[data-theme="dark"] .report-heading h1,html[data-theme="dark"] .section-title h2,html[data-theme="dark"] .report-stats strong,html[data-theme="dark"] .cert-card h3,html[data-theme="dark"] .tool-heading h1,html[data-theme="dark"] .tool-result-heading strong{color:#e6edf8}
html[data-theme="dark"] .hero-lead,html[data-theme="dark"] .hero-meta,html[data-theme="dark"] .trust-items,html[data-theme="dark"] .section-heading>p,html[data-theme="dark"] .feature-card p,html[data-theme="dark"] .field-hint,html[data-theme="dark"] .panel-foot,html[data-theme="dark"] .report-heading p,html[data-theme="dark"] .section-title>p,html[data-theme="dark"] .cert-issuer,html[data-theme="dark"] .tool-heading p{color:#a8b6ca}
html[data-theme="dark"] .scan-panel,html[data-theme="dark"] .feature-card,html[data-theme="dark"] .report-stats,html[data-theme="dark"] .cert-card,html[data-theme="dark"] .protocol-card,html[data-theme="dark"] .endpoint-card,html[data-theme="dark"] .security-item,html[data-theme="dark"] .network-card,html[data-theme="dark"] .empty-panel,html[data-theme="dark"] .tool-shell,html[data-theme="dark"] .tool-result,html[data-theme="dark"] .admin-card,html[data-theme="dark"] .stat-card,html[data-theme="dark"] .logo-upload-item,html[data-theme="dark"] .logo-preview,html[data-theme="dark"] .login-card{background:#141f32;border-color:#2b3951;color:#dce6f5}
html[data-theme="dark"] .domain-field,html[data-theme="dark"] .tool-form-grid input,html[data-theme="dark"] .tool-form-grid textarea,html[data-theme="dark"] .tool-form-grid select,html[data-theme="dark"] .tool-result textarea,html[data-theme="dark"] .admin-v2 input,html[data-theme="dark"] .admin-v2 textarea,html[data-theme="dark"] .admin-v2 select,html[data-theme="dark"] .login-card input{background:#0e192b;border-color:#33435e;color:#e6edf8}
html[data-theme="dark"] .domain-field input{background:transparent;color:#e6edf8}
html[data-theme="dark"] .domain-field input::placeholder,html[data-theme="dark"] .tool-form-grid input::placeholder{color:#7f91ad}
html[data-theme="dark"] .panel-foot,html[data-theme="dark"] .trust-strip,html[data-theme="dark"] .report-top,html[data-theme="dark"] .tool-top,html[data-theme="dark"] .tool-footer,html[data-theme="dark"] .report-bottom,html[data-theme="dark"] .report-stats>div{border-color:#2b3951}
html[data-theme="dark"] .outline-button,html[data-theme="dark"] .theme-toggle,html[data-theme="dark"] .tools-menu>summary,html[data-theme="dark"] .tools-dropdown{background:#17243a;border-color:#33435e;color:#d2def0}
html[data-theme="dark"] .tools-dropdown a{color:#c0cde0}
html[data-theme="dark"] .tools-dropdown a:hover{background:#223454;color:#fff}
html[data-theme="dark"] .custom-link-group a,html[data-theme="dark"] .report-bottom-links>a,html[data-theme="dark"] .tool-breadcrumb{color:#aabbd5}
html[data-theme="dark"] .report-page .table-wrap th{color:#aebbd0;background:#17243a}
html[data-theme="dark"] .report-page .table-wrap td{color:#c6d2e4;border-color:#293750}
html[data-theme="dark"] .report-page .compat-client{color:#e5edf9}
html[data-theme="dark"] .report-stats>div{border-color:#2b3951}
html[data-theme="dark"] .scan-status,html[data-theme="dark"] .captcha-panel{background:#17243a;border-color:#33435e;color:#dce6f5}
html[data-theme="dark"] .scan-status p,html[data-theme="dark"] .status-top strong{color:#b5c3d8}
html[data-theme="dark"] .security-note{background:#2a2418;border-color:#665331;color:#ead8ad}
html[data-theme="dark"] .how-section{background:#080f1d}
html[data-theme="dark"] .login-page{background:radial-gradient(circle at 20% 20%,rgba(75,120,230,.14),transparent 30%),linear-gradient(135deg,#080f1d,#101c32)}
html[data-theme="dark"] .login-card h1{color:#e6edf8}
html[data-theme="dark"] .login-card>p,html[data-theme="dark"] .back-home{color:#a8b6ca}
html[data-theme="dark"] .admin-v2 .admin-top{border-color:#2b3951}
html[data-theme="dark"] .admin-v2 .admin-top h1,html[data-theme="dark"] .admin-v2 .card-title h2{color:#e6edf8}
html[data-theme="dark"] .admin-v2 .admin-footer,html[data-theme="dark"] .admin-v2 .breadcrumb,html[data-theme="dark"] .admin-v2 .card-title p,html[data-theme="dark"] .admin-v2 th,html[data-theme="dark"] .admin-v2 td,html[data-theme="dark"] .admin-v2 .field label{color:#aab9cf}
html[data-theme="dark"] .admin-v2 .table-wrap th{background:#17243a;color:#aebbd0}
html[data-theme="dark"] .admin-v2 .table-wrap td{border-color:#293750;color:#c6d2e4}
html[data-theme="dark"] .admin-v2 .refresh-button,html[data-theme="dark"] .admin-v2 .view-site,html[data-theme="dark"] .admin-v2 .filter-select{background:#17243a;border-color:#33435e;color:#d2def0}
html[data-theme="dark"] .admin-v2 .node-row,html[data-theme="dark"] .admin-v2 .log-row{border-color:#293750}
html[data-theme="dark"] .admin-v2 .notice,html[data-theme="dark"] .admin-v2 .command-box{background:#101a2d;color:#d2def0}
html[data-theme="dark"] .admin-v2 .toast{background:#e6edf8;color:#17233b}
html[data-theme="dark"] .grade-badge{background:#15392f;color:#6dd4ad}
html[data-theme="dark"] .grade-b{background:#1b2f50;color:#91b6ff}
html[data-theme="dark"] .grade-c{background:#40341d;color:#edc477}
html[data-theme="dark"] .grade-d,html[data-theme="dark"] .grade-f{background:#402329;color:#f09ba1}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.custom-link-row{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(220px,1.4fr) auto auto;gap:12px;align-items:end;padding:13px;border:1px solid #e5ebf3;border-radius:10px;background:#fbfcfe;margin:10px 0}.custom-link-row .field{min-width:0}.custom-link-row .field label{font-size:13px}.custom-link-row .field input{width:100%}.custom-link-row .check-line{white-space:nowrap;padding-bottom:11px}.link-editor-block{padding:15px 0;border-bottom:1px solid #edf0f5}.link-editor-block:last-of-type{border-bottom:0}.link-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.link-editor-heading h3{margin:0;color:#31425e;font-size:16px}.link-empty{margin:8px 0;text-align:left!important;padding:12px!important}
html[data-theme="dark"] .custom-link-row{background:#101a2d;border-color:#33435e}html[data-theme="dark"] .link-editor-heading h3{color:#dce6f5}html[data-theme="dark"] .link-editor-block{border-color:#293750}
@media(max-width:760px){.custom-link-row{grid-template-columns:1fr}.custom-link-row .check-line{padding-bottom:0}.link-editor-heading{align-items:flex-start;flex-direction:column}}

.orbit-one{right:0}.orbit-two{right:0}

html[data-theme="dark"] .admin-v2 .sidebar{background:#111c30;border-color:#2b3951}html[data-theme="dark"] .admin-v2 .side-link{color:#aab9cf}html[data-theme="dark"] .admin-v2 .side-link:hover,html[data-theme="dark"] .admin-v2 .side-link.active{background:#1d3152;color:#a9c2ff}html[data-theme="dark"] .admin-v2 .sidebar-bottom{border-color:#2b3951}html[data-theme="dark"] .admin-v2 .sidebar-bottom strong{color:#e2eaf7}html[data-theme="dark"] .admin-v2 .logout-button{background:#17243a;border-color:#33435e;color:#d2def0}html[data-theme="dark"] .admin-v2 .admin-button.secondary{background:#223454;color:#d2def0}html[data-theme="dark"] .admin-v2 .admin-button.danger{background:#44272d;color:#f0a2a7}html[data-theme="dark"] .admin-v2 .stat-card span,html[data-theme="dark"] .admin-v2 .stat-card small{color:#9eafc7}html[data-theme="dark"] .admin-v2 .stat-card strong{color:#e6edf8}

/* V2.2.4: dedicated certificate path and cross-platform root-program trust sections. */
.trust-chain-list,.platform-trust-list{display:grid;gap:16px;min-width:0}
.trust-chain-group,.platform-trust-summary{min-width:0;padding:clamp(16px,1.45vw,24px);border:1px solid #e3eaf4;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(32,58,99,.045)}
.trust-chain-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;padding-bottom:13px;border-bottom:1px solid #e8edf5}
.trust-chain-heading>div{display:grid;gap:5px;min-width:0}
.trust-chain-heading strong{font-size:clamp(16px,1.08vw,20px);color:#1d2c49}
.trust-chain-heading small{font-size:clamp(12px,.8vw,14px);color:#718099;overflow-wrap:anywhere}
.chain-cert{position:relative;min-width:0;padding:17px 18px;border:1px solid #e4eaf3;border-radius:11px;background:#fbfcff}
.chain-cert-top{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:10px}
.chain-cert-number{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:#edf4ff;color:#346be0;font-size:13px;font-weight:800}
.chain-role{padding:5px 9px;border-radius:7px;background:#eef2ff;color:#4b5ec8;font-size:12px;font-weight:700}
.chain-source{margin-left:auto;color:#78869a;font-size:12px}
.chain-cert h3{margin:0 0 7px;color:#1c2b47;font-size:clamp(15px,1vw,19px);overflow-wrap:anywhere}
.chain-issuer{margin:0 0 11px;color:#64748b;font-size:clamp(12px,.82vw,15px);line-height:1.65;overflow-wrap:anywhere}
.chain-cert-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 15px;color:#52627a;font-size:clamp(12px,.78vw,14px);line-height:1.6}
.chain-cert-facts span{min-width:0;overflow-wrap:anywhere}
.chain-fingerprint{margin-top:11px;padding-top:10px;border-top:1px dashed #dce4ef;color:#718099;font:11px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.chain-connector{height:25px;display:flex;align-items:center;justify-content:center;color:#7b91b8;font-size:20px;font-weight:700}
.chain-note{margin:13px 0 0;color:#66758b;font-size:clamp(12px,.8vw,14px);line-height:1.7}
.platform-trust-summary>div:first-child{display:grid;gap:5px;margin-bottom:16px}
.platform-trust-summary>div:first-child small{color:#73829a;font-size:13px}
.platform-trust-summary>div:first-child strong{color:#1e2d49;font-size:clamp(15px,1vw,19px);overflow-wrap:anywhere}
.platform-trust-summary>div:first-child span{color:#8793a6;font-size:12px}
.platform-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.platform-trust-card{display:grid;gap:8px;min-width:0;padding:14px;border:1px solid #e5ebf4;border-radius:10px;background:#fbfcff}
.platform-name{color:#31425e;font-size:clamp(13px,.86vw,16px);font-weight:750;overflow-wrap:anywhere}
.platform-status{justify-self:start;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:750}
.platform-status.good{background:#e6f7ef;color:#087a52}
.platform-status.bad{background:#fff0ed;color:#b43c30}
.platform-status.unknown{background:#eef2f7;color:#65748a}
.platform-trust-card small{color:#7a879a;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.platform-trust-note{margin:15px 0 0;padding-top:12px;border-top:1px dashed #e0e7f0;color:#6b7a91;font-size:clamp(12px,.8vw,14px);line-height:1.75}
@media(max-width:900px){.platform-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chain-cert-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.platform-trust-grid,.chain-cert-facts{grid-template-columns:1fr}.trust-chain-heading{align-items:flex-start;flex-direction:column}.chain-source{margin-left:0}.chain-cert{padding:14px}}
@media print{.trust-chain-group,.platform-trust-summary,.chain-cert,.platform-trust-card{box-shadow:none;break-inside:avoid}.trust-chain-list,.platform-trust-list{gap:9px}}
html[data-theme="dark"] .trust-chain-group,html[data-theme="dark"] .platform-trust-summary{background:#141f32;border-color:#2b3951}
html[data-theme="dark"] .trust-chain-heading{border-color:#2b3951}
html[data-theme="dark"] .trust-chain-heading strong,html[data-theme="dark"] .chain-cert h3,html[data-theme="dark"] .platform-trust-summary>div:first-child strong{color:#e6edf8}
html[data-theme="dark"] .chain-cert,html[data-theme="dark"] .platform-trust-card{background:#101b2d;border-color:#2b3951}
html[data-theme="dark"] .chain-issuer,html[data-theme="dark"] .chain-cert-facts,html[data-theme="dark"] .chain-note,html[data-theme="dark"] .platform-trust-note{color:#a8b6ca}
html[data-theme="dark"] .chain-fingerprint,html[data-theme="dark"] .platform-trust-note{border-color:#2b3951}
html[data-theme="dark"] .platform-name{color:#dce6f5}
html[data-theme="dark"] .platform-status.unknown{background:#293750;color:#b7c4d8}
.trust-chain-badges{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
@media(max-width:560px){.trust-chain-badges{justify-content:flex-start}}

/* V2.2.4 optional report modules */
.report-section[hidden]{display:none!important}
