*{box-sizing:border-box}body{margin:0;background:#faf6ed;color:#193b43;font:18px/1.6 system-ui,sans-serif}header{display:flex;flex-wrap:wrap;gap:20px;padding:20px 5%;background:#19464c}header a{color:white}main{max-width:1060px;padding:30px 24px 80px;margin:auto}h1{font-size:clamp(2.5rem,6vw,4.4rem);line-height:1.1;margin:20px 0}h2{line-height:1.25}h3{line-height:1.4}.tag{letter-spacing:.12em;font-size:14px;font-weight:800}.friends{display:flex;align-items:center;justify-content:center;gap:20px}.friends span{width:100px;flex:none}.friends span:first-child{width:83px}.friends p{text-align:center}.notice{border-left:6px solid #b77c2d;padding:18px;background:#fff1d6}section,details{margin:26px 0;padding:26px;border:1px solid #c9d3c8;border-radius:20px;background:#fffefa}summary{cursor:pointer;font-weight:800}label{display:block;margin:16px 0 6px;font-weight:650}select,textarea{display:block;width:100%;font:inherit;padding:12px;border:2px solid #6b8585;border-radius:10px;background:white;color:#193b43}button{font:inherit;font-weight:700;border:2px solid #285d61;border-radius:12px;background:#e6f1e8;color:#173b42;padding:13px 20px;cursor:pointer;min-height:54px}button:hover{background:#d7e9df}button:disabled{opacity:.55;cursor:default}button:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:4px solid #bd5c36;outline-offset:4px}.answers,.actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.answers button{min-width:130px;flex:1}.answers button[aria-pressed=true]{border:4px solid #264d58}.models{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px;margin:24px 0}.model{border:1px solid #d7ded6;border-radius:18px;padding:14px;background:#eef4ef;text-align:center}.model svg{width:100%;height:230px;display:block}.model.body svg{height:360px}.model p{margin:8px 0}#feedback{font-weight:750;min-height:2em}#guide{background:#eef2eb;border-left:5px solid #4c7c7a;padding:20px}.check{display:flex;align-items:flex-start;gap:12px}.check input{width:24px;height:24px;flex:none}#sources{overflow-wrap:anywhere}#support,#position{font-size:15px}textarea{resize:vertical} @media(max-width:550px){main{padding:20px 14px}section,details{padding:18px}.friends{gap:8px}.friends p{font-size:14px}.friends span{width:64px}.friends span:first-child{width:54px}.answers button{min-width:110px}h1{font-size:2.7rem}}.small{font-size:15px}.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.plan-group{min-width:0;background:#eef4ef;border-radius:14px;padding:18px}.plan-group label{font-size:15px}.plan-group select{font-size:16px}#stage-model svg{height:320px}#sequence{padding-left:25px}#sequence li{margin:14px 0;padding:14px;background:#edf3ed;border-radius:12px}#sequence li .actions{margin-bottom:0}#sequence li button{font-size:15px;padding:8px;min-height:44px}#example-chart svg{display:block;width:100%;max-width:700px;margin:auto}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:15px;margin:20px 0}caption{text-align:left;font-weight:750;margin:10px 0}th,td{border:1px solid #a9c2b6;padding:10px;text-align:left;vertical-align:top;overflow-wrap:anywhere}th{background:#e7eee4}input[type=text]{display:block;width:100%;max-width:100%;font:inherit;padding:12px;border:2px solid #6b8585;border-radius:10px;background:white;color:#193b43}#kept-plans{overflow-wrap:anywhere}#kept-plans li{margin:14px 0}#sequence-guide-text,#answer-guide-text{padding:18px;background:#eaf2ed;border-left:5px solid #55837d}#plan-feedback,#question-feedback,#sequence-feedback{font-weight:750;min-height:2em} @media(max-width:650px){.plan-grid{grid-template-columns:1fr}#records td,#records th{font-size:13px;padding:7px}#stage-model svg{height:280px}}

.stage-gallery{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.stage-gallery article{padding:16px;border:1px solid #b7cfc4;border-radius:12px;background:#f4f7ef}.stage-gallery svg{display:block;width:100%;height:230px}.stage-gallery p{font-size:15px}.stage-gallery h4{margin:12px 0}@media(max-width:650px){.stage-gallery{grid-template-columns:1fr}}

.pc-download{margin:0;background:#f5f5ef;color:#193b43;font:17px/1.5 system-ui,sans-serif}.pc-download main{max-width:1050px;padding:20px;margin:auto}.pc-sheet{color:#193b43;background:white;box-sizing:border-box;padding:24px;margin:20px 0;border:1px solid #b9ccc3;overflow-wrap:anywhere}.pc-sheet *{box-sizing:border-box}.pc-sheet-header{display:grid;grid-template-columns:80px minmax(0,1fr) 96px;align-items:center;gap:18px;padding:0 0 18px;background:white;color:#193b43;border-bottom:2px solid #40756a}.pc-sheet-header h3{font-size:26px;line-height:1.25;margin:8px 0}.pc-sheet-header p{font-size:14px;margin:6px 0}.pc-portrait{display:block;width:100%;align-self:center}.pc-portrait svg{display:block;width:100%;height:auto}.pc-small{width:83%}.pc-sheet h4{font-size:19px;line-height:1.45;margin:12px 0}.pc-sheet p,.pc-sheet li{font-size:17px;line-height:1.55}.pc-sheet a{color:#16565b}.pc-question,.pc-reference{border:0;border-top:1px solid #c4d5cb;border-radius:0;padding:18px 0;margin:20px 0;background:white;break-inside:avoid}.pc-question li{margin:10px 0}.pc-writing{min-height:60px;border-bottom:1px solid #79938a}.pc-reference figure{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;align-items:center;margin:20px 0;break-inside:avoid}.pc-reference figure svg{width:100%;height:190px}.pc-sheet table{width:100%;border-collapse:collapse;margin:18px 0;font-size:16px}.pc-sheet caption{text-align:left;font-weight:700}.pc-sheet th,.pc-sheet td{border:1px solid #90aea0;padding:10px;text-align:left}.pc-sheet th{background:#eef3ec}.pc-sheet .pc-footer,.pc-sheet .pc-source{font-size:12px}.pc-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pc-controls label{margin:0}.pc-views{display:flex;flex-wrap:wrap;gap:10px}.pc-views [aria-pressed=true]{border-width:4px}.pc-sheet[hidden]{display:none}@media(max-width:600px){.pc-controls{grid-template-columns:1fr}.pc-sheet{padding:15px}.pc-sheet-header{grid-template-columns:48px minmax(0,1fr) 58px;gap:9px}.pc-sheet-header h3{font-size:22px}.pc-reference figure{grid-template-columns:1fr}.pc-reference figure svg{max-width:240px;margin:auto}.pc-sheet table{font-size:14px}.pc-sheet th,.pc-sheet td{padding:7px}}
@media print{@page{size:A4;margin:14mm}body[data-plant-print]{background:white;margin:0;font:12pt/1.45 sans-serif}body[data-plant-print]>header,body[data-plant-print] main>:not(#plant-resource-creator),body[data-plant-print] #plant-resource-creator>:not(#pc-output){display:none!important}body[data-plant-print] main,body[data-plant-print] #plant-resource-creator{max-width:none;padding:0;margin:0;border:0;background:white}body[data-plant-print] .pc-sheet[hidden]{display:block!important}.pc-sheet{border:0;margin:0;padding:0;break-after:page;page-break-after:always}.pc-sheet:last-child{break-after:auto;page-break-after:auto}.pc-sheet p,.pc-sheet li{font-size:12pt;line-height:1.5}.pc-sheet h4{font-size:13pt}.pc-sheet-header h3{font-size:19pt}.pc-sheet-header p{font-size:10pt}.pc-reference figure{grid-template-columns:150px minmax(0,1fr)}.pc-reference figure svg{height:150px}.pc-question,.pc-reference figure{break-inside:avoid}.pc-reference{break-inside:auto}.pc-sheet th,.pc-sheet td{font-size:11pt;padding:7px}.pc-sheet .pc-footer,.pc-sheet .pc-source{font-size:9pt}}

.pc-chart svg{display:block;width:100%;max-width:650px;height:auto;margin:16px auto}
/* Keep adult-read choice labels readable on narrow phones. */
@media(max-width:520px){#answers,#classify-answers,#hr-choices,#stage-choices,#cycle-choices,#chain-choices{display:grid;grid-template-columns:minmax(0,1fr);gap:.6rem}#answers button,#classify-answers button,#hr-choices button,#stage-choices button,#cycle-choices button,#chain-choices button{width:100%;min-width:0;text-align:left;overflow-wrap:anywhere}}

/* Screen-only expanded-teaching reflow: retain every word and print rule. */
@media screen and (max-width:480px){:where(p,li,a,h1,h2,h3,h4,label,legend,button,summary,figcaption){overflow-wrap:anywhere}button{max-width:100%;white-space:normal}fieldset{min-width:0}}
