.sc-block {
  display: flex;
  justify-content: flex-start;
  margin: 0.5em 0;
}
.sc-block[data-align='center'] { justify-content: center; }
.sc-block[data-align='end'] { justify-content: flex-end; }

.sc-empty {
  padding: 0.75em 1em;
  border: 1px dashed currentColor;
  border-radius: 8px;
  font-size: 0.875em;
  opacity: 0.7;
}

.sc-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 2.25em;
  margin: 0.25em 0;
  padding: 0.35em 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.9375em;
  line-height: 1.2;
  cursor: pointer;
}
.sc-trigger span {
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}
.sc-trigger:hover span { text-decoration-thickness: 2px; }
.sc-trigger:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; border-radius: 4px; }
.sc-icon { width: 1.15em; height: 1.15em; flex: none; color: var(--sc-accent); }

.sc-trigger[data-style='outline'],
.sc-trigger[data-style='solid'],
.sc-trigger[data-style='pill'] {
  padding: 0.55em 1em;
  border-radius: 6px;
}
.sc-trigger[data-style='outline'] { border: 1.5px solid var(--sc-accent); color: var(--sc-accent); }
.sc-trigger[data-style='solid'] { background: var(--sc-accent); color: #fff; }
.sc-trigger[data-style='solid'] .sc-icon { color: inherit; }
.sc-trigger[data-style='pill'] {
  border-radius: 999px;
  background: color-mix(in srgb, var(--sc-accent) 12%, transparent);
  color: var(--sc-accent);
}
.sc-trigger[data-style='outline'] span,
.sc-trigger[data-style='solid'] span,
.sc-trigger[data-style='pill'] span { text-decoration: none; }

.sc-trigger[data-sc-inline] {
  margin: 0 0 0 0.75em;
  min-height: 1.75em;
  vertical-align: middle;
}

.sc-trigger.sc-floating {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 0.9em 0.6em;
  border-radius: 8px 0 0 8px;
  background: var(--sc-accent);
  color: #fff;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.18);
}
.sc-trigger.sc-floating .sc-icon { color: inherit; transform: rotate(90deg); }
.sc-trigger.sc-floating span { text-decoration: none; }

html:has(.sc-dialog[open]) { overflow: hidden; }

.sc-dialog,
.sc-page {
  font-size: 16px;
  line-height: 1.5;
}
.sc-dialog {
  width: min(56em, calc(100vw - 2em));
  max-width: none;
  max-height: min(88vh, 52em);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--sc-radius, 12px);
  background: #fff;
  color: #1d1d1b;
  box-shadow: 0 24px 64px rgb(15 20 25 / 0.28);
  overscroll-behavior: contain;
}
.sc-dialog::backdrop {
  background: rgb(18 22 26 / 0.55);
  backdrop-filter: blur(3px);
}
.sc-dialog[open] { animation: sc-in 180ms ease-out; }
.sc-dialog[data-display='drawer'] {
  width: min(38em, 100vw);
  height: 100vh;
  max-height: none;
  margin: 0 0 0 auto;
  border-radius: var(--sc-radius, 12px) 0 0 var(--sc-radius, 12px);
}
.sc-dialog[data-display='drawer'][open] { animation-name: sc-slide; }

@media (max-width: 749px) {
  .sc-dialog,
  .sc-dialog[data-display='drawer'] {
    width: 100vw;
    height: auto;
    max-height: 90vh;
    margin: auto 0 0;
    border-radius: var(--sc-radius, 12px) var(--sc-radius, 12px) 0 0;
  }
  .sc-dialog[open],
  .sc-dialog[data-display='drawer'][open] { animation-name: sc-up; }
}

@keyframes sc-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes sc-slide { from { transform: translateX(100%); } }
@keyframes sc-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  .sc-dialog[open] { animation: none; }
}

.sc-sheet { position: relative; padding: 1.75em 2em 2em; }
.sc-close {
  position: absolute;
  top: 0.85em;
  right: 0.85em;
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #f2f2f0;
  color: #1d1d1b;
  cursor: pointer;
}
.sc-close svg { width: 1.1em; height: 1.1em; }
.sc-close:hover { background: #e6e6e3; }
.sc-close:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; }

.sc-chart {
  --sc-line: #e7e5df;
  font-size: 1em;
  line-height: 1.5;
}
.sc-head { padding-right: 3em; }
.sc-title { margin: 0 0 0.35em; font-size: 1.6em; line-height: 1.25; letter-spacing: -0.01em; color: inherit; }
.sc-intro { margin: 0; color: #5d5c57; }

.sc-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75em;
  margin: 1.1em 0 0.75em;
}
.sc-tabs { display: flex; flex-wrap: wrap; gap: 0.25em; }
.sc-tabs button {
  min-height: 2.25em;
  padding: 0.35em 0.9em;
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  background: #fff;
  color: #3b3a36;
  font: inherit;
  font-size: 0.875em;
  cursor: pointer;
}
.sc-tabs button[aria-selected='true'] { border-color: var(--sc-accent); background: var(--sc-accent); color: #fff; }
.sc-tabs button:focus-visible,
.sc-units button:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; }

