/* Selected supervision-ledger design: operational list, responsibility matrix and date-contract timeline. */
:root {
  --ledger-ink: #17213b;
  --ledger-muted: #6d7690;
  --ledger-quiet: #929ab0;
  --ledger-line: #e4e7f2;
  --ledger-line-strong: #d9ddea;
  --ledger-purple: #5d4cf2;
  --ledger-blue: #3f70f6;
  --ledger-blue-soft: #eef3ff;
  --ledger-violet-soft: #f2efff;
  --ledger-red: #f04455;
  --ledger-red-soft: #fff0f2;
  --ledger-amber: #f2a21a;
  --ledger-amber-soft: #fff6e7;
  --ledger-teal: #23b7a6;
}

body:has([data-view="tasks"].active) {
  background: #f8f9fe;
}

body:has([data-view="tasks"].active) .view-heading {
  display: none;
}

body:has([data-view="tasks"].active) .app-content {
  padding: 14px 16px 30px !important;
}

body:has([data-view="tasks"].active) .task-workspace {
  min-height: calc(100vh - 104px);
  overflow: hidden;
  border: 1px solid var(--ledger-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(60, 53, 128, .035);
}

body:has([data-view="tasks"].active) .task-toolbar {
  min-height: 64px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--ledger-line);
  background: rgba(255,255,255,.98);
}

body:has([data-view="tasks"].active) .task-toolbar .segmented {
  min-width: 250px;
  padding: 4px;
  gap: 2px;
  border: 0;
  border-radius: 10px;
  background: #f2f1f8;
}

body:has([data-view="tasks"].active) .task-toolbar .segmented button {
  min-width: 76px;
  min-height: 38px;
  padding: 0 18px;
  color: #4c556d;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  font-weight: 760;
}

body:has([data-view="tasks"].active) .task-toolbar .segmented button.active {
  color: var(--ledger-purple);
  background: #fff;
  box-shadow: 0 0 0 1.5px #7464ff, 0 4px 14px rgba(83, 66, 224, .1);
}

body:has([data-view="tasks"].active) .task-filters {
  flex: 1;
  justify-content: flex-end;
  gap: 10px;
}

body:has([data-view="tasks"].active) .task-filters select,
body:has([data-view="tasks"].active) .task-filters input {
  height: 42px;
  color: #35405a;
  border: 1px solid var(--ledger-line);
  border-radius: 10px;
  background-color: #fff;
  font-size: 12px;
}

body:has([data-view="tasks"].active) .task-filters select {
  width: 150px;
}

body:has([data-view="tasks"].active) .task-filters input {
  width: min(270px, 24vw);
  order: -1;
}

body:has([data-view="tasks"].active) #saveTaskView {
  min-height: 42px;
  color: var(--ledger-purple);
  border: 0;
  background: transparent;
}

body:has([data-view="tasks"].active) .ledger-summary {
  min-height: 100px;
  padding: 15px 24px;
  gap: 12px;
  color: var(--ledger-muted);
  border-bottom: 1px solid var(--ledger-line);
  background: linear-gradient(110deg, #fff 0%, #fcfcff 58%, #faf9ff 100%);
  font-size: 12px;
}

body:has([data-view="tasks"].active) .ledger-summary[hidden] {
  display: none !important;
}

.ledger-signal {
  flex: 0 1 218px;
  min-width: 176px;
  min-height: 68px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d8dffe;
  border-radius: 12px;
  background: rgba(247, 250, 255, .8);
  box-shadow: 0 3px 12px rgba(58, 74, 130, .025);
}

.ledger-signal-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: var(--ledger-purple);
  border-radius: 11px;
  background: #ebe8ff;
}

.ledger-signal-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.2;
}

.ledger-signal.primary {
  border-color: #c9d7ff;
  background: rgba(247, 250, 255, .92);
}

.ledger-signal.primary .ledger-signal-icon {
  color: var(--ledger-blue);
  background: #e7eeff;
}

