.kg-welcome{padding:24px;border:1px solid #bed7d8;border-radius:18px;background:#eff7f4;margin:20px 0;display:flex;gap:16px;align-items:center;flex-wrap:wrap}.kg-welcome>div:first-child{flex:1 1 380px}.kg-welcome h2{font-size:clamp(1.3rem,2vw,1.8rem);margin:8px 0}.kg-welcome p{margin:8px 0}.kg-domains{display:flex;flex-wrap:wrap;gap:8px;width:100%}.kg-welcome .form-help{width:100%}.kg-visual{margin:16px 0;padding:18px;background:#f3f8f6;border:1px solid #b6cdca;border-radius:14px;color:#14334b;break-inside:avoid}.kg-counter-groups{display:flex;gap:20px;flex-wrap:wrap}.kg-counter-group{margin:0;flex:1 1 150px}.kg-counter-group figcaption{font-weight:700;margin-bottom:14px}.kg-counters{display:grid;grid-template-columns:repeat(5,minmax(20px,1fr));gap:10px;max-width:360px;min-height:44px}.kg-counter{display:flex;flex-direction:column;align-items:center;gap:4px}.kg-counter i{display:block;width:clamp(19px,3vw,32px);height:clamp(19px,3vw,32px);border:2px solid #12585d;border-radius:50%;background:#a7d7cc}.kg-counter b{font-size:1rem}.kg-zero{grid-column:1/-1;border:2px dashed #657d82;padding:12px;text-align:center}.kg-total{font-size:1.3rem;font-weight:700;margin:12px 0 0}.kg-cards,.kg-trace,.kg-shapes{display:flex;justify-content:center;flex-wrap:wrap;gap:14px}.kg-cards>span{border:2px solid #718b91;border-radius:12px;padding:14px 20px;background:white;font-size:clamp(1.4rem,3vw,2.4rem);overflow-wrap:anywhere}.kg-trace>span{font-family:Arial,sans-serif;font-size:3.2rem;letter-spacing:8px;border-bottom:2px solid #4c6678;min-width:65px;text-align:center;color:#49616b}.kg-shapes svg{width:110px;height:110px}.kg-adult-notes h3,.kg-adult-notes h4{display:flex;align-items:center;gap:10px}.kg-adult-notes details{margin-top:18px}.kg-adult-notes li{margin:12px 0}.kg-adult-notes a svg{width:16px;height:16px;margin-left:6px}.kg-question-tools{display:flex;gap:8px;align-items:center;flex-shrink:0}.question-prompt.kg-prompt{display:flex;align-items:flex-start;gap:16px}.kg-prompt h1{flex:1;margin:0;font-size:clamp(1.4rem,2.5vw,2rem)}.kg-prompt .reading-control{margin:0}.kg-prompt .btn{min-height:44px;padding:8px 12px}.kg-hint-dialog{width:min(720px,calc(100vw - 24px));max-width:720px}.kg-hint-question{font-size:1rem;color:#425e73}.kg-hint-stage{padding:20px;border:1px solid #b6cdca;background:#eff7f4;border-radius:14px;min-height:230px}.kg-step-number{font-weight:700;color:#12585d;margin:0 0 10px}.kg-step-text{font-size:clamp(1.2rem,3vw,1.5rem);font-weight:600;margin:0;line-height:1.5}.kg-hint-stage .kg-visual{background:white}.kg-hint-stage .kg-counter,.kg-hint-stage .kg-cards>span{animation:kg-reveal .25s ease-out}.kg-short-session{padding:12px 16px;background:#edf5f4;border-radius:10px;margin:12px 0;font-size:1rem}.kg-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.kg-guide-grid section{border:1px solid #bed7d8;border-radius:12px;padding:16px}.kg-source-list li{margin:14px 0}.kg-visual-editor{margin:12px 0;padding:12px;border:1px solid #b6cdca;border-radius:8px}.kg-visual-editor textarea{font-family:monospace;font-size:.9rem}.kg-hint-dialog .modal-actions{justify-content:space-between;flex-wrap:wrap}
@keyframes kg-reveal{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}
.kg-picture-cards{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;margin:16px 0}.kg-object-card{margin:0;display:flex;flex-direction:column;align-items:center;gap:8px;max-width:100%}.kg-object-card img{display:block;width:144px;height:144px;object-fit:contain;max-width:100%}.kg-object-card figcaption{font-size:1.5rem;font-weight:650}.kg-picture-choices .choice-btn{padding:14px;min-height:190px}.kg-picture-choices .kg-object-card img{width:128px;height:128px}.kg-hint-stage .kg-object-card img{width:120px;height:120px}.kg-worksheet .kg-object-card img{width:75px;height:75px}.kg-worksheet .kg-object-card figcaption{font-size:18px}.kg-worksheet .ws-choices .kg-object-card img{width:65px;height:65px}.kg-worksheet .kg-picture-cards{margin:8px 0;gap:12px}.kg-worksheet .ws-choices li:has(.kg-object-card){display:inline-flex;flex-direction:column;align-items:center;gap:5px;min-width:90px}.kg-worksheet .ws-choices li:has(.kg-object-card) .ws-circle{align-self:flex-start}
@media(max-width:480px){.kg-picture-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important}.kg-picture-choices .choice-btn{min-height:154px;padding:10px}.kg-picture-choices .kg-object-card img{width:100px;height:100px}.kg-picture-cards .kg-object-card img{width:120px;height:120px}}
@media(max-width:600px){.kg-welcome{padding:16px}.kg-guide-grid{grid-template-columns:1fr}.question-prompt.kg-prompt{flex-wrap:wrap}.kg-question-tools{margin-left:auto}.kg-visual{padding:12px}.kg-hint-stage{padding:14px}.kg-cards>span{padding:10px 14px}.kg-hint-dialog .modal-actions .btn{padding:10px}.kg-hint-dialog .modal-body{padding:16px}}
@media(prefers-reduced-motion:reduce){.kg-hint-stage *{animation:none!important}}
body.reduce-motion .kg-hint-stage *{animation:none!important}

