/* HiTOP Web visual system: a quiet, clinician-ready shell that shares the
   BCI runner's palette without importing its application-specific styles. */
:root {
  --hitop-bg: #eef1f3;
  --hitop-card: #fbfcfd;
  --hitop-ink: #1b2226;
  --hitop-muted: #5c6670;
  --hitop-line: #dde3e7;
  --hitop-accent: #3c6e71;
  --hitop-accent-dark: #315b5e;
  --hitop-soft-accent: #e2efef;
  --hitop-info: #1c6ca8;
  --hitop-danger: #b3423a;
  --hitop-danger-bg: #fff5f4;
  --hitop-shadow: 0 24px 48px -20px rgba(20, 30, 35, .22), 0 2px 6px rgba(20, 30, 35, .06);
  --hitop-radius: 16px;
  --hitop-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hitop-heading: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
}

html { background: var(--hitop-bg); }
body,
.bslib-page-navbar,
.bslib-page-navbar > .container-fluid,
.navbar + .container-fluid,
.tab-content {
  min-height: 100%;
  background: var(--hitop-bg);
}
body {
  color: var(--hitop-ink);
  font-family: var(--hitop-font);
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--hitop-ink);
  font-family: var(--hitop-heading);
  font-weight: 700;
  letter-spacing: -.025em;
}

/* Application navigation */
.navbar {
  min-height: 68px;
  background: rgba(251, 252, 253, .96) !important;
  border-bottom: 1px solid var(--hitop-line);
  box-shadow: 0 6px 18px rgba(20, 30, 35, .05);
  backdrop-filter: blur(12px);
}
.navbar .container-fluid { max-width: 1280px; }
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--hitop-ink) !important;
  font-family: var(--hitop-heading);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -.02em;
}
.hitop-brand-mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--hitop-accent);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}
.hitop-brand-context {
  padding-left: 9px;
  border-left: 1px solid var(--hitop-line);
  color: var(--hitop-muted);
  font-family: var(--hitop-font);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 0;
}
.navbar .nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  color: var(--hitop-muted) !important;
  font-size: .91rem;
  font-weight: 650;
  padding: .55rem .8rem !important;
  transition: background-color .15s ease, color .15s ease;
}
.navbar .nav-link:hover { background: #edf4f4; color: var(--hitop-ink) !important; }
.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  background: var(--hitop-soft-accent);
  color: var(--hitop-accent-dark) !important;
}
.navbar-toggler { border-color: var(--hitop-line); border-radius: 10px; min-height: 42px; min-width: 46px; }

