:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#292735;background:#faf9fc;font-synthesis:none;font-size:14px;--accent:#756295;--muted:#797583;--line:#eae7ef;--soft:#f2edf8;--success:#327760}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button{border:1px solid var(--line);background:white;color:#45404e;border-radius:8px;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}button:hover:not(:disabled){background:#f5f2f9}button.primary{background:var(--accent);color:white;border-color:var(--accent)}button.primary:hover:not(:disabled){background:#66517f}button.quiet{border-color:transparent;background:transparent}button.danger{color:#b24851}a{color:var(--accent)}svg.icon{width:18px;height:18px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:650;letter-spacing:-1px}h2{font-size:19px;font-weight:620;letter-spacing:-.4px}h3{font-size:15px;font-weight:620}small,.muted{color:var(--muted)}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.loading{padding:60px;color:var(--muted)}.layout{min-height:100vh;display:grid;grid-template-columns:226px 1fr}.sidebar{border-right:1px solid var(--line);background:#f5f3f8;padding:28px 16px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.platform{display:flex;gap:9px;align-items:center;padding:0 10px 28px;font-weight:650;font-size:17px;letter-spacing:-.5px}.platform-mark{background:#302d39;border-radius:7px;color:white;display:grid;place-items:center;height:24px;width:24px;font-size:15px}.workspace{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px;margin-bottom:26px;display:flex;align-items:center;gap:10px}.workspace-icon{height:31px;width:31px;background:#f3f1f6;border-radius:7px;display:grid;place-items:center;color:#787080}.workspace strong{display:block;font-size:12px;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace small{font-size:10px;display:block;margin-top:3px}.nav-label{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:#97909f;padding:0 12px;margin:17px 0 10px;font-weight:600}.nav{display:grid;gap:4px}.nav button{justify-content:flex-start;background:transparent;border:0;color:#746d7e;border-radius:8px;padding:11px 13px;gap:12px}.nav button.active{color:#6b528b;background:#eae3f1;font-weight:600}.nav .count{margin-left:auto;font-size:11px;background:#e0d6eb;padding:2px 6px;border-radius:4px}.sidebar-bottom{margin-top:auto;border-top:1px solid #e5dfec;padding:18px 7px 0}.profile-mini{display:flex;gap:9px;align-items:center}.profile-mini strong{font-size:12px;display:block;max-width:125px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.profile-mini small{font-size:10px}.avatar{width:34px;height:34px;border-radius:50%;background:#eee8f4;color:#826a9e;font-size:12px;font-weight:600;display:inline-grid;place-items:center;flex-shrink:0}.avatar.tone1{background:#e9f0f0;color:#688a8b}.avatar.tone2{background:#f4ebe4;color:#aa876b}.avatar.tone3{background:#e9edf7;color:#7587a8}.sidebar-bottom button{font-size:11px;margin-top:10px;padding:7px}.main{min-width:0}.topbar{height:74px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 38px}.product{display:flex;align-items:center;gap:10px;font-weight:650;font-size:16px}.product img{width:30px;height:30px}.topbar .context{font-size:12px;color:#97919e;display:flex;align-items:center;gap:12px}.badge{font-size:10px;padding:4px 7px;background:#f3f0f7;border:1px solid #eae4f1;border-radius:5px;color:#867392;white-space:nowrap}.content{padding:37px 38px 45px;max-width:1600px;margin:auto}.eyebrow{font-size:10px;letter-spacing:1.6px;color:#9a8ba8;text-transform:uppercase;font-weight:650;margin-bottom:10px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.page-heading p{color:var(--muted);font-size:13px;line-height:1.7;margin-top:9px}.page-heading button{align-self:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 29px}.stat{border:1px solid var(--line);border-radius:11px;background:#fff;padding:18px 19px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.stat-top svg{color:#b2a4bf}.stat strong{display:block;font-size:29px;font-weight:580;margin:13px 0 4px;letter-spacing:-1px}.stat small{font-size:10px}.panel{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 21px;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:5px}.tabs button{border:0;background:transparent;color:#89818f;font-size:12px;padding:8px 11px}.tabs button.active{background:#f1ecf6;color:#765a92;font-weight:600}.search{position:relative}.search svg{position:absolute;left:11px;top:10px;width:16px;color:#9c96a3}.search input{padding:9px 12px 9px 35px;width:240px;background:#fcfbfd;font-size:12px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{background:#fcfbfd;color:#9b94a2;font-size:10px;letter-spacing:.6px;text-transform:uppercase;font-weight:550;padding:13px 21px;white-space:nowrap}td{padding:18px 21px;border-top:1px solid #f2eff5;font-size:12px;vertical-align:middle}tbody tr:hover{background:#fdfcfe}.person-cell{display:flex;gap:11px;align-items:center;min-width:160px}.person-cell strong{display:block;font-size:12px;font-weight:600;line-height:1.4}.person-cell small{display:block;font-size:11px;margin-top:3px}.role-pill{display:inline-block;color:#7e708c;font-size:10px;border-radius:4px;padding:4px 7px;background:#f3eff7;margin:2px 4px 2px 0}.role-pill.admin{color:#79618c;background:#ece4f3}.module-pill{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#6d7e95;background:#eef2f8;border-radius:4px;padding:4px 7px;margin-right:4px;margin-bottom:3px}.module-pill.relay{color:#a57e5d;background:#faf1e8}.dot{width:5px;height:5px;border-radius:50%;display:inline-block;background:currentColor}.status{display:inline-flex;align-items:center;gap:6px;color:var(--success);font-size:10px;white-space:nowrap}.status.inactive{color:#a09aa7}.table-footer{padding:15px 21px;font-size:11px;color:#9b94a2;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px}.row-action{border:0;background:transparent;padding:7px;color:#a59baa}.info-strip{margin-top:23px;padding:17px 19px;background:#f3f0f7;border-radius:9px;display:flex;gap:12px;align-items:flex-start;color:#93849f}.info-strip p{font-size:11px;color:#8d8297;line-height:1.8}.info-strip strong{color:#786587;font-weight:550}.info-strip svg{width:17px;margin-top:2px}.empty{padding:55px 25px;text-align:center;color:#a096a9}.empty svg{width:32px;height:32px;margin-bottom:15px}.empty h3{color:#65596e;margin-bottom:8px}.empty p{font-size:12px;line-height:1.8}.empty button{margin-top:20px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}.card{border:1px solid var(--line);background:white;border-radius:12px;padding:23px}.card-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:15px}.card p{font-size:12px;line-height:1.8;color:#89808f}.card .meta{margin-top:21px;display:flex;align-items:center;justify-content:space-between;color:#a095a8;font-size:11px}.permission-list{margin:17px 0 0;padding:0;list-style:none;display:grid;gap:9px;font-size:11px;color:#7a7083}.permission-list li{display:flex;gap:7px;align-items:center}.permission-list svg{width:13px;height:13px;color:#a08ab3}.field-list{display:grid}.field-row{display:flex;gap:15px;align-items:center;border-bottom:1px solid var(--line);padding:18px 23px}.field-row:last-child{border-bottom:0}.field-symbol{width:34px;height:34px;border:1px solid #e9e2ef;border-radius:7px;background:#f8f5fb;display:grid;place-items:center;color:#9a85aa;font-size:14px}.field-info{flex:1;min-width:0}.field-info strong{font-size:12px;font-weight:580;display:block}.field-info p{font-size:11px;color:#9b91a3;margin-top:4px;line-height:1.6}.field-tags{display:flex;gap:6px}.settings-intro{display:flex;gap:20px;justify-content:space-between;padding:22px;border-bottom:1px solid var(--line)}.settings-intro p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:7px}.setting-section{margin-top:26px}.setting-section h3{margin-bottom:15px}.module-heading{display:flex;align-items:center;gap:11px}.module-mark{display:grid;place-items:center;height:38px;width:38px;background:#eef2f8;border-radius:9px;color:#879bb8}.module-mark.relay{background:#fbf0e6;color:#c6a07c}.module-footer{border-top:1px solid var(--line);padding-top:17px;margin-top:20px;font-size:11px;color:#a093ab}.audit-item{display:flex;gap:14px;padding:18px 23px;border-bottom:1px solid var(--line);align-items:flex-start}.audit-item:last-child{border:0}.audit-item p{font-size:12px;line-height:1.7}.audit-item small{display:block;font-size:10px;margin-top:5px}.audit-item time{font-size:10px;color:#a097a8;margin-left:auto;white-space:nowrap}.audit-dot{width:27px;height:27px;border-radius:50%;background:#f4f0f8;color:#a38bb6;display:grid;place-items:center}.audit-dot svg{width:13px;height:13px}input,select,textarea{border:1px solid #e4deea;border-radius:7px;background:white;color:#4e4358;padding:10px 11px;min-width:0;width:100%}textarea{min-height:83px;resize:vertical;line-height:1.6}input::placeholder,textarea::placeholder{color:#b2a8ba}input:focus,select:focus,textarea:focus{outline:2px solid #d9cbe6;outline-offset:1px}button:focus-visible,a:focus-visible{outline:2px solid #ac8eca;outline-offset:3px}input[type=checkbox]{width:15px;height:15px;accent-color:var(--accent);margin:0;flex-shrink:0}input[type=checkbox]:focus{outline-offset:3px}label{display:grid;gap:7px;font-size:11px;font-weight:550;color:#7e6e8b}label small{font-weight:400;font-size:10px;line-height:1.6;color:#aa9bb5}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.span2{grid-column:span 2}.check-label{display:flex;gap:9px;align-items:center;font-weight:400;line-height:1.6}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-section{border-bottom:1px solid var(--line);padding:23px 0}.form-section:first-child{padding-top:0}.form-section:last-child{border-bottom:0}.form-section h3{font-size:12px;margin-bottom:17px;color:#7d678d}.form-section>p{font-size:11px;color:#a092ab;line-height:1.8;margin-bottom:15px}.readonly{background:#f9f7fc;color:#998aa5;border:1px solid #eee7f3;border-radius:6px;padding:10px 12px;font-size:11px;overflow-wrap:anywhere}.check-card{border:1px solid var(--line);border-radius:8px;padding:12px;background:#fcfbfe}.check-card small{display:block;margin-top:3px;margin-left:24px}.help{font-size:11px;color:#a697b1;line-height:1.8;margin-top:9px}.error{background:#fff2f2;color:#b24d59;padding:11px 13px;border:1px solid #f1d9df;border-radius:7px;font-size:12px;line-height:1.7}.error:empty{display:none}dialog{border:1px solid #e8e0ee;border-radius:15px;padding:0;width:640px;max-width:calc(100vw - 28px);max-height:calc(100vh - 48px);box-shadow:0 25px 90px #3c2d4e28;color:inherit}dialog::backdrop{background:#21112f38;backdrop-filter:blur(2px)}.dialog-head{padding:24px 27px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fff;position:sticky;top:0;z-index:2}.dialog-head p{font-size:11px;color:#a294ab;margin-top:6px}.dialog-head h2{font-size:20px}.dialog-head button{padding:7px;border:0}.dialog-body{padding:25px 27px}.dialog-footer{position:sticky;bottom:0;background:#fff;padding:16px 27px;border-top:1px solid var(--line);display:flex;align-items:center;gap:9px;justify-content:flex-end;z-index:2}.dialog-footer .left{margin-right:auto}.dialog-error{margin:0 27px 20px}fieldset{padding:0;border:0;margin:0;min-width:0}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{background:#eee8f3;padding:60px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story .platform{padding:0;color:#655272}.auth-story h1{font-size:45px;letter-spacing:-1.8px;font-weight:550;line-height:1.2;color:#6e567e;max-width:420px}.auth-story p{font-size:14px;color:#9a84ab;line-height:1.9;max-width:370px;margin-top:22px}.auth-story small{font-size:11px;color:#ab97ba}.auth-visual{display:flex;gap:12px;margin:35px 0}.auth-visual span{border:1px solid #d9c9e4;background:#f4eff8;border-radius:12px;padding:18px;color:#937ca6;display:flex;gap:9px;align-items:center;font-size:12px}.auth-container{display:grid;place-items:center;padding:45px}.auth-card{width:100%;max-width:390px}.auth-logo{width:52px;margin-bottom:25px}.auth-card h2{font-size:26px;margin-bottom:10px}.auth-card>p{font-size:12px;line-height:1.8;color:#a091aa;margin-bottom:27px}.auth-card form{display:grid;gap:18px}.auth-card .primary{margin-top:6px;padding:12px}.auth-card small.footer{display:block;margin-top:24px;font-size:10px;color:#a397ac;line-height:1.8}.auth-card input{padding:12px}.auth-card .form-grid{gap:15px}.profile-summary{display:flex;align-items:center;gap:20px;margin-bottom:20px}.profile-summary .avatar{width:64px;height:64px;font-size:23px}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.detail label{font-size:10px;color:#a294ab;margin-bottom:7px}.detail p{font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.7}.restricted-label{color:#ac8b65}.link-button{border:0;background:none;padding:0;color:#806895;font-size:12px;text-align:left;justify-content:flex-start}.view-ci{font-family:ui-monospace,SFMono-Regular,monospace;font-size:10px;color:#a99ab4;margin-top:8px;word-break:break-all}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);padding:13px 20px;background:#51415f;color:#fff;border-radius:9px;box-shadow:0 8px 32px #3a254029;z-index:10;font-size:12px;max-width:90vw}.footnote{margin-top:21px;font-size:10px;color:#a697b1;line-height:1.8}.inline-actions{display:flex;gap:8px;align-items:center}.table-scroll .inline-actions{justify-content:flex-end}.subheading{font-size:12px;color:#9e8ca9;margin-bottom:14px}.mobile-label{display:none}.archived{opacity:.65}.role-select{display:grid;gap:10px}.role-select label{padding:11px;border:1px solid var(--line);border-radius:7px}.role-select label small{margin-left:auto}.security-callout{margin-top:20px;padding:16px;background:#f8f5fa;border-radius:9px;font-size:11px;color:#9e8ba9;line-height:1.8}
@media(min-width:1600px){.content{padding-top:48px}}@media(max-width:1100px){.layout{grid-template-columns:192px 1fr}.content{padding:28px 24px}.topbar{padding:0 24px}.sidebar{padding:24px 12px 16px}.stats{gap:10px}.stat{padding:15px}th,td{padding:15px}.table-toolbar{padding:15px}.search input{width:200px}.context .hide-small{display:none}}@media(max-width:760px){.layout{grid-template-columns:1fr}.sidebar{position:static;height:auto;border-right:0;padding:13px 16px 0;border-bottom:1px solid var(--line)}.platform,.workspace,.nav-label,.sidebar-bottom{display:none}.nav{display:flex;overflow:auto;padding:0 0 12px;gap:5px}.nav button{padding:9px 11px;font-size:12px;gap:7px}.nav button svg{width:16px;height:16px}.nav .count{display:none}.topbar{height:61px;padding:0 19px}.content{padding:25px 18px}.page-heading{align-items:flex-start;margin-bottom:22px;gap:12px}h1{font-size:26px}.page-heading p{font-size:12px;max-width:240px}.page-heading button{font-size:12px;padding:9px 11px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.stat{padding:14px}.stat strong{font-size:25px;margin:8px 0 2px}.table-toolbar{align-items:stretch;flex-direction:column;gap:10px}.search input{width:100%}.table-footer{padding:13px;font-size:10px}.field-tags{display:none}.field-row{padding:17px}.info-strip{padding:14px}.auth-screen{grid-template-columns:1fr}.auth-story{display:none}.auth-container{padding:32px 25px}.auth-card{max-width:420px}.auth-card input,.auth-card select{font-size:16px}.form-grid,.details-grid{grid-template-columns:1fr}.span2{grid-column:auto}.check-grid{grid-template-columns:1fr}.dialog-head{padding:20px}.dialog-body{padding:21px}.dialog-footer{padding:14px 20px}.dialog-error{margin:0 20px 15px}dialog input,dialog select,dialog textarea{font-size:16px}dialog{max-height:calc(100dvh - 24px)}.audit-item{padding:17px;flex-wrap:wrap}.audit-item time{margin-left:41px}.context{font-size:10px!important}.settings-intro{padding:18px}.cards{grid-template-columns:1fr}.mobile-label{display:block}.role-select label{flex-wrap:wrap}.role-select label small{margin-left:24px}}@media(prefers-reduced-motion:no-preference){dialog[open]{animation:appear .15s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
/* Keep intrinsic table and navigation widths inside their own scroll regions. */
.sidebar,.content,.panel,.stat{min-width:0}.layout{grid-template-columns:226px minmax(0,1fr)}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.table-footer{flex-wrap:wrap}
@media(max-width:1100px){.layout{grid-template-columns:192px minmax(0,1fr)}}
@media(max-width:760px){.layout{grid-template-columns:minmax(0,1fr)}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading{flex-wrap:wrap}.page-heading>div{min-width:0}.nav{max-width:100%}.field-info{overflow-wrap:anywhere}}
