caelum0x 1d87abc9d2 feat: add operator console pages, escalation review and public proof
Owner pages (overview balances and spend vs caps, decisions with tool trace
and Verify on Arc, escalation approve/reject, bills with manual or invoice
intake, policy on-chain vs off-chain drift) behind a server-side owner
session; public /proof with live metrics and Arcscan links, and /connect
onboarding for external teams. The operator API key stays on the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 17:19:42 +03:00

118 lines
6.4 KiB
CSS

/* Tameion operator console — calm, high-contrast, no decoration for its own sake. */
:root {
--bg: #f6f7f9;
--surface: #ffffff;
--surface-muted: #f0f2f5;
--border: #dde1e7;
--text: #16202c;
--text-muted: #556274;
--accent: #2b5fd9;
--accent-soft: #e8eefc;
--ok: #1d7a4f;
--ok-soft: #e4f4ec;
--warn: #9a5b00;
--warn-soft: #fdf1dc;
--bad: #b3261e;
--bad-soft: #fbe7e5;
--radius: 10px;
--shadow: 0 1px 2px rgba(22, 32, 44, 0.06), 0 4px 16px rgba(22, 32, 44, 0.04);
--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
background: var(--bg);
color: var(--text);
font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
outline: 3px solid var(--accent);
outline-offset: 2px;
}
code, pre, .mono { font-family: var(--mono); font-size: 13px; }
pre { white-space: pre-wrap; word-break: break-word; background: var(--surface-muted); padding: 12px; border-radius: 8px; margin: 8px 0 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.topbar { background: var(--surface); border-bottom: 1px solid var(--border); }
.topbar-inner { max-width: 1120px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.brand { font-weight: 650; letter-spacing: 0.01em; color: var(--text); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.nav a { color: var(--text-muted); padding: 6px 10px; border-radius: 6px; }
.nav a:hover { background: var(--surface-muted); color: var(--text); text-decoration: none; }
.network { font-size: 12px; font-weight: 600; color: var(--warn); background: var(--warn-soft); border-radius: 999px; padding: 3px 10px; }
main { max-width: 1120px; margin: 0 auto; padding: 28px 24px 64px; }
h1 { font-size: 24px; margin: 0 0 4px; font-weight: 650; }
h2 { font-size: 17px; margin: 0 0 12px; font-weight: 620; }
.lead { color: var(--text-muted); margin: 0 0 24px; max-width: 760px; }
.muted { color: var(--text-muted); }
.small { font-size: 13px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.stat-label { font-size: 13px; color: var(--text-muted); margin: 0; }
.stat-value { font-size: 22px; font-weight: 640; margin: 4px 0 0; font-variant-numeric: tabular-nums; }
.stat-hint { font-size: 12px; color: var(--text-muted); margin: 4px 0 0; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 10px; background: var(--surface-muted); color: var(--text-muted); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-info { background: var(--accent-soft); color: var(--accent); }
.notice { border-radius: var(--radius); padding: 12px 16px; margin: 0 0 16px; border: 1px solid var(--border); background: var(--surface); }
.notice-warn { background: var(--warn-soft); border-color: #f0d6a8; }
.notice-bad { background: var(--bad-soft); border-color: #f0c2bd; }
.notice-ok { background: var(--ok-soft); border-color: #bfe3cf; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.meter { height: 10px; background: var(--surface-muted); border-radius: 999px; overflow: hidden; margin-top: 10px; }
.meter > span { display: block; height: 100%; background: var(--accent); }
.meter.meter-warn > span { background: var(--warn); }
.meter.meter-bad > span { background: var(--bad); }
form.form { display: flex; flex-direction: column; gap: 14px; }
label { font-size: 14px; font-weight: 560; display: flex; flex-direction: column; gap: 6px; }
.hint { font-weight: 400; font-size: 12px; color: var(--text-muted); }
.field-error { font-weight: 500; font-size: 13px; color: var(--bad); }
input, textarea, select {
font: inherit; color: var(--text); background: var(--surface);
border: 1px solid var(--border); border-radius: 8px; padding: 9px 11px;
}
textarea { min-height: 120px; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
button, .button {
font: inherit; font-weight: 600; border: 1px solid transparent; border-radius: 8px;
padding: 9px 16px; cursor: pointer; background: var(--accent); color: #fff; display: inline-block;
}
button:disabled { opacity: 0.6; cursor: progress; }
.button-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.button-danger { background: var(--bad); }
.button:hover { text-decoration: none; }
fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
legend { font-weight: 620; padding: 0 6px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.kv dt { color: var(--text-muted); font-size: 13px; }
.kv dd { margin: 0; word-break: break-all; }
ul.plain { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
details summary { cursor: pointer; font-weight: 560; }
footer.site { max-width: 1120px; margin: 0 auto; padding: 0 24px 32px; color: var(--text-muted); font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }