:root {
  color-scheme: light;
  --paper: #f3f2e9;
  --white: #fafaf4;
  --ink: #203931;
  --muted: #67736b;
  --rule: #d2d7ca;
  --lime: #dcec9a;
  --green: #365d4a;
  --rust: #af4f32;
  --mono: 'Courier New',monospace;
  --sans: Arial,Helvetica,sans-serif;
  --serif: Georgia,'Times New Roman',serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button,input {
  font: inherit;
}

button,a,input {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  cursor: pointer;
}

button:focus-visible,a:focus-visible,input:focus-visible,.plot:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}

button:disabled {
  cursor: default;
  opacity: .4;
}

button {
  touch-action: manipulation;
}

[hidden] {
  display: none!important;
}

.site {
  max-width: 1264px;
  margin: auto;
  padding: 0 48px;
}

.topbar {
  height: 93px;
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font: bold 19px var(--mono);
  letter-spacing: -.07em;
}

.brand svg {
  width: 45px;
  height: 36px;
}

.brand-slash {
  margin: 0 7px;
  color: #82907e;
  font-weight: normal;
}

.brand-section {
  font-weight: normal;
}

.back-link {
  font: 11px var(--mono);
  text-decoration: none;
}

.back-link span {
  margin-left: 15px;
  font-size: 18px;
}

.back-link:hover,.text-button:hover {
  color: var(--rust);
}

.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  gap: 35px;
}

.eyebrow {
  font: 10px/1.5 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font: normal clamp(48px,6vw,72px)/1.1 var(--serif);
  letter-spacing: -.075em;
  margin: 11px 0 12px;
}

.intro-copy {
  font: 15px/1.6 var(--sans);
  color: var(--muted);
  margin: 0;
}

.archive-stamp {
  display: flex;
  align-items: center;
  gap: 23px;
  border-left: 1px solid var(--rule);
  padding: 18px 0 18px 38px;
  margin-top: 30px;
}

.archive-stamp p {
  margin: 0;
}

.archive-years {
  font: 23px/1.6 var(--serif);
  letter-spacing: -.025em;
}

.archive-stamp div>p:last-child {
  font: 10px/1.8 var(--mono);
  color: var(--muted);
}

.notice {
  border: 1px solid var(--rule);
  padding: 24px;
  margin-bottom: 30px;
}

.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  font: 11px var(--mono);
  color: var(--muted);
}

.section-line h2 {
  font: inherit;
  margin: 0;
}

.section-line time {
  color: var(--ink);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  border: 1px solid var(--ink);
}

.summary-card {
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  padding: 23px 26px 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
  min-height: 156px;
}

.summary-card:last-child {
  border-right: 0;
}

.summary-card:first-child {
  background: var(--lime);
}

.summary-card:hover {
  background: #e7ebd9;
}

.summary-card:first-child:hover {
  background: #d5e58e;
}

.summary-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font: 11px var(--mono);
}

.summary-number {
  font: normal 49px/1.4 var(--serif);
  letter-spacing: -.045em;
  display: block;
  margin: 2px 0 4px;
}

.summary-number small {
  font: 15px var(--sans);
  letter-spacing: 0;
  margin-left: 5px;
  color: var(--muted);
}

.summary-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font: 10px var(--mono);
  color: var(--muted);
}

.sparkline {
  width: 90px;
  height: 26px;
  flex-shrink: 0;
}

.summary-date {
  font-size: 9px;
}

.explorer {
  margin-top: 56px;
}

.explorer-heading,.journal-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

h2 {
  font: normal 35px/1.2 var(--serif);
  letter-spacing: -.04em;
  margin: 8px 0 0;
}

.text-button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 4px 0;
  font: 11px var(--mono);
  white-space: nowrap;
}

.text-button span[aria-hidden] {
  font: 18px var(--sans);
}

.metric-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.metric-tabs button {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 2px;
  padding: 7px 11px;
  font: 11px var(--mono);
  white-space: nowrap;
}

.metric-tabs button:hover {
  background: #e5e8dc;
}

