*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;background:#f5f6f8;color:#1f2328;font-size:14px;line-height:1.5}.topbar{position:sticky;top:0;z-index:100;display:flex;align-items:center;background:#1f6feb;color:#fff;padding:12px 24px;box-shadow:0 2px 6px #00000014}.topbar__brand{font-size:18px;font-weight:700;margin-right:40px}.topbar__links{display:flex;gap:20px;flex:1}.topbar__links a{color:#ffffffd9;text-decoration:none;padding:6px 12px;border-radius:6px;font-size:14px}.topbar__links a:hover,.topbar__links a.active{background:#ffffff2e;color:#fff}.topbar__status{font-size:12px;padding:4px 10px;border-radius:12px;background:#fff3}.topbar__status--ok{background:#52c41a}.topbar__status--err{background:#f5222d}.topbar__user{display:flex;align-items:center;gap:8px;margin-right:14px;font-size:13px}.topbar__user a{color:#fff;text-decoration:none;padding:6px 12px;border:1px solid rgba(255,255,255,.55);border-radius:6px}.topbar__username{font-weight:600}.topbar__role{font-size:11px;padding:2px 7px;border-radius:10px;background:#fff3}.btn--ghost-light{background:#ffffff29;color:#fff;padding:5px 12px;font-size:12px}.btn--ghost-light:hover{background:#ffffff47}body.is-guest .topbar__links{visibility:hidden}main{padding:24px}.loading{text-align:center;padding:80px;color:#8b949e}.section{background:#fff;border-radius:8px;padding:20px;margin-bottom:16px;box-shadow:0 1px 4px #0000000a}.section h2{font-size:16px;margin-bottom:16px;padding-left:12px;border-left:4px solid #1f6feb}.btn{display:inline-block;background:#1f6feb;color:#fff;border:none;border-radius:6px;padding:8px 16px;font-size:14px;cursor:pointer;text-decoration:none}.btn:hover{background:#4d8bff}.btn:disabled{background:#ccc;cursor:not-allowed}.btn-ghost{background:#fff;color:#1f6feb;border:1px solid #1f6feb}.btn-ghost:hover{background:#e8f0fe}.btn-sm{padding:4px 10px;font-size:12px}.btn-danger{background:#f5222d}.btn-danger:hover{background:#ff4d4f}.input,.textarea,select{width:100%;background:#f5f6f8;border:1px solid #e6e8eb;border-radius:6px;padding:8px 12px;font-size:14px;font-family:inherit}.input:focus,.textarea:focus,select:focus{outline:none;border-color:#1f6feb}.textarea{min-height:80px;resize:vertical}.label{display:block;font-size:12px;color:#57606a;margin-bottom:4px;margin-top:12px}.label__hint{color:#8b949e;font-size:11px;margin-left:6px}.row{display:flex;gap:12px;align-items:center}.row>*{flex:1}.gap-12{gap:12px}.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mb-8{margin-bottom:8px}.mb-16{margin-bottom:16px}.text-muted{color:#8b949e}.text-sm{font-size:12px}.text-right{text-align:right}.chip{display:inline-block;background:#f1f3f5;color:#57606a;padding:2px 10px;border-radius:4px;font-size:12px;margin-right:4px}.chip--voltage{background:#fff7e6;color:#d4880b;font-weight:600}.card-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}.card{background:#fafbfc;border:1px solid #e6e8eb;border-radius:6px;padding:14px;cursor:pointer;transition:all .15s}.card:hover{border-color:#1f6feb;background:#f0f5ff}.card--active{border-color:#1f6feb;background:#e8f0fe}.card__title{font-weight:600;font-size:14px;margin-bottom:6px}.card__meta{color:#8b949e;font-size:12px}.file-row{display:flex;align-items:center;background:#f6ffed;border:1px solid #b7eb8f;border-radius:6px;padding:8px 12px;margin-bottom:8px}.file-row__name{flex:1;color:#389e0d;font-size:13px}.file-row__remove{color:#8b949e;cursor:pointer;padding:0 8px}.file-row__remove:hover{color:#f5222d}.empty{text-align:center;padding:40px 20px;color:#8b949e}.alert{padding:10px 14px;border-radius:6px;margin-bottom:12px;font-size:13px}.alert--info{background:#e8f0fe;color:#1f6feb;border:1px solid #91caff}.alert--success{background:#f6ffed;color:#389e0d;border:1px solid #b7eb8f}.alert--error{background:#fff1f0;color:#f5222d;border:1px solid #ffccc7}.alert--warning{background:#fffbe6;color:#d4880b;border:1px solid #ffe58f}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:8px 10px;border-bottom:1px solid #f1f3f5}th{background:#fafbfc;color:#57606a;font-weight:600}pre{background:#1f2328;color:#e6e8eb;padding:12px;border-radius:6px;font-size:12px;overflow-x:auto;white-space:pre-wrap;word-break:break-all}
