/* THIS IS FLORIDA: Free Spelling Practice for Kids */
.app { font-size: 1.08rem; }
.editor textarea#w-list { font-size: 1.25rem; line-height: 1.5; min-height: 220px; }
.sp-inline { display: flex; flex-direction: column; font-weight: 600; font-size: .95rem; flex: 1 1 220px; }
.sp-inline select { min-height: 44px; margin-top: .25rem; padding: .45rem .6rem; border: 1px solid #8fa79c; border-radius: .4rem; font: inherit; font-weight: 400; background: #fff; color: var(--ink); max-width: 100%; }
.sp-setup fieldset { max-width: 760px; }
.sp-modes { display: flex; flex-wrap: wrap; gap: .5rem; margin: .3rem 0 .6rem; }
.editor label.sp-mode, .editor label.sp-check { display: flex; align-items: center; gap: .6rem; min-height: 44px; margin: .3rem 0; cursor: pointer; }
.editor label.sp-mode { border: 1px solid #8fa79c; border-radius: .5rem; padding: .35rem .9rem; background: #fff; flex: 1 1 180px; font-size: 1.05rem; }
.editor label.sp-mode:has(input:checked) { border-color: var(--brand); background: #e6f2ec; box-shadow: inset 0 0 0 1px var(--brand); }
.editor .sp-mode input, .editor .sp-check input { width: 24px; height: 24px; min-height: 0; flex: 0 0 24px; margin: 0; accent-color: var(--brand); display: inline-block; }
.sp-play, .sp-done { max-width: 760px; background: var(--card); border: 1px solid var(--line); border-radius: .8rem; padding: 1rem 1.1rem 1.2rem; margin: 0 0 1rem; }
.sp-progress { margin: 0 0 .4rem; color: var(--muted); font-weight: 600; }
.sp-prompt { min-height: 7rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.sp-say { font-size: 1.3rem; margin: .2rem 0 .6rem; }
.sp-flash { font-size: clamp(2.2rem, 10vw, 3.6rem); font-weight: 700; margin: .2rem 0; letter-spacing: .03em; overflow-wrap: anywhere; }
.sp-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: .2rem 0 .4rem; }
.sp-tile { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4rem; height: 2.9rem; padding: 0 .2rem; border: 2px solid var(--brand); border-radius: .45rem; background: #f3faf6; font-size: 1.8rem; font-weight: 700; font-family: "Courier New", monospace; }
.sp-tile.blank { border-style: dashed; background: #fff; }
.sp-tiles.solved .sp-tile { background: #e6f2ec; }
.sp-gap { width: .9rem; }
.sp-sr { position: absolute; left: -9999px; }
.sp-form .sp-alabel { display: block; font-weight: 700; margin: .4rem 0 .25rem; }
.sp-form input#p-answer { display: block; width: 100%; box-sizing: border-box; min-height: 60px; font-size: 1.8rem; padding: .4rem .7rem; border: 2px solid #8fa79c; border-radius: .5rem; color: var(--ink); background: #fff; margin-bottom: .6rem; }
.sp-form input#p-answer:disabled { background: #f1f5f3; }
.sp-form .toolbar button { font-size: 1.1rem; }
.sp-feedback { font-size: 1.3rem; margin: .6rem 0 0; min-height: 1.5em; overflow-wrap: anywhere; }
.sp-feedback.good { color: var(--good); }
.sp-feedback.bad { color: var(--bad); }
.sp-score { font-size: 2rem; font-weight: 700; margin: .2rem 0; }
.sp-cheer { font-size: 1.25rem; margin: 0 0 .6rem; }
.sp-h2 { margin: .4rem 0 .6rem; }
.sp-sum { font-weight: 700; }
.sp-tablewrap { overflow-x: auto; max-width: 100%; margin: .4rem 0 1rem; }
.sp-table { border-collapse: collapse; min-width: 520px; width: 100%; background: #fff; }
.sp-table th, .sp-table td { border: 1px solid var(--line); padding: .45rem .6rem; text-align: left; vertical-align: top; }
.sp-table th { background: #e6f2ec; }
.sp-paper { font-family: Arial, Helvetica, sans-serif; font-size: 15px; }
.sp-ph { margin: 0 0 .3rem; font-size: 1.4rem; }
.sp-pd { margin: .3rem 0 .8rem; color: #444; font-size: .85rem; }
.sp-sheet { list-style: none; margin: 0; padding: 0; }
.sp-sheet li { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .3rem .8rem; padding: .45rem 0; border-bottom: 1px dotted #bbb; break-inside: avoid; }
.sp-n { min-width: 1.8rem; font-weight: 700; }
.sp-sw { font-size: 1.15rem; font-weight: 700; min-width: 7rem; }
.sp-mono { font-family: "Courier New", monospace; letter-spacing: .06em; }
.sp-line { flex: 1 1 5rem; border-bottom: 1px solid #333; min-height: 1.3rem; }
.sp-line.wide { flex: 1 1 10rem; }
.sp-test li { padding: .7rem 0; }
@media (max-width: 560px) { .sp-tiles { gap: .25rem; } .sp-tile { min-width: 1.75rem; height: 2.5rem; padding: 0 .1rem; font-size: 1.35rem; } }
@media print {
  body[data-print="sheet"] #panel-words { display: block !important; }
  body[data-print="sheet"] .sp-paper { font-size: 13px; }
  body[data-print="sheet"] .sp-sheet li { padding: .3rem 0; }
  body[data-print="sheet"] .sp-ph { font-size: 1.2rem; }
}
