/* Sparkline preview / Session Planner */
.lb-spark-toggle {
  background: var(--lb-bg-raised);
  border: 1px solid var(--lb-hairline);
  border-radius: var(--lb-rad-pill);
  padding: 0.2rem;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.lb-spark-toggle .session-planner-toggle-btn {
  border: 0;
  background: transparent;
  border-radius: var(--lb-rad-pill);
  padding: 0.3rem 0.7rem;
  font-family: var(--lb-font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--lb-ink-60);
  cursor: pointer;
  letter-spacing: 0;
  min-width: 2.6rem;
}
.lb-spark-toggle .session-planner-toggle-btn.active {
  background: var(--lb-ember);
  color: var(--lb-on-accent);
  box-shadow: none;
}
.lb-spark-toggle .session-planner-toggle-btn:not(.active):hover {
  background: var(--lb-ember-soft);
  color: var(--lb-ink);
}
.lb-spark-timeline {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  position: relative;
}
.lb-spark-timeline .timeline-chart {
  min-height: 72px;
  position: relative;
  padding: 0;
}
.timeline-wrap.rank-timeline-wrap.lb-spark-timeline .timeline-chart::before {
  inset: 1.28rem 0 0.3rem;
  background:
    linear-gradient(180deg, rgba(246, 241, 232, 0.64), rgba(246, 241, 232, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  border: 0;
  border-radius: 0.35rem;
  box-shadow: none;
}
.timeline-wrap.rank-timeline-wrap.lb-spark-timeline .timeline-chart.is-pointer-down::before,
.timeline-wrap.rank-timeline-wrap.lb-spark-timeline .timeline-chart.is-dragging::before,
.timeline-wrap.rank-timeline-wrap.lb-spark-timeline:focus-within .timeline-chart::before {
  box-shadow:
    inset 0 0 0 1px rgba(255, 122, 28, 0.16),
    0 10px 22px -22px rgba(255, 122, 28, 0.42);
}
.lb-spark-timeline .timeline-strip {
  min-height: 72px;
  padding: 1.38rem 0.16rem 0.3rem;
}
.lb-spark-timeline .timeline-day-label {
  top: 0;
}
.lb-spark-timeline .timeline-day-divider {
  top: 1.24rem;
  bottom: 0.34rem;
}
.lb-spark-timeline .timeline-active-time-marker {
  top: 0.5rem;
}
.lb-spark-timeline .timeline-active-time-label {
  font-size: 0.56rem;
}
.lb-spark-timeline .timeline-active-window-band {
  top: 1.28rem;
  bottom: 0.3rem;
}
.lb-spark-timeline #hour-slider {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  clip-path: inset(50%);
}
.lb-spark-timeline #hour-slider:focus {
  outline: none;
}
.lb-spark-timeline #hour-slider::-webkit-slider-runnable-track {
  background: transparent;
  box-shadow: none;
}
.lb-spark-timeline #hour-slider::-moz-range-track {
  background: transparent;
  box-shadow: none;
}
.lb-spark-timeline::after {
  content: none;
}
.lb-spark-timeline .timeline-labels {
  font-family: var(--lb-font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  color: var(--lb-ink-40);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  margin-top: 0.2rem;
}

/* CTA block */
.lb-cta-block {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  margin: 0.52rem 0 0.68rem;
}
.lb-cta-status {
  font-family: var(--lb-font-mono);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--lb-ink-60);
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}
.lb-cta-btn {
  width: min(100%, 13.2rem);
  min-height: 2.16rem;
  padding: 0.54rem 0.88rem;
  border: 1.5px solid #1a0f06;
  border-radius: 0.24rem;
  background:
    linear-gradient(0deg, rgba(255, 122, 28, 0.2), rgba(255, 122, 28, 0.2)),
    rgba(251, 240, 220, 0.9);
  color: #1a0f06;
  font-family: var(--lb-font-mono);
  font-size: clamp(0.58rem, 2.1vw, 0.66rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  cursor: pointer;
  box-shadow:
    0.12rem 0.14rem 0 rgba(26, 15, 6, 0.84),
    inset 0 -0.1rem 0 rgba(255, 122, 28, 0.32);
  transform: rotate(-0.35deg);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease;
}
.lb-cta-btn:hover {
  transform: translateY(-1px) rotate(-0.12deg);
}
.lb-cta-btn:active {
  transform: translate(0.08rem, 0.08rem) rotate(0deg);
  box-shadow: 0.04rem 0.05rem 0 rgba(26, 15, 6, 0.55);
}
.paddling-out-btn.lb-cta-btn.active {
  border-color: #1a0f06;
  background:
    linear-gradient(0deg, rgba(255, 122, 28, 0.3), rgba(255, 122, 28, 0.3)),
    rgba(251, 240, 220, 0.96);
  color: #1a0f06;
  box-shadow:
    0.12rem 0.14rem 0 rgba(26, 15, 6, 0.84),
    inset 0 -0.1rem 0 rgba(255, 122, 28, 0.38);
}
.paddling-out-btn.lb-cta-btn:disabled {
  border-color: rgba(26, 15, 6, 0.24);
  background: rgba(255, 250, 244, 0.48);
  color: rgba(26, 15, 6, 0.42);
  box-shadow: 0.08rem 0.1rem 0 rgba(26, 15, 6, 0.16);
  cursor: not-allowed;
}
.lb-cta-btn .paddling-out-arrow {
  font-weight: 400;
  font-size: 0.86rem;
  line-height: 1;
}
.lb-cta-lines {
  font-family: var(--lb-font-sans);
  font-size: 0.74rem;
  color: var(--lb-ink-60);
  display: grid;
  gap: 0.2rem;
  text-align: center;
}

/* Eyes On It report panel (mockup screen #04) */
.lb-report-panel {
  background: var(--lb-bg-raised);
  border: 1px solid var(--lb-hairline);
  border-radius: var(--lb-rad-lg);
  padding: 0.72rem 0.72rem 0.82rem;
  margin: 0 0.4rem 0.85rem;
  box-shadow: 0 1px 0 var(--lb-hairline);
}
.lb-report-head {
  margin-bottom: 0.46rem;
}
.lb-scout-intro {
  display: none;
  gap: 0.22rem;
  padding: 0;
}
.lb-scout-eyebrow {
  margin: 0;
  font-family: var(--lb-font-mono);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  color: var(--lb-ember);
  text-transform: uppercase;
}
.lb-scout-intro h2 {
  margin: 0;
  font-family: var(--lb-font-serif);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.05;
  color: var(--lb-ink);
}
.lb-scout-intro p:last-child {
  margin: 0;
  color: var(--lb-ink-60);
  font-size: 0.78rem;
  line-height: 1.32;
}
.lb-report-card {
  background: #ffffff;
  border: 1px solid rgba(35, 22, 10, 0.09);
  border-radius: var(--lb-rad-md);
  padding: 0.62rem;
  margin-bottom: 0.46rem;
  box-shadow: 0 1px 0 rgba(35, 22, 10, 0.04);
}
.lb-report-card .report-observed-options {
  display: flex;
  justify-content: flex-start;
  gap: 0.3rem;
  margin-bottom: 0.52rem;
  flex-wrap: nowrap;
}
.lb-report-card .report-observed-options[hidden] {
  display: none;
}
.scout-card-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.44rem;
}
.observed-time-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0.36rem;
  border-radius: var(--lb-rad-pill);
  transition: background 0.15s;
}
.observed-time-dot:hover {
  background: rgba(35, 22, 10, 0.05);
}
.observed-dot-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2a9d4e;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(42, 157, 78, 0.5);
  animation: dot-pulse 2s ease-in-out infinite;
}
.observed-time-dot[data-mode="30m"] .observed-dot-pip,
.observed-time-dot[data-mode="60m"] .observed-dot-pip {
  background: var(--lb-ember);
  box-shadow: 0 0 0 0 rgba(255, 122, 28, 0.4);
  animation: dot-pulse-amber 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(42, 157, 78, 0.5); }
  60%  { box-shadow: 0 0 0 5px rgba(42, 157, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 157, 78, 0); }
}
@keyframes dot-pulse-amber {
  0%   { box-shadow: 0 0 0 0 rgba(255, 122, 28, 0.4); }
  60%  { box-shadow: 0 0 0 5px rgba(255, 122, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 28, 0); }
}
.observed-dot-label {
  font-family: var(--lb-font-mono);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--lb-ink-40);
  text-transform: lowercase;
  line-height: 1;
}
.lb-report-card .report-observed-btn {
  flex: 0 0 auto;
  min-width: 4.7rem;
  padding: 0.34rem 0.62rem;
  border-radius: var(--lb-rad-pill);
  font-family: var(--lb-font-mono);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  cursor: pointer;
  background: #ffffff;
  color: var(--lb-ink-80);
  border: 1px solid rgba(35, 22, 10, 0.16);
  box-shadow: none;
}
.lb-report-card .report-observed-btn.active {
  background: var(--lb-ember);
  color: var(--lb-on-accent);
  border-color: var(--lb-ember);
}
.lb-report-card #observed-now-btn.active {
  background: #1f6fb0;
  color: #fffaf2;
  border-color: #1f6fb0;
}
.lb-report-card #observed-30-btn.active,
.lb-report-card #observed-60-btn.active {
  background: var(--lb-ember);
  color: var(--lb-on-accent);
  border-color: var(--lb-ember);
}
.lb-report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.42rem;
}
.lb-report-grid .rc-strip-item {
  background: #ffffff;
  border: 1px solid rgba(35, 22, 10, 0.11);
  border-radius: var(--lb-rad-sm);
  padding: 0.52rem 0.58rem;
  display: grid;
  align-content: start;
  gap: 0.18rem;
  box-shadow: 0 1px 0 rgba(35, 22, 10, 0.035);
}
.lb-report-grid .rc-strip-label {
  font-family: var(--lb-font-mono);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  color: var(--lb-ink-40);
  text-transform: uppercase;
  margin: 0;
}
.lb-report-grid .rc-strip-value {
  font-family: var(--lb-font-serif);
  font-size: clamp(1.14rem, 7vw, 1.38rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--lb-ink);
  line-height: 1;
}
.lb-report-grid .rc-strip-wind-row {
  align-items: baseline;
  gap: 0.32rem;
  padding-right: 1.55rem;
}
.lb-report-grid .rc-strip-item-wind {
  position: relative;
}
.lb-report-grid .rc-strip-item-wind .rc-strip-value {
  line-height: 1;
}
.lb-report-grid .report-compare-wind-bearing {
  position: absolute;
  right: 0.48rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
}
.lb-report-grid .report-compare-wind-bearing svg {
  width: 1.25rem;
  height: 1.25rem;
}
.lb-report-grid .rc-strip-wind-dir {
  margin-top: 0.04rem;
}
.lb-feedback-rows {
  display: grid;
  gap: 0.44rem;
  margin: 0 0 0.56rem;
}
.lb-feedback-rows .feedback-section {
  display: grid;
  gap: 0.34rem;
}
.lb-feedback-rows .feedback-section-label {
  font-family: var(--lb-font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--lb-ember);
  text-transform: none;
}
.lb-feedback-row {
  display: grid;
  grid-template-columns: minmax(5.8rem, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.46rem 0.48rem;
  border: 1px solid rgba(35, 22, 10, 0.1);
  border-radius: var(--lb-rad-sm);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(35, 22, 10, 0.035);
}
.lb-feedback-q {
  margin: 0;
  font-family: var(--lb-font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--lb-ink);
  text-transform: none;
  line-height: 1.08;
}
.calibration-block .lb-feedback-q {
  font-size: 0.74rem;
  letter-spacing: 0;
  color: var(--lb-ink-60);
}
.lb-feedback-opts {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  min-width: 0;
  flex-wrap: nowrap;
}
.feedback-group .lb-feedback-opts {
  flex-wrap: nowrap;
}
.lb-feedback-opts button {
  flex: 0 1 auto;
  min-width: 0;
  padding: 0.3rem 0.44rem;
  border-radius: 0;
  font-family: var(--lb-font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  cursor: pointer;
  background: #ffffff;
  color: var(--lb-ink-80);
  border: 1px solid rgba(35, 22, 10, 0.16);
  margin-left: -1px;
  transition: background 0.1s ease;
  white-space: nowrap;
  position: relative;
}
.lb-feedback-opts button:first-child {
  border-radius: var(--lb-rad-pill) 0 0 var(--lb-rad-pill);
  margin-left: 0;
}
.lb-feedback-opts button:last-child {
  border-radius: 0 var(--lb-rad-pill) var(--lb-rad-pill) 0;
}

@media (max-width: 420px) {
  .lb-feedback-row {
    grid-template-columns: 1fr;
    gap: 0.38rem;
    padding-inline: 0.42rem;
  }
  .lb-feedback-q {
    font-size: 0.72rem;
    letter-spacing: 0;
  }
  .lb-feedback-opts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.16rem;
  }
  .lb-feedback-opts button {
    padding-inline: 0.32rem;
    font-size: 0.64rem;
    line-height: 1.12;
    min-height: 2rem;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
  }
}
.lb-feedback-opts button:hover { background: var(--lb-ember-soft); }
.lb-feedback-opts button:disabled {
  color: var(--lb-ink-30);
  background: rgba(35, 22, 10, 0.035);
  cursor: not-allowed;
}
.lb-feedback-opts button.active,
.lb-feedback-opts button[aria-pressed="true"],
.lb-feedback-opts button[data-active="true"] {
  background: var(--lb-ember);
  color: var(--lb-on-accent);
  border-color: var(--lb-ember);
  z-index: 1;
}
.lb-report-card #report-input {
  width: 100%;
  padding: 0.66rem 0.86rem;
  border-radius: var(--lb-rad-pill);
  border: 1px solid rgba(35, 22, 10, 0.12);
  background: #ffffff;
  font-family: var(--lb-font-sans);
  font-size: 0.82rem;
  color: var(--lb-ink);
  margin-top: 0.08rem;
  outline: none;
}
.lb-report-card #report-input::placeholder { color: var(--lb-ink-40); }
.lb-report-card #report-input:disabled {
  background: rgba(35, 22, 10, 0.035);
  color: var(--lb-ink-40);
  cursor: not-allowed;
}
.lb-report-card .memory-strip {
  margin-top: 0.56rem;
  padding-top: 0.48rem;
  border-top: 1px solid var(--lb-hairline);
  display: grid;
  gap: 0.15rem;
  font-family: var(--lb-font-mono);
  font-size: 0.52rem;
  line-height: 1.34;
  letter-spacing: 0.04em;
  color: var(--lb-ink-40);
}
.lb-report-card #submit-report-btn {
  width: 100%;
  padding: 0.82rem 1rem;
  margin-top: 0.58rem;
  border-radius: var(--lb-rad-pill);
  border: 0;
  background: linear-gradient(180deg, var(--lb-ember), var(--lb-ember-deep));
  color: var(--lb-on-accent);
  font-family: var(--lb-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    0 8px 24px var(--lb-ember-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.lb-report-card .feedback-status {
  margin: 0.42rem 0 0;
  font-size: 0.68rem;
}
.lb-report-card .feedback-status[data-tone="success"] {
  padding: 0.62rem 0.7rem;
  border: 1px solid rgba(42, 157, 78, 0.24);
  border-radius: var(--lb-rad-sm);
  background: rgba(42, 157, 78, 0.08);
  color: #244f36;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}
.lb-report-card .scout-submit-feedback {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.48rem;
  margin-top: 0.56rem;
  padding: 0.52rem 0.6rem;
  border-radius: var(--lb-rad-sm);
  border: 1px solid rgba(42, 157, 78, 0.22);
  background: rgba(42, 157, 78, 0.06);
}
.lb-report-card .scout-submit-feedback[hidden] {
  display: none;
}
.lb-report-card .scout-submit-icon {
  position: relative;
  width: 1.6rem;
  height: 1.28rem;
  border-radius: 0.42rem;
  background: #ffffff;
  border: 1px solid rgba(42, 157, 78, 0.28);
  box-shadow: 0 1px 0 rgba(35, 22, 10, 0.04);
}
.lb-report-card .scout-submit-icon::before {
  content: "~";
  position: absolute;
  left: 0.26rem;
  top: 0.16rem;
  font-family: var(--lb-font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  color: #217a3e;
}
.lb-report-card .scout-submit-icon::after {
  content: "";
  position: absolute;
  right: 0.26rem;
  bottom: 0.28rem;
  width: 0.28rem;
  height: 0.5rem;
  border-right: 2px solid #217a3e;
  border-bottom: 2px solid #217a3e;
  transform: rotate(38deg);
}
.lb-report-card .scout-submit-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.lb-report-card .scout-submit-copy strong {
  color: #217a3e;
  font-size: 0.78rem;
  line-height: 1.1;
}
.lb-report-card .scout-submit-copy span {
  color: var(--lb-ink-60);
  font-size: 0.68rem;
  line-height: 1.28;
}
.lb-report-card .report-feed {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.4rem;
}
.lb-report-card .report-empty {
  margin: 0;
  color: var(--lb-ink-40);
  font-size: 0.68rem;
}
.lb-report-card .report-credit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.46rem;
  align-items: start;
  padding: 0.58rem 0.62rem;
  border-radius: var(--lb-rad-sm);
  border: 1px solid rgba(255, 122, 28, 0.18);
  background: rgba(255, 250, 244, 0.62);
}
.lb-report-card .report-credit-check {
  width: 1.12rem;
  height: 1.12rem;
  margin-top: 0.06rem;
  font-size: 0;
  border-radius: 50%;
  background: var(--lb-ember);
}
.lb-report-card .report-credit-check::after {
  left: 0.36rem;
  top: 0.2rem;
  width: 0.28rem;
  height: 0.48rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.lb-report-card .report-credit-copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}
.lb-report-card .report-credit-head {
  display: flex;
  align-items: baseline;
  gap: 0.34rem;
  min-width: 0;
}
.lb-report-card .report-credit-copy strong {
  color: var(--lb-ember-deep);
  font-size: 0.82rem;
  line-height: 1.1;
}
.lb-report-card .report-credit-summary {
  color: var(--lb-ink-60);
  font-size: 0.78rem;
  line-height: 1.2;
}
.lb-report-card .report-credit-meta {
  color: var(--lb-ink-40);
  font-size: 0.66rem;
  line-height: 1.1;
}
.lb-report-card .report-credit-stale {
  border-color: rgba(70, 96, 112, 0.18);
  background: rgba(70, 96, 112, 0.06);
  opacity: 0.74;
}
.lb-report-card .report-credit-stale .report-credit-check {
  background: rgba(70, 96, 112, 0.68);
}
.lb-report-card .report-credit-stale .report-credit-copy strong {
  color: rgba(70, 96, 112, 0.9);
}
.lb-report-card .report-cancel-btn {
  justify-self: start;
  padding: 0.28rem 0.52rem;
  border-radius: var(--lb-rad-pill);
  border: 1px solid rgba(255, 122, 28, 0.34);
  background: transparent;
  color: var(--lb-ember-deep);
  font-size: 0.66rem;
  font-weight: 600;
}

/* Log tab toggle */
.lb-log-toggle {
  display: flex;
  gap: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  width: 100%;
  border-bottom: 1.5px solid rgba(35, 22, 10, 0.1);
}
.lb-log-toggle-btn {
  flex: 1;
  padding: 0.52rem 0.5rem 0.56rem;
  border-radius: 0;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--lb-ink-40);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  text-align: center;
}
.lb-log-toggle-btn.active {
  background: transparent;
  color: var(--lb-ember-deep);
  border-bottom-color: var(--lb-ember);
  box-shadow: none;
}

/* Session entry panel */
.session-entry-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.session-break-context {
  margin: 0 0 0.4rem;
  font-family: var(--lb-font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--lb-ember);
  text-transform: uppercase;
}
.session-section {
  padding: 0.62rem 0;
  border-bottom: 1px solid rgba(35, 22, 10, 0.07);
}
.session-section:last-of-type {
  border-bottom: none;
}
.session-section-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.48rem;
}
/* Session time + quality now use .lb-feedback-opts connected style */
.session-time-picker,
.session-quality-group {
  width: 100%;
}
.session-conditions-card {
  background: rgba(35, 22, 10, 0.03);
  border: 1px solid rgba(35, 22, 10, 0.09);
  border-radius: var(--lb-rad-md);
  padding: 0.5rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.46rem;
}
.session-conditions-snapshot {
  display: flex;
  gap: 0.2rem;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  flex-wrap: wrap;
}
.session-conditions-sep {
  color: var(--text-secondary);
  font-weight: 400;
}
/* Conditions reaction uses .lb-feedback-opts — allow wrap for 4 longer labels */
.session-conditions-reaction {
  flex-wrap: wrap;
}
.session-journal-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.42rem;
}
.session-journal-field {
  width: 100%;
  border: 1px solid rgba(35, 22, 10, 0.14);
  border-radius: var(--lb-rad-md);
  background: rgba(35, 22, 10, 0.03);
  padding: 0.52rem 0.6rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-primary);
  resize: vertical;
  font-family: inherit;
  box-sizing: border-box;
}
.session-journal-field:focus {
  outline: none;
  border-color: var(--lb-ember-mid);
  background: #fff;
}
.session-journal-field::placeholder {
  color: var(--lb-ink-40);
  font-style: italic;
}
.session-notes-count {
  font-size: 0.68rem;
  color: var(--text-secondary);
  text-align: right;
  margin: 0.18rem 0 0;
}
.session-save-btn {
  margin-top: 0.72rem;
  width: 100%;
}
.session-save-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.session-view-journal-btn {
  display: block;
  width: 100%;
  margin-top: 0.6rem;
  padding: 0;
  background: none;
  border: none;
  color: var(--lb-ember, #e07040);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  opacity: 0.85;
}
.session-view-journal-btn:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ── Session details rows ─────────────────────────────── */
.session-detail-row {
  display: grid;
  grid-template-columns: minmax(5rem, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.session-detail-row:first-child {
  margin-top: 0;
}

/* Wave count stepper */
.session-wave-stepper {
  display: flex;
  align-items: center;
  gap: 0;
}
.session-wave-step-btn {
  width: 2rem;
  height: 1.8rem;
  border: 1px solid rgba(35, 22, 10, 0.16);
  background: #fff;
  color: var(--lb-ink-80);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  margin-left: -1px;
  transition: background 0.1s;
}
.session-wave-step-btn:first-child {
  border-radius: var(--lb-rad-pill) 0 0 var(--lb-rad-pill);
  margin-left: 0;
}
.session-wave-step-btn:last-child {
  border-radius: 0 var(--lb-rad-pill) var(--lb-rad-pill) 0;
}
.session-wave-step-btn:hover {
  background: var(--lb-ember-soft);
}
.session-wave-count-display {
  display: inline-block;
  min-width: 2rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lb-ink);
  border-top: 1px solid rgba(35, 22, 10, 0.16);
  border-bottom: 1px solid rgba(35, 22, 10, 0.16);
  height: 1.8rem;
  line-height: 1.8rem;
  padding: 0 0.3rem;
  background: #fff;
}

/* Board row (button element acting as lb-feedback-row) */
.session-board-row {
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.session-board-row .lb-feedback-q {
  pointer-events: none;
}
.session-board-pick {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--lb-font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--lb-ink-80);
}
.session-board-chevron {
  font-size: 1rem;
  color: var(--lb-ink-40);
  line-height: 1;
}

/* ── Bottom sheet ─────────────────────────────────────── */
.bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: flex-end;
}
.bottom-sheet[hidden] {
  display: none;
}
.bottom-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}
.bottom-sheet-panel {
  position: relative;
  width: 100%;
  max-height: 72vh;
  background: #fff;
  border-radius: 1.2rem 1.2rem 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.bottom-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem 0.6rem;
  border-bottom: 1px solid rgba(35, 22, 10, 0.07);
  flex-shrink: 0;
}
.bottom-sheet-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lb-ink);
  margin: 0;
  letter-spacing: 0.01em;
}
.bottom-sheet-close,
.bottom-sheet-back {
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  font-size: 1.3rem;
  color: var(--lb-ink-60);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}
