* {
  box-sizing: border-box;
}
/* Short screens have no scrollbar; reserve its space so cards do not shift between tabs. */
html {
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: #faf9f6;
  color: #252c27;
  font:
    15px/1.5 system-ui,
    sans-serif;
}
[hidden] {
  display: none !important;
}
.app-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 12px 24px;
  border-bottom: 1px solid #ddd;
  background: white;
}
.app-nav a {
  color: #234d38;
  text-decoration: none;
}
.app-nav a:hover {
  text-decoration: underline;
}
.app-nav a[aria-current="page"] {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.app-status {
  margin: 16px 24px;
}
.app-status:has([data-app-status][hidden]) {
  display: none;
}
.cb-editor {
  margin-top: 0;
}
.cb-editor__direct-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
main {
  min-width: 0;
}
button {
  font: inherit;
}
s-page {
  display: block;
}
img {
  max-width: 100%;
}
/* Interactive report charts (web/report-charts.jsx). */
.report-chart {
  width: 100%;
  min-width: 0;
}
.report-segments {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: #f1f1f1;
  align-self: flex-start;
}
.report-segments button {
  border: 0;
  border-radius: 7px;
  padding: 6px 14px;
  background: transparent;
  color: #303030;
  cursor: pointer;
  font-size: 13px;
  font-weight: 550;
}
.report-segments button:hover {
  background: rgba(0, 0, 0, 0.05);
}
.report-segments button[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.report-segments button:focus-visible {
  outline: 2px solid #2a78d6;
  outline-offset: 1px;
}
.report-tip__day {
  font-weight: 650;
  color: #303030;
  margin-bottom: 6px;
}
.report-tip__group {
  font-size: 12px;
  color: #616161;
  margin-top: 6px;
}
.report-tip__row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #616161;
  line-height: 1.6;
}
.report-tip__row strong {
  color: #303030;
  min-width: 2ch;
}
.report-tip__key {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: none;
}
.report-tip__key--line {
  height: 2px;
  border-radius: 1px;
}
.report-tip__rate {
  color: #303030;
  font-size: 12px;
  margin-top: 2px;
}
.report-daily {
  overflow-x: auto;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
}
.report-daily table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.report-daily th,
.report-daily td {
  padding: 6px 12px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid #f1f1f1;
}
.report-daily th:first-child {
  text-align: left;
}
.report-daily thead th {
  background: #f7f7f7;
  font-weight: 600;
}
.report-daily tbody tr:hover {
  background: #fafafa;
}
