/* /Components/BeverageServingPicker.razor.rz.scp.css */
.beverage-picker[b-qw11l66bud] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.serving-help[b-qw11l66bud] {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.field input[b-qw11l66bud] { min-width: 0; width: 100%; }
@media (max-width: 540px) {
  .beverage-picker[b-qw11l66bud] { grid-template-columns: minmax(0, 1fr); }
}
/* /Components/ChartPanControls.razor.rz.scp.css */
.chart-pan[b-i3a2z82gns] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 8px;
  margin: 8px 0 16px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.chart-pan[hidden][b-i3a2z82gns] { display: none; }
.pan-heading[b-i3a2z82gns], small[b-i3a2z82gns] { grid-column: 1 / -1; }
.pan-heading[b-i3a2z82gns] { font-size: 0.85rem; font-weight: 700; }
small[b-i3a2z82gns] { color: var(--muted); line-height: 1.5; }

.chart-pan button[b-i3a2z82gns] {
  min-width: 76px;
  min-height: 34px;
  padding: 0.3rem 0.5rem;
  font-size: 0.8rem;
  touch-action: manipulation;
}

input[type="range"][b-i3a2z82gns] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: ew-resize;
  touch-action: pan-y;
  accent-color: #176f68;
}

input[type="range"][b-i3a2z82gns]::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: 6px;
  background: #d3e2df;
}

input[type="range"][b-i3a2z82gns]::-moz-range-track {
  height: 12px;
  border-radius: 6px;
  background: #d3e2df;
}

input[type="range"][b-i3a2z82gns]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
  margin-top: -12px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: #176f68;
  box-shadow: 0 0 0 1px #176f68;
}

input[type="range"][b-i3a2z82gns]::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: #176f68;
  box-shadow: 0 0 0 1px #176f68;
}

