/* Mission 01 final targeted layout and completion-sequence fixes. */

/* Page 5: reserve enough height for the interpreted completion row. */
#courseReveal .watch-notice-slide.m01-p25-theme .watch-nova-zone {
    height: 208px;
    min-height: 208px;
    overflow: visible;
}

#courseReveal .watch-notice-slide.m01-p25-theme .watch-nova-core {
    min-height: 208px;
}

#courseReveal .watch-notice-slide.m01-p25-theme .watch-mission-update {
    height: 208px;
    min-height: 208px;
    padding: 14px 18px;
    overflow: visible;
}

#courseReveal .watch-notice-slide.m01-p25-theme .watch-update-complete {
    height: 100%;
    align-items: stretch;
}

#courseReveal .watch-notice-slide.m01-p25-theme .watch-update-complete > * {
    min-width: 0;
    box-sizing: border-box;
}

#courseReveal .watch-notice-slide.m01-p25-theme .watch-complete-heading,
#courseReveal .watch-notice-slide.m01-p25-theme .watch-evidence,
#courseReveal .watch-notice-slide.m01-p25-theme .watch-network-update,
#courseReveal .watch-notice-slide.m01-p25-theme .watch-transition {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#courseReveal .watch-notice-slide.m01-p25-theme .watch-network-update,
#courseReveal .watch-notice-slide.m01-p25-theme .watch-mission-update.is-interpreted .watch-network-update {
    border: 1px solid rgba(70, 227, 242, .44);
    background: linear-gradient(180deg, rgba(7, 32, 67, .96), rgba(4, 19, 47, .96)) !important;
    box-shadow: 0 0 18px rgba(70, 227, 242, .12), inset 0 1px 0 rgba(139, 238, 246, .05);
}

#courseReveal .watch-notice-slide.m01-p25-theme .watch-network-update small {
    color: #46e3f2 !important;
}

#courseReveal .watch-notice-slide.m01-p25-theme .watch-network-update strong {
    color: #f7fbff !important;
}

/* Page 11: let all four collected evidence cards own their full grid height. */
#courseReveal #page10EvidenceAvenue.evidence-avenue-slide {
    grid-template-rows: auto auto 397px 64px 132px;
    align-content: start;
    gap: 2px;
}

#page10EvidenceAvenue .tf-grid {
    height: 397px;
    min-height: 397px;
}

#page10EvidenceAvenue .page10-evidence-system {
    height: 64px;
    min-height: 64px;
    margin-top: 0;
}

#page10EvidenceAvenue .page10-mission-update {
    height: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
    margin-top: 4px !important;
    padding: 4px 12px 6px !important;
    overflow: visible !important;
}

#page10EvidenceAvenue .page10-result-left,
#page10EvidenceAvenue .page10-cognition-update,
#page10EvidenceAvenue .page10-next-stage {
    height: 100% !important;
    min-height: 0 !important;
}

#page10EvidenceAvenue .page10-nova-core {
    height: 108px !important;
    min-height: 108px !important;
}

/* Page 15: align the NOVA module with the Observe column above it. */
#page14FieldMission .page14-bottom-system {
    grid-template-columns: calc((100% - 32px) / 3) minmax(0, 1.45fr) minmax(0, 1fr) !important;
}

/* Page 16: remove the legacy upward offset and stretch all three cards. */
#page15MissionReport .page15-bottom-system {
    align-items: stretch !important;
}

#page15MissionReport .page15-bottom-system > div {
    align-self: stretch !important;
    height: 100% !important;
    margin: 0 !important;
}

body:has(#courseReveal > .slides > section:nth-child(16).present)
#page15MissionReport .page15-nova-zone {
    top: 0 !important;
    bottom: auto !important;
}

/* One overlay, two non-overlapping phases: Task first, Stage second. */
.mission-stage-transition__task-detail {
    display: none;
    color: #f7fbff;
    font-size: 22px;
    line-height: 1.25;
    text-shadow: 0 0 14px rgba(70, 227, 242, .18);
}

.mission-stage-transition.is-task-phase .mission-stage-transition__task-detail {
    display: block;
}

.mission-stage-transition.is-task-phase .mission-stage-transition__beacon,
.mission-stage-transition.is-task-phase .mission-stage-transition__complete,
.mission-stage-transition.is-task-phase .mission-stage-transition__next {
    display: none;
}

.mission-stage-transition.is-task-phase .mission-stage-transition__copy {
    align-self: center;
}

.mission-stage-transition.is-stage-phase .mission-stage-transition__task,
.mission-stage-transition.is-stage-phase .mission-stage-transition__task-detail {
    display: none;
}

