@font-face {
  font-family: "Shenzhen Display";
  src: url("../public/assets/fonts/NotoSerifCJKsc-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* P05 approved rebuild｜single full-stage map with map-integrated clues and qualitative flows */
.common-revision-sample.slice-p05 .map-shell { background: #dcebea; }
.common-revision-sample.slice-p05 .p05-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  overflow: hidden;
  background: #dcebea;
}
.common-revision-sample.slice-p05 .p05-map { width: 100%; height: 100%; display: block; }
.common-revision-sample.slice-p05 .p05-ocean { fill: #dcebea; }
.common-revision-sample.slice-p05 .p05-water-texture { opacity: .42; }
.common-revision-sample.slice-p05 .p05-prefecture { fill: #f1f3ee; stroke: #9cb4b0; stroke-width: 1.05; vector-effect: non-scaling-stroke; }
.common-revision-sample.slice-p05 .p05-prefecture.context { fill: #eef2ed; stroke: #b4c4c0; opacity: .72; }
.common-revision-sample.slice-p05 .p05-prefecture.focus { stroke: #4f8584; stroke-width: 1.55; }
.common-revision-sample.slice-p05 .p05-prefecture.shenzhen { fill: #d3e9e3; }
.common-revision-sample.slice-p05 .p05-prefecture.dongguan { fill: #dfeae5; }
.common-revision-sample.slice-p05 .p05-prefecture.huizhou { fill: #dbe9ec; }
.common-revision-sample.slice-p05 .p05-transport-layer { opacity: .22; }
.common-revision-sample.slice-p05 .p05-transport-network-motorway { stroke: #8d755f; stroke-width: .8; }
.common-revision-sample.slice-p05 .p05-transport-network-rail { stroke: #5d6e70; stroke-width: .8; stroke-dasharray: 4 4; }

.common-revision-sample.slice-p05 .p05-flow-wrap,
.common-revision-sample.slice-p05 .p05-flow-label,
.common-revision-sample.slice-p05 .p05-role-node { opacity: 0; transition: opacity .28s ease; }
.common-revision-sample.slice-p05 .p05-flow-wrap.visible,
.common-revision-sample.slice-p05 .p05-flow-label.visible,
.common-revision-sample.slice-p05 .p05-role-node.visible { opacity: 1; }
.common-revision-sample.slice-p05 .p05-flow-casing { fill: rgba(255,253,247,.96); }
.common-revision-sample.slice-p05 .p05-flow { opacity: .96; }
.common-revision-sample.slice-p05 .p05-flow-people { fill: #287fc7; }
.common-revision-sample.slice-p05 .p05-flow-goods { fill: #d4511c; }
.common-revision-sample.slice-p05 .p05-flow-capital { fill: #d5a000; }
.common-revision-sample.slice-p05 .p05-flow-information { fill: #6c55ad; }

.common-revision-sample.slice-p05 .p05-flow-label rect { fill: rgba(255,254,250,.94); stroke-width: 1.1; }
.common-revision-sample.slice-p05 .p05-flow-label text { font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.common-revision-sample.slice-p05 .p05-label-people rect { stroke: rgba(40,127,199,.45); }
.common-revision-sample.slice-p05 .p05-label-people text { fill: #176bad; }
.common-revision-sample.slice-p05 .p05-label-goods rect { stroke: rgba(212,81,28,.45); }
.common-revision-sample.slice-p05 .p05-label-goods text { fill: #b64218; }
.common-revision-sample.slice-p05 .p05-label-capital rect { stroke: rgba(213,160,0,.58); }
.common-revision-sample.slice-p05 .p05-label-capital text { fill: #a17600; }
.common-revision-sample.slice-p05 .p05-label-information rect { stroke: rgba(108,85,173,.46); }
.common-revision-sample.slice-p05 .p05-label-information text { fill: #594491; }

.common-revision-sample.slice-p05 .p05-node-orbit { fill: rgba(255,255,251,.82); stroke: #4c8985; stroke-width: 3; vector-effect: non-scaling-stroke; }
.common-revision-sample.slice-p05 .p05-role-node.receiver .p05-node-orbit { stroke: #7262a3; }
.common-revision-sample.slice-p05 .p05-node-core { fill: #197d78; stroke: #fff; stroke-width: 3; vector-effect: non-scaling-stroke; }
.common-revision-sample.slice-p05 .p05-role-node.receiver .p05-node-core { fill: #70549b; }
.common-revision-sample.slice-p05 .p05-node-name { fill: #fff; font-family: var(--display); font-size: 20px; font-weight: 900; }
.common-revision-sample.slice-p05 .p05-shared-role-card rect:not(.node-label-accent) { fill: rgba(255,255,252,.97); stroke: rgba(54,116,119,.68); stroke-width: 1; filter: drop-shadow(0 3px 9px rgba(20,60,64,.13)); }
.common-revision-sample.slice-p05 .p05-shared-role-card.node-dongguan-label .node-label-accent,
.common-revision-sample.slice-p05 .p05-shared-role-card.node-huizhou-label .node-label-accent { fill: #8665ca; }
.common-revision-sample.slice-p05 .p05-shared-role-card.node-shenzhen-label .node-label-accent { fill: #0c8379; }

.common-revision-sample.slice-p05 .p05-clue-card > rect:first-child { fill: rgba(255,255,252,.96); stroke-width: 1.45; filter: drop-shadow(0 4px 9px rgba(16,55,61,.12)); }
.common-revision-sample.slice-p05 .p05-clue-card { opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.common-revision-sample.slice-p05 .p05-clue-card.visible { opacity: 1; }
.common-revision-sample.slice-p05 .p05-clue-accent { fill: none; stroke: #21827d; stroke-width: 5; stroke-linecap: round; }
.common-revision-sample.slice-p05 .p05-clue-card .p05-clue-icon-plate { stroke-width: 1.2; filter: none; }
.common-revision-sample.slice-p05 .p05-clue-transport > rect:first-child { stroke: rgba(40,127,199,.65); }
.common-revision-sample.slice-p05 .p05-clue-transport .p05-clue-accent { stroke: #287fc7; }
.common-revision-sample.slice-p05 .p05-clue-transport .p05-clue-icon-plate { fill: #eaf4fb; stroke: #287fc7; }
.common-revision-sample.slice-p05 .p05-clue-communication > rect:first-child { stroke: rgba(108,85,173,.65); }
.common-revision-sample.slice-p05 .p05-clue-communication .p05-clue-accent { stroke: #6c55ad; }
.common-revision-sample.slice-p05 .p05-clue-communication .p05-clue-icon-plate { fill: #f1eef9; stroke: #6c55ad; }
.common-revision-sample.slice-p05 .p05-clue-organization > rect:first-child { stroke: rgba(212,81,28,.64); }
.common-revision-sample.slice-p05 .p05-clue-organization .p05-clue-accent { stroke: #d4511c; }
.common-revision-sample.slice-p05 .p05-clue-organization .p05-clue-icon-plate { fill: #fbefe9; stroke: #d4511c; }
.common-revision-sample.slice-p05 .p05-clue-finance > rect:first-child { stroke: rgba(213,160,0,.76); }
.common-revision-sample.slice-p05 .p05-clue-finance .p05-clue-accent { stroke: #d5a000; }
.common-revision-sample.slice-p05 .p05-clue-finance .p05-clue-icon-plate { fill: #fbf5df; stroke: #d5a000; }
.common-revision-sample.slice-p05 .p05-clue-title { fill: #134f5a; font-family: var(--display); font-size: 20px; font-weight: 900; }
.common-revision-sample.slice-p05 .p05-clue-main { fill: #294e55; font-size: 17px; font-weight: 800; }
.common-revision-sample.slice-p05 .p05-clue-aux { fill: #294e55; font-size: 17px; font-weight: 800; }

.common-revision-sample.slice-p05 .p05-flow-legend { opacity: 0; transition: opacity .28s ease; }
.common-revision-sample.slice-p05 .p05-flow-legend.visible { opacity: 1; }
.common-revision-sample.slice-p05 .p05-flow-legend text { fill: #294e55; font-size: 17px; font-weight: 900; }
.common-revision-sample.slice-p05 .p05-flow-legend .p05-legend-title { fill: #154f59; font-family: var(--display); font-size: 19px; }
.common-revision-sample.slice-p05 .p05-legend-arrow { opacity: .96; }
.common-revision-sample.slice-p05 .p05-schematic-note { fill: #50696c; font-size: 12px; font-weight: 700; paint-order: stroke; stroke: rgba(255,255,255,.95); stroke-width: 4px; }
.common-revision-sample.slice-p05 .p05-north-arrow { color: #345f63; }
.common-revision-sample.slice-p05 .p05-port-marker circle { fill: #147b75; stroke: rgba(255,255,252,.96); stroke-width: 2; filter: drop-shadow(0 2px 6px rgba(16,55,61,.18)); }
.common-revision-sample.slice-p05 .p05-port-marker image { filter: brightness(0) invert(1); }
.common-revision-sample.slice-p05 .p05-port-marker text { fill: #155f63; font-family: var(--display); font-size: 16px; font-weight: 900; paint-order: stroke; stroke: rgba(255,255,255,.96); stroke-width: 4px; }

.common-revision-sample.teacher-view.slice-p05 .inquiry-step:nth-child(2) p { font-size: 18px; }
.common-revision-sample.teacher-view.slice-p05 .inquiry-step:nth-child(2) p { letter-spacing: -.045em; }
.common-revision-sample.teacher-view.slice-p05 .inquiry-step:nth-child(4) p { font-size: 19px; line-height: 1.24; letter-spacing: -.1em; }

@media (max-width:1350px),(max-height:760px) {
  .common-revision-sample.slice-p05 .p05-flow-label text { font-size: 17px; }
  .common-revision-sample.slice-p05 .p05-clue-title { font-size: 20px; }
  .common-revision-sample.slice-p05 .p05-clue-main { font-size: 17px; }
  .common-revision-sample.slice-p05 .p05-clue-aux { font-size: 17px; }
  .common-revision-sample.slice-p05 .p05-schematic-note { font-size: 10.5px; }
  .common-revision-sample.student-view.slice-p05 .inquiry-step:nth-child(2) p { font-size: 13px; letter-spacing: -.045em; }
  .common-revision-sample.student-view.slice-p05 .inquiry-step:nth-child(4) p { font-size: 13px; line-height: 1.24; letter-spacing: -.1em; }
}


/* P01—P06 readability and material-expression retrofit.
   P04 remains the structural reference; required teaching claims stay above note-size typography. */
.inquiry-step p { font-size: 13px; line-height: 1.52; }

.p01-atlas-grid article { grid-template-rows: auto minmax(0,1fr) minmax(32px,auto); }
.p01-atlas-grid article > b { font-size: 17px; }
.p01-atlas-grid article > span { align-self: center; padding: 5px 4px 1px; font-size: 13.5px; line-height: 1.35; }
.p01-atlas-grid article > small { padding: 2px 6px; border-radius: 999px; background: #f5ebdf; font-size: 10px; }
.p01-atlas footer { font-size: 12px; }

.p02-stage { grid-template-columns: minmax(0,57fr) minmax(300px,43fr); grid-template-rows: minmax(0,1fr) 92px; }
.p02-map-panel { display: grid; grid-template-rows: 31% minmax(0,1fr); }
.p02-process-visual { min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 8px; padding: 14px 16px 10px; border-bottom: 1px solid #b9cbc7; background: linear-gradient(135deg,#fffdf8,#eef5f0); }
.p02-process-visual header { display: flex; align-items: baseline; gap: 10px; }
.p02-process-visual header small { color: #a56a3d; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.p02-process-visual header h3 { margin: 0; color: #154f59; font-family: var(--display); font-size: 18px; }
.p02-factor-chain { min-height: 0; display: grid; grid-template-columns: repeat(7,auto) minmax(130px,1fr); align-items: center; gap: 6px; }
.p02-factor-chain span { min-width: 54px; min-height: 38px; display: grid; place-items: center; border: 1px solid #c6d6d1; border-radius: 999px; background: rgba(255,255,255,.55); color: transparent; font-size: 12px; font-weight: 800; }
.p02-factor-chain span.visible { border-color: #4d9994; background: #e7f1ed; color: #176661; }
.p02-factor-chain i { color: #6f9390; font-style: normal; }
.p02-factor-chain b { min-height: 42px; display: grid; place-items: center; padding: 6px 10px; border-radius: 8px; background: #edf3ef; color: transparent; font-family: var(--display); font-size: 14px; text-align: center; }
.p02-factor-chain b.visible { background: #176f6b; color: #fff; }
.p02-process-visual > p { margin: 0; color: #536d6e; font-size: 11px; line-height: 1.4; }
.p02-locator-map { position: relative; min-height: 0; overflow: hidden; }
.p02-condition p { font-size: 12px; }
.p02-evidence-panel { gap: 9px; }
.p02-evidence { display: grid; align-content: center; padding: 10px 11px; }
.p02-evidence header small { font-size: 10px; }
.p02-evidence strong { font-size: 15px; line-height: 1.32; }
.p02-evidence p { font-size: 12px; line-height: 1.4; }
.p02-evidence-panel > footer { font-size: 10.5px; }
.p02-stage-track { position: relative; padding-right: 240px; }
.p02-stage-track b { font-size: 13px; }
.p02-stage-track small { font-size: 10px; line-height: 1.32; }
.p02-process-conclusion { position: absolute; right: 20px; top: 17px; bottom: 14px; width: 205px; display: grid; place-items: center; padding: 8px 12px; border-radius: 8px; background: #edf4f0; color: transparent; font-family: var(--display); font-size: 13px; line-height: 1.45; text-align: center; }
.p02-process-conclusion.visible { background: #176f6b; color: #fff; }

.p03-stage { grid-template-columns: minmax(0,55fr) minmax(320px,45fr); grid-template-rows: minmax(0,1fr) 66px; }
.p03-scale-card p { font-size: 11.5px; }
.p03-evidence { padding: 10px 11px; }
.p03-evidence header b { font-size: 13.5px; }
.p03-evidence header small { font-size: 10px; }
.p03-evidence strong { font-size: 14.5px; line-height: 1.32; }
.p03-evidence p { font-size: 11.5px; line-height: 1.38; }
.p03-evidence footer { font-size: 9.5px; }
.p03-synthesis span { font-size: 12.5px; }

.p05-stage { grid-template-columns: minmax(0,59fr) minmax(300px,41fr); }
.p05-package { padding: 10px 11px; }
.p05-package header small,.p05-package footer { font-size: 9.5px; }
.p05-package header b { font-size: 13.5px; }
.p05-package strong { font-size: 14px; line-height: 1.35; }
.p05-package p,.p05-package > div { font-size: 11.5px; line-height: 1.42; }
.p05-package-panel > footer { font-size: 10.5px; }
.p05-summary span { font-size: 11.5px; }
.p05-summary b { font-size: 13px; }

.p06-method-panel > header small { font-size: 10.5px; }
.p06-method-panel > header h3 { font-size: 18px; }
.p06-method-card { padding: 10px 8px; }
.p06-method-card small { font-size: 11.5px; }
.p06-method-card b { font-size: 12.5px; line-height: 1.42; }
.p06-method-card span { font-size: 10px; }
.p06-access-gate small { font-size: 10.5px; }
.p06-access-gate b { font-size: 11.5px; line-height: 1.45; }
.p06-method-panel > footer { font-size: 10px; }
.p06-method-summary span { font-size: 10.5px; }
.p06-method-summary b { font-size: 12.5px; }

/* P07—P10｜已批准共享骨架内的差异化中央舞台 */
.p07-stage,.p08-stage,.p09-stage,.p10-stage { height: 100%; min-height: 0; color: #174f58; }
.remaining-map { width: 100%; height: 100%; min-height: 0; background: #e6f0ed; border-radius: 10px; }
.remaining-map > rect { fill: #e6f0ed; }
.remaining-standard-map { position: relative; height: 100%; min-height: 0; overflow: hidden; border-radius: 10px; background: #eef3ef; }
.remaining-standard-map img { width: 100%; height: 100%; object-fit: contain; display: block; }
.remaining-standard-map span { position: absolute; left: 10px; top: 10px; padding: 5px 8px; border-radius: 5px; background: rgba(255,254,250,.94); color: #175f64; font-size: 12px; font-weight: 800; }
.remaining-prefecture { fill: #eff3ed; stroke: #91ada9; stroke-width: 1; vector-effect: non-scaling-stroke; }
.remaining-prefecture.selected { fill: #dbe9df; stroke: #67958e; }
.remaining-prefecture.major { fill: #b9d8d1; stroke: #176d70; stroke-width: 1.8; }
.remaining-route { fill: none; vector-effect: non-scaling-stroke; }
.remaining-route-motorway { stroke: #c98957; stroke-width: 1.1; }
.remaining-route-rail { stroke: #466b76; stroke-width: 1; stroke-dasharray: 5 4; }
.remaining-link { fill: none; stroke: #237b77; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.remaining-link.organization { stroke-dasharray: 8 5; }
.remaining-link.coverage { stroke-width: 1.6; stroke-dasharray: 7 5; opacity: .58; }
.remaining-city circle { fill: #fff; stroke: #437f7b; stroke-width: 2; vector-effect: non-scaling-stroke; }
.remaining-city.major circle { fill: #176f6b; stroke: #fff; stroke-width: 2.5; }
.remaining-city text { fill: #315d61; font-size: 15px; font-weight: 800; paint-order: stroke; stroke: rgba(255,255,255,.92); stroke-width: 4px; }
.remaining-city.major text { fill: #125f62; font-size: 18px; font-weight: 900; }

.p07-stage { display: grid; grid-template-rows: minmax(0,1fr) 130px; gap: 10px; padding: 10px; }
.p07-map-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; min-height: 0; }
.p07-map-card { display: grid; grid-template-rows: 52px minmax(0,1fr) 42px; min-width: 0; padding: 8px; border: 1px solid #c7d8d4; border-radius: 12px; background: #fbfaf6; opacity: .38; transition: .25s ease; }
.p07-map-card.visible { opacity: 1; }
.p07-map-card.active { border-color: #1a7774; box-shadow: 0 8px 18px rgba(30,85,82,.12); }
.p07-map-card > header { display: flex; align-items: center; gap: 9px; }
.p07-map-card > header > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #176f6b; color: #fff; font-weight: 900; }
.p07-map-card header small,.p07-map-card header b { display: block; }
.p07-map-card header small { color: #a15e34; font-size: 11px; }
.p07-map-card header b { font-family: var(--display); font-size: 17px; }
.p07-map-card > p { margin: 8px 0 0; color: #315e62; font-size: 13px; font-weight: 700; line-height: 1.4; }
.p07-result { min-width: 0; }
.p07-five-columns { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); height: 100%; gap: 6px; }
.p07-five-columns > span { min-width: 0; padding: 9px 8px; border-top: 2px solid #2a7b77; background: #f1f5f1; }
.p07-five-columns small,.p07-five-columns b { display: block; }
.p07-five-columns small { color: #a15e34; font-size: 11.5px; }
.p07-five-columns b { margin-top: 5px; font-size: 14px; line-height: 1.35; }
.p07-summary { grid-template-rows: 58px minmax(0,1fr) 62px; }
.p07-summary > header { text-align: center; }
.p07-summary > header small { color: #a15e34; font-size: 12px; font-weight: 800; }
.p07-summary > header h3 { margin: 4px 0 0; font-family: var(--display); font-size: 23px; }
.p07-summary-list { display: grid; gap: 8px; min-height: 0; }
.p07-summary-list article { display: grid; grid-template-columns: 118px minmax(0,1fr); gap: 8px; min-height: 0; }
.p07-summary-list article > strong { display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 8px; background: #176f6b; color: #fff; }
.p07-summary-list article > strong b { font-size: 14px; }
.p07-summary-list .p07-five-columns > span { padding: 6px 7px; }
.p07-summary > footer { display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 9px; background: #e8f1ed; }
.p07-summary > footer b { font-size: 14px; }
.p07-summary > footer i { color: #b56b3e; font-style: normal; }
.p07-summary > footer span { margin-left: 8px; padding: 6px 10px; border-radius: 14px; background: #176f6b; color: #fff; font-size: 12px; }

.p08-stage { display: grid; grid-template-columns: minmax(0,66fr) minmax(280px,34fr); gap: 12px; padding: 10px; }
.p08-map-panel { position: relative; display: grid; grid-template-rows: 58px minmax(0,1fr); min-height: 0; }
.p08-map-panel > header small { color: #a15e34; font-size: 11px; font-weight: 800; }
.p08-map-panel > header h3 { margin: 3px 0 0; font-family: var(--display); font-size: 23px; }
.p08-evidence { position: absolute; right: 14px; bottom: 18px; width: 255px; padding: 13px 15px; border: 1px solid #78aaa3; border-radius: 10px; background: rgba(255,254,250,.96); box-shadow: 0 8px 18px rgba(42,83,78,.12); }
.p08-evidence b { font-family: var(--display); font-size: 17px; }
.p08-evidence p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; }
.p08-chain { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 0; }
.p08-chain > i { align-self: center; color: #b56639; font-size: 20px; font-style: normal; transform: rotate(90deg); }
.p08-step-card { padding: 12px 13px; border: 1px solid #cfddd8; border-radius: 10px; background: #f5f6f2; opacity: .35; }
.p08-step-card.active { border-color: #438e87; background: #fbfaf6; opacity: 1; box-shadow: 0 6px 15px rgba(39,91,86,.1); }
.p08-step-card > span { float: left; margin-right: 10px; color: #b5673a; font-size: 22px; font-weight: 900; }
.p08-step-card small,.p08-step-card b { display: block; }
.p08-step-card small { color: #8b6a54; font-size: 10px; }
.p08-step-card b { margin-top: 2px; font-family: var(--display); font-size: 16px; }
.p08-step-card p { clear: both; margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; }
.p08-fact-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; opacity: 0; }
.p08-fact-plan.visible { opacity: 1; }
.p08-fact-plan span { padding: 8px; border-radius: 7px; background: #e6f1ed; font-size: 11px; font-weight: 700; line-height: 1.35; }
.p08-fact-plan small { display: block; color: #a15e34; font-size: 9px; }

.p09-stage { position: relative; display: grid; grid-template-columns: 118px minmax(0,1fr); grid-template-rows: 74px minmax(0,1fr) 86px; gap: 10px; padding: 16px 16px 12px; overflow: hidden; background: linear-gradient(135deg,#f9f8f3,#edf4f0); }
.p09-axis-label { display: grid; place-items: center; font-family: var(--display); font-size: 18px; font-weight: 900; }
.p09-time-axis { display: grid; grid-template-columns: repeat(7,max-content); align-items: center; justify-content: space-around; }
.p09-time-axis span { display: flex; align-items: center; gap: 7px; opacity: .25; }
.p09-time-axis span.visible { opacity: 1; }
.p09-time-axis i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #176f6b; color: #fff; font-style: normal; font-weight: 900; }
.p09-time-axis b { font-size: 13px; white-space: nowrap; }
.p09-time-axis em { color: #af6338; font-style: normal; }
.p09-space-axis { display: flex; flex-direction: column-reverse; justify-content: space-around; padding: 10px 0; border-right: 2px solid #75a19b; }
.p09-space-axis span { display: flex; align-items: center; justify-content: flex-end; gap: 8px; opacity: .25; }
.p09-space-axis span.visible { opacity: 1; }
.p09-space-axis b { font-size: 12px; }
.p09-space-axis i { width: 11px; height: 11px; margin-right: -6px; border: 2px solid #176f6b; border-radius: 50%; background: #fff; }
.p09-axis-label.space { position: absolute; left: 5px; top: 52%; color: #52777a; font-size: 14px; writing-mode: vertical-rl; transform: translateY(-50%); }
.p09-path { position: relative; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 34px 22px; border-radius: 18px; background: rgba(255,255,255,.65); }
.p09-path::before { content: ''; position: absolute; left: 8%; right: 8%; bottom: 22%; height: 46%; border-top: 2px dashed #7ca7a0; transform: skewY(-8deg); opacity: .5; }
.p09-path span,.p09-path > i { position: relative; z-index: 1; opacity: .2; }
.p09-path span.visible,.p09-path span.visible + i { opacity: 1; }
.p09-path span { display: grid; flex: 1 1 0; place-items: center; min-width: 0; min-height: 62px; padding: 8px 4px; border: 1px solid #8bb4ae; border-radius: 10px; background: #fffdf9; text-align: center; }
.p09-path span b { font-size: 12.5px; line-height: 1.35; }
.p09-path > i { color: #b65f34; font-style: normal; }
.p09-phases { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3,1fr); gap: 10px; }
.p09-phases span { display: grid; place-items: center; padding: 8px; border-top: 3px solid #2a7c77; background: rgba(255,255,255,.7); font-family: var(--display); font-size: 16px; font-weight: 900; }
.p09-phases small { color: #6a7e7d; font-family: var(--body); font-size: 10.5px; font-weight: 700; }
.p09-conclusion { position: absolute; right: 34px; bottom: 106px; width: 225px; padding: 13px 16px; border-radius: 10px; background: #176f6b; color: #fff; opacity: 0; box-shadow: 0 10px 22px rgba(18,74,70,.18); }
.p09-conclusion.visible { opacity: 1; }
.p09-conclusion small,.p09-conclusion b { display: block; }
.p09-conclusion small { color: #d9ece7; font-size: 10px; }
.p09-conclusion b { margin-top: 3px; font-family: var(--display); font-size: 23px; }
.p09-conclusion p { margin: 5px 0 0; font-size: 11.5px; line-height: 1.4; }

.p10-stage {
  --p10-teal: #0b7774;
  --p10-teal-deep: #075b61;
  --p10-teal-soft: #e4f1ee;
  --p10-blue-soft: #edf4f6;
  --p10-rust: #a15e34;
  --p10-ink: #174f58;
  --p10-muted: #567176;
  --p10-line: #a9cfcc;
}
.p10-static-sheet {
  display: grid;
  grid-template-rows: 46px minmax(0,1fr);
  gap: 6px;
  padding: 10px;
  min-height: 0;
  background:
    radial-gradient(circle at 95% 7%, rgba(121,188,187,.13), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fbfdfc 100%);
}
.p10-sheet-heading {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 14px;
  padding: 0 8px 8px 2px;
  border-bottom: 1px solid var(--p10-line);
}
.p10-sheet-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 9px;
  background: var(--p10-teal);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 5px 12px rgba(10,102,100,.15);
}
.p10-sheet-heading img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.p10-sheet-heading > div { display: flex; align-items: baseline; gap: 11px; min-width: 0; }
.p10-sheet-heading small { color: var(--p10-rust); font-size: 13px; font-weight: 900; white-space: nowrap; }
.p10-sheet-heading h3 { margin: 0; color: var(--p10-ink); font-family: var(--display); font-size: 21px; line-height: 1.2; }
.p10-task-list { display: grid; grid-template-rows: 1fr 1fr; gap: 6px; min-height: 0; }
.p10-task-block {
  display: grid;
  grid-template-rows: 44px minmax(0,1fr) auto;
  min-height: 0;
  border: 1px solid var(--p10-line);
  border-radius: 10px;
  background: rgba(255,255,255,.9);
  overflow: visible;
  box-shadow: 0 6px 16px rgba(37,93,91,.08);
}
.p10-task-block > header {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 10px;
  padding: 2px 9px;
}
.p10-task-block > header > span {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 68px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--p10-teal);
  color: #fff;
  font-size: 16.5px;
  font-weight: 900;
}
.p10-task-block.task-scales > header > span { background: #8c6848; }
.p10-task-block > header > div { display: flex; align-items: baseline; gap: 9px; min-width: 0; }
.p10-task-block > header small { color: var(--p10-rust); font-size: 12px; font-weight: 900; white-space: nowrap; }
.p10-task-block h4 { margin: 0; color: var(--p10-ink); font-family: var(--display); font-size: 19px; line-height: 1.2; }
.p10-material-grid { display: grid; grid-template-rows: repeat(3,minmax(0,1fr)); gap: 4px; padding: 0 8px; min-height: 0; }
.p10-material-card {
  position: relative;
  display: grid;
  grid-template-columns: 108px 170px minmax(0,1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 1px 9px;
  border-left: 3px solid var(--p10-teal);
  border-radius: 5px;
  background: linear-gradient(90deg, #f8fbfa 0%, var(--p10-teal-soft) 100%);
  overflow: hidden;
}
.task-scales .p10-material-card {
  border-left-color: #9b795a;
  background: linear-gradient(90deg, #fbfaf7 0%, #f3eee7 100%);
}
.p10-material-card header { position: relative; z-index: 1; display: grid; align-content: center; justify-items: start; gap: 3px; min-width: 0; }
.p10-material-card header b {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 8px;
  border-radius: 13px;
  background: var(--p10-teal);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}
.task-scales .p10-material-card header b { background: #8c6848; }
.p10-material-card header span { color: var(--p10-rust); font-size: 11px; font-weight: 800; white-space: nowrap; }
.p10-material-card h5 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--p10-ink);
  font-size: 19px;
  line-height: 1.24;
}
.p10-material-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #274f55;
  font-size: 19px;
  line-height: 1.22;
}
.p10-material-icon {
  position: absolute;
  right: 6px;
  bottom: 3px;
  width: 40px;
  height: 40px;
  background: var(--p10-teal);
  opacity: .07;
  -webkit-mask: var(--p10-icon) center / contain no-repeat;
  mask: var(--p10-icon) center / contain no-repeat;
}
.task-scales .p10-material-icon { background: #8c6848; opacity: .08; }
.p10-material-icon.icon-policy { --p10-icon: url('../public/assets/ui/icons/location-factors/policy.svg'); }
.p10-material-icon.icon-site { --p10-icon: url('../public/assets/ui/icons/location-factors/site.svg'); }
.p10-material-icon.icon-technology { --p10-icon: url('../public/assets/ui/icons/location-factors/technology.svg'); }
.p10-material-icon.icon-agglomeration { --p10-icon: url('../public/assets/ui/icons/location-factors/agglomeration.svg'); }
.p10-material-icon.icon-industrial-market { --p10-icon: url('../public/assets/ui/icons/location-factors/industrial-market.svg'); }
.p10-material-icon.icon-transport { --p10-icon: url('../public/assets/ui/icons/location-factors/transport.svg'); }
.p10-task-block > footer {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 8px;
  margin: 6px 8px 8px;
  padding: 7px 9px;
  border-radius: 7px;
  background: var(--p10-blue-soft);
}
.p10-task-block > footer b {
  padding-right: 9px;
  border-right: 1px solid var(--p10-line);
  color: var(--p10-teal-deep);
  font-size: 13px;
  white-space: nowrap;
}
.p10-task-block > footer p { margin: 0; color: var(--p10-ink); font-size: 15px; font-weight: 700; line-height: 1.28; }
.p10-task-block > footer p { font-size: 19px; }

@media (max-width:1350px),(max-height:760px) {
  .inquiry-step p { font-size: 10.5px; line-height: 1.42; }
  .p01-atlas-grid article > b { font-size: 12px; }
  .p01-atlas-grid article > span { font-size: 10px; }
  .p01-atlas-grid article > small { font-size: 8px; }
  .p01-atlas footer { font-size: 9.5px; }
  .p02-stage { grid-template-columns: minmax(0,55fr) minmax(260px,45fr); grid-template-rows: minmax(0,1fr) 76px; }
  .p02-map-panel { grid-template-rows: 33% minmax(0,1fr); }
  .p02-process-visual { gap: 4px; padding: 7px 9px 5px; }
  .p02-process-visual header small { font-size: 7px; }
  .p02-process-visual header h3 { font-size: 12px; }
  .p02-factor-chain { gap: 3px; }
  .p02-factor-chain span { min-width: 35px; min-height: 25px; font-size: 8px; }
  .p02-factor-chain b { min-height: 28px; font-size: 9px; }
  .p02-process-visual > p { font-size: 7.5px; }
  .p02-condition p { font-size: 9px; }
  .p02-evidence header small { font-size: 7.5px; }
  .p02-evidence strong { font-size: 10.5px; }
  .p02-evidence p { font-size: 9px; }
  .p02-evidence-panel > footer { font-size: 8px; }
  .p02-stage-track { padding-right: 180px; }
  .p02-stage-track b { font-size: 9.5px; }
  .p02-stage-track small { font-size: 7.5px; }
  .p02-process-conclusion { right: 12px; top: 10px; bottom: 8px; width: 155px; font-size: 9.5px; }
  .p03-stage { grid-template-columns: minmax(0,53fr) minmax(280px,47fr); grid-template-rows: minmax(0,1fr) 50px; }
  .p03-scale-card p { font-size: 8.5px; }
  .p03-evidence header b { font-size: 10px; }
  .p03-evidence header small { font-size: 7.5px; }
  .p03-evidence strong { font-size: 10.5px; }
  .p03-evidence p { font-size: 8.7px; }
  .p03-evidence footer { font-size: 7px; }
  .p03-synthesis span { font-size: 8.5px; }
  .p05-stage { grid-template-columns: minmax(0,56fr) minmax(270px,44fr); }
  .p05-package header small,.p05-package footer { font-size: 7px; }
  .p05-package header b { font-size: 10px; }
  .p05-package strong { font-size: 10.5px; }
  .p05-package p,.p05-package > div { font-size: 8.7px; }
  .p05-package-panel > footer { font-size: 8px; }
  .p05-summary span { font-size: 8.5px; }
  .p05-summary b { font-size: 9.5px; }
  .p06-method-panel > header small { font-size: 8px; }
  .p06-method-panel > header h3 { font-size: 13px; }
  .p06-method-card small { font-size: 9px; }
  .p06-method-card b { font-size: 10px; }
  .p06-method-card span { font-size: 7.5px; }
  .p06-access-gate small { font-size: 8px; }
  .p06-access-gate b { font-size: 8.7px; }
  .p06-method-panel > footer { font-size: 7.5px; }
  .p06-method-summary span { font-size: 8px; }
  .p06-method-summary b { font-size: 9px; }
  .p07-stage,.p08-stage { padding: 7px; gap: 7px; }
  .p07-stage { grid-template-rows: minmax(0,1fr) 98px; }
  .p07-map-card { grid-template-rows: 40px minmax(0,1fr) 30px; padding: 5px; }
  .p07-map-card > header > span { width: 26px; height: 26px; font-size: 11px; }
  .p07-map-card header b { font-size: 12px; }
  .p07-map-card header small,.p07-map-card > p { font-size: 8px; }
  .p07-five-columns > span { padding: 5px 4px; }
  .p07-five-columns small { font-size: 8px; }
  .p07-five-columns b { margin-top: 2px; font-size: 10px; }
  .p07-summary { grid-template-rows: 42px minmax(0,1fr) 42px; }
  .p07-summary > header h3 { font-size: 15px; }
  .p07-summary-list article { grid-template-columns: 78px minmax(0,1fr); }
  .p07-summary-list article > strong b,.p07-summary > footer b { font-size: 9px; }
  .p07-summary > footer span { font-size: 8px; }
  .remaining-standard-map span { font-size: 8px; }
  .remaining-city text { font-size: 10px; }
  .remaining-city.major text { font-size: 12px; }
  .p08-stage { grid-template-columns: minmax(0,62fr) minmax(250px,38fr); }
  .p08-map-panel { grid-template-rows: 42px minmax(0,1fr); }
  .p08-map-panel > header h3 { font-size: 15px; }
  .p08-evidence { width: 185px; padding: 8px 10px; }
  .p08-evidence b { font-size: 11px; }
  .p08-evidence p { font-size: 8.5px; }
  .p08-step-card { padding: 7px 8px; }
  .p08-step-card > span { font-size: 15px; }
  .p08-step-card b { font-size: 11px; }
  .p08-step-card p { font-size: 8px; }
  .p08-fact-plan span { font-size: 7.5px; }
  .p09-stage { grid-template-columns: 88px minmax(0,1fr); grid-template-rows: 52px minmax(0,1fr) 58px; padding: 10px; gap: 6px; }
  .p09-axis-label { font-size: 12px; }
  .p09-time-axis i { width: 20px; height: 20px; font-size: 9px; }
  .p09-time-axis b { font-size: 8.5px; }
  .p09-space-axis b { font-size: 8px; }
  .p09-path { gap: 3px; padding: 22px 12px; }
  .p09-path span { min-width: 0; min-height: 44px; padding: 4px 2px; }
  .p09-path span b { font-size: 8px; }
  .p09-phases span { font-size: 11px; }
  .p09-phases small { font-size: 7px; }
  .p09-conclusion { right: 22px; bottom: 73px; width: 165px; padding: 8px 10px; }
  .p09-conclusion b { font-size: 15px; }
  .p09-conclusion p { font-size: 7.5px; }
  .p10-static-sheet { grid-template-rows: 44px minmax(0,1fr); gap: 6px; padding: 7px; }
  .p10-sheet-heading { gap: 8px; padding: 0 5px 5px 0; }
  .p10-sheet-heading > span { gap: 4px; padding: 5px 8px; font-size: 10px; }
  .p10-sheet-heading img { width: 13px; height: 13px; }
  .p10-sheet-heading > div { gap: 6px; }
  .p10-sheet-heading small { font-size: 8px; }
  .p10-sheet-heading h3 { font-size: 13px; }
  .p10-task-list { gap: 6px; }
  .p10-task-block { grid-template-rows: 33px minmax(0,1fr) auto; }
  .p10-task-block > header { gap: 6px; padding: 3px 5px; }
  .p10-task-block > header > span { min-width: 48px; padding: 0 6px; font-size: 9px; }
  .p10-task-block > header > div { gap: 5px; }
  .p10-task-block > header small { font-size: 8px; }
  .p10-task-block h4 { font-size: 13px; }
  .p10-material-grid { gap: 3px; padding: 0 5px; }
  .p10-material-card { grid-template-columns: 76px 118px minmax(0,1fr); gap: 5px; padding: 3px 5px; border-left-width: 2px; }
  .p10-material-card header b { min-height: 18px; padding: 2px 5px; font-size: 8px; }
  .p10-material-card header span { font-size: 7px; }
  .p10-material-card h5 { margin: 0; font-size: 13px; }
  .p10-material-card p { margin: 0; font-size: 13px; line-height: 1.17; }
  .p10-material-icon { right: 3px; bottom: 2px; width: 30px; height: 30px; }
  .p10-task-block > footer { gap: 5px; margin: 4px 5px 5px; padding: 4px 6px; }
  .p10-task-block > footer b { padding-right: 6px; font-size: 8px; }
  .p10-task-block > footer p { font-size: 13px; line-height: 1.2; }
}

/* Absolute final cartographic overrides. */
.p01-standard-map > .standard-map-scale { display: block; top: auto; right: 20px; bottom: 17px; padding: 6px 9px; border: 1px solid #b8c8c4; border-radius: 5px; background: rgba(255,254,250,.94); color: #315b60; font-size: 12px; }
.p01-atlas .p01-standard-map > .standard-map-scale { display: block; right: 5px; bottom: 4px; padding: 2px 4px; font-size: 7px; }
.p03-stage { grid-template-columns: minmax(0,65fr) minmax(255px,35fr); }
.p03-scale-card { width: min(245px,52%); padding: 8px 10px; }
.p03-map-note { right: 11px; bottom: 66px; max-width: 50%; padding: 5px 7px; border-radius: 5px; background: rgba(255,254,250,.9); font-size: 10.5px; line-height: 1.35; }
.p03-city-label { font-size: 18px; font-weight: 800; }
.p03-city-label.focus { font-size: 24px; }
.p05-stage { grid-template-columns: minmax(0,66fr) minmax(280px,34fr); }
.p05-current-evidence { left: auto; right: 15px; top: 14px; bottom: auto; width: min(305px,52%); height: auto; padding: 9px 11px; }
.p05-current-evidence b { font-size: 14px; }
.p05-current-evidence p { font-size: 10.5px; }
.p05-map-note { right: 12px; bottom: 68px; max-width: 45%; font-size: 10px; line-height: 1.35; }
.p05-city-label { font-size: 17px; }
.p05-point text,.p05-location text { font-size: 14px; }
.p05-link-label text { font-size: 13px; }
.p06-marker text { font-size: 13px; }

@media (max-width:1350px),(max-height:760px) {
  .p01-standard-map > .standard-map-scale { right: 12px; bottom: 10px; font-size: 9px; }
  .p03-stage { grid-template-columns: minmax(0,61fr) minmax(245px,39fr); }
  .p03-map-note { bottom: 48px; font-size: 8px; }
  .p03-city-label { font-size: 14px; }
  .p03-city-label.focus { font-size: 18px; }
  .p05-stage { grid-template-columns: minmax(0,62fr) minmax(255px,38fr); }
  .p05-current-evidence { left: auto; right: 9px; top: 8px; bottom: auto; width: min(260px,50%); height: auto; padding: 6px 8px; }
  .p05-current-evidence b { font-size: 11px; }
  .p05-current-evidence p { font-size: 8px; }
  .p05-map-note { bottom: 47px; font-size: 8px; }
  .p05-city-label { font-size: 13px; }
  .p05-point text,.p05-location text { font-size: 10.5px; }
  .p06-marker text { font-size: 10px; }
}

/* Final cartographic hierarchy overrides; keep after all page-specific readability rules. */
.p01-standard-map > span:first-of-type { top: 17px; bottom: auto; }
.p01-standard-map > .standard-map-scale { display: block; top: auto; right: 20px; bottom: 17px; padding: 6px 9px; border: 1px solid #b8c8c4; border-radius: 5px; background: rgba(255,254,250,.94); color: #315b60; font-size: 12px; }
.p01-atlas .p01-standard-map > .standard-map-scale { display: block; right: 5px; bottom: 4px; padding: 2px 4px; font-size: 7px; }
.p03-stage { grid-template-columns: minmax(0,65fr) minmax(255px,35fr); }
.p03-scale-card { width: min(245px,52%); padding: 8px 10px; }
.p03-map-note { right: 11px; bottom: 66px; max-width: 50%; padding: 5px 7px; border-radius: 5px; background: rgba(255,254,250,.9); font-size: 10.5px; line-height: 1.35; }
.p03-city-label { font-size: 18px; font-weight: 800; }
.p03-city-label.focus { font-size: 24px; }
.p05-stage { grid-template-columns: minmax(0,66fr) minmax(280px,34fr); }
.p05-current-evidence { left: auto; right: 15px; top: 14px; bottom: auto; width: min(305px,52%); height: auto; padding: 9px 11px; }
.p05-current-evidence b { font-size: 14px; }
.p05-current-evidence p { font-size: 10.5px; }
.p05-map-note { right: 12px; bottom: 68px; max-width: 45%; font-size: 10px; line-height: 1.35; }
.p05-city-label { font-size: 17px; }
.p05-point text,.p05-location text { font-size: 14px; }
.p05-link-label text { font-size: 13px; }
.p06-marker text { font-size: 13px; }

@media (max-width:1350px),(max-height:760px) {
  .p01-standard-map > .standard-map-scale { right: 12px; bottom: 10px; font-size: 9px; }
  .p03-stage { grid-template-columns: minmax(0,61fr) minmax(245px,39fr); }
  .p03-map-note { bottom: 48px; font-size: 8px; }
  .p03-city-label { font-size: 14px; }
  .p03-city-label.focus { font-size: 18px; }
  .p05-stage { grid-template-columns: minmax(0,62fr) minmax(255px,38fr); }
  .p05-current-evidence { left: auto; right: 9px; top: 8px; bottom: auto; width: min(260px,50%); height: auto; padding: 6px 8px; }
  .p05-current-evidence b { font-size: 11px; }
  .p05-current-evidence p { font-size: 8px; }
  .p05-map-note { bottom: 47px; font-size: 8px; }
  .p05-city-label { font-size: 13px; }
  .p05-point text,.p05-location text { font-size: 10.5px; }
  .p06-marker text { font-size: 10px; }
}

/* Cartographic evidence retrofit: truthful networks, readable labels and scale on every map. */
.map-scale-bar { color: #254f55; font-family: var(--sans); pointer-events: none; }
.map-scale-bar .scale-backplate { fill: rgba(255,254,250,.9); stroke: rgba(73,105,105,.48); stroke-width: 1; }
.map-scale-bar .scale-dark { fill: #164f59; }
.map-scale-bar .scale-light { fill: #fff; stroke: #164f59; stroke-width: 1; }
.map-scale-bar path { fill: none; stroke: #164f59; stroke-width: 1.3; }
.map-scale-bar text { fill: #244f55; font-size: 11px; font-weight: 800; }
.map-scale-bar .scale-caption { font-size: 10px; letter-spacing: .05em; }

.transport-network { fill: none; vector-effect: non-scaling-stroke; }
.transport-network-motorway { stroke: #c27a42; stroke-width: 1.35; opacity: .72; }
.transport-network-rail { stroke: #526f78; stroke-width: 1.2; stroke-dasharray: 6 3; opacity: .78; }
.transport-layer.is-muted { opacity: .42; }
.map-legend-overlay { width: 205px; gap: 5px; padding: 9px 10px; }
.map-legend .legend-motorway { width: 25px; height: 0; border-top: 2px solid #c27a42; border-radius: 0; background: none; box-shadow: none; }
.map-legend .legend-rail { width: 25px; height: 0; border-top: 2px dashed #526f78; border-radius: 0; background: none; box-shadow: none; }

.p01-transport,.p03-transport,.p05-transport,.p06-transport { fill: none; vector-effect: non-scaling-stroke; }
.p01-transport-motorway,.p03-transport-motorway,.p05-transport-motorway,.p06-transport-motorway { stroke: #bd7440; stroke-width: 1.3; opacity: .68; }
.p01-transport-rail,.p03-transport-rail,.p05-transport-rail,.p06-transport-rail { stroke: #4e6c75; stroke-width: 1.15; stroke-dasharray: 5 3; opacity: .72; }
.p01-coverage-link,.p05-coverage-link { fill: none; stroke: #1a7b78; stroke-width: 2.2; stroke-dasharray: 8 6; stroke-linecap: round; opacity: .58; vector-effect: non-scaling-stroke; }
.p01-city-node circle { fill: #fffdf8; stroke: #267d7a; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.p01-city-node.core circle { fill: #176f6b; stroke: #fff; stroke-width: 3; }
.p01-city-node text { fill: #174f59; font-size: 18px; font-weight: 900; paint-order: stroke; stroke: #fff; stroke-width: 5px; }
.p01-city-node.core text { fill: #0d5e5b; font-size: 22px; }
.p01-map-key rect,.p03-map-key rect,.p05-map-key rect { fill: rgba(255,254,250,.93); stroke: rgba(82,118,116,.62); }
.p01-map-key text,.p03-map-key text,.p05-map-key text { fill: #315c60; font-size: 12px; font-weight: 800; }
.p01-map-key path,.p03-map-key path,.p05-map-key path { fill: none; vector-effect: non-scaling-stroke; }
.p01-map-key .motorway,.p05-map-key .motorway { stroke: #bd7440; stroke-width: 2; }
.p01-map-key .rail { stroke: #4e6c75; stroke-width: 2; stroke-dasharray: 5 3; }
.p01-map-key .coverage,.p05-map-key .coverage { stroke: #1a7b78; stroke-width: 2.5; stroke-dasharray: 8 6; }
.p01-standard-map { position: relative; }
.p01-standard-map > span:first-of-type { top: 17px; bottom: auto; }
.p01-standard-map > .standard-map-scale { top: auto; right: 20px; bottom: 17px; padding: 6px 9px; border: 1px solid #b8c8c4; border-radius: 5px; background: rgba(255,254,250,.94); color: #315b60; font-size: 12px; }
.p01-atlas .p01-standard-map > .standard-map-scale { display: block; right: 5px; bottom: 4px; padding: 2px 4px; font-size: 7px; }

.p03-transport-layer { opacity: .18; }
.p03-transport-layer.visible { opacity: .7; }
.p03-mobility-flow { fill: none; stroke: #b65d42; stroke-width: var(--flow-width); stroke-linecap: round; opacity: .76; vector-effect: non-scaling-stroke; }
#p03-flow-arrow path { fill: #a94e37; }
.p03-map-key .road { stroke: #6d7473; stroke-width: 2; stroke-dasharray: 6 3; }
.p03-map-key .flow { stroke: #b65d42; stroke-width: 4; }
.p03-map-note { bottom: 66px; max-width: 50%; padding: 5px 7px; border-radius: 5px; background: rgba(255,254,250,.9); font-size: 10.5px; line-height: 1.35; }
.p03-city-label { font-size: 18px; font-weight: 800; }
.p03-city-label.focus { font-size: 24px; }

.p05-schematic-link,.p06-schematic-layer path { fill: none; stroke: #167c78; stroke-width: 3; stroke-dasharray: 9 7; stroke-linecap: round; opacity: .8; vector-effect: non-scaling-stroke; }
.p05-map-key .schematic { stroke: #167c78; stroke-width: 3; stroke-dasharray: 9 7; }
.p05-current-evidence { left: auto; right: 15px; top: 14px; bottom: auto; width: min(305px,52%); padding: 9px 11px; }
.p05-current-evidence b { font-size: 14px; }
.p05-current-evidence p { font-size: 10.5px; }
.p05-map-note { right: 12px; bottom: 68px; max-width: 45%; font-size: 10px; line-height: 1.35; }
.p05-city-label { font-size: 17px; }
.p05-point text,.p05-location text { font-size: 14px; }
.p05-finance-link { stroke-width: 4; }
.p05-link-label text { font-size: 13px; }
.p03-stage { grid-template-columns: minmax(0,65fr) minmax(255px,35fr); }
.p03-scale-card { width: min(245px,52%); padding: 8px 10px; }
.p05-stage { grid-template-columns: minmax(0,66fr) minmax(280px,34fr); }
.p05-package-panel { padding-inline: 10px; }

.p06-transport-layer { opacity: .66; }
.p06-marker text { font-size: 13px; }
.p06-finance-link { stroke-width: 3.5; }
.p06-mini-map .map-scale-bar text { font-size: 10px; }
.p06-mini-map .map-scale-bar .scale-caption { font-size: 9px; }

@media (max-width:1350px),(max-height:760px) {
  .map-legend-overlay { width: 155px; gap: 3px; }
  .map-scale-bar text { font-size: 9px; }
  .map-scale-bar .scale-caption { font-size: 8px; }
  .p01-city-node text { font-size: 15px; }
  .p01-city-node.core text { font-size: 18px; }
  .p01-map-key text,.p03-map-key text,.p05-map-key text { font-size: 10px; }
  .p01-standard-map > .standard-map-scale { right: 12px; bottom: 10px; font-size: 9px; }
  .p03-city-label { font-size: 14px; }
  .p03-city-label.focus { font-size: 18px; }
  .p03-stage { grid-template-columns: minmax(0,61fr) minmax(245px,39fr); }
  .p03-map-note { bottom: 48px; font-size: 8px; }
  .p05-stage { grid-template-columns: minmax(0,62fr) minmax(255px,38fr); }
  .p05-current-evidence { right: 9px; top: 8px; width: min(260px,50%); padding: 6px 8px; }
  .p05-current-evidence b { font-size: 11px; }
  .p05-current-evidence p { font-size: 8px; }
  .p05-map-note { bottom: 47px; font-size: 8px; }
  .p05-city-label { font-size: 13px; }
  .p05-point text,.p05-location text { font-size: 10.5px; }
  .p06-marker text { font-size: 10px; }
}

/* Classroom-distance correction after 1280×720 visual inspection. */
.p02-evidence p,.p03-evidence p,.p05-package p,.p05-package > div { font-size: 12.5px; }
@media (max-width:1350px),(max-height:760px) {
  .p02-evidence p,.p03-evidence p,.p05-package p,.p05-package > div { font-size: 9.8px; line-height: 1.38; }
  .p02-evidence strong,.p03-evidence strong,.p05-package strong { font-size: 11.2px; }
  .p05-package header b { font-size: 10.5px; }
}

/* Classroom-distance correction after 1280×720 visual inspection. */
.p02-evidence p,.p03-evidence p,.p05-package p,.p05-package > div { font-size: 12.5px; }
@media (max-width:1350px),(max-height:760px) {
  .p02-evidence p,.p03-evidence p,.p05-package p,.p05-package > div { font-size: 9.8px; line-height: 1.38; }
  .p02-evidence strong,.p03-evidence strong,.p05-package strong { font-size: 11.2px; }
  .p05-package header b { font-size: 10.5px; }
}

@font-face {
  font-family: "Shenzhen Sans";
  src: url("../public/assets/fonts/NotoSansCJKsc-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Shenzhen Sans";
  src: url("../public/assets/fonts/NotoSansCJKsc-Medium.otf") format("opentype");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #eef3f1;
  --surface: #fffdf9;
  --surface-soft: #f8f8f3;
  --ink: #102c35;
  --ink-soft: #36545b;
  --muted: #718488;
  --line: #cbd8d5;
  --line-strong: #91aaa8;
  --teal: #14727b;
  --teal-deep: #0b4e58;
  --teal-soft: #dbeceb;
  --coral: #c3445d;
  --coral-soft: #f7e7e9;
  --amber: #c9792d;
  --amber-soft: #f6ead9;
  --sage: #dfe9d9;
  --ocean: #deedf0;
  --sans: "Shenzhen Sans", "Noto Sans CJK SC", "Microsoft YaHei UI", sans-serif;
  --display: "Shenzhen Display", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  line-height: 1.45;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: var(--paper); }
body { min-width: 1024px; }
button { font: inherit; color: inherit; }
button:focus-visible { outline: 3px solid #e6a15f; outline-offset: 2px; }

.orientation-notice { display: none; }

@media (max-width: 1023px) and (orientation: landscape) {
  .course-title > small,
  .common-revision-sample .course-title > small {
    font-size: 12px;
  }
  .common-revision-sample .p09-framework > header,
  .common-revision-sample .concept-scale > header b {
    font-size: 12px;
  }
  body { min-width: 0; }
}

@media (max-width: 760px) and (orientation: portrait) {
  body { min-width: 0; }
  #app { visibility: hidden; }
  .orientation-notice {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 12px;
    padding: 32px;
    color: #103e48;
    background: #f5f1e8;
    text-align: center;
  }
  .orientation-notice div { color: #14727b; font-size: 54px; line-height: 1; }
  .orientation-notice strong { font-family: var(--display); font-size: 28px; }
  .orientation-notice span { max-width: 320px; color: #526d72; font-size: 16px; line-height: 1.7; }
}

/* 平板拖动只接管实际拖拽物；页面其余区域仍保持正常触摸语义。 */
.student-view .p01-drag-card,
.student-view .p06-drag-token.enabled,
.student-view .p09-evidence-card:not(.locked) {
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.student-view .p01-drop-zone,
.student-view .p06-method-table td.active,
.student-view .p09-drop-target {
  touch-action: manipulation;
}

#app {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-rows: clamp(70px, 9.15vh, 82px) minmax(0, 1fr) clamp(50px, 6.4vh, 58px);
  background: radial-gradient(circle at 65% 10%, rgba(255,255,255,.95), transparent 34%), var(--paper);
}

#app.chapter-cover-active {
  position: relative;
  display: block;
  background: #031c42;
}
.chapter-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #031c42;
  cursor: pointer;
  touch-action: manipulation;
}
.chapter-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.chapter-cover:focus-visible {
  outline: 4px solid #ff8a45;
  outline-offset: -6px;
}

.app-header {
  display: grid;
  grid-template-columns: 31% 47% 22%;
  align-items: center;
  padding: 8px 18px 8px 22px;
  background: rgba(255,253,249,.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 18px rgba(16,44,53,.045);
}
.course-title { min-width: 0; }
.course-title > small { display: block; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.course-title h1 { margin: 2px 0 0; font-size: clamp(23px, 2vw, 31px); line-height: 1.12; letter-spacing: -.04em; white-space: nowrap; }
.course-title h1 span { margin-left: 6px; color: #61777b; font-size: .62em; font-weight: 600; letter-spacing: 0; }
.phase-axis { display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; gap: 7px; padding: 0 16px; }
.phase-stop { position: relative; min-height: 48px; display: grid; place-content: center; text-align: center; color: #7c898b; }
.phase-stop::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 2px; height: 3px; transform: scaleX(0); background: var(--coral); transition: transform .28s ease; }
.phase-stop span { font-size: clamp(13px, 1.05vw, 16px); font-weight: 800; letter-spacing: .05em; }
.phase-stop small { margin-top: 1px; font-size: 9px; letter-spacing: .06em; }
.phase-stop.active { color: var(--teal-deep); }
.phase-stop.active::after { transform: scaleX(1); }
.phase-stop.active span { text-shadow: 0 5px 18px rgba(20,114,123,.18); }
.header-meta { justify-self: end; display: flex; align-items: center; gap: 12px; text-align: right; }
.header-meta b, .header-meta small { display: block; }
.header-meta b { font-size: 13px; }
.header-meta small { color: var(--muted); font-size: 10px; }
.page-code { display: flex; align-items: baseline; justify-content: center; gap: 3px; width: 72px; height: 42px; padding-top: 5px; background: var(--ink); color: white; font-weight: 900; letter-spacing: .04em; box-shadow: 5px 5px 0 var(--teal-soft); }
.page-code b { font-size: 23px !important; line-height: 1; }
.page-code small { color: #d7e6e5 !important; font-size: 10px !important; }

.workbench { min-height: 0; padding: 9px 12px; display: grid; grid-template-columns: 6fr 19fr 50fr 25fr; gap: 9px; }
.space-axis, .inquiry-rail, .map-stage, .concept-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); }

.space-axis { min-height: 0; padding: 13px 9px; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.space-axis header { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.space-axis header small, .timeline-title small, .inquiry-header small { display: block; color: var(--coral); font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.space-axis header b, .timeline-title b { font-size: 14px; }
.space-axis ol { position: relative; min-height: 0; margin: 8px 0 0; padding: 8px 0; list-style: none; display: flex; flex-direction: column; justify-content: space-around; }
.space-axis ol::before { content: ""; position: absolute; left: 6px; top: 13px; bottom: 13px; width: 1px; background: var(--line-strong); }
.space-axis li { position: relative; min-height: 0; padding-left: 21px; color: #859194; font-size: clamp(11px, .8vw, 13px); font-weight: 700; line-height: 1.35; }
.space-axis li i { position: absolute; left: 0; top: 4px; width: 13px; height: 13px; border: 2px solid var(--line-strong); border-radius: 50%; background: white; }
.space-axis li.active { color: var(--teal-deep); font-weight: 900; }
.space-axis li.active i { border-color: var(--coral); background: var(--coral); box-shadow: 0 0 0 5px var(--coral-soft); }

.inquiry-rail { min-height: 0; padding: 12px 12px 10px; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.inquiry-header { padding: 0 4px 9px; border-bottom: 2px solid var(--ink); }
.inquiry-header h2 { margin: 2px 0 0; font-size: clamp(17px, 1.15vw, 20px); letter-spacing: .04em; }
.inquiry-chain { position: relative; min-height: 0; display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); }
.inquiry-chain::before { content: ""; position: absolute; left: 17px; top: 9%; bottom: 9%; width: 2px; background: linear-gradient(var(--coral), var(--teal)); opacity: .38; }
.inquiry-step { position: relative; z-index: 1; min-height: 0; display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 9px; align-content: center; padding: 8px 3px; border-bottom: 1px solid #e2e9e6; opacity: .54; transition: opacity .28s ease, transform .28s ease; }
.inquiry-step:last-child { border-bottom: 0; }
.inquiry-step.visible { opacity: 1; transform: translateX(2px); }
.inquiry-step > span { display: grid; place-items: center; align-self: start; width: 31px; height: 31px; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 900; transition: background .25s ease, border-color .25s ease; }
.inquiry-step.visible > span { border-color: var(--coral); background: var(--coral); color: white; box-shadow: 0 4px 12px rgba(195,68,93,.2); }
.inquiry-step h3 { margin: 2px 0 0; font-size: clamp(14px, 1vw, 17px); line-height: 1.38; }
.inquiry-answer { min-height: 0; max-height: 0; opacity: 0; transform: translateY(5px); overflow: hidden; transition: max-height .3s ease, opacity .25s ease, transform .25s ease; }
.inquiry-answer.visible { max-height: 115px; opacity: 1; transform: translateY(0); }
.inquiry-step p { margin: 5px 0 0; color: var(--ink-soft); font-size: clamp(10.5px, .73vw, 12px); line-height: 1.5; }
.inquiry-step small { display: block; margin-top: 4px; color: var(--teal); font-size: clamp(9px, .63vw, 10px); font-weight: 800; }

.map-stage { min-height: 0; padding: 9px 10px 10px; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 7px; box-shadow: 0 8px 24px rgba(16,44,53,.045); }
.stage-header { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 0 7px; border-bottom: 1px solid var(--line); }
.stage-header > h2 { min-width: 0; margin: 0; overflow: hidden; color: var(--ink); font-size: clamp(17px, 1.28vw, 21px); line-height: 1.25; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.map-shell { min-height: 0; overflow: hidden; border: 1px solid #aac1bf; background: var(--ocean); }

.m1-map { position: relative; width: 100%; height: 100%; min-height: 430px; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: var(--ocean); }
.map-plot { position: relative; min-height: 0; overflow: hidden; background: linear-gradient(135deg, #dcebee, #eef5f3); }
.map-plot svg { display: block; width: 100%; height: 100%; min-height: 0; }
.map-ocean { fill: url(#ocean-wash); }
.map-title-block text { fill: var(--teal-deep); font-size: 19px; font-weight: 900; letter-spacing: .03em; paint-order: stroke; stroke: rgba(255,255,255,.96); stroke-width: 6px; }
.prefecture { stroke: #789396; stroke-width: 1; vector-effect: non-scaling-stroke; fill-rule: evenodd; }
.prefecture-background { fill: #edf0ec; stroke: #b3c0be; opacity: .64; }
.prefecture-support { fill: #e5eeea; stroke: #8ba4a3; opacity: .8; }
.prefecture-focus { fill: #e8efe8; stroke: #245f68; stroke-width: 1.55; opacity: 1; filter: drop-shadow(0 4px 5px rgba(16,44,53,.08)); }
.prefecture-东莞市 { fill: #f1e3ce; }
.prefecture-惠州市 { fill: #e2ecd9; }
.prefecture-深圳市 { fill: #f3dfe5; }
.prefecture-label { fill: #607579; font-size: 17px; font-weight: 800; text-anchor: middle; paint-order: stroke; stroke: rgba(255,255,255,.96); stroke-width: 6px; }
.prefecture-label.support { fill: #6d8385; font-size: 14px; }
.prefecture-label.focus { fill: var(--ink); font-size: 20px; }
.north-arrow path { fill: var(--ink); }
.north-arrow text { fill: var(--ink); font-size: 13px; font-weight: 900; }
.relation-line { fill: none; stroke: var(--teal); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 9 8; opacity: .84; vector-effect: non-scaling-stroke; animation: draw-relation .72s ease both; }
.geo-node, .node-label { transition: opacity .3s ease, transform .3s ease; }
.geo-node.is-hidden, .node-label.is-hidden { opacity: 0; pointer-events: none; }
.node-halo { fill: rgba(20,114,123,.13); stroke: rgba(20,114,123,.38); stroke-width: 1.5; }
.node-dot { fill: var(--teal); stroke: white; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.source-node .node-halo { fill: rgba(195,68,93,.17); stroke: rgba(195,68,93,.42); }
.source-node .node-dot { fill: var(--coral); }
.node-label rect { fill: rgba(255,253,249,.96); stroke: #8da9a8; stroke-width: 1; vector-effect: non-scaling-stroke; filter: drop-shadow(0 4px 4px rgba(16,44,53,.08)); }
.source-label rect { stroke: var(--coral); }
.node-label text { fill: var(--ink); font-size: 14px; }
.node-city { fill: var(--teal-deep); font-size: 16px; font-weight: 900; }
.node-entity { fill: var(--ink); font-size: 16px; font-weight: 900; }
.node-title { fill: #4d666b; font-size: 14px; font-weight: 700; }
.map-legend-overlay { position: absolute; z-index: 3; left: 14px; bottom: 13px; width: 170px; display: grid; gap: 6px; padding: 9px 10px; border: 1px solid rgba(105,137,137,.85); background: rgba(255,253,249,.94); box-shadow: 0 6px 18px rgba(16,44,53,.09); }
.map-legend-overlay > b { margin-bottom: 1px; color: var(--teal-deep); font-size: 10px; letter-spacing: .12em; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; font-size: clamp(10px, .68vw, 11px); font-weight: 800; }
.map-legend i { flex: 0 0 auto; display: inline-block; }
.legend-source, .legend-project { width: 11px; height: 11px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.legend-project { background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.map-legend .legend-relation i { width: 24px; height: 1px; border-top: 3px dashed var(--teal); border-radius: 0; background: none; box-shadow: none; }
.legend-relation { transition: opacity .25s ease; }
.legend-relation.muted { opacity: .28; }

.map-materials { min-height: 144px; display: grid; grid-template-columns: minmax(0, 1fr) 205px; border-top: 1px solid #aac1bf; background: var(--surface); }
.story-panel { min-width: 0; padding: 7px 9px 8px; }
.story-panel > header { display: flex; align-items: baseline; gap: 8px; padding-bottom: 5px; }
.story-panel > header small { color: var(--coral); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.story-panel > header b { font-size: 12px; }
.story-panel > header span { margin-left: auto; color: var(--muted); font-size: 8px; }
.story-line { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.story-line::before { content: ""; position: absolute; left: 5%; right: 5%; top: 10px; height: 2px; background: linear-gradient(90deg, var(--coral), var(--amber), var(--teal)); opacity: .42; }
.story-event { position: relative; min-width: 0; opacity: .25; transition: opacity .28s ease, transform .28s ease; }
.story-event.visible { opacity: 1; transform: translateY(-1px); }
.story-year { position: relative; z-index: 1; display: flex; align-items: center; gap: 5px; }
.story-year i { width: 10px; height: 10px; border: 2px solid var(--coral); border-radius: 50%; background: white; box-shadow: 0 0 0 3px var(--coral-soft); }
.story-year b { color: var(--coral); font-size: 11px; }
.story-event h3 { margin: 4px 0 1px; overflow: hidden; font-size: clamp(9.5px, .67vw, 11px); line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.story-event p { margin: 0; color: var(--ink-soft); font-size: clamp(8.5px, .58vw, 9.5px); line-height: 1.36; }
.story-event small { display: block; margin-top: 2px; color: var(--teal); font-size: 8px; font-weight: 800; }
.contact-strip { display: flex; align-items: center; gap: 6px; margin-top: 5px; opacity: .25; transition: opacity .25s ease; }
.contact-strip.visible { opacity: 1; }
.contact-strip b { color: var(--teal-deep); font-size: 9px; }
.contact-strip span { padding: 2px 5px; background: var(--teal-soft); color: var(--teal-deep); font-size: 8px; font-weight: 800; }
.contact-strip small { margin-left: auto; color: var(--muted); font-size: 7.5px; }
.source-compact { align-self: stretch; margin: 9px; padding: 9px 10px; border-left: 3px solid var(--amber); background: #fbf5ea; }
.source-compact small { color: var(--amber); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.source-compact p { margin: 5px 0 0; color: #5f6e70; font-size: clamp(8.5px, .58vw, 9.5px); line-height: 1.48; }
.map-status { position: absolute; z-index: 5; inset: 40% auto auto 50%; transform: translate(-50%, -50%); padding: 9px 13px; background: white; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.map-status.error { color: #9c263e; border-color: #dba1ae; }

.concept-rail { min-width: 0; min-height: 0; }
.concept-card { width: 100%; height: 100%; padding: 10px; overflow: hidden; }
.concept-map-canvas { height: 100%; min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; padding: 10px; border: 1px solid #9eb7b5; background: linear-gradient(155deg, #fffefb, #f1f7f3); box-shadow: inset 0 0 0 4px rgba(219,236,235,.42); }
.concept-title { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 2px 8px; border-bottom: 3px solid var(--teal); }
.concept-title small { color: var(--coral); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.concept-title b { color: var(--teal-deep); font-size: clamp(18px, 1.32vw, 22px); letter-spacing: .04em; }
.concept-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 8px 22% 5px 0; color: var(--ink-soft); font-size: clamp(10px, .73vw, 12px); font-weight: 900; text-align: center; }
.concept-rows { min-height: 0; display: grid; align-content: space-evenly; }
.concept-return { height: 16px; display: grid; place-items: center; color: #b9c3c1; font-size: 9px; font-weight: 800; }
.concept-return span { position: relative; padding: 0 6px; background: #f5f8f4; }
.concept-return span::before, .concept-return span::after { content: ""; position: absolute; top: 50%; width: 24px; border-top: 1px dashed currentColor; }
.concept-return span::before { right: 100%; }
.concept-return span::after { left: 100%; }
.concept-return.current { color: var(--amber); }
.concept-row { min-height: 64px; display: grid; grid-template-columns: minmax(0, 3.25fr) 12px minmax(0, .9fr); align-items: center; }
.concept-core-row { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr); align-items: center; }
.concept-link, .outcome-link { color: #a6b4b2; font-size: 13px; font-style: normal; font-weight: 900; text-align: center; }
.concept-cell, .concept-outcome { min-width: 0; min-height: 57px; display: grid; place-content: center; padding: 5px 4px; border: 1.5px solid #b9c7c4; background: rgba(255,255,255,.55); text-align: center; opacity: .42; transition: opacity .28s ease, border-color .28s ease, background .28s ease, transform .28s ease; }
.concept-cell b, .concept-outcome b { font-size: clamp(10px, .72vw, 12px); line-height: 1.3; }
.concept-cell small, .concept-outcome small { min-height: 14px; margin-top: 2px; color: var(--muted); font-size: clamp(8px, .55vw, 9px); line-height: 1.3; }
.concept-cell.learned { border-color: #7ea7a4; background: var(--teal-soft); opacity: .78; }
.concept-cell.visible { border-color: var(--teal); background: white; opacity: 1; transform: translateY(-1px); box-shadow: 0 5px 13px rgba(16,44,53,.08); }
.concept-row-current .concept-cell.visible { border-color: var(--amber); background: #fffaf1; }
.concept-outcome.visible { border-color: var(--coral); background: var(--coral-soft); opacity: 1; box-shadow: 0 5px 13px rgba(195,68,93,.1); }
.concept-scale { margin-top: 7px; padding: 7px; border: 1px solid #b8c7c4; background: rgba(255,255,255,.48); }
.concept-scale > header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; color: var(--ink-soft); }
.concept-scale > header span { height: 1px; background: var(--line-strong); }
.concept-scale > header b { font-size: clamp(10px, .72vw, 12px); letter-spacing: .06em; }
.scale-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.scale-grid article { min-height: 38px; border: 1px dashed #c5d0ce; background: rgba(246,248,245,.65); }
.scale-grid article .scale-icon,
.scale-grid article .scale-icon-placeholder { display: block; object-fit: contain; }

.rail-controls { align-self: center; display: grid; gap: 4px; }
.step-buttons, .page-buttons, .tool-buttons { display: grid; gap: 4px; }
.step-buttons { grid-template-columns: repeat(2, minmax(58px, auto)); }
.page-buttons { grid-template-columns: repeat(2, minmax(30px, auto)); }
.tool-buttons { grid-template-columns: repeat(2, 1fr); }
.rail-controls button, .rail-controls span { min-width: 30px; min-height: 24px; display: grid; place-items: center; padding: 2px 6px; border: 1px solid #8aa9a8; background: white; color: var(--teal-deep); font-size: 9px; font-weight: 800; }
.step-buttons button { min-height: 27px; font-size: 10px; }
.rail-controls button { cursor: pointer; }
.rail-controls button:hover:not(:disabled) { border-color: var(--coral); color: var(--coral); }
.rail-controls button:disabled { opacity: .28; cursor: default; }

.timeline-bar { display: grid; grid-template-columns: 6.5fr 93.5fr; align-items: center; padding: 0 12px; gap: 9px; background: var(--surface); border-top: 1px solid var(--line); }
.timeline-title { padding-left: 8px; }
.timeline-title b { font-family: var(--display); white-space: nowrap; letter-spacing: .03em; }
.timeline-track { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; }
.time-stop { position: relative; padding-top: 17px; color: #849195; font-size: clamp(10px, .72vw, 12px); text-align: center; }
.time-stop::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: var(--line-strong); }
.time-stop i { position: absolute; z-index: 1; left: 50%; top: 3px; width: 11px; height: 11px; transform: translateX(-50%); border: 2px solid var(--line-strong); border-radius: 50%; background: white; }
.time-stop.complete { color: var(--teal); }
.time-stop.complete i { border-color: var(--teal); background: var(--teal-soft); }
.time-stop.active { color: var(--ink); font-weight: 900; }
.time-stop.active i { border-color: var(--coral); background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }

.source-drawer { position: fixed; z-index: 40; top: 0; right: 0; bottom: 0; width: min(480px, 40vw); padding: 18px; transform: translateX(102%); transition: transform .25s ease; background: white; border-left: 1px solid var(--line); box-shadow: -14px 0 35px rgba(16,44,53,.16); }
.source-drawer.open { transform: translateX(0); }
.source-drawer header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.source-drawer header small { color: var(--coral); font-size: 10px; font-weight: 900; }
.source-drawer h2 { margin: 2px 0 0; font-size: 21px; }
.source-drawer header button { width: 32px; height: 32px; border: 1px solid var(--line); background: white; cursor: pointer; }
.source-drawer ol { margin: 14px 0; padding: 0; list-style: none; }
.source-drawer li { display: grid; grid-template-columns: 42px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid #e6ecec; font-size: 12px; }
.source-drawer li b { color: var(--teal); }
.source-note { padding: 11px; background: var(--coral-soft); font-size: 11px; }
.source-note p { margin: 4px 0 0; }
.drawer-scrim { position: fixed; z-index: 35; inset: 0; display: none; background: rgba(16,44,53,.18); }
.drawer-scrim.visible { display: block; }

@keyframes draw-relation { from { stroke-dashoffset: 80; opacity: 0; } to { stroke-dashoffset: 0; opacity: .84; } }

@media (max-width: 1350px), (max-height: 760px) {
  #app { grid-template-rows: 68px minmax(0, 1fr) 50px; }
  #app.common-revision-sample { grid-template-rows: 72.8px minmax(0, 1fr) 44.8px; }
  .app-header { padding-left: 14px; }
  .course-title > small { font-size: 9px; }
  .course-title h1 { font-size: 23px; }
  .phase-axis { padding: 0 7px; gap: 2px; }
  .phase-stop { min-height: 42px; }
  .phase-stop span { font-size: 13px; }
  .workbench { padding: 8px; gap: 7px; grid-template-columns: 6fr 19fr 50fr 25fr; }
  .space-axis { padding: 9px 7px; }
  .space-axis li { padding-left: 18px; font-size: 10.5px; }
  .inquiry-rail { padding: 8px 8px 6px; }
  .inquiry-header { padding-bottom: 6px; }
  .inquiry-header h2 { font-size: 16px; }
  .inquiry-step { grid-template-columns: 29px 1fr; gap: 6px; padding: 5px 1px; }
  .inquiry-step > span { width: 27px; height: 27px; }
  .inquiry-chain::before { left: 13px; }
  .inquiry-step h3 { font-size: 12px; line-height: 1.35; }
  .inquiry-step p { margin-top: 3px; font-size: 9.5px; line-height: 1.38; }
  .inquiry-step small { margin-top: 2px; font-size: 8px; }
  .map-stage { padding: 7px; gap: 5px; }
  .stage-header { gap: 6px; padding-bottom: 5px; }
  .stage-header > h2 { font-size: 16px; }
  .m1-map { min-height: 350px; }
  .map-materials { min-height: 126px; grid-template-columns: minmax(0, 1fr) 164px; }
  .story-panel { padding: 5px 6px; }
  .story-panel > header { padding-bottom: 3px; }
  .story-panel > header span { display: none; }
  .story-line { gap: 5px; }
  .story-event p { max-height: 38px; overflow: hidden; font-size: 8px; }
  .contact-strip { gap: 3px; margin-top: 3px; }
  .contact-strip span { padding: 1px 3px; font-size: 7px; }
  .contact-strip small { display: none; }
  .source-compact { margin: 6px; padding: 6px; }
  .source-compact p { font-size: 8px; line-height: 1.35; }
  .map-legend-overlay { left: 8px; bottom: 8px; width: 142px; gap: 4px; padding: 6px; }
  .map-title-block text { font-size: 17px; }
  .concept-card { padding: 7px; }
  .concept-map-canvas { padding: 7px; }
  .concept-title { padding-bottom: 5px; }
  .concept-title b { font-size: 17px; }
  .concept-columns { padding: 5px 22% 3px 0; gap: 12px; font-size: 9px; }
  .concept-row { min-height: 51px; grid-template-columns: minmax(0, 3.25fr) 9px minmax(0, .9fr); }
  .concept-core-row { grid-template-columns: minmax(0, 1fr) 9px minmax(0, 1fr) 9px minmax(0, 1fr); }
  .concept-cell, .concept-outcome { min-height: 45px; padding: 3px 2px; }
  .concept-cell b, .concept-outcome b { font-size: 9px; }
  .concept-cell small, .concept-outcome small { min-height: 10px; font-size: 7px; }
  .concept-return { height: 12px; font-size: 7px; }
  .concept-scale { margin-top: 4px; padding: 5px; }
  .scale-grid article { min-height: 27px; }
  .timeline-bar { padding: 0 8px; gap: 7px; }
  .timeline-title b { font-size: 12px; }
}

/* P04 reference-image alignment: restrained teaching atlas, clear evidence hierarchy. */
.header-artwork {
  opacity: .72;
  filter: saturate(.55) contrast(.92);
  mix-blend-mode: multiply;
}
.phase-stop small { font-size: clamp(8px, .61vw, 10px); letter-spacing: .03em; }

.space-axis ol {
  height: calc(100% - 64px);
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  align-content: stretch;
}
.space-axis li { min-height: 0; padding-left: 46px; line-height: 1.34; }
.space-axis ol::before { top: 8%; bottom: 8%; }

.inquiry-chain {
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 9px;
}
.inquiry-step {
  align-content: center;
  grid-template-columns: 35px minmax(0,1fr);
  gap: 8px;
  padding: 10px 10px 10px 6px;
  border-color: #d5e2df;
  border-radius: 8px;
  background: rgba(255,255,252,.9);
  box-shadow: 0 5px 16px rgba(23,64,68,.035);
}
.inquiry-step > span {
  align-self: start;
  width: 29px;
  height: 29px;
  font-size: 12px;
  font-weight: 700;
}
.inquiry-step h3 { margin-top: 1px; font-weight: 700; letter-spacing: -.015em; }
.inquiry-step p { margin-top: 6px; font-size: clamp(10.5px, .76vw, 12px); line-height: 1.58; }
.inquiry-step small { display: none; }

.map-stage {
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr);
  gap: 0;
  padding: 0;
}
.stage-header {
  position: relative;
  inset: auto;
  z-index: 8;
  min-height: 48px;
  padding: 0 12px 0 17px;
  border-bottom: 1px solid #d1dedb;
  background: linear-gradient(90deg, rgba(238,246,242,.94), rgba(255,254,251,.82));
}
.stage-header::before {
  content: "核心问题";
  flex: 0 0 auto;
  margin-right: 10px;
  color: #08736f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}
.stage-header > h2 {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: auto;
  color: #123f4d;
  font-size: clamp(15px, 1.08vw, 18px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stage-header { display: flex; align-items: center; }
.stage-header .rail-controls { position: absolute; right: 8px; margin-left: 0; }
.stage-header > h2 { padding-right: 8px; }
.map-shell { height: auto; margin: 8px 10px 10px; }
.m1-map { min-height: 0; }
.map-title-block text { font-family: var(--sans); font-weight: 700; }
.prefecture-label { font-family: var(--sans); font-size: 16px; font-weight: 500; }
.node-name { font-family: var(--sans); font-size: 21px; font-weight: 700; }
.source-node .node-name { font-size: 24px; }
.node-label text { font-family: var(--sans); }
.node-city { font-size: 17px; font-weight: 700; }
.node-entity { font-size: 17px; font-weight: 700; }
.node-title { font-size: 15px; font-weight: 500; }
.map-legend span { font-size: clamp(10.5px, .72vw, 12px); font-weight: 500; }

.map-materials { min-height: 218px; }
.story-panel {
  padding: 12px 16px 12px;
  grid-template-rows: auto minmax(0,1fr);
}
.story-panel > header { gap: 10px; padding-bottom: 11px; }
.story-panel > header b { font-size: 12px; font-weight: 700; }
.story-panel > header strong { font-family: var(--sans); font-size: 14px; font-weight: 700; }
.story-line { gap: 18px; }
.story-line::before { top: 15px; }
.story-event:not(:last-child)::after { top: 14px; right: -12px; width: 8px; height: 8px; }
.story-year b { min-width: 51px; padding: 3px 9px; font-size: 12px; font-weight: 700; }
.story-event h3 { margin-top: 9px; font-size: clamp(12px, .82vw, 13.5px); font-weight: 700; line-height: 1.35; }
.story-event p { margin-top: 4px; font-size: clamp(10.5px, .72vw, 12px); line-height: 1.52; }
.story-event small, .story-panel > footer, .contact-strip { display: none; }

.concept-map-canvas {
  grid-template-rows: auto auto minmax(0,1fr) 58px 150px;
  padding: 14px 12px 12px;
}
.concept-columns {
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  padding: 9px 0 6px;
  font-size: clamp(10.5px, .75vw, 12px);
}
.concept-rows {
  grid-template-rows: minmax(58px,1fr) 34px minmax(58px,1fr) 34px minmax(58px,1fr);
  align-content: stretch;
  padding: 0;
}
.concept-row {
  min-height: 0;
  display: block;
  padding: 0;
  background: none;
}
.concept-row::before { content: none; }
.concept-core-row {
  height: 100%;
  grid-template-columns: minmax(0,1fr) 14px minmax(0,1fr) 14px minmax(0,1fr);
}
.concept-cell {
  min-height: 54px;
  padding: 6px 4px;
  border-radius: 8px;
}
.concept-cell b { font-size: clamp(10.5px, .73vw, 12px); font-weight: 700; }
.concept-cell small { font-size: clamp(8px, .57vw, 9.5px); }
.concept-link { font-size: 14px; }
.concept-return {
  position: relative;
  height: 34px;
  color: #71a19e;
}
.concept-return svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.concept-return path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.concept-return span {
  z-index: 1;
  padding: 2px 10px;
  border: 1px solid rgba(71,145,140,.28);
  border-radius: 999px;
  background: #f5f9f6;
  color: #377a78;
  font-size: 9px;
  font-weight: 700;
}
.concept-return span::before, .concept-return span::after { content: none; }
.concept-development {
  position: relative;
  display: grid;
  place-content: end center;
  min-height: 0;
  padding-bottom: 2px;
  color: #5e9b97;
  opacity: .28;
  transition: opacity .25s ease;
}
.concept-development.visible { opacity: 1; }
.concept-development svg { position: absolute; inset: 0 4% auto; width: 92%; height: 42px; }
.concept-development path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.concept-development b {
  z-index: 1;
  min-width: 142px;
  padding: 5px 14px;
  border: 1px solid #69a9a4;
  border-radius: 999px;
  background: #e5f2ed;
  color: #176d6b;
  font-size: 12px;
  text-align: center;
}
.concept-development small { z-index: 1; color: #67817f; font-size: 8px; }
.concept-scale { margin-top: 6px; padding: 8px 6px 7px; }
.scale-grid article { grid-template-rows: auto 42px auto; padding: 5px 3px 4px; }
.scale-grid article svg { width: 34px; height: 34px; }
.scale-grid article small { font-size: clamp(9px, .65vw, 10.5px); }
.scale-grid article b { font-size: clamp(10.5px, .76vw, 12.5px); }
.concept-outcome, .outcome-link, .concept-source { display: none; }

.timeline-bar {
  grid-template-columns: 9fr 70fr 21fr;
  gap: 10px;
  padding: 0 14px;
}
.timeline-source {
  align-self: center;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid #7ea5a4;
  border-radius: 6px;
  background: linear-gradient(90deg, #f8faf7, #eef5f1);
  color: #174b59;
  text-align: center;
}
.timeline-source b { display: block; font-size: clamp(10px, .73vw, 12px); font-weight: 700; white-space: nowrap; }
.timeline-source small { display: block; color: #6f8381; font-size: clamp(7px, .52vw, 8.5px); }

@media (max-width: 1350px), (max-height: 760px) {
  .space-axis ol { height: calc(100% - 46px); }
  .space-axis li { padding-left: 35px; }
  .inquiry-chain { gap: 5px; }
  .inquiry-step { grid-template-columns: 28px 1fr; gap: 5px; padding: 6px 5px 6px 3px; }
  .inquiry-step h3 { font-size: 11.5px; }
  .inquiry-step p { font-size: 9px; line-height: 1.42; }
  .map-stage { grid-template-rows: 42px minmax(0,1fr); }
  .stage-header { min-height: 42px; padding-left: 11px; }
  .stage-header::before { margin-right: 7px; font-size: 8px; }
  .stage-header > h2 { font-size: 12px; }
  .map-shell { margin: 6px 7px 7px; }
  .map-materials { min-height: 174px; }
  .story-panel { padding: 7px 9px 7px; }
  .story-panel > header { padding-bottom: 6px; }
  .story-panel > header b { font-size: 9px; }
  .story-panel > header strong { font-size: 10.5px; }
  .story-line { gap: 10px; }
  .story-year b { min-width: 42px; padding: 2px 6px; font-size: 9.5px; }
  .story-event h3 { margin-top: 6px; font-size: 9.5px; }
  .story-event p { margin-top: 2px; font-size: 8px; line-height: 1.4; }
  .concept-map-canvas { grid-template-rows: auto auto minmax(0,1fr) 42px 104px; }
  .concept-rows { grid-template-rows: minmax(42px,1fr) 25px minmax(42px,1fr) 25px minmax(42px,1fr); }
  .concept-core-row { grid-template-columns: minmax(0,1fr) 9px minmax(0,1fr) 9px minmax(0,1fr); }
  .concept-cell { min-height: 40px; }
  .concept-cell b { font-size: 9px; }
  .concept-cell small { min-height: 0; font-size: 7px; }
  .concept-return { height: 25px; }
  .concept-return span { padding: 1px 6px; font-size: 7px; }
  .concept-development b { min-width: 112px; padding: 3px 8px; font-size: 9px; }
  .concept-development small { font-size: 6px; }
  .scale-grid article { grid-template-rows: auto 27px auto; }
  .scale-grid article svg { width: 23px; height: 23px; }
  .scale-grid article small { font-size: 7px; }
  .scale-grid article b { font-size: 8px; }
  .timeline-bar { grid-template-columns: 10fr 68fr 22fr; padding: 0 8px; gap: 6px; }
  .timeline-source { padding: 4px 6px; }
  .timeline-source b { font-size: 8px; }
  .timeline-source small { font-size: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* P04 Image2-informed visual framework: real evidence, lighter teaching composition. */
:root {
  --paper: #f2f5f1;
  --surface: #fffefb;
  --surface-soft: #f6f8f4;
  --ink: #0d3341;
  --ink-soft: #3d5f65;
  --muted: #74898b;
  --line: #d7e2df;
  --line-strong: #8eacab;
  --teal: #167d7b;
  --teal-deep: #0c5260;
  --teal-soft: #e0efeb;
  --coral: #cb4561;
  --coral-soft: #f8e9ec;
  --amber: #b98a46;
  --amber-soft: #f7f0e3;
  --sage: #dfead6;
  --ocean: #deeeee;
}

#app {
  grid-template-rows: clamp(76px, 10.1vh, 91px) minmax(0, 1fr) clamp(50px, 6.2vh, 56px);
  background:
    radial-gradient(circle at 52% 18%, rgba(255,255,255,.96), transparent 35%),
    linear-gradient(135deg, #f4f6f2 0%, #edf3f0 100%);
}

.app-header {
  position: relative;
  grid-template-columns: 36% 43% 21%;
  padding: 10px 18px 8px 22px;
  overflow: hidden;
  border-bottom-color: #c9d9d5;
  box-shadow: 0 8px 24px rgba(21,61,67,.055);
}
.course-title { position: relative; z-index: 2; }
.course-title > small { color: #176e76; font-size: 11px; letter-spacing: .11em; }
.course-title h1 { margin-top: 1px; color: #0a3547; font-family: var(--display); font-size: clamp(27px, 2.4vw, 39px); font-weight: 900; letter-spacing: -.055em; }
.course-title h1 span { color: #46666e; font-size: .52em; letter-spacing: -.02em; }
.phase-axis { position: relative; z-index: 2; gap: 0; padding: 0 8px; }
.phase-stop { min-height: 58px; color: #667b7e; }
.phase-stop:not(:last-child)::before {
  content: "→";
  position: absolute;
  top: 15px;
  right: -9px;
  color: #0d5262;
  font-size: 23px;
  font-weight: 400;
}
.phase-stop::after { left: 24%; right: 24%; bottom: 1px; height: 2px; background: var(--teal); }
.phase-stop span { font-family: var(--display); font-size: clamp(15px, 1.18vw, 19px); font-weight: 900; }
.phase-stop small { color: #697f82; font-size: 9px; }
.phase-stop.active { color: #08776f; }
.phase-stop.active span { font-size: clamp(17px, 1.32vw, 21px); text-shadow: 0 8px 18px rgba(18,121,116,.16); }
.header-visual { position: relative; width: 100%; height: 100%; min-height: 64px; }
.header-artwork { position: absolute; inset: -5px -8px auto auto; width: min(360px, 25vw); height: 78px; opacity: 1; filter: saturate(1.2) contrast(1.35); }
.header-meta { display: none; }
.header-meta > div { padding: 5px 7px; border-radius: 4px; background: rgba(255,254,251,.72); backdrop-filter: blur(2px); }
.page-code { width: 69px; height: 42px; border-radius: 0; background: #0c3340; box-shadow: 5px 5px 0 #d7e8e4; }

.workbench {
  padding: 10px 14px;
  grid-template-columns: 9fr 16.5fr minmax(0, 48fr) 26.5fr;
  gap: 11px;
}
.space-axis, .inquiry-rail, .map-stage, .concept-card {
  border-color: #d4e0dd;
  border-radius: 8px;
  box-shadow: 0 9px 28px rgba(18,57,63,.045);
}

.space-axis { padding: 18px 12px 14px; }
.space-axis header { padding: 0 4px 13px; border-bottom: 0; text-align: center; }
.space-axis header::after { content: ""; display: block; width: 28px; height: 2px; margin: 9px auto 0; background: var(--teal-deep); }
.space-axis header b { color: #174558; font-family: var(--display); font-size: clamp(17px, 1.3vw, 21px); letter-spacing: .04em; }
.space-axis ol { margin-top: 0; padding: 9px 0; }
.space-axis ol::before { left: 25px; top: 10%; bottom: 10%; background: linear-gradient(#7fa9a6, #d0ddda); }
.space-axis li { min-height: 57px; padding: 0 2px 0 48px; display: flex; align-items: center; color: #587176; font-size: clamp(11px, .86vw, 14px); }
.space-axis li i {
  left: 5px;
  top: 50%;
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  background: var(--surface);
  box-shadow: none;
}
.space-axis li i svg { width: 29px; height: 29px; overflow: visible; fill: none; stroke: #6f9695; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.space-axis li i .space-glyph {
  display: block;
  max-width: none;
  object-fit: contain;
  opacity: .67;
}
.space-axis li i .space-glyph-global { width: 76%; height: 76%; }
.space-axis li i .space-glyph-national {
  width: 85%;
  height: 100%;
  transform: translate(6.75%, 16%);
}
.space-axis li i .space-glyph-bay { width: 79%; height: 68%; }
.space-axis li i .space-glyph-nearby { width: 68%; height: 79%; }
.space-axis li.active i { border: 0; background: #e7f1ed; box-shadow: 0 0 0 5px rgba(22,125,123,.08); }
.space-axis li.active i svg { stroke: var(--teal-deep); stroke-width: 1.8; }
.space-axis li.active i .space-glyph { opacity: 1; }
.space-axis li.active { color: #0c5260; }

.inquiry-rail { padding: 17px 11px 12px; }
.inquiry-header { margin: 0 6px; padding: 0 4px 12px; border-bottom: 2px solid #123d49; text-align: center; }
.inquiry-header h2 { font-family: var(--display); font-size: clamp(18px, 1.35vw, 22px); letter-spacing: .05em; }
.inquiry-chain { gap: 10px; padding: 12px 0 0; }
.inquiry-chain::before { left: 22px; top: 8%; bottom: 8%; width: 1px; background: linear-gradient(#1d7580, #b6d3ce); opacity: .75; }
.inquiry-step {
  grid-template-columns: 34px minmax(0,1fr);
  gap: 7px;
  padding: 10px 8px 10px 5px;
  border: 1px solid #e0e8e5;
  border-radius: 9px;
  background: rgba(255,255,253,.82);
  opacity: .5;
  box-shadow: 0 5px 14px rgba(23,64,68,.025);
}
.inquiry-step.visible { transform: translateX(0); border-color: #d2e0dc; opacity: 1; }
.inquiry-step > span { width: 30px; height: 30px; border: 0; background: #1a6170; color: #fff; box-shadow: 0 5px 12px rgba(21,89,100,.18); }
.inquiry-step.visible > span { border: 0; background: #126575; box-shadow: 0 5px 13px rgba(18,101,117,.22); }
.inquiry-step h3 { color: #123e4b; font-size: clamp(13px, .96vw, 16px); line-height: 1.35; }
.inquiry-step p { color: #466469; font-size: clamp(9.8px, .7vw, 11.5px); line-height: 1.55; }
.inquiry-step small { color: #117778; }

.map-stage { position: relative; display: block; padding: 0; overflow: hidden; background: rgba(255,254,251,.98); }
.stage-header { position: absolute; z-index: 8; top: 9px; right: 11px; min-height: 0; padding: 0; border: 0; background: none; }
.stage-header > h2 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rail-controls { grid-template-columns: repeat(3, auto); align-items: center; gap: 5px; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.map-stage:hover .rail-controls, .rail-controls:focus-within { opacity: 1; pointer-events: auto; }
.student-view .student-page-controls { opacity: 1; pointer-events: auto; }
.step-buttons, .page-buttons, .tool-buttons { display: flex; gap: 4px; }
.step-buttons { grid-template-columns: repeat(2, 29px); }
.step-buttons button, .page-buttons button { min-width: 29px; padding: 2px; font-size: 18px; font-weight: 900; line-height: 1; }
.rail-controls button, .rail-controls span { min-height: 25px; border-color: #a6c1bd; border-radius: 3px; background: rgba(255,255,255,.78); }
.tool-buttons span { font-size: 13px; font-weight: 900; line-height: 1; }
.tool-buttons button { font-size: 17px; font-weight: 900; line-height: 1; }

html:fullscreen,
html:fullscreen body {
  width: 100%;
  height: 100%;
  min-width: 0;
  background: #fff;
}

html:fullscreen body {
  display: flex;
  align-items: center;
  justify-content: center;
}

html:fullscreen #app {
  width: 1600px;
  height: 900px;
  flex: 0 0 1600px;
  transform: scale(var(--presentation-scale, 1));
  transform-origin: center center;
}
.map-shell { height: calc(100% - 16px); margin: 8px 10px; border: 0; border-radius: 7px; background: var(--ocean); box-shadow: inset 0 0 0 1px #aec7c3; }
.m1-map { min-height: 430px; background: #e4efed; }
.map-plot { background: linear-gradient(135deg, #d7e9eb, #f0f5ef 62%, #dceae7); }
.map-plot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.1), transparent 43%, rgba(31,111,110,.035)); }
.map-ocean { filter: url(#paper-grain); }
.map-focus-wash { fill: url(#focus-wash); }
.map-title-block path { fill: rgba(11,73,87,.94); filter: drop-shadow(0 5px 10px rgba(16,58,66,.12)); }
.map-title-block text { fill: #f6fbf9; stroke: none; font-size: 18px; letter-spacing: .08em; }
.prefecture { stroke: #769b9b; stroke-width: .9; }
.prefecture-background { fill: #eef2ed; stroke: #b5c8c4; opacity: .55; }
.prefecture-support { fill: #e6efea; opacity: .78; }
.prefecture-focus { stroke: #3d7c7e; stroke-width: 1.35; filter: drop-shadow(0 4px 9px rgba(24,72,76,.08)); }
.prefecture-东莞市 { fill: url(#dongguan-wash); }
.prefecture-惠州市 { fill: url(#huizhou-wash); }
.prefecture-深圳市 { fill: url(#shenzhen-wash); }
.prefecture-label { fill: #5f787b; font-size: 15px; stroke-width: 5px; }
.prefecture-label.focus { fill: #0f4250; font-size: 18px; }
.support-marker { fill: #273b3f; stroke: rgba(255,255,255,.95); stroke-width: 3; vector-effect: non-scaling-stroke; filter: drop-shadow(0 2px 2px rgba(19,52,57,.14)); }
.relation-halo { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 8.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.relation-line { stroke: #148087; stroke-width: 3; stroke-dasharray: 9 8; opacity: .88; }
.node-halo { fill: rgba(24,131,127,.11); stroke: rgba(24,131,127,.42); stroke-width: 1.35; }
.node-halo-outer { fill: rgba(255,255,255,.48); stroke: rgba(24,131,127,.2); stroke-width: 1; }
.node-dot { fill: #2e8999; stroke: white; stroke-width: 3; filter: drop-shadow(0 6px 9px rgba(21,91,96,.22)); }
.source-node .node-halo { fill: rgba(11,131,119,.16); stroke: rgba(15,103,100,.52); }
.source-node .node-dot { fill: #11897d; }
.node-name { fill: white; font-size: 18px; font-weight: 900; paint-order: stroke; stroke: rgba(5,68,72,.22); stroke-width: 1px; }
.source-node .node-name { font-size: 21px; }
.node-label rect { fill: rgba(255,254,250,.95); stroke: #8eb4b1; filter: drop-shadow(0 7px 10px rgba(19,68,72,.1)); }
.source-label rect { stroke: #238e87; }
.node-city { fill: #0c686a; }
.map-legend-overlay { left: 14px; bottom: 13px; width: 164px; border-color: rgba(112,157,154,.72); border-radius: 7px; background: rgba(255,254,250,.9); box-shadow: 0 8px 19px rgba(19,65,70,.08); backdrop-filter: blur(3px); }
.legend-source, .legend-project { background: #11897e; box-shadow: 0 0 0 4px rgba(17,137,126,.12); }
.legend-project { background: #2c8f99; box-shadow: 0 0 0 4px rgba(44,143,153,.12); }

.map-materials { min-height: 158px; display: block; border-top-color: #bfd1cd; background: #fffefb; }
.story-panel { height: 100%; padding: 9px 13px 7px; display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.story-panel > header { padding-bottom: 6px; gap: 9px; }
.story-panel > header b { color: #0d6d70; font-size: 11px; letter-spacing: .08em; }
.story-panel > header strong { color: #153f4b; font-family: var(--display); font-size: 13px; letter-spacing: .02em; }
.story-panel > header span { font-size: 8px; }
.story-line { gap: 13px; }
.story-line::before { height: 1px; background: linear-gradient(90deg, #238681, #8eaaa5); opacity: .5; }
.story-year i { border-color: #25857f; box-shadow: 0 0 0 3px rgba(37,133,127,.1); }
.story-year i { display: none; }
.story-year b { min-width: 47px; padding: 2px 8px; border-radius: 3px; background: #137a73; color: white; text-align: center; box-shadow: 0 3px 8px rgba(21,92,92,.12); }
.story-event:nth-child(2) .story-year b { background: #2b6fa5; }
.story-event:nth-child(3) .story-year b { background: #5d91a4; }
.story-event:nth-child(4) .story-year b { background: #7b8e77; }
.story-line::before { top: 13px; }
.story-event:not(:last-child)::after { content: ""; position: absolute; top: 12px; right: -9px; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid #8fb5b1; background: #f6fbf8; }
.story-event h3 { margin-top: 5px; overflow: visible; font-size: clamp(10.5px, .73vw, 12px); white-space: normal; }
.story-event p { font-size: clamp(9px, .64vw, 10.5px); line-height: 1.42; }
.story-panel > footer { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 10px; padding-top: 4px; border-top: 1px solid #e1e9e6; }
.story-panel > footer > small { color: #7a8887; font-size: 7.5px; text-align: right; }
.contact-strip { margin-top: 0; }
.contact-strip span { border-radius: 3px; background: #e1efeb; }
.source-compact { display: none; }

.concept-rail { min-width: 0; }
.concept-card { padding: 0; overflow: hidden; }
.concept-map-canvas {
  position: relative;
  grid-template-rows: auto auto minmax(0, 1fr) 145px 43px;
  padding: 14px 12px 11px;
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 5%, rgba(125,181,177,.16), transparent 20%),
    linear-gradient(160deg, #fffefb 10%, #f4f8f4 100%);
  box-shadow: inset 0 0 0 1px #d1dfdc;
}
.concept-map-canvas::before { content: ""; position: absolute; top: 15px; right: 13px; width: 88px; height: 42px; border-top: 1px solid rgba(45,133,132,.2); border-radius: 50%; transform: rotate(-10deg); }
.concept-title { position: relative; z-index: 1; justify-content: center; gap: 7px; padding: 2px 2px 11px; border-bottom: 2px solid #186e73; }
.concept-title small { position: static; color: #174b59; font-size: clamp(11px, .78vw, 13px); letter-spacing: .02em; }
.concept-title b { color: #0c5360; font-family: var(--display); font-size: clamp(19px, 1.45vw, 24px); letter-spacing: .02em; }
.concept-columns { gap: 15px; padding: 9px 22% 5px 0; color: #466970; }
.concept-rows { padding-top: 3px; align-content: space-evenly; }
.concept-row { position: relative; min-height: 76px; grid-template-columns: minmax(0,3.25fr) 13px minmax(0,.92fr); padding-top: 12px; }
.concept-row::before { content: attr(data-row-label); position: absolute; top: 0; left: 0; color: #8ca19f; font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.concept-row-current::before { color: #118079; }
.concept-core-row { gap: 0; }
.concept-link, .outcome-link { color: #3d7b7d; font-size: 15px; font-weight: 500; }
.concept-cell, .concept-outcome { min-height: 58px; border-width: 1px; border-color: #c7d5d2; border-radius: 9px; background: rgba(248,251,249,.72); box-shadow: 0 6px 14px rgba(20,62,67,.025); }
.concept-cell.learned { border-color: #a8c5c4; background: linear-gradient(145deg, #edf4f3, #e2eeeb); opacity: .9; }
.concept-cell.visible { border-color: #579e9a; background: #fffefb; box-shadow: 0 7px 16px rgba(20,85,87,.09); }
.concept-cell.preview, .concept-outcome.preview { border-color: #b8ceca; background: rgba(244,248,245,.86); color: #66817f; opacity: .72; }
.concept-row-current .concept-cell.visible { border-color: #438f8b; background: linear-gradient(145deg, #fffefb, #edf6f1); }
.concept-row-current { border-radius: 10px; background: linear-gradient(90deg, rgba(219,238,232,.38), rgba(244,248,243,0)); }
.concept-row-future .concept-link,
.concept-return.future { visibility: hidden; }
.common-revision-sample.slice-p03 .concept-return.future.visible { visibility: visible; }
.concept-outcome.visible { border-color: #4f9c96; background: #e3f1ec; box-shadow: 0 7px 16px rgba(28,104,101,.09); }
.concept-return { height: 18px; color: #92aaa6; }
.concept-return.current { color: #378f8b; }
.concept-return span { background: #f6f9f5; }
.concept-scale { margin-top: 7px; padding: 8px 7px 7px; border-color: #afc4c0; border-radius: 8px; background: rgba(255,255,253,.78); }
.concept-scale > header b { color: #315d65; font-family: var(--display); letter-spacing: .04em; }
.scale-grid { height: calc(100% - 22px); gap: 0; }
.scale-grid article { min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto; place-items: center; padding: 5px 3px 4px; border: 0; border-left: 1px solid #d5e1de; border-radius: 0; background: rgba(247,250,247,.4); }
.scale-grid article:first-child { border-left: 0; }
.scale-grid article small { color: #3d666d; font-size: clamp(8px, .6vw, 10px); font-weight: 800; }
.scale-grid article svg { width: 46px; height: 46px; fill: none; stroke: #145e6f; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.scale-grid article b { color: #174957; font-size: clamp(10px, .73vw, 12px); }
.concept-source { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #789fa1; border-radius: 7px; background: linear-gradient(90deg, #f7faf7, #edf4f1); color: #174b59; box-shadow: 0 4px 10px rgba(21,72,77,.04); }
.concept-source b { font-family: var(--display); font-size: clamp(11px, .8vw, 13px); letter-spacing: .03em; }
.concept-source span { color: #0e6f72; font-size: clamp(11px, .78vw, 13px); font-weight: 900; letter-spacing: .04em; }
.concept-source small { color: #758987; font-size: 8px; }

.timeline-bar { grid-template-columns: 8.8fr 91.2fr; padding: 0 14px; gap: 11px; border-top-color: #cddbd8; }
.timeline-title { padding-left: 5px; }
.timeline-title small { color: #a63f58; }
.time-stop::before { background: #95b2ae; }
.time-stop.complete { color: #167876; }
.time-stop.active i { border-color: #167d7b; background: #167d7b; box-shadow: 0 0 0 4px rgba(22,125,123,.12); }

@media (max-width: 1350px), (max-height: 760px) {
  #app { grid-template-rows: 68px minmax(0, 1fr) 50px; }
  .app-header { grid-template-columns: 37% 44% 19%; padding: 7px 12px 6px 15px; }
  .course-title h1 { font-size: 25px; }
  .phase-stop { min-height: 44px; }
  .phase-stop:not(:last-child)::before { top: 10px; right: -6px; font-size: 18px; }
  .phase-stop.active span { font-size: 15px; }
  .header-artwork { right: -8px; width: 250px; height: 64px; }
  .header-meta > div { display: none; }
  .workbench { padding: 8px; grid-template-columns: 8.5fr 17fr minmax(0,47.5fr) 27fr; gap: 7px; }
  .common-revision-sample .workbench { padding: 8px 11.2px; gap: 8.8px; }
  .space-axis { padding: 10px 6px; }
  .space-axis header { padding-bottom: 7px; }
  .space-axis header b { font-size: 14px; }
  .space-axis li { min-height: 45px; padding-left: 36px; font-size: 9px; }
  .space-axis ol::before { left: 18px; }
  .space-axis li i { left: 3px; width: 31px; height: 31px; }
  .space-axis li i svg { width: 23px; height: 23px; }
  .inquiry-rail { padding: 9px 7px 7px; }
  .inquiry-header { padding-bottom: 7px; }
  .inquiry-chain { gap: 5px; padding-top: 7px; }
  .inquiry-chain::before { left: 17px; }
  .inquiry-step { grid-template-columns: 30px 1fr; gap: 5px; padding: 6px 5px 6px 3px; border-radius: 6px; }
  .inquiry-step > span { width: 27px; height: 27px; }
  .inquiry-step h3 { font-size: 11.5px; }
  .inquiry-step p { font-size: 8.8px; line-height: 1.38; }
  .stage-header { top: 6px; right: 8px; }
  .map-shell { height: calc(100% - 12px); margin: 6px 7px; }
  .m1-map { min-height: 350px; }
  .map-materials { min-height: 137px; }
  .story-panel { padding: 6px 8px 5px; }
  .story-panel > header { padding-bottom: 3px; }
  .story-panel > header strong { font-size: 10px; }
  .story-event h3 { font-size: 8.5px; }
  .story-event p { font-size: 7.5px; }
  .story-panel > footer > small { display: none; }
  .concept-map-canvas { grid-template-rows: auto auto minmax(0,1fr) 104px 30px; padding: 8px 7px 7px; }
  .concept-title { padding-bottom: 6px; }
  .concept-title small { font-size: 8px; }
  .concept-columns { padding-top: 5px; }
  .concept-row { min-height: 53px; padding-top: 8px; }
  .concept-cell, .concept-outcome { min-height: 42px; border-radius: 6px; }
  .concept-return { height: 11px; }
  .concept-scale { padding: 5px; }
  .scale-grid article { padding: 2px 2px 3px; }
  .scale-grid article svg { width: 25px; height: 25px; }
  .scale-grid article small { font-size: 6.5px; line-height: 1.1; }
  .scale-grid article b { font-size: 7.5px; line-height: 1.1; }
  .concept-source { margin-top: 4px; gap: 3px; }
  .concept-source b, .concept-source span { font-size: 8px; }
  .concept-source small { display: none; }
}

/* Final P04 annotation pass. Kept last so the historical prototype rules cannot override it. */
.header-artwork { opacity: .7; filter: saturate(.52) contrast(.9); mix-blend-mode: multiply; }
.phase-stop small { font-size: clamp(8px, .61vw, 10px); letter-spacing: .03em; }
.space-axis ol { height: calc(100% - 64px); display: grid; grid-template-rows: repeat(5,minmax(0,1fr)); align-content: stretch; }
.space-axis li { min-height: 0; padding-left: 46px; line-height: 1.34; }
.space-axis ol::before { top: 8%; bottom: 8%; }
.inquiry-chain { grid-template-rows: repeat(4,minmax(0,1fr)); gap: 9px; }
.inquiry-step { align-content: center; grid-template-columns: 35px minmax(0,1fr); gap: 8px; padding: 10px 10px 10px 6px; }
.inquiry-step > span { align-self: start; width: 29px; height: 29px; font-size: 12px; font-weight: 700; }
.inquiry-step h3 { margin-top: 1px; font-weight: 700; letter-spacing: -.015em; }
.inquiry-step p { margin-top: 6px; font-size: clamp(10.5px,.76vw,12px); line-height: 1.58; }
.inquiry-step small { display: none; }

.map-stage { position: relative; display: grid; grid-template-rows: 48px minmax(0,1fr); gap: 0; padding: 0; }
.stage-header { position: relative; inset: auto; z-index: 8; min-height: 48px; width: auto; display: flex; align-items: center; padding: 0 12px 0 17px; border: 0; border-bottom: 1px solid #d1dedb; background: linear-gradient(90deg,rgba(238,246,242,.94),rgba(255,254,251,.82)); }
.stage-header::before { content: "核心问题"; flex: 0 0 auto; margin-right: 10px; color: #08736f; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.stage-header > h2 { position: static; width: auto; height: auto; min-width: 0; margin: 0; padding: 0; overflow: hidden; clip: auto; color: #123f4d; font-size: clamp(15px,1.08vw,18px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.stage-header .rail-controls { position: absolute; right: 8px; margin-left: 0; }
.stage-header > h2 { padding-right: 8px; }
.map-shell { height: auto; margin: 8px 10px 10px; }
.m1-map { min-height: 0; }
.node-name { font-family: var(--sans); font-size: 21px; font-weight: 700; }
.source-node .node-name { font-size: 24px; }
.node-label text { font-family: var(--sans); }
.node-city,.node-entity { font-size: 17px; font-weight: 700; }
.node-title { font-size: 15px; font-weight: 500; }

.map-materials { min-height: 218px; }
.story-panel { padding: 12px 16px; grid-template-rows: auto minmax(0,1fr); }
.story-panel > header { gap: 10px; padding-bottom: 11px; }
.story-panel > header b { font-size: 12px; font-weight: 700; }
.story-panel > header strong { font-family: var(--sans); font-size: 14px; font-weight: 700; }
.story-line { gap: 18px; }
.story-line::before { top: 15px; }
.story-event:not(:last-child)::after { top: 14px; right: -12px; }
.story-year b { min-width: 51px; padding: 3px 9px; font-size: 12px; }
.story-event h3 { margin-top: 9px; font-size: clamp(12px,.82vw,13.5px); }
.story-event p { margin-top: 4px; font-size: clamp(10.5px,.72vw,12px); line-height: 1.52; }
.story-event small,.story-panel > footer,.contact-strip { display: none; }

.concept-map-canvas { grid-template-rows: auto auto minmax(0,1fr) 58px 150px; padding: 14px 12px 12px; overflow: hidden; }
.concept-columns { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding: 9px 0 6px; }
.concept-rows { min-height: 0; grid-template-rows: minmax(58px,1fr) 34px minmax(58px,1fr) 34px minmax(58px,1fr); align-content: stretch; padding: 0; }
.concept-row { min-height: 0; display: block; padding: 0; background: none; }
.concept-row::before { content: none; }
.concept-core-row { height: 100%; grid-template-columns: minmax(0,1fr) 14px minmax(0,1fr) 14px minmax(0,1fr); }
.concept-cell { min-height: 54px; padding: 6px 4px; border-radius: 8px; }
.concept-cell b { font-size: clamp(10.5px,.73vw,12px); font-weight: 700; }
.concept-cell small { font-size: clamp(8px,.57vw,9.5px); }
.concept-return { position: relative; height: 34px; color: #71a19e; }
.concept-return svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.concept-return path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.concept-return span { z-index: 1; padding: 2px 10px; border: 1px solid rgba(71,145,140,.28); border-radius: 999px; background: #f5f9f6; color: #377a78; font-size: 9px; font-weight: 700; }
.concept-return span::before,.concept-return span::after { content: none; }
.concept-development { position: relative; display: grid; place-content: end center; min-height: 0; padding-bottom: 2px; color: #5e9b97; opacity: .28; transition: opacity .25s ease; }
.concept-development.visible { opacity: 1; }
.concept-development svg { position: absolute; inset: 0 4% auto; width: 92%; height: 42px; }
.concept-development path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.concept-development b { z-index: 1; min-width: 142px; padding: 5px 14px; border: 1px solid #69a9a4; border-radius: 999px; background: #e5f2ed; color: #176d6b; font-size: 12px; text-align: center; }
.concept-development small { z-index: 1; color: #67817f; font-size: 8px; }
.concept-scale { margin-top: 6px; padding: 8px 6px 7px; }
.scale-grid article { grid-template-rows: auto 42px auto; padding: 5px 3px 4px; }
.scale-grid article svg { width: 34px; height: 34px; }
.scale-grid article small { font-size: clamp(9px,.65vw,10.5px); }
.scale-grid article b { font-size: clamp(10.5px,.76vw,12.5px); }
.concept-outcome,.outcome-link,.concept-source { display: none; }

.timeline-bar { grid-template-columns: 9fr 70fr 21fr; gap: 10px; padding: 0 14px; }
.timeline-source { align-self: center; min-width: 0; padding: 6px 10px; border: 1px solid #7ea5a4; border-radius: 6px; background: linear-gradient(90deg,#f8faf7,#eef5f1); color: #174b59; text-align: center; }
.timeline-source b { display: block; font-size: clamp(10px,.73vw,12px); font-weight: 700; white-space: nowrap; }
.timeline-source small { display: block; color: #6f8381; font-size: clamp(7px,.52vw,8.5px); }

@media (max-width:1350px),(max-height:760px) {
  .space-axis ol { height: calc(100% - 46px); }
  .space-axis li { padding-left: 35px; }
  .inquiry-chain { gap: 5px; }
  .inquiry-step { grid-template-columns: 28px 1fr; gap: 5px; padding: 6px 5px 6px 3px; }
  .inquiry-step h3 { font-size: 11.5px; }
  .inquiry-step p { font-size: 9px; line-height: 1.42; }
  .map-stage { grid-template-rows: 42px minmax(0,1fr); }
  .stage-header { min-height: 42px; padding-left: 11px; }
  .stage-header::before { margin-right: 7px; font-size: 8px; }
  .stage-header > h2 { font-size: 12px; }
  .map-shell { margin: 6px 7px 7px; }
  .map-materials { min-height: 174px; }
  .story-panel { padding: 7px 9px; }
  .story-panel > header { padding-bottom: 6px; }
  .story-panel > header b { font-size: 9px; }
  .story-panel > header strong { font-size: 10.5px; }
  .story-line { gap: 10px; }
  .story-year b { min-width: 42px; padding: 2px 6px; font-size: 9.5px; }
  .story-event h3 { margin-top: 6px; font-size: 9.5px; }
  .story-event p { margin-top: 2px; font-size: 8px; line-height: 1.4; }
  .concept-map-canvas { grid-template-rows: auto auto minmax(0,1fr) 42px 104px; padding: 8px 7px 7px; }
  .concept-rows { grid-template-rows: minmax(42px,1fr) 25px minmax(42px,1fr) 25px minmax(42px,1fr); }
  .concept-core-row { grid-template-columns: minmax(0,1fr) 9px minmax(0,1fr) 9px minmax(0,1fr); }
  .concept-cell { min-height: 40px; }
  .concept-cell b { font-size: 9px; }
  .concept-cell small { min-height: 0; font-size: 7px; }
  .concept-return { height: 25px; }
  .concept-return span { padding: 1px 6px; font-size: 7px; }
  .concept-development b { min-width: 112px; padding: 3px 8px; font-size: 9px; }
  .concept-development small { font-size: 6px; }
  .scale-grid article { grid-template-rows: auto 27px auto; }
  .scale-grid article svg { width: 23px; height: 23px; }
  .scale-grid article small { font-size: 7px; }
  .scale-grid article b { font-size: 8px; }
  .timeline-bar { grid-template-columns: 10fr 68fr 22fr; padding: 0 8px; gap: 6px; }
  .timeline-source { padding: 4px 6px; }
  .timeline-source b { font-size: 8px; }
  .timeline-source small { font-size: 6px; }
}

/* P04 second annotation pass: restrained details with a stronger teaching-page identity. */
.header-artwork {
  right: -3px;
  width: min(380px,26vw);
  opacity: .88;
  filter: none;
  mix-blend-mode: multiply;
}

.space-axis { padding-top: 14px; padding-bottom: 10px; }
.space-axis header { padding-bottom: 7px; }
.space-axis ol { height: calc(100% - 52px); padding: 0; }
.space-axis ol::before { top: 3%; bottom: 3%; }
.space-axis li { padding-left: 46px; }

.inquiry-rail { padding: 14px 10px 11px; }
.inquiry-header {
  position: relative;
  margin: 0 7px 7px;
  padding: 0 4px 17px;
  border: 0;
}
.inquiry-header h2 { font-size: clamp(20px,1.48vw,24px); }
.inquiry-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg,#176574 0 46%,transparent 46% 54%,#176574 54% 100%);
}
.inquiry-header::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 1px;
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: #176574;
}
.inquiry-chain {
  gap: 8px;
  padding: 2px 0 0;
}
.inquiry-chain::before {
  left: 20px;
  top: 6%;
  bottom: 6%;
  width: 2px;
  background: #1b6572;
  opacity: .82;
}
.inquiry-step {
  position: relative;
  display: block;
  margin-left: 18px;
  padding: 13px 12px 12px 34px;
  border: 1.2px solid #4c8c94;
  border-radius: 12px;
  background: rgba(255,255,252,.94);
  box-shadow: 0 8px 18px rgba(25,62,67,.075);
}
.inquiry-step::before,
.inquiry-step::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 10px;
  pointer-events: none;
}
.inquiry-step::before {
  top: -2px;
  left: 8px;
  border-top: 2px solid #fffefb;
  border-left: 2px solid #fffefb;
  border-radius: 8px 0 0;
}
.inquiry-step::after {
  right: 8px;
  bottom: -2px;
  border-right: 2px solid #fffefb;
  border-bottom: 2px solid #fffefb;
  border-radius: 0 0 8px;
}
.inquiry-step > span {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: -18px;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border: 3px solid #fffefb;
  outline: 1px solid #176574;
  background: linear-gradient(145deg,#1a7380,#0c4f60);
  font-family: var(--display);
  font-size: 18px;
  box-shadow: 0 5px 12px rgba(15,78,89,.2);
}
.inquiry-step.visible > span {
  border: 3px solid #fffefb;
  background: linear-gradient(145deg,#1b7d88,#0c5161);
}
.inquiry-step h3 {
  margin: 0;
  color: #0c4d5d;
  font-family: var(--display);
  font-size: clamp(14.5px,1.02vw,17px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: -.02em;
}
.inquiry-step p {
  margin-top: 8px;
  color: #334f56;
  font-size: clamp(10.8px,.77vw,12.2px);
  line-height: 1.62;
}

.stage-header::before {
  margin-right: 12px;
  font-size: 13px;
  letter-spacing: .08em;
}
.stage-header > h2 { font-size: clamp(16px,1.14vw,19px); }
.concept-title small { font-size: clamp(13px,.92vw,15px); font-weight: 700; }
.concept-title b { font-size: clamp(20px,1.52vw,25px); }

.map-title-block text { font-family: var(--display); font-size: 20px; letter-spacing: .035em; }
.north-arrow circle { fill: rgba(255,255,255,.76); stroke: #17292e; stroke-width: 1.1; }
.north-arrow .compass-north { fill: #111f24; stroke: #111f24; stroke-width: .8; }
.north-arrow .compass-south { fill: #fff; stroke: #111f24; stroke-width: 1; }
.north-arrow .compass-core { fill: #111f24; stroke: #fff; stroke-width: 1; }
.north-arrow text { fill: #111f24; font-size: 14px; letter-spacing: .08em; }
.node-name { font-size: 22px; }
.source-node .node-name { font-size: 25px; }

.story-panel { padding-top: 14px; }
.story-panel > header b { font-size: 13px; }
.story-panel > header strong { font-size: 15px; }
.story-year b { min-width: 55px; font-size: 13px; }
.story-event h3 { margin-top: 11px; font-size: clamp(13px,.88vw,14.5px); }
.story-event p { margin-top: 6px; font-size: clamp(11.2px,.78vw,12.6px); line-height: 1.58; }

.concept-cell { padding: 7px 5px; }
.concept-cell b { font-size: clamp(12px,.82vw,13.5px); }
.concept-cell small { margin-top: 3px; font-size: clamp(9px,.63vw,10.5px); }
.concept-link { font-size: 17px; }
.concept-return path { stroke-width: 1.35; }
.concept-return marker path,
.concept-development marker path { fill: currentColor; stroke: none; stroke-dasharray: none; }
.concept-return span { padding: 3px 11px; font-size: 9.5px; }
.concept-development path { stroke-width: 1.35; }
.concept-development b { min-width: 154px; font-size: 12.5px; }

.timeline-bar { grid-template-columns: 9fr 63fr 28fr; }
.timeline-title small { font-size: 8px; letter-spacing: .11em; }
.timeline-title b { font-size: 15px; }
.timeline-source { padding: 7px 13px; }
.timeline-source b { font-size: clamp(11px,.78vw,13px); }
.timeline-source small { font-size: clamp(7.5px,.55vw,9px); }

@media (max-width:1350px),(max-height:760px) {
  .header-artwork { width: 265px; opacity: .82; }
  .space-axis { padding-top: 9px; padding-bottom: 7px; }
  .space-axis ol { height: calc(100% - 40px); }
  .inquiry-rail { padding: 8px 7px 7px; }
  .inquiry-header { margin-bottom: 3px; padding-bottom: 11px; }
  .inquiry-header h2 { font-size: 17px; }
  .inquiry-header::after { bottom: 3px; }
  .inquiry-header::before { bottom: 0; width: 6px; height: 6px; }
  .inquiry-chain { gap: 5px; padding-top: 0; }
  .inquiry-chain::before { left: 15px; }
  .inquiry-step { margin-left: 13px; padding: 7px 5px 7px 27px; border-radius: 8px; }
  .inquiry-step > span { left: -13px; width: 31px; height: 31px; font-size: 14px; }
  .inquiry-step h3 { font-size: 11px; line-height: 1.35; }
  .inquiry-step p { margin-top: 4px; font-size: 8.5px; line-height: 1.43; }
  .stage-header::before { margin-right: 8px; font-size: 9px; }
  .stage-header > h2 { font-size: 12.5px; }
  .concept-title small { font-size: 9px; }
  .concept-title b { font-size: 18px; }
  .map-title-block text { font-size: 17px; }
  .node-name { font-size: 20px; }
  .source-node .node-name { font-size: 23px; }
  .story-panel { padding-top: 8px; }
  .story-panel > header b { font-size: 9.5px; }
  .story-panel > header strong { font-size: 11px; }
  .story-event h3 { font-size: 10px; }
  .story-event p { font-size: 8.3px; }
  .concept-cell b { font-size: 9.5px; }
  .concept-cell small { font-size: 7.2px; }
  .concept-return span { font-size: 7px; }
  .concept-development b { min-width: 118px; font-size: 9.2px; }
  .timeline-bar { grid-template-columns: 10fr 61fr 29fr; }
  .timeline-title b { font-size: 12px; }
  .timeline-source b { font-size: 8.3px; }
  .timeline-source small { font-size: 6.3px; }
}

/* P04 third annotation pass: independent inquiry cards and exact cross-row concept arrows. */
.workbench { grid-template-columns: 7fr 19.5fr minmax(0,47fr) 26.5fr; }

.header-artwork {
  opacity: .96;
  filter: contrast(1.08);
}

.space-axis { padding-right: 8px; padding-left: 8px; }
.space-axis header {
  position: relative;
  padding: 0 2px 19px;
  border: 0;
}
.space-axis header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  width: auto;
  height: 1px;
  margin: 0;
  background: linear-gradient(90deg,#176574 0 45%,transparent 45% 55%,#176574 55% 100%);
}
.space-axis header::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 1px;
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: #176574;
}
.space-axis header b {
  font-size: clamp(15px,1.08vw,18px);
  letter-spacing: 0;
  white-space: nowrap;
}
.space-axis ol { height: calc(100% - 58px); }
.space-axis ol::before { top: 10%; bottom: 10%; }
.space-axis li { padding-left: 38px; font-size: clamp(10.5px,.78vw,13px); }
.space-axis li i { left: 0; width: 36px; height: 36px; }
.space-axis li i svg { width: 25px; height: 25px; }

.inquiry-chain { gap: 9px; }
.inquiry-chain::before { display: none; }
.inquiry-step {
  margin-left: 16px;
  padding: 14px 10px 13px 34px;
  border: 0;
  border-radius: 17px;
  background: rgba(255,255,253,.97);
  box-shadow: 0 8px 22px rgba(31,59,62,.095), inset 0 0 0 1px rgba(92,126,128,.045);
}
.inquiry-step::before,
.inquiry-step::after { display: none; }
.inquiry-step > span {
  left: -20px;
  width: 44px;
  height: 44px;
  border-width: 3px;
  outline: 2px solid #176574;
  outline-offset: 2px;
  font-size: 20px;
  box-shadow: 0 7px 15px rgba(13,71,80,.25);
}
.inquiry-step.visible > span { border-width: 3px; }
.inquiry-step h3 {
  overflow: visible;
  font-size: clamp(13.5px,.94vw,15.5px);
  line-height: 1.3;
  white-space: nowrap;
}
.inquiry-step p {
  margin-top: 9px;
  font-size: clamp(10.5px,.74vw,11.8px);
  line-height: 1.58;
}

.concept-title {
  position: relative;
  padding-bottom: 19px;
  border: 0;
}
.concept-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg,#176574 0 48%,transparent 48% 52%,#176574 52% 100%);
}
.concept-title::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 1px;
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: #176574;
}
.concept-cell b { font-size: clamp(12.5px,.86vw,14px); }
.concept-cell small { font-size: clamp(9.5px,.66vw,11px); }
.concept-return svg { overflow: visible; }
.concept-return path { stroke-width: 1.5; }
.concept-return span { transform: translateY(4px); }
.concept-development small { display: none; }

.map-title-block text { font-size: 18px; }
.receiver-node .node-name { font-size: 26px; }
.source-node .node-name { font-size: 28px; }
.node-label rect:not(.node-label-accent) {
  fill: rgba(255,255,252,.97);
  stroke: rgba(76,145,145,.72);
  stroke-width: 1.15;
  filter: drop-shadow(0 8px 12px rgba(22,65,69,.12));
}
.node-label-accent { fill: #378f96; stroke: none; filter: none; }
.source-label .node-label-accent { fill: #0d8a78; }
.node-city { fill: #0b686d; font-size: 17.5px; }
.node-entity { fill: #173f49; }
.node-title { fill: #547076; }

.timeline-bar { grid-template-columns: 9fr 64.7fr 26.3fr; }
.timeline-title { padding-left: 5px; }
.timeline-title b { font-size: 16px; }
.timeline-source { padding-right: 15px; padding-left: 15px; }

@media (max-width:1350px),(max-height:760px) {
  .workbench { grid-template-columns: 7fr 19.5fr minmax(0,46.5fr) 27fr; }
  .space-axis { padding-right: 5px; padding-left: 5px; }
  .space-axis header { padding-bottom: 13px; }
  .space-axis header::after { bottom: 3px; }
  .space-axis header::before { bottom: 0; width: 6px; height: 6px; }
  .space-axis ol { height: calc(100% - 43px); }
  .space-axis li { padding-left: 31px; font-size: 8.5px; }
  .space-axis li i { width: 29px; height: 29px; }
  .space-axis li i svg { width: 21px; height: 21px; }
  .inquiry-chain { gap: 5px; }
  .inquiry-step { margin-left: 12px; padding: 8px 5px 7px 25px; border-radius: 11px; }
  .inquiry-step > span { left: -13px; width: 33px; height: 33px; outline-width: 1px; outline-offset: 1px; font-size: 15px; }
  .inquiry-step h3 { font-size: 10.2px; line-height: 1.25; }
  .inquiry-step p { margin-top: 4px; font-size: 8px; line-height: 1.42; }
  .concept-title { padding-bottom: 12px; }
  .concept-title::after { bottom: 3px; }
  .concept-title::before { bottom: 0; width: 6px; height: 6px; }
  .concept-cell b { font-size: 10px; }
  .concept-cell small { font-size: 7.5px; }
  .concept-return span { transform: translateY(2px); }
  .map-title-block text { font-size: 15px; }
  .receiver-node .node-name { font-size: 23px; }
  .source-node .node-name { font-size: 25px; }
  .timeline-bar { grid-template-columns: 10fr 63.7fr 26.3fr; }
  .timeline-title b { font-size: 12px; }
}

/* P04 fourth annotation pass: supplied metropolis mark, clearer notes and four-step time scale. */
.workbench { grid-template-columns: 8fr 19.5fr minmax(0,46fr) 26.5fr; }

.header-artwork {
  inset: -2px -6px auto auto;
  width: 320px;
  height: auto;
  opacity: .92;
  filter: none;
  mix-blend-mode: normal;
  object-fit: contain;
}

.inquiry-step h3 { font-size: clamp(14.5px,1vw,16.5px); }
.inquiry-step p { font-size: clamp(11.3px,.79vw,12.6px); line-height: 1.62; }

.map-title-block text { font-size: 17.5px; }
.receiver-node .node-name { font-size: 24px; }
.source-node .node-name { font-size: 28px; }
.node-city { font-size: 18px; }
.node-entity { font-size: 17.5px; }
.node-title { font-size: 16px; }
.node-label rect:not(.node-label-accent) {
  fill: rgba(255,255,252,.98);
  stroke: rgba(70,139,141,.76);
  filter: drop-shadow(0 9px 14px rgba(22,65,69,.13));
}

.concept-map-canvas {
  background: linear-gradient(160deg,#fffefb 0%,#fafbf7 100%);
}
.concept-map-canvas::before { display: none; }
.concept-columns { font-size: clamp(11.5px,.82vw,13px); }
.concept-cell b { font-size: clamp(13.5px,.92vw,15px); }
.concept-cell small { font-size: clamp(10px,.7vw,11.5px); }
.concept-return span {
  padding: 5px 14px;
  font-size: 11px;
  transform: translateY(3px);
}
.concept-development path {
  stroke: #2f7d80;
  stroke-width: 1.8;
  stroke-dasharray: none;
}
.concept-development b { font-size: 13px; }

.timeline-bar { grid-template-columns: 8fr 65.7fr 26.3fr; }
.timeline-track { grid-template-columns: repeat(4,minmax(0,1fr)); }
.timeline-title { padding-left: 0; text-align: center; }
.timeline-title b { font-size: 16px; }
.timeline-source {
  border-color: #91adaa;
  background: rgba(255,254,249,.98);
}

@media (max-width:1350px),(max-height:760px) {
  .workbench { grid-template-columns: 8fr 19.5fr minmax(0,45.5fr) 27fr; }
  .header-artwork { right: -8px; width: 250px; opacity: .9; }
  .inquiry-step h3 { font-size: 11.3px; }
  .inquiry-step p { font-size: 9.1px; line-height: 1.45; }
  .map-title-block text { font-size: 14.5px; }
  .receiver-node .node-name { font-size: 22px; }
  .source-node .node-name { font-size: 25px; }
  .node-city { font-size: 16px; }
  .node-entity { font-size: 15.5px; }
  .node-title { font-size: 14px; }
  .concept-columns { font-size: 9px; }
  .concept-cell b { font-size: 10.5px; }
  .concept-cell small { font-size: 8px; }
  .concept-return span { padding: 2px 8px; font-size: 8px; transform: translateY(1px); }
  .concept-development b { font-size: 9.5px; }
  .timeline-bar { grid-template-columns: 8fr 65.7fr 26.3fr; }
  .timeline-title b { font-size: 11px; }
  .time-stop { font-size: 8.5px; }
}

@media (max-width:1100px) {
  .header-artwork { display: none; }
}

/* P04 fifth annotation pass: coherent peer typography and enlarged concept reasoning. */
.space-axis header b,
.inquiry-header h2,
.timeline-title b {
  font-family: var(--display);
  font-size: clamp(20px,1.48vw,24px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .03em;
}

.stage-header > h2 {
  font-family: var(--display);
  font-size: clamp(17px,1.2vw,20px);
  font-weight: 900;
  letter-spacing: -.015em;
}

.receiver-node .node-name { font-size: 28px; }
.node-displacement { transition: opacity .25s ease; }
.node-displacement.is-hidden { opacity: 0; }
.node-displacement path {
  fill: none;
  stroke: #397f82;
  stroke-width: 1.35;
  stroke-dasharray: 3 3;
  vector-effect: non-scaling-stroke;
}
.node-displacement circle { fill: #397f82; stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.concept-map-canvas { grid-template-rows: auto auto minmax(0,1fr) 66px 172px; }
.concept-columns {
  padding-top: 10px;
  padding-bottom: 8px;
  color: #315c64;
  font-size: clamp(13.5px,.95vw,15.5px);
}
.concept-rows { grid-template-rows: minmax(68px,1fr) 38px minmax(68px,1fr) 38px minmax(68px,1fr); }
.concept-core-row { grid-template-columns: minmax(0,1fr) 22px minmax(0,1fr) 22px minmax(0,1fr); }
.concept-cell { min-height: 68px; padding: 9px 6px; }
.concept-cell b { font-size: clamp(14px,.96vw,16px); }
.concept-cell small { font-size: clamp(10.5px,.73vw,12px); }
.concept-link {
  width: 22px;
  height: 18px;
  display: grid;
  place-items: center;
}
.concept-link svg { width: 22px; height: 16px; overflow: visible; }
.concept-link path {
  fill: none;
  stroke: #26777b;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.concept-return { height: 38px; }
.concept-return span {
  padding: 6px 16px;
  font-size: 12.5px;
  font-weight: 800;
}
.concept-return path { stroke-width: 1.7; }
.concept-development svg { height: 48px; }
.concept-development path { stroke-width: 2.2; }
.concept-development b {
  min-width: 176px;
  padding: 7px 18px;
  font-size: 14.5px;
  font-weight: 800;
}
.concept-scale { margin-top: 8px; padding: 10px 8px 9px; }
.concept-scale > header b { font-size: clamp(13px,.9vw,15px); }
.scale-grid { height: calc(100% - 25px); margin-top: 8px; }
.scale-grid article { padding: 6px 4px 5px; }
.scale-grid article small { font-size: clamp(10px,.7vw,11.5px); }
.scale-grid article svg { width: 52px; height: 52px; }
.scale-grid article b { font-size: clamp(12px,.83vw,14px); }

@media (max-width:1350px),(max-height:760px) {
  .space-axis header b,
  .inquiry-header h2,
  .timeline-title b { font-size: 17px; }
  .stage-header > h2 { font-size: 13.5px; }
  .receiver-node .node-name { font-size: 25px; }
  .concept-map-canvas { grid-template-rows: auto auto minmax(0,1fr) 48px 120px; }
  .concept-columns { padding-top: 6px; padding-bottom: 5px; font-size: 10px; }
  .concept-rows { grid-template-rows: minmax(48px,1fr) 27px minmax(48px,1fr) 27px minmax(48px,1fr); }
  .concept-core-row { grid-template-columns: minmax(0,1fr) 16px minmax(0,1fr) 16px minmax(0,1fr); }
  .concept-cell { min-height: 48px; padding: 5px 3px; }
  .concept-cell b { font-size: 11.2px; }
  .concept-cell small { font-size: 8.4px; }
  .concept-link { width: 16px; height: 15px; }
  .concept-link svg { width: 16px; height: 13px; }
  .concept-return { height: 27px; }
  .concept-return span { padding: 3px 9px; font-size: 8.5px; }
  .concept-development svg { height: 36px; }
  .concept-development path { stroke-width: 1.8; }
  .concept-development b { min-width: 126px; padding: 4px 9px; font-size: 10px; }
  .concept-scale { margin-top: 5px; padding: 6px 5px 5px; }
  .concept-scale > header b { font-size: 9px; }
  .scale-grid { height: calc(100% - 18px); margin-top: 4px; }
  .scale-grid article small { font-size: 7.5px; }
  .scale-grid article svg { width: 30px; height: 30px; }
  .scale-grid article b { font-size: 8.6px; }
}

/* P04 sixth annotation pass: enlarge boxed support text; slightly reduce receiver city names. */
.space-axis li { font-size: clamp(13px,.92vw,14.8px); }
.stage-header::before { font-size: 15px; }
.concept-title small { font-size: clamp(15px,1.02vw,16.5px); }
.concept-columns { font-size: clamp(15px,1.08vw,17.5px); }
.node-city { font-size: 19.2px; }
.node-entity { font-size: 18.5px; }
.node-title { font-size: 17.2px; }
.receiver-node .node-name { font-size: 26.5px; }
.concept-return span { font-size: 14px; }
.concept-scale > header b { font-size: clamp(14.5px,1vw,16px); }
.scale-grid article small { font-size: clamp(11px,.78vw,12.5px); }
.scale-grid article b { font-size: clamp(13px,.92vw,15.5px); }
.time-stop { font-size: clamp(12px,.84vw,13.5px); }

@media (max-width:1350px),(max-height:760px) {
  .space-axis li { font-size: 10px; }
  .stage-header::before { font-size: 10.5px; }
  .concept-title small { font-size: 10.5px; }
  .concept-columns { font-size: 11.2px; }
  .node-city { font-size: 17.2px; }
  .node-entity { font-size: 16.5px; }
  .node-title { font-size: 15px; }
  .receiver-node .node-name { font-size: 23.5px; }
  .concept-return span { font-size: 9.5px; }
  .concept-scale > header b { font-size: 10px; }
  .scale-grid article small { font-size: 8.3px; }
  .scale-grid article b { font-size: 9.5px; }
  .time-stop { font-size: 9.2px; }
}

/* P04 seventh annotation pass: larger map-note copy and unobstructed synthesis arrows. */
.node-city { font-size: 20.5px; }
.node-entity { font-size: 19.5px; }
.node-title { font-size: 18px; }
.node-card-heading { fill: #0b686d; font-size: 19px; font-weight: 700; }
.node-card-function { fill: #173f49; font-size: 19px; font-weight: 900; }
.node-card-detail { fill: #547076; font-size: 19px; font-weight: 500; }
.node-dongguan-label .node-label-accent { fill: #6f5aa3; }
.receiver-node .node-name { font-size: 25px; }
.concept-development svg { z-index: 2; overflow: visible; pointer-events: none; }
.concept-development b { z-index: 1; }

@media (max-width:1350px),(max-height:760px) {
  .node-city { font-size: 18.2px; }
  .node-entity { font-size: 17.4px; }
  .node-title { font-size: 15.8px; }
  .node-card-heading,
  .node-card-function,
  .node-card-detail { font-size: 19px; }
  .receiver-node .node-name { font-size: 22px; }
}

/* P01 multiscale atlas: shared shell, variable central material stage. */
.slice-p01 .map-shell { background: #e7f0ed; }
.p01-map-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(145deg,#dcecea,#f6f8f3 70%);
}
.p01-map-frame { position: absolute; inset: 0; overflow: hidden; }
.p01-map-ribbon {
  position: absolute;
  z-index: 5;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 285px;
  padding: 9px 14px;
  background: rgba(10,72,82,.94);
  color: white;
  box-shadow: 0 8px 20px rgba(16,63,69,.14);
}
.p01-map-ribbon small { color: #bfe1dc; font-size: 11px; font-weight: 800; }
.p01-map-ribbon b { font-family: var(--display); font-size: 20px; letter-spacing: .04em; }
.p01-map-ribbon span { margin-left: auto; color: #d7ece8; font-size: 11px; font-weight: 700; }
.p01-geo-map { width: 100%; height: 100%; display: block; }
.p01-geo-map > rect { fill: #dceceb; }
.p01-prefecture { fill: #edf2ed; stroke: #9bb3b0; stroke-width: 1; vector-effect: non-scaling-stroke; }
.p01-prefecture.selected { fill: #cfe3d1; stroke: #2b7779; stroke-width: 1.5; }
.p01-city-label { fill: #164f5a; font-size: 18px; font-weight: 800; text-anchor: middle; paint-order: stroke; stroke: rgba(255,255,255,.95); stroke-width: 5px; }
.p01-location-marker circle { fill: #ba7950; stroke: white; stroke-width: 2; }
.p01-location-marker text { fill: #674631; font-size: 15px; font-weight: 800; paint-order: stroke; stroke: white; stroke-width: 4px; }
.p01-standard-map { width: 100%; height: 100%; display: grid; place-items: center; padding: 45px 28px 65px; background: #f7f8f3; }
.p01-standard-map img { width: 100%; height: 100%; object-fit: contain; }
.p01-standard-map > span { position: absolute; right: 20px; top: 17px; color: #5f7779; font-size: 11px; font-weight: 700; }
.p01-map-note {
  position: absolute;
  z-index: 4;
  left: 14px;
  bottom: 54px;
  max-width: 56%;
  padding: 7px 10px;
  border-left: 3px solid #b98a46;
  background: rgba(255,254,249,.92);
  color: #53696c;
  font-size: 11px;
  line-height: 1.45;
}
.p01-evidence-card {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: 54px;
  width: 300px;
  padding: 16px 17px 14px;
  border: 1px solid #72a8a4;
  border-radius: 10px;
  background: rgba(255,254,250,.96);
  box-shadow: 0 12px 28px rgba(20,70,74,.14);
}
.p01-evidence-card small { color: #b1723c; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.p01-evidence-card h3 { margin: 5px 0 9px; color: #174c59; font-family: var(--display); font-size: 19px; }
.p01-evidence-card strong { display: block; color: #08756f; font-size: 17px; line-height: 1.45; }
.p01-evidence-card p { margin: 8px 0 0; color: #607477; font-size: 11px; line-height: 1.48; }
.p01-scale-tabs {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  align-items: center;
  padding: 0 14px;
  border-top: 1px solid #b7cbc7;
  background: rgba(255,254,250,.96);
}
.p01-scale-tabs span { position: relative; color: #829193; font-size: 12px; font-weight: 700; text-align: center; }
.p01-scale-tabs span::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; border-top: 1px solid #adc1bd; }
.p01-scale-tabs i { position: absolute; left: 50%; top: -14px; width: 9px; height: 9px; transform: translateX(-50%); border: 2px solid #8eaaa7; border-radius: 50%; background: white; }
.p01-scale-tabs .active { color: #0d706f; font-weight: 900; }
.p01-scale-tabs .active i { border-color: #137e79; background: #137e79; box-shadow: 0 0 0 5px rgba(19,126,121,.11); }
.p01-scale-tabs .complete { color: #3c7776; }

.p01-atlas { height: 100%; padding: 14px 16px 12px; display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 10px; background: #f8f9f5; }
.p01-atlas header { text-align: center; }
.p01-atlas header small { color: #b1723c; font-weight: 800; letter-spacing: .12em; }
.p01-atlas header h2 { margin: 2px 0 0; color: #154d59; font-family: var(--display); font-size: 21px; }
.p01-atlas-grid { min-height: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 10px; }
.p01-atlas-grid article { position: relative; min-height: 0; overflow: hidden; display: grid; grid-template-rows: auto minmax(0,1fr) auto; padding: 8px; border: 1px solid #b8cbc7; border-radius: 9px; background: white; }
.p01-atlas-grid article > b { color: #145663; font-family: var(--display); font-size: 15px; }
.p01-atlas-grid article > span { color: #245c63; font-size: 12px; font-weight: 700; text-align: center; }
.p01-atlas-grid article > small { position: absolute; right: 8px; top: 8px; color: #a66c3c; font-size: 9px; font-weight: 800; }
.p01-atlas .compact { min-height: 0; padding: 4px; }
.p01-atlas .p01-standard-map > span { display: none; }
.p01-atlas footer { color: #617678; font-size: 11px; text-align: center; }

.p01-concept { grid-template-rows: auto minmax(0,1fr) 45%; }
.p01-concept-progress { display: grid; align-content: center; gap: 18px; padding: 18px 4px; }
.p01-concept-progress > small { color: #73908e; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-align: center; }
.p01-scale-chain { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); align-items: center; gap: 3px; }
.p01-scale-chain span { min-height: 54px; display: grid; place-items: center; border: 1px solid #c6d5d1; border-radius: 8px; background: rgba(248,250,247,.7); color: transparent; font-size: 12px; font-weight: 800; text-align: center; }
.p01-scale-chain span.visible { border-color: #4c9995; background: #eff6f2; color: #155c61; }
.p01-scale-chain i { color: #2e8582; font-style: normal; text-align: center; }
.p01-concept-progress strong,
.p01-concept-progress p { opacity: 0; transition: opacity .25s ease; }
.p01-concept-progress strong.visible,
.p01-concept-progress p.visible { opacity: 1; }
.p01-concept-progress strong { justify-self: center; padding: 8px 18px; border: 1px solid #438f8b; border-radius: 999px; color: #166b68; font-size: 17px; }
.p01-concept-progress p { margin: 0; color: #335e63; font-size: 13px; line-height: 1.6; text-align: center; }
.p01-future-concepts { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,1fr); gap: 14px; padding: 20px 4px 4px; border-top: 1px solid #d6e1de; }
.p01-future-concepts span { border: 1px solid #cad8d5; border-radius: 8px; background: rgba(248,250,247,.5); }

@media (max-width:1350px),(max-height:760px) {
  .p01-map-ribbon { top: 9px; left: 9px; min-width: 220px; padding: 6px 9px; }
  .p01-map-ribbon b { font-size: 14px; }
  .p01-map-ribbon span,.p01-map-ribbon small { font-size: 8px; }
  .p01-standard-map { padding: 35px 18px 50px; }
  .p01-evidence-card { right: 11px; bottom: 42px; width: 235px; padding: 10px 11px; }
  .p01-evidence-card small,.p01-evidence-card p { font-size: 8px; }
  .p01-evidence-card h3 { margin: 3px 0 5px; font-size: 13px; }
  .p01-evidence-card strong { font-size: 11px; }
  .p01-map-note { left: 9px; bottom: 42px; font-size: 8px; }
  .p01-scale-tabs { height: 32px; }
  .p01-scale-tabs span { font-size: 8.5px; }
  .p01-city-label { font-size: 14px; }
  .p01-location-marker text { font-size: 11px; }
  .p01-atlas { padding: 8px 10px; gap: 6px; }
  .p01-atlas header h2 { font-size: 14px; }
  .p01-atlas-grid { gap: 6px; }
  .p01-atlas-grid article { padding: 5px; }
  .p01-atlas-grid article > b { font-size: 10px; }
  .p01-atlas-grid article > span { font-size: 8px; }
  .p01-atlas footer { font-size: 8px; }
  .p01-concept-progress { gap: 10px; padding: 10px 2px; }
  .p01-concept-progress > small { font-size: 8px; }
  .p01-scale-chain span { min-height: 38px; font-size: 8px; }
  .p01-concept-progress strong { padding: 5px 9px; font-size: 11px; }
  .p01-concept-progress p { font-size: 8.5px; }
  .p01-future-concepts { gap: 8px; padding-top: 12px; }
}

/* P02｜要素集聚：真实区位地图 + 当下证据 + 定性历史阶段 */
.slice-p02 .map-shell { background: #edf3ef; }
.p02-stage {
  height: 100%; min-height: 0; display: grid;
  grid-template-columns: minmax(0, 61fr) minmax(255px, 39fr);
  grid-template-rows: minmax(0, 1fr) 104px;
  background: #f8f9f5;
}
.p02-map-panel { position: relative; min-width: 0; min-height: 0; overflow: hidden; border-right: 1px solid #bdccc8; background: #dcebea; }
.p02-map-heading { position: absolute; z-index: 3; left: 15px; top: 14px; display: grid; gap: 2px; padding: 8px 12px; border-left: 3px solid #b97846; background: rgba(255,255,252,.93); box-shadow: 0 6px 18px rgba(18,58,63,.1); }
.p02-map-heading small { color: #a46b3d; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.p02-map-heading b { color: #164f59; font-family: var(--display); font-size: 18px; }
.p02-map { width: 100%; height: 100%; display: block; }
.p02-map > rect { fill: #dcebea; }
.p02-prefecture { fill: #eef2ec; stroke: #9db3ae; stroke-width: 1; vector-effect: non-scaling-stroke; }
.p02-prefecture.focus { fill: #6fa9a2; stroke: #175e68; stroke-width: 2; }
.p02-city-label { fill: #566f70; font-size: 15px; font-weight: 700; text-anchor: middle; paint-order: stroke; stroke: rgba(255,255,255,.95); stroke-width: 4px; }
.p02-city-label.focus { fill: #fff; font-size: 21px; font-weight: 900; stroke: rgba(20,82,88,.8); stroke-width: 5px; }
.p02-hk-marker circle { fill: #b87445; stroke: #fff; stroke-width: 2; }
.p02-hk-marker text { fill: #6f482f; font-size: 13px; font-weight: 800; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.p02-condition { position: absolute; z-index: 3; left: 15px; bottom: 48px; width: min(360px, 66%); padding: 11px 13px; border-radius: 8px; background: rgba(255,255,252,.95); box-shadow: 0 8px 22px rgba(18,58,63,.12); }
.p02-condition small { display: block; color: #a56a3d; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.p02-condition b { display: block; margin-top: 3px; color: #155761; font-family: var(--display); font-size: 16px; }
.p02-condition p { margin: 4px 0 0; color: #607477; font-size: 10.5px; line-height: 1.45; }
.p02-map-note { position: absolute; z-index: 3; right: 12px; bottom: 12px; max-width: 72%; color: #5d7474; font-size: 10px; text-align: right; }
.p02-evidence-panel { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 10px; padding: 15px 13px 12px; background: #f8f8f3; }
.p02-evidence-panel > header small { color: #a76c3c; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.p02-evidence-panel > header h3 { margin: 3px 0 0; color: #154f5a; font-family: var(--display); font-size: 18px; line-height: 1.25; }
.p02-evidence-grid { min-height: 0; display: grid; grid-template-rows: repeat(4,minmax(0,1fr)); gap: 8px; }
.p02-evidence { min-height: 0; padding: 9px 10px; overflow: hidden; border: 1px solid #c8d5d1; border-radius: 8px; background: rgba(255,255,255,.56); color: transparent; }
.p02-evidence.visible { border-color: #82aaa4; background: #fff; box-shadow: 0 4px 12px rgba(27,75,77,.06); color: inherit; }
.p02-evidence header { display: flex; align-items: center; gap: 7px; }
.p02-evidence header span { display: grid; place-items: center; width: 34px; height: 22px; border-radius: 999px; background: #e5efeb; color: transparent; font-size: 11px; font-weight: 900; }
.p02-evidence.visible header span { background: #dcece7; color: #176661; }
.p02-evidence header small { margin-left: auto; color: #937257; font-size: 8.5px; font-weight: 700; }
.p02-evidence strong { display: block; margin-top: 5px; color: #126d68; font-size: 14px; line-height: 1.25; }
.p02-evidence p { margin: 3px 0 0; color: #566e70; font-size: 10px; line-height: 1.3; }
.p02-evidence-panel > footer { color: #697a7b; font-size: 9.5px; line-height: 1.4; }
.p02-stage-track { grid-column: 1 / -1; min-width: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; padding: 14px 28px 10px; border-top: 1px solid #bdccc8; background: #fff; }
.p02-stage-track article { position: relative; display: grid; justify-items: center; align-content: start; gap: 3px; color: #82908f; text-align: center; }
.p02-stage-track article::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; border-top: 1px solid #b8c9c5; }
.p02-stage-track i { position: relative; z-index: 1; width: 15px; height: 15px; border: 2px solid #9bb2ae; border-radius: 50%; background: #fff; }
.p02-stage-track b { margin-top: 2px; font-size: 12px; }
.p02-stage-track small { max-width: 90%; font-size: 9px; line-height: 1.25; }
.p02-stage-track .complete, .p02-stage-track .active { color: #246a69; }
.p02-stage-track .complete i { background: #8fb9b0; border-color: #8fb9b0; }
.p02-stage-track .active i { background: #197c77; border-color: #197c77; box-shadow: 0 0 0 5px rgba(25,124,119,.12); }

.p02-concept { grid-template-rows: auto auto minmax(0,1fr) auto 30%; gap: 8px; }
.p02-learned-concept { margin: 4px 5px 0; padding: 8px 10px; border: 1px solid #d4ddda; border-radius: 8px; background: #f5f6f3; color: #91a09d; text-align: center; }
.p02-learned-concept small { display: block; font-size: 9px; }
.p02-learned-concept b { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; }
.p02-concept-chain { min-height: 0; display: grid; grid-template-rows: repeat(4,minmax(0,1fr)); align-items: center; padding: 4px 14px; }
.p02-concept-chain article { min-height: 43px; display: grid; place-items: center; border: 1px solid #cbd9d5; border-radius: 8px; background: rgba(248,250,247,.6); color: transparent; text-align: center; }
.p02-concept-chain article.visible { border-color: #4d9994; background: #edf6f2; color: #155f61; box-shadow: 0 4px 12px rgba(32,101,99,.06); }
.p02-concept-chain article b { font-size: 13px; }
.p02-concept-chain i { height: 12px; color: transparent; font-style: normal; line-height: 12px; text-align: center; }
.p02-concept-chain i.visible { color: #418e89; }
.p02-concept-outcome { min-height: 38px; margin: 0 8px; padding: 7px 9px; border-radius: 8px; color: transparent; font-size: 11px; font-weight: 800; line-height: 1.45; text-align: center; }
.p02-concept-outcome.visible { background: #176f6b; color: #fff; }
.p02-future-concepts { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,1fr); gap: 9px; padding: 11px 5px 4px; border-top: 1px solid #d6e1de; }
.p02-future-concepts span { border: 1px solid #cad8d5; border-radius: 8px; background: rgba(248,250,247,.5); }
.p02-future-concepts span:last-child { grid-column: 2; }

@media (max-width:1350px),(max-height:760px) {
  .p02-stage { grid-template-columns: minmax(0,60fr) minmax(220px,40fr); grid-template-rows: minmax(0,1fr) 76px; }
  .p02-map-heading { left: 9px; top: 8px; padding: 5px 8px; }
  .p02-map-heading small { font-size: 7px; }
  .p02-map-heading b { font-size: 12px; }
  .p02-city-label { font-size: 11px; }
  .p02-city-label.focus { font-size: 15px; }
  .p02-hk-marker text { font-size: 9px; }
  .p02-condition { left: 9px; bottom: 30px; padding: 7px 8px; }
  .p02-condition small,.p02-condition p { font-size: 7px; }
  .p02-condition b { font-size: 10px; }
  .p02-map-note { right: 7px; bottom: 7px; font-size: 7px; }
  .p02-evidence-panel { gap: 5px; padding: 8px 7px 6px; }
  .p02-evidence-panel > header small { font-size: 7px; }
  .p02-evidence-panel > header h3 { font-size: 12px; }
  .p02-evidence-grid { gap: 4px; }
  .p02-evidence { padding: 5px 6px; border-radius: 6px; }
  .p02-evidence header span { width: 24px; height: 16px; font-size: 8px; }
  .p02-evidence header small { font-size: 6px; }
  .p02-evidence strong { margin-top: 3px; font-size: 9px; }
  .p02-evidence p,.p02-evidence-panel > footer { font-size: 6.5px; }
  .p02-stage-track { padding: 8px 16px 5px; }
  .p02-stage-track article::before { top: 5px; }
  .p02-stage-track i { width: 11px; height: 11px; }
  .p02-stage-track b { font-size: 8.5px; }
  .p02-stage-track small { font-size: 6px; }
  .p02-concept { gap: 4px; }
  .p02-learned-concept { padding: 5px 7px; }
  .p02-learned-concept small { font-size: 6px; }
  .p02-learned-concept b { font-size: 8px; }
  .p02-concept-chain { padding: 2px 9px; }
  .p02-concept-chain article { min-height: 29px; }
  .p02-concept-chain article b { font-size: 8.5px; }
  .p02-concept-chain i { height: 8px; line-height: 8px; }
  .p02-concept-outcome { min-height: 26px; padding: 4px 6px; font-size: 7.5px; }
  .p02-future-concepts { gap: 6px; padding-top: 7px; }
}

/* P03｜大都市定义：真实地图定位 + 证据—功能对应 */
.slice-p03 .map-shell { background: #eef3ef; }
.p03-stage { height: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0,59fr) minmax(270px,41fr); grid-template-rows: minmax(0,1fr) 58px; background: #f8f9f5; }
.p03-map-panel { position: relative; min-width: 0; min-height: 0; overflow: hidden; border-right: 1px solid #bdccc8; background: #dcebea; }
.p03-map-heading { position: absolute; z-index: 3; left: 15px; top: 14px; display: grid; gap: 2px; padding: 8px 12px; border-left: 3px solid #b97846; background: rgba(255,255,252,.94); box-shadow: 0 6px 18px rgba(18,58,63,.1); }
.p03-map-heading small { color: #a46b3d; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.p03-map-heading b { color: #164f59; font-family: var(--display); font-size: 18px; }
.p03-map { width: 100%; height: 100%; display: block; }
.p03-map > rect { fill: #dcebea; }
.p03-prefecture { fill: #eef2ec; stroke: #9db3ae; stroke-width: 1; vector-effect: non-scaling-stroke; }
.p03-prefecture.focus { fill: #6fa9a2; stroke: #175e68; stroke-width: 2; }
.p03-city-label { fill: #566f70; font-size: 15px; font-weight: 700; text-anchor: middle; paint-order: stroke; stroke: rgba(255,255,255,.95); stroke-width: 4px; }
.p03-city-label.focus { fill: #fff; font-size: 21px; font-weight: 900; stroke: rgba(20,82,88,.8); stroke-width: 5px; }
.p03-marker { opacity: 0; transition: opacity .2s ease; }
.p03-marker.visible { opacity: 1; }
.p03-marker circle { fill: #b87545; stroke: #fff; stroke-width: 2; }
.p03-marker.innovation circle { fill: #6d62a4; }
.p03-marker.finance circle { fill: #b87545; }
.p03-marker.gateway circle { fill: #167b76; }
.p03-marker text { fill: #244f55; font-size: 12px; font-weight: 800; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.p03-scale-card { position: absolute; z-index: 3; left: 15px; bottom: 47px; width: min(330px,64%); padding: 10px 12px; border-radius: 8px; background: rgba(255,255,252,.95); box-shadow: 0 8px 22px rgba(18,58,63,.12); }
.p03-scale-card small { color: #a56a3d; font-size: 9.5px; font-weight: 800; }
.p03-scale-card b { display: block; margin-top: 2px; color: #155761; font-family: var(--display); font-size: 15px; }
.p03-scale-card p { margin: 3px 0 0; color: #607477; font-size: 9.5px; }
.p03-map-note { position: absolute; z-index: 3; right: 11px; bottom: 11px; max-width: 72%; color: #5d7474; font-size: 9.5px; text-align: right; }
.p03-evidence-panel { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr); gap: 9px; padding: 14px 12px 12px; background: #f8f8f3; }
.p03-evidence-panel > header small { color: #a76c3c; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.p03-evidence-panel > header h3 { margin: 3px 0 0; color: #154f5a; font-family: var(--display); font-size: 17px; }
.p03-evidence-grid { min-height: 0; display: grid; grid-template-rows: repeat(4,minmax(0,1fr)); gap: 7px; }
.p03-evidence { min-height: 0; overflow: hidden; display: grid; grid-template-rows: auto auto minmax(0,1fr) auto; padding: 8px 9px; border: 1px solid #cad6d2; border-radius: 8px; background: rgba(255,255,255,.55); color: transparent; }
.p03-evidence.visible { border-color: #86aca6; background: #fff; color: inherit; }
.p03-evidence.active { border-color: #1d7e78; box-shadow: 0 0 0 2px rgba(29,126,120,.08),0 5px 14px rgba(23,75,76,.07); }
.p03-evidence header { display: flex; align-items: baseline; gap: 7px; }
.p03-evidence header b { color: #176763; font-size: 12px; }
.p03-evidence header small { margin-left: auto; color: #987158; font-size: 8.5px; font-weight: 700; }
.p03-evidence strong { margin-top: 4px; color: #0f6d68; font-size: 13px; line-height: 1.25; }
.p03-evidence p { margin: 3px 0 0; color: #526d70; font-size: 9.5px; line-height: 1.3; }
.p03-evidence footer { color: #8b7868; font-size: 8px; }
.p03-synthesis { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr auto 1.35fr .8fr; align-items: center; gap: 8px; padding: 8px 22px; border-top: 1px solid #bdccc8; background: #fff; color: #536d6e; }
.p03-synthesis span { padding: 6px 8px; border: 1px solid #c5d5d1; border-radius: 7px; font-size: 11px; font-weight: 800; text-align: center; }
.p03-synthesis i { color: #568e89; font-style: normal; font-weight: 900; }
.p03-synthesis b { min-height: 30px; display: grid; place-items: center; border-radius: 7px; color: transparent; font-family: var(--display); font-size: 15px; }
.p03-synthesis.visible b { background: #176f6b; color: #fff; }

.p03-concept { grid-template-rows: auto auto minmax(0,1fr) auto 28%; gap: 8px; }
.p03-learned-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 5px 0; }
.p03-learned-list span { min-height: 36px; display: grid; place-items: center; padding: 5px; border: 1px solid #d4ddda; border-radius: 7px; background: #f5f6f3; color: #93a09e; font-size: 10px; font-weight: 700; text-align: center; }
.p03-definition { min-height: 0; display: grid; grid-template-rows: auto repeat(3,minmax(0,1fr)); align-items: center; padding: 5px 13px; }
.p03-definition > small { color: #73908e; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-align: center; }
.p03-definition article { min-height: 48px; display: grid; place-items: center; padding: 6px 8px; border: 1px solid #cbd9d5; border-radius: 8px; background: rgba(248,250,247,.6); color: transparent; text-align: center; }
.p03-definition article.visible { border-color: #4d9994; background: #edf6f2; color: #155f61; }
.p03-definition article b { font-size: 12px; line-height: 1.35; }
.p03-definition i { height: 10px; color: transparent; font-style: normal; line-height: 10px; text-align: center; }
.p03-definition i.visible { color: #418e89; }
.p03-concept-outcome { min-height: 40px; display: grid; place-items: center; margin: 0 12px; border-radius: 8px; color: transparent; font-family: var(--display); font-size: 17px; }
.p03-concept-outcome.visible { background: #176f6b; color: #fff; }
.p03-future-concepts { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; padding: 11px 5px 4px; border-top: 1px solid #d6e1de; }
.p03-future-concepts span { border: 1px solid #cad8d5; border-radius: 8px; background: rgba(248,250,247,.5); }

@media (max-width:1350px),(max-height:760px) {
  .p03-stage { grid-template-columns: minmax(0,58fr) minmax(230px,42fr); grid-template-rows: minmax(0,1fr) 42px; }
  .p03-map-heading { left: 9px; top: 8px; padding: 5px 8px; }
  .p03-map-heading small { font-size: 7px; }
  .p03-map-heading b { font-size: 12px; }
  .p03-city-label { font-size: 11px; }
  .p03-city-label.focus { font-size: 15px; }
  .p03-marker text { font-size: 8.5px; }
  .p03-scale-card { left: 9px; bottom: 29px; padding: 6px 8px; }
  .p03-scale-card small,.p03-scale-card p { font-size: 6.5px; }
  .p03-scale-card b { font-size: 10px; }
  .p03-map-note { right: 7px; bottom: 6px; font-size: 6.5px; }
  .p03-evidence-panel { gap: 5px; padding: 8px 7px 6px; }
  .p03-evidence-panel > header small { font-size: 7px; }
  .p03-evidence-panel > header h3 { font-size: 11px; }
  .p03-evidence-grid { gap: 4px; }
  .p03-evidence { padding: 5px 6px; border-radius: 6px; }
  .p03-evidence header b { font-size: 8px; }
  .p03-evidence header small,.p03-evidence footer { font-size: 5.5px; }
  .p03-evidence strong { margin-top: 2px; font-size: 8.5px; }
  .p03-evidence p { font-size: 6.5px; }
  .p03-synthesis { gap: 5px; padding: 5px 13px; }
  .p03-synthesis span { padding: 3px 4px; font-size: 7px; }
  .p03-synthesis b { min-height: 22px; font-size: 10px; }
  .p03-concept { gap: 4px; }
  .p03-learned-list { gap: 4px; }
  .p03-learned-list span { min-height: 25px; font-size: 6.5px; }
  .p03-definition { padding: 3px 9px; }
  .p03-definition > small { font-size: 6.5px; }
  .p03-definition article { min-height: 32px; padding: 4px 5px; }
  .p03-definition article b { font-size: 8px; }
  .p03-definition i { height: 7px; line-height: 7px; }
  .p03-concept-outcome { min-height: 27px; font-size: 11px; }
  .p03-future-concepts { gap: 6px; padding-top: 7px; }
}

/* 全课程统一复用P04概念框图；页面间只改变显示状态 */
.concept-row-current .concept-link:not(.visible),
.concept-return:not(.visible),
.concept-development:not(.visible) { visibility: hidden; }
.concept-scale .scale-grid article.preview,
.concept-scale-future .scale-grid article {
  border: 1px solid #cad8d5;
  border-radius: 8px;
  background: rgba(248,250,247,.5);
}
.concept-scale .scale-grid article.preview + article,
.concept-scale-future .scale-grid article + article { border-left: 1px solid #cad8d5; }
.concept-scale-future > header b { min-width: 92px; min-height: 1em; }

/* P05｜三类证据包：产业综合示意 / 前海实测联系 / 组合港网络覆盖 */
.slice-p05 .map-shell { background: #edf3ef; }
.p05-stage { height: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0,61fr) minmax(270px,39fr); grid-template-rows: minmax(0,1fr) 64px; background: #f8f9f5; }
.p05-map-panel { position: relative; min-width: 0; min-height: 0; overflow: hidden; border-right: 1px solid #bdccc8; background: #dcebea; }
.p05-map-heading { position: absolute; z-index: 3; left: 15px; top: 14px; display: grid; gap: 2px; padding: 8px 12px; border-left: 3px solid #b97846; background: rgba(255,255,252,.94); box-shadow: 0 6px 18px rgba(18,58,63,.1); }
.p05-map-heading small { color: #a46b3d; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.p05-map-heading b { color: #164f59; font-family: var(--display); font-size: 18px; }
.p05-map { width: 100%; height: 100%; display: block; }
.p05-map > rect { fill: #dcebea; }
.p05-prefecture { fill: #eef2ec; stroke: #9db3ae; stroke-width: 1; vector-effect: non-scaling-stroke; }
.p05-prefecture.focus { fill: #cfe3d7; stroke: #277579; stroke-width: 1.6; }
.p05-city-label { fill: #205d63; font-size: 14px; font-weight: 900; text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.p05-point circle { fill: #207c78; stroke: #fff; stroke-width: 2.2; }
.p05-point.receiver circle { fill: #b77b4d; }
.p05-point.finance circle { fill: #7b61a7; }
.p05-point text,.p05-location text { fill: #254f55; font-size: 12px; font-weight: 800; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.p05-location circle { fill: #b77b4d; stroke: #fff; stroke-width: 2; }
.p05-finance-link { fill: none; stroke: #7b61a7; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 8 7; opacity: .72; vector-effect: non-scaling-stroke; }
.p05-link-label rect { fill: rgba(255,255,252,.94); stroke: #a79ac3; stroke-width: 1; }
.p05-link-label text { fill: #5c4b83; font-size: 11px; font-weight: 800; }
.p05-current-evidence { position: absolute; z-index: 3; left: 15px; bottom: 48px; width: min(390px,70%); padding: 11px 13px; border-radius: 8px; background: rgba(255,255,252,.96); box-shadow: 0 8px 22px rgba(18,58,63,.12); }
.p05-current-evidence small { display: block; color: #986a48; font-size: 9.5px; font-weight: 800; }
.p05-current-evidence b { display: block; margin-top: 3px; color: #145d63; font-family: var(--display); font-size: 15px; line-height: 1.35; }
.p05-current-evidence p { margin: 4px 0 0; color: #607477; font-size: 9.5px; line-height: 1.4; }
.p05-map-note { position: absolute; z-index: 3; right: 11px; bottom: 11px; max-width: 72%; color: #5d7474; font-size: 9.5px; text-align: right; }
.p05-package-panel { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 9px; padding: 14px 12px 11px; background: #f8f8f3; }
.p05-package-panel > header small { color: #a76c3c; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.p05-package-panel > header h3 { margin: 3px 0 0; color: #154f5a; font-family: var(--display); font-size: 18px; }
.p05-package-list { min-height: 0; display: grid; grid-template-rows: repeat(3,minmax(0,1fr)); gap: 8px; }
.p05-package { min-height: 0; overflow: hidden; display: grid; grid-template-rows: auto auto auto minmax(0,1fr) auto; padding: 9px 10px; border: 1px solid #cad6d2; border-radius: 8px; background: rgba(255,255,255,.55); color: transparent; }
.p05-package.visible { border-color: #87aba6; background: #fff; color: inherit; }
.p05-package.active { border-color: #1d7e78; box-shadow: 0 0 0 2px rgba(29,126,120,.07),0 5px 14px rgba(23,75,76,.06); }
.p05-package header { display: flex; align-items: baseline; gap: 7px; }
.p05-package header small { color: #a36d42; font-size: 8.5px; font-weight: 800; }
.p05-package header b { margin-left: auto; color: #174f5a; font-family: var(--display); font-size: 14.5px; }
.p05-package strong { margin-top: 4px; color: #126c68; font-size: 13.5px; }
.p05-package p { margin: 3px 0 0; color: #42666a; font-size: 11.5px; font-weight: 700; line-height: 1.3; }
.p05-package > div { margin-top: 3px; color: #566f71; font-size: 11px; line-height: 1.3; }
.p05-package footer { color: #8d7866; font-size: 8px; }
.p05-package-panel > footer { color: #697a7b; font-size: 9px; text-align: center; }
.p05-summary { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr) 1.25fr; align-items: center; gap: 8px; padding: 9px 20px; border-top: 1px solid #bdccc8; background: #fff; }
.p05-summary span { min-height: 32px; display: grid; place-items: center; padding: 5px 7px; border: 1px solid #c8d6d2; border-radius: 7px; color: #526d6e; font-size: 10.5px; font-weight: 800; text-align: center; }
.p05-summary b { min-height: 34px; display: grid; place-items: center; border-radius: 7px; color: transparent; font-family: var(--display); font-size: 13px; text-align: center; }
.p05-summary.visible b { background: #176f6b; color: #fff; }

@media (max-width:1350px),(max-height:760px) {
  .p05-stage { grid-template-columns: minmax(0,59fr) minmax(230px,41fr); grid-template-rows: minmax(0,1fr) 44px; }
  .p05-map-heading { left: 9px; top: 8px; padding: 5px 8px; }
  .p05-map-heading small { font-size: 7px; }
  .p05-map-heading b { font-size: 12px; }
  .p05-city-label { font-size: 10px; }
  .p05-point text,.p05-location text { font-size: 8.5px; }
  .p05-finance-link { stroke-width: 3.5; }
  .p05-link-label text { font-size: 7.5px; }
  .p05-current-evidence { left: 9px; bottom: 29px; padding: 6px 8px; }
  .p05-current-evidence small,.p05-current-evidence p { font-size: 6.5px; }
  .p05-current-evidence b { font-size: 10px; }
  .p05-map-note { right: 7px; bottom: 6px; font-size: 6.5px; }
  .p05-package-panel { gap: 5px; padding: 8px 7px 6px; }
  .p05-package-panel > header small { font-size: 7px; }
  .p05-package-panel > header h3 { font-size: 12px; }
  .p05-package-list { gap: 4px; }
  .p05-package { padding: 5px 6px; border-radius: 6px; }
  .p05-package header small,.p05-package footer { font-size: 5.5px; }
  .p05-package header b { font-size: 8.5px; }
  .p05-package strong { margin-top: 2px; font-size: 8px; }
  .p05-package p,.p05-package > div { font-size: 6.5px; }
  .p05-package-panel > footer { font-size: 6px; }
  .p05-summary { gap: 5px; padding: 5px 12px; }
  .p05-summary span { min-height: 24px; padding: 3px 4px; font-size: 7px; }
  .p05-summary b { min-height: 25px; font-size: 8.5px; }
}

/* P06｜三类材料迁移：合并问题链与材料区，抽象统一五栏方法。 */
.common-revision-sample.slice-p06 .p06-combined-stage {
  grid-column: 2 / 4;
  display: grid;
  grid-template-rows: 58px minmax(0,1fr);
}
.common-revision-sample.slice-p06 .p06-combined-stage > .map-shell {
  min-height: 0;
  overflow: hidden;
  background: #fbfcf8;
}
.p06-stage {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0,1fr) 310px;
  gap: 10px;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg,#fffefb,#f5f9f6);
}
.p06-material-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.p06-material-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
  gap: 6px;
  padding: 9px 13px 7px;
  border: 1px solid #d4dfdc;
  border-radius: 13px;
  background: rgba(255,255,252,.92);
  box-shadow: 0 8px 20px rgba(21,70,72,.055);
  opacity: 1;
}
.p06-material-card.active,
.p06-material-card.complete {
  opacity: 1;
}
.p06-material-card.active {
  border-color: #3d928c;
  box-shadow: 0 0 0 2px rgba(21,132,124,.08),0 10px 23px rgba(21,70,72,.085);
}
.p06-material-card > header {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  grid-template-columns: 32px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
}
.p06-material-card > header > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #8fc7c0;
  background: #e9f6f3;
  color: #0b7f72;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
}
.p06-material-card > header > .p06-material-icon img {
  width: 23px;
  height: 23px;
  display: block;
  object-fit: contain;
}
.p06-material-card h3 {
  min-width: 0;
  margin: 0;
  color: #124f59;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.15;
  white-space: nowrap;
}
.common-revision-sample.slice-p06 .p06-material-card h3 {
  font-size: 20px;
  line-height: 1.12;
  white-space: normal;
  text-wrap: balance;
}
.common-revision-sample.slice-p06 .p06-material-card > header { gap: 6px; }
.common-revision-sample.slice-p06 .p06-material-card header small { padding-inline: 6px; }
.p06-material-card header small {
  padding: 4px 8px;
  border: 1px solid #9ebfba;
  border-radius: 999px;
  color: #547a78;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.p06-material-card.complete header small {
  border-color: #4a9648;
  background: #42983f;
  color: #fff;
}
.p06-material-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #30474d;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.725;
  letter-spacing: .01em;
  text-align: left;
}
.p06-material-paragraph {
  display: block;
  text-indent: 0;
}
.common-revision-sample.slice-p06 .p06-material-card p { line-height: 1.47; }
.p06-material-artwork {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 0;
  width: calc(100% - 2px);
  height: auto;
  display: block;
  transform: translate(-50%,6px);
  pointer-events: none;
  user-select: none;
}
.p07-material-card[data-p07-material="nearby"] .p07-material-artwork {
  transform: translate(-50%,clamp(14.4px,1.125vw,18px));
}
.p07-material-card[data-p07-material="bay"] .p07-material-artwork {
  transform: translate(-50%,clamp(43.2px,3.375vw,54px));
}
.p06-material-card mark {
  padding: 0 3px;
  border: 0;
  border-radius: 4px;
  background: #eaf5f1;
  box-shadow: inset 0 0 0 1px #8ab9b3;
  color: #116c69;
  font-weight: 700;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.p06-stage.interactive .p06-drag-token.enabled {
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.p06-stage.interactive .p06-drag-token.enabled:hover,
.p06-stage.interactive .p06-drag-token.enabled:focus-visible,
.p06-stage.interactive .p06-drag-token.selected {
  outline: none;
  background: #e6f4ef;
  box-shadow: inset 0 0 0 1px #087b76,0 0 0 2px rgba(8,123,118,.11);
}
.p06-drag-token.dragging { opacity: .35; }
.p06-drag-token.placed {
  background: #f2f6f3;
  color: #55716f;
  box-shadow: inset 0 0 0 1px #b8d0cc;
}
.p06-stage.interactive .p06-material-card:not(.active):not(.complete) .p06-drag-token {
  opacity: .62;
}
.p06-method-statement {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 3px 22px;
  border: 1px solid #bfd4cf;
  border-radius: 10px;
  background: linear-gradient(90deg,#f0f7f4,#fffefb,#f0f7f4);
}
.p06-method-statement p {
  margin: 0;
  color: #154b57;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}
.p06-method-statement.complete {
  border-color: #66a9a2;
  box-shadow: inset 0 0 0 2px rgba(23,125,119,.06);
}
.p06-method-table-wrap {
  min-height: 0;
  display: grid;
  grid-template-rows: 30px minmax(0,1fr);
  gap: 6px;
}
.common-revision-sample.slice-p06 .p06-method-table-wrap {
  grid-template-rows: minmax(0,1fr) 37px;
  gap: 5px;
}
.p06-method-table-wrap > header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-left: 4px;
}
.p06-activity-progress {
  margin-left: auto;
  padding: 3px 9px;
  border: 1px solid #a8c9c4;
  border-radius: 999px;
  background: #f6faf8;
  color: #527875;
  font-size: 12px;
  font-weight: 800;
}
.p06-stage.passed .p06-activity-progress {
  border-color: #73aa72;
  background: #edf7eb;
  color: #34743a;
}
.p06-type-heading {
  padding: 2px 4px !important;
}
.p06-type-heading > b { white-space: nowrap; }
.p06-submit {
  min-width: 70px;
  margin: 2px auto 0;
  padding: 2px 6px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color .18s ease,color .18s ease,box-shadow .18s ease,opacity .18s ease;
}
.p06-submit:not(:disabled):hover,
.p06-submit:not(:disabled):focus-visible {
  outline: none;
  background: rgba(255,255,255,.27);
  box-shadow: 0 0 0 2px rgba(255,255,255,.22);
}
.p06-submit:disabled { cursor: default; background: rgba(255,255,255,.2); opacity: .86; }
.p06-stage[data-ready-submit="true"]:not(.passed) .p06-submit {
  border-color: #fff;
  background: #fff;
  color: #08746f;
  box-shadow: 0 1px 5px rgba(5,72,69,.2);
  opacity: 1;
}
.p06-stage.passed .p06-submit {
  border-color: #cce7cb;
  background: #347f39;
  color: #fff;
  opacity: 1;
}
.p06-stage.passed .p06-method-table {
  border-color: #73aa77;
  box-shadow: 0 0 0 2px rgba(73,145,78,.1);
}
.p06-stage.passed .p06-method-table td span.visible,
.p06-stage.passed .p06-method-table .p06-drop-target.visible {
  background: #eef7ec;
  color: #286934;
}
.p06-method-table-wrap h3 {
  margin: 0;
  color: #14545d;
  font-family: var(--display);
  font-size: 20px;
}
.p06-method-table-wrap header small {
  color: #6b8281;
  font-size: 12px;
}
.p06-method-table {
  width: 100%;
  height: 100%;
  min-height: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #9fc6c1;
  border-radius: 9px;
  background: #fff;
}
.p06-method-table th,
.p06-method-table td {
  min-width: 0;
  padding: 6px 7px;
  border-right: 1px solid #bcd8d4;
  border-bottom: 1px solid #cbdedb;
  text-align: center;
  vertical-align: middle;
}
.p06-method-table tr > :last-child { border-right: 0; }
.p06-method-table tbody tr:last-child > * { border-bottom: 0; }
.p06-method-table thead th {
  height: 45px;
  padding-block: 5px;
  background: linear-gradient(180deg,#19a69c,#108c86);
  color: #fff;
  font-family: var(--display);
}
.p06-method-table thead th:first-child { width: 10%; }
.p06-method-table .p06-col-type { width: 10%; }
.p06-method-table .p06-col-function { width: 14%; }
.p06-method-table .p06-col-content { width: 18%; }
.p06-method-table .p06-col-carrier { width: 18%; }
.p06-method-table .p06-col-receiver { width: 20%; }
.p06-method-table .p06-col-impact { width: 20%; }
.p06-method-table thead b,
.p06-method-table thead small {
  display: block;
  color: inherit;
}
.p06-method-table thead b { font-size: 19px; }
.p06-method-table thead small { margin-top: 1px; font-size: 13px; }
.p06-method-table tbody th {
  width: 10%;
  padding-block: 3px;
  background: #e5f2ee;
  color: #126f6b;
  font-family: var(--display);
  font-size: 19px;
}
.p06-method-table td {
  padding-block: 3px;
  background: #fff;
  color: #254850;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.15;
}
.p06-method-table td span {
  min-height: 33px;
  display: grid;
  place-items: center;
  padding: 2px 5px;
  border-radius: 7px;
  text-wrap: balance;
}
.p06-drop-target {
  width: 100%;
  min-height: 33px;
  display: grid;
  place-items: center;
  padding: 2px 5px;
  border: 1px dashed #9ebfbb;
  border-radius: 7px;
  background: transparent;
  color: #8da4a3;
  font: inherit;
  font-weight: 650;
  line-height: inherit;
  cursor: pointer;
  text-wrap: balance;
}
.p06-drop-target:disabled { cursor: default; opacity: 1; }
.p06-method-table tr.active td { background: #fbfdfb; }
.p06-method-table tr.active .p06-drop-target:not(:disabled) {
  background: #f7fbf9;
}
.p06-drop-target.drag-over,
.p06-drop-target:focus-visible {
  outline: none;
  border-style: solid;
  border-color: #087b76;
  background: #e4f3ef !important;
  box-shadow: 0 0 0 3px rgba(8,123,118,.09);
}
.p06-drop-target.invalid {
  border-color: #b85d4d;
  background: #fff0ed !important;
  color: #9b4638;
  animation: p06-invalid-shake .38s ease;
}
.p06-drop-target.visible {
  border-style: solid;
  border-color: transparent;
  background: #f4f8f5;
  color: #254850;
  font-weight: 750;
}
.p06-live-message {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.p06-pointer-ghost {
  position: fixed;
  z-index: 9999;
  max-width: 230px;
  padding: 7px 10px;
  border: 1px solid #087b76;
  border-radius: 7px;
  background: #f6fcf9;
  color: #08746f;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.28;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(20,78,79,.16);
  transform: translate(-50%,-50%) rotate(-1deg);
}
@keyframes p06-invalid-shake {
  0%,100% { transform: translateX(0); }
  30% { transform: translateX(-4px); }
  60% { transform: translateX(4px); }
}
.p06-method-table td span.visible {
  background: #f4f8f5;
}
.p06-method-table td span.placeholder {
  border: 1px dashed #9ebfbb;
  color: #8da4a3;
  font-weight: 650;
}
.p06-guidance-bar {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #c2d8d4;
  border-left: 4px solid #168a83;
  border-radius: 8px;
  background: linear-gradient(90deg,#f5faf8,#fffefb);
  color: #4f706d;
}
.p06-guidance-step {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border: 1px solid #70aaa5;
  border-radius: 50%;
  background: #fff;
  color: #08766f;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 900;
}
.p06-guidance-bar p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: inherit;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p06-guidance-bar.is-ready {
  border-left-color: #b3782f;
  background: linear-gradient(90deg,#fff8eb,#fffefb);
  color: #805d31;
}
.p06-guidance-bar.is-ready .p06-guidance-step {
  border-color: #c79b63;
  color: #95621f;
}
.p06-guidance-bar.is-success {
  border-left-color: #4b984d;
  background: linear-gradient(90deg,#eef8ec,#fffefb);
  color: #34713b;
}
.p06-guidance-bar.is-success .p06-guidance-step {
  border-color: #70aa70;
  background: #f4fbf1;
  color: #347a39;
}

@media (max-width:1350px),(max-height:760px) {
  .common-revision-sample.slice-p06 .p06-combined-stage { grid-template-rows: 48px minmax(0,1fr); }
  .p06-stage { grid-template-rows: minmax(0,1fr) 208px; gap: 7px; padding: 7px 9px 8px; }
  .p06-material-grid { gap: 8px; }
  .p06-material-card { gap: 4px; padding: 8px 9px 7px; border-radius: 9px; }
  .p06-material-card > header { grid-template-columns: 24px minmax(0,1fr) auto; gap: 5px; }
  .p06-material-card > header > span { width: 24px; height: 24px; font-size: 14px; }
  .p06-material-card > header > .p06-material-icon img { width: 17px; height: 17px; }
  .p06-material-card h3 { font-size: 15px; }
  .common-revision-sample.slice-p06 .p06-material-card h3 { font-size: 14px; line-height: 1.1; white-space: normal; }
  .p06-material-card header small { padding: 2px 5px; font-size: 10.5px; }
  .p06-material-card p { font-size: 15px; line-height: 2.07; }
  .common-revision-sample.slice-p06 .p06-material-card p { line-height: 1.47; }
  .p06-material-card mark { padding: 0 2px; border-radius: 3px; }
  .p06-method-statement { padding: 2px 14px; border-radius: 7px; }
  .p06-method-statement p { font-size: 14px; line-height: 1.22; }
  .p06-method-table-wrap { grid-template-rows: 22px minmax(0,1fr); gap: 4px; }
  .common-revision-sample.slice-p06 .p06-method-table-wrap { grid-template-rows: minmax(0,1fr) 25px; gap: 3px; }
  .p06-method-table-wrap > header { gap: 8px; }
  .p06-method-table-wrap h3 { font-size: 14px; }
  .p06-method-table-wrap header small { font-size: 8px; }
  .p06-activity-progress { padding: 2px 6px; font-size: 8px; }
  .p06-submit { min-width: 52px; margin-top: 1px; padding: 1px 4px; font-size: 10px; }
  .p06-method-table th,.p06-method-table td { padding: 3px 4px; }
  .p06-method-table thead th { height: 32px; }
  .p06-method-table thead b { font-size: 13px; }
  .p06-method-table thead small { font-size: 9.5px; }
  .p06-method-table tbody th { font-size: 13px; }
  .p06-method-table td { font-size: 13px; line-height: 1.18; }
  .p06-method-table td span { min-height: 23px; padding: 2px 3px; border-radius: 5px; }
  .p06-drop-target { min-height: 23px; padding: 2px 3px; border-radius: 5px; }
  .p06-guidance-bar { gap: 7px; padding: 0 8px; border-left-width: 3px; border-radius: 6px; }
  .p06-guidance-step { width: 17px; height: 17px; flex-basis: 17px; font-size: 10px; }
  .p06-guidance-bar p { font-size: 13px; }
  .p06-pointer-ghost { max-width: 180px; padding: 5px 7px; font-size: 13px; }
}

/* P07｜三尺度证据材料—五维连线活动—尺度嵌套总结。 */
.common-revision-sample.slice-p07 .p07-combined-stage {
  grid-column: 2 / 4;
  display: grid;
  grid-template-rows: 58px minmax(0,1fr);
}
.common-revision-sample.slice-p07 .p07-combined-stage > .map-shell {
  min-height: 0;
  overflow: hidden;
  background: #fbfcf8;
}
.p07-scale-stage {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: 300px minmax(0,1fr) 0;
  gap: 8px;
  padding: 10px 12px 12px;
  overflow: hidden;
  background: linear-gradient(180deg,#fffefb,#f5f9f6);
  color: #174f58;
  transition: grid-template-rows .34s ease;
}
.p07-scale-stage.complete {
  grid-template-rows: 300px minmax(0,1fr) 99px;
  gap: 5px;
}
.p07-material-grid { gap: 10px; }
.p07-material-card {
  gap: 2px;
  padding: 8px 13px 6px;
  overflow: hidden;
}
.p07-material-card > header {
  grid-template-columns: 32px minmax(0,1fr);
  align-items: center;
  gap: 8px;
}
.p07-material-card > header > div { min-width: 0; }
.p07-material-card h3 {
  margin: 0;
  font-size: 18.5px;
  line-height: 1.08;
  letter-spacing: -.035em;
  white-space: nowrap;
  text-wrap: nowrap;
}
.p07-material-card p {
  margin: 0;
  overflow: hidden;
  color: #294950;
  font-size: 21px;
  font-weight: 620;
  line-height: 1.27;
  overflow-wrap: anywhere;
  word-break: break-all;
  text-align: left;
}
.p07-material-card .p07-evidence-token {
  display: inline;
  margin: 0;
  padding: 0 .04em;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg,transparent 54%,rgba(92,191,167,.25) 54%,rgba(92,191,167,.25) 94%,transparent 94%);
  box-shadow: none;
  color: #08746f;
  font: inherit;
  font-weight: 850;
  line-height: inherit;
  text-align: inherit;
  cursor: pointer;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.p07-material-card h3 { font-size: 18.5px; line-height: 1.08; }
.p07-material-card p { font-size: 21px; font-weight: 400; line-height: 1.47; letter-spacing: 0; }
.p07-material-card .p07-evidence-token:hover,
.p07-material-card .p07-evidence-token:focus-visible {
  outline: 2px solid transparent;
  background: linear-gradient(180deg,transparent 47%,rgba(60,170,148,.36) 47%,rgba(60,170,148,.36) 96%,transparent 96%);
  text-decoration: underline;
  text-decoration-color: rgba(8,123,118,.55);
  text-underline-offset: 3px;
}
.p07-link-activity {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0,1fr) 28px;
  gap: 3px;
  padding: 5px 9px;
  border: 1px solid #a9cbc6;
  border-radius: 11px;
  background: rgba(255,255,253,.94);
  box-shadow: 0 4px 12px rgba(31,75,72,.045);
}
.p07-link-board {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 28px;
}
.p07-connection-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}
.p07-connection {
  fill: none;
  stroke: #16867f;
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 1px 1px rgba(16,93,89,.14));
}
.p07-connection.preview {
  stroke: #0a6968;
  stroke-width: 4;
}
.p07-match-column {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 25px minmax(0,1fr);
  gap: 3px;
}
.p07-match-column h4 {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #176260;
  font-family: var(--display);
  font-size: 19px;
  white-space: nowrap;
}
.p07-match-column h4 span {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid #4b9790;
  border-radius: 50%;
  color: #16746f;
  font-family: var(--sans);
  font-size: 12px;
}
.p07-match-column > div {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(3,minmax(0,1fr));
  gap: 5px;
}
.p07-match-node {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 1px solid #b7d0cc;
  border-radius: 8px;
  background: #fbfdfb;
  color: #294f55;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
  cursor: pointer;
  transition: border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;
}
.p07-match-node:hover,
.p07-match-node:focus-visible,
.p07-match-node.available {
  outline: none;
  border-color: #4d968f;
  background: #f0f8f5;
  box-shadow: 0 0 0 2px rgba(22,124,117,.08);
}
.p07-match-node.reached {
  border-color: #278d85;
  background: #e5f3ef;
  color: #116b67;
  box-shadow: 0 3px 8px rgba(20,101,96,.09);
}
.p07-match-node.selected {
  border-color: #087b76;
  background: #d9efe9;
  color: #075e5b;
  box-shadow: 0 0 0 3px rgba(8,123,118,.15);
  transform: translateY(-1px);
}
.p07-match-node.available {
  border-style: dashed;
  border-color: #54a49b;
  background: #f5faf8;
}
.p07-match-node.preview {
  border-color: #087b76;
  background: #d9efe9;
  box-shadow: 0 0 0 3px rgba(8,123,118,.14);
  transform: translateY(-1px);
}
.p07-match-node.invalid {
  border-color: #b4683d;
  background: #fff2e8;
  color: #96502e;
  animation: p07-shake .36s ease;
}
.p07-scale-stage.complete .p07-match-node {
  padding-inline: 1px;
  letter-spacing: -.07em;
  text-wrap: wrap;
}
.p07-scale-stage.complete .p07-link-activity {
  grid-template-rows: minmax(0,1fr) 24px;
  padding-block: 3px;
}
.p07-scale-stage.complete .p07-match-column {
  grid-template-rows: 20px minmax(0,1fr);
  gap: 2px;
}
.p07-scale-stage.complete .p07-match-column > div { gap: 2px; }
.p07-submit-bar {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 0;
  border-left: 4px solid #168a83;
  border-radius: 8px;
  background: linear-gradient(90deg,#f5faf8,#fffefb);
  color: #587672;
}
.p07-submit-status {
  min-width: 0;
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p07-submit-bar button {
  min-width: 104px;
  height: 27px;
  padding: 0 18px;
  border: 1px solid #177b74;
  border-radius: 999px;
  background: #177b74;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(16,100,94,.15);
}
.p07-submit-bar button:hover,
.p07-submit-bar button:focus-visible { outline: none; background: #0f6964; box-shadow: 0 0 0 3px rgba(23,123,116,.14); }
.p07-submit-bar button:disabled { border-color: #5a9b73; background: #5a9b73; cursor: default; box-shadow: none; }
.p07-submit-bar.is-error {
  border-left-color: #b4683d;
  background: linear-gradient(90deg,#fff3e9,#fffefb);
  color: #995026;
}
.p07-submit-bar.is-error .p07-guidance-step { border-color: #ca906d; color: #a95a30; }
.p07-submit-bar.is-error button { border-color: #b4683d; background: #b4683d; }
.p07-submit-bar.is-success { color: #2f713d; }
@keyframes p07-shake {
  0%,100% { transform: translateX(0); }
  33% { transform: translateX(-4px); }
  66% { transform: translateX(4px); }
}
.p07-live-message {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.p07-nesting-summary {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 90px minmax(0,1fr) 240px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .3s ease,transform .3s ease,border-color .3s ease,background .3s ease;
}
.p07-nesting-summary.visible {
  border-color: #6caaa3;
  background: linear-gradient(90deg,#e9f5f1,#fffefb,#edf6f2);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.p07-nesting-summary h3 {
  margin: 0;
  color: #126764;
  font-family: var(--display);
  font-size: 22px;
}
.p07-summary-copy p {
  margin: 0 0 5px;
  color: #234e55;
  font-size: 19px;
  font-weight: 800;
}
.p07-summary-copy > div {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  align-items: start;
  gap: 2px;
}
.p07-summary-copy strong {
  color: #176966;
  font-size: 19px;
  line-height: 1;
  white-space: nowrap;
}
.p07-summary-copy ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 0;
  list-style: none;
}
.p07-summary-copy li {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #315f61;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.12;
  white-space: nowrap;
}
.p07-summary-copy li::before { content: none; }
.p07-summary-copy li b {
  flex: none;
  color: #126764;
  font-weight: 900;
}
.p07-summary-copy li span { min-width: 0; }
.p07-summary-highlight {
  padding: 0 .06em;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(180deg,transparent 52%,rgba(49,174,194,.24) 52%,rgba(49,174,194,.24) 94%,transparent 94%);
  color: inherit;
  font: inherit;
  box-shadow: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.p07-summary-progression {
  display: grid;
  grid-template-columns: 50px minmax(0,1fr);
  align-items: center;
  gap: 6px;
}
.p07-nesting-label {
  display: grid;
  gap: 4px;
  color: #176966;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
  transform: translateX(-24px);
}
.p07-nesting-label span { white-space: nowrap; }
.p07-scale-nesting {
  position: relative;
  min-height: 0;
  height: 86px;
  width: calc(100% + 4px);
  margin-left: -4px;
}
.p07-scale-ring {
  position: absolute;
  border: 1px solid #68aaa3;
  border-radius: 7px;
  color: #176966;
}
.p07-scale-ring > span {
  position: absolute;
  right: 7px;
  bottom: 1px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  padding-inline: 3px;
}
.p07-scale-ring-national {
  inset: 0;
  background: rgba(79,166,155,.045);
}
.p07-scale-ring-national > span { background: #edf6f2; }
.p07-scale-ring-bay {
  top: 5px;
  right: 20px;
  bottom: 24px;
  left: 5px;
  background: rgba(79,166,155,.075);
}
.p07-scale-ring-bay > span { background: #e8f3ef; transform: translateY(-1px); }
.p07-scale-ring-bay > span { font-size: 18px; }
.p07-scale-ring-nearby {
  top: 5px;
  right: 36px;
  bottom: 26px;
  left: 5px;
  display: grid;
  place-items: center;
  background: rgba(79,166,155,.12);
}
.p07-scale-ring-nearby b {
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width:1350px),(max-height:760px) {
  .common-revision-sample.slice-p07 .p07-combined-stage { grid-template-rows: 48px minmax(0,1fr); }
  .p07-scale-stage { grid-template-rows: 220px minmax(0,1fr) 0; gap: 5px; padding: 7px 9px 8px; }
  .p07-scale-stage.complete { grid-template-rows: 220px minmax(0,1fr) 92px; gap: 3px; }
  .p07-material-grid { gap: 6px; }
  .p07-material-card { gap: 2px; padding: 7px 9px 6px; border-radius: 9px; }
  .p07-material-card > header { grid-template-columns: 24px minmax(0,1fr); gap: 5px; }
  .p07-material-card > header > span { width: 24px; height: 24px; }
  .p07-material-card > header > .p06-material-icon img { width: 17px; height: 17px; }
  .p07-material-card h3 { font-size: 13.5px; line-height: 1.08; }
  .p07-material-card p { font-size: 15px; line-height: 1.47; }
  .p07-material-card .p07-evidence-token { padding-inline: .04em; border-radius: 0; }
  .p07-link-activity { grid-template-rows: minmax(0,1fr) 25px; gap: 3px; padding: 4px 6px 5px; border-radius: 8px; }
  .p07-link-board { gap: 18px; }
  .p07-connection { stroke-width: 2.2; }
  .p07-connection.preview { stroke-width: 3; }
  .p07-match-column { grid-template-rows: 20px minmax(0,1fr); gap: 3px; }
  .p07-match-column h4 { gap: 3px; font-size: 12px; }
  .p07-match-column h4 span { width: 16px; height: 16px; font-size: 9px; }
  .p07-match-column > div { gap: 3px; }
  .p07-match-node { padding: 3px 4px; border-radius: 6px; font-size: 13px; line-height: 1.12; }
  .p07-scale-stage.complete .p07-link-activity { grid-template-rows: minmax(0,1fr) 22px; padding: 2px 6px 3px; }
  .p07-scale-stage.complete .p07-match-column { grid-template-rows: 18px minmax(0,1fr); gap: 2px; }
  .p07-scale-stage.complete .p07-match-column > div { gap: 2px; }
  .p07-submit-bar { gap: 7px; padding: 0 7px; border-left-width: 3px; border-radius: 6px; }
  .p07-submit-status { font-size: 13px; }
  .p07-submit-bar button { min-width: 76px; height: 22px; padding: 0 10px; font-size: 10px; }
  .p07-nesting-summary { grid-template-columns: 70px minmax(0,1fr) 165px; gap: 8px; padding: 0 8px; border-radius: 7px; }
  .p07-nesting-summary h3 { font-size: 15px; }
  .p07-summary-copy p { margin-bottom: 3px; font-size: 13px; }
  .p07-summary-copy > div { gap: 1px; }
  .p07-summary-copy strong { font-size: 13px; }
  .p07-summary-copy ul { gap: 0; }
  .p07-summary-copy li { gap: 3px; font-size: 13px; }
  .p07-summary-copy li::before { margin-right: 3px; font-size: 6px; }
  .p07-summary-progression { grid-template-columns: 34px minmax(0,1fr); gap: 4px; }
  .p07-nesting-label { gap: 3px; font-size: 15px; transform: translateX(-16px); }
  .p07-scale-nesting { height: 82px; }
  .p07-scale-ring > span { font-size: 13px; }
  .p07-scale-ring-bay > span { font-size: 12px; }
  .p07-scale-ring-nearby b { font-size: 11px; }
  .p07-scale-ring-bay { right: 14px; }
  .p07-scale-ring-nearby { right: 24px; bottom: 26px; }
}

/* Classroom-distance correction after 1280×720 visual inspection. */
.p02-evidence p,.p03-evidence p,.p05-package p,.p05-package > div { font-size: 12.5px; }
@media (max-width:1350px),(max-height:760px) {
  .p02-evidence p,.p03-evidence p,.p05-package p,.p05-package > div { font-size: 9.8px; line-height: 1.38; }
  .p02-evidence strong,.p03-evidence strong,.p05-package strong { font-size: 11.2px; }
  .p05-package header b { font-size: 10.5px; }
}

/* Final readability overrides: intentionally placed after all page-specific rules. */
.timeline-bar { grid-template-columns: 8fr 92fr; }
.timeline-track { grid-column: 2; }
.inquiry-step p { font-size: 13px; line-height: 1.52; }
.p01-atlas-grid article { grid-template-rows: auto minmax(0,1fr) minmax(32px,auto); }
.p01-atlas-grid article > b { font-size: 17px; }
.p01-atlas-grid article > span { align-self: center; padding: 5px 4px 1px; font-size: 13.5px; line-height: 1.35; }
.p01-atlas-grid article > small { padding: 2px 6px; border-radius: 999px; background: #f5ebdf; font-size: 10px; }
.p01-atlas footer { font-size: 12px; }
.p02-stage { grid-template-columns: minmax(0,57fr) minmax(300px,43fr); grid-template-rows: minmax(0,1fr) 92px; }
.p02-condition p { font-size: 12px; }
.p02-evidence-panel { gap: 9px; }
.p02-evidence { display: grid; align-content: center; padding: 10px 11px; }
.p02-evidence header small { font-size: 10px; }
.p02-evidence strong { font-size: 15px; line-height: 1.32; }
.p02-evidence p { font-size: 12px; line-height: 1.4; }
.p02-evidence-panel > footer { font-size: 10.5px; }
.p02-stage-track { position: relative; padding-right: 240px; }
.p02-stage-track b { font-size: 13px; }
.p02-stage-track small { font-size: 10px; line-height: 1.32; }
.p02-process-conclusion { position: absolute; right: 20px; top: 17px; bottom: 14px; width: 205px; display: grid; place-items: center; padding: 8px 12px; border-radius: 8px; background: #edf4f0; color: transparent; font-family: var(--display); font-size: 13px; line-height: 1.45; text-align: center; }
.p02-process-conclusion.visible { background: #176f6b; color: #fff; }
.p03-stage { grid-template-columns: minmax(0,55fr) minmax(320px,45fr); grid-template-rows: minmax(0,1fr) 66px; }
.p03-scale-card p { font-size: 11.5px; }
.p03-evidence { padding: 10px 11px; }
.p03-evidence header b { font-size: 13.5px; }
.p03-evidence header small { font-size: 10px; }
.p03-evidence strong { font-size: 14.5px; line-height: 1.32; }
.p03-evidence p { font-size: 11.5px; line-height: 1.38; }
.p03-evidence footer { font-size: 9.5px; }
.p03-synthesis span { font-size: 12.5px; }
.p05-stage { grid-template-columns: minmax(0,59fr) minmax(300px,41fr); }
.p05-package { padding: 10px 11px; }
.p05-package header small,.p05-package footer { font-size: 9.5px; }
.p05-package header b { font-size: 13.5px; }
.p05-package strong { font-size: 14px; line-height: 1.35; }
.p05-package p,.p05-package > div { font-size: 11.5px; line-height: 1.42; }
.p05-package-panel > footer { font-size: 10.5px; }
.p05-summary span { font-size: 11.5px; }
.p05-summary b { font-size: 13px; }
.p06-method-panel > header small { font-size: 10.5px; }
.p06-method-panel > header h3 { font-size: 18px; }
.p06-method-card { padding: 10px 8px; }
.p06-method-card small { font-size: 11.5px; }
.p06-method-card b { font-size: 12.5px; line-height: 1.42; }
.p06-method-card span { font-size: 10px; }
.p06-access-gate small { font-size: 10.5px; }
.p06-access-gate b { font-size: 11.5px; line-height: 1.45; }
.p06-method-panel > footer { font-size: 10px; }
.p06-method-summary span { font-size: 10.5px; }
.p06-method-summary b { font-size: 12.5px; }

@media (max-width:1350px),(max-height:760px) {
  .inquiry-step p { font-size: 10.5px; line-height: 1.42; }
  .p01-atlas-grid article > b { font-size: 12px; }
  .p01-atlas-grid article > span { font-size: 10px; }
  .p01-atlas-grid article > small { font-size: 8px; }
  .p01-atlas footer { font-size: 9.5px; }
  .p02-stage { grid-template-columns: minmax(0,55fr) minmax(260px,45fr); grid-template-rows: minmax(0,1fr) 76px; }
  .p02-condition p { font-size: 9px; }
  .p02-evidence header small { font-size: 7.5px; }
  .p02-evidence strong { font-size: 10.5px; }
  .p02-evidence p { font-size: 9px; }
  .p02-evidence-panel > footer { font-size: 8px; }
  .p02-stage-track { padding-right: 180px; }
  .p02-stage-track b { font-size: 9.5px; }
  .p02-stage-track small { font-size: 7.5px; }
  .p02-process-conclusion { right: 12px; top: 10px; bottom: 8px; width: 155px; font-size: 9.5px; }
  .p03-stage { grid-template-columns: minmax(0,53fr) minmax(280px,47fr); grid-template-rows: minmax(0,1fr) 50px; }
  .p03-scale-card p { font-size: 8.5px; }
  .p03-evidence header b { font-size: 10px; }
  .p03-evidence header small { font-size: 7.5px; }
  .p03-evidence strong { font-size: 10.5px; }
  .p03-evidence p { font-size: 8.7px; }
  .p03-evidence footer { font-size: 7px; }
  .p03-synthesis span { font-size: 8.5px; }
  .p05-stage { grid-template-columns: minmax(0,56fr) minmax(270px,44fr); }
  .p05-package header small,.p05-package footer { font-size: 7px; }
  .p05-package header b { font-size: 10px; }
  .p05-package strong { font-size: 10.5px; }
  .p05-package p,.p05-package > div { font-size: 8.7px; }
  .p05-package-panel > footer { font-size: 8px; }
  .p05-summary span { font-size: 8.5px; }
  .p05-summary b { font-size: 9.5px; }
  .p06-method-panel > header small { font-size: 8px; }
  .p06-method-panel > header h3 { font-size: 13px; }
  .p06-method-card small { font-size: 9px; }
  .p06-method-card b { font-size: 10px; }
  .p06-method-card span { font-size: 7.5px; }
  .p06-access-gate small { font-size: 8px; }
  .p06-access-gate b { font-size: 8.7px; }
  .p06-method-panel > footer { font-size: 7.5px; }
  .p06-method-summary span { font-size: 8px; }
  .p06-method-summary b { font-size: 9px; }
}

/* P10 common-revision sample: validate the ten-page shell before rollout. */
.common-revision-sample .app-header {
  grid-template-columns: 32.5% 50.5% 17%;
  padding-top: 0;
  padding-bottom: 0;
}
.common-revision-sample .phase-axis {
  gap: 6px;
  padding-right: 0;
  padding-left: 0;
}
.common-revision-sample .phase-axis-svg {
  width: 90%;
  height: auto;
  display: block;
  justify-self: center;
  overflow: hidden;
  transform: translateY(7px);
}
.common-revision-sample .phase-axis-svg img {
  display: block;
  width: 100%;
  height: auto;
}
.common-revision-sample .header-artwork {
  top: auto;
  bottom: -11px;
  transform: scale(1.1);
  transform-origin: right bottom;
}
.common-revision-sample .workbench {
  grid-template-columns: 8fr 19fr minmax(0,45fr) 28fr;
}
.common-revision-sample .course-title > small {
  font-size: 13px;
  letter-spacing: .08em;
}
.common-revision-sample .phase-stop span {
  font-size: clamp(19px,1.35vw,22px);
}
.common-revision-sample .phase-stop.active span {
  font-size: clamp(20px,1.45vw,23px);
}
.common-revision-sample .phase-stop small {
  margin-top: 2px;
  color: #526e72;
  font-size: clamp(12px,.86vw,14px);
  font-weight: 750;
  letter-spacing: .015em;
}
.common-revision-sample .phase-stop > span,
.common-revision-sample .phase-stop > small {
  position: relative;
  z-index: 1;
}
.common-revision-sample .phase-stop.active {
  min-height: 78px;
  margin: -9px 1px;
  padding: 5px 5px 13px;
}
.common-revision-sample .phase-stop.active::after { display: none; }
.common-revision-sample .phase-stop.active span { text-shadow: none; }
.common-revision-sample .phase-highlight-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.common-revision-sample .space-axis,
.common-revision-sample .inquiry-rail,
.common-revision-sample .map-stage,
.common-revision-sample .concept-card {
  height: 100%;
}
.common-revision-sample .concept-rail.has-source-summary {
  display: grid;
  grid-template-rows: minmax(0,1fr) 114px;
  gap: 8px;
}
.common-revision-sample .concept-rail.has-source-summary .concept-card {
  height: auto;
}
.common-revision-sample .space-axis {
  padding: 12px 8px 10px;
  grid-template-rows: 54px minmax(0,1fr);
}
.common-revision-sample .space-axis header,
.common-revision-sample .inquiry-header,
.common-revision-sample .concept-title {
  position: relative;
  height: 54px;
  min-height: 54px;
  margin: 0;
  padding: 0 4px 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
}
.common-revision-sample .space-axis header::after,
.common-revision-sample .inquiry-header::after,
.common-revision-sample .concept-title::after {
  right: 0;
  bottom: 5px;
  left: 0;
  width: auto;
  height: 1px;
  margin: 0;
  background: linear-gradient(90deg,#176574 0 46%,transparent 46% 54%,#176574 54% 100%);
}
.common-revision-sample .space-axis header::before,
.common-revision-sample .inquiry-header::before,
.common-revision-sample .concept-title::before {
  bottom: 1px;
  width: 8px;
  height: 8px;
}
.common-revision-sample .space-axis header b,
.common-revision-sample .inquiry-header h2,
.common-revision-sample .timeline-title b {
  font-family: var(--display);
  font-size: clamp(21px,1.5vw,25px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .025em;
}

.common-revision-sample .space-axis ol {
  height: 100%;
  margin: 0;
  padding: 2px 0;
  display: grid;
  grid-template-rows: repeat(5,minmax(0,1fr));
}
.common-revision-sample .space-axis ol::before {
  top: 10%;
  bottom: 10%;
}
.common-revision-sample .space-axis li {
  min-height: 0;
  padding-left: 42px;
  font-family: var(--display);
  font-size: clamp(16px,1.12vw,18px);
  font-weight: 900;
  line-height: 1.25;
}
.common-revision-sample .space-axis li i {
  left: 6px;
  width: 38px;
  height: 38px;
}
.common-revision-sample .space-axis li i svg {
  width: 27px;
  height: 27px;
}

.common-revision-sample .inquiry-rail {
  padding: 12px 10px 10px;
  grid-template-rows: 54px minmax(0,1fr);
}
.common-revision-sample .inquiry-chain {
  height: 100%;
  min-height: 0;
  padding: 8px 0 0;
  display: grid;
  grid-template-rows: repeat(4,minmax(0,1fr));
  gap: 8px;
}
.common-revision-sample .inquiry-step {
  min-height: 0;
  margin-left: 16px;
  padding: 11px 10px 10px 34px;
}
.common-revision-sample .inquiry-step h3 {
  font-size: clamp(17px,1.18vw,19px);
  white-space: normal;
  overflow-wrap: anywhere;
}
.common-revision-sample .inquiry-step p {
  margin-top: 6px;
  font-size: clamp(15px,1.05vw,17px);
  line-height: 1.42;
}

.common-revision-sample .map-stage {
  grid-template-rows: 66px minmax(0,1fr);
}
.common-revision-sample .stage-header {
  min-height: 66px;
  position: relative;
  padding: 12px 14px 19px;
  align-items: stretch;
  justify-content: flex-start;
  border-bottom: 0;
  background: linear-gradient(90deg,rgba(238,246,242,.94),rgba(255,254,251,.82));
}
.common-revision-sample .stage-header::before {
  content: "";
  position: absolute;
  z-index: 2;
  display: block;
  left: 50%;
  bottom: 1px;
  width: 8px;
  height: 8px;
  margin: 0;
  transform: translateX(-50%) rotate(45deg);
  background: #176574;
}
.common-revision-sample .stage-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg,#176574 0 46%,transparent 46% 54%,#176574 54% 100%);
}
.common-revision-sample .stage-heading {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}
.common-revision-sample .stage-heading small {
  flex: 0 0 auto;
  color: #08736f;
  font-family: var(--display);
  font-size: clamp(16px,1.12vw,18px);
  font-weight: 900;
  letter-spacing: .02em;
}
.common-revision-sample .stage-heading h2 {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  color: #123f4d;
  font-family: var(--display);
  font-size: clamp(18px,1.35vw,22px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.common-revision-sample.slice-p04 .stage-heading h2,
.common-revision-sample.slice-p05 .stage-heading h2 {
  letter-spacing: -.045em;
}
.common-revision-sample .p10-overview {
  grid-template-rows: 52px minmax(0,1fr) 44px;
}
.common-revision-sample .p10-overview > div {
  min-height: 0;
  margin-top: 12px;
}

.common-revision-sample .concept-map-canvas {
  grid-template-rows: 54px 30px 296px 48px minmax(120px,1fr);
  padding: 12px 10px 10px;
  gap: 0;
}
.common-revision-sample .concept-title {
  gap: 9px;
}
.common-revision-sample .concept-title small {
  color: #0f5963;
  font-family: var(--display);
  font-size: clamp(17px,1.2vw,20px);
  font-weight: 900;
  letter-spacing: .015em;
}
.common-revision-sample .concept-title b {
  font-size: clamp(23px,1.65vw,27px);
}
.common-revision-sample .concept-title small,
.common-revision-sample .concept-title b {
  transform: translateY(-.5px);
}
.common-revision-sample .inquiry-header h2 { transform: translateY(-.5px); }
.common-revision-sample .concept-columns {
  padding: 5px 0 4px;
  font-size: clamp(15px,1.06vw,17px);
}
.common-revision-sample .concept-rows {
  grid-template-rows: 72px 40px 72px 40px 72px;
  align-content: start;
}
.common-revision-sample .concept-cell {
  min-height: 56px;
  padding: 4px;
}
.common-revision-sample .concept-cell b {
  font-size: clamp(15px,calc(.98vw + 1px),17px);
}
.common-revision-sample .concept-cell small {
  font-size: clamp(13px,calc(.72vw + 3px),14.5px);
}
.common-revision-sample .concept-core-row {
  grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr) 28px minmax(0,1fr);
}
.common-revision-sample .concept-link {
  width: 28px;
  height: 20px;
}
.common-revision-sample .concept-link svg {
  width: 28px;
  height: 18px;
}
.common-revision-sample .concept-link path { stroke-width: 1.65; }
.common-revision-sample .concept-return {
  height: 40px;
}
.common-revision-sample .concept-return span {
  min-width: 126px;
  min-height: 30px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 0 17px;
  font-size: 16px;
  line-height: 1;
  transform: translateY(0);
}
.common-revision-sample .concept-return svg {
  inset: 0;
  height: 40px;
}
.common-revision-sample .concept-development svg {
  inset: 0 4% auto;
  height: 24px;
  z-index: 2;
}
.common-revision-sample .concept-development .development-vertical-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: none;
}
.common-revision-sample .concept-development b {
  height: 28px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  min-width: 180px;
  padding: 4px 16px;
  font-size: 16px;
  line-height: 1.1;
}
.common-revision-sample .concept-scale {
  margin: 4px 0 0;
  padding: 8px 7px 7px;
  transform: none;
}
.common-revision-sample .concept-scale > header {
  grid-template-columns: minmax(12px,1fr) auto minmax(12px,1fr);
  gap: 7px;
}
.common-revision-sample .concept-scale > header b {
  font-family: var(--display);
  font-size: clamp(16px,1.12vw,18px);
  white-space: nowrap;
}

/* P02/P03教师端教学文字：按用户确认的录屏字号精确锁定；学生端继续走下方响应式规则。 */
.common-revision-sample.slice-p02 .inquiry-step p { white-space: pre-line; }
.common-revision-sample.teacher-view.slice-p02 .inquiry-step h3 { font-size: 21px; }
.common-revision-sample.teacher-view.slice-p02 .inquiry-step p { margin-top: 4px; font-size: 20px; line-height: 1.32; }
.common-revision-sample.teacher-view.slice-p02 .inquiry-answer.visible { max-height: 170px; }
.common-revision-sample.slice-p02 .inquiry-step {
  opacity: .58;
  transition: opacity .28s ease, transform .28s ease, filter .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.common-revision-sample.slice-p02 .inquiry-step.answered {
  border-color: #d7e0dd;
  background: #f7f9f7;
  opacity: .88;
  filter: none;
  box-shadow: none;
}
.common-revision-sample.slice-p02 .inquiry-step.answered > span {
  background: #6f908d;
  box-shadow: none;
}
.common-revision-sample.slice-p02 .inquiry-step.answered h3 { color: #435f5d; }
.common-revision-sample.slice-p02 .inquiry-step.answered p { color: #405b59; }
.common-revision-sample.slice-p02 .inquiry-step.active {
  border-color: #4f938f;
  background: #f4faf7;
  opacity: 1;
  box-shadow: 0 6px 16px rgba(21,95,96,.10), inset 3px 0 0 #197b76;
}
.common-revision-sample.slice-p02 .inquiry-step.active > span {
  background: #0d706f;
  box-shadow: 0 5px 14px rgba(13,112,111,.24);
}
.common-revision-sample.slice-p02 .inquiry-step.active h3 { color: #0c5f61; font-weight: 900; }
.common-revision-sample.slice-p02 .inquiry-step.clickable { cursor: pointer; }
.common-revision-sample.slice-p02 .inquiry-step.clickable:focus-visible {
  outline: 2px solid rgba(17,121,117,.38);
  outline-offset: 2px;
}
.common-revision-sample.slice-p03 .inquiry-step {
  opacity: .58;
  transition: opacity .28s ease, transform .28s ease, filter .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.common-revision-sample.slice-p03 .inquiry-step.answered {
  border-color: #d7e0dd;
  background: #f7f9f7;
  opacity: .88;
  filter: none;
  box-shadow: none;
}
.common-revision-sample.slice-p03 .inquiry-step.answered > span {
  background: #6f908d;
  box-shadow: none;
}
.common-revision-sample.slice-p03 .inquiry-step.answered h3 { color: #435f5d; }
.common-revision-sample.slice-p03 .inquiry-step.answered p { color: #405b59; }
.common-revision-sample.slice-p03 .inquiry-step.active {
  border-color: #4f938f;
  background: #f4faf7;
  opacity: 1;
  box-shadow: 0 6px 16px rgba(21,95,96,.10), inset 3px 0 0 #197b76;
}
.common-revision-sample.slice-p03 .inquiry-step.active > span {
  background: #0d706f;
  box-shadow: 0 5px 14px rgba(13,112,111,.24);
}
.common-revision-sample.slice-p03 .inquiry-step.active h3 { color: #0c5f61; font-weight: 900; }
.common-revision-sample.slice-p03 .inquiry-step.clickable { cursor: pointer; }
.common-revision-sample.slice-p03 .inquiry-step.clickable:focus-visible {
  outline: 2px solid rgba(17,121,117,.38);
  outline-offset: 2px;
}
.common-revision-sample.slice-p03 .inquiry-step h3,
.common-revision-sample.slice-p03 .inquiry-step p { white-space: pre-line; }
.common-revision-sample.slice-p03 .inquiry-keyword {
  padding: 0 .04em;
  border-radius: 2px;
  background: linear-gradient(transparent 58%, rgba(43,145,136,.24) 58%);
  color: inherit;
  font-weight: 800;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.common-revision-sample.teacher-view.slice-p03 .inquiry-chain { grid-template-rows: .9fr 1.4fr 1.1fr .6fr; gap: 6px; }
.common-revision-sample.teacher-view.slice-p03 .inquiry-step { padding: 6px 8px 6px 34px; }
.common-revision-sample.teacher-view.slice-p03 .inquiry-step h3 { font-size: 21px; }
.common-revision-sample.teacher-view.slice-p03 .inquiry-step:first-child p { font-size: 19px; }
.common-revision-sample.teacher-view.slice-p03 .inquiry-step:nth-child(3) h3 { font-size: 21px; line-height: 1.28; white-space: nowrap; overflow-wrap: normal; }
.common-revision-sample.teacher-view.slice-p03 .inquiry-step p { margin-top: 4px; font-size: 20px; line-height: 1.32; }
.common-revision-sample.teacher-view.slice-p03 .inquiry-answer.visible { max-height: 200px; }
.common-revision-sample.teacher-view.slice-p03 .inquiry-step:nth-child(4) h3 { line-height: 1.15; }
.common-revision-sample.teacher-view.slice-p03 .stage-heading h2 { font-size: 21px; }
.common-revision-sample .scale-grid {
  height: calc(100% - 25px);
  margin-top: 6px;
}
.common-revision-sample .scale-grid article {
  grid-template-rows: 24px minmax(46px,1fr) 34px;
  align-content: center;
  padding: 5px 7px 7px;
}
.common-revision-sample .scale-grid article small {
  color: var(--ink-soft);
  font-size: clamp(15px,1.02vw,17px);
  line-height: 1.1;
  font-weight: 800;
}
.common-revision-sample .scale-grid article .scale-icon,
.common-revision-sample .scale-grid article .scale-icon-placeholder {
  align-self: center;
  justify-self: center;
  width: 48px;
  height: 48px;
}
.common-revision-sample .scale-grid article .scale-icon-nearby { width: 35.2px; height: 40px; }
.common-revision-sample .scale-grid article .scale-icon-region { width: 45.6px; height: 36.8px; }
.common-revision-sample .scale-grid article .scale-icon-global { width: 38.4px; height: 38.4px; }
.common-revision-sample .scale-grid article b {
  align-self: end;
  color: var(--teal-deep);
  font-family: var(--display);
  font-size: clamp(20px,1.42vw,23px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .025em;
}
.common-revision-sample .concept-source-summary {
  min-height: 0;
  margin: 0;
  padding: 11px 13px;
  overflow: hidden;
  border: 1px solid #9eb7b5;
  border-radius: 8px;
  background: rgba(255,254,250,.94);
  box-shadow: 0 7px 20px rgba(18,57,63,.04);
}
.common-revision-sample .concept-source-summary b {
  display: block;
  color: #9e5436;
  font-family: var(--display);
  font-size: 17px;
}
.common-revision-sample .concept-source-summary p {
  margin: 4px 0 0;
  color: #526c70;
  font-size: 11.5px;
  line-height: 1.32;
}
.common-revision-sample.slice-p02 .concept-source-summary p {
  font-size: 15px;
  line-height: 1.32;
}
.common-revision-sample.slice-p03 .concept-source-summary b,
.common-revision-sample.slice-p03 .concept-source-summary p {
  font-size: 15px;
}
.common-revision-sample.slice-p01 .concept-source-summary b,
.common-revision-sample.slice-p01 .concept-source-summary p {
  font-size: 15px;
}
.common-revision-sample.slice-p03 .concept-source-summary p {
  line-height: 1.35;
}
.common-revision-sample.slice-p05 .concept-source-summary b,
.common-revision-sample.slice-p05 .concept-source-summary p {
  font-size: 15px;
}
.common-revision-sample.slice-p05 .concept-source-summary p {
  line-height: 1.32;
}
.common-revision-sample.slice-p06 .concept-source-summary p {
  font-size: 15px;
  line-height: 1.32;
}
.common-revision-sample.slice-p07 .concept-source-summary b,
.common-revision-sample.slice-p07 .concept-source-summary p {
  font-size: 15px;
}
.common-revision-sample.slice-p07 .concept-source-summary p { line-height: 1.35; }
.common-revision-sample.slice-p09 .concept-source-summary b,
.common-revision-sample.slice-p09 .concept-source-summary p {
  font-size: 15px;
}
.common-revision-sample.slice-p09 .concept-source-summary p { margin: 2px 0 0; line-height: 1.2; }
.common-revision-sample.slice-p10 .concept-source-summary b,
.common-revision-sample.slice-p10 .concept-source-summary p {
  font-size: 15px;
}
.common-revision-sample.slice-p10 .concept-source-summary p {
  line-height: 1.32;
}

.common-revision-sample .time-stop {
  font-family: var(--display);
  font-size: clamp(16px,1.12vw,18px);
  font-weight: 900;
}

@media (max-width:1350px),(max-height:760px) {
  .common-revision-sample .course-title > small { font-size: 10px; }
  .common-revision-sample .phase-axis-svg { transform: translateY(5px); }
  .common-revision-sample .header-artwork { top: auto; bottom: -8px; }
  .common-revision-sample .phase-stop span,
  .common-revision-sample .phase-stop.active span { font-size: 16px; }
  .common-revision-sample .phase-stop small { font-size: 9.5px; }
  .common-revision-sample .phase-stop.active { min-height: 60px; margin: -5px 0; padding: 3px 3px 9px; }

  .common-revision-sample .concept-rail.has-source-summary {
    grid-template-rows: minmax(0,1fr) 94px;
    gap: 6px;
  }
  .common-revision-sample.slice-p05 .concept-rail.has-source-summary {
    grid-template-rows: minmax(0,1fr) 122px;
  }
  .common-revision-sample .space-axis { grid-template-rows: 41px minmax(0,1fr); padding: 7px 5px; }
  .common-revision-sample .space-axis header,
  .common-revision-sample .inquiry-header,
  .common-revision-sample .concept-title { height: 41px; min-height: 41px; padding-bottom: 12px; }
  .common-revision-sample .space-axis header::after,
  .common-revision-sample .inquiry-header::after,
  .common-revision-sample .concept-title::after { bottom: 3px; }
  .common-revision-sample .space-axis header::before,
  .common-revision-sample .inquiry-header::before,
  .common-revision-sample .concept-title::before { bottom: 0; width: 6px; height: 6px; }
  .common-revision-sample .space-axis header b,
  .common-revision-sample .inquiry-header h2,
  .common-revision-sample .timeline-title b { font-size: 17px; }
  .common-revision-sample .space-axis li { padding-left: 31px; font-size: 12px; }
  .common-revision-sample .space-axis li i { left: 4px; width: 29px; height: 29px; }
  .common-revision-sample .space-axis li i svg { width: 21px; height: 21px; }

  .common-revision-sample .inquiry-rail { grid-template-rows: 41px minmax(0,1fr); padding: 7px 6px; }
  .common-revision-sample .inquiry-chain { padding-top: 5px; gap: 5px; }
  .common-revision-sample .inquiry-step { margin-left: 12px; padding: 7px 5px 7px 25px; }
  .common-revision-sample .inquiry-step h3 { font-size: 13.5px; white-space: normal; }
  .common-revision-sample .inquiry-step p { margin-top: 3px; font-size: 11.5px; line-height: 1.36; }
  .common-revision-sample.student-view.slice-p02 .inquiry-step h3 { font-size: 14px; }
  .common-revision-sample.student-view.slice-p02 .inquiry-step p { font-size: 13px; line-height: 1.3; }
  .common-revision-sample.student-view.slice-p03 .inquiry-step p { font-size: 13px; line-height: 1.3; }

  .common-revision-sample .map-stage { grid-template-rows: 48px minmax(0,1fr); }
  .common-revision-sample .stage-header { min-height: 48px; padding: 7px 9px 12px; }
  .common-revision-sample .stage-header::after { bottom: 3px; }
  .common-revision-sample .stage-header::before { bottom: 0; width: 6px; height: 6px; }
  .common-revision-sample .stage-heading { gap: 8px; }
  .common-revision-sample .stage-heading small { font-size: 11.5px; }
  .common-revision-sample .stage-heading h2 { font-size: 14px; }
  .common-revision-sample .p10-overview {
    grid-template-columns: 1fr;
    grid-template-rows: 48px minmax(0,1fr) 32px;
  }
  .common-revision-sample .p10-overview > div { margin-top: 8px; }

  .common-revision-sample .concept-map-canvas {
    grid-template-rows: 41px 23px 230px 36px minmax(72px,1fr);
    padding: 7px 6px 6px;
  }
  .common-revision-sample .concept-title { gap: 5px; }
  .common-revision-sample .concept-title small { font-size: 12px; }
  .common-revision-sample .concept-title b { font-size: 18px; }
  .common-revision-sample .concept-columns { padding: 3px 0 2px; font-size: 10px; }
  .common-revision-sample .concept-rows { grid-template-rows: 56px 31px 56px 31px 56px; align-content: start; }
  .common-revision-sample .concept-cell { min-height: 42px; padding: 3px 2px; }
  .common-revision-sample .concept-cell b { font-size: 11.5px; }
  .common-revision-sample .concept-cell small { font-size: 11.2px; }
  .common-revision-sample .concept-core-row { grid-template-columns: minmax(0,1fr) 19px minmax(0,1fr) 19px minmax(0,1fr); }
  .common-revision-sample .concept-link { width: 19px; height: 15px; }
  .common-revision-sample .concept-link svg { width: 19px; height: 14px; }
  .common-revision-sample .concept-return { height: 31px; }
  .common-revision-sample .concept-return span { min-width: 92px; min-height: 21px; padding: 0 9px; font-size: 12px; }
  .common-revision-sample .concept-return svg { inset: 0; height: 31px; }
  .common-revision-sample .concept-development svg { inset: 0 4% auto; height: 18px; }
  .common-revision-sample .concept-development .development-vertical-arrow path { stroke-width: 1.6; }
  .common-revision-sample .concept-development b { min-width: 136px; height: 18px; padding: 2px 9px; font-size: 12.5px; }
  .common-revision-sample .concept-scale { margin: 3px 0 0; padding: 5px; transform: none; }
  .common-revision-sample .concept-scale > header b { font-size: 10.8px; }
  .common-revision-sample .scale-grid { height: calc(100% - 17px); margin-top: 3px; }
  .common-revision-sample .scale-grid article { grid-template-rows: 18px minmax(30px,1fr) 24px; padding: 3px 4px 5px; }
  .common-revision-sample .scale-grid article small { font-size: 13px; }
  .common-revision-sample .scale-grid article .scale-icon,
  .common-revision-sample .scale-grid article .scale-icon-placeholder { width: 29px; height: 29px; }
  .common-revision-sample .scale-grid article .scale-icon-nearby { width: 21.6px; height: 24.8px; }
  .common-revision-sample .scale-grid article .scale-icon-region { width: 28px; height: 22.4px; }
  .common-revision-sample .scale-grid article .scale-icon-global { width: 23.2px; height: 23.2px; }
  .common-revision-sample .scale-grid article b { font-size: 14.5px; line-height: 1.05; }
  .common-revision-sample .concept-source-summary { padding: 6px 8px; }
  .common-revision-sample .concept-source-summary b { font-size: 11.5px; }
  .common-revision-sample .concept-source-summary p { margin-top: 2px; font-size: 9.5px; line-height: 1.28; }
  .common-revision-sample.slice-p02 .concept-source-summary p { font-size: 15px; line-height: 1.32; }
  .common-revision-sample.slice-p06 .concept-source-summary p { font-size: 15px; line-height: 1.32; }
  .common-revision-sample.slice-p07 .concept-source-summary b,
  .common-revision-sample.slice-p07 .concept-source-summary p { font-size: 15px; }
  .common-revision-sample.slice-p07 .concept-source-summary p { line-height: 1.35; }
  .common-revision-sample.slice-p09 .concept-source-summary b,
  .common-revision-sample.slice-p09 .concept-source-summary p { font-size: 15px; }
  .common-revision-sample.slice-p09 .concept-source-summary p { margin: 2px 0 0; line-height: 1.2; }
  .common-revision-sample.slice-p03 .concept-source-summary b,
  .common-revision-sample.slice-p03 .concept-source-summary p { font-size: 11.5px; }
  .common-revision-sample.slice-p03 .concept-source-summary p { line-height: 1.35; }
  .common-revision-sample.slice-p05 .concept-source-summary b,
  .common-revision-sample.slice-p05 .concept-source-summary p { font-size: 15px; }
  .common-revision-sample.slice-p05 .concept-source-summary p { line-height: 1.32; }
  .common-revision-sample .time-stop { font-size: 12px; }
}

/* P01｜生活情境“深圳人的朋友圈”：合并问题链与材料舞台。 */
.common-revision-sample.slice-p01 .p01-combined-stage {
  grid-column: 2 / 4;
  display: grid;
  grid-template-rows: minmax(0,1fr);
}
.common-revision-sample.slice-p01 .p01-combined-stage > .stage-header { display: none; }
.common-revision-sample.slice-p01 .p01-combined-stage > .map-shell {
  width: auto;
  height: calc(100% - 16px);
  min-height: 0;
  margin: 8px 9px;
  overflow: hidden;
  border-radius: 9px;
  background: #f8fbfa;
  box-shadow: inset 0 0 0 1px #a9c9c6;
}
.p01-friends-stage {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0,1.86fr) minmax(205px,1fr);
  background: #f8fbfa;
}
.p01-feed {
  position: relative;
  --p01-post-y-adjust: -2px;
  --p01-selected-meta-x-adjust: 2px;
  container-type: inline-size;
  min-height: 0;
  overflow: hidden;
  border-bottom: 0;
  background: #f9fbfa;
}
.p01-feed-base {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.p01-feed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,rgba(255,255,255,.05),transparent 54%,rgba(241,248,246,.2));
}
.p01-feed-heading {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 24.5%;
  width: 37%;
  color: #123f4d;
}
.p01-feed-heading small {
  color: #b06b38;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
}
.p01-feed-heading h2 {
  margin: 2px 0 2px;
  color: #0e666a;
  font-family: var(--display);
  font-size: clamp(24px,1.9vw,31px);
  letter-spacing: .02em;
}
.p01-feed-heading p {
  margin: 0;
  color: #34565e;
  font-size: clamp(12px,.9vw,15px);
  font-weight: 750;
}
.p01-guide-bubble {
  position: absolute;
  z-index: 2;
  top: 26px;
  right: 11.6%;
  width: 19%;
  color: #12666a;
  font-size: clamp(11px,.84vw,14px);
  font-weight: 800;
  line-height: 1.48;
  text-align: left;
}
.p01-moment-caption {
  position: absolute;
  z-index: 3;
  bottom: 10px;
  width: 23.1%;
  min-height: 66px;
  padding: 7px 9px 5px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-rows: auto minmax(0,1fr);
  column-gap: 5px;
  border: 1px solid rgba(153,186,183,.7);
  border-radius: 8px;
  background: rgba(255,255,252,.95);
  box-shadow: 0 8px 18px rgba(19,63,68,.08);
}
.p01-moment-caption-1 { left: 1%; }
.p01-moment-caption-2 { left: 25.9%; }
.p01-moment-caption-3 { left: 50.7%; }
.p01-moment-caption-4 { left: 75.6%; }
.p01-moment-caption b {
  color: #164a56;
  font-family: var(--display);
  font-size: 12px;
}
.p01-moment-caption p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: #314f56;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.34;
}
.p01-moment-caption div {
  display: flex;
  gap: 5px;
}
.p01-moment-caption div img { width: 14px; height: 14px; }

.p01-activity {
  position: relative;
  min-height: 0;
  padding: 7px 12px 9px;
  display: grid;
  grid-template-rows: 37px 64px minmax(0,1fr);
  gap: 6px;
  background: linear-gradient(180deg,#fffefb,#f4f9f7);
}
.p01-activity > header {
  display: grid;
  grid-template-columns: minmax(0,1fr) 78px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #d6e3e0;
}
.p01-activity > header > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.p01-activity > header small {
  color: #b36e3b;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
}
.p01-activity > header h2 {
  margin: 0;
  overflow: hidden;
  color: #174c57;
  font-family: var(--display);
  font-size: clamp(15px,1.13vw,18px);
  white-space: nowrap;
}
.p01-activity > header p {
  margin: 0;
  color: #718789;
  font-size: 10px;
}
.p01-submit,
.p01-feedback button {
  min-height: 28px;
  border: 1px solid #08746e;
  border-radius: 999px;
  background: linear-gradient(135deg,#0a8b82,#08716f);
  color: white;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(9,112,108,.14);
  cursor: pointer;
}
.p01-submit:hover,
.p01-feedback button:hover { filter: brightness(1.06); }
.p01-card-bank {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 7px;
}
.p01-drag-card {
  min-width: 0;
  min-height: 0;
  padding: 5px 7px;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  align-items: center;
  gap: 7px;
  border: 1px solid #a9c4c0;
  border-radius: 7px;
  background: #fffefb;
  color: #244b53;
  font: inherit;
  text-align: left;
  box-shadow: 0 4px 10px rgba(18,66,69,.05);
  cursor: grab;
  touch-action: none;
}
.p01-drag-card:hover,
.p01-drag-card.selected {
  border-color: #14827d;
  background: #edf7f3;
  box-shadow: 0 0 0 2px rgba(20,130,125,.1);
}
.p01-drag-card.dragging { opacity: .38; }
.p01-drag-card img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}
.p01-drag-card span {
  display: -webkit-box;
  overflow: hidden;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.p01-drag-card.placed {
  width: 100%;
  height: 100%;
  padding: 3px 5px;
  grid-template-columns: minmax(0,1fr);
  border: 0;
  border-radius: 5px;
  background: #f7fbf8;
  box-shadow: none;
}
.p01-drag-card.placed img { width: 22px; height: 22px; }
.p01-drag-card.placed span { font-size: 19px; }
.p01-bank-empty {
  grid-column: 1 / -1;
  align-self: center;
  margin: 0;
  color: #52807c;
  font-size: 16px;
  text-align: center;
}
.p01-drop-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
}
.p01-drop-zone {
  min-width: 0;
  min-height: 0;
  padding: 5px;
  display: grid;
  grid-template-rows: 30px minmax(0,1fr);
  border: 1.5px dashed #54a7a4;
  border-radius: 9px;
  background: rgba(246,251,248,.74);
  cursor: pointer;
}
.p01-drop-zone.drag-over {
  border-style: solid;
  border-color: #087b76;
  background: #e4f3ef;
  box-shadow: 0 0 0 3px rgba(8,123,118,.09);
}
.p01-drop-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.p01-drop-label img { width: 25px; height: 25px; object-fit: contain; }
.p01-drop-label b {
  color: #155762;
  font-family: var(--display);
  font-size: 13px;
}
.p01-drop-content {
  min-height: 0;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255,255,255,.55);
}
.p01-drop-content > span {
  color: #82a09d;
  font-size: 10px;
}
.p01-live-message {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.p01-pointer-ghost {
  position: fixed;
  z-index: 1000;
  width: 210px;
  min-height: 48px;
  transform: translate(-50%,-50%) rotate(-1deg);
  pointer-events: none;
  opacity: .93;
  box-shadow: 0 12px 30px rgba(12,65,68,.2);
}
.p01-feedback {
  position: absolute;
  z-index: 20;
  inset: 7px 12px 9px;
  padding: 12px 24px;
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) 150px;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  column-gap: 18px;
  border: 1px solid #95bdb9;
  border-radius: 12px;
  background:
    radial-gradient(circle at 8% 18%,rgba(77,183,169,.12),transparent 22%),
    linear-gradient(145deg,#fffefc,#eff8f5);
  box-shadow: 0 15px 42px rgba(16,73,76,.16);
}
.p01-feedback-symbol {
  grid-row: 1 / 3;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #19a187;
  color: white;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
.p01-feedback.failure { border-color: #e5a48d; }
.p01-feedback.failure .p01-feedback-symbol { background: #e54f32; }
.p01-feedback h2 {
  align-self: end;
  margin: 0;
  color: #0e6568;
  font-family: var(--display);
  font-size: 27px;
}
.p01-feedback.failure h2 { color: #cf3e24; }
.p01-feedback p {
  align-self: start;
  margin: 4px 0 0;
  color: #335861;
  font-size: 17px;
  font-weight: 700;
}
.p01-feedback button {
  grid-column: 3;
  grid-row: 1 / 3;
  min-height: 48px;
  font-size: 20px;
}
.p01-feedback.p01-transition {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: minmax(0,1fr);
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.p01-activity:has(.p01-transition) {
  background: transparent;
}
.p01-activity:has(.p01-transition) > :not(.p01-transition) {
  visibility: hidden;
}
.p01-transition img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width:1350px),(max-height:760px) {
  .common-revision-sample.slice-p01 .p01-combined-stage > .map-shell {
    height: calc(100% - 12px);
    margin: 6px 7px;
  }
  .p01-friends-stage { grid-template-rows: minmax(0,1.9fr) minmax(165px,1fr); }
  .p01-feed-heading { top: 11px; }
  .p01-feed-heading small { font-size: 8px; }
  .p01-feed-heading h2 { margin: 1px 0; font-size: 20px; }
  .p01-feed-heading p { font-size: 9.5px; }
  .p01-guide-bubble { top: 16px; font-size: 8.6px; line-height: 1.42; }
  .p01-moment-caption { bottom: 6px; min-height: 52px; padding: 5px 6px 4px; }
  .p01-moment-caption b { font-size: 9px; }
  .p01-moment-caption p { font-size: 7.7px; line-height: 1.27; }
  .p01-moment-caption div { gap: 3px; }
  .p01-moment-caption div img { width: 10px; height: 10px; }
  .p01-activity { padding: 5px 8px 6px; grid-template-rows: 29px 52px minmax(0,1fr); gap: 4px; }
  .p01-activity > header { grid-template-columns: minmax(0,1fr) 60px; gap: 6px; }
  .p01-activity > header > div { gap: 5px; }
  .p01-activity > header small { font-size: 7px; }
  .p01-activity > header h2 { font-size: 11.5px; }
  .p01-activity > header p { font-size: 7px; }
  .p01-submit { min-height: 23px; font-size: 10px; }
  .p01-card-bank { gap: 4px; }
  .p01-drag-card { padding: 3px 4px; grid-template-columns: minmax(0,1fr); gap: 0; border-radius: 5px; }
  .p01-drag-card img { width: 19px; height: 19px; }
  .p01-drag-card span { font-size: 14.7px; line-height: 1.14; }
  .p01-drop-grid { gap: 5px; }
  .p01-drop-zone { padding: 3px; grid-template-rows: 23px minmax(0,1fr); border-radius: 6px; }
  .p01-drop-label { gap: 4px; }
  .p01-drop-label img { width: 18px; height: 18px; }
  .p01-drop-label b { font-size: 9.5px; }
  .p01-drop-content > span { font-size: 7px; }
  .p01-drag-card.placed { grid-template-columns: minmax(0,1fr); padding: 2px 3px; }
  .p01-drag-card.placed img { width: 16px; height: 16px; }
  .p01-drag-card.placed span { font-size: 14.7px; }
  .p01-bank-empty { font-size: 13px; }
  .p01-feedback { inset: 5px 8px 6px; grid-template-columns: 52px minmax(0,1fr) 112px; padding: 8px 16px; column-gap: 12px; }
  .p01-feedback-symbol { width: 46px; height: 46px; font-size: 31px; }
  .p01-feedback h2 { font-size: 20px; }
  .p01-feedback p { font-size: 13px; }
  .p01-feedback button { min-height: 37px; font-size: 14px; }
  .p01-feedback.p01-transition {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: minmax(0,1fr);
    padding: 0;
  }
}

/* P01 reference-fidelity pass: reproduce approved text hierarchy and card geometry. */
.p01-feed-heading {
  top: 32px;
  width: 48%;
}
.p01-feed-heading h2 {
  margin: 0 0 10px;
  color: #0e666a;
  font-family: var(--display);
  font-size: clamp(26px,1.9vw,30px);
  line-height: 1.08;
  letter-spacing: .015em;
  white-space: nowrap;
}
.p01-feed-heading h2 span { color: #0d6669; }
.p01-feed-heading h2 i {
  margin-left: 4px;
  color: #3b9fa1;
  font-family: var(--sans);
  font-size: .82em;
  font-style: normal;
}
.p01-feed-heading p {
  width: 86%;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: .04em;
  text-align: left;
  transform: none;
}
.p01-guide-bubble {
  top: 34px;
  right: 12%;
  width: 23.5%;
  font-size: 18px;
  line-height: 1.48;
}
.p01-moment-caption {
  top: 132px;
  bottom: 5px;
  min-height: 0;
  padding: 0;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}
.p01-moment-meta {
  position: absolute;
  top: 28px;
  right: 45px;
  left: 59px;
  display: grid;
  gap: 1px;
}
.p01-moment-meta b {
  color: #173f4d;
  font-family: var(--display);
  font-size: 18.5px;
  line-height: 1.1;
}
.p01-moment-meta small {
  color: #5f7880;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.1;
}
.p01-moment-caption p {
  position: absolute;
  top: 232px;
  right: 8px;
  bottom: auto;
  left: 10px;
  margin: 0;
  padding: 0;
  color: #243d44;
  font-size: 17.5px;
  font-weight: 650;
  line-height: 1.12;
  background: rgba(255,255,253,.96);
}
.p01-moment-actions {
  position: absolute;
  bottom: 7px;
  left: 10px;
  display: flex;
  gap: 9px;
}
.p01-moment-caption .p01-moment-actions img {
  width: 20px;
  height: 20px;
}
.p01-activity > header {
  grid-template-columns: minmax(0,1fr) 90px;
}
.p01-activity > header > div { align-items: center; gap: 8px; }
.p01-activity-mark {
  width: 27.5px;
  height: 27.5px;
  object-fit: contain;
}
.p01-activity > header h2 {
  font-size: clamp(19px,1.375vw,22px);
}
.p01-activity > header h2 strong { color: #0d6770; }
.p01-submit {
  min-height: 34px;
  font-size: 16px;
}
.p01-activity > header p {
  color: #688187;
  font-size: 11.5px;
}
.p01-card-bank { gap: 8px; }
.p01-drag-card {
  padding: 6px 8px;
  grid-template-columns: minmax(0,1fr);
  gap: 0;
}
.p01-drag-card img {
  width: 31px;
  height: 31px;
}
.p01-drag-card span {
  font-size: 19px;
  line-height: 1.18;
}
.p01-drop-zone:not(.filled) {
  grid-template-rows: minmax(0,1fr) 17px;
}
.p01-drop-zone:not(.filled) .p01-drop-label {
  flex-direction: column;
  gap: 4px;
}
.p01-drop-zone:not(.filled) .p01-drop-label img {
  width: 54px;
  height: 54px;
}
.p01-drop-zone[data-scale="national"]:not(.filled) .p01-drop-label img {
  width: 62px;
  height: 62px;
  transform: translateY(3px);
}
.p01-drop-zone:not(.filled) .p01-drop-label b {
  font-size: 19px;
}
.p01-drop-zone.filled {
  grid-template-rows: 29px minmax(0,1fr);
}
.p01-drop-zone.filled .p01-drop-label img {
  width: 23px;
  height: 23px;
}
.p01-drop-zone[data-scale="national"].filled .p01-drop-label img {
  width: 27px;
  height: 27px;
  transform: translateY(1px);
}
.p01-drop-zone.filled .p01-drop-label b { font-size: 12px; }
.p01-drop-content > span { font-size: 9px; }
.p01-feedback.p01-transition { inset: 2px 13px 3px 10px; }
.p01-transition img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 98%;
  object-fit: contain;
  image-rendering: auto;
}
.p01-feed-hero-base,
.p01-feed-cards-base {
  position: absolute;
  z-index: 0;
  right: 0;
  left: 0;
  overflow: hidden;
}
.p01-feed-hero-base {
  top: 0;
  height: 135px;
}
.p01-feed-cards-base {
  top: 135px;
  bottom: 0;
}
.p01-feed-hero-base .p01-feed-base,
.p01-feed-cards-base .p01-feed-base {
  position: absolute;
  inset: auto 0 auto 0;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: initial;
}
.p01-feed-hero-base .p01-feed-base {
  top: 0;
}
.p01-feed-cards-base .p01-feed-base { top: -135px; }
.p01-moment-caption {
  /* Keep text registered to the 1448px-wide source artwork at every stage width. */
  top: 0;
}
.p01-moment-caption .p01-moment-meta {
  top: 16.95cqw;
  display: grid;
  align-content: start;
}
.p01-moment-caption p {
  top: min(38.15cqw, calc(100% - 82px));
  transform: translateY(var(--p01-post-y-adjust));
}
.p01-moment-caption-1 .p01-moment-meta,
.p01-moment-caption-2 .p01-moment-meta {
  transform: translateX(var(--p01-selected-meta-x-adjust));
}
.p01-moment-caption-2 p { left: 18px; }
.p01-moment-caption-2 .p01-moment-meta { left: 63px; }
.p01-moment-caption-2 .p01-moment-actions { left: 19px; }
.p01-moment-meta b {
  white-space: nowrap;
}

@media (max-width:1350px),(max-height:760px) {
  .p01-feed-heading { top: 19px; width: 48%; }
  .p01-feed-heading h2 { margin-bottom: 7px; font-size: 22px; }
  .p01-feed-heading p { width: 86%; font-size: 13.5px; text-align: left; transform: none; }
  .p01-guide-bubble { top: 25px; right: 12%; width: 23.5%; font-size: 14px; }
  .p01-moment-caption { top: 0; bottom: 3px; }
  .p01-moment-meta { top: 16.95cqw; right: 32px; left: 45px; }
  .p01-moment-meta b { font-size: 15.5px; }
  .p01-moment-meta small { font-size: 12.5px; }
  .p01-moment-caption p {
    top: min(38.15cqw, calc(100% - 65px));
    right: 5px;
    bottom: auto;
    left: 7px;
    padding: 0;
    font-size: 14.2px;
    line-height: 1.1;
  }
  .p01-moment-actions { bottom: 6px; left: 7px; gap: 6px; }
  .p01-moment-caption .p01-moment-actions img { width: 20px; height: 20px; }
  .p01-activity-mark { width: 20.9px; height: 20.9px; }
  .p01-activity > header { grid-template-columns: minmax(0,1fr) 72px; }
  .p01-activity > header h2 { font-size: 16px; }
  .p01-activity > header p { font-size: 8.5px; }
  .p01-submit { min-height: 29px; font-size: 12px; }
  .p01-moment-caption-2 p { left: 15px; }
  .p01-moment-caption-2 .p01-moment-meta { left: 49px; }
  .p01-moment-caption-2 .p01-moment-actions { left: 16px; }
  .p01-drag-card { padding: 4px 5px; grid-template-columns: minmax(0,1fr); gap: 0; }
  .p01-drag-card img { width: 22px; height: 22px; }
  .p01-drag-card span { font-size: 14.7px; line-height: 1.14; }
  .p01-drop-zone:not(.filled) .p01-drop-label img { width: 39px; height: 39px; }
  .p01-drop-zone[data-scale="national"]:not(.filled) .p01-drop-label img {
    width: 45px;
    height: 45px;
    transform: translateY(2px);
  }
  .p01-drop-zone:not(.filled) .p01-drop-label b { font-size: 13px; }
  .p01-drop-zone.filled { grid-template-rows: 22px minmax(0,1fr); }
  .p01-drop-zone.filled .p01-drop-label img { width: 17px; height: 17px; }
  .p01-drop-zone[data-scale="national"].filled .p01-drop-label img {
    width: 21px;
    height: 21px;
    transform: translateY(1px);
  }
  .p01-drop-zone.filled .p01-drop-label b { font-size: 8.5px; }
  .p01-feedback.p01-transition { inset: 1px 10.25px 2px 8px; }
  .p01-transition img { max-width: 100%; max-height: 98%; }
  .p01-feed-hero-base { height: 110px; }
  .p01-feed-cards-base { top: 110px; }
  .p01-feed-cards-base .p01-feed-base { top: -110px; }
  .p01-moment-caption { top: 0; }
}

/* P09｜情景事实拖拽复习：多证据支撑九格概念框架。 */
.common-revision-sample.slice-p09 .p09-combined-stage {
  grid-column: 2 / 4;
  display: grid;
  grid-template-rows: 66px minmax(0,1fr);
}
.common-revision-sample.slice-p09 .p09-combined-stage > .stage-header {
  padding: 6px 14px 13px;
}
.common-revision-sample.slice-p09 .stage-heading {
  gap: 14px;
}
.common-revision-sample.slice-p09 .stage-heading small {
  font-size: 20px;
}
.common-revision-sample.slice-p09 .stage-heading .p09-heading-badge {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 10px;
  color: #fff;
  background: var(--p09-accent,#147d77);
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.common-revision-sample.slice-p09 .stage-heading .p09-heading-badge img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.common-revision-sample.slice-p09 .stage-heading h2 {
  font-size: 24px;
}
.common-revision-sample.slice-p09 .p09-combined-stage > .map-shell {
  min-height: 0;
  overflow: hidden;
  background: #fbfcf8;
}
.p09-review {
  --p09-ink: #164c55;
  --p09-accent: #147d77;
  --p09-accent-soft: #e8f3ef;
  --p09-line: #c5d8d3;
  --p09-surface: #fffefb;
  position: relative;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0,1fr) 38px 112px;
  gap: 7px;
  padding: 9px 11px 10px;
  color: var(--p09-ink);
  background:
    radial-gradient(circle at 97% 3%,rgba(20,125,119,.055),transparent 23%),
    linear-gradient(180deg,#fffefb,#f5f9f6);
}
.p09-review[data-state="initial"] {
  grid-template-rows: minmax(0,1fr) 112px;
}
.p09-review-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 0 4px 0 7px;
  border-bottom: 1px solid #c4d5d1;
}
.p09-review-toolbar > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.p09-toolbar-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  opacity: .9;
}
.p09-review-toolbar b {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: .03em;
}
.p09-review-toolbar span {
  color: #5f7778;
  font-size: 19px;
  font-weight: 700;
}
.p09-review-toolbar small {
  color: #a3653d;
  font-size: 13px;
  font-weight: 900;
}
.p09-summary-actions button,
.p09-feedback button {
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid #176f6b;
  border-radius: 7px;
  background: #176f6b;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}
.p09-review-body {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(440px,1fr) minmax(0,1fr);
  gap: 18px;
}
.p09-material-bank {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: repeat(6,minmax(0,1fr));
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(167,194,188,.7);
  border-radius: 13px;
  background:
    linear-gradient(135deg,rgba(234,244,240,.72),rgba(255,255,252,.9) 48%),
    #f8faf7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.p09-evidence-card {
  --p09-card-accent: #3b8f89;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  align-items: center;
  align-content: center;
  gap: 3px;
  padding: 2px 3px;
  overflow: hidden;
  border: 1px solid rgba(184,205,200,.82);
  border-radius: 9px;
  background: rgba(255,255,253,.96);
  color: var(--p09-ink);
  font-family: var(--body);
  text-align: left;
  box-shadow: 0 3px 9px rgba(24,72,70,.055);
  cursor: grab;
  touch-action: none;
}
.p09-card-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 7px;
  background: #168486;
  box-shadow: 0 2px 5px rgba(19,93,94,.18);
}
.p09-card-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.p09-card-copy {
  min-width: 0;
  display: grid;
  align-content: center;
}
.p09-card-copy span {
  display: -webkit-box;
  overflow: hidden;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -.03em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.p09-evidence-card:hover,
.p09-evidence-card:focus-visible,
.p09-evidence-card.selected {
  outline: none;
  border-color: var(--p09-accent);
  box-shadow: 0 0 0 3px rgba(20,125,119,.12),0 5px 12px rgba(24,72,70,.08);
}
.p09-evidence-card.dragging { opacity: .38; }
.p09-evidence-card.locked {
  cursor: default;
  border-color: #61a097;
  background: #eaf4ef;
}
.p09-bank-empty {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  place-self: center;
  margin: 0;
  display: grid;
  place-items: center;
  gap: 7px;
  color: #527173;
}
.p09-bank-empty > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #7fb1aa;
  border-radius: 50%;
  background: #edf6f2;
  color: #16766f;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}
.p09-bank-empty b {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: .08em;
}
.p09-bank-empty small {
  color: #7a9491;
  font-size: 12px;
  font-weight: 800;
}
.p09-framework {
  min-height: 0;
  display: grid;
  grid-template-rows: 26px 92px minmax(38px,1fr) 74px minmax(38px,1fr) 74px 46px;
  align-content: stretch;
  gap: 3px;
  padding: 7px 3px 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.p09-framework > header,
.p09-framework > .p09-target-row,
.p09-framework > .p09-return-connector {
  transform: translateY(-4px);
}
.p09-framework > header {
  display: grid;
  grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr);
  padding: 0;
  color: #246d6c;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 900;
  text-align: center;
}
.p09-framework > header span:nth-child(1) { grid-column: 1; }
.p09-framework > header span:nth-child(2) { grid-column: 3; }
.p09-framework > header span:nth-child(3) { grid-column: 5; }
.p09-target-row {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr);
  align-items: stretch;
}
.p09-row-arrow {
  display: grid;
  place-items: center;
  color: #2e8984;
}
.p09-row-arrow svg {
  width: 23px;
  height: 15px;
  overflow: visible;
}
.p09-row-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.p09-drop-target {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 24px minmax(0,1fr);
  align-items: center;
  padding: 4px 6px;
  border: 1px dashed #a9c3be;
  border-radius: 10px;
  background: rgba(249,252,249,.72);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.p09-drop-target.drag-over,
.p09-drop-target:focus-visible {
  outline: none;
  border-color: #197b76;
  background: #eaf4ef;
  box-shadow: 0 0 0 3px rgba(25,123,118,.12);
}
.p09-drop-target.supported {
  border-style: solid;
  border-color: #79aaa3;
  background: rgba(249,253,250,.96);
  box-shadow: 0 3px 10px rgba(24,93,87,.055);
}
.p09-drop-target header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}
.p09-drop-target header span {
  display: none;
}
.p09-drop-target header b {
  overflow: hidden;
  color: #175e62;
  font-family: var(--display);
  font-size: 19px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p09-drop-target.multi,
.p09-review[data-state="success"] .p09-drop-target {
  grid-template-rows: minmax(0,1fr);
}
.p09-drop-target.multi header,
.p09-review[data-state="success"] .p09-drop-target header {
  display: none;
}
.p09-target-cards {
  min-height: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 3px;
}
.p09-target-conclusion {
  max-width: 100%;
  margin: 0;
  display: grid;
  justify-items: center;
  color: #155f62;
  font-family: var(--body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.18;
  text-align: center;
}
.p09-target-conclusion > span {
  width: max-content;
  max-width: 100%;
  text-wrap: balance;
  background: linear-gradient(transparent 72%,#d9ece5 72%);
}
.p09-evidence-card.placed {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  place-items: center;
  min-width: 0;
  min-height: 28px;
  padding: 2px 7px;
  border: 1px solid #8eb4ae;
  border-radius: 999px;
  background: rgba(255,255,253,.98);
  color: #175e62;
  text-align: center;
  box-shadow: none;
  cursor: grab;
}
.p09-evidence-card.placed > span {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}
.p09-review[data-state="success"] .p09-evidence-card.placed {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: default;
}
.p09-review[data-state="success"] .p09-evidence-card.placed > span {
  color: #155f62;
  background: linear-gradient(transparent 72%,#d9ece5 72%);
}
.p09-return-connector {
  position: relative;
  min-height: 0;
  color: #4a918c;
}
.p09-return-connector svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.p09-return-connector path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-dasharray: 5 4;
  vector-effect: non-scaling-stroke;
}
.p09-return-connector path.arrow-head {
  stroke-dasharray: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.p09-return-connector path.return-marker {
  fill: currentColor;
  stroke: none;
  stroke-dasharray: none;
}
.p09-return-connector span {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 118px;
  padding: 3px 12px;
  border: 1px solid #b6d0cb;
  border-radius: 999px;
  background: #fbfdfb;
  color: #327a76;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transform: translate(-50%,-50%);
}
.p09-return-connector.active {
  color: #197a75;
}
.p09-return-connector.active span {
  border-color: #5d9f97;
  background: #e9f5f0;
}
.p09-synthesis {
  position: relative;
  display: grid;
  place-items: end center;
  color: #3c8983;
}
.p09-synthesis svg {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 24px;
  overflow: visible;
}
.p09-synthesis path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.p09-synthesis b {
  width: 80%;
  min-height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #9fc1bb;
  border-radius: 999px;
  background: #fbfcf9;
  color: transparent;
  font-family: var(--display);
  font-size: 19px;
}
.p09-synthesis.active b {
  border-color: #488f87;
  background: #e9f5f0;
  color: #176963;
}
.p09-feedback {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 10px;
  border-radius: 7px;
  border-left: 3px solid #78a9a2;
  background: #eef5f2;
}
.p09-feedback > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.p09-feedback b {
  font-size: 19px;
}
.p09-feedback span {
  overflow: hidden;
  color: #536f70;
  font-size: 19px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p09-feedback.failure { background: #fbf0e6; }
.p09-feedback.failure b { color: #a55730; }
.p09-feedback.success { background: #e5f3ed; }
.p09-feedback.success b { color: #176f68; }
.p09-feedback button {
  min-height: 28px;
  padding: 3px 10px;
  font-size: 13px;
}
.p09-summary {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-rows: auto minmax(0,1fr);
  align-items: center;
  column-gap: 12px;
  row-gap: 4px;
  padding: 7px 10px;
  border: 1px solid #b8d0cb;
  border-radius: 9px;
  background: rgba(255,255,252,.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.p09-summary > strong {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-height: 32px;
  padding: 3px 11px;
  border-radius: 9px;
  color: #fff;
  background: var(--p09-accent,#147d77);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.p09-summary > strong img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.p09-summary p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  color: #315e62;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
}
.p09-review[data-state="success"] .p09-review-body {
  grid-template-columns: minmax(0,1fr);
  gap: 0;
  padding-inline: 24px;
}
.p09-review[data-state="success"] .p09-material-bank {
  display: none;
}
.p09-review[data-state="success"] .p09-framework {
  width: min(100%,920px);
  justify-self: center;
}
.p09-summary p i,
.p09-summary p b {
  display: inline-block;
  min-width: 0;
  margin: 0 .12em;
  padding: 0 .08em;
  border-bottom: 1px solid #6d9d97;
  color: #176f6b;
  font-style: normal;
  text-align: center;
}
.p09-summary p i > span {
  visibility: hidden;
}
.p09-summary p .p09-summary-drive {
  padding-right: 2.08em;
}
.p09-summary p .p09-summary-result {
  padding-right: 1.58em;
}
.p09-summary-actions {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}
.p09-summary-actions small {
  color: #a3653d;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.p09-summary p b {
  border-bottom-color: transparent;
  background: linear-gradient(transparent 70%,#d8ece5 70%);
}
.p09-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.p09-pointer-ghost {
  position: fixed;
  z-index: 9999;
  width: 220px;
  min-height: 60px;
  pointer-events: none;
  opacity: .88;
  transform: translate(-50%,-50%) rotate(-1deg);
}

@media (max-width:1350px),(max-height:760px) {
  .common-revision-sample.slice-p09 .p09-combined-stage {
    grid-template-rows: 48px minmax(0,1fr);
  }
  .common-revision-sample.slice-p09 .p09-combined-stage > .stage-header {
    padding: 4px 9px 9px;
  }
  .common-revision-sample.slice-p09 .stage-heading {
    gap: 9px;
  }
  .common-revision-sample.slice-p09 .stage-heading small {
    font-size: 14px;
  }
  .common-revision-sample.slice-p09 .stage-heading h2 {
    font-size: 17px;
  }
  .common-revision-sample.slice-p09 .stage-heading .p09-heading-badge {
    min-height: 32px;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 7px;
  }
  .common-revision-sample.slice-p09 .stage-heading .p09-heading-badge img {
    width: 20px;
    height: 20px;
  }
  .p09-review {
    grid-template-rows: minmax(0,1fr) 32px 84px;
    gap: 5px;
    padding: 6px 7px 7px;
  }
  .p09-review[data-state="initial"] {
    grid-template-rows: minmax(0,1fr) 84px;
  }
  .p09-review-toolbar {
    padding-left: 5px;
  }
  .p09-review-toolbar > div { gap: 7px; }
  .p09-toolbar-icon { width: 20px; height: 20px; }
  .p09-review-toolbar b { font-size: 16px; }
  .p09-review-toolbar span { font-size: 13px; }
  .p09-review-toolbar small { font-size: 10px; }
  .p09-review-toolbar button {
    min-height: 28px;
    padding: 4px 10px;
    font-size: 12px;
  }
  .p09-review-body {
    grid-template-columns: minmax(365px,1fr) minmax(0,1fr);
    gap: 10px;
  }
  .p09-material-bank {
    gap: 4px;
    padding: 5px;
    border-radius: 8px;
  }
  .p09-evidence-card {
    grid-template-columns: 30px minmax(0,1fr);
    gap: 4px;
    padding: 2px 3px;
    border-radius: 6px;
  }
  .p09-card-icon { width: 28px; height: 28px; border-radius: 5px; }
  .p09-card-icon img { width: 18px; height: 18px; }
  .p09-card-copy span { font-size: 13px; line-height: 1.28; letter-spacing: -.006em; }
  .p09-bank-empty { gap: 5px; }
  .p09-bank-empty > span { width: 40px; height: 40px; font-size: 22px; }
  .p09-bank-empty b { font-size: 14px; }
  .p09-bank-empty small { font-size: 9px; }
  .p09-framework {
    grid-template-rows: 20px 74px minmax(29px,1fr) 58px minmax(29px,1fr) 58px 38px;
    gap: 2px;
    padding: 5px 2px 4px;
    border-radius: 8px;
  }
  .p09-framework > header {
    grid-template-columns: minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1fr);
    padding: 0;
    font-size: 13px;
  }
  .p09-target-row {
    grid-template-columns: minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1fr);
  }
  .p09-row-arrow svg { width: 17px; height: 11px; }
  .p09-drop-target {
    grid-template-rows: 17px minmax(0,1fr);
    padding: 2px 3px;
    border-radius: 6px;
  }
  .p09-drop-target header b { font-size: 13px; }
  .p09-target-cards { gap: 2px; }
  .p09-target-conclusion { font-size: 13px; line-height: 1.18; }
  .p09-evidence-card.placed {
    min-height: 20px;
    padding: 1px 4px;
  }
  .p09-evidence-card.placed > span { font-size: 11.5px; }
  .p09-drop-target > em { right: 3px; bottom: 1px; font-size: 6px; }
  .p09-return-connector span {
    min-width: 94px;
    padding: 2px 9px;
    font-size: 15px;
  }
  .p09-synthesis svg { height: 20px; }
  .p09-synthesis svg { transform: translateY(-1.667px); }
  .p09-synthesis b { min-height: 28px; font-size: 13px; }
  .p09-feedback {
    gap: 6px;
    padding: 3px 7px;
  }
  .p09-feedback > div { gap: 6px; }
  .p09-feedback b { font-size: 13px; }
  .p09-feedback span { font-size: 13px; }
  .p09-feedback button {
    min-height: 23px;
    padding: 2px 7px;
    font-size: 10px;
  }
  .p09-summary {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: auto minmax(0,1fr);
    column-gap: 7px;
    row-gap: 3px;
    padding: 4px 8px;
    border-radius: 7px;
  }
  .p09-summary > strong {
    min-height: 24px;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 7px;
    font-size: 14px;
  }
  .p09-summary > strong img { width: 18px; height: 18px; }
  .p09-summary p { font-size: 17px; line-height: 1.2; }
  .p09-summary p i,
  .p09-summary p b {
    min-width: 0;
    margin: 0 .1em;
    padding: 0 .06em;
  }
  .p09-summary p .p09-summary-drive { padding-right: 2.06em; }
  .p09-summary p .p09-summary-result { padding-right: 1.56em; }
  .p09-summary-actions { gap: 6px; }
  .p09-summary-actions small { font-size: 10px; }
  .p09-summary-actions button {
    min-height: 28px;
    padding: 4px 9px;
    font-size: 12px;
  }
  .p09-review[data-state="success"] .p09-review-body {
    grid-template-columns: minmax(0,1fr);
    gap: 0;
    padding-inline: 14px;
  }
  .p09-review[data-state="success"] .p09-framework {
    width: 100%;
  }
}

/* P10｜四大湾区静态材料比较页 */
.common-revision-sample.slice-p10 .p10-combined-stage {
  grid-column: 2 / 4;
  position: relative;
  display: grid;
  grid-template-rows: minmax(0,1fr);
}
.common-revision-sample.slice-p10 .p10-combined-stage > .stage-header {
  position: absolute;
  z-index: 12;
  top: 0;
  right: 0;
  left: 0;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}
.common-revision-sample.slice-p10 .p10-combined-stage > .stage-header::before,
.common-revision-sample.slice-p10 .p10-combined-stage > .stage-header::after,
.common-revision-sample.slice-p10 .p10-combined-stage > .stage-header > .stage-heading { display: none; }
.common-revision-sample.slice-p10 .p10-combined-stage > .stage-header .rail-controls { pointer-events: auto; }
.common-revision-sample.slice-p10 .p10-combined-stage > .map-shell {
  grid-row: 1;
  min-height: 0;
  overflow: hidden;
  background: #fbfcf8;
}
.p10-bay-comparison {
  height: 100%;
  display: grid;
  grid-template-rows: 58px auto 58px minmax(0,1fr);
  gap: 8px;
  padding: 10px 12px 12px;
  min-height: 0;
  background:
    radial-gradient(circle at 96% 5%, rgba(37,132,129,.10), transparent 24%),
    linear-gradient(180deg,#fff 0%,#fbfdfc 100%);
}
.p10-comparison-heading {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 16px;
  padding: 0 8px 8px 2px;
  border-bottom: 1px solid #9fc9c6;
}
.p10-comparison-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  background: #0b7774;
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}
.p10-comparison-heading img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.p10-comparison-heading > div { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.p10-comparison-heading h3 { margin: 0; color: #174f58; font-family: var(--display); font-size: 24px; line-height: 1.2; }
.p10-bay-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  grid-template-rows: minmax(0,1fr);
  gap: 12px;
  min-height: 0;
  padding-top: 10px;
}
.p10-bay-card {
  position: relative;
  display: grid;
  grid-template-rows: 28px minmax(0,1fr);
  align-self: end;
  aspect-ratio: 505 / 669;
  min-width: 0;
  min-height: 0;
  padding: 9px 11px 11px;
  border: 0;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(31,75,72,.07);
  overflow: visible;
}
.p10-bay-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
  pointer-events: none;
}
.p10-bay-card > header {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.p10-bay-card h4 {
  position: absolute;
  top: -21px;
  left: 50%;
  margin: 0;
  padding: 6px 15px;
  border-radius: 18px;
  background: #0b7774;
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(20,91,91,.13);
  transform: translateX(-50%);
}
.p10-bay-card.bay-new-york h4 { background: #4f8193; }
.p10-bay-card.bay-san-francisco h4 { background: #758b58; }
.p10-bay-card.bay-tokyo h4 { background: #9a704a; }
.p10-card-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  transform: translateY(-12px);
}
.p10-bay-card p { margin: 3px 0 0; color: #294f55; font-size: 18px; line-height: 1.25; }
.p10-research-leads {
  min-height: 0;
  margin-top: 8px;
  padding: 0 2px;
  color: #41676b;
}
.p10-research-leads b { display: block; margin-bottom: 3px; color: #285c63; font-size: 17px; }
.p10-research-leads ul { margin: 0; padding-left: 18px; font-size: 17px; line-height: 1.35; }
.p10-research-leads li + li { margin-top: 2px; }
.p10-comparison-prompt {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 7px;
  background: #e7f2f0;
}
.p10-activity-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  background: #0b7774;
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}
.p10-activity-label img { width: 21px; height: 21px; object-fit: contain; filter: brightness(0) invert(1); }
.p10-comparison-prompt p { margin: 0; color: #174f58; font-size: 22px; font-weight: 700; line-height: 1.18; white-space: nowrap; }
.p10-record-sheet {
  display: grid;
  grid-template-rows: minmax(0,1fr);
  min-height: 0;
  border: 1px solid #a9cfcc;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}
.p10-record-body {
  display: grid;
  grid-template-rows: minmax(0,1fr) 52px;
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.p10-record-sheet table { width: 100%; height: 100%; border-collapse: collapse; table-layout: fixed; }
.p10-record-sheet th,
.p10-record-sheet td { border-right: 1px solid #c5dcda; border-bottom: 1px solid #c5dcda; }
.p10-record-sheet tr > :last-child { border-right: 0; }
.p10-record-sheet tbody tr:last-child > * { border-bottom: 0; }
.p10-record-sheet thead th {
  padding: 3px 4px;
  background: #f7faf9;
  color: #174f58;
  font-size: 19px;
  line-height: 1.1;
  text-align: center;
}
.p10-record-sheet thead th:first-child { width: 20%; }
.p10-record-sheet tbody th {
  padding: 2px 6px;
  color: #245860;
  font-size: 19px;
  line-height: 1.1;
  text-align: center;
}
.p10-record-sheet td { position: relative; background: #fff; }
.p10-record-sheet td span {
  position: absolute;
  right: 9px;
  bottom: 5px;
  left: 9px;
  border-bottom: 1px dashed #bdd5d2;
}
.p10-summary-row {
  display: grid;
  grid-template-columns: 36% minmax(0,1fr);
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
  border-top: 1px solid #c5dcda;
  background: #fff;
}
.p10-summary-row strong {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-right: 1px solid #c5dcda;
  background: #edf5f2;
  color: #0b6665;
  font-size: 19px;
  line-height: 1.12;
  text-align: center;
  white-space: nowrap;
}
.p10-summary-row > div {
  position: relative;
  min-width: 0;
  background: #f7fbfa;
}
.p10-summary-row > div span {
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  border-bottom: 1px dashed #bdd5d2;
}
.p10-material-note { margin: 0; color: #6d7f80; font-size: 11px; line-height: 18px; text-align: right; }

@media (max-width:1350px),(max-height:760px) {
  .p10-bay-comparison { grid-template-rows: 36px auto 42px minmax(0,1fr); gap: 4px; padding: 7px; }
  .p10-comparison-heading { gap: 7px; padding: 0 4px 4px 0; }
  .p10-comparison-heading > span { gap: 4px; padding: 4px 7px; font-size: 13px; }
  .p10-comparison-heading img { width: 15px; height: 15px; }
  .p10-comparison-heading > div { gap: 5px; }
  .p10-comparison-heading h3 { font-size: 13px; }
  .p10-bay-grid { gap: 6px; padding-top: 7px; }
  .p10-bay-card { grid-template-rows: 20px minmax(0,1fr); padding: 6px 7px 7px; border-radius: 8px; }
  .p10-bay-card h4 { top: -18px; padding: 4px 8px; font-size: 13px; }
  .p10-bay-card p { margin-top: -3px; font-size: 14px; line-height: 1.15; }
  .p10-research-leads { min-height: 0; margin-top: 5px; padding: 0; }
  .p10-research-leads b { margin-bottom: 1px; font-size: 12.5px; }
  .p10-research-leads ul { padding-left: 11px; font-size: 12.5px; line-height: 1.18; }
  .p10-research-leads li + li { margin-top: 1px; }
  .p10-comparison-prompt { gap: 5px; padding: 4px 6px; }
  .p10-activity-label { gap: 4px; padding: 4px 7px; font-size: 13px; }
  .p10-activity-label img { width: 15px; height: 15px; }
  .p10-comparison-prompt p { font-size: 16px; line-height: 1.12; }
  .p10-record-sheet { grid-template-rows: minmax(0,1fr); }
  .p10-record-sheet thead th,
  .p10-record-sheet tbody th { padding: 1px 3px; font-size: 13px; }
  .p10-record-sheet td span { right: 6px; bottom: 3px; left: 6px; }
  .p10-record-body { grid-template-rows: minmax(0,1fr) 38px; }
  .p10-summary-row strong { padding: 2px 4px; font-size: 13px; }
  .p10-summary-row > div span { right: 7px; bottom: 6px; left: 7px; }
  .p10-material-note { font-size: 8px; line-height: 14px; }
}

/* P04长问题链：学生端为区位解释分配更多高度，避免通过缩小正文解决溢出。 */
@media (max-width:1350px),(max-height:760px) {
  .common-revision-sample.student-view.slice-p04 .inquiry-chain {
    grid-template-rows: 1fr 1.45fr 1.1fr 1.1fr;
    gap: 4px;
  }
  .common-revision-sample.student-view.slice-p04 .inquiry-step {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .common-revision-sample.student-view.slice-p04 .inquiry-answer.visible {
    max-height: 160px;
  }
}

/* P04 annotation refinement: card avoidance, 21px inquiry prompts and enlarged teaching materials. */
.common-revision-sample.teacher-view.slice-p04 .inquiry-chain {
  grid-template-rows: .94fr 2.05fr 1.4fr .61fr;
  gap: 2px;
}
.common-revision-sample.teacher-view.slice-p04 .inquiry-step,
.common-revision-sample.teacher-view.slice-p05 .inquiry-step {
  margin-left: 12px;
  padding: 3px 4px 3px 28px;
}
.common-revision-sample.teacher-view.slice-p04 .inquiry-step h3,
.common-revision-sample.teacher-view.slice-p05 .inquiry-step h3 {
  font-size: 21px;
  line-height: 1.22;
  white-space: pre-line;
}
.common-revision-sample.teacher-view.slice-p04 .inquiry-step p,
.common-revision-sample.teacher-view.slice-p05 .inquiry-step p {
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.1;
  white-space: pre-line;
}
.common-revision-sample.teacher-view.slice-p04 .inquiry-step:nth-child(2) p { line-height: 1.22; }
.common-revision-sample.teacher-view.slice-p04 .inquiry-step:nth-child(3) p { line-height: 1.12; }
.common-revision-sample.teacher-view.slice-p04 .inquiry-step:nth-child(2),
.common-revision-sample.teacher-view.slice-p04 .inquiry-step:nth-child(3) { padding-top: 1px; padding-bottom: 1px; }
.common-revision-sample.teacher-view.slice-p05 .inquiry-step p {
  font-size: 20px;
}
.common-revision-sample.teacher-view.slice-p04 .inquiry-answer.visible,
.common-revision-sample.teacher-view.slice-p05 .inquiry-answer.visible { max-height: 260px; overflow: visible; }

.common-revision-sample.teacher-view.slice-p05 .inquiry-chain {
  grid-template-rows: 1fr 1.08fr 1.08fr 1.5fr;
  gap: 2px;
}

/* P04沿用P03的题干／答案双拍状态：全链常驻、当前题高亮、已答题弱化。 */
.common-revision-sample.slice-p04 .inquiry-step,
.common-revision-sample.slice-p05 .inquiry-step {
  opacity: .58;
  transition: opacity .28s ease, transform .28s ease, filter .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.common-revision-sample.slice-p04 .inquiry-step.answered,
.common-revision-sample.slice-p05 .inquiry-step.answered {
  border-color: #d7e0dd;
  background: #f7f9f7;
  opacity: .88;
  filter: none;
  box-shadow: none;
}
.common-revision-sample.slice-p04 .inquiry-step.answered > span,
.common-revision-sample.slice-p05 .inquiry-step.answered > span { background: #6f908d; box-shadow: none; }
.common-revision-sample.slice-p04 .inquiry-step.answered h3,
.common-revision-sample.slice-p05 .inquiry-step.answered h3 { color: #435f5d; }
.common-revision-sample.slice-p04 .inquiry-step.answered p,
.common-revision-sample.slice-p05 .inquiry-step.answered p { color: #405b59; }
.common-revision-sample.slice-p04 .inquiry-step.active,
.common-revision-sample.slice-p05 .inquiry-step.active {
  border-color: #4f938f;
  background: #f4faf7;
  opacity: 1;
  box-shadow: 0 6px 16px rgba(21,95,96,.10), inset 3px 0 0 #197b76;
}
.common-revision-sample.slice-p04 .inquiry-step.active > span,
.common-revision-sample.slice-p05 .inquiry-step.active > span {
  background: #0d706f;
  box-shadow: 0 5px 14px rgba(13,112,111,.24);
}
.common-revision-sample.slice-p04 .inquiry-step.active h3,
.common-revision-sample.slice-p05 .inquiry-step.active h3 { color: #0c5f61; font-weight: 900; }
.common-revision-sample.slice-p04 .inquiry-step.clickable,
.common-revision-sample.slice-p05 .inquiry-step.clickable { cursor: pointer; }
.common-revision-sample.slice-p04 .inquiry-step.clickable:focus-visible,
.common-revision-sample.slice-p05 .inquiry-step.clickable:focus-visible {
  outline: 2px solid rgba(17,121,117,.38);
  outline-offset: 2px;
}

.common-revision-sample.teacher-view.slice-p04 .m1-map { height: 100%; min-height: 0; grid-template-rows: minmax(0,1fr) 205px; }
.common-revision-sample.teacher-view.slice-p04 .map-materials { height: 100%; min-height: 0; }
.common-revision-sample.teacher-view.slice-p04 .story-panel { padding: 10px 16px 12px; }
.common-revision-sample.teacher-view.slice-p04 .story-year b {
  box-sizing: border-box;
  width: 128px;
  min-width: 128px;
  font-family: var(--display);
  font-size: 17px;
}
.common-revision-sample.teacher-view.slice-p04 .story-event h3 {
  min-height: 18px;
  margin-top: 7px;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.22;
  white-space: nowrap;
}
.common-revision-sample.teacher-view.slice-p04 .story-event p {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.24;
}
.common-revision-sample.slice-p04 .material-keyword {
  padding: 0 .08em;
  border-radius: 2px;
  background: linear-gradient(transparent 58%, rgba(43, 145, 136, .2) 58%);
  color: #0c6867;
  font-weight: 800;
}
.common-revision-sample.slice-p04 .inquiry-keyword,
.common-revision-sample.slice-p05 .inquiry-keyword {
  padding: 0 .04em;
  border-radius: 2px;
  background: linear-gradient(transparent 58%, rgba(43,145,136,.24) 58%);
  color: inherit;
  font-weight: 800;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.common-revision-sample .inquiry-nowrap { white-space: nowrap; }
.common-revision-sample.slice-p04 .map-policy-context rect {
  fill: #0b6862;
  stroke: #0b6862;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}
.common-revision-sample.slice-p04 .map-policy-context text {
  fill: #fff;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: .01em;
}

@media (max-width:1350px),(max-height:760px) {
  .common-revision-sample.student-view.slice-p04 .inquiry-chain {
    grid-template-rows: .85fr 1.95fr 1.25fr .6fr;
  }
  .common-revision-sample.student-view.slice-p04 .inquiry-step h3,
  .common-revision-sample.student-view.slice-p05 .inquiry-step h3 { font-size: 15px; line-height: 1.2; white-space: pre-line; }
  .common-revision-sample.student-view.slice-p04 .inquiry-step p,
  .common-revision-sample.student-view.slice-p05 .inquiry-step p { font-size: 13px; line-height: 1.28; white-space: pre-line; }
  .common-revision-sample.student-view.slice-p04 .inquiry-step:nth-child(2) p,
  .common-revision-sample.student-view.slice-p04 .inquiry-step:nth-child(3) p { line-height: 1.36; }
  .common-revision-sample.student-view.slice-p05 .inquiry-chain {
    grid-template-rows: 1fr 1.08fr 1.08fr 1.5fr;
    gap: 3px;
  }
  .common-revision-sample.student-view.slice-p05 .inquiry-answer.visible { max-height: 180px; }
  .common-revision-sample.student-view.slice-p04 .m1-map { height: 100%; min-height: 0; grid-template-rows: minmax(0,1fr) 165px; }
  .common-revision-sample.student-view.slice-p04 .map-materials { height: 100%; min-height: 0; }
  .common-revision-sample.student-view.slice-p04 .story-panel { padding: 7px 9px 8px; }
  .common-revision-sample.student-view.slice-p04 .story-year b {
    box-sizing: border-box;
    width: 104px;
    min-width: 104px;
    font-family: var(--display);
    font-size: 11.5px;
  }
  .common-revision-sample.student-view.slice-p04 .story-event h3 {
    min-height: 12px;
    margin-top: 5px;
    font-family: var(--display);
    font-size: 11.5px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .common-revision-sample.student-view.slice-p04 .story-event p {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.22;
  }
}

/* P04 final synthesis: replace the timeline content with two compact conclusion cards. */
.common-revision-sample.slice-p04 .p04-final-synthesis {
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr);
  gap: 12px;
  padding: 8px 16px;
  background: linear-gradient(180deg,#fbfcf8 0%,#f4f8f5 100%);
}
.common-revision-sample.slice-p04 .p04-synthesis-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 6px 12px;
  border: 1px solid #a9c9c4;
  border-radius: 10px;
  background: rgba(255,255,252,.96);
  box-shadow: 0 5px 13px rgba(23,78,77,.08), inset 4px 0 0 #168078;
}
.common-revision-sample.slice-p04 .p04-synthesis-definition {
  border-color: #b8c5d9;
  box-shadow: 0 5px 13px rgba(48,67,95,.07), inset 4px 0 0 #6f5aa3;
}
.common-revision-sample.slice-p04 .p04-synthesis-card > header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 2px;
}
.common-revision-sample.slice-p04 .p04-synthesis-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #e6f2ef;
  color: #187c76;
}
.common-revision-sample.slice-p04 .p04-synthesis-definition .p04-synthesis-icon {
  background: #efedf6;
  color: #6f5aa3;
}
.common-revision-sample.slice-p04 .p04-synthesis-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.common-revision-sample.slice-p04 .p04-synthesis-icon .accent { stroke-width: 2.6; }
.common-revision-sample.slice-p04 .p04-synthesis-icon .link { stroke-dasharray: 3 3; }
.common-revision-sample.slice-p04 .p04-synthesis-icon .arrow { stroke-width: 1.8; }
.common-revision-sample.slice-p04 .p04-synthesis-card h3 {
  min-width: 0;
  margin: 0;
  color: #126862;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}
.common-revision-sample.slice-p04 .p04-synthesis-definition h3 { color: #5f4c91; }
.common-revision-sample.slice-p04 .p04-synthesis-card p {
  margin: 0;
  color: #294f55;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  white-space: pre-line;
}
.common-revision-sample.slice-p04 .p04-synthesis-keyword {
  padding: 0 .04em;
  color: inherit;
  font-weight: 800;
  background: linear-gradient(180deg,transparent 56%,rgba(37,145,132,.2) 56%);
}
.common-revision-sample.slice-p04 .p04-synthesis-definition .p04-synthesis-keyword {
  background: linear-gradient(180deg,transparent 56%,rgba(111,90,163,.2) 56%);
}

@media (max-width:1350px),(max-height:760px) {
  .common-revision-sample.student-view.slice-p04 .p04-final-synthesis {
    gap: 7px;
    padding: 6px 9px;
  }
  .common-revision-sample.student-view.slice-p04 .p04-synthesis-card {
    padding: 6px 8px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(23,78,77,.07), inset 3px 0 0 #168078;
  }
  .common-revision-sample.student-view.slice-p04 .p04-synthesis-definition {
    box-shadow: 0 3px 8px rgba(48,67,95,.06), inset 3px 0 0 #6f5aa3;
  }
  .common-revision-sample.student-view.slice-p04 .p04-synthesis-card > header {
    gap: 7px;
    margin-bottom: 2px;
  }
  .common-revision-sample.student-view.slice-p04 .p04-synthesis-icon {
    width: 36px;
    height: 36px;
  }
  .common-revision-sample.student-view.slice-p04 .p04-synthesis-icon svg {
    width: 31px;
    height: 31px;
  }
  .common-revision-sample.student-view.slice-p04 .p04-synthesis-card h3 {
    font-size: 15.5px;
  }
  .common-revision-sample.student-view.slice-p04 .p04-synthesis-card p {
    font-size: 13px;
    line-height: 1.28;
  }
}

/* Full pre-deployment audit: preserve complete activity copy on phone landscape. */
@media (max-width: 1023px) and (orientation: landscape) {
  .p01-activity {
    grid-template-rows: 40px 76px minmax(0,1fr);
  }
  .p01-card-bank {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: repeat(2,minmax(0,1fr));
    gap: 4px 6px;
  }
  .p01-drag-card {
    min-height: 36px;
    padding: 2px 6px;
  }
  .p01-drag-card span {
    font-size: 13px !important;
    line-height: 1.15 !important;
    -webkit-line-clamp: 2;
  }
  .p01-submit {
    min-height: 40px;
    font-size: 13px;
  }
  .source-drawer header button {
    width: 40px;
    height: 40px;
  }
  .header-meta small,
  .source-drawer header small {
    font-size: 12px;
  }
  .course-title > small,
  .common-revision-sample .course-title > small,
  .common-revision-sample .p09-framework > header,
  .common-revision-sample .concept-scale > header b {
    font-size: 12px;
  }
  .course-title h1 {
    font-size: 21px;
  }
  .course-title h1 span {
    font-size: 12px;
  }
  .p01-feed-heading h2 {
    font-size: 19.5px;
  }
  .common-revision-sample .concept-columns span {
    font-size: 12px;
  }
  .common-revision-sample .concept-scale > header b {
    transform: scaleX(.9);
    transform-origin: center;
  }
}
