@font-face { font-family: "Chakra Petch"; font-weight: 500; font-display: swap; src: url(fonts/chakra-petch-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-display: swap; src: url(fonts/chakra-petch-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #060608;
  --bg-warm: #06101c;
  --panel: #0a0c10;
  --panel-raised: #10151c;
  --line: #1a2633;
  --line-strong: #2b4157;
  --text: #e6eef5;
  --text-dim: #93a6b8;
  --text-faint: #71859a;
  --accent: #4cc9ff;
  --accent-pale: #c8f0ff;
  --accent-hot: #2f7dff;
  --danger: #ff6b5a;
  --ok: #9fd27a;
  --display: "Chakra Petch", "IBM Plex Sans", sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --col: clamp(280px, 22vw, 360px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: radial-gradient(70% 70% at 50% 46%, var(--bg-warm) 0%, var(--bg) 70%) fixed, var(--bg);
  color: var(--text);
  font: 400 14.5px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
::selection { background: rgba(76, 201, 255, 0.32); color: #eefbff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea { font: inherit; color: var(--text); caret-color: var(--accent); }
ol, ul { list-style: none; margin: 0; padding: 0; }
h2, p { margin: 0; }
[hidden] { display: none !important; }
.sprite { position: absolute; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }

/* ------------------------------------------------------------ layout */

.app {
  display: grid;
  grid-template-columns: var(--col) minmax(0, 1fr) var(--col);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "top top top" "left center right";
  gap: 0 clamp(16px, 2.4vw, 40px);
  height: 100dvh;
  padding: 16px clamp(16px, 2.4vw, 36px) 20px;
  overflow: hidden;
}
.topbar { grid-area: top; display: flex; align-items: center; gap: 24px; padding-bottom: 12px; }
.col-left { grid-area: left; }
.col-right { grid-area: right; }
.center { grid-area: center; }
.col { display: flex; flex-direction: column; gap: clamp(18px, 3vh, 34px); min-height: 0; overflow-y: auto; padding: 8px 2px 8px; }

.brand { display: flex; align-items: center; gap: 10px; font: 600 15px/1 var(--display); letter-spacing: 0.2em; color: var(--accent-pale); }
.brand-mark { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 2px rgba(40, 140, 255, 0.65); }

.chips { display: flex; gap: 18px; margin-right: auto; font-size: 12.5px; color: var(--text-dim); }
.chips li { display: flex; align-items: center; gap: 7px; }
.chips .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-faint); transition: background 0.4s; }
.chips [data-ok="true"] .dot { background: var(--ok); }
.chips [data-ok="false"] .dot { background: var(--danger); }
.chips .cost { padding-left: 18px; border-left: 1px solid var(--line); color: var(--text); }
.top-actions { display: flex; gap: 4px; }

.icon-btn {
  display: inline-grid; place-items: center; position: relative;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid transparent; background: transparent; color: var(--text-dim);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.icon-btn:hover { color: var(--accent-pale); background: rgba(76, 201, 255, 0.07); border-color: var(--line); }
.icon-btn[aria-pressed="true"] { color: var(--accent-hot); }

/* ------------------------------------------------------------ hud modules */

.mod { position: relative; padding: 14px 4px 4px 16px; }
/* Corner brackets: the instrument frame, open on two sides so modules never read as boxed cards. */
.mod::before, .mod::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--line-strong); border-style: solid; pointer-events: none; }
.mod::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.mod::after { bottom: -6px; left: 0; border-width: 0 0 1px 1px; }
.col-right .mod { padding: 14px 16px 4px 4px; }
.col-right .mod::before { left: auto; right: 0; border-width: 1px 1px 0 0; }
.col-right .mod::after { left: auto; right: 0; border-width: 0 1px 1px 0; }

.mod-label {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font: 500 11.5px/1 var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim);
}
.lbl-ic { width: 13px; height: 13px; color: var(--accent); }
.count { color: var(--accent-pale); letter-spacing: 0.05em; }
.count.hot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent-hot); color: #021624; font: 600 11px/1 var(--body); }
.count:empty { display: none; }
.muted { color: var(--text-faint); font-size: 13px; }

/* clock */
.mod-clock { padding-top: 6px; }
.mod-clock::before, .mod-clock::after { display: none; }
.clock-time { display: flex; align-items: flex-start; gap: 6px; font: 600 clamp(52px, 6.2vw, 84px)/0.92 var(--display); letter-spacing: -0.01em; color: var(--accent-pale); }
.clock-s { font-size: 0.3em; line-height: 1; margin-top: 0.22em; color: var(--accent); }
.clock-date { margin-top: 10px; font: 500 16px/1.3 var(--display); letter-spacing: 0.04em; color: var(--text); }
.clock-meta { margin-top: 4px; font-size: 13px; color: var(--text-dim); }

/* weather */
.w-now { display: flex; align-items: center; gap: 14px; }
.w-icon { width: 46px; height: 46px; color: var(--accent); stroke-width: 1.3; }
.w-temp { font: 600 40px/1 var(--display); color: var(--text); }
.w-desc { margin-top: 3px; color: var(--text-dim); font-size: 13.5px; }
.w-facts { margin-top: 10px; font-size: 12.5px; color: var(--text-dim); }
.w-hours { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; margin-top: 14px; }
.w-hours li { display: grid; justify-items: center; gap: 4px; font-size: 11.5px; color: var(--text-dim); }
.w-hours b { font: 500 13.5px/1 var(--display); color: var(--text); }
.w-hours .rain { width: 70%; height: 3px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.w-hours .rain i { position: absolute; inset: 0 auto 0 0; background: #7fb6ff; border-radius: 2px; }
.w-hours svg { width: 16px; height: 16px; color: var(--accent); }
.w-days { margin-top: 14px; display: grid; gap: 6px; }
.w-days li { display: grid; grid-template-columns: 34px 18px 30px 1fr 30px; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-dim); }
.w-days svg { width: 16px; height: 16px; color: var(--accent); }
.w-days .lo { text-align: right; }
.w-days .hi { color: var(--text); }
.w-days .range { height: 4px; border-radius: 2px; background: var(--line); position: relative; }
.w-days .range i { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: linear-gradient(90deg, #8fdcff, var(--accent-hot)); }

/* notes */
.notes-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.notes-list li:first-child { border-top: 0; padding-top: 0; }
.notes-list b { display: block; font-weight: 500; color: var(--accent-pale); font-size: 13.5px; }
.notes-list span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; color: var(--text-dim); }

/* calendar */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: 12.5px; }
.cal-grid .dow { padding-bottom: 6px; font: 500 11px/1 var(--display); letter-spacing: 0.12em; color: var(--text-faint); }
.cal-grid .day { position: relative; display: grid; place-items: center; aspect-ratio: 1.15; border-radius: 8px; color: var(--text-dim); }
.cal-grid .day.other { color: #33414f; }
.cal-grid .day.weekend { color: var(--text-faint); }
.cal-grid .day.today { background: var(--accent); color: #021624; font-weight: 600; }
.cal-grid .day.has::after { content: ""; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-hot); }
.cal-grid .day.today.has::after { background: #021624; }
.agenda { margin-top: 14px; display: grid; gap: 2px; }
.agenda .when { margin-top: 8px; font: 500 11px/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.agenda .when:first-child { margin-top: 0; }
.agenda .ev { display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding: 5px 0; font-size: 13.5px; }
.agenda .ev time { color: var(--text-dim); }
.agenda .ev span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* mail */
.mail-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.mail-list li:first-child { border-top: 0; padding-top: 0; }
.mail-list b { font-weight: 500; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-list .unread b { color: var(--accent-pale); }
.mail-list time { font-size: 12px; color: var(--text-faint); }
.mail-list span { grid-column: 1 / -1; font-size: 12.5px; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* approvals */
.appr { padding: 10px 0; border-top: 1px solid var(--line); }
.appr:first-child { border-top: 0; padding-top: 0; }
.appr-what { font-size: 13.5px; font-weight: 500; color: var(--accent-pale); }
.appr details { margin: 6px 0 10px; font-size: 12px; color: var(--text-dim); }
.appr summary { cursor: pointer; color: var(--text-faint); }
.appr pre {
  margin: 6px 0 0; padding: 8px; max-height: 160px; overflow: auto; border-radius: 8px; background: var(--panel);
  font: 12px/1.5 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--accent-pale);
}
.appr-actions { display: flex; gap: 8px; }
.btn {
  flex: 1; height: 36px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent;
  font: 500 13px/1 var(--body); color: var(--text); transition: background 0.2s, border-color 0.2s;
}
.btn:hover { background: rgba(255, 255, 255, 0.04); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #021624; }
.btn.primary:hover { background: var(--accent-pale); }
.btn:disabled { opacity: 0.5; cursor: default; }
.mod-approvals.idle .mod-label { color: var(--text-faint); }

/* ------------------------------------------------------------ center */

.center { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; min-height: 0; }
.core-wrap { display: grid; place-items: center; min-height: 0; }
.core { width: min(100%, 72vh); aspect-ratio: 1; max-height: 100%; display: block; }

.voicebar { display: grid; justify-items: center; gap: 10px; padding-bottom: 4px; }
.mode { font: 500 12px/1 var(--display); letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-dim); transition: color 0.4s; }
body[data-state="listening"] .mode { color: var(--accent-pale); }
body[data-state="thinking"] .mode { color: var(--accent-hot); }
body[data-state="speaking"] .mode { color: var(--accent); }
.caption {
  min-height: 3.1em; max-width: 52ch; text-align: center; font-size: 17px; line-height: 1.55; color: var(--text);
  text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.caption .interim { color: var(--text-dim); }
.caption .hint { color: var(--text-faint); font-size: 15px; }
.listen {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 11px; border-radius: 17px;
  border: 1px solid var(--line); background: transparent; color: var(--text-dim); font-size: 12.5px;
  transition: color 0.2s, border-color 0.2s;
}
.listen svg { width: 16px; height: 16px; }
.listen:hover { color: var(--accent-pale); border-color: var(--line-strong); }
.listen[aria-pressed="false"] { color: var(--danger); border-color: rgba(255, 107, 90, 0.4); }

/* ------------------------------------------------------------ drawer */

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 20;
  display: grid; grid-template-rows: auto 1fr auto;
  background: var(--panel); border-left: 1px solid var(--line-strong);
  box-shadow: -24px 0 60px -12px rgba(0, 0, 0, 0.85);
  animation: drawer-in 0.4s var(--ease-out);
}
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; gap: 4px; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin-right: auto; font: 500 12px/1 var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim); }
.log { overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.empty { margin: auto 8px; text-align: center; text-wrap: balance; color: var(--text-dim); font-size: 14px; }
.msg { max-width: 92%; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.user { align-self: flex-end; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--panel-raised); border: 1px solid var(--line); }
.msg.assistant { align-self: flex-start; }
.msg.assistant.streaming::after { content: ""; display: inline-block; width: 7px; height: 14px; margin-left: 3px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(2) infinite; }
.msg.system { align-self: center; font-size: 12.5px; color: var(--text-faint); text-align: center; }
.msg.error { color: var(--danger); }
.tool-note { align-self: flex-start; font-size: 12.5px; color: var(--text-faint); display: flex; gap: 6px; align-items: center; }
.tool-note::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-hot); }
@keyframes blink { 50% { opacity: 0; } }
.composer { display: flex; align-items: flex-end; gap: 6px; padding: 10px 10px calc(10px + var(--safe-b)); border-top: 1px solid var(--line); }
.composer textarea { flex: 1; resize: none; max-height: 140px; min-height: 40px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); line-height: 1.45; font-size: 15px; }
.composer textarea::placeholder, .login input::placeholder { color: var(--text-faint); }
.composer textarea:focus { outline: none; border-color: var(--line-strong); }
.send { color: var(--accent); }
.card { border: 1px solid var(--line); border-radius: 14px; background: var(--panel-raised); padding: 14px; }
.card-head { font-size: 12.5px; color: var(--text-dim); margin-bottom: 8px; }
.card pre { margin: 0 0 12px; padding: 10px; border-radius: 8px; background: var(--bg); font: 12.5px/1.5 ui-monospace, Menlo, monospace; white-space: pre-wrap; color: var(--accent-pale); }
.card .appr-actions .btn { height: 40px; }

/* ------------------------------------------------------------ wake gate */

.wake-gate {
  position: fixed; inset: 0; z-index: 30; display: grid; place-content: center; gap: 10px; text-align: center;
  border: 0; background: rgba(6, 6, 8, 0.82);
}
.wake-gate-title { font: 600 22px/1 var(--display); letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-pale); }
.wake-gate-sub { color: var(--text-dim); font-size: 14px; }

/* ------------------------------------------------------------ login */

.login { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; }
.login-card { width: min(360px, 100%); display: grid; gap: 10px; text-align: center; }
.login-core {
  width: 120px; height: 120px; margin: 0 auto 6px; border-radius: 50%;
  background: radial-gradient(circle, #eefbff 0%, var(--accent) 22%, var(--accent-hot) 46%, rgba(20, 70, 200, 0.35) 64%, transparent 72%);
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.06); filter: brightness(1.15); } }
.login h1 { margin: 0 0 14px; font: 600 26px/1 var(--display); letter-spacing: 0.24em; padding-left: 0.24em; color: var(--accent-pale); }
.login label { text-align: left; font-size: 13px; color: var(--text-dim); }
.login input { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--panel); font-size: 16px; }
.login input:focus { outline: none; border-color: var(--accent); }
.login-btn { height: 48px; border-radius: 12px; border: 0; background: var(--accent); color: #021624; font: 600 15px/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.login-btn:hover { background: var(--accent-pale); }
.login-error { min-height: 1.5em; margin: 4px 0 0; color: var(--danger); font-size: 14px; }

/* ------------------------------------------------------------ smaller screens */

@media (max-width: 1100px) {
  .app {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: "top top" "center center" "left right";
    height: auto; min-height: 100dvh; overflow: visible;
  }
  body { overflow-y: auto; }
  .center { height: min(78vh, 760px); }
  .col { overflow: visible; }
}
@media (max-width: 680px) {
  .app { grid-template-columns: 1fr; grid-template-areas: "top" "center" "left" "right"; padding: 12px 16px calc(20px + var(--safe-b)); }
  .chips li:not(.cost) { display: none; }
  .chips { gap: 0; }
  .chips .cost { border: 0; padding: 0; }
  .center { height: 74vh; }
  .caption { font-size: 16px; }
  .col-right .mod { padding: 14px 4px 4px 16px; }
  .col-right .mod::before { left: 0; right: auto; border-width: 1px 0 0 1px; }
  .col-right .mod::after { left: 0; right: auto; border-width: 0 0 1px 1px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------ views */

body[data-view="hud"] .ops-only, body[data-view="ops"] .hud-only { display: none !important; }
.views { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 12px; }
.views [role="tab"] {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: 9px; background: none;
  font: 500 12px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint);
  transition: color 0.2s, background 0.2s;
}
.views [role="tab"]:hover { color: var(--text); }
.views [role="tab"][aria-selected="true"] { background: var(--panel-raised); color: var(--accent-pale); }

/* ------------------------------------------------------------ live activity */

.mod-activity { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); }
body.busy .live-dot { background: var(--accent-hot); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.timeline { flex: 1; min-height: 0; overflow-y: auto; display: grid; align-content: start; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 54px 1fr auto; gap: 2px 10px; padding: 7px 0 7px 14px; border-left: 1px solid var(--line); font-size: 13px; }
.timeline li::before { content: ""; position: absolute; left: -4px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.timeline li.run::before { background: var(--accent-hot); animation: pulse 1.2s ease-in-out infinite; }
.timeline li.ok::before { background: var(--ok); }
.timeline li.fail::before { background: var(--danger); }
.timeline li.task::before { background: var(--accent); width: 9px; height: 9px; left: -5px; }
.timeline time { color: var(--text-faint); font-size: 12px; }
.timeline .what { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline .dur { color: var(--text-faint); font-size: 12px; }
.timeline .detail { grid-column: 2 / -1; color: var(--text-dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline .chan { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); font-size: 11px; color: var(--text-dim); }
.timeline .empty-line { border: 0; padding-left: 0; color: var(--text-faint); }
.timeline .empty-line::before { display: none; }

.ticker { min-height: 1.3em; font-size: 13px; color: var(--accent-hot); text-align: center; max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------ tasks, pipeline, results, cron */

.task-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.task-list li:first-child { border-top: 0; padding-top: 0; }
.task-list b { font-weight: 500; font-size: 13.5px; color: var(--accent-pale); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-list .meta { font-size: 12px; color: var(--text-faint); }
.task-list .sum { grid-column: 1 / -1; font-size: 12.5px; color: var(--text-dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.task-list .state-running b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent-hot); vertical-align: 2px; animation: pulse 1.2s ease-in-out infinite; }
.task-list .state-failed b { color: var(--danger); }
.task-list .stop { height: 26px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-strong); background: none; font-size: 12px; color: var(--text-dim); }
.task-list .stop:hover { color: var(--danger); border-color: rgba(255, 107, 90, 0.5); }

.lane { margin-top: 10px; }
.lane:first-child { margin-top: 0; }
.lane h3 { margin: 0 0 4px; font: 500 11px/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
.lane.running h3 { color: var(--accent-hot); }
.lane.blocked h3 { color: var(--danger); }
.lane li { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 4px 0; font-size: 13px; }
.lane li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lane li .who { color: var(--text-faint); font-size: 12px; }
.lane li.child span:first-child::before { content: "↳ "; color: var(--text-faint); }

.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tile { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--text-dim); text-decoration: none; font-size: 11px; }
.tile:hover { border-color: var(--line-strong); }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .kind { font: 600 12px/1 var(--display); letter-spacing: 0.12em; color: var(--accent); }
.tile .name { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; background: linear-gradient(transparent, rgba(6, 6, 8, 0.92)); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.cron-list li { padding: 5px 0; font-size: 12.5px; color: var(--text-dim); border-top: 1px solid var(--line); }
.cron-list li:first-child { border-top: 0; }