/* Shared surfaces and controls */
.hitop-clinician-shell,
.hitop-status-page {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 42px 0 56px;
}
.hitop-page-header {
  max-width: 720px;
  margin-bottom: 30px;
}
.hitop-page-header h1 { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.hitop-page-header > p:last-child,
.hitop-section-heading > p,
.hitop-panel-heading p { margin: 0; color: var(--hitop-muted); }
.hitop-eyebrow {
  margin: 0 0 5px;
  color: var(--hitop-accent-dark);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hitop-clinician-grid {
  display: grid;
  grid-template-columns: minmax(290px, 350px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.hitop-auth-panel { min-width: 0; }
.hitop-workspace { min-width: 0; }
.hitop-panel,
.hitop-auth-card,
.hitop-dashboard-empty {
  background: var(--hitop-card);
  border: 1px solid var(--hitop-line);
  border-radius: var(--hitop-radius);
  box-shadow: var(--hitop-shadow);
}
.hitop-panel { padding: clamp(20px, 3vw, 28px); }
.hitop-dashboard-section + .hitop-dashboard-section { margin-top: 42px; }
.hitop-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 16px;
}
.hitop-section-heading h2 { margin: 0; font-size: 1.45rem; }
.hitop-section-heading > p { max-width: 430px; font-size: .91rem; text-align: right; }
.hitop-panel h3 { margin: 0 0 17px; font-size: 1.06rem; }
.hitop-panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}
.hitop-panel-heading h3 { margin: 0; }
.hitop-panel-heading p { font-size: .84rem; text-align: right; }

.form-label,
label.control-label {
  margin-bottom: 7px;
  color: var(--hitop-ink);
  font-size: .88rem;
  font-weight: 650;
}
.form-control,
.form-select,
.selectize-input,
.selectize-control.single .selectize-input {
  min-height: 46px;
  border: 1.5px solid var(--hitop-line);
  border-radius: 12px;
  background: var(--hitop-card);
  box-shadow: none;
  color: var(--hitop-ink);
}
.form-control,
.form-select { padding: .63rem .78rem; }
textarea.form-control { min-height: 100px; }
.form-control::placeholder { color: #7b858d; opacity: 1; }
.form-control:focus,
.form-select:focus,
.selectize-input.focus,
.selectize-control.single .selectize-input.focus {
  border-color: var(--hitop-accent);
  box-shadow: 0 0 0 3px rgba(60, 110, 113, .18);
}
.selectize-dropdown { border-color: var(--hitop-line); border-radius: 10px; box-shadow: var(--hitop-shadow); }
.shiny-options-group { display: flex; flex-wrap: wrap; gap: 8px; }
.shiny-options-group .radio-inline { margin: 0 4px 0 0; }
.shiny-options-group label { color: var(--hitop-muted); font-size: .9rem; }
.shiny-options-group input { accent-color: var(--hitop-accent); }

.btn,
.btn-default,
.btn-primary,
.btn-outline-secondary,
.btn-danger {
  min-height: 46px;
  border-radius: 12px;
  font-size: .91rem;
  font-weight: 700;
  padding: .6rem 1rem;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--hitop-accent), var(--hitop-accent-dark));
  border-color: transparent;
  color: #fff;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  background: var(--hitop-accent-dark) !important;
  border-color: var(--hitop-accent-dark) !important;
  color: #fff !important;
}
.btn-outline-secondary,
.btn-default {
  border-color: var(--hitop-line);
  background: var(--hitop-card);
  color: var(--hitop-ink);
}
.btn-outline-secondary:hover,
.btn-default:hover {
  border-color: var(--hitop-accent);
  background: #edf4f4;
  color: var(--hitop-ink);
}
.btn-danger { background: var(--hitop-danger); border-color: var(--hitop-danger); }
.btn-danger:hover { background: #8d312c; border-color: #8d312c; }
.btn:focus-visible,
.navbar-toggler:focus-visible,
a:focus-visible,
summary:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: 3px solid rgba(28, 108, 168, .42);
  outline-offset: 2px;
}
.btn:active { transform: translateY(1px); }

/* Sign-in card */
.hitop-auth-card { overflow: hidden; }
.hitop-auth-card__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--hitop-line);
  background: linear-gradient(135deg, #f5fafa, var(--hitop-card));
}
.hitop-auth-icon,
.hitop-empty-icon {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: var(--hitop-soft-accent);
  color: var(--hitop-accent-dark);
}
.hitop-auth-card h2 { margin: 0; font-size: 1.12rem; }
.hitop-auth-card__heading p { margin: 1px 0 0; color: var(--hitop-muted); font-size: .83rem; }
.hitop-auth-card__body { padding: 21px 22px 16px; }
.hitop-auth-card .form-group { margin-bottom: 15px; }
.hitop-login-submit { width: 100%; }
.hitop-session-card {
  padding: 21px 22px 18px;
}
.hitop-static-signout { display: none; padding: 0 22px 18px; }
.hitop-auth-card:has(.hitop-session-card) .hitop-static-signout { display: block; }
.hitop-static-signout .btn { width: 100%; }
.hitop-session-state {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--hitop-accent-dark);
  font-size: .9rem;
  font-weight: 750;
}
.hitop-session-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hitop-accent);
  box-shadow: 0 0 0 4px var(--hitop-soft-accent);
}
.hitop-button-row,
.hitop-download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.hitop-button-row .btn-primary { flex: 1 1 130px; }
.hitop-auth-message,
.hitop-inline-message { min-height: 24px; margin-top: 12px; color: var(--hitop-muted); font-size: .88rem; }
.hitop-auth-message { margin: 0; padding: 0 22px 16px; }
.hitop-auth-message .shiny-text-output:empty,
.hitop-inline-message .shiny-text-output:empty { display: none; }
.hitop-password-panel {
  margin: 0;
  border-top: 1px solid var(--hitop-line);
  padding: 0 22px 18px;
  color: var(--hitop-muted);
}
.hitop-password-panel summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--hitop-ink);
  font-size: .9rem;
  font-weight: 700;
}
.hitop-password-panel > p { margin: 0 0 14px; font-size: .82rem; }
.hitop-password-panel .form-group { margin-bottom: 13px; }
.hitop-clinician-grid:has(.hitop-dashboard-empty) {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}
.hitop-clinician-grid:has(.hitop-dashboard-empty) .hitop-auth-panel { grid-column: 1; }
.hitop-clinician-grid:has(.hitop-dashboard-empty) .hitop-workspace { display: none; }
.hitop-dashboard-empty { padding: 36px 30px; text-align: center; }
.hitop-dashboard-empty .hitop-empty-icon { margin: 0 auto 14px; width: 48px; height: 48px; }
.hitop-dashboard-empty h2 { margin: 0 0 7px; font-size: 1.2rem; }
.hitop-dashboard-empty p { margin: 0; color: var(--hitop-muted); }
.hitop-dashboard-empty p + p { margin-top: 13px; }

