:root{--bg:#f4f7fb;--panel:#fff;--text:#13233a;--muted:#6b778c;--line:#dfe6ef;--primary:#0b6bcb;--primary2:#0a4f98;--danger:#bd2c33;--success:#147d52;--shadow:0 12px 36px rgba(20,44,74,.09);font-family:Inter,"Noto Sans SC","Microsoft YaHei",system-ui,sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}.topbar{height:66px;background:#092f56;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 26px;position:sticky;top:0;z-index:20;box-shadow:0 4px 20px rgba(4,26,49,.22)}.brand,.top-actions{display:flex;align-items:center;gap:12px}.brand small{display:block;opacity:.7;margin-top:2px}.brand-mark{width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,#13a6d8,#0a5ab8);display:grid;place-items:center;color:#fff;font-weight:800;letter-spacing:.04em;box-shadow:0 10px 30px rgba(9,103,197,.25);margin:0 auto 18px}.brand-mark.small{width:38px;height:38px;border-radius:11px;margin:0}.pill{padding:5px 10px;border:1px solid rgba(255,255,255,.28);border-radius:999px;font-size:12px;text-transform:uppercase}.layout{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 66px)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:20px 12px;display:flex;flex-direction:column;gap:5px;position:sticky;top:66px;height:calc(100vh - 66px)}.sidebar button,.sidebar a{border:0;background:transparent;text-align:left;padding:11px 14px;border-radius:9px;color:#35445a;text-decoration:none;cursor:pointer}.sidebar button:hover,.sidebar a:hover,.sidebar button.active{background:#eaf3fc;color:#085cae;font-weight:650}.content{padding:28px;min-width:0}.view{display:none}.view.active{display:block}.page-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.page-head h1{margin:0 0 5px;font-size:28px}.page-head p,.muted{color:var(--muted);margin:0}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:20px}.card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.card{padding:18px}.card strong{display:block;font-size:28px;margin-top:10px}.card small{color:var(--muted)}.panel{padding:18px;margin-bottom:18px}.panel h2{font-size:17px;margin:0 0 14px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid-2>.panel{margin:0 0 18px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:11px 10px;border-bottom:1px solid #edf1f6;white-space:nowrap}th{color:#5b687a;font-weight:650;background:#f9fbfd}tbody tr:hover{background:#f7fbff}.status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:12px;background:#edf2f7}.status.SUCCEEDED,.status.PAID,.status.HEALTHY,.status.PROCESSED,.status.MATCHED{background:#e3f6ee;color:#087347}.status.FAILED,.status.UNHEALTHY,.status.EXCEPTION,.status.UNMATCHED{background:#fdebed;color:#a21d2a}.status.REQUIRES_ACTION,.status.PROCESSING,.status.RETRY,.status.RECONCILING{background:#fff3d8;color:#8b5b00}.primary,.secondary,.danger,.ghost{border:0;border-radius:8px;padding:9px 14px;cursor:pointer}.primary{background:var(--primary);color:#fff}.primary:hover{background:var(--primary2)}.secondary{background:#eaf2fa;color:#0a589f}.danger{background:#fde7e8;color:var(--danger)}.ghost{background:rgba(255,255,255,.12);color:#fff}.stack{display:flex;flex-direction:column;gap:14px}.stack label,.inline-form label{display:flex;flex-direction:column;gap:6px;color:#4d5b6e;font-size:13px}.stack input,.stack textarea,.inline-form input,.inline-form select{padding:11px;border:1px solid #cad5e2;border-radius:8px;background:#fff;color:var(--text)}.form-wide textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.55}.inline-form{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.inline-form label{min-width:220px;flex:1}.login-body{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 30% 10%,#e5f5ff,transparent 38%),linear-gradient(150deg,#f4f8fc,#e9eff7)}.login-card{width:min(430px,calc(100vw - 32px));background:#fff;border:1px solid var(--line);border-radius:20px;padding:34px;box-shadow:0 24px 70px rgba(12,51,92,.15);text-align:center}.login-card.wide{width:min(650px,calc(100vw - 32px))}.login-card h1{margin:0 0 8px}.login-card .stack{text-align:left;margin-top:26px}.footnote{font-size:12px;color:var(--muted);margin-top:22px}.alert{padding:11px 13px;border-radius:9px;margin:15px 0}.alert.error{background:#fdebed;color:#9b1c28}.alert.success{background:#e2f6ed;color:#087347}.summary{display:grid;grid-template-columns:150px 1fr;text-align:left;gap:10px 14px;background:#f8fafc;padding:18px;border-radius:12px;margin:22px 0}.summary dt{color:var(--muted)}.summary dd{margin:0;word-break:break-all}.button-row{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.filterbar{display:flex;gap:10px;margin-bottom:14px}.filterbar select{padding:9px;border:1px solid var(--line);border-radius:8px}.hidden{display:none!important}pre{white-space:pre-wrap;word-break:break-word;background:#0e2034;color:#cfe6ff;padding:16px;border-radius:10px;max-height:520px;overflow:auto}.list-row{display:grid;grid-template-columns:1fr auto;gap:12px;padding:10px 0;border-bottom:1px solid #edf1f6}.list-row:last-child{border:0}.list-row small{display:block;color:var(--muted);margin-top:3px}.warning{color:#8b5b00;font-size:13px}.toast{position:fixed;right:24px;bottom:24px;background:#142b45;color:#fff;padding:12px 16px;border-radius:9px;box-shadow:var(--shadow);opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateY(0)}output{display:block;white-space:pre-wrap;word-break:break-all;color:#0a6b48;margin-top:8px}@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{position:static;height:auto;display:flex;flex-direction:row;overflow:auto;border-right:0;border-bottom:1px solid var(--line)}.sidebar button,.sidebar a{white-space:nowrap}.content{padding:18px}.grid-2{grid-template-columns:1fr}.top-actions>span:not(.pill){display:none}}
