:root { font-family: 'DM Sans', Inter, -apple-system, 'PingFang SC', sans-serif; color: #19202c; background: #fff; --accent: #2554ed; --line: #e1e5eb; --muted: #616b78; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { padding: 0 max(24px, calc((100vw - 1100px)/2)); height: 66px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 730; letter-spacing: -.065em; white-space: nowrap; }
.mark { display: block; width: 24px; height: 26px; border-left: 7px solid var(--accent); border-right: 7px solid var(--accent); transform: skewY(-17deg); }
.separator { width: 1px; height: 15px; background: #d4d8df; }
.console, th, .metrics span, .empty, .connections p { color: var(--muted); }
.console { font-size: 13px; }
#logout { margin-left: auto; }
main { max-width: 1148px; margin: auto; padding: 57px 24px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -.065em; line-height: 1.2; }
h2 { font-size: 18px; letter-spacing: -.025em; }
.title, .dialog-title, .dialog-foot, .connections { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.actions { display: flex; gap: 8px; }
button, input, select, textarea { font: inherit; }
button, .upload { cursor: pointer; }
button { padding: 9px 14px; color: inherit; background: white; border: 1px solid #cfd6de; border-radius: 6px; font-size: 14px; font-weight: 540; }
button:hover { background: #f3f5fa; }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.primary { background: var(--accent); color: white; border-color: var(--accent); }
.primary:hover { background: #1844d2; }
.quiet, .link, .danger { border: 0; }
.link, .upload, .on { color: #164bd7; }
.danger { color: #9a2838; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 52px; border-top: 2px solid #263247; border-bottom: 1px solid var(--line); }
.metrics > div { padding: 21px 0; }
.metrics span { display: block; font-size: 13px; }
.metrics strong { display: block; font-size: 34px; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -.06em; }
.section-title { margin-bottom: 16px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
th { padding: 12px; font-weight: 500; background: #f5f7fa; white-space: nowrap; }
td { padding: 13px 12px; border-bottom: 1px solid var(--line); }
td:last-child { text-align: right; }
.account-name { font-weight: 620; word-break: break-word; }
.empty { padding: 46px 0; text-align: center; border-bottom: 1px solid var(--line); font-size: 14px; }
.connections { margin-top: 32px; padding: 18px 0 18px 16px; border-left: 3px solid #8ea6ff; }
.connections p { font-size: 13px; margin-top: 5px; }
.signin { width: min(100%, 360px); margin: 9vh auto 0; }
.bar { background: var(--accent); height: 4px; width: 46px; margin-bottom: 22px; }
.signin form { margin-top: 32px; }
.signin button { margin-top: 15px; width: 100%; }
label:not(.check) { display: block; font-size: 13px; font-weight: 540; margin: 16px 0 7px; }
input:not([type=checkbox]):not([type=file]), textarea, select { width: 100%; padding: 10px; background: white; color: inherit; border: 1px solid #cbd1da; border-radius: 5px; }
textarea { resize: vertical; font-family: 'IBM Plex Mono', monospace; font-size: 12px; }
dialog { border: 1px solid var(--line); border-radius: 12px; padding: 24px; width: min(440px, 92vw); color: inherit; box-shadow: 0 20px 90px #111b3022; }
dialog::backdrop { background: #17263855; }
.dialog-title { margin-bottom: 16px; }
.dialog-foot { margin-top: 24px; }
#save { margin-left: auto; }
.upload { width: fit-content; position: relative; text-decoration: underline; }
.upload input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.check { display: flex; align-items: center; gap: 7px; margin-top: 18px; font-size: 14px; }
#toast { position: fixed; inset: auto 0 32px; z-index: 10; width: fit-content; max-width: 80vw; margin: auto; padding: 12px 18px; background: #19202c; color: white; border-radius: 7px; font-size: 14px; }
@media (max-width: 620px) { main { padding-top: 32px; } .metrics { margin: 24px 0 34px; } .metrics strong { font-size: 28px; } td, th { min-width: 74px; font-size: 12px; } .actions button { padding: 8px; } }
