.pool-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.8rem;margin:.6rem 0}
.pool-field{display:flex;flex-direction:column;gap:.25rem}
.pool-field label{font-weight:700;font-size:.92rem}
.pool-field select,.pool-field input[type=text]{width:100%;max-width:100%}
.pool-code input[type=text]{flex:1 1 220px;min-height:44px;border:1px solid var(--study-line);border-radius:8px;padding:.55rem;font:inherit}
.pool-checks{display:flex;flex-direction:column;gap:.35rem;margin:.5rem 0}
.pool-check{display:flex;align-items:center;gap:.5rem;min-height:44px}
.pool-check input{width:20px;height:20px}
.pool-units{border:1px solid var(--study-line);border-radius:10px;padding:.5rem .8rem;margin:.6rem 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}
.pool-units legend{font-weight:700;padding:0 .3rem}
.pool-match{font-weight:700;color:var(--study-deep)}
.pool-meta{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;margin-bottom:.4rem}
.pool-enr{display:inline-block;background:#fff4e5;color:#7a3e00;border:1px solid #e59a61;border-radius:99px;padding:.1rem .6rem;font-size:.8rem;font-weight:800}
.pool-context{background:#eef5f2;border-left:4px solid var(--study-green);padding:.6rem .8rem;border-radius:6px;margin:.5rem 0}
.pool-context-ref{font-style:italic;color:var(--study-muted)}
.pool-figure{display:block;width:min(100%,520px);height:auto;margin:.6rem auto;background:#fff;border:1px solid var(--study-line);border-radius:8px}
.pool-table-wrap{overflow-x:auto;margin:.6rem 0}
.pool-table{border-collapse:collapse;min-width:60%;font-size:.95rem}
.pool-table th,.pool-table td{border:1px solid var(--study-line);padding:.35rem .6rem;text-align:left}
.pool-table th{background:#e6f1ec}
.pool-card .choices label{display:block;padding:.45rem .5rem;border-radius:8px;min-height:44px}
.pool-card .choices label.pool-correct{background:#e3f4ea;outline:2px solid var(--study-good)}
.pool-card .choices label.pool-wrong{background:#fbe9ea;outline:2px solid var(--study-bad)}
.pool-timer{font-weight:800;font-size:1.2rem}
.pool-credit{font-size:.85rem;color:var(--study-muted);margin:1.5rem 0}
.pool-key{display:none}
.pool-actions{margin:1rem 0}
@media (max-width:600px){.pool-table{min-width:100%}}
@media print{
  .study-header,.pool-controls,.pool-actions,.pool-timer,#progress,#copyCode,#paperResult,.feedback{display:none!important}
  body.study-page{background:#fff}
  .question-card{break-inside:avoid;box-shadow:none;border:0;border-bottom:1px solid #999;border-radius:0}
  .pool-card .choices label.pool-correct,.pool-card .choices label.pool-wrong{background:none;outline:0}
  body.print-key .pool-key{display:block;break-before:page}
  .pool-credit{color:#000}
}
.pool-tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}
.pool-tabs button[aria-pressed=true]{background:var(--study-deep);color:#fff}
.pool-frq textarea{width:100%;font:inherit;border:1px solid var(--study-line);border-radius:8px;padding:.5rem;resize:vertical;min-height:5rem}
.pool-part{margin:1rem 0;padding-left:.8rem;border-left:3px solid var(--study-line)}
.pool-part-head{margin:0 0 .3rem}
.pool-pts{font-size:.85rem;color:var(--study-muted)}
.pool-note{font-style:italic;color:var(--study-muted);margin:.3rem 0}
.pool-guide{background:#f1f7f4;border:1px solid var(--study-line);border-radius:10px;padding:.7rem 1rem;margin:1rem 0}
.pool-guide h4{margin:.8rem 0 .3rem}
.pool-point{border-bottom:1px solid var(--study-line);padding:.4rem 0}
.pool-point ul{margin:.3rem 0;padding-left:1.2rem}
.pool-section-title{margin-top:2rem}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media print{.pool-frq button,.pool-guide{display:none!important}.pool-frq textarea{min-height:9rem;border:1px solid #888}}
