.classroom-lab .card { max-width: 960px; margin-inline: auto; }
.classroom-lab h2 { margin-block: .6rem .25rem; }
.classroom-lab h3 { margin-block: 1rem .6rem; }
.classroom-lab form { display: grid; gap: .85rem; }
.classroom-lab label { display: grid; gap: .3rem; min-width: 0; }
.classroom-lab input, .classroom-lab textarea, .classroom-lab select { width: 100%; }
.classroom-lab .btn { justify-self: start; }
.classroom-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: .8rem; }
.classroom-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-block: .6rem; }
.classroom-actions [aria-current="step"] { outline: 2px solid currentColor; outline-offset: 2px; }
.classroom-work { margin-top: 1.2rem; }
.classroom-note, .classroom-price, .classroom-lab details { border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); border-radius: 9px; padding: .75rem; min-width: 0; }
.classroom-lab details { margin-block: .7rem; }
.classroom-lab details form { margin-top: .8rem; }
.classroom-lab summary { cursor: pointer; font-weight: 600; }
.classroom-table { overflow-x: auto; margin-block: .8rem; }
.classroom-table table { width: 100%; }
.classroom-table th, .classroom-table td { text-align: left; padding: .55rem; }
.classroom-error:empty { display: none; }
.classroom-error { color: #ce534e; }
#classroom-capture-preview { max-width: 100%; }
.classroom-strategy { display: grid; gap: .6rem; }
.classroom-explain { background: var(--sunken); border: 1px solid var(--border);
  border-left: 3px solid var(--green-600); border-radius: var(--r-sm); padding: .75rem .9rem; }
.classroom-explain p { margin: 0 0 .35rem; }
.classroom-explain p:last-child { margin: 0; }
.classroom-explain-title { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-700); font-weight: 700; }
.classroom-counts { font-weight: 700; margin: .6rem 0 .2rem; }
.classroom-warning { border-left: 3px solid var(--red); background: var(--red-bg);
  border-radius: var(--r-sm); padding: .5rem .7rem; }
.classroom-notshown { margin-block: .8rem; }
.classroom-notshown ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.classroom-notshown li { margin-bottom: .3rem; }
.classroom-lab h4 { margin-block: 1.1rem .5rem; font-size: 1rem; }
.classroom-lab h4 + form { margin-top: .2rem; }
