
@media screen{
#main .ca-lesson-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px!important;margin-top:18px}
#main .ca-lesson-list .ca-lesson-choice{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px!important;border:1px solid #cbdde9!important;border-radius:14px!important;background:#edf5fc!important;color:#204e70!important;width:100%;box-sizing:border-box;text-decoration:none}
#main .ca-lesson-choice:nth-child(even){background:#eef7f1!important;border-color:#cde4d5!important}
#main .ca-lesson-number{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#d5e6f5;color:#245e8d;font-weight:700}
#main .ca-lesson-name{font-size:15px!important;line-height:1.8;font-weight:700;overflow-wrap:anywhere}
#main .ca-lesson-hour{background:#deefe8;color:#17664e;border-radius:8px;padding:5px 8px;font-size:13px;white-space:nowrap}
#main .ca-attendance-panel .ca-lecture-title{font-size:21px!important;line-height:1.7;margin:0 0 16px;padding-inline-start:12px;border-inline-start:4px solid #1d9273;color:#194763}
#main .ca-lecture-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#main .ca-lecture-meta>div{display:flex;flex-direction:column;gap:7px;padding:13px;border:1px solid #dce7ee;border-radius:12px;min-width:0}
#main .ca-lecture-meta small{font-size:12px;color:#5b7083}
#main .ca-lecture-meta strong{font-size:14px;line-height:1.7;overflow-wrap:anywhere}
#main .ca-meta-time{background:#eaf7f0;color:#16704f}
#main .ca-meta-date{background:#edf4fc;color:#315e8b}
#main .ca-meta-teacher{background:#f2edf9;color:#704a97}
#main .ca-meta-place{background:#fff6e9;color:#876331}
#main .ca-roster-hint{font-size:13px;line-height:1.9;color:#597082;margin-block:16px}
#main .ca-attendance-panel .ca-roster-row{border:1px solid #d8e5ee!important;border-radius:12px!important;padding:14px 11px!important;margin:10px 0!important;background:#eef5fb!important}
#main .ca-attendance-panel .ca-roster-row:nth-of-type(even){background:#edf7f0!important;border-color:#d3e7d9!important}
#main .ca-attendance-panel .service-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
#main .ca-attendance-panel .service-actions button[type="submit"]{min-height:50px!important;border-radius:12px!important;padding:12px 18px!important;font-size:15px!important;font-weight:700!important;background:#e5eef8!important;color:#315a80!important;border:1px solid #cbdceb!important}
#main .ca-attendance-panel .service-actions button[type="submit"]:first-child{background:linear-gradient(135deg,#169769,#087b51)!important;color:#fff!important;border-color:#087b51!important;box-shadow:0 4px 12px #16845122;flex:1;min-height:54px!important}
#main .manage-row{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:10px!important}
#main .manage-row>div:first-child{flex:1 1 100%;min-width:0}
#main .manage-row>a[href*="edit="]{margin-inline-start:auto!important}
#main .manage-row>form.inline{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;margin:0!important}
#main .manage-row>.portal-export-tools{flex:1 1 100%;width:100%;margin-top:12px}
#main input[type="date"]{display:block!important;width:100%!important;inline-size:100%!important;max-width:100%!important;min-width:0!important;min-inline-size:0!important;box-sizing:border-box!important;height:48px!important;min-height:48px!important;padding:10px 12px!important;font-size:16px!important;line-height:1.5!important;-webkit-appearance:none;appearance:none}
#main input[type="date"]::-webkit-date-and-time-value{text-align:start;min-height:1.5em}
#main input[type="date"]::-webkit-datetime-edit{min-width:0;padding:0}
#main .form-grid>label{min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:480px){#main .ca-attendance-panel .service-actions button:first-child{flex-basis:100%}#main .ca-lesson-list{grid-template-columns:1fr}}
}