.ledger-signal.danger {
  border-color: #ffd0d7;
  background: rgba(255, 249, 250, .94);
}

.ledger-signal.danger .ledger-signal-icon {
  color: var(--ledger-red);
  background: #ffe8ec;
}

.ledger-signal.danger .ledger-signal-icon svg { fill: var(--ledger-red); }

.ledger-signal.warning {
  border-color: #f7d8a1;
  background: rgba(255, 252, 246, .94);
}

.ledger-signal.warning .ledger-signal-icon {
  color: var(--ledger-amber);
  background: #fff0d8;
}

.ledger-signal.due {
  border-color: #d4ccff;
  background: rgba(251, 250, 255, .94);
}

.ledger-signal.due .ledger-signal-icon {
  color: var(--ledger-purple);
  background: #ece8ff;
}

.ledger-signal b {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ledger-muted);
  font-size: 13px;
  font-weight: 680;
  white-space: nowrap;
}

.ledger-summary .ledger-signal strong {
  margin: 0;
  color: var(--ledger-ink);
  font-size: 26px;
  line-height: 1;
  font-weight: 820;
}

.ledger-view-count {
  min-height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--ledger-quiet);
  border: 1px solid #e5e8f5;
  border-radius: 12px;
  background: rgba(255,255,255,.7);
  font-size: 12px;
  white-space: nowrap;
}

.ledger-view-count svg {
  width: 20px;
  height: 20px;
  color: #8a77ff;
  stroke-width: 2;
}

.task-data-view {
  min-height: 520px;
  color: var(--ledger-ink);
  background: #fff;
}

.ledger-list-head {
  height: 54px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ledger-muted);
  font-size: 11px;
}

.ledger-list-head > strong {
  color: var(--ledger-ink);
  font-size: 13px;
}

.ledger-list-head > strong span { color: var(--ledger-muted); font-weight: 500; }
.ledger-list-head > span { display: inline-flex; align-items: center; gap: 6px; }
.ledger-list-head svg { width: 14px; height: 14px; }
.ledger-list { padding: 0 14px 18px; }

.ledger-group {
  overflow: hidden;
  border: 1px solid var(--ledger-line);
  border-radius: 11px;
}

.ledger-group + .ledger-group { margin-top: 14px; }

