:root{--bg:#f7f8fa;--ink:#233630;--muted:#63736b;--line:#e7eae9;--green:#175d4b;--mint:#d9eee6;--sidebar:244px}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}
button,a{ -webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button{color:inherit}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible{outline:3px solid #75bba6;outline-offset:3px}
.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:31px 19px 0;display:flex;flex-direction:column}
.brand{display:flex;align-items:center;margin:0 14px 32px;line-height:1}
.brand-logo{display:block;width:178px;height:auto;max-height:34px;object-fit:contain;object-position:left center}
.brand-icon{background:var(--green);color:white;font-family:Georgia,serif;font-style:italic;font-size:32px;width:34px;height:36px;display:grid;place-items:center;border-radius:11px 11px 11px 3px;margin-right:10px;transform:rotate(-5deg)}
.brand-dot{color:#5c9f86}
.workspace{background:white;border:1px solid var(--line);border-radius:8px;padding:12px 10px;display:flex;align-items:center;text-align:left;gap:10px;width:100%;font-weight:600;font-size:14px}
.workspace-avatar{border:1px solid #dce6e1;background:#eff5f1;border-radius:7px;padding:7px 10px;font-size:15px}
.workspace small,.profile small{display:block;color:var(--muted);font-size:14px;font-weight:400;margin-top:5px}
.chevron{margin-left:auto}
.nav-label{font-size:14px;letter-spacing:1.5px;color:#939b9b;margin:29px 13px 12px;font-weight:600}
nav button{display:flex;align-items:center;gap:13px;border:0;background:transparent;width:100%;padding:12px 14px;margin:3px 0;text-align:left;color:#78807f;font-size:14px;border-radius:6px}
nav button>span{font-size:19px;width:20px;line-height:20px}
nav button.active{background:#eaf3ed;color:#255e49;font-weight:600}
nav button:hover{background:#f3f6f4}
nav i{font-size:14px;font-style:normal;background:#eef0ef;margin-left:auto;padding:2px 6px;border-radius:4px}
.nav-second{margin-top:35px}
.sidebar-bottom{margin-top:auto}
.privacy-note{background:#f6f8f5;border:1px solid #eaf0e7;border-radius:9px;padding:17px 14px;margin-bottom:17px}
.little-shield{display:block;color:#648773;font-size:24px;margin-bottom:10px}
.privacy-note strong{font-size:14px}
.privacy-note p{color:#89938d;font-size:14px;line-height:1.8}
.privacy-note button{padding:0;background:none;border:0;font-size:14px;color:#517864;margin-top:6px}
.help{border:0;background:none;padding:13px;width:100%;display:flex;gap:10px;font-size:14px;color:#818987}
.help span:last-child{margin-left:auto}
.profile{display:flex;align-items:center;width:100%;gap:10px;border:0;border-top:1px solid var(--line);background:white;padding:20px 0;margin-top:6px;text-align:left;font-size:14px}
.profile>span:last-child{margin-left:auto}
.avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:#efe9e0;color:#806b55;font-size:14px;font-weight:600}
.small{width:29px;height:29px;font-size:14px}
.main-shell{margin-left:var(--sidebar)}
header{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 39px;background:#fff}
.breadcrumbs{font-size:14px;color:#909795}
.breadcrumbs span{margin:0 15px;color:#c2c9c5}
.breadcrumbs strong{font-weight:500;color:#46594f}
.header-right{display:flex;align-items:center;gap:22px}
.system-status{font-size:14px;color:#7c8882;display:flex;align-items:center;gap:7px}
.system-status i,.status i{height:5px;width:5px;background:#539b76;border-radius:50%;display:inline-block}
.icon-button{background:none;border:0;color:#7e8882;font-size:20px}
main{max-width:1450px;padding:35px 39px 24px;margin:auto}
.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}
.eyebrow{color:#7a8c80;letter-spacing:1.6px;font-size:14px;text-transform:uppercase;margin-bottom:9px}
h1{font-size:28px;font-weight:590;letter-spacing:-1px;margin:0 0 9px}
.page-heading p{font-size:14px;color:#87908d;margin:0}
.actions{display:flex;align-items:center;gap:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dfe5e1;background:white;padding:10px 14px;border-radius:6px;font-size:14px;font-weight:500;min-height:36px}
.btn.primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 2px 3px #143e4110}
.btn:hover{filter:brightness(.97)}
.btn .plus{font-size:18px;line-height:12px}
.hero{background:#edf3ef;border:1px solid #dfe9e2;border-radius:10px;padding:28px 30px;position:relative;overflow:hidden;display:flex;min-height:169px;align-items:center;margin-bottom:23px}
.hero-copy{position:relative;z-index:1}
.hero h2{font-size:23px;letter-spacing:-.7px;font-weight:550;margin:8px 0 10px}
.hero p{color:#788a7f;font-size:14px;line-height:1.8;margin:0}
.hero-tag{color:#40765b;font-size:14px;letter-spacing:.2px;display:flex;align-items:center;gap:6px}
.hero-tag span{font-size:14px}
.hero-tags{display:flex;gap:19px;margin-top:19px;color:#66806e;font-size:14px}
.hero-tags span::first-letter{color:#2f7654}
.hero-art{position:absolute;right:53px;top:-25px;width:245px;height:245px;display:grid;place-items:center}
.orbit{position:absolute;border:1px solid #d2e2d6;border-radius:50%;width:235px;height:235px}
.orbit.two{width:176px;height:176px}
.orbit.three{width:119px;height:119px;background:#e1eee3}
.shield{width:65px;height:77px;background:linear-gradient(145deg,#5b9875,#327251);clip-path:polygon(50% 0,95% 16%,92% 58%,80% 78%,50% 100%,20% 78%,8% 58%,5% 16%);display:grid;place-items:center;color:#f2faf3;font-size:31px;filter:drop-shadow(0 6px 5px #2a543a20)}
.art-node{position:absolute;border-radius:50%;background:#fff9;border:1px solid #d5e3d9;width:29px;height:29px;display:grid;place-items:center;color:#759884;font-size:14px}
.node-a{top:47px;left:30px}
.node-b{right:12px;bottom:66px}
.node-c{left:54px;bottom:25px;width:20px;height:20px;font-size:14px}
.section-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}
.section-top h2,.card h2{font-size:14px;font-weight:600;margin:0}
.section-top .time-note{font-size:14px;color:#9ba29e}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:22px}
.metric{border:1px solid var(--line);background:white;padding:18px;border-radius:8px}
.metric-label{display:flex;justify-content:space-between;align-items:center;color:#7f8a84;font-size:14px}
.metric-icon{font-size:16px;color:#94a299}
.metric-number{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:27px;letter-spacing:-.9px;font-weight:550}
.metric-number small{font-size:14px;letter-spacing:0;color:#a0a7a2;font-weight:400}
.change{font-size:14px;color:#4e8869;letter-spacing:0;background:#f0f7f1;padding:4px 5px;border-radius:4px;font-weight:400}
.metric-foot{font-size:14px;color:#9ca5a0;margin-top:10px}
.charts{display:grid;grid-template-columns:minmax(0,1fr) 277px;gap:20px;margin-bottom:25px}
.card{border:1px solid var(--line);background:white;border-radius:9px;overflow:hidden}
.card-header{display:flex;justify-content:space-between;align-items:center;padding:21px 21px 0}
.card-subtitle{font-size:14px;color:#919b94;margin:7px 0 0}
.chart-legend{display:flex;gap:14px;font-size:14px;color:#8c958f}
.chart-legend span{display:flex;align-items:center;gap:5px}
.dot{display:inline-block;width:6px;height:6px;background:#437d60;border-radius:50%}
.dot.light{background:#c6d9c5}
.chart-wrap{padding:14px 19px 0;height:215px}
.chart-wrap svg{width:100%;height:100%;overflow:visible}
.chart-footer{display:flex;align-items:center;gap:7px;font-size:14px;color:#8a948d;border-top:1px solid #f0f2f0;padding:12px 21px}
.chart-footer span{color:#4c8865}
.donut-key{padding:0 22px 17px;display:grid;gap:10px}
.donut-key div{display:flex;gap:7px;align-items:center;font-size:14px;color:#8b948e}
.donut-key strong{color:#536658;font-size:14px;margin-left:auto;font-weight:500}
.table-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.table-heading{display:flex;align-items:center;gap:9px}
.table-heading h2{font-size:14px;margin:0;font-weight:600}
.count{background:#e9edeb;padding:3px 6px;font-size:14px;border-radius:4px;color:#6b7d71}
.text-button{background:none;border:0;color:#6b8273;font-size:14px}
.table-controls{display:flex;gap:9px}
.search{border:1px solid var(--line);background:white;border-radius:5px;display:flex;align-items:center;gap:8px;padding:7px 10px;color:#98a29b}
.search input{border:0;outline:0;width:139px;font-size:14px;background:transparent}
.filter{border:1px solid var(--line);background:white;border-radius:5px;font-size:14px;padding:7px;color:#7f8a82}
.table-scroll{overflow:auto}
table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}
th{font-weight:400;color:#929b96;font-size:14px;background:#fcfdfc;padding:12px 20px;border-bottom:1px solid var(--line)}
td{padding:14px 20px;border-bottom:1px solid #f0f2f0;font-size:14px;color:#6f7e74}
tr:last-child td{border-bottom:0}
.site-cell{display:flex;align-items:center;gap:11px}
.site-logo{width:30px;height:30px;border:1px solid #e7e9e4;border-radius:7px;background:#f6f5f1;color:#8e9684;font-family:Georgia,serif;font-size:17px;display:grid;place-items:center}
.site-cell strong{font-size:14px;font-weight:550;display:block;color:#445a4c}
.site-cell small{font-size:14px;color:#a0a8a2;display:block;margin-top:4px}
.status{display:inline-flex;align-items:center;gap:5px;color:#60816b;font-size:14px;background:#f0f6f0;border:1px solid #e6f0e5;border-radius:4px;padding:4px 7px}
.status.pending{color:#a5946a;background:#faf8ef;border-color:#f2edde}
.status.pending i{background:#baa473}
.spark{width:65px;height:20px}
.row-more{background:transparent;border:0;color:#8e9c92;font-size:18px}
.table-bottom{padding:13px 20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#a0a9a2;font-size:14px}
.bottom-strip{display:flex;justify-content:space-between;gap:16px;margin-top:19px}
.bottom-strip>div{display:flex;gap:10px;align-items:center;font-size:14px;color:#8c978f}
.bottom-strip b{font-weight:500;color:#718474}
.bottom-strip .strip-icon{border:1px solid #e2e8e1;border-radius:6px;background:#f0f5ef;padding:7px;color:#829782;font-size:15px}
footer{max-width:1450px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:8px 39px 24px;color:#a6ada7;font-size:14px}
.footer-mark{font-family:Georgia;font-size:18px;font-style:italic;color:#8e9c91;margin-right:6px}
.footer-logo{display:block;width:112px;height:auto;max-height:20px;object-fit:contain;object-position:left center}
.eu{color:#a4b798;margin-left:7px}
dialog{border:1px solid var(--line);border-radius:14px;padding:28px;width:min(520px,calc(100% - 32px));color:var(--ink);box-shadow:0 25px 90px #102b3526}
dialog::backdrop{background:#1a2f284f;backdrop-filter:blur(4px)}
dialog h2{margin:0;font-size:22px;letter-spacing:-.6px}
dialog p{color:#849087;line-height:1.8;font-size:14px}
.modal-top{display:flex;justify-content:space-between;align-items:center}
.close{background:none;border:0;font-size:24px;color:#8a948e}
label.field{display:block;font-size:14px;margin-top:20px}
.field input{display:block;border:1px solid #dbe4de;border-radius:6px;padding:12px;width:100%;margin-top:8px;outline-color:#79a98d}
form .btn{margin-top:23px;width:100%}
.error{color:#a35247;font-size:14px;line-height:1.6}
.empty{padding:50px 20px;text-align:center;color:#8a968d}
.content-card{padding:28px;margin-bottom:20px;max-width:900px}
.content-card h2{margin:0 0 12px;font-size:18px}
.content-card p,.content-card li{font-size:14px;line-height:1.9;color:#829086}
.content-card pre,dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6f3;border:1px solid #e2e9e2;padding:18px;border-radius:7px;font-size:14px;line-height:1.9;color:#4c725a}
.content-card .btn{margin-top:10px}
#toast{position:fixed;right:28px;bottom:25px;background:#244f3e;color:white;padding:14px 20px;border-radius:8px;box-shadow:0 5px 25px #243f2820;opacity:0;transform:translateY(12px);transition:.2s;pointer-events:none;z-index:5;max-width:420px;font-size:14px}
#toast.show{opacity:1;transform:none}
.settings-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding:20px 0}
.settings-row h3{font-size:14px;margin:0}
.settings-row p{margin:5px 0 0;font-size:14px}
.mode-select{padding:9px;border:1px solid var(--line);border-radius:6px;background:white}
.notice{padding:14px 18px;background:#f4f1e9;border:1px solid #e9e2d1;border-radius:7px;font-size:14px;line-height:1.8;color:#958563;margin-bottom:20px}
@media(min-width:1500px){main{padding-top:45px}
.hero{min-height:190px}
.metric{padding:23px}
.chart-wrap{height:250px}
td{padding-top:18px;padding-bottom:18px}
}
@media(max-width:1150px){:root{--sidebar:215px}
main{padding:28px 25px}
.hero-art{right:5px}
.charts{grid-template-columns:minmax(0,1fr) 230px}
.metric{padding:15px}
.metric-number{font-size:23px}
.change{font-size:14px}
th,td{padding-left:13px;padding-right:13px}
.sidebar{padding-left:14px;padding-right:14px}
.chart-legend{gap:7px}
}
@media(max-width:900px){:root{--sidebar:185px}
.workspace{font-size:14px}
.workspace-avatar{display:none}
.hero-art{opacity:.4;right:-60px}
.hero-copy{max-width:85%}
.metric-grid{grid-template-columns:repeat(2,1fr)}
.charts{grid-template-columns:1fr}
.protection{display:none}
.privacy-note{padding:12px 9px}
.privacy-note strong{font-size:14px}
.page-heading{align-items:flex-start;gap:15px}
.page-heading .actions{flex-wrap:wrap;justify-content:flex-end}
.system-status{display:none}
.table-top{gap:15px;align-items:flex-start;flex-wrap:wrap}
.bottom-strip{flex-wrap:wrap}
header{padding:0 25px}
footer{padding:10px 25px 20px}
footer>span:last-child{display:none}
}
@media(max-width:600px){:root{--sidebar:0px}
.sidebar{position:static;width:100%;height:auto;padding:16px 18px 8px;border-right:0;border-bottom:1px solid var(--line)}
.brand{font-size:28px;margin:0 0 13px}
.brand-icon{width:25px;height:27px;font-size:24px}
.workspace,.sidebar .nav-label,.sidebar-bottom{display:none}
.sidebar nav{display:flex;overflow:auto;gap:5px}
.sidebar nav button{width:auto;white-space:nowrap;padding:8px 10px;font-size:14px}
.sidebar nav button span,nav i{display:none}
header{height:49px;padding:0 20px}
.header-right{gap:13px}
.main-shell{margin:0}
main{padding:24px 18px}
.page-heading{flex-direction:column;margin-bottom:20px}
h1{font-size:25px}
.page-heading .actions{justify-content:flex-start;width:100%}
.hero{padding:23px 20px;min-height:185px}
.hero h2{font-size:21px}
.hero-copy{max-width:100%}
.hero p{max-width:230px}
.hero-art{opacity:.23}
.hero-tags{gap:10px;font-size:14px}
.metric-grid{gap:10px}
.metric{padding:14px}
.metric-number{font-size:24px;gap:5px}
.change{font-size:14px}
.metric-foot{font-size:14px}
.section-top .time-note{font-size:14px}
.card-header{padding:18px 15px 0}
.chart-legend{font-size:14px}
.chart-wrap{padding:12px 9px 0;height:200px}
.table-controls{width:100%}
.search{flex:1}
.search input{width:100%}
.bottom-strip>div{font-size:14px}
.content-card{padding:20px}
.settings-row{align-items:flex-start;flex-direction:column}
footer{padding:0 20px 20px}
.chart-footer{font-size:14px}
.hero .eyebrow{font-size:14px}
}

[hidden]{display:none!important}
.login-screen{min-height:100dvh;display:grid;place-items:center;padding:30px;background:radial-gradient(ellipse at 80% 10%,#e0eee4,transparent 50%),#f6f8f5}
.login-card{width:min(440px,100%);padding:35px;background:white;border:1px solid #dfe8e0;border-radius:16px;box-shadow:0 18px 70px #25483508}
.login-card .brand{margin:0 0 35px}
.login-card h1{font-size:26px}
.login-card p{color:#77877c;line-height:1.8;font-size:14px}
.login-card .login-note{font-size:14px;margin-top:24px}
.login-card pre{white-space:pre-wrap;word-break:break-word;padding:16px;background:#f2f6f1;border-radius:7px;font-size:14px}
.field select{display:block;width:100%;padding:11px;border:1px solid #dbe4de;border-radius:6px;margin-top:8px;background:white}
.modal-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:25px}
.danger{color:#a84e44;border-color:#ecd1ce}
.small-btn{font-size:14px;min-height:27px;padding:6px 10px}
.real-summary{padding:30px 20px;text-align:center}
.summary-value{font-size:34px;letter-spacing:-1px}
.real-summary p{font-size:14px;color:#8b998e}
.chart-empty{height:100%;padding:26px 15px}
.chart-empty>span{display:block;font-size:24px;color:#8da893;margin-bottom:10px}
.empty strong{font-size:14px;font-weight:550;display:block;color:#667d6b}
.empty p{font-size:14px;color:#8c9a90;line-height:1.8}
.card .chart-wrap{height:220px}
code{font-size:14px;overflow-wrap:anywhere}
.notice p{margin:10px 0}
.profile{font-size:14px}
.profile span:last-child{font-size:14px}
.login-card form .btn{margin-top:13px}
.content-card ul,.content-card ol{padding-left:18px}
@media(max-width:600px){.login-card{padding:25px}
.card .chart-wrap{height:215px}
.login-screen{padding:20px}
.hero-tags{flex-wrap:wrap}
.sidebar nav{padding-bottom:4px}
.header-right .btn{font-size:14px;padding:7px}
.system-status{display:none}
}

.sidebar{overflow-y:auto;overscroll-behavior:contain}.sidebar .brand,.sidebar .workspace,.sidebar nav{flex-shrink:0}.sidebar-bottom{padding-top:16px}.login-card .error{color:#9c3f35}@media(max-width:600px){.sidebar{overflow-y:visible}.sidebar nav button[data-page=settings]{display:flex}}

.risk-details{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:9px;background:#f6f8f5}
.risk-details summary{cursor:pointer;font-size:14px;font-weight:600}
.risk-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;margin-top:12px}
.risk-counts p{margin:0;overflow-wrap:anywhere}

/* Readable controls and compact task-focused navigation. */
:root{--sidebar:260px}
.page-heading p,.content-card p,.content-card li,dialog p,.login-card p{font-size:16px;color:#596c61}
.metric-label,.metric-foot,.site-cell small,th,td,.card-subtitle,.breadcrumbs{color:#596c61}
nav button,.btn,.filter,.field input,.field select{min-height:44px}
input,select{font-size:16px!important}
.search:focus-within{outline:3px solid #75bba6;outline-offset:2px}
.page-heading{gap:20px}.page-heading>div{min-width:0}
.content-card details,.advanced-settings{border-top:1px solid var(--line);padding:16px 0;margin-top:16px}
summary{cursor:pointer;font-weight:600;min-height:32px}
dialog{width:min(640px,calc(100% - 32px));max-height:90dvh;overflow:auto}
.risk-counts{grid-template-columns:1fr}.modal-top{gap:16px}
.close{min-width:44px;min-height:44px}.content-card .btn{margin-right:8px}
@media(max-width:1100px){:root{--sidebar:230px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.charts{grid-template-columns:1fr}.card-header{flex-wrap:wrap;gap:12px}}
@media(max-width:600px){:root{--sidebar:0px}.sidebar-bottom{display:block;padding-top:0}.profile{padding:8px 0}.sidebar nav button{font-size:14px}.breadcrumbs{font-size:14px}.breadcrumbs>span{margin:0 6px}header{height:auto;min-height:64px;gap:12px;padding:10px 18px}.breadcrumbs{min-width:0}.header-right .btn{font-size:14px}.metric-grid{grid-template-columns:1fr 1fr}.metric-label{align-items:flex-start}.metric-icon{display:none}.metric-number{font-size:28px}.table-controls{flex-wrap:wrap}.search{min-width:0}.filter{max-width:100%}.charts .chart-wrap{overflow:auto}.chart-wrap svg{min-width:480px}.login-card{padding:24px}.login-card h1{font-size:28px}}

@media(max-width:600px){.sidebar nav{flex-wrap:wrap;overflow:visible}.sidebar nav button{flex:1 0 auto}.sidebar nav button[data-page=docs]{flex-grow:0}}

.account-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:14px 0}.account-row strong{overflow-wrap:anywhere}dialog h3{margin-top:24px}dialog li{line-height:1.7;margin:8px 0}
