nextjs-portal {
  display: none;
}

.lr-hero-measure {
  width: min(960px, 100%);
  margin-top: 28px;
  container-type: inline-size;
}

.lr-hero-slot {
  position: relative;
  width: min(358px, 100%);
  height: 320px;
  margin-inline: auto;
  overflow: hidden;
}

@container (max-width: 357px) {
  .lr-hero-slot {
    width: 100%;
    height: auto;
    aspect-ratio: 358 / 320;
  }
}

@container (min-width: 860px) {
  .lr-hero-slot {
    width: 100%;
    height: auto;
    aspect-ratio: 960 / 400;
  }
}

.lr-hero .ss-stage,
.lr-card .ss-stage,
.lr-bento-stage .ss-stage {
  overflow: hidden;
  background: transparent;
}

.lr-window {
  position: absolute;
  background: var(--ss-surface);
  box-shadow: var(--ss-shadow-hero);
}

.lr-hero .ss-stage {
  --ss-shadow-hero: 0 0 0 1px rgba(18, 54, 59, 0.1), 0 10px 24px -14px rgba(18, 54, 59, 0.3);
}

.lr-hero .lr-window {
  top: 24px;
  right: 24px;
  left: 24px;
  height: 520px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.lr-hero .ss-stage[data-layout="compact"] .lr-window {
  top: 14px;
  right: 14px;
  left: 14px;
  height: 420px;
}

.lr-card .ss-stage,
.lr-bento-stage .ss-stage {
  --ss-shadow-hero: 0 0 0 1px rgba(18, 54, 59, 0.1), 0 5px 12px -7px rgba(18, 54, 59, 0.3);
}

.lr-card .lr-window,
.lr-bento-stage .lr-window,
.lr-card .ss-stage[data-layout="compact"] .lr-window,
.lr-bento-stage .ss-stage[data-layout="compact"] .lr-window {
  inset: 14px 16px;
  width: auto;
  height: auto;
  overflow: hidden;
}

.lr-card .lr-window::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 32px;
  border-radius: inherit;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background: linear-gradient(rgba(255, 255, 255, 0), #ffffff);
  pointer-events: none;
}

.lr-card .lr-review-panel .lr-answers {
  flex: 1;
  margin-top: 4px;
}

.lr-card .lr-review-panel .lr-answer-row {
  flex: 1;
}

.lr-list {
  display: flex;
  flex-direction: column;
  padding: 12px 16px 0;
}

.lr-window .ss-window__lights {
  gap: 5px;
}

.lr-window .ss-window__dot {
  width: 6px;
  height: 6px;
}

.lr-list-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 8px;
  border-bottom: 1px solid var(--ss-line);
  margin-bottom: 6px;
  color: var(--ss-text);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
}

.lr-list-head > span:first-child {
  margin-right: auto;
}

.lr-avatar {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e3f4f6;
  color: #0b5c6b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.lr-avatar[data-subject] {
  background: #0b5c6b;
  color: #ffffff;
}

.lr-avatar--index {
  background: rgba(18, 54, 59, 0.06);
  color: var(--ss-text);
  font-variant-numeric: tabular-nums;
}

.lr-row:nth-child(3n) .lr-avatar:not([data-subject], .lr-avatar--index) {
  background: #f8f1e8;
  color: #6b4a12;
}

.lr-row:nth-child(3n + 1) .lr-avatar:not([data-subject], .lr-avatar--index) {
  background: #e5f1e8;
  color: #1f5a3a;
}

.lr-trail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.lr-meta {
  color: var(--ss-text);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

.lr-trail .lr-meta,
.lr-list-head .lr-meta {
  min-width: 104px;
  text-align: right;
}

.lr-list-head .lr-meta {
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
}

.lr-status {
  display: inline-flex;
  justify-content: flex-end;
  min-width: 76px;
}

.ss-stage[data-layout="compact"] .lr-list-head .lr-meta,
.ss-stage[data-layout="compact"] .lr-trail .lr-status + .lr-meta,
.ss-stage[data-layout="compact"] .lr-trail:has(.lr-status) .lr-meta {
  display: none;
}

.lr-card .ss-stage:not([data-layout="compact"]) .lr-trail:has(.lr-status) .lr-meta {
  min-width: 88px;
}

.lr-name {
  font-weight: 600;
  color: var(--ss-text-strong);
}

.lr-measure,
.lr-kicker {
  font-weight: 500;
  color: var(--ss-text);
}

.lr-panel .lr-name,
.lr-panel .lr-measure,
.lr-panel .lr-kicker,
.lr-panel .lr-answer {
  font-size: 13px;
  line-height: 1.35;
}

.lr-send {
  flex: none;
  height: 20px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: #0b5c6b;
  color: #ffffff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
}

.lr-send[data-pressed] {
  background: #084a56;
}

.lr-send[data-done] {
  visibility: hidden;
}

.lr-panel {
  position: absolute;
  inset: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--ss-shadow-hero);
}