/* Clinician dashboard */
.hitop-create-panel { border-top: 4px solid var(--hitop-accent); }
.hitop-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 1fr);
  gap: 18px;
}
.hitop-create-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hitop-create-panel .form-group { margin-bottom: 17px; }
.hitop-create-panel .shiny-options-group { min-height: 46px; align-items: center; }
.hitop-current-session,
.hitop-history-session { max-width: 860px; }
.hitop-active-card { border-top: 4px solid var(--hitop-accent); }
.hitop-session-status {
  padding: .32rem .62rem;
  border-radius: 999px;
  background: var(--hitop-soft-accent);
  color: var(--hitop-accent-dark);
  font-size: .75rem;
  font-weight: 800;
}
.hitop-session-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 20px;
}
.hitop-session-meta div { min-width: 0; }
.hitop-session-meta dt {
  margin-bottom: 3px;
  color: var(--hitop-muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.hitop-session-meta dd { margin: 0; color: var(--hitop-ink); font-weight: 650; overflow-wrap: anywhere; }
.hitop-link-recovery,
.hitop-comparison-note { margin: 16px 0 0; color: var(--hitop-muted); font-size: .86rem; }
.hitop-table-panel { margin-top: 18px; }
.hitop-table-scroll { width: 100%; overflow-x: auto; }
.hitop-table-scroll .table,
.hitop-table-scroll table {
  min-width: 560px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}
.hitop-table-scroll th,
.hitop-table-scroll td {
  padding: .78rem .85rem;
  border-color: var(--hitop-line);
  color: var(--hitop-ink);
  font-size: .9rem;
  vertical-align: middle;
}
.hitop-table-scroll th {
  background: #f4f7f8;
  color: var(--hitop-muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.hitop-table-scroll tbody tr:nth-child(even) td { background: #f9fafb; }
.hitop-link-panel { margin-top: 18px; }
.hitop-link-panel:empty { display: none; }
.hitop-issued-link { margin: 18px 0 0; }
.hitop-issued-link a { overflow-wrap: anywhere; }
.hitop-issued-link svg { display: block; max-width: 170px; height: auto; margin: 14px 0; }
.hitop-danger-zone {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid #f0c9c5;
  border-radius: var(--hitop-radius);
  background: var(--hitop-danger-bg);
}
.hitop-danger-zone h3 { margin: 0 0 5px; color: #782b28; font-size: 1rem; }
.hitop-danger-zone > p { margin: 0 0 16px; color: #743f3b; font-size: .88rem; }
.hitop-danger-zone .form-group { margin-bottom: 15px; }

/* Results */
.hitop-results-panel > .form-group { max-width: 510px; }
.hitop-results-panel > h3 { margin: 24px 0 10px; font-size: 1rem; }
.hitop-result-summary {
  margin: 20px 0;
  border: 1px solid #cfdedf;
  border-radius: 12px;
  background: #f1f7f7;
  color: var(--hitop-ink);
}
.hitop-result-summary p { margin: 0; }
.hitop-result-summary p + p { margin-top: 5px; }
.hitop-download-row { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hitop-line); }
.hitop-download-row .btn { text-decoration: none; }
.hitop-status-page { max-width: 720px; }

/* Participant runner */
.hitop-participant-shell {
  width: min(100% - 32px, 820px);
  margin: 0 auto;
  padding: 42px 0 64px;
}
.hitop-runner-header { margin-bottom: 20px; }
.hitop-runner-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--hitop-soft-accent);
  color: var(--hitop-accent-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hitop-runner-header h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.45rem); }
.hitop-runner-header p { max-width: 720px; margin: 0; color: var(--hitop-muted); }
.hitop-token-entry {
  margin: 0 0 18px;
  padding: 0 16px;
  border: 1px solid var(--hitop-line);
  border-radius: 12px;
  background: rgba(251, 252, 253, .7);
  color: var(--hitop-muted);
}
.hitop-token-entry summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 650;
}
.hitop-token-entry[open] { padding-bottom: 16px; }
.hitop-token-entry .form-group { max-width: 560px; }
.hitop-progress-card {
  margin: 0 0 20px;
  padding: 15px 18px;
  border: 1px solid var(--hitop-line);
  border-radius: 14px;
  background: var(--hitop-card);
  box-shadow: 0 10px 30px -24px rgba(20, 30, 35, .45);
}
.hitop-progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--hitop-muted);
  font-size: .84rem;
}
.hitop-progress-copy strong { color: var(--hitop-ink); font-weight: 700; }
.hitop-progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--hitop-bg);
}
.hitop-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--hitop-accent);
  transition: width .22s ease;
}
.hitop-page-meta {
  scroll-margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
  color: var(--hitop-muted);
  font-size: .86rem;
}
.hitop-page-meta strong { color: var(--hitop-ink); }
.hitop-item-card {
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid var(--hitop-line);
  border-left: 4px solid var(--hitop-info);
  border-radius: var(--hitop-radius);
  background: var(--hitop-card);
  box-shadow: var(--hitop-shadow);
  transition: box-shadow .15s ease, border-color .15s ease;
}
.hitop-item-card:hover { box-shadow: 0 28px 56px -20px rgba(20, 30, 35, .28), 0 6px 18px rgba(20, 30, 35, .12); }
.hitop-item-card:has(input:checked) { border-left-color: var(--hitop-accent); }
.hitop-item-number {
  margin-bottom: 7px;
  color: var(--hitop-muted);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.hitop-item-card h2 {
  margin: 0 0 16px;
  font-size: clamp(1.05rem, 2.5vw, 1.22rem);
  font-weight: 600;
  line-height: 1.35;
}
.hitop-item-card .form-group {
  width: 100%;
  margin: 0;
}
.hitop-item-card .shiny-options-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(132px, 1fr));
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--hitop-line);
  border-radius: 12px;
}
.hitop-item-card .shiny-options-group .radio {
  min-width: 132px;
  min-height: 52px;
  margin: 0;
  border-right: 1px solid var(--hitop-line);
  background: var(--hitop-card);
}
.hitop-item-card .shiny-options-group .radio:last-child { border-right: 0; }
.hitop-item-card .shiny-options-group label {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: .55rem .7rem;
  cursor: pointer;
  text-align: center;
  line-height: 1.25;
}
.hitop-item-card .shiny-options-group input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.hitop-item-card .shiny-options-group .radio:has(input:checked) {
  background: var(--hitop-accent);
  border-color: var(--hitop-accent);
}
.hitop-item-card .shiny-options-group .radio:has(input:checked) label { color: #fff; font-weight: 650; }
.hitop-item-card .shiny-options-group .radio:has(input:focus-visible) { outline: 3px solid rgba(28, 108, 168, .42); outline-offset: -3px; }
.hitop-runner-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--hitop-line);
}
.hitop-auto-hint { margin: 0; color: var(--hitop-muted); font-size: .84rem; text-align: right; }
.hitop-participant-message { min-height: 26px; margin-top: 12px; color: var(--hitop-danger); }
.hitop-link-prompt {
  padding: 22px;
  border: 1px solid var(--hitop-line);
  border-radius: var(--hitop-radius);
  background: var(--hitop-card);
  color: var(--hitop-muted);
  text-align: center;
}
.hitop-complete-card {
  padding: 44px 28px;
  border: 1px solid var(--hitop-line);
  border-radius: var(--hitop-radius);
  background: var(--hitop-card);
  box-shadow: var(--hitop-shadow);
  text-align: center;
}
.hitop-complete-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--hitop-soft-accent);
  color: var(--hitop-accent-dark);
  font-size: 1.5rem;
  font-weight: 800;
}
.hitop-complete-card h2 { margin: 0 0 8px; font-size: 1.45rem; }
.hitop-complete-card p { margin: 0; color: var(--hitop-muted); }
.hitop-complete-card p + p { margin-top: 8px; }

