:root{--tblr-primary:#284e86;
--tblr-primary-rgb:40,78,134;
--tblr-font-sans-serif:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
--tblr-body-bg:#f5f7fb;
--tblr-body-color:#202c40}
body{margin:0}
 [hidden]{display:none!important}
button,a,input,select{touch-action:manipulation}
 :focus-visible{outline:3px solid #6d9ada;
outline-offset:3px}
.skip-link{position:fixed;
z-index:100;
left:16px;
top:-80px;
background:white;
padding:12px}
.skip-link:focus{top:16px}
.brand{display:grid;
grid-template-columns:36px auto;
gap:0 12px;
align-items:center;
color:inherit;
font-size:22px;
font-weight:700;
text-decoration:none;
line-height:1.2}
.brand:hover{color:inherit;
text-decoration:none}
.brand-mark{grid-row:span 2;
display:grid;
place-items:center;
width:36px;
height:40px;
border:1px solid #ffffff45;
border-radius:10px;
font-size:22px;
background:#ffffff10}
.brand-product{font-size:11px;
color:#b8c7dd;
font-weight:400;
letter-spacing:.03em}
.login-layout{min-height:100vh;
display:grid;
grid-template-columns:1fr 1fr}
.login-story{background:linear-gradient(150deg,#152844,#24456f);
color:white;
padding:48px 64px;
display:flex;
flex-direction:column}
.story-copy{margin:auto 0;
max-width:480px;
padding:70px 0}
.eyebrow{font-size:11px;
font-weight:700;
letter-spacing:.13em;
color:#86a7d7;
margin-bottom:20px}
.story-copy h1{color:#fff;
font-size:clamp(38px,4vw,58px);
font-weight:650;
letter-spacing:-.045em;
line-height:1.12;
margin-bottom:24px}
.story-copy>p{font-size:18px;
line-height:1.7;
color:#cad6e8;
max-width:400px}
.story-rule{height:1px;
background:#ffffff25;
width:70px;
margin:36px 0}
.story-benefits p{display:flex;
gap:20px;
color:#d5dfed;
font-size:14px;
margin-bottom:18px}
.story-benefits span{font-size:11px;
color:#9fb9df;
font-weight:700;
align-self:center}
.story-footer{font-size:10px;
letter-spacing:.14em;
color:#9fb3ce}
.login-panel{display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
padding:48px;
background:#f6f8fc}
.login-card{width:100%;
max-width:420px;
background:white;
padding:40px;
border:1px solid #e3e8f0;
border-radius:16px;
box-shadow:0 12px 48px #24385808}
.login-card h2{font-size:28px;
letter-spacing:-.025em;
margin-bottom:12px}
.login-card p{line-height:1.65}
.google-button{min-height:48px;
font-weight:600;
gap:12px;
border-color:#d8dfe9}
.google-mark{font-size:21px;
font-weight:750;
color:#4285f4}
.login-hint{font-size:12px;
text-align:center;
color:#67758b;
margin-top:18px;
margin-bottom:24px}
.login-security{border-top:1px solid #e8edf4;
display:flex;
gap:12px;
padding-top:24px;
color:#68788f;
font-size:12px}
.login-security>span{font-size:25px;
color:#365882}
.login-security p{margin:0}
.login-footnote{font-size:12px;
color:#6b7a90;
text-align:center;
margin-top:24px}
.workspace{display:flex;
min-height:100vh}
.sidebar{width:248px;
flex-shrink:0;
background:#172b48;
color:#e2eaf7;
padding:32px 20px;
display:flex;
flex-direction:column}
.sidebar .brand{margin:0 12px 40px}
.sidebar-label{font-size:10px;
color:#96accd;
letter-spacing:.11em;
margin:24px 14px 12px;
font-weight:600}
.nav-item{display:flex;
align-items:center;
gap:12px;
width:100%;
border:0;
border-radius:7px;
padding:13px 14px;
margin:3px 0;
background:transparent;
color:#c9d6e9;
text-align:left;
font-size:13px;
font-weight:500}
.nav-item>span{font-size:19px;
width:20px;
text-align:center;
color:#9eb6d8}
.nav-item:hover{background:#ffffff09;
color:white}
.nav-item.active{background:#304966;
color:white}
.nav-item.active>span{color:white}
.sidebar-bottom{margin-top:auto;
padding:32px 12px 0;
font-size:11px;
line-height:1.7;
color:#9fb2ce}
.sidebar-note{color:#d0ddef;
font-weight:600;
margin-bottom:8px}
.workspace-body{flex:1;
min-width:0}
.topbar{min-height:78px;
background:#fff;
border-bottom:1px solid #e5eaf2;
display:flex;
justify-content:space-between;
align-items:center;
padding:16px 36px;
gap:20px}
.topbar-label{font-size:12px;
color:#748299}
.account{display:flex;
align-items:center;
gap:12px;
min-width:0}
.account-email{font-size:12px;
color:#526078;
overflow-wrap:anywhere}
.content{max-width:1460px;
margin:auto;
padding:36px}
.page-header{display:flex;
flex-direction:row;
text-align:left;
align-items:center;
justify-content:space-between;
gap:20px;
margin-bottom:28px}
.page-title{font-size:27px;
letter-spacing:-.025em;
margin-bottom:7px}
.page-pretitle{font-size:10px;
letter-spacing:.12em;
color:#728299;
margin-bottom:8px}
.metrics{display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:20px;
margin-bottom:28px}
.card{border:1px solid #e2e8f0;
border-radius:10px;
box-shadow:0 2px 4px #1c355703;
overflow:hidden}
.card-header{padding:22px 24px;
gap:16px;
flex-wrap:wrap;
border-bottom:1px solid #eef1f6;
min-height:72px}
.card-title{font-size:15px;
font-weight:600;
margin:0}
.card-body{padding:24px}
.metric{padding:24px}
.metric>.text-secondary{font-size:12px;
font-weight:500}
.metric-value{font-size:34px;
font-weight:600;
margin:12px 0 6px;
line-height:1.2}
.metric-status{font-size:19px;
font-weight:600;
margin:20px 0 10px}
.metric p{margin:0;
font-size:11px;
color:#758399;
line-height:1.6}
.overview-grid{display:grid;
grid-template-columns:1.3fr 1fr;
gap:24px}
.security-card{background:#eef3fa;
border-color:#e0e7f2}
.security-card h2{font-size:22px;
margin:10px 0 18px}
.security-card p{font-size:13px;
color:#62748d;
line-height:1.8}
.security-card .eyebrow{color:#5476a5;
margin:0}
.empty-state{text-align:center;
padding:44px 24px}
.empty-symbol{font-size:30px;
color:#94a7bf;
margin-bottom:12px}
.empty-state h3{font-size:16px;
font-weight:600;
margin:0 0 8px}
.empty-state p{max-width:420px;
margin:0 auto;
font-size:13px;
line-height:1.7;
color:#758399}
.agent-row,.secret-row{display:flex;
justify-content:space-between;
align-items:center;
gap:16px;
padding:16px 0;
border-bottom:1px solid #edf1f6}
.agent-row:last-child,.secret-row:last-child{border-bottom:0}
.agent-row{flex-wrap:wrap}
.agent-row>span{flex:1 1 160px;
min-width:0;
overflow-wrap:anywhere}
.agent-row>.btn{flex-shrink:0}
.secret-meta{min-width:0}
.secret-name{font-weight:600;
overflow-wrap:anywhere}
.secret-state{font-size:12px;
color:#6a7990;
margin-top:5px}
.agent-picker{font-size:11px;
color:#6c7c93;
margin-left:auto;
min-width:160px}
.agent-picker select{margin-top:5px}
.table-responsive{overflow:auto}
.table{font-size:12px;
margin:0}
.table td{padding:16px 24px;
max-width:400px;
overflow-wrap:anywhere}
.table th{padding:12px 24px;
color:#748299;
background:#fafbfd;
font-size:10px;
letter-spacing:.06em}
.workspace-footer{display:flex;
justify-content:space-between;
gap:16px;
margin-top:40px;
color:#8491a6;
font-size:10px;
border-top:1px solid #e6ebf3;
padding-top:20px}
.feedback{padding:14px 18px;
border:1px solid #d6e1ef;
border-radius:8px;
background:#edf3fb;
color:#30547d;
margin-bottom:24px;
font-size:13px}
.feedback.error,.form-feedback{background:#fff1ef;
color:#943c36}
.feedback.success{background:#edf7f1;
color:#386e50}
.btn{font-weight:500;
min-height:38px}
.btn-primary{background:#284e86;
border-color:#284e86}
.btn-primary:hover{background:#1c3b69;
border-color:#1c3b69}
dialog{border:1px solid #e1e7f0;
border-radius:12px;
box-shadow:0 28px 96px #0e223840;
width:520px;
max-width:calc(100vw - 32px);
padding:0;
color:#24344d;
max-height:calc(100dvh - 40px);
overflow:auto}
dialog::backdrop{background:#14294188;
backdrop-filter:blur(3px)}
.dialog-header{padding:22px 24px;
display:flex;
justify-content:space-between;
align-items:center;
border-bottom:1px solid #e8edf4}
.dialog-header h2{font-size:18px;
margin:0}
.dialog-body{padding:24px}
.dialog-footer{padding:16px 24px;
background:#fafbfd;
border-top:1px solid #e8edf4;
display:flex;
justify-content:flex-end;
gap:10px}
.dialog-body .form-label{font-size:12px;
margin-top:18px}
.dialog-body>.form-label:first-child{margin-top:0}
.form-hint{font-size:11px;
line-height:1.6;
margin:8px 0 16px;
color:#718198}
.form-check{margin-top:22px}
.close-dialog:not(.btn){border:0;
background:transparent;
color:#77869b;
font-size:25px;
line-height:1;
padding:4px 8px}
.form-feedback{padding:12px;
border-radius:6px;
font-size:12px;
margin-top:16px;
margin-bottom:0}

@media(max-width:1100px){.content{padding:28px}
.sidebar{width:220px;
padding:28px 12px}
.topbar{padding:16px 28px}
.metric{padding:20px}
.metric-status{font-size:17px}
.login-story{padding:40px}
.login-panel{padding:32px}
.overview-grid{grid-template-columns:1fr}
}

@media(max-width:767px){.login-layout{display:block}
.login-story{padding:28px}
.story-copy{padding:36px 0 0}
.story-copy h1{font-size:38px}
.story-copy>p{font-size:15px}
.story-benefits,.story-rule,.story-footer{display:none}
.login-panel{padding:28px 20px}
.login-card{padding:28px}
.login-footnote{font-size:11px}
.workspace{display:block}
.sidebar{width:auto;
padding:20px 16px}
.sidebar .brand{margin:0 0 18px}
.sidebar-label,.sidebar-bottom{display:none}
#navigation{display:flex;
flex-wrap:wrap;
gap:4px}
#admin-nav{display:contents}
.nav-item{width:auto;
padding:10px;
font-size:11px;
gap:6px}
.nav-item>span{font-size:15px;
width:15px}
.topbar{padding:16px;
min-height:64px}
.topbar-label{display:none}
.account{width:100%;
gap:8px;
flex-wrap:wrap}
.account .btn{margin-left:auto}
.account-email{max-width:210px}
.content{padding:24px 16px}
.page-header{align-items:flex-start;
flex-wrap:wrap;
gap:16px}
.page-title{font-size:24px}
.page-header p{font-size:12px}
.metrics{grid-template-columns:1fr;
gap:12px;
margin-bottom:20px}
.metric{padding:20px}
.metric-value{font-size:30px}
.metric-status{margin:12px 0 8px}
.overview-grid{gap:16px}
.card-header,.card-body{padding:20px}
.credential-toolbar{align-items:flex-start}
.credential-toolbar h2{width:100%}
.agent-picker{margin-left:0;
flex:1}
.credential-toolbar .btn{font-size:12px}
.secret-row{align-items:flex-start}
.secret-row .btn{flex-shrink:0;
font-size:12px}
.table td,.table th{padding:12px 16px}
.workspace-footer{flex-direction:column;
gap:6px;
margin-top:28px}
.dialog-header,.dialog-body{padding:20px}
.dialog-footer{padding:16px 20px}
}

/* Keep the existing self-only CSP: use native controls rather than Tabler data-URI icons. */
.form-select { appearance: auto; background-image: none !important; }
.form-check-input::before { content: none; mask-image: none; }
.form-check-input, .form-check-input:checked, .form-check-input:focus { appearance: auto; background-image: none !important; accent-color: #284e86; }
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;
transition:none!important;
animation:none!important}
}