.lr-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lr-result-head .lr-name,
.lr-result-head .lr-measure {
  display: block;
}

.lr-export {
  flex: none;
  padding: 0 10px;
  border: 1px solid rgba(11, 92, 107, 0.36);
  border-radius: 8px;
  color: #0b5c6b;
  font-size: 12px;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
}

.lr-result-score,
.lr-track-row > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.lr-figure {
  color: var(--ss-text-strong);
  font-size: 34px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.lr-of,
.lr-done,
.lr-answer-index {
  color: var(--ss-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.lr-result-score .lr-kicker,
.lr-track-row .lr-kicker {
  min-width: 52px;
}

.lr-answers {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  border-top: 1px solid var(--ss-line);
}

.lr-answers--titled {
  border-top: 0;
}

.lr-answers > .lr-kicker {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ss-line);
}

.lr-card .ss-stage:not([data-layout="compact"]) .lr-answer-row {
  min-height: 29px;
}

.lr-answer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 25px;
  border-bottom: 1px solid var(--ss-line);
}

.lr-answer-row:last-child {
  border-bottom: 0;
}

.lr-answer-index {
  width: 10px;
}

.lr-answer {
  margin-left: auto;
}

.lr-result-count {
  margin-left: auto;
}

.lr-result-date {
  margin-left: auto;
}

.lr-answer-row--result .lr-result-date + .lr-done {
  min-width: 76px;
  margin-left: 0;
  text-align: right;
}

.ss-stage[data-layout="compact"] .lr-result-date {
  display: none;
}

.ss-stage[data-layout="compact"] .lr-answer-row--result .lr-result-date + .lr-done {
  margin-left: auto;
}

.lr-bento-stage .ss-stage:not([data-layout="compact"]) .lr-panel {
  gap: 10px;
  padding: 14px 22px;
}

.lr-bento-stage .ss-stage:not([data-layout="compact"]) .lr-answer-row {
  min-height: 27px;
}

.lr-bento-stage .ss-stage:not([data-layout="compact"]) .lr-review-panel {
  gap: 18px;
  padding-block: 20px;
}

.lr-bento-stage .ss-stage:not([data-layout="compact"]) .lr-review-panel .lr-answers {
  flex: 1;
  margin-top: 0;
}

.lr-bento-stage .ss-stage:not([data-layout="compact"]) .lr-review-panel .lr-answer-row {
  flex: 1;
}

.lr-bento-stage .ss-stage:not([data-layout="compact"]) .lr-figure {
  font-size: 40px;
}

.lr-answer-value {
  min-width: 20px;
  border-radius: 6px;
  background: #e3f4f6;
  color: #0b5c6b;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

.lr-answer-row--result .lr-name {
  min-width: 52px;
}

.lr-answer-row--result .lr-done {
  margin-left: auto;
  color: #176c43;
  font-weight: 600;
}

.lr-review {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lr-track-row {
  display: flex;
  gap: 28px;
}

.lr-track-row .lr-kicker {
  min-width: 0;
}

.lr-track-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--ss-line);
}

.lr-track-line {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 60px;
  align-items: center;
  gap: 12px;
}

.lr-track-rail {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(18, 54, 59, 0.06);
}

.lr-track-rail span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(11, 92, 107, 0.32);
}

.lr-track-line[data-current] .lr-track-rail span {
  background: #0b5c6b;
}

.lr-track-line[data-current] .lr-meta {
  color: var(--ss-text-strong);
  font-weight: 600;
}

.lr-track-value {
  text-align: right;
}

.lr-bento-stage .ss-stage:not([data-layout="compact"]) .lr-track-bars {
  flex: 1;
  justify-content: space-around;
  gap: 0;
  margin-top: 0;
  padding-top: 8px;
}

