@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--color-brand:#4a36d4;--color-cloud:#f2f4fc;--color-ink:#111f42;--brand-navy:#0a1734;--brand-violet:#4a36d4;--brand-blue:#176dc5;--brand-cyan:#2aadd9;--brand-border:#dce2f2;--brand-muted:#53617b}
body.auth-body,body.iam-body,body.admin-body{background:#f2f4fc;color:var(--brand-navy)}
button.bg-brand,.bg-brand,.admin-button.primary,.button.primary,.actions .primary{background:linear-gradient(110deg,var(--brand-blue),var(--brand-violet));color:#fff;border-color:transparent}
button.bg-brand:hover,.admin-button.primary:hover,.button.primary:hover,.actions .primary:hover{background:linear-gradient(110deg,#145aa8,#3929b0)}
.text-brand,.iam-page-head .iam-eyebrow,.admin-brand,.admin-eyebrow,.status-code,.eyebrow,.invitation-brand em,.admin-tabs a.active{color:var(--brand-violet)}
.auth-stage{background:radial-gradient(circle at 5% 8%,#d9e9ff,transparent 38%),radial-gradient(circle at 93% 92%,#e8dbff,transparent 36%),#f2f4fc}
.auth-layout{max-width:448px;margin:auto}.auth-layout.login-layout{max-width:1080px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);align-items:stretch;gap:0;filter:drop-shadow(0 22px 45px #112a5b25)}
.auth-hero{min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #dce2f2;border-right:0;border-radius:26px 0 0 26px;background:#f8faff}.auth-hero img{display:block;width:100%;height:auto;max-height:100%;object-fit:contain}
.auth-layout.login-layout .auth-card{max-width:none;border-radius:0 26px 26px 0;box-shadow:none}.auth-card{box-shadow:0 20px 60px #172f6120}
.auth-brand{margin-bottom:28px}.auth-brand img{display:block;width:238px;height:80px;object-fit:contain;object-position:left center}.auth-brand p{margin:0;color:var(--brand-muted);font-size:13px;font-weight:600}
.auth-card input:focus,.iam-main input:focus,.admin-dialog input:focus{outline:2px solid #9f9bfa;outline-offset:1px;border-color:var(--brand-violet)}
.auth-card .text-slate-500,.iam-logo small,.iam-page-head p,.admin-subtitle,.admin-section-head p{color:var(--brand-muted)}
.iam-sidebar{background:#fff;border-right-color:var(--brand-border)}.iam-logo{color:var(--brand-navy)}.iam-logo-mark,.brand-mark{object-fit:contain;display:block;background:transparent;border:0;border-radius:0}.iam-logo-mark{width:40px;height:40px}.brand-mark{width:42px;height:42px}
.iam-side-nav a:hover,.iam-side-nav a.current,.iam-collapse:hover{background:#eeedff;color:var(--brand-violet)}.iam-page-head h1,.admin-header h1{color:var(--brand-navy)}.iam-card,.admin-panel{border-color:var(--brand-border);box-shadow:0 10px 34px #19295d0c}
.iam-page-head .iam-eyebrow{color:var(--brand-violet)}.admin-tabs a.active{border-color:var(--brand-violet)}.admin-tabs a:hover,.admin-header-links a,.admin-button.secondary,.button.secondary,.actions .secondary{color:var(--brand-violet)}
.admin-button.secondary,.button.secondary,.actions .secondary{border-color:#bfc5ed}.admin-dialog::backdrop{background:#0a1734a8}
body:has(.invitation-card),body:has(.error-card){background:radial-gradient(circle at 10% 8%,#d9e9ff,transparent 36%),radial-gradient(circle at 90% 90%,#e9ddff,transparent 36%),#f2f4fc;color:var(--brand-navy)}
.invitation-card,.error-card{border-color:#fff;box-shadow:0 24px 65px #172d6124}.invitation-brand strong,.brand{color:var(--brand-navy)}
.invitation-card .recipient{background:#f7f8ff;border-color:var(--brand-border)}
@media(max-width:820px){.auth-layout.login-layout{display:block;max-width:448px;filter:none}.auth-hero{display:none}.auth-layout.login-layout .auth-card{border-radius:24px;box-shadow:0 20px 60px #172f6120}}
@media(max-width:760px){.iam-sidebar{border-bottom-color:var(--brand-border)}}
/* Shared IAM typography: clear body copy, compact labels, and readable metadata. */
body.iam-body,body.auth-body,body.admin-body,body:has(.invitation-card),body:has(.error-card){font-family:Inter,"Plus Jakarta Sans",ui-sans-serif,system-ui,sans-serif;font-synthesis:none}
body.iam-body button,body.iam-body input,body.iam-body select,body.auth-body button,body.auth-body input,.invitation-card button,.invitation-card input{font-family:inherit}
.iam-page-head p,.admin-section-head p,.iam-card .iam-section-note,.admin-hint,.auth-card .text-slate-600,.invitation-heading p,.step p,.notice p,.error-card p{color:#35435c;font-size:15px;font-weight:500;line-height:1.5;letter-spacing:0;max-width:68ch}
.iam-page-head .iam-eyebrow,.admin-eyebrow,.eyebrow{letter-spacing:.045em}
.admin-section-head h2,.iam-card h2,.step h2,.notice h2{font-weight:700;letter-spacing:-.015em}
.iam-logo small,.auth-brand p,.invitation-brand small,.recipient span{color:#4b5871;font-size:13px;line-height:1.4}
.admin-id,.admin-audit-meta,.admin-callback,.admin-audit-row p,.admin-table-id,.admin-table-url,.admin-table-empty,.iam-pager,.recipient strong{color:#4b5871;font-size:13px;line-height:1.5}
body.iam-body .admin-table{color:#263247}body.iam-body .admin-table-id,body.iam-body .admin-table-url,body.iam-body .admin-table-empty{color:#4b5871;font-size:13px}
body.iam-body .admin-table th{color:#4b5871;font-size:12px;letter-spacing:.045em}
body.iam-body .admin-pill{font-size:12px}
body.iam-body .text-slate-600,body.iam-body .text-slate-500,body.auth-body .text-slate-500{color:#4b5871}