.metric-tabs button[aria-pressed=true] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.chart-panel {
  background: var(--white);
  border: 1px solid var(--rule);
  --metric-color: var(--green);
}

.chart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 24px 7px;
}

.chart-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 11px var(--mono);
}

.chart-name h3 {
  font: inherit;
  font-weight: bold;
  margin: 0;
}

.chart-name>span:last-child {
  font-weight: normal;
  color: var(--muted);
  margin-left: 5px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--metric-color);
}

.range-tabs {
  display: flex;
  padding: 3px;
  gap: 3px;
  border: 1px solid var(--rule);
  border-radius: 3px;
}

.range-tabs button {
  font: 10px var(--mono);
  padding: 6px 10px;
  border: 0;
  background: transparent;
  border-radius: 1px;
}

.range-tabs button:hover {
  background: #e9eddf;
}

.range-tabs button[aria-pressed=true] {
  background: var(--lime);
}

.plot-wrap {
  height: 340px;
  position: relative;
  margin: 6px 17px 0;
}

.plot {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  touch-action: pan-y;
  cursor: crosshair;
  user-select: none;
}

.plot.dragging {
  cursor: grabbing;
}

.plot text {
  fill: var(--muted);
  font: 10px var(--mono);
}

.plot .grid-line {
  stroke: #e1e5d9;
  stroke-width: 1;
}

.plot .vertical-grid {
  stroke-dasharray: 2 5;
}

.plot .raw-line {
  stroke: var(--metric-color);
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
  fill: none;
  opacity: .35;
}

.plot .single-line {
  opacity: 1;
  stroke-width: 1.8;
}

.plot .trend-line {
  stroke: var(--metric-color);
  stroke-width: 2.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  fill: none;
}

.plot .area {
  fill: url(#chart-fill);
}

.plot .crosshair {
  stroke: var(--metric-color);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.plot .hover-dot {
  fill: var(--metric-color);
  stroke: var(--white);
  stroke-width: 3;
}

.tooltip {
  position: absolute;
  top: 20px;
  left: 50%;
  pointer-events: none;
  background: var(--ink);
  color: var(--white);
  padding: 11px 15px;
  min-width: 130px;
  box-shadow: 0 4px 12px #20393112;
  z-index: 2;
}

.tooltip span {
  display: block;
  font: 10px var(--mono);
  color: #c8d1bf;
}

.tooltip strong {
  display: block;
  font: 24px/1.5 var(--serif);
  font-weight: normal;
  white-space: nowrap;
}

.empty-chart {
  position: absolute;
  inset: 35% 0 auto;
  text-align: center;
  color: var(--muted);
  font: 13px var(--mono);
}

.chart-bottom {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 15px 23px 18px;
  border-top: 1px solid #e9ecdf;
  flex-wrap: wrap;
}

.trend-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font: 10px var(--mono);
  position: relative;
}

.trend-toggle input {
  position: absolute;
  opacity: 0;
  width: 29px;
  height: 17px;
  margin: 0;
}

.toggle-track {
  display: inline-block;
  width: 29px;
  height: 17px;
  background: #cbd1c2;
  border-radius: 10px;
  position: relative;
}

.toggle-track::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 11px;
  height: 11px;
  background: white;
  border-radius: 50%;
  transition: transform .15s;
}

.trend-toggle input:checked+.toggle-track {
  background: var(--green);
}

.trend-toggle input:checked+.toggle-track::after {
  transform: translateX(12px);
}

.trend-toggle input:focus-visible+.toggle-track {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}

.zoom-controls {
  display: flex;
  gap: 3px;
  margin-left: auto;
}

.zoom-controls button {
  font: 10px var(--mono);
  height: 26px;
  min-width: 26px;
  padding: 0 7px;
  border: 1px solid var(--rule);
  background: transparent;
}

.zoom-controls button:hover {
  background: var(--lime);
}

.zoom-controls button:first-child,.zoom-controls button:nth-child(2) {
  font: 16px var(--sans);
}

