.creative-activity-builder{grid-column:1/-1;display:grid;gap:1rem;padding:1rem;border:2px solid #8bbdd4;border-radius:1rem;background:linear-gradient(145deg,#f5fbff,#fff9ee)}
.creative-activity-builder[hidden]{display:none!important}
.creative-builder-heading,.creative-editor-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem}.creative-builder-heading p{margin:.2rem 0 0}.creative-builder-basics{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(240px,1.3fr) minmax(180px,.8fr);gap:.8rem}.creative-builder-basics label,.creative-editor-fields label,.creative-picture-upload{display:grid;gap:.3rem;font-weight:800}.creative-item-builder{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.creative-editor-card{min-width:0;display:grid;gap:.75rem;padding:.85rem;border:2px solid #d2e2eb;border-radius:.9rem;background:#fff;box-shadow:0 5px 16px #16324f12}.creative-editor-card-heading span{display:flex;gap:.3rem;flex-wrap:wrap}.creative-editor-card-heading button{min-height:34px;padding:.3rem .55rem}.creative-editor-fields{display:grid;gap:.65rem}.creative-editor-picture{display:grid;place-items:center;min-height:130px;max-height:230px;overflow:hidden;border:2px dashed #b7cbd7;border-radius:.8rem;background:#f7fafc;color:#607385}.creative-editor-picture img{width:100%;height:180px}.creative-layout-controls{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:.55rem}.creative-layout-controls label{display:grid;gap:.25rem;font-size:.88rem}.creative-layout-controls label>span{display:flex;align-items:center;gap:.4rem}.creative-layout-controls input[type=range]{min-width:80px;width:100%}.creative-layout-controls output{min-width:52px;font-size:.78rem;font-weight:800;color:#34536b}
.creative-activity{display:grid;gap:.8rem;overflow:hidden}.creative-activity-title{display:flex;align-items:center;gap:.7rem}.creative-activity-title>span{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e8f4fa;font-size:1.7rem}.creative-activity-title>div{display:grid;min-width:0}.creative-activity-title strong{font-size:clamp(1.05rem,2.5vw,1.5rem);overflow-wrap:anywhere}.creative-activity-title small{color:#547087;font-weight:800}.creative-target{margin:0;padding:.65rem .8rem;border-radius:.75rem;background:#fff7db;overflow-wrap:anywhere}.creative-scene-wrap{display:grid;gap:.35rem}.creative-scene-note{margin:0;color:#526c7e;font-size:.86rem}.creative-scene{position:relative;min-height:410px;overflow:hidden;border:2px dashed #7bacc5;border-radius:1rem;background-color:#f9fcfe;background-image:linear-gradient(#dcecf455 1px,transparent 1px),linear-gradient(90deg,#dcecf455 1px,transparent 1px);background-size:24px 24px;touch-action:none}.creative-scene-card{position:absolute;z-index:1;display:grid;grid-template-rows:minmax(42px,1fr) auto;min-width:0;max-width:46%;overflow:hidden;border:2px solid #7aa8c2;border-radius:.85rem;background:#fff;box-shadow:0 5px 14px #17355222;cursor:grab;touch-action:none}.student-view .creative-scene-card{cursor:default;pointer-events:none}.creative-scene-card:focus-visible{outline:4px solid #f6b73c}.creative-scene-picture{display:grid;place-items:center;min-height:0;overflow:hidden;background:#eef7fb}.creative-scene-picture img{display:block;width:100%;height:100%}.creative-card-icon{display:grid;place-items:center;min-width:44px;min-height:44px;font-size:clamp(1.5rem,4vw,2.4rem)}.creative-scene-copy{display:grid;gap:.08rem;min-width:0;padding:.34rem .45rem;text-align:center}.creative-scene-copy b,.creative-scene-copy small{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical}.creative-scene-copy b{font-size:clamp(.72rem,1.6vw,.98rem);line-height:1.15;-webkit-line-clamp:2}.creative-scene-copy small{font-size:clamp(.62rem,1.3vw,.78rem);line-height:1.15;color:#526c7e;-webkit-line-clamp:2}.creative-scene-resize{position:absolute;right:2px;bottom:2px;width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:#2377aa;box-shadow:0 1px 4px #17355266;cursor:nwse-resize}.student-view .creative-scene-resize{display:none}
.creative-practice{display:grid;gap:.75rem;padding-top:.25rem}.creative-card-bank{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.6rem}.creative-practice-card{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:.55rem;min-width:0;min-height:76px;padding:.45rem;text-align:left;border:2px solid #9bbdcc;border-radius:.8rem;background:#fff;color:#173552}.creative-practice-card:hover,.creative-practice-card.is-selected{border-color:#2377aa;background:#e6f5fc}.creative-practice-card.is-used{opacity:.5}.creative-practice-picture{display:grid;place-items:center;width:58px;height:58px;overflow:hidden;border-radius:.6rem;background:#eef7fb}.creative-practice-picture img{width:100%;height:100%;object-fit:contain}.creative-practice-card>span:last-child{display:grid;gap:.15rem;min-width:0}.creative-practice-card b,.creative-practice-card small{overflow-wrap:anywhere}.creative-practice-card b{font-size:.96rem}.creative-practice-card small{font-size:.76rem;color:#526c7e}.creative-sequence-result{display:grid;gap:.45rem;min-height:50px;margin:.2rem 0;padding-left:2rem}.creative-sequence-result button{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:.5rem;width:100%;padding:.4rem;border:2px solid #b5d3e2;border-radius:.7rem;background:#f8fcff;text-align:left}.creative-sequence-result img{width:42px;height:42px;object-fit:contain}.creative-match{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.creative-match>div{display:grid;align-content:start;gap:.5rem}.creative-match-clue{min-height:58px;padding:.55rem;border:2px solid #a8bfd0;border-radius:.75rem;background:#fff;overflow-wrap:anywhere}.creative-match-clue.is-matched{border-color:#4a9c6b;background:#eaf8ef}.creative-total{margin:0;padding:.65rem;border-radius:.75rem;background:#e8f7ed;font-weight:900}.creative-total.over-budget{background:#fff0ec;color:#8d321b}.creative-balance{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:.6rem}.creative-balance>section{display:grid;gap:.4rem;min-height:120px;padding:.7rem;border:3px solid #668da6;border-radius:1rem 1rem .3rem .3rem;background:#f5fbff;text-align:center}.creative-balance>span{font-size:2.2rem}.creative-balance [data-balance-pan]{display:flex;flex-wrap:wrap;justify-content:center;gap:.3rem}.creative-balance [data-balance-pan] span{padding:.25rem .45rem;border-radius:999px;background:#fff;border:1px solid #aac4d2}.creative-balance output{font-size:1.3rem;font-weight:900}.creative-fraction-target{display:flex;align-items:center;gap:.8rem}.creative-fraction-target b{display:grid;place-items:center;min-width:72px;min-height:72px;border-radius:50%;background:#fff0b8;font-size:1.5rem}.creative-fraction-parts{display:flex;flex-wrap:wrap;gap:.35rem}.creative-fraction-parts button{display:grid;place-items:center;min-width:84px;min-height:94px;padding:.45rem;border:3px solid #82abc0;background:#fff}.creative-fraction-parts button.is-selected{background:#f6c85f;border-color:#9a6500}.creative-fraction-parts img{width:52px;height:52px;object-fit:contain}.creative-hear-progress,.creative-feedback{display:block;min-height:1.5rem;margin:0;font-weight:800}.creative-practice-card.is-heard{border-color:#4a9c6b;background:#eaf8ef}
.creative-practice-card.tool-correct,.creative-sequence-result button.tool-correct,.creative-match-clue.tool-correct,.coordinate-marker.tool-correct,.creative-basket-items button.tool-correct,.creative-balance [data-balance-pan] button.tool-correct,.creative-fraction-parts button.tool-correct{border-color:#31835b;background:#e7f8ee;opacity:1}
.creative-practice-card.tool-try,.creative-sequence-result button.tool-try,.creative-match-clue.tool-try,.coordinate-marker.tool-try,.creative-basket-items button.tool-try,.creative-balance [data-balance-pan] button.tool-try,.creative-fraction-parts button.tool-try{border-color:#c7533f;background:#fff0ec;opacity:1}
.coordinate-marker.tool-correct,.coordinate-marker.tool-try{border:2px solid;border-radius:.35rem;padding:1px;background:#fff}.coordinate-marker.tool-correct{border-color:#31835b}.coordinate-marker.tool-try{border-color:#c7533f}
.creative-practice-card:disabled,.creative-sequence-result button:disabled,.creative-basket-items button:disabled,.creative-balance [data-balance-pan] button:disabled,.creative-fraction-parts button:disabled{cursor:default}.creative-practice-card.tool-correct:disabled,.creative-sequence-result button.tool-correct:disabled,.creative-basket-items button.tool-correct:disabled,.creative-balance [data-balance-pan] button.tool-correct:disabled,.creative-fraction-parts button.tool-correct:disabled{color:#173552;-webkit-text-fill-color:#173552}
@media(max-width:760px){.creative-builder-basics{grid-template-columns:1fr}.creative-layout-controls{grid-template-columns:1fr}.creative-scene{min-height:480px}.creative-scene-card{max-width:48%}.creative-match{grid-template-columns:1fr}.creative-balance{grid-template-columns:1fr}.creative-balance>span{transform:rotate(90deg);justify-self:center}.creative-card-bank{grid-template-columns:1fr 1fr}.creative-practice-card{grid-template-columns:48px minmax(0,1fr)}.creative-practice-picture{width:48px;height:48px}}@media(max-width:460px){.creative-item-builder{grid-template-columns:1fr}.creative-card-bank{grid-template-columns:1fr}.creative-scene{min-height:520px}.creative-scene-card{max-width:49%}.creative-builder-heading,.creative-editor-card-heading{flex-direction:column}.creative-editor-card-heading span{width:100%}}
.creative-drag-help{margin:0;padding:.65rem .8rem;border-left:5px solid #2377aa;border-radius:.65rem;background:#eef8fd;color:#294f66}.creative-shop-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);gap:1rem;align-items:stretch}.creative-shop-layout>section:first-child{display:grid;align-content:start;gap:.55rem}.creative-basket{display:grid;align-content:start;gap:.55rem;min-height:230px;padding:1rem;border:4px dashed #7bacc5;border-radius:1.2rem;background:linear-gradient(145deg,#f4fbff,#fff9e9);transition:.18s}.creative-basket.is-drop-target,.creative-balance>section.is-drop-target{border-color:#2c8b60;background:#eaf8ef;transform:scale(1.01)}.creative-basket>strong{font-size:1.2rem}.creative-basket-items{display:grid;gap:.45rem}.creative-basket-items button{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:.5rem;width:100%;padding:.4rem;border:2px solid #9bbdcc;border-radius:.7rem;background:#fff;color:#173552;text-align:left}.creative-basket-items button>img,.creative-basket-items button>.creative-card-icon{width:48px;height:48px;min-width:48px;object-fit:contain}.creative-basket-items button>span:last-child{display:grid;min-width:0}.creative-basket-items small{color:#526c7e}.creative-basket-empty{align-self:center;justify-self:center;padding:1rem;color:#60798a;font-weight:800;text-align:center}.creative-total{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:space-between}.creative-practice-card[draggable="true"]{cursor:grab}.creative-practice-card[draggable="true"]:active{cursor:grabbing}
.coordinate-activity{display:grid;grid-template-columns:minmax(180px,.55fr) minmax(430px,1.45fr);gap:1rem;align-items:start}.coordinate-bank{grid-template-columns:1fr}.coordinate-plot-wrap{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:.35rem;min-width:0}.coordinate-y-title{align-self:center;writing-mode:vertical-rl;transform:rotate(180deg);font-size:.76rem;font-weight:900;color:#456579}.coordinate-x-title{grid-column:2;text-align:center;font-size:.76rem;font-weight:900;color:#456579}.coordinate-grid{grid-column:2;display:grid;grid-template-columns:repeat(13,minmax(26px,1fr));aspect-ratio:1;min-width:416px;overflow:hidden;border:3px solid #24475d;border-radius:.65rem;background:#fff}.coordinate-cell{position:relative;display:grid;place-items:center;min-width:0;min-height:0;padding:0;border:0;border-right:1px solid #bdd0dc;border-bottom:1px solid #bdd0dc;border-radius:0;background:#fff;color:#526c7e}.coordinate-cell.x-axis{border-bottom:3px solid #173552}.coordinate-cell.y-axis{border-right:3px solid #173552}.coordinate-cell.origin{background:#fff2bd}.coordinate-cell:hover,.coordinate-cell:focus-visible,.coordinate-cell.is-drop-target{z-index:2;background:#dff3ff;box-shadow:inset 0 0 0 3px #2377aa}.coordinate-cell.has-coordinate-marker{background:#eaf8ef}.coordinate-axis-label{position:absolute;left:2px;bottom:1px;z-index:0;font-size:clamp(.46rem,1vw,.65rem);font-weight:900;pointer-events:none}.coordinate-markers{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:1px;width:100%;height:100%;pointer-events:none}.coordinate-marker{display:grid;place-items:center;min-width:0;max-width:100%;font-size:.9rem;line-height:1}.coordinate-marker img{width:22px;height:22px;object-fit:contain}.coordinate-marker b{max-width:100%;overflow:hidden;font-size:.42rem;text-overflow:ellipsis;white-space:nowrap}.creative-coordinatePlot .creative-scene{min-height:520px}.creative-balance [data-balance-pan] button{padding:.28rem .5rem;border:1px solid #7fa6bc;border-radius:999px;background:#fff;color:#173552;font-weight:800}
@media(max-width:980px){.creative-shop-layout,.coordinate-activity{grid-template-columns:1fr}.coordinate-bank{grid-template-columns:repeat(2,minmax(0,1fr))}.coordinate-grid{min-width:390px}}@media(max-width:460px){.coordinate-grid{min-width:338px}.coordinate-bank{grid-template-columns:1fr}}

.creative-category-builder{display:grid;gap:.7rem;padding:.8rem;border:2px dashed #9fc1d3;border-radius:.85rem;background:#f7fbfd}.creative-category-builder[hidden]{display:none!important}.creative-category-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem}.creative-category-heading p{margin:.15rem 0 0}.creative-category-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.55rem}.creative-category-list label{display:grid;gap:.25rem;font-weight:800}.creative-category-list label>span{display:flex;gap:.35rem}.creative-category-list input{min-width:0}.creative-category-list button{flex:0 0 auto}
.creative-practice-card.creative-display-name{grid-template-columns:minmax(0,1fr)}.creative-practice-card.creative-display-name>.creative-practice-picture{display:none}.creative-practice-card.creative-display-picture{grid-template-columns:82px minmax(0,1fr);min-height:96px}.creative-practice-card.creative-display-picture>.creative-practice-picture{width:82px;height:82px}.creative-practice-card.creative-display-picture .creative-card-icon{font-size:2.5rem}
.creative-sort-work{display:grid;gap:.45rem}.creative-sort-zones{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.75rem}.creative-sort-zone{display:grid;align-content:start;gap:.45rem;min-height:170px;padding:.8rem;border:3px dashed #87abc0;border-radius:1rem;background:#f7fcff;color:#173552;text-align:left;transition:.16s}.creative-sort-zone:hover,.creative-sort-zone:focus-visible,.creative-sort-zone.is-drop-target{border-color:#2377aa;background:#e8f6fd;outline:0}.creative-sort-zone>strong{font-size:1.1rem;text-align:center}.creative-sort-empty{align-self:center;justify-self:center;color:#60798a;font-weight:800;text-align:center}.creative-sort-zone-items{display:grid;gap:.4rem}.creative-sort-result-card{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:.5rem;min-width:0;padding:.4rem;border:2px solid #9bbdcc;border-radius:.7rem;background:#fff;cursor:pointer}.creative-sort-result-card>.creative-card-icon,.creative-sort-result-card>img{width:48px;height:48px;min-width:48px;object-fit:contain}.creative-sort-result-card>span:last-child{display:grid;min-width:0}.creative-sort-result-card b,.creative-sort-result-card small{overflow-wrap:anywhere}.creative-sort-result-card small{color:#526c7e;font-size:.74rem}.creative-sort-result-card.tool-correct{border-color:#31835b;background:#e7f8ee;cursor:default}.creative-table-wrap{overflow-x:auto}.creative-sort-table{width:100%;min-width:460px;border-collapse:separate;border-spacing:.45rem;table-layout:fixed}.creative-sort-table th{padding:.55rem;border-radius:.6rem;background:#24475d;color:#fff;overflow-wrap:anywhere}.creative-sort-table td{padding:0;vertical-align:top}.creative-table-drop{min-height:210px}
.creative-picture-match{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.creative-picture-match>section{display:grid;align-content:start;gap:.5rem}.creative-picture-match-bank,.creative-picture-name-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.creative-picture-match-card{display:grid;place-items:center;min-height:128px;padding:.5rem;border:3px solid #9bbdcc;border-radius:.9rem;background:#fff}.creative-picture-match-card img{width:100%;height:112px;object-fit:contain}.creative-picture-match-card .creative-card-icon{min-height:100px}.creative-picture-match-card.is-selected{border-color:#2377aa;background:#e6f5fc;box-shadow:0 0 0 3px #bfe6f8}.creative-picture-name{display:grid;align-content:center;gap:.2rem;min-height:88px;padding:.65rem;border:3px solid #9bbdcc;border-radius:.8rem;background:#fff;color:#173552}.creative-picture-name small{color:#526c7e}.creative-picture-name.is-drop-target{border-color:#2377aa;background:#e6f5fc}.creative-picture-name.tool-correct{border-color:#31835b;background:#e7f8ee}
.creative-word-bank{display:flex;flex-wrap:wrap}.creative-word-card{padding:.65rem .9rem;border:3px solid #7ea8bf;border-radius:999px;background:#fff;color:#173552;font-weight:900}.creative-word-card.is-selected{border-color:#2377aa;background:#dff2fc;box-shadow:0 0 0 3px #bfe6f8}.creative-blank-list{display:grid;gap:.65rem}.creative-blank-list p{margin:0;padding:.75rem;border-left:5px solid #86aec4;border-radius:.65rem;background:#f7fbfd;font-size:1.03rem;line-height:2.2}.creative-blank-drop{display:inline-grid;place-items:center;min-width:130px;min-height:42px;margin:0 .3rem;padding:.25rem .65rem;border:3px dashed #6c99b1;border-radius:.55rem;background:#fff;color:#31576d;font-weight:900;vertical-align:middle}.creative-blank-drop.has-word{border-style:solid;background:#eef8fd}.creative-blank-drop.is-drop-target{border-color:#2377aa;background:#dff2fc}.creative-blank-drop.tool-correct{border-color:#31835b;background:#e7f8ee}.creative-blank-drop.tool-try{border-color:#c7533f;background:#fff0ec}
@media(max-width:760px){.creative-category-heading{display:grid}.creative-picture-match{grid-template-columns:1fr}.creative-sort-zones{grid-template-columns:1fr}.creative-picture-match-bank,.creative-picture-name-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:460px){.creative-category-list,.creative-picture-match-bank,.creative-picture-name-list{grid-template-columns:1fr}.creative-sort-result-card{grid-template-columns:40px minmax(0,1fr)}.creative-sort-result-card>.creative-card-icon,.creative-sort-result-card>img{width:40px;height:40px;min-width:40px}}
.card-placement-activity .creative-card-bank button.is-used{opacity:.55;cursor:default;border-style:dashed;filter:none}
.card-placement-activity .card-used-badge{display:block;font-size:.85rem;font-weight:700;color:#294f66}
.card-placement-activity .card-used-badge[hidden]{display:none}
.card-placement-activity .card-zone-heading{display:block;width:100%;padding:.65rem;border:0;border-radius:.5rem;background:transparent;color:inherit;font:inherit;font-weight:800;text-align:left}
.card-placement-activity .creative-sort-result-card{display:flex;align-items:center;gap:.5rem;width:100%;padding:.55rem;border:2px solid #9bbdcc;border-radius:.65rem;background:#fff;color:#173552;text-align:left;font:inherit}
.card-placement-activity .creative-sort-result-card:disabled{opacity:1;cursor:default}
.card-placement-activity .card-match-item{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.shared-activity-controls{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;position:static;margin-top:.7rem;padding:.75rem 0;border-top:1px solid #ccdde7}
.shared-activity-controls button{min-height:44px}
.shared-activity-controls button:disabled{cursor:default;opacity:.65}
.activity-submitted .creative-practice button:disabled{opacity:1;cursor:default}
.activity-submitted .creative-card-bank button.is-used{opacity:.6}
.creative-practice button:focus-visible,.shared-activity-controls button:focus-visible{outline:3px solid #1e77a8;outline-offset:3px}
.food-chain-bank{display:grid;gap:.55rem}
.food-chain-track{display:flex;align-items:stretch;gap:.35rem;overflow-x:auto;padding:.5rem 0 1rem;max-width:100%}
.food-chain-slot{flex:1 0 135px;min-width:0;min-height:180px;text-align:center;border-style:dashed}
.food-chain-slot b,.food-chain-slot small{overflow-wrap:anywhere;white-space:normal}
.food-chain-slot .card-match-item{display:grid;justify-items:center;gap:.4rem}
.food-chain-slot .card-match-item img{width:100%;max-width:160px;height:114px;object-fit:contain}
.food-chain-arrow{display:grid;place-items:center;align-self:center;flex:0 0 28px;font-size:2rem;font-weight:900;color:#2a7450}
.food-chain-key{margin:0;padding:.75rem;border-radius:.6rem;background:#edf7ed;color:#255939;font-weight:700}
.creative-practice-card.creative-display-name{grid-template-columns:minmax(0,1fr)}
.creative-practice-card.creative-display-name .creative-practice-picture{display:none}
@media(max-width:760px){.food-chain-track{flex-direction:column;align-items:center;overflow-x:visible}.food-chain-slot{flex:none;width:100%;min-height:145px}.food-chain-arrow{transform:rotate(90deg);height:36px}.food-chain-slot .card-match-item{grid-template-columns:110px minmax(0,1fr);width:100%;align-items:center}.food-chain-slot .card-match-item img{height:100px}.shared-activity-controls button{flex:1 1 120px}}
.card-placement-activity .card-match-item:empty{display:none}
.card-placement-activity .card-match-item img{max-width:90px;max-height:80px;object-fit:contain}
.card-placement-activity .card-placed-check{font-size:1.25rem;font-weight:800;color:#216443}
.card-placement-activity .card-placement-count{margin:.65rem 0;font-weight:700}
.card-placement-activity [data-card-source][draggable="true"]{cursor:grab;touch-action:none}
.card-placement-activity .is-selected{outline:3px solid #2377aa;outline-offset:2px}
.card-placement-activity button:focus-visible{outline:3px solid #2377aa;outline-offset:3px}
.card-placement-activity .creative-sort-bank{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));align-items:stretch}
.card-placement-activity .creative-practice-card{grid-template-columns:minmax(0,1fr);justify-items:center;align-content:start;gap:.6rem;padding:.85rem;text-align:center}
.card-placement-activity .creative-practice-card>.creative-practice-picture{width:88px;height:88px;max-width:100%}
.card-placement-activity .creative-practice-card>b,.card-placement-activity .creative-practice-card>span{min-width:0;max-width:100%;overflow-wrap:break-word;word-break:normal}
.card-placement-activity .creative-practice-card b{font-size:1rem;line-height:1.3}
.card-placement-activity .creative-practice-card.creative-display-name{min-height:70px;align-content:center}
.card-placement-activity .card-used-badge{grid-column:1/-1}
.card-placement-activity .creative-sort-result-card>span:last-of-type{min-width:0;flex:1;overflow-wrap:break-word}
.card-placement-activity .creative-sort-result-card img{flex-shrink:0}
.card-placement-activity .creative-word-bank{display:flex;flex-wrap:wrap;gap:.65rem}
.card-placement-activity .creative-word-card{min-height:48px;max-width:100%;border-radius:.65rem;overflow-wrap:break-word}
.card-placement-activity .creative-word-card .card-used-badge{font-size:.75rem}
.card-placement-activity .creative-word-card.has-picture{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:.55rem;width:150px;white-space:normal}
.card-placement-activity .creative-word-card>b{display:block;max-width:100%;line-height:1.3;overflow-wrap:anywhere}
.card-placement-activity .card-blank-picture{display:block;width:88px;height:72px;min-width:0;min-height:0;max-width:100%;overflow:hidden;flex-shrink:0}
.card-placement-activity .card-blank-picture img{display:block;width:100%;height:100%;min-height:0;max-width:100%;max-height:100%;border-radius:.35rem;object-fit:contain}
.card-placement-activity .card-blank-content{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;max-width:100%;line-height:1.3}
.card-placement-activity .card-blank-content b{min-width:0;overflow-wrap:anywhere}
.card-placement-activity .creative-blank-drop .card-blank-picture{width:64px;height:56px}
.card-placement-activity .creative-blank-list p{line-height:1.8;overflow-wrap:break-word}
.card-placement-activity .creative-blank-drop{margin:.25rem .35rem;max-width:100%;overflow-wrap:break-word}
@media(max-width:600px){.card-placement-activity .creative-sort-bank{grid-template-columns:repeat(2,minmax(0,1fr))}.card-placement-activity .creative-practice-card{padding:.6rem}.card-placement-activity .creative-practice-card>.creative-practice-picture{width:70px;height:70px}}
@media(max-width:380px){.card-placement-activity .creative-sort-bank{grid-template-columns:1fr}}
.card-placement-activity .tool-actions{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center}
.card-placement-activity [data-card-submit]{margin-left:auto;min-height:48px}
@media(max-width:600px){.card-placement-activity [data-card-submit]{flex:1 1 100%;margin-left:0}}

.creative-check[hidden]{display:none}
.food-web-canvas{position:relative;min-height:560px;border:2px dashed #87abc0;border-radius:1rem;background:#f7fcff;overflow:hidden;touch-action:pan-y}.food-web-canvas.is-drop-target{border-color:#2377aa;background:#edf8fd}.food-web-canvas:focus-visible{outline:3px solid #2377aa;outline-offset:3px}.food-web-lines,.food-web-nodes{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.food-web-line{fill:none;stroke:#2a6e99;stroke-width:3;vector-effect:non-scaling-stroke}.food-web-line.is-correct{stroke:#2a7450}.food-web-line.is-wrong{stroke:#b65345}.food-web-node{position:absolute;transform:translate(-50%,-50%);z-index:2;display:grid;justify-items:center;gap:.2rem;width:108px;min-height:130px;padding:.5rem;border:2px solid #9bbdcc;border-radius:.8rem;background:#fff;color:#173552;pointer-events:auto;touch-action:manipulation;cursor:grab;white-space:normal}.food-web-node img{width:80px;height:72px;object-fit:contain}.food-web-node b{overflow-wrap:anywhere;font-size:.93rem;line-height:1.2}.food-web-node small{font-size:.73rem;color:#527087}.food-web-node.is-selected{border-color:#2377aa;box-shadow:0 0 0 3px #bfe6f8}.food-web-node:disabled{opacity:1;cursor:default}.food-web-empty{position:absolute;inset:0;display:grid;place-items:center;padding:1rem;color:#60798a;font-weight:800;pointer-events:none}.food-web-empty[hidden]{display:none}.food-web-connect{display:flex;gap:.7rem;flex-wrap:wrap;align-items:end}.food-web-connect label,.food-web-edge-row label{display:grid;gap:.3rem;flex:1 1 140px;font-weight:800}.food-web-connect select,.food-web-edge-row select{width:100%;min-height:44px;max-width:100%;padding:.5rem;color:#16324f;background:#fff;border:1px solid #afc4d2;border-radius:.5rem}.food-web-connect>span,.food-web-edge-row>span{align-self:center;font-size:1.7rem;color:#2a7450}.food-web-arrow-list{display:grid;gap:.4rem;margin:0;padding:0;list-style:none}.food-web-arrow-list li{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.5rem .7rem;border:1px solid #ccdde7;border-radius:.5rem}.food-web-arrow-list span{overflow-wrap:anywhere}.food-web-arrow-list button{flex-shrink:0}.food-web-edge-editor{display:grid;gap:.7rem}.food-web-edge-row{display:flex;gap:.7rem;align-items:end;flex-wrap:wrap;padding:.7rem;border:1px solid #ccdde7;border-radius:.7rem;background:#fff}.food-web-connection-builder{padding:1rem;border:2px solid #c8dee9;border-radius:.8rem;background:#f7fbfd}.food-web-connection-builder[hidden]{display:none}.food-web-count{font-weight:800}.food-web-directions{padding:.75rem;border-radius:.7rem;background:#edf7ed;color:#255939}
@media(max-width:480px){.food-web-node{width:88px;min-height:122px;padding:.3rem}.food-web-node img{width:68px;height:64px}.food-web-node b{font-size:.81rem}.food-web-connect{gap:.5rem}.food-web-arrow-list li{align-items:flex-start;flex-wrap:wrap}.food-web-canvas{min-height:580px}.food-web-edge-row>span{display:none}}
.creative-practice-picture{display:block;min-height:0;min-width:0;flex-shrink:0}
.creative-practice-picture img{display:block;max-width:100%;max-height:100%;min-height:0}
.food-web-bank{grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));align-items:stretch}
.food-web-bank .creative-practice-card{grid-template-columns:minmax(0,1fr);justify-items:center;align-content:start;gap:.6rem;padding:.75rem;text-align:center}
.food-web-bank .creative-practice-picture{width:88px;height:72px;max-width:100%}
.food-web-bank .creative-practice-card>span:last-child{max-width:100%;line-height:1.3}
.food-web-node{grid-template-columns:minmax(0,1fr);align-content:start}
.food-web-node-picture{display:block;width:80px;height:72px;min-width:0;min-height:0;max-width:100%;overflow:hidden}
.food-web-node-picture img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-height:0}
.food-web-node b,.food-web-node small{display:block;min-width:0;max-width:100%;line-height:1.25}
@media(max-width:480px){.food-web-node-picture{width:68px;height:64px}}
