/* /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);
}

.timeline-volume-wrap.pannable[b-6dkxzx361n] {
  cursor: grab;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
  touch-action: pan-y;
}

.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: 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: 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: url("#estimated-intake-pattern");
  stroke: #2f7fa9;
  stroke-width: 0.7;
}

.volume-bar.output.estimated[b-6dkxzx361n] {
  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: pan-y;
}

.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] {
  width: 900px;
  flex: 0 0 900px;
  border-right: 1px solid var(--line);
}

.difference-day:last-child[b-tfsjra83rh] {
  border-right: 0;
}

.difference-chart[b-tfsjra83rh] {
  display: block;
  width: 900px;
  height: 316px;
}

.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-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: 3;
  vector-effect: non-scaling-stroke;
}

.difference-line.estimated[b-tfsjra83rh] {
  stroke: #a06a24;
  stroke-dasharray: 7 5;
}

.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: 2.5;
  vector-effect: non-scaling-stroke;
}

.difference-point.estimated[b-tfsjra83rh] {
  stroke: #a06a24;
}

.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/UrgencyTimelineChart.razor.rz.scp.css */
.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: 0.72rem;
  height: 0.72rem;
  border: 2px solid #fff;
  background: #b45884;
  box-shadow: 0 0 0 1px #b45884;
}

.urge-symbol[b-fl1gr7hwod] {
  border-radius: 50%;
}

.pre-void-symbol[b-fl1gr7hwod] {
  border-radius: 2px;
  background: #6f58a8;
  box-shadow: 0 0 0 1px #6f58a8;
}

.inferred-symbol[b-fl1gr7hwod] {
  border: 2px dashed #6f58a8;
  background: transparent;
  box-shadow: none;
}

.event-symbol[b-fl1gr7hwod] {
  display: inline-grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: 4px;
  background: #6f58a8;
  color: #fff;
  font-size: 0.58rem;
}

.event-symbol.leak[b-fl1gr7hwod] {
  background: #b45884;
}

.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: 330px;
  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: 248px;
  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: pan-y;
  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: 330px;
}

.urgency-grid[b-fl1gr7hwod] {
  stroke: #e2e9e6;
  stroke-width: 1;
}

.urgency-state-line[b-fl1gr7hwod] {
  fill: none;
  stroke: #9e4e78;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.urgency-point[b-fl1gr7hwod] {
  fill: #b45884;
  stroke: #fff;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.pre-void-point[b-fl1gr7hwod] {
  fill: #6f58a8;
}

.leak-point[b-fl1gr7hwod] {
  fill: #b45884;
}

.urgency-point.inferred[b-fl1gr7hwod] {
  fill: #fff;
  stroke: #6f58a8;
  stroke-dasharray: 3 2;
}

.urgency-point:focus[b-fl1gr7hwod],
.event-label:focus[b-fl1gr7hwod] {
  outline: none;
  stroke: #142c27;
  stroke-width: 4;
}

.event-guide[b-fl1gr7hwod] {
  stroke: #aab8b3;
  stroke-dasharray: 3 3;
}

.event-pill[b-fl1gr7hwod] {
  fill: #6f58a8;
}

.event-pill.leak[b-fl1gr7hwod] {
  fill: #fff0f6;
  stroke: #b45884;
  stroke-width: 1.5;
}

.event-label[b-fl1gr7hwod] {
  fill: #fff;
  font-family: inherit;
  font-size: 10px;
  font-weight: 850;
}

.event-label.leak[b-fl1gr7hwod] {
  fill: #b45884;
}

.axis-value[b-fl1gr7hwod],
.axis-time[b-fl1gr7hwod] {
  fill: #65756f;
  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 (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-legend[b-m8hht0yvai] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.timeline-legend span[b-m8hht0yvai] {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.destination-symbol[b-m8hht0yvai] {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid #44766d;
  background: #fff;
}

.destination-symbol.toilet[b-m8hht0yvai] {
  border-radius: 50%;
}

.destination-symbol.protection[b-m8hht0yvai] {
  border-radius: 2px;
}

.destination-symbol.leak[b-m8hht0yvai] {
  transform: rotate(45deg);
}

.urgency-ramp i[b-m8hht0yvai],
.urgency-ramp b[b-m8hht0yvai] {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.urgency-ramp i[b-m8hht0yvai] {
  background: #6aa58a;
}

.urgency-ramp b[b-m8hht0yvai] {
  margin-left: 0.15rem;
  background: #bf453d;
}

.timeline-chart-wrap[b-m8hht0yvai] {
  overflow-x: auto;
}

.timeline-chart[b-m8hht0yvai] {
  display: block;
  width: 100%;
  min-width: 650px;
  min-height: 240px;
}

.chart-grid[b-m8hht0yvai],
.chart-axis[b-m8hht0yvai],
.unknown-axis[b-m8hht0yvai] {
  stroke: #dbe4df;
  stroke-width: 1;
}

.chart-axis[b-m8hht0yvai] {
  stroke: #9bada6;
}

.unknown-axis[b-m8hht0yvai] {
  stroke-dasharray: 4 4;
}

.volume-stem[b-m8hht0yvai] {
  stroke: #b9cbc5;
  stroke-width: 2;
}

.timeline-point[b-m8hht0yvai] {
  stroke: #fff;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.timeline-point:focus[b-m8hht0yvai] {
  outline: none;
  stroke: #142c27;
  stroke-width: 4;
}

.timeline-point.urgency-1[b-m8hht0yvai] {
  fill: #6aa58a;
}

.timeline-point.urgency-2[b-m8hht0yvai] {
  fill: #9eaa59;
}

.timeline-point.urgency-3[b-m8hht0yvai] {
  fill: #d4a344;
}

.timeline-point.urgency-4[b-m8hht0yvai] {
  fill: #d97840;
}

.timeline-point.urgency-5[b-m8hht0yvai] {
  fill: #bf453d;
}

.timeline-point.urgency-unknown[b-m8hht0yvai] {
  fill: #7f918b;
}

.axis-value[b-m8hht0yvai],
.axis-time[b-m8hht0yvai] {
  fill: #65756f;
  font-family: inherit;
  font-size: 12px;
}

.unknown-label[b-m8hht0yvai] {
  font-size: 10px;
}

.timeline-data[b-m8hht0yvai] {
  margin-top: 0.5rem;
  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 (max-width: 700px) {
  .timeline-chart[b-m8hht0yvai] {
    min-width: 580px;
  }
}
/* /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-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;
}

.report-downloads[b-t56c78s88x] {
  display: grid;
  gap: 0.5rem;
}

.report-downloads p[b-t56c78s88x] {
  margin: 0;
  max-width: 850px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.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: 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-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] {
  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-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;
}

.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-controls[b-t56c78s88x] {
    grid-template-columns: 1fr 1fr;
  }

  .report-controls > div[b-t56c78s88x] {
    grid-column: 1 / -1;
  }

  .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 (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 > div[b-t56c78s88x] {
    grid-column: auto;
  }

  .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/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;
}

.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/Stats.razor.rz.scp.css */
.stats-page[b-u8g7sebpl4] {
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
}

.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-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: -1.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;
}

.stats-section-heading[b-u8g7sebpl4] {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.metric-grid[b-u8g7sebpl4] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.metric-card[b-u8g7sebpl4] {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 145px;
  flex-direction: column;
  padding: 1.1rem;
  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: auto 0 0.5rem;
  overflow-wrap: anywhere;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  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-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: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.balance-title[b-u8g7sebpl4] {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.balance-title h3[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.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] {
  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.7rem;
  }

  .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: 126px;
    padding: 0.85rem;
    border-radius: 14px;
  }

  .metric-card strong[b-u8g7sebpl4] {
    font-size: 1.45rem;
  }

  .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: 1.4rem;
    padding-top: 1.4rem;
  }

  .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;
  }
}