.chart-help {
  font: 9px var(--mono);
  color: var(--muted);
}

.period-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  margin-top: 23px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 19px;
}

.period-stat {
  padding: 0 22px;
  border-left: 1px solid var(--rule);
}

.period-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.period-stat .label {
  display: block;
  font: 10px var(--mono);
  color: var(--muted);
  margin-bottom: 7px;
}

.period-stat .value {
  font: 25px/1 var(--serif);
  letter-spacing: -.025em;
}

.period-stat .value small {
  font: 11px var(--sans);
  color: var(--muted);
  letter-spacing: 0;
}

.range-note {
  font: 9px/1.6 var(--mono);
  margin: 11px 0 0;
  color: var(--muted);
}

.journal {
  margin-top: 54px;
}

.journal-heading {
  margin-bottom: 23px;
}

.journal-heading>p {
  margin: 0;
  font: 10px/1.7 var(--mono);
  color: var(--muted);
  text-align: right;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font: 12px var(--mono);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

th {
  font-size: 10px;
  font-weight: normal;
  color: var(--muted);
  padding: 13px 16px;
  border-block: 1px solid var(--ink);
  white-space: nowrap;
}

th span {
  opacity: .65;
  margin-left: 5px;
}

td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--rule);
}

th:first-child,td:first-child {
  text-align: left;
  padding-left: 0;
}

th:last-child,td:last-child {
  padding-right: 0;
}

td:nth-child(2) {
  font-weight: bold;
}

tbody tr:hover {
  background: #e9ecdf;
}

.table-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 17px 0 0;
  gap: 15px;
}

.table-bottom>span {
  font: 10px var(--mono);
  color: var(--muted);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 66px;
  padding: 25px 0 31px;
  border-top: 1px solid var(--ink);
  font: 10px var(--mono);
}

footer>a:first-child {
  font-weight: bold;
  text-decoration: none;
}

footer>a:last-child {
  text-decoration: none;
}

footer>a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 5;
  padding: 10px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip:focus {
  transform: translateY(0);
}

@media(min-width:1450px) {
  .site {
    max-width: 1336px;
  }
  .intro {
    padding-top: 38px;
    padding-bottom: 38px;
  }
  .plot-wrap {
    height: 360px;
  }
}

@media(max-width:900px) {
  .site {
    padding-inline: 28px;
  }
  .archive-stamp {
    padding-left: 22px;
    gap: 13px;
  }
  .summary-card {
    padding: 20px;
  }
  .summary-number {
    font-size: 42px;
  }
  .sparkline {
    width: 68px;
  }
  .chart-help {
    width: 100%;
    text-align: right;
  }
  .plot-wrap {
    height: 310px;
  }
  .summary-foot {
    font-size: 9px;
  }
  .summary-date {
    display: none;
  }
}