.lr-bento-stage .ss-stage:not([data-layout="compact"]) .lr-track-rail,
.lr-bento-stage .ss-stage:not([data-layout="compact"]) .lr-track-rail span {
  height: 12px;
  border-radius: 6px;
}

.lr-list--fade {
  height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 72px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 72px), transparent);
}

.lr-bento {
  display: grid;
  gap: 20px;
  width: 100%;
}

.lr-bento-tile {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  min-width: 0;
  overflow: hidden;
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid rgba(18, 54, 59, 0.1);
  border-radius: 24px;
  background: var(--public-surface-soft);
}

.lr-bento-tile--hero {
  background: var(--public-surface-sky);
}

.lr-bento-tile--score {
  background: var(--public-surface-warm);
}

.lr-bento-tile--review {
  background: var(--public-surface-mint);
}

.lr-bento-tile:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.lr-bento-tile:nth-child(even) .lr-bento-copy {
  order: 2;
}

.lr-bento-step {
  display: block;
  margin-bottom: 14px;
  color: var(--public-teal);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lr-bento-copy h2 {
  margin: 0;
  color: var(--public-ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.lr-bento-copy h2 a {
  color: inherit;
  text-decoration: none;
}

.lr-bento-copy h2 a::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.3em;
  color: var(--public-teal);
  font-family: var(--font-body);
  font-size: 0.62em;
  transition: transform 180ms ease;
}

.lr-bento-copy h2 a:hover::after {
  transform: translateX(4px);
}

.lr-bento-copy p {
  max-width: 38ch;
  margin: 16px 0 0;
  color: var(--public-ink-muted);
  font-size: 17px;
  line-height: 1.55;
}

.lr-bento-picture {
  min-width: 0;
  container: lr-lazy / inline-size;
}

.lr-bento-picture .ss-fit {
  margin-inline: auto;
}

.lr-bento-stage .lr-window,
.lr-bento-stage .lr-panel,
.lr-bento-stage .ss-stage[data-layout="compact"] .lr-window {
  inset: 6px 8px 10px;
}

.public-shell .home-hero-v2:has(.lr-hero-slot) {
  min-height: 0;
  padding-bottom: 36px;
}

.public-shell .home-story-card .home-story-visual--stage {
  display: block;
  min-height: 0;
  margin-bottom: 28px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  container: lr-lazy / inline-size;
}

.public-shell .home-story-card .home-story-visual--stage > div {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 0;
}

@media (max-width: 860px) {
  .lr-bento-tile {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 16px 16px;
    border-radius: 20px;
  }

  .lr-bento-tile:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }

  .lr-bento-tile:nth-child(even) .lr-bento-copy {
    order: 0;
  }

  .lr-bento-copy {
    padding-inline: 6px;
  }
}

.lr-lazy-story {
  --lr-lazy-min: 268px;
}

@container lr-lazy (width < 480px) {
  .lr-lazy-story {
    --lr-lazy-min: calc(268px * 100cqi / 480px);
  }
}

@container lr-lazy (width < 460px) {
  .lr-lazy-story {
    --lr-lazy-min: 248px;
  }
}

@container lr-lazy (width < 358px) {
  .lr-lazy-story {
    --lr-lazy-min: calc(248px * 100cqi / 358px);
  }
}

.lr-lazy-send,
.lr-lazy-score,
.lr-lazy-review,
.lr-lazy-track {
  --lr-lazy-min: 340px;
}

@container lr-lazy (width < 600px) {
  .lr-lazy-send,
  .lr-lazy-score,
  .lr-lazy-review,
  .lr-lazy-track {
    --lr-lazy-min: calc(340px * 100cqi / 600px);
  }
}

@container lr-lazy (width < 560px) {
  .lr-lazy-send,
  .lr-lazy-score,
  .lr-lazy-review,
  .lr-lazy-track {
    --lr-lazy-min: 260px;
  }
}

@container lr-lazy (width < 358px) {
  .lr-lazy-send,
  .lr-lazy-score,
  .lr-lazy-review,
  .lr-lazy-track {
    --lr-lazy-min: calc(260px * 100cqi / 358px);
  }
}

.lr-lazy-rest {
  --lr-lazy-min: 200px;
}

@container lr-lazy (width < 200px) {
  .lr-lazy-rest {
    --lr-lazy-min: 100cqi;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lr-send {
    transition: none;
  }
}
