:root{color:#17292d;font-synthesis:none;text-rendering:optimizelegibility;--ink:#17292d;--muted:#617075;--deep:#0c2c35;--line:#d9dfd9;--paper:#fbfcf8;--green:#17765d;--amber:#ba741f;--red:#b34b42;background:#f1f4ef;font-family:IBM Plex Sans,Noto Sans SC,PingFang SC,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,a{font:inherit}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #e7a94d}.shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#eaf1ec;background:var(--deep);background-image:linear-gradient(#ffffff07 1px,#0000 1px),linear-gradient(90deg,#ffffff07 1px,#0000 1px);background-size:28px 28px;height:100vh;padding:34px 24px 28px;position:sticky;top:0}.brand-mark{grid-template-columns:repeat(3,1fr);align-items:end;gap:4px;width:48px;height:48px;margin-bottom:16px;display:grid}.brand-mark span{background:#d7e9d9;border-radius:2px 2px 0 0;display:block}.brand-mark span:first-child{height:50%}.brand-mark span:nth-child(2){background:#f1af54;height:100%}.brand-mark span:nth-child(3){height:72%}.brand-copy{flex-direction:column;gap:3px;margin-bottom:48px;display:flex}.brand-copy strong{letter-spacing:.08em;font-family:Noto Serif SC,Songti SC,serif;font-size:22px}.brand-copy span{color:#a9bbb7;letter-spacing:.14em;font-size:13px}nav{gap:6px;display:grid}.nav-item{color:#b9cac6;border-radius:4px;align-items:center;gap:11px;min-height:42px;padding:0 12px;font-size:14px;text-decoration:none;display:flex}.nav-item.active{color:#fff;background:#ffffff17}.nav-item.disabled{opacity:.48;cursor:default}.nav-indicator{background:#f1af54;border-radius:9px;width:3px;height:18px}.sidebar-note{color:#91a5a0;font-size:12px;line-height:1.7;position:absolute;bottom:28px;left:24px;right:24px}.sidebar-note p{margin:10px 0 0}.note-line{background:#66807a;width:34px;height:1px;display:block}main{min-width:0;padding:34px clamp(24px,5vw,72px) 28px}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:28px;display:flex}.eyebrow,.section-kicker{color:#7a8a85;letter-spacing:.18em;margin:0 0 8px;font-size:11px;font-weight:700}h1,h2,h3{color:var(--ink);margin:0}h1{letter-spacing:-.03em;font-family:Noto Serif SC,Songti SC,serif;font-size:clamp(30px,4vw,44px);font-weight:650}.refresh-button{min-height:40px;color:var(--deep);cursor:pointer;background:0 0;border:1px solid #a8b5b0;border-radius:4px;align-items:center;gap:8px;padding:0 15px;display:inline-flex}.refresh-button:hover:not(:disabled){border-color:var(--deep);background:#fff}.refresh-button:disabled{cursor:wait;opacity:.62}.refresh-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.summary{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:48px;padding:44px 0 30px;display:grid}.summary h2{font-size:clamp(22px,3vw,30px);font-weight:650}.summary p:last-child{max-width:650px;color:var(--muted);margin:12px 0 0;line-height:1.75}.summary-number{white-space:nowrap;align-items:baseline;gap:10px;display:flex}.summary-number strong{color:var(--deep);font:600 clamp(34px,5vw,54px)/1 Noto Serif SC,serif}.summary-number span{color:var(--muted);font-size:13px}.error-banner{color:#792d29;border-left:3px solid var(--red);background:#f8eae6;margin-bottom:18px;padding:13px 15px}.service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.service-card{background:var(--paper);border:1px solid var(--line);border-top:3px solid #a6b4af;flex-direction:column;min-height:264px;padding:22px;animation:.45s both card-in;display:flex;box-shadow:0 10px 28px #1a30320e}.service-card:nth-child(2){animation-delay:70ms}.service-card:nth-child(3){animation-delay:.14s}.service-card.status-online{border-top-color:var(--green)}.service-card.status-not_configured{border-top-color:var(--amber)}.service-card.status-unreachable{border-top-color:var(--red)}.card-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.service-icon{width:42px;height:42px;color:var(--deep);background:#e8eeea;border-radius:4px;place-items:center;display:grid}.service-icon svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:23px;height:23px}.status-pill{color:var(--muted);background:#edf0ec;border-radius:999px;align-items:center;gap:7px;padding:5px 8px;font-size:11px;font-weight:650;display:inline-flex}.status-pill i{background:#899994;border-radius:50%;width:7px;height:7px}.status-online .status-pill i{background:var(--green);box-shadow:0 0 0 3px #17765d1f}.status-not_configured .status-pill i{background:var(--amber)}.status-unreachable .status-pill i{background:var(--red)}.card-copy{margin:30px 0 24px}.card-copy h3{font-size:19px}.card-copy p{color:var(--muted);margin:9px 0 0;font-size:13px;line-height:1.6}dl{border-top:1px solid var(--line);margin:auto 0 0}dl div{justify-content:space-between;gap:16px;padding-top:11px;font-size:12px;display:flex}dt{color:#7a8885}dd{color:var(--ink);margin:0;font-weight:600}.skeleton{background:linear-gradient(100deg,#f3f5f1 20%,#fff 35%,#f3f5f1 50%) 0 0/300% 100%;animation:1.2s infinite shimmer}footer{color:#82908c;border-top:1px solid var(--line);justify-content:space-between;gap:20px;margin-top:28px;padding-top:16px;font-size:11px;display:flex}.nav-item:is(button){text-align:left;cursor:pointer;background:0 0;border:0;width:100%}.sidebar-note button{color:#d9e4df;cursor:pointer;text-underline-offset:3px;background:0 0;border:0;padding:0;text-decoration:underline}.brand-mark.large{width:62px;height:62px}.boot-screen{min-height:100vh;color:var(--muted);background:var(--deep);place-content:center;justify-items:center;gap:18px;display:grid}.auth-page{background:var(--paper);grid-template-columns:minmax(320px,1.05fr) minmax(360px,.95fr);min-height:100vh;padding:0;display:grid}.auth-intro{color:#eaf1ec;background:var(--deep);background-image:radial-gradient(circle at 18% 22%,#f1af5424,#0000 24%),linear-gradient(#ffffff07 1px,#0000 1px),linear-gradient(90deg,#ffffff07 1px,#0000 1px);background-size:auto,30px 30px,30px 30px;flex-direction:column;justify-content:center;padding:clamp(54px,8vw,110px);display:flex}.auth-intro h1{color:#fff;font-size:clamp(42px,6vw,72px)}.auth-intro>p:not(.eyebrow){color:#b8cbc6;max-width:560px;margin:24px 0 0;font-size:16px;line-height:1.9}.auth-intro .eyebrow{color:#f1af54}.auth-rule{flex-wrap:wrap;gap:10px;margin-top:46px;display:flex}.auth-rule span{color:#d5e0dc;letter-spacing:.08em;border:1px solid #49656a;border-radius:2px;padding:7px 11px;font-size:12px}.login-panel{border:1px solid var(--line);background:#fff;width:min(460px,100% - 48px);margin:auto;padding:42px;box-shadow:0 24px 70px #142b2f1a}.login-panel h2{font-size:28px}.login-hint{color:var(--muted);margin:12px 0 28px;font-size:13px;line-height:1.7}form{gap:18px;display:grid}label{color:#405156;gap:7px;font-size:13px;display:grid}input,textarea,select{width:100%;color:var(--ink);font:inherit;resize:vertical;background:#fbfcf8;border:1px solid #bdc8c3;border-radius:3px;padding:11px 12px}input:focus,textarea:focus,select:focus{border-color:var(--green);outline:2px solid #17765d33}label small{color:#82908c;line-height:1.5}.form-error{color:#872f29;border-left:3px solid var(--red);background:#f8eae6;padding:10px 12px;font-size:12px}.primary-button,.secondary-button,.danger-button{cursor:pointer;border-radius:3px;min-height:44px;padding:0 18px;font-weight:650}.primary-button{color:#fff;background:var(--deep);border:1px solid var(--deep)}.primary-button:hover:not(:disabled){background:#16434e}.primary-button.compact,.secondary-button,.danger-button{width:fit-content;min-height:38px}.secondary-button{color:var(--deep);background:#fff;border:1px solid #9caaa5}.danger-button{color:#fff;background:var(--red);border:1px solid var(--red)}.text-button{color:var(--deep);cursor:pointer;background:0 0;border:0}.members-page{padding:34px 0}.members-heading{justify-content:space-between;align-items:end;gap:28px;margin-bottom:24px;display:flex}.members-heading h2{font-size:28px}.members-heading p:last-child{color:var(--muted);margin:9px 0 0;line-height:1.7}.table-card,.form-card{background:var(--paper);border:1px solid var(--line);margin-top:18px;padding:22px;box-shadow:0 10px 28px #1a30320b}.table-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding-bottom:15px;display:flex}.table-title h3,.form-card h3{font-size:18px}.table-title span{color:var(--muted);font-size:12px}.member-list{display:grid}.member-row{border-bottom:1px solid #e5e9e4;grid-template-columns:minmax(150px,1.1fr) minmax(180px,1.4fr) 84px auto;align-items:center;gap:18px;min-height:68px;padding:13px 0;display:grid}.member-row:last-child{border-bottom:0}.member-identity{gap:4px;display:grid}.member-identity strong{font-size:14px}.member-identity strong em{color:#765017;background:#f8e8c9;border-radius:2px;margin-left:8px;padding:3px 6px;font-size:10px;font-style:normal}.member-identity span,.member-scope{color:var(--muted);font-size:12px;line-height:1.6}.record-status{width:fit-content;color:var(--muted);background:#edf0ec;border-radius:999px;padding:4px 7px;font-size:11px}.record-status.status-active,.record-status.status-accepted{color:var(--green);background:#e4f1eb}.record-status.status-pending{color:#8d5918;background:#f9ecd4}.record-status.status-disabled,.record-status.status-revoked,.record-status.status-expired{color:#7d4742;background:#f4e7e5}.row-actions{justify-content:flex-end;gap:7px;display:flex}.members-page .row-actions{flex-wrap:wrap}.channel-candidate{justify-content:space-between;align-items:center;gap:20px;padding-top:18px;display:flex}.channel-candidate>div:first-child{gap:6px;display:grid}.channel-candidate span{color:var(--muted);font-size:12px}.channel-summary{background:var(--line);border:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:18px;display:grid}.channel-summary>div{background:#fff;gap:6px;min-width:0;padding:14px;display:grid}.channel-summary span{color:var(--muted);font-size:11px}.channel-summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.row-button{color:var(--deep);cursor:pointer;background:0 0;border:1px solid #a8b5b0;border-radius:3px;padding:5px 8px;font-size:11px}.row-button.danger{color:var(--red);border-color:#d8aaa5}.member-row.expanded{grid-template-rows:auto auto}.inline-editor{border-left:3px solid var(--green);background:#f3f6f1;grid-column:1/-1;gap:15px;padding:18px;display:grid}.inline-buttons{gap:8px;display:flex}.ownership-box{border-top:1px solid var(--line);grid-template-columns:minmax(160px,.8fr) minmax(180px,1fr) auto;align-items:center;gap:12px;padding-top:14px;display:grid}.ownership-box p{color:var(--muted);margin:0;font-size:12px}.invite-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:20px}.invite-grid fieldset{border:1px solid var(--line);grid-column:1/-1;margin:0;padding:13px}.invite-grid legend{color:var(--muted);padding:0 6px;font-size:12px}.check-grid{flex-wrap:wrap;gap:8px 18px;display:flex}.check-item{grid-template-columns:auto 1fr;align-items:center;gap:6px;display:flex}.check-item input{width:auto;accent-color:var(--green)}.token-notice{color:#684716;background:#fff4de;border:1px solid #e4c993;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;margin:18px 0;padding:16px;display:grid}.token-notice div{gap:6px;min-width:0;display:grid}.token-notice code{overflow-wrap:anywhere;color:var(--ink)}.token-notice button{color:var(--deep);cursor:pointer;background:0 0;border:1px solid #bd9e67;border-radius:3px}.transfer-form{max-width:620px;margin-top:16px}.list-empty,.empty-state p{color:var(--muted)}.empty-state{text-align:center;padding:70px 0}@keyframes card-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes shimmer{0%{background-position:100% 0}to{background-position:0 0}}@media (prefers-reduced-motion:reduce){*,:before,:after{animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (width<=900px){.shell{grid-template-columns:1fr}.sidebar{grid-template-columns:auto 1fr;align-items:center;gap:12px;height:auto;padding:20px 24px;display:grid;position:static}.brand-mark{width:34px;height:34px;margin:0}.brand-copy{margin:0}.brand-copy strong{font-size:18px}nav{grid-column:1/-1;gap:6px;padding-top:10px;display:flex;overflow-x:auto}.nav-item{white-space:nowrap;flex:none;width:auto!important}.nav-item.disabled{display:none}.sidebar-note{grid-column:1/-1;justify-content:space-between;align-items:center;gap:16px;display:flex;position:static}.sidebar-note .note-line{display:none}.sidebar-note p{margin:0}.service-grid{grid-template-columns:1fr}.service-card{min-height:228px}.auth-page{grid-template-columns:1fr}.auth-intro{min-height:330px;padding:54px 32px}.login-panel{margin:42px auto}.member-row{grid-template-columns:1fr 1fr}.channel-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.row-actions{justify-content:flex-start}.ownership-box{grid-template-columns:1fr}}@media (width<=560px){main{padding:24px 18px}.topbar{align-items:center}.refresh-button{justify-content:center;width:42px;padding:0;font-size:0}.summary{grid-template-columns:1fr;gap:18px;padding-top:34px}.summary-number{justify-content:flex-start}footer{flex-direction:column}.auth-intro{min-height:280px;padding:42px 24px}.auth-intro h1{font-size:40px}.login-panel{width:calc(100% - 28px);padding:28px 22px}.members-heading{flex-direction:column;align-items:flex-start}.member-row{grid-template-columns:1fr;gap:8px}.channel-summary,.invite-grid{grid-template-columns:1fr}.invite-grid fieldset{grid-column:1}.token-notice{grid-template-columns:1fr auto}.token-notice div{grid-column:1/-1}}
