.d10-stage{min-height:0;overflow:hidden}.d10-shell{height:100%;display:grid;grid-template-columns:minmax(0,1fr)250px;gap:16px;padding:16px;min-height:0}.d10-paper{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid var(--sp-line);border-radius:20px;background:#fff}.d10-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid var(--sp-line)}.d10-heading h2{font:25px var(--sp-font-display);margin:0}.d10-heading small{font-size:13px;color:#566b5c}.d10-board{flex:1;min-height:0;min-width:0;display:grid;place-items:center;overflow:hidden}.d10-board canvas{display:block;touch-action:none;user-select:none;-webkit-user-select:none;border-radius:8px;outline-offset:-3px}.d10-side{display:flex;flex-direction:column;gap:12px;min-width:0;overflow-y:auto}.d10-lesson{background:#edf3e3;border-radius:16px;padding:16px;font-size:15px;line-height:1.7}.d10-lesson b{display:block;font:22px var(--sp-font-display);margin-bottom:8px}.d10-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.d10-actions button{min-height:52px;border:1px solid var(--sp-line);background:#fff;border-radius:12px;font-size:14px;font-weight:800;padding:10px;cursor:pointer;touch-action:manipulation}.d10-actions .d10-submit{grid-column:1/3;background:#286f62;color:#fff;border-color:#286f62;font-size:19px}.d10-actions .d10-mode{grid-column:1/3;background:#fff1d6}.d10-actions button:disabled{opacity:.55;cursor:default}.d10-feedback{background:#fff1d6;border-radius:16px;padding:16px;font-size:14px;line-height:1.6}.d10-feedback b{display:block;font:34px var(--sp-font-num);color:#26674e}.d10-feedback p{margin:8px 0}.d10-next{min-height:52px;border:0;border-radius:12px;background:#286f62;color:#fff;font-size:17px;font-weight:800;cursor:pointer;padding:12px}.d10-hint{font-size:12px;line-height:1.7;color:#58685c;margin:0}.d10-live{min-height:20px;font-size:13px;color:#326649}.d10-collection{display:block;text-decoration:none;min-height:48px;padding:12px;color:#26705d;font-size:14px}.d10-stage button:focus-visible{outline:3px solid #dba236;outline-offset:2px}
@media(max-width:700px){.d10-shell{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr)auto;gap:10px;padding:10px}.d10-side{gap:8px;overflow:visible}.d10-lesson{display:none}.d10-heading{padding:8px 12px;min-height:48px}.d10-heading h2{font-size:20px}.d10-heading small{font-size:11px}.d10-actions{grid-template-columns:repeat(3,1fr);gap:8px}.d10-actions button{padding:8px 3px;font-size:12px;min-height:48px}.d10-actions .d10-submit{grid-column:auto;font-size:15px}.d10-actions .d10-mode{grid-column:1/4;min-height:48px}.d10-hint{font-size:11px;line-height:1.5}.d10-feedback{padding:10px;display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center}.d10-feedback b{font-size:29px}.d10-feedback p{margin:0;font-size:12px}.d10-feedback small{grid-column:1/3}.d10-next{min-height:48px;font-size:15px}.d10-live{display:none}}
@media(max-height:520px) and (min-width:600px){.d10-shell{grid-template-columns:minmax(0,1fr)220px;gap:10px;padding:10px}.d10-side{gap:8px}.d10-lesson{display:none}.d10-heading{padding:6px 12px}.d10-heading h2{font-size:18px}.d10-actions button{min-height:48px;padding:8px}.d10-feedback{padding:8px;font-size:12px}.d10-feedback b{font-size:25px}.d10-feedback p{margin:3px 0}.d10-hint{font-size:10px}.d10-next{min-height:48px}}
@media(prefers-reduced-motion:reduce){.d10-stage *{animation:none!important;transition:none!important}}
.d10-heading{display:grid;grid-template-columns:minmax(0,1fr)112px;grid-template-areas:'title example' 'best example';gap:4px 10px}.d10-heading h2{grid-area:title;align-self:end;line-height:1.3;overflow-wrap:anywhere}.d10-heading small{grid-area:best;align-self:start;font-size:14px}.d10-example{grid-area:example;display:flex;flex-direction:column;align-items:center;color:#355c4e;font-size:12px;line-height:1.4;text-align:center}.d10-preview{display:block;width:88px;height:88px;max-width:100%;background:#edf5ef;border:1px solid #b6cabc;border-radius:12px;pointer-events:none}.d10-example span{margin-top:3px}.d10-hint{font-size:14px}.d10-result-pictures{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:12px 0}.d10-result-pictures figure{margin:0;text-align:center;font-size:14px;font-weight:700}.d10-result-pictures img{display:block;width:130px;height:130px;object-fit:contain;border:1px solid var(--sp-line);border-radius:12px}.d10-result-pictures figcaption{margin-top:5px}.d10-result-source{font-size:14px;line-height:1.6;color:#3a6357}
@media(max-width:700px){.d10-heading{grid-template-columns:minmax(0,1fr)90px;padding:8px 10px;min-height:100px}.d10-preview{width:70px;height:70px}.d10-heading small{font-size:13px}.d10-example{font-size:11px}.d10-hint{font-size:13px}.d10-actions button{font-size:13px}.d10-result-pictures img{width:110px;height:110px}}
@media(max-height:520px) and (min-width:600px){.d10-heading{grid-template-columns:minmax(0,1fr)84px;min-height:82px}.d10-preview{width:56px;height:56px}.d10-example{font-size:11px}.d10-hint{font-size:13px}.d10-side{overscroll-behavior:contain}}
