.rodari-scene,.rodari-practice,.rp-notebook,.rp-legacy{--rp-ink:#293f39;--rp-green:#315d50;--rp-line:#c8cdb9;color:var(--rp-ink);font-family:inherit;line-height:1.65;min-width:0;box-sizing:border-box;overflow-wrap:anywhere}
.rodari-scene *,.rodari-practice *,.rp-notebook *{box-sizing:border-box}
.rodari-scene{margin:24px 0;border:1px solid #bcc7b5;border-radius:24px;overflow:hidden;background:#fffdf5;box-shadow:0 8px 26px #384d3810}
.rp-scene-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.85fr);align-items:center;gap:24px;padding:28px;background:linear-gradient(120deg,#e6eedc,#fff2ce)}
.rp-eyebrow{font-size:.73rem;line-height:1.5;font-weight:800;letter-spacing:.075em;color:#526449;display:block}
.rp-scene-head h3,.rp-practice-head h3{font-family:Georgia,serif;font-size:clamp(1.5rem,2.5vw,2.1rem);line-height:1.25;letter-spacing:-.02em;color:#2b4b3f;margin:9px 0 14px}
.rp-scene-head p{font-size:1.04rem;margin:0;line-height:1.7}.rp-art{margin:0;min-width:0;border:1px solid #bbc8ad;border-radius:14px;background:#fff8e8;overflow:hidden;box-shadow:5px 6px 0 #cdd7b7}
.rp-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.rp-art figcaption{font-size:.78rem;line-height:1.5;padding:10px 12px;margin:0;color:#58624b;text-align:left;max-width:none}
.rp-scene-caption{padding:13px 26px;font-weight:750;font-size:.85rem;letter-spacing:.025em;border-block:1px solid #d3d9c5;background:#f7efd9}
.rp-scene-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;list-style:none;padding:0;margin:0}.rp-scene-cards>li{min-width:0;padding:22px;border-right:1px dashed #c5cdb7}.rp-scene-cards>li:last-child{border:0}.rp-scene-cards h4{font-size:1.08rem;line-height:1.4;margin:8px 0}.rp-scene-cards p{font-size:.96rem;line-height:1.7;margin:8px 0}.rp-drawing{height:126px;display:flex;justify-content:center;align-items:center;background:radial-gradient(ellipse,#f3e7c1 0,transparent 67%)}.rp-drawing svg{display:block;width:132px;height:126px}
.rp-scene-cards details{margin-top:12px}.rp-scene-cards summary{min-height:44px;cursor:pointer;color:#315d50;font-weight:750;padding:8px 0}.rp-scene-cards details p{padding:12px;background:#edf3e5;border-radius:8px}
.rp-officina .rp-scene-head{background:linear-gradient(120deg,#f3e8cf,#fbefda)}.rp-racconto .rp-scene-head{background:linear-gradient(120deg,#e1eada,#e1ecea)}
.rp-scene-note{margin:0;padding:17px 24px;border-top:1px solid #cbd2bf;background:#e8efe0;line-height:1.65;font-size:.95rem}
.rodari-practice{margin:24px 0;background:#faf8ed;border:1px solid var(--rp-line);border-radius:22px;overflow:hidden}
.rp-practice-head{display:flex;gap:22px;justify-content:space-between;align-items:flex-start;padding:25px;background:#e6eedc;border-bottom:1px solid var(--rp-line)}.rp-practice-head>div{min-width:0}.rp-practice-head h3{font-size:1.55rem;margin-bottom:8px}.rp-practice-head p{margin:0;font-size:1rem}
.rp-count{flex:none;max-width:190px;background:#fffbed;border:1px solid #a7b898;border-radius:12px;padding:10px 13px;font-weight:800;font-size:.9rem;color:#35523f}
.rp-method{padding:17px 25px;margin:0;background:#fff3d7;border-bottom:1px solid #dfd4b4;font-size:.95rem;line-height:1.7}
.rp-group{padding:25px}.rp-group h4{margin:0 0 20px;font-size:1.13rem;color:#476244}.rp-exercises{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;list-style:none;padding:0;margin:0}
.rp-exercise{min-width:0;background:#fffef8;border:1px solid #c9cfb9;border-radius:15px;padding:20px;box-shadow:0 4px 0 #d7deca70}.rp-exercise:last-child:nth-child(odd){grid-column:1/-1}
.rp-exercise-top{display:flex;align-items:center;gap:12px;font-weight:800;font-size:.72rem;letter-spacing:.04em;color:#586947;margin-bottom:17px}.rp-number{display:grid;place-items:center;flex:none;width:34px;height:34px;background:#41674e;color:#fffdf0;border-radius:50%;font-size:1rem}
.rp-passage{padding:15px 17px;margin-bottom:16px;border:1px solid #dbcda6;border-radius:3px 13px 13px 13px;background:#fff4d9;box-shadow:3px 3px 0 #eadfbe50}.rp-passage p{margin:8px 0 0;line-height:1.75;font-size:1rem;white-space:normal}
.rp-prompt{font-weight:750;font-size:1.04rem;line-height:1.6;margin:15px 0 10px}.rp-input-help{color:#56634e;font-size:.86rem;line-height:1.6;margin:0 0 8px}
.rp-choices{padding:0;border:0;min-width:0;margin:0;display:grid;gap:8px}.rp-choices label{display:flex;align-items:flex-start;gap:12px;padding:12px;min-height:48px;border:1px solid #b9c5ac;border-radius:9px;background:#f7faef;cursor:pointer;line-height:1.6;font-size:1rem}.rp-choices label:has(input:checked){background:#e7efda;border-color:#5f8054}.rp-choices input{flex:none;width:20px;height:20px;margin:3px 0 0;accent-color:#41674e}.rp-choices span{min-width:0}
.rp-exercise>input{width:100%;max-width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid #9aaf8a;border-radius:10px;font:inherit;font-size:1rem;line-height:1.5;color:#253d30;background:#fcfff5}
.rp-exercise>input[aria-invalid="true"],.rp-choices label:has([aria-invalid="true"]){border-color:#b56946;background:#fff5e9}
.rp-hint,.rp-source{margin-top:10px;font-size:.92rem}.rp-hint summary,.rp-source summary,.rp-notebook summary{padding:10px 0;min-height:44px;font-weight:750;cursor:pointer;color:#456440;line-height:1.6}.rp-hint p,.rp-source p{padding:12px 14px;margin:0;background:#edf2e5;border-radius:8px;line-height:1.7}.rp-source a{color:#326150;text-underline-offset:3px}
.rp-feedback{margin:15px 0 0;padding:14px;border-left:4px solid #b67a3d;border-radius:8px;background:#fff0d8;font-size:.96rem;line-height:1.7}.rp-exercise[data-rodari-status="correct"] .rp-feedback{background:#e6f2e7;border-color:#527955}.rp-exercise[data-rodari-status="missing"] .rp-feedback,.rp-exercise[data-rodari-status="format"] .rp-feedback{background:#eef0e1;border-color:#89915d}
.rp-pause{padding:18px 25px;background:#eee3c7;border-block:1px dashed #bdab82}.rp-pause strong{font-family:Georgia,serif;font-size:1.2rem}.rp-pause p{margin:5px 0 0;font-size:.95rem}
.rp-practice-actions{padding:25px;background:#e6eedc;border-top:1px solid var(--rp-line)}.rp-check{min-height:48px;max-width:100%;padding:12px 22px;border:2px solid #2e5140;border-radius:10px;background:#3f674c;color:#fffdf0;box-shadow:0 3px 0 #294b36;font:inherit;font-size:1rem;font-weight:800;line-height:1.5;white-space:normal;cursor:pointer}.rp-check:hover:not(:disabled){background:#31563e}.rp-check:disabled{opacity:.6;box-shadow:none;cursor:default}
.rp-status{font-size:1rem;line-height:1.7;margin:18px 0 0}.rp-small{font-size:.86rem;line-height:1.6;margin:10px 0 0;color:#50634b}
.rp-reflection,.rp-notebook label{display:flex;flex-direction:column;gap:7px;min-width:0}.rp-reflection{margin-bottom:23px}.rp-reflection>span,.rp-notebook label>span{font-size:.85rem;color:#52634d}.rp-reflection textarea,.rp-notebook textarea{display:block;width:100%;min-width:0;max-width:100%;min-height:100px;border:1px solid #9cac89;border-radius:10px;padding:12px;font:inherit;font-size:1rem;line-height:1.7;color:#293f39;background:#fffdf5;resize:vertical}
.rp-notebook{padding:19px 23px;margin:22px 0;background:#fff7e1;border:1px solid #d1c397;border-radius:15px}.rp-notebook>summary{font-size:1.1rem}.rp-writing-help{margin-bottom:16px}.rp-legacy{padding:18px;margin:20px 0;background:#f4efde;border:1px solid #c4b88f;border-radius:13px}.rp-completion-note{font-size:.96rem;line-height:1.7;color:#455b43}
.rodari-scene :focus-visible,.rodari-practice :focus-visible,.rp-notebook :focus-visible{outline:3px solid #255f6a;outline-offset:4px}.rp-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.rp-scene-cards{grid-template-columns:1fr}.rp-scene-cards>li{border-right:0;border-bottom:1px dashed #c5cdb7;display:grid;grid-template-columns:90px minmax(0,1fr);column-gap:18px}.rp-scene-cards .rp-drawing{grid-row:span 3;height:90px}.rp-drawing svg{width:90px;height:90px}.rp-scene-cards h4{margin-top:0}.rp-scene-cards details{grid-column:2}.rp-exercises{grid-template-columns:1fr}.rp-exercise:last-child:nth-child(odd){grid-column:auto}}
@media(max-width:560px){.rp-scene-head{grid-template-columns:1fr;padding:20px;gap:18px}.rp-art{box-shadow:3px 3px 0 #cdd7b7}.rp-art img{max-height:230px;object-position:center}.rp-practice-head{display:block;padding:20px}.rp-count{margin-top:15px;max-width:100%}.rp-group,.rp-practice-actions{padding:18px}.rp-exercise{padding:16px}.rp-method,.rp-pause{padding:16px 20px}.rp-scene-cards>li{padding:18px;grid-template-columns:65px minmax(0,1fr);column-gap:13px}.rp-scene-cards .rp-drawing{height:75px}.rp-drawing svg{width:65px;height:75px}.rp-notebook{padding:16px}.rp-check{width:100%}.rp-passage{padding:13px}.rp-scene-caption,.rp-scene-note{padding:15px 19px}}
@media(prefers-reduced-motion:reduce){.rodari-scene *,.rodari-practice *,.rp-notebook *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
[data-motion="reduced"] .rodari-scene *,[data-motion="reduced"] .rodari-practice *,[data-motion="reduced"] .rp-notebook *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
