:root{--bg:#06111f;--panel:#0d1b2d;--panel2:#12243b;--line:#233955;--text:#f5f8fc;--muted:#90a5bd;--blue:#278bff;--cyan:#52d4ff;--green:#28d58b}*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:radial-gradient(circle at 85% 0,#123b6c 0,transparent 34%),var(--bg);color:var(--text);font-family:Inter,system-ui,"Segoe UI",sans-serif;min-height:100vh}button,.button,input,select{font:inherit}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,600px) 1fr}.login-card{padding:clamp(32px,7vw,90px);display:flex;flex-direction:column;justify-content:center;background:rgba(7,17,31,.8)}.brand{display:flex;align-items:center;gap:12px}.brand span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-size:23px;font-weight:900;background:linear-gradient(145deg,var(--cyan),var(--blue));box-shadow:0 0 25px #278bff66}.brand strong{font-size:18px}.eyebrow{color:var(--cyan);font-size:11px;font-weight:900;letter-spacing:.15em;margin-top:42px}.login-card h1,.hero h1{font-size:clamp(38px,6vw,62px);letter-spacing:-.05em;line-height:.98;margin:12px 0 16px}.lead,.hero p,.chart-card p,.report-head p{color:var(--muted);line-height:1.6}.login-card form{display:grid;gap:16px;margin:28px 0 18px}.login-card label,.hero label{font-size:12px;color:var(--muted)}input,select{width:100%;margin-top:7px;padding:14px;background:#071321;border:1px solid var(--line);border-radius:12px;color:var(--text);outline:none}input:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #278bff22}button,.button{border:0;border-radius:12px;padding:13px 18px;background:linear-gradient(135deg,var(--blue),#4e6fff);color:white;font-weight:800;cursor:pointer;text-decoration:none}button:disabled{opacity:.55}.error{color:#ff7c91;min-height:20px;margin:0}.login-card small{color:var(--muted)}.login-shell aside{padding:9vw;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-shell aside h2{font-size:50px;max-width:600px;z-index:1}.login-shell aside li{font-size:18px;margin:16px 0;color:#c8d7e8}.glow{position:absolute;width:500px;height:500px;border-radius:50%;background:#278bff33;filter:blur(60px);right:-100px;top:10%}header{height:76px;display:flex;justify-content:space-between;align-items:center;padding:0 max(24px,calc((100vw - 1280px)/2));border-bottom:1px solid #ffffff12;background:#06111ed9;position:sticky;top:0;z-index:2}nav{display:flex;gap:10px}.ghost{background:var(--panel2);border:1px solid var(--line)}.shell{width:min(1280px,calc(100% - 32px));margin:auto;padding:44px 0 70px}.hero{display:flex;align-items:end;justify-content:space-between;gap:30px}.hero .eyebrow{margin:0}.hero h1{font-size:clamp(36px,5vw,56px)}.hero label{min-width:320px}.sync{padding:14px 18px;border:1px solid #28d58b44;background:#28d58b0d;border-radius:13px;color:#8aefbf}.metrics{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:14px;margin:16px 0}.metrics article,.chart-card,.reports{background:linear-gradient(150deg,var(--panel),#091727);border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 20px 55px #0003}.metrics article{min-height:155px;display:flex;flex-direction:column}.metrics span,.metrics small{color:var(--muted);font-size:12px}.metrics strong{font-size:36px;margin:auto 0 6px;letter-spacing:-.04em}.metrics .featured{background:linear-gradient(135deg,#1786ef,#2858da);border-color:#53aaff}.metrics .featured span,.metrics .featured small{color:#deefff}progress{width:100%;height:7px}.chart-card{margin-bottom:16px}.chart-card h2,.reports h2{font-size:24px;margin:6px 0}.chart-card .eyebrow,.reports .eyebrow{margin:0}.chart{overflow-x:auto}.chart svg{display:block;width:100%;min-width:650px;height:auto}.chart line{stroke:#2c4059;stroke-dasharray:3 7}.chart line.target{stroke:var(--green);stroke-width:2}.chart rect{fill:var(--blue)}.chart rect.hit{fill:var(--green)}.chart rect.future{fill:#40536b;opacity:.3}.chart text{fill:#8194aa;font-size:10px}.report-head{display:flex;align-items:center;justify-content:space-between}.filters{display:grid;grid-template-columns:1fr 280px;gap:12px;margin:20px 0}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}table{width:100%;min-width:800px;border-collapse:collapse}th{text-align:left;padding:13px;color:var(--muted);font-size:11px;background:#071321}td{padding:14px;border-top:1px solid var(--line);white-space:pre-line;font-size:13px}@media(max-width:820px){.login-shell{grid-template-columns:1fr}.login-shell aside{display:none}.hero{align-items:stretch;flex-direction:column}.hero label{min-width:0}.metrics{grid-template-columns:1fr 1fr}.metrics .featured{grid-column:1/-1}.filters{grid-template-columns:1fr}}@media(max-width:480px){header{padding:12px 16px;height:auto}.brand strong{display:none}.shell{padding-top:26px}.metrics{grid-template-columns:1fr 1fr}.metrics article{padding:16px;min-height:125px}.metrics strong{font-size:28px}.chart-card,.reports{padding:16px}.report-head{align-items:flex-start;flex-direction:column;gap:14px}}

/* Captura de SAs: painel operacional deliberadamente sóbrio e seguro. */
.nav-tab{color:var(--muted)}.nav-tab.active{color:#fff;border-color:#3c9eff;background:#17355a}.sa-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:22px}.sa-hero .eyebrow{margin:0}.sa-hero h1{font-size:clamp(36px,5vw,58px);letter-spacing:-.05em;line-height:1;margin:12px 0}.sa-hero p{color:var(--muted);max-width:680px}.safety-state{display:flex;align-items:center;gap:12px;min-width:270px;padding:18px;border:1px solid #ffb84d55;border-radius:16px;background:#2b2112}.safety-state div{display:grid;gap:4px}.safety-state small{font-size:10px;letter-spacing:.12em;color:#e4b96f}.safety-state strong{color:#ffd494}.status-dot{width:12px;height:12px;border-radius:50%;background:#ffb84d;box-shadow:0 0 0 6px #ffb84d18}.safety-banner{display:flex;gap:12px;align-items:baseline;padding:16px 20px;margin-bottom:16px;border-left:4px solid #ffb84d;border-radius:8px;background:#ffb84d0d;color:#d7c5a8}.safety-banner strong{color:#ffd494;white-space:nowrap}.sa-grid{display:grid;grid-template-columns:1.35fr .85fr;gap:16px;margin-bottom:16px}.capture-card{background:linear-gradient(150deg,var(--panel),#091727);border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 20px 55px #0003}.section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.section-title .eyebrow{margin:0}.section-title h2{font-size:25px;margin:6px 0}.hint{color:var(--muted);font-size:13px;line-height:1.55}.read-only-pill,.count-badge{border:1px solid #52d4ff55;background:#52d4ff10;color:var(--cyan);padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.filter-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.filter-form label{font-size:12px;color:#b9c7d8}.filter-options-group:nth-of-type(3),.form-footer{grid-column:1/-1}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:4px}.inline-status{min-height:20px;margin:0;color:#88e6b9;font-size:12px}.watch-form{display:flex;gap:10px;margin:22px 0 8px}.watch-form input{margin:0}.watch-list{display:grid;gap:8px;margin-top:16px;max-height:286px;overflow:auto}.watch-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#071321}.watch-item strong{font-size:13px}.watch-meta{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px}.watch-item button{padding:6px 9px;background:transparent;border:1px solid #ff6f873b;color:#ff8da0}.watch-found{color:var(--green)}.search-card .section-title{align-items:center;margin-bottom:18px}.priority-row{background:#28d58b0b}.priority-tag{display:inline-block;margin-top:5px;color:var(--green);font-size:10px;font-weight:900;letter-spacing:.08em}.empty-state{text-align:center;color:var(--muted);padding:42px}.goal-line{stroke:var(--green)!important;stroke-width:2}.bar.goal{fill:var(--green)}.pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:16px}
.filter-options-group{min-width:0;margin:0;padding:12px;border:1px solid var(--line);border-radius:14px}.filter-options-group legend{padding:0 6px;color:#b9c7d8;font-size:12px}.filter-options-list{display:flex;flex-wrap:wrap;gap:8px;max-height:150px;overflow:auto}.filter-option{display:inline-flex!important;align-items:center;gap:7px;padding:8px 10px;border:1px solid #35506f;border-radius:999px;background:#071321;color:#d9e7f6!important;cursor:pointer}.filter-option:has(input:checked){border-color:var(--cyan);background:#163a57;color:#fff!important}.filter-option input{width:15px;height:15px;margin:0;accent-color:var(--blue)}.filter-options-empty{color:var(--muted);font-size:12px;line-height:1.45}.automation-control{grid-column:1/-1;display:grid;gap:12px;padding:16px;border:1px solid #ffb84d55;border-radius:14px;background:#2b21127a}.automation-control small{color:#c9b186;line-height:1.5}.toggle-line{display:flex;align-items:center;gap:10px;color:#ffd494!important;font-weight:800}.toggle-line input{width:18px;height:18px;margin:0;accent-color:var(--green)}.safety-state.enabled{border-color:#28d58b55;background:#102d25}.safety-state.enabled .status-dot{background:var(--green);box-shadow:0 0 0 6px #28d58b18}.safety-state.enabled strong{color:#8aefbf}.safety-state.enabled small{color:#6ecb9f}
@media(max-width:1050px){header{align-items:flex-start;height:auto;padding-top:12px;padding-bottom:12px}.brand{padding-top:6px}nav{flex-wrap:wrap;justify-content:flex-end}.sa-grid{grid-template-columns:1fr}.safety-banner{align-items:flex-start;flex-direction:column}.safety-banner strong{white-space:normal}}
@media(max-width:720px){.sa-hero{align-items:stretch;flex-direction:column}.safety-state{min-width:0}.filter-form{grid-template-columns:1fr}.filter-options-group:nth-of-type(3),.form-footer{grid-column:auto}.form-footer{align-items:stretch;flex-direction:column}.form-footer button{width:100%}.search-card .section-title{align-items:stretch;flex-direction:column}.watch-form{flex-direction:column}header{position:static}.brand{display:none}nav{width:100%;justify-content:flex-start;overflow:auto;flex-wrap:nowrap}nav>*{white-space:nowrap}}
