polish(my-deepagent): switch Web GUI to Claude/Anthropic design language

Earlier polish landed a dark dev-tool aesthetic (Linear / Vercel /
Resend). The user reminded that we agreed on the Claude / Anthropic
design language — cream paper background, warm charcoal ink, serif
display type, rust/terracotta accent. Pivoting accordingly.

Changes (style.css; HTML headers gain h1 → home link)
- Surface palette
  - bg: #f5f0e8 (warm cream paper)
  - surface-1/2/3: cream → light tan progression
  - border / border-strong: soft warm tan
- Ink palette (warm-tinted neutral, not blue-tinted gray)
  - text-primary: #1b1916
  - text-secondary: #54514a
  - text-muted: #8a857a
  - text-faint: #b6b0a3
- Accent rust palette
  - accent: #c14a1a (terracotta) / hover #a73d12
  - success: olive green #4a6f2a
  - warning: mustard #a86c1f
  - danger: rust red #a33419
  - info: muted slate blue #4a5d8c
- Typography: serif/sans/mono trio
  - --font-serif: "Tiempos Headline", "Source Serif Pro", "IBM Plex Serif",
                  Georgia, "Apple SD Gothic Neo", "Noto Serif KR"
  - --font-sans:  "Styrene B", "Styrene A", "Inter", "Pretendard", system stack
  - --font-mono:  JetBrains Mono / SF Mono / Menlo
  - Body font-size bumped 14 → 15 px for paper readability
  - h1, page-title h2, h2 section titles all serif now (no uppercase /
    letterspaced caps — Claude aesthetic favors true serif headlines)
  - budget-card amount uses serif numerals
- Component tweaks
  - Buttons: cream surface default; primary = rust filled; danger = outlined
  - Inputs: 3 px rgba accent ring on focus (Claude form style)
  - Badges: warm pill background + 1 px tinted border for definition on cream
  - Cards: soft 1 px shadow-card token, no heavy elevation
  - Scrollbar: themed thumb against surface-1
  - Empty-state icon: serif character in accent color
- Page-title row gains a bottom border (paper-rule separator)

XSS policy comment + textContent-only contract unchanged. No build system.

Tests
- ruff check / mypy --strict / 5 static smoke tests: PASS

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
chungyeong
2026-05-16 22:34:29 +09:00
parent 4b0b07c8d4
commit ed694c9821
4 changed files with 191 additions and 169 deletions

View File

@@ -8,7 +8,7 @@
</head> </head>
<body data-page="index"> <body data-page="index">
<header> <header>
<h1>my-deepagent</h1> <h1><a href="/">my-deepagent</a></h1>
<nav> <nav>
<a href="/" class="active">Runs</a> <a href="/" class="active">Runs</a>
<a href="/new.html">새 Run</a> <a href="/new.html">새 Run</a>

View File

@@ -8,7 +8,7 @@
</head> </head>
<body data-page="new"> <body data-page="new">
<header> <header>
<h1>my-deepagent</h1> <h1><a href="/">my-deepagent</a></h1>
<nav> <nav>
<a href="/">Runs</a> <a href="/">Runs</a>
<a href="/new.html" class="active">새 Run</a> <a href="/new.html" class="active">새 Run</a>

View File

@@ -8,7 +8,7 @@
</head> </head>
<body data-page="run"> <body data-page="run">
<header> <header>
<h1>my-deepagent</h1> <h1><a href="/">my-deepagent</a></h1>
<nav> <nav>
<a href="/">Runs</a> <a href="/">Runs</a>
<a href="/new.html">새 Run</a> <a href="/new.html">새 Run</a>

View File