.kg-sheet-body .ws-question{margin:16px 0;break-inside:avoid}.kg-worksheet .kg-visual{margin:10px 0;padding:12px}.kg-worksheet .kg-counter i{width:22px;height:22px}.kg-worksheet .kg-counters{gap:7px}.kg-worksheet .kg-cards>span{font-size:24px;padding:8px 16px}.kg-worksheet .kg-trace>span{font-size:48px}.kg-worksheet .kg-shapes svg{width:90px;height:90px}.kg-worksheet .ws-question h3{font-size:18px}.kg-worksheet .ws-passage{font-size:17px}.kg-worksheet .ws-question .ws-draw{height:100px}.kg-worksheet .kg-sheet-body{flex:1}.kg-worksheet .ws-page{display:flex;flex-direction:column}.kg-worksheet .kg-counter-groups{gap:12px}.kg-worksheet .ws-footer{margin-top:auto}.kg-worksheet.ws-large-text .ws-question h3{font-size:23px}.kg-worksheet.ws-large-text .ws-passage{font-size:21px}
@media print{.kg-visual{background:white!important}.kg-counter i{background:white!important}.kg-cards>span{background:white!important}.kg-hint-stage *{animation:none!important}}
.kg-hint-stage .instruction-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(80px,100%),1fr));gap:12px;max-width:520px;margin:20px auto 0}
.kg-hint-stage .instruction-card{min-width:0;width:100%;max-width:none;gap:6px;text-align:center}
.kg-hint-stage .instruction-art{width:100%;max-width:110px;height:96px}
.kg-hint-stage .instruction-card figcaption{font-size:1rem;line-height:1.35;overflow-wrap:anywhere}

