/* Approved storyboard geometry, scoped to project one; shell and tabs remain unchanged. */
#project-one .book-scroll{container-type:inline-size;padding:14px 20px 20px}
#project-one .book-scroll>.p1-study,#project-one .book-support-body{max-width:1120px;width:100%;margin:auto;zoom:1}
.p1-study,.p1-overview{font-synthesis:weight}.p1-study .study-header{margin-bottom:18px;padding-bottom:0;min-height:0}.p1-study .study-header h4{font-size:clamp(30px,3.8cqw,42px);line-height:1.2;margin:8px 0}.p1-study .study-header p{font-size:clamp(14px,1.5cqw,17px);line-height:1.5}.p1-study .study-kicker{font-size:13px;line-height:1.5;padding:2px 14px}.p1-study .study-page-number{font-size:23px}.p1-study .study-body{display:block}
.review-content{min-width:0;display:grid;gap:16px;color:#101369;font-size:16px}.review-content p{font-size:14px;line-height:1.55;color:#344f90;margin:0}.review-content h5{font-size:18px;line-height:1.4;font-weight:800;margin:0;color:#101369}.review-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:18px;align-items:start}.review-row>*{min-width:0}.review-section{display:grid;gap:9px;min-width:0}.review-heading{display:flex;align-items:center;gap:12px}.review-heading>span{background:linear-gradient(100deg,#8ee9fb,#dffcff);padding:1px 12px;border-radius:20px;min-width:40px;text-align:center;font-size:19px}.review-section:nth-child(3)>.review-heading>span,.review-section:nth-child(4)>.review-heading>span{background:#ffe2b6}.review-indent{padding-left:54px}.review-glyph{width:32px;height:32px;flex:none;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round;color:#3370ff;filter:drop-shadow(0 2px 0 #dce8ff)}.review-requirements{margin:0;border:1px solid #bae2ff;border-radius:10px;overflow:hidden}.review-requirements>div{display:grid;grid-template-columns:230px 1fr;gap:20px;padding:7px 20px;background:#e4f5ff;align-items:center}.review-requirements>div:nth-child(2){background:#fff9e7}.review-requirements dt{display:flex;align-items:center;gap:24px;font-size:15px;font-weight:800;border-right:1px solid #a8d5fc}.review-requirements dd{margin:0;font-size:14px;color:#344f90}.review-requirements .review-glyph{width:27px;height:27px}.review-requirements>div:nth-child(2) .review-glyph{color:#f5ad16}
.review-figure{margin:0;min-width:0}.review-figure button{border:0;background:transparent;padding:0;width:100%;display:block;cursor:zoom-in;border-radius:8px;overflow:hidden}.review-figure button>img{width:100%;height:auto;display:block;opacity:1;visibility:visible}.review-crop{position:relative;overflow:hidden;border-radius:8px}.review-crop>img{position:absolute;max-width:none;height:auto;display:block;opacity:1;visibility:visible}.review-game-flow{gap:24px}.review-game-flow>div{position:relative;text-align:center}.review-game-flow>div:not(:last-child):after{content:'➜';position:absolute;right:-23px;top:26%;font-size:21px;color:#239fff}.review-game-flow b{display:block;font-size:15px;line-height:1.5;margin:3px 0}.review-game-flow p{font-size:12px;line-height:1.4}.review-return{font-size:13px!important;text-align:right;color:#63799e!important}.review-card{display:flex;align-items:center;gap:13px;padding:12px;background:linear-gradient(110deg,#e3f4ff,#f2f9ff);border-radius:10px}.review-card>.review-glyph{width:40px;height:40px;color:#6942fa}.review-card h5{margin-bottom:4px}.review-card p{font-size:14px}.review-focus .review-card{background:transparent;padding:4px 12px 4px 0;border-radius:0}.review-focus .review-card:not(:last-child){border-right:1px solid #a7d4ff}.review-focus .review-glyph{width:48px;height:48px}.review-states{align-items:stretch;gap:10px;background:#eaf7ff;border-radius:12px;padding:10px}.review-states .review-card{padding:3px;background:none;gap:9px}.review-states .review-glyph{width:27px;height:27px}.review-states h5{font-size:15px}.review-states p{font-size:12px}.review-proposal{border:1px solid #b7e2ff;border-radius:13px;padding:10px;background:#f4fbff}.review-proposal.chosen{border:2px solid #b29aff;background:#faf7ff}.review-proposal>h5{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:9px}.review-proposal em{font-style:normal;border:1px solid #674cf4;border-radius:50%;padding:0 7px}.review-proposal small{font-size:12px;background:#ebe6ff;border-radius:20px;padding:3px 8px}.review-proposal.chosen small{background:#7745ff;color:#fff}.review-proposal>p{font-size:13px;text-align:center;margin-top:8px}.review-rule{padding:10px;border-radius:10px;background:#eaf7ff}.review-rule h5{font-size:15px}.review-rule h5>span{display:inline-grid;place-items:center;border-radius:50%;width:22px;height:22px;background:#458dff;color:#fff;margin-right:7px}.review-rule p{min-height:36px;font-size:12px;margin:5px 0 8px}.review-note{display:flex;align-items:center;gap:14px;border-radius:12px;background:linear-gradient(100deg,#fff1bc,#fff9dd);padding:10px 16px;color:#17216a;font-size:14px}.review-note b{white-space:nowrap;border-right:1px solid #e5d293;padding-right:14px}.review-note .review-glyph{width:25px;height:25px;color:#eba719}.review-content .review-footnote{font-size:12px;color:#6e7da4}.review-visual-guide{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:24px;border-top:1px solid #c4e3ff;padding-top:12px}.review-visual-guide h5{font-size:16px;margin-bottom:7px}.review-visual-guide p{font-size:12px}.review-palette{display:flex;gap:8px;margin-top:10px}.review-palette span{font-size:11px;text-align:center;flex:1}.review-palette i{display:block;height:25px;border-radius:8px;margin-bottom:4px}.review-item-icons{display:flex;align-items:center;gap:8px}.review-item-icons img{width:30%;max-width:50px;object-fit:contain}.review-related{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;background:#e5f5ff;border-radius:12px;padding:14px}.review-related button{border:0;background:#f8fcff;border-radius:7px;display:flex;align-items:center;gap:12px;text-align:left;padding:10px;min-width:0}.review-related b{font-size:14px;display:block}.review-related small{font-size:12px;color:#7484b0}.review-related .review-glyph{width:29px;height:29px}.review-validation{grid-auto-flow:initial;grid-template-columns:347fr 330fr 311fr}.review-validation>.review-section{padding:0 12px 0 0}.review-validation>.review-section:not(:last-child){border-right:1px solid #cbe3ff}.review-validation>.review-section>p{min-height:45px}.review-observation{display:flex;gap:8px;padding:10px;background:#e5f4ff;border-radius:8px}.review-observation .review-glyph{width:22px;height:22px}.review-observation b{font-size:14px}.review-observation p{font-size:12px;margin-top:6px}
.review-goals .review-card{align-items:flex-start}.review-goals .review-glyph{width:39px;height:39px}.review-battle-screens{grid-template-columns:560fr 441fr;grid-auto-flow:initial;align-items:stretch}.review-battle-screens .review-figure button{height:100%;background:#122435}.review-battle-screens .review-figure button>img{height:100%;object-fit:contain}.review-decision{display:flex;gap:8px;align-items:center;padding:8px 0;color:#4964bd}.review-flow-node{background:#e8f5ff;border:1px solid #9bcfff;border-radius:10px;flex:1;text-align:center;min-width:0;padding:12px 6px}.review-flow-node b{display:block;font-size:14px}.decision-node{background:#fff2ce;border-color:#f3c066}.review-flow-optional{flex:2;text-align:center;border:1px dashed #61bcff;border-radius:14px;padding:9px}.review-flow-optional small{background:#4085ff;color:#fff;border-radius:15px;padding:3px 12px}.review-flow-optional>div{display:flex;gap:8px;align-items:center;margin-top:12px;font-size:14px}.review-flow-optional b{flex:1;background:#e4f7ff;border:1px solid #acd1ff;border-radius:6px;padding:8px}.review-flow-optional p{margin-top:9px;font-size:12px}.review-flow-results{display:grid;gap:20px;flex:1}.review-flow-results b{font-size:13px;background:#e9f4ff;padding:12px 8px;border:1px solid #a9d9ff;border-radius:8px}.review-flow-results b:first-child{background:#ffe8f1;color:#da477b;border-color:#eeaec8}.review-annotated{position:relative}.review-annotated>span{position:absolute;background:#e2f6fff2;border:1px solid #37b3f7;box-shadow:0 2px 0 #1898d4;padding:5px 8px;border-radius:10px;font-size:12px;font-weight:750;color:#075390}.review-result{border-radius:16px;padding:12px 15px 15px}.review-result.success{background:linear-gradient(135deg,#fff2be,#fffbec)}.review-result.failure{background:linear-gradient(135deg,#dff5ff,#f2fbff)}.review-result>h5{display:flex;align-items:center;gap:10px;font-size:24px;margin:-3px 0 10px;color:#e56f0e}.review-result.failure>h5{color:#087aca}.review-result>h5>.review-glyph{color:#fff;stroke:#fff;fill:#e9b326;border-radius:50%;background:linear-gradient(#ffd869,#dca018);padding:7px;box-shadow:0 2px 0 #bf9a27;width:42px;height:42px}.review-result.failure>h5>.review-glyph{background:linear-gradient(#53bdfd,#116ec2);fill:none;box-shadow:0 2px 0 #82bcf1}.review-result-copy{display:flex;align-items:center;gap:12px;margin-top:13px}.review-result-copy>.review-glyph{color:#e9af22}.review-result.failure .review-result-copy>.review-glyph{color:#3199ed}.review-result-copy h5{font-size:17px}.review-result-copy p{font-size:13px;margin-top:3px}.review-verification{border:1px solid #bce1ff;border-radius:14px;background:#f7fcff;padding:12px;display:grid;gap:10px}.review-verification>h5{display:flex;align-items:center;gap:10px}.review-verification .review-card{background:none;padding:3px 10px}.review-verification .review-card:not(:last-child){border-right:1px solid #bdd8ef;border-radius:0}.review-verification .review-card h5{font-size:15px}.review-verification .review-card p{font-size:12px}.review-verification .review-glyph{width:29px;height:29px}
/* Overview uses the confirmed two-column composition, not a viewport-driven stacked page. */
.p1-overview>header{margin-bottom:18px;gap:25px;display:flex;align-items:center}.p1-overview>header h3{font-size:34px}.p1-overview>header p{font-size:14px;line-height:1.6;margin:0}.p1-overview-grid{grid-template-columns:1fr 1.08fr;align-items:start;gap:20px}.p1-panel{padding:0 12px 12px;border-color:#d7e9fa}.p1-panel h4{font-size:19px;padding:6px 16px;margin:0 0 12px;transform:translateY(-1px)}.p1-loop{width:96%;max-width:500px;aspect-ratio:600/480;min-height:0;flex:none;align-self:center;container-type:inline-size}.p1-node{width:31%;gap:0}.p1-node b{font-size:16px;background:#edf6ff;width:100%;padding-top:6px;border-radius:12px 12px 0 0}.p1-node small{font-size:12px;background:#edf6ff;width:100%;padding:2px 0 7px;border-radius:0 0 12px 12px}.overview-art{mix-blend-mode:normal}.node-grow .overview-art{width:95%}.node-grow .p1-pay{position:absolute;right:-9%;top:36%;font-size:10px;z-index:1;white-space:nowrap;padding:3px 6px}.p1-return{font-size:12px}.return-fail{left:39%;top:54%}.return-win{right:0;top:82%}.p1-challenge{margin:5px 0 16px;gap:8px;grid-template-columns:1fr 14px 1fr}.p1-challenge h5{padding:9px 8px;min-height:56px;gap:10px;font-size:16px;line-height:1.45}.p1-challenge .review-glyph{width:31px;height:31px;color:#ed6960}.p1-challenge>div:last-child .review-glyph{color:#208c88}.p1-challenge p{font-size:13px;line-height:1.6}.p1-challenge>span{font-size:27px}.p1-right{gap:14px;align-content:start;grid-template-rows:auto auto}.p1-contributions{grid-template-columns:repeat(3,1fr);gap:8px}.p1-contributions>div{padding:10px 8px;position:relative;overflow:hidden}.p1-contributions h5{display:flex;align-items:center;gap:7px;font-size:15px;margin-bottom:6px}.p1-contributions .review-glyph{width:23px;height:23px}.p1-contributions>div:nth-child(2) .review-glyph{color:#00998d}.p1-contributions>div:nth-child(3) .review-glyph{color:#f46545}.p1-contributions p{font-size:12px}.p1-principles{grid-column:1/-1;margin-top:0;padding:10px 12px;gap:12px}.p1-principles h4{font-size:18px}.p1-principles span{padding:10px 4px;font-size:14px}

.review-art-icon{display:block;flex:none;width:68px;mix-blend-mode:multiply}.review-art-icon .review-crop{border-radius:0}.review-requirements .review-art-icon{width:32px}.review-focus .review-card{align-items:center;gap:9px}.review-focus .review-art-icon{width:74px}.review-focus .review-card h5{font-size:16px}.review-focus .review-card p{font-size:12px}.review-related .review-art-icon{width:38px}.review-goals .review-card:has(.review-art-icon){display:grid;grid-template-columns:1fr 58px;align-items:start}.review-goals .review-card:has(.review-art-icon)>div{grid-row:1;grid-column:1}.review-goals .review-art-icon{width:58px;grid-column:2;grid-row:1}.review-goals .review-card h5{font-size:17px}.review-result .review-figure{margin:0 8px}.review-validation+.review-section .review-states{background:none;padding:0;gap:15px}.review-validation+.review-section .review-card{border:1px solid #c8e7ff;border-radius:15px;padding:8px;position:relative}.review-validation+.review-section .review-card:not(:last-child):after{content:'›';position:absolute;right:-12px;top:30%;color:#429eff;font-size:23px}.review-validation+.review-section .review-card:nth-last-child(2) .review-glyph{color:#00b7a4}.review-validation+.review-section .review-card:last-child .review-glyph{color:#ff465b}
.p1-loop{margin:6px auto 0}.p1-panel:first-child{display:flex;flex-direction:column}.p1-panel:first-child>h4{align-self:flex-start}.p1-node.node-reward{top:1%;left:34%;width:30%}.p1-node.node-offline{top:32%;left:0;width:30%}.p1-node.node-grow{top:32%;right:0;width:32%}.p1-node.node-challenge{bottom:0;left:31%;width:36%}.p1-node b{font-size:16px}.p1-node small{font-size:12px}.p1-return{font-size:12px}.p1-principles span{display:flex;align-items:center;justify-content:center;gap:9px}.p1-principles .review-glyph{width:24px;height:24px}.p1-principles span:nth-of-type(2) .review-glyph{color:#00877e}.p1-principles span:nth-of-type(3) .review-glyph{color:#fd8c00}.p1-principles span:nth-of-type(4) .review-glyph{color:#783eff}
.review-leaders{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.review-annotated>span{font-size:11px;padding:4px 6px}.review-decision-map{width:100%;min-width:0;position:relative;aspect-ratio:1100/210;min-height:0;color:#173489;margin:9px 0 20px}.review-decision-map>svg{position:absolute;width:100%;height:100%;inset:0}.decision-step{position:absolute;top:30%;height:34%;background:linear-gradient(120deg,#def6ff,#eaf3ff);border:1px solid #99ceff;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:5px;padding:5px;width:13%;font-size:12px}.decision-step .review-glyph{width:26px;height:26px}.step-choice b{white-space:nowrap;font-size:11px}.decision-step p{position:absolute;top:calc(100% + 8px);width:130%;font-size:10px!important;text-align:center;line-height:1.5}.step-map{left:0}.step-enter{left:17%;background:#ede6ff}.step-choice{left:33%;width:11%;background:#fff3d1;border-color:#ffd263;border-radius:22px 6px 22px 6px}.step-decide{left:79%;width:11%;background:#ede6ff}.decision-optional{position:absolute;left:46%;top:4%;width:28%;height:55%;border:1px dashed #62b9ff;border-radius:13px;display:grid;grid-template-columns:1fr 1fr;gap:4px 18px;padding:12px 9px 4px}.decision-optional>small{position:absolute;left:32%;top:-11px;background:linear-gradient(#219fff,#4255ff);border-radius:15px;padding:3px 10px;color:white;font-size:10px}.decision-optional>div{display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #a1cfff;background:#e0f5ff;border-radius:7px;font-size:11px;padding:3px}.decision-optional .review-glyph{width:21px;height:21px}.decision-optional>p{font-size:10px!important;line-height:1.4;text-align:center}.decision-bypass{position:absolute;left:58%;top:79%;font-size:10px;background:#dfe9ff;border-radius:12px;padding:2px 10px}.decision-outcome{position:absolute;left:91%;width:9%;box-sizing:border-box;padding:9px 3px;border:1px solid #90cbff;border-radius:9px;text-align:center;font-size:11px;font-weight:800;background:#e4f6ff}.outcome-yes{top:0;background:#ffe4ef;border-color:#ffa6cf;color:#dc226a}.outcome-no{top:58%}
[data-review-page="deepsea-3"]>.review-row>.review-section>p{min-height:44px}[data-review-page="deepsea-4"]>.review-row:first-child{grid-auto-flow:initial;grid-template-columns:539fr 501fr}.review-rule{height:100%}.review-observation{min-height:91px}.review-battle-screens .review-crop{border:1px solid #b1cbff}
.review-row.review-goals{align-items:stretch}.review-goals>.review-card{height:100%}.battle-state-badges .review-art-icon{width:39px}.battle-state-badges .review-card:nth-child(3) h5{color:#ef3545}.battle-state-badges .review-card:nth-child(4) h5{color:#159454}[data-review-page="battle-4"] .review-goals .review-glyph{width:58px;height:58px;padding:9px;border-radius:50%;background:linear-gradient(140deg,#d7ccff,#f6f1ff);stroke-width:2.2}[data-review-page="battle-4"] .review-goals>.review-card:nth-child(2) .review-glyph{color:#efa314;background:#fff0ca}.review-context{font-size:14px;color:#405d94}.review-goals .review-art-icon{mix-blend-mode:normal}.review-requirements .review-art-icon{mix-blend-mode:normal}.review-requirements .review-crop{border-radius:50%}
/* Approved compact layouts, 2026-10-03: retain artwork and all text. */
[data-review-page="deepsea-1"]{grid-template-columns:minmax(0, .9fr) minmax(0, 2fr);gap:12px}
[data-review-page="deepsea-1"]>.review-section{border:1px solid #cbe7ff;border-radius:14px;padding:10px;align-content:start}
[data-review-page="deepsea-1"]>.review-section:nth-child(-n+2){background:linear-gradient(120deg,#fbfeff,#f3faff)}
[data-review-page="deepsea-1"]>.review-section:first-child{grid-template-rows:auto 1fr}
[data-review-page="deepsea-1"]>.review-section:first-child .review-indent{padding:12px 10px;align-self:center;font-size:15px;line-height:1.7}
[data-review-page="deepsea-1"]>.review-section:first-child .review-indent{display:flex;align-items:center;gap:12px;padding:10px 4px}
[data-review-page="deepsea-1"]>.review-section:first-child .review-indent:before{content:"";display:block;flex:0 0 44px;height:56px;border-radius:12px;background:#e3f2ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='56' viewBox='0 0 44 56'%3E%3Cg transform='rotate(-8 22 28)' fill='%23fff' stroke='%23624bff' stroke-width='2.5' stroke-linejoin='round'%3E%3Crect x='9' y='12' width='27' height='35' rx='3'/%3E%3Crect x='17' y='8' width='12' height='8' rx='2' fill='%23c8dcff'/%3E%3Cpath d='M15 24h15M15 31h15M15 38h10'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}

[data-review-page="deepsea-1"]>.review-section:nth-child(n+3){grid-column:1/-1}
[data-review-page="deepsea-1"] .review-requirements>div{grid-template-columns:minmax(145px,.75fr) minmax(0,1.8fr);gap:12px;padding:7px 10px}
[data-review-page="deepsea-1"] .review-requirements dt{gap:8px;font-size:14px;padding-right:8px}
[data-review-page="deepsea-1"] .review-requirements dd{line-height:1.55}
[data-review-page="deepsea-1"] .review-game-flow{gap:20px}
[data-review-page="deepsea-1"] .review-game-flow>div:not(:last-child):after{right:-19px}
[data-review-page="deepsea-1"] .review-return{justify-self:center;text-align:center;background:#e5f5ff;border-radius:9px;padding:5px 14px}
[data-review-page="deepsea-1"] .review-focus{gap:10px;align-items:stretch}
[data-review-page="deepsea-1"] .review-focus .review-card{padding:10px;border:1px solid #ded5ff;border-radius:11px;background:#f2ecff}
[data-review-page="deepsea-1"] .review-focus .review-card:nth-child(2){background:#e8f6ff;border-color:#c9e8ff}
[data-review-page="deepsea-1"] .review-focus .review-card:nth-child(3){background:#e5faf2;border-color:#c5f1e4}
[data-review-page="deepsea-1"] .review-focus .review-art-icon{width:48px}
[data-review-page="deepsea-2"]{gap:12px}
[data-review-page="deepsea-2"]>.review-states{padding:7px 10px}
[data-review-page="deepsea-2"] .review-proposal{padding:8px}
@container(max-width:850px){
  .p1-overview-grid{gap:12px}
  .p1-panel{padding-inline:9px}
  .p1-panel h4{font-size:17px;padding-inline:10px}
  .p1-node b{font-size:14px}.p1-node small,.p1-return{font-size:11px}
  .p1-challenge h5{font-size:14px;gap:6px;padding:7px 6px}
  .p1-challenge .review-glyph{width:24px;height:24px}
  .p1-contributions h5{font-size:13px;gap:4px}
  .p1-contributions .review-glyph{width:20px;height:20px}
  [data-review-page="deepsea-1"] .review-requirements>div{grid-template-columns:minmax(130px,.8fr) minmax(0,1.2fr);gap:8px}
}
@container(max-width:680px){
  [data-review-page="deepsea-1"]{grid-template-columns:1fr}
  [data-review-page="deepsea-1"] .review-requirements>div{grid-template-columns:1fr}
  [data-review-page="deepsea-1"]>.review-section:first-child .review-indent{padding:5px 10px}
  .p1-loop{width:92%;flex:none;min-height:0}
  .p1-right{grid-template-rows:auto auto}
}
@container(max-width:680px){.p1-overview-grid{grid-template-columns:1fr}.p1-loop{max-width:450px;margin:auto}.p1-overview>header{display:block}.p1-overview>header p{margin-top:12px}.review-row{grid-auto-flow:row;grid-template-columns:1fr;gap:18px}.review-game-flow{grid-template-columns:repeat(2,1fr)}.review-requirements>div{grid-template-columns:1fr;gap:4px}.review-requirements dt{border:0}.review-game-flow>div:after{display:none}.review-states{grid-template-columns:repeat(2,1fr)}.review-visual-guide{grid-template-columns:1fr 1fr}.review-related{grid-template-columns:1fr 1fr}.review-decision{flex-wrap:wrap}.review-flow-node{flex-basis:24%}.review-flow-optional{flex-basis:40%}.review-battle-screens{grid-template-columns:1fr}.review-focus .review-card{border-right:0!important}.review-validation>.review-section{border:0!important}.review-note{flex-wrap:wrap}.review-result>h5{font-size:21px}}

.review-flow-optional b{padding:8px 3px;font-size:12px;white-space:nowrap}.review-flow-node b{font-size:12px}.review-flow-results b{font-size:12px;padding:12px 5px}

/* Project two: approved four-page composition, independent of the book shell. */
#project-two .book-scroll{container-type:inline-size;padding:14px 20px 20px;overflow-x:hidden}
#project-two .book-scroll>.moon-study{width:100%;max-width:1120px;margin-inline:auto;zoom:1}
.moon-study{color:#11146b;font-synthesis:weight}
.moon-study .study-header{min-height:0;margin-bottom:16px;padding-bottom:0;border:0}
.moon-study .study-header h4{font-size:clamp(30px,3.8cqw,42px);line-height:1.2;margin:8px 0;color:#101369}
.moon-study .study-header p{font-size:clamp(14px,1.5cqw,17px);line-height:1.5}
.moon-study .study-kicker{font-size:13px;padding:2px 14px;border-radius:20px;background:linear-gradient(100deg,#def8ff,#eeeaff);color:#3265ef}
.moon-study .study-body{display:grid;gap:12px;min-width:0}
.moon-feature{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:16px;align-items:stretch}
.moon-stack{display:grid;gap:10px;min-width:0;align-content:start}
.moon-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.moon-triple{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.moon-media{min-width:0;align-self:start;padding:10px;border:1px solid #c5e7ff;border-radius:14px;background:linear-gradient(120deg,#fcfeff,#eef9ff)}
.moon-study .study-image{margin:0;min-width:0;background:transparent;border:0;box-shadow:none;padding:0}
.moon-study .art-window{position:relative;overflow:hidden;border-radius:8px;width:100%;background:#e9eff7}
.moon-study .art-window>img{position:absolute;max-width:none;height:auto;display:block}
.moon-study figcaption{font-size:13px;line-height:1.45;color:#7181a7;margin:7px 0 0}
.moon-pair figcaption{display:none}
.moon-card{border:1px solid #c9e8ff;border-radius:13px;padding:10px 12px;background:linear-gradient(120deg,#fbfeff,#edf8ff);min-width:0}
.moon-card.tone-2{background:linear-gradient(120deg,#fdfbff,#f2edff);border-color:#e1d4ff}
.moon-card.tone-3{background:linear-gradient(120deg,#f6fffc,#e6fbf4);border-color:#bdeedc}
.moon-card h5,.moon-section-title{display:flex;align-items:center;gap:12px;font-size:18px;line-height:1.4;font-weight:800;margin:0 0 10px;color:#12146a}
.moon-card h5>span,.moon-section-title>span{font-size:17px;padding:1px 10px;min-width:34px;text-align:center;border-radius:18px;background:linear-gradient(100deg,#92eafb,#e3fcff);font-weight:500}
.moon-card.tone-2 h5>span{background:#e2d1ff}.moon-card.tone-3 h5>span{background:#baf5df}
.moon-card-copy{display:flex;gap:12px;align-items:center;min-width:0}.moon-card-copy>div{min-width:0;flex:1}
.moon-card p,.moon-card li{font-size:14px;line-height:1.65;color:#334b8b;margin:0}
.moon-card ul{padding-left:17px;margin:0}.moon-card li+li{margin-top:4px}.moon-card li::marker{color:#3788ff}
.moon-icon{display:grid;place-items:center;flex:0 0 50px;width:50px;height:55px;border-radius:15px;background:linear-gradient(145deg,#effaff,#c7eaff);color:#4676ff;transform:rotate(-4deg)}
.moon-icon .review-glyph{width:34px;height:34px;stroke-width:2;color:inherit;filter:drop-shadow(0 2px 0 #fff) drop-shadow(0 3px 1px #789cff66)}
.tone-2 .moon-icon{background:linear-gradient(145deg,#faf5ff,#e7d7ff);color:#974dff}
.tone-3 .moon-icon{background:linear-gradient(145deg,#eafff9,#b7f2ec);color:#07aeba}
.moon-note{display:flex;align-items:center;gap:16px;background:linear-gradient(100deg,#f0eaff,#faf7ff);border:1px solid #e4d8ff;border-radius:12px;padding:10px 16px;min-width:0}
.moon-note strong{font-size:21px;line-height:1.4;color:#5930cc;white-space:nowrap;padding-right:16px;border-right:1px solid #b296e8}
.moon-note p{font-size:17px;line-height:1.5;font-weight:700;color:#161d6c;margin:0}
.moon-note .moon-icon{width:42px;height:42px;flex-basis:42px;background:transparent;color:#8545f7}
.moon-study[data-case-page="2"] .moon-note{background:#fff9e8;border-color:#ffe2a0}
.moon-study[data-case-page="2"] .moon-note strong{font-size:18px}
.moon-interaction{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.moon-interaction .moon-card-copy{gap:8px}.moon-interaction .moon-icon{width:36px;height:42px;flex-basis:36px}.moon-interaction .moon-icon .review-glyph{width:27px;height:27px}
.moon-feedback{display:grid;grid-template-columns:.9fr 1.1fr;gap:8px;align-items:center}
.moon-feedback figcaption{display:none}
.moon-compact .moon-card{padding:8px}.moon-compact .moon-card h5{font-size:14px;gap:5px}.moon-compact .moon-card h5>span{display:none}.moon-compact .moon-card p{font-size:12px}.moon-compact .moon-icon{display:none}
.moon-interaction .moon-note{gap:8px;padding:10px}.moon-interaction .moon-note strong{font-size:15px;border:0;padding:0}.moon-interaction .moon-note p{font-size:13px;font-weight:500}.moon-interaction .moon-note .moon-icon{display:none}
@container(max-width:850px){.moon-feature{gap:10px;grid-template-columns:1.55fr 1fr}.moon-card{padding:9px}.moon-card h5{font-size:16px;gap:7px}.moon-card-copy{gap:8px}.moon-icon{flex-basis:36px;width:36px;height:42px}.moon-icon .review-glyph{width:27px;height:27px}.moon-card p,.moon-card li{font-size:13px}.moon-feedback{grid-template-columns:1fr}.moon-note strong{font-size:18px}.moon-note p{font-size:15px}}
@container(max-width:620px){.moon-feature,.moon-interaction,.moon-pair,.moon-triple{grid-template-columns:1fr}.moon-note{flex-wrap:wrap;gap:8px}.moon-note p{flex-basis:100%}.moon-note strong{border:0}.moon-feedback{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.moon-study .study-header h4{font-size:28px}.moon-study .study-header{padding-right:0}.moon-feature,.moon-interaction,.moon-pair,.moon-triple{grid-template-columns:1fr}.moon-note{flex-wrap:wrap}.moon-note strong{border:0}.moon-note p{flex-basis:100%}}

/* Moon overview: reference proportions and decorative hierarchy, independent of viewport height. */
.moon-overview{color:#272161;max-width:1160px;margin:auto;padding:12px 2px 16px;container-type:inline-size;font-family:inherit}.moon-overview *{box-sizing:border-box}.mo-heading{position:relative;margin-bottom:24px}.mo-eyebrow{font-size:17px;color:#9b9cff;letter-spacing:3px}.mo-eyebrow:before{content:'✦';margin-right:9px;color:#b8baff}.mo-stage{position:absolute;right:0;top:4px;background:linear-gradient(120deg,#f0e5ff,#eee9ff);border:4px solid #f7f2ff;border-radius:30px;padding:9px 18px;color:#6730f0;font-weight:900;font-size:16px}.moon-overview .mo-heading h3{font-size:clamp(38px,5.1cqw,56px);font-weight:900;line-height:1.2;margin:15px 0 14px;color:#21166d;letter-spacing:2px;display:flex;align-items:center}.mo-heading h3:before{content:'';width:6px;height:.85em;border-radius:6px;background:#7950ff;margin-right:15px}.mo-heading h3 small{font-size:.52em;letter-spacing:0;color:#7557ef;border-left:1px solid #b7adf6;padding-left:18px;margin-left:20px;vertical-align:middle}.moon-overview .mo-heading>p{font-size:18px;font-weight:600;line-height:1.65;margin:0;color:#50547e}.mo-grid{display:grid;grid-template-columns:1.16fr 1fr;gap:14px;align-items:stretch}.mo-left,.mo-right{display:flex;flex-direction:column;gap:14px;min-width:0}.mo-panel{position:relative;border:1px solid #bce8ff;border-radius:15px;background:linear-gradient(120deg,#fff,#f4fbff);padding:15px;min-width:0}.moon-overview .mo-panel h4{position:relative;font-size:23px;font-weight:900;color:#211275;margin:0 0 16px;display:flex;align-items:center;gap:12px;line-height:1.3;width:fit-content;min-width:190px;padding:7px 13px 7px 5px;border-radius:12px;background:linear-gradient(110deg,#e1f9ff,#e7f3ff)}.mo-panel:not(.mo-characters):before{content:'✦';position:absolute;right:12px;top:12px;font-size:37px;color:#dff7ff;text-shadow:0 1px 0 white}.moon-overview .mo-panel>p{font-size:17px;line-height:1.85;margin:0;padding:0 4px 4px;color:#464480;font-weight:500}.mo-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit}.mo-icon svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.moon-overview .mo-icon svg{color:inherit}.mo-icon svg.mo-solid{fill:currentColor;stroke:none}.mo-panel h4>.mo-icon{width:34px;height:34px;color:#4465ff}.mo-focus h4>.mo-icon{color:#ffb52c}.mo-play{flex:1}.mo-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mo-tile{display:flex;align-items:center;gap:12px;border:1px solid #e0d5ff;border-radius:12px;background:linear-gradient(130deg,#f5efff,#eeeaff);padding:17px 11px;min-height:134px}.mo-tile>.mo-icon{width:57px;height:66px;border-radius:24px 20px 25px 19px;background:linear-gradient(140deg,#ede3ff,#e6d8ff);color:#8350ed}.mo-tile>.mo-icon svg{width:39px;height:39px}.moon-overview .mo-tile h5{font-size:18px;font-weight:900;line-height:1.4;margin:0 0 9px;color:#21146e}.moon-overview .mo-tile p{font-size:15px;line-height:1.5;margin:0;color:#6870a0;font-weight:500}.mo-tile.tone-1{background:linear-gradient(130deg,#f0faff,#e8f5ff);border-color:#d3ebff}.mo-tile.tone-1>.mo-icon{background:#dff1ff;color:#536dd6}.mo-tile.tone-2{background:linear-gradient(130deg,#effdf8,#e3fbf2);border-color:#cef3e5}.mo-tile.tone-2>.mo-icon{background:#d9f8ed;color:#24a4b2}.mo-focus-row{display:grid;grid-template-columns:38% 1fr;gap:8px;margin-top:9px;align-items:stretch}.moon-overview .mo-focus-row strong{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:800;background:#fff1f3;border-radius:9px;padding:10px}.mo-focus-row .mo-icon{color:#f36d87}.mo-focus-row:nth-of-type(2) strong{background:#fff7e7}.mo-focus-row:nth-of-type(2) .mo-icon{color:#f3a321}.mo-focus-row:nth-of-type(3) strong{background:#e7faf3}.mo-focus-row:nth-of-type(3) .mo-icon{color:#24aca6}.moon-overview .mo-focus-row p{font-size:14px;line-height:1.55;margin:0;border:1px solid #e2eafa;border-radius:9px;background:#f3f7ff;padding:10px;color:#56628e}.mo-characters{position:relative;flex:1;min-height:245px;overflow:hidden;background:linear-gradient(140deg,#fff,#f2f9ff 70%,#e7fff7)}.mo-characters:before{content:'';position:absolute;width:115%;height:65%;background:#e7ddff;border:16px solid #f3edff;border-radius:50%;transform:rotate(-23deg);left:-10%;top:20%;box-shadow:0 0 0 14px #fff,0 0 0 26px #eae6ff}.mo-characters:after{content:none}.moon-overview .mo-characters h4{position:relative;z-index:3;margin:0;background:none;color:#5223d5;min-width:0;padding:0}.mo-characters img{position:absolute;object-fit:contain;max-width:none;height:auto}.mo-characters .mo-white{width:66%;right:-2%;top:0}.mo-characters .mo-blonde{width:91%;left:-13%;top:17%;z-index:2}.mo-keywords{display:grid;grid-template-columns:1.25fr 4.7fr 2.7fr;align-items:center;gap:10px;margin-top:14px;padding:10px 12px;border:1px solid #bfe6fb;border-radius:14px;background:linear-gradient(120deg,#fff,#f4fbff)}.moon-overview .mo-keywords>strong{font-size:clamp(13px,1.55cqw,19px);font-weight:900;white-space:nowrap;color:#21146e}.mo-keywords>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;min-width:0}.mo-keywords>div>span{display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 6px;border-radius:10px;background:#f1eaff;color:#7844e8;font-size:clamp(11px,1.4cqw,17px);font-weight:800;white-space:nowrap;min-width:0}.mo-keywords>div>span:nth-child(2){background:#e9f6ff;color:#455dd9}.mo-keywords>div>span:nth-child(3){background:#e5faf3;color:#14998e}.mo-keywords>div>span:nth-child(4){background:#fff5e5;color:#ee9722}.mo-keywords .mo-icon svg{width:clamp(19px,2.4cqw,29px);height:clamp(19px,2.4cqw,29px)}.mo-keywords button{width:100%;min-width:0;aspect-ratio:4.8;display:flex;align-items:center;justify-content:center;border:0;clip-path:none;background:transparent url('/moon-cta-plate.png') center/contain no-repeat;box-shadow:none;color:white;text-shadow:0 1px 2px #6331c7;font-family:inherit;font-weight:900;font-size:clamp(11px,1.5cqw,18px);line-height:1.3;padding:0 12px;cursor:pointer;margin:0;white-space:nowrap}.mo-keywords button:hover{filter:brightness(1.1)}.mo-keywords button:focus-visible{outline:3px solid #ae95ed;outline-offset:3px}
@container(max-width:900px){.mo-tile{padding:15px 10px;gap:8px;min-height:145px}.mo-tile>.mo-icon{width:40px;height:56px}.mo-tile>.mo-icon svg{width:34px;height:34px}.moon-overview .mo-tile h5{font-size:16px}.moon-overview .mo-panel>p{font-size:16px}.mo-characters{min-height:270px}.mo-characters .mo-white{width:78%;right:-7%;top:4%}.mo-characters .mo-blonde{width:103%;left:-18%;top:26%}.mo-keywords>div{flex:initial}.mo-focus-row{grid-template-columns:40% 1fr}.moon-overview .mo-focus-row strong{font-size:14px;padding:9px 7px;gap:7px}.moon-overview .mo-focus-row p{font-size:14px;padding:9px}.mo-focus-row .mo-icon svg{width:25px;height:25px}}
@container(max-width:620px){.mo-grid{grid-template-columns:1fr}.mo-heading>p{font-size:16px}.mo-stage{font-size:12px;top:0;padding:6px 10px}.moon-overview .mo-heading h3{font-size:34px}.mo-eyebrow{font-size:13px}.mo-characters{height:290px;flex:none}.mo-characters .mo-white{width:60%;right:0;top:0}.mo-characters .mo-blonde{width:78%;left:-4%;top:12%}.mo-focus-row{grid-template-columns:38% 1fr}.mo-keywords button{margin:0}.mo-tile{min-height:190px}.moon-overview .mo-tile h5{font-size:16px}}
#project-two .book-paper:has(.moon-overview)>.book-heading,#project-two .book-paper:has(.moon-overview)>.book-support-footer,#project-two .book-support-body:has(.moon-overview)>h3{display:none!important}#project-two .book-paper:has(.moon-overview){grid-template-rows:minmax(0,1fr)}#project-two .book-support-body:has(.moon-overview){padding:0;max-width:none}#project-two .book-scroll:has(.moon-overview){padding-top:4px;padding-bottom:8px;overflow-y:auto;overflow-x:hidden}
@container(max-width:620px){.mo-keywords{grid-template-columns:1fr;gap:10px}.mo-keywords button{width:240px;justify-self:end;font-size:14px}.mo-keywords>div>span{font-size:13px}}

/* The loop and its labels share one scale; the right column sizes to its content. */
.p1-loop .p1-node b{font-size:clamp(12px,2.67cqw,16px)}.p1-loop .p1-node small{font-size:clamp(10px,2cqw,12px)}.p1-loop .node-grow .p1-pay{font-size:clamp(7px,1.67cqw,10px);right:-4%}.p1-loop .p1-route-label{font-family:inherit;font-size:18px;font-weight:700;paint-order:stroke;stroke:#fffef9;stroke-width:5px;stroke-linejoin:round}.p1-loop .p1-node b{padding-top:4px}.p1-loop .p1-node small{padding-bottom:5px}