.bottom-sheet-back {
  font-size: 1.5rem;
}
.bottom-sheet-body {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.bottom-sheet-board-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.78rem 1rem;
  border: none;
  border-bottom: 1px solid rgba(35, 22, 10, 0.06);
  background: transparent;
  text-align: left;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--lb-ink);
  cursor: pointer;
  transition: background 0.1s;
}
.bottom-sheet-board-item:hover {
  background: var(--lb-ember-soft);
}
.bottom-sheet-board-item.active {
  color: var(--lb-ember);
  font-weight: 700;
}
.bottom-sheet-board-item-meta {
  font-size: 0.72rem;
  color: var(--lb-ink-60);
  font-weight: 400;
  margin-left: 0.4rem;
}
.bottom-sheet-add-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.86rem 1rem;
  border: none;
  border-top: 1px solid rgba(35, 22, 10, 0.07);
  background: transparent;
  text-align: left;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--lb-ember);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.1s;
}
.bottom-sheet-add-row:hover {
  background: var(--lb-ember-soft);
}
.bottom-sheet-add-icon {
  font-size: 1rem;
  line-height: 1;
}

/* ── Add board sheet ──────────────────────────────────── */
.add-board-sheet .bottom-sheet-panel,
.add-board-panel {
  max-height: 92vh;
}
.add-board-form-body {
  padding: 0.6rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.add-board-field {
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
}
.add-board-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin: 0;
}
.add-board-input {
  width: 100%;
  border: 1px solid rgba(35, 22, 10, 0.16);
  border-radius: var(--lb-rad-sm);
  background: #fafbfc;
  padding: 0.5rem 0.6rem;
  font-size: 0.86rem;
  color: var(--lb-ink);
  font-family: inherit;
  box-sizing: border-box;
}
.add-board-input:focus {
  outline: none;
  border-color: var(--lb-ember-mid);
  background: #fff;
}
.add-board-opts-wrap {
  flex-wrap: wrap;
}
.add-board-opt-btn.active {
  background: var(--lb-ember);
  border-color: var(--lb-ember);
  color: var(--lb-on-accent);
  z-index: 1;
}
.add-board-dims {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.add-board-dim-label {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--lb-ink-60);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.add-board-dim-input {
  border: 1px solid rgba(35, 22, 10, 0.16);
  border-radius: var(--lb-rad-sm);
  background: #fafbfc;
  padding: 0.46rem 0.5rem;
  font-size: 0.86rem;
  color: var(--lb-ink);
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}
.add-board-dim-input:focus {
  outline: none;
  border-color: var(--lb-ember-mid);
  background: #fff;
}
.add-board-textarea {
  width: 100%;
  border: 1px solid rgba(35, 22, 10, 0.16);
  border-radius: var(--lb-rad-sm);
  background: #fafbfc;
  padding: 0.5rem 0.6rem;
  font-size: 0.86rem;
  color: var(--lb-ink);
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
}
.add-board-textarea:focus {
  outline: none;
  border-color: var(--lb-ember-mid);
  background: #fff;
}
.add-board-textarea::placeholder,
.add-board-input::placeholder,
.add-board-dim-input::placeholder {
  color: var(--lb-ink-40);
  font-style: italic;
}
.add-board-footer {
  padding: 0.8rem 1rem;
  border-top: 1px solid rgba(35, 22, 10, 0.07);
  flex-shrink: 0;
}
.add-board-footer .lb-cta-btn {
  width: 100%;
}
.add-board-footer .lb-cta-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Mobile breakpoint tightening */
@media (max-width: 400px) {
  .lb-dial-row { gap: 0.52rem; }
  .lb-dial-card #rank-number,
  .lb-score-number { font-size: clamp(2.7rem, 17vw, 3.3rem); }
  .lb-verdict { font-size: clamp(1.82rem, 10vw, 2.2rem); }
  .lb-cc-value { font-size: 1.7rem; }
  .lb-spark-toggle .session-planner-toggle-btn {
    min-width: 2.35rem;
    padding-inline: 0.56rem;
  }
}

/* ── Simplified landing screen (2026-05-02) ──────────────────── */
.auth-gate.landing-mode {
  align-items: flex-start;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fbf0dc;
}

.auth-gate.landing-mode .auth-card.landing-mode {
  position: relative;
  width: min(100%, 430px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(0.5rem, 2.6vw, 0.82rem) clamp(0.62rem, 3vw, 0.92rem) calc(0.5rem + env(safe-area-inset-bottom));
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: var(--lb-ink);
  background: #fbf0dc;
  box-shadow: none;
}

.auth-gate.landing-mode .auth-card.landing-mode::before {
  content: none;
}

.auth-gate.landing-mode .auth-hero-intro,
.auth-gate.landing-mode .auth-home-launch-note,
.auth-gate.landing-mode .auth-made-in {
  display: none;
}

.auth-gate.landing-mode #auth-entry-panel {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100svh - clamp(0.5rem, 2.6vw, 0.82rem) - calc(0.5rem + env(safe-area-inset-bottom)));
  margin: 0;
}

.auth-gate.landing-mode .auth-home-hero {
  display: grid;
  grid-template-rows: 1fr;
  min-width: 0;
  min-height: inherit;
}

.auth-gate.landing-mode .auth-home-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  min-width: 0;
  padding: 0;
  pointer-events: none;
}