.kg-activity .kg-short-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kg-activity .kg-short-choices .choice-btn{justify-content:center;min-height:72px;font-size:1.5rem;padding:12px 8px;overflow-wrap:anywhere}.kg-activity .kg-short-choices .choice-btn:before{display:none}.kg-activity .kg-counter i{width:36px;height:36px}.kg-activity .kg-prompt{margin-bottom:20px}
.kg-response{padding:18px;background:#f3f8f6;border:1px solid #b6cdca;border-radius:14px}.kg-response>p{margin-top:0}.kg-response details{margin-top:20px}.kg-response summary{cursor:pointer;padding-block:10px}.kg-response textarea{margin-top:12px;width:100%}.kg-shared-response{white-space:normal;text-align:left}.kg-shared-response[aria-pressed=true]{background:#d7eee5;border:2px solid #12585d;color:#14334b}.kg-picture-choices .choice-btn{display:flex;flex-direction:column;gap:8px}.kg-picture-choices .choice-btn:before{display:none}.kg-picture-choices .kg-visual{margin:0;padding:0;border:0;background:none}.kg-picture-choices .kg-shapes svg{width:80px;height:80px}.kg-trace-model{margin:16px 0;border:1px solid #b6cdca;border-radius:12px;padding:12px;background:white}.kg-tracing-row{display:block;width:100%;height:130px;max-width:720px;margin-inline:auto}.kg-trace-model>p{margin:0 0 8px}.kg-trace-model .kg-tracing-row{height:110px}.kg-tracer-body{margin-top:16px}.tracer-practice{break-inside:avoid;border-bottom:1px solid #cedbd8;padding:6px 0 10px}.tracer-practice h2{font-size:18px;line-height:1.2;margin:0 0 4px}.kg-path-row{width:100%;height:130px;display:block}.kg-tracer-pack .ws-header p{margin:8px 0;font-size:13px}.kg-tracer-pack .ws-header .ws-small{font-size:11px}.kg-tracer-pack .ws-page{padding-top:.35in}.ws-share-space{height:85px;margin:8px 0 0 35px;border:1px dashed #789b92;border-radius:8px;padding:10px}.ws-share-space span{font-size:11px;color:#425e63}.kg-worksheet .ws-choices .kg-visual{margin:0;border:0;padding:0;background:none}.kg-worksheet .ws-choices .kg-shapes svg{width:70px;height:70px}.kg-worksheet .ws-choices li{flex-wrap:wrap}.kg-worksheet .kg-trace-model{margin:6px 0;padding:8px}.kg-worksheet .kg-trace-model .kg-tracing-row{height:95px}.trace-custom{padding:16px 24px;background:#eff7f4;display:flex;flex-wrap:wrap;align-items:end;gap:12px}.trace-custom label{display:flex;flex-direction:column;gap:6px}.trace-custom input{padding:10px;font-size:16px;max-width:100%}.trace-custom button,.tracing-back{min-height:44px;padding:10px 14px}.tracing-back{display:inline-flex;align-items:center;color:#12585d}.reading-status:empty{display:none}.kg-activity .reading-status:not(.sr-only){font-size:.95rem;color:#425e73}.kg-tracing-link{white-space:normal}
@media(max-width:600px){.kg-response{padding:14px}.kg-shared-response{width:100%}.kg-activity .kg-short-choices{gap:8px}.kg-activity .kg-short-choices .choice-btn{font-size:1.25rem}.kg-picture-choices .kg-shapes svg{width:64px;height:64px}.kg-trace-model .kg-tracing-row{height:100px}.trace-custom{padding:14px}.trace-custom label{width:100%}.kg-tracer-pack .ws-header h1{font-size:24px}.kg-tracer-pack .ws-page{padding:24px 18px 70px}.kg-worksheet .ws-share-space{margin-left:0}.kg-tracing-link{width:100%}}
@media print{.trace-custom,.tracing-back{display:none!important}.kg-tracing-row,.kg-path-row{print-color-adjust:exact}.kg-trace-model{break-inside:avoid}.kg-tracer-pack .ws-page{height:11in;min-height:11in}.kg-tracer-pack.ws-format-a4 .ws-page{height:297mm;min-height:297mm}}

.tracing-page{font-family:Arial,sans-serif;line-height:1.5;color:#14334b}.trace-custom{align-items:center}.trace-custom>div{display:flex;flex-wrap:wrap;gap:8px}.trace-custom p{flex-basis:100%;margin:0;font-size:.9rem}.trace-custom label{font-weight:600}.trace-custom input,.trace-custom button{border:1px solid #718b91;border-radius:8px;color:#14334b;background:white;font:inherit}.trace-custom button{cursor:pointer}.trace-custom button[type=submit]{background:#086b70;color:white;border-color:#086b70}.trace-custom button:focus-visible,.trace-custom input:focus-visible,.tracing-back:focus-visible{outline:3px solid #1d5eb0;outline-offset:3px}.trace-custom p:empty{display:none}

.kg-picture{position:relative;width:100%;margin:14px auto}.kg-picture>img{display:block;width:100%;height:auto;object-fit:contain}.kg-picture-motion{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.kg-picture-motion polyline{stroke-dasharray:1;stroke-dashoffset:1}.kg-worksheet .kg-picture{max-width:470px}.kg-worksheet .kg-picture>img{max-height:140px}.kg-worksheet .kg-picture-motion{display:none}.kg-hint-dialog .kg-picture{background:white;border-radius:12px}.kg-activity .draw-pad[style*=background-image]{max-width:100%;aspect-ratio:3/1;min-height:0}@media print{.kg-picture-motion{display:none!important}}

.kg-editor-picture{max-width:600px}.kg-editor-picture .kg-picture-motion{display:none}
.kg-worksheet .ws-choices li:has(.kg-object-card) .ws-circle{width:18px;height:18px;flex:0 0 18px;align-self:center}

/* Calm, equally weighted pictures help early readers choose by meaning. */
.kg-activity .kg-object-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.kg-activity .kg-object-choices .choice-btn{position:relative;min-width:0;min-height:174px;padding:16px 12px;justify-content:center;align-items:center;gap:10px;font-size:1.25rem;text-align:center}
.kg-object-choices .choice-btn>.instruction-art{width:104px;max-width:100%;height:94px;flex:none}
.kg-object-choices .choice-btn>span:not(.choice-selection){min-width:0;overflow-wrap:anywhere}
.kg-object-choices .choice-selection{position:absolute;top:8px;right:8px;width:23px;height:23px;border-radius:50%;background:#086b70;color:#fff;display:grid;place-items:center;visibility:hidden}
.kg-object-choices .choice-selection svg{width:16px;height:16px}
.kg-object-choices .selected .choice-selection{visibility:visible}
.kg-object-choices .choice-btn:focus-visible{outline:3px solid #275eb8;outline-offset:3px}
@media(max-width:600px){
 .kg-activity .kg-object-choices{grid-template-columns:minmax(0,1fr)!important;gap:10px}
 .kg-activity .kg-object-choices .choice-btn{min-height:94px;padding:12px 40px 12px 18px;flex-direction:row;justify-content:flex-start;gap:20px;font-size:1.125rem;text-align:left}
 .kg-object-choices .choice-btn>.instruction-art{width:72px;height:65px}
 .kg-object-choices .choice-selection{top:50%;transform:translateY(-50%);right:12px}
}
