:root { color-scheme: dark; --bg: #101513; --panel: #17201c; --panel-2: #1d2822; --line: #304037; --text: #f1f4ed; --muted: #9ca89e; --green: #67d879; --green-dark: #1c6d3e; --amber: #f4b45f; --red: #f26d6d; --focus: #e1f28d; }
* { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.45 Inter, "Microsoft YaHei", sans-serif; } button, input, select, textarea { font: inherit; } button { cursor: pointer; } .topbar { height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid var(--line); background: #121a16; position: sticky; top: 0; z-index: 2; } .brand { display: flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: 0; } .brand-mark { width: 28px; height: 28px; display: grid; place-items: center; color: #102116; background: var(--green); border-radius: 5px; font-weight: 900; } .topbar-actions { display: flex; align-items: center; gap: 14px; } main { max-width: 1480px; padding: 36px 32px 54px; margin: auto; } .overview { display: flex; gap: 34px; justify-content: space-between; align-items: end; padding: 0 0 30px; border-bottom: 1px solid var(--line); } h1, h2, p { margin: 0; } h1 { font-size: 27px; line-height: 1.2; margin-bottom: 8px; } h2 { font-size: 17px; line-height: 1.3; } .eyebrow { color: var(--green); font-weight: 700; font-size: 12px; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0; } .muted, small { color: var(--muted); } .metric-strip { display: grid; grid-template-columns: repeat(3, minmax(105px, 1fr)); border: 1px solid var(--line); background: var(--panel); } .metric-strip > div { padding: 13px 18px; min-width: 112px; border-left: 1px solid var(--line); } .metric-strip > div:first-child { border-left: 0; } .metric-strip b { display: block; font-size: 19px; line-height: 1.2; color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .metric-strip span { color: var(--muted); font-size: 12px; } .workspace { display: grid; grid-template-columns: minmax(0, 1fr) 337px; gap: 22px; margin-top: 26px; } .main-column, .settings-column { display: grid; align-content: start; gap: 22px; } .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; } .section-heading { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); } .inline-form { display: grid; grid-template-columns: 1.65fr 1fr auto; gap: 12px; padding: 17px 20px; border-bottom: 1px solid var(--line); align-items: end; } label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; } input, select, textarea { width: 100%; border: 1px solid #45564b; background: #111813; color: var(--text); border-radius: 4px; padding: 9px 10px; outline: none; min-height: 38px; } input:focus, select:focus, textarea:focus { border-color: var(--focus); box-shadow: 0 0 0 2px #e1f28d22; } .button { min-height: 38px; border-radius: 4px; padding: 0 13px; border: 1px solid transparent; font-weight: 700; white-space: nowrap; } .button.primary { color: #102116; background: var(--green); } .button.primary:hover { background: #8ce59a; } .button.secondary { color: var(--text); background: transparent; border-color: #506054; } .button.secondary:hover { background: #26352d; } .wide { width: 100%; } .status-dot { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; } .status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); } .status-dot.success::before { background: var(--green); } .status-dot.running::before { background: var(--amber); } .status-dot.error::before { background: var(--red); } .empty-state { padding: 32px 20px; color: var(--muted); text-align: center; } .table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th, td { padding: 13px 20px; border-bottom: 1px solid #2b3830; text-align: left; white-space: nowrap; } th { color: var(--muted); font-size: 12px; font-weight: 650; } tr:last-child td { border-bottom: 0; } td.address-cell { white-space: normal; min-width: 275px; } .address-code { display: block; color: var(--text); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; } .row-label { color: var(--muted); font-size: 12px; margin-top: 2px; } .delete { border: 0; color: #f48b8b; background: transparent; padding: 5px; } .settings-form { padding: 20px; display: grid; gap: 15px; } .settings-form small { min-height: 14px; } .form-note { color: var(--muted); padding: 0 20px 18px; min-height: 18px; } .alerts-list { display: grid; } .alert { padding: 15px 20px; border-bottom: 1px solid #2b3830; } .alert:last-child { border-bottom: 0; } .alert-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 7px; } .alert-tag { color: #112116; background: var(--green); border-radius: 3px; font-size: 11px; font-weight: 800; padding: 2px 5px; } .alert-time { color: var(--muted); font-size: 12px; } .alert pre { margin: 0; color: #d8dfd4; font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; } dialog { border: 1px solid var(--line); border-radius: 6px; padding: 0; color: var(--text); background: var(--panel); width: min(580px, calc(100vw - 30px)); } dialog::backdrop { background: #000b; } dialog form { padding: 20px; display: grid; gap: 15px; } .dialog-heading, .dialog-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; } .icon-button { width: 32px; height: 32px; color: var(--muted); background: transparent; border: 0; font-size: 25px; line-height: 1; } textarea { min-height: 190px; resize: vertical; } #toast { position: fixed; right: 24px; bottom: 24px; max-width: min(420px, calc(100vw - 48px)); color: #112116; background: var(--green); padding: 11px 14px; border-radius: 4px; opacity: 0; transform: translateY(10px); transition: opacity .15s, transform .15s; pointer-events: none; font-weight: 700; } #toast.show { opacity: 1; transform: translateY(0); } #toast.error { color: #351111; background: #f28b8b; }
.compact-textarea { min-height: 82px; resize: vertical; } .check-label { display: flex; align-items: center; gap: 8px; color: var(--muted); cursor: pointer; } .check-label input { width: 15px; min-height: 15px; margin: 0; accent-color: var(--green); }
@media (max-width: 980px) { .workspace { grid-template-columns: 1fr; } .settings-column { order: -1; } } @media (max-width: 700px) { .topbar { padding: 0 16px; } main { padding: 25px 16px 36px; } .overview { align-items: start; flex-direction: column; } .metric-strip { width: 100%; } .metric-strip > div { min-width: 0; padding: 12px; } .inline-form { grid-template-columns: 1fr; } .inline-form .button { width: 100%; } .topbar-actions { gap: 8px; } .status-dot { display: none; } th, td { padding: 11px 13px; } }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--bg); } .auth-panel { width: min(410px, 100%); padding: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); } .auth-brand { margin-bottom: 32px; } .auth-form { display: grid; gap: 16px; margin-top: 24px; } .auth-form .button { margin-top: 4px; } .current-user { color: var(--muted); font-size: 12px; }