.auth-gate.landing-mode .auth-home-brand {
  margin: 0;
  color: var(--lb-ember);
  font-family: var(--lb-font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  line-height: 1.2;
  text-transform: uppercase;
}

.auth-gate.landing-mode .auth-home-title {
  position: absolute;
  left: clamp(0.92rem, 4.4vw, 1.32rem);
  top: clamp(0.74rem, 3.6vw, 1.08rem);
  display: grid;
  gap: 0;
  margin: 0;
  width: max-content;
  max-width: 56%;
  color: #1a0f06;
  font-family: var(--lb-font-serif);
  font-size: clamp(2.92rem, 13.2vw, 4.18rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.75;
}

.auth-gate.landing-mode .auth-home-wordmark em {
  color: var(--lb-ember);
  font-style: normal;
  font-weight: 400;
}

.auth-gate.landing-mode .auth-home-title:not(.auth-home-wordmark) em {
  color: var(--lb-ember);
  font-style: italic;
  font-weight: 300;
}

.auth-gate.landing-mode .auth-home-body {
  max-width: 21rem;
  margin: 0;
  padding: 0;
  color: rgba(26, 15, 6, 0.56);
  font-family: var(--lb-font-sans);
  font-size: clamp(1.08rem, 4.7vw, 1.26rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
}

.auth-gate.landing-mode .auth-home-journal-surface {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: inherit;
  overflow: hidden;
  border-radius: clamp(0.92rem, 3vw, 1.28rem);
  background: #fbf0dc;
  box-shadow:
    0 0.6rem 1.8rem rgba(26, 15, 6, 0.08),
    0 0 0 1px rgba(26, 15, 6, 0.08);
}

.auth-gate.landing-mode .auth-home-journal-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(251, 240, 220, 0.16), rgba(251, 240, 220, 0.02) 38%, rgba(251, 240, 220, 0.18)),
    radial-gradient(circle at 22% 13%, rgba(255, 250, 244, 0.3), transparent 36%);
  mix-blend-mode: screen;
}

.auth-gate.landing-mode .auth-home-journal-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% top;
  opacity: 0.78;
  filter: saturate(0.92) contrast(0.98);
}

