﻿/* Monthly attendance content inside the shared program frame. */
.attendance-program-screen { display: grid; grid-template-rows: 2.8em 3.6em minmax(0,1fr) 2.2em; min-width: 0; min-height: 0; background: #fff; color: #344155; }
.attendance-program-tabs { display: flex; align-items: stretch; border-bottom: 1px solid #cbd4df; background: #f4f5f7; }
.attendance-program-tabs > span { display: flex; align-items: center; padding: 0 .8em; border-right: 1px solid #dce3eb; color: #526071; font-size: .95em; }
.attendance-program-tabs .is-active { margin-bottom: -1px; border-top: 2px solid #328efa; background: #fff; color: #237ee0; font-weight: 600; }
.attendance-program-controls { display: flex; align-items: center; gap: .55em; overflow: hidden; padding: .45em .7em; border-bottom: 1px solid #cbd4df; background: #fafbfc; white-space: nowrap; }
.attendance-program-controls > strong, .attendance-program-controls > span { padding: .35em .6em; border: 1px solid #c6d0dd; border-radius: 2px; background: #fff; color: #526071; font-size: .9em; line-height: 1.2; font-weight: 400; }
.attendance-program-controls .attendance-program-arrows { color: #328efa; }
.attendance-program-controls .attendance-program-search { min-width: 12em; color: #9aa5b5; }
.attendance-program-controls .attendance-program-export { margin-left: auto; }
.attendance-program-sheet { min-width: 0; min-height: 0; overflow: hidden; }
.attendance-program-table { width: 100%; height: 100%; border-collapse: collapse; table-layout: fixed; color: #526071; font-size: .9em; }
.attendance-program-table th, .attendance-program-table td { padding: .3em .1em; border: 1px solid #e1e7ef; text-align: center; font-weight: 400; }
.attendance-program-table th { height: 2.5em; background: #fafbfc; font-size: .85em; white-space: nowrap; }
.attendance-program-table td { line-height: 1.4; }
.attendance-program-table .attendance-program-name { color: #344155; text-align: left; padding-left: .45em; white-space: nowrap; }
.attendance-program-table .is-selected { background: #f1f7ff; }
.attendance-program-table .is-sunday { background: #fcf0f5; }
.attendance-program-table .is-saturday { background: #f0f6ff; }
.attendance-program-table th.is-sunday { color: #df7684; }
.attendance-program-table th.is-saturday { color: #468cd1; }
.attendance-program-table .is-today { background: #edf6ff; }
.attendance-program-table th.is-today { background: #328efa; color: #fff; font-weight: 600; }
.attendance-program-table td.is-vip { background: #328efa; color: #fff; font-size: .9em; }
.attendance-program-mark { display: block; width: .8em; height: .8em; margin: 0 auto; border: 1px solid #35b96b; border-radius: 50%; }
.attendance-program-total { color: #4777a8; font-weight: 600; }
.attendance-program-footer { display: flex; align-items: center; gap: 1.5em; overflow: hidden; padding: 0 .7em; border-top: 1px solid #cbd4df; background: #646a78; color: #edf3fa; font-size: .85em; white-space: nowrap; }
.attendance-program-footer > strong { font-weight: 500; }
.attendance-program-legend { display: inline-flex; align-items: center; gap: .4em; margin-left: auto; }
.attendance-program-legend > i { width: .8em; height: .8em; border: 1px solid #93e4b3; border-radius: 50%; }

/* Feature detail images. */
.attendance-section-soft { background: var(--bg-soft); }
.attendance-feature-image { width: 100%; min-width: 0; }
.attendance-feature-image img { display: block; width: 100%; height: auto; }
.attendance-feature-layout-reverse .ep-section-copy { grid-column: 2; grid-row: 1; }
.attendance-feature-layout-reverse .attendance-feature-image { grid-column: 1; grid-row: 1; }
@media (max-width: 860px) {
 .attendance-feature-layout-reverse .ep-section-copy, .attendance-feature-layout-reverse .attendance-feature-image { grid-column: auto; grid-row: auto; }
 .attendance-feature-image { max-width: 580px; justify-self: center; }
}
