/* ==========================================================================
   REFRACT — Live 2x2 Wilson CI, MCC φ & McNemar Calculator
   Bright Watercolor Editorial Theme · Strict CSP Safe · Mobile 375px Ready
   Type floor: no text below 14px (0.875rem) · Contrast: every text colour >= 4.5:1
   ========================================================================== */

.lc-section {
  position: relative;
  border-radius: 26px;
  padding: 28px;
  background:
    radial-gradient(760px 300px at 8% 0%, rgba(56, 189, 248, 0.20), transparent 64%),
    radial-gradient(680px 300px at 94% 10%, rgba(45, 212, 191, 0.18), transparent 62%),
    radial-gradient(680px 280px at 82% 96%, rgba(251, 191, 36, 0.16), transparent 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 240, 0.92));
  border: 1.5px solid rgba(2, 132, 199, 0.24);
  box-shadow: 0 20px 48px -18px rgba(22, 32, 50, 0.16), 0 2px 8px rgba(22, 32, 50, 0.04);
  overflow: hidden;
}

.lc-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 18px;
}

.lc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0369a1;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(2, 132, 199, 0.24);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 8px;
}

.lc-heading {
  margin: 0 0 6px;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  line-height: 1.18;
  color: var(--ink-sumi, #162032);
}

.lc-subtitle {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-slate, #334155);
  max-width: 68ch;
}

/* Glossary-linked terms in the subtitle keep the old bold scanning weight. */
.lc-subtitle [data-glossary] {
  font-weight: 700;
  color: var(--ink-sumi, #162032);
}

.lc-preset-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.lc-preset-label {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--ink-muted, #52627a);
  margin-right: 2px;
}

/* Every preset is a real tap target: min-height 44px (WCAG 2.5.5), centered text. */
.lc-preset-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(22, 32, 50, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-sumi, #162032);
  border-radius: 999px;
  padding: 6px 16px;
  font-family: var(--sans, system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

/* The one always-visible preset reads slightly stronger than its siblings. */
.lc-preset-btn.is-primary {
  border-color: rgba(2, 132, 199, 0.45);
}

.lc-preset-btn:hover {
  transform: translateY(-1px);
  border-color: #0369A1;
  background: #ffffff;
}

.lc-preset-btn.is-active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(20, 184, 166, 0.18));
  border-color: #0369A1;
  color: #0369a1;
}

/* "More presets" disclosure (phones only). Desktop hides the toggle and flattens
   .lc-preset-more with display:contents, so all five pills still flow in one row. */
.lc-preset-toggle {
  display: none;
  appearance: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  border: 1px dashed rgba(2, 132, 199, 0.55);
  background: rgba(255, 255, 255, 0.9);
  color: #0369a1;
  border-radius: 999px;
  padding: 6px 16px;
  font-family: var(--sans, system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.lc-preset-toggle:hover {
  transform: translateY(-1px);
  border-color: #0369A1;
  border-style: solid;
  background: #ffffff;
}

.lc-preset-caret {
  flex: none;
  font-size: 0.9375rem;
  line-height: 1;
  font-weight: 800;
}

.lc-preset-more {
  display: contents;
}

/* Plain-English story for the active preset, updated live by live-calculator.js.
   The HTML ships the balanced-preset sentence so no-JS readers still get context. */
.lc-preset-story {
  margin: -10px 0 16px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-slate, #334155);
}

/* Instant verdict strip: the 2-second takeaway, mirroring the real policy gate
   `refract gate --max-fn 0 --max-fp-rate 0.05 --min-mcc 0.70`. 14px floor, AA. */
.lc-verdict {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid;
}

.lc-verdict.tone-good {
  background: rgba(240, 253, 250, 0.9);
  border-color: rgba(13, 148, 136, 0.42);
}

.lc-verdict.tone-bad {
  background: rgba(255, 241, 242, 0.92);
  border-color: rgba(225, 29, 72, 0.42);
}

.lc-verdict.tone-warn {
  background: rgba(255, 251, 235, 0.92);
  border-color: rgba(217, 119, 6, 0.42);
}

.lc-verdict-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(22, 32, 50, 0.12);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.lc-verdict.tone-good .lc-verdict-icon { color: #0f766e; }
.lc-verdict.tone-bad .lc-verdict-icon { color: #be123c; }
.lc-verdict.tone-warn .lc-verdict-icon { color: #92400e; }

.lc-verdict-text {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lc-verdict-title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
}

.lc-verdict.tone-good .lc-verdict-title { color: #115e59; }
.lc-verdict.tone-bad .lc-verdict-title { color: #9f1239; }
.lc-verdict.tone-warn .lc-verdict-title { color: #92400e; }

.lc-verdict-detail {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-slate, #334155);
  overflow-wrap: anywhere;
}

.lc-verdict-exit {
  flex: none;
  font-family: var(--mono, monospace);
  font-size: 0.875rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 32, 50, 0.16);
  color: var(--ink-sumi, #162032);
  white-space: nowrap;
}

.lc-preset-btn:focus-visible,
.lc-preset-toggle:focus-visible,
.lc-btn:focus-visible,
.lc-preview-tab:focus-visible,
.lc-num-input:focus-visible {
  outline: 2.5px solid #0369A1;
  outline-offset: 2px;
}

/* Main 2-column layout: Left Inputs + Right Diagnostics */
.lc-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
}

.lc-card {
  min-width: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(22, 32, 50, 0.12);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 8px 22px -14px rgba(22, 32, 50, 0.12);
}

.lc-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.lc-card-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink-sumi, #162032);
}

.lc-total-pill {
  font-family: var(--mono, monospace);
  font-size: 0.875rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  border: 1px solid rgba(2, 132, 199, 0.24);
}

/* 2x2 Interactive Quadrant Inputs */
.lc-quad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lc-quad-input {
  min-width: 0;
  border-radius: 16px;
  padding: 13px;
  border: 1.5px solid rgba(22, 32, 50, 0.14);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lc-quad-input.is-tn {
  background: radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.2), transparent 64%), rgba(248, 252, 255, 0.95);
  border-color: rgba(2, 132, 199, 0.3);
}
.lc-quad-input.is-fp {
  background: radial-gradient(circle at 90% 10%, rgba(251, 191, 36, 0.24), transparent 64%), rgba(255, 252, 244, 0.95);
  border-color: rgba(217, 119, 6, 0.32);
}
.lc-quad-input.is-tp {
  background: radial-gradient(circle at 90% 10%, rgba(45, 212, 191, 0.24), transparent 64%), rgba(244, 253, 250, 0.95);
  border-color: rgba(13, 148, 136, 0.32);
}
.lc-quad-input.is-fn {
  background: radial-gradient(circle at 90% 10%, rgba(251, 113, 133, 0.22), transparent 64%), rgba(255, 246, 247, 0.95);
  border-color: rgba(225, 29, 72, 0.34);
}

.lc-q-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.lc-q-code {
  font-family: var(--mono, monospace);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(22, 32, 50, 0.14);
}

.lc-q-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink-sumi, #162032);
}

.lc-q-desc {
  font-size: 0.90625rem;
  color: var(--ink-slate, #334155);
  line-height: 1.48;
}

.lc-num-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lc-num-input {
  width: 88px;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 10px;
  border: 1.5px solid rgba(22, 32, 50, 0.22);
  background: #ffffff;
  color: var(--ink-sumi, #162032);
  font-family: var(--mono, monospace);
  font-size: 1rem;
  font-weight: 800;
}

.lc-range-input {
  flex: 1;
  min-width: 0;
  accent-color: #0369A1;
  cursor: pointer;
}

.lc-quad-input.is-fp .lc-range-input { accent-color: #A3590D; }
.lc-quad-input.is-tp .lc-range-input { accent-color: #0F766E; }
.lc-quad-input.is-fn .lc-range-input { accent-color: #e11d48; }

.lc-axis-summary {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8f6ef;
  border: 1px solid rgba(22, 32, 50, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  font-size: 0.875rem;
  color: var(--ink-slate, #334155);
}

.lc-axis-summary strong {
  font-family: var(--mono, monospace);
  color: var(--ink-sumi, #162032);
}

/* Diagnostics Right Column */
.lc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.lc-kpi {
  min-width: 0;
  border-radius: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(22, 32, 50, 0.12);
  background: #fcfaf4;
}

.lc-kpi.tone-good {
  background: rgba(240, 253, 250, 0.85);
  border-color: rgba(13, 148, 136, 0.3);
}
.lc-kpi.tone-warn {
  background: rgba(255, 251, 235, 0.88);
  border-color: rgba(217, 119, 6, 0.32);
}
.lc-kpi.tone-bad {
  background: rgba(255, 241, 242, 0.88);
  border-color: rgba(225, 29, 72, 0.34);
}

.lc-kpi-k {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted, #52627a);
}

.lc-kpi-v {
  font-family: var(--mono, monospace);
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--ink-sumi, #162032);
  margin: 2px 0;
}

.lc-kpi-sub {
  font-size: 0.90625rem;
  color: var(--ink-slate, #334155);
  line-height: 1.45;
}

/* Wilson CI Visual Bars */
.lc-ci-block {
  border-radius: 14px;
  padding: 12px 13px;
  border: 1px solid rgba(22, 32, 50, 0.12);
  background: #fcfaf4;
  margin-bottom: 14px;
}

.lc-ci-row + .lc-ci-row {
  margin-top: 10px;
}

.lc-ci-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.lc-ci-mono {
  font-family: var(--mono, monospace);
  font-size: 0.875rem;
  color: var(--ink-sumi, #162032);
}

.lc-ci-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
}

.lc-ci-svg {
  display: block;
  width: 100%;
  height: 12px;
}

.lc-ci-bg {
  fill: rgba(22, 32, 50, 0.09);
}

.lc-ci-band {
  fill: #0284c7;
  fill-opacity: 0.56;
  transition: x 0.2s ease, width 0.2s ease;
}

.lc-ci-band.is-fpr {
  fill: #d97706;
  fill-opacity: 0.62;
}

.lc-ci-dot {
  fill: #162032;
  transition: x 0.2s ease;
}

.lc-clipboard-sink {
  position: fixed;
  left: -9999px;
  top: 0;
  opacity: 0;
  pointer-events: none;
}

/* Shared 0% - 50% - 100% axis under both CI tracks. */
.lc-ci-scale {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--mono, monospace);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-muted, #52627a);
}

/* Exact Clopper-Pearson companion line under each Wilson track (Moat 2:
   the exact interval is visible on screen, not export-only). 14px floor,
   WCAG-safe colours on the #fcfaf4 block background. */
.lc-ci-cp {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 10px;
  margin: 6px 0 0;
  padding-left: 10px;
  border-left: 2px solid rgba(2, 132, 199, 0.26);
  font-size: 0.90625rem;
  color: var(--ink-slate, #334155);
}

.lc-ci-cp.is-fpr {
  border-left-color: rgba(217, 119, 6, 0.4);
}

.lc-ci-cp-k {
  font-weight: 700;
  color: var(--ink-muted, #52627a);
}

.lc-ci-cp-mono {
  font-family: var(--mono, monospace);
  font-weight: 800;
  color: var(--ink-sumi, #162032);
}

/* McNemar & Sample-Size Cards */
.lc-paired {
  margin-top: 16px;
}

.lc-paired-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 200px));
  gap: 12px;
}

.lc-paired-inputs label {
  display: grid;
  gap: 6px;
  font-weight: 650;
}

.lc-paired-inputs .lc-num-input {
  width: 100%;
}

#lc-paired-result {
  min-height: 2.7em;
  margin-bottom: 0;
}

.lc-stat-detail-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.lc-stat-detail-title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink-sumi, #162032);
}

.lc-badge {
  font-family: var(--mono, monospace);
  font-size: 0.875rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(22, 32, 50, 0.14);
}

.lc-power-box {
  border-radius: 14px;
  padding: 12px 13px;
  border: 1px solid rgba(13, 148, 136, 0.25);
  background: rgba(240, 253, 250, 0.75);
}

.lc-power-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.lc-power-item {
  border-radius: 10px;
  padding: 8px 9px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(22, 32, 50, 0.1);
}

.lc-power-item span {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-muted, #52627a);
}

.lc-power-item strong {
  font-family: var(--mono, monospace);
  font-size: 0.95rem;
  color: var(--ink-sumi, #162032);
}

/* Export Bar & Live Preview */
.lc-export-bar {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px dashed rgba(22, 32, 50, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.lc-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lc-btn {
  appearance: none;
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--sans, system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
  border: 1.5px solid rgba(2, 132, 199, 0.34);
  background: #ffffff;
  color: #0369a1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lc-btn:hover {
  transform: translateY(-1px);
  background: rgba(224, 242, 254, 0.75);
}

.lc-btn.is-primary {
  background: linear-gradient(135deg, #0369A1, #0F766E);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(2, 132, 199, 0.5);
}

.lc-btn.is-copied {
  background: #0F766E;
  border-color: #0F766E;
  color: #ffffff;
}

.lc-preview-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: #f3efe4;
  border: 1px solid rgba(22, 32, 50, 0.14);
}

.lc-preview-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-slate, #334155);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.lc-preview-tab.is-active {
  background: #ffffff;
  color: var(--ink-sumi, #162032);
  box-shadow: 0 2px 5px rgba(22, 32, 50, 0.1);
}

.lc-preview-pre {
  margin: 12px 0 0;
  padding: 13px 15px;
  border-radius: 14px;
  background: #fffefb;
  border: 1px solid rgba(22, 32, 50, 0.14);
  font-family: var(--mono, monospace);
  font-size: 0.875rem;
  line-height: 1.55;
  color: #1e293b;
  max-height: 26rem;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

#lc-catch-val, #lc-fpr-val, #lc-precision-val {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

/* Trailing next-step links: one spaced button row with a clear primary. */
.lc-next-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 2rem;
}

.lc-next-row .lc-next-primary {
  gap: 0.4em; /* inline-flex drops the space before the arrow span */
  color: #0F766E;
  border-color: var(--seafoam);
  background: linear-gradient(135deg, var(--seafoam-wash), rgba(255, 255, 255, 0.92));
}

@media (max-width: 960px) {
  .lc-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .lc-section {
    padding: 18px 14px;
    border-radius: 20px;
  }
  .lc-card {
    padding: 14px;
  }
  .lc-quad-grid,
  .lc-kpi-grid,
  .lc-power-grid {
    grid-template-columns: 1fr;
  }
  .lc-export-actions {
    width: 100%;
  }
  .lc-btn {
    flex: 1 1 auto;
    text-align: center;
  }
  /* phones: two equal full-width tap targets with a real gap between them */
  .lc-next-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 1.25rem;
  }
  .lc-next-row .preset-btn {
    text-align: center;
  }
  /* Preset bar on phones: a 2-column grid of full-width, >=44px tap targets
     instead of a wrapped pill wall. The label spans the row, the primary
     preset and the "More presets" toggle share one row, and the four extra
     presets appear in two columns only once the disclosure is opened. */
  .lc-preset-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }
  .lc-preset-label {
    grid-column: 1 / -1;
    margin-right: 0;
  }
  .lc-preset-btn,
  .lc-preset-toggle {
    width: 100%;
  }
  .lc-preset-toggle {
    grid-column: 1 / -1;
    display: inline-flex;
  }
  .lc-preset-more {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .lc-preset-more.is-open {
    display: grid;
  }
}

@media (max-width: 768px), (pointer: coarse) {
  .lc-section :is(.lc-num-input, .lc-range-input, button) {
    min-height: 44px;
  }
}
.lc-controls {
  border: 0;
  padding: 0;
  margin-inline: 0;
  min-inline-size: 0;
}

/* Reserve the taller state before scripts arrive, including at text zoom. */
.lc-session {
  display: grid;
  min-block-size: 8rem;
  margin-block: 1rem .75rem;
}
@media (max-width: 580px) {
  .lc-session { min-block-size: 8.75rem; }
}
.lc-session noscript { grid-area: 1 / 1; }
.lc-session noscript:has(> #lc-nojs) { display: contents; }
.lc-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin: 0;
  padding: .85rem 1rem;
  border: 1px solid #acc9c0;
  border-radius: 8px;
  background: #f3f9f6;
  color: #173d33;
  line-height: 1.45;
}
.lc-panel > div { flex: 1 1 18rem; }
.lc-panel[hidden] { display: none; }
html:not(.js-enabled) #lc-loading { display: none; }
.lc-session .tool-notice {
  margin: 0;
  border: 1px solid #ae8139;
  border-left: 5px solid #91621a;
  background: #fff5dc;
  color: #472f0b;
}
.lc-session p { margin: .15rem 0 0; font-size: .9375rem; line-height: 1.45; }
.lc-session .lc-btn { min-height: 44px; }
.lc-count-hint {
  display: grid;
  margin: 0 0 .65rem;
  color: #445466;
  font-size: .875rem;
  line-height: 1.45;
}
.lc-count-hint > span { grid-area: 1 / 1; }
.lc-locked-hint {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  font-weight: 700;
}
.lc-controls:enabled .lc-locked-hint,
.lc-controls:disabled .lc-edit-hint { visibility: hidden; }
.lc-controls:disabled :is(button, input) {
  cursor: not-allowed;
  opacity: .88;
}
.lc-controls:disabled :is(button, .lc-num-input) {
  background: #e7eaed;
  color: #334151;
  border: 1px dashed #6d7985;
  box-shadow: none;
  transform: none;
}
.lc-controls:disabled .lc-range-input { filter: grayscale(1); }
/* Keep the whole read-only export reachable with ordinary page scrolling. */
.lc-controls:disabled .lc-preview-pre { max-height: none; }
.r-fold:has(> #scorecard-anchor[hidden]) { display: none; }

