:root{font-family:Microsoft YaHei,PingFang SC,sans-serif;color:#122447;background:#f5f8fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}.brand{display:flex;align-items:center;gap:12px}.brand>svg{width:38px;height:38px;color:#1976ff}.brand span{display:flex;flex-direction:column}.brand b{font-size:18px}.brand small{font-size:11px;color:#7c899e;margin-top:3px}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 30% 20%,#fff,#eef5ff 70%)}.login form{width:420px;background:#fff;border:1px solid #e2eaf4;border-radius:20px;padding:34px 38px;box-shadow:0 20px 50px #1f487f1f}.login h1{font-size:25px;margin:34px 0 8px}.login p,.dialog p{color:#728097;font-size:13px;line-height:1.6}.login label,.relay-card label,.fields label{display:flex;flex-direction:column;gap:8px;margin-top:20px;font-size:13px;font-weight:700}input{height:44px;border:1px solid #dce5f0;border-radius:10px;padding:0 13px;outline:none;color:#152849}input:focus{border-color:#3689ff;box-shadow:0 0 0 3px #3689ff1c}.login form>button,.primary{height:44px;border:0;border-radius:10px;background:linear-gradient(135deg,#1976ff,#36a2ff);color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px}.login form>button{width:100%;margin-top:24px}.form-error,.error-banner{background:#fff0f0;color:#c44646;border:1px solid #ffd8d8;border-radius:9px;padding:10px 12px;font-size:13px;margin-top:16px}.admin-shell{min-height:100vh;display:grid;grid-template-columns:230px 1fr}.admin-shell aside{background:#fff;border-right:1px solid #e4eaf3;padding:24px 16px;display:flex;flex-direction:column}.admin-shell aside .brand{padding:0 10px 30px}.admin-shell nav{display:flex;flex-direction:column;gap:7px}.admin-shell nav button,.logout{height:48px;border:0;border-radius:10px;background:transparent;display:flex;align-items:center;gap:12px;padding:0 15px;color:#53627a;font-weight:700}.admin-shell nav button.active{background:#edf5ff;color:#1976ff}.admin-shell svg{width:19px}.logout{margin-top:auto}.content{padding:32px 36px}.content>header{display:flex;align-items:center;justify-content:space-between}.content h1{font-size:26px;margin:0}.content header p{margin:8px 0 0;color:#77859b;font-size:13px}.icon{width:42px;height:42px;border:1px solid #dce5ef;background:#fff;border-radius:10px;display:grid;place-items:center}.loading,.empty{padding:60px;text-align:center;color:#8794a7}.toolbar{display:flex;justify-content:flex-end;margin:26px 0 14px}.toolbar .primary{padding:0 18px}.table-card,.relay-card{background:#fff;border:1px solid #e2e9f2;border-radius:16px;box-shadow:0 6px 18px #22446e0d;overflow:hidden}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:16px 18px;border-bottom:1px solid #edf1f6;font-size:13px}th{background:#f9fbfd;color:#78869a;font-size:12px}td b,td small{display:block}td small{color:#8794a6;margin-top:5px}.status{display:inline-flex;padding:5px 9px;border-radius:20px;background:#f1f3f6;color:#7b8798;font-size:11px;font-weight:700}.status.on{background:#e5f8f1;color:#16835d}.permission-tags{display:flex;gap:5px;flex-wrap:wrap}.permission-tags span{background:#eaf3ff;color:#266dcc;padding:4px 7px;border-radius:6px;font-size:11px}.permission-tags em{color:#9aa5b4}.yes{color:#1aaa77}.no{color:#dc6464}.edit{border:0;background:#eef5ff;color:#2674dd;height:34px;padding:0 10px;border-radius:8px;display:flex;align-items:center;gap:6px}.dialog-backdrop{position:fixed;inset:0;background:#0c1d365c;display:grid;place-items:center;padding:30px;z-index:10}.dialog{width:min(680px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;padding:26px 28px;box-shadow:0 30px 70px #0d23433d}.dialog>header{display:flex;justify-content:space-between;align-items:flex-start}.dialog h2{margin:0;font-size:21px}.dialog>header button{border:0;background:#f1f4f8;width:34px;height:34px;border-radius:8px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.switches{border:1px solid #e5ebf3;border-radius:12px;margin-top:22px;overflow:hidden}.switch-row{width:100%;padding:14px 16px;border:0;border-bottom:1px solid #edf1f5;background:#fff;display:flex;justify-content:space-between;text-align:left}.switch-row:last-child{border-bottom:0}.switch-row span{display:flex;flex-direction:column;gap:5px}.switch-row small{color:#8290a4}.switch-row i{width:42px;height:24px;border-radius:14px;background:#c9d2df;padding:3px;transition:.2s}.switch-row i em{display:block;width:18px;height:18px;border-radius:50%;background:#fff;transition:.2s}.switch-row i.checked{background:#1976ff}.switch-row i.checked em{transform:translate(18px)}.dialog footer,.relay-card footer{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.secondary{height:42px;padding:0 18px;border:1px solid #dce4ee;background:#fff;border-radius:9px}.dialog .primary,.relay-card .primary{padding:0 20px;border:0}.relay-card{max-width:760px;margin-top:26px;padding:28px}.relay-note{display:flex;gap:13px;background:#eef6ff;border:1px solid #d8eaff;border-radius:12px;padding:15px;color:#2067c5}.relay-note span{display:flex;flex-direction:column;gap:6px}.relay-note small{color:#5d789e}.relay-card label small{color:#8390a4;font-weight:400}.secret{display:flex;gap:8px}.secret input{flex:1}.secret button{width:70px;border:1px solid #dce5ef;background:#f8fafc;border-radius:9px}.version{display:flex;align-items:center;gap:8px;color:#718097;font-size:12px;margin-top:18px}.success{background:#e9f9f2;color:#18805d;border:1px solid #ccefe0;border-radius:9px;padding:10px 12px;font-size:13px;margin-top:16px}@media(max-width:900px){.admin-shell{grid-template-columns:78px 1fr}.admin-shell aside .brand span,.admin-shell nav button:not(.active){font-size:0}.admin-shell nav button,.logout{justify-content:center;padding:0}.content{padding:24px 18px}.fields{grid-template-columns:1fr}table{min-width:760px}.table-card{overflow:auto}}.release-page{max-width:900px;margin-top:26px;display:grid;gap:18px}.release-intro{display:flex;gap:13px;background:#eef6ff;border:1px solid #d8eaff;border-radius:12px;padding:15px;color:#2067c5}.release-intro>svg{flex:0 0 auto}.release-intro span{display:flex;flex-direction:column;gap:6px}.release-intro small{color:#5d789e;line-height:1.6}.release-card{background:#fff;border:1px solid #e2e9f2;border-radius:16px;padding:26px;box-shadow:0 6px 18px #22446e0d}.release-card>header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.release-card h2{font-size:19px;margin:10px 0 7px}.release-card header p{color:#77869b;font-size:12px;line-height:1.6;margin:0}.release-kind{display:inline-flex;padding:5px 9px;border-radius:6px;background:#eaf3ff;color:#2674dd;font-size:11px;font-weight:700}.release-kind.content{color:#18805d;background:#e9f9f2}.release-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;margin-top:20px}.release-fields label{display:flex;flex-direction:column;gap:8px;margin-top:16px;font-size:12px;font-weight:700}.release-fields label.wide{grid-column:1/-1}.release-fields textarea{min-height:86px;border:1px solid #dce5f0;border-radius:10px;padding:10px 13px;resize:vertical;outline:none;color:#152849}.release-switches{border:1px solid #e5ebf3;border-radius:12px;margin-top:22px;overflow:hidden}.release-card>footer{display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding-top:18px;border-top:1px solid #edf2f7}.release-card>footer small{color:#8491a4}.release-card .primary{height:42px;padding:0 18px;border:0}.release-card .switch-row{margin:0;width:100%}@media(max-width:900px){.release-fields{grid-template-columns:1fr}.release-fields label.wide{grid-column:auto}}.relay-check{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;padding:16px;border:1px solid #e0e8f2;border-radius:12px;background:#fbfdff}.relay-check>div{display:flex;align-items:flex-start;gap:12px}.relay-check svg{color:#1976ff;flex:0 0 auto}.relay-check span,.check-result span{display:flex;flex-direction:column;gap:5px}.relay-check small{color:#7b899d;line-height:1.55;max-width:500px}.relay-check .secondary{white-space:nowrap}.relay-check button:disabled,.relay-card button:disabled{opacity:.6;cursor:wait}.check-result{display:flex;align-items:center;gap:12px;margin-top:12px;padding:13px 15px;border-radius:10px}.check-result i{width:10px;height:10px;border-radius:50%;flex:0 0 auto}.check-result small{font-size:12px}.check-result.ok{background:#eaf9f3;border:1px solid #ccefe0;color:#197656}.check-result.ok i{background:#19a774}.check-result.failed{background:#fff1f1;border:1px solid #ffdada;color:#bd4545}.check-result.failed i{background:#e65757}@media(max-width:680px){.relay-check{align-items:stretch;flex-direction:column}}select{font:inherit;height:44px;border:1px solid #dce5f0;border-radius:10px;padding:0 13px;outline:none;color:#152849;background:#fff}select:focus{border-color:#3689ff;box-shadow:0 0 0 3px #3689ff1c}.commerce{margin-top:26px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metric{background:#fff;border:1px solid #e1e9f3;border-radius:14px;padding:18px;display:flex;align-items:center;gap:14px}.metric>i{width:42px;height:42px;border-radius:11px;background:#edf5ff;color:#1976ff;display:grid;place-items:center}.metric span{display:flex;flex-direction:column;gap:5px}.metric small{color:#8491a5}.metric b{font-size:20px}.commerce-tabs{display:flex;gap:8px;margin:22px 0 14px}.commerce-tabs button{height:40px;padding:0 16px;border:1px solid #dfe7f1;border-radius:9px;background:#fff;color:#64728a;font-weight:700}.commerce-tabs button.active{background:#1976ff;border-color:#1976ff;color:#fff}.operation-card{background:#fff;border:1px solid #e2e9f2;border-radius:14px;padding:20px;margin-bottom:14px}.operation-card h3{margin:0 0 14px}.operation-card>p{font-size:12px;color:#7d8ba1}.inline-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.inline-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;min-width:150px;flex:1}.inline-form .primary{padding:0 16px;border:0;white-space:nowrap}.section-title{font-size:17px;margin:24px 0 12px}@media(max-width:1100px){.metric-grid{grid-template-columns:1fr 1fr}}@media(max-width:900px){.metric-grid{grid-template-columns:1fr}}.release-upload{margin-top:20px;min-height:78px;border:1px dashed #9bbce2;border-radius:12px;background:#f7fbff;display:flex;align-items:center;gap:13px;padding:14px 17px;color:#286fc8;cursor:pointer}.release-upload input{display:none}.release-upload>svg{width:34px;height:34px;padding:7px;background:#e4f1ff;border-radius:9px}.release-upload span{display:flex;flex-direction:column;gap:6px}.release-upload small{color:#7287a1;font-weight:400}
