/* Timetable v12: equal subdivisions and reliable single-line print borders. */
.tx-print-sub,.tx-print-g{display:none}
.tx-opts #txGroupCount{width:100px}
.tx .tx-b{box-sizing:border-box;flex:1 1 0}
.tx .tx-b.sm{flex-direction:column;flex-wrap:nowrap;gap:0}
.tx .tx-b.sm .tx-s{width:100%;max-width:100%;font-size:7.6pt}
.tx .tx-b.sm .tx-m,.tx .tx-b.sm select.tx-g{font-size:7pt}
.tx .tx-m{max-width:100%;gap:1mm}
.tx select.tx-g{min-width:0;max-width:65%;text-overflow:ellipsis}
/* Separate borders prevent absolutely positioned coloured cells covering a
   collapsed edge, particularly the Monday/Tuesday divider in PDF output. */
table.tx{border-collapse:separate;border-spacing:0;border:.4mm solid #0b1b2f}
.tx th,.tx td{border:0;border-inline-end:.3mm solid #0b1b2f;border-bottom:.3mm solid #0b1b2f}
.tx tr>:last-child{border-inline-end:0}
.tx tbody tr:last-child>td{border-bottom:0}
.tx td.dc{overflow:hidden}
.tx .stk{inset:.2mm;display:grid}
.tx .tx-b+.tx-b{border-top:.25mm solid #0b1b2f}
.tx select:focus-visible,.tx input:focus-visible{outline:2px solid #2783de;outline-offset:-2px}
@media print{
 table.tx{border:.4mm solid #000;break-inside:avoid}
 .tx th,.tx td{border-color:#000!important}
 .tx .tx-b+.tx-b{border-top:.25mm solid #000!important}
 .tx .tx-s,.tx .tx-g{display:none!important}
 .tx-print-sub{display:block;font-size:8.4pt;font-weight:900;color:#0b1b2f;max-width:100%;overflow-wrap:anywhere;line-height:1.2}
 .tx-print-g{display:inline;font-size:7.4pt;font-weight:900;white-space:normal;line-height:1.15}
 .tx .tx-b.sm .tx-print-sub{font-size:7.6pt}
 .tx .tx-b.sm .tx-print-g{font-size:7pt}
 .tx .tx-b,.tx tr.br td,.tx tr.nn td{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
@media(max-width:760px){
 .tx-dt input,.tx-dt select{min-height:44px}
 .tx-dt{font-size:14px}
 .tx-det .in{padding-inline:8px}
}

/* v13: خلية التوقيت كانت تحمل direction:ltr فينقلب معها الخط الفاصل إلى الجهة الخطأ،
   فيختفي الخط بين التوقيت وأول يوم. نُبقي اتجاه الخلية كاتجاه الجدول ونطبّق ltr على الأرقام فقط. */
.tx td.pt{direction:inherit!important}
.tx td.pt .time-stack{direction:ltr}
.tx td.pn,.tx td.pt{border-inline-end:.3mm solid #0b1b2f!important}
@media print{.tx td.pn,.tx td.pt{border-inline-end:.3mm solid #000!important}}

@media screen{.frame .sheet[dir="ltr"]{left:0;right:auto}}
