/* Bổ sung chức năng vào bố cục sảnh cũ; các quy tắc nhận diện nằm nguyên trong HTML. */
[hidden]{display:none!important}button,input,select{font:inherit}button:focus-visible,a:focus-visible{outline:3px solid #9abced;outline-offset:3px}.room-sss{--room-tone:#cf2028;--room-soft:#ffe2df}.room-dot1{--room-tone:#0f766e;--room-soft:#dff6f2}.room-hsa{--room-tone:#27ae60;--room-soft:#e4f4e9}.hall-message{font-size:14px;line-height:1.55;overflow-wrap:anywhere}.hall-message:not(:empty){margin:12px 0;padding:12px 16px;border-radius:10px;background:#fff}.hall-message[data-kind=error]{color:#a51320;background:#fff0ef}.hall-message[data-kind=success]{color:#176548;background:#edf8f0}.hall-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.hall-tools{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}.hall-tools label{flex:1;min-width:180px}.hall-tools input,.hall-tools select{box-sizing:border-box;max-width:100%;border:1px solid #d0d5dd;border-radius:10px;background:white;color:#334155;padding:10px 14px;min-height:44px}.hall-tools input{width:100%}.hall-state{display:inline-block;font-size:12px;font-weight:700;color:#667085;margin:0 0 12px}.hall-state[data-state=closed],.hall-state[data-state=unavailable]{color:#a73c3c}.hall-state[data-state=waiting]{color:#946615}.hall-card-policy{font-size:12px;color:#667085;margin:0 0 12px}.hall-exam-actions{display:flex;gap:8px;margin-top:auto}.hall-exam-actions .btn-start:first-child{flex:2}.hall-exam-actions .btn-start:last-child{flex:1;background:#eee;color:#333;border:1px solid #ccc}.subject-title.active+.exam-content{max-height:none}.subject-title{border:0;border-bottom:1px solid #f0f0f0;width:100%;font:inherit;text-align:left}.compose-banner{display:flex;gap:18px;align-items:center;justify-content:space-between;background:white;padding:18px;border:1px dashed #e4d3c5;border-radius:10px;margin-bottom:20px}.compose-banner p{margin:6px 0 0;color:#667085;font-size:13px}.compose-banner button{min-width:150px}.compose-dialog{box-sizing:border-box;width:calc(100% - 24px);max-width:640px;border:0;border-radius:14px;padding:24px;max-height:92vh;overflow-y:auto;color:#334155}.compose-dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}.compose-dialog form{display:grid;gap:16px}.compose-dialog h2{margin:0;color:#15397f;font-size:21px}.compose-dialog p{margin:0;font-size:13px;line-height:1.6}.compose-dialog label{display:grid;gap:7px;font-size:14px;font-weight:700;min-width:0}.compose-dialog input,.compose-dialog select{box-sizing:border-box;width:100%;border:1px solid #d0d5dd;border-radius:10px;min-height:44px;padding:10px 12px;background:white;color:#334155}.compose-heading,.compose-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.compose-actions{justify-content:flex-end}.compose-dialog button:disabled{opacity:.55;cursor:wait}.tsa-room-name,.test-card h4{overflow-wrap:anywhere}.test-card{min-width:0}.tsa-room-cover .tsa-room-art{color:var(--room-tone,#cf2028)}
.header-left>a:first-child{display:flex}
.subject-title{box-sizing:border-box}.subject-section[data-subject=hsaFull] .test-card{border-left-color:#27ae60}.modal-form input{box-sizing:border-box}
@media(max-width:640px){.hall-tools label,.hall-tools select{width:100%;flex-basis:100%}.hall-exam-actions{flex-direction:column}.compose-banner{align-items:stretch;flex-direction:column}.compose-dialog{padding:20px 16px}.compose-dialog select{max-width:100%}.tsa-room-grid{min-width:0}.exam-tab-btn,.tsa-room-open{box-sizing:border-box}}