/* =========================================================
   2026-08-23 · PAGE 13 (CODE: page12DecisionHub)
   RENDER-ALIGNED VERTICAL REBALANCE
   - Grow the Argument Path cards downward
   - Push the two lower horizontal bands down as a unit
   - Keep the full 1600×900 canvas and preserve interactions
========================================================= */
#page12DecisionHub .page12-shell {
    grid-template-rows: 58px 94px 258px 174px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 8px 64px 48px !important;
}

#page12DecisionHub .page12-argument-area {
    align-self: stretch !important;
    height: 258px !important;
    min-height: 258px !important;
    padding: 11px 12px 13px !important;
}

#page12DecisionHub .page12-argument-heading {
    min-height: 31px !important;
}

#page12DecisionHub .page12-argument-path {
    height: 202px !important;
    margin-top: 6px !important;
}

#page12DecisionHub .page12-argument-node {
    min-height: 202px !important;
    padding: 13px 14px 12px !important;
}

#page12DecisionHub .page12-argument-node em {
    margin-top: 10px !important;
}

/* The decision row and the NOVA / evolving-map / next-stage row now
   sit lower because the Argument Path occupies real vertical space.
   Keep a clear visual gap between both lower horizontal bands. */
#page12DecisionHub .page12-decision-row {
    min-height: 174px !important;
    gap: 14px !important;
}

#page12DecisionHub .page12-bottom-system {
    min-height: 0 !important;
    margin-top: 0 !important;
}

/* Preserve readability in the enlarged lower bands. */
#page12DecisionHub .page12-nova-copy > strong {
    font-size: 19px !important;
}
#page12DecisionHub .page12-nova-copy p {
    font-size: 18px !important;
    line-height: 1.34 !important;
}
#page12DecisionHub .page12-map-update > small,
#page12DecisionHub .page12-next-zone > small {
    font-size: 14px !important;
}
#page12DecisionHub .page12-map-update span,
#page12DecisionHub .page12-map-update strong,
#page12DecisionHub .page12-map-update b {
    font-size: 14px !important;
}

@media (max-width: 1200px) {
    #page12DecisionHub .page12-shell {
        padding-inline: 42px !important;
    }
}

/* =========================================================
   FINAL PAGE 13 / 14 POLISH — 2026-08-23
   Page 13: widen Argument Path cards WITHOUT changing height.
   Page 14: click-to-select cyan state, restrained hover, and move
   the "Break the word..." instruction into the matching game.
   ========================================================= */

/* PAGE 13 (Decision Hub): preserve the existing 202px card height;
   reclaim horizontal space from the connector columns and outer padding
   so every evidence card gets a wider text column. */
#page12DecisionHub .page12-shell {
    padding-left: 44px !important;
    padding-right: 44px !important;
}
#page12DecisionHub .page12-argument-path {
    grid-template-columns:
      minmax(0,1fr) 28px
      minmax(0,1fr) 28px
      minmax(0,1fr) 28px
      minmax(0,1fr) !important;
    gap: 6px !important;
    height: 202px !important;
}
#page12DecisionHub .page12-argument-node {
    min-height: 202px !important;
    height: 202px !important;
    max-height: 202px !important;
    padding: 13px 15px 12px !important;
}
#page12DecisionHub .page12-path-link {
    min-width: 0 !important;
    width: 28px !important;
    overflow: visible !important;
}
#page12DecisionHub .page12-path-link i {
    font-size: 27px !important;
}
#page12DecisionHub .page12-path-link span {
    display: none !important;
}

/* PAGE 14 (Action Studio): hover should only hint interactivity;
   the strong cyan fill is reserved for an actual click/selection. */
#page13ActionStudio.m01-refined .word-puzzle-card:hover,
#page13ActionStudio.m01-refined .word-puzzle-card:focus-visible {
    color: #ffffff !important;
    background: rgba(7,36,72,.92) !important;
    border-color: rgba(70,227,242,.55) !important;
    box-shadow: 0 0 10px rgba(70,227,242,.10) !important;
    transform: translateY(-1px) !important;
    outline: none !important;
}
#page13ActionStudio.m01-refined .word-puzzle-card.is-selected,
#page13ActionStudio.m01-refined .word-puzzle-card.is-selected:hover,
#page13ActionStudio.m01-refined .word-puzzle-card.is-selected:focus-visible {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(0,199,235,.98), rgba(0,111,170,.96)) !important;
    border-color: #59f1ff !important;
    box-shadow: 0 0 0 2px rgba(89,241,255,.18), 0 0 24px rgba(0,212,255,.42) !important;
    transform: translateY(-2px) scale(1.015) !important;
}

