/* Build an End is isolated from the rest of HouseCall. */
.build-end { --be-ink: #082958; --be-soft: #f1f6fb; --be-line: #c8d8e7; }
.build-end .build-end-shell { max-width: 1120px; }
.build-end #build-end-app { color: #142033; scroll-margin-top: 100px; }
.build-end #build-end-app *, .build-end #build-end-app *::before, .build-end #build-end-app *::after { box-sizing: border-box; }
.build-end .be-context { padding: 22px 26px; background: #082958; color: #fff; border-radius: 18px; }
.build-end .be-context-title { max-width: 82ch; margin: 0 0 16px; font-size: 1.04rem; line-height: 1.6; }
.build-end .be-context-meta { display: flex; flex-wrap: wrap; gap: 9px; }
.build-end .be-context-chip { padding: 5px 11px; border: 1px solid #7592b7; border-radius: 999px; font-size: .81rem; font-weight: 650; line-height: 1.5; }
.build-end .be-howto { max-width: 80ch; font-size: .94rem; margin: 19px 0; color: #48596e; }
.build-end .be-stage { display: grid; grid-template-columns: minmax(265px, .9fr) minmax(0, 1.15fr); gap: clamp(22px, 3.5vw, 42px); align-items: start; padding-top: 24px; }
.build-end .be-visual { position: sticky; top: 175px; min-width: 0; }
.build-end .be-figure { margin: 0; }
.build-end .be-house { display: block; width: 100%; max-width: 430px; height: auto; margin-inline: auto; border-radius: 10px; box-shadow: 0 5px 24px #0829580a; }
.build-end .be-sheet-label { font-family: Inter, ui-sans-serif, sans-serif; font-size: 10px; font-weight: 750; letter-spacing: 1px; fill: #375973; }
.build-end .be-tee-label { fill: #375973; font-size: 9px; }
.build-end .be-crop-label { font-size: 8px; letter-spacing: .6px; }
.build-end .be-stone-id { font-family: Inter, ui-sans-serif, sans-serif; font-size: 16px; font-weight: 850; paint-order: stroke; letter-spacing: -.3px; }
.build-end .be-figure-caption { padding: 10px 3px 0; color: #4a5c71; line-height: 1.5; font-size: .79rem; text-align: center; }
.build-end .be-stone-key { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 15px; margin-top: 14px; font-size: .8rem; font-weight: 750; }
.build-end .be-key-red, .build-end .be-key-yellow { display: inline-flex; align-items: center; gap: 7px; }
.build-end .be-key-red::before, .build-end .be-key-yellow::before { content: ''; width: 13px; height: 13px; border: 1px solid #092a47; border-radius: 50%; background: #c61630; }
.build-end .be-key-yellow::before { background: #ffd052; }
.build-end .be-position-details { margin-top: 15px; border-top: 1px solid #dce5ef; padding-top: 10px; font-size: .82rem; }
.build-end .be-position-details summary { cursor: pointer; color: #145394; font-weight: 650; min-height: 35px; padding: 3px; }
.build-end .be-position-list { padding-left: 20px; margin: 7px 0; line-height: 1.5; color: #48596e; }
.build-end .be-position-list li { margin: 7px 0; }
.build-end .be-story { min-width: 0; }
.build-end .be-progress { padding-bottom: 20px; border-bottom: 1px solid #c8d8e7; margin-bottom: 22px; }
.build-end .be-progress-label { color: #082958; font-size: .86rem; font-weight: 800; margin: 0 0 7px; }
.build-end .be-progress-bar { display: block; border: 0; background: #e3ebf3; border-radius: 999px; width: 100%; height: 7px; overflow: hidden; accent-color: #1558b5; }
.build-end .be-progress-bar::-webkit-progress-bar { background: #e3ebf3; border-radius: 999px; }
.build-end .be-progress-bar::-webkit-progress-value { background: #1558b5; border-radius: 999px; }
.build-end .be-progress-bar::-moz-progress-bar { background: #1558b5; border-radius: 999px; }
.build-end .be-progress-count { font-size: .8rem; color: #4a5c71; margin: 7px 0 0; font-variant-numeric: tabular-nums; }
.build-end .be-kicker { font-size: .73rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; color: #3f627f; margin: 0 0 10px; }
.build-end .be-shot-title { color: #082958; font-size: clamp(1.5rem, 2.7vw, 2.05rem); line-height: 1.22; letter-spacing: -.025em; margin: 0 0 23px; overflow-wrap: anywhere; }
.build-end .be-opening-text { font-size: 1.06rem; line-height: 1.65; margin: 0 0 22px; }
.build-end .be-opening-tip { background: #f1f6fb; border-radius: 12px; padding: 19px 21px; font-size: .94rem; }
.build-end .be-note-block { margin: 21px 0; }
.build-end .be-note-title { color: #294b69; font-size: .79rem; text-transform: uppercase; letter-spacing: .045em; margin: 0 0 7px; font-weight: 800; }
.build-end .be-note-block p { margin: 0; line-height: 1.6; font-size: .96rem; }
.build-end .be-actual { background: #eef5fc; border-left: 4px solid #1558b5; border-radius: 0 11px 11px 0; padding: 16px 18px; }
.build-end .be-actual .be-note-title { color: #104b8c; }
.build-end .be-granite { padding: 19px 21px; border: 1px solid #e3ce9c; border-radius: 13px; background: #fffaed; margin: 22px 0; }
.build-end .be-granite-title { font-size: .94rem; color: #775414; margin: 0 0 10px; }
.build-end .be-granite p { font-size: .925rem; line-height: 1.6; margin: 9px 0; }
.build-end .be-granite p:last-child { margin-bottom: 0; }
.build-end .be-navigation { position: sticky; top: 76px; z-index: 15; display: flex; gap: 10px; align-items: center; padding: 12px 0; background: #fff; border-block: 1px solid #dce5ef; }
.build-end .be-button { min-height: 46px; padding: 10px 18px; border: 1px solid #082958; border-radius: 8px; font-weight: 750; font-size: .9rem; cursor: pointer; line-height: 1.4; transition: background-color .15s; }
.build-end .be-button-primary { color: #fff; background: #082958; }
.build-end .be-button-primary:hover:not(:disabled) { background: #1558b5; border-color: #1558b5; }
.build-end .be-button-secondary { background: #fff; color: #082958; }
.build-end .be-button-secondary:hover:not(:disabled) { background: #edf4fb; }
.build-end .be-button:disabled { cursor: not-allowed; opacity: .45; }
.build-end .be-restart, .build-end .be-revisit { min-height: 44px; padding: 9px 4px; border: 0; background: transparent; color: #145394; text-decoration: underline; text-underline-offset: 4px; font-size: .86rem; cursor: pointer; }
.build-end .be-restart { margin-left: auto; white-space: nowrap; }
.build-end button:focus-visible, .build-end summary:focus-visible { outline: 3px solid #b77b03; outline-offset: 4px; }
.build-end .be-decision { padding: 0 0 8px; }
.build-end .be-decision .be-shot-title { font-size: clamp(1.4rem, 2.6vw, 1.95rem); }
.build-end .be-decision-instruction { color: #48596e; font-size: .89rem; margin: -7px 0 18px; }
.build-end .be-choices { display: grid; gap: 10px; }
.build-end .be-choice { display: flex; align-items: flex-start; gap: 13px; min-height: 62px; width: 100%; text-align: left; padding: 14px; background: #fff; border: 1.5px solid #b6cadc; border-radius: 10px; cursor: pointer; color: #173752; line-height: 1.5; }
.build-end .be-choice:hover { background: #f3f8fd; border-color: #5981a6; }
.build-end .be-choice.is-selected { background: #eaf3ff; border-color: #1558b5; box-shadow: inset 0 0 0 1px #1558b5; }
.build-end .be-choice-letter { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: #eef3f8; border: 1px solid #b6cadc; font-size: .79rem; font-weight: 800; }
.build-end .is-selected .be-choice-letter { color: #fff; background: #1558b5; border-color: #1558b5; }
.build-end .be-choice-label { padding-top: 1px; font-size: .94rem; font-weight: 650; }
.build-end .be-choice-feedback { margin-top: 17px; padding: 18px 20px; background: #fff8e6; border: 1px solid #dcc68f; border-radius: 11px; }
.build-end .be-choice-feedback h3 { font-size: .96rem; margin: 0 0 8px; color: #725117; }
.build-end .be-choice-feedback p { font-size: .91rem; line-height: 1.6; margin: 0 0 10px; }
.build-end .be-choice-feedback p:last-child { margin-bottom: 0; }
.build-end .be-choice-feedback .be-choice-path { padding-top: 10px; border-top: 1px solid #e6d7b7; font-size: .81rem; color: #655a40; }
.build-end .be-final { margin-top: 28px; padding: 25px; border-radius: 15px; background: #082958; color: #fff; }
.build-end .be-final .be-kicker { color: #bdd7f5; }
.build-end .be-final-title { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.2; margin: 0 0 17px; color: #fff; }
.build-end .be-final p { font-size: .94rem; line-height: 1.6; }
.build-end .be-final .be-final-scoreboard { border-block: 1px solid #536f93; padding-block: 12px; font-weight: 750; }
.build-end .be-final .be-final-rule { color: #d1e2f6; font-size: .84rem; margin-bottom: 0; }
.build-end .be-final .be-note-title { color: #bdd7f5; }
.build-end .be-authored-note { max-width: 94ch; margin: 32px 0 0; padding-top: 20px; border-top: 1px solid #dce5ef; font-size: .81rem; color: #526171; line-height: 1.6; }
.build-end .be-load-error { padding: 25px; border: 1px solid #bd4950; background: #fff6f7; border-radius: 12px; }
.build-end .be-sr-only { position: absolute; height: 1px; width: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.build-end [hidden] { display: none !important; }
@media (max-width: 800px) {
  .build-end .be-navigation { top: 76px; }
  .build-end .be-stage { grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr); gap: 22px; }
  .build-end .be-context { padding: 20px; }
  .build-end .be-visual { top: 162px; }
}
@media (max-width: 640px) {
  .build-end .be-context { padding: 19px 17px; border-radius: 13px; }
  .build-end .be-context-title { font-size: .94rem; }
  .build-end .be-context-chip { font-size: .75rem; padding: 4px 9px; }
  .build-end .be-context-meta { gap: 7px; }
  .build-end .be-howto { font-size: .86rem; }
  .build-end .be-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 19px; }
  .build-end .be-story { display: contents; }
  .build-end .be-progress { grid-row: 1; padding-bottom: 12px; margin-bottom: 15px; }
  .build-end .be-visual { grid-row: 2; position: static; margin-bottom: 24px; }
  .build-end .be-house { max-width: 320px; }
  .build-end .be-shot-content { grid-row: 3; }
  .build-end .be-navigation { top: 76px; gap: 7px; padding: 10px 0; flex-wrap: wrap; }
  .build-end .be-button { min-height: 46px; font-size: .8rem; padding: 9px 11px; }
  .build-end .be-button-primary { flex: 1 1 140px; }
  .build-end .be-button-secondary { flex: 0 0 auto; }
  .build-end .be-restart { margin: 0; min-height: 32px; width: 100%; padding: 3px; text-align: right; font-size: .76rem; }
  .build-end .be-shot-title { font-size: 1.7rem; }
  .build-end .be-final { padding: 22px 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .build-end .be-button { transition: none; }
  html:has(.build-end) { scroll-behavior: auto; }
}
@media print {
  .build-end .be-navigation, .build-end .be-howto, .build-end .be-revisit { display: none !important; }
  .build-end .be-visual { position: static; }
  .build-end .be-context, .build-end .be-final { background: white; color: black; border: 1px solid #444; }
  .build-end .be-context *, .build-end .be-final * { color: black !important; }
}
.build-end .be-rules { margin-top: 18px; padding: 18px 22px; background: #f5f8fc; border: 1px solid #d5e1ed; border-radius: 11px; }
.build-end .be-rules > summary { cursor: pointer; font-size: .9rem; color: #145394; font-weight: 700; min-height: 30px; }
.build-end .be-rules .be-note-block p, .build-end .be-sources { font-size: .84rem; }
.build-end .be-sources { padding-left: 19px; line-height: 1.6; color: #4a5c71; }
.build-end .be-sources li { margin: 7px 0; }
.build-end .be-sources a { color: #145394; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.build-end .build-end-more { margin-top: 45px; }

.build-end .be-decision-thrower { color: #48596e; font-size: .82rem; margin: -4px 0 16px; }
