:root{color-scheme:light;--ink:#172c42;--muted:#53677c;--line:#dce5ed;--accent:#176a68;--focus:#176a68}
*{box-sizing:border-box}body{margin:0;color:var(--ink);font:15px/1.6 "Segoe UI",system-ui,sans-serif;background:radial-gradient(ellipse at 8% 0%,#dff1ed 0,transparent 42%),radial-gradient(ellipse at 100% 20%,#e6edf8 0,transparent 40%),#f5f7fa;min-height:100vh}main{width:min(1100px,100% - 64px);margin:48px auto 30px}.hero{display:flex;align-items:center;gap:20px;margin-bottom:28px}.brand-mark{width:62px;height:62px;flex:none;display:grid;align-content:center;grid-auto-flow:column;justify-content:center;align-items:baseline;gap:0;background:#163c43;color:#fff;border-radius:18px;font-size:23px;font-weight:700;box-shadow:0 6px 16px #163c4318}.brand-mark span{font-size:17px;color:#b4e4d5}.hero-copy{flex:1}.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:750;color:#22635f;margin:0 0 5px}h1{font-size:clamp(25px,3.5vw,34px);letter-spacing:-.035em;line-height:1.2;margin:0 0 7px}h2{font-size:20px;line-height:1.35;letter-spacing:-.02em;margin:0}.subtitle{color:var(--muted);margin:0;font-size:14px}.engine-badge{display:flex;gap:8px;align-items:center;flex:none;font-size:12px;font-weight:650;border:1px solid #cbded8;border-radius:100px;padding:8px 13px;background:#f5fffa;color:#20594d}.badge-dot,.workspace-dot{width:7px;height:7px;border-radius:50%;background:#267e64;display:inline-block}.panel{padding:30px 34px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 28px #20394e05}.workspace-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.workspace-bar p{display:flex;gap:9px;align-items:center;margin:0;font-size:13px;color:var(--muted)}.section-heading{display:flex;gap:14px;align-items:center;margin-bottom:26px}.step{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;background:#eaf5f1;color:#226459;font-size:12px;font-weight:750}.muted{color:var(--muted);font-size:13px;margin:5px 0 0}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}.field{min-width:0}.field-heading{display:flex;gap:6px;align-items:center;margin-bottom:6px;min-height:20px}.field-heading label{font-size:13px;font-weight:650;line-height:1.5}input:not([type=checkbox]),select{display:block;width:100%;min-width:0;min-height:38px;padding:8px 11px;border:1px solid #bfccd8;border-radius:8px;background:#fbfcfd;color:var(--ink);font:inherit;font-size:13px;transition:border-color .15s,box-shadow .15s}input::placeholder{color:#687b8d}input:not([type=checkbox]):focus,select:focus{border-color:var(--focus);background:#fff;box-shadow:0 0 0 1px var(--focus);outline:none}button{font:inherit;cursor:pointer;touch-action:manipulation}button.primary{display:inline-flex;gap:24px;align-items:center;justify-content:center;min-height:46px;padding:11px 21px;background:var(--accent);color:#fff;border:1px solid var(--accent);border-radius:9px;font-size:14px;font-weight:650;box-shadow:0 4px 10px #176a6818}.primary:hover{background:#125755}.primary span{font-size:19px;line-height:1}.button-secondary{padding:7px 13px;background:#fff;border:1px solid #c9d5df;border-radius:8px;color:#35536b;font-size:12px;font-weight:650}.button-secondary:hover{background:#eff4f6}button:disabled{opacity:.65;cursor:wait;box-shadow:none}.reports{padding:0;margin:30px 0 26px;border:0;min-width:0}.reports legend{font-size:14px;font-weight:700;padding:0}.reports>.muted{margin:3px 0 13px}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-option{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--line);border-radius:9px;padding:12px 14px;background:#fcfdfd;min-width:0}.report-option:has(input:checked){background:#f2f9f6;border-color:#c4ded5}.report-option label{display:flex;align-items:center;gap:10px;flex:1;cursor:pointer;font-size:13px;font-weight:550;min-width:0}.report-option input{width:16px;height:16px;flex:none;margin:0;accent-color:var(--accent)}.help{display:inline-flex;align-items:center;flex:none;position:relative}.help-button{display:inline-grid;place-items:center;position:relative;width:18px;height:18px;min-width:18px;padding:0;border:1px solid #bdcbd4;border-radius:50%;background:#f4f7f9;color:#4e6478;font-weight:700;font-size:10px;line-height:1;cursor:help}.help-button:hover,.help.is-open .help-button{border-color:#277574;color:#17615f;background:#e6f4ef}.tooltip{display:none;position:fixed;z-index:50;width:260px;max-width:calc(100vw - 32px);padding:10px 12px;background:#183448;color:#fff;box-shadow:0 8px 24px #142a4233;border:1px solid #365367;border-radius:8px;font-size:11.5px;font-weight:400;line-height:1.55;white-space:normal;overflow-wrap:anywhere}.help.is-open .tooltip{display:block}.advanced{border:1px solid var(--line);border-radius:10px;background:#fafcfd}.advanced>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;padding:16px 18px;cursor:pointer;font-size:13px;font-weight:650}.advanced>summary::-webkit-details-marker{display:none}.advanced>summary:after{content:'+';font-size:19px;font-weight:400;color:#45677a}.advanced[open]>summary:after{content:'−'}.summary-note{color:var(--muted);font-size:12px;font-weight:400;flex:1;text-align:right}.advanced-body{padding:0 18px 20px}.info-note{font-size:12px;color:#365b6c;padding:12px 14px;margin:0 0 22px;border-left:3px solid #96bfb9;background:#eef5f6;border-radius:0 6px 6px 0}.privacy-note{color:var(--muted);font-size:12px;margin:18px 0 0}.form-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:26px;padding-top:24px;border-top:1px solid #e8edf2}.form-footer p{margin:0;font-size:12px;font-weight:600}.form-footer .muted{font-weight:400;font-size:12px}.current-scan{margin-top:20px}.current-scan .section-heading{margin-bottom:20px}.status-box{display:flex;align-items:center;gap:10px;background:#f1f5f8;border:1px solid #dce5ed;border-radius:9px;padding:13px 16px;color:#3a5469;font-size:13px;margin:0;overflow-wrap:anywhere}.status-box:before{content:'';width:7px;height:7px;flex:none;background:#708499;border-radius:50%}.status-box[data-state=running]{background:#eef6fa}.status-box[data-state=running]:before{background:#257ca2}.status-box[data-state=completed]{background:#eef8f1}.status-box[data-state=completed]:before{background:#287b50}#downloads:empty{display:none}#downloads{display:flex;gap:10px;flex-wrap:wrap;list-style:none;margin:18px 0;padding:0}#downloads a{display:inline-block;border:1px solid #c5dad2;background:#f2faf6;color:#1a6252;border-radius:7px;padding:8px 12px;font-size:12px;overflow-wrap:anywhere}.log-details{margin-top:18px}.log-details summary{color:#486176;font-size:12px;font-weight:650;cursor:pointer}pre{font:12px/1.7 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto;background:#f1f5f8;padding:16px;border:1px solid var(--line);border-radius:8px}.page-footer{text-align:center;color:#62758a;font-size:12px;margin-top:22px}.login-panel{max-width:480px;margin:44px auto}.login-panel .field{margin:25px 0 20px}.login-panel>.primary{width:100%}#error{color:#a11515;font-size:13px}#error:empty{display:none}[hidden]{display:none!important}:focus-visible{outline:2px solid var(--focus);outline-offset:0}.skip-link{position:absolute;left:16px;top:-100px;background:#fff;color:#193d54;padding:10px 16px;z-index:100}.skip-link:focus{top:12px}
@media(max-width:700px){main{width:calc(100% - 32px);margin:24px auto}.hero{gap:12px;flex-wrap:wrap;margin-bottom:20px}.brand-mark{width:48px;height:48px;border-radius:14px;font-size:19px}.hero-copy{min-width:200px}.hero .eyebrow{font-size:9px}.subtitle{font-size:12px}.engine-badge{margin-left:60px;font-size:11px;padding:5px 10px}.panel{padding:22px 18px;border-radius:14px}.field-grid,.report-grid{grid-template-columns:minmax(0,1fr)}.field-grid{gap:18px}.section-heading{gap:10px;margin-bottom:22px}h2{font-size:18px}.section-heading .muted{font-size:12px}.summary-note{display:none}.form-footer{align-items:stretch;flex-direction:column;gap:16px}.form-footer .primary{width:100%}.advanced-body{padding:0 13px 18px}.advanced>summary{padding:14px 13px}.login-panel{margin-top:28px}.page-footer{font-size:11px}.field-heading{align-items:flex-start}.help{margin-top:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Header, footer and live scan activity */
.brand-mark{text-decoration:none}.header-actions{display:flex;align-items:center;gap:12px}.header-actions .button-secondary{min-height:36px;padding:7px 16px;font-size:13px}.hero{padding-bottom:26px;border-bottom:1px solid #d7e3e8}.page-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #d7e3e8;padding:24px 4px 0;margin-top:30px;text-align:right}.footer-brand{font-size:20px;font-weight:750;color:#204c50;white-space:nowrap}.footer-brand span{font-size:12px;font-weight:500;margin-left:10px;color:#586f80}.progress-area{margin-top:24px}.progress-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:12px;color:#536b7f;margin-bottom:9px}.progress-heading>span:last-child{font-weight:700;color:#176a68}progress{display:block;width:100%;height:8px;border:0;border-radius:99px;background:#e9eff2;overflow:hidden;accent-color:#238178}progress::-webkit-progress-bar{background:#e9eff2;border-radius:99px}progress::-webkit-progress-value{background:linear-gradient(90deg,#176a68,#53a78a);border-radius:99px;transition:width .3s}progress::-moz-progress-bar{background:#238178;border-radius:99px}.scan-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:20px;gap:12px}.scan-metrics>div{padding:15px 17px;background:#f8fafb;border:1px solid #e1e9ef;border-radius:10px}.scan-metrics span{font-size:11px;color:#5c7285;display:block}.scan-metrics strong{font-size:25px;line-height:1.5;color:#23475b;font-weight:650}.scan-metrics>div:last-child strong{color:#985235}.log-details{margin-top:24px;border:1px solid #d5dfe7;border-radius:11px;overflow:hidden;scroll-margin-top:24px}.log-details>summary{display:flex;justify-content:space-between;gap:16px;padding:14px 17px;list-style:none;background:#f7fafb}.log-details>summary:before{content:'›';font-size:18px;line-height:1;transition:transform .15s}.log-details[open]>summary:before{transform:rotate(90deg)}.log-details>summary>span:first-child{flex:1}.log-summary-hint{font-size:11px;font-weight:400;color:#617789}.terminal{background:#122332}.terminal-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:12px 17px;background:#192e3e;border-bottom:1px solid #294051}.terminal-label{display:inline-flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.12em;color:#bdd0de;font-weight:650}.terminal-dot{display:inline-block;width:6px;height:6px;background:#68bfa0;border-radius:50%}.terminal-actions{display:flex;align-items:center;gap:17px}.follow-log{display:flex;align-items:center;gap:7px;font-size:11px;color:#c8d7e1;cursor:pointer}.follow-log input{accent-color:#7bc9ae;width:13px;height:13px;margin:0}#copy-log{font-size:11px;color:#e1ebf2;background:#263e50;border:1px solid #4a6478;border-radius:5px;padding:4px 9px}#copy-log:hover{background:#365469}#log{margin:0;border:0;border-radius:0;padding:18px;min-height:180px;max-height:440px;font:11px/1.9 Consolas,"Cascadia Code",monospace;color:#ccdae5;background:transparent;white-space:pre-wrap;overflow-wrap:anywhere;scrollbar-color:#3c586c #122332}#log .log-line{display:block;min-height:1.9em}#log .log-placeholder{color:#90a8bb}#log .log-error{color:#ffb3b5}#log .log-warn{color:#f0ce8c}#log .log-success{color:#a0dfbe}#log .log-info{color:#a8cffa}#scan-activity{scroll-margin-top:24px}.current-scan:focus:not(:focus-visible){outline:none}.status-box[data-state=failed],.status-box[data-state=completed-with-delivery-errors]{background:#fff3ee;color:#8d4028}.status-box[data-state=failed]:before,.status-box[data-state=completed-with-delivery-errors]:before{background:#b95d3d}
@media(max-width:700px){.header-actions{margin-left:60px;flex:1;justify-content:space-between}.header-actions .engine-badge{margin-left:0}.hero{padding-bottom:20px}.page-footer{flex-direction:column;text-align:center;gap:10px;padding-top:20px}.scan-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.scan-metrics>div{padding:12px 14px}.scan-metrics strong{font-size:22px}.terminal-toolbar{padding:11px 12px;gap:10px}.terminal-label{font-size:9px}.terminal-actions{gap:10px}#log{padding:13px;font-size:10px}.log-summary-hint{display:none}.progress-heading{font-size:11px}.log-details{scroll-margin-top:16px}}

/* Keep a comfortable pointer/touch target around the compact help glyph. */
.help-button:after{content:"";position:absolute;inset:-3px;border-radius:50%}
/* Saved scans */
.hero{flex-wrap:wrap}.hero-copy{min-width:240px}.header-actions{flex-wrap:wrap}.header-nav{display:flex;align-items:center;gap:4px}.header-nav a{padding:7px 10px;color:#486176;text-decoration:none;font-size:12px;border-radius:7px}.header-nav a:hover{background:#e8f2ef}.header-nav a[aria-current=page]{background:#e0eeea;color:#175c55;font-weight:650}.history-heading,.history-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.history-heading .button-secondary{flex:none}.history-search{display:flex;align-items:end;gap:12px;margin-top:24px}.history-search>.field{flex:1}.history-search label,.history-send-controls label{display:block;font-size:12px;font-weight:650;margin-bottom:6px}.history-search .primary{min-height:38px;padding:7px 20px}.history-list{display:grid;gap:16px;margin-top:22px}.history-card{border:1px solid #d9e3eb;border-radius:12px;padding:22px;background:#fbfdfd;min-width:0}.history-url{margin:0;color:#23495b;font-size:16px;overflow-wrap:anywhere}.history-badge{display:inline-block;padding:4px 10px;flex:none;font-size:11px;border-radius:99px;background:#edf2f6;color:#4b6176}.history-badge.completed{background:#e2f3e9;color:#215d3e}.history-badge.running{background:#e4f1f9;color:#225d7a}.history-badge.failed,.history-badge.interrupted,.history-badge.completed-with-delivery-errors{background:#fcf0e7;color:#884626}.history-stats{font-size:12px;margin:12px 0 4px;color:#456376}.scan-id{color:#687e8f;font:10px/1.5 Consolas,monospace;overflow-wrap:anywhere;margin:0 0 14px}.history-reports summary{cursor:pointer;color:#245e65;font-size:12px;font-weight:650}.history-email-form{margin-top:15px}.history-file-picker{border:0;padding:0;min-width:0}.history-file-picker legend{font-size:11px;color:#536c7e;margin-bottom:8px}.history-file-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #e3ebf0;padding:10px 0}.history-file-row label{display:flex;align-items:center;gap:8px;font-size:11px;overflow-wrap:anywhere;min-width:0}.history-file-row input{accent-color:#176a68;flex:none}.history-file-row a{color:#175e68;font-size:11px;flex:none}.history-send-controls{display:flex;align-items:center;gap:18px;margin-top:20px;padding-top:16px;border-top:1px solid #dce7ec}.history-send-controls>.field{flex:1}.history-send-controls .primary{font-size:12px;min-height:38px;padding:8px 15px}.delivery-feedback{font-size:12px;overflow-wrap:anywhere;color:#295e54;margin-bottom:0}.history-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:24px;font-size:12px;color:#567083}.history-empty{padding:36px 20px;text-align:center;border:1px dashed #c9d9e0;border-radius:10px;font-size:13px;color:#5e7485}
@media(max-width:700px){.header-nav{order:-1;flex-basis:100%}.history-heading{gap:12px}.history-card{padding:17px}.history-card-heading{flex-direction:column;gap:10px}.history-send-controls{flex-direction:column;align-items:stretch;gap:12px}.history-search{gap:8px}.history-search .primary{padding-inline:13px}.history-pagination{gap:12px}.history-file-row{gap:10px}}
/* Compact history with a searchable, bounded report picker. */
.history-page{width:min(1220px,100% - 64px)}.history-page>.hero{margin-bottom:20px;padding-bottom:20px}.history-page #history-workspace>.panel{padding:24px 28px}.history-heading .eyebrow{font-size:10px;margin-bottom:2px}.history-search{margin-top:18px}.history-list{gap:10px;margin-top:15px}.history-card{padding:15px 18px;border-radius:10px}.history-card-heading{gap:14px;align-items:center}.history-url{font-size:14px}.history-card-heading .muted{font-size:11px;margin-top:2px}.history-stats{font-size:11px;margin:7px 0 2px}.scan-id{font-size:9px;margin-bottom:8px}.history-reports>summary{font-size:11px;padding:3px 0}.history-email-form{margin-top:12px}.history-file-picker legend{font-size:12px;font-weight:650;margin-bottom:11px}.report-toolbar{display:flex;align-items:flex-end;gap:14px}.report-search{flex:1;min-width:0}.report-search label{display:block;font-size:11px;font-weight:600;margin-bottom:5px}.report-search input{min-height:34px!important;padding:6px 10px!important;font-size:12px!important}.report-bulk{display:flex;gap:7px;flex:none}.report-bulk button{font-size:11px;padding:7px 10px;min-height:34px}.report-selection{font-size:11px;font-weight:650;color:#306256;margin:10px 0 1px}.report-selection-hint{font-size:10px;color:#61798b;margin:0 0 10px}.history-file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:248px;overflow:auto;overscroll-behavior:contain;scrollbar-color:#b9ccd2 #f2f7f8;padding:2px 6px 2px 2px}.history-file-row{border:1px solid #dce6eb;border-radius:6px;padding:7px 8px;gap:6px;background:white;min-width:0;min-height:36px}.history-file-row:has(input:checked){background:#eff8f4;border-color:#afd2c4}.history-file-row label{font-size:10px;flex:1;cursor:pointer;line-height:1.5;gap:6px}.history-file-row input{width:14px;height:14px;margin:0}.report-filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block}.history-file-row .report-download{display:grid;place-items:center;width:24px;height:24px;font-size:17px;text-decoration:none;border-radius:4px;color:#25666b;background:#edf5f5;flex:none}.history-file-row .report-download:hover{background:#d9ebe7}.report-no-match{font-size:12px;text-align:center;padding:22px 12px;margin:0;background:#f4f8fa;border-radius:7px;color:#526c7e}.history-send-controls{margin-top:14px;padding-top:13px;gap:14px;align-items:center}.history-send-controls label{font-size:11px;margin-bottom:5px}.history-send-controls .muted{font-size:10px;margin-top:4px}.history-send-controls input{min-height:34px;padding:7px 10px;font-size:12px}.history-send-controls .primary{font-size:11px;min-height:34px;padding:7px 13px}.delivery-feedback{font-size:11px}.history-pagination{margin-top:18px}
@media(min-width:701px) and (max-width:1000px){.history-file-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.history-page{width:calc(100% - 32px)}.history-page #history-workspace>.panel{padding:20px 16px}.history-card{padding:13px}.history-card-heading{align-items:flex-start;gap:7px}.report-toolbar{flex-direction:column;align-items:stretch;gap:9px}.report-bulk button{flex:1}.history-file-grid{grid-template-columns:minmax(0,1fr);max-height:228px}.history-file-row label{font-size:11px}.history-send-controls{gap:10px}.history-page .header-actions{margin-left:60px}.history-url{font-size:13px}}
.selection-download-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.selection-download-bar button{font-size:11px;min-height:34px;padding:7px 12px;color:#185e55;border-color:#9bbfb4;background:#edf7f2}.selection-download-bar .muted{font-size:10px;margin:0}.selection-download-bar button:hover{background:#dfefe7}@media(max-width:700px){.selection-download-bar{align-items:stretch;flex-direction:column;gap:6px}}
