/* Redaxa — focused night workspace. Compact, readable and task-led. */
:root{font-family:var(--rx-font-ui);color:var(--theme-text);background:var(--theme-bg);color-scheme:dark;--rx-bg:var(--theme-bg);--rx-surface:var(--theme-surface);--rx-text:var(--theme-text);--rx-muted:var(--theme-muted);--rx-border:var(--theme-line);--rx-action:var(--theme-accent);--rx-action-ink:var(--theme-ink)}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--theme-bg)}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}::selection{background:var(--theme-accent);color:var(--theme-ink)}:focus-visible{outline:2px solid var(--theme-accent);outline-offset:4px}input{caret-color:var(--theme-accent)}
.sidebar{display:flex;align-items:center;gap:32px;min-height:66px;padding:12px 28px;background:var(--theme-bg);color:var(--theme-text);border-bottom:1px solid var(--theme-line)}.brand{display:flex;align-items:center;gap:9px;font-size:21px;font-weight:600;letter-spacing:-.03em;flex:none}.brand img{width:30px;height:30px;filter:grayscale(1) brightness(1.7)}.sidebar nav{display:flex;align-items:center;gap:5px;margin-left:auto}.nav{display:flex;align-items:center;gap:8px;font-size:12px;min-height:38px;padding:9px 13px;color:var(--theme-muted);border:1px solid transparent;border-radius:5px}.nav svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}.nav:hover{background:var(--theme-surface);color:var(--theme-text)}.nav.active{background:transparent;color:var(--theme-text);border-color:transparent;border-bottom-color:var(--theme-accent);border-radius:0}.nav small{font-size:9px;margin-left:4px;color:var(--theme-accent)}.side-note{display:none}
main{width:100%;max-width:1120px;margin:0 auto;padding:20px 32px 26px}header{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:30px}.workspace-label{font-size:11px;color:var(--theme-muted)}.workspace-label span{color:var(--theme-strong);margin:0 10px}.repository-account{display:flex;align-items:center}.repository-page .small-btn{font-size:11px;padding:7px 11px;border:1px solid var(--theme-strong);border-radius:5px;color:var(--theme-text);white-space:nowrap;background:transparent}.repository-page .ps-account-menu{z-index:50}
.hero{padding:14px 0 22px}.hero h1{font-weight:650}.hero h1{display:flex;align-items:center;gap:12px;font:650 30px/1.15 var(--rx-font-ui);letter-spacing:-.025em;margin:0;color:var(--theme-text)}.plan-label{border:1px solid var(--theme-strong);border-radius:3px;font:600 10px/1.2 var(--rx-font-ui);color:var(--theme-accent);letter-spacing:0;padding:4px 6px}.hero p{font-size:13px;line-height:1.6;color:var(--theme-muted);margin:8px 0 0}
.scan-card{padding:20px 22px;border:1px solid var(--theme-strong);background:var(--theme-surface);border-radius:8px}.scan-card label{font-size:12px;font-weight:650;display:block;margin-bottom:11px;color:var(--theme-text)}.input-row{display:flex;align-items:stretch;gap:0;border:1px solid var(--theme-strong);border-radius:5px;background:var(--theme-inset);overflow:hidden}.input-row:focus-within{outline:2px solid var(--theme-accent);outline-offset:3px}input{width:100%;min-width:0;flex:1;border:0;background:transparent;color:var(--theme-text);padding:12px 14px;font-size:13px;outline:none}input::placeholder{color:var(--theme-muted)}#scan{background:var(--theme-accent);color:var(--theme-ink);border:0;border-left:1px solid var(--theme-accent);border-radius:0;padding:12px 17px;font-size:12px;font-weight:600;white-space:nowrap;min-height:43px}#scan:hover{background:var(--theme-accent)}#scan span{margin-left:16px}.form-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:8px;font-size:12px;color:var(--theme-muted)}#demo,#cancel{border:0;background:transparent;color:var(--theme-accent);font-size:12px;padding:6px 0;text-underline-offset:4px}#demo:hover,#cancel:hover{text-decoration:underline}.status-row{display:flex;align-items:center;justify-content:space-between;gap:14px}#status{font-size:11px;color:var(--theme-muted);margin:12px 0 0}.estimate{font-size:12px;color:var(--theme-accent);margin:12px 0 0;font-variant-numeric:tabular-nums}progress{width:100%;height:4px;accent-color:var(--theme-accent);margin-top:14px}
.pro-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 2px;border-bottom:1px solid var(--theme-line)}.pro-banner h2{font-size:11px;font-weight:650;margin:0 0 4px;color:var(--theme-accent)}.pro-banner p{font-size:11px;line-height:1.6;color:var(--theme-muted);margin:0}.upgrade-link{flex-shrink:0;font-size:12px;color:var(--theme-accent);padding:8px 0}.upgrade-link:hover{text-decoration:underline}.pro-banner.unlocked h2{color:var(--theme-accent)}
.scan-guide{display:grid;grid-template-columns:185px minmax(0,1fr);gap:32px;padding:24px 0 0}.scan-guide h2{font:600 19px/1.25 var(--rx-font-ui);color:var(--theme-text);margin:0;max-width:13ch}.scan-guide dl{margin:0}.scan-guide dl>div{display:grid;grid-template-columns:148px minmax(0,1fr);gap:18px;padding:10px 0;border-top:1px solid var(--theme-line)}.scan-guide dl>div:first-child{padding-top:0;border-top:0}.scan-guide dt{font-size:13px;font-weight:600;color:var(--theme-text)}.scan-guide dd{font-size:13px;color:var(--theme-muted);line-height:1.6;margin:0;max-width:66ch}footer{font-size:11px;line-height:1.7;color:var(--theme-muted);border-top:1px solid var(--theme-line);padding-top:15px;margin-top:24px}footer p{max-width:100ch;margin:8px 0}summary{cursor:pointer}footer summary{color:var(--theme-accent)}.download-app{color:var(--theme-accent);font-size:11px}
.result-summary{margin:24px 0 16px}.result-summary h2{font:650 26px/1.2 var(--rx-font-ui);letter-spacing:-.02em;color:var(--theme-text);margin:8px 0}.result-summary p{font-size:12px;color:var(--theme-muted);line-height:1.7}.review-state{display:inline-block;font-size:11px;color:var(--theme-accent);margin:0 0 4px}.review-state.partial{color:#ffb17b}.triage-grid{display:flex;flex-wrap:wrap;gap:0;margin:16px 0;border-block:1px solid var(--theme-line)}.triage-tile{flex:1;min-width:130px;display:flex;align-items:baseline;gap:9px;padding:13px 15px 13px 0}.triage-tile strong{font-size:22px;font-weight:500;font-variant-numeric:tabular-nums}.triage-tile span{font-size:11px;color:var(--theme-muted)}.triage-tile.critical strong{color:#ff9ca7}.triage-tile.high strong{color:#ffb17b}.triage-tile.medium strong{color:#f4ca82}.triage-tile.low strong{color:var(--theme-accent)}.muted{font-size:11px!important;color:var(--theme-muted)!important;line-height:1.65}.next-step{padding:0;margin:15px 0}.next-step strong{font-size:12px;font-weight:600;color:var(--theme-text)}.next-step p{margin:4px 0}.report-actions{display:flex;gap:8px;flex-wrap:wrap}.reveal-button{background:var(--theme-surface);border:1px solid var(--theme-strong);color:var(--theme-accent);padding:7px 11px;border-radius:4px;font-size:11px;min-height:32px;white-space:nowrap}.reveal-button:hover{background:var(--theme-hover);border-color:var(--theme-strong)}.reveal-button[aria-pressed=true]{color:var(--theme-accent);border-color:var(--theme-strong);background:var(--theme-hover)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:26px;padding-bottom:9px;border-bottom:1px solid var(--theme-strong)}.section-heading h3{font-size:14px;font-weight:600;margin:0;color:var(--theme-text)}.finding{padding:17px 0;border-bottom:1px solid var(--theme-line);margin:0}.finding-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.badge{font-size:10px;color:var(--theme-accent)}.danger{color:#ff9ca7}.finding h3{font-size:14px;margin:9px 0 6px;font-weight:600;color:var(--theme-text)}.finding code{font:12px/1.7 Consolas,monospace;color:var(--theme-accent);overflow-wrap:anywhere}.value-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0}.value-row .masked{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;margin:0;background:var(--theme-hover);padding:7px 12px;flex:1;border-radius:3px;color:var(--theme-accent)}.finding p{font-size:12px;line-height:1.7;color:var(--theme-muted);max-width:80ch}.finding a{font-size:12px;color:var(--theme-accent);display:inline-block;padding:4px 0}.finding-details{margin-top:10px;color:var(--theme-muted);font-size:12px}.finding-details summary{padding:4px 0}.finding-details p{margin:8px 0}.occurrences{margin-top:10px;color:var(--theme-muted);font-size:11px}.occurrences code{display:block;margin-top:8px}.occurrences[open]{max-height:280px;overflow:auto}.reference-group,.coverage-list{border-top:1px solid var(--theme-strong);padding:16px 0;margin:20px 0;font-size:12px;color:var(--theme-muted)}.reference-group summary,.coverage-list summary{color:var(--theme-accent);font-size:12px}.coverage-row{display:flex;flex-direction:column;gap:5px;padding:10px 0;border-bottom:1px solid var(--theme-line);font-size:11px}.coverage-row code{overflow-wrap:anywhere}.coverage-row span{color:var(--theme-muted)}.coverage-list[open]{max-height:450px;overflow:auto}
.api-key-alert{border:1px solid #714651;background:#34252d;padding:15px 18px;border-radius:6px;margin-bottom:20px}.api-key-alert strong{color:#ff9ca7;font-size:16px;font-weight:600}.api-key-alert p{color:#ff9ca7;margin:5px 0 0}.repository-api-notice{position:fixed;right:20px;bottom:20px;z-index:150;max-width:340px;width:calc(100% - 32px);padding:18px;border-radius:8px;background:var(--theme-surface);color:var(--theme-text);box-shadow:0 12px 36px #00000038}.repository-api-notice strong{font-size:14px;font-weight:600}.repository-api-notice p{font-size:12px;line-height:1.6;color:var(--theme-muted)}.repository-api-notice button{margin:4px 7px 0 0;background:var(--theme-hover);color:var(--theme-text);border-color:var(--theme-strong)}.repository-api-notice button:focus-visible{outline:2px solid #fff;outline-offset:3px}#api-findings{scroll-margin-top:20px}
.repository-page .ps-auth-dialog{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-strong);border-radius:12px}.repository-page .ps-auth-dialog h2{font:650 26px var(--rx-font-ui);letter-spacing:-.02em}.repository-page .ps-auth-dialog p{color:var(--theme-muted)}.repository-page .ps-auth-field{color:var(--theme-text)}.repository-page .ps-auth-field input{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-strong);border-radius:5px}.repository-page .ps-auth-submit{background:var(--theme-accent);color:var(--theme-ink);border-radius:5px}.repository-page .ps-auth-remember,.repository-page .ps-auth-link,.repository-page .ps-auth-forgot,.repository-page .ps-auth-legal a{color:var(--theme-accent)}.repository-page .ps-auth-legal{color:var(--theme-muted)!important}.repository-page .ps-auth-backdrop{backdrop-filter:none}.repository-page .ps-auth-backdrop:not(.open){visibility:hidden}.repository-page .ps-auth-backdrop.open{visibility:visible}.repository-page .ps-auth-close{color:var(--theme-muted)}.repository-page .ps-account-menu{background:var(--theme-surface);border-color:var(--theme-strong);color:var(--theme-text)}.repository-page .ps-account-email,.repository-page .ps-signout{color:var(--theme-text)}
@media(min-width:1400px){main{padding-top:28px}.hero{padding-block:22px 28px}}
@media(max-width:800px){.sidebar{padding:12px 20px;gap:18px}.nav{padding:8px 10px;font-size:11px}.nav svg{display:none}main{padding:18px 24px 24px}.hero h1{font-size:30px}.scan-guide{grid-template-columns:155px minmax(0,1fr);gap:22px}.scan-guide dl>div{grid-template-columns:1fr;gap:5px}}
@media(max-width:560px){.sidebar{flex-wrap:wrap;padding:14px 16px;gap:10px}.sidebar nav{width:100%;margin:0;justify-content:space-between}.nav{padding:8px;font-size:11px}.brand{font-size:21px}.nav small{display:none}main{padding:16px}.workspace-label{display:none}header{justify-content:flex-end}.hero{padding:12px 0 20px}.hero h1{font-size:29px}.scan-card{padding:16px}.input-row{flex-wrap:wrap}input{flex-basis:100%;min-height:44px}#scan{width:100%;border:0}.form-meta{flex-wrap:wrap}.pro-banner{align-items:flex-start;gap:12px}.pro-banner p{max-width:35ch}.upgrade-link{white-space:nowrap}.scan-guide{grid-template-columns:1fr;gap:14px}.scan-guide h2{max-width:none;font-size:22px}.scan-guide dl>div{grid-template-columns:1fr;gap:5px}.triage-tile{min-width:45%}.repository-api-notice{right:16px;bottom:16px;max-height:45vh;overflow:auto}.finding-head{align-items:flex-start}.section-heading h3{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.scan-card .history-option{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0 0;font-weight:400}.history-option input[type=checkbox]{width:16px;height:16px;min-height:16px;min-width:16px;flex:0 0 16px;padding:0;accent-color:var(--theme-accent)}.history-option input:focus-visible{outline:2px solid var(--theme-accent);outline-offset:3px}
.credential-context{margin:18px 0 14px;padding:0;max-width:75ch}.credential-identity{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin:0}.credential-identity dt{font-size:11px;color:var(--theme-muted);margin:0 0 5px}.credential-identity dd{font-size:15px;font-weight:600;line-height:1.4;color:var(--theme-text);margin:0;overflow-wrap:anywhere}.finding .credential-evidence{font-size:11px;margin:10px 0 14px}.credential-response{padding:13px 0;border-block:1px solid var(--theme-line)}.credential-response strong{font-size:12px;color:var(--theme-accent)}.credential-response p{margin:6px 0 0}.credential-response a{margin-top:5px}@media(max-width:560px){.credential-identity{grid-template-columns:1fr;gap:12px}}
