/* ระบบจองห้อง — ส่วนเสริมเฉพาะระบบ (ธีมหลัก styles.css + theme.css คัดลอกจากต้นฉบับ ห้ามแก้สองไฟล์นั้น)
 * ส่วนที่ใช้ร่วมกับระบบแจ้งซ่อมคัดลอกจาก repair.css · โหลดหลัง theme.css
 */
[hidden] { display: none !important; }
:root { --orange-d: #B8410D; --orange-dd: #92330C; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 200; background: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--orange-dd); outline-offset: 2px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
input, select, textarea { font-size: 16px; }

/* ───── สถานะคำขอ ───── */
.pill.st-wait { background: #FFE3D8; color: #A3300B; }
.pill.st-ok { background: var(--green-50); color: #237A4B; }
.pill.st-no { background: #FDE2E2; color: #9B1C1C; }
.pill.st-cancel, .pill.st-exp { background: var(--smoke-50); color: var(--smoke-d); }
.pill.st-used { background: #E4ECFB; color: #2B4C8C; }
.pill.repeat { background: #F3E8FF; color: #6B21A8; }
.pill.lock { background: #EEF0F6; color: #3F4A6B; }

/* ───── ฟอร์มจอง ───── */
.book-card { max-width: 920px; margin: 0 auto; }
.step { display: flex; align-items: center; gap: 8px; font: 600 15px 'Prompt'; color: var(--orange-d); margin: 4px 0 -4px; }
.step i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-style: normal; color: #fff; background: linear-gradient(135deg, var(--orange-2), var(--orange)); font-size: 13.5px; flex: none; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.cat-opt { position: relative; cursor: pointer; }
.cat-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cat-opt span {
  display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  font: 500 13.5px/1.3 'Prompt'; text-align: center; color: var(--ink); transition: .15s;
}
.cat-opt span b { font-size: 28px; line-height: 1.1; font-weight: 400; }
.cat-opt:hover span { background: var(--peach-50); }
.cat-opt input:checked + span { border-color: var(--orange); background: linear-gradient(135deg, #fff, var(--peach)); box-shadow: 0 6px 14px -8px rgba(242, 101, 34, .8); transform: translateY(-2px); }
.cat-opt input:focus-visible + span { outline: 3px solid rgba(242, 101, 34, .35); }

.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; }
.room-opt { position: relative; cursor: pointer; }
.room-opt input { position: absolute; opacity: 0; pointer-events: none; }
.room-opt span { display: grid; gap: 2px; padding: 10px 10px 9px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: 500 14px/1.3 'Prompt'; color: var(--ink); transition: .15s; height: 100%; }
.room-opt span b { font-size: 26px; line-height: 1.1; font-weight: 400; }
.room-opt span small { font: 400 12.5px/1.3 'Sarabun'; color: var(--smoke); }
.room-opt span em { font: 500 11.5px 'Prompt'; font-style: normal; color: #237A4B; }
.room-opt span em.busy { color: #B45309; }
.room-opt:hover span { background: var(--peach-50); }
.room-opt input:checked + span { border-color: var(--orange); background: linear-gradient(135deg, #fff, var(--peach)); box-shadow: 0 6px 14px -8px rgba(242, 101, 34, .8); transform: translateY(-2px); }
.room-opt input:focus-visible + span { outline: 3px solid rgba(242, 101, 34, .45); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 6px 12px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font: 500 14px 'Prompt'; transition: .15s; }
.chip-opt input:checked + span { border-color: var(--orange); background: var(--peach); color: var(--orange-dd); }
.chip-opt input:focus-visible + span { outline: 3px solid rgba(242, 101, 34, .45); }
.room-info { border-radius: 14px; padding: 10px 12px; background: var(--peach-50); border: 1px dashed var(--orange); font-size: 14.5px; }
.room-info:empty { display: none; }
.slot-msg { border-radius: 12px; padding: 9px 12px; font: 500 14.5px 'Prompt'; }
.slot-msg:empty { display: none; }
.slot-msg.ok { background: var(--green-50); color: #1B5E3B; }
.slot-msg.bad { background: #FDE2E2; color: #9B1C1C; }
.slot-msg.warn { background: var(--gold-50); color: #6a4300; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ───── แถบเวลาของวัน (ในฟอร์ม/ตาราง) ───── */
.daybar { position: relative; height: 34px; border-radius: 10px; background: repeating-linear-gradient(90deg, #fff 0 calc(100% / var(--n) - 1px), #F1E7DF calc(100% / var(--n) - 1px) calc(100% / var(--n))); border: 1px solid var(--line); overflow: hidden; }
.daybar i { position: absolute; top: 3px; bottom: 3px; border-radius: 7px; background: linear-gradient(135deg, var(--orange-2), var(--orange)); opacity: .9; }
.daybar i.wait { background: repeating-linear-gradient(135deg, #F7B183 0 6px, #FBD2B5 6px 12px); }
.daybar i.pick { background: rgba(31, 157, 85, .28); border: 2px solid var(--green); opacity: 1; }
.daybar i.pick.bad { background: rgba(185, 28, 28, .25); border-color: #B91C1C; }
.daybar-scale { display: flex; justify-content: space-between; font: 500 11px 'Prompt'; color: var(--smoke); margin-top: 2px; }

.sched-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sched-head .nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sched-head input[type=date] { width: auto; }
.sched { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 6px 10px; align-items: center; }
.sched .hours { position: relative; height: 20px; font: 500 11px 'Prompt'; color: var(--smoke); }
.sched .hours span { position: absolute; transform: translateX(-50%); }
.sched .rname { font: 500 14px/1.25 'Prompt'; display: flex; gap: 6px; align-items: center; min-width: 0; }
.sched .rname small { display: block; font: 400 12px 'Sarabun'; color: var(--smoke); }
.sched .lane { position: relative; height: 46px; border-radius: 12px; background: repeating-linear-gradient(90deg, #fff 0 calc(100% / var(--n) - 1px), #F1E7DF calc(100% / var(--n) - 1px) calc(100% / var(--n))); border: 1px solid var(--line); cursor: copy; }
.sched .lane.closed { background: var(--smoke-50); cursor: default; }
.sched .lane .now { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #B91C1C; z-index: 2; }
.sched .ev { position: absolute; top: 4px; bottom: 4px; border-radius: 9px; padding: 2px 7px; overflow: hidden; cursor: pointer; z-index: 1;
  background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #fff; font: 500 12px/1.25 'Prompt'; box-shadow: 0 4px 10px -6px rgba(210, 80, 26, .9); }
.sched .ev small { display: block; font: 400 11px 'Sarabun'; opacity: .95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sched .ev.wait { background: repeating-linear-gradient(135deg, #F7B183 0 8px, #F9C29D 8px 16px); color: #6B2A08; }
.sched .ev.used { background: linear-gradient(135deg, #9AA9C9, #6F7FA3); }
.sched .ev b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; font-weight: 500; }

/* ───── รายการคำขอ ───── */
.blist { display: grid; gap: 8px; }
.bitem { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; cursor: pointer; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); transition: .15s; }
.bitem:hover { background: var(--peach-50); transform: translateX(2px); }
.bitem.s-ok { border-left-color: var(--green); } .bitem.s-wait { border-left-color: var(--orange); } .bitem.s-no, .bitem.s-cancel, .bitem.s-exp { border-left-color: var(--smoke); opacity: .9; } .bitem.s-used { border-left-color: #6F7FA3; }
.bitem .when { display: grid; justify-items: center; line-height: 1.05; padding: 6px 0; border-radius: 12px; background: var(--peach-50); font: 600 20px 'Prompt'; color: var(--orange-dd); }
.bitem .when small { font: 500 11.5px 'Prompt'; color: var(--smoke); }
.bitem b { font: 500 15px 'Prompt'; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bitem small { display: block; color: var(--smoke); font-size: 13px; }
.bitem .side { display: grid; justify-items: end; gap: 4px; }
.bid { font: 600 12.5px 'Prompt'; color: var(--orange-d); letter-spacing: .3px; }
.due { font: 500 12px 'Prompt'; white-space: nowrap; color: var(--smoke); }
.due.soon { color: #B45309; } .due.now { color: #B91C1C; }
.qbtns .btn.ok { background: linear-gradient(135deg, #34B36B, #1F8A4C); }

/* ───── ติดตามคำขอ ───── */
.track-card { max-width: 860px; margin: 0 auto; }
.tcard { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: #fff; display: grid; gap: 6px; }
.tcard .row { align-items: center; }
.note-box { border-radius: 12px; padding: 8px 12px; background: var(--gold-50); font-size: 14.5px; }
.equip-list { display: flex; flex-wrap: wrap; gap: 6px; }
.equip-list span { padding: 3px 10px; border-radius: 99px; background: var(--peach-50); border: 1px solid var(--line); font-size: 13.5px; }
details.edit > summary { cursor: pointer; font: 600 15px 'Prompt'; color: var(--orange-d); }
.alert-line { padding: 10px 12px; border-radius: 12px; background: #FFF1F0; border-left: 5px solid #B91C1C; margin-bottom: 10px; font-size: 14.5px; }
/* ───── ป๊อปอัพแจ้งสำเร็จ ───── */
.success { text-align: center; padding: 6px 0 4px; }
.success .big-id { display: inline-block; margin: 6px 0 4px; padding: 8px 18px; border-radius: 14px; font: 700 clamp(22px, 5vw, 30px) 'Prompt'; letter-spacing: .5px;
  color: var(--orange-dd); background: linear-gradient(135deg, #fff, var(--peach)); border: 2px dashed var(--orange); }
.success .confetti { font-size: 46px; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }

/* ───── รายการ/การ์ดใบแจ้ง ───── */
.tlist { display: grid; gap: 8px; }
.titem {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; cursor: pointer;
  padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); transition: .15s;
}
.titem:hover { background: var(--peach-50); transform: translateX(2px); }
.titem.overdue { border-left-color: #C2410C; background: #FFF7F2; }
.titem.ok { border-left-color: var(--green); }
.titem.done { border-left-color: var(--smoke); opacity: .9; }
.titem .e { font-size: 28px; text-align: center; }
.titem b { font: 500 15px 'Prompt'; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.titem small { display: block; color: var(--smoke); font-size: 13px; }
.titem .side { display: grid; justify-items: end; gap: 4px; }
.tid { font: 600 12.5px 'Prompt'; color: var(--orange-d); letter-spacing: .3px; }
.sla { font: 500 12px 'Prompt'; white-space: nowrap; }
.sla.overdue { color: #B91C1C; } .sla.soon { color: #B45309; } .sla.ok { color: #237A4B; } .sla.done { color: var(--smoke); }

/* ───── รายละเอียด + ไทม์ไลน์ ───── */
.t-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.t-title { font: 600 18px/1.35 'Prompt'; margin: 0 0 4px; }
.photos { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.photos a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 10px; background: var(--peach-50); border: 1px solid var(--line); color: var(--orange-d); text-decoration: none; font-size: 14px; }
.photos img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.progress { display: flex; gap: 0; margin: 12px 0 14px; }
.progress div { flex: 1; text-align: center; font: 500 11.5px/1.2 'Prompt'; color: var(--smoke); position: relative; padding-top: 26px; }
.progress div::before { content: attr(data-i); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--smoke-50); border: 2px solid #E6E2DF; display: grid; place-items: center; font-size: 12px; z-index: 1; }
.progress div::after { content: ''; position: absolute; top: 10px; left: -50%; width: 100%; height: 3px; background: #E6E2DF; }
.progress div:first-child::after { display: none; }
.progress div.on { color: var(--orange-d); }
.progress div.on::before { background: linear-gradient(135deg, var(--orange-2), var(--orange)); border-color: #fff; color: #fff; content: '✓'; box-shadow: 0 0 0 2px var(--orange); }
.progress div.on::after { background: linear-gradient(90deg, var(--orange), var(--gold)); }
.progress div.cur::before { animation: pulse 1.6s infinite; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 6px; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 14px 24px; border-left: 2px solid var(--line); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); }
.timeline li.c::before { border-color: var(--gold); }
.timeline b { font: 500 14.5px 'Prompt'; }
.timeline small { color: var(--smoke); display: block; font-size: 12.5px; }
.timeline p { margin: 3px 0 0; font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.qbtns { display: flex; flex-wrap: wrap; gap: 6px; }
.box { border: 1.5px dashed var(--line); border-radius: 14px; padding: 12px 14px; margin-top: 12px; }
.box > h4 { margin: 0 0 8px; font: 600 15px 'Prompt'; color: var(--orange-d); }

/* ───── กระดานงาน ───── */
.board { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; align-items: start; }
.col { background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 18px; padding: 10px; min-height: 120px; backdrop-filter: blur(8px); }
.col > h3 { margin: 2px 4px 10px; font: 600 15px 'Prompt'; display: flex; justify-content: space-between; align-items: center; color: var(--orange-dd); }
.col > h3 span { background: var(--peach); border-radius: 99px; padding: 0 9px; font-size: 13px; }
.kcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 11px; margin-bottom: 8px; cursor: pointer; display: grid; gap: 4px; box-shadow: 0 4px 10px -8px rgba(210, 80, 26, .5); transition: .15s; border-top: 4px solid var(--gold); }
.kcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.kcard.overdue { border-top-color: #C2410C; } .kcard.ok { border-top-color: var(--green); } .kcard.done { border-top-color: var(--smoke); }
.kcard b { font: 500 14.5px/1.35 'Prompt'; }
.kcard small { color: var(--smoke); font-size: 12.5px; }
.kcard .bar { height: 5px; }
.kcard .row { font-size: 12.5px; align-items: center; }

/* ───── อาคาร / ห้อง ───── */
.bcards { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.bcard { cursor: pointer; display: grid; gap: 6px; transition: transform .2s; position: relative; overflow: hidden; }
.bcard:hover { transform: translateY(-3px); }
.bcard .ico { font-size: 40px; line-height: 1; }
.bcard b { font: 600 17px 'Prompt'; }
.bcard::after { content: ''; position: absolute; right: -26px; bottom: -26px; width: 90px; height: 90px; border-radius: 50%; background: var(--peach); opacity: .55; }
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.room { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 6px; text-align: center; font: 500 14px 'Prompt'; position: relative; cursor: pointer; }
.room:hover { background: var(--peach-50); }
.room.hot { border-color: var(--orange); background: #FFF7F2; }
.room i { position: absolute; top: -7px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--orange-dd); color: #fff; font: 600 11px/20px 'Prompt'; font-style: normal; }
.room small { display: block; font: 400 11.5px 'Sarabun'; color: var(--smoke); }
.qr-box { display: grid; justify-items: center; gap: 6px; padding: 12px; border: 2px dashed var(--orange); border-radius: 16px; background: #fff; max-width: 260px; margin: 0 auto; text-align: center; }
.qr-box canvas, .qr-box img { width: 180px !important; height: 180px !important; }

/* ───── รายงาน ───── */
.stats6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chart-bars .r { grid-template-columns: 150px 1fr 90px; }
.month-chart { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 170px; padding-top: 8px; }
.month-chart > div { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; min-width: 0; font: 500 11px 'Prompt'; color: var(--smoke); }
.month-chart .bars { flex: 1; width: 100%; display: flex; gap: 2px; align-items: flex-end; justify-content: center; }
.month-chart i { width: 100%; max-width: 34px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--orange-2), var(--orange)); min-height: 3px; position: relative; }
.month-chart i em { position: absolute; top: -17px; left: 0; right: 0; text-align: center; font: 600 11px 'Prompt'; color: var(--orange-dd); font-style: normal; }
.month-chart i.d { background: linear-gradient(180deg, #8FD3A8, var(--green)); }
.legend { display: flex; gap: 14px; font-size: 13px; color: var(--smoke); margin-top: 6px; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }

/* ───── อื่น ๆ ───── */
.demo-banner { max-width: 1240px; margin: 0 auto 10px; padding: 8px 14px; border-radius: 12px; background: var(--gold-50); border: 1px dashed var(--gold); color: #6a4300; font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.filters select, .filters input { width: auto; min-width: 150px; flex: 1; }
.filters .subtabs { margin: 0; }
.mini { font-size: 13px; }
.kv.tight { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.parts-table input { padding: 6px 8px; }

/* ───── อื่น ๆ ───── */
.demo-banner { max-width: 1240px; margin: 0 auto 10px; padding: 8px 14px; border-radius: 12px; background: var(--gold-50); border: 1px dashed var(--gold); color: #6a4300; font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.filters select, .filters input { width: auto; min-width: 150px; flex: 1; }
.filters .subtabs { margin: 0; }
.mini { font-size: 13px; }
.kv.tight { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.parts-table input { padding: 6px 8px; }


@media (max-width: 1024px) {
  .stats6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sched { grid-template-columns: 130px minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .room-opt span { font-size: 13px; padding: 8px; }
  .board { grid-template-columns: repeat(3, 82vw); scroll-snap-type: x mandatory; }
  .col { scroll-snap-align: start; }
  .bitem { grid-template-columns: 54px minmax(0, 1fr); }
  .bitem .side { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: start; gap: 6px; }
  .chart-bars .r { grid-template-columns: 100px 1fr 70px; }
  .month-chart { height: 140px; gap: 3px; }
  .progress div { font-size: 10px; }
  .sched { grid-template-columns: 1fr; gap: 2px; }
  .sched .hours { display: none; }
  .sched .rname { margin-top: 8px; }
  .sched-wrap { overflow-x: auto; }
}
@media print {
  .filters, .qbtns, .toolbar .btn, .demo-banner { display: none !important; }
  .hero { display: none; }
}
.count-row { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 920px; margin: 0 auto; }
@media (max-width: 700px) { .count-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .count-row .stat { padding: 10px; } .count-row .stat b { font-size: 21px; } .count-row .stat small { font-size: 11.5px; } }

/* ───── ส่วนเสริม: กระดาน 3 คอลัมน์ · ช่วงปิดจอง · ปุ่มอนุมัติ ───── */
.board.b3 { grid-template-columns: repeat(3, minmax(240px, 1fr)); }
.sched .lane .closed-zone { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(45deg, #EFECEA 0 6px, #F8F6F4 6px 12px); border-radius: 11px; pointer-events: none; }
.btn.ok { background: linear-gradient(135deg, #34B36B, #1F8A4C); color: #fff; }
.kcard .qbtns .btn.sm { min-height: 34px; padding: 4px 10px; }
@media (max-width: 700px) { .board.b3 { grid-template-columns: repeat(3, 84vw); } }
/* แถบเมนู: ไม่ตัดคำ · เมนูเจ้าหน้าที่มีหลายปุ่ม → เลื่อนแนวนอนได้ */
@media (min-width: 701px) {
  .tabs { overflow-x: auto; scrollbar-width: thin; }
  .tabs button { flex: none; white-space: nowrap; }
  body.staff .tabs { justify-content: flex-start; gap: 4px; }
  body.staff .tabs button { padding: 9px 12px; }
}
@media (min-width: 1360px) { body.staff .tabs { justify-content: center; } }
@media (max-width: 700px) {
  .sched-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sched-wrap .sched { min-width: 640px; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 8px; }
  .sched-wrap .sched .hours { display: block; }
  .sched-wrap .sched .rname { margin-top: 0; font-size: 13px; }
  .sched-head .subtabs { flex-wrap: wrap; }
}