@media(max-width:620px) {
  .site {
    padding-inline: 20px;
  }
  .topbar {
    height: 73px;
  }
  .brand {
    font-size: 17px;
    gap: 8px;
  }
  .brand svg {
    width: 36px;
    height: 31px;
  }
  .brand-slash {
    margin-inline: 4px;
  }
  .back-link {
    font-size: 9px;
  }
  .back-link span {
    margin-left: 4px;
  }
  .intro {
    padding: 35px 0 32px;
    gap: 12px;
    align-items: flex-end;
  }
  .intro-copy {
    font-size: 12px;
  }
  .intro h1 {
    font-size: 52px;
    margin-block: 10px;
  }
  .archive-stamp {
    border-left: 0;
    display: block;
    padding: 0;
    margin: 0 0 3px;
    text-align: right;
    flex-shrink: 0;
  }
  .archive-stamp .eyebrow {
    display: block;
    font-size: 8px;
  }
  .archive-years {
    font-size: 16px;
  }
  .archive-stamp div>p:last-child {
    font-size: 8px;
  }
  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }
  .summary-card {
    padding: 17px;
    min-height: 136px;
  }
  .summary-card:first-child {
    grid-column: 1/-1;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
    min-height: 146px;
  }
  .summary-card:nth-child(2) {
    border-right: 1px solid var(--ink);
  }
  .summary-card:first-child .summary-number {
    font-size: 57px;
    line-height: 1.15;
    margin: 6px 0 8px;
  }
  .summary-card:first-child .sparkline {
    width: 110px;
    height: 29px;
    position: absolute;
    right: 20px;
    top: 65px;
  }
  .summary-card:first-child .summary-date {
    display: inline;
  }
  .summary-card:first-child .summary-foot {
    justify-content: flex-start;
  }
  .summary-number {
    font-size: 38px;
    margin-block: 5px;
    line-height: 1.2;
  }
  .summary-label {
    font-size: 10px;
  }
  .summary-foot {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 8px;
  }
  .sparkline {
    width: 65px;
    height: 19px;
  }
  .explorer {
    margin-top: 38px;
  }
  h2 {
    font-size: 28px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .explorer-heading {
    gap: 10px;
    margin-bottom: 20px;
  }
  .text-button {
    font-size: 9px;
    gap: 7px;
  }
  .metric-tabs {
    gap: 4px;
    margin-bottom: 15px;
  }
  .metric-tabs button {
    padding: 7px 8px;
    font-size: 10px;
  }
  .chart-toolbar {
    padding: 17px 12px 5px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
  }
  .chart-name {
    font-size: 10px;
    margin: 2px 0 0 3px;
  }
  .range-tabs {
    margin-left: auto;
  }
  .range-tabs button {
    padding: 5px 6px;
    font-size: 9px;
  }
  .plot-wrap {
    height: 280px;
    margin-inline: 7px;
  }
  .plot text {
    font-size: 9px;
  }
  .chart-bottom {
    padding: 12px;
    gap: 8px;
  }
  .trend-toggle {
    font-size: 9px;
  }
  .chart-help {
    font-size: 8px;
    text-align: left;
    line-height: 1.6;
  }
  .period-stats {
    margin-top: 20px;
    grid-template-columns: 1fr 1fr;
    gap: 20px 0;
  }
  .period-stat {
    padding-inline: 15px;
  }
  .period-stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .period-stat .label {
    font-size: 9px;
  }
  .period-stat .value {
    font-size: 23px;
  }
  .range-note {
    font-size: 8px;
  }
  .journal {
    margin-top: 37px;
  }
  .journal-heading {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 19px;
  }
  .journal-heading>p {
    font-size: 8px;
    max-width: 115px;
    padding-top: 3px;
  }
  .journal h2 {
    font-size: 26px;
  }
  table {
    font-size: 10px;
  }
  th {
    font-size: 8px;
    padding: 11px 7px;
  }
  td {
    padding: 13px 7px;
  }
  th span {
    display: block;
    margin: 1px 0 0;
  }
  .table-bottom>span {
    font-size: 9px;
  }
  footer {
    margin-top: 44px;
    padding: 22px 0;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 9px;
  }
  .tooltip {
    padding: 9px 12px;
    min-width: 112px;
  }
  .tooltip strong {
    font-size: 21px;
  }
  .tooltip span {
    font-size: 9px;
  }
}

@media(max-width:370px) {
  .site {
    padding-inline: 14px;
  }
  .intro {
    gap: 7px;
  }
  .archive-years {
    font-size: 14px;
  }
  .intro-copy {
    font-size: 11px;
  }
  .intro h1 {
    font-size: 46px;
  }
  .chart-toolbar {
    gap: 13px;
  }
  .range-tabs {
    width: 100%;
    justify-content: space-between;
  }
  .range-tabs button {
    flex: 1;
  }
  .journal h2 {
    font-size: 23px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    transition: none!important;
  }
}

/* Live measurements retain their own dates when sources update independently. */
.sync-status {
  margin: 12px 0 0;
  font: 9px/1.5 var(--mono);
  color: var(--muted);
}

.sync-status::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  background: #9da58e;
  border-radius: 50%;
  vertical-align: 1px;
}

