:root{color:#17202a;background:#f4f6f8;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,input,select,textarea{font:inherit}.page-shell{min-height:100vh;padding:24px}.center,.auth-shell{display:grid;place-items:center}.auth-panel{width:min(100%,420px);background:#fff;border:1px solid #d7dde3;border-radius:8px;padding:28px;box-shadow:0 18px 45px #1a263417}.brand-mark{display:grid;width:44px;height:44px;place-items:center;color:#0f6b65;background:#e4f4f1;border-radius:8px}.auth-panel h1,.topbar h1,.tenant-list-panel h2,.form-panel h2{margin:14px 0 6px;font-size:28px;line-height:1.15}.tenant-list-panel h2,.form-panel h2{margin-top:2px;font-size:20px}.auth-panel p,.eyebrow,.metric-card span,.tenant-row small,.empty-state{color:#627082}.login-form{display:grid;gap:16px;margin-top:24px}.login-form label{display:grid;gap:7px;font-size:14px;font-weight:650}.login-form input,.registry-form input,.registry-form select,.registry-form textarea,.multi-select-field summary,.multi-select-menu input,.entitlement-table select,.school-entitlement select{width:100%;border:1px solid #c9d1db;border-radius:6px;padding:11px 12px;color:#17202a;background:#fff}.login-form input:focus,.registry-form input:focus,.registry-form select:focus,.registry-form textarea:focus,.multi-select-field details[open] summary,.multi-select-menu input:focus,.entitlement-table select:focus,.school-entitlement select:focus{border-color:#0f6b65;outline:3px solid rgba(15,107,101,.16)}.login-form button,.ghost-button,.ghost-light-button,.icon-button,.primary-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:0;border-radius:6px;cursor:pointer}.login-form button{color:#fff;background:#0f6b65;font-weight:700}.login-form button:disabled{cursor:wait;opacity:.68}.error{border:1px solid #efb4ad;border-radius:6px;padding:10px 12px;color:#91291f;background:#fff0ee;font-size:14px}.notice{border:1px solid #b9dbc9;border-radius:6px;padding:10px 12px;color:#17613a;background:#effaf4;font-size:14px}.loading{color:#627082}.app-layout{display:grid;grid-template-columns:248px 1fr;min-height:100vh}.sidebar{display:flex;flex-direction:column;justify-content:space-between;padding:22px;color:#e7edf3;background:#17202a}.sidebar-title{margin-bottom:28px;font-size:18px;font-weight:800}nav{display:grid;gap:4px}nav button{display:inline-flex;align-items:center;gap:8px;width:100%;border:0;border-radius:6px;padding:10px 12px;color:#c8d2dd;background:transparent;text-decoration:none;cursor:pointer}nav button[aria-current=page],nav button:hover{color:#fff;background:#243241}.ghost-button{color:#dfe7ef;background:#243241}.ghost-light-button{color:#17202a;background:#eef2f6;border:1px solid #d7dde3}.primary-button{color:#fff;background:#0f6b65;font-weight:700}.danger-button{color:#a13b2d;background:#fff0ee;border:1px solid #efb4ad}.icon-button{width:42px;color:#fff;background:#0f6b65}.primary-button:disabled,.danger-button:disabled,.ghost-light-button:disabled{cursor:not-allowed;opacity:.58}.workspace{padding:28px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.eyebrow{margin:0;font-size:12px;font-weight:800;letter-spacing:0;text-transform:uppercase}.user-chip{border:1px solid #d7dde3;border-radius:999px;padding:8px 12px;background:#fff;font-size:14px}.content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.metric-card{display:grid;gap:8px;min-height:112px;align-content:center;border:1px solid #d7dde3;border-radius:8px;padding:18px;background:#fff}.metric-card strong{font-size:22px}.workspace-alert{margin-bottom:16px}.tenant-workspace,.announcement-workspace{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:18px;align-items:start}.tenant-list-panel,.form-panel{border:1px solid #d7dde3;border-radius:8px;background:#fff}.tenant-list-panel{overflow:hidden}.panel-heading,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e2e7ed;padding:18px}.section-heading>div{min-width:0}.section-heading>div>span{display:block;margin-top:4px;color:#627082;font-size:13px;line-height:1.4}.tenant-list{display:grid;max-height:calc(100vh - 178px);overflow:auto}.list-filters{display:grid;gap:8px;border-bottom:1px solid #edf0f4;padding:12px 16px}.list-filters input,.list-filters select,.preview-grid select{width:100%;border:1px solid #c9d1db;border-radius:6px;padding:10px 11px;color:#17202a;background:#fff}.tenant-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;border:0;border-bottom:1px solid #edf0f4;padding:14px 16px;color:#17202a;background:#fff;text-align:left;cursor:pointer}.tenant-row:hover,.tenant-row[aria-pressed=true]{background:#f0f7f6}.announcement-row{grid-template-columns:24px minmax(0,1fr) minmax(82px,auto)}.tenant-row span{display:grid;gap:3px;min-width:0}.tenant-row strong,.tenant-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tenant-row small{font-size:12px}.status-pill{border-radius:999px;padding:4px 8px;color:#3c4b5c;background:#eef2f6;font-size:11px;font-style:normal;font-weight:800}.status-pill.active{color:#17613a;background:#e3f6eb}.status-pill.paused{color:#8a5b12;background:#fff3d5}.status-pill.archived{color:#6a7280;background:#edf0f4}.status-pill.pending_revocation{color:#8a5b12;background:#fff3d5}.status-pill.revoked,.status-pill.expired{color:#91291f;background:#fff0ee}.status-pill.true{color:#17613a;background:#e3f6eb}.status-pill.false{color:#91291f;background:#fff0ee}.status-pill.unset{color:#6a7280;background:#edf0f4}.tenant-detail-panel{display:grid;gap:18px}.tenant-detail-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #d7dde3;border-radius:8px;padding:18px;background:#fff}.tenant-detail-header h2{margin:2px 0 4px;font-size:22px;line-height:1.2}.tenant-detail-header span,.school-entitlement small,.entitlement-table-row small{color:#627082;font-size:12px}.tenant-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #d7dde3}.tenant-tabs button{display:inline-flex;align-items:center;gap:8px;min-height:40px;border:1px solid #d7dde3;border-bottom:0;border-radius:6px 6px 0 0;padding:9px 12px;color:#3c4b5c;background:#eef2f6;cursor:pointer}.tenant-tabs button[aria-selected=true]{color:#0f4f4a;background:#fff}.registry-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px}.registry-form label{display:grid;gap:7px;font-size:13px;font-weight:700}.multi-select-field{display:grid;gap:7px;min-width:0;border:0;margin:0;padding:0;font-size:13px;font-weight:700}.multi-select-field legend{padding:0}.multi-select-field details{position:relative}.multi-select-field summary{display:flex;align-items:center;min-height:45px;list-style:none;cursor:pointer}.multi-select-field summary::-webkit-details-marker{display:none}.multi-select-field summary:after{content:"";flex:0 0 auto;width:9px;height:9px;margin-left:auto;border-right:2px solid #3c4b5c;border-bottom:2px solid #3c4b5c;transform:rotate(45deg)}.multi-select-field summary span{min-width:0;overflow:hidden;color:#17202a;text-overflow:ellipsis;white-space:nowrap}.multi-select-menu{position:absolute;z-index:20;display:grid;gap:8px;width:100%;max-height:310px;overflow:auto;margin-top:6px;border:1px solid #c9d1db;border-radius:6px;padding:10px;background:#fff;box-shadow:0 18px 40px #1a263421}.multi-select-options{display:grid;gap:4px}.multi-select-option{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:10px!important;border-radius:6px;padding:8px;cursor:pointer}.multi-select-option:hover{background:#f4f8f8}.multi-select-option input{width:18px;height:18px;margin-top:1px}.multi-select-option span{display:grid;gap:2px;min-width:0}.multi-select-option small,.multi-select-empty{color:#627082;font-size:12px;font-weight:600}.multi-select-empty{padding:8px}.checkbox-field{display:flex!important;align-items:center;gap:10px!important}.checkbox-field input{width:18px;height:18px}.registry-form textarea{resize:vertical}.rich-text-field{display:grid;gap:7px;font-size:13px;font-weight:700}.editor-toolbar{display:flex;flex-wrap:wrap;gap:6px}.editor-toolbar button{display:inline-grid;width:36px;height:34px;place-items:center;border:1px solid #c9d1db;border-radius:6px;color:#17202a;background:#fff;cursor:pointer}.editor-toolbar button:disabled{cursor:not-allowed;opacity:.55}.rich-text-editor{min-height:180px;border:1px solid #c9d1db;border-radius:6px;padding:12px;background:#fff;font-weight:400;line-height:1.5;outline:none}.rich-text-editor img{display:block;max-width:100%;height:auto;margin:10px 0}.rich-text-editor:focus{border-color:#0f6b65;outline:3px solid rgba(15,107,101,.16)}.version-strip{display:flex;flex-wrap:wrap;gap:10px;padding:0 18px 14px;color:#627087;font-size:13px}.version-strip strong{color:#9a6700}.version-history-panel{padding:0 18px 18px}.version-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.version-row small{display:block;margin-top:2px;color:#627087}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.wide-field{grid-column:1 / -1}.registry-form .primary-button{align-self:end}.school-table{display:grid;padding:0 18px 18px}.key-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.key-reveal{display:grid;gap:8px;border-bottom:1px solid #edf0f4;padding:14px 18px;color:#334155;background:#f8fbfb;font-size:13px}.key-reveal code{overflow-wrap:anywhere;border:1px solid #d7dde3;border-radius:6px;padding:10px;color:#17202a;background:#fff}.key-table,.entitlement-table{display:grid;padding:0 18px 18px}.school-table-head,.school-table-row,.key-table-head,.key-table-row,.entitlement-table-head,.entitlement-table-row{display:grid;grid-template-columns:minmax(120px,1.4fr) minmax(86px,.8fr) minmax(90px,.8fr) minmax(86px,.8fr);gap:12px;border-bottom:1px solid #edf0f4;padding:10px 0;font-size:13px}.school-table-head{color:#627082;font-weight:800}.key-table-head,.key-table-row{grid-template-columns:minmax(90px,.8fr) minmax(120px,1fr) minmax(150px,1.2fr) minmax(150px,1.2fr) minmax(86px,.7fr)}.key-table-head{color:#627082;font-weight:800}.entitlement-table-head,.entitlement-table-row{grid-template-columns:minmax(180px,1.6fr) minmax(130px,.8fr) minmax(110px,.6fr)}.entitlement-table-head{color:#627082;font-weight:800}.entitlement-table-row span:first-child{display:grid;gap:3px}.school-table-row span,.key-table-row span,.entitlement-table-row span{min-width:0;overflow-wrap:anywhere}.school-entitlement-list{display:grid;gap:12px;padding:0 18px 18px}.school-entitlement{display:grid;gap:12px;border-top:1px solid #edf0f4;padding-top:14px}.school-entitlement>div:first-child{display:grid;gap:3px}.school-entitlement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.school-entitlement label{display:grid;gap:7px;font-size:13px;font-weight:700}.compact-button{min-height:34px;padding:6px 10px;font-size:13px}.empty-state{padding:18px;font-size:14px}.announcement-ops{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 18px 18px}.ops-panel{border-top:1px solid #edf0f4}.compact-heading{padding:14px 0 12px}.compact-heading h2{margin:2px 0 0;font-size:16px}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-tile{display:grid;gap:4px;border:1px solid #edf0f4;border-radius:6px;padding:10px}.stat-tile span,.history-row span,.preview-results span,.preview-row small{color:#627082;font-size:12px}.stat-tile strong{overflow-wrap:anywhere;font-size:16px}.history-list,.preview-results{display:grid;gap:8px}.history-row,.preview-row{display:grid;gap:3px;border-bottom:1px solid #edf0f4;padding:8px 0}.announcement-preview-panel{margin:0 18px 18px}.preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:end}.preview-grid label{display:grid;gap:7px;font-size:13px;font-weight:700}.preview-results{border-top:1px solid #edf0f4;margin-top:12px;padding-top:12px}.settings-table{overflow:auto}.settings-table-head,.settings-table-row{display:grid;grid-template-columns:minmax(280px,1.4fr) 164px 142px 176px 96px;gap:14px;align-items:center;padding:10px 18px}.settings-table-head{color:#627082;background:#f8fafb;border-bottom:1px solid #edf0f4;font-size:12px;font-weight:800;text-transform:uppercase}.settings-table-row{min-height:84px;border-bottom:1px solid #edf0f4}.settings-table-row:last-child{border-bottom:0}.setting-copy{min-width:0}.setting-copy strong,.setting-copy small,.setting-copy em{display:block}.setting-copy strong{font-size:14px;line-height:1.25}.setting-copy small{margin-top:2px;color:#627082;font-size:12px}.setting-copy p{max-width:560px;margin:6px 0 4px;color:#536174;font-size:13px;line-height:1.4}.setting-copy em,.setting-sync{color:#6a7688;font-style:normal;font-size:12px}.setting-value-cell,.setting-action{min-width:0}.setting-text-input,.setting-status-select{width:100%;height:40px;border:1px solid #c9d1db;border-radius:6px;padding:0 11px;color:#17202a;background:#fff;font-size:13px;font-weight:700}.setting-status-select{padding-right:32px}.setting-text-input:focus,.setting-status-select:focus,.switch-control:focus-visible{border-color:#0f6b65;outline:3px solid rgba(15,107,101,.16)}.switch-field{display:flex;align-items:center;gap:10px;min-height:40px;color:#17202a;font-size:13px;font-weight:700}.switch-control{position:relative;width:44px;height:24px;min-height:24px;border:0;border-radius:999px;padding:2px;background:#cbd5df;cursor:pointer;transition:background .12s ease}.switch-control[aria-checked=true]{background:#14a096}.switch-control span{display:block;width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 1px 3px #17202a38;transition:transform .12s ease}.switch-control[aria-checked=true] span{transform:translate(20px)}.switch-control:disabled,.setting-text-input:disabled,.setting-status-select:disabled{cursor:not-allowed;opacity:.62}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:20px;background:#17202a75}.confirmation-modal{display:grid;gap:20px;width:min(100%,460px);border:1px solid #d7dde3;border-radius:8px;padding:22px;background:#fff;box-shadow:0 24px 64px #17202a3d}.confirmation-modal h2{margin:4px 0 8px;font-size:20px;line-height:1.2}.confirmation-modal p:last-child{margin:0;color:#3c4b5c;line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;gap:10px}@media (max-width: 760px){.app-layout{grid-template-columns:1fr}.sidebar{min-height:auto;gap:18px}.topbar{align-items:flex-start;flex-direction:column}.content-grid{grid-template-columns:1fr}.workspace{padding:18px}.tenant-workspace,.announcement-workspace,.registry-form,.announcement-ops,.preview-grid{grid-template-columns:1fr}.tenant-list{max-height:none}.school-table-head,.key-table-head,.entitlement-table-head{display:none}.school-table-row,.key-table-row,.entitlement-table-row,.settings-table-row,.school-entitlement-grid{grid-template-columns:1fr;gap:5px}.settings-table-head{display:none}.settings-table-row{align-items:stretch;padding:16px}.tenant-detail-header{align-items:stretch;flex-direction:column}.modal-actions{flex-direction:column-reverse}}