.auth-gate.landing-mode .auth-home-copyline {
  position: absolute;
  top: clamp(5.86rem, 23.4vw, 7.45rem);
  right: auto;
  left: clamp(0.92rem, 4.4vw, 1.32rem);
  z-index: 1;
  display: grid;
  gap: 0.1em;
  width: min(12.2rem, 55vw);
  max-width: 12.2rem;
  margin: 0;
  padding: 0;
  color: #1a0f06;
  font-family: var(--lb-font-serif);
  font-size: clamp(0.62rem, 2.52vw, 0.78rem);
  font-weight: 430;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.auth-gate.landing-mode .auth-home-copyline em {
  color: var(--lb-ember);
  font-style: italic;
  font-weight: 380;
}

.auth-gate.landing-mode .auth-home-journal {
  align-self: center;
  justify-self: center;
  display: grid;
  gap: 0;
  width: min(72vw, 15.75rem, calc((100svh - 13.2rem) * 0.66));
  max-width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--lb-ink);
}

.auth-gate.landing-mode .auth-home-journal-copy {
  margin: 0;
  max-width: 20.5rem;
  color: rgba(26, 15, 6, 0.7);
  font-family: var(--lb-font-sans);
  font-size: clamp(0.98rem, 4.1vw, 1.08rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.28;
}

.auth-gate.landing-mode .auth-home-journal-art {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  overflow: visible;
  background: #fbf0dc;
  border-radius: 1.15rem;
}

.auth-gate.landing-mode .auth-home-journal-image {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  mix-blend-mode: multiply;
  opacity: 0.98;
  filter: contrast(1.03) saturate(0.94);
}

.auth-gate.landing-mode .auth-home-journal-map {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0.45rem 1.1rem rgba(26, 15, 6, 0.06));
}

