/* One mobile-first style for both monthly calendars; export clones keep their print styles. */
.pt-month-table-scroll{max-height:none!important;height:auto!important;overflow:auto;border:1px solid #d9e6df;border-radius:10px;background:#fff;margin:12px 0;max-width:100%;-webkit-overflow-scrolling:touch}
.pt-month-table-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0!important;align-items:center}.pt-month-table-actions .btn{min-height:40px!important;padding:8px 14px!important;font-size:13px!important}.pt-month-table-actions .hm-pdf-status{flex-basis:100%}
@media screen{
html body .pt-month-table-scroll .pt-unified-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;margin:0!important;font-size:13px}
html body .pt-month-table-scroll .pt-unified-table caption{caption-side:top;text-align:start;padding:11px 12px!important;background:#f3f8f5;color:#174c38;font-size:14px;font-weight:700;line-height:1.5}
html body .pt-month-table-scroll .pt-unified-table th,html body .pt-month-table-scroll .pt-unified-table td{padding:9px 4px!important;border:0!important;border-bottom:1px solid #e2ece6!important;text-align:center!important;white-space:normal!important;line-height:1.35!important;min-width:0;overflow-wrap:normal}
html body .pt-month-table-scroll .pt-unified-table th:first-child{width:22%!important}
html body .pt-month-table-scroll .pt-unified-table thead th{background:#e9f3ee!important;color:#19553d!important;font-size:12px!important;font-weight:700}
html body .pt-month-table-scroll .pt-unified-table tbody th{background:#f7faf8;color:#245841;font-weight:600}
html body .pt-month-table-scroll .pt-unified-table tbody tr:nth-child(even) td{background:#f7faf8}
html body .pt-month-table-scroll .pt-unified-table .is-today>* ,html body .pt-month-table-scroll .pt-unified-table .hm-today>*{background:#e4f4e9!important}
html body .pt-month-table-scroll .pt-unified-table .day-num{display:none!important}
html body .pt-month-table-scroll .pt-unified-table .pt-table-date{display:block!important;font-size:12px!important;line-height:1.3!important;margin:0!important;white-space:normal!important;color:#245841!important}
html body .pt-month-table-scroll .pt-unified-table .pt-calendar-year{display:none!important}
html body .pt-month-table-scroll .pt-unified-table .pt-table-weekday{display:block!important;font-size:11px!important;margin:2px 0!important;color:#6b8075!important;line-height:1.2!important}
html body .pt-month-table-scroll .pt-unified-table .pt-table-clock{display:block;font-size:13px!important;white-space:nowrap;font-weight:600;line-height:1.25;font-variant-numeric:tabular-nums}
html body .pt-month-table-scroll .pt-unified-table .pt-table-period{display:block;font-size:10px!important;color:#788b80;line-height:1.15;margin-top:2px}
@media(max-width:480px){html body .pt-month-table-scroll .pt-unified-table th,html body .pt-month-table-scroll .pt-unified-table td{padding:7px 2px!important}html body .pt-month-table-scroll .pt-unified-table thead th{font-size:10px!important}html body .pt-month-table-scroll .pt-unified-table .pt-table-clock{font-size:11px!important}html body .pt-month-table-scroll .pt-unified-table .pt-table-date{font-size:10px!important}html body .pt-month-table-scroll .pt-unified-table .pt-table-weekday{font-size:9px!important}html body .pt-month-table-scroll .pt-unified-table .pt-table-period{font-size:9px!important}.pt-month-table-actions .btn{flex:1;min-width:0;white-space:normal}.pt-month-table-scroll{border-radius:8px}}
}
@media print{.pt-month-table-actions{display:none!important}.pt-month-table-scroll{overflow:visible!important;border:0!important;border-radius:0!important;margin:0!important}}

/* Monthly date layout fix: weekday and calendar dates occupy independent lines. */
@media screen {
 html body .pt-month-table-scroll .pt-unified-table { min-width: 540px !important; }
 html body .pt-month-table-scroll .pt-unified-table thead th:first-child { width: 28% !important; }
 html body .pt-month-table-scroll .pt-unified-table tbody th[scope="row"] {
   vertical-align: middle !important; height: auto !important; min-height: 0 !important;
   white-space: normal !important; padding: 10px 8px !important;
 }
 html body .pt-month-table-scroll .pt-unified-table tbody th[scope="row"] > :is(.pt-table-weekday,.day-name,.hm-weekday,.pt-table-date,.pt-calendar-date,.d-date,.hm-day) {
   display: block !important; position: static !important; float: none !important;
   inset: auto !important; transform: none !important; width: auto !important;
   height: auto !important; min-height: 0 !important; max-height: none !important;
   margin: 0 !important; padding: 0 !important; white-space: normal !important;
   line-height: 1.6 !important; overflow: visible !important; overflow-wrap: normal !important;
   word-break: normal !important; letter-spacing: normal !important; visibility: visible !important;
 }
 html body .pt-month-table-scroll .pt-unified-table tbody th[scope="row"] > :is(.pt-table-weekday,.day-name,.hm-weekday) {
   margin-bottom: 4px !important; font-size: 12px !important; font-weight: 700 !important;
 }
 html body .pt-month-table-scroll .pt-unified-table tbody th[scope="row"] > :is(.pt-table-date,.pt-calendar-date,.d-date,.hm-day) { font-size: 12px !important; }
 html body .pt-month-table-scroll .pt-unified-table tbody th[scope="row"] > [data-calendar-date="gregorian"] { color: #6e44a2 !important; }
 html body .pt-month-table-scroll .pt-unified-table tbody th[scope="row"] > [data-calendar-date="hijri"] { color: #08734f !important; margin-top: 3px !important; }
}

/* Mobile monthly tables: fit the viewport, retaining every date and prayer column. */
@media screen and (max-width: 760px) {
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) { width:100% !important; max-width:100% !important; min-width:0 !important; box-sizing:border-box !important; }
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) table:is(.pt-unified-table,.pt-mtable,.hm-table) { display:table !important; width:100% !important; min-width:0 !important; max-width:100% !important; table-layout:fixed !important; border-collapse:collapse !important; }
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) table:is(.pt-unified-table,.pt-mtable,.hm-table) tr { display:table-row !important; }
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) table:is(.pt-unified-table,.pt-mtable,.hm-table) :is(th,td) { display:table-cell !important; box-sizing:border-box !important; min-width:0 !important; width:auto !important; padding:7px 2px !important; text-align:center !important; vertical-align:middle !important; line-height:1.45 !important; white-space:normal !important; overflow-wrap:normal !important; word-break:normal !important; }
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) table:is(.pt-unified-table,.pt-mtable,.hm-table) thead th:first-child { width:24% !important; }
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) table:is(.pt-unified-table,.pt-mtable,.hm-table) thead th { font-size:10px !important; padding:8px 2px !important; overflow-wrap:anywhere !important; word-break:normal !important; }
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) table:is(.pt-unified-table,.pt-mtable,.hm-table) tbody th[scope="row"] { height:auto !important; padding:7px 3px !important; }
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) table:is(.pt-unified-table,.pt-mtable,.hm-table) tbody th[scope="row"] > :is(.pt-table-weekday,.day-name,.hm-weekday,.pt-table-date,.pt-calendar-date,.d-date,.hm-day) { display:block !important; position:static !important; float:none !important; width:auto !important; height:auto !important; white-space:normal !important; font-size:10px !important; line-height:1.5 !important; margin:1px 0 !important; word-break:normal !important; }
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) table:is(.pt-unified-table,.pt-mtable,.hm-table) :is(.pt-table-clock,.pt-month-clock,.pt-time-number) { display:block !important; direction:ltr; font-size:11px !important; line-height:1.4 !important; letter-spacing:0 !important; white-space:nowrap !important; font-variant-numeric:tabular-nums; }
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) table:is(.pt-unified-table,.pt-mtable,.hm-table) :is(.pt-table-period,.pt-month-period,.pt-time-period) { display:block !important; font-size:9px !important; line-height:1.3 !important; margin-top:2px !important; }
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) table:is(.pt-unified-table,.pt-mtable,.hm-table) caption { white-space:normal !important; font-size:12px !important; padding:9px 7px !important; }
}
@media screen and (max-width:360px) {
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) table:is(.pt-unified-table,.pt-mtable,.hm-table) thead th { font-size:9px !important; padding-inline:1px !important; }
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) table:is(.pt-unified-table,.pt-mtable,.hm-table) :is(.pt-table-clock,.pt-month-clock,.pt-time-number) { font-size:10px !important; }
html[lang] body.pt-month-view :is(.pt-month-table-scroll,.table-scroll,.hm-scroll) table:is(.pt-unified-table,.pt-mtable,.hm-table) tbody th[scope="row"] > :is(.pt-table-weekday,.day-name,.hm-weekday,.pt-table-date,.pt-calendar-date,.d-date,.hm-day) { font-size:9px !important; }
}
