.match-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(4,minmax(80px,1fr));gap:10px;height:clamp(370px,calc(100svh - 340px),650px)}.match-tile{border:1px solid #ffffff20;border-radius:12px;background:#1b2929;color:#c6ec89;padding:12px;font-size:clamp(10px,1.2vw,15px);line-height:1.35;min-width:0;overflow:auto}.match-tile>span{display:flex;flex-direction:column;align-items:center;gap:10px}.match-tile small{font-size:9px;letter-spacing:2px;color:#8ca495}.match-tile.revealed{background:#dbe9c7;color:#14211b;border-color:#c6ec89}.match-tile.matched{background:#c6ec8910;border:1px dashed #c6ec8955;opacity:.65}.match-status{display:flex;justify-content:space-between;gap:15px;color:#a9bead;font-size:12px;line-height:1.5;margin:15px 0}.lab-nav{gap:4px}@media(max-width:680px){.lab-nav{grid-template-columns:repeat(5,1fr)}.lab-nav button>span:not(.nav-icon){font-size:7px}.match-board{gap:5px;height:auto;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(5,minmax(100px,auto))}.match-tile{padding:7px;font-size:10px}.match-status{flex-direction:column}}@media(min-width:681px) and (max-width:900px){.match-board{height:650px}.match-tile{font-size:12px}}@media(min-width:901px) and (max-height:850px){.match-board{height:calc(100svh - 330px);min-height:340px}}

.fracture-layout{display:grid;grid-template-columns:minmax(200px,.65fr) minmax(0,1fr);gap:22px}.fracture-view{border:1px solid var(--line);border-radius:20px;background:var(--panel);padding:24px;text-align:center}.fracture-view svg{display:block;width:100%;height:360px;margin:20px auto}.fracture-view .eyebrow{justify-content:center}.fracture-layout .question-card{min-height:520px}@media(max-width:680px){.fracture-layout{grid-template-columns:1fr}.fracture-view svg{height:260px}.fracture-layout .question-card{min-height:0}}

.match-tile .card-kind{display:block;font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:inherit;margin-bottom:8px}.match-tile.definition{border-color:#80cec478;color:#80cec4}.match-tile.definition.revealed{background:#cee9e4;color:#14211b}.match-tile:disabled:not(.matched){opacity:.35}.match-tile.matched{font-size:11px}.match-tile>span{gap:5px}
.chapter-setup{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr);gap:24px}.chapter-setup select,.chapter-count input{background:#142123;color:#edf4e9;border:1px solid #80cec466;border-radius:10px;padding:14px;font:inherit;min-height:48px}.chapter-setup select{display:block;width:100%;margin:10px 0 24px}.chapter-count{display:flex;align-items:center;gap:16px;margin:10px 0 16px}.chapter-count input{width:100px}.chapter-count span{color:#a9bead;font-size:13px}.chapter-presets{display:flex;flex-wrap:wrap;gap:10px}.chapter-setup .form-label{display:block;margin-top:20px}#chapterCountError{color:#eab87f;min-height:20px}.chapter-question{max-width:1000px}.chapter-question .progress-track{margin:10px 0 24px}.chapter-question .quiz-options button{min-height:70px}.chapter-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;margin:24px 0}.chapter-summary>div{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);padding:16px;border-radius:12px}.chapter-summary strong{font-size:24px;color:var(--lime)}.chapter-review-title{margin-top:30px}.chapter-review{display:grid;gap:12px}.chapter-review summary{cursor:pointer;font-weight:600;min-height:44px}.chapter-review p{line-height:1.6}@media(max-width:680px){.chapter-setup{grid-template-columns:1fr}.lab-nav{grid-template-columns:repeat(3,1fr)}.chapter-count{flex-wrap:wrap}}
