@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Serif+JP:wght@500;600&display=swap";.student-search{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:0 10px;border:1px solid #dcd8ce;border-radius:10px;color:#788071}.student-search input{margin:0;border:0;padding:10px 0;outline:none}:root{font-family:DM Sans,sans-serif;color:#292b27;background:#f5f2eb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.shell{max-width:1120px;margin:auto;padding:28px 20px 48px}.panel{background:#fff;border:1px solid #e7e1d5;border-radius:18px;padding:22px;box-shadow:0 8px 28px #39301a0b}.login{max-width:430px;margin:8vh auto;text-align:center;padding:34px}.mark{font-family:"Noto Serif JP";font-size:38px;color:#65735a}.eyebrow{font-size:10px;letter-spacing:2px;color:#777e6e;font-weight:700;margin:0 0 7px}.login h1,.topbar h1{letter-spacing:5px;margin:0;font-size:26px}.login h2{font-size:17px;font-weight:500;margin:8px 0 26px;color:#6e7568}form{display:grid;gap:14px;text-align:left}label{font-size:13px;font-weight:600;color:#52584e}input,select{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #dcd8ce;border-radius:10px;background:#fff;font:inherit;color:#292b27}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;padding:12px 16px;background:#586b50;color:#fff;font:600 14px DM Sans;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.login button{width:100%;margin-top:6px}.login small{display:block;color:#85877e;margin-top:20px}.error,.success{display:flex;gap:8px;align-items:center;padding:12px 14px;border-radius:10px;font-size:13px}.error{background:#fff0ed;color:#a33b2e}.success{background:#edf6eb;color:#376c38}.topbar{display:flex;justify-content:space-between;align-items:center;padding:4px 0 22px;border-bottom:1px solid #e2ddd2}.user{display:flex;align-items:center;gap:14px;text-align:right;font-size:13px}.user small{display:block;color:#7b8075;text-transform:capitalize}.quiet{background:#e9ece5;color:#45523e}.welcome{display:flex;justify-content:space-between;align-items:center;padding:24px 0}.welcome h2{margin:0 0 4px}.welcome p:not(.eyebrow){margin:0;color:#72776d;font-size:14px}.layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:18px}.panel h3{display:flex;align-items:center;gap:9px;margin:0 0 18px;font-size:16px}.date-label{display:block;margin-bottom:14px}.class-list{display:grid;gap:8px;max-height:620px;overflow:auto}.class-item{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:#f7f7f3;color:#30352d;border:1px solid #e7e8df;gap:4px}.class-item span,.class-item small{font-size:12px;color:#737a6e}.class-item.active{border-color:#718568;background:#eef2e9}.session-info{display:grid;gap:5px;padding:13px;background:#f5f6f1;border-radius:11px;margin-bottom:14px}.session-info span,.session-info small{font-size:12px;color:#70776a}.student-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #efeee9}.student-row select{width:145px;margin:0;padding:8px;font-size:12px}.panel>button:last-child{width:100%;margin-top:18px}.empty{text-align:center;color:#858b7f;padding:65px 10px}.empty svg{opacity:.45}footer{text-align:center;color:#92968d;font-size:11px;padding:24px}@media(max-width:760px){.shell{padding:16px 12px 30px}.layout{grid-template-columns:1fr}.topbar{align-items:flex-start}.user{flex-direction:column;align-items:flex-end;gap:7px}.welcome{align-items:flex-start;gap:12px}.welcome .quiet{white-space:nowrap}.panel{padding:17px}.class-list{max-height:340px}}.present-count{font-size:14px;font-weight:700;background:#e8f5ec;color:#176b37;padding:9px 12px;border-radius:9px;margin:6px 0 10px}.present-button{min-width:132px;height:46px;border:2px solid #b8c0b2;background:#eff1ed;color:#586154;font-weight:700;letter-spacing:.5px}.present-button.on{border-color:#159447;background:#16a34a;color:#fff;box-shadow:0 3px 10px #16a34a35}.new-student{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end;margin-top:14px;padding-top:14px;border-top:1px solid #eeece5}.new-student input{margin-top:5px}.new-student button{white-space:nowrap}@media(max-width:760px){.present-button{min-width:122px;height:46px}.new-student{grid-template-columns:1fr}.new-student button{width:100%}}.site-choice{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:12px 0 18px}.site-button{min-height:92px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;text-align:left;font-size:18px;font-weight:700;padding:16px 20px}.site-button span{font-size:12px;font-weight:500}.site-button.sanmiguel{background:#18783e;color:#fff}.site-button.muniz{background:#1476a8;color:#fff}.site-button.selected{outline:4px solid #efaa31;outline-offset:2px}@media(max-width:760px){.site-choice{grid-template-columns:1fr}.site-button{min-height:72px}}:root{--yam-ink:#171923;--yam-lime:#c8f31d;--yam-orange:#ff7438;--yam-blue:#1e82df;--yam-bg:#f3f4f6;--yam-muted:#727789}body{background:var(--yam-bg);color:var(--yam-ink)}.shell{max-width:1320px}.topbar{background:linear-gradient(112deg,#191b27,#292c3d);color:#fff;border:0;border-radius:20px;padding:18px 22px;box-shadow:0 14px 30px #15172224}.mark,.avatar{background:var(--yam-lime);color:var(--yam-ink)}.eyebrow{color:#858a9c}.welcome h2{font-size:30px;font-weight:800;letter-spacing:-.8px}.panel,.stat{border:1px solid #e7e8ed;border-radius:18px;box-shadow:0 9px 30px #2224330c}.panel h3{font-size:18px;font-weight:800}.app-nav{display:flex;gap:8px;margin:4px 0 18px;overflow-x:auto}.app-nav button{background:#e4e6eb;color:#44495a;border-radius:999px;white-space:nowrap}.app-nav button.active{background:var(--yam-ink);color:var(--yam-lime)}.site-button.sanmiguel{background:linear-gradient(135deg,#24a85b,#087c49)}.site-button.muniz{background:linear-gradient(135deg,#198fe2,#1254b6)}.site-button{border-radius:17px;box-shadow:0 9px 22px #17192320;font-size:19px}.site-button.selected{outline:4px solid #efaa31}.present-button.on{background:var(--yam-lime);color:#18200a;border-color:#9bc400;box-shadow:0 3px 14px #8cb0003b}.present-count{background:#eff9c9;color:#365000}.substitute-confirm{display:flex;width:100%;min-height:76px;margin:14px 0 4px;border-radius:15px;background:linear-gradient(135deg,#f07827,#da4d20);box-shadow:0 8px 18px #cf572d35;font-size:18px;font-weight:900}.warning{border:2px solid #ffae35;background:#fff7e6;border-radius:15px;padding:20px}.other-students-toggle{display:flex;width:100%;min-height:50px;margin:12px 0;background:#292c3d;color:var(--yam-lime);font-weight:800}.student-row small{display:block;color:var(--yam-muted);font-size:11px;margin-top:3px}.activity-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.activity-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.activity-form label{min-width:0}.activity-form button{align-self:end}.activity-card{padding:14px;margin:9px 0;border:1px solid #e5e7eb;border-radius:14px;background:#fafbfc}.activity-card p{color:var(--yam-muted);font-size:12px}.checkbox-line{display:flex;gap:8px;align-items:center;background:#f4f6ec;padding:12px;border-radius:10px}.checkbox-line input{width:auto;margin:0}.history-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:10px;align-items:end}.history-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0}.history-summary .stat{padding:13px}.history-summary strong{display:block;font-size:23px}.eligible{background:#edfae9;color:#176b37}.course-search{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:14px 0}.course-search label{min-width:220px;flex:1}.course-search .danger{background:#f7ece8;color:#975340}@media(max-width:760px){.topbar{border-radius:14px;padding:16px}.activity-grid,.activity-form,.history-filter-grid{grid-template-columns:1fr}.history-summary{gap:6px}.history-summary .stat{padding:9px}.welcome{align-items:flex-start;flex-direction:column}.site-choice{grid-template-columns:1fr}.substitute-confirm{min-height:68px;font-size:16px}}.directory-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;margin:12px 0}.directory-table{min-width:1500px}.directory-table th button,.table-sort{background:transparent;color:#4c5262;padding:5px;font-size:11px;text-align:left;white-space:nowrap}.directory-table tbody tr{cursor:pointer}.directory-table tbody tr:hover,.directory-table tbody tr.selected-row{background:#f0f7d9}.profile-detail{margin-top:18px}.profile-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.profile-heading h3{margin:4px 0}.student-profile{margin-top:16px}.student-profile p{line-height:1.7}.history-filter-grid input,.history-filter-grid select{min-width:0}@media(max-width:760px){.directory-filters{grid-template-columns:1fr 1fr}.profile-heading{align-items:flex-start;flex-direction:column}}.weekly-agenda{overflow:hidden}.agenda-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.agenda-heading h2{margin:0;font-size:24px}.agenda-heading p:not(.eyebrow){color:#6b7280;margin:6px 0 0}.agenda-nav{display:flex;gap:7px;align-items:center}.agenda-nav button{white-space:nowrap}.weekly-site-panel{margin-top:22px;padding-top:16px;border-top:2px solid #e4e7ed}.weekly-site-panel h3{font-size:20px;margin-bottom:12px;color:#171923}.week-scroll{overflow:auto;max-height:calc(100vh - 210px);border:1px solid #d8dce4;border-radius:12px}.week-grid{display:grid;grid-template-columns:60px repeat(7,minmax(120px,1fr));grid-template-rows:48px auto;min-width:950px;position:relative}.week-corner,.week-day-head{position:sticky;top:0;z-index:4;background:#202333;color:#d7f449;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;font-weight:800;border-right:1px solid #55596a}.week-corner{left:0;z-index:6}.week-day-head small{color:#fff;font-size:10px;margin-top:3px}.week-time-axis,.week-day-column{height:1408px;position:relative;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,#dfe3e9 43px,#dfe3e9 44px);background-color:#fff}.week-time-axis{background-color:#f5f6f8;border-right:1px solid #d1d5dc}.week-time-axis>div{position:absolute;right:6px;transform:translateY(-50%);font-size:10px;color:#5b6270;font-weight:700}.week-day-column{border-right:1px solid #d1d5dc}.week-class-card{position:absolute;left:3px;right:3px;z-index:2;display:flex;flex-direction:column;gap:2px;overflow:hidden;padding:5px 6px;border-radius:7px;border:1px solid #ffffff;border-left:5px solid #202333;color:#171923;font-size:10px;line-height:1.12;box-shadow:0 2px 6px #0003}.week-class-card b{font-size:10px}.week-class-card strong{font-size:11px;overflow-wrap:anywhere}.week-class-card span{font-size:9px;font-weight:700;overflow-wrap:anywhere}.week-day-column:nth-child(odd){background-color:#fbfcfd}.pending-banner{display:grid;gap:7px;margin:0 0 16px;padding:14px 16px;background:#fff2db;border:1px solid #f2d08a;border-radius:13px;color:#62400a}.pending-banner>span{font-size:12px}.pending-banner>div{display:flex;flex-wrap:wrap;gap:7px}.pending-link{background:#fff;color:#684510;border:1px solid #efd6a1;padding:8px 10px;font-size:12px}.backup-button{margin:0 0 14px;background:#242737;color:#d7f449}.month-lock-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:15px 0;padding:12px 14px;background:#f4f6ec;border:1px solid #dce5c9;border-radius:12px}.month-lock-toolbar span{display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:13px}.month-lock-toolbar button{margin-left:auto}.compact.empty{padding:20px}@media(max-width:760px){.agenda-heading{align-items:flex-start;flex-direction:column}.agenda-nav{width:100%}.agenda-nav button{flex:1;padding:10px 8px}.week-scroll{max-height:calc(100vh - 230px)}.week-grid{min-width:920px}.pending-link{width:100%;justify-content:flex-start}.month-lock-toolbar{align-items:flex-start;flex-direction:column}.month-lock-toolbar button{width:100%;margin:0}}.week-board-site{margin:15px 0 24px}.week-board-site h4{font-size:17px;margin:0 0 9px}.week-board{display:grid;grid-template-columns:58px repeat(7,minmax(112px,1fr));grid-template-rows:44px 1428px;min-width:900px;border:1px solid #bcc1ca;border-radius:8px;overflow:hidden;background:#fff}.week-board-corner,.week-board-head{position:sticky;top:0;z-index:4;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:#202333;color:#d7f449;border-right:1px solid #737786;border-bottom:1px solid #737786;font-size:10px;font-weight:900}.week-board-corner{left:0;z-index:5}.week-board-head small{color:#fff;margin-top:3px;font-size:10px}.week-board-hours,.week-board-day{height:1428px;position:relative;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 41px,#d2d5db 41px,#d2d5db 42px);background-size:100% 42px}.week-board-hours{background-color:#f2f3f5;border-right:1px solid #aeb3bc}.week-board-hours span{position:absolute;right:5px;transform:translateY(-50%);font-size:10px;font-weight:800;color:#555b66}.week-board-day{border-right:1px solid #c6c9cf;background-color:#fff}.week-board-class{position:absolute;left:3px;right:3px;z-index:2;display:flex;flex-direction:column;gap:2px;padding:5px 6px;border-left:4px solid #202333;border-radius:5px;color:#171923;overflow:hidden;font-size:10px;line-height:1.12;box-shadow:0 2px 4px #0002}.week-board-class b{font-size:10px}.week-board-class strong{font-size:11px}.week-board-class small{font-size:9px;font-weight:800}.week-board{overflow:auto}@media(max-width:760px){.week-board{min-width:900px}.week-board-site{margin:12px 0}}.backup-reminder{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 14px;margin:0 0 14px;padding:14px 16px;background:#fff3dc;border:1px solid #efcf8d;border-radius:13px;color:#664810}.backup-reminder strong{font-size:14px}.backup-reminder span{font-size:12px;grid-column:1}.backup-reminder button{grid-column:2;grid-row:1/3;background:#273044;color:#d7f449;white-space:nowrap}@media(max-width:760px){.backup-reminder{grid-template-columns:1fr}.backup-reminder span,.backup-reminder button{grid-column:1;grid-row:auto}.backup-reminder button{width:100%}}.compact-week-scroll{overflow:visible;max-height:none}.compact-week-grid{display:grid;grid-template-columns:62px repeat(7,minmax(118px,1fr));min-width:910px;background:#fff}.compact-week-grid>.week-corner,.compact-week-grid>.week-day-head{position:relative;top:auto;min-height:40px}.week-time-label{display:flex;align-items:flex-start;justify-content:center;padding:6px 3px;background:#f1f3f6;border-right:1px solid #d4d8df;border-bottom:1px solid #d4d8df;font-size:12px;font-weight:800;color:#434957}.week-compact-cell{min-height:48px;padding:2px;border-right:1px solid #d4d8df;border-bottom:1px solid #d4d8df;display:flex;flex-direction:column;gap:3px}.week-class-card.compact{position:relative;inset:auto;z-index:1;height:auto;min-height:42px;margin:0;padding:4px 5px;gap:1px;border-left-width:4px;box-shadow:none;font-size:9px;line-height:1.08}.week-class-card.compact b{font-size:9px}.week-class-card.compact strong{font-size:10px}.week-class-card.compact span{font-size:9px}.week-class-card.compact small{font-size:8px;font-weight:900}.week-empty{grid-column:2/-1}.monthly-calendar-panel{overflow:hidden}.calendar-close-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:12px 0 18px;padding:13px;background:#f4f6ec;border:1px solid #dce5c9;border-radius:12px}.calendar-close-toolbar label,.calendar-move-form label{display:grid;gap:5px;font-size:12px;font-weight:800}.calendar-close-toolbar small{flex-basis:100%;color:#66705d}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(118px,1fr));min-width:900px;border-top:1px solid #dce0e6;border-left:1px solid #dce0e6;background:#fff}.calendar-weekday{padding:9px 5px;text-align:center;background:#202333;color:#d7f449;font-weight:900;font-size:11px}.calendar-day{min-height:120px;padding:6px;border-right:1px solid #dce0e6;border-bottom:1px solid #dce0e6;background:#fff}.calendar-day-empty{background:#f7f8fa}.calendar-day-number{display:block;margin:0 0 5px;font-size:13px}.calendar-no-class{font-size:10px;color:#a0a5af}.holiday-label{display:block;margin:3px 0;padding:3px 4px;border-radius:4px;background:#fee2e2;color:#9b1c1c;font-size:8px;font-weight:900}.calendar-event{display:grid;gap:3px;margin:4px 0;padding:5px;border:1px solid #e5e7eb;border-left:4px solid #38bdf8;border-radius:6px;background:#f9fafb;font-size:9px}.calendar-event strong{font-size:9px;line-height:1.2}.calendar-event span,.calendar-event small{font-size:8px;line-height:1.2}.calendar-event.cancelled{opacity:.9;text-decoration:none;background:#e5e7eb!important;border-left-color:#475569!important;color:#334155!important}.calendar-event-actions{display:flex;gap:4px}.calendar-event-actions button{padding:4px 6px;font-size:9px}.calendar-move-form{display:grid;gap:5px;margin-top:4px}.calendar-move-form input{min-width:0;padding:5px}.calendar-move-form button{padding:6px;font-size:9px}.calendar-close-toolbar .danger{background:#a33a32}@media(max-width:760px){.calendar-grid{min-width:900px}.calendar-close-toolbar{align-items:stretch;flex-direction:column}.compact-week-scroll{overflow:auto}}.teacher-directory-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:14px 0}.teacher-directory-form label{flex:1 1 240px;display:grid;gap:5px;font-size:12px;font-weight:800}.teacher-directory-form button{align-self:flex-end}.teacher-directory-panel .tablewrap{margin-top:16px}.directory-table{width:100%;min-width:1550px;border-collapse:separate;border-spacing:0;font-size:14px;line-height:1.4;font-family:Arial,Segoe UI,sans-serif;table-layout:fixed}.directory-table th,.directory-table td{padding:12px 10px;vertical-align:top;border-bottom:1px solid #dfe3e8;overflow-wrap:anywhere}.directory-table th{position:sticky;top:0;background:#202333;color:#f8fafc;z-index:3}.directory-table th button,.directory-table .table-sort{color:#f8fafc;font-size:12px;font-weight:800}.directory-table td:first-child{font-weight:800;white-space:nowrap}.directory-table td:nth-child(2){font-weight:700}.directory-table tbody tr:nth-child(2n) td{background:#f2f5f9}.directory-table tbody tr:hover td{background:#dcecff}.directory-table tbody tr.selected-row td{background:#b9dcff!important;color:#10243b!important;box-shadow:inset 0 2px #2779bd,inset 0 -2px #2779bd}.directory-table tbody tr.selected-row td:first-child{border-left:5px solid #1265a8}.tablewrap{overflow:auto;max-height:68vh;border:1px solid #d9dee6;border-radius:12px}@media(max-width:760px){.directory-table{font-size:13px}.directory-table th,.directory-table td{padding:10px 8px}.tablewrap{max-height:62vh}}.editable-week-card{cursor:pointer;outline:2px solid transparent;transition:transform .12s,outline-color .12s}.editable-week-card:hover,.editable-week-card:focus-visible{outline:2px solid #111827;transform:scale(1.02);z-index:4}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:18px;background:#121621a8}.schedule-edit-modal{display:grid;gap:12px;width:min(620px,100%);max-height:92vh;overflow:auto;padding:24px;background:#fff;border-radius:18px;box-shadow:0 20px 70px #0005}.schedule-edit-modal h2{margin:0;color:#171923}.schedule-edit-modal p{margin:0 0 4px;color:#596273}.schedule-time-fields,.schedule-edit-actions{display:flex;gap:10px;flex-wrap:wrap}.schedule-time-fields>label{flex:1}.schedule-edit-actions button{flex:1}.schedule-edit-actions .danger{background:#a33a32}@media(max-width:640px){.schedule-edit-modal{padding:17px}.schedule-edit-actions{display:grid}.schedule-edit-actions button{width:100%}}.error,.success{position:relative;display:flex;align-items:flex-start;gap:12px;margin:14px 0 18px;padding:18px 20px;border-radius:14px;font-size:16px;line-height:1.45;box-shadow:0 5px 18px #15203316;border:2px solid}.error{background:#fff0ed;color:#8e2118;border-color:#e89789}.success{background:#edf8e7;color:#244f1f;border-color:#8ecb78}.error svg,.success svg{flex:0 0 auto;margin-top:1px}.error strong,.success strong{font-size:16px;font-weight:800}.editable-week-card{cursor:pointer}@media(max-width:760px){.error,.success{font-size:15px;padding:16px}.error strong,.success strong{font-size:15px}}.floating-notice{position:fixed!important;top:14px;left:50%;transform:translate(-50%);z-index:10000;width:min(900px,calc(100vw - 28px));margin:0!important;padding:17px 52px 17px 20px!important;border-radius:14px!important;box-shadow:0 12px 40px #11182744!important;font-size:16px!important}.floating-notice button{position:absolute;right:9px;top:8px;width:36px;height:36px;padding:0;border-radius:50%;background:transparent;color:inherit;font-size:26px;line-height:1}.floating-notice button:hover{background:#00000012}.floating-notice strong{font-size:16px!important}.student-roster-meta{display:block;margin-top:5px;color:#4b5563!important;font-size:12px!important;font-weight:700;line-height:1.4}.already-recorded-note{display:block;margin-top:5px;padding:8px 10px;border-radius:8px;background:#fff2d6;color:#754400;font-size:12px}.welcome-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}@media(max-width:760px){.floating-notice{top:8px;width:calc(100vw - 16px);padding:15px 48px 15px 15px!important;font-size:14px!important}.floating-notice strong{font-size:14px!important}.welcome-actions{width:100%;justify-content:stretch}.welcome-actions button{flex:1}.welcome{flex-wrap:wrap}}:root{--yam-ink:#111111;--yam-lime:#d71920;--yam-orange:#b5121b;--yam-bg:#f4f4f4;--yam-muted:#66666b;--yam-blue:#b5121b}body{background:#f4f4f4;color:#171717}.topbar{display:flex;align-items:center;gap:15px;background:#111;color:#fff;padding:12px 18px;border-radius:16px;border-bottom:4px solid #d71920}.topbar .brand-title{margin-right:auto}.topbar .eyebrow{color:#d9d9d9}.topbar h1{color:#fff}.brand-logo{display:block;object-fit:contain;background:#fff;border-radius:10px}.header-logo{width:66px;height:66px}.login-logo{width:min(220px,80%);height:150px;margin:0 auto 10px;background:transparent;border-radius:0}.mark,.avatar{background:#d71920;color:#fff}.app-nav button.active{background:#111;color:#fff;border-bottom:4px solid #d71920}.app-nav .calendar-nav{border:2px solid #d71920;background:#fff;color:#a40f17;font-weight:900}.app-nav .calendar-nav.active{background:#d71920;color:#fff}.calendar-day-number,.calendar-weekday{color:#fff;background:#111}.calendar-weekday{border-right:1px solid #555}.calendar-event{border-left-width:5px}.calendar-day{background:#fff}.site-button.sanmiguel{background:linear-gradient(135deg,#252525,#080808);color:#fff}.site-button.muniz{background:linear-gradient(135deg,#e0272f,#a90f17);color:#fff}.site-button.selected{outline-color:#d71920}.present-button.on{background:#178443;color:#fff;border-color:#116a35;box-shadow:0 3px 14px #12733944}.present-count{background:#fce8e8;color:#711018;border-left:5px solid #d71920}.other-students-toggle{background:#111;color:#fff;border-bottom:3px solid #d71920}.substitute-confirm{background:linear-gradient(135deg,#d71920,#9e0c14)}.session-info{padding:18px;border-left:6px solid #d71920;background:#f1f1f1}.session-info strong{font-size:20px;color:#111}.session-info span,.session-info small{font-size:16px;line-height:1.5;color:#242424}.session-info span b,.session-info small b{font-weight:900}.student-roster-meta,.student-roster-dni{display:block;margin-top:5px;font-size:13px!important;line-height:1.4;font-weight:700}.student-roster-meta{color:#555!important}.student-roster-dni{color:#9e1119!important}.feedback-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483000;display:grid;place-items:center;padding:18px;background:#0009;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.feedback-dialog{position:relative;display:grid;grid-template-columns:44px 1fr;gap:14px;width:min(620px,100%);padding:24px 58px 24px 22px;border:3px solid;border-radius:18px;background:#fff;box-shadow:0 24px 80px #0008;font-size:17px;line-height:1.5}.feedback-dialog.is-error{border-color:#bd171f;color:#791016}.feedback-dialog.is-success{border-color:#168047;color:#124d30}.feedback-dialog strong{display:block;color:#111;font-size:20px}.feedback-dialog p{margin:5px 0 0;color:#222;overflow-wrap:anywhere}.feedback-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fce8e8;color:#b5121b}.is-success .feedback-icon{background:#e5f6eb;color:#168047}.feedback-close{position:absolute;right:12px;top:12px;width:38px;height:38px;margin:0;padding:0;border-radius:50%;background:#eee;color:#111;font-size:28px}.feedback-close:hover{background:#ddd}@media(max-width:760px){.topbar{gap:10px}.header-logo{width:52px;height:52px}.login-logo{height:125px}.session-info strong{font-size:18px}.session-info span,.session-info small{font-size:14px}.feedback-dialog{grid-template-columns:34px 1fr;gap:10px;padding:18px 48px 18px 14px;font-size:15px}.feedback-dialog strong{font-size:18px}.feedback-icon{width:34px;height:34px}}.attendance-already-loaded{display:block!important;width:fit-content;margin-top:8px;padding:6px 10px;border:1px solid #c81920;border-radius:8px;background:#fff0f0;color:#8e1016!important;font-size:12px;font-weight:900;letter-spacing:.02em}.class-role-label{display:block;margin-top:5px;font-size:12px;font-weight:800;color:#373737}.substitute-search-toggle{width:100%;margin:8px 0;padding:15px 18px;border:0;border-radius:12px;background:#b5121b;color:#fff;font-size:16px;font-weight:900;box-shadow:0 4px 12px #b5121b30}.student-table-tools{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:auto auto minmax(120px,1fr) auto;align-items:center;gap:10px;margin:12px 0;padding:10px 12px;border:1px solid #dedede;border-radius:12px;background:#fff;box-shadow:0 3px 12px #00000012}.student-table-tools input[type=range]{width:100%;accent-color:#c81920}.student-table-tools small{grid-column:1/-1;color:#555}.student-directory-scroll{max-height:min(66vh,680px);overflow:auto;overscroll-behavior:contain}.student-directory-scroll table{min-width:1500px}.student-directory-scroll thead{position:sticky;top:0;z-index:2}.student-directory-scroll th{cursor:grab;-webkit-user-select:none;user-select:none}.student-directory-scroll th:active{cursor:grabbing}.student-directory-scroll .table-sort{white-space:nowrap}.monthly-report-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0}.monthly-report-actions button{min-height:46px}@media(max-width:760px){.student-table-tools{grid-template-columns:auto auto minmax(60px,1fr) auto}.student-table-tools strong{grid-column:1/-1}.student-directory-scroll{max-height:60vh}.monthly-report-actions button{flex:1 1 100%}}.app-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px;overflow:visible;margin:12px 0 20px;padding:5px 0}.app-nav button{min-height:48px;white-space:normal;line-height:1.2;border:1px solid #d6d6d8;border-radius:12px;font-weight:800;box-shadow:0 2px 7px #1111110a}.app-nav button.active{background:#111;color:#fff;border:2px solid #d71920;box-shadow:0 4px 12px #d7192025}@media(max-width:620px){.app-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.app-nav button{padding:10px 8px;font-size:13px;min-height:46px}}.monthly-summary-scroll{max-height:68vh;overflow:auto;overscroll-behavior:contain}.monthly-summary-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:auto;font-size:14px}.monthly-summary-table th,.monthly-summary-table td{min-width:118px;padding:11px 13px;border-right:1px solid #d7dbe2;border-bottom:1px solid #d7dbe2;vertical-align:middle;text-align:center;white-space:nowrap}.monthly-summary-table th{position:sticky;top:0;z-index:4;background:#171923;color:#fff;border-color:#474a55}.monthly-summary-table th .table-sort{display:block;width:100%;color:#fff;font-weight:900;text-align:center;white-space:normal;line-height:1.25}.monthly-summary-table th:first-child,.monthly-summary-table td:first-child{min-width:150px}.monthly-summary-table th:nth-child(2),.monthly-summary-table td:nth-child(2){min-width:210px;text-align:left}.monthly-summary-table th:nth-child(6),.monthly-summary-table td:nth-child(6){min-width:160px}.monthly-summary-table tbody tr:nth-child(2n) td{background:#f0f2f5}.monthly-summary-table tbody tr:hover td{background:#e3eaf5}.monthly-summary-table tbody tr.selected-row td{background:#f8dfe0!important;box-shadow:inset 0 2px #d71920,inset 0 -2px #d71920}.monthly-summary-table td:nth-child(n+6){font-variant-numeric:tabular-nums;font-weight:800}.monthly-help{margin:10px 0;padding:13px 16px;border:1px solid #dedede;border-left:4px solid #d71920;border-radius:12px;background:#fafafa}.monthly-help summary{font-weight:900;cursor:pointer}.monthly-help p{margin:9px 0 0;line-height:1.55}.monthly-calendar-panel{min-width:0}.calendar-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;border:1px solid #d8dce4;border-radius:12px}.calendar-scroll .calendar-grid{width:max-content;min-width:0;border-top:0;border-left:0}.calendar-scroll .calendar-weekday,.calendar-scroll .calendar-day{width:132px;min-width:132px;box-sizing:border-box}.calendar-scroll .calendar-day-empty{background:#f0f1f3}.tablewrap table{border-collapse:separate;border-spacing:0;min-width:100%;font-size:14px;line-height:1.4}.tablewrap th,.tablewrap td{padding:11px 12px;border-right:1px solid #d9dde3;border-bottom:1px solid #d9dde3;vertical-align:middle}.tablewrap th{background:#171923;color:#fff;text-align:center;font-weight:900}.tablewrap tbody tr:nth-child(2n) td{background:#f1f3f6}.tablewrap tbody tr:hover td{background:#e4ecf6}.monthly-summary-scroll .empty{padding:16px}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.section-title-row h3,.section-title-row h2{margin:0}.section-title-row .muted{margin:5px 0 0}.profile-actions{display:flex;gap:8px;flex-wrap:wrap}.student-editor-modal{display:grid;gap:16px;width:min(900px,100%);max-height:92vh;overflow:auto;padding:24px;background:#fff;border:2px solid #d71920;border-radius:18px;box-shadow:0 20px 70px #0006}.student-editor-modal h2{margin:0}.student-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.student-editor-grid label{display:grid;gap:5px;font-size:13px;font-weight:800}.student-editor-grid .wide{grid-column:1/-1}.student-editor-grid textarea{min-height:90px;resize:vertical}.student-editor-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.student-editor-checks fieldset{display:flex;flex-wrap:wrap;gap:8px 14px;max-height:180px;overflow:auto}.student-editor-checks label{display:flex;align-items:center;gap:7px;font-weight:700}.student-editor-checks input{width:auto;margin:0}.user-access-note{margin:12px 0;padding:14px 16px;border:1px solid #efcf8d;border-radius:12px;background:#fff5e2;line-height:1.55}.user-access-table select{min-width:150px}.current-user-tag{display:block;margin-top:4px;color:#a10e18;font-size:10px;font-weight:900}@media(max-width:680px){.student-editor-grid,.student-editor-checks{grid-template-columns:1fr}.student-editor-modal{padding:16px}.student-editor-grid .wide{grid-column:auto}.section-title-row{align-items:flex-start;flex-direction:column}.section-title-row>button{width:100%}.monthly-summary-table{font-size:13px}.monthly-summary-table th,.monthly-summary-table td{padding:9px 10px}}.login{border-top:6px solid #d71920;box-shadow:0 18px 50px #17171718}.login h1{color:#111;letter-spacing:6px}.login h2{color:#555;font-weight:600}.login button:not(.quiet){background:#d71920;color:#fff;font-weight:800}.login button:not(.quiet):hover{background:#b5121b}.login .quiet{background:#f0f0f0;color:#222}.login .eyebrow{color:#555}.login-logo{max-width:240px;object-fit:contain}.student-editor-modal .student-editor-checks label{font-size:13px}.student-editor-modal .student-editor-modal-actions{display:flex;gap:10px}.course-close-note{margin:12px 0;padding:13px 15px;border-left:4px solid #d71920;border-radius:10px;background:#fff6f4;color:#3f3432;line-height:1.5}.student-editor-modal .profile-heading{position:sticky;top:-24px;z-index:2;background:#fff;padding:4px 0 10px}.student-editor-modal .profile-heading>button{width:auto;margin:0}.student-editor-modal .student-editor-checks fieldset{border:1px solid #d9dee6;border-radius:10px;padding:12px}.student-editor-modal .student-editor-checks legend{font-weight:800;padding:0 5px}.tablewrap th{position:relative}.tablewrap th:after{content:"";position:absolute;top:0;right:-2px;width:9px;height:100%;cursor:col-resize;z-index:3}.tablewrap th:hover:after{background:#fff5}.resizing-table-column,.resizing-table-column *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.check-grid>label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:9px;min-height:42px;padding:9px 12px;border:1px solid #e3e4e8;border-radius:10px;background:#fff;white-space:nowrap}.check-grid input[type=checkbox],.activity-enrollment-option input[type=checkbox]{width:18px;min-width:18px;height:18px;margin:0}.activity-discipline-note{grid-column:1/-1;margin:0;padding:11px 13px;border-left:3px solid #d71920;border-radius:8px;background:#fff5f5;color:#5d2528}.student-editor-checks fieldset.wide{grid-column:1/-1;max-height:300px;overflow:auto}.activity-enrollment-option{display:flex!important;align-items:center;gap:11px;padding:9px 6px;border-bottom:1px solid #e5e7eb;cursor:pointer}.activity-enrollment-option span{display:grid;gap:3px}.activity-enrollment-option small{color:var(--yam-muted)}.history-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.history-filter-grid>label{align-self:stretch;min-width:0}.history-filter-grid>label small{display:block;min-height:2.5em}.directory-filters,.history-filter-grid{align-items:start}.table-scroll-tools{position:sticky;left:0;display:grid;grid-template-columns:auto 42px minmax(100px,1fr) 42px;align-items:center;gap:10px;margin:10px 0;padding:10px 12px;border:1px solid #e0e1e5;border-radius:12px;background:#fff;box-shadow:0 5px 14px #12131a0d}.table-scroll-tools input{width:100%;accent-color:#d71920}.interactive-table-scroll{overflow:auto;max-width:100%}.interactive-table-scroll table{min-width:1050px}.interactive-table-scroll th,.interactive-table-scroll td{border:1px solid #d7dbe2;padding:10px 12px}.interactive-table-scroll tbody tr:nth-child(2n){background:#f1f3f6}.interactive-table-scroll tbody tr:hover{background:#fff3f3}.table-reorder-hint{margin-top:6px}.monthly-summary-scroll{overflow-x:auto}.monthly-summary-table{min-width:1100px}.tablewrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.activity-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.activity-card-actions button{padding:8px 12px}.custom-date-add{display:flex;gap:8px;align-items:end}.custom-date-add input{flex:1}.custom-date-chips{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0}.custom-date-chips button{background:#f1f2f4;color:#20212a;padding:6px 10px}.student-profile .student-activity-list{display:flex;gap:8px;flex-wrap:wrap}.student-profile .student-activity-chip{padding:9px 12px;border:1px solid #e2d1d1;border-radius:10px;background:#fff6f6}.student-profile .student-activity-chip small{display:block;color:#5f6672;margin-top:3px}@media(max-width:760px){.check-grid,.history-filter-grid{grid-template-columns:1fr}.table-scroll-tools{grid-template-columns:auto 38px minmax(40px,1fr) 38px;gap:6px}.student-editor-checks fieldset.wide{max-height:220px}.custom-date-add{align-items:stretch;flex-direction:column}}.activity-code{display:inline-block;padding:3px 7px;border-radius:6px;background:#f1f2f4;color:#c4121a;font-size:.72em;letter-spacing:.04em;vertical-align:middle}.activity-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.activity-card-actions button{min-height:38px;padding:8px 12px}.student-activity-list{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 16px}.student-activity-list span{padding:8px 11px;border:1px solid #e2d1d1;border-radius:9px;background:#fff6f6}.student-activity-list b{color:#a10f17}.interactive-table-scroll{overscroll-behavior-inline:contain}.interactive-table-scroll table{table-layout:auto}.interactive-table-scroll td{vertical-align:middle}.interactive-table-scroll tbody tr{cursor:default}.student-profile h4{margin:12px 0 6px;color:#252530}@media(max-width:700px){.table-scroll-tools{position:sticky;left:0}.activity-card-actions button{flex:1}.student-activity-list{align-items:stretch;flex-direction:column}}
