.st-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.25rem}.st-grid>*{min-width:0}.st-grid input,.st-grid select{width:100%;box-sizing:border-box;min-height:46px}.st-attendance{padding:1.25rem;margin:1.25rem 0;background:#15191d;border:1px solid #47515e;border-radius:14px}.st-attendance h3{margin-top:0}.st-attendance form{max-width:100%}.st-report-table{max-width:100%;overflow:auto;overscroll-behavior-x:contain}.st-report-table table{width:100%;font-size:.9rem}.st-report-table th{white-space:normal;min-width:7rem}.st-report-table td{overflow-wrap:anywhere;vertical-align:top}.st-grid label{line-height:1.5}.st-attendance .checkline{align-items:flex-start;gap:.7rem}.st-attendance .checkline input{width:22px;height:22px;flex-shrink:0}.st-print-button{font:inherit;cursor:pointer}select[multiple]{min-height:10rem;max-width:100%}@media(max-width:640px){.st-grid{grid-template-columns:1fr}.st-attendance{padding:1rem}.st-report-table{border:1px solid #47515e;border-radius:10px}}@media print{.st-grid,.portal-tabs,.st-print-button,form,nav,header,footer{display:none!important}.st-report-table{overflow:visible;max-width:none}.st-report-table table{font-size:7pt;border-collapse:collapse;table-layout:fixed;width:100%}.st-report-table th,.st-report-table td{overflow-wrap:anywhere;word-break:normal}.st-report-table th,.st-report-table td{min-width:0;border:1px solid #999;padding:4pt;color:#000;background:#fff}.st-report-table tr{break-inside:avoid}.st-report-table a{color:#000}body,.st-attendance{background:#fff!important;color:#000!important}.st-report-table thead{display:table-header-group}}

/* v27.40: open the relevant learner/session directly and keep batch forms manageable. */
.st-attendance>summary,.st-session-editor>summary,.st-history>summary{cursor:pointer;font-weight:650;line-height:1.5;min-height:44px;padding:8px 0}.st-attendance>summary:focus-visible,.st-session-editor>summary:focus-visible,.st-history>summary:focus-visible{outline:3px solid #f6cb66;outline-offset:3px}.st-attendance[open]{border-color:#b6d78e}.st-attendance{scroll-margin-top:100px}.st-session-editor,.st-history{margin:18px 0;padding:12px 16px;border:1px solid #47515e;border-radius:10px;background:#14191a}.st-session-editor form{margin-top:14px}.st-session-summary{line-height:1.7}.st-list-filters .st-grid{max-width:760px}.st-report-filter{margin-bottom:24px}.st-history{scroll-margin-top:100px}#session-edit,#import-confirm{scroll-margin-top:100px}
@media print{.st-session-editor,.st-history{display:none!important}.st-attendance>summary{color:#000}}
