*{box-sizing:border-box}
body{margin:0;background:#f3f4f1;color:#131c2e;font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:15px;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:'Source Serif 4',Georgia,serif;font-weight:600;margin:0}
button,input,textarea{font-family:inherit;font-size:inherit}
.top{background:#fbfbf9;border-bottom:1px solid #e2e5ea;padding:12px clamp(16px,4vw,40px);display:flex;align-items:center;gap:14px;position:sticky;top:0;z-index:5}
.top img{width:32px;height:32px;object-fit:contain}
.top b{font-family:'Source Serif 4',Georgia,serif;font-size:18px}
.top .sp{margin-left:auto;font-size:13.5px;color:#5b6577}
.wrap{max-width:1060px;margin:0 auto;padding:26px clamp(16px,4vw,40px) 70px}
.tabs{display:flex;gap:4px;border-bottom:1px solid #d8dce3;margin-bottom:24px;flex-wrap:wrap}
.tabs button{background:none;border:none;border-bottom:2px solid transparent;padding:10px 14px;font-weight:600;color:#5b6577;cursor:pointer;margin-bottom:-1px}
.tabs button.on{color:#1e56b0;border-bottom-color:#1e56b0}
.card{background:#fff;border:1px solid #dde2ea;border-radius:10px;padding:20px 22px;margin-bottom:18px}
.card h2{font-size:19px;margin-bottom:6px}
.card h3{font-size:16px;margin-bottom:8px}
.muted{color:#6b7688;font-size:13.5px;line-height:1.55}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:18px}
.grid .card{margin:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border-radius:6px;border:1px solid #131c2e;background:#131c2e;color:#fff;font-weight:600;cursor:pointer;white-space:nowrap}
.btn:hover{background:#1b2740}
.btn.sec{background:#fff;color:#131c2e;border-color:#c9d0db}.btn.sec:hover{background:#f4f6fa}
.btn.warn{background:#fff;color:#a13a2c;border-color:#e3b8b1}.btn.warn:hover{background:#fdf3f1}
.btn.ok{background:#1e7a4f;border-color:#1e7a4f}.btn.ok:hover{background:#186640}
.btn.sm{height:32px;padding:0 11px;font-size:13.5px}
.btn:disabled{opacity:.5;cursor:default}
label{display:block;font-size:13.5px;font-weight:600;margin:14px 0 6px}
input[type=text],input[type=password],textarea{width:100%;border:1px solid #cfd5de;border-radius:6px;padding:10px 12px;color:#131c2e;background:#fff;outline:none}
input:focus,textarea:focus{border-color:#1e56b0}
textarea{min-height:190px;line-height:1.55;resize:vertical}
.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.pill{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}
.pill.g{background:#e9f6ef;color:#1e7a4f}.pill.y{background:#fdf7ea;color:#8a5f10;border:1px solid #e6c98f}.pill.gr{background:#f1f2f4;color:#6b7688}.pill.r{background:#fdf3f1;color:#a13a2c}
.big{font-family:'Source Serif 4',Georgia,serif;font-size:30px;font-weight:600;line-height:1.1}
.msg{padding:11px 14px;border-radius:8px;margin:14px 0;font-size:14px;line-height:1.5}
.msg.err{background:#fdf3f1;border:1px solid #e3b8b1;color:#8c2f23}.msg.good{background:#e9f6ef;border:1px solid #b8dcc8;color:#1e6a45}.msg.info{background:#f6f9fe;border:1px solid #cdd9ee;color:#274a86}
table{width:100%;border-collapse:collapse}
th,td{text-align:left;padding:10px 10px;border-bottom:1px solid #eceef1;vertical-align:top;font-size:14px}
th{font-size:11.5px;letter-spacing:.07em;text-transform:uppercase;color:#8a94a6;font-weight:600}
tr:last-child td{border-bottom:none}
.bars{display:flex;align-items:flex-end;gap:8px;height:90px;margin-top:14px}
.bars div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;font:500 10.5px 'IBM Plex Mono',monospace;color:#8a94a6;height:100%}
.bars i{display:block;width:100%;max-width:38px;background:#1e56b0;border-radius:3px 3px 0 0;min-height:2px}
.meter{height:8px;border-radius:4px;background:#eceef1;overflow:hidden;margin:10px 0 6px}.meter i{display:block;height:100%;background:#1e56b0}
.preview{white-space:pre-wrap;background:#fbfbf9;border:1px solid #e2e5ea;border-radius:8px;padding:14px 16px;font-size:14px;line-height:1.6;max-height:340px;overflow:auto;margin:12px 0}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px;font-weight:400;line-height:1.5;margin:14px 0}
.check input{margin-top:3px;width:17px;height:17px;flex:none}
.login{max-width:400px;margin:9vh auto 0}
.login .card{padding:28px}
.mono{font-family:'IBM Plex Mono',monospace;font-size:12.5px}
.switch{position:relative;width:54px;height:30px;border-radius:15px;border:none;background:#c9d0db;cursor:pointer;flex:none}
.switch.on{background:#2fa36b}.switch i{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(19,28,46,.3);transition:left .15s ease}.switch.on i{left:27px}
@media (max-width:640px){th:nth-child(3),td:nth-child(3){display:none}}
.login.wide{max-width:460px;margin-top:6vh}
.qrbox{display:flex;justify-content:center;margin:16px 0 12px}
.qr{width:216px;height:216px;border:1px solid #dde2ea;border-radius:8px}
.secret{font:500 14px 'IBM Plex Mono',monospace;letter-spacing:.04em;background:#fbfbf9;border:1px solid #e2e5ea;border-radius:8px;padding:10px 12px;margin-top:8px;word-break:break-all;user-select:all}
.codes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}
.codes span{font:500 14.5px 'IBM Plex Mono',monospace;background:#fbfbf9;border:1px solid #e2e5ea;border-radius:6px;padding:8px 10px;text-align:center;user-select:all}