.ledger-group-head {
  height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  border-bottom: 1px solid var(--ledger-line);
  background: linear-gradient(90deg, #fff, #fcfcff);
}

.ledger-group-head::before {
  content: "";
  width: 4px;
  height: 22px;
  position: absolute;
  left: 0;
  border-radius: 0 4px 4px 0;
  background: var(--ledger-purple);
}

.ledger-group-head.red::before { background: var(--ledger-red); }
.ledger-group-head.blue::before { background: var(--ledger-blue); }
.ledger-group-head.violet::before { background: var(--ledger-purple); }
.ledger-group-head strong { font-size: 16px; }
.ledger-group-head span { color: var(--ledger-muted); font-size: 13px; }
.ledger-table-wrap { overflow-x: auto; }

.ledger-table-v2 {
  min-width: 1050px;
  table-layout: fixed;
}

.ledger-table-v2 th {
  height: 40px;
  padding: 0 16px;
  color: #68718a;
  background: #f8f8fd;
  border-bottom: 1px solid var(--ledger-line);
  font-size: 11px;
  font-weight: 720;
}

.ledger-table-v2 td {
  height: 68px;
  padding: 10px 16px;
  color: #4f5b73;
  border-bottom: 1px solid #edf0f6;
  font-size: 12px;
  line-height: 1.45;
}

.ledger-table-v2 tr:last-child td { border-bottom: 0; }
.ledger-task-row { position: relative; cursor: default; outline: none; }
.ledger-task-row:hover { background: #fafbff !important; }
.ledger-task-row:focus-visible { box-shadow: inset 0 0 0 2px rgba(93,76,242,.55); }
.ledger-task-row.risk td:first-child { box-shadow: inset 3px 0 var(--ledger-red); }
.ledger-task-row.wait td:first-child { box-shadow: inset 3px 0 var(--ledger-amber); }

.ledger-health {
  width: max-content;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  color: #3166de;
  background: var(--ledger-blue-soft);
  font-size: 10px;
  font-weight: 780;
  white-space: nowrap;
}

.ledger-health.risk { color: var(--ledger-red); background: var(--ledger-red-soft); }
.ledger-health.wait { color: #d48400; background: var(--ledger-amber-soft); }
.ledger-health.ok { color: #5262dc; background: var(--ledger-violet-soft); }

.ledger-table-v2 .task-title-cell strong {
  color: var(--ledger-ink);
  font-size: 13px;
}

.ledger-table-v2 .task-title-cell small,
.ledger-table-v2 .ledger-owner small,
.ledger-table-v2 .ledger-due small {
  margin-top: 4px;
  color: var(--ledger-quiet);
  font-size: 10px;
}

.ledger-table-v2 .ledger-owner strong,
.ledger-table-v2 .ledger-due strong {
  color: #3d4862;
  font-size: 12px;
}

.ledger-table-v2 .ledger-due.overdue strong,
.ledger-table-v2 .ledger-due.overdue small { color: var(--ledger-red); }
.ledger-progress-copy, .ledger-next { color: #667089; }

/* Responsibility matrix board */
.board-view { background: #fff; }

.board-meta-bar {
  min-height: 58px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: var(--ledger-muted);
  border-bottom: 1px solid var(--ledger-line);
  font-size: 11px;
}

.board-meta-bar > span { display: inline-flex; align-items: center; gap: 7px; }
.board-meta-bar > span svg { width: 14px; height: 14px; }
.board-meta-bar > strong { color: var(--ledger-ink); font-size: 16px; }
.board-meta-bar > strong small { color: var(--ledger-muted); font-size: 11px; font-weight: 600; }
.board-meta-bar > strong b { padding: 0 7px; color: #c3c8d5; font-weight: 400; }

.board-group-switch {
  justify-self: end;
  padding: 3px;
  display: flex;
  border-radius: 9px;
  background: #f4f3f9;
}

.board-group-switch button {
  min-width: 76px;
  height: 32px;
  color: #5b647a;
  cursor: pointer;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}

.board-group-switch button.active {
  color: var(--ledger-purple);
  background: #fff;
  box-shadow: 0 0 0 1px #cfc9ff, 0 3px 10px rgba(70,54,175,.1);
}

.board-matrix {
  min-width: 1160px;
  display: grid;
  grid-template-columns: 164px repeat(4, minmax(220px, 1fr));
  overflow: auto;
  background: #fff;
}

.board-matrix-head {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--ledger-ink);
  border-right: 1px solid var(--ledger-line);
  border-bottom: 1px solid var(--ledger-line);
  background: #fbfbfe;
  font-size: 13px;
  font-weight: 800;
}

.board-matrix-head.risk { color: var(--ledger-red); }
.board-matrix-head span { min-width: 20px; height: 20px; display: inline-grid; place-items: center; color: #69728a; border-radius: 50%; background: #eff0f5; font-size: 10px; }

.board-identity {
  min-height: 160px;
  padding: 20px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--ledger-line);
  border-bottom: 1px solid var(--ledger-line);
  background: #fcfcff;
}

.board-identity-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  border: 3px solid rgba(255,255,255,.88);
  border-radius: 50%;
  background: var(--ledger-purple);
  box-shadow: 0 4px 12px rgba(83,70,214,.2);
}

.board-identity:nth-of-type(5n+1) .board-identity-icon { background: var(--ledger-blue); }
.board-identity:nth-of-type(5n+2) .board-identity-icon { background: #8b68ee; }
.board-identity:nth-of-type(5n+3) .board-identity-icon { background: #ff8d43; }
.board-identity:nth-of-type(5n+4) .board-identity-icon { background: var(--ledger-teal); }
.board-identity-icon svg { width: 21px; height: 21px; }
.board-identity strong { display: block; color: var(--ledger-ink); font-size: 13px; }
.board-identity small { display: block; margin-top: 5px; color: var(--ledger-muted); font-size: 10px; }

.board-cell {
  min-height: 160px;
  padding: 12px;
  border-right: 1px solid var(--ledger-line);
  border-bottom: 1px solid var(--ledger-line);
  background: #fff;
}

.board-cell.risk { background: #fffdfc; }

.board-task {
  min-height: 118px;
  padding: 13px;
  position: relative;
  cursor: default;
  outline: none;
  border: 1px solid #e1e4ed;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(42, 51, 80, .035);
}

.board-task + .board-task { margin-top: 9px; }
.board-task:hover { border-color: #b9b2f5; box-shadow: 0 7px 18px rgba(83, 70, 214, .08); }
.board-task:focus-visible { box-shadow: 0 0 0 2px rgba(93,76,242,.55); }
.board-task.risk { border-color: #f0dadd; background: #fffdfc; }
.board-task.risk::before { content: ""; width: 4px; position: absolute; inset: 0 auto 0 0; border-radius: 11px 0 0 11px; background: var(--ledger-red); }
.board-task > strong { margin-top: 9px; display: block; color: var(--ledger-ink); font-size: 12px; line-height: 1.45; }

.board-task > small {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ledger-muted);
  font-size: 10px;
}

.board-task > small svg { width: 13px; height: 13px; }
.board-task > small svg:nth-of-type(2) { margin-left: 7px; }

.board-progress { margin-top: 11px; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 7px; color: var(--ledger-muted); font-size: 10px; }
.board-progress > i { height: 5px; overflow: hidden; border-radius: 99px; background: #e9eaf1; }
.board-progress > i b { height: 100%; display: block; border-radius: inherit; background: var(--ledger-purple); }

/* Three-date contract timeline */
.timeline-view-v2 { padding: 0 14px 18px; }

.timeline-command-bar {
  min-height: 58px;
  margin: 12px 0 14px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  color: var(--ledger-muted);
  border: 1px solid #eef0fb;
  border-radius: 10px;
  background: #fafaff;
  scrollbar-width: thin;
  white-space: nowrap;
}

.timeline-legend {
  min-width: max-content;
  min-height: 36px;
  padding: 0 10px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  color: var(--ledger-muted);
  font-size: 10px;
}

.timeline-legend > strong { padding-right: 14px; color: var(--ledger-ink); }
.timeline-legend > span {
  min-height: 20px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-left: 1px solid #e4e7f3;
}
.timeline-legend svg { width: 14px; height: 14px; color: var(--ledger-blue); }

.timeline-detail-hint {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #69748c;
  font-size: 10px;
}

.timeline-detail-hint svg { width: 14px; height: 14px; color: var(--ledger-blue); }

.legend-line { width: 28px; height: 0; position: relative; border-top: 1.5px dashed #9da4b5; }
.legend-line::after { content: ""; width: 7px; height: 7px; position: absolute; right: -1px; top: -4px; transform: rotate(45deg); border: 1.5px solid currentColor; background: #fff; }
.legend-line.approved { color: var(--ledger-blue); border-color: var(--ledger-blue); border-style: solid; }
.legend-line.approved::after { background: var(--ledger-blue); }
.legend-line.forecast { color: var(--ledger-red); border-color: var(--ledger-red); }

.timeline-controls {
  height: 38px;
  margin-left: auto;
  padding: 2px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  border: 1px solid #e7e9f3;
  border-radius: 10px;
  background: #fff;
}

.timeline-controls button {
  height: 32px;
  min-width: 34px;
  padding: 0 10px;
  display: inline-grid;
  place-items: center;
  color: #4f5a72;
  cursor: pointer;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}

.timeline-controls button:hover { color: var(--ledger-purple); background: #f6f4ff; }
.timeline-today-button { padding-inline: 12px !important; }
.timeline-stepper,
.timeline-scale { display: flex; align-items: center; }
.timeline-stepper { padding: 0 2px; border-inline: 1px solid #eaecf4; }
.timeline-scale { gap: 1px; }
.timeline-controls button svg { width: 14px; height: 14px; }
.timeline-controls .timeline-scale button.active {
  color: var(--ledger-purple);
  background: #eeeaff;
  box-shadow: inset 0 0 0 1px rgba(103, 83, 255, .08);
}

.timeline-grid-shell {
  min-width: 1320px;
  overflow: hidden;
  border: 1px solid var(--ledger-line);
  border-radius: 11px;
  background: #fff;
}

.timeline-grid-head,
.timeline-task-row {
  display: grid;
  grid-template-columns: 470px minmax(850px, 1fr);
}

.timeline-grid-head { height: 77px; }

.timeline-info-head {
  display: grid;
  grid-template-columns: 42% 28% 17% 13%;
  align-items: center;
  color: #59647d;
  border-right: 1px solid var(--ledger-line);
  border-bottom: 1px solid var(--ledger-line);
  background: #fafbfe;
  font-size: 10px;
  font-weight: 720;
}

.timeline-info-head span { padding: 0 12px; }
.timeline-calendar-head { position: relative; border-bottom: 1px solid var(--ledger-line); background: #fafbfe; }
.timeline-weeks { height: 34px; display: flex; }
.timeline-weeks span { display: grid; place-items: center; color: #4d5871; border-right: 1px solid var(--ledger-line); font-size: 10px; }

.timeline-days {
  height: 43px;
  display: grid;
  grid-template-columns: repeat(var(--timeline-columns), minmax(27px, 1fr));
}

.timeline-days > span { display: grid; place-items: center; align-content: center; color: #67718a; border-top: 1px solid var(--ledger-line); border-right: 1px solid #edf0f5; font-size: 9px; }
.timeline-days > span b { font-size: 10px; }
.timeline-days > span small { margin-top: 2px; font-size: 8px; }
.timeline-days > span.today { color: #fff; background: var(--ledger-blue); }

.timeline-today-label {
  padding: 4px 7px;
  position: absolute;
  top: 2px;
  z-index: 3;
  transform: translateX(-50%);
  color: #fff;
  border-radius: 5px;
  background: var(--ledger-blue);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.timeline-group-label {
  height: 45px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  color: var(--ledger-ink);
  border-bottom: 1px solid var(--ledger-line);
  background: #fff;
}

.timeline-group-label::before { content: ""; width: 4px; height: 22px; position: absolute; left: 0; border-radius: 0 4px 4px 0; background: var(--ledger-purple); }
.timeline-group-label.today::before { background: var(--ledger-red); }
.timeline-group-label.week::before { background: var(--ledger-blue); }
.timeline-group-label strong { font-size: 14px; }
.timeline-group-label span { color: var(--ledger-muted); font-size: 11px; }

.timeline-task-row {
  min-height: 58px;
  cursor: default;
  outline: none;
  border-bottom: 1px solid #edf0f5;
}

.timeline-task-row:hover { background: #fbfcff; }
.timeline-task-row:focus-visible { box-shadow: inset 0 0 0 2px rgba(93,76,242,.55); }

.timeline-task-info {
  display: grid;
  grid-template-columns: 42% 28% 17% 13%;
  align-items: center;
  border-right: 1px solid var(--ledger-line);
}

.timeline-task-info > * { min-width: 0; margin-inline: 12px; }
.timeline-task-info strong { display: block; overflow: hidden; color: var(--ledger-ink); text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.timeline-task-info small { display: block; margin-top: 3px; overflow: hidden; color: var(--ledger-quiet); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.timeline-task-info > b { color: #526079; font-size: 11px; }

.timeline-track-v2 {
  min-width: 0;
  position: relative;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc((100% / var(--timeline-columns)) - 1px), #edf0f5 calc((100% / var(--timeline-columns)) - 1px), #edf0f5 calc(100% / var(--timeline-columns)));
}

.today-line { width: 1px; position: absolute; z-index: 2; inset: 0 auto 0; background: rgba(63,112,246,.9); }
.timeline-base-line, .timeline-approved-line, .timeline-forecast-line { height: 0; position: absolute; top: 50%; border-top: 1.5px dashed #9ca4b5; }
.timeline-approved-line { border-top: 2px solid var(--ledger-blue); }
.timeline-forecast-line { border-color: var(--ledger-amber); }
.timeline-forecast-line.risk { border-color: var(--ledger-red); }

.timeline-marker {
  width: 8px;
  height: 8px;
  position: absolute;
  z-index: 3;
  top: calc(50% - 4px);
  transform: translateX(-50%) rotate(45deg);
  border: 1.5px solid #9ca4b5;
  background: #fff;
}

.timeline-marker.approved { border-color: var(--ledger-blue); background: var(--ledger-blue); }
.timeline-marker.forecast { border-color: var(--ledger-amber); }
.timeline-marker.forecast.risk { border-color: var(--ledger-red); }

.timeline-change {
  padding: 2px 5px;
  position: absolute;
  top: 8px;
  transform: translateX(-50%);
  color: var(--ledger-blue);
  border-radius: 4px;
  background: rgba(255,255,255,.9);
  font-size: 8px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  body:has([data-view="tasks"].active) .task-toolbar { align-items: stretch; flex-direction: column; }
  body:has([data-view="tasks"].active) .task-filters { justify-content: flex-start; flex-wrap: wrap; }
  body:has([data-view="tasks"].active) .task-filters input { width: min(100%, 360px); }
  body:has([data-view="tasks"].active) .ledger-summary { padding: 14px 18px; flex-wrap: wrap; }
  .ledger-signal { flex: 1 1 calc(25% - 9px); min-width: 150px; }
  .ledger-view-count { margin-left: 0; }
  .timeline-command-bar { align-items: center; flex-direction: row; }
  .timeline-detail-hint { display: none; }
}

@media (max-width: 700px) {
  body:has([data-view="tasks"].active) .app-content { padding: 8px !important; }
  body:has([data-view="tasks"].active) .task-workspace { min-height: calc(100vh - 82px); border-radius: 12px; }
  body:has([data-view="tasks"].active) .task-toolbar .segmented { width: 100%; min-width: 0; }
  body:has([data-view="tasks"].active) .task-toolbar .segmented button { flex: 1; min-width: 0; padding-inline: 8px; }
  body:has([data-view="tasks"].active) .task-filters select { width: calc(50% - 5px); }
  body:has([data-view="tasks"].active) .task-filters input { width: 100%; order: -1; }
  body:has([data-view="tasks"].active) #saveTaskView { width: 100%; }
  body:has([data-view="tasks"].active) .ledger-summary { gap: 10px; }
  .ledger-signal { flex: 1 1 calc(50% - 5px); width: auto; min-width: 0; padding: 8px 10px; }
  .ledger-signal-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 9px; }
  .ledger-signal-icon svg { width: 22px; height: 22px; }
  .ledger-summary .ledger-signal strong { font-size: 19px; }
  .ledger-view-count { width: 100%; min-height: 46px; padding-inline: 14px; }
  .ledger-list-head { padding-inline: 10px; }
  .ledger-list-head > span { display: none; }
  .board-meta-bar { grid-template-columns: 1fr auto; }
  .board-meta-bar > strong { display: none; }
  .timeline-command-bar { margin-block: 8px 10px; }
  .timeline-legend { flex: 0 0 auto; }
}
