:root{--ink:#17211d;--muted:#68736d;--line:#dde3df;--surface:#fff;--canvas:#f5f7f5;--accent:#176b4c;--accent-hover:#10573d;--accent-soft:#e7f3ed;--danger:#a33232;--danger-soft:#faecec;--warning:#8a6115;--warning-soft:#fff5dd;--shadow:0 1px 2px rgb(20 32 26/5%),0 10px 30px rgb(20 32 26/4%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas)}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-width:320px}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7bbba2;outline-offset:2px}.skip-link{position:fixed;left:1rem;top:-4rem;z-index:30;background:var(--ink);color:#fff;padding:.65rem 1rem;border-radius:.4rem}.skip-link:focus{top:1rem}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;padding:1.35rem 1rem;border-right:1px solid var(--line);background:#fbfcfb;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:.7rem;padding:0 .55rem 1.75rem}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:#fff;background:var(--accent);font-weight:750}.brand div{display:flex;flex-direction:column;line-height:1.15}.brand strong{font-size:.96rem;letter-spacing:-.01em}.brand span:last-child{color:var(--muted);font-size:.72rem;margin-top:.18rem}.nav-label,.eyebrow{margin:0;color:var(--muted);font-size:.67rem;font-weight:750;letter-spacing:.11em;text-transform:uppercase}.nav-label{padding:.3rem .65rem .45rem}.account-label-nav{margin-top:1.2rem}.nav-item{display:flex;gap:.7rem;align-items:center;min-height:40px;margin:.14rem 0;padding:.55rem .7rem;border-radius:7px;color:#43504a;text-decoration:none;font-size:.88rem;font-weight:600}.nav-item span{color:#7b8781;width:1rem;text-align:center}.nav-item:hover{background:#eef2ef}.nav-item.active{color:var(--accent);background:var(--accent-soft)}.nav-item.active span{color:inherit}.sidebar-footer{margin-top:auto;display:grid;gap:.7rem;padding:.9rem .55rem 0;border-top:1px solid var(--line)}.organization-switcher{display:grid;gap:.3rem}.organization-switcher label{color:var(--muted);font-size:.65rem;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.organization-switcher select{width:100%;min-height:36px;padding:.42rem 2rem .42rem .55rem;border:1px solid #d4dbd7;border-radius:7px;color:var(--ink);background:#fff;cursor:pointer;font-size:.78rem;font-weight:650}.organization-switcher select:disabled{cursor:wait;opacity:.65}.environment-release{color:var(--muted);font-size:.63rem;overflow-wrap:anywhere}.text-button{border:0;padding:.25rem;color:var(--muted);background:none;cursor:pointer;font-size:.75rem}
main{min-width:0;padding:0 clamp(1rem,3vw,3.5rem) 4rem}.topbar{min-height:108px;display:flex;align-items:center;justify-content:space-between;gap:2rem;border-bottom:1px solid var(--line)}h1{margin:.3rem 0 0;font-size:1.55rem;letter-spacing:-.035em}h2{margin:0;font-size:1.08rem;letter-spacing:-.02em}p{color:var(--muted)}.identity{color:var(--muted);font-size:.82rem;text-align:right}.identity strong{display:block;color:var(--ink);font-size:.88rem}.view{padding-top:1.5rem}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin:.75rem 0 1rem}.section-heading p{margin:.35rem 0 0;font-size:.84rem}.panel,.table-wrap,.server-overview,.console-panel,.roster-panel,.profile-header,.record-section{border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}
.server-overview{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(400px,2fr) auto;align-items:center;gap:2rem;padding:1.35rem 1.5rem}.server-identity p{margin:.4rem 0 0;font-family:"SFMono-Regular",Consolas,monospace;font-size:.77rem}.status-line{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem}.status-badge{display:inline-flex;align-items:center;gap:.35rem;min-height:23px;padding:.18rem .5rem;border-radius:999px;background:#edf1ee;color:#56625c;font-size:.65rem;font-weight:750;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}.status-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status-badge.online{color:var(--accent);background:var(--accent-soft)}.status-badge.offline,.status-badge.unknown{color:#66716b;background:#edf1ee}.status-badge.starting,.status-badge.restarting,.status-badge.stopping,.status-badge.warning{color:var(--warning);background:var(--warning-soft)}.status-badge.degraded{color:#9a531a;background:#fff0df}.server-metrics{display:grid;grid-template-columns:repeat(4,minmax(80px,1fr));gap:1.35rem;margin:0}.server-metrics div{min-width:0}.server-metrics dt,.profile-facts dt{color:var(--muted);font-size:.66rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.server-metrics dd{margin:.35rem 0 .4rem;font-size:.92rem;font-weight:700}.meter{display:block;width:100%;height:3px;border-radius:9px;background:#e8ece9;overflow:hidden}.meter i{display:block;height:100%;border-radius:inherit;background:#6c9a86;transition:width .25s}.server-actions{display:flex;gap:.5rem;justify-content:flex-end}
.console-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(240px,1fr);gap:1rem;margin-top:1rem;min-height:610px}.console-panel{display:grid;grid-template-rows:auto minmax(420px,1fr) auto;min-width:0}.roster-panel{display:grid;grid-template-rows:auto 1fr;min-width:0}.panel-header{min-height:58px;padding:.85rem 1rem;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#fbfcfb}.panel-header>div{display:flex;align-items:center;gap:.65rem}.connection-state{color:var(--muted);font-size:.72rem}.connection-state::before{content:"";display:inline-block;width:6px;height:6px;margin-right:.35rem;border-radius:50%;background:#6f9d88}.console-tools{display:flex;gap:.5rem}.console-output{min-height:0;overflow:auto;padding:.75rem 0;background:#19201d;color:#adb9b2;font:12px/1.55 "SFMono-Regular",Consolas,"Liberation Mono",monospace;overscroll-behavior:contain}.console-line{display:grid;grid-template-columns:72px 52px minmax(0,1fr);gap:.5rem;padding:.13rem 1rem;white-space:pre-wrap;overflow-wrap:anywhere}.console-line:hover{background:rgb(255 255 255/3%)}.console-line time{color:#708078}.console-level{font-weight:700;color:#829087}.console-line.warn{color:#d7bf83}.console-line.warn .console-level{color:#e1b64c}.console-line.error{color:#e0a2a2;background:rgb(163 50 50/7%)}.console-line.error .console-level{color:#e06d6d}.console-empty{padding:3rem 1rem;text-align:center;color:#718078}.command-line{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.6rem;padding:.7rem .8rem;border-top:1px solid #35413b;background:#212a26;color:#7bbba2}.command-line input{min-width:0;border:0;outline:0;color:#e0e7e3;background:transparent;font:12px "SFMono-Regular",Consolas,monospace}.command-line input::placeholder{color:#718078}.active-players{min-height:0;max-height:610px;overflow:auto;padding:.45rem}.active-player,.player-cell{display:flex;align-items:center;gap:.7rem;color:var(--ink);text-decoration:none}.active-player{padding:.62rem;border-radius:7px}.active-player:hover{background:#f1f4f2}.active-player img,.player-cell img,.profile-avatar{border-radius:7px;background:#e7ece9;image-rendering:auto}.active-player span,.player-cell span{min-width:0}.active-player strong,.player-cell strong{display:block;font-size:.8rem}.active-player small,.player-cell small{display:block;margin-top:.2rem;color:var(--muted);font:9px "SFMono-Regular",Consolas,monospace;overflow:hidden;text-overflow:ellipsis}
.button-row{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1rem}.button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:.55rem .85rem;border:1px solid transparent;border-radius:7px;cursor:pointer;text-decoration:none;font-size:.76rem;font-weight:700;transition:background .15s,border-color .15s}.button.primary{color:#fff;background:var(--accent)}.button.primary:hover{background:var(--accent-hover)}.button.secondary{color:#3d4943;border-color:#d4dbd7;background:#fff}.button.secondary:hover{background:#f4f6f4}.button.danger{color:#fff;background:var(--danger)}.button.danger-outline{color:var(--danger);border-color:#e2bcbc;background:#fff}.button.link-danger{color:var(--danger);background:transparent}.button.compact{min-height:34px;padding:.4rem .7rem}.button[disabled]{opacity:.5;cursor:not-allowed}.notice{margin-top:1rem;padding:.8rem 1rem;border-radius:7px;font-size:.82rem}.notice.error{color:#852727;border:1px solid #efcaca;background:var(--danger-soft)}.loading{display:flex;align-items:center;gap:.65rem;padding:3rem 0;color:var(--muted);font-size:.85rem}.spinner{width:16px;height:16px;border:2px solid #cad3ce;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.signed-out{max-width:520px;margin:9vh auto;padding:2.5rem;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow)}.signed-out h2{margin-top:.6rem;font-size:1.4rem}.signed-out p:not(.eyebrow){line-height:1.55}
.directory-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;gap:.65rem;margin-bottom:1rem}.directory-toolbar select,.search-field input{min-height:40px;padding:.55rem .7rem;border:1px solid #cfd8d2;border-radius:7px;color:var(--ink);background:#fff}.search-field input{width:100%}.compact-search input{min-height:34px;width:min(220px,25vw);font-size:.74rem}table{width:100%;border-collapse:collapse;font-size:.78rem}th{padding:.75rem 1rem;color:var(--muted);background:#f8faf8;text-align:left;font-size:.66rem;letter-spacing:.06em;text-transform:uppercase}td{padding:.85rem 1rem;border-top:1px solid #e7ebe8;vertical-align:middle}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;margin-top:1rem;color:var(--muted);font-size:.75rem}.empty{padding:3rem 1.5rem;text-align:center}.empty h3{margin:0;font-size:.95rem}.empty p{margin:.45rem 0;font-size:.8rem}.compact-empty{padding:2rem 1rem}
.profile-header{display:flex;align-items:flex-start;gap:1.35rem;padding:1.5rem}.profile-avatar{flex:0 0 auto}.profile-identity{min-width:0;flex:1}.profile-identity h2{font-size:1.35rem}.profile-identity code{display:block;margin-top:.35rem;color:var(--muted);font-size:.72rem;overflow-wrap:anywhere}.profile-facts{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:1.5rem;margin:1.4rem 0 0}.profile-facts dd{margin:.35rem 0 0;font-size:.83rem;font-weight:650}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem}.record-section header{display:flex;align-items:center;justify-content:space-between;min-height:54px;padding:.8rem 1rem;border-bottom:1px solid var(--line);background:#fbfcfb}.record-section header span{color:var(--muted);font-size:.72rem}.timeline{list-style:none;margin:0;padding:0}.timeline li{padding:1rem;border-top:1px solid #e7ebe8}.timeline li:first-child{border-top:0}.timeline li>div{display:flex;align-items:center;justify-content:space-between;gap:1rem}.timeline strong{font-size:.8rem}.timeline p{margin:.35rem 0;font-size:.77rem}.timeline small{color:var(--muted);font-size:.68rem}
.account-row{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(300px,2fr) auto;align-items:start;gap:2rem;padding:1.5rem}.account-label{font-size:.87rem;font-weight:700}.account-label span{display:block;margin-top:.3rem;color:var(--muted);font-size:.76rem;font-weight:450}.account-content p{margin:.45rem 0 0;font-size:.83rem;line-height:1.55}.account-content h3{margin:0;font-size:.95rem}.code-block{margin:1rem 0 .7rem;padding:1rem;border:1px solid #d6ded9;border-radius:8px;background:#f8faf8}.code-block code{display:block;margin-top:.5rem;color:var(--ink);font:700 1.05rem "SFMono-Regular",Consolas,monospace;letter-spacing:.03em;overflow-wrap:anywhere}.code-block .verification-code{color:var(--accent);font-size:1.25rem;letter-spacing:.1em}.metadata{display:grid;grid-template-columns:auto 1fr;gap:.4rem 1rem;margin:1rem 0 0;font-size:.78rem}.metadata dt{color:var(--muted)}.metadata dd{margin:0;font-family:"SFMono-Regular",Consolas,monospace;overflow-wrap:anywhere}
dialog{width:min(470px,calc(100vw - 2rem));padding:0;border:0;border-radius:11px;box-shadow:0 24px 70px rgb(18 28 23/25%)}dialog::backdrop{background:rgb(18 28 23/45%);backdrop-filter:blur(2px)}dialog form{padding:1.5rem}dialog h2{margin-top:.55rem}dialog p:not(.eyebrow){line-height:1.5;font-size:.84rem}dialog label{display:grid;gap:.45rem;margin-top:1rem;color:var(--muted);font-size:.78rem}dialog input{min-height:40px;padding:.55rem .65rem;border:1px solid #cfd8d2;border-radius:7px;color:var(--ink)}.dialog-actions{display:flex;justify-content:flex-end;gap:.55rem;margin-top:1.5rem}.toast{position:fixed;right:1.5rem;bottom:1.5rem;z-index:40;max-width:360px;padding:.8rem 1rem;border-radius:8px;color:#fff;background:#28352f;box-shadow:var(--shadow);font-size:.8rem}
@media(max-width:1100px){.server-overview{grid-template-columns:1fr auto}.server-metrics{grid-column:1/-1;grid-row:2}.console-grid{grid-template-columns:minmax(0,2.2fr) minmax(220px,1fr)}.profile-facts{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.shell{grid-template-columns:1fr}.sidebar{position:static;width:100%;height:auto;padding:.8rem 1rem;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0 0 .7rem}.sidebar nav{display:flex;gap:.35rem}.nav-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.account-label-nav{margin:0}.nav-item{flex:1;justify-content:center}.sidebar-footer{grid-template-columns:minmax(150px,220px) auto;align-items:end;margin-top:.35rem;padding:.5rem 0 0}main{padding:0 1rem 3rem}.topbar{min-height:88px}.server-overview{grid-template-columns:1fr}.server-metrics{grid-column:auto;grid-row:auto;grid-template-columns:repeat(2,1fr)}.server-actions{justify-content:flex-start}.console-grid{grid-template-columns:1fr;min-height:0}.console-panel{min-height:520px}.roster-panel{max-height:420px}.directory-toolbar{grid-template-columns:1fr 1fr}.directory-toolbar .search-field{grid-column:1/-1}.table-wrap{overflow-x:auto}table{min-width:740px}.profile-header{align-items:flex-start}.profile-facts{grid-template-columns:1fr 1fr}.profile-grid{grid-template-columns:1fr}.account-row{grid-template-columns:1fr;gap:1rem}}
@media(max-width:520px){.nav-item{font-size:0}.nav-item span{font-size:1rem}.server-metrics{grid-template-columns:1fr 1fr}.server-actions{display:grid;grid-template-columns:1fr 1fr 1fr}.console-line{grid-template-columns:58px 42px minmax(0,1fr);padding:.13rem .55rem;font-size:10px}.compact-search{display:none}.profile-header{flex-direction:column}.profile-facts{grid-template-columns:1fr}.directory-toolbar{grid-template-columns:1fr}.directory-toolbar .search-field{grid-column:auto}.sidebar-footer{grid-template-columns:1fr auto}}