.sc-units {
  display: inline-flex;
  margin-left: auto;
  padding: 3px;
  border-radius: 999px;
  background: #f0efeb;
}
.sc-units button {
  min-width: 2.75em;
  min-height: 2em;
  padding: 0.25em 0.75em;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #4a4944;
  font: inherit;
  font-size: 0.8125em;
  font-weight: 600;
  cursor: pointer;
}
.sc-units button[aria-pressed='true'] { background: #fff; color: #1d1d1b; box-shadow: 0 1px 3px rgb(0 0 0 / 0.14); }

.sc-panel[hidden] { display: none; }
.sc-scroll {
  overflow-x: auto;
  border: 1px solid var(--sc-line);
  border-radius: calc(var(--sc-radius, 12px) * 0.75);
  -webkit-overflow-scrolling: touch;
}
.sc-scroll:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
.sc-table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.sc-table th,
.sc-table td {
  padding: 0.75em 1em;
  border: 0;
  border-bottom: 1px solid var(--sc-line);
  text-align: center;
  white-space: nowrap;
}
.sc-table thead th {
  position: sticky;
  top: 0;
  background: var(--sc-head-bg, #f1ede4);
  color: var(--sc-head-text, #1d1d1b);
  font-size: 0.875em;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.sc-u { margin-left: 0.3em; font-weight: 500; opacity: 0.7; }
.sc-table tbody th {
  position: sticky;
  left: 0;
  background: #fff;
  font-weight: 650;
  text-align: left;
}
.sc-table thead th:first-child { left: 0; z-index: 1; text-align: left; }
.sc-table tbody tr:last-child > * { border-bottom: 0; }
.sc-chart[data-stripes] .sc-table tbody tr:nth-child(even) > * { background: #faf9f6; }
.sc-chart[data-highlight] .sc-table tbody tr:hover > *,
.sc-chart[data-highlight] .sc-table tbody .sc-col { background: color-mix(in srgb, var(--sc-accent) 9%, #fff); }
.sc-chart[data-highlight] .sc-table tbody tr:hover > .sc-col { background: color-mix(in srgb, var(--sc-accent) 20%, #fff); }

.sc-fit { margin-top: 1.25em; }
.sc-fit-label { display: block; margin-bottom: 0.5em; font-size: 0.8125em; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; color: #5d5c57; }
.sc-fit-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e9e6df, color-mix(in srgb, var(--sc-accent) 35%, #e9e6df), #e9e6df);
}
.sc-fit-dot {
  position: absolute;
  top: 50%;
  left: var(--sc-fit, 50%);
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--sc-accent);
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.25);
  transform: translate(-50%, -50%);
}
.sc-fit-ends { display: flex; justify-content: space-between; margin-top: 0.5em; font-size: 0.8125em; color: #5d5c57; }

.sc-guide {
  margin-top: 1.5em;
  padding: 1.1em;
  border-radius: calc(var(--sc-radius, 12px) * 0.75);
  background: color-mix(in srgb, var(--sc-head-bg, #f1ede4) 55%, #fff);
}
.sc-guide-title { margin: 0 0 0.85em; font-size: 1em; color: inherit; }
.sc-guide-body { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 1.25em; align-items: start; }
.sc-guide-body:not(:has(.sc-figure-wrap)) { grid-template-columns: minmax(0, 1fr); }
.sc-figure-wrap { padding: 0.5em; border-radius: 10px; background: #fff; }
.sc-figure { display: block; width: 100%; height: auto; }
.sc-figure .b { fill: #fbfaf7; stroke: #77746c; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.sc-figure .g { fill: none; stroke: #b8b4aa; stroke-width: 1.5; stroke-linecap: round; }
.sc-figure .m { fill: none; stroke: var(--sc-accent); stroke-width: 2.5; stroke-dasharray: 5 4; stroke-linecap: round; }
.sc-steps { margin: 0; padding: 0; list-style: none; counter-reset: sc-step; display: grid; gap: 0.7em; }
.sc-steps li { position: relative; padding-left: 2.1em; counter-increment: sc-step; }
.sc-steps li::before {
  content: counter(sc-step);
  position: absolute;
  left: 0;
  top: 0.05em;
  display: grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  border-radius: 999px;
  background: var(--sc-accent);
  color: #fff;
  font-size: 0.75em;
  font-weight: 700;
}
.sc-steps strong { display: block; }
.sc-steps span { color: #4a4944; }
.sc-note { margin: 1.1em 0 0; padding-left: 0.85em; border-left: 3px solid var(--sc-accent); color: #4a4944; }

@media (max-width: 749px) {
  .sc-sheet { padding: 1.25em 1em 1.5em; }
  .sc-title { font-size: 1.2em; }
  .sc-guide-body { grid-template-columns: 5.5em minmax(0, 1fr); gap: 0.85em; }
  .sc-table th,
  .sc-table td { padding: 0.55em 0.65em; }
}

.sc-page { margin: 1.5em 0; }
.sc-page-heading { margin: 0 0 1em; }
.sc-page-pick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.6em; margin-bottom: 1.25em; }
.sc-page-pick select { min-height: 2.75em; padding: 0 2.25em 0 0.85em; border: 1px solid #c9c6bd; border-radius: 8px; font: inherit; }
.sc-page-chart[hidden] { display: none; }
.sc-page .sc-head { padding-right: 0; }
.sc-block:empty { display: none; }
