
:root{--ink:#172033;--muted:#64748b;--indigo:#4f46e5;--indigo-dark:#3730a3;--line:#e2e8f0}
*{box-sizing:border-box}.hidden{display:none!important}
body.verb-fill-page{margin:0;min-height:100vh;display:flex;flex-direction:column;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);background:#f8fafc}
#nav-placeholder:empty,#footer-placeholder:empty{display:none}
.verb-fill-main{width:100%;max-width:1040px;margin:0 auto;padding:32px 18px 72px;flex:1}
.verb-fill-hero{background:radial-gradient(circle at 10% 20%,rgba(196,181,253,.32),transparent 33%),radial-gradient(circle at 90% 15%,rgba(110,231,183,.22),transparent 27%),linear-gradient(135deg,#111827,#312e81 58%,#4338ca);color:#fff;border-radius:28px;padding:42px 34px;margin-bottom:24px;box-shadow:0 20px 45px rgba(49,46,129,.16)}
.hero-kicker{display:inline-flex;align-items:center;gap:.5rem;font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#e0e7ff;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.15);padding:.45rem .7rem;border-radius:999px}
.verb-fill-hero h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(2.4rem,7vw,4.3rem);line-height:1;margin:16px 0 12px}
.hero-subtitle{font-size:1.2rem;margin:0 0 8px;color:#eef2ff}.hero-copy{max-width:780px;line-height:1.72;color:#dbeafe;margin:0}
.quiz-shell{background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px;box-shadow:0 12px 36px rgba(15,23,42,.06)}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.feature-card{background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:7px}
.feature-card i{color:var(--indigo);font-size:1.25rem}.feature-card span{color:var(--muted);font-size:.9rem;line-height:1.5}
.start-note{margin:18px 0;padding:16px 18px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;line-height:1.6}
.length-picker{border:0;padding:0;margin:22px 0}.length-picker legend{font-weight:800;color:#334155;margin-bottom:10px}
.length-option{display:flex;align-items:center;gap:12px;border:2px solid var(--line);border-radius:14px;padding:14px 16px;margin:10px 0;cursor:pointer;background:#fff}
.length-option.selected{border-color:#818cf8;background:#eef2ff}.length-option input{accent-color:var(--indigo)}.length-option span{display:flex;flex-direction:column}.length-option small{color:var(--muted)}
.primary-action,.secondary-action{border:0;border-radius:12px;padding:12px 18px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.primary-action{background:var(--indigo);color:#fff}.primary-action:hover{background:var(--indigo-dark)}.secondary-action{background:#fff;border:1px solid #cbd5e1;color:#475569}
.quiz-topbar{margin-bottom:22px}.meta-row{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.meta-chip{font-size:.82rem;font-weight:800;color:#475569;background:#f1f5f9;border-radius:999px;padding:.45rem .7rem}.score-chip{color:#047857;background:#ecfdf5}
.progress-track{height:8px;background:#e2e8f0;border-radius:999px;overflow:hidden}.progress-bar{height:100%;width:0;background:linear-gradient(90deg,#6366f1,#8b5cf6);transition:width .3s}
.question-panel{border:1px solid var(--line);border-radius:20px;padding:22px;background:#fff}
.tense-legend{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.tense-badge{font-size:.75rem;font-weight:800;padding:.42rem .68rem;border-radius:999px}
.tense-badge.past{background:#f3e8ff;color:#6b21a8}.tense-badge.present{background:#d1fae5;color:#047857}
.verb-prompt{text-align:center;font-size:1rem;font-weight:800;color:#3730a3;background:#eef2ff;border:1px solid #c7d2fe;border-radius:999px;padding:.5rem .8rem;width:max-content;max-width:100%;margin:0 auto 18px}
.sentence-builder{font-size:clamp(1.08rem,3vw,1.35rem);line-height:2.25;color:#1e293b;text-align:center;padding:12px 2px}
.answer-input{width:150px;max-width:42vw;border:2px solid #cbd5e1;border-radius:10px;padding:9px 10px;font:inherit;font-weight:700;color:#1e293b;background:#fff;outline:none;margin:0 4px;text-align:center}
.answer-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.12)}.answer-input.correct{border-color:#10b981;background:#ecfdf5}.answer-input.wrong{border-color:#f43f5e;background:#fff1f2}.answer-input.accent-only{border-color:#f59e0b;background:#fffbeb}
.spanish-keyboard{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin:20px 0 8px;color:#64748b;font-size:.82rem}
.char-key{min-width:38px;height:38px;border:1px solid #cbd5e1;background:#fff;border-radius:9px;font-weight:800;color:#334155;cursor:pointer}.char-key:hover,.special-n{background:#eef2ff;border-color:#818cf8;color:#3730a3}
.accent-note{margin-top:12px;border-radius:12px;padding:12px 14px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-size:.92rem;line-height:1.55}
.feedback{margin-top:14px;border-radius:16px;padding:16px;border:1px solid}.feedback.correct-feedback{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}.feedback.wrong-feedback{background:#fff1f2;border-color:#fecdd3;color:#881337}
.correct-sentence{font-weight:800;color:#1e293b;margin:8px 0}.verb-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:12px}
.verb-review-card{background:#fff;border:1px solid rgba(148,163,184,.35);border-radius:12px;padding:12px;color:#475569}.verb-review-card strong{display:block;color:#1e293b}.meaning{font-size:.85rem;color:#64748b;margin:3px 0 8px}.verb-form-row{display:flex;justify-content:space-between;gap:10px;font-size:.88rem;margin-top:4px}.verb-form-row b{color:#3730a3}
.question-actions,.result-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}
.result-screen{text-align:center;padding:20px 4px}.result-icon{width:70px;height:70px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:#eef2ff;color:#4f46e5;font-size:1.8rem}.result-label{color:#64748b;font-weight:700}.result-score{font-size:3.3rem;font-weight:900;color:#312e81}.result-screen h2{font-family:'Playfair Display',Georgia,serif;font-size:2rem}
.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:620px;margin:24px auto}.result-stats div{border:1px solid var(--line);border-radius:14px;background:#f8fafc;padding:14px}.result-stats strong{display:block;font-size:1.5rem;color:#312e81}.result-stats span{display:block;color:#64748b;font-size:.82rem}
.review-section{text-align:left;margin-top:28px;border-top:1px solid var(--line);padding-top:22px}.review-item{border:1px solid var(--line);border-radius:13px;padding:14px;margin:10px 0;background:#fff}.review-q{font-weight:800;color:#334155}.review-a{font-size:.9rem;color:#64748b;margin-top:6px}
.how-it-works{margin-top:24px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}.how-it-works h2{font-family:'Playfair Display',Georgia,serif;font-size:1.8rem;margin:0 0 16px}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.how-grid article{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:15px;display:flex;flex-direction:column;gap:6px}.how-grid strong{color:#312e81}.how-grid span{color:#64748b;font-size:.9rem;line-height:1.5}
.related-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;justify-content:center}.related-links a{text-decoration:none;color:#475569;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:.55rem .8rem;font-size:.84rem;font-weight:700}
@media(max-width:720px){.verb-fill-main{padding:20px 12px 54px}.verb-fill-hero{padding:32px 20px;border-radius:20px}.quiz-shell{padding:16px}.feature-grid,.how-grid{grid-template-columns:1fr}.question-panel{padding:16px}.sentence-builder{text-align:left;line-height:2.45}.answer-input{width:125px;max-width:48%}.result-stats{grid-template-columns:1fr}}


/* Expanded wrong-answer teaching feedback */
.correct-sentence{line-height:1.9}
.answer-highlight{
  display:inline-block;
  margin:0 .14em;
  padding:.06em .28em .1em;
  border-radius:.38em;
  font-size:1.24em;
  font-weight:900;
  letter-spacing:.01em;
}
.imperfect-highlight{
  color:#6d28d9;
  background:#f3e8ff;
  box-shadow:inset 0 -2px 0 rgba(109,40,217,.18);
}
.present-highlight{
  color:#047857;
  background:#d1fae5;
  box-shadow:inset 0 -2px 0 rgba(4,120,87,.18);
}
.verb-review-grid{grid-template-columns:1fr}
.verb-review-card{
  padding:0;
  overflow:hidden;
  border-color:#dbe3ef;
}
.verb-review-head{
  padding:15px 16px 12px;
  background:#fff;
  border-bottom:1px solid #e2e8f0;
}
.verb-infinitive{
  font-size:1.2rem;
  font-weight:900;
  color:#1e293b;
}
.conjugation-tense{padding:13px 15px 15px}
.conjugation-tense + .conjugation-tense{border-top:1px solid #e2e8f0}
.tense-imperfect{background:#faf5ff}
.tense-present{background:#f0fdf4}
.tense-title{
  margin-bottom:10px;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.tense-imperfect .tense-title{color:#6d28d9}
.tense-present .tense-title{color:#047857}
.person-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.person-form{
  min-width:0;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(148,163,184,.28);
  border-radius:10px;
  padding:9px 8px;
  text-align:center;
}
.person-label{
  display:block;
  min-height:1.15rem;
  margin-bottom:3px;
  color:#64748b;
  font-size:.72rem;
  font-weight:800;
}
.person-form strong{
  display:block;
  color:#1e293b;
  font-size:.96rem;
  font-weight:900;
  overflow-wrap:anywhere;
}
.person-el{color:#2563eb;font-weight:900}
.person-ella{color:#dc2626;font-weight:900}
.person-slash{color:#94a3b8;padding:0 2px}
@media(max-width:620px){
  .person-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .answer-highlight{font-size:1.16em}
}

.correct-translation{
  margin-top:5px;
  color:#64748b;
  font-size:.93rem;
  font-style:italic;
  line-height:1.55;
}
.review-translation{
  margin-top:4px;
  color:#64748b;
  font-size:.86rem;
  font-style:italic;
}
