﻿:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --panel: #ffffff;
  --ink: #1c2430;
  --muted: #647184;
  --line: #d9e0e8;
  --accent: #0f7a6b;
  --accent-strong: #095f54;
  --warning: #9a5b00;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); }
button, input { font: inherit; }
button { border: 0; border-radius: 6px; background: var(--accent); color: #fff; cursor: pointer; font-weight: 700; min-height: 42px; padding: 0 16px; }
button:hover { background: var(--accent-strong); }
input { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; color: var(--ink); background: #fff; }
.layout { display: grid; grid-template-columns: minmax(280px, 340px) 1fr; min-height: 100vh; }
.panel { background: var(--panel); border-right: 1px solid var(--line); }
.sidebar { padding: 28px; }
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; background: #143c3a; color: #fff; font-size: 26px; font-weight: 800; }
.brand h1, .topbar h2 { margin: 0; letter-spacing: 0; }
.brand h1 { font-size: 24px; }
.brand p, .eyebrow { margin: 4px 0 0; color: var(--muted); }
.login-form { display: grid; gap: 16px; }
.login-form label { display: grid; gap: 7px; color: var(--muted); font-size: 14px; font-weight: 700; }
.session-card { display: grid; gap: 12px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.session-card span { font-weight: 800; }
.content { padding: 28px; }
.topbar { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 22px; }
.eyebrow { font-size: 13px; font-weight: 800; text-transform: uppercase; }
.search-form { display: flex; gap: 10px; width: min(460px, 100%); }
.status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.status-grid article, .records-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.status-grid article { display: grid; gap: 6px; padding: 16px; }
.status-grid span { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.status-grid strong { font-size: 16px; }
.records-panel { min-height: 360px; overflow: hidden; }
.empty-state { display: grid; min-height: 220px; place-items: center; color: var(--muted); padding: 28px; text-align: center; }
.records-list { display: grid; }
.record-row { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 16px 18px; border-top: 1px solid var(--line); }
.record-row:first-child { border-top: 0; }
.record-id { color: var(--muted); font-weight: 800; }
.record-title { margin: 0 0 6px; font-weight: 800; }
.record-meta { margin: 0; color: var(--muted); font-size: 14px; }
.is-warning { color: var(--warning); }
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .topbar, .search-form { display: grid; }
  .status-grid { grid-template-columns: 1fr; }
  .record-row { grid-template-columns: 1fr; }
}