/* The instruction belongs to STEP 1, so keep it physically inside the
   vocabulary-matching panel instead of floating near the bottom system. */
#page13ActionStudio .word-puzzle-area {
    height: 166px !important;
    padding-top: 10px !important;
    padding-bottom: 9px !important;
}
#page13ActionStudio .word-puzzle-instruction {
    margin-top: 3px !important;
    color: #dcecf4 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: .05px !important;
    text-align: left !important;
}
#page13ActionStudio .word-card-grid {
    margin-top: 7px !important;
}
#page13ActionStudio .word-puzzle-feedback {
    margin-top: 5px !important;
}

/* =========================================================
   2026-08-23 · PAGE 15 FIELD MISSION LAYOUT PASS
   User-facing Page 15 == #page14FieldMission in source.
   - Extend all 01/02/03 cards downward without shrinking type.
   - Match Observe body copy to Connect/Think readability.
   - Align bottom NOVA with column 01 and make FIELD MISSION STATUS
     span the exact width of columns 02 + 03.
   - Move the whole bottom system lower while preserving bottom-nav room.
========================================================= */
#page14FieldMission .page14-steps {
    height: 372px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

#page14FieldMission .page14-step-card {
    height: 100% !important;
    min-height: 0 !important;
    padding-bottom: 18px !important;
}

/* 01 body copy should read at the same scale as 02 / 03. */
#page14FieldMission .observe-card > p {
    font-size: 23px !important;
    line-height: 1.28 !important;
    color: #eefcff !important;
}
#page14FieldMission .observe-card .page14-support-label {
    font-size: 18px !important;
}
#page14FieldMission .observe-card .page14-chips span {
    font-size: 19px !important;
}
#page14FieldMission .observe-card > em {
    font-size: 19px !important;
    line-height: 1.32 !important;
}

/* Exact three-column geometry matching the cards above. */
#page14FieldMission .page14-bottom-system {
    left: 64px !important;
    right: 64px !important;
    bottom: 50px !important;
    height: 214px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: 16px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* NOVA occupies exactly column 01. */
#page14FieldMission .page14-nova-zone {
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(70,227,242,.34) !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, rgba(9,29,63,.94), rgba(5,19,47,.92)) !important;
}

/* FIELD MISSION STATUS is the single wide frame aligned to columns 02+03. */
#page14FieldMission .page14-completion {
    grid-column: 2 / 4 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-content: center !important;
    justify-items: center !important;
    height: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(70,227,242,.34) !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, rgba(9,29,63,.94), rgba(5,19,47,.92)) !important;
    text-align: center !important;
}
#page14FieldMission .page14-completion > * {
    grid-column: 1 !important;
}

/* Keep NEXT inside the right half of the same wide status frame rather than
   creating a third narrow box. */
#page14FieldMission .page14-next-stage {
    grid-column: 3 !important;
    grid-row: 1 !important;
    z-index: 2 !important;
    height: calc(100% - 24px) !important;
    min-height: 0 !important;
    align-self: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    border: 0 !important;
    border-left: 1px solid rgba(70,227,242,.22) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* Give the central status copy more breathing room. */
#page14FieldMission .page14-completion > strong {
    font-size: 25px !important;
    line-height: 1.12 !important;
}
#page14FieldMission .page14-completion > span {
    font-size: 18px !important;
    line-height: 1.25 !important;
}
#page14FieldMission .page14-completion b,
#page14FieldMission .page14-completion em {
    font-size: 17px !important;
    line-height: 1.3 !important;
}

@media (max-width: 1200px) {
    #page14FieldMission .page14-bottom-system {
        left: 42px !important;
        right: 42px !important;
    }
}

/* =========================================================
   2026-08-23 · PAGE 15 FIELD MISSION TALLER-CARDS PASS
   User-facing Page 15 == #page14FieldMission in source.
   Keep the current three-column geometry and type scale, but extend
   all 01 / 02 / 03 task frames farther downward so no copy touches
   or falls outside the frame. Preserve the bottom-center nav clearance.
========================================================= */
#page14FieldMission .page14-steps {
    height: 396px !important;
}
#page14FieldMission .page14-step-card {
    height: 100% !important;
    min-height: 396px !important;
    padding-bottom: 22px !important;
    overflow: hidden !important;
}
/* Give the long CONNECT copy a little more breathing room at the bottom. */
#page14FieldMission .connect-card .page14-sentence-frame {
    margin-bottom: 4px !important;
}
/* Keep the lower system visually separated while using the added vertical room. */
#page14FieldMission .page14-bottom-system {
    bottom: 45px !important;
}