.summary-label>span:last-child {
  font: 18px var(--sans);
  opacity: .65;
}

.summary-label .summary-record-date {
  display: block;
  margin-top: 5px;
  font: 9px/1.4 var(--mono);
  color: var(--muted);
  opacity: 1;
}

@media(max-width:620px) {
  .sync-status {
    max-width: 190px;
    font-size: 8px;
  }
  .summary-label .summary-record-date {
    font-size: 8px;
  }
  .summary-card:first-child .sparkline {
    top: 77px;
  }
}

/* Separate personal notebooks; links also work without client-side routing. */
#page-title small {
  font-size: .35em;
  font-weight: 400;
  letter-spacing: -.03em;
  color: var(--muted, #6d7167);
}

.profile-tabs {
  display: flex;
  gap: .4rem;
  margin: 1rem 0;
}

.profile-tabs a {
  border: 1px solid #c9cec3;
  border-radius: 2px;
  padding: .45rem 1.2rem;
  text-decoration: none;
}

.profile-tabs a[aria-current="page"] {
  color: #fff;
  background: #365d4a;
  border-color: #365d4a;
}

.profile-tabs a:focus-visible {
  outline: 2px solid #365d4a;
  outline-offset: 3px;
}

.metric-note {
  padding: 1rem;
  margin: 0 1rem 1rem;
  background: #e9ece2;
  font-size: .9rem;
  line-height: 1.6;
  border-radius: .5rem;
}

.pressure {
  margin-top: 54px;
}

.pressure-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.pressure-value {
  font: normal clamp(30px,6vw,48px)/1.3 var(--serif);
  letter-spacing: -.035em;
  margin: 8px 0;
}

.pressure-summary p:last-child {
  margin-bottom: 0;
}

.pressure-summary #pressure-latest-time {
  font: 10px var(--mono);
  color: var(--muted);
}

.pressure-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font: 10px var(--mono);
}

.pressure-legend span:first-child {
  color: var(--rust);
}

.pressure-legend span:last-child {
  color: #426786;
}

.pressure .plot-wrap {
  height: 260px;
}

.pressure-line {
  fill: none;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.pressure-history {
  margin-top: 24px;
}

.pressure-history th {
  white-space: normal;
}

.pressure-history time {
  white-space: nowrap;
}

@media(max-width:620px) {
  .pressure {
    margin-top: 38px;
  }
  .pressure-summary {
    align-items: flex-start;
    gap: 12px;
  }
  .pressure-legend {
    max-width: 105px;
    font-size: 9px;
    padding-top: 10px;
  }
  .pressure-history th {
    font-size: 8px;
  }
  .pressure .empty-chart {
    font-size: 10px;
    padding: 0 12px;
  }
}

.health {
  margin-top: 54px;
  min-width: 0;
}

.health-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.health-toolbar label {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 11px var(--mono);
  min-width: 0;
}

.health select {
  max-width: 100%;
  min-width: 0;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 8px;
  font: 11px var(--mono);
}

.health-toolbar select {
  max-width: 380px;
}

.health .plot-wrap {
  height: 260px;
}

.health .pressure-legend {
  max-width: 50%;
}

.health-start {
  display: block;
  font-size: 9px;
  font-weight: normal;
  color: var(--muted);
}

.health pre {
  max-width: 350px;
  max-height: 300px;
  overflow: auto;
  text-align: left;
  font: 10px var(--mono);
  white-space: pre-wrap;
}

.health .table-wrap {
  max-width: 100%;
}

.health td {
  white-space: nowrap;
}

.health details {
  white-space: normal;
  min-width: 100px;
}

.health .chart-name {
  min-width: 0;
}

.health .chart-name select {
  max-width: 260px;
}

@media(max-width:620px) {
  .health {
    margin-top: 38px;
  }
  .health-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .health-toolbar label {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .health-toolbar select {
    width: 100%;
  }
  .health .chart-name select {
    max-width: 180px;
    font-size: 10px;
  }
  .health .pressure-value {
    font-size: 32px;
  }
  .health-start {
    font-size: 8px;
  }
  .health .pressure-legend {
    font-size: 8px;
    max-width: 45%;
  }
  .health pre {
    max-width: 220px;
  }
}

.profile-tabs {
  flex-wrap: wrap;
}

.intro>div:first-child {
  min-width: 0;
}

@media(max-width:370px) {
  .intro {
    flex-wrap: wrap;
  }
  .intro>div:first-child {
    flex-basis: 100%;
  }
  .archive-stamp {
    margin-left: auto;
  }
}

.health-disclosure {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 19px 0;
  border-block: 1px solid var(--rule);
  font: 13px var(--mono);
}

.health-disclosure::-webkit-details-marker {
  display: none;
}

.health-disclosure-action::after {
  content: 'Pokaż +';
  font: 10px var(--mono);
  color: var(--muted);
}

.health[open]>.health-disclosure .health-disclosure-action::after {
  content: 'Schowaj −';
}

.health[open]>.health-disclosure {
  margin-bottom: 30px;
}

.health-disclosure:hover {
  color: var(--rust);
}

.health-disclosure:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}

.daily-activity {
  margin-top: 32px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}

.activity-card {
  min-width: 0;
  text-align: left;
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 23px 25px 20px;
  transition: background .15s;
}

.activity-steps {
  background: var(--lime);
}

.activity-card:hover {
  background: #e7ebd9;
}

.activity-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.activity-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #20393135;
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-icon svg {
  width: 23px;
  height: 23px;
}

.activity-label {
  font: 12px var(--mono);
}

.activity-label time {
  display: block;
  font: 9px/1.6 var(--mono);
  color: var(--muted);
  margin-top: 4px;
}

.activity-arrow {
  margin-left: auto;
  font: 21px var(--serif);
}

.activity-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 14px;
}

