@charset "UTF-8";
:root{--bg:#f5f7f5;--surface:#fff;--ink:#20352d;--muted:#77857d;--line:#e4eae5;--green:#326b50;--dark:#142822;--lime:#c5ef98;--soft:#edf4ed;--danger:#b74943;--amber:#a77528;--radius:16px;font-family:Inter,"Noto Sans SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.6}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #83b79a;outline-offset:3px}a{color:var(--green);text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.4;letter-spacing:-.8px;font-weight:650}h2{font-size:17px;font-weight:650}h3{font-size:15px}small{font-size:12px}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 15px;border-radius:9px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:550}button:hover{background:var(--soft)}button.primary{background:var(--green);color:#fff;border-color:var(--green)}button.primary:hover{background:#285a43}button.ghost{background:transparent;border-color:transparent;color:var(--muted)}button.danger{color:var(--danger);border-color:#efd6d3;background:#fff9f8}button.small{min-height:32px;padding:5px 11px;font-size:12px}.muted{color:var(--muted)}.mono{font-family:"SFMono-Regular",Consolas,monospace;letter-spacing:.3px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:2px;text-transform:uppercase}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:18px}.full{width:100%}.nowrap{white-space:nowrap}.hidden{display:none!important}
.shell{display:grid;grid-template-columns:234px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--dark);color:#bac9c0;display:flex;flex-direction:column;padding:32px 21px 22px}.brand{display:flex;align-items:center;gap:12px;color:#fff}.brand-symbol{width:38px;height:38px;border-radius:11px;background:var(--lime);color:var(--dark);display:grid;place-items:center;font-size:25px;font-weight:800;line-height:1}.brand-name{font-size:18px;font-weight:700;letter-spacing:.6px}.brand-caption{font-size:10px;letter-spacing:2px;color:#94aa9b;margin-top:1px}.workspace-tag{margin:33px 0 28px;border:1px solid #34463d;border-radius:9px;padding:10px 11px;font-size:11px;display:flex;align-items:center;gap:8px;color:#c2d0c7}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8ab776;flex-shrink:0}.nav-label{font-size:10px;letter-spacing:2px;color:#81968a;padding-left:13px;margin-bottom:10px}.nav{display:flex;flex-direction:column;gap:6px}.nav button{background:transparent;color:#a9bcb0;border:0;justify-content:flex-start;padding:12px 14px;font-weight:450;gap:12px;width:100%}.nav button.active{background:#2a4035;color:var(--lime)}.nav button:hover{background:#243b30}.nav-count{margin-left:auto;background:#c5ef98;color:#243b30;border-radius:5px;padding:0 5px;font-size:10px}.sidebar-bottom{margin-top:auto}.connection{padding:18px 12px;border:1px solid #34463d;border-radius:10px;margin-bottom:22px}.connection .row{font-size:12px;color:#dbe5de}.connection p{font-size:10px;color:#879c8e;margin-top:7px}.sidebar-profile{display:flex;align-items:center;gap:10px;padding:0 5px;font-size:12px}.avatar{width:32px;height:32px;border-radius:50%;background:#344b3f;color:#e1ecd8;display:grid;place-items:center}.sidebar-profile small{display:block;color:#899f91;font-size:10px}.main{min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fafbf9;font-size:12px}.breadcrumb{display:flex;align-items:center;gap:13px;color:var(--muted)}.breadcrumb b{font-weight:500;color:var(--ink)}.topbar .icon{width:16px;height:16px}.topbar-right{display:flex;align-items:center;gap:22px;color:var(--muted)}.content{max-width:1390px;padding:36px 42px 24px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{color:var(--muted);margin-top:8px;font-size:13px}.page-heading .eyebrow{font-size:10px;margin-bottom:7px;color:var(--green)}.actions{display:flex;align-items:center;gap:10px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:26px}.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#6b7c70;font-size:12px}.stat-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:var(--soft);color:var(--green)}.stat-icon.amber{background:#fbf3e3;color:var(--amber)}.stat-value{font-size:33px;font-weight:600;line-height:1;margin:16px 0 10px;letter-spacing:-1px}.stat-foot{font-size:11px;color:var(--muted)}.stat-foot span{color:var(--green)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:22px;align-items:start}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.card-head{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px}.card-head p{color:var(--muted);font-size:11px;margin-top:4px}.card-body{padding:0 24px 23px}.count-pill{padding:2px 7px;border-radius:6px;background:#eff2ee;color:#6b7c70;font-size:11px;margin-left:7px}.notice{display:flex;align-items:flex-start;gap:11px;padding:14px 16px;border:1px solid #dce9d6;background:#f3f8ef;border-radius:10px;font-size:12px;color:#55704d}.notice .icon{width:17px;margin-top:1px}.request-row{border:1px solid var(--line);border-radius:11px;padding:16px;margin-top:16px;display:flex;align-items:center;gap:13px}.device-icon{width:42px;height:42px;display:grid;place-items:center;background:#f0f3ef;border-radius:10px;color:#718a77;flex-shrink:0}.device-info{min-width:0;flex:1}.device-name{font-size:13px;font-weight:600;overflow-wrap:anywhere}.device-detail{font-size:11px;color:var(--muted);margin-top:3px}.tag{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:3px 7px;font-size:10px;white-space:nowrap;background:var(--soft);color:var(--green)}.tag.pending{background:#fbf4e6;color:var(--amber)}.tag.revoked,.tag.denied,.tag.expired{background:#f7ebea;color:var(--danger)}.tag.admin{background:#edf0fb;color:#626a96}.tag.issued,.tag.approved{background:var(--soft);color:var(--green)}.request-row .actions{gap:5px}.request-code{font-size:11px;color:#53715d;margin-top:6px}.device-table{width:100%;border-collapse:collapse;text-align:left}.device-table th{font-size:10px;color:var(--muted);font-weight:500;background:#fafbf9;padding:12px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.device-table td{padding:17px 20px;border-bottom:1px solid #edf0ec;font-size:12px}.device-table tr:last-child td{border:0}.device-table .device-icon{width:35px;height:35px;border-radius:9px}.device-table .icon{width:18px}.table-wrap{overflow-x:auto}.trust-card{background:#eaf0e7;border:1px solid #dce6d7;border-radius:var(--radius);padding:24px}.shield-big{width:48px;height:48px;display:grid;place-items:center;background:#dce9d1;color:#47663d;border-radius:15px;margin-bottom:18px}.shield-big .icon{width:28px;height:28px}.trust-card h2{font-size:17px}.trust-card p{font-size:12px;color:#6d8068;margin-top:10px;line-height:1.9}.trust-check{display:flex;align-items:center;gap:8px;font-size:11px;margin-top:14px;color:#4f6c4c}.trust-check .icon{width:15px;height:15px}.trust-divider{border-top:1px solid #d5dfcf;margin-top:21px;padding-top:16px;font-size:10px;color:#74856c}.timeline{padding:0 22px 22px}.event{position:relative;padding:0 0 22px 21px;border-left:1px solid #e1e8df;margin-left:4px}.event:last-child{border-left-color:transparent;padding-bottom:0}.event:before{content:"";position:absolute;left:-4px;top:6px;width:7px;height:7px;border-radius:50%;background:#a4b895;box-shadow:0 0 0 4px white}.event-title{font-size:12px}.event-info{font-size:10px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.footer{display:flex;justify-content:space-between;color:#9aa59c;font-size:10px;margin-top:28px;letter-spacing:.2px}.empty{padding:30px 20px;text-align:center;color:var(--muted);font-size:12px}.empty .icon{width:28px;height:28px;margin-bottom:10px;color:#91a787}.empty p{margin-top:4px}.search{position:relative;max-width:230px}.search input{padding:9px 12px 9px 35px;font-size:12px}.search .icon{position:absolute;left:11px;top:11px;width:16px;height:16px;color:var(--muted)}
input,select{width:100%;border:1px solid #dce4dc;border-radius:9px;background:#fff;padding:12px;color:var(--ink);min-height:44px}input::placeholder{color:#a0aba1}label{display:block;font-size:12px;font-weight:550;margin-bottom:8px}form .field{margin-bottom:18px}.help{font-size:11px;color:var(--muted);margin-top:7px;line-height:1.8}.form-error{padding:11px 13px;background:#fff1ee;color:var(--danger);border-radius:8px;font-size:12px;margin-bottom:16px}.otp{font-size:24px;letter-spacing:8px;text-align:center;font-family:Consolas,monospace}.security-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.setting{padding:22px;border:1px solid var(--line);border-radius:12px}.setting h3{margin:12px 0 5px}.setting p{font-size:12px;color:var(--muted);line-height:1.9}.setting code{display:block;margin-top:12px;word-break:break-all;background:#f6f8f4;padding:12px;border-radius:7px;font-size:11px}.audit-table td{vertical-align:top}.fingerprint{word-break:break-all;font-size:11px}.refresh-state{font-size:10px;color:var(--muted)}
.entry-shell{min-height:100vh;display:grid;grid-template-columns:minmax(320px,42%) minmax(0,1fr)}.entry-aside{background:var(--dark);padding:46px 58px;display:flex;flex-direction:column;color:#e5eedf;overflow:hidden;position:relative}.entry-aside:after{content:"";position:absolute;width:440px;height:440px;border:1px solid #3a5040;border-radius:50%;right:-210px;bottom:100px;box-shadow:0 0 0 55px #1b3027,0 0 0 56px #304638,0 0 0 110px #1b3027,0 0 0 111px #304638;opacity:.6;pointer-events:none}.entry-copy{position:relative;z-index:1;margin:auto 0;padding:90px 0}.entry-copy .eyebrow{color:var(--lime);margin-bottom:20px}.entry-copy h1{font-size:42px;line-height:1.6;font-weight:500;letter-spacing:1px}.entry-copy p{font-size:13px;color:#a6b9a8;max-width:300px;margin-top:22px;line-height:2.1}.entry-aside footer{font-size:11px;color:#8da28f;z-index:1}.entry-main{display:flex;align-items:center;justify-content:center;padding:48px 35px}.entry-form{width:100%;max-width:430px}.entry-form h1{font-size:28px;margin:12px 0}.entry-form>.muted{font-size:13px;margin-bottom:28px}.entry-form .eyebrow{color:var(--green)}.steps{display:flex;align-items:center;gap:9px;font-size:11px;margin-bottom:32px;color:#a3afa4}.step{display:flex;align-items:center;gap:7px}.step span{width:23px;height:23px;border:1px solid #dfe5dd;display:grid;place-items:center;border-radius:50%;font-size:10px}.step.active{color:var(--green)}.step.active span{background:var(--green);color:#fff;border-color:var(--green)}.steps .line{flex:1;height:1px;background:var(--line)}.entry-links{margin-top:22px;text-align:center;font-size:12px}.entry-links button{font-size:12px}.code-display{font-size:30px;letter-spacing:5px;text-align:center;background:#eaf1e5;border:1px dashed #a2b596;border-radius:12px;padding:21px;margin:22px 0}.qr{width:178px;height:178px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:7px;display:block;margin:16px auto}.secret{font-size:12px;word-break:break-all;text-align:center;padding:12px;background:#eef2eb;border-radius:8px;user-select:all}.success-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:#e5f0dc;color:var(--green);margin-bottom:22px}.success-icon .icon{width:28px;height:28px}.download-card{padding:19px;border:1px solid var(--line);border-radius:12px;margin:20px 0;background:#fff}.download-card .secret{margin:9px 0 15px;font-size:17px}.install-help{margin-top:22px;border-top:1px solid var(--line);padding-top:18px;color:var(--muted);font-size:12px;line-height:1.9}.install-help summary{cursor:pointer;color:var(--ink);font-weight:550}.install-help ol{padding-left:19px}.loading-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:18px;padding:28px;width:calc(100% - 32px);max-width:450px;color:var(--ink);box-shadow:0 24px 100px #14282233}dialog::backdrop{background:#14282277;backdrop-filter:blur(3px)}dialog h2{font-size:20px;margin-bottom:8px}dialog .modal-lead{font-size:12px;color:var(--muted);margin-bottom:22px}dialog .actions{justify-content:flex-end;margin-top:24px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--dark);color:#fff;padding:12px 20px;border-radius:10px;box-shadow:0 6px 24px #14282225;z-index:100;font-size:13px;max-width:90vw}#toast:empty{display:none}.mobile-brand{display:none}
@media(min-width:1500px){.content{padding-top:46px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 320px}.stats{gap:22px}}
@media(max-width:1150px){.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:28px 16px}.content{padding:28px 26px}.topbar{padding:0 26px}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.right-column{display:grid;grid-template-columns:1fr 1fr;align-items:start}.stat{padding:17px}.entry-aside{padding:36px}.entry-copy h1{font-size:34px}}
@media(max-width:760px){.shell{display:block}.sidebar{position:static;width:auto;height:auto;padding:16px 18px}.sidebar>.brand,.workspace-tag,.nav-label,.sidebar-bottom{display:none}.nav{flex-direction:row;gap:4px}.nav button{flex:1;justify-content:center;padding:9px 4px;font-size:11px;gap:6px}.nav .icon{width:17px}.nav-count{margin-left:0}.topbar{height:56px;padding:0 20px}.topbar-right .date{display:none}.content{padding:25px 18px}.page-heading{align-items:flex-start;gap:10px}.page-heading h1{font-size:25px}.page-heading p{font-size:12px;max-width:230px}.page-heading .actions button{padding:8px 10px;font-size:12px}.page-heading .actions .refresh-button{display:none}.stats{gap:9px;margin-bottom:20px}.stat{padding:14px 12px;border-radius:12px}.stat-top{font-size:10px;gap:5px}.stat-icon{display:none}.stat-value{font-size:28px;margin:14px 0 8px}.stat-foot{font-size:9px}.right-column{display:flex}.card-head{padding:19px}.card-body{padding:0 19px 19px}.request-row{flex-wrap:wrap;padding:13px}.request-row>.actions{width:100%;justify-content:flex-end}.device-table{min-width:590px}.security-list{grid-template-columns:1fr}.entry-shell{display:block}.entry-aside{padding:22px 24px}.entry-aside .entry-copy,.entry-aside footer,.entry-aside:after{display:none}.entry-main{padding:36px 24px}.entry-form h1{font-size:26px}.entry-form{max-width:450px}.footer{gap:12px;flex-wrap:wrap}.topbar-right{gap:9px}.search{max-width:160px}.code-display{font-size:26px;letter-spacing:3px}.audit-table{min-width:660px}.breadcrumb{font-size:11px}.card-head .search input{font-size:11px}.mobile-brand{display:block}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s,color .15s}.card,.stat{animation:appear .3s ease-out}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}
@media(max-width:760px){.nav button{position:relative;flex-direction:column;white-space:nowrap;gap:5px;font-size:10px;padding:8px 2px}.nav-count{position:absolute;right:3px;top:2px;font-size:9px}.right-column{align-items:stretch}.request-row .device-name{line-height:1.9}}

.site-version{font:11px ui-monospace,Consolas,monospace;overflow-wrap:anywhere}.entry-version{color:var(--muted);border-top:1px solid var(--line);margin-top:28px;padding-top:14px;text-align:right}

.nav>a.nav-item{display:flex;align-items:center;gap:12px;padding:12px 16px;color:var(--muted);border-radius:8px;text-decoration:none;font-size:13px}.nav>a.nav-item:hover{background:var(--soft);color:var(--green)}

@media(max-width:760px){.nav{overflow-x:auto}.nav>button,.nav>a.nav-item{flex:0 0 58px;min-width:58px}.nav>a.nav-item{flex-direction:column;justify-content:center;gap:5px;white-space:nowrap;padding:8px 2px;font-size:10px}}