/* =========================================================
   2026-08-23 · PAGE 16 FINAL READABILITY / PARTICIPANT PASS
   - Keep the report cards tall.
   - Move participant entry beneath Teaching Lens + Mission Score.
   - Make NOVA report panel truly dark, readable, and theme-consistent.
========================================================= */

/* Header: right-side actions become a two-row stack with participant entry below. */
#page15MissionReport .page15-mission-header {
    position: relative !important;
    height: 92px !important;
    align-items: flex-start !important;
    padding-top: 4px !important;
}
#page15MissionReport .page15-header-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    width: 390px !important;
    min-width: 390px !important;
}
#page15MissionReport .page15-header-actions {
    justify-content: flex-end !important;
    gap: 10px !important;
}
#page15MissionReport .page15-participant--header {
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 6px 9px !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(34,211,238,.58) !important;
    border-radius: 9px !important;
    background: linear-gradient(90deg,rgba(4,30,57,.97),rgba(7,51,83,.94)) !important;
    box-shadow: inset 0 0 16px rgba(34,211,238,.06),0 0 13px rgba(34,211,238,.10) !important;
}
#page15MissionReport .page15-participant--header label {
    color: #67e8f9 !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    letter-spacing: .55px !important;
    white-space: nowrap !important;
}
#page15MissionReport .page15-participant--header input {
    height: 30px !important;
    min-width: 0 !important;
    padding: 4px 9px !important;
    box-sizing: border-box !important;
    border: 1.5px solid rgba(103,232,249,.72) !important;
    border-radius: 7px !important;
    color: #f4fdff !important;
    background: rgba(2,18,39,.86) !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    outline: none !important;
}
#page15MissionReport .page15-participant--header input::placeholder {
    color: rgba(207,250,254,.60) !important;
}
#page15MissionReport .page15-participant--header input:focus {
    border-color: #a5f3fc !important;
    box-shadow: 0 0 0 2px rgba(34,211,238,.14),0 0 14px rgba(34,211,238,.20) !important;
}

/* The larger header consumes space; keep the title compact and preserve the full question. */
#page15MissionReport .page15-title-zone {
    height: 112px !important;
    padding-top: 5px !important;
}
#page15MissionReport .page15-title-zone h2 {
    margin: 3px 0 5px !important;
}

/* Continue to give A/B/C enough vertical room. */
#page15MissionReport .page15-main-grid {
    height: 402px !important;
}

/* NOVA report: eliminate pale/white wash from earlier theme rules. */
#page15MissionReport .page15-bottom-system > .page15-nova-zone {
    transform: translateY(10px) !important;
    color: #f3fcff !important;
    background:
      radial-gradient(circle at 17% 48%,rgba(34,211,238,.14),transparent 34%),
      linear-gradient(145deg,rgba(4,20,47,.985),rgba(5,36,69,.965)) !important;
    border: 1px solid rgba(70,227,242,.48) !important;
    box-shadow: inset 0 0 32px rgba(34,211,238,.08),0 0 18px rgba(34,211,238,.07) !important;
    opacity: 1 !important;
    filter: none !important;
}
#page15MissionReport .page15-bottom-system > .page15-nova-zone .page15-nova-copy {
    position: relative !important;
    z-index: 2 !important;
    opacity: 1 !important;
}
#page15MissionReport .page15-bottom-system > .page15-nova-zone .page15-nova-copy > strong {
    color: #67e8f9 !important;
    text-shadow: 0 0 10px rgba(34,211,238,.22) !important;
}
#page15MissionReport .page15-bottom-system > .page15-nova-zone .page15-nova-copy > p {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.55) !important;
}
#page15MissionReport .page15-bottom-system > .page15-nova-zone .page15-nova-complete b {
    color: #5eead4 !important;
}
#page15MissionReport .page15-bottom-system > .page15-nova-zone .page15-nova-complete span {
    color: #f4fbff !important;
}
#page15MissionReport .page15-bottom-system > .page15-nova-zone .page15-nova-complete em {
    color: #67e8f9 !important;
}

/* The old in-card participant slot has been removed; keep the copy action tidy. */
#page15MissionReport .page15-skills .page15-copy-row {
    margin-top: 8px !important;
}

@media (max-width: 1200px) {
    #page15MissionReport .page15-header-right {
        width: 360px !important;
        min-width: 360px !important;
    }
    #page15MissionReport .page15-participant--header label {font-size: 14px !important;}
    #page15MissionReport .page15-participant--header input {font-size: 14px !important;}
}