input:focus-visible[b-i3a2z82gns] { outline: 3px solid #176f68; outline-offset: 2px; border-radius: 8px; }

@media (max-width: 600px) {
  .chart-pan[b-i3a2z82gns] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  input[type="range"][b-i3a2z82gns] { grid-column: 1 / -1; grid-row: 2; }
  .chart-pan button[b-i3a2z82gns] { width: auto; justify-self: start; }
  .chart-pan button[data-pan-later][b-i3a2z82gns] { justify-self: end; }
}

@media print { .chart-pan[b-i3a2z82gns] { display: none; } }
/* /Components/ChartZoom.razor.rz.scp.css */
.chart-zoom[b-62ewwsl31e] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.chart-zoom output[b-62ewwsl31e] {
  min-width: 3.5em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.chart-zoom button[b-62ewwsl31e] {
  min-width: 34px;
  min-height: 34px;
  padding: 0.3rem 0.5rem;
  touch-action: manipulation;
}

@media print { .chart-zoom[b-62ewwsl31e] { display: none; } }
/* /Components/ClinicianDiaryTable.razor.rz.scp.css */
.diary-filters[b-nbf4ury47t] {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) minmax(10rem, 1.2fr) minmax(11rem, 1.2fr);
  align-items: end;
  gap: 0.65rem;
  margin-top: 1rem;
}

.diary-filters label[b-nbf4ury47t] { display: grid; gap: 0.25rem; min-width: 0; font-size: 0.8rem; font-weight: 600; }
.diary-filters select[b-nbf4ury47t], .diary-filters input[b-nbf4ury47t] { min-height: 38px; width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 7px; padding: 0.4rem 0.55rem; color: var(--ink); background: var(--surface); font: inherit; }
.diary-filter-note[b-nbf4ury47t] { margin: 0.65rem 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.filter-count[b-nbf4ury47t] { color: var(--muted); font-size: 0.8rem; line-height: 1.5; }
.table-scroll[b-nbf4ury47t] { width: 100%; min-width: 0; overflow-x: auto; }
table[b-nbf4ury47t] { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 0.79rem; }
th[b-nbf4ury47t], td[b-nbf4ury47t] { padding: 0.65rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th[b-nbf4ury47t] { color: var(--muted); font-size: 0.68rem; letter-spacing: 0.035em; text-transform: uppercase; white-space: nowrap; }
tbody th[b-nbf4ury47t] { white-space: nowrap; }
td:nth-child(4)[b-nbf4ury47t], td:last-child[b-nbf4ury47t] { min-width: 200px; white-space: normal; }
.detail-empty[b-nbf4ury47t] { margin-top: 1rem; padding: 1rem; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }

@media (max-width: 650px) {
  .diary-filters[b-nbf4ury47t] { grid-template-columns: minmax(0, 1fr); }
  .diary-filters select[b-nbf4ury47t], .diary-filters input[b-nbf4ury47t] { font-size: 1rem; }
}

@media print {
  .screen-only[b-nbf4ury47t] { display: none !important; }
  .table-scroll[b-nbf4ury47t] { overflow: visible; }
  table[b-nbf4ury47t] { min-width: 0; font-size: 8pt; }
  th[b-nbf4ury47t], td[b-nbf4ury47t] { padding: 0.35rem; min-width: 0 !important; white-space: normal !important; overflow-wrap: anywhere; }
}
/* /Components/ClinicianDifferenceChart.razor.rz.scp.css */
.difference-controls[b-herw1kcbtl] { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 0.65rem; margin: 0.8rem 0; }
.day-navigation[b-herw1kcbtl] { display: flex; align-items: flex-end; gap: 0.4rem; }
label[b-herw1kcbtl] { display: grid; gap: 0.25rem; font-size: 0.8rem; font-weight: 600; }
select[b-herw1kcbtl], button[b-herw1kcbtl] { min-height: 36px; border: 1px solid var(--line); border-radius: 7px; padding: 0.35rem 0.5rem; color: var(--ink); background: var(--surface); font: inherit; }
button[b-herw1kcbtl] { cursor: pointer; }
button:disabled[b-herw1kcbtl] { cursor: default; opacity: 0.4; }
.difference-legend[b-herw1kcbtl] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; min-height: 36px; color: var(--muted); font-size: 0.8rem; }
.difference-legend span[b-herw1kcbtl] { display: inline-flex; align-items: center; gap: 0.35rem; }
.recorded-key[b-herw1kcbtl], .estimated-key[b-herw1kcbtl], .provisional-key[b-herw1kcbtl] { width: 1.2rem; border-top: 3px solid #176f68; }
.estimated-key[b-herw1kcbtl] { border-top-color: #a06a24; border-top-style: dashed; }
.provisional-key[b-herw1kcbtl] { border-top-color: #64707d; border-top-style: dotted; }
.sleep-key[b-herw1kcbtl] { width: 0.8rem; height: 0.8rem; background: #ddd8ef; }
.difference-details[b-herw1kcbtl] { margin-top: 0.65rem; font-size: 0.8rem; }
.table-scroll[b-herw1kcbtl] { overflow-x: auto; }
table[b-herw1kcbtl] { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
th[b-herw1kcbtl], td[b-herw1kcbtl] { text-align: left; padding: 0.4rem; border-bottom: 1px solid var(--line); }
.empty-chart[b-herw1kcbtl] { color: var(--muted); }
.gap-note[b-herw1kcbtl] { color: var(--muted); font-size: 0.8rem; margin: 0.5rem 0; }
@media print { .screen-only[b-herw1kcbtl] { display: none !important; } }
/* /Components/ClinicianReportContent.razor.rz.scp.css */
.clinician-report[b-r0hl6r2vex] {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.report-heading[b-r0hl6r2vex],
.section-heading[b-r0hl6r2vex],
.timeline-heading[b-r0hl6r2vex] {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.report-heading h1[b-r0hl6r2vex],
.section-heading h2[b-r0hl6r2vex] {
  margin: 0;
}

.report-intro[b-r0hl6r2vex],
.section-description[b-r0hl6r2vex] {
  max-width: 760px;
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.report-actions[b-r0hl6r2vex] {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.report-actions .button[b-r0hl6r2vex] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.report-loading[b-r0hl6r2vex] {
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}

.report-downloads[b-r0hl6r2vex] {
  display: grid;
  gap: 0.5rem;
}

.report-downloads p[b-r0hl6r2vex] {
  margin: 0;
  max-width: 850px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.daily-chart-legend[b-r0hl6r2vex] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.daily-chart-legend span[b-r0hl6r2vex] {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.daily-chart-legend i[b-r0hl6r2vex] {
  width: 0.8rem;
  height: 0.8rem;
  print-color-adjust: exact;
}

.intake-key[b-r0hl6r2vex] { background: #4c9cc7; }
.output-key[b-r0hl6r2vex] { background: #7964b2; }

.report-controls[b-r0hl6r2vex] {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(2, minmax(150px, 210px));
  align-items: end;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.report-controls h2[b-r0hl6r2vex] {
  margin: 0;
  font-size: 1.05rem;
}

.report-controls label[b-r0hl6r2vex],
.timeline-date[b-r0hl6r2vex] {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
}

.report-controls select[b-r0hl6r2vex],
.report-controls input[b-r0hl6r2vex],
.timeline-date select[b-r0hl6r2vex] {
  min-height: 42px;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}

.report-identification[b-r0hl6r2vex] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.report-identification div[b-r0hl6r2vex] {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--line);
}

.report-identification div:last-child[b-r0hl6r2vex] {
  border-right: 0;
}

.report-identification span[b-r0hl6r2vex] {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-identification strong[b-r0hl6r2vex] {
  font-size: 0.86rem;
}

.summary-section[b-r0hl6r2vex],
.daily-section[b-r0hl6r2vex],
.void-timeline-section[b-r0hl6r2vex],
.detail-section[b-r0hl6r2vex] {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.data-quality-badge[b-r0hl6r2vex] {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
}

.summary-grid[b-r0hl6r2vex] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.summary-grid article[b-r0hl6r2vex] {
  display: grid;
  gap: 0.25rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}

.summary-grid span[b-r0hl6r2vex] {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.summary-grid strong[b-r0hl6r2vex] {
  font-size: 1.2rem;
}

.summary-grid small[b-r0hl6r2vex] {
  color: var(--muted);
  line-height: 1.4;
}

.quality-note[b-r0hl6r2vex],
.report-caveat[b-r0hl6r2vex],
.detail-empty[b-r0hl6r2vex] {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.quality-note[b-r0hl6r2vex] {
  margin: 1rem 0 0;
}

.table-scroll[b-r0hl6r2vex] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 1rem;
  overflow-x: auto;
}

table[b-r0hl6r2vex] {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.79rem;
}

th[b-r0hl6r2vex],
td[b-r0hl6r2vex] {
  padding: 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th[b-r0hl6r2vex] {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody th[b-r0hl6r2vex] {
  white-space: nowrap;
}

.missing-day[b-r0hl6r2vex] {
  color: var(--muted);
  font-style: italic;
}

.daily-table td:not(:nth-child(2))[b-r0hl6r2vex] {
  white-space: nowrap;
}

.timeline-date[b-r0hl6r2vex] {
  min-width: 160px;
  width: fit-content;
  margin-top: 0.75rem;
}

.filter-count[b-r0hl6r2vex] { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.diary-filters[b-r0hl6r2vex] { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.diary-filters label[b-r0hl6r2vex] { display: grid; gap: 0.25rem; min-width: 0; font-size: 0.8rem; font-weight: 600; }
.diary-filters select[b-r0hl6r2vex], .diary-filters input[b-r0hl6r2vex] { min-height: 38px; max-width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 7px; padding: 0.4rem 0.55rem; color: var(--ink); background: var(--surface); font: inherit; }
.diary-search[b-r0hl6r2vex] { flex: 1 1 12rem; }
.diary-filter-note[b-r0hl6r2vex] { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.78rem; }
@media (max-width: 650px) {
  .diary-filters label[b-r0hl6r2vex] { flex: 1 1 100%; }
  .diary-filters select[b-r0hl6r2vex], .diary-filters input[b-r0hl6r2vex] { width: 100%; font-size: 1rem; }
}
@media print { .screen-only[b-r0hl6r2vex] { display: none !important; } }

.detail-filters[b-r0hl6r2vex] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 1rem 0 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.detail-filters legend[b-r0hl6r2vex] {
  padding: 0 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.detail-filters label[b-r0hl6r2vex] {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.detail-table[b-r0hl6r2vex] {
  min-width: 900px;
}

.detail-table td:nth-child(4)[b-r0hl6r2vex],
.detail-table td:last-child[b-r0hl6r2vex] {
  min-width: 220px;
  white-space: normal;
}

.detail-empty[b-r0hl6r2vex] {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  text-align: center;
}

.report-caveat[b-r0hl6r2vex] {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  background: var(--primary-soft);
}

.report-caveat p[b-r0hl6r2vex] {
  margin: 0.4rem 0 0;
}

@media (max-width: 900px) {
  .report-controls[b-r0hl6r2vex] {
    grid-template-columns: 1fr 1fr;
  }

  .report-controls > div[b-r0hl6r2vex] {
    grid-column: 1 / -1;
  }

  .report-identification[b-r0hl6r2vex] {
    grid-template-columns: 1fr 1fr;
  }

  .report-identification div:nth-child(2)[b-r0hl6r2vex] {
    border-right: 0;
  }

  .report-identification div:nth-child(-n + 2)[b-r0hl6r2vex] {
    border-bottom: 1px solid var(--line);
  }

  .summary-grid[b-r0hl6r2vex] {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .report-intro[b-r0hl6r2vex],
  .section-description[b-r0hl6r2vex] {
    font-size: 0.96rem;
  }

  .report-heading[b-r0hl6r2vex],
  .section-heading[b-r0hl6r2vex] {
    align-items: stretch;
    flex-direction: column;
  }

  .report-actions .button[b-r0hl6r2vex] {
    flex: 1 1 auto;
  }

  .report-controls[b-r0hl6r2vex],
  .report-identification[b-r0hl6r2vex],
  .summary-grid[b-r0hl6r2vex] {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .report-controls > div[b-r0hl6r2vex] {
    grid-column: auto;
  }

  .report-controls label[b-r0hl6r2vex],
  .timeline-date[b-r0hl6r2vex] {
    min-width: 0;
    font-size: 0.86rem;
  }

  .report-controls select[b-r0hl6r2vex],
  .report-controls input[b-r0hl6r2vex],
  .timeline-date select[b-r0hl6r2vex] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 1rem;
  }

  .report-identification div[b-r0hl6r2vex] {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .report-identification div:last-child[b-r0hl6r2vex] {
    border-bottom: 0;
  }

  .report-identification span[b-r0hl6r2vex],
  .summary-grid span[b-r0hl6r2vex],
  .detail-filters legend[b-r0hl6r2vex] {
    font-size: 0.8rem;
  }

  .report-identification strong[b-r0hl6r2vex] {
    font-size: 1rem;
  }

  .summary-grid small[b-r0hl6r2vex],
  .quality-note[b-r0hl6r2vex],
  .report-caveat[b-r0hl6r2vex],
  .detail-empty[b-r0hl6r2vex],
  .detail-filters label[b-r0hl6r2vex] {
    font-size: 0.88rem;
  }

  table[b-r0hl6r2vex] {
    font-size: 0.88rem;
  }

  thead th[b-r0hl6r2vex] {
    font-size: 0.78rem;
  }

  .summary-section[b-r0hl6r2vex],
  .daily-section[b-r0hl6r2vex],
  .void-timeline-section[b-r0hl6r2vex],
  .detail-section[b-r0hl6r2vex] {
    padding: 1rem;
  }
}

.report-heading h1[b-r0hl6r2vex] { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-heading h2[b-r0hl6r2vex] { font-size: 1.3rem; }
/* /Components/ClinicianReportPanel.razor.rz.scp.css */
.report-panel[b-xla17dhhik] { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.panel-heading[b-xla17dhhik] { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: start; gap: 0.75rem; }
.panel-title[b-xla17dhhik] { min-width: 0; }
h2[b-xla17dhhik] { margin: 0; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.2; }
.panel-actions[b-xla17dhhik] { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 0.65rem; }
.collapse-button[b-xla17dhhik] { display: grid; grid-column: 3; grid-row: 1; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 7px; color: var(--primary); background: var(--surface); cursor: pointer; }
.collapse-button:hover[b-xla17dhhik] { background: var(--primary-soft); }
.collapse-button:focus-visible[b-xla17dhhik] { outline: 2px solid var(--primary); outline-offset: 3px; }
.collapse-button svg[b-xla17dhhik] { width: 18px; height: 18px; }
.panel-body[b-xla17dhhik] { min-width: 0; }
.panel-body[hidden][b-xla17dhhik] { display: none !important; }
@media (max-width: 1000px) {
  .wide-actions .panel-actions[b-xla17dhhik] { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 650px) {
  .report-panel[b-xla17dhhik] { padding: 0.85rem; }
  h2[b-xla17dhhik] { font-size: 1.15rem; }
  .panel-actions[b-xla17dhhik]  .data-quality-badge { display: none; }
}
@media print {
  .screen-only[b-xla17dhhik],
  .report-panel.is-collapsed[b-xla17dhhik] { display: none !important; }
}
/* /Components/ClinicianSharingPanel.razor.rz.scp.css */
.sharing-panel[b-t9nf0ci33d] { border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; min-width: 0; }
.panel-heading[b-t9nf0ci33d], .list-heading[b-t9nf0ci33d] { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
h2[b-t9nf0ci33d] { margin: 0; font-size: 1.2rem; }
h3[b-t9nf0ci33d] { margin: 0; font-size: 1rem; }
p[b-t9nf0ci33d] { color: var(--muted); line-height: 1.5; }
.count[b-t9nf0ci33d] { color: var(--muted); font-size: 0.8rem; font-weight: 500; margin-left: 0.3rem; }
.create-controls[b-t9nf0ci33d] { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(12rem, 0.8fr) auto; gap: 0.75rem; align-items: end; margin: 1rem 0; }
label[b-t9nf0ci33d] { display: grid; gap: 0.3rem; min-width: 0; font-weight: 600; font-size: 0.85rem; }
input[b-t9nf0ci33d] { width: 100%; min-width: 0; min-height: 38px; border: 1px solid var(--line); padding: 0.45rem 0.6rem; border-radius: 0.5rem; box-sizing: border-box; font: inherit; color: var(--ink); background: var(--surface-strong); }
.actions[b-t9nf0ci33d] { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.create-actions[b-t9nf0ci33d] { justify-content: flex-end; }
.list-heading[b-t9nf0ci33d] { border-top: 1px solid var(--line); padding-top: 0.65rem; margin-top: 0.65rem; }
.empty-list[b-t9nf0ci33d] { margin: 0.25rem 0 0.5rem; font-size: 0.85rem; }
.view-row[b-t9nf0ci33d] { display: grid; grid-template-columns: minmax(7rem, 0.7fr) minmax(0, 1.3fr) auto; gap: 0.4rem 1rem; align-items: center; padding: 0.55rem 0; }
.share-row[b-t9nf0ci33d] { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.3rem 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); border-radius: 0.3rem; }
.share-row:last-of-type[b-t9nf0ci33d] { border-bottom: 0; }
.share-row:focus-visible[b-t9nf0ci33d], .new-share[b-t9nf0ci33d] { outline: 2px solid var(--primary); outline-offset: 4px; }
.new-share[b-t9nf0ci33d] { background: var(--primary-soft); }
.share-name[b-t9nf0ci33d] { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; min-width: 0; }
strong[b-t9nf0ci33d] { overflow-wrap: anywhere; }
small[b-t9nf0ci33d] { color: var(--muted); font-size: 0.8rem; line-height: 1.4; min-width: 0; }
.share-actions[b-t9nf0ci33d] { justify-content: flex-end; }
.share-summary[b-t9nf0ci33d] { grid-column: 1; }
.state-badge[b-t9nf0ci33d] { padding: 0.15rem 0.4rem; border-radius: 0.3rem; background: var(--surface); color: var(--muted); font-size: 0.75rem; }
.copy-field[b-t9nf0ci33d] { display: flex; grid-column: 2; justify-self: end; width: min(22rem, 100%); min-width: 0; }
.copy-field input[b-t9nf0ci33d] { border-radius: 0.45rem 0 0 0.45rem; font-size: 0.78rem; }
.copy-icon[b-t9nf0ci33d] { display: grid; place-items: center; flex: 0 0 38px; min-height: 38px; border: 1px solid var(--line); border-left: 0; border-radius: 0 0.45rem 0.45rem 0; color: var(--primary); background: var(--surface); cursor: pointer; }
.copy-icon:hover[b-t9nf0ci33d] { background: var(--primary-soft); }
.copy-icon:disabled[b-t9nf0ci33d] { opacity: 0.5; cursor: not-allowed; }
.copy-icon svg[b-t9nf0ci33d] { width: 18px; height: 18px; }
.copy-icon:focus-visible[b-t9nf0ci33d], input:focus-visible[b-t9nf0ci33d], .close-button:focus-visible[b-t9nf0ci33d] { outline: 2px solid var(--primary); outline-offset: 2px; }
.replacement-link[b-t9nf0ci33d] { grid-column: 2; justify-self: end; }
.sharing-info[b-t9nf0ci33d] { position: relative; flex: 0 0 24px; width: 24px; padding: 0; border: 0; }
.sharing-info summary[b-t9nf0ci33d] { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--primary); background: var(--surface); font-size: 0.75rem; font-weight: 750; list-style: none; cursor: pointer; }
.sharing-info summary[b-t9nf0ci33d]::-webkit-details-marker { display: none; }
.sharing-info summary:focus-visible[b-t9nf0ci33d] { outline: 2px solid var(--primary); outline-offset: 2px; }
.sharing-info[open][b-t9nf0ci33d] { z-index: 2; }
.sharing-info > div[b-t9nf0ci33d] { position: absolute; z-index: 10; right: 0; top: calc(100% + 0.4rem); width: min(21rem, calc(100vw - 5rem)); padding: 0.8rem; border: 1px solid var(--line); border-radius: 0.5rem; box-shadow: var(--shadow); background: var(--surface-strong); font-size: 0.8rem; }
.sharing-info p[b-t9nf0ci33d] { margin: 0.4rem 0 0; }
.sharing-info p:first-child[b-t9nf0ci33d] { margin-top: 0; }
.sharing-error[b-t9nf0ci33d] { border-left: 3px solid var(--danger, #a52d38); padding-left: 0.75rem; font-weight: 600; }
.sharing-message[b-t9nf0ci33d] { margin: 0.5rem 0; font-size: 0.85rem; }
.visually-hidden[b-t9nf0ci33d] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.edit-dialog[b-t9nf0ci33d] { width: min(28rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); box-sizing: border-box; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface-strong); color: var(--ink); box-shadow: var(--shadow); }
.edit-dialog[b-t9nf0ci33d]::backdrop { background: rgb(12 33 31 / 60%); backdrop-filter: blur(3px); }
.edit-controls[b-t9nf0ci33d] { display: grid; gap: 0.8rem; margin: 1rem 0; }
.modal-actions[b-t9nf0ci33d] { justify-content: flex-end; }
.close-button[b-t9nf0ci33d] { border: 0; background: none; color: var(--muted); font-size: 1.6rem; cursor: pointer; }
@media (max-width: 900px) {
  .create-controls[b-t9nf0ci33d] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .create-actions[b-t9nf0ci33d] { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sharing-panel[b-t9nf0ci33d] { padding: 0.75rem; }
  .create-controls[b-t9nf0ci33d] { grid-template-columns: minmax(0, 1fr); gap: 0.55rem; }
  .create-actions[b-t9nf0ci33d] { justify-content: flex-start; }
  .view-row[b-t9nf0ci33d], .share-row[b-t9nf0ci33d] { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .view-row .actions[b-t9nf0ci33d], .share-actions[b-t9nf0ci33d] { justify-content: flex-start; }
  .share-name[b-t9nf0ci33d] { grid-row: 1; }
  .share-summary[b-t9nf0ci33d] { grid-row: 2; }
  .share-actions[b-t9nf0ci33d] { grid-row: 3; }
  .copy-field[b-t9nf0ci33d] { grid-column: 1; justify-self: stretch; width: 100%; }
  .replacement-link[b-t9nf0ci33d] { grid-column: 1; justify-self: start; }
  .share-actions .sharing-info[b-t9nf0ci33d] { margin-left: auto; }
}
@media print { .screen-only[b-t9nf0ci33d] { display: none !important; } }
/* /Components/ContentTabs.razor.rz.scp.css */
.content-tabs[b-af2tng6oh8] {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid var(--line);
}

button[b-af2tng6oh8] {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 750;
}

button:hover[b-af2tng6oh8] {
  color: var(--primary);
  background: var(--surface);
}

button[aria-selected="true"][b-af2tng6oh8] {
  border-bottom-color: var(--primary);
  background: var(--surface);
  color: var(--primary);
}

button:focus-visible[b-af2tng6oh8] {
  outline: 2px solid var(--primary);
  outline-offset: -4px;
}

@media (max-width: 680px) {
  .content-tabs[b-af2tng6oh8] { gap: 0; }
  button[b-af2tng6oh8] { padding-inline: 0.65rem; font-size: 0.82rem; }
}
/* /Components/DiaryDayPicker.razor.rz.scp.css */
.day-picker[b-g1lqzyly2d] { max-width: 34rem; min-width: 0; }
.month-controls[b-g1lqzyly2d] { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.calendar[b-g1lqzyly2d] { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.3rem; margin: 0.8rem 0; }
.weekday[b-g1lqzyly2d] { text-align: center; font-size: 0.8rem; color: var(--muted); }
.day[b-g1lqzyly2d] { min-height: 2.6rem; border: 1px solid var(--line); border-radius: 0.5rem; background: var(--surface, #fff); color: var(--ink); cursor: pointer; }
.day.recorded[b-g1lqzyly2d] { text-decoration: underline; text-underline-offset: 0.25rem; font-weight: 700; }
.day.selected[b-g1lqzyly2d] { background: #124c50; color: #fff; border-color: #124c50; }
.day:focus-visible[b-g1lqzyly2d] { outline: 3px solid #c87d36; outline-offset: 2px; }
.selected-days[b-g1lqzyly2d] { display: flex; flex-wrap: wrap; gap: 0.4rem; }
p[b-g1lqzyly2d] { color: var(--muted); font-size: 0.85rem; }
/* /Components/DiaryMultiSelect.razor.rz.scp.css */
.multi-select[b-da9wiq1czx] {
  min-width: 0;
  width: 100%;
  font-size: 0.8rem;
}

.filter-label[b-da9wiq1czx] {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

details[b-da9wiq1czx] { position: relative; padding: 0; border: 0; border-radius: 0; }

summary[b-da9wiq1czx] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 38px;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  cursor: pointer;
}

summary[b-da9wiq1czx]::-webkit-details-marker { display: none; }
summary[b-da9wiq1czx]::after { content: "▾"; margin-left: auto; }
summary span[b-da9wiq1czx] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
summary:focus-visible[b-da9wiq1czx], button:focus-visible[b-da9wiq1czx], input:focus-visible[b-da9wiq1czx] { outline: 2px solid var(--primary); outline-offset: 2px; }

.choices[b-da9wiq1czx] {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.3rem);
  left: 0;
  width: min(21rem, 80vw);
  max-height: 26rem;
  overflow-y: auto;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.choice-actions[b-da9wiq1czx] { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.65rem; }
button[b-da9wiq1czx] { color: var(--primary); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 0.4rem 0.6rem; font: inherit; cursor: pointer; }
.done[b-da9wiq1czx] { width: 100%; margin-top: 0.65rem; font-weight: 700; }
fieldset[b-da9wiq1czx] { margin: 0; padding: 0.3rem 0; border: 0; }
legend[b-da9wiq1czx] { color: var(--muted); font-size: 0.75rem; font-weight: 700; }
label[b-da9wiq1czx] { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.2rem; cursor: pointer; }
input[b-da9wiq1czx] { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; accent-color: var(--primary); }

@media (max-width: 650px) {
  .multi-select[b-da9wiq1czx] { font-size: 1rem; }
  .choices[b-da9wiq1czx] { width: 100%; }
}
/* /Components/IntakeOutputChart.razor.rz.scp.css */
.timeline-volume-wrap[b-6dkxzx361n] {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  touch-action: manipulation;
  -webkit-overflow-scrolling: touch;
  -webkit-user-select: none;
  user-select: none;
}

.timeline-volume-wrap.pannable[b-6dkxzx361n] {
  cursor: grab;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
}

.timeline-volume-wrap.pannable:focus-visible[b-6dkxzx361n] {
  outline: 3px solid rgb(47 127 169 / 32%);
  outline-offset: 3px;
}

.timeline-volume-wrap.pannable.dragging[b-6dkxzx361n] {
  cursor: grabbing;
  user-select: none;
}

.timeline-volume-chart[b-6dkxzx361n] {
  display: block;
  width: 100%;
  min-width: 680px;
  height: auto;
}

.timeline-volume-chart.pannable[b-6dkxzx361n] {
  max-width: none;
  min-width: 0;
}

.focused-day-zone[b-6dkxzx361n] {
  fill: rgb(58 132 166 / 5%);
  stroke: rgb(58 132 166 / 22%);
  stroke-width: 1;
}

.sleep-zone[b-6dkxzx361n] {
  fill: rgb(104 137 151 / 12%);
  stroke: rgb(104 137 151 / 18%);
  stroke-width: 1;
}

.active-drink-zone[b-6dkxzx361n] {
  fill: var(--active-drink-fill, url("#active-drink-gradient"));
  stroke: rgb(47 127 169 / 42%);
  stroke-dasharray: 3 3;
  stroke-width: 1;
}

.volume-grid[b-6dkxzx361n],
.volume-axis[b-6dkxzx361n] {
  stroke: var(--line);
  stroke-width: 1;
}

.day-separator[b-6dkxzx361n] {
  stroke: rgb(91 112 108 / 30%);
  stroke-dasharray: 2 3;
  stroke-width: 1;
}

.volume-axis[b-6dkxzx361n] {
  stroke: var(--muted);
}

.volume-bar.intake[b-6dkxzx361n] {
  fill: #4c9cc7;
}

.volume-bar.intake.duration[b-6dkxzx361n] {
  fill: var(--duration-intake-fill, url("#duration-intake-gradient"));
  stroke: #2f7fa9;
  stroke-dasharray: 1 1;
  stroke-width: 0.7;
}

.volume-bar.output[b-6dkxzx361n] {
  fill: #7964b2;
}

.volume-bar.intake.estimated[b-6dkxzx361n] {
  fill: var(--estimated-intake-fill, url("#estimated-intake-pattern"));
  stroke: #2f7fa9;
  stroke-width: 0.7;
}

.volume-bar.output.estimated[b-6dkxzx361n] {
  fill: var(--estimated-output-fill, url("#estimated-output-pattern"));
  stroke: #674f9d;
  stroke-width: 0.7;
}

.measurement-change-line[b-6dkxzx361n] {
  stroke: #756592;
  stroke-dasharray: 3 3;
  stroke-width: 1.2;
}

.measurement-change-line.estimated[b-6dkxzx361n] {
  opacity: 0.58;
}

.event-marker circle[b-6dkxzx361n] {
  fill: var(--surface);
  stroke-width: 1.5;
}

.event-marker text[b-6dkxzx361n] {
  fill: var(--ink);
  font-family: inherit;
  font-size: 9px;
  font-weight: 800;
  pointer-events: none;
}

.event-marker.drink circle[b-6dkxzx361n] {
  stroke: #2f7fa9;
}

.event-marker.release circle[b-6dkxzx361n] {
  stroke: #674f9d;
}

.event-marker.measurement circle[b-6dkxzx361n] {
  stroke: #756592;
}

.event-marker.estimated circle[b-6dkxzx361n] {
  stroke-dasharray: 2 2;
}

.volume-axis-value[b-6dkxzx361n],
.volume-axis-time[b-6dkxzx361n] {
  fill: var(--muted);
  font-family: inherit;
  font-size: 11px;
}

.volume-axis-time[b-6dkxzx361n] {
  font-size: 10px;
}

.volume-axis-value.buffered[b-6dkxzx361n] {
  font-size: 9px;
  opacity: 0.72;
}

.volume-axis-date[b-6dkxzx361n] {
  fill: var(--muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
}

.volume-axis-date.focused[b-6dkxzx361n] {
  fill: #2f6f8f;
  font-weight: 850;
}
/* /Components/PwaInstallPrompt.razor.rz.scp.css */
.pwa-prompt[b-yuvdf59dw4] {
  display: flex;
  width: min(1160px, calc(100% - 2rem));
  align-items: center;
  gap: 0.85rem;
  margin: 0.8rem auto -1.8rem;
  padding: 0.85rem 1rem;
  border: 1px solid #9ec8bd;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--surface), var(--primary-soft));
  box-shadow: 0 5px 18px rgb(30 52 49 / 7%);
}

.update-prompt[b-yuvdf59dw4] {
  border-color: #d4b064;
  background: linear-gradient(135deg, var(--surface), #fff3d7);
}

.pwa-prompt-icon[b-yuvdf59dw4] {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
}

.update-prompt .pwa-prompt-icon[b-yuvdf59dw4] {
  background: #8a651f;
}

.pwa-prompt-copy[b-yuvdf59dw4] {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 0.18rem;
}

.pwa-prompt-copy strong[b-yuvdf59dw4] {
  font-size: 0.92rem;
}

.pwa-prompt-copy span[b-yuvdf59dw4] {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.pwa-prompt-actions[b-yuvdf59dw4] {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
}

.pwa-instructions-backdrop[b-yuvdf59dw4] {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: grid;
  overflow-y: auto;
  place-items: center;
  padding: 1rem;
  background: rgb(12 33 31 / 68%);
  backdrop-filter: blur(5px);
}

.pwa-instructions[b-yuvdf59dw4] {
  width: min(520px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-strong);
  box-shadow: 0 30px 70px rgb(7 28 26 / 35%);
}

.pwa-instructions-heading[b-yuvdf59dw4] {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.pwa-instructions h2[b-yuvdf59dw4] {
  margin-bottom: 0.5rem;
}

.pwa-instructions ol[b-yuvdf59dw4] {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0;
  padding-left: 1.35rem;
  line-height: 1.5;
}

.pwa-instructions p:not(.eyebrow)[b-yuvdf59dw4] {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .pwa-prompt[b-yuvdf59dw4] {
    width: min(100% - 1.2rem, 1160px);
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0.65rem auto -0.35rem;
    padding: 0.85rem;
  }

  .pwa-prompt-copy[b-yuvdf59dw4] {
    flex-basis: calc(100% - 48px);
  }

  .pwa-prompt-copy strong[b-yuvdf59dw4] {
    font-size: 0.98rem;
  }

  .pwa-prompt-copy span[b-yuvdf59dw4] {
    font-size: 0.88rem;
  }

  .pwa-prompt > .button[b-yuvdf59dw4],
  .pwa-prompt-actions[b-yuvdf59dw4] {
    width: 100%;
    margin-left: 0;
  }

  .pwa-prompt > .button[b-yuvdf59dw4] {
    justify-content: center;
  }

  .pwa-prompt-actions .button[b-yuvdf59dw4] {
    flex: 1;
  }

  .pwa-instructions-backdrop[b-yuvdf59dw4] {
    align-items: end;
    padding: 0.25rem;
  }

  .pwa-instructions[b-yuvdf59dw4] {
    width: 100%;
    max-height: calc(100vh - 0.5rem);
    padding: 1rem;
    border-radius: 18px;
  }

  .pwa-instructions ol[b-yuvdf59dw4],
  .pwa-instructions p:not(.eyebrow)[b-yuvdf59dw4] {
    font-size: 0.94rem;
  }
}

@media (prefers-color-scheme: dark) {
  .update-prompt[b-yuvdf59dw4] {
    border-color: #806d3c;
    background: linear-gradient(135deg, var(--surface), #362f1f);
  }
}
/* /Components/RecordedDifferenceChart.razor.rz.scp.css */
.difference-chart-wrap[b-tfsjra83rh] {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  cursor: grab;
  overscroll-behavior-inline: contain;
  touch-action: manipulation;
  -webkit-overflow-scrolling: touch;
  -webkit-user-select: none;
  user-select: none;
}

.difference-chart-wrap.dragging[b-tfsjra83rh] {
  cursor: grabbing;
  user-select: none;
}

.difference-chart-wrap:focus-visible[b-tfsjra83rh] {
  outline: 3px solid rgb(67 118 109 / 25%);
  outline-offset: 3px;
}

.difference-chart-strip[b-tfsjra83rh] {
  display: flex;
  width: max-content;
}

.difference-day[b-tfsjra83rh] {
  position: relative;
  width: 900px;
  flex: 0 0 900px;
  border-right: 1px solid var(--line);
}

.difference-day:last-child[b-tfsjra83rh] {
  border-right: 0;
}

.difference-gap[b-tfsjra83rh] {
  position: absolute;
  inset: 0 auto 0 0;
  border-left: 3px solid #b42318;
  padding-left: 8px;
  color: #b42318;
  font-size: 11px;
  font-weight: 700;
}

.difference-gap span[b-tfsjra83rh] {
  background: var(--surface);
}

.difference-chart[b-tfsjra83rh] {
  display: block;
  width: 900px;
  height: 236px;
}

.difference-day-background[b-tfsjra83rh] {
  fill: var(--surface);
}

.difference-day.focused .difference-day-background[b-tfsjra83rh] {
  fill: rgb(67 118 109 / 4%);
}

.difference-grid[b-tfsjra83rh] {
  stroke: var(--line);
  stroke-width: 1;
}

.difference-time-grid[b-tfsjra83rh] {
  stroke: var(--line);
  stroke-width: 1;
  opacity: 0.5;
}

.difference-sleep-zone[b-tfsjra83rh] {
  fill: rgb(104 137 151 / 12%);
  stroke: rgb(104 137 151 / 18%);
  stroke-width: 1;
}

.difference-active-drink[b-tfsjra83rh] {
  stroke: rgb(47 127 169 / 42%);
  stroke-dasharray: 3 3;
  stroke-width: 1;
}

.difference-cycle-marker[b-tfsjra83rh] {
  stroke: #62518a;
  stroke-dasharray: 4 4;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.difference-cycle-label[b-tfsjra83rh] {
  color: #62518a;
  display: block;
  fill: #62518a;
  font-family: inherit;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.difference-zero[b-tfsjra83rh] {
  stroke: var(--muted);
  stroke-dasharray: 4 5;
  stroke-width: 1;
  opacity: 0.65;
}

.difference-line[b-tfsjra83rh] {
  fill: none;
  stroke: #176f68;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.difference-line.estimated[b-tfsjra83rh] {
  stroke: #a06a24;
  stroke-dasharray: 7 5;
}

.difference-line.pending[b-tfsjra83rh],
.difference-line.provisional[b-tfsjra83rh] {
  stroke: #64707d;
  stroke-dasharray: 1 6;
}

.difference-line.distributed:not(.estimated)[b-tfsjra83rh] {
  stroke: #397e94;
}

.difference-line.reset[b-tfsjra83rh] {
  stroke: #62518a;
  stroke-dasharray: 3 3;
}

.difference-point[b-tfsjra83rh] {
  fill: var(--surface);
  stroke: #176f68;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.difference-point.estimated[b-tfsjra83rh] {
  stroke: #a06a24;
}

.difference-point.pending[b-tfsjra83rh] {
  stroke: #64707d;
}

.difference-point.provisional[b-tfsjra83rh] {
  fill: #64707d;
  stroke: #64707d;
}

.difference-point.distributed:not(.estimated)[b-tfsjra83rh] {
  stroke: #397e94;
}

.difference-point.reset[b-tfsjra83rh] {
  fill: #62518a;
  stroke: var(--surface);
}

.difference-axis-value[b-tfsjra83rh],
.difference-axis-time[b-tfsjra83rh],
.difference-axis-date[b-tfsjra83rh] {
  fill: var(--muted);
  font-family: inherit;
  font-size: 11px;
}

.difference-axis-date[b-tfsjra83rh] {
  font-size: 12px;
  font-weight: 750;
}

.difference-axis-date.focused[b-tfsjra83rh] {
  fill: var(--primary-strong);
}

@media (max-width: 720px) {
  .difference-chart-wrap[b-tfsjra83rh] {
    border-radius: 14px;
  }
}
/* /Components/ReportErrorBoundary.razor.rz.scp.css */
.report-error[b-mygql6wxs8] {
  margin-block: 1rem;
  padding: 1rem;
  border: 1px solid #e7b4ad;
  border-radius: 12px;
  background: #fff6f4;
  color: #5f2824;
  overflow-wrap: anywhere;
}

.report-error p[b-mygql6wxs8] { margin: 0 0 0.75rem; }
.report-error details[b-mygql6wxs8] { margin-top: 1rem; }
.report-error summary[b-mygql6wxs8] { cursor: pointer; }
.report-error pre[b-mygql6wxs8] { white-space: pre-wrap; font-size: 0.8rem; }
/* /Components/SectionNavigation.razor.rz.scp.css */
.section-navigation[b-qtd260bn3i] {
  position: sticky;
  z-index: 25;
  top: var(--section-nav-top, 5rem);
  min-width: 0;
  /* Keep scrolling content behind the gap and the card's rounded corners. */
  padding-top: 8px;
  background: var(--canvas);
}

.section-navigation-content[b-qtd260bn3i] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 4px 16px rgb(30 52 49 / 6%);
}

.section-navigation-label[b-qtd260bn3i] {
  flex: 0 0 auto;
  padding-inline: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.section-links[b-qtd260bn3i] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  min-width: 0;
}

.section-links a[b-qtd260bn3i] {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.65rem;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.section-links a:hover[b-qtd260bn3i],
.section-links a[aria-current="location"][b-qtd260bn3i] {
  background: var(--primary-soft);
  color: var(--primary);
}

.section-links a:focus-visible[b-qtd260bn3i] {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

@media (max-width: 680px) {
  .section-navigation-content[b-qtd260bn3i] {
    align-items: stretch;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.4rem 0.5rem;
  }

  .section-navigation-label[b-qtd260bn3i] {
    font-size: 0.7rem;
  }

  .section-links[b-qtd260bn3i] {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .section-links a[b-qtd260bn3i] {
    flex: 0 0 auto;
    min-height: 44px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

@media print {
  .section-navigation[b-qtd260bn3i] { display: none !important; }
}
/* /Components/UrgencyTimelineChart.razor.rz.scp.css */
.urgency-legend[b-fl1gr7hwod],
.urgency-chart-shell[b-fl1gr7hwod] {
  --urge-colour: #9e3f6e;
  --void-colour: #674f9d;
}

.urgency-empty[b-fl1gr7hwod] {
  padding: 1.4rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

.urgency-legend[b-fl1gr7hwod] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.urgency-key-group[b-fl1gr7hwod] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(180 88 132 / 4%);
}

.urgency-key-group.event-key[b-fl1gr7hwod] {
  background: rgb(111 88 168 / 4%);
}

.urgency-key-group > strong[b-fl1gr7hwod] {
  width: 100%;
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.urgency-key-group span[b-fl1gr7hwod] {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.urge-symbol[b-fl1gr7hwod],
.pre-void-symbol[b-fl1gr7hwod],
.inferred-symbol[b-fl1gr7hwod] {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--urge-colour);
  background: var(--surface);
}

.urge-symbol[b-fl1gr7hwod] {
  border-radius: 50%;
}

.pre-void-symbol[b-fl1gr7hwod] {
  border-radius: 2px;
  border-color: var(--void-colour);
}

.inferred-symbol[b-fl1gr7hwod] {
  border: 1.5px dashed var(--void-colour);
}

.event-symbol[b-fl1gr7hwod] {
  display: inline-grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border: 1.5px solid var(--void-colour);
  border-radius: 50%;
  background: var(--surface);
  color: var(--void-colour);
  font-size: 0.58rem;
}

.event-symbol.leak[b-fl1gr7hwod] {
  border-color: var(--urge-colour);
  color: var(--urge-colour);
}

.urgency-chart-shell[b-fl1gr7hwod] {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.urgency-scale[b-fl1gr7hwod] {
  position: relative;
  z-index: 2;
  height: 260px;
  border-right: 1px solid var(--line);
  background: linear-gradient(90deg, var(--surface) 82%, rgb(180 88 132 / 5%));
}

.urgency-scale > span:not(.event-lane-label)[b-fl1gr7hwod] {
  position: absolute;
  right: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.1;
  text-align: right;
  transform: translateY(-50%);
}

.urgency-scale b[b-fl1gr7hwod] {
  min-width: 1rem;
  color: var(--ink);
  font-size: 0.74rem;
}

.event-lane-label[b-fl1gr7hwod] {
  position: absolute;
  right: 0.65rem;
  top: 178px;
  color: #62518a;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: right;
  text-transform: uppercase;
}

.urgency-chart-wrap[b-fl1gr7hwod] {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.urgency-chart-wrap.dragging[b-fl1gr7hwod] {
  cursor: grabbing;
  user-select: none;
}

.urgency-chart-wrap:focus-visible[b-fl1gr7hwod] {
  outline: 3px solid rgb(67 118 109 / 25%);
  outline-offset: 3px;
}

.urgency-chart[b-fl1gr7hwod] {
  display: block;
  min-width: 820px;
  height: 260px;
}

.urgency-grid[b-fl1gr7hwod] {
  stroke: var(--line);
  stroke-width: 1;
}

.urgency-state-line[b-fl1gr7hwod] {
  fill: none;
  stroke: var(--urge-colour);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  vector-effect: non-scaling-stroke;
}

.urgency-point[b-fl1gr7hwod] {
  fill: var(--surface);
  stroke: var(--urge-colour);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.pre-void-point[b-fl1gr7hwod] {
  stroke: var(--void-colour);
}

.urgency-point.inferred[b-fl1gr7hwod] {
  stroke-dasharray: 2 2;
}

.urgency-point:focus-visible[b-fl1gr7hwod],
.urinary-event:focus-visible[b-fl1gr7hwod] {
  outline: none;
}

.urgency-point:focus-visible[b-fl1gr7hwod],
.urinary-event:focus-visible .event-pill[b-fl1gr7hwod] {
  stroke: var(--ink);
  stroke-width: 2.5;
}

.event-guide[b-fl1gr7hwod] {
  stroke: #aab8b3;
  stroke-dasharray: 3 3;
}

.event-pill[b-fl1gr7hwod] {
  fill: var(--surface);
  stroke: var(--void-colour);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.event-pill.leak[b-fl1gr7hwod] {
  stroke: var(--urge-colour);
}

.event-label[b-fl1gr7hwod] {
  fill: var(--void-colour);
  font-family: inherit;
  font-size: 10px;
  font-weight: 850;
}

.event-label.leak[b-fl1gr7hwod] {
  fill: var(--urge-colour);
}

.axis-value[b-fl1gr7hwod],
.axis-time[b-fl1gr7hwod] {
  fill: var(--muted);
  font-family: inherit;
  font-size: 11px;
}

.urgency-data[b-fl1gr7hwod] {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.urgency-data summary[b-fl1gr7hwod] {
  cursor: pointer;
  font-weight: 750;
}

.table-scroll[b-fl1gr7hwod] {
  margin-top: 0.6rem;
  overflow-x: auto;
}

table[b-fl1gr7hwod] {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 0.78rem;
}

th[b-fl1gr7hwod],
td[b-fl1gr7hwod] {
  padding: 0.55rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

@media (prefers-color-scheme: dark) {
  .urgency-legend[b-fl1gr7hwod],
  .urgency-chart-shell[b-fl1gr7hwod] {
    --urge-colour: #ed9ec3;
    --void-colour: #bdabef;
  }
}

@media (max-width: 720px) {
  .urgency-legend[b-fl1gr7hwod] {
    grid-template-columns: 1fr;
  }

  .urgency-chart-shell[b-fl1gr7hwod] {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .urgency-scale > span:not(.event-lane-label)[b-fl1gr7hwod] {
    right: 0.45rem;
    max-width: 78px;
    font-size: 0.6rem;
  }

  .event-lane-label[b-fl1gr7hwod] {
    right: 0.45rem;
  }
}
/* /Components/VoidTimelineChart.razor.rz.scp.css */
.timeline-empty[b-m8hht0yvai] {
  padding: 1.4rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

.timeline-summary[b-m8hht0yvai],
.timeline-legend[b-m8hht0yvai] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.timeline-summary[b-m8hht0yvai] {
  margin: 0.8rem 0 0.65rem;
}

.timeline-summary strong[b-m8hht0yvai] { color: var(--ink); }

.timeline-legend span[b-m8hht0yvai] {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.destination-symbol[b-m8hht0yvai] {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1.5px solid currentColor;
  background: var(--surface);
  flex: 0 0 auto;
}

.destination-symbol.toilet[b-m8hht0yvai] { border-radius: 50%; }
.destination-symbol.protection[b-m8hht0yvai] { border-radius: 2px; }
.destination-symbol.leak[b-m8hht0yvai] { transform: rotate(45deg); }
.destination-symbol.other[b-m8hht0yvai] {
  overflow: visible;
  border: 0;
  background: transparent;
  fill: var(--surface);
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.timeline-chart-wrap[b-m8hht0yvai] {
  margin-top: 0.8rem;
  overflow-x: auto;
  touch-action: manipulation;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  cursor: grab;
}

.timeline-chart-wrap.dragging[b-m8hht0yvai] { cursor: grabbing; user-select: none; }
.timeline-chart-wrap:focus-visible[b-m8hht0yvai] { outline: 2px solid var(--primary); outline-offset: 2px; }
.timeline-days[b-m8hht0yvai] { display: flex; width: max-content; align-items: stretch; }
.timeline-day-heading[b-m8hht0yvai] { margin: 0 0 0.5rem; font-size: 0.9rem; }
.timeline-gap[b-m8hht0yvai] { min-height: 2.5em; margin: 0 0 0.4rem; color: var(--muted); font-size: 0.75rem; }
.timeline-days:not(.has-day-notes) .timeline-gap[b-m8hht0yvai] { display: none; }

.timeline-chart[b-m8hht0yvai] {
  flex: 0 0 auto;
  padding: 0 14px 0 0;
}

.timeline-chart + .timeline-chart[b-m8hht0yvai] { border-left: 1px dashed var(--line); }

.timeline-axis-heading[b-m8hht0yvai] {
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--muted);
}

.urgency-row[b-m8hht0yvai],
.timeline-hours[b-m8hht0yvai] {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
}

.urgency-row[b-m8hht0yvai] {
  height: 30px;
  color: var(--urgency-colour);
}

.urgency-label[b-m8hht0yvai] {
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.urgency-track[b-m8hht0yvai] {
  position: relative;
  height: 100%;
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 25% 100%;
}

.urgency-unknown .urgency-track[b-m8hht0yvai] { border-bottom-style: dashed; }

.timeline-point[b-m8hht0yvai] {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.timeline-point:hover[b-m8hht0yvai],
.timeline-point[aria-pressed="true"][b-m8hht0yvai] {
  background: var(--surface-soft);
  outline: 1px solid currentColor;
  z-index: 1;
}

.timeline-point:focus-visible[b-m8hht0yvai] {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  z-index: 2;
}

.urgency-0[b-m8hht0yvai] { --urgency-colour: #39726b; }
.urgency-1[b-m8hht0yvai] { --urgency-colour: #397a5e; }
.urgency-2[b-m8hht0yvai] { --urgency-colour: #637b36; }
.urgency-3[b-m8hht0yvai] { --urgency-colour: #906513; }
.urgency-4[b-m8hht0yvai] { --urgency-colour: #ad5527; }
.urgency-5[b-m8hht0yvai] { --urgency-colour: #b03933; }
.urgency-unknown[b-m8hht0yvai] { --urgency-colour: #65756f; }

@media (prefers-color-scheme: dark) {
  .urgency-0[b-m8hht0yvai] { --urgency-colour: #83c5bd; }
  .urgency-1[b-m8hht0yvai] { --urgency-colour: #90cba2; }
  .urgency-2[b-m8hht0yvai] { --urgency-colour: #b5c77e; }
  .urgency-3[b-m8hht0yvai] { --urgency-colour: #e2bb6b; }
  .urgency-4[b-m8hht0yvai] { --urgency-colour: #eea076; }
  .urgency-5[b-m8hht0yvai] { --urgency-colour: #f18e8a; }
  .urgency-unknown[b-m8hht0yvai] { --urgency-colour: #a9bab5; }
}

.timeline-hours[b-m8hht0yvai] {
  height: 30px;
  color: var(--muted);
  font-size: 0.75rem;
}

.time-scale[b-m8hht0yvai] {
  position: relative;
  height: 100%;
}

.time-scale span[b-m8hht0yvai] {
  position: absolute;
  top: 8px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.time-scale span:first-child[b-m8hht0yvai] { transform: none; }
.time-scale span:last-child[b-m8hht0yvai] { transform: translateX(-100%); }

.selected-event[b-m8hht0yvai] {
  min-height: 2.5em;
  margin: 0.4rem 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.timeline-data[b-m8hht0yvai] { color: var(--muted); font-size: 0.8rem; }
.timeline-data summary[b-m8hht0yvai] { cursor: pointer; font-weight: 750; }
.table-scroll[b-m8hht0yvai] { margin-top: 0.6rem; overflow-x: auto; }

table[b-m8hht0yvai] {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 0.78rem;
}

th[b-m8hht0yvai],
td[b-m8hht0yvai] {
  padding: 0.55rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

@media print {
  .screen-only[b-m8hht0yvai] { display: none !important; }
  .timeline-chart-wrap[b-m8hht0yvai] { overflow: visible; }
  .timeline-days[b-m8hht0yvai] { display: block; width: auto; }
  .timeline-chart[b-m8hht0yvai] { width: 100% !important; min-width: 0; margin-bottom: 1rem; break-inside: avoid; }
  .timeline-point[b-m8hht0yvai] { print-color-adjust: exact; }
}
/* /Layout/SharedClinicianLayout.razor.rz.scp.css */
.shared-clinician-shell[b-zac9uisvpp] { max-width: 1200px; margin: 0 auto; padding: clamp(1rem, 3vw, 2.5rem); }
/* /Pages/ClinicianReport.razor.rz.scp.css */
.clinician-report[b-t56c78s88x] {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.report-panel[b-t56c78s88x],
.report-utility-panel[b-t56c78s88x] {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.report-tab-bar[b-t56c78s88x] {
  min-width: 0;
  background: var(--canvas);
}

.report-panel[hidden][b-t56c78s88x],
.report-utility-panel[hidden][b-t56c78s88x] {
  display: none !important;
}

.report-panel:focus[b-t56c78s88x] {
  outline: none;
}

.report-export-summary[b-t56c78s88x] {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.report-export-summary h2[b-t56c78s88x],
.report-export-options h3[b-t56c78s88x] {
  margin: 0;
}

.report-export-summary p[b-t56c78s88x],
.report-export-options p[b-t56c78s88x] {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.report-export-summary p:last-child[b-t56c78s88x] {
  margin-bottom: 0;
}

.report-export-options[b-t56c78s88x] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.report-export-options article[b-t56c78s88x] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.report-export-options .button[b-t56c78s88x] {
  margin-top: auto;
}

.export-status[b-t56c78s88x] {
  margin: 0;
  padding: 1rem;
  border-radius: 12px;
  background: var(--primary-soft);
}

.custom-days[b-t56c78s88x] {
  flex-basis: 100%;
  min-width: 0;
}

.report-heading[b-t56c78s88x],
.section-heading[b-t56c78s88x],
.timeline-heading[b-t56c78s88x] {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.report-heading h1[b-t56c78s88x],
.section-heading h2[b-t56c78s88x] {
  margin: 0;
}

.report-intro[b-t56c78s88x],
.section-description[b-t56c78s88x] {
  max-width: 760px;
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.report-actions[b-t56c78s88x] {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.report-actions .button[b-t56c78s88x] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.report-loading[b-t56c78s88x] {
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}

.daily-chart-legend[b-t56c78s88x] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.daily-chart-legend span[b-t56c78s88x] {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.daily-chart-legend i[b-t56c78s88x] {
  width: 0.8rem;
  height: 0.8rem;
  print-color-adjust: exact;
}

.intake-key[b-t56c78s88x] { background: #4c9cc7; }
.output-key[b-t56c78s88x] { background: #7964b2; }

.report-controls[b-t56c78s88x] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.report-controls-heading[b-t56c78s88x] {
  flex: 1 1 15rem;
}

.report-window-controls[b-t56c78s88x] {
  display: grid;
  flex: 0 1 auto;
  grid-auto-flow: column;
  grid-template-columns: minmax(0, 20rem);
  grid-auto-columns: minmax(0, 11rem);
  align-items: end;
  gap: 1rem;
  min-width: 0;
}

.report-window-field[b-t56c78s88x] {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.report-window-label[b-t56c78s88x] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.report-end-field[b-t56c78s88x] {
  min-width: 0;
}

.report-controls h2[b-t56c78s88x] {
  margin: 0;
  font-size: 1.05rem;
}

.report-controls label[b-t56c78s88x],
.timeline-date[b-t56c78s88x] {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
}

.report-controls select[b-t56c78s88x],
.report-controls input[b-t56c78s88x],
.timeline-date select[b-t56c78s88x] {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0.5rem 2rem 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}

.report-identification[b-t56c78s88x] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.report-identification div[b-t56c78s88x] {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--line);
}

.report-identification div:last-child[b-t56c78s88x] {
  border-right: 0;
}

.report-identification span[b-t56c78s88x] {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-identification strong[b-t56c78s88x] {
  font-size: 0.86rem;
}

.summary-section[b-t56c78s88x],
.daily-section[b-t56c78s88x],
.void-timeline-section[b-t56c78s88x],
.detail-section[b-t56c78s88x] {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.data-quality-badge[b-t56c78s88x] {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
}

.summary-grid[b-t56c78s88x] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.summary-grid article[b-t56c78s88x] {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}

.summary-grid span[b-t56c78s88x] {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.summary-grid strong[b-t56c78s88x] {
  font-size: 1.35rem;
}

.summary-grid small[b-t56c78s88x] {
  color: var(--muted);
  line-height: 1.4;
}

.quality-note[b-t56c78s88x],
.report-caveat[b-t56c78s88x],
.detail-empty[b-t56c78s88x] {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.quality-note[b-t56c78s88x] {
  margin: 1rem 0 0;
}

.table-scroll[b-t56c78s88x] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 1rem;
  overflow-x: auto;
}

table[b-t56c78s88x] {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.79rem;
}

th[b-t56c78s88x],
td[b-t56c78s88x] {
  padding: 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th[b-t56c78s88x] {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody th[b-t56c78s88x] {
  white-space: nowrap;
}

.missing-day[b-t56c78s88x] {
  color: var(--muted);
  font-style: italic;
}

.daily-table td:not(:nth-child(2))[b-t56c78s88x] {
  white-space: nowrap;
}

.timeline-date[b-t56c78s88x] {
  min-width: 160px;
}

.detail-filters[b-t56c78s88x] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 1rem 0 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.detail-filters legend[b-t56c78s88x] {
  padding: 0 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.report-content-controls[b-t56c78s88x] {
  color: var(--muted);
  font-size: 0.8rem;
}

.report-content-controls summary[b-t56c78s88x] {
  cursor: pointer;
  font-weight: 700;
}

.report-content-controls p[b-t56c78s88x] { margin: 0.6rem 0 0; }

.diary-toolbar[b-t56c78s88x] {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.6rem 1rem;
  margin-top: 0.8rem;
}

.diary-toolbar label[b-t56c78s88x] {
  display: grid;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.diary-toolbar select[b-t56c78s88x] {
  min-height: 38px;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}

.diary-toolbar p[b-t56c78s88x] {
  flex: 1 1 20rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.detail-filters label[b-t56c78s88x] {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.detail-table[b-t56c78s88x] {
  min-width: 900px;
}

.detail-table td:nth-child(4)[b-t56c78s88x],
.detail-table td:last-child[b-t56c78s88x] {
  min-width: 220px;
  white-space: normal;
}

.detail-empty[b-t56c78s88x] {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  text-align: center;
}

.report-caveat[b-t56c78s88x] {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  background: var(--primary-soft);
}

.report-caveat p[b-t56c78s88x] {
  margin: 0.4rem 0 0;
}

@media (max-width: 900px) {
  .report-export-options[b-t56c78s88x] {
    grid-template-columns: 1fr;
  }
  .report-identification[b-t56c78s88x] {
    grid-template-columns: 1fr 1fr;
  }

  .report-identification div:nth-child(2)[b-t56c78s88x] {
    border-right: 0;
  }

  .report-identification div:nth-child(-n + 2)[b-t56c78s88x] {
    border-bottom: 1px solid var(--line);
  }

  .summary-grid[b-t56c78s88x] {
    grid-template-columns: 1fr 1fr;
  }
}

@media print {
  .report-panel[hidden][b-t56c78s88x] {
    display: grid !important;
  }
}

@media (max-width: 650px) {
  .report-intro[b-t56c78s88x],
  .section-description[b-t56c78s88x] {
    font-size: 0.96rem;
  }

  .report-heading[b-t56c78s88x],
  .section-heading[b-t56c78s88x] {
    align-items: stretch;
    flex-direction: column;
  }

  .report-actions .button[b-t56c78s88x] {
    flex: 1 1 auto;
  }

  .report-controls[b-t56c78s88x],
  .report-identification[b-t56c78s88x],
  .summary-grid[b-t56c78s88x] {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .report-controls-heading[b-t56c78s88x],
  .report-window-controls[b-t56c78s88x] {
    flex-basis: 100%;
  }

  .report-window-controls[b-t56c78s88x] {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
  }

  .report-controls label[b-t56c78s88x],
  .timeline-date[b-t56c78s88x] {
    min-width: 0;
    font-size: 0.86rem;
  }

  .report-controls select[b-t56c78s88x],
  .report-controls input[b-t56c78s88x],
  .timeline-date select[b-t56c78s88x] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 1rem;
  }

  .report-identification div[b-t56c78s88x] {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .report-identification div:last-child[b-t56c78s88x] {
    border-bottom: 0;
  }

  .report-identification span[b-t56c78s88x],
  .summary-grid span[b-t56c78s88x],
  .detail-filters legend[b-t56c78s88x] {
    font-size: 0.8rem;
  }

  .report-identification strong[b-t56c78s88x] {
    font-size: 1rem;
  }

  .summary-grid small[b-t56c78s88x],
  .quality-note[b-t56c78s88x],
  .report-caveat[b-t56c78s88x],
  .detail-empty[b-t56c78s88x],
  .detail-filters label[b-t56c78s88x] {
    font-size: 0.88rem;
  }

  table[b-t56c78s88x] {
    font-size: 0.88rem;
  }

  thead th[b-t56c78s88x] {
    font-size: 0.78rem;
  }

  .summary-section[b-t56c78s88x],
  .daily-section[b-t56c78s88x],
  .void-timeline-section[b-t56c78s88x],
  .detail-section[b-t56c78s88x] {
    padding: 1rem;
  }
}
/* /Pages/Feedback.razor.rz.scp.css */
.feedback-page[b-oeo24r8dcf] {
  max-width: 780px;
  margin: 0 auto;
}

.feedback-heading[b-oeo24r8dcf] {
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.feedback-heading > p:last-child[b-oeo24r8dcf],
.feedback-signin > p:not(.eyebrow)[b-oeo24r8dcf] {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.feedback-status[b-oeo24r8dcf],
.feedback-signin[b-oeo24r8dcf],
.feedback-form[b-oeo24r8dcf] {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 3px 12px rgb(30 52 49 / 4%);
}

.feedback-status[b-oeo24r8dcf] {
  color: var(--muted);
  text-align: center;
}

.feedback-signin h2[b-oeo24r8dcf] {
  margin-bottom: 0.6rem;
}

.feedback-signin .button[b-oeo24r8dcf] {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  text-decoration: none;
}

.feedback-form[b-oeo24r8dcf] {
  display: grid;
  gap: 1.15rem;
}

.feedback-field[b-oeo24r8dcf] {
  display: grid;
  gap: 0.42rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.feedback-field select[b-oeo24r8dcf],
.feedback-field textarea[b-oeo24r8dcf] {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 1px solid #bac6c0;
  border-radius: 11px;
  outline: none;
  background: var(--surface-strong);
  color: var(--ink);
  font-weight: 500;
}

.feedback-field select[b-oeo24r8dcf] {
  min-height: 48px;
}

.feedback-field textarea[b-oeo24r8dcf] {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}

.feedback-field select:focus[b-oeo24r8dcf],
.feedback-field textarea:focus[b-oeo24r8dcf] {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(22 95 90 / 12%);
}

.feedback-field small[b-oeo24r8dcf],
.rating-field small[b-oeo24r8dcf] {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
}

.feedback-field > small[b-oeo24r8dcf] {
  justify-self: end;
}

.rating-field[b-oeo24r8dcf] {
  margin: 0;
  padding: 0;
  border: 0;
}

.rating-field legend[b-oeo24r8dcf] {
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.star-rating[b-oeo24r8dcf] {
  display: flex;
  min-height: 46px;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.star-rating > button:not(.clear-rating)[b-oeo24r8dcf] {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-strong);
  color: #a6ada9;
  cursor: pointer;
  font-size: 1.4rem;
}

.star-rating > button.filled[b-oeo24r8dcf] {
  border-color: #c89129;
  background: #fff4d9;
  color: #b27400;
}

.star-rating > button[aria-pressed="true"][b-oeo24r8dcf] {
  box-shadow: 0 0 0 2px rgb(178 116 0 / 22%);
}

.rating-label[b-oeo24r8dcf] {
  margin-left: 0.35rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.clear-rating[b-oeo24r8dcf] {
  min-height: 32px;
  padding: 0.3rem 0.45rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 750;
}

.feedback-privacy[b-oeo24r8dcf] {
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--primary);
  border-radius: 11px;
  background: var(--primary-soft);
}

.feedback-privacy strong[b-oeo24r8dcf] {
  font-size: 0.8rem;
}

.feedback-privacy p[b-oeo24r8dcf] {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.feedback-actions[b-oeo24r8dcf] {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 0.2rem;
}

.feedback-actions a[b-oeo24r8dcf] {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

@media (max-width: 680px) {
  .feedback-heading[b-oeo24r8dcf] {
    margin-bottom: 1rem;
  }

  .feedback-heading > p:last-child[b-oeo24r8dcf] {
    font-size: 0.96rem;
  }

  .feedback-form[b-oeo24r8dcf],
  .feedback-signin[b-oeo24r8dcf] {
    padding: 1rem;
    border-radius: 16px;
  }

  .feedback-field[b-oeo24r8dcf],
  .rating-field legend[b-oeo24r8dcf] {
    font-size: 0.9rem;
  }

  .feedback-field small[b-oeo24r8dcf],
  .rating-field small[b-oeo24r8dcf],
  .rating-label[b-oeo24r8dcf],
  .feedback-privacy p[b-oeo24r8dcf] {
    font-size: 0.82rem;
  }

  .feedback-actions[b-oeo24r8dcf] {
    align-items: stretch;
    flex-direction: column;
  }

  .feedback-actions .button[b-oeo24r8dcf] {
    justify-content: center;
    text-align: center;
  }
}
/* /Pages/Home.razor.rz.scp.css */
.timeline-reset-help[b-0qt5bkzvd8] {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.timeline-reset-heading[b-0qt5bkzvd8] {
  display: grid;
  gap: 0.25rem;
  padding: 0.7rem 0.75rem;
  border-top: 2px solid var(--primary);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--primary-soft) 35%, var(--surface));
  line-height: 1.45;
}

.timeline-reset-heading strong[b-0qt5bkzvd8] {
  color: var(--ink);
  font-size: 0.78rem;
}

.timeline-reset-heading span[b-0qt5bkzvd8] {
  color: var(--muted);
  font-size: 0.73rem;
}

.timeline-cards .timeline-reset-heading[b-0qt5bkzvd8] {
  margin: 0.65rem 0;
  border-radius: 0 0 8px 8px;
}
/* /Pages/PersonalLab.razor.rz.scp.css */
.lab-page[b-6rav8420kg] {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.lab-heading[b-6rav8420kg],
.lab-section-heading[b-6rav8420kg] {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.lab-heading h1[b-6rav8420kg],
.lab-section-heading h2[b-6rav8420kg] {
  margin: 0;
}

.lab-heading p:not(.eyebrow)[b-6rav8420kg],
.chart-description[b-6rav8420kg] {
  max-width: 760px;
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.lab-range[b-6rav8420kg] {
  display: grid;
  flex: 0 0 190px;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
}

.lab-range select[b-6rav8420kg] {
  min-height: 42px;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}

.lab-loading[b-6rav8420kg],
.chart-empty[b-6rav8420kg] {
  padding: 1.5rem;
  border: 1px dashed var(--line);
  border-radius: 15px;
  color: var(--muted);
  text-align: center;
}

.lab-warning[b-6rav8420kg],
.promotion-note[b-6rav8420kg] {
  padding: 1rem 1.1rem;
  border-left: 4px solid #8a5c19;
  border-radius: 0 12px 12px 0;
  background: #fff4dc;
  color: #694713;
}

.lab-warning p[b-6rav8420kg],
.promotion-note p[b-6rav8420kg] {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.lab-summary[b-6rav8420kg],
.lab-chart-section[b-6rav8420kg],
.lab-table-section[b-6rav8420kg] {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.lab-section-heading > span[b-6rav8420kg] {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.lab-metrics[b-6rav8420kg] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.lab-metrics article[b-6rav8420kg] {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}

.lab-metrics span[b-6rav8420kg] {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
}

.lab-metrics strong[b-6rav8420kg] {
  font-size: 1.2rem;
}

.lab-metrics small[b-6rav8420kg] {
  color: var(--muted);
  line-height: 1.4;
}

.lab-chart-wrap[b-6rav8420kg],
.table-scroll[b-6rav8420kg] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 1rem;
  overflow-x: auto;
}

.lab-chart[b-6rav8420kg] {
  display: block;
  width: 100%;
  min-width: 650px;
  min-height: 240px;
}

.grid[b-6rav8420kg],
.axis[b-6rav8420kg] {
  stroke: #dbe4df;
  stroke-width: 1;
}

.axis[b-6rav8420kg] {
  stroke: #9bada6;
}

.axis-label[b-6rav8420kg] {
  fill: #65756f;
  font-family: inherit;
  font-size: 12px;
}

.lab-point[b-6rav8420kg] {
  stroke: #fff;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.lab-point:focus[b-6rav8420kg] {
  outline: none;
  stroke: #142c27;
  stroke-width: 4;
}

.urgency-1[b-6rav8420kg] {
  fill: #6aa58a;
}

.urgency-2[b-6rav8420kg] {
  fill: #9eaa59;
}

.urgency-3[b-6rav8420kg] {
  fill: #d4a344;
}

.urgency-4[b-6rav8420kg] {
  fill: #d97840;
}

.urgency-5[b-6rav8420kg] {
  fill: #bf453d;
}

.urgency-unknown[b-6rav8420kg] {
  fill: #7f918b;
}

.urgency-legend[b-6rav8420kg] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.urgency-legend span[b-6rav8420kg] {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.urgency-legend i[b-6rav8420kg] {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
}

.urgency-low[b-6rav8420kg] {
  background: #6aa58a;
}

.urgency-mid[b-6rav8420kg] {
  background: #d4a344;
}

.urgency-high[b-6rav8420kg] {
  background: #bf453d;
}

.urgency-none[b-6rav8420kg] {
  background: #7f918b;
}

table[b-6rav8420kg] {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.79rem;
}

th[b-6rav8420kg],
td[b-6rav8420kg] {
  padding: 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

thead th[b-6rav8420kg] {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

@media (max-width: 950px) {
  .lab-metrics[b-6rav8420kg] {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .lab-heading[b-6rav8420kg],
  .lab-section-heading[b-6rav8420kg] {
    align-items: stretch;
    flex-direction: column;
  }

  .lab-range[b-6rav8420kg] {
    flex-basis: auto;
    font-size: 0.86rem;
  }

  .lab-heading p:not(.eyebrow)[b-6rav8420kg],
  .chart-description[b-6rav8420kg] {
    font-size: 0.96rem;
  }

  .lab-metrics[b-6rav8420kg] {
    grid-template-columns: 1fr;
  }

  .lab-metrics span[b-6rav8420kg],
  .urgency-legend[b-6rav8420kg],
  thead th[b-6rav8420kg] {
    font-size: 0.8rem;
  }

  .lab-metrics small[b-6rav8420kg],
  table[b-6rav8420kg] {
    font-size: 0.88rem;
  }

  .lab-summary[b-6rav8420kg],
  .lab-chart-section[b-6rav8420kg],
  .lab-table-section[b-6rav8420kg] {
    padding: 1rem;
  }
}
/* /Pages/Settings.razor.rz.scp.css */
.settings-page[b-jhxhf348a6] {
  max-width: 980px;
  margin: 0 auto;
}

.settings-heading[b-jhxhf348a6] {
  max-width: 720px;
  margin-bottom: 2rem;
}

.settings-heading > p:last-child[b-jhxhf348a6] {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.settings-loading[b-jhxhf348a6] {
  padding: 2.5rem;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.settings-grid[b-jhxhf348a6] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.settings-card[b-jhxhf348a6] {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 3px 12px rgb(30 52 49 / 4%);
}

.settings-card h2[b-jhxhf348a6] {
  margin-bottom: 0.55rem;
}

.settings-card > p:not(.eyebrow)[b-jhxhf348a6] {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.units-card[b-jhxhf348a6],
.storage-card[b-jhxhf348a6],
.indicators-card[b-jhxhf348a6],
.transfer-card[b-jhxhf348a6],
.cronometer-card[b-jhxhf348a6],
.danger-card[b-jhxhf348a6] {
  grid-column: 1 / -1;
}

.indicator-options[b-jhxhf348a6] {
  display: grid;
  width: 100%;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.indicator-options-grid[b-jhxhf348a6] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.indicator-option[b-jhxhf348a6] {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  cursor: pointer;
}

.indicator-option:has(input:checked)[b-jhxhf348a6] {
  border-color: #9cbeb6;
  background: var(--primary-soft);
}

.indicator-option:has(input:disabled)[b-jhxhf348a6] {
  cursor: default;
}

.indicator-option input[b-jhxhf348a6] {
  width: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  accent-color: var(--primary);
}

.indicator-option span[b-jhxhf348a6] {
  display: grid;
  gap: 0.25rem;
}

.indicator-option strong[b-jhxhf348a6] {
  font-size: 0.84rem;
  line-height: 1.3;
}

.indicator-option small[b-jhxhf348a6] {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.more-indicators[b-jhxhf348a6] {
  width: 100%;
}

.more-indicators > summary[b-jhxhf348a6] {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 750;
}

.more-indicators > summary[b-jhxhf348a6]::-webkit-details-marker {
  display: none;
}

.more-indicators > summary small[b-jhxhf348a6] {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.more-indicators-plus[b-jhxhf348a6] {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid currentcolor;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 120ms ease;
}

.more-indicators[open] .more-indicators-plus[b-jhxhf348a6] {
  transform: rotate(45deg);
}

.additional-indicator-options[b-jhxhf348a6] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.6rem;
}

.indicator-preference-status[b-jhxhf348a6] {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.storage-facts[b-jhxhf348a6] {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.storage-mode-control[b-jhxhf348a6] {
  display: grid;
  width: min(420px, 100%);
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
}

.storage-mode-control select[b-jhxhf348a6] {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 2rem 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.storage-mode-help[b-jhxhf348a6] {
  max-width: 720px;
  margin-bottom: 1rem !important;
  font-size: 0.78rem !important;
}

.storage-mode-help strong[b-jhxhf348a6] {
  color: var(--ink);
}

.storage-confirmation[b-jhxhf348a6] {
  display: grid;
  width: 100%;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border: 1px solid #d9bd7a;
  border-radius: 11px;
  background: #fff7e5;
  color: #5f4c24;
  font-size: 0.8rem;
  line-height: 1.45;
}

.storage-confirmation > div[b-jhxhf348a6] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.storage-facts div[b-jhxhf348a6] {
  min-width: 0;
  padding: 0.7rem;
  border-radius: 11px;
  background: var(--primary-soft);
}

.storage-facts dt[b-jhxhf348a6] {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
}

.storage-facts dd[b-jhxhf348a6] {
  overflow-wrap: anywhere;
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  font-weight: 750;
}

.local-risk[b-jhxhf348a6] {
  display: grid;
  gap: 0.25rem;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid #d9bd7a;
  border-radius: 11px;
  background: #fff7e5;
  color: #5f4c24;
  font-size: 0.8rem;
  line-height: 1.45;
}

.card-action[b-jhxhf348a6] {
  margin-top: auto;
}

.settings-actions[b-jhxhf348a6] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

.file-picker[b-jhxhf348a6] {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  margin-top: auto;
  padding: 0.68rem 1rem;
  border-radius: 11px;
  background: var(--primary);
  color: white;
  cursor: pointer;
  font-weight: 750;
}

.file-picker.disabled[b-jhxhf348a6] {
  cursor: not-allowed;
  opacity: 0.5;
}

.file-picker[b-jhxhf348a6]  input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.import-card small[b-jhxhf348a6] {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.cronometer-card > small[b-jhxhf348a6] {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.cronometer-preview[b-jhxhf348a6] {
  display: grid;
  width: 100%;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.cronometer-preview-heading[b-jhxhf348a6],
.cronometer-removal[b-jhxhf348a6] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cronometer-preview-heading > div[b-jhxhf348a6],
.cronometer-removal > div[b-jhxhf348a6] {
  display: grid;
  gap: 0.2rem;
}

.cronometer-preview-heading span[b-jhxhf348a6],
.cronometer-removal span[b-jhxhf348a6] {
  color: var(--muted);
  font-size: 0.76rem;
}

.cronometer-dates[b-jhxhf348a6] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cronometer-dates label[b-jhxhf348a6] {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 750;
}

.cronometer-dates input[b-jhxhf348a6],
.cronometer-mappings select[b-jhxhf348a6],
.cronometer-volume-input input[b-jhxhf348a6] {
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.cronometer-table-wrap[b-jhxhf348a6] {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.cronometer-mappings[b-jhxhf348a6] {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.cronometer-mappings th[b-jhxhf348a6],
.cronometer-mappings td[b-jhxhf348a6] {
  padding: 0.7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.cronometer-mappings th[b-jhxhf348a6] {
  background: var(--primary-soft);
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cronometer-mappings tr:last-child td[b-jhxhf348a6] {
  border-bottom: 0;
}

.cronometer-mappings td:first-child[b-jhxhf348a6] {
  min-width: 220px;
}

.cronometer-mappings td:first-child strong[b-jhxhf348a6],
.cronometer-mappings td:first-child small[b-jhxhf348a6] {
  display: block;
}

.cronometer-mappings td:first-child small[b-jhxhf348a6] {
  margin-top: 0.18rem;
  color: var(--muted);
}

.cronometer-mappings select[b-jhxhf348a6] {
  width: min(270px, 100%);
}

.cronometer-estimate-option[b-jhxhf348a6] {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.cronometer-estimate-option input[b-jhxhf348a6] {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: var(--primary);
}

.cronometer-estimate-option span[b-jhxhf348a6],
.cronometer-estimate-option strong[b-jhxhf348a6],
.cronometer-estimate-option small[b-jhxhf348a6] {
  display: block;
}

.cronometer-estimate-option small[b-jhxhf348a6] {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.cronometer-volume-input[b-jhxhf348a6] {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cronometer-volume-input input[b-jhxhf348a6] {
  width: 120px;
}

.cronometer-volume-input span[b-jhxhf348a6] {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.cronometer-import-note[b-jhxhf348a6] {
  max-width: 760px;
  margin: 0 !important;
  color: var(--muted);
  font-size: 0.76rem !important;
  line-height: 1.5 !important;
}

.cronometer-removal[b-jhxhf348a6] {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--primary-soft);
}

.danger-card[b-jhxhf348a6] {
  border-color: #e3b0ab;
}

.danger-card .eyebrow[b-jhxhf348a6] {
  color: var(--danger);
}

.delete-confirmation[b-jhxhf348a6] {
  display: grid;
  gap: 0.4rem;
  width: min(320px, 100%);
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.delete-confirmation input[b-jhxhf348a6] {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d39c97;
  border-radius: 10px;
  outline: none;
  background: var(--surface);
  color: var(--ink);
}

.delete-confirmation input:focus[b-jhxhf348a6] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgb(163 59 54 / 12%);
}

@media (max-width: 680px) {
  .settings-heading > p:last-child[b-jhxhf348a6] {
    font-size: 0.96rem;
  }

  .settings-grid[b-jhxhf348a6] {
    grid-template-columns: 1fr;
  }

  .settings-card[b-jhxhf348a6] {
    padding: 1.1rem;
  }

  .settings-card > p:not(.eyebrow)[b-jhxhf348a6] {
    font-size: 0.94rem;
  }

  .storage-card[b-jhxhf348a6],
  .indicators-card[b-jhxhf348a6],
  .transfer-card[b-jhxhf348a6],
  .cronometer-card[b-jhxhf348a6],
  .danger-card[b-jhxhf348a6] {
    grid-column: auto;
  }

  .indicator-options-grid[b-jhxhf348a6],
  .additional-indicator-options[b-jhxhf348a6] {
    grid-template-columns: 1fr;
  }

  .indicator-option strong[b-jhxhf348a6] {
    font-size: 0.94rem;
  }

  .indicator-option small[b-jhxhf348a6],
  .more-indicators > summary[b-jhxhf348a6],
  .more-indicators > summary small[b-jhxhf348a6],
  .indicator-preference-status[b-jhxhf348a6] {
    font-size: 0.82rem;
  }

  .storage-facts[b-jhxhf348a6] {
    grid-template-columns: 1fr;
  }

  .storage-mode-control[b-jhxhf348a6],
  .storage-mode-help[b-jhxhf348a6],
  .storage-confirmation[b-jhxhf348a6],
  .local-risk[b-jhxhf348a6],
  .delete-confirmation[b-jhxhf348a6] {
    font-size: 0.88rem !important;
  }

  .storage-facts dt[b-jhxhf348a6] {
    font-size: 0.8rem;
  }

  .storage-facts dd[b-jhxhf348a6] {
    font-size: 0.96rem;
  }

  .settings-actions[b-jhxhf348a6],
  .settings-actions .button[b-jhxhf348a6],
  .file-picker[b-jhxhf348a6],
  .card-action[b-jhxhf348a6] {
    width: 100%;
  }

  .settings-actions .button[b-jhxhf348a6],
  .file-picker[b-jhxhf348a6] {
    justify-content: center;
  }

  .cronometer-preview-heading[b-jhxhf348a6],
  .cronometer-removal[b-jhxhf348a6] {
    align-items: flex-start;
    flex-direction: column;
  }

  .cronometer-dates[b-jhxhf348a6],
  .cronometer-dates label[b-jhxhf348a6],
  .cronometer-dates input[b-jhxhf348a6],
  .cronometer-removal .text-button[b-jhxhf348a6] {
    width: 100%;
  }

  .cronometer-dates label[b-jhxhf348a6],
  .cronometer-preview-heading span[b-jhxhf348a6],
  .cronometer-removal span[b-jhxhf348a6],
  .cronometer-import-note[b-jhxhf348a6],
  .import-card small[b-jhxhf348a6],
  .cronometer-card > small[b-jhxhf348a6] {
    font-size: 0.84rem !important;
  }

  .cronometer-dates input[b-jhxhf348a6],
  .cronometer-mappings select[b-jhxhf348a6],
  .cronometer-volume-input input[b-jhxhf348a6],
  .delete-confirmation input[b-jhxhf348a6] {
    max-width: 100%;
    min-width: 0;
    font-size: 1rem;
  }

  .cronometer-mappings[b-jhxhf348a6] {
    font-size: 0.88rem;
  }

  .cronometer-mappings th[b-jhxhf348a6] {
    font-size: 0.78rem;
  }
}

@media (prefers-color-scheme: dark) {
  .local-risk[b-jhxhf348a6],
  .storage-confirmation[b-jhxhf348a6] {
    border-color: #806d3c;
    background: #362f1f;
    color: #eadcae;
  }

  .file-picker[b-jhxhf348a6] {
    background: #3b8f83;
  }
}
/* /Pages/SharedClinicianReport.razor.rz.scp.css */
.shared-heading[b-gpx9ssfq83] { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.shared-heading p[b-gpx9ssfq83] { max-width: 48rem; color: var(--muted); line-height: 1.5; }
.shared-heading h1[b-gpx9ssfq83] { margin: 0; }
.shared-actions[b-gpx9ssfq83] { display: flex; gap: 0.5rem; align-items: flex-start; flex-wrap: wrap; }
@media print { .screen-only[b-gpx9ssfq83] { display: none !important; } }
/* /Pages/Stats.razor.rz.scp.css */
.stats-page[b-u8g7sebpl4] {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stats-heading[b-u8g7sebpl4] {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.stats-intro[b-u8g7sebpl4] {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.stats-range[b-u8g7sebpl4] {
  flex: 0 0 auto;
}

.stats-header-actions[b-u8g7sebpl4] {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 0.75rem;
}

.stats-header-actions > button[b-u8g7sebpl4] {
  font-size: 0.78rem;
}

.stats-loading[b-u8g7sebpl4],
.chart-empty[b-u8g7sebpl4] {
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.stats-empty[b-u8g7sebpl4] {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.75rem;
}

.stats-empty p[b-u8g7sebpl4] {
  margin: 0;
}

.stats-action[b-u8g7sebpl4] {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  text-decoration: none;
}

.local-summary[b-u8g7sebpl4] {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: -0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.local-indicator[b-u8g7sebpl4] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #278167;
  box-shadow: 0 0 0 4px rgb(39 129 103 / 13%);
}

.metric-section[b-u8g7sebpl4],
.chart-section[b-u8g7sebpl4],
.histogram-section[b-u8g7sebpl4] {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.stats-section-heading h2[b-u8g7sebpl4] {
  margin: 0;
}

.stats-section-heading[b-u8g7sebpl4] {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.metric-grid[b-u8g7sebpl4] {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

@media print {
  .screen-only[b-u8g7sebpl4],
  .chart-pan-hint[b-u8g7sebpl4],
  .volume-day-navigation button[b-u8g7sebpl4],
  .balance-day-navigation button[b-u8g7sebpl4] { display: none !important; }
}

.metric-card[b-u8g7sebpl4] {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 104px;
  flex-direction: column;
  padding: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 3px 12px rgb(30 52 49 / 4%);
}

.metric-card[b-u8g7sebpl4]::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #a7bbb5;
  content: "";
}

.metric-card.intake-metric[b-u8g7sebpl4]::before {
  background: #3b8dbd;
}

.metric-card.output-metric[b-u8g7sebpl4]::before {
  background: #705ca8;
}

.metric-card > span[b-u8g7sebpl4] {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric-card strong[b-u8g7sebpl4] {
  margin: 0.4rem 0 0.3rem;
  overflow-wrap: anywhere;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.035em;
}

.metric-card small[b-u8g7sebpl4] {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.period-equation[b-u8g7sebpl4] {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  border-left: 3px solid var(--primary);
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.period-equation strong[b-u8g7sebpl4] {
  color: var(--ink);
}

.period-equation span[b-u8g7sebpl4] {
  display: block;
  margin-top: 0.2rem;
}

.chart-title[b-u8g7sebpl4] {
  align-items: center;
  margin-bottom: 0.55rem;
}

.volume-controls[b-u8g7sebpl4] {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.volume-day-navigation[b-u8g7sebpl4],
.balance-day-navigation[b-u8g7sebpl4] {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
}

.volume-day-navigation > button[b-u8g7sebpl4],
.balance-day-navigation > button[b-u8g7sebpl4] {
  display: inline-grid;
  width: 38px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
}

.volume-day-navigation > button:hover:not(:disabled)[b-u8g7sebpl4],
.balance-day-navigation > button:hover:not(:disabled)[b-u8g7sebpl4] {
  border-color: #78a7a0;
  background: #f4faf8;
}

.volume-day-navigation > button:disabled[b-u8g7sebpl4],
.balance-day-navigation > button:disabled[b-u8g7sebpl4] {
  cursor: not-allowed;
  opacity: 0.4;
}

.chart-description[b-u8g7sebpl4],
.chart-note[b-u8g7sebpl4] {
  max-width: 800px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.chart-description[b-u8g7sebpl4] {
  margin-bottom: 1rem;
}

.chart-pan-hint[b-u8g7sebpl4] {
  margin: -0.45rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.chart-note[b-u8g7sebpl4] {
  margin: 0.8rem 0 0;
}

.chart-note-disclosure[b-u8g7sebpl4] {
  max-width: 800px;
  margin-top: 0.8rem;
  padding: 0.65rem 0.75rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.chart-note-disclosure summary[b-u8g7sebpl4] {
  color: var(--primary);
  font-size: inherit;
}

.chart-note-disclosure p[b-u8g7sebpl4] {
  margin: 0.65rem 0 0;
}

.chart-more-info[b-u8g7sebpl4] {
  margin-top: 0.8rem;
  padding: 0;
  border: 0;
}

.chart-more-info > summary[b-u8g7sebpl4] {
  width: fit-content;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.78rem;
}

.chart-more-info > summary:hover[b-u8g7sebpl4],
.chart-more-info[open] > summary[b-u8g7sebpl4] {
  background: var(--primary-soft);
}

.chart-more-info > summary:focus-visible[b-u8g7sebpl4] {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.chart-info-heading[b-u8g7sebpl4] {
  margin: 1rem 0 0;
  color: var(--ink);
  font-size: 0.82rem;
}

.chart-info-heading + .chart-note[b-u8g7sebpl4] {
  margin-top: 0.35rem;
}

.chart-legend[b-u8g7sebpl4] {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.chart-legend span[b-u8g7sebpl4] {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-swatch[b-u8g7sebpl4] {
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.legend-swatch.intake[b-u8g7sebpl4],
.volume-bar.intake[b-u8g7sebpl4] {
  background: #4c9cc7;
}

.legend-swatch.output[b-u8g7sebpl4],
.volume-bar.output[b-u8g7sebpl4] {
  background: #7964b2;
}

.sleep-swatch[b-u8g7sebpl4] {
  width: 22px;
  height: 10px;
  border: 1px solid rgb(104 137 151 / 24%);
  border-radius: 3px;
  background: rgb(104 137 151 / 14%);
}

.duration-swatch[b-u8g7sebpl4] {
  width: 22px;
  height: 10px;
  border: 1px dashed #2f7fa9;
  border-radius: 3px;
  background: #70aecf;
}

.active-drink-swatch[b-u8g7sebpl4] {
  width: 22px;
  height: 10px;
  border: 1px dashed rgb(47 127 169 / 55%);
  border-radius: 3px;
  background: linear-gradient(90deg, rgb(76 156 199 / 5%), rgb(76 156 199 / 30%));
}

.estimated-allocation-swatch[b-u8g7sebpl4] {
  width: 22px;
  height: 10px;
  border: 1px solid #756592;
  border-radius: 3px;
  background: repeating-linear-gradient(
    108deg,
    #9b8bc7 0,
    #9b8bc7 4px,
    #674f9d 4px,
    #674f9d 6px);
}

.event-marker-legend[b-u8g7sebpl4] {
  gap: 0.25rem !important;
}

.mini-event-marker[b-u8g7sebpl4] {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid;
  border-radius: 50%;
  background: var(--surface);
  font-size: 0.6rem;
  font-style: normal;
  line-height: 1;
}

.mini-event-marker.drink[b-u8g7sebpl4] {
  border-color: #2f7fa9;
}

.mini-event-marker.release[b-u8g7sebpl4] {
  border-color: #674f9d;
}

.mini-event-marker.measurement[b-u8g7sebpl4] {
  border-color: #756592;
}

.volume-chart[b-u8g7sebpl4] {
  display: grid;
  min-height: 310px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 1rem 1rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(to bottom, transparent 0, transparent calc(50% - 0.5px), var(--line) 50%, transparent calc(50% + 0.5px), transparent 100%),
    var(--surface);
}

.volume-scale[b-u8g7sebpl4] {
  display: flex;
  width: 58px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0.5rem 1.65rem 0;
  color: var(--muted);
  font-size: 0.65rem;
  text-align: right;
}

.volume-plot[b-u8g7sebpl4] {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(var(--day-count), minmax(10px, 1fr));
  gap: 0.28rem;
}

.volume-day[b-u8g7sebpl4] {
  display: grid;
  min-width: 0;
  grid-template-rows: minmax(230px, 1fr) 1.4rem;
}

.volume-bars[b-u8g7sebpl4] {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
}

.volume-bar[b-u8g7sebpl4] {
  width: min(12px, 44%);
  min-height: 0;
  border-radius: 4px 4px 1px 1px;
  transition: height 180ms ease;
}

.volume-day time[b-u8g7sebpl4] {
  overflow: visible;
  padding-top: 0.35rem;
  color: var(--muted);
  font-size: 0.6rem;
  text-align: center;
  white-space: nowrap;
}

.chart-data[b-u8g7sebpl4] {
  margin-top: 0.8rem;
  border-color: var(--line);
  background: var(--surface);
}

.chart-data summary[b-u8g7sebpl4] {
  font-size: 0.78rem;
}

.table-scroll[b-u8g7sebpl4] {
  margin-top: 0.8rem;
  overflow-x: auto;
}

.chart-data table[b-u8g7sebpl4] {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}

.chart-data th[b-u8g7sebpl4],
.chart-data td[b-u8g7sebpl4] {
  padding: 0.55rem 0.65rem;
  border-top: 1px solid var(--line);
  text-align: right;
}

.chart-data th:first-child[b-u8g7sebpl4],
.chart-data td:first-child[b-u8g7sebpl4] {
  text-align: left;
}

.balance-panel[b-u8g7sebpl4] {
  margin-top: 0;
}

.balance-title[b-u8g7sebpl4] {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.balance-title h2[b-u8g7sebpl4] {
  margin: 0;
  font-size: 1.2rem;
}

.balance-date[b-u8g7sebpl4] {
  flex: 0 0 auto;
}

.balance-legend[b-u8g7sebpl4] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.balance-legend span[b-u8g7sebpl4] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.line-swatch[b-u8g7sebpl4] {
  width: 22px;
  height: 0;
  border-top: 3px solid #176f68;
}

.line-swatch.estimated[b-u8g7sebpl4] {
  border-top-color: #a06a24;
  border-top-style: dashed;
}

.line-swatch.provisional[b-u8g7sebpl4] {
  border-top-color: #64707d;
  border-top-style: dotted;
}

.line-swatch.distributed[b-u8g7sebpl4] {
  border-top-color: #397e94;
}

.cycle-marker-swatch[b-u8g7sebpl4] {
  width: 22px;
  height: 12px;
  border-left: 2px dashed #62518a;
}

.balance-chart-wrap[b-u8g7sebpl4] {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.balance-chart[b-u8g7sebpl4] {
  display: block;
  width: 100%;
  min-width: 680px;
  height: auto;
}

.balance-grid[b-u8g7sebpl4] {
  stroke: var(--line);
  stroke-width: 1;
}

.balance-prior-cycle[b-u8g7sebpl4] {
  fill: rgb(231 226 243 / 40%);
}

.balance-sleep-zone[b-u8g7sebpl4] {
  fill: rgb(104 137 151 / 12%);
  stroke: rgb(104 137 151 / 18%);
  stroke-width: 1;
}

.balance-active-drink[b-u8g7sebpl4] {
  fill: url("#balance-active-drink-gradient");
  stroke: rgb(47 127 169 / 42%);
  stroke-dasharray: 3 3;
  stroke-width: 1;
}

.balance-reset-marker[b-u8g7sebpl4] {
  stroke: #62518a;
  stroke-dasharray: 4 4;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.balance-prior-label[b-u8g7sebpl4] {
  fill: #62518a;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.balance-zero[b-u8g7sebpl4] {
  stroke: var(--muted);
  stroke-dasharray: 4 5;
  stroke-width: 1;
  opacity: 0.65;
}

.balance-range[b-u8g7sebpl4] {
  fill: rgb(225 183 103 / 28%);
  stroke: none;
}

.balance-line[b-u8g7sebpl4] {
  fill: none;
  stroke: #176f68;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.balance-line.estimated[b-u8g7sebpl4] {
  stroke: #a06a24;
  stroke-dasharray: 7 5;
}

.balance-line.distributed:not(.estimated)[b-u8g7sebpl4] {
  stroke: #397e94;
}

.balance-line.reset[b-u8g7sebpl4] {
  stroke: #62518a;
  stroke-dasharray: 3 4;
  stroke-width: 2;
}

.balance-point[b-u8g7sebpl4] {
  fill: var(--surface);
  stroke: #176f68;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.balance-point.estimated[b-u8g7sebpl4] {
  stroke: #a06a24;
}

.balance-point.distributed:not(.estimated)[b-u8g7sebpl4] {
  stroke: #397e94;
}

.balance-point.reset[b-u8g7sebpl4] {
  fill: #f7f4fc;
  stroke: #62518a;
}

.balance-axis-value[b-u8g7sebpl4],
.balance-axis-time[b-u8g7sebpl4] {
  fill: var(--muted);
  font-family: inherit;
  font-size: 11px;
}

.balance-summary[b-u8g7sebpl4] {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.balance-summary strong[b-u8g7sebpl4] {
  color: var(--ink);
}

.cycle-summary[b-u8g7sebpl4] {
  margin: 0.7rem 0 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgb(98 81 138 / 18%);
  border-radius: 10px;
  background: rgb(231 226 243 / 42%);
  color: var(--muted);
  font-size: 0.76rem;
}

.balance-data[b-u8g7sebpl4] {
  margin-top: 0.65rem;
}

.compact-empty[b-u8g7sebpl4] {
  padding: 1.2rem;
}

.histogram-grid[b-u8g7sebpl4] {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.histogram-card[b-u8g7sebpl4] {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 3px 12px rgb(30 52 49 / 4%);
}

.histogram-card header[b-u8g7sebpl4] {
  min-height: 72px;
  margin-bottom: 0.8rem;
}

.histogram-card h3[b-u8g7sebpl4] {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.histogram-card header p[b-u8g7sebpl4],
.mini-empty[b-u8g7sebpl4] {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.mini-empty[b-u8g7sebpl4] {
  padding: 1.2rem 0;
}

.histogram-row[b-u8g7sebpl4] {
  display: grid;
  min-height: 35px;
  grid-template-columns: minmax(82px, 1.25fr) minmax(70px, 2fr) 2rem;
  align-items: center;
  gap: 0.5rem;
}

.histogram-label[b-u8g7sebpl4] {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.2;
}

.histogram-track[b-u8g7sebpl4] {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--primary-soft);
}

.histogram-track i[b-u8g7sebpl4] {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.output-histogram .histogram-track i[b-u8g7sebpl4] {
  background: #7964b2;
}

.urge-histogram .histogram-track i[b-u8g7sebpl4] {
  background: #b25f91;
}

.time-histogram .histogram-track i[b-u8g7sebpl4] {
  background: #3b8f83;
}

.histogram-row strong[b-u8g7sebpl4] {
  font-size: 0.78rem;
  text-align: right;
}

@media (max-width: 900px) {
  .metric-grid[b-u8g7sebpl4],
  .histogram-grid[b-u8g7sebpl4] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .time-histogram[b-u8g7sebpl4] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .stats-page[b-u8g7sebpl4] {
    gap: 1.25rem;
  }

  .stats-header-actions[b-u8g7sebpl4] {
    justify-items: stretch;
  }

  .metric-section[b-u8g7sebpl4],
  .chart-section[b-u8g7sebpl4],
  .histogram-section[b-u8g7sebpl4] {
    padding: 1rem 0.75rem;
  }

  .stats-heading[b-u8g7sebpl4] {
    align-items: stretch;
    flex-direction: column;
    gap: 0.8rem;
  }

  .stats-intro[b-u8g7sebpl4] {
    font-size: 0.96rem;
  }

  .stats-range[b-u8g7sebpl4] {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .local-summary[b-u8g7sebpl4] {
    margin-top: -0.8rem;
    font-size: 0.86rem;
  }

  .metric-grid[b-u8g7sebpl4] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .metric-card[b-u8g7sebpl4] {
    min-height: 104px;
    padding: 0.85rem;
    border-radius: 14px;
  }

  .metric-card strong[b-u8g7sebpl4] {
    font-size: 1.3rem;
  }

  .metric-card > span[b-u8g7sebpl4] {
    font-size: 0.8rem;
  }

  .metric-card small[b-u8g7sebpl4] {
    font-size: 0.86rem;
  }

  .chart-description[b-u8g7sebpl4],
  .chart-note[b-u8g7sebpl4],
  .chart-note-disclosure[b-u8g7sebpl4],
  .balance-summary[b-u8g7sebpl4],
  .cycle-summary[b-u8g7sebpl4] {
    font-size: 0.88rem;
  }

  .chart-legend[b-u8g7sebpl4],
  .balance-legend[b-u8g7sebpl4] {
    font-size: 0.82rem;
  }

  .chart-title[b-u8g7sebpl4] {
    align-items: flex-start;
    flex-direction: column;
  }

  .volume-controls[b-u8g7sebpl4] {
    width: 100%;
    justify-content: flex-start;
  }

  .volume-controls .range-field[b-u8g7sebpl4] {
    min-width: min(100%, 150px);
    flex: 1 1 150px;
  }

  .balance-panel[b-u8g7sebpl4] {
    margin-top: 0;
  }

  .balance-title[b-u8g7sebpl4] {
    align-items: stretch;
    flex-direction: column;
  }

  .balance-date[b-u8g7sebpl4] {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .balance-chart-wrap[b-u8g7sebpl4] {
    border-radius: 14px;
  }

  .balance-chart[b-u8g7sebpl4] {
    min-width: 640px;
  }

  .volume-chart[b-u8g7sebpl4] {
    min-height: 260px;
    padding: 0.8rem 0.6rem 0.4rem;
    overflow-x: auto;
  }

  .volume-scale[b-u8g7sebpl4] {
    position: sticky;
    z-index: 2;
    left: 0;
    width: 46px;
    background: var(--surface);
  }

  .volume-plot[b-u8g7sebpl4] {
    width: max(100%, calc(var(--day-count) * 18px));
  }

  .volume-day[b-u8g7sebpl4] {
    grid-template-rows: minmax(190px, 1fr) 1.4rem;
  }

  .chart-data summary[b-u8g7sebpl4],
  .chart-data table[b-u8g7sebpl4] {
    font-size: 0.86rem;
  }

  .histogram-card header p[b-u8g7sebpl4],
  .mini-empty[b-u8g7sebpl4] {
    font-size: 0.84rem;
  }

  .histogram-label[b-u8g7sebpl4] {
    font-size: 0.8rem;
  }

  .histogram-row strong[b-u8g7sebpl4] {
    font-size: 0.88rem;
  }

  .histogram-grid[b-u8g7sebpl4] {
    grid-template-columns: 1fr;
  }

  .time-histogram[b-u8g7sebpl4] {
    grid-column: auto;
  }
}

.stats-heading h1[b-u8g7sebpl4] { font-size: clamp(1.5rem, 3vw, 2rem); }
