:root{font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:#172640;background:#f4f7fc;font-size:16px;line-height:1.6}*{box-sizing:border-box}body{margin:0}header{background:#fff;padding:20px 6%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dfe5ef}a{color:#2459ed;text-decoration:none}header a{font-size:22px}header span{color:#64748b;font-size:14px}.notice{background:#e7efff;color:#355185;padding:12px 6%;font-size:14px}main{max-width:1120px;margin:35px auto;padding:0 22px}h1{font-size:30px;margin:0 0 12px}h2{font-size:21px;margin-top:0}p{color:#607089}.panel{background:#fff;border:1px solid #dfe5ef;padding:28px;border-radius:15px;margin-bottom:20px}.auth{max-width:470px;margin:40px auto}.field{margin:18px 0}label{display:block;margin-bottom:7px;font-size:14px;font-weight:600}input,select,button{font:inherit}input,select{width:100%;padding:11px;border:1px solid #cdd7e5;border-radius:7px;background:white;min-width:0}button,.button{background:#2459ed;color:white;border:0;border-radius:7px;padding:11px 18px;cursor:pointer;display:inline-block;font-size:14px;font-weight:600}button.secondary{background:#eef2fa;color:#304867}button:disabled{opacity:.55;cursor:wait}.buttons{display:flex;gap:10px;flex-wrap:wrap;align-items:center}nav{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}nav a{padding:8px 14px;border-radius:6px;background:white;border:1px solid #dfe5ef}nav a.active{background:#2459ed;color:white}.message{background:#edf3ff;color:#254b96;padding:13px;border-radius:7px;white-space:pre-wrap}.error{background:#fff0ec;color:#9d3224}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{border:1px solid #dfe5ef;border-radius:10px;padding:21px}.card h3{margin:0 0 10px;font-size:17px}.card strong{font-size:22px}.meta{font-size:13px;color:#64748b}.user{border-top:1px solid #dfe5ef;padding:24px 0}.user:first-child{border-top:0}.user-head{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.user-head strong{overflow-wrap:anywhere}.grant{display:grid;grid-template-columns:100px 1fr auto;gap:10px;margin-top:14px;align-items:end}.grant label{margin:0}.status{padding:4px 9px;background:#eef3ff;border-radius:5px;font-size:13px}.mail{padding:18px 0;border-top:1px solid #dfe5ef;overflow-wrap:anywhere}.mail p{margin:4px 0}.row{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.row input[type=checkbox]{width:auto}.full{width:100%}.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}code{overflow-wrap:anywhere}pre{white-space:pre-wrap;font-size:13px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #eba92d;outline-offset:3px}.check{font-size:14px;display:flex;align-items:center;gap:8px}.check input{width:auto}.help{font-size:14px}details{margin:16px 0}summary{cursor:pointer}.audit{border-bottom:1px solid #e4e9f0;padding:12px 0;font-size:14px;overflow-wrap:anywhere}@media(max-width:700px){header{padding:15px 20px;gap:15px}header span{font-size:12px}main{padding:0 15px;margin:24px auto}.panel{padding:22px}.grid,.split{grid-template-columns:1fr}.grant{grid-template-columns:1fr 1fr}.grant button{grid-column:1/-1}.auth{margin:25px auto}.notice{padding:10px 20px;font-size:12px}h1{font-size:26px}}
/* Member workspace, 0.2.0: presentation only. */
main{max-width:none;padding:0;margin:0}body>header{display:none}.notice{padding:9px 28px;text-align:right;font-size:12px}h1,h2,strong{overflow-wrap:anywhere}.workspace{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:calc(100vh - 38px)}.sidebar{background:#fff;border-right:1px solid #e1e7f0;padding:30px 22px;display:flex;flex-direction:column;gap:16px}.side-brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:750;color:#172640;margin-bottom:29px}.brand-logo{background:#2459ed;color:white;width:37px;height:37px;border-radius:11px;display:grid;place-items:center}.side-label{color:#8490a3;font-size:12px;letter-spacing:2px;margin:0 12px}.sidebar nav{display:flex;flex-direction:column;margin:0;gap:7px}.sidebar nav a{border:0;background:transparent;color:#5b6c86;padding:12px 15px;font-size:15px;display:flex;align-items:center;gap:12px}.sidebar nav a span{font-size:20px;width:21px;text-align:center}.sidebar nav a.active{background:#ebf0ff;color:#2459ed;font-weight:650}.side-bottom{margin-top:auto;padding-top:65px}.side-bottom>a{font-size:13px;display:block;padding:12px 8px}.side-profile{border-top:1px solid #e7edf5;padding-top:21px;display:flex;gap:10px;margin:12px 0 18px;min-width:0}.avatar{height:35px;width:35px;flex-shrink:0;border-radius:50%;background:#eef2fc;color:#3d5b92;display:grid;place-items:center}.side-profile div{min-width:0}.side-profile strong{font-size:13px;font-weight:600}.side-profile small{display:block;font-size:11px;color:#76849b;overflow-wrap:anywhere}.side-bottom button{width:100%;background:#f6f8fc;font-size:13px}.workspace-main{padding:38px clamp(22px,4vw,62px);min-width:0;max-width:1500px;width:100%;margin:auto}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:650;color:#74839a;margin-bottom:6px}.page-heading h1{font-size:28px;margin:0}.page-heading p{font-size:14px;margin:7px 0 28px;color:#6d7c93}.welcome{background:#173969;border-radius:17px;color:white;padding:30px 34px;display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:22px}.welcome-tag{font-size:12px;color:#b5c9ea}.welcome h2{font-size:28px;margin:6px 0}.welcome p{color:#cfddf1;font-size:14px;margin:0 0 20px;overflow-wrap:anywhere}.welcome .button{background:white;color:#254570;padding:9px 16px}.welcome-aside{padding:22px 28px;border-left:1px solid #526b90;display:flex;flex-direction:column;gap:8px}.welcome-aside span{font-size:12px;color:#b5c9ea}.welcome-aside strong{font-size:19px}.welcome-aside small{color:#c1d0e6;font-size:12px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:32px}.stats article{border:1px solid #e1e7ef;background:white;border-radius:13px;padding:20px 24px}.stats span{font-size:13px;color:#64748b}.stats strong{display:block;font-size:30px;font-weight:700;line-height:1.5;margin:5px 0}.stats small{font-size:13px;font-weight:500;color:#7b899b}.stats p{font-size:12px;margin:0}.stats .text-stat{font-size:23px;padding:5px 0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.section-heading h2{font-size:19px;margin:0}.section-heading a{font-size:13px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{background:white;border:1px solid #dfe6ef;border-radius:14px;padding:24px;display:flex;flex-direction:column;min-width:0}.product-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:23px}.product-icon{width:43px;height:43px;border-radius:12px;background:#eaf0ff;color:#2459ed;font-size:24px;display:grid;place-items:center}.product-icon.purple{background:#f0ebfa;color:#7954ad}.product-icon.teal{background:#e6f3f0;color:#278878}.badge{display:inline-block;background:#f0f3f8;color:#62758e;font-size:11px;padding:4px 9px;border-radius:6px;white-space:nowrap}.badge.good{background:#e8f5ed;color:#27734c}.product-card h2{font-size:18px;margin:0 0 5px}.product-card>p{font-size:12px;margin:0 0 22px}.feature-list{font-size:12px;margin:5px 0 24px}.feature-list>div{display:flex;justify-content:space-between;gap:7px;margin:13px 0}.feature-list span{color:#64748b}.feature-list b{font-weight:500}.product-foot{margin-top:auto;border-top:1px solid #e9edf4;padding-top:14px;font-size:11px;color:#73829a}.product-card .product-note{font-size:11px;margin:11px 0 0;color:#71819a}.pending-body{display:flex;flex-direction:column;align-items:center;text-align:center;padding:12px 0 22px;gap:7px}.pending-symbol{font-size:30px;color:#a5b3c8}.pending-body strong{font-size:14px;font-weight:500}.pending-body p{font-size:12px;line-height:1.9;margin:0}.quicklinks{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.quicklinks a{border:1px solid #dfe6ef;background:#fff;border-radius:12px;padding:20px;display:flex;justify-content:space-between;gap:12px}.quicklinks strong{color:#293b58;font-size:14px}.quicklinks span{font-size:12px;color:#74849b}.empty-state{text-align:center;padding:36px 20px 46px;max-width:520px;margin:auto}.empty-icon{display:grid;place-items:center;background:#eef3fb;color:#7c96bf;width:70px;height:70px;border-radius:20px;font-size:34px;margin:0 auto 20px}.empty-state h3{font-size:21px;margin-bottom:9px}.empty-state p{font-size:14px;line-height:1.9;margin-bottom:23px}.device-rules{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:23px}.device-rules b{font-size:14px}.device-rules p{font-size:13px}.workspace-main .auth{max-width:600px;margin:0}.workspace-main .message:empty{display:none}.workspace-main .message:not(:empty){margin-bottom:20px}.auth{margin:60px auto;max-width:470px}.grant{margin-bottom:14px}.user-head{align-items:flex-start}.user-head strong{font-size:15px}.status{align-self:flex-start}
@media(max-width:1120px){.workspace{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:25px 15px}.workspace-main{padding:30px 24px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-aside{padding:15px;max-width:210px}.quicklinks a{flex-direction:column}.stats article{padding:16px}}
@media(max-width:720px){.notice{text-align:left;font-size:11px;padding:8px 16px}.workspace{grid-template-columns:1fr}.sidebar{padding:17px 16px;border-right:0;border-bottom:1px solid #e1e7f0;gap:10px}.side-brand{margin:0;font-size:19px}.side-label,.side-profile{display:none}.sidebar nav{flex-direction:row;flex-wrap:wrap;gap:4px}.sidebar nav a{padding:8px 10px;font-size:13px}.sidebar nav a span{font-size:16px;width:auto}.side-bottom{padding:0;margin:0;display:flex;align-items:center;gap:10px;justify-content:space-between}.side-bottom button{width:auto;padding:7px 12px}.side-bottom>a{padding:0;font-size:12px}.workspace-main{padding:25px 16px}.product-grid{grid-template-columns:1fr}.welcome{padding:25px;align-items:flex-start}.welcome-aside{display:none}.stats{gap:8px}.stats article{padding:12px}.stats span{font-size:11px}.stats p{font-size:10px;line-height:1.7}.stats strong{font-size:25px}.stats .text-stat{font-size:19px}.quicklinks{grid-template-columns:1fr;gap:10px}.device-rules{grid-template-columns:1fr;gap:10px}.auth{margin:30px 16px;max-width:none}.workspace-main .auth{margin:0}.page-heading h1{font-size:26px}.product-card{padding:24px}.empty-state{padding:25px 0}.section-heading{flex-wrap:wrap}}
.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:14px 12px;border-bottom:1px solid #e7edf5;vertical-align:top;max-width:300px;overflow-wrap:anywhere}th{background:#f7f9fc;color:#62718b;font-weight:600}td button{margin:2px;white-space:nowrap}.module-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:900px}.module-form label{display:grid;gap:7px;font-size:13px}.module-form label.check{display:flex;align-items:center}.module-form button{align-self:end;justify-self:start}.module-form fieldset{border:1px solid #e1e8f2;border-radius:10px;padding:15px}.module-form fieldset label{margin:8px 0}select,textarea{width:100%;border:1px solid #d7e0ed;border-radius:8px;padding:11px;background:white;color:#233550}textarea{font-family:monospace}.badge.bad{background:#fff0ee;color:#b84336}.detail-metrics{display:flex;gap:20px;flex-wrap:wrap;align-items:center}.price{font-size:28px;color:#2563eb}.product-card{display:flex;flex-direction:column;min-height:320px}.product-card .product-foot{margin-top:auto}.product-card>.button{margin-top:16px}.sidebar nav{max-height:calc(100vh - 290px);overflow-y:auto}.panel+.panel{margin-top:22px}.panel>h2{margin-bottom:20px}code{overflow-wrap:anywhere} .table-scroll details{font-size:11px} @media(max-width:760px){.module-form{grid-template-columns:1fr}.sidebar nav{max-height:none}th,td{min-width:120px}.detail-metrics{gap:12px}}
/* Keep long admin navigation in one vertical column. */
@media(min-width:721px){.sidebar{position:sticky;top:0;height:100vh;align-self:start}.sidebar nav{flex-wrap:nowrap;overflow-x:hidden;flex:1;max-height:none;min-height:0}.sidebar nav a{flex-shrink:0}.side-bottom{padding-top:10px;margin-top:0}.side-brand{margin-bottom:12px}}
.module-form fieldset{min-width:0}.module-form label{align-content:start}.product-grid{grid-auto-rows:1fr}.button.secondary{background:#eef2fa;color:#304867}.badge.warn{background:#fff5dd;color:#8b630d}
