/* Minimal, calm UI. White panel, coral accent (matches the TrioDesktop /
   Anthropic Claude-default aesthetic). */
:root {
  --bg: #ffffff;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --accent: #d97757;
  --accent-soft: #f4c8b7;
  --accent-tint: #fbeee6;
  --danger: #c0392b;
  --max: 1040px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); margin: 0 0 12px; font-weight: 600; }
h1 { font-size: 28px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { color: var(--ink); }
small, .muted { color: var(--muted); font-size: 13px; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; border-bottom: 1px solid var(--line); background: #fff;
  position: sticky; top: 0; z-index: 10;
}
header.top .brand { font-weight: 700; font-size: 18px; color: var(--ink); }
header.top nav { display: flex; gap: 18px; align-items: center; }
header.top nav a { color: var(--ink); }
header.top nav a:hover { color: var(--accent); text-decoration: none; }
header.top .user { color: var(--muted); font-size: 13px; }

main.wrap { max-width: var(--max); margin: 0 auto; padding: 32px 24px 64px; }

footer.bottom { max-width: var(--max); margin: 0 auto; padding: 24px; color: var(--muted); font-size: 12px; text-align: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 8px; font-weight: 500; font-size: 14px; cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
  text-decoration: none;
}
.btn:hover { background: var(--accent-tint); border-color: var(--accent-soft); text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #c8674a; border-color: #c8674a; color: #fff; }
.btn-danger { color: var(--danger); border-color: #f1c2c2; }
.btn-danger:hover { background: #fdf2f2; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 20px; margin-bottom: 16px;
}
.card h2, .card h3 { margin-top: 0; }

.hero { padding: 56px 0 32px; text-align: center; }
.hero h1 { font-size: 44px; line-height: 1.1; margin-bottom: 14px; }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 24px; }

.three-up { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.three-up .card h3 { font-size: 16px; color: var(--accent); }
@media (max-width: 720px) { .three-up { grid-template-columns: 1fr; } }

input[type="text"], input[type="email"], textarea, select {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); background: #fff; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent-soft); box-shadow: 0 0 0 3px rgba(217,119,87,.14); }

label { display: block; font-size: 12.5px; color: var(--muted); margin: 12px 0 4px; text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }

table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th, table.list td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
table.list th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
table.list tr:last-child td { border-bottom: 0; }
table.list .row-actions { white-space: nowrap; text-align: right; }
table.list .row-actions a { margin-left: 10px; }

.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.pill-ok { background: #e9f6ec; color: #1f7a3a; }
.pill-no { background: #f4f4f4; color: var(--muted); }
.pill-super { background: var(--accent-tint); color: var(--accent); }

.alert { padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-err { background: #fdf2f2; color: var(--danger); border: 1px solid #f1c2c2; }
.alert-ok { background: #f3faf5; color: #1f7a3a; border: 1px solid #cbe9d2; }

.flex { display: flex; gap: 16px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.right { text-align: right; }
.empty { color: var(--muted); padding: 40px 20px; text-align: center; }