.activity-number {
  font: normal clamp(36px,4vw,53px)/1 var(--serif);
  letter-spacing: -.04em;
  white-space: nowrap;
}

.activity-number small {
  display: block;
  font: 11px/1.5 var(--mono);
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 7px;
}

.activity-bars {
  height: 45px;
  max-width: 125px;
  min-width: 45px;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 4px;
}

.activity-bars span {
  width: 6px;
  max-width: 9px;
  min-width: 2px;
  background: var(--green);
  opacity: .35;
  border-radius: 2px 2px 0 0;
}

.activity-calories .activity-bars span {
  background: var(--rust);
}

.activity-bars span:last-child {
  opacity: 1;
}

.activity-note {
  display: block;
  font: 9px/1.6 var(--mono);
  color: var(--muted);
}

@media(max-width:620px) {
  .activity-grid {
    gap: 10px;
  }
  .activity-card {
    padding: 16px 14px;
  }
  .activity-card-top {
    gap: 8px;
  }
  .activity-icon {
    width: 28px;
    height: 28px;
  }
  .activity-icon svg {
    width: 19px;
    height: 19px;
  }
  .activity-label {
    font-size: 10px;
  }
  .activity-label time {
    font-size: 8px;
  }
  .activity-arrow {
    display: none;
  }
  .activity-main {
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 12px;
  }
  .activity-number {
    font-size: 39px;
  }
  .activity-bars {
    flex-basis: 100%;
    max-width: none;
    height: 26px;
    justify-content: flex-start;
    gap: 3px;
  }
  .activity-bars span {
    flex: 1;
    max-width: 8px;
  }
  .activity-note {
    font-size: 8px;
  }
  .activity-number small {
    font-size: 10px;
  }
  .daily-activity .section-line {
    font-size: 9px;
  }
}

@media(max-width:370px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }
  .activity-main {
    flex-wrap: nowrap;
  }
  .activity-bars {
    flex-basis: auto;
    max-width: 110px;
    height: 37px;
    justify-content: flex-end;
  }
  .activity-label {
    font-size: 11px;
  }
  .activity-number {
    font-size: 44px;
  }
}
