/* Class 6-8 quick-play labs (simuveda.in/kids/, 2026-10-27). */
.kl-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 6px; }
.kl-chapter { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .35); color: var(--cyan); font-weight: 600; font-size: .88rem; }
.kl-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; margin: 18px 0 28px; }
.kl-stage { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.kl-side { padding: 18px; position: sticky; top: 84px; }
.kl-side h2 { font-size: 1.1rem; margin: 0 0 10px; }
.kl-tasks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.kl-tasks li { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.kl-tasks li.is-done { border-color: #34D399; background: rgba(52, 211, 153, .08); }
.kl-tick { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); display: grid; place-items: center; font-weight: 800; color: #04121c; }
.kl-tasks li.is-done .kl-tick { background: #34D399; border-color: #34D399; }
.kl-status { font-weight: 700; margin: 0 0 10px; }
.kl-svg { width: 100%; max-width: 620px; max-height: 420px; height: auto; margin: 0 auto; display: block; border-radius: 12px; background: #0A1628; }
.kl-front { max-width: 220px; justify-self: center; }
.kl-controls { display: grid; gap: 8px; }
.kl-q { margin: 6px 0 0; font-weight: 700; }
.kl-items { display: flex; flex-wrap: wrap; gap: 8px; }
.kl-chip { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
.kl-chip[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: #03131d; }
.kl-guess { display: flex; gap: 8px; flex-wrap: wrap; }
.kl-guess .btn { flex: 1 1 140px; }
.kl-switch { justify-self: start; min-width: 160px; }
.kl-result { margin: 6px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--surface-raised); border: 1px solid var(--border); line-height: 1.5; min-height: 48px; }
.kl-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 6px; }
.kl-table caption { text-align: left; font-weight: 700; padding: 4px 0; }
.kl-table th, .kl-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.kl-slider { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-weight: 600; }
.kl-slider input { grid-column: 1 / -1; width: 100%; min-height: 32px; accent-color: var(--cyan); }
.kl-slider output { color: var(--cyan); font-variant-numeric: tabular-nums; }
.kl-toast { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 50; padding: 10px 16px; border-radius: 999px; background: #34D399; color: #04121c; font-weight: 800; font-size: .92rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); animation: kl-pop .25s ease-out; max-width: min(420px, calc(100vw - 32px)); text-align: center; }
@keyframes kl-pop { from { transform: translate(-50%, 10px); opacity: 0; } }
.kl-words { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 8px 0 0; }
.kl-words dt { font-weight: 700; }
.kl-words dd { margin: 0; color: var(--muted); }
.kl-more { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 30px; }
/* SVG parts */
.kl-label { fill: #E6F2FF; font: 600 13px system-ui, sans-serif; }
.kl-small { fill: #A9BDD5; font: 12px system-ui, sans-serif; }
.kl-wire { fill: none; stroke: #9AA5B1; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.kl-flow { fill: none; stroke: #FDE68A; stroke-width: 3; stroke-dasharray: 2 14; stroke-linecap: round; opacity: 0; }
.is-lit .kl-flow { opacity: 1; animation: kl-flow 0.8s linear infinite; }
@keyframes kl-flow { to { stroke-dashoffset: -16; } }
.kl-cell { fill: #2B3A55; stroke: #9AA5B1; stroke-width: 2; }
.kl-bulb { fill: rgba(255, 255, 255, .08); stroke: #CBD5E1; stroke-width: 2; }
.kl-fil { fill: none; stroke: #94A3B8; stroke-width: 2; }
.kl-glow { fill: #FDE68A; opacity: 0; transition: opacity .3s; }
.is-lit .kl-glow { opacity: .55; }
.is-lit .kl-fil { stroke: #FFF7CC; }
.is-lit .kl-bulb { fill: #FDE68A; }
.kl-dot { fill: #CBD5E1; }
.kl-lever { stroke: #E2E8F0; stroke-width: 4; stroke-linecap: round; transition: all .2s; }
.kl-clip { fill: #64748B; }
.kl-obj { fill: transparent; stroke: #475569; stroke-dasharray: 4 4; }
.kl-obj.is-set { fill: #A78B6D; stroke: none; }
.kl-obj.is-set.is-metal { fill: #B8C2CC; }
.kl-water { opacity: .45; }
.kl-tank { fill: none; stroke: #CBD5E1; stroke-width: 3; }
.kl-thing { stroke: rgba(0, 0, 0, .35); stroke-width: 1.5; }
.kl-dark { background: #050912; }
.kl-beam { fill: rgba(253, 230, 138, .10); }
.kl-ray { stroke: rgba(253, 230, 138, .55); stroke-width: 1.5; stroke-dasharray: 4 4; }
.kl-screen { stroke: #E2E8F0; stroke-width: 6; }
.kl-shade { fill: #000; }
.kl-torch { fill: #475569; }
.kl-lamp { fill: #FDE68A; }
.kl-objside { fill: #C68A4E; }
.kl-objside.kl-translucent { fill: #F5E6C8; opacity: .7; }
.kl-objside.kl-transparent { fill: #BFEFFF; opacity: .35; }
.kl-wall { fill: #F1F5F9; }
.kl-shadowshape { fill: #111827; }
@media (max-width: 860px) {
  .kl-wrap { grid-template-columns: 1fr; }
  .kl-side { position: static; }
}
.kl-track { fill: #1F3A2E; }
.kl-lane { stroke: rgba(255, 255, 255, .35); stroke-dasharray: 6 6; }
.kl-finish { stroke: #F8FAFC; stroke-width: 4; stroke-dasharray: 5 5; }
.kl-axis { fill: none; stroke: #64748B; stroke-width: 1.5; }
.kl-plot { fill: none; stroke-width: 3; stroke-linecap: round; }
.kl-wave { fill: none; stroke: #22D3EE; stroke-width: 2.5; }
.kl-big { fill: #F8FAFC; font: 800 20px system-ui, sans-serif; }
.kl-crust { fill: #C68A4E; }
.kl-slice { fill: #FDE7B0; stroke: #8A5A2B; stroke-width: 2; cursor: pointer; }
.kl-slice.is-on { fill: #E5484D; }
.kl-two { grid-template-columns: 1fr 1fr; }
.kl-two .kl-result { grid-column: 1 / -1; }
.kl-fs { border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px 10px; margin: 0; display: grid; gap: 6px; }
.kl-fs legend { font-weight: 700; padding: 0 4px; }
.kl-protractor { fill: rgba(34, 211, 238, .08); stroke: rgba(34, 211, 238, .5); }
.kl-tickmark { stroke: rgba(34, 211, 238, .6); }
.kl-arc { fill: rgba(253, 230, 138, .35); stroke: #FDE68A; }
.kl-arm { stroke: #E2E8F0; stroke-width: 4; stroke-linecap: round; }
.kl-arm2 { stroke: #22D3EE; }
.kl-knob { fill: #22D3EE; stroke: #fff; stroke-width: 2; cursor: grab; touch-action: none; }
@media (max-width: 560px) { .kl-two { grid-template-columns: 1fr; } }
.kl-svg { -webkit-user-select: none; user-select: none; }
.kl-big-sm { font-size: 16px; }
.kl-paper { fill: #F8F5EC; }
.kl-bowl { fill: rgba(203, 213, 225, .12); stroke: #CBD5E1; stroke-width: 3; }
.kl-canvas { aspect-ratio: 400 / 240; }
.kl-chip.is-solved::after { content: " ✓"; color: #34D399; font-weight: 800; }
.kl-chip.is-solved[aria-pressed="true"]::after { color: #03131d; }
.kl-grid { stroke: rgba(148, 163, 184, .25); }
.kl-rect { fill: rgba(34, 211, 238, .35); stroke: #22D3EE; stroke-width: 3; }
.kl-found { margin: 0; color: var(--muted); }
.kl-part { cursor: pointer; transition: filter .15s; }
.kl-part:hover { filter: brightness(1.15); }
.kl-part.is-picked { stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .7)); }
.kl-mirror { fill: #CBD5E1; }
.kl-normal { stroke: rgba(226, 232, 240, .5); stroke-dasharray: 5 5; }
.kl-ray-in { stroke: #FDE68A; stroke-width: 3; }
.kl-ray-out { stroke: #FB923C; stroke-width: 3; }
.kl-target { fill: rgba(229, 72, 77, .35); stroke: #E5484D; stroke-width: 3; }
.kl-target.is-hit { fill: #34D399; stroke: #34D399; }
.kl-stand { fill: #64748B; }
.kl-beam { fill: #CBD5E1; }
.kl-pan { fill: #94A3B8; }
.kl-bag { fill: #A16207; stroke: #FDE68A; stroke-width: 1.5; }
.kl-marble { fill: #22D3EE; stroke: #0E7490; }
.kl-tally { display: grid; gap: 6px; }
.kl-tally-row { display: grid; grid-template-columns: 130px 1fr 28px 44px; align-items: center; gap: 8px; }
.kl-marks { font: 700 18px/1 ui-monospace, monospace; letter-spacing: 1px; color: var(--text); }
.kl-marks s { text-decoration-thickness: 2px; }
.kl-count { font-weight: 700; text-align: right; }
.kl-minus { min-height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 700 18px system-ui; cursor: pointer; }
.kl-sun { fill: #FBBF24; }
.kl-sunray { stroke: rgba(251, 191, 36, .45); stroke-width: 2; stroke-dasharray: 6 6; }
.kl-earth { fill: #1D4ED8; }
.kl-dayside { fill: rgba(96, 165, 250, .85); }
.kl-nightside { fill: rgba(2, 6, 23, .75); }
.kl-india { fill: #F97316; stroke: #fff; stroke-width: 2; }
.kl-india.is-night { fill: #FDBA74; }
.kl-spinarrow { fill: none; stroke: rgba(226, 232, 240, .5); stroke-width: 2; stroke-dasharray: 4 4; }
@media (max-width: 480px) { .kl-tally-row { grid-template-columns: 110px 1fr 24px 44px; } }
.kl-resistor { fill: #D4A373; stroke: #78350F; stroke-width: 2; }
.kl-meter { fill: #0F172A; stroke: #CBD5E1; stroke-width: 2; }
.kl-pt { fill: #FDE68A; stroke: #92400E; }
.kl-cart { fill: #3B82F6; stroke: #BFDBFE; stroke-width: 1.5; }
.kl-wheel { fill: #1E293B; stroke: #CBD5E1; stroke-width: 2; }
.kl-force { fill: none; stroke: #F97316; stroke-width: 4; stroke-linecap: round; }
.kl-tube { fill: rgba(226, 232, 240, .08); stroke: #CBD5E1; stroke-width: 3; }
.kl-marker { fill: #F8FAFC; }
.kl-tri { fill: rgba(34, 211, 238, .18); stroke: #22D3EE; stroke-width: 3; stroke-linejoin: round; }
.kl-sq { fill: none; stroke: #E2E8F0; stroke-width: 1.5; }
.kl-bar { fill: #3B82F6; }
.kl-theory { stroke: #FDE68A; stroke-width: 2.5; stroke-dasharray: 5 3; }
.kl-eq { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding: 18px 10px; font-size: 1.5rem; }
.kl-term { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto auto; align-items: center; justify-items: center; column-gap: 2px; }
.kl-term .kl-step:first-child { grid-column: 1 / -1; grid-row: 1; }
.kl-term .kl-step:last-child { grid-column: 1 / -1; grid-row: 3; }
.kl-coef { grid-row: 2; grid-column: 1; color: var(--cyan); min-width: .6em; text-align: right; }
.kl-f { grid-row: 2; grid-column: 2; font-weight: 700; }
.kl-step { min-width: 44px; min-height: 36px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-size: .9rem; }
.kl-arrow, .kl-plus { color: var(--muted); font-weight: 700; }
.kl-table tr.is-ok td { color: #34D399; }
.kl-table tr.is-off td { color: #FCA5A5; }
.kl-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.kl-check input { width: 22px; height: 22px; accent-color: var(--cyan); }
.kl-ramp { fill: none; stroke: #CBD5E1; stroke-width: 5; stroke-linecap: round; }
.kl-ballx { fill: #F97316; stroke: #fff; stroke-width: 2; }
.kl-ground { fill: #1F3A2E; }
.kl-person { fill: #FBBF24; }
.kl-wallblock { fill: #9A3412; stroke: #FDBA74; }
.kl-pulse { fill: none; stroke: #22D3EE; stroke-width: 3; }
.kl-scale { fill: #64748B; }
.kl-bill-total { font-size: 1.15rem; padding: 12px 14px; border-radius: 10px; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .35); }
.kl-apps input[type=range] { width: 100%; min-width: 90px; accent-color: var(--cyan); }
.kl-apps td:nth-child(3) { min-width: 120px; }
.kl-apps output { font-variant-numeric: tabular-nums; color: var(--cyan); }
.kq { margin: 8px 0 18px; }
.kq-score { font-weight: 700; color: var(--cyan); }
.kq-q { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px 14px; margin: 0 0 12px; background: var(--surface); }
.kq-q legend { font-weight: 700; padding: 0 6px; }
.kq-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.kq-opt { min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-raised); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.kq-opt:hover { border-color: var(--cyan); }
.kq-opt.is-right { background: rgba(52, 211, 153, .18); border-color: #34D399; }
.kq-opt.is-wrong { background: rgba(229, 72, 77, .15); border-color: #E5484D; }
.kq-q.is-done .kq-opt:not(.is-right) { opacity: .55; }
.kq-why { margin: 10px 0 0; color: var(--muted); }
@media (max-width: 560px) { .kq-opts { grid-template-columns: 1fr; } }
.kl-wax { fill: #F5E6C8; }
.kl-flame { fill: #FBBF24; }
.kl-boxwall { fill: #475569; }
.kl-holegap { fill: #050912; }
.kl-screen2 { fill: #E2E8F0; opacity: .25; }
.kl-sand { fill: #D6B57A; }
.kl-press { fill: #64748B; stroke: #CBD5E1; }
.kl-sky { fill: #0B2545; }
.kl-mountain { fill: #3F6212; }
.kl-sea { fill: #1D4ED8; }
.kl-river { fill: none; stroke: #60A5FA; stroke-width: 5; stroke-linecap: round; }
.kl-cloud { fill: #E2E8F0; }
.kl-vapour { fill: rgba(191, 219, 254, .8); }
.kl-drop { stroke: #93C5FD; stroke-width: 2; stroke-linecap: round; }
.kl-bar-neg { fill: #E5484D; }
.kl-tiny { fill: #A9BDD5; font: 9px system-ui, sans-serif; }
.kl-neg { fill: #FCA5A5; }
.kl-line { stroke: #22D3EE; stroke-width: 3; }
.kl-cdot { fill: #FDE68A; }
.kl-square { max-width: 420px; }
.kl-hop { fill: none; stroke: rgba(253, 230, 138, .6); stroke-width: 2; stroke-dasharray: 5 4; }
.kl-frog { fill: #34D399; stroke: #065F46; stroke-width: 2; }
.kl-jug { fill: rgba(226, 232, 240, .06); stroke: #CBD5E1; stroke-width: 2; }
.kl-dark-text { fill: #0F172A; font-size: 11px; }
.kl-blood { fill: #1D4ED8; stroke: #fff; stroke-width: 2; transition: cx .4s, cy .4s; }
.kl-blood.is-red { fill: #B91C1C; }
.kl-eyeball { fill: rgba(241, 245, 249, .08); stroke: #CBD5E1; stroke-width: 2; }
.kl-retina { fill: none; stroke: #F87171; stroke-width: 4; }
.kl-eyelens { fill: rgba(191, 239, 255, .5); stroke: #BFEFFF; }
.kl-specs { fill: rgba(191, 239, 255, .35); stroke: #BFEFFF; stroke-width: 1.5; }
.kl-spot { fill: rgba(253, 230, 138, .35); }
.kl-spot.is-sharp { fill: #FDE68A; }
.kl-nail { fill: #94A3B8; transition: opacity .2s; }
.kl-turn { fill: none; stroke: #D97706; stroke-width: 2.5; }
.kl-pin { stroke: #E2E8F0; stroke-width: 2; stroke-linecap: round; }
.kl-orbit { fill: none; stroke: rgba(226, 232, 240, .3); stroke-dasharray: 4 5; }
.kl-earthbody { fill: #1E3A8A; }
.kl-axisline { stroke: #F8FAFC; stroke-width: 2; }
.kl-body { fill: rgba(253, 186, 116, .08); stroke: rgba(253, 186, 116, .3); }
.kl-bite { fill: #22C55E; stroke: #fff; stroke-width: 2; transition: cx .4s, cy .4s; }
.kl-sort { padding: 16px; display: grid; gap: 12px; }
.kl-card { margin: 0; padding: 18px; border-radius: 12px; background: var(--surface-raised); border: 1px solid var(--border); font-size: 1.3rem; font-weight: 800; text-align: center; }
.kl-bins { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kl-bins h3 { margin: 0 0 6px; font-size: 1rem; }
.kl-bin { list-style: none; margin: 0; padding: 8px; min-height: 60px; border: 1px dashed var(--border); border-radius: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.kl-bin li { padding: 4px 10px; border-radius: 999px; background: var(--surface); font-size: .85rem; }
.kl-side { stroke: #F97316; stroke-width: 8; stroke-linecap: round; transition: opacity .2s; }
.kl-side.is-off { opacity: .15; stroke-dasharray: 6 8; }
.kl-log { fill: #78350F; stroke: #451A03; }
.kl-flame2 { fill: #F97316; }
.kl-pay { fill: #3B82F6; }
.kl-off { fill: #34D399; }
.kl-area { fill: rgba(34, 211, 238, .2); }
.kl-dotm { fill: #A78BFA; stroke: #fff; stroke-width: 1.5; }
.kl-marks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 14px; }
@media (max-width: 560px) { .kl-marks-grid { grid-template-columns: 1fr 1fr; } }

/* Printed worksheet: no site chrome or controls; goals become tick boxes and the quiz becomes a lettered list. */
@media print {
  body { background: #fff !important; color: #000 !important; }
  .site-header, .site-footer, .crumbs, .kl-stage, #kl-reset, #kl-print, .kl-status, .kl-more, .kl-toast, .kq-score, .kq-why, section[aria-label="Analytics preferences"], #sv-account { display: none !important; }
  .kl-wrap { display: block !important; margin: 0 !important; }
  .kl-side { position: static !important; border: 0 !important; background: none !important; padding: 0 !important; }
  .kl-tasks li { border: 0 !important; background: none !important; padding: 4px 0 !important; }
  .kl-tick { border: 2px solid #000 !important; background: #fff !important; color: transparent !important; border-radius: 4px !important; }
  h1, h2, .lead, .kl-words dd, .kl-words dt, p, li, legend { color: #000 !important; }
  .kl-chapter { color: #000 !important; border-color: #000 !important; background: none !important; }
  .kq-q { border: 1px solid #999 !important; background: none !important; break-inside: avoid; }
  .kq-opts { display: block !important; counter-reset: opt; }
  .kq-opt { display: block !important; border: 0 !important; background: none !important; color: #000 !important; min-height: 0 !important; padding: 2px 0 !important; counter-increment: opt; }
  .kq-opt::before { content: "(" counter(opt, lower-alpha) ") "; }
  .panel { box-shadow: none !important; }
  section[aria-labelledby="next-h"] { display: none !important; }
  .kl-head::after { content: "Play online: " attr(data-url); margin-left: 12px; font-weight: 700; color: #000; }
}
.kl-balloon { fill: #E5484D; stroke: #FCA5A5; stroke-width: 2; }
.kl-string { fill: #FCA5A5; stroke: #CBD5E1; stroke-width: 1.5; }
.kl-neg-c { fill: #BFDBFE; font: 800 16px system-ui; }
.kl-pos-c { fill: #FDE68A; font: 800 16px system-ui; }
.kl-hair { fill: none; stroke: #92400E; stroke-width: 3; stroke-linecap: round; }
.kl-paperbit { fill: #F8FAFC; }
.kl-prism { fill: rgba(191, 239, 255, .18); stroke: #BFEFFF; stroke-width: 2; }
.kl-whitebeam { stroke-width: 4; }
.kl-mirrorline { stroke: #F43F5E; stroke-width: 3; stroke-dasharray: 6 4; }
.kl-cellsq { fill: #1E293B; stroke: #334155; cursor: pointer; }
.kl-cellsq.is-locked { fill: #0F172A; cursor: default; }
.kl-cellsq.is-on { fill: #22D3EE; }
.kl-cellsq.is-mirror { fill: rgba(34, 211, 238, .55); }