@@ -1,15 +1,14 @@
/* my-deepagent Web GUI — v0.2 PR #3 polish pass. /* my-deepagent Web GUI — v0.2 PR #3 (Claude design pass).
* *
* Visual reference: modern dev-tool dashboards (Linear / Vercel / * Visual reference: Anthropic / Claude design language
* Resend / Railway). Goals: * - Warm cream paper background (#F5F0E8 family)
* - Refined dark palette (deeper background, soft surfaces) * - Charcoal warm-tinted ink for body
* - Card-based layout with clear hierarchy * - Tiempos / Source Serif headings (serif heads, sans body)
* - Pill badges for run / phase state * - Rust / terracotta accent (#CC5500 family)
* - Tabular numbers for metrics, monospace for IDs * - Generous whitespace, soft 1px borders, minimal shadow
* - 8 px spacing grid, generous padding * - Rounded corners 612 px, no heavy elevation
* - Subtle hover / transition without animation chaos
* *
* Vanilla CSS only. No build system. No CSS-in-JS. * Vanilla CSS only. No framework, no build system.
*/ */
/* ---------- Reset + tokens ---------- */ /* ---------- Reset + tokens ---------- */
@@ -21,52 +20,52 @@
} }
:root { :root {
/* Surface (background → cards → elevated) */ /* Paper / surface */
--bg: #0a0b0e; --bg: #f5f0e8;
--surface-1: #13141a; --surface-1: #fbfaf6;
--surface-2: #181a22; --surface-2: #efe9de;
--surface-3: #1f222c; --surface-3: #e7e0d3;
--surface-hover: #232732; --surface-hover: #eee7da;
/* Borders */ /* Borders */
--border: #262834; --border: #e2dccf;
--border-strong: #313548; --border-strong: #cfc7b6;
/* Text */ /* Ink */
--text-primary: #f5f6f9; --text-primary: #1b1916;
--text-secondary: #b6b9c4; --text-secondary: #54514a;
--text-muted: #6c707f; --text-muted: #8a857a;
--text-faint: #4a4d59; --text-faint: #b6b0a3;
/* Accents */ /* Accents (rust + supporting palette) */
--accent: #7c9eff; --accent: #c14a1a;
--accent-hover: #93b1ff; --accent-hover: #a73d12;
--accent-bg: rgba(124, 158, 255, 0.12); --accent-bg: rgba(193, 74, 26, 0.1);
--success: #6cdba2; --success: #4a6f2a;
--success-bg: rgba(108, 219, 162, 0.12); --success-bg: rgba(74, 111, 42, 0.1);
--warning: #f5cc73; --warning: #a86c1f;
--warning-bg: rgba(245, 204, 115, 0.14); --warning-bg: rgba(168, 108, 31, 0.12);
--danger: #ef7a7a; --danger: #a33419;
--danger-bg: rgba(239, 122, 122, 0.14); --danger-bg: rgba(163, 52, 25, 0.1);
--info: #8a9cc7; --info: #4a5d8c;
--info-bg: rgba(138, 156, 199, 0.12); --info-bg: rgba(74, 93, 140, 0.1);
/* Type */ /* Type */
--font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Pretendard", --font-serif: "Tiempos Headline", "Source Serif Pro", "IBM Plex Serif",
"SF Pro Text", "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", "Georgia", "Apple SD Gothic Neo", "Noto Serif KR", serif;
Helvetica, Arial, sans-serif; --font-sans: "Styrene B", "Styrene A", "Inter", "Pretendard",
--font-mono: "SF Mono", "JetBrains Mono", "Cascadia Code", "Menlo", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
"Monaco", "Consolas", monospace; "Noto Sans KR", "Segoe UI", Helvetica, Arial, sans-serif;
--font-mono: "JetBrains Mono", "SF Mono", "Menlo", "Monaco", "Consolas",
monospace;
/* Geometry */ /* Geometry */
--radius-sm: 6px; --radius-sm: 6px;
--radius: 10px; --radius: 8px;
--radius-lg: 14px; --radius-lg: 12px;
--shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.03) inset; --shadow-card: 0 1px 0 rgba(28, 25, 22, 0.04);
--shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset,
0 1px 12px rgba(0, 0, 0, 0.2);
} }
/* ---------- Base ---------- */ /* ---------- Base ---------- */
@@ -78,11 +77,10 @@ body {
background: var(--bg); background: var(--bg);
color: var(--text-primary); color: var(--text-primary);
font-family: var(--font-sans); font-family: var(--font-sans);
font-size: 14px; font-size: 15px;
line-height: 1.55; line-height: 1.55;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
font-feature-settings: "cv05", "ss01";
font-variant-numeric: tabular-nums; font-variant-numeric: tabular-nums;
} }
@@ -100,69 +98,73 @@ a {
a:hover { a:hover {
color: var(--accent-hover); color: var(--accent-hover);
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 3px;
} }
code, code,
kbd, kbd,
.mono { .mono {
font-family: var(--font-mono); font-family: var(--font-mono);
font-size: 0.85em; font-size: 0.86em;
letter-spacing: -0.01em; letter-spacing: -0.005em;
} }
::selection { ::selection {
background: var(--accent-bg); background: var(--accent);
color: var(--text-primary); color: var(--surface-1);
} }
/* ---------- Header / nav ---------- */ /* ---------- Header / nav ---------- */
header { header {
background: var(--surface-1); background: transparent;
border-bottom: 1px solid var(--border); border-bottom: 1px solid var(--border);
padding: 16px 32px; padding: 20px 36px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: baseline;
gap: 24px; gap: 24px;
} }
header h1 { header h1 {
margin: 0; margin: 0;
font-size: 15px; font-family: var(--font-serif);
font-weight: 600; font-size: 22px;
font-weight: 500;
letter-spacing: -0.02em;
color: var(--text-primary); color: var(--text-primary);
letter-spacing: -0.01em;
display: flex;
align-items: center;
gap: 10px;
} }
header h1::before { header h1 a {
content: ""; color: inherit;
width: 8px; }
height: 8px;
background: linear-gradient(135deg, var(--accent), var(--success)); header h1 a:hover {
border-radius: 2px; text-decoration: none;
color: var(--accent);
} }
header nav { header nav {
display: flex; display: flex;
gap: 4px; gap: 4px;
align-self: center;
} }
header nav a { header nav a {
color: var(--text-secondary); color: var(--text-secondary);
padding: 6px 12px; padding: 6px 12px;
border-radius: var(--radius-sm); border-radius: var(--radius-sm);
font-size: 13px; font-size: 14px;
font-weight: 500; font-weight: 400;
transition: all 0.15s ease; transition: all 0.15s ease;
} }
header nav a:hover { header nav a:hover {
color: var(--text-primary); color: var(--text-primary);
background: var(--surface-hover); background: var(--surface-2);
text-decoration: none;
} }
header nav a.active { header nav a.active {
@@ -174,10 +176,10 @@ header nav a.active {
main { main {
flex: 1; flex: 1;
max-width: 1280px; max-width: 1180px;
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
padding: 32px; padding: 40px 36px 64px;
} }
.page-title { .page-title {
@@ -185,41 +187,48 @@ main {
align-items: baseline; align-items: baseline;
justify-content: space-between; justify-content: space-between;
gap: 16px; gap: 16px;
margin-bottom: 24px; margin-bottom: 28px;
border-bottom: 1px solid var(--border);
padding-bottom: 16px;
} }
.page-title h2 { .page-title h2 {
margin: 0; margin: 0;
font-size: 22px; font-family: var(--font-serif);
font-weight: 600; font-size: 30px;
font-weight: 500;
letter-spacing: -0.02em; letter-spacing: -0.02em;
text-transform: none;
color: var(--text-primary);
} }
.page-subtitle { .page-subtitle {
color: var(--text-muted); color: var(--text-muted);
font-size: 13px; font-size: 14px;
} }
h2 { h2 {
margin: 28px 0 14px; margin: 36px 0 14px;
font-size: 13px; font-family: var(--font-serif);
font-weight: 600; font-size: 18px;
letter-spacing: 0.04em; font-weight: 500;
text-transform: uppercase; letter-spacing: -0.01em;
color: var(--text-muted); color: var(--text-primary);
text-transform: none;
} }
h2.section-title { h2.section-title {
display: flex; display: flex;
align-items: center; align-items: baseline;
gap: 10px; gap: 10px;
} }
h2.section-title::after { h2.section-title .hint {
content: ""; font-family: var(--font-sans);
flex: 1; font-size: 13px;
height: 1px; color: var(--text-muted);
background: var(--border); font-weight: 400;
margin-left: 4px;
} }
/* ---------- Cards / tables ---------- */ /* ---------- Cards / tables ---------- */
@@ -236,13 +245,13 @@ table {
width: 100%; width: 100%;
border-collapse: separate; border-collapse: separate;
border-spacing: 0; border-spacing: 0;
font-size: 13px; font-size: 14px;
} }
th, th,
td { td {
text-align: left; text-align: left;
padding: 12px 16px; padding: 14px 18px;
border-bottom: 1px solid var(--border); border-bottom: 1px solid var(--border);
vertical-align: middle; vertical-align: middle;
} }
@@ -261,13 +270,13 @@ tbody tr:hover {
th { th {
background: var(--surface-2); background: var(--surface-2);
color: var(--text-muted); color: var(--text-secondary);
font-weight: 500; font-weight: 500;
font-size: 11px; font-size: 12px;
letter-spacing: 0.03em;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.05em; padding-top: 11px;
padding-top: 10px; padding-bottom: 11px;
padding-bottom: 10px;
border-bottom: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong);
} }
@@ -285,12 +294,13 @@ td a {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 6px; gap: 6px;
padding: 3px 10px; padding: 3px 11px;
border-radius: 999px; border-radius: 999px;
font-size: 11px; font-size: 12px;
font-weight: 500; font-weight: 500;
letter-spacing: 0.02em; letter-spacing: 0.01em;
border: 1px solid transparent; border: 1px solid transparent;
font-variant-numeric: tabular-nums;
} }
.badge::before { .badge::before {
@@ -306,6 +316,7 @@ td a {
.badge.state-ok { .badge.state-ok {
color: var(--success); color: var(--success);
background: var(--success-bg); background: var(--success-bg);
border-color: rgba(74, 111, 42, 0.2);
} }
.badge.state-running, .badge.state-running,
@@ -315,12 +326,14 @@ td a {
.badge.state-awaiting_approval { .badge.state-awaiting_approval {
color: var(--warning); color: var(--warning);
background: var(--warning-bg); background: var(--warning-bg);
border-color: rgba(168, 108, 31, 0.22);
} }
.badge.state-failed, .badge.state-failed,
.badge.state-aborted { .badge.state-aborted {
color: var(--danger); color: var(--danger);
background: var(--danger-bg); background: var(--danger-bg);
border-color: rgba(163, 52, 25, 0.2);
} }
.badge.state-pending, .badge.state-pending,
@@ -331,9 +344,9 @@ td a {
.badge.state-skipped { .badge.state-skipped {
color: var(--info); color: var(--info);
background: var(--info-bg); background: var(--info-bg);
border-color: rgba(74, 93, 140, 0.2);
} }
/* Animated dot for in-progress states */
.badge.state-running::before, .badge.state-running::before,
.badge.state-executing::before, .badge.state-executing::before,
.badge.state-validating::before, .badge.state-validating::before,
@@ -343,7 +356,7 @@ td a {
@keyframes pulse { @keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); } 0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.4; transform: scale(0.85); } 50% { opacity: 0.45; transform: scale(0.85); }
} }
/* ---------- Buttons ---------- */ /* ---------- Buttons ---------- */
@@ -351,13 +364,13 @@ td a {
button, button,
.button { .button {
appearance: none; appearance: none;
background: var(--surface-3); background: var(--surface-1);
color: var(--text-primary); color: var(--text-primary);
border: 1px solid var(--border-strong); border: 1px solid var(--border-strong);
border-radius: var(--radius-sm); border-radius: var(--radius-sm);
padding: 8px 14px; padding: 8px 16px;
font-family: inherit; font-family: inherit;
font-size: 13px; font-size: 13.5px;
font-weight: 500; font-weight: 500;
letter-spacing: -0.005em; letter-spacing: -0.005em;
cursor: pointer; cursor: pointer;
@@ -371,8 +384,9 @@ button,
button:hover:not(:disabled), button:hover:not(:disabled),
.button:hover { .button:hover {
background: var(--surface-hover); background: var(--surface-hover);
border-color: var(--border-strong); border-color: var(--text-faint);
color: var(--text-primary); color: var(--text-primary);
text-decoration: none;
} }
button:active:not(:disabled) { button:active:not(:disabled) {
@@ -387,19 +401,20 @@ button:disabled {
button.primary { button.primary {
background: var(--accent); background: var(--accent);
border-color: var(--accent); border-color: var(--accent);
color: #0a0b0e; color: var(--surface-1);
font-weight: 600; font-weight: 500;
} }
button.primary:hover:not(:disabled) { button.primary:hover:not(:disabled) {
background: var(--accent-hover); background: var(--accent-hover);
border-color: var(--accent-hover); border-color: var(--accent-hover);
color: var(--surface-1);
} }
button.danger { button.danger {
background: transparent; background: transparent;
color: var(--danger); color: var(--danger);
border-color: rgba(239, 122, 122, 0.3); border-color: rgba(163, 52, 25, 0.32);
} }
button.danger:hover:not(:disabled) { button.danger:hover:not(:disabled) {
@@ -413,15 +428,15 @@ label {
display: block; display: block;
margin: 0 0 6px; margin: 0 0 6px;
color: var(--text-secondary); color: var(--text-secondary);
font-size: 12px; font-size: 13px;
font-weight: 500; font-weight: 500;
letter-spacing: 0.01em;
} }
label .hint { label .hint {
color: var(--text-muted); color: var(--text-muted);
font-weight: 400; font-weight: 400;
margin-left: 6px; margin-left: 6px;
font-size: 12.5px;
} }
input[type="text"], input[type="text"],
@@ -433,11 +448,11 @@ select {
color: var(--text-primary); color: var(--text-primary);
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: var(--radius-sm); border-radius: var(--radius-sm);
padding: 9px 12px; padding: 10px 13px;
font-family: inherit; font-family: inherit;
font-size: 13px; font-size: 14px;
line-height: 1.5; line-height: 1.5;
transition: border-color 0.15s ease, background 0.15s ease; transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
} }
input:focus, input:focus,
@@ -445,7 +460,7 @@ textarea:focus,
select:focus { select:focus {
outline: none; outline: none;
border-color: var(--accent); border-color: var(--accent);
background: var(--surface-2); box-shadow: 0 0 0 3px var(--accent-bg);
} }
input::placeholder, input::placeholder,
@@ -455,38 +470,35 @@ textarea::placeholder {
textarea { textarea {
resize: vertical; resize: vertical;
min-height: 100px; min-height: 110px;
font-family: var(--font-mono); font-family: var(--font-mono);
font-size: 12px; font-size: 13px;
line-height: 1.6;
} }
select { select {
appearance: none; appearance: none;
background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23b6b9c4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2354514a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: right 12px center; background-position: right 14px center;
padding-right: 32px; padding-right: 36px;
} }
.form-row { .form-row {
margin-bottom: 16px; margin-bottom: 18px;
}
.form-row.compact {
margin-bottom: 8px;
} }
.form-grid { .form-grid {
display: grid; display: grid;
grid-template-columns: 1fr 200px; grid-template-columns: 1fr 220px;
gap: 16px; gap: 16px;
} }
.action-bar { .action-bar {
display: flex; display: flex;
gap: 8px; gap: 8px;
margin: 24px 0 0; margin: 28px 0 0;
padding-top: 16px; padding-top: 18px;
border-top: 1px solid var(--border); border-top: 1px solid var(--border);
} }
@@ -502,13 +514,14 @@ select {
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: var(--radius); border-radius: var(--radius);
padding: 4px 0; padding: 4px 0;
box-shadow: var(--shadow-card);
} }
.meta-row { .meta-row {
display: grid; display: grid;
grid-template-columns: 140px 1fr; grid-template-columns: 150px 1fr;
gap: 16px; gap: 18px;
padding: 10px 16px; padding: 12px 18px;
border-bottom: 1px solid var(--border); border-bottom: 1px solid var(--border);
align-items: center; align-items: center;
} }
@@ -519,21 +532,21 @@ select {
.meta-row .key { .meta-row .key {
color: var(--text-muted); color: var(--text-muted);
font-size: 12px; font-size: 12.5px;
font-weight: 500; font-weight: 500;
letter-spacing: 0.01em; letter-spacing: 0.02em;
text-transform: uppercase; text-transform: uppercase;
} }
.meta-row .value { .meta-row .value {
color: var(--text-primary); color: var(--text-primary);
font-size: 13px; font-size: 14px;
word-break: break-all; word-break: break-all;
} }
.meta-row .value.mono { .meta-row .value.mono {
font-family: var(--font-mono); font-family: var(--font-mono);
font-size: 12px; font-size: 12.5px;
color: var(--text-secondary); color: var(--text-secondary);
} }
@@ -546,23 +559,24 @@ select {
.budget-grid { .budget-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 12px; gap: 14px;
} }
.budget-card { .budget-card {
background: var(--surface-1); background: var(--surface-1);
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: var(--radius); border-radius: var(--radius);
padding: 16px; padding: 18px;
box-shadow: var(--shadow-card);
} }
.budget-card .scope { .budget-card .scope {
color: var(--text-muted); color: var(--text-muted);
font-size: 11px; font-size: 12px;
font-weight: 500; font-weight: 500;
letter-spacing: 0.04em; letter-spacing: 0.04em;
text-transform: uppercase; text-transform: uppercase;
margin-bottom: 6px; margin-bottom: 8px;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
@@ -572,8 +586,9 @@ select {
} }
.budget-card .amount { .budget-card .amount {
font-size: 22px; font-family: var(--font-serif);
font-weight: 600; font-size: 26px;
font-weight: 500;
letter-spacing: -0.02em; letter-spacing: -0.02em;
color: var(--text-primary); color: var(--text-primary);
} }
@@ -582,9 +597,10 @@ select {
.budget-card .amount.over { color: var(--danger); } .budget-card .amount.over { color: var(--danger); }
.budget-card .cap { .budget-card .cap {
font-family: var(--font-sans);
color: var(--text-muted); color: var(--text-muted);
font-size: 12px; font-size: 13px;
font-weight: 500; font-weight: 400;
margin-left: 6px; margin-left: 6px;
} }
@@ -592,7 +608,7 @@ select {
height: 4px; height: 4px;
background: var(--surface-3); background: var(--surface-3);
border-radius: 2px; border-radius: 2px;
margin-top: 10px; margin-top: 12px;
overflow: hidden; overflow: hidden;
} }
@@ -615,14 +631,15 @@ select {
overflow-y: auto; overflow-y: auto;
padding: 8px 0; padding: 8px 0;
font-family: var(--font-mono); font-family: var(--font-mono);
font-size: 12px; font-size: 12.5px;
box-shadow: var(--shadow-card);
} }
.event-line { .event-line {
display: grid; display: grid;
grid-template-columns: 80px 1fr; grid-template-columns: 80px 1fr;
gap: 12px; gap: 14px;
padding: 5px 16px; padding: 6px 18px;
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
} }
@@ -632,7 +649,7 @@ select {
.event-line .ts { .event-line .ts {
color: var(--text-faint); color: var(--text-faint);
font-size: 11px; font-size: 11.5px;
} }
.event-line .body .type { .event-line .body .type {
@@ -643,7 +660,7 @@ select {
.event-line .body .payload { .event-line .body .payload {
color: var(--text-muted); color: var(--text-muted);
margin-left: 8px; margin-left: 8px;
font-size: 11px; font-size: 11.5px;
word-break: break-all; word-break: break-all;
} }
@@ -653,7 +670,7 @@ select {
.event-line.run-resumed .body .type { color: var(--warning); } .event-line.run-resumed .body .type { color: var(--warning); }
.events::-webkit-scrollbar { .events::-webkit-scrollbar {
width: 8px; width: 10px;
} }
.events::-webkit-scrollbar-track { .events::-webkit-scrollbar-track {
@@ -662,36 +679,39 @@ select {
.events::-webkit-scrollbar-thumb { .events::-webkit-scrollbar-thumb {
background: var(--border-strong); background: var(--border-strong);
border-radius: 4px; border-radius: 5px;
border: 2px solid var(--surface-1);
} }
/* ---------- Empty / error states ---------- */ /* ---------- Empty / error states ---------- */
.empty { .empty {
padding: 48px 24px; padding: 56px 24px;
text-align: center; text-align: center;
color: var(--text-muted); color: var(--text-muted);
font-size: 13px; font-size: 14px;
} }
.empty .empty-icon { .empty .empty-icon {
font-size: 28px; font-family: var(--font-serif);
margin-bottom: 8px; font-size: 30px;
opacity: 0.4; margin-bottom: 10px;
opacity: 0.5;
color: var(--accent);
} }
.empty .cta { .empty .cta {
margin-top: 16px; margin-top: 18px;
} }
.error-banner { .error-banner {
background: var(--danger-bg); background: var(--danger-bg);
border: 1px solid rgba(239, 122, 122, 0.3); border: 1px solid rgba(163, 52, 25, 0.28);
border-radius: var(--radius); border-radius: var(--radius);
padding: 12px 16px; padding: 12px 16px;
margin-bottom: 16px; margin-bottom: 16px;
color: var(--danger); color: var(--danger);
font-size: 13px; font-size: 13.5px;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 10px; gap: 10px;
@@ -705,20 +725,21 @@ select {
width: 18px; width: 18px;
height: 18px; height: 18px;
background: var(--danger); background: var(--danger);
color: #0a0b0e; color: var(--surface-1);
border-radius: 50%; border-radius: 50%;
font-weight: 700; font-weight: 700;
font-size: 11px; font-size: 11px;
flex-shrink: 0; flex-shrink: 0;
font-family: var(--font-sans);
} }
/* ---------- Tag chip (per-role override input) ---------- */ /* ---------- Tag chip (per-role override input) ---------- */
.chips { .chips {
display: grid; display: grid;
grid-template-columns: 140px 1fr; grid-template-columns: 160px 1fr;
gap: 12px; gap: 14px;
padding: 12px 16px; padding: 14px 18px;
border-bottom: 1px solid var(--border); border-bottom: 1px solid var(--border);
align-items: center; align-items: center;
} }
@@ -728,14 +749,14 @@ select {
} }
.chips .role { .chips .role {
font-size: 12px; font-size: 13px;
color: var(--text-secondary); color: var(--text-secondary);
font-weight: 500; font-weight: 500;
} }
.chips .role .hint { .chips .role .hint {
display: block; display: block;
font-size: 11px; font-size: 12px;
color: var(--text-muted); color: var(--text-muted);
font-weight: 400; font-weight: 400;
margin-top: 2px; margin-top: 2px;
@@ -743,14 +764,15 @@ select {
.chips input { .chips input {
font-family: var(--font-mono); font-family: var(--font-mono);
font-size: 12px; font-size: 12.5px;
} }
/* ---------- Responsive niceties (desktop-focused, but readable narrower) ---------- */ /* ---------- Responsive ---------- */
@media (max-width: 720px) { @media (max-width: 720px) {
main { padding: 20px 16px; } main { padding: 24px 16px 40px; }
header { padding: 14px 16px; } header { padding: 16px 16px; }
.page-title h2 { font-size: 24px; }
.form-grid { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; }
.meta-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 14px; } .meta-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 14px; }
.event-line { grid-template-columns: 1fr; gap: 2px; } .event-line { grid-template-columns: 1fr; gap: 2px; }