:root {
  color-scheme: dark;
  --ink: #effbf8;
  --muted: #a5bdb8;
  --soft: #071312;
  --paper: #0d201e;
  --deep: #091a18;
  --raised: #122925;
  --selected: #17312d;
  --muted-subtle: #76928c;
  --line: rgba(203, 244, 235, 0.11);
  --line-strong: rgba(203, 244, 235, 0.20);
  --accent: #4ef6e8;
  --accent-ink: #062f2d;
  --accent-shadow: rgba(78, 246, 232, 0.16);
  --accent-dark: #3de2d4;
  --wait: #f4c470;
  --run: var(--accent);
  --execute: var(--run);
  --execute-stripe: #2aa699;
  --focus: var(--accent);
  --control-hover: var(--muted-subtle);
  --connection-ok: var(--ok);
  --connection-glow: rgba(124, 231, 176, 0.12);
  --connection-error: var(--fail);
  --event-accent: var(--accent);
  --panel-shadow: rgba(0, 0, 0, 0.22);
  --dialog-shadow: rgba(0, 0, 0, 0.38);
  --popover-shadow: rgba(0, 0, 0, 0.50);
  --ok: #7ce7b0;
  --fail: #ff8f95;
  --radius: 15px;
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box }
body { margin: 0; color: var(--ink); background: var(--soft); font-size: 14px }
button, input, select { font: inherit }
button, a, select { touch-action: manipulation }
button { cursor: pointer }
button:disabled { cursor: wait; opacity: .65 }
a { color: inherit }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px }
[hidden] { display: none !important }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.skip-link:focus { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 10px; background: var(--paper) }
.brand-mark {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill-rule='evenodd' d='M2 30C10 21 16.8 14.1 21 8.8 24 5 26.6 1.5 29.2 2.1c2.8.7 2 3.7-.6 6.4-2.2 2.3-4.8 3.9-7.1 6C14.8 20.7 8.1 25.8 2 30Zm21.8-20.3c.6.6 1.5.4 2.1-.2l3-3.2c.7-.7.8-1.5.2-2-.5-.5-1.3-.3-1.9.3L24 7.8c-.7.7-.8 1.4-.2 1.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
[data-theme="light"] .brand-mark { background: #192733 }
.connection-dot { margin-top: 5px; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--muted-subtle) }
.connection-dot.online { background: var(--connection-ok); box-shadow: 0 0 0 3px var(--connection-glow) }
.connection-dot.offline { background: var(--connection-error) }
.main { min-width: 0; scroll-margin-top: 24px }
.content { max-width: 1500px; margin: auto; padding: 27px clamp(18px, 3vw, 42px) 40px }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 21px }
h1, h2, h3, p { margin: 0 }
h1 { font-size: clamp(27px, 3.2vw, 39px); line-height: 1.1; letter-spacing: -.052em }
h2 { font-size: 18px; line-height: 1.25; letter-spacing: -.02em }
h3 { font-size: 14px }
.title-row p, .panel-head p, .dialog-head p { margin-top: 7px; color: var(--muted); line-height: 1.45 }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 8px 13px; font-weight: 650; border: 1px solid transparent; border-radius: 8px; white-space: nowrap }
.button-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 2px 5px var(--accent-shadow) }
.button-primary:hover { background: var(--accent-dark) }
.button-quiet { background: var(--paper); border-color: var(--line-strong); color: var(--ink) }
.button-quiet:hover { background: var(--selected); border-color: var(--muted-subtle) }
.demo-button { min-height: 35px; font-size: 12px }
.play-icon { width: 0; height: 0; border-block: 4.5px solid transparent; border-left: 7px solid currentColor }
.plus-icon { font-size: 21px; line-height: .75 }
.notice { margin-bottom: 17px; border: 1px solid var(--line-strong); border-radius: 9px; padding: 10px 13px; color: var(--accent); background: var(--selected); line-height: 1.45 }
.notice.error { border-color: rgba(255, 143, 149, 0.35); color: var(--fail); background: #382428 }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 17px }
.metric { min-width: 0; display: grid; grid-template-columns: 13px minmax(0, 1fr); align-items: center; column-gap: 7px; row-gap: 5px; padding: 13px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px }
.metric-label { color: var(--muted); font-size: 12px; line-height: 1.22 }
.metric strong { align-self: end; grid-column: 2; font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums }
.metric-mark { width: 8px; height: 8px; border-radius: 50%; background: currentColor; justify-self: center }
.metric-running { color: var(--run) }
.metric-waiting { color: var(--wait) }
.metric-completed { color: var(--ok) }
.metric-failed { color: var(--fail) }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; min-width: 0; scroll-margin-top: 12px; box-shadow: 0 2px 3px var(--panel-shadow) }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 18px; flex-wrap: wrap; padding: 16px 18px 11px }
.panel-head p { margin-top: 4px; font-size: 12px }
.legend { display: flex; flex-wrap: wrap; gap: 6px 13px; align-items: center; margin-top: 3px; color: var(--muted); font-size: 11px; white-space: nowrap }
.legend span { display: inline-flex; align-items: center; gap: 5px }
.legend i { width: 14px; height: 6px; border-radius: 3px }
.legend-execution { background: var(--run) }
.legend-wait { background: #f2c577 }
.legend-failure { background: var(--fail) }
.timeline-body { padding: 0 18px 12px; min-width: 0 }
.empty { color: var(--muted); font-size: 13px; text-align: center; line-height: 1.5 }
.empty strong { display: block; color: var(--ink); font-weight: 650; margin-bottom: 3px }
.timeline-body > .empty { border: 1px dashed var(--line-strong); border-radius: 8px; background: var(--deep); padding: 26px 10px }
.timeline-grid { --label-width: 168px; display: grid; grid-template-columns: var(--label-width) minmax(0, 1fr); align-items: stretch; min-width: 0 }
.timeline-label { appearance: none; border: 0; background: transparent; color: var(--ink); text-align: left; padding: 4px 8px 4px 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; line-height: 1.25; font-size: 12px }
.timeline-label:hover { color: var(--accent); text-decoration: underline }
.timeline-label small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.track { position: relative; min-height: 33px; align-self: stretch; border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(25% - 1px), var(--line-strong) calc(25% - 1px), var(--line-strong) 25%) }
.track:nth-child(4) { border-top: 1px solid var(--line) }
.segment { position: absolute; top: 10px; height: 12px; border-radius: 3px; min-width: 1px; max-width: 100%; overflow: hidden }
.segment.wait { background: repeating-linear-gradient(-45deg, #ffe3b0 0, #ffe3b0 4px, #f1c172 4px, #f1c172 6px) }
.segment.execute { background: var(--execute) }
.segment.running { background: repeating-linear-gradient(-45deg, var(--execute) 0, var(--execute) 7px, var(--execute-stripe) 7px, var(--execute-stripe) 10px) }
.segment.failed { background: var(--fail) }
.axis { display: flex; margin: 1px 0 4px; justify-content: space-between; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap }
.axis-caption { color: var(--muted); font-size: 10px; line-height: 1.4 }
.filter-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px }
select, input { color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 7px; min-height: 36px; padding: 6px 9px }
select:hover, input:hover { border-color: var(--control-hover) }
.table-wrap { position: relative; overflow-x: auto }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 12px; white-space: nowrap }
th { font-size: 11px; font-weight: 660; color: var(--muted); padding: 9px 11px; background: var(--raised); border-block: 1px solid var(--line) }
td { padding: 9px 11px; border-bottom: 1px solid var(--line) }
tr:last-child td { border-bottom: 0 }
th:first-child, td:first-child { padding-left: 18px }
th:last-child, td:last-child { padding-right: 18px }
td.reason-cell { min-width: 132px; max-width: 285px; white-space: normal; color: var(--muted) }
tbody tr:hover { background: var(--deep) }
td.empty { padding: 24px 14px }
.run-link { text-align: left; padding: 0; border: 0; background: transparent; color: var(--ink); font-weight: 660 }
.run-link:hover { text-decoration: underline; color: var(--accent) }
.run-id { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; font-weight: 400 }
.icon-button { display: inline-grid; place-items: center; border: 1px solid var(--line-strong); color: var(--muted); background: var(--paper); border-radius: 7px; width: 28px; height: 28px; padding: 0; font-size: 17px; line-height: 1 }
.icon-button:hover { border-color: var(--muted-subtle); background: var(--selected) }
.badge { margin: 0; display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; background: var(--selected); border-radius: 100px; color: var(--muted); font-size: 10px; font-weight: 700; white-space: nowrap }
.badge::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor }
.badge.active { background: var(--selected); color: var(--accent) }
.badge.waiting { background: #473722; color: #f7d388 }
.badge.completed { background: #1b3b2f; color: var(--ok) }
.badge.attention { background: #41292e; color: var(--fail) }
dialog { border: 1px solid var(--line); color: var(--ink); background: var(--paper); padding: 0; box-shadow: 0 18px 90px var(--dialog-shadow); max-height: 92dvh }
dialog::backdrop { background: rgba(4, 14, 13, 0.72) }
.start-dialog { width: min(460px, 94vw); border-radius: 14px }
.dialog-head { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 17px 19px 14px; border-bottom: 1px solid var(--line) }
.dialog-head h2 { overflow-wrap: anywhere }
.dialog-head p { font-size: 12px; overflow-wrap: anywhere }
.icon-button.close { flex: 0 0 29px; width: 29px; height: 29px; font-size: 20px }
.form-fields { display: grid; gap: 13px; padding: 15px 19px }
.form-fields label { display: grid; gap: 6px; font-weight: 660 }
.form-fields input, .form-fields select { width: 100%; font-weight: 400 }
.hint { color: var(--muted); font-size: 12px; line-height: 1.4; margin-top: -6px }
.form-error { color: var(--fail); font-size: 12px }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); padding: 13px 19px }
.login-page { display: grid; min-height: 100dvh; place-items: center; padding: 24px }
.login-panel { width: min(100%, 410px); margin: 0 }
.login-heading { padding: 24px 24px 8px }
.login-heading h1 { font-size: clamp(24px, 6vw, 31px) }
.login-panel .form-fields { padding: 16px 24px 24px }
.login-panel .button { margin-top: 3px }
.login-panel .button + .button { margin-top: -5px }
.account-bar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 12px; color: var(--muted); overflow-wrap: anywhere }
.account-bar .button { min-height: 32px; flex: none }
.detail-dialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(500px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 13px 0 0 13px; overscroll-behavior: contain }
.detail-content { padding: 16px 19px 22px; display: grid; gap: 15px; font-size: 13px }
.detail-content .empty { padding: 22px 0 }
.detail-block { border: 1px solid var(--line); padding: 12px; border-radius: 9px; min-width: 0 }
.detail-block > h3 { margin-bottom: 8px }
.detail-block p { line-height: 1.45; color: var(--muted) }
.detail-block dl { margin: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 7px 10px; align-items: baseline }
.detail-block dt { color: var(--muted) }
.detail-block dd { margin: 0; overflow-wrap: anywhere }
.detail-block pre { margin: 0; padding: 9px; color: var(--muted); background: var(--raised); border-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere }
.event-list { list-style: none; padding: 0; margin: 0 }
.event-list li { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 3px 7px; border-bottom: 1px solid var(--line); padding: 7px 0 }
.event-list li:last-child { border-bottom: 0 }
.event-list time, .event-list small { color: var(--muted); font-size: 11px }
.event-list small { grid-column: 1 / -1; overflow-wrap: anywhere }
@media (max-width: 1000px) {
  .content { padding-top: 22px }
  .metric { padding-inline: 8px; column-gap: 4px }
}
@media (max-width: 740px) {
  .content { padding-top: 17px }
  .title-row { align-items: flex-start }
  .title-row p { font-size: 12px }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px }
  .metric { row-gap: 4px; padding: 9px }
  .metric strong { font-size: 22px }
  .panel { scroll-margin-top: 51px }
}
@media (max-width: 450px) {
  .title-row { display: grid; gap: 9px }
  .title-row .button { justify-self: start }
  .panel-head { padding-inline: 11px }
  .timeline-body { padding-inline: 11px }
  .timeline-grid { --label-width: 95px }
  .axis span:nth-child(2n) { display: none }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .metric, .icon-button { transition: background .15s ease, border-color .15s ease }
}


.parameter-row { display: grid; grid-template-columns: minmax(0, 1fr) 88px; gap: 10px }
.result-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 7px; margin-bottom: 7px; color: var(--ok) }
.result-value span:first-child { flex-basis: 100%; font-weight: 650 }
.result-value strong { font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums }
.requirements { margin: 7px 0 0; padding-inline-start: 17px; line-height: 1.5 }


.blockers { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 7px }
.blocker-button { padding: 2px 7px; color: var(--accent); background: var(--selected); border: 1px solid var(--line-strong); border-radius: 5px; font: 11px ui-monospace, monospace }
.blocker-button:hover { background: var(--raised) }

.brand-line { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; color: var(--muted) }
.brand-line b { color: var(--ink); font-size: 16px }
.brand-line .connection-dot { margin: 0 0 0 6px }
.title-actions, .journal-controls, .timeline-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap }
.metric { text-align: left; color: var(--ink) }
.metric:hover, .metric[aria-pressed="true"] { border-color: var(--muted-subtle); background: var(--selected) }
.timeline-body { overflow-x: auto; padding-bottom: 14px }
.timeline-grid { min-width: 580px }
.timeline-body.zoomed .timeline-grid { width: 180%; min-width: 920px }
.segment { border: 0; padding: 0; cursor: pointer }
.segment:hover { filter: brightness(1.25) }
.segment:focus-visible { outline-offset: 2px; z-index: 1 }
.timeline-tools .button { min-height: 30px; font-size: 12px }
.journal-controls input { width: min(190px, 100%); background: var(--deep) }
select {
  appearance: none;
  padding-inline: 11px 32px;
  border-radius: 12px;
  background: var(--raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23a5bdb8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
}
.journal-controls select { font-size: 12px }
@supports (appearance: base-select) {
  select, select::picker(select) { appearance: base-select }
  select { background: var(--raised); padding-inline: 11px }
  select::picker-icon { color: var(--muted) }
  select::picker(select) {
    margin-block: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 12px;
    background: var(--paper); color: var(--ink); box-shadow: 0 8px 24px var(--popover-shadow);
  }
  select option { padding: 7px 10px; border-radius: 8px }
  select option:hover, select option:focus-visible { background: var(--selected) }
}
.detail-block .time-group-start { margin-top: 6px }
tbody tr:nth-child(even) { background: var(--raised) }
tbody tr:hover { background: var(--selected) }

table { font-size: 15px }
th { font-size: 14px }
table .badge, table .run-id { font-size: 12px }

.detail-actions, .picker-actions { display: flex; align-items: center; gap: 8px }
.detail-actions { flex-shrink: 0 }
.icon-button.close { position: relative }
.icon-button.close::before, .icon-button.close::after {
  content: ""; position: absolute; inset: 50% auto auto 50%;
  width: 13px; height: 1.5px; border-radius: 2px; background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
.icon-button.close::after { transform: translate(-50%, -50%) rotate(-45deg) }
.detail-dialog.expanded { inset: 0; width: 100%; max-width: 100%; border-radius: 0; border: 0 }
.detail-dialog.expanded .detail-content { display: block; columns: 2; column-gap: 20px }
.detail-dialog.expanded .detail-block { break-inside: avoid; margin-bottom: 16px }

.timeline-label, .axis-caption {
  position: sticky; left: 0; z-index: 2;
  background: var(--paper); border-right: 1px solid var(--line);
}
.timeline-label[aria-pressed="true"], .timeline-label:hover { background: var(--selected) }
.segment[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; z-index: 1 }
.stage-info { margin: 0 18px 8px; padding: 8px 10px; border-radius: 7px; background: var(--selected); color: var(--ink) }
.track.has-hidden-blocker { min-height: 55px }
.hidden-blocker {
  position: absolute; top: 27px; left: 6px;
  border: 1px solid var(--line-strong); border-radius: 5px; padding: 2px 7px;
  background: var(--raised); color: var(--muted); font-size: 11px;
}
.hidden-blocker:hover { background: var(--selected); color: var(--ink) }
thead th { background: var(--selected); color: var(--ink); border-bottom-color: var(--line-strong) }
.timeline-body { padding-inline: 0 }
.timeline-body > .empty { margin-inline: 12px }
.timeline-grid { padding-inline-end: 16px }
.timeline-label, .axis-caption { padding-left: 14px }
.detail-dialog .dialog-head { position: sticky; top: 0; background: var(--paper); z-index: 2 }
.detail-dialog.expanded {
  inset: 0; margin: auto; width: min(94vw, 1400px); height: fit-content;
  max-height: 92dvh; border: 1px solid var(--line); border-radius: 14px;
}
.detail-dialog.expanded::backdrop { backdrop-filter: blur(6px); background: rgba(4, 14, 13, 0.78) }
.event-jump { padding: 0; text-align: left; color: var(--accent); background: transparent; border: 0; font-weight: 650 }
.event-jump:hover { text-decoration: underline }
.event-list li.event-selected { background: var(--selected); box-shadow: inset 3px 0 var(--event-accent); padding-inline: 8px }
.timeline-event {
  position: absolute; top: 5px; bottom: 5px; width: 3px; z-index: 1;
  transform: translateX(-50%); border-radius: 3px; background: var(--ink);
  box-shadow: 0 0 0 3px rgba(78, 246, 232, 0.35); pointer-events: none;
}
@media (max-width: 450px) {
  .timeline-body { padding-inline: 0 }
  .timeline-label, .axis-caption { padding-left: 8px }
}
#timeline-picker { position: relative }
#timeline-picker summary { list-style: none; cursor: pointer }
#timeline-picker summary::-webkit-details-marker { display: none }
#timeline-picker summary::after { content: "⌄"; color: var(--muted) }
#timeline-picker[open] summary::after { transform: rotate(180deg) }
.picker-panel {
  position: absolute; z-index: 4; top: calc(100% + 8px); right: 0;
  width: min(320px, calc(100vw - 46px)); padding: 10px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper); box-shadow: 0 10px 30px var(--popover-shadow);
}
.picker-actions { flex-wrap: wrap; padding-bottom: 9px }
.picker-search { width: 100%; margin-bottom: 8px }
.picker-options { overflow: auto; max-height: 240px }
.picker-options label { display: flex; align-items: center; gap: 8px; padding: 5px; cursor: pointer }
.picker-options label:hover { background: var(--selected) }
.picker-options input { min-height: 0; accent-color: var(--focus) }
.picker-options small { color: var(--muted); white-space: nowrap }

:root { scrollbar-width: thin; scrollbar-color: var(--muted-subtle) var(--deep) }
@supports selector(::-webkit-scrollbar) {
  :root, .timeline-body, .table-wrap, dialog, .picker-options { scrollbar-width: auto; scrollbar-color: auto }
  ::-webkit-scrollbar { width: 10px; height: 10px }
  ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: var(--deep) }
  ::-webkit-scrollbar-thumb { background: var(--muted-subtle); border: 2px solid var(--deep); border-radius: 10px }
  ::-webkit-scrollbar-thumb:hover { background: var(--muted) }
  ::-webkit-scrollbar-button { display: none }
}
@media (max-width: 740px) {
  .title-row { flex-wrap: wrap }
  .panel { scroll-margin-top: 12px }
  .detail-dialog.expanded .detail-content { columns: 1 }
  .picker-panel { left: 0; right: auto }
  .detail-actions .button { font-size: 11px; min-height: 29px }
}
.brand-line { flex-wrap: wrap }
#theme-toggle { min-height: 27px; padding: 3px 8px; font-size: 11px; border-radius: 7px }
#theme-toggle[aria-pressed="true"] { border-color: var(--accent); color: var(--accent) }

:root[data-theme="light"] {
  color-scheme: light;
  --ink: #17243a;
  --muted: #52627a;
  --soft: #f2f5fa;
  --paper: #fff;
  --line: #dce4ef;
  --accent: #245de5;
  --accent-dark: #2c60db;
  --accent-ink: #fff;
  --accent-shadow: #235de531;
  --muted-subtle: #9fb1ca;
  --execute: #2863e8;
  --execute-stripe: #5584f0;
  --focus: #5b8aff;
  --control-hover: #7092bd;
  --connection-ok: #43d5a6;
  --connection-glow: #43d5a61d;
  --connection-error: #ff87a0;
  --event-accent: #87b5ff;
  --panel-shadow: #283d5310;
  --dialog-shadow: #10203944;
  --popover-shadow: #05090f80;
  --wait: #946006;
  --ok: #08654d;
  --fail: #ae3655;
  scrollbar-color: #879bb7 #edf1f7;
}
[data-theme="light"] .button-quiet,
[data-theme="light"] .icon-button { color: #29456e; border-color: #cedaeb }
[data-theme="light"] .button-quiet:hover,
[data-theme="light"] .icon-button:hover,
[data-theme="light"] .metric:hover,
[data-theme="light"] .metric[aria-pressed="true"] { background: #eaf2ff; border-color: #7295cf }
[data-theme="light"] .notice,
[data-theme="light"] .stage-info { color: #254883; background: #eaf2ff; border-color: #c6d8f5 }
[data-theme="light"] .notice.error { color: #952844; background: #fff0f4; border-color: #efc3cf }
[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] select::picker(select) { border-color: #c2cfe1; background-color: #f7f9fd }
@supports not (appearance: base-select) {
  [data-theme="light"] select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%2347648e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") }
}
[data-theme="light"] select::picker-icon { color: #47648e }
[data-theme="light"] .picker-options label:hover,
[data-theme="light"] select option:hover,
[data-theme="light"] select option:focus-visible,
[data-theme="light"] .timeline-label:hover,
[data-theme="light"] .timeline-label[aria-pressed="true"] { background: #eaf2ff }
[data-theme="light"] .timeline-body > .empty { background: #f7f9fd; border-color: #c2cfe1 }
[data-theme="light"] .track {
  border-color: #dce4ef;
  background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(25% - 1px), #dce4ef calc(25% - 1px), #dce4ef 25%);
}
[data-theme="light"] .segment[aria-pressed="true"] { outline-color: #214978 }
[data-theme="light"] .timeline-event { background: #603896; box-shadow: 0 0 0 3px #60389633 }
[data-theme="light"] .hidden-blocker { color: #3d4c63; background: #ecf0f5; border-color: #c3cfdf }
[data-theme="light"] .hidden-blocker:hover { background: #dce6f5; color: #3d4c63 }
[data-theme="light"] thead th { color: #243b61; background: #dbe8fb; border-bottom-color: #b2c7e5 }
[data-theme="light"] td { border-color: var(--line) }
[data-theme="light"] tbody tr:nth-child(even) { background: #f3f6fb }
[data-theme="light"] tbody tr:hover { background: #e8f1ff }
[data-theme="light"] .badge { color: #455975; background: #edf2f9 }
[data-theme="light"] .badge.active { color: #173d8e; background: #c8dbff; box-shadow: inset 0 0 0 1px #91b5f5 }
[data-theme="light"] .badge.waiting { color: #633c00; background: #ffe09d; box-shadow: inset 0 0 0 1px #e9ba61 }
[data-theme="light"] .badge.completed { color: #064e36; background: #bcebd4; box-shadow: inset 0 0 0 1px #79cca6 }
[data-theme="light"] .badge.attention { color: #861733; background: #ffccd8; box-shadow: inset 0 0 0 1px #ec94aa }
[data-theme="light"] .detail-block pre,
[data-theme="light"] .blocker-button { color: #29456e; background: #edf3fd; border-color: #c6d8f5 }
[data-theme="light"] .blocker-button:hover,
[data-theme="light"] .event-list li.event-selected { background: #e2edff }
[data-theme="light"] .event-jump { color: #234c9c }
[data-theme="light"] dialog::backdrop,
[data-theme="light"] .detail-dialog.expanded::backdrop { background: #233c5b65 }
[data-theme="light"] ::-webkit-scrollbar-track,
[data-theme="light"] ::-webkit-scrollbar-corner { background: #edf1f7 }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: #879bb7; border-color: #edf1f7 }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: #607a9f }