.auth-gate.landing-mode .journal-map-drawing {
  transform: translate(42px, -6px) scale(0.88);
  transform-origin: center;
}

.auth-gate.landing-mode .journal-shore,
.auth-gate.landing-mode .journal-sand,
.auth-gate.landing-mode .journal-inlet-water,
.auth-gate.landing-mode .journal-jetty,
.auth-gate.landing-mode .journal-rocks,
.auth-gate.landing-mode .journal-wrap,
.auth-gate.landing-mode .journal-wind-arrow,
.auth-gate.landing-mode .journal-swell-arrow,
.auth-gate.landing-mode .journal-scratch-log path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-gate.landing-mode .journal-shore {
  stroke: rgba(26, 15, 6, 0.34);
  stroke-width: 2.2;
  stroke-dasharray: 28 5 10 4;
}

.auth-gate.landing-mode .journal-sand {
  stroke: rgba(255, 122, 28, 0.2);
  stroke-width: 7;
}

.auth-gate.landing-mode .journal-inlet-water {
  stroke: rgba(26, 15, 6, 0.16);
  stroke-width: 1.8;
  stroke-dasharray: 7 7;
}

.auth-gate.landing-mode .journal-jetty {
  stroke: rgba(26, 15, 6, 0.86);
  stroke-width: 4.4;
}

