/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --font-weight-semibold: 600;
    --default-font-family: Arial, Helvetica, sans-serif;
    --default-mono-font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: Arial, Helvetica, sans-serif;
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .isolate {
    isolation: isolate;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .rotate-180 {
    rotate: 180deg;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .items-center {
    align-items: center;
  }
  .justify-between {
    justify-content: space-between;
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
}
:root {
  --bg: #f5f7f6;
  --surface: #fff;
  --surface-raised: #f0f4f2;
  --text: #17251f;
  --muted: #617068;
  --border: #dce4df;
  --accent: #08785b;
  --accent-bright: #086b51;
  --accent-soft: #e3f4ec;
  --click-bg: #edf8f2;
  --click-flash: #c6efdd;
  --click-border: #a4ceba;
  --shadow: 0 6px 30px #133a2510;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #141716;
  --surface: #1c201e;
  --surface-raised: #232925;
  --text: #edf2ef;
  --muted: #9ba89f;
  --border: #303833;
  --accent: #5ed8b1;
  --accent-bright: #7de5c2;
  --accent-soft: #243b30;
  --click-bg: #1c3027;
  --click-flash: #2c5742;
  --click-border: #365b46;
  --shadow: 0 8px 30px #00000012;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #141716;
    --surface: #1c201e;
    --surface-raised: #232925;
    --text: #edf2ef;
    --muted: #9ba89f;
    --border: #303833;
    --accent: #5ed8b1;
    --accent-bright: #7de5c2;
    --accent-soft: #243b30;
    --click-bg: #1c3027;
    --click-flash: #2c5742;
    --click-border: #365b46;
    color-scheme: dark;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
select,
summary {
  touch-action: manipulation;
}
button,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible,
textarea:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.25;
}
h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -1.6px;
  font-weight: 700;
}
h2 {
  font-size: 1.5rem;
  letter-spacing: -0.6px;
  font-weight: 650;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
}
p {
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.accent {
  color: var(--accent) !important;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.9px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tiny-line {
  width: 22px;
  height: 2px;
  background: var(--accent);
}
.section-label {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.site-header {
  height: 84px;
  border-bottom: 1px solid var(--border);
}
.nav-shell,
.page-shell,
.site-footer {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.nav-shell {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.7px;
  white-space: nowrap;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 9px;
}
.brand-dot {
  color: var(--accent);
  margin-left: -8px;
}
.main-nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--muted);
}
.main-nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}
.main-nav .nav-test {
  color: var(--text);
}
.theme-switch {
  display: flex;
  align-items: center;
  border-left: 1px solid var(--border);
  padding-left: 22px;
  gap: 7px;
  color: var(--muted);
}
.theme-switch select {
  background: transparent;
  border: 0;
  font-size: 12px;
  width: 75px;
  padding: 5px 0;
  cursor: pointer;
}
.theme-switch option,
select option {
  background: var(--surface);
  color: var(--text);
}
.page-intro {
  padding-top: 44px;
  padding-bottom: 30px;
}
.page-intro h1 {
  overflow-wrap: anywhere;
  margin-top: 12px;
}
.page-intro p {
  margin-top: 12px;
  font-size: 15px;
  max-width: 790px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 255px;
  gap: 28px;
  scroll-margin-top: 20px;
}
.duration-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  min-height: 43px;
}
.duration-options {
  display: flex;
  gap: 7px;
}
.duration-options a,
.duration-options button {
  min-width: 55px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  background: var(--surface);
}
.duration-options span {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.duration-options .selected {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.duration-options .selected span {
  color: var(--accent);
}
.duration-options a:hover {
  border-color: var(--accent);
}
.test-card {
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  padding: 22px 0 24px;
}
.metric {
  text-align: center;
  border-right: 1px solid var(--border);
}
.metric:nth-child(3) {
  border: 0;
}
.metric > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 9px;
}
.metric strong {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -1.5px;
  font-weight: 500;
}
.metric small {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 7px;
}
.time-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  width: 100%;
  transform-origin: left;
  opacity: 0;
}
.is-running .time-progress {
  opacity: 1;
}
.click-area {
  height: 278px;
  width: 100%;
  border: 1px solid var(--click-border);
  border-radius: 7px;
  background: var(--click-bg);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  overflow: hidden;
  color: var(--accent);
}
.click-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--click-border) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.42;
  pointer-events: none;
}
.click-area > * {
  position: relative;
}
.click-area.completed,
.click-area.cancelled {
  cursor: default;
}
.click-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--click-border);
  border-radius: 17px;
  background: var(--click-bg);
  margin-bottom: 15px;
  box-shadow: 0 0 25px #5ed8b108;
}
.click-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1.3;
}
.click-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 9px 16px 0;
}
.click-duration {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
  margin-top: 22px;
}
.corner-mark {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--accent);
  opacity: 0.45;
}
.top-left {
  left: 14px;
  top: 14px;
  border-left: 1px solid;
  border-top: 1px solid;
}
.top-right {
  right: 14px;
  top: 14px;
  border-right: 1px solid;
  border-top: 1px solid;
}
.bottom-left {
  left: 14px;
  bottom: 14px;
  border-left: 1px solid;
  border-bottom: 1px solid;
}
.bottom-right {
  right: 14px;
  bottom: 14px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}
