.learning-quest,.learning-quest *{box-sizing:border-box}.learning-quest{color:#173a35;background:linear-gradient(150deg,#effaf4,#edf5ff);min-height:100vh;padding:clamp(16px,3vw,36px);font-family:inherit}.learning-quest>*{max-width:1100px;margin-left:auto;margin-right:auto}.learning-quest-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.learning-quest a{color:#1b594c;text-underline-offset:4px;text-decoration:underline}.learning-quest-intro h1{margin:10px 0;font-size:clamp(30px,5vw,48px);font-weight:850;line-height:1.1}.learning-quest-intro p{margin:12px 0;font-size:18px}.learning-quest-intro small{max-width:850px;display:block}.learning-quest-kicker{text-transform:uppercase;letter-spacing:.07em;color:#326353;font-size:13px;font-weight:800}.learning-quest-panel{background:#fff;border:1px solid #c6dfd5;border-radius:22px;margin-top:22px;padding:clamp(18px,3vw,30px);box-shadow:0 6px 24px #194e3510}.learning-quest h2{margin:0 0 14px;font-size:23px;font-weight:800;line-height:1.4}.learning-quest p{overflow-wrap:anywhere;line-height:1.6}.learning-quest button{cursor:pointer;white-space:normal;overflow-wrap:anywhere;touch-action:manipulation;background:#f7fcfa;border:2px solid #b6d4c7;border-radius:12px;min-height:48px;padding:10px 18px;font-size:16px;font-weight:750}.learning-quest button:disabled{opacity:.55;cursor:not-allowed}:is(.learning-quest button:focus-visible,.learning-quest input:focus-visible,.learning-quest summary:focus-visible){outline-offset:3px;outline:4px solid #dd991b}.learning-quest button.learning-quest-primary{color:#fff;background:#17664c;border-color:#17664c;margin-top:18px}.learning-quest-toolbar,.learning-quest-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:24px;display:flex}.learning-quest-toolbar strong{font-size:26px}.learning-quest-subjects{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px;display:grid}.learning-quest-subject{border:1px solid #d5e4dc;border-radius:14px;min-width:0;padding:14px}.learning-quest-subject legend{padding:0 8px;font-size:20px;font-weight:800}.learning-quest-goal{cursor:pointer;border-bottom:1px solid #e6eee9;align-items:flex-start;gap:11px;padding:13px 5px;font-size:16px;line-height:1.4;display:flex}.learning-quest-goal:last-child{border-bottom:0}.learning-quest-goal input{accent-color:#17664c;flex:0 0 22px;width:22px;height:22px;margin-top:2px}.learning-quest-goal span{overflow-wrap:anywhere}.learning-quest-goal small{color:#60736a;margin-top:5px;font-size:12px;display:block}.learning-quest-goal.is-locked{color:#64756b;cursor:not-allowed}.learning-quest-question{white-space:pre-line;font-size:clamp(22px,3vw,30px)!important}.learning-quest-choices{gap:12px;margin:22px 0;display:grid}.learning-quest-choices legend{margin-bottom:12px;font-weight:700}.learning-quest-choices label{cursor:pointer;overflow-wrap:anywhere;border:2px solid #cfdfd6;border-radius:14px;align-items:center;gap:15px;min-height:60px;padding:15px;font-size:20px;display:flex}.learning-quest-choices input{accent-color:#17664c;flex-shrink:0;width:22px;height:22px}.learning-quest .is-selected{background:#e3f4ea!important;border-color:#17664c!important}.learning-quest-typed{gap:12px;margin-top:24px;font-weight:750;display:grid}.learning-quest-typed input{color:#173a35;background:#fff;border:2px solid #a1bfb1;border-radius:12px;width:100%;max-width:600px;min-height:60px;padding:12px;font-size:24px}.learning-quest-items{flex-wrap:wrap;gap:12px;margin:18px 0;display:flex}.learning-quest-items button{background:#f3f7ff;border-color:#afc3de;font-size:19px}.learning-quest-slots{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.learning-quest-slots button{text-align:left;border-style:dashed;min-height:100px;padding:18px}.learning-quest-slots strong,.learning-quest-slots span{display:block}.learning-quest-slots strong{color:#577265;margin-bottom:8px;font-size:14px}.learning-quest-slots span{font-size:20px}.learning-quest-drag-status{min-height:26px;font-size:14px}.learning-quest-feedback{border-left:5px solid #c78f34;padding-left:20px}.learning-quest-feedback.is-correct{border-color:#259259}.learning-quest-error{background:#fff0e7;border:2px solid #b45b31;border-radius:16px;margin-top:18px;padding:18px}.learning-quest-error a{margin-left:16px}.learning-quest summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:800}.learning-quest details p{margin:12px 0}.learning-quest details{margin-top:22px}@media (max-width:800px){.learning-quest-subjects,.learning-quest-slots{grid-template-columns:1fr}.learning-quest-header{font-size:14px}.learning-quest button{max-width:100%}}@media (prefers-reduced-motion:reduce){.learning-quest *{scroll-behavior:auto!important}}.learning-quest-answer-hint{color:#476158;font-size:16px;font-weight:500;line-height:1.5;display:block}.learning-quest-sequence .learning-quest-slots{grid-template-columns:1fr;max-width:760px}.learning-quest-sequence .learning-quest-slots strong{align-items:center;gap:10px;font-size:16px;display:flex}.learning-quest-position{color:#174c3d;background:#e1f1e8;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.learning-quest-sequence .learning-quest-slots button{position:relative}.learning-quest-sequence .learning-quest-slots button+button:before{content:"↓";color:#3d6b59;background:#fff;font-size:23px;line-height:23px;position:absolute;top:-21px;left:25px}.learning-quest-context{background:#f1f7fc;border:1px solid #c7dce8;border-radius:14px;max-width:850px;margin:0 0 22px;padding:16px 20px}.learning-quest-context p{white-space:pre-line;margin:0;font-size:19px;line-height:1.65}.learning-quest .learning-quest-reward-settings{border:1px solid #67928b;border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;margin:1rem 0;padding:1rem;display:grid}.learning-quest .learning-quest-reward-settings label{flex-direction:column;gap:.4rem;font-weight:600;display:flex}.learning-quest .learning-quest-reward-settings input{color:#173e3a;background:#fff;border:1px solid #67928b;border-radius:8px;width:100%;min-height:44px;padding:.5rem}.learning-quest .learning-quest-reward-settings p{grid-column:1/-1}.learning-quest-recommendation-note{grid-column:1/-1;margin:0;line-height:1.5}.learning-quest-goal .learning-quest-recommendation{color:#075985;background:#e0f2fe;border-radius:.45rem;padding:.35rem .5rem;font-weight:700;line-height:1.5;display:block}