.auth-gate.landing-mode .journal-jetty-shadow {
  stroke: rgba(26, 15, 6, 0.3);
  stroke-width: 2.1;
}

.auth-gate.landing-mode .journal-rocks {
  stroke: #1a0f06;
  stroke-width: 1.7;
}

.auth-gate.landing-mode .journal-swell-arrow,
.auth-gate.landing-mode .journal-wrap {
  stroke: var(--lb-ember);
  stroke-width: 2.4;
  marker-end: url("#journal-arrow-orange");
}

.auth-gate.landing-mode .journal-swell-arrow-2 {
  stroke-width: 1.8;
  opacity: 0.72;
}

.auth-gate.landing-mode .journal-wind-arrow {
  stroke: #1a0f06;
  stroke-width: 1.9;
  marker-end: url("#journal-arrow-ink");
}

.auth-gate.landing-mode #journal-arrow-orange path {
  fill: var(--lb-ember);
}

.auth-gate.landing-mode #journal-arrow-ink path {
  fill: #1a0f06;
}

.auth-gate.landing-mode .journal-place,
.auth-gate.landing-mode .journal-note,
.auth-gate.landing-mode .journal-scratch-log text {
  font-family: var(--lb-font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.auth-gate.landing-mode .journal-place {
  fill: #1a0f06;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.auth-gate.landing-mode .journal-note {
  fill: rgba(26, 15, 6, 0.7);
  font-size: 8.5px;
}

.auth-gate.landing-mode .journal-orange {
  fill: var(--lb-ember);
}

.auth-gate.landing-mode .journal-scratch-log text {
  fill: rgba(26, 15, 6, 0.78);
  font-size: 7.6px;
}

.auth-gate.landing-mode .journal-scratch-log path {
  stroke: rgba(255, 122, 28, 0.42);
  stroke-width: 1.3;
}

.auth-gate.landing-mode .auth-home-score {
  position: relative;
  --score-radius: min(38vw, 9.1rem);
  align-self: end;
  justify-self: center;
  width: min(78vw, 19rem);
  aspect-ratio: 1.58;
  margin-bottom: clamp(0.3rem, 3vh, 1.2rem);
}

.auth-gate.landing-mode .auth-home-score-arc {
  position: absolute;
  inset: 0;
}

.auth-gate.landing-mode .auth-home-score-arc span {
  position: absolute;
  left: 50%;
  top: 92%;
  width: 0.18rem;
  height: clamp(0.86rem, 3.8vw, 1.12rem);
  border-radius: var(--lb-rad-pill);
  background: rgba(26, 15, 6, 0.14);
  transform:
    translate(-50%, -50%)
    rotate(calc(-68deg + (var(--tick) * 4.85deg)))
    translateY(calc(var(--score-radius) * -1));
  transform-origin: 50% 50%;
}

.auth-gate.landing-mode .auth-home-score-arc span:nth-child(-n + 24) {
  background: rgba(255, 122, 28, 0.66);
}

.auth-gate.landing-mode .auth-home-score-value {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.36rem;
  margin: 0;
  font-family: var(--lb-font-serif);
  letter-spacing: 0;
}

.auth-gate.landing-mode .auth-home-score-value strong {
  color: #1a0f06;
  font-size: clamp(6.1rem, 25vw, 8rem);
  font-weight: 400;
  line-height: 0.78;
}

.auth-gate.landing-mode .auth-home-score-value span {
  color: rgba(26, 15, 6, 0.34);
  font-size: clamp(3.8rem, 16vw, 5.1rem);
  font-weight: 300;
  line-height: 0.9;
}

.auth-gate.landing-mode .auth-home-cta {
  position: absolute;
  z-index: 2;
  top: auto;
  right: auto;
  bottom: calc(clamp(0.92rem, 4.2vw, 1.28rem) + env(safe-area-inset-bottom));
  left: clamp(0.92rem, 4.4vw, 1.32rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.28rem;
  width: min(11.6rem, 51vw);
  min-width: 0;
  margin: 0;
}

.auth-gate.landing-mode .auth-home-primary,
.auth-gate.landing-mode .auth-home-secondary {
  min-height: 2.04rem;
  width: 100%;
  justify-content: center;
  border-radius: 0.24rem;
  font-family: var(--lb-font-mono);
  font-size: clamp(0.54rem, 2.1vw, 0.66rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-0.35deg);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease;
}

.auth-gate.landing-mode .auth-home-primary {
  color: #1a0f06;
  border: 1.5px solid #1a0f06;
  background:
    linear-gradient(0deg, rgba(255, 122, 28, 0.2), rgba(255, 122, 28, 0.2)),
    rgba(251, 240, 220, 0.86);
  box-shadow:
    0.12rem 0.14rem 0 rgba(26, 15, 6, 0.84),
    inset 0 -0.1rem 0 rgba(255, 122, 28, 0.32);
}

.auth-gate.landing-mode .auth-home-secondary {
  display: flex;
  color: #1a0f06;
  border: 1.5px solid rgba(26, 15, 6, 0.48);
  background: rgba(255, 250, 244, 0.46);
  box-shadow: 0.08rem 0.1rem 0 rgba(26, 15, 6, 0.2);
  transform: rotate(0.25deg);
}

.auth-gate.landing-mode .auth-home-primary:hover,
.auth-gate.landing-mode .auth-home-secondary:hover {
  transform: translateY(-1px) rotate(-0.12deg);
}

.auth-gate.landing-mode .auth-home-primary:active,
.auth-gate.landing-mode .auth-home-secondary:active {
  transform: translate(0.08rem, 0.08rem) rotate(0deg);
  box-shadow: 0.04rem 0.05rem 0 rgba(26, 15, 6, 0.55);
}

@media (min-width: 520px) {
  .auth-gate.landing-mode {
    padding: 1.1rem;
  }

  .auth-gate.landing-mode .auth-card.landing-mode {
    min-height: min(100svh - 2.2rem, 860px);
    padding: 0.9rem;
    border: 1px solid rgba(26, 15, 6, 0.1);
    border-radius: 1.9rem;
    box-shadow: 0 1.4rem 3.2rem rgba(26, 15, 6, 0.14);
  }

  .auth-gate.landing-mode #auth-entry-panel {
    min-height: calc(min(100svh - 2.2rem, 860px) - 1.8rem);
  }

  .auth-gate.landing-mode .auth-home-hero {
    grid-template-rows: 1fr;
    min-height: inherit;
  }

  .auth-gate.landing-mode .auth-home-copy {
    padding: 0;
  }

  .auth-gate.landing-mode .auth-home-title {
    left: 1.42rem;
    top: 1.08rem;
    font-size: 3.75rem;
    line-height: 0.76;
  }

  .auth-gate.landing-mode .auth-home-journal-surface {
    min-height: inherit;
  }

  .auth-gate.landing-mode .auth-home-copyline {
    top: 8.05rem;
    right: auto;
    left: 1.42rem;
    width: 13.4rem;
    max-width: 13.4rem;
    padding: 0;
    font-size: 0.74rem;
    line-height: 1.09;
  }

  .auth-gate.landing-mode .auth-home-journal {
    width: min(14.6rem, calc((100svh - 15.4rem) * 0.66));
  }

  .auth-gate.landing-mode .auth-home-journal-copy {
    font-size: 0.98rem;
  }

  .auth-gate.landing-mode .auth-home-score {
    --score-radius: 7.25rem;
    width: 15.85rem;
    margin-bottom: 0.1rem;
  }

  .auth-gate.landing-mode .auth-home-score-arc span {
    height: 0.86rem;
  }

  .auth-gate.landing-mode .auth-home-score-value strong {
    font-size: 5.65rem;
  }

  .auth-gate.landing-mode .auth-home-score-value span {
    font-size: 3.55rem;
  }

  .auth-gate.landing-mode .auth-home-primary,
  .auth-gate.landing-mode .auth-home-secondary {
    min-height: 2.04rem;
    font-size: 0.6rem;
  }
}

@media (max-width: 360px) {
  .auth-gate.landing-mode .auth-card.landing-mode {
    padding: 0.42rem 0.5rem calc(0.42rem + env(safe-area-inset-bottom));
  }

  .auth-gate.landing-mode #auth-entry-panel {
    min-height: calc(100svh - 0.84rem - env(safe-area-inset-bottom));
  }

  .auth-gate.landing-mode .auth-home-hero {
    grid-template-rows: 1fr;
    min-height: inherit;
  }

  .auth-gate.landing-mode .auth-home-copy {
    padding: 0;
  }

  .auth-gate.landing-mode .auth-home-title {
    left: 0.72rem;
    top: 0.58rem;
    font-size: clamp(2.58rem, 13.1vw, 2.94rem);
    line-height: 0.76;
  }

  .auth-gate.landing-mode .auth-home-journal-surface {
    min-height: inherit;
  }

  .auth-gate.landing-mode .auth-home-copyline {
    top: 4.95rem;
    right: auto;
    left: 0.72rem;
    width: 10.6rem;
    max-width: 10.6rem;
    padding: 0;
    font-size: clamp(0.55rem, 2.35vw, 0.62rem);
    line-height: 1.08;
  }

  .auth-gate.landing-mode .auth-home-journal-copy {
    font-size: 0.86rem;
    line-height: 1.22;
  }

  .auth-gate.landing-mode .auth-home-journal {
    width: min(68vw, 12.35rem, calc((100svh - 12.5rem) * 0.66));
  }

  .auth-gate.landing-mode .auth-home-primary,
  .auth-gate.landing-mode .auth-home-secondary {
    min-height: 1.94rem;
    font-size: 0.52rem;
  }
}

/* Branded button pass: peach paper, black ink, hand-set shadow */
.lb-cta-btn,
.auth-submit,
.auth-home-primary,
.identity-panel .identity-primary-btn,
.identity-secondary-btn,
.identity-break-save-btn,
.auth-secondary-btn,
.auth-path-btn,
.auth-home-secondary,
.crew-manage-action,
.invite-modal-close,
.identity-logout,
.bottom-sheet-add-row {
  border: 2px solid var(--lb-ink);
  border-radius: 0.34rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 122, 28, 0.12)),
    var(--lb-brand-paper);
  color: var(--lb-ink);
  font-family: var(--lb-font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    0.14rem 0.16rem 0 var(--lb-brand-shadow),
    inset 0 -0.12rem 0 rgba(255, 122, 28, 0.28);
  transform: rotate(-0.28deg);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease,
    color 0.12s ease,
    border-color 0.12s ease;
}

