/* AI worksheet & quiz maker (/ai-worksheet-generator), on top of video, interview, audiomaker and minitools styles */
.ws-form .iv-card{display:flex;flex-direction:column;gap:10px}
.ws-l{font-weight:700;font-size:.95rem;display:block;margin-top:6px}.ws-l small{font-weight:400;opacity:.65}
.ws-ex{display:flex;flex-wrap:wrap;gap:6px}.ws-ex button{font-size:.84rem}
.ws-row{display:grid;grid-template-columns:1fr;gap:10px}@media(min-width:640px){.ws-row{grid-template-columns:1fr 1fr}}
.ws-row .ct-in{width:100%}
.ws-out{padding-bottom:30px}.ws-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0}
.ws-key{display:flex;gap:6px;align-items:center;font-size:.92rem}
.ws-paper{display:flex;flex-direction:column;gap:18px}
.ws-sheet{background:#fff;color:#1d1f27;border-radius:10px;padding:34px 38px;box-shadow:0 10px 30px rgba(0,0,0,.25);max-width:820px;width:100%;margin:0 auto;font:15px/1.55 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.ws-sheet [contenteditable]{outline:none;border-radius:4px}.ws-sheet [contenteditable]:focus{background:#FFF7D6;box-shadow:0 0 0 2px #FFD84D}
.ws-head h2{margin:0 0 10px;font-size:1.55rem;color:#1d1f27;text-align:center}
.ws-meta{display:flex;flex-wrap:wrap;gap:8px 22px;justify-content:space-between;padding-bottom:12px;border-bottom:2px solid #1d1f27;font-weight:600}
.ws-meta i,.ws-line{display:inline-block;width:170px;border-bottom:1px solid #555;height:1em}.ws-meta i.sm,.ws-line.sm{width:90px}.ws-meta i.xs{width:40px}
.ws-sec h3{display:flex;gap:10px;align-items:center;margin:20px 0 8px;font-size:1.05rem;color:#1d1f27}
.ws-sec h3 em{font-style:normal;flex:none;width:26px;height:26px;border-radius:50%;background:#1d1f27;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.85rem}
.ws-q{margin:0;padding-inline-start:26px}.ws-q li{margin:0 0 10px;break-inside:avoid}
.ws-opts,.ws-tf{display:flex;flex-wrap:wrap;gap:4px 22px;margin-top:4px}.ws-opts b{display:inline-flex;width:20px;height:20px;border:1.5px solid #555;border-radius:50%;align-items:center;justify-content:center;font-size:.75rem;margin-inline-end:4px}
.ws-lines i{display:block;border-bottom:1px solid #999;height:26px}
.ws-match{display:grid;grid-template-columns:1fr 1fr;gap:10px 26px}.ws-match ol,.ws-match ul{margin:0;padding-inline-start:26px}.ws-match ul{list-style:none;padding:0}.ws-match li{margin-bottom:10px}
.ws-mr b{display:inline-flex;width:22px;height:22px;border:1.5px solid #555;border-radius:6px;align-items:center;justify-content:center;font-size:.8rem;margin-inline-end:6px}
.ws-made{margin:22px 0 0;text-align:center;font-size:.75rem;color:#888}
.ws-answers h2{font-size:1.25rem;margin:0 0 6px}.ws-answers p{margin:0 0 6px;line-height:1.7}
.ws-paper.nokey .ws-answers{display:none}
@media (max-width:560px){.ws-sheet{padding:22px 18px;font-size:14px}.ws-match{grid-template-columns:1fr}}
@media print{
  @page{margin:14mm}
  body *{visibility:hidden}.ws-paper,.ws-paper *{visibility:visible}
  .ws-paper{position:absolute;left:0;top:0;width:100%}
  .ws-sheet{box-shadow:none;border-radius:0;padding:0;max-width:none}
  .ws-answers{page-break-before:always;break-before:page}
  .ws-sheet [contenteditable]:focus{background:none;box-shadow:none}
}
.ws-sheet h2,.ws-sheet h3{color:#1d1f27}
.ws-answers h3{display:flex;gap:10px;align-items:center;margin:16px 0 6px;font-size:1rem}
.ws-answers h3 em{font-style:normal;flex:none;width:24px;height:24px;border-radius:50%;background:#1d1f27;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.8rem}
.ws-sheet{-webkit-print-color-adjust:exact;print-color-adjust:exact}
