/* 讲师后台 */
body { background: #23242c; overflow: hidden; }
.stage { background: #f4f2ee; border-radius: 0; display: flex; flex-direction: column; color: #2b2b33; }

.ahd { height: 92px; background: #2b2b33; color: #f0ede6; display: flex; align-items: center; padding: 0 36px; gap: 22px; }
.ahd .t { font-size: 24px; font-weight: 700; }
.ahd .t small { display: block; font-size: 12px; color: #9a97a8; font-weight: 400; }
.ahd .roominfo { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 15px; }
.ahd .roominfo b { font-size: 22px; letter-spacing: 2px; color: var(--gold); }
.ahd button { background: rgba(255,255,255,.12); color: #f0ede6; border-radius: 8px; padding: 8px 16px; font-size: 14px; }
.ahd button:hover { background: rgba(255,255,255,.22); }

.tabs { display: flex; gap: 4px; padding: 14px 36px 0; border-bottom: 2px solid #e0ddd6; }
.tabs .tab { padding: 10px 26px; font-size: 16px; font-weight: 600; color: #8a8a95; border-radius: 10px 10px 0 0; background: transparent; }
.tabs .tab.on { background: #fff; color: #2b2b33; box-shadow: 0 -2px 8px rgba(0,0,0,.05); }

.abody { flex: 1; padding: 22px 36px; overflow: auto; min-height: 0; }
.card-box { background: #fff; border-radius: 14px; padding: 20px 24px; box-shadow: 0 2px 10px rgba(0,0,0,.05); margin-bottom: 18px; }
.card-box h3 { font-size: 17px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.card-box h3 .sub { font-size: 13px; font-weight: 400; color: #8a8a95; }

.btn { border-radius: 10px; padding: 11px 26px; font-size: 16px; font-weight: 600; background: #e8e5df; color: #2b2b33; }
.btn:hover { filter: brightness(.96); }
.btn.primary { background: #2b2b33; color: #fff; }
.btn.gold { background: var(--gold); color: #fff; }
.btn.warn { background: var(--warn); color: #fff; }
.btn.sm { padding: 6px 14px; font-size: 13px; border-radius: 8px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gstat { background: #f7f5f1; border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.gstat .nm { font-weight: 700; font-size: 16px; display: flex; align-items: center; }
.gstat .st { margin-top: 6px; color: #8a8a95; }

table.at { border-collapse: collapse; width: 100%; font-size: 14px; }
table.at th, table.at td { border: 1px solid #e5e2db; padding: 8px 10px; text-align: center; }
table.at th { background: #f7f5f1; font-size: 13px; }
table.at td.z { color: #c4c1ba; }
table.at td.v { font-weight: 700; }
table.at th.l, table.at td.l { text-align: left; }

.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper button { width: 26px; height: 26px; border-radius: 6px; background: #e8e5df; font-size: 15px; }
.stepper b { min-width: 20px; }

.flowbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.flowbar .hint { color: #8a8a95; font-size: 14px; }
input.num { width: 74px; font-size: 16px; padding: 8px; border: 1px solid #d8d5cf; border-radius: 8px; text-align: center; }
select.sel { font-size: 15px; padding: 8px; border: 1px solid #d8d5cf; border-radius: 8px; }

.warnbox { background: #fdf1ec; border: 1px solid #f0c9ba; color: #a24a2d; border-radius: 10px; padding: 10px 16px; font-size: 14px; margin-bottom: 12px; line-height: 1.8; }

.pickgrid { display: flex; flex-wrap: wrap; gap: 10px; }
.pickgrid .ocard { cursor: pointer; transition: transform .12s; }
.pickgrid .ocard:hover { transform: translateY(-3px); }

.qr-row { display: flex; gap: 20px; flex-wrap: wrap; }
.qr-cell { background: #fff; border: 1px solid #e5e2db; border-radius: 12px; padding: 14px; text-align: center; }
.qr-cell img { width: 170px; height: 170px; }
.qr-cell .t { font-weight: 700; margin-top: 6px; }
.qr-cell .u { font-size: 11px; color: #8a8a95; margin-top: 4px; max-width: 170px; word-break: break-all; }

.loglist { font-size: 13px; line-height: 2; color: #55525f; }
.loglist b { color: #2b2b33; }

/* 登录/房间列表覆盖层 */
.overlay { position: fixed; inset: 0; background: #23242c; display: flex; align-items: center; justify-content: center; z-index: 40; color: #f0ede6; }
.ov-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 40px 48px; width: 560px; }
.ov-card h1 { font-size: 24px; margin-bottom: 18px; }
.ov-card input { width: 100%; font-size: 20px; padding: 12px; border-radius: 10px; border: none; margin-bottom: 14px; }
.ov-card .btn { width: 100%; }
.roomlist { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow: auto; }
.roomlist .ri { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.07); padding: 12px 16px; border-radius: 10px; font-size: 15px; }
.roomlist .ri b { font-size: 19px; letter-spacing: 2px; }
.roomlist .ri .sp { margin-left: auto; display: flex; gap: 8px; }

/* 模态 */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: none; align-items: center; justify-content: center; z-index: 60; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 16px; padding: 26px 30px; min-width: 520px; max-width: 760px; max-height: 82vh; overflow: auto; }
.modal h3 { margin-bottom: 16px; font-size: 18px; }
.modal .mrow { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 15px; }
.modal .mrow .lab { width: 110px; }
.modal .foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