.lb-cta-btn {
  min-height: 2.9rem;
  width: min(100%, 24rem);
  padding: 0.72rem 1rem;
  font-size: clamp(0.68rem, 2.5vw, 0.86rem);
  line-height: 1.15;
}

.submit-btn.lb-cta-btn,
.session-save-btn.lb-cta-btn,
.add-board-footer .lb-cta-btn {
  width: 100%;
}

.auth-submit,
.auth-home-primary {
  padding: 0.82rem 1.08rem;
  font-size: 0.82rem;
}

.identity-secondary-btn,
.identity-break-save-btn,
.auth-secondary-btn,
.auth-path-btn,
.auth-home-secondary,
.crew-manage-action,
.invite-modal-close,
.identity-logout {
  padding: 0.56rem 0.84rem;
  font-size: 0.68rem;
  line-height: 1.12;
}

.crew-manage-action,
.bottom-sheet-add-row {
  text-align: left;
}

.lb-cta-btn:hover,
.auth-submit:hover,
.auth-home-primary:hover,
.identity-panel .identity-primary-btn:hover,
.identity-secondary-btn:hover,
.identity-break-save-btn:hover,
.auth-secondary-btn:hover,
.auth-path-btn:hover,
.auth-home-secondary:hover,
.crew-manage-action:hover,
.invite-modal-close:hover,
.identity-logout:hover,
.bottom-sheet-add-row:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 122, 28, 0.18)),
    var(--lb-brand-paper);
  color: var(--lb-ink);
  transform: translateY(-1px) rotate(-0.1deg);
}

.lb-cta-btn:active,
.auth-submit:active,
.auth-home-primary:active,
.identity-panel .identity-primary-btn:active,
.identity-secondary-btn:active,
.identity-break-save-btn:active,
.auth-secondary-btn:active,
.auth-path-btn:active,
.auth-home-secondary:active,
.crew-manage-action:active,
.invite-modal-close:active,
.identity-logout:active,
.bottom-sheet-add-row:active {
  transform: translate(0.08rem, 0.09rem) rotate(0deg);
  box-shadow:
    0.05rem 0.06rem 0 rgba(26, 15, 6, 0.58),
    inset 0 -0.08rem 0 rgba(255, 122, 28, 0.24);
}