/* A token link is a participant-only surface. Keep clinician navigation and
   internal build information out of the completion context. */
.hitop-participant-mode .navbar,
.hitop-participant-mode .hitop-app-footer { display: none !important; }
.hitop-participant-mode .tab-content { padding-top: 0 !important; }
.hitop-participant-mode .hitop-token-entry { display: none; }

.alert { border-radius: 12px; }
.alert-info { border-color: #c9dfee; background: #f0f8fd; color: #164f79; }
.alert-secondary { border-color: var(--hitop-line); }
.hitop-app-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid var(--hitop-line);
  color: var(--hitop-muted);
  font-size: .78rem;
}

@media (max-width: 860px) {
  .hitop-clinician-shell,
  .hitop-status-page { width: min(100% - 24px, 680px); padding-top: 28px; }
  .hitop-clinician-grid { grid-template-columns: 1fr; gap: 22px; }
  .hitop-auth-panel { max-width: 520px; width: 100%; margin: 0 auto; }
  .hitop-section-heading { display: block; }
  .hitop-section-heading > p { margin-top: 7px; text-align: left; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .navbar { min-height: 60px; }
  .navbar .container-fluid { padding-right: 12px; padding-left: 12px; }
  .hitop-brand-context { display: none; }
  .navbar .nav-link { min-height: 46px; }
  .hitop-page-header { margin-bottom: 22px; }
  .hitop-page-header h1 { font-size: 1.65rem; }
  .hitop-panel { padding: 18px; }
  .hitop-auth-card__heading,
  .hitop-auth-card__body { padding-right: 18px; padding-left: 18px; }
  .hitop-password-panel { padding-right: 18px; padding-left: 18px; }
  .hitop-form-grid { grid-template-columns: 1fr; gap: 0; }
  .hitop-session-meta { grid-template-columns: 1fr; gap: 10px; }
  .hitop-panel-heading { display: block; }
  .hitop-panel-heading p { margin-top: 5px; text-align: left; }
  .hitop-button-row .btn,
  .hitop-download-row .btn { width: 100%; }
  .hitop-danger-zone { padding: 18px; }
  .hitop-participant-shell { width: min(100% - 24px, 820px); padding: 26px 0 44px; }
  .hitop-runner-header p { font-size: .93rem; }
  .hitop-page-meta { display: block; }
  .hitop-page-meta span { display: block; margin-top: 2px; }
  .hitop-item-card { padding: 16px; }
  .hitop-item-card .shiny-options-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
  .hitop-item-card .shiny-options-group .radio {
    min-width: 0;
  }
  .hitop-item-card .shiny-options-group .radio:nth-child(2n) {
    border-right: 0;
  }
  .hitop-item-card .shiny-options-group .radio:nth-child(-n + 2) {
    border-bottom: 1px solid var(--hitop-line);
  }
  .hitop-runner-actions { align-items: stretch; flex-direction: column-reverse; }
  .hitop-runner-actions .btn { width: 100%; }
  .hitop-auto-hint { text-align: left; }
  .hitop-app-footer { display: block; padding-bottom: 20px; }
  .hitop-build-stamp { display: block; margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
