:root{font-synthesis:none;color:#222839;--background:#f6f5f2;--ink:#222839;--muted:#536075;--paper:#fff;--border:#e0e2e6;--line:#edefef;--accent:#3f367c;--accent-hover:#2c215f;--accent-soft:#eeebf9;--warm:#f7f4ee;--radius:16px;background:#f6f5f2;font-family:ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}h1{letter-spacing:-.055em;font-size:clamp(2rem,4.3vw,3rem);font-weight:740;line-height:1.05}h2{letter-spacing:-.025em;font-size:1.2rem;line-height:1.3}h3{font-size:.975rem;line-height:1.4}.muted{color:var(--muted);line-height:1.55}.shell{width:min(100%,1250px);padding-inline:max(clamp(1rem, 4vw, 3rem), env(safe-area-inset-left)) max(clamp(1rem, 4vw, 3rem), env(safe-area-inset-right));margin-inline:auto}.site-header{background:var(--paper);border-bottom:1px solid var(--border)}.header-inner{justify-content:space-between;align-items:center;gap:.75rem;min-height:70px;display:flex}.brand{letter-spacing:-.025em;align-items:center;gap:.65rem;font-weight:700;display:flex}.brand-mark{background:var(--accent);border-radius:9px;flex:none;grid-template-columns:repeat(2,1fr);align-self:center;gap:2px;width:32px;height:32px;padding:7px;display:inline-grid}.brand-mark i{background:#eeeafc;border-radius:2px}.brand-mark i:nth-child(2),.brand-mark i:nth-child(3){background:#bbb0e2}.skip-link{z-index:1;background:var(--paper);color:var(--accent);border-radius:8px;padding:.75rem 1rem;position:fixed;top:.5rem;left:.5rem;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:#3f367c24;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;min-height:44px;padding:.65rem 1rem;font-size:.9rem;font-weight:670;line-height:1.2;text-decoration:none;display:inline-flex}.button-primary{background:var(--accent);color:var(--paper)}.button-primary:hover:enabled{background:var(--accent-hover)}.button-primary:disabled{cursor:wait;opacity:.75}.button-outline{background:var(--paper);color:var(--ink);border-color:#cbd0d8}.button-outline:hover{border-color:var(--accent);color:var(--accent)}.workspace{padding-block:clamp(2.25rem,5.5vw,4.5rem) 3rem}.page-heading{margin-bottom:clamp(1.5rem,4vw,2.5rem)}.workspace-grid{grid-template-columns:minmax(0,1.36fr) minmax(20rem,1fr);align-items:start;gap:clamp(1rem,2.5vw,1.75rem);display:grid}.card{background:var(--paper);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 3px 12px #1b1e2e09}.card-heading{padding:1.35rem 1.45rem}.card-heading p{margin-top:.35rem;font-size:.9rem}.directory-heading{border-bottom:1px solid var(--line)}.profiles{margin:0;padding:0;list-style:none}.profile{justify-content:space-between;align-items:start;gap:1rem;padding:1.15rem 1.45rem;display:flex}.profile+.profile{border-top:1px solid var(--line)}.profile-identity{align-items:flex-start;gap:.75rem;min-width:0;display:flex}.avatar{background:var(--accent-soft);width:42px;height:42px;color:var(--accent);text-transform:uppercase;-webkit-user-select:none;user-select:none;border-radius:12px;flex:none;place-items:center;font-size:.83rem;font-weight:720;display:grid}.profile-name,.profile-contact{overflow-wrap:anywhere;min-width:0}.profile-contact{color:var(--muted);gap:.2rem;margin-top:.22rem;font-size:.85rem;line-height:1.4;display:grid}.phone{font-variant-numeric:tabular-nums}.profile-details{justify-items:end;gap:.35rem;display:grid}.pending{text-align:right;color:#76501f;font-size:.8rem;display:grid}.text-button{min-height:34px;color:var(--accent);text-underline-offset:.17em;cursor:pointer;touch-action:manipulation;background:0 0;border:0;padding:.3rem 0;font-size:.82rem;font-weight:660;text-decoration:underline;display:inline-block}.text-button:hover{color:var(--accent-hover)}.empty-state{padding:1.5rem}.empty-state p{margin-top:.3rem}.invite-card form{padding:0 1.45rem 1.45rem}.invite-card form>fieldset{border:0;gap:1rem;min-inline-size:0;margin:0;padding:0;display:grid}.name-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.field{gap:.4rem;display:grid}.field label{font-size:.86rem;font-weight:665}.field input{background-color:var(--paper);width:100%;min-height:43px;color:var(--ink);border:1px solid #b4bac4;border-radius:8px;padding:.6rem .7rem}small{font-size:.8rem}.workspace-single{max-width:42rem}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.grant-summary{overflow-wrap:anywhere;gap:.3rem;margin:.55rem 0 0;font-size:.8rem;display:grid}.grant-summary dt{font-weight:670}.grant-summary dd{color:var(--muted);margin:0}.grant-picker,.grant-actions,.grant-editor-fields{border:0;min-inline-size:0;margin:0;padding:0}.grant-picker legend{margin-bottom:.35rem;padding:0;font-size:.9rem;font-weight:700}.grant-picker>p{font-size:.85rem}.grant-picker .grant-option{border:1px solid var(--border);background:var(--warm);border-radius:9px;margin-top:.65rem;padding:.35rem .75rem}.grant-option .grant-actions{border-inline-start:1px solid #cbd0d8;margin-inline-start:.45rem;padding-inline-start:.75rem}.grant-check{cursor:pointer;overflow-wrap:anywhere;align-items:center;gap:.65rem;min-height:36px;font-size:.86rem;display:flex}.grant-check input{width:1rem;height:1rem;accent-color:var(--accent);flex:none;margin:0}.grant-check:has(:disabled){cursor:default}.grant-app{font-weight:670}.grant-editor{border-top:1px solid var(--line);padding:1.15rem 1.45rem 1.45rem}.grant-editor h3{margin:0 0 .8rem}.form-actions{flex-wrap:wrap;gap:.65rem;margin-top:1rem;display:flex}.directory-notice{margin:.75rem 1.45rem 1.45rem}.notice{overflow-wrap:anywhere;border-radius:8px;margin-top:1rem;padding:.65rem .75rem;font-size:.875rem;line-height:1.5}.notice-error{color:#852a26;background:#fceeed}.notice-success{color:#215643;background:#e8f5ed}.message-card,.loading{padding:1.45rem}.message-card p{margin-block:.45rem 1rem}.auth-card{width:min(100%,29rem);margin:clamp(3rem,13vh,8rem) auto 2rem;padding:clamp(1.4rem,4vw,2.3rem)}.auth-card .brand-mark{margin-bottom:1.15rem}.auth-card h1{font-size:clamp(1.75rem,5vw,2.45rem)}.auth-card .muted{margin-top:.7rem}.auth-card .button{width:100%;margin-top:1.35rem}@media (width<=760px){.workspace-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=420px){.card-heading,.profile,.invite-card form,.grant-editor{padding-inline:1rem}.profile{flex-wrap:wrap}.profile-details{flex-wrap:wrap;justify-content:flex-start;align-items:center;display:flex}.pending{align-items:center;gap:.5rem;display:flex}}
