/* Playful shapes and color while keeping printed exercise text readable. */
.hero{background-color:#e6f5ed;background-image:radial-gradient(circle at 88% 19%,#fff2bd 0 7px,transparent 8px),radial-gradient(circle at 91% 27%,#fbd7c0 0 4px,transparent 5px);border-radius:23px}
.side-note{background:#fdf5de;border-radius:18px}
.course-card,.tool-card{border-radius:17px}
.course-picture>span{border-radius:10px}
.reader-tabs{border-color:#dbe8f0;background:#f5faff;border-radius:15px;padding:5px}
.reader-tabs button{border-radius:11px}
.reader-tabs [data-reader-tab="exercises"].selected{background:#226b8c;color:#fff}
.worksheet-banner{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 18px;margin-bottom:14px;border:1px solid #d3e8f4;border-radius:17px;background:#ebf7ff}
.worksheet-banner .pencil-mascot{width:49px;height:49px;border-radius:17px;background:#ffe8ac;display:grid;place-items:center;font-size:27px;transform:rotate(-8deg);flex:none}
.worksheet-banner h2{margin:0;color:#254658;font-size:23px}
.worksheet-banner a{margin-left:auto;color:#245c76}
.worksheet-banner .pill{margin-top:4px;background:#fff;color:#325e75}
.worksheet-question{background:#fffefa;border-color:#e2e8eb;border-radius:16px;box-shadow:0 3px 0 #eef4f7}
.worksheet-question:nth-of-type(even){background:#f8fcff}
.worksheet-question.is-wrong{background:#fff7e8}
.worksheet-question legend{background:#eaf4fb;color:#244f67;border-radius:7px;padding:3px 9px}
.exercise-letter{display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:#eef5ff;color:#31547c;flex:none;font-weight:700}
.exercise-option{padding:8px 10px;border-radius:12px;background:#fff}
.exercise-scan{display:block;width:min(100%,760px);height:auto;margin:8px 0;border:1px solid #e1e8eb;border-radius:10px;background:white}
.exercise-scan-section{margin:22px 0 6px;color:#37637c;font-size:17px}
.exercise-scan-caption{margin:4px 0 8px;color:#506d78;font-size:14px}
.worksheet-question[data-scan="true"] .exercise-options{grid-template-columns:repeat(4,minmax(0,1fr))}
.worksheet-question[data-scan="true"] .exercise-option{justify-content:center;gap:5px}
.exercise-progress{margin:10px 0 4px;font-weight:700;color:#315e75;font-size:14px}
.exercise-source-detail summary{cursor:pointer;color:#315e75;font-size:14px;padding:3px 0}
.exercise-fill-row{display:flex;flex-wrap:wrap;gap:8px}
.exercise-fill-row:has(input:nth-child(2)) .exercise-fill{flex:1 1 125px;min-width:0;max-width:220px}
.exercise-fill-row .blank-wrong{border-color:#a14432;background:#fff1e8;color:#8a3927}
@media(max-width:480px){.worksheet-banner{gap:9px;padding:12px}.worksheet-banner .pencil-mascot{width:39px;height:39px;font-size:22px}.worksheet-banner h2{font-size:20px}.worksheet-banner a{margin-left:0}.worksheet-question[data-scan="true"] .exercise-options{gap:4px}.worksheet-question[data-scan="true"] .exercise-option{padding:6px 3px}}