.test-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 48px;
  padding: 0 10px;
  font-size: 12px;
  color: var(--muted);
}
.status-label {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.status-label i {
  width: 5px;
  height: 5px;
  background: var(--muted);
  border-radius: 50%;
}
.status-label i.live {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.rule {
  font-size: 12px;
}
.text-button {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 7px 0;
}
.text-button:hover {
  color: var(--accent);
}
.test-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  min-height: 42px;
  padding: 10px 0;
}
.test-footnote svg {
  flex-shrink: 0;
}
.session-heading {
  height: 61px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.session-heading .section-label {
  font-size: 12px;
  letter-spacing: 1.4px;
}
.session-heading .text-xs {
  font-size: 12px;
}
.session-card {
  padding: 19px 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  margin-bottom: 10px;
}
.session-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}
.session-label svg {
  color: var(--accent);
}
.session-card .session-heading-value {
  margin-top: 14px;
  font-size: 16px;
  letter-spacing: -0.25px;
}
.session-card p {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 6px;
}
.session-number {
  font-family: ui-monospace, monospace;
  font-size: 30px;
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: -1px;
  color: var(--accent);
}
.session-number span {
  font-family: Arial, sans-serif;
  letter-spacing: 0;
  font-size: 12px;
  margin-left: 7px;
  color: var(--muted);
}
.target-card {
  background: transparent;
}
.last-card {
  padding-top: 15px;
  padding-bottom: 15px;
  background: transparent;
}
.last-card .session-heading-value {
  font-size: 14px;
  margin-top: 10px;
}
.local-note {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  padding: 11px 3px;
  font-size: 12px;
}
.local-note strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.local-note span {
  display: block;
  font-size: 12px;
  margin-top: 2px;
}
.notice {
  font-size: 13px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 16px;
}
.history-section {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-heading h2 {
  font-size: 20px;
}
.section-heading p {
  font-size: 12px;
  margin-top: 5px;
}
.history-filters {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.history-filters label {
  min-width: 0;
}
.history-filters select {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 6px;
  padding: 7px 28px 7px 10px;
  font-size: 12px;
  color: var(--muted);
  max-width: 100%;
}
.history-empty {
  border: 1px dashed var(--border);
  border-radius: 10px;
  text-align: center;
  padding: 24px 20px;
  margin-top: 15px;
}
.empty-icon {
  color: var(--muted);
  display: flex;
  justify-content: center;
  margin-bottom: 9px;
}
.history-empty h3 {
  font-size: 14px;
}
.history-empty p {
  font-size: 12px;
  margin-top: 4px;
}
.related-section {
  margin-top: 58px;
}
.related-section h2,
.how-section h2 {
  margin-top: 10px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 23px;
}
.related-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 21px 23px;
  transition: border-color 0.15s,
    background 0.15s;
}
.related-card:hover {
  border-color: var(--accent);
  background: var(--surface);
}
.related-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent);
  margin-bottom: 22px;
}
.related-card-top span {
  font-family: ui-monospace, monospace;
  font-size: 15px;
  color: var(--muted);
}
.related-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.related-card p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 270px;
}
.how-section {
  margin-top: 62px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 30px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 28px;
}
.step-number {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--accent);
}
.step h3 {
  margin-top: 14px;
  margin-bottom: 10px;
}
.step p {
  font-size: 13px;
  line-height: 1.8;
}
.duration-tip {
  font-size: 13px;
  border-left: 2px solid var(--accent);
  padding: 10px 18px;
  margin-top: 28px;
  background: var(--surface);
}
.explain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 60px 0 72px;
}
.explain-grid h2 {
  font-size: 21px;
}
.calculation p {
  font-size: 13px;
  line-height: 1.85;
  margin-top: 15px;
}
.formula {
  padding: 19px 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  margin-top: 20px;
  font-family: ui-monospace, monospace;
  font-size: 15px;
  color: var(--accent);
  text-align: center;
}
.calculation .rest-note {
  font-size: 12px;
}
.faq .eyebrow {
  font-size: 12px;
  margin-bottom: 10px;
}
.faq h2 {
  margin-bottom: 20px;
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
  padding: 19px 0;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary span {
  color: var(--accent);
  font-size: 20px;
  font-weight: 300;
}
.faq details[open] summary span {
  transform: rotate(45deg);
}
.faq details p {
  font-size: 13px;
  line-height: 1.8;
  padding-bottom: 20px;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  padding-bottom: 22px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-top .brand {
  font-size: 18px;
}
.footer-top .brand svg {
  color: var(--accent);
}
.footer-top p {
  font-size: 12px;
  margin-top: 6px;
}
.footer-top nav {
  display: flex;
  gap: 25px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-top: 30px;
}
.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  min-height: 42px;
}
.primary-button {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--bg);
}
.primary-button:hover {
  background: var(--accent-bright);
}
.secondary-button {
  background: var(--surface);
  border: 1px solid var(--border);
}
.secondary-button:hover {
  border-color: var(--accent);
}
.danger-button {
  background: #ab3232;
  border: 1px solid #ab3232;
  color: #fff;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  color: var(--muted);
}
.icon-button:hover {
  background: var(--surface-raised);
  color: var(--text);
}
.result-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 28px;
  margin-top: 24px;
  animation: reveal 0.25s ease-out;
}
.result-panel.new-best {
  border-color: var(--accent);
}
.result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.result-top h2 {
  margin-top: 9px;
  outline: none;
}
.result-badge {
  font-size: 12px;
  color: var(--accent);
  display: flex;
  gap: 7px;
  align-items: center;
  background: var(--accent-soft);
  padding: 7px 11px;
  border-radius: 6px;
}
.result-body {
  display: flex;
  align-items: center;
  gap: 45px;
  padding: 24px 0;
}
.result-score {
  flex: 0 0 30%;
  white-space: nowrap;
}
.result-score > strong {
  font-family: ui-monospace, monospace;
  font-size: 60px;
  letter-spacing: -3px;
  color: var(--accent);
  font-weight: 500;
}
.result-score > span {
  color: var(--accent);
  font-size: 14px;
  margin-left: 10px;
}
.result-score p {
  font-size: 12px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 30px;
  width: 100%;
  border-left: 1px solid var(--border);
  padding-left: 30px;
}
.comparison-grid span {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.comparison-grid strong {
  font-size: 13px;
  font-weight: 500;
}
.rhythm {
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
.rhythm h3 {
  font-size: 13px;
}
.bar-chart {
  display: flex;
  gap: 4px;
  height: 116px;
  align-items: end;
  margin-top: 12px;
}
.bar-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.bar-track {
  height: 75px;
  display: flex;
  align-items: end;
  width: 100%;
  justify-content: center;
}
.bar-fill {
  width: 100%;
  max-width: 72px;
  background: var(--accent);
  opacity: 0.75;
  border-radius: 3px 3px 0 0;
  min-height: 0;
}
.bar-value {
  font-size: 12px;
  color: var(--muted);
  height: 17px;
}
.bar-label {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.result-actions {
  display: flex;
  gap: 10px;
  margin-top: 23px;
  flex-wrap: wrap;
}
.history-table {
  position: relative;
  overflow: auto;
  margin-top: 18px;
}
.history-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
.history-table th {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 500;
  padding: 12px;
}
.history-table td {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
.progress-chart {
  margin-top: 20px;
}
.progress-chart h3 {
  font-size: 12px;
  color: var(--muted);
}
.progress-chart svg {
  width: 100%;
  height: 100px;
}
.modal {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 27px;
  max-width: 520px;
  width: calc(100vw - 32px);
  box-shadow: 0 25px 80px #0006;
  margin: auto;
}
.modal::backdrop {
  background: #0009;
  backdrop-filter: blur(3px);
}
.modal h2 {
  font-size: 22px;
}
.modal p {
  font-size: 14px;
  margin-top: 15px;
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal textarea {
  width: 100%;
  height: 135px;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  line-height: 1.8;
  border-radius: 7px;
  resize: vertical;
}
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.share-status {
  min-height: 22px;
  color: var(--accent);
}
.info-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 65px 32px 90px;
  min-height: 60vh;
}
.info-page h1 {
  margin-top: 16px;
}
.info-intro {
  font-size: 18px;
  margin-top: 20px;
}
.info-page section {
  margin-top: 36px;
}
.info-page h2 {
  font-size: 22px;
}
.info-page p {
  margin-top: 14px;
  line-height: 1.85;
}
.info-page > .primary-button {
  margin-top: 25px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1400px) {
  .page-intro {
    padding-top: 52px;
  }
  .click-area {
    height: 300px;
  }
}
@media (max-width: 950px) {
  .nav-shell,
  .page-shell,
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) 215px;
    gap: 20px;
  }
  .duration-row {
    gap: 13px;
  }
  .duration-options {
    gap: 5px;
  }
  .duration-options a,
  .duration-options button {
    min-width: 46px;
  }
  .rule {
    font-size: 12px;
  }
  .session-card {
    padding: 17px 16px;
  }
  .metric strong {
    font-size: 30px;
  }
  .metric small {
    font-size: 12px;
    margin-left: 3px;
  }
  .explain-grid {
    gap: 35px;
  }
  .click-hint {
    font-size: 12px;
  }
  .main-nav {
    gap: 18px;
  }
  .nav-shell {
    gap: 22px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 68px;
  }
  .nav-shell,
  .page-shell,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav-shell {
    gap: 16px;
  }
  .brand {
    font-size: 19px;
  }
  .main-nav {
    gap: 16px;
    font-size: 12px;
  }
  .nav-test {
    display: none;
  }
  .theme-switch {
    padding-left: 14px;
  }
  .theme-switch select {
    width: 66px;
  }
  .page-intro {
    padding-top: 30px;
    padding-bottom: 23px;
  }
  .page-intro h1 {
    font-size: 29px;
    letter-spacing: -1.1px;
  }
  .page-intro p {
    font-size: 14px;
    max-width: 550px;
    line-height: 1.75;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.4px;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .duration-row {
    justify-content: space-between;
    margin-bottom: 14px;
  }
  .duration-options a,
  .duration-options button {
    min-width: 53px;
  }
  .click-area {
    height: 260px;
  }
  .metrics {
    padding: 20px 0;
  }
  .metric strong {
    font-size: 34px;
  }
  .metric small {
    font-size: 12px;
    margin-left: 6px;
  }
  .rule {
    font-size: 12px;
  }
  .session-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .session-heading,
  .last-card,
  .local-note {
    display: none;
  }
  .session-card {
    margin: 0;
    padding: 17px;
  }
  .session-card .session-heading-value {
    font-size: 15px;
    margin-top: 10px;
  }
  .session-card p {
    font-size: 12px;
  }
  .session-number {
    font-size: 25px;
  }
  .history-section {
    margin-top: 30px;
  }
  .related-section {
    margin-top: 42px;
  }
  .related-grid {
    gap: 10px;
  }
  .related-card {
    padding: 17px;
  }
  .related-card p {
    font-size: 12px;
  }
  .related-card h3 {
    font-size: 14px;
  }
  .related-card-top {
    margin-bottom: 16px;
  }
  .steps-grid {
    gap: 20px;
  }
  .explain-grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 40px;
  }
  .how-section {
    margin-top: 42px;
    padding-top: 32px;
  }
  .result-body {
    gap: 25px;
  }
  .result-score > strong {
    font-size: 44px;
  }
  .comparison-grid {
    padding-left: 20px;
    gap: 14px;
  }
  .result-badge {
    font-size: 12px;
  }
  .result-panel {
    padding: 22px;
  }
  .result-top h2 {
    font-size: 21px;
  }
  .footer-top nav {
    gap: 18px;
  }
}
@media (max-width: 480px) {
  .nav-shell,
  .page-shell,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .main-nav {
    margin-left: auto;
  }
  .main-nav a[href$='#how-it-works'] {
    display: none;
  }
  .theme-switch {
    padding-left: 12px;
    gap: 4px;
  }
  .theme-switch select {
    width: 63px;
  }
  .nav-shell {
    gap: 14px;
  }
  .page-intro {
    padding-top: 25px;
    padding-bottom: 20px;
  }
  .page-intro h1 {
    font-size: 27px;
    line-height: 1.18;
    letter-spacing: -0.85px;
    margin-top: 11px;
    max-width: 335px;
  }
  .page-intro p {
    font-size: 13px;
    line-height: 1.65;
    margin-top: 10px;
  }
  .duration-row {
    display: block;
  }
  .duration-row > .section-label {
    display: none;
  }
  .duration-options {
    justify-content: space-between;
    gap: 7px;
  }
  .duration-options a,
  .duration-options button {
    flex: 1;
    min-width: 0;
    height: 38px;
  }
  .metrics {
    padding: 18px 0;
  }
  .metric > span {
    font-size: 12px;
    gap: 5px;
    margin-bottom: 10px;
  }
  .metric > span svg {
    width: 12px;
  }
  .metric strong {
    font-size: 28px;
  }
  .metric small {
    font-size: 12px;
    margin-left: 4px;
  }
  .click-area {
    height: 224px;
  }
  .click-icon {
    width: 54px;
    height: 54px;
    border-radius: 13px;
    margin-bottom: 12px;
  }
  .click-icon svg {
    width: 29px;
  }
  .click-title {
    font-size: 25px;
  }
  .click-hint {
    font-size: 12px;
    margin-top: 8px;
    max-width: 260px;
  }
  .click-duration {
    margin-top: 16px;
    font-size: 12px;
  }
  .test-card {
    padding: 0 7px;
  }
  .test-status {
    height: 43px;
    padding: 0 5px;
    font-size: 12px;
  }
  .rule {
    max-width: 145px;
    text-align: right;
    line-height: 1.4;
    font-size: 12px;
  }
  .test-footnote {
    font-size: 12px;
    line-height: 1.5;
    min-height: 37px;
  }
  .session-card {
    padding: 14px;
  }
  .session-label {
    font-size: 12px;
    gap: 7px;
  }
  .session-label svg {
    width: 15px;
  }
  .session-card .session-heading-value {
    font-size: 13px;
    line-height: 1.5;
  }
  .session-card p {
    font-size: 12px;
  }
  .session-number {
    font-size: 25px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .history-filters select {
    font-size: 12px;
  }
  .history-empty {
    padding: 24px 15px;
  }
  .history-empty h3 {
    font-size: 13px;
  }
  .history-empty p {
    font-size: 12px;
    max-width: 250px;
    margin: 7px auto 0;
  }
  .related-section h2,
  .how-section h2 {
    font-size: 21px;
  }
  .related-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }
  .related-card {
    padding: 19px 20px;
    display: grid;
    grid-template-columns: 37px 1fr;
    column-gap: 14px;
  }
  .related-card-top {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 12px;
    grid-row: span 2;
    margin: 0;
  }
  .related-card-top span {
    font-size: 12px;
  }
  .related-card h3 {
    margin: 0 0 5px;
    font-size: 15px;
  }
  .related-card p {
    font-size: 12px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 25px;
  }
  .step {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 0 13px;
  }
  .step-number {
    grid-row: span 2;
    padding-top: 2px;
  }
  .step h3 {
    margin: 0 0 8px;
  }
  .step p {
    font-size: 13px;
  }
  .duration-tip {
    font-size: 12px;
  }
  .explain-grid {
    padding-bottom: 45px;
  }
  .footer-top {
    align-items: start;
    gap: 18px;
  }
  .footer-top nav {
    gap: 8px;
    flex-direction: column;
    font-size: 12px;
  }
  .footer-top p {
    font-size: 12px;
    max-width: 175px;
  }
  .footer-bottom {
    font-size: 12px;
    gap: 10px;
    align-items: end;
  }
  .footer-bottom span:last-child {
    text-align: right;
    max-width: 150px;
  }
  .result-top {
    align-items: start;
  }
  .result-top h2 {
    font-size: 20px;
  }
  .result-badge {
    font-size: 12px;
    padding: 5px 6px;
    max-width: 105px;
  }
  .result-badge svg {
    flex-shrink: 0;
    width: 14px;
  }
  .result-body {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
  .result-score > strong {
    font-size: 56px;
  }
  .comparison-grid {
    border-left: 0;
    padding-left: 0;
  }
  .result-panel {
    padding: 18px;
  }
  .rhythm .text-xs {
    font-size: 12px;
  }
  .bar-chart {
    gap: 2px;
  }
  .bar-label {
    font-size: 12px;
  }
  .result-actions {
    gap: 8px;
  }
  .result-actions button {
    flex: 1;
    white-space: nowrap;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 12px;
  }
  .info-page {
    padding: 40px 20px 60px;
  }
  .info-page h1 {
    font-size: 32px;
  }
  .info-intro {
    font-size: 16px;
  }
  .modal {
    padding: 22px;
  }
  .modal-actions button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.record-category {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 3px 0 7px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.click-area {
  height: 340px;
  min-height: 340px;
}
.mode-links {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
  font-size: 13px;
}
.mode-links a {
  color: var(--muted);
  padding-bottom: 5px;
}
.mode-links a[aria-current='page'] {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.challenge-settings {
  min-height: 66px;
  margin: 12px 0;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 15px;
}
.challenge-settings .muted,
.challenge-settings p {
  flex-basis: 100%;
  margin: 0;
}
.challenge-settings label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.challenge-settings input[type='number'] {
  width: 65px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
}
.race-toggle input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}
.inline-result {
  cursor: default;
  gap: 8px;
  padding: 18px 22px;
  text-align: center;
  touch-action: manipulation;
}
.inline-result h2 {
  font-size: 14px;
  margin: 0;
  color: var(--accent);
}
.inline-result p {
  margin: 0;
  font-size: 12px;
}
.inline-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.inline-score strong {
  font-size: 68px;
  font-weight: 650;
  letter-spacing: -3px;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.inline-score span {
  color: var(--accent);
  font-size: 15px;
}
.inline-result .result-actions {
  margin: 5px 0 0;
  gap: 10px;
}
.inline-result .result-explanation {
  max-width: 540px;
  color: var(--muted);
}
.retry-note {
  min-height: 16px;
  font-size: 12px;
  color: var(--muted);
}
[aria-disabled='true'].primary-button {
  opacity: 0.55;
}
.race-track {
  padding: 12px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  min-height: 112px;
}
.race-summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.race-summary strong {
  color: var(--accent);
}
.race-row {
  display: grid;
  grid-template-columns: 95px 1fr 35px;
  gap: 10px;
  align-items: center;
  margin: 7px 0;
}
.race-row b {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.race-bar {
  height: 6px;
  background: var(--border);
  overflow: hidden;
  border-radius: 6px;
}
.race-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
}
.race-bar.bar-1 i {
  background: var(--muted);
}
.rhythm-cells {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}
.rhythm-cell {
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 9px 2px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--muted);
}
.rhythm-cell strong {
  font-size: 22px;
  color: var(--text);
}
.rhythm-cell small {
  font-size: 12px;
  font-weight: 400;
}
.rhythm-cell.passed {
  border-color: var(--accent);
  color: var(--accent);
}
.rhythm-cell.missed {
  border-style: dashed;
  color: var(--text);
}
.rhythm-cell.active {
  background: var(--click-bg);
  border-color: var(--accent);
}
.segment-table {
  max-height: 220px;
  overflow: auto;
  margin: 12px 0;
}
.segment-table table {
  width: 100%;
  font-size: 13px;
  text-align: left;
  border-collapse: collapse;
}
.segment-table th,
.segment-table td {
  padding: 8px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 640px) {
  .click-area {
    height: 400px;
    min-height: 400px;
  }
  .inline-result {
    padding: 15px 12px;
    gap: 8px;
  }
  .inline-score strong {
    font-size: 60px;
  }
  .inline-result .result-actions {
    flex-direction: row;
    width: auto;
  }
  .inline-result .primary-button,
  .inline-result .secondary-button {
    padding: 12px 14px;
    font-size: 12px;
  }
  .race-track {
    padding: 12px;
  }
  .mode-links {
    margin-bottom: 12px;
  }
}
.inline-result .result-actions {
  flex-wrap: wrap;
  justify-content: center;
}
.race-ready {
  color: var(--accent);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.rhythm-session .session-card {
  display: block;
}
.rhythm-session .session-card p {
  margin-top: 8px;
}
.rhythm-history-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rhythm-history-row span,
.rhythm-history-row p {
  font-size: 12px;
  color: var(--muted);
}
.rhythm-history select {
  margin: 12px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.share-image {
  margin-top: 15px;
}
.share-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 12px 0;
}
.share-image p {
  font-size: 12px;
  margin: 10px 0;
}
.modal {
  max-height: 90dvh;
  overflow: auto;
}
@media (max-width: 640px) {
  .inline-result .result-actions {
    gap: 6px;
  }
  .inline-result .race-score-button {
    order: 3;
    flex-basis: 100%;
  }
  .inline-result .inline-score span {
    max-width: 80px;
    text-align: left;
    font-size: 12px;
  }
  .rhythm-session {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .rhythm-session .session-card {
    margin: 0;
  }
}
.modal-heading {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface);
  padding: 6px 0;
}
.modal-heading .icon-button {
  position: relative;
  z-index: 3;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}
.modal {
  scroll-behavior: auto;
  scroll-padding: 10px;
  max-width: min(520px, calc(100vw - 32px));
  min-width: 0;
}
.modal textarea {
  font-size: 16px;
}
.mode-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.mode-links a {
  min-width: 0;
  font-weight: 600;
}
.mode-links a span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
  margin-top: 3px;
}
.history-export {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.history-note {
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0;
}
.history-summaries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 12px;
}
.history-summary {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 16px;
}
.history-summary h3 {
  margin: 0 0 12px;
  font-size: 13px;
}
.history-summary dl {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 0;
}
.history-summary dt {
  font-size: 12px;
  color: var(--muted);
}
.history-summary dd {
  margin: 5px 0 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.pace-analysis {
  font-size: 13px;
  line-height: 1.7;
  margin: 18px 0;
}
.measurement-details summary {
  cursor: pointer;
  font-size: 14px;
  padding: 12px 0;
}
.history-table .secondary-button {
  margin-top: 12px;
}
.inline-result .result-detail {
  font-size: 14px;
  color: var(--text);
}
.result-panel > .result-explanation {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
}
.nav-controls {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 16px;
  margin-left: auto;
}
.language-picker {
  font-size: 12px;
  flex-shrink: 0;
}
.language-picker details {
  position: relative;
}
.language-picker summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 0 8px 8px;
  list-style: none;
  cursor: pointer;
  color: var(--muted);
}
.language-picker summary::-webkit-details-marker {
  display: none;
}
.language-name {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.language-code {
  display: none;
  text-transform: uppercase;
}
.language-picker details[open] summary,
.language-picker summary:hover {
  color: var(--accent);
}
.language-picker details > div {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  width: min(220px, calc(100vw - 32px));
  max-height: calc(100dvh - 90px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 12px 32px #0003;
}
.language-picker a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 5px;
}
.language-picker a:hover {
  background: var(--accent-soft);
}
.language-picker a[aria-current] {
  color: var(--accent);
  font-weight: 700;
}
@media (max-width: 1000px) {
  .nav-shell {
    gap: 20px;
  }
  .main-nav {
    gap: 16px;
  }
  .main-nav .nav-test {
    display: none;
  }
  .nav-controls {
    gap: 12px;
  }
}
@media (max-width: 760px) {
  .language-name {
    display: none;
  }
  .language-code {
    display: inline;
  }
  .nav-shell {
    gap: 12px;
  }
  .nav-controls {
    gap: 8px;
  }
}
.primary-button,
.secondary-button {
  white-space: normal;
  text-align: center;
}
@media (max-width: 480px) {
  .main-nav {
    min-width: 0;
  }
  .main-nav a {
    overflow-wrap: anywhere;
  }
  .theme-switch select {
    width: 80px;
  }
}
@media (max-width: 360px) {
  .main-nav {
    display: none;
  }
  .theme-switch {
    margin-left: auto;
  }
}
@media (max-width: 480px) {
  .language-picker summary {
    gap: 4px;
  }
  .nav-shell {
    gap: 8px;
  }
  .nav-controls {
    gap: 6px;
  }
  .theme-switch {
    position: relative;
    justify-content: center;
    width: 36px;
    height: 40px;
    flex: 0 0 36px;
    border: 0;
    padding: 0;
    margin-left: 0;
  }
  .theme-switch select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }
  .theme-switch:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 5px;
  }
  .page-intro {
    padding-top: 16px;
    padding-bottom: 14px;
  }
  .page-intro > .eyebrow {
    display: none;
  }
  .page-intro h1 {
    margin-top: 8px;
  }
  .mode-links {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .challenge-settings {
    margin: 8px 0;
    min-height: 56px;
    gap: 4px 12px;
  }
  .challenge-settings label {
    font-size: 13px;
  }
  .metrics {
    padding: 12px 0;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-font-weight: initial;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

.session-card .session-heading-value { font-weight: 600; }

/* Allow localized status copy to wrap at small widths. */
.test-status { height: auto; min-height: 48px; padding-block: 4px; }
.status-label { white-space: normal; }
.status-label i { flex: 0 0 5px; }
.rule { line-height: 1.4; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .test-status { height: auto; min-height: 43px; padding-block: 4px; gap: 8px; }
}
