/* Pintara v3.2.8b – true light-theme surfaces. Dark mode remains unchanged. */
html[data-theme="light"] {
  --bg:#f4f8fe;--surface:#fff;--edge:#d5e4f2;
  --ink:#19314d;--muted:#536e89;--blue:#2466b9;--mint:#167d70;
}
html[data-theme="light"] .preview{
  background:linear-gradient(145deg,#fff,#eaf4ff);border-color:#bfd7ef;
  color:#18324e;box-shadow:0 24px 56px #23518b25;
}
html[data-theme="light"] .preview-top{
  color:#32608c;border-bottom-color:#d2e3f4;background:#f8fbff;
}
html[data-theme="light"] .preview-live{color:#16846c}
html[data-theme="light"] .preview-welcome small{color:#536e89}
html[data-theme="light"] .preview-welcome strong{color:#19314d}
html[data-theme="light"] .tile{background:#e4f1ff;border-color:#b6d5f4;color:#1b4a78;box-shadow:0 5px 14px #1c5fa40d}
html[data-theme="light"] .tile.writing{background:#e4efff}
html[data-theme="light"] .tile.reading{background:#e1f8f1;border-color:#b4e4d5;color:#145e50}
html[data-theme="light"] .tile.maths{background:#f2eafb;border-color:#dec9f3;color:#563a80}
html[data-theme="light"] .tile.tutor{background:#e5f2fc;border-color:#bad8ef;color:#214d73}
html[data-theme="light"] .tile small{color:#49627c}
html[data-theme="light"] .preview-quest{background:#eaf3fc;color:#23527f;border:1px solid #cadaec}
html[data-theme="light"] .preview-quest small{color:#516d85}
html[data-theme="light"] .quest-arrow{color:#2368b8}
html[data-theme="light"] .preview-caption{background:#f5faff;color:#59718a;border-top:1px solid #d6e6f4}
html[data-theme="light"] .feature-art{background:linear-gradient(150deg,#dcecff,#bedcff);color:#2b65a2}
html[data-theme="light"] .feature-art span{color:#315f92}
html[data-theme="light"] .feature-icon.blue{background:#dfedff}
html[data-theme="light"] .feature-icon.lime{background:#dff5e9}
html[data-theme="light"] .feature-icon.violet{background:#eee5fa}
html[data-theme="light"] .feature-icon.gold{background:#fff0cf}
html[data-theme="light"] .feature-icon.pink{background:#fce5ef}
html[data-theme="light"] .feature-icon.sky{background:#e1f0fb}
html[data-theme="light"] .feature-tag{color:#346eae}
html[data-theme="light"] .focus-demo{background:linear-gradient(145deg,#fff,#eef6ff);color:#18334f;border-color:#c3d9ef;box-shadow:0 20px 45px #264c7d15}
html[data-theme="light"] .focus-head{color:#245b91}
html[data-theme="light"] .focus-question{background:#eaf3ff;color:#193854;border:1px solid #d6e6f8}
html[data-theme="light"] .focus-question span{color:#3175ad}
html[data-theme="light"] .focus-question p{color:#45617d}
html[data-theme="light"] .focus-controls span{background:#e0eefc;color:#24537d;border-color:#bed5ed}
html[data-theme="light"] .focus-controls span:last-child{background:#3179ca;color:white;border-color:#3179ca}
html[data-theme="light"] .focus-progress{background:#d3e3f4}
html[data-theme="light"] .focus-demo>small{color:#59758f}
html[data-theme="light"] .experience-points span{background:#dfedff;color:#2865ac}
html[data-theme="light"] .experience-points small{color:#58708a}
html[data-theme="light"] .family-top{color:#234462}
html[data-theme="light"] .family-note{color:#5d738c}
html[data-theme="light"] .text-link{color:#2368b4}
html[data-theme="light"] .toplinks a:hover{color:#1f64b3}
html[data-theme="light"] .section-head h2,html[data-theme="light"] .feature h3,html[data-theme="light"] .experience-grid h2,html[data-theme="light"] .family-grid h2{color:#17304e}
/* developer teaser needs its own readable contrast in light theme */
html[data-theme="light"] .p328-developer-teaser{color:#19334e}
html[data-theme="light"] .p328-developer-grid p{color:#506c87}
@media (prefers-reduced-motion:reduce){html[data-theme="light"] .preview{transform:none}}
