*{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}}
.animal-photo{display:block;width:100%;height:340px;object-fit:contain;background:#f0f2e9;border-radius:12px}.model figure{margin:0}.model figcaption{font-size:16px;line-height:1.5;text-align:left}.photo-credit{font-size:14px;overflow-wrap:anywhere}.model figure+svg{margin-top:24px}#photo-credits a{overflow-wrap:anywhere}

/* 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}}

/* Matched resource studio: external page CSS; standalone copies embed this CSS. */
#matched-resource-creator{clear:both}#matched-resource-creator *{box-sizing:border-box}#matched-resource-creator p,#matched-resource-creator li,.rs-file p,.rs-file li,.rs-file h3,.rs-file h4{overflow-wrap:anywhere}.rs-file{font:12pt/1.5 system-ui,sans-serif;color:#193c3d;background:white;max-width:178mm;margin:auto}.rs-head{display:flex!important;align-items:center;gap:14px;background:white!important;color:#193c3d!important;border-bottom:2px solid #47756a;padding:0 0 12px}.rs-head>div{flex:1;min-width:0}.rs-head h3{font-size:21pt;line-height:1.2;margin:7px 0}.rs-head p{font-size:10pt;margin:5px 0}.rs-portrait{display:block;width:64px;object-fit:contain;flex-shrink:0}.rs-small{width:50px}.rs-portrait svg{display:block;width:100%;height:auto}.rs-card{border:1px solid #a7beb0;padding:14px;margin:20px 0;min-width:0;box-decoration-break:clone}.rs-card h4{font-size:14pt;margin:0 0 10px;break-after:avoid}.rs-card>svg,.rs-models svg{display:block;width:100%;height:auto;max-width:480px;margin:auto}.rs-statistics .rs-card>svg{max-width:640px}.rs-models figure{margin:16px 0;break-inside:avoid}.rs-models figcaption{font-weight:700;margin-bottom:8px}.rs-space{line-height:2;min-height:32px}.rs-foot{font-size:9pt;border-top:1px solid #a7beb0;padding-top:10px}.rs-file table{width:100%;border-collapse:collapse;margin:16px 0;break-inside:avoid}.rs-file caption{text-align:left;font-weight:700;margin:6px 0}.rs-file th,.rs-file td{padding:10px;border:1px solid #8aab9b;text-align:left}.rs-draw-space{height:54px;overflow-wrap:anywhere}.rs-tokens{display:flex;flex-wrap:wrap;gap:8px}.rs-tokens span{display:block;padding:8px 12px;border:1px dashed #728d85;break-inside:avoid}.rs-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rs-controls label{min-width:0}.rs-controls select{width:100%;min-width:0;max-width:100%}.rs-views,.rs-actions{display:flex;flex-wrap:wrap;gap:10px}.rs-views [aria-pressed=true]{border-width:4px}.rs-preview{padding:20px;background:white;border:1px solid #a7beb0;margin-top:16px}#rs-import{width:100%;min-height:100px}.rs-file [hidden],.rs-controls [hidden]{display:none!important}@media(max-width:600px){.rs-controls{grid-template-columns:1fr}.rs-preview{padding:12px}.rs-head{gap:7px}.rs-portrait{width:42px}.rs-small{width:34px}.rs-head h3{font-size:18pt}.rs-file th,.rs-file td{padding:7px}.rs-file table{font-size:11pt}}@page{size:A4;margin:16mm}@media print{body[data-matched-resource-print]>header,body[data-matched-resource-print]>footer,body[data-matched-resource-print] main>:not(#matched-resource-creator),body[data-matched-resource-print] #matched-resource-creator>:not(#rs-preview){display:none!important}body[data-matched-resource-print],body[data-matched-resource-print] main,body[data-matched-resource-print] #matched-resource-creator{background:white!important;padding:0!important;margin:0!important;max-width:none!important;border:0!important}.rs-preview{padding:0;border:0;margin:0}.rs-file{max-width:none}.rs-card>svg,.rs-models figure,.rs-file table{break-inside:avoid}.rs-file p{orphans:3;widows:3}}

.rs-science-model{margin:15px 0;break-inside:avoid}.rs-science-model svg,.rs-body-model svg{display:block;width:100%;max-width:440px;height:auto;margin:auto}.rs-source-photo{display:block;width:auto!important;max-width:100%!important;max-height:320px!important;height:auto!important;object-fit:contain;margin:auto}.rs-science-model figcaption{font-weight:bold}.rs-credit{font-size:9pt}.rs-body-model svg{max-height:400px}.rs-chain-cards{display:flex;flex-wrap:wrap;gap:12px}.rs-chain-cards span{border:2px dashed #6e8b7e;padding:12px;font-weight:bold}.rs-file h5{font-size:13pt;margin:16px 0 5px}.rs-file a{overflow-wrap:anywhere}@media(max-width:600px){.rs-head h3{font-size:16pt}.rs-card{padding:10px}.rs-actions button,.rs-views button{min-height:44px}}

/* 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}}
