:root{color:#18212f;background:#f5f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,a{font:inherit}button:focus-visible,a:focus-visible{outline:3px solid #2463eb;outline-offset:2px}.app-shell{width:min(100% - 32px,1120px);margin:0 auto;padding:28px 0 40px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0 22px}.eyebrow{margin:0 0 4px;color:#596579;font-size:.78rem;font-weight:700;letter-spacing:0;text-transform:uppercase}h1,h2,h3,p{margin:0}h1{font-size:2rem;line-height:1.15}h2,h3{font-size:1rem;line-height:1.35}.refresh,.logout,.tab,.segment,.open-link{min-height:40px;border:1px solid #c5ccd7;border-radius:6px;background:#fff;color:#18212f;cursor:pointer;font-weight:650;text-decoration:none}.refresh:disabled,.mini-button:disabled,.inline-select:disabled,.segment:disabled,.tab:disabled{cursor:not-allowed;opacity:.62}.refresh{padding:0 14px}.logout{display:inline-flex;align-items:center;justify-content:center;padding:0 14px}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.session-chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;max-width:min(44vw,360px);padding:0 12px 0 8px;border:1px solid #d9dee6;border-radius:999px;background:#fff;color:#18212f;font-size:.9rem;font-weight:650}.session-chip span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:#e7f6ed;color:#17613a;font-size:.78rem;font-weight:800}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.metric{min-height:86px;padding:14px;border:1px solid #d9dee6;border-radius:8px;background:#fff}.metric span{display:block;color:#596579;font-size:.85rem}.metric strong{display:block;margin-top:10px;font-size:1.8rem;line-height:1}.tabs{display:flex;gap:6px;margin-bottom:14px;overflow-x:auto;padding-bottom:2px}.tab{min-width:86px;padding:0 14px}.tab.selected{border-color:#2463eb;background:#e9efff;color:#173b88}.users-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.search-form{display:flex;gap:8px;min-width:min(100%,420px)}.tool-form,.users-toolbar-row,.sync-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.users-toolbar{display:grid;gap:12px;margin-bottom:14px}.users-toolbar-row{justify-content:space-between}.tool-form{min-width:min(100%,560px)}.search-form input{width:100%;min-height:40px;border:1px solid #c5ccd7;border-radius:6px;background:#fff;color:#18212f;font:inherit;padding:0 12px}.tool-form input,.tool-form select,.inline-select{min-height:38px;border:1px solid #c5ccd7;border-radius:6px;background:#fff;color:#18212f;font:inherit;padding:0 12px}.tool-form input,.tool-form select{flex:1 1 180px}.inline-select{min-width:140px}.mini-button{min-height:34px;padding:0 10px;border:1px solid #c5ccd7;border-radius:6px;background:#fff;color:#18212f;cursor:pointer;font:inherit;font-weight:650}.mini-button.danger{border-color:#efc5aa;color:#8d3f0b}.user-access-locked{background:#f7f8fa;color:#596579}.segmented{display:inline-flex;overflow:hidden;border:1px solid #c5ccd7;border-radius:6px;background:#fff}.segment{min-width:86px;border:0;border-right:1px solid #c5ccd7;border-radius:0;padding:0 12px}.segment:last-child{border-right:0}.segment.selected{background:#e9efff;color:#173b88}.list{display:grid;gap:10px}.launcher-header{display:flex;justify-content:space-between;gap:14px;margin-bottom:12px}.launcher-header p{margin-top:4px;color:#596579;font-size:.92rem;line-height:1.45}.attention-header{display:flex;justify-content:space-between;gap:14px;margin-bottom:12px;color:#596579}.attention-header h2{color:#18212f}.attention-header p{margin-top:4px;font-size:.92rem;line-height:1.45}.attention-list{display:grid;gap:10px}.row,.attention-row,.empty-panel,.state-panel,.table-shell{border:1px solid #d9dee6;border-radius:8px;background:#fff}.row{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:76px;padding:14px}.app-identity{display:flex;align-items:center;gap:12px;min-width:0}.app-mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:42px;height:42px;border:1px solid oklch(88% .02 250);border-radius:8px;background:#f5f9fc}.app-mark img{display:block;width:26px;height:26px;object-fit:contain}.attention-row{padding:14px}.row p,td span,.sync-detail span,.muted{color:#596579;font-size:.9rem}.row-actions,.sync-detail{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:220px}.open-link{display:inline-flex;align-items:center;justify-content:center;min-width:76px;padding:0 14px}.badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;min-width:74px;padding:0 10px;border-radius:999px;font-size:.82rem;font-weight:700}.badge.good{background:#e7f6ed;color:#17613a}.badge.bad{background:#fff1e5;color:#8d3f0b}.source-label{display:inline-flex;margin-bottom:6px;color:#596579;font-size:.78rem;font-weight:750;text-transform:uppercase}.identifier-list{display:flex;flex-wrap:wrap;gap:6px 14px;margin:8px 0 0}.identifier-list div{min-width:min(100%,150px)}.identifier-list dt{color:#596579;font-size:.72rem;font-weight:750;text-transform:uppercase}.identifier-list dd{margin:2px 0 0;color:#18212f;font-size:.88rem;overflow-wrap:anywhere}.table-shell{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:720px}table.users-table{min-width:860px}table.sync-table{min-width:900px}th,td{padding:13px 14px;border-bottom:1px solid #e6eaf0;text-align:left;vertical-align:middle}tr:last-child td{border-bottom:0}th{color:#596579;font-size:.78rem;font-weight:750;text-transform:uppercase}td strong,td span{display:block}.audit-failure-reason{max-width:52rem;color:#8d3f0b;overflow-wrap:anywhere}.status-banner{display:flex;align-items:center;min-height:40px;margin-bottom:12px;padding:10px 12px;border:1px solid #d9dee6;border-radius:6px;background:#fff;font-size:.92rem;font-weight:650}.status-banner.info{background:#edf4ff;border-color:#c8d7ff;color:#173b88}.status-banner.success{background:#e7f6ed;border-color:#c8ead4;color:#17613a}.status-banner.error{background:#fff1e5;border-color:#f3d1b1;color:#8d3f0b}.permission-list{display:flex;gap:6px;flex-wrap:wrap}.permission-chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 9px;border:1px solid #d9dee6;border-radius:999px;background:#fff;color:#596579;font-size:.84rem}.permission-chip strong{color:#18212f;font-size:inherit}.user-detail{margin-top:14px;padding:16px;border:1px solid #d9dee6;border-radius:8px;background:#fff}.user-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.user-detail-header p{margin-top:3px;color:#596579;font-size:.92rem}.user-detail-grid{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(320px,1.25fr);gap:14px}.detail-panel{display:grid;align-content:start;gap:12px;min-width:0;padding:14px;border:1px solid #e0e5ec;border-radius:8px;background:#fbfcfe}.identifier-list.stacked{display:grid;gap:10px}.detail-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.user-access-list{display:grid;gap:8px}.staging-full-access-list{padding-top:4px}.volunteer-invites{display:grid;gap:8px;padding-top:4px}.user-access-form,.sync-action-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.user-access-form input{flex:1 1 150px}.user-access-meta{display:grid;min-width:140px;gap:2px}.user-access-meta strong{font-size:.92rem;line-height:1.25}.user-access-meta span,.user-status{color:#596579;font-size:.86rem}.user-status{display:flex;align-items:center;gap:8px;justify-content:space-between}.sync-action-form{justify-content:flex-start}.sync-toolbar{justify-content:flex-end;margin-bottom:10px}.failure-detail{display:block;margin-top:8px;color:#8d3f0b;overflow-wrap:anywhere}.empty-panel,.state-panel{min-height:180px;display:grid;place-items:center;padding:28px;color:#596579;text-align:center}.state-panel.error{gap:6px;color:#8d3f0b}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(max-width:760px){.app-shell{width:min(100% - 24px,1120px);padding-top:18px}.topbar{align-items:flex-start;flex-direction:column}.topbar-actions{align-items:stretch;flex-wrap:wrap;justify-content:flex-start;width:100%}.session-chip{max-width:100%}h1{font-size:1.7rem}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.users-tools,.search-form,.users-toolbar-row,.user-detail-header,.detail-actions,.sync-toolbar,.tool-form{align-items:stretch;flex-direction:column}.user-detail-grid{grid-template-columns:1fr}.user-status{align-items:flex-start;flex-direction:column}.segmented{width:100%}.segment{min-width:0;flex:1}.row,.attention-row,.row-actions,.app-identity,.sync-detail{align-items:flex-start;flex-direction:column}.row-actions,.sync-detail{min-width:0}}