.lb-cta-btn:disabled,
.auth-submit[disabled],
.identity-secondary-btn:disabled,
.identity-break-save-btn:disabled,
.auth-secondary-btn:disabled {
  border-color: rgba(26, 15, 6, 0.28);
  background: rgba(255, 250, 244, 0.56);
  color: rgba(26, 15, 6, 0.42);
  box-shadow: 0.08rem 0.1rem 0 rgba(26, 15, 6, 0.16);
  cursor: not-allowed;
  transform: rotate(-0.16deg);
}

.identity-link-btn,
.auth-back-btn {
  color: var(--lb-ink);
  font-family: var(--lb-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: rgba(26, 15, 6, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18rem;
}

.identity-link-btn:hover,
.auth-back-btn:hover {
  color: var(--lb-ember-deep);
  text-decoration-color: rgba(212, 74, 10, 0.42);
}

.identity-link-btn-danger,
.crew-manage-action-danger,
.identity-danger-btn {
  color: var(--lb-bad);
}

.identity-danger-btn,
.crew-manage-action-danger {
  border-color: var(--lb-bad);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(232, 58, 58, 0.1)),
    #f7d0c8;
}

.lb-feedback-opts button,
.feedback-group button,
.report-observed-btn,
.surf-journal-quality-buttons button,
.add-board-opt-btn,
.break-settings-prior-btn,
.session-planner-toggle-btn {
  border: 1.5px solid rgba(26, 15, 6, 0.72);
  border-radius: 0.24rem;
  background: rgba(255, 250, 244, 0.76);
  color: var(--lb-ink);
  font-family: var(--lb-font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0.06rem 0.07rem 0 rgba(26, 15, 6, 0.28);
}

.lb-feedback-opts button:first-child,
.lb-feedback-opts button:last-child {
  border-radius: 0.24rem;
}

.lb-feedback-opts button:hover,
.feedback-group button:hover,
.report-observed-btn:hover,
.surf-journal-quality-buttons button:hover,
.add-board-opt-btn:hover,
.break-settings-prior-btn:hover,
.session-planner-toggle-btn:not(.active):hover {
  background: rgba(248, 209, 173, 0.74);
}

.lb-feedback-opts button.active,
.lb-feedback-opts button[aria-pressed="true"],
.lb-feedback-opts button[data-active="true"],
.feedback-group button.active,
.feedback-group button[aria-pressed="true"],
.feedback-group button[data-active="true"],
.report-observed-btn.active,
.surf-journal-quality-buttons button.active,
.add-board-opt-btn.active,
.break-settings-prior-btn-active,
.session-planner-toggle-btn.active {
  border-color: var(--lb-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 122, 28, 0.16)),
    var(--lb-brand-paper);
  color: var(--lb-ink);
  box-shadow:
    0.08rem 0.09rem 0 rgba(26, 15, 6, 0.62),
    inset 0 -0.08rem 0 rgba(255, 122, 28, 0.28);
  z-index: 1;
}

#lb-log-scout-panel .lb-feedback-rows .feedback-section-label,
#lb-log-scout-panel .calibration-block .lb-feedback-q,
#lb-log-scout-panel .calibration-block .lb-feedback-opts button {
  font-family: var(--lb-font-sans);
  letter-spacing: 0;
  text-transform: none;
}

#lb-log-scout-panel .lb-feedback-rows .feedback-section-label {
  font-size: 0.74rem;
  font-weight: 700;
}

#lb-log-scout-panel .calibration-block .lb-feedback-q {
  font-size: 0.74rem;
  font-weight: 700;
}

#lb-log-scout-panel .calibration-block .lb-feedback-opts button {
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.auth-card:not(.landing-mode) .auth-submit,
.auth-card:not(.landing-mode) .auth-back-btn,
.auth-card:not(.landing-mode) .auth-secondary-btn,
.auth-card:not(.landing-mode) .auth-break-btn.active {
  color: var(--lb-ink);
}

.auth-gate.landing-mode .auth-home-primary,
.auth-gate.landing-mode .auth-home-secondary {
  border-radius: 0.34rem;
  font-family: var(--lb-font-mono);
}

.lb-report-card #submit-report-btn.submit-btn.lb-cta-btn,
.session-entry-card #session-save-btn.session-save-btn.lb-cta-btn,
.add-board-footer #add-board-save.lb-cta-btn {
  border: 2px solid var(--lb-ink);
  border-radius: 0.34rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 122, 28, 0.12)),
    var(--lb-brand-paper);
  color: var(--lb-ink);
  font-family: var(--lb-font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    0.14rem 0.16rem 0 var(--lb-brand-shadow),
    inset 0 -0.12rem 0 rgba(255, 122, 28, 0.28);
}

.session-entry-card #session-save-btn.session-save-btn.lb-cta-btn:disabled,
.add-board-footer #add-board-save.lb-cta-btn:disabled {
  border-color: rgba(26, 15, 6, 0.28);
  background: rgba(255, 250, 244, 0.56);
  color: rgba(26, 15, 6, 0.42);
  box-shadow: 0.08rem 0.1rem 0 rgba(26, 15, 6, 0.16);
}

.lb-report-card .report-observed-btn.active,
.lb-report-card #observed-now-btn.active,
.lb-report-card #observed-30-btn.active,
.lb-report-card #observed-60-btn.active {
  border-color: var(--lb-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 122, 28, 0.16)),
    var(--lb-brand-paper);
  color: var(--lb-ink);
  box-shadow:
    0.08rem 0.09rem 0 rgba(26, 15, 6, 0.62),
    inset 0 -0.08rem 0 rgba(255, 122, 28, 0.28);
}

.lb-spark-toggle,
.surf-map-view-row .lb-spark-toggle {
  gap: 0.3rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.lb-spark-toggle .session-planner-toggle-btn,
.surf-map-view-row .lb-spark-toggle .session-planner-toggle-btn {
  border: 1.5px solid rgba(26, 15, 6, 0.72);
  border-radius: 0.24rem;
  background: rgba(255, 250, 244, 0.76);
  color: var(--lb-ink);
  font-family: var(--lb-font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0.06rem 0.07rem 0 rgba(26, 15, 6, 0.28);
}

.lb-spark-toggle .session-planner-toggle-btn.active,
.surf-map-view-row .lb-spark-toggle .session-planner-toggle-btn.active {
  border-color: var(--lb-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 122, 28, 0.16)),
    var(--lb-brand-paper);
  color: var(--lb-ink);
  box-shadow:
    0.08rem 0.09rem 0 rgba(26, 15, 6, 0.62),
    inset 0 -0.08rem 0 rgba(255, 122, 28, 0.28);
}

.identity-panel .identity-logout {
  border: 2px solid var(--lb-ink);
  border-radius: 0.34rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 122, 28, 0.12)),
    var(--lb-brand-paper);
  color: var(--lb-ink);
  font-family: var(--lb-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    0.14rem 0.16rem 0 var(--lb-brand-shadow),
    inset 0 -0.12rem 0 rgba(255, 122, 28, 0.28);
}
