:root { color-scheme: light; }
body { margin: 0; background: #f2f5fa; color: #192a40; font-family: system-ui, sans-serif; }
.setup-shell { max-width: 650px; margin: 48px auto; padding: 0 20px; }
.brand { font-size: 18px; font-weight: 800; letter-spacing: .1em; margin-bottom: 24px; }
.brand span { font-size: 11px; color: #60748e; margin-left: 10px; }
.card { background: white; border: 1px solid #dfe6ef; border-radius: 18px; padding: 32px; }
h1 { font-size: 30px; letter-spacing: -.035em; margin: 0 0 24px; }
.eyebrow { color: #275fc5; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.footer-note { font-size: 13px; color: #61718a; margin-top: 24px; line-height: 1.6; }
label { display: block; margin-top: 14px; }
input:not([type="hidden"]) { box-sizing: border-box; width: 100%; padding: 10px; border: 1px solid #abb8cc; border-radius: 6px; }
button { padding: 12px 18px; background: #245dcc; color: white; border: 0; border-radius: 6px; cursor: pointer; }
.form-text { font-size: 13px; color: #61718a; }
.alert { padding: 14px; margin-bottom: 18px; border-radius: 8px; }
.alert-success { background: #e8f6ee; color: #175a37; }
.alert-danger { background: #fdecec; color: #8d2323; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #82acff; outline-offset: 2px; }
.admin-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { background: #14243b; color: white; padding: 36px 24px; }
.admin-sidebar .brand { font-size: 15px; }
.admin-sidebar .brand span { color: #b4c8e5; display: block; margin: 8px 0 0; }
.nav-current { display: block; padding: 12px 16px; border-radius: 8px; background: #284368; color: white; text-decoration: none; }
.sidebar-note { margin-top: 28px; color: #d5e1f0; line-height: 1.8; font-size: 14px; }
.sidebar-note span { font-size: 12px; color: #9eb5d3; }
.sidebar-policy { margin-top: 64px; font-size: 12px; color: #b4c8e5; line-height: 1.8; }
.sidebar-policy strong { display: block; color: #b9efdb; }
.admin-main { width: 100%; max-width: 1400px; padding: 40px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-topbar h1 { margin-bottom: 0; }
.admin-topbar .eyebrow { margin-bottom: 8px; }
.welcome { margin: 20px 0 28px; color: #61718a; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.metric { padding: 24px; }
.metric p { font-weight: 600; margin: 0 0 12px; }
.metric strong { font-size: 38px; line-height: 1.2; }
.metric span { font-size: 12px; color: #61718a; margin-top: 10px; }
.activity-card { padding: 28px; }
h2 { font-size: 20px; letter-spacing: -.02em; }
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 10px; text-align: left; border-bottom: 1px solid #e2e8f0; font-size: 14px; }
.next-step { margin-top: 28px; padding: 28px; border-left: 3px solid #245dcc; background: #e9eff9; border-radius: 0 12px 12px 0; }
.next-step p:last-child { margin-bottom: 0; color: #52637c; }
.alert-warning { background: #fff3cd; color: #664d03; }
@media (max-width: 900px) { .admin-shell { grid-template-columns: 1fr; } .admin-sidebar { padding: 20px; } .admin-sidebar .brand { margin-bottom: 16px; } .sidebar-note, .sidebar-policy { display: none; } .admin-main { padding: 24px 18px; } }
@media (max-width: 600px) { .metric-grid { grid-template-columns: 1fr; gap: 12px; } .metric { padding: 20px; } .activity-card { padding: 20px; } }
.admin-sidebar .nav-link { display: block; padding: 12px 16px; color: #d5e1f0; text-decoration: none; }
.admin-sidebar nav a { margin-bottom: 8px; }
.client-editor { max-width: 780px; }
.client-editor fieldset { margin-bottom: 28px; padding: 0; border: 0; }
.client-editor legend { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.form-actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.client-filters { display: flex; align-items: end; gap: 16px; margin: 24px 0; flex-wrap: wrap; }
.client-filters > div:first-child { flex: 1; min-width: 220px; }
select { padding: 10px; border: 1px solid #abb8cc; border-radius: 6px; background: white; }
input[type="checkbox"] { width: auto; padding: 0; margin-right: 8px; }
.temporary-secret { font-family: monospace; font-size: 18px; margin: 12px 0; }
.customer-shell { max-width: 960px; margin: 40px auto; padding: 0 20px; }
.customer-shell .admin-topbar { margin-bottom: 24px; }
.customer-organization { font-size: 20px; font-weight: 600; color: #245dcc; }
.customer-navigation { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.customer-navigation [aria-current="page"] { color: #192a40; font-weight: 700; }
.profile-card { margin-bottom: 24px; }
.profile-card h2 { margin-bottom: 16px; }
.profile-card dt { margin-top: 12px; }
