:root{font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#1f2826;background:#f8f9f7;font-synthesis:none;--accent:#146849;--muted:#536159;--line:#e0e5e0;--surface:#fff}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button,input,textarea,select{transition:border-color .16s,background .16s,box-shadow .16s}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button{border:0;border-radius:6px;padding:11px 17px;background:transparent;color:inherit}input,textarea,select{display:block;width:100%;border:1px solid #c6cfc8;background:#fff;border-radius:6px;padding:11px 12px;color:inherit;margin:7px 0 19px}textarea{resize:vertical;line-height:1.6}label{font-size:13px;font-weight:600}h1,h2,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;font-weight:650;margin-bottom:12px}h2{font-size:22px;font-weight:600}.muted{color:var(--muted);font-size:14px;line-height:1.75}.eyebrow{display:block;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:2px;margin-bottom:14px}.primary{background:var(--accent);color:white;white-space:nowrap}.primary:hover{background:#0c4b34}.secondary{background:#fff;border:1px solid var(--line)}.secondary:hover{background:#f0f3ef}.danger{background:#993628;color:white}.text-button{padding:8px 0;color:var(--accent);text-align:left}.footnote{font-size:12px;color:var(--muted);line-height:1.8;margin:18px 0 0}.error{color:#a32623;font-size:13px;line-height:1.6;min-height:16px;margin-bottom:8px}[hidden]{display:none!important}.login-view{display:grid;grid-template-columns:1.1fr 1fr;min-height:100svh}.login-brand{background:#e6ede5;padding:10vh 10%;display:flex;flex-direction:column;justify-content:center}.mark{font-size:30px;font-weight:700;letter-spacing:-2px;margin-bottom:22px}.login-brand>p:first-of-type{font-size:11px;letter-spacing:3px;margin-bottom:45px}.login-brand h1{font-size:clamp(36px,4.1vw,62px);line-height:1.35;letter-spacing:-2px}.login-view form{align-self:center;margin:auto;padding:40px;width:min(100%,440px)}.login-view form>p.muted{margin-bottom:36px}.login-view form button{width:100%;display:flex;justify-content:space-between}.login-view label{display:block}aside{position:fixed;inset:0 auto 0 0;width:230px;border-right:1px solid var(--line);background:#f0f3ee;padding:34px 22px;display:flex;flex-direction:column}.brand{font-weight:750;color:inherit;text-decoration:none;font-size:20px;letter-spacing:-1px;display:flex;align-items:center;gap:12px;white-space:nowrap}.brand span{font-size:15px;letter-spacing:-.3px;font-weight:650}.nav-label{color:var(--muted);font-size:11px;margin:55px 12px 15px}nav{display:flex;flex-direction:column;gap:5px}nav button{display:flex;justify-content:space-between;text-align:left;font-size:13px;padding:12px}nav button:hover{background:#e5ebe2}nav button.active{background:#e0e9dd;color:#195d40;font-weight:650}nav button span{color:var(--muted);font-size:11px}.sidebar-bottom{margin-top:auto;padding:24px 12px 0}.connection{font-size:11px;color:var(--accent);display:block;margin-bottom:13px}.sidebar-bottom button{font-size:12px}main{margin-left:230px}header{height:85px;padding:0 44px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:12px}header>div{display:flex;align-items:center;gap:20px}.breadcrumb>span{margin-left:14px}.breadcrumb>span:first-child{color:#8b958e}header button{padding:7px 14px;font-size:12px}.content{padding:48px 44px 30px;max-width:1600px;margin:auto}.title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:20px}.title-row p{margin-bottom:0}.title-row .eyebrow{margin-bottom:12px}.title-row>button{font-size:13px}.table-toolbar{display:flex;align-items:center;justify-content:space-between;margin:32px 0 18px;gap:20px}.table-toolbar input{width:270px;margin:0;padding:9px 12px;font-size:12px}.search-label{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.table-toolbar>span{font-size:12px}.table-wrap{border-top:1px solid var(--line);min-height:310px;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;white-space:nowrap}th{font-size:11px;font-weight:500;color:var(--muted);height:45px;background:#f3f5f1}td,th{padding:15px 18px;border-bottom:1px solid var(--line)}td:first-child,th:first-child{padding-left:10px}td:last-child,th:last-child{text-align:right;padding-right:10px}tbody tr{transition:background .15s}tbody tr:hover{background:#f0f4ee}td strong{font-weight:600;display:block;margin-bottom:4px}td small{display:block;color:var(--muted);font-family:monospace;font-size:11px}.row-action{font-size:12px;padding:6px 9px;color:var(--accent)}.row-action.delete{color:#8e3d30}.status{display:inline-flex;gap:7px;align-items:center;font-size:11px}.status::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status.on{color:#236849}.status.off{color:#786d5d}.empty{text-align:center;padding:65px 20px}.empty-symbol{display:block;font-size:25px;color:#7d8b7f;margin-bottom:15px}.empty h2{font-size:16px}.empty p{font-size:12px}footer{font-size:10px;color:var(--muted);display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;margin-top:40px}.onboarding{border-left:3px solid var(--accent);padding:15px 22px;background:#edf2e9;font-size:13px}.onboarding p{color:var(--muted);margin:8px 0 0;line-height:1.7}.onboarding button{font-size:12px;padding-bottom:0}dialog{border:1px solid var(--line);border-radius:10px;padding:30px;width:min(600px,calc(100% - 28px));max-height:90svh;color:inherit;box-shadow:0 25px 100px #15251b33;animation:appear .16s ease-out}dialog::backdrop{background:#12231955;backdrop-filter:blur(2px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between}.dialog-heading h2{margin-bottom:28px}.icon-button{font-size:24px;padding:0 5px;margin-top:-5px;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.field-hint{font-size:11px;color:var(--muted);line-height:1.6;margin:-10px 0 20px}.checkbox-label{display:flex;align-items:center;gap:10px;margin:16px 0}.checkbox-label input{width:16px;height:16px;margin:0;accent-color:var(--accent)}select[multiple]{min-height:100px}#token-dialog textarea{font-family:monospace;font-size:13px}#token-dialog>button{margin-top:25px}#toast{position:fixed;right:28px;bottom:25px;background:#203a2c;color:white;padding:14px 22px;border-radius:7px;font-size:13px;box-shadow:0 8px 30px #0002;z-index:10;animation:appear .18s ease-out}#confirm-dialog{max-width:460px}#confirm-message{line-height:1.8;font-size:14px}@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:1000px){aside{width:195px;padding:28px 16px}.brand{gap:8px}.brand span{font-size:13px}main{margin-left:195px}.content{padding:35px 25px}header{padding:0 25px}}@media(max-width:700px){.login-view{grid-template-columns:1fr}.login-brand{padding:35px 28px}.login-brand h1{font-size:34px}.login-brand>p:first-of-type{margin-bottom:20px}.mark{margin-bottom:12px}.login-view form{padding:35px 28px}aside{position:static;width:auto;padding:18px 20px}.brand{font-size:21px}.brand span{font-size:15px}.nav-label,.sidebar-bottom{display:none}nav{flex-direction:row;overflow:auto;margin-top:20px;gap:5px}nav button{white-space:nowrap;gap:10px;padding:10px;font-size:12px}main{margin:0}header{height:60px;padding:0 20px}header .muted{display:none}.content{padding:30px 20px}.title-row{align-items:flex-start}.title-row h1{font-size:27px}.title-row p{font-size:12px}.title-row>button{padding:10px;font-size:12px;margin-top:20px}.table-toolbar input{width:210px}footer{gap:16px;line-height:1.6}footer span{white-space:nowrap}dialog{padding:24px}td,th{padding:14px}#toast{left:20px;right:20px;bottom:20px}}

@media(max-width:700px){.sidebar-bottom{margin:14px 0 0;padding:0;display:flex;justify-content:space-between;align-items:center}.sidebar-bottom .connection{margin:0}.sidebar-bottom button{padding:4px 0}}

.oauth-link-row{display:flex;gap:10px;align-items:center;margin:14px 0 4px}.oauth-link-row input{margin:0;font-size:12px;font-family:monospace}.oauth-link-row button{white-space:nowrap}.oauth-link-row a{white-space:nowrap;font-size:12px}

.reroute{color:#a32623;font-weight:600}
