:root{--header-height:64px;color:#0f172a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f8fafc;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}body{background:#f8fafc;min-height:100vh;margin:0}#root{min-height:100vh}.app-shell{flex-direction:column;min-height:100vh;display:flex}.app-header{height:var(--header-height,64px);color:#fff;z-index:60;background:#0f172a;justify-content:space-between;align-items:center;gap:1rem;padding:0 1.25rem;display:flex;position:sticky;top:0}.app-header__menu{color:#fff;cursor:pointer;background:0 0;border:0;font-size:1.5rem;display:none}.app-header__title{font-size:1.1rem;font-weight:700}.app-shell__body{flex:1;grid-template-columns:auto minmax(0,1fr);align-items:start;display:grid}.app-shell__sidebar{top:var(--header-height,64px);height:calc(100vh - var(--header-height,64px));background:#e2e8f0;align-self:start;padding:1rem;position:sticky;overflow-y:auto}.sidebar{width:272px;transition:width .18s}.sidebar--collapsed{width:72px}.sidebar--collapsed .sidebar__link{justify-content:center;padding:.7rem 0}.sidebar--collapsed .sidebar__brand{justify-content:center;padding:.4rem 0}.sidebar__brand{cursor:pointer;text-align:left;width:100%;color:inherit;background:0 0;border:none;border-radius:.5rem;align-items:center;gap:.5rem;margin-bottom:1rem;padding:.4rem;font-size:1.05rem;font-weight:700;display:flex}.sidebar__brand:hover{background:#cbd5e1}.sidebar__brand-icon{color:#2563eb;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.sidebar__brand-text{white-space:nowrap}.sidebar__nav{flex-direction:column;gap:.4rem;display:flex}.sidebar__link{color:#0f172a;border-radius:.5rem;align-items:center;gap:.65rem;padding:.6rem .8rem;text-decoration:none;display:flex}.sidebar__link-icon{color:#475569;border-radius:.5rem;flex-shrink:0;justify-content:center;align-items:center;width:1.9rem;height:1.9rem;transition:background .15s,color .15s;display:inline-flex}.sidebar__link.active .sidebar__link-icon,.sidebar__link:hover .sidebar__link-icon{color:#2563eb;background:#2563eb1f}.sidebar__link-text{white-space:normal;font-size:.92rem;line-height:1.2}.sidebar__link.active,.sidebar__link:hover{background:#cbd5e1}.sidebar__user-avatar{color:#fff;text-transform:uppercase;background:#0f172a;border-radius:999px;justify-content:center;align-items:center;width:2rem;height:2rem;font-weight:700;display:inline-flex}.mobile-drawer{display:none}.app-shell__content{box-sizing:border-box;width:100%;min-width:0;padding:1.25rem;overflow-x:hidden}.page{width:100%;min-height:100%}.page--centered{justify-content:center;align-items:center;display:flex}.card{background:#fff;border-radius:1rem;width:min(100%,480px);max-width:100%;padding:1.5rem;box-shadow:0 10px 30px #0f172a14}.card--wide{width:100%}.login-page{box-sizing:border-box;background:radial-gradient(circle at 20% 20%,#eef2ff 0%,#f8fafc 45% 100%);justify-content:center;align-items:center;width:100%;min-height:100vh;padding:1.5rem;display:flex}.login-card{box-sizing:border-box;background:#fff;border-radius:1.25rem;width:min(100%,420px);padding:2rem;box-shadow:0 20px 45px #0f172a1f}.login-card__lang{justify-content:flex-end;margin-bottom:.5rem}.login-card__brand{align-items:center;gap:.6rem;margin-bottom:1.5rem;display:flex}.login-card__brand-icon{color:#2563eb;background:#2563eb1a;border-radius:.75rem;flex-shrink:0;justify-content:center;align-items:center;width:2.5rem;height:2.5rem;display:inline-flex}.login-card__brand-text{color:#0f172a;font-size:1.05rem;font-weight:700;line-height:1.2}.login-card__title{margin:0 0 1.25rem;font-size:1.5rem}.login-card__submit{width:100%;padding:.85rem 1rem}@media (width<=480px){.login-page{align-items:flex-start;padding:3rem 1rem 1rem}.login-card{border-radius:1rem;padding:1.5rem}.auth-form__field input{font-size:16px}}.card--table{width:100%;max-width:none}.auth-form{flex-direction:column;gap:1rem;margin-top:1rem;display:flex}.role-select-grid{flex-direction:column;gap:.75rem;margin-top:1rem;display:flex}.role-select-card{color:#0f172a;font:inherit;cursor:pointer;text-align:left;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;align-items:center;gap:.9rem;padding:1rem 1.1rem;font-weight:600;display:flex}.role-select-card svg{color:#2563eb;flex-shrink:0}.role-select-card:hover{background:#eff6ff;border-color:#2563eb}.auth-form__field{flex-direction:column;gap:.35rem;font-weight:600;display:flex}.auth-form__field input{font:inherit;border:1px solid #cbd5e1;border-radius:.6rem;padding:.7rem .9rem}.auth-form__error{color:#b91c1c;font-size:.95rem}.button{color:#fff;font:inherit;cursor:pointer;background:#0f172a;border:0;border-radius:.6rem;padding:.75rem 1rem;font-weight:600;text-decoration:none;display:inline-block}.button:disabled{opacity:.7;cursor:wait}.button--ghost{color:#0f172a;background:0 0;border:1px solid #cbd5e1;padding:.25rem .5rem}.app-header .button--ghost{color:#fff;border-color:#fff6}.text-muted{color:#64748b}.status-pill{color:#166534;background:#dcfce7;border-radius:999px;align-items:center;margin-bottom:.5rem;padding:.3rem .7rem;font-size:.9rem;font-weight:600;display:inline-flex}.auth-summary{gap:.75rem;margin-top:1rem;display:grid}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem;display:flex}.page-header h1{margin:0}.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-bottom:1.25rem;display:grid}.status-card{background:#fff;border-top:4px solid #2563eb;border-radius:1rem;padding:1.25rem;transition:transform .18s,box-shadow .18s;box-shadow:0 10px 30px #0f172a0d}.status-card:hover{transform:translateY(-3px);box-shadow:0 14px 24px #0f172a1f}.dashboard-grid .status-card:nth-child(4n+1){border-top-color:#2563eb}.dashboard-grid .status-card:nth-child(4n+2){border-top-color:#dc2626}.dashboard-grid .status-card:nth-child(4n+3){border-top-color:#f59e0b}.dashboard-grid .status-card:nth-child(4n+4){border-top-color:#16a34a}.track-breakdown{color:#475569;border-top:1px dashed #e2e8f0;gap:.15rem;margin:.5rem 0 0;padding:.5rem 0 0;font-size:.85rem;list-style:none;display:grid}.track-breakdown li{justify-content:space-between;gap:.5rem;display:flex}.track-breakdown strong{color:#0f172a}.status-card__hint{color:#64748b;margin-top:.4rem;font-size:.75rem;display:block}.status-card--error{background:#fff1f2;border:1px solid #fecaca}.table-container{background:#fff;border-radius:1rem;width:100%;max-width:100%;max-height:68vh;overflow:auto;box-shadow:0 10px 30px #0f172a0d}.table-container--bounded{max-height:60vh;overflow-y:auto}.table-container--bounded .data-table thead th,.table-container--bounded .table thead th{top:0}.omor-grid thead th{height:2.4rem}.table-container--bounded .omor-grid thead tr:first-child th{top:0}.table-container--bounded .omor-grid thead tr:last-child th{top:2.4rem}.card--centered .data-table thead th,.card--centered .table thead th{top:0}.data-table{border-collapse:separate;border-spacing:0}.data-table--stats th,.data-table--stats td{vertical-align:top}.data-table th,.data-table td{text-align:left;border-bottom:1px solid #cbd5e1;border-right:1px solid #cbd5e1;padding:.3rem .5rem}.data-table tr>:first-child{border-left:1px solid #cbd5e1}.data-table thead tr:first-child>*{border-top:1px solid #cbd5e1}.data-table thead th{z-index:10;text-transform:uppercase;letter-spacing:.02em;color:#475569;background:#f8fafc;border-bottom:2px solid #94a3b8;font-size:.85rem;position:sticky;top:0}.data-table tbody tr:hover{background:#f8fafc}.audit-table__date{white-space:nowrap;color:#64748b;font-size:.85rem}.audit-table__field{color:#3730a3;white-space:nowrap;background:#eef2ff;border-radius:.4rem;padding:.15rem .5rem;font-size:.8rem;font-weight:600;display:inline-block}.audit-table__old{color:#b91c1c;overflow-wrap:break-word;max-width:220px;-webkit-text-decoration:line-through #b91c1c66;text-decoration:line-through #b91c1c66}.audit-table__new{color:#15803d;overflow-wrap:break-word;max-width:220px;font-weight:600}.audit-table__arrow{color:#94a3b8;text-align:center;padding:.3rem .2rem!important}.scroll-to-button{color:#fff;cursor:pointer;z-index:80;background:#2563eb;border:none;border-radius:999px;justify-content:center;align-items:center;width:3rem;height:3rem;font-size:1.3rem;line-height:1;transition:background .15s,transform .15s;display:flex;position:fixed;bottom:1.5rem;right:1.5rem;box-shadow:0 10px 25px #2563eb59}.scroll-to-button:hover{background:#1d4ed8;transform:translateY(-2px)}.dashboard-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem;display:flex}.table-caption{color:#334155;margin-bottom:.9rem;font-size:.95rem}.filter-label{color:#334155;flex-direction:column;gap:.35rem;font-weight:600;display:flex}.filter-label select{min-width:220px;font:inherit;border:1px solid #cbd5e1;border-radius:.7rem;padding:.6rem .8rem}.control-group{flex-wrap:wrap;gap:.5rem;display:flex}.modal-overlay{z-index:50;background:#0f172a80;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal-card,.card--centered{background:#fff;border-radius:1rem;width:min(100%,520px);max-height:90vh;padding:1.5rem;overflow-y:auto;box-shadow:0 20px 40px #0f172a1f}.modal-card--wide{width:min(100%,760px)}.modal-form{gap:1rem;margin-top:1rem;display:grid}.modal-form--2col{grid-template-columns:repeat(2,1fr)}.modal-form--2col .modal-form__full,.modal-form--2col .modal-actions{grid-column:1/-1}.modal-section-divider{border-top:1px solid #e2e8f0;margin-top:.15rem;padding-top:.85rem}.modal-section-divider h3{color:#334155;margin:0;font-size:1rem}.print-only{display:none}@media print{.no-print,.sidebar,.app-header,.mobile-drawer,.scroll-to-button,.modal-overlay,.modal-backdrop,.toast,.toast-container{display:none!important}.print-only{display:block}.app-shell__content{padding:0}.table-container{box-shadow:none;border-radius:0}body{background:#fff}}.phone-input{background:#fff;border:1px solid #cbd5e1;border-radius:.6rem;align-items:center;display:flex;overflow:hidden}.phone-input__prefix{color:#475569;background:#f1f5f9;border-right:1px solid #cbd5e1;padding:.65rem .6rem;font-weight:600}.phone-input__digits{font:inherit;border:none;outline:none;flex:1;min-width:0;padding:.65rem .85rem}.phone-input--error{border-color:#dc2626}.photo-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;display:grid}@media (width<=900px){.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=560px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.photo-thumb{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:.6rem;position:relative;overflow:hidden}.photo-thumb__image{aspect-ratio:1;cursor:pointer;background:0 0;border:none;width:100%;padding:0;display:block}.photo-thumb__image img{object-fit:cover;width:100%;height:100%;transition:transform .25s;display:block}.photo-thumb__image:hover img{transform:scale(1.06)}.photo-thumb__actions{opacity:0;gap:.3rem;transition:opacity .15s;display:flex;position:absolute;top:.35rem;right:.35rem}.photo-thumb:hover .photo-thumb__actions,.photo-thumb:focus-within .photo-thumb__actions{opacity:1}.photo-thumb__actions .button--icon{background:#0f172aa6;border-radius:.4rem;width:1.75rem;height:1.75rem;padding:0}.photo-lightbox{background:#fff;border-radius:.75rem;flex-direction:column;gap:.5rem;max-width:min(90vw,900px);max-height:90vh;padding:1rem;display:flex;position:relative}.photo-lightbox img{object-fit:contain;border-radius:.5rem;max-width:100%;max-height:75vh}.photo-lightbox__close.button--icon{color:#fff;z-index:1;background:#0f172aa6;border:none;border-radius:50%;width:2rem;height:2rem;padding:0;position:absolute;top:.5rem;right:.5rem}.photo-lightbox__caption{text-align:center;color:#475569;margin:0}.photo-admin-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:1rem;display:grid}.photo-admin-card{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;overflow:hidden;box-shadow:0 1px 2px #0f172a0d}.photo-admin-card .photo-thumb{border:none;border-radius:0}.photo-admin-card .photo-thumb__image{aspect-ratio:4/3}.photo-admin-card__meta{padding:.6rem .8rem .8rem}.photo-admin-card__meta h3{margin:0 0 .2rem;font-size:.95rem}.photo-admin-card__meta p{margin:.1rem 0;font-size:.8rem}.photo-lightbox__footer{justify-content:space-between;align-items:center;gap:1rem;display:flex}.photo-lightbox__footer .photo-lightbox__caption{text-align:left;margin:0}@media (width<=640px){.modal-form--2col{grid-template-columns:1fr}}.modal-form label{gap:.5rem;font-weight:600;display:grid}.modal-form input{font:inherit;border:1px solid #cbd5e1;border-radius:.6rem;padding:.75rem .9rem}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;display:flex}.image-cropper__stage{background:#0f172a;border-radius:.75rem;width:100%;height:360px;margin-bottom:1rem;position:relative;overflow:hidden}.image-cropper__zoom{color:#475569;align-items:center;gap:.75rem;margin-bottom:1rem;font-weight:600;display:flex}.image-cropper__zoom input[type=range]{flex:1}.toast{color:#065f46;background:#d1fae5;border-radius:.75rem;padding:.9rem 1.1rem;position:fixed;bottom:1rem;right:1rem;box-shadow:0 10px 30px #0f172a14}.sidebar__footer{border-top:1px solid #cbd5e1;margin-top:2rem;padding-top:1rem}.sidebar__user{color:#475569;gap:.2rem;display:grid}.sidebar__user small{color:#64748b;font-size:.85rem}.app-header__actions{align-items:center;gap:1rem;display:flex}.app-header__user{text-align:right;gap:.1rem;display:grid}.button--primary{color:#fff;background:#2563eb}.button--secondary{color:#0f172a;background:#e2e8f0}.button--danger{color:#b91c1c;background:#fee2e2}.button--success{color:#166534;background:#dcfce7}.button--icon{color:#475569;background:0 0;border:1px solid #e2e8f0;border-radius:.5rem;justify-content:center;align-items:center;padding:.4rem .6rem;line-height:1;display:inline-flex}.button--icon-danger{color:#b91c1c;background:#fff1f2;border-color:#fecaca}.button--icon-danger:hover{background:#fee2e2}.action-group{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.input,select.input,textarea.input{font:inherit;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:.6rem;width:100%;padding:.65rem .85rem}.field{color:#334155;flex-direction:column;gap:.35rem;margin-bottom:.9rem;font-weight:600;display:flex}.field-error{color:#b91c1c;font-size:.85rem;font-weight:500}.field .input--invalid{border-color:#ef4444}.toolbar{flex-wrap:wrap;align-items:flex-end;gap:.75rem;margin-bottom:1rem;display:flex}.filter-bar{background:#fff;border-radius:1rem;flex-wrap:wrap;align-items:flex-end;gap:.75rem;margin-bottom:1.25rem;padding:1rem 1.25rem;display:flex;box-shadow:0 10px 30px #0f172a0d}.filter-bar .field{min-width:160px;margin-bottom:0}.filter-bar__search{flex:220px;min-width:180px}.table-wrapper{background:#fff;border-radius:1rem;width:100%;max-width:100%;overflow:auto visible;box-shadow:0 10px 30px #0f172a0d}.table{border-collapse:collapse}.table th,.table td{text-align:left;vertical-align:middle;border:1px solid #cbd5e1;padding:.3rem .5rem}.table thead th{text-transform:uppercase;letter-spacing:.02em;color:#475569;background:#f8fafc;font-size:.85rem}.table tbody tr:nth-child(2n){background:#f8fafc}.table tbody tr:hover{background:#eef2ff}.data-table tbody tr:nth-child(2n){background:#f8fafc}.status-badge{white-space:nowrap;border-radius:999px;align-items:center;gap:.3rem;padding:.25rem .65rem;font-size:.8rem;font-weight:700;display:inline-flex}.status-badge--pending{color:#854d0e;background:#fef9c3}.status-badge--approved,.status-badge--active,.status-badge--success{color:#166534;background:#dcfce7}.status-badge--rejected,.status-badge--inactive,.status-badge--danger{color:#b91c1c;background:#fee2e2}.status-badge--neutral{color:#334155;background:#e2e8f0}.notice{border-radius:.75rem;margin-bottom:1rem;padding:.85rem 1.1rem;font-weight:600}.notice--success{color:#166534;background:#dcfce7}.notice--error{color:#b91c1c;background:#fee2e2}.text-error{color:#b91c1c}.modal-backdrop{z-index:50;background:#0f172a80;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:1rem;width:min(100%,520px);max-height:90vh;padding:1.5rem;overflow-y:auto;box-shadow:0 20px 40px #0f172a1f}.modal--wide{width:min(100%,900px)}.modal h3{margin-top:0}.pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem;margin-top:1rem;display:flex}.pagination__pages{flex-wrap:wrap;gap:.35rem;display:flex}.pagination__page{cursor:pointer;min-width:2.25rem;font:inherit;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:.4rem .5rem}.pagination__page--active{color:#fff;background:#0f172a;border-color:#0f172a}.pagination__summary{color:#64748b;font-size:.9rem}.sidebar{background:#e2e8f0;flex-direction:column;height:100%;padding:1rem;display:flex}.desktop-sidebar{display:block}.app-header__year-select select{font:inherit;border-radius:.5rem;padding:.4rem .6rem}.app-header__year-readonly{font-size:.9rem}.lang-switch{background:#ffffff14;border-radius:.6rem;gap:.4rem;padding:.2rem;display:flex}.lang-switch__flag{cursor:pointer;opacity:.75;background:0 0;border:1px solid #ffffff40;border-radius:.4rem;padding:.25rem .5rem;font-size:1.4rem;line-height:1}.lang-switch__flag:hover{opacity:1;border-color:#fff9}.lang-switch__flag--active{opacity:1;background:#fff3;border-color:#fff}.notification-bell{color:#fff;cursor:pointer;background:0 0;border:0;padding:.25rem .4rem;font-size:1.3rem;position:relative}.notification-bell__badge{color:#fff;background:#ef4444;border-radius:999px;padding:.05rem .4rem;font-size:.7rem;font-weight:700;line-height:1.3;position:absolute;top:-.2rem;right:-.2rem}.notification-dropdown{color:#0f172a;z-index:60;background:#fff;border-radius:1rem;width:min(380px,92vw);max-height:70vh;position:absolute;top:calc(100% + .5rem);right:0;overflow-y:auto;box-shadow:0 20px 40px #0f172a2e}.notification-dropdown__header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:.9rem 1.1rem;font-weight:700;display:flex}.notification-dropdown__item{cursor:pointer;border-bottom:1px solid #f1f5f9;padding:.8rem 1.1rem}.notification-dropdown__item:hover{background:#f8fafc}.notification-dropdown__item--unread{background:#eff6ff}.notification-dropdown__empty{color:#64748b;text-align:center;padding:1.5rem 1.1rem}.notification--unread{background:#eff6ff;font-weight:600}.confirm-text{color:#b91c1c}@media (width<=900px){.dashboard-grid{grid-template-columns:1fr 1fr}.app-shell__body{grid-template-columns:1fr}.app-shell__sidebar,.desktop-sidebar{display:none}.mobile-drawer{z-index:70;background:0 0;padding:0;display:none;position:fixed;inset:0}.mobile-drawer--open{background:#0f172a80;display:block}.mobile-drawer--open .sidebar{width:min(80vw,300px);height:100%;box-shadow:0 0 40px #0f172a4d}.app-header__menu{display:inline-flex}.modal,.modal--wide{width:100%}.filter-bar{flex-direction:column;align-items:stretch}.filter-bar .field{width:100%;min-width:0}.app-header__user span{display:none}}@media (width<=520px){.dashboard-grid{grid-template-columns:1fr}.page-header{flex-direction:column;align-items:stretch}.page-header .button{width:100%}.app-shell__content{padding:.85rem}.modal-form,.action-group{width:100%}.action-group .button{flex:auto}.app-header{padding:.75rem .9rem}.notification-dropdown{width:auto;position:fixed;top:4.2rem;left:.5rem;right:.5rem}}.ledger-table{width:auto}.ledger-table td:not(.ledger-table__book-cell),.ledger-table th:not(.ledger-table__book-cell){white-space:nowrap}.ledger-table__book-cell{z-index:6;white-space:normal;word-break:break-word;background:#fff;min-width:20rem;max-width:30rem;line-height:1.25;position:sticky;left:0;overflow:visible;box-shadow:2px 0 4px #0f172a0f}.ledger-table thead .ledger-table__book-cell,.omor-grid thead .ledger-table__book-cell{z-index:16}.omor-grid .ledger-table__book-cell{text-align:center;min-width:3rem;max-width:8rem}.ledger-grade-row .ledger-table__book-cell,.ledger-grade-row td{background:#eef2ff}.ledger-subtotal-row .ledger-table__book-cell,.ledger-subtotal-row td{background:#f1f5f9}.ledger-cell{min-width:2.5rem;padding:.2rem .4rem;display:inline-block}.ledger-cell--editable{font:inherit;cursor:text;text-align:left;background:0 0;border:1px solid #0000;border-radius:.4rem}.ledger-cell--editable:hover{background:#f8fafc;border-color:#cbd5e1}.ledger-cell--locked{color:#94a3b8}.ledger-cell-input{width:4.5rem;font:inherit;border:1px solid #6366f1;border-radius:.4rem;padding:.2rem .4rem}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{appearance:textfield}.ledger-col--locked{color:#94a3b8}.ledger-table th.ledger-col--narrow{white-space:normal;text-align:center;max-width:6.5rem;line-height:1.2}.ledger-table th.ledger-col--students,.ledger-table td.ledger-col--students{white-space:nowrap;text-align:center;text-overflow:ellipsis;max-width:6rem;padding:0 .4rem;line-height:1.2;overflow:hidden}.ledger-grade-row td{z-index:5;background:#eef2ff;padding:.5rem 1rem;font-weight:700;position:sticky;left:0}.ledger-table thead th:not(.ledger-table__book-cell){white-space:normal;overflow-wrap:break-word;text-align:center;vertical-align:bottom;max-width:6rem;padding:.4rem .3rem;font-size:.78rem;line-height:1.2}.ledger-subtotal-row td{background:#f1f5f9;font-weight:600}.ledger-grandtotal-row .ledger-table__book-cell,.ledger-grandtotal-row td{color:#fff;background:#0f172a;border-top:2px solid #0f172a;font-weight:700}.ledger-grandtotal-row .text-error{color:#fca5a5}.ledger-period-chips{flex-wrap:nowrap;gap:.4rem;margin-bottom:.75rem;padding-bottom:.25rem;display:flex;overflow-x:auto}.ledger-chip{white-space:nowrap;background:#eef2ff;border-radius:.5rem;flex:none;align-items:center;gap:.3rem;padding:.25rem .4rem;font-size:.8rem;display:inline-flex}.ledger-chip--locked{color:#94a3b8;background:#f1f5f9}.ledger-chip__label{padding:0 .15rem;font-weight:600}.ledger-chip__icon{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:.35rem;justify-content:center;align-items:center;padding:.15rem .3rem;font-size:.8rem;line-height:1;display:inline-flex}.ledger-chip__icon:hover{background:#0f172a14}.ledger-chip__icon-danger{color:#dc2626}.info-form__rows{flex-direction:column;gap:.75rem;display:flex}.info-form__row{border-bottom:1px solid #f1f5f9;grid-template-columns:minmax(14rem,1fr) minmax(12rem,20rem);align-items:center;gap:1rem;padding:.5rem 0;display:grid}.info-form__label{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.ledger-chip__icon-group{gap:.2rem;display:inline-flex}@media (width<=640px){.info-form__row{grid-template-columns:1fr}}.ledger-track-tabs{gap:.4rem;margin-bottom:1rem;display:flex}.ledger-track-tab{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:.6rem;align-items:center;gap:.4rem;padding:.5rem 1rem;font-weight:600;display:inline-flex}.ledger-track-tab:hover{border-color:#94a3b8}.ledger-track-tab--active{color:#fff;background:#0f172a;border-color:#0f172a}.ledger-add-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.bar-chart{flex-direction:column;gap:.75rem;padding:.5rem 0;display:flex}.bar-chart__row{grid-template-columns:minmax(6rem,12rem) 1fr minmax(4rem,auto);align-items:center;gap:.75rem;display:grid}.bar-chart__label{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:600;overflow:hidden}.bar-chart__track{background:#f1f5f9;border-radius:999px;height:.9rem;overflow:hidden}.bar-chart__fill{border-radius:999px;height:100%;transition:width .3s}.bar-chart__value{color:#475569;text-align:right;white-space:nowrap;font-size:.85rem}@media (width<=640px){.bar-chart__row{grid-template-columns:1fr;gap:.25rem}.bar-chart__value{text-align:left}}.public-shell{background:#f8fafc;flex-direction:column;min-height:100vh;display:flex}.public-header{height:var(--header-height,64px);color:#0f172a;z-index:60;background:#fff;border-bottom:1px solid #e2e8f0;align-items:center;gap:1.5rem;padding:0 20px;display:flex;position:sticky;top:0}.public-header__brand{color:#0f172a;flex-shrink:0;align-items:center;gap:.5rem;font-weight:700;text-decoration:none;display:flex}.public-header__brand-icon{color:#2563eb;display:inline-flex}.public-header__nav{flex-wrap:wrap;flex:1;gap:1.75rem;display:flex}.public-header__link{color:#475569;border-bottom:2px solid #0000;padding:.4rem .1rem;font-weight:600;text-decoration:none}.public-header__link:hover,.public-header__link.active{color:#2563eb;border-bottom-color:#2563eb}.public-header__actions{flex-shrink:0;align-items:center;gap:.75rem;display:flex}.lang-switch--light{background:#f1f5f9}.lang-switch--light .lang-switch__flag{opacity:.6;border-color:#0000}.lang-switch--light .lang-switch__flag:hover{opacity:1;border-color:#cbd5e1}.lang-switch--light .lang-switch__flag--active{opacity:1;background:#fff;border-color:#2563eb}.public-content{flex:1;width:100%;padding:1.5rem 20px}.public-footer{color:#cbd5e1;background:#0f172a;margin-top:2rem;padding:2.5rem 20px 1.25rem}.public-footer__grid{grid-template-columns:2fr 1fr 1fr;gap:2rem;display:grid}.public-footer__brand{color:#fff;align-items:center;gap:.5rem;margin-bottom:.5rem;font-weight:700;display:flex}.public-footer__col h4{color:#fff;margin:0 0 .75rem;font-size:.95rem}.public-footer__col{flex-direction:column;gap:.5rem;display:flex}.public-footer__col a{color:#cbd5e1;font-size:.9rem;text-decoration:none}.public-footer__col a:hover{color:#fff}.public-footer__bottom{text-align:center;color:#94a3b8;border-top:1px solid #ffffff1a;margin-top:1.5rem;padding-top:1.5rem;font-size:.85rem}@media (width<=640px){.public-footer__grid{grid-template-columns:1fr}}.public-page{flex-direction:column;gap:1.5rem;display:flex}.contact-line{color:#475569;align-items:center;gap:.4rem;display:flex}.contact-line svg{color:#2563eb;flex-shrink:0}.public-hero{text-align:center;color:#fff;background:linear-gradient(120deg,#2563eb,#4f46e5 55%,#7c3aed) 0 0/200% 200%;border-radius:1.25rem;padding:2rem 2rem 2.25rem;animation:10s infinite public-hero-shift;box-shadow:0 16px 40px #2563eb47}.public-hero h1{letter-spacing:-.01em;color:#fff;margin:0;font-size:2.1rem;font-weight:800}.public-hero p{color:#ffffffe0;margin-top:.5rem}@keyframes public-hero-shift{0%{background-position:0%}50%{background-position:100%}to{background-position:0%}}.public-hero__actions{justify-content:center;gap:.75rem;margin-top:1.25rem;display:flex}.public-stats-block{background:linear-gradient(135deg,#eef2ff,#fff);border-radius:1.5rem;gap:2rem;padding:1.5rem 1.75rem;display:flex;box-shadow:0 10px 30px #0f172a0f}.public-stats-block__donut-col{text-align:center;border-right:1px solid #0f172a14;flex-direction:column;flex:none;align-items:center;gap:.5rem;padding-right:1.75rem;display:flex}.public-stats-block__donut-col h2{margin:0;font-size:1.05rem}.public-stats-block__tiles-col{flex:1;min-width:0}.public-stats-block__subtitle{margin:0 0 .75rem;font-size:1.05rem}.public-school-tiles{grid-template-columns:repeat(auto-fill,minmax(140px,170px));gap:.75rem;display:grid}.public-school-tile{color:#fff;border-radius:.85rem;flex-direction:column;gap:.2rem;padding:.7rem .9rem;transition:transform .18s,box-shadow .18s;display:flex}.public-school-tile:hover{transform:translateY(-4px)scale(1.03);box-shadow:0 12px 20px #0f172a2e}.public-school-tile__name{font-size:.88rem;font-weight:700}.public-school-tile__pct{font-size:1.4rem;font-weight:800;line-height:1}.public-school-tile__sub{opacity:.9;font-size:.75rem}.public-school-tile--good{background:linear-gradient(135deg,#22c55e,#16a34a)}.public-school-tile--mid{background:linear-gradient(135deg,#fbbf24,#f59e0b)}.public-school-tile--low{background:linear-gradient(135deg,#f87171,#dc2626)}@media (width<=700px){.public-stats-block{flex-direction:column}.public-stats-block__donut-col{border-bottom:1px solid #0f172a14;border-right:none;padding-bottom:1.25rem;padding-right:0}.public-stats-block__hero{text-align:center;flex-direction:column}}.gallery-carousel__stage{justify-content:center;align-items:center;gap:1rem;display:flex}.gallery-carousel__image{object-fit:contain;border-radius:.75rem;max-width:100%;max-height:480px}.gallery-carousel__nav{color:#0f172a;cursor:pointer;background:#f1f5f9;border:none;border-radius:999px;flex-shrink:0;width:2.5rem;height:2.5rem;font-size:1.5rem}.gallery-carousel__nav:hover{background:#e2e8f0}.gallery-carousel--borderless{position:relative}.gallery-carousel--borderless .gallery-carousel__stage{aspect-ratio:21/9;cursor:pointer;border-radius:1.25rem;width:100%;height:auto;position:relative;overflow:hidden}.gallery-carousel--borderless .gallery-carousel__image{object-fit:cover;border-radius:1.25rem;width:100%;max-width:none;height:100%;max-height:none;transition:transform .6s}.gallery-carousel--borderless .gallery-carousel__stage:hover .gallery-carousel__image{transform:scale(1.05)}.gallery-carousel--borderless .gallery-carousel__nav{z-index:2;background:#ffffffd9;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 2px 8px #0f172a26}.gallery-carousel--borderless .gallery-carousel__nav:first-child{left:1rem}.gallery-carousel--borderless .gallery-carousel__nav:last-child{right:1rem}.gallery-carousel--borderless .gallery-carousel__caption{margin-top:1rem}.gallery-carousel__caption{text-align:center;color:#475569;margin:.75rem 0 0}.public-school-photos{margin-top:2.5rem}.public-school-photos h2{margin-bottom:1rem}.school-photo-grid{grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:1.25rem;display:grid}.school-photo-card{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;margin:0;transition:box-shadow .15s,transform .15s;overflow:hidden;box-shadow:0 1px 2px #0f172a0d}.school-photo-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0f172a1a}.school-photo-card img{aspect-ratio:4/3;object-fit:cover;width:100%;display:block}.school-photo-card figcaption{flex-direction:column;gap:.15rem;padding:.6rem .85rem .85rem;display:flex}.school-photo-card figcaption strong{color:#0f172a;font-size:.95rem}.school-photo-card figcaption span{color:#64748b;font-size:.85rem}.gallery-carousel__dots{justify-content:center;gap:.4rem;margin-top:.75rem;display:flex}.gallery-carousel__dot{cursor:pointer;background:#cbd5e1;border:none;border-radius:999px;width:.6rem;height:.6rem;padding:0}.gallery-carousel__dot--active{background:#2563eb}.stats-donut-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.stats-donut-card{text-align:center;flex-direction:column;align-items:center;gap:.5rem;display:flex}.stats-donut-card h3{margin:0;font-size:.95rem}.stats-donut-card__legend{color:#475569;flex-direction:column;align-self:stretch;gap:.25rem;font-size:.8rem;display:flex}.stats-donut-card__legend span{align-items:center;gap:.4rem;display:flex}.stats-donut-card__legend i{border-radius:999px;width:.6rem;height:.6rem;display:inline-block}@media (width<=960px){.stats-donut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.stats-donut-grid{grid-template-columns:1fr}.public-header{flex-wrap:wrap;height:auto;padding:.75rem 1rem}.public-header__nav{order:3;justify-content:center;width:100%}}.table-layout{grid-template-columns:264px minmax(0,1fr);align-items:start;gap:1.25rem;display:grid}.table-layout__controls{flex-direction:column;gap:1rem;display:flex;position:sticky;top:1rem}.table-layout__main{min-width:0}.controls-card{background:#fff;border-radius:1rem;padding:1rem;box-shadow:0 10px 30px #0f172a0d}.controls-card h3{margin:0 0 .75rem;font-size:.95rem}.controls-card .field{width:100%;margin-bottom:.6rem}.controls-card__hint{margin:0 0 .5rem;font-size:.8rem}.controls-card__actions{flex-wrap:wrap;gap:.5rem;margin-top:.5rem;display:flex}.controls-card__actions .button{flex:auto}.column-manager__list{flex-direction:column;gap:.15rem;margin:0;padding:0;list-style:none;display:flex}.settings-filter{max-width:15rem}.settings-question-list{flex-direction:column;gap:.45rem;display:flex}.settings-question-row{cursor:grab;background:#f8fafc;border:1px solid #dbe3ec;border-radius:.65rem;align-items:center;gap:.65rem;min-height:3rem;padding:.55rem .7rem;display:flex}.settings-question-row:hover,.settings-question-row.is-drop-target{background:#eef4f8;border-color:#64748b}.settings-question-row:active{cursor:grabbing}.settings-question-row__handle{color:#64748b;-webkit-user-select:none;user-select:none;flex:none;font-size:1.15rem;line-height:1}.settings-question-row__text{overflow-wrap:anywhere;flex:1;min-width:0;line-height:1.35}.settings-question-row__actions{flex:none;gap:.25rem;display:flex}.column-manager__item{cursor:grab;border:1px solid #0000;border-radius:.5rem;align-items:center;gap:.5rem;padding:.35rem .4rem;display:flex}.column-manager__item:hover{background:#f8fafc;border-color:#e2e8f0}.column-manager__item.is-drop-target{background:#eef2ff;border-color:#6366f1}.column-manager__item:active{cursor:grabbing}.column-manager__handle{color:#94a3b8;-webkit-user-select:none;user-select:none;font-size:1rem;line-height:1}.column-manager__label{cursor:pointer;flex:1;align-items:center;gap:.45rem;font-size:.9rem;display:flex}.data-table th.is-numeric,.data-table td.is-numeric{text-align:right;font-variant-numeric:tabular-nums}.data-table th.is-actions,.data-table td.is-actions{text-align:center;white-space:nowrap}@media (width<=1024px){.table-layout{grid-template-columns:1fr}.table-layout__controls{position:static}.table-container{max-height:62vh}}.button--small{padding:.3rem .65rem;font-size:.82rem}.segmented{background:#f1f5f9;border-radius:.6rem;flex-wrap:wrap;gap:.25rem;padding:.25rem;display:inline-flex}.segmented__item{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:.45rem;padding:.45rem .85rem;font-weight:600}.segmented__item.is-active{color:#1d4ed8;background:#fff;box-shadow:0 1px 3px #0f172a1f}.question-form__presets{flex-wrap:wrap;gap:.4rem;font-weight:400;display:flex}.question-form__options{flex-direction:column;gap:.4rem;font-weight:400;display:flex}.question-form__option{align-items:center;gap:.4rem;display:flex}.question-form__option .input{flex:1;min-width:0}.question-form__option-num{color:#64748b;text-align:right;width:1.5rem}.question-type-chip{color:#3730a3;white-space:nowrap;background:#eef2ff;border-radius:999px;margin-left:.4rem;padding:.05rem .45rem;font-size:.72rem;font-weight:600;display:inline-block}.info-select{width:100%;min-width:7rem;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:.4rem;padding:.3rem .4rem}.omor-layout{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:1rem;display:grid}.omor-layout__col{background:#fbfdff;border:1px solid #e2e8f0;border-radius:.75rem;padding:.85rem}.omor-layout__col h4{justify-content:space-between;align-items:center;margin:0 0 .6rem;display:flex}.omor-layout__count{color:#64748b;background:#f1f5f9;border-radius:999px;padding:.05rem .5rem;font-size:.75rem;font-weight:600}.omor-layout__item{border-radius:.45rem;align-items:center;gap:.35rem;margin-bottom:.35rem;display:flex}.omor-layout__item.is-drop-target{outline:2px dashed #93c5fd}.omor-layout__item .input{flex:1;min-width:0;padding:.35rem .5rem}.omor-layout__handle{cursor:grab;color:#94a3b8;-webkit-user-select:none;user-select:none}.omor-layout__new{color:#15803d;font-size:.7rem;font-weight:700}.omor-layout__actions{flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:1rem;display:flex}.omor-layout__preview{margin-top:1.25rem}.ledger-table th.ledger-col--students{white-space:nowrap;max-width:none;overflow:visible}.text-success{color:#15803d;font-weight:600}.home-gallery{--per-view:3;position:relative}.home-gallery__viewport{margin:0 -.4rem;overflow:hidden}.home-gallery__track{transition:transform .6s;display:flex}.home-gallery--few .home-gallery__track{justify-content:center}.home-gallery__slide{flex:0 0 calc(100% / var(--per-view));margin:0;padding:0 .4rem;position:relative}.home-gallery__slide img{aspect-ratio:16/10;object-fit:cover;border-radius:.9rem;width:100%;max-height:15rem;display:block;box-shadow:0 6px 18px #0f172a1f}.home-gallery__slide figcaption{color:#fff;background:linear-gradient(#0000,#0f172ab3);border-radius:0 0 .9rem .9rem;padding:1.2rem .8rem .55rem;font-size:.85rem;font-weight:600;position:absolute;bottom:0;left:.4rem;right:.4rem}.home-gallery__nav{z-index:2;color:#0f172a;cursor:pointer;background:#ffffffeb;border:none;border-radius:999px;width:2.25rem;height:2.25rem;font-size:1.4rem;line-height:1;position:absolute;top:calc(50% - 1rem);transform:translateY(-50%);box-shadow:0 2px 8px #0f172a2e}.home-gallery__nav--prev{left:.6rem}.home-gallery__nav--next{right:.6rem}@media (width<=900px){.home-gallery{--per-view:2}}@media (width<=560px){.home-gallery{--per-view:1}}.public-page .public-hero{padding:1.1rem 1.5rem 1.25rem}.public-page .public-hero h1{font-size:1.7rem}.public-page .public-hero p{margin:.3rem 0 0}.public-page{gap:1.1rem}.ledger-table thead th,.ledger-table thead th:not(.ledger-table__book-cell),.ledger-table thead .ledger-table__book-cell{vertical-align:middle;text-align:center}.agent-sheet-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1rem;overflow-x:auto}.agent-sheet{border-collapse:collapse;table-layout:fixed;color:#000;min-width:70rem;font-family:inherit;font-size:15px}.agent-sheet__col-book{width:21rem}.agent-sheet__col-grade{width:3.3rem}.agent-sheet__col-m{width:10.5rem}.agent-sheet__col-n{width:6.5rem}.agent-sheet__col-o,.agent-sheet__col-p{width:7rem}.agent-sheet th,.agent-sheet td{text-align:center;vertical-align:middle;background:#fff;border:1px solid #000;padding:.15rem .3rem;font-weight:400}.agent-sheet .is-fill{background:#e2efda}.agent-sheet thead th{font-weight:700;line-height:1.2}.agent-sheet__title-row th{white-space:normal;background:#fff;border:none;height:4.2rem;font-size:22px;font-weight:700}.agent-sheet__head-row th{height:3.1rem}.agent-sheet__grade-row th{height:3rem}.agent-sheet__big{font-size:18px}.agent-sheet__students-row th,.agent-sheet__students-row td{height:2.9rem;font-weight:700}.agent-sheet tbody td{height:1.7rem}.agent-sheet__book{white-space:nowrap;text-overflow:ellipsis;font-size:17px;overflow:hidden;text-align:left!important}.agent-sheet td.is-off{background:#fff}.agent-sheet__total-row td{height:2.5rem;font-size:20px;font-weight:700}.agent-sheet__total-row td:first-child{font-size:18px}.agent-sheet__signature{text-align:center;max-width:60rem;margin:1.75rem 0 0;font-size:22px}.agent-sheet__legend{color:#64748b;margin:.75rem 0 0;font-size:.85rem}.agent-cell{width:100%;min-height:1.3rem;font:inherit;color:inherit;display:block}.agent-cell--editable{cursor:text;background:0 0;border:none;padding:0}.agent-cell--editable:hover,.agent-cell--editable:focus{outline-offset:1px;outline:2px solid #2563eb}.agent-cell--auto{color:#64748b;font-style:italic;font-weight:400}.agent-cell-input{width:100%;font:inherit;text-align:center;-moz-appearance:textfield;border:2px solid #2563eb;padding:0}.agent-cell-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.agent-cell-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.agent-manage{margin-bottom:1rem}.agent-layout-fields{grid-template-columns:repeat(auto-fit,minmax(18rem,1fr));gap:0 1rem;display:grid}.agent-formula-hint{color:#1d4ed8;margin:.25rem 0 0;font-size:.85rem;font-weight:400}.grade-picker{font-weight:400}.grade-picker__grid{flex-wrap:wrap;gap:.35rem;display:flex}.grade-picker__item{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:.5rem;width:2.4rem;height:2.4rem;font-weight:700}.grade-picker__item.is-active{color:#fff;background:#2563eb;border-color:#2563eb}.grade-picker__presets{flex-wrap:wrap;gap:.3rem;margin-top:.5rem;display:flex}.agent-sheet__col-calc{width:7rem}.agent-columns{flex-direction:column;gap:.75rem;display:flex}.agent-column{background:#fbfcff;border:1px solid #e2e8f0;border-radius:.75rem;padding:.75rem}.agent-column.has-error{background:#fff7f7;border-color:#fca5a5}.agent-column__head,.agent-column__formula{align-items:center;gap:.4rem;display:flex}.agent-column__head .input,.agent-column__formula .input{flex:1;min-width:0}.agent-column__key.input{text-align:center;flex:0 0 4.2rem;font-family:ui-monospace,monospace;font-weight:700}.agent-column__formula{margin-top:.5rem}.agent-column__formula .input{font-family:ui-monospace,monospace}.agent-column__eq{color:#4338ca;min-width:3.2rem;font-family:ui-monospace,monospace;font-weight:700}.agent-column__tokens{flex-wrap:wrap;gap:.3rem;margin-top:.45rem;display:flex}.agent-token{color:#3730a3;cursor:pointer;background:#eef2ff;border:1px solid #c7d2fe;border-radius:999px;padding:.15rem .6rem;font-family:ui-monospace,monospace;font-size:.78rem;font-weight:600}.agent-token--op{background:#fff;min-width:2rem}.agent-column__options{color:#475569;flex-wrap:wrap;gap:1rem;margin-top:.5rem;font-size:.85rem;display:flex}.agent-column__options label{align-items:center;gap:.4rem;display:flex}.agent-column__error{margin:.4rem 0 0;font-size:.85rem}:root{--accent-1:#6574f2;--accent-2:#8b72f0;--accent-grad:linear-gradient(135deg, var(--accent-1), var(--accent-2));--accent-grad-hover:linear-gradient(135deg, #5664e6, #7b62e6);--accent-soft:#eef0ff;--accent-soft-2:#e4e3ff;--accent-text:#4a3fc4}.app-header{background:var(--accent-grad);box-shadow:0 4px 18px #6574f240}.button{background:var(--accent-grad);color:#fff;transition:background .15s,box-shadow .15s,transform .1s;box-shadow:0 2px 8px #6574f238}.button:hover:not(:disabled){background:var(--accent-grad-hover);box-shadow:0 4px 14px #6574f24d}.button:active:not(:disabled){transform:translateY(1px)}.button--primary{background:var(--accent-grad);color:#fff}.button--secondary{background:var(--accent-soft);color:var(--accent-text);box-shadow:none}.button--secondary:hover:not(:disabled){background:var(--accent-soft-2);box-shadow:none}.button--ghost{color:var(--accent-text);box-shadow:none;background:#fff;border:1px solid #d6d9fb}.button--ghost:hover:not(:disabled){background:var(--accent-soft);box-shadow:none}.button--danger{color:#b91c1c;box-shadow:none;background:#fee2e2}.button--danger:hover:not(:disabled){box-shadow:none;background:#fecaca}.button--success{color:#166534;box-shadow:none;background:#dcfce7}.button--icon,.button--icon:hover:not(:disabled){color:#334155;box-shadow:none;background:0 0}.button--icon:hover:not(:disabled){background:var(--accent-soft);color:var(--accent-text)}.sidebar__link.active,.sidebar__link:hover{background:var(--accent-soft-2);color:var(--accent-text)}.sidebar__user-avatar{background:var(--accent-grad)}.pagination__page--active{background:var(--accent-grad);border-color:var(--accent-1)}.ledger-track-tab--active{background:var(--accent-grad);border-color:var(--accent-1);color:#fff}.ledger-grandtotal-row .ledger-table__book-cell,.ledger-grandtotal-row td{color:#fff;background:#6c6ff0}.public-footer{color:#e8e6ff;background:linear-gradient(135deg,#4f5bd5,#6e58d8)}.gallery-carousel__dot--active,.grade-picker__item.is-active{background:var(--accent-1);border-color:var(--accent-1)}.segmented__item.is-active{color:var(--accent-text)}.login-page{background:radial-gradient(circle at 15% 15%,#8b72f047 0%,#0000 45%),radial-gradient(circle at 85% 85%,#6574f247 0%,#0000 45%),linear-gradient(135deg,#eef0ff,#f5f0ff)}.login-card{border:1px solid #e4e3ff;box-shadow:0 24px 50px #6574f22e}.login-card__brand-icon{background:var(--accent-grad);color:#fff}.login-card__brand-text{color:var(--accent-text)}.auth-form__field input:focus,.input:focus{border-color:var(--accent-1);outline:none;box-shadow:0 0 0 3px #6574f22e}.table-download-host{z-index:30;height:0;position:relative}.table-download{color:#5a57d6;cursor:pointer;opacity:.75;background:#ffffffeb;border:1px solid #d6d9fb;border-radius:7px;justify-content:center;align-items:center;width:26px;height:26px;transition:opacity .15s,background .15s,transform .1s;display:inline-flex;position:absolute;top:5px;right:5px;box-shadow:0 1px 3px #0f172a14}.table-download:hover{opacity:1;background:#eef0ff}.table-download:active{transform:translateY(1px)}.table-download.is-busy{opacity:.45;cursor:progress}.app-header__logout{color:#fff;cursor:pointer;background:#ffffff1f;border:1px solid #ffffff59;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;transition:background .15s;display:inline-flex}.app-header__logout:hover{background:#ffffff3d}.app-header .button--ghost{color:#fff;background:#ffffff1f;border-color:#ffffff59}.app-header .notification-dropdown .button--ghost{color:#4a3fc4;background:#fff;border-color:#d6d9fb}.table-download-layer{z-index:20;width:0;height:0;position:absolute;top:0;left:0}.table-download-spot{width:26px;height:26px;position:absolute}.table-download-spot .table-download{top:0;right:0}.copyright{text-align:center;color:#7b7a9c;border-top:1px solid #e4e3ff;margin-top:2.5rem;padding:1rem 0 .25rem;font-size:.82rem}.public-footer .copyright{color:#d9d6ff;border-top-color:#ffffff2e;margin-top:0}.login-page{flex-direction:column;gap:1.25rem}.copyright--login{border-top:none;margin-top:0;padding:0}.public-hero .public-hero__subtitle,.public-footer .public-footer__subtitle{color:#fff}.school-picker{min-width:16rem;position:relative}.school-picker__toggle{width:100%;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:.5rem;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .75rem;display:flex}.school-picker__menu{z-index:30;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;width:max(100%,20rem);max-width:calc(100vw - 2rem);padding:.5rem;position:absolute;top:calc(100% + .25rem);left:0;box-shadow:0 14px 34px #0f172a1f}.school-picker__actions{gap:.25rem;margin:.4rem 0;display:flex}.school-picker__list{max-height:18rem;overflow-y:auto}.school-picker__item{cursor:pointer;border-radius:.4rem;align-items:center;gap:.5rem;padding:.3rem .25rem;display:flex}.school-picker__item:hover{background:#f1f5f9}.facebook-link{color:#fff;background:#1877f2;border-radius:999px;align-items:center;gap:.4rem;margin-top:.5rem;padding:.45rem .9rem;font-weight:600;text-decoration:none;display:inline-flex}.facebook-link:hover{background:#0f5fc7}.sidebar__close{color:#64748b;margin-left:auto;font-size:1rem}.omor-grid .ledger-table__book-cell{word-break:normal;overflow-wrap:normal}.omor-grid tbody tr:not(:last-child) .ledger-table__book-cell{white-space:nowrap}.ledger-track-tabs{scrollbar-width:none;-webkit-overflow-scrolling:touch;overflow-x:auto}.ledger-track-tabs::-webkit-scrollbar{display:none}.ledger-track-tab{white-space:nowrap;flex:none}@media (width<=900px){.app-header{gap:.5rem;padding:0 .75rem}.app-header__title{text-overflow:ellipsis;flex:1;min-width:0;font-size:.95rem;line-height:1.15;overflow:hidden}.app-header__actions{flex-shrink:0;gap:.4rem}.app-header__user{display:none}.lang-switch{gap:.2rem}.lang-switch__flag{padding:.3rem .4rem;font-size:.8rem}.app-header__logout{width:34px;height:34px}.mobile-drawer--open .sidebar{overscroll-behavior:contain;overflow-y:auto}.mobile-drawer--open .sidebar__link{padding:.55rem .7rem}.mobile-drawer--open .sidebar__footer{margin-top:1rem}}@media (width<=640px){.app-shell__content{padding:.85rem .75rem}.app-shell__content h1{margin:0 0 .35rem;font-size:1.45rem;line-height:1.25}.page-header{gap:.6rem;margin-bottom:.9rem}.card,.controls-card,.filter-bar{border-radius:.85rem;padding:1rem}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.status-card{border-radius:.85rem;padding:.85rem}.status-card h2,.status-card h3{margin:0 0 .35rem;font-size:.92rem;line-height:1.25}.dashboard-grid .status-card h2+p{margin:0;font-size:1.35rem;font-weight:700}.track-breakdown{font-size:.78rem}.input,select.input,textarea.input,.filter-label select,.modal-form input,.auth-form__field input,.phone-input__digits{font-size:16px}.filter-label select,.filter-label,.school-picker{width:100%;min-width:0}.toolbar>*{flex:100%}.toolbar .button{width:100%}.data-table th,.data-table td,.table th,.table td{padding:.3rem .4rem;font-size:.85rem}.data-table thead th,.table thead th{font-size:.72rem}.table-container{border-radius:.75rem;max-height:70vh}.ledger-table__book-cell{min-width:8.5rem;max-width:10.5rem;font-size:.8rem}.ledger-table thead th:not(.ledger-table__book-cell){max-width:5rem;font-size:.7rem}.ledger-cell-input{width:3.5rem;font-size:16px}.ledger-grade-row td{padding:.4rem .6rem}.omor-grid .ledger-table__book-cell{min-width:4.2rem;max-width:6.5rem}.omor-grid tfoot .ledger-table__book-cell,.omor-grid tr:last-child .ledger-table__book-cell{white-space:normal}.info-form__row{gap:.4rem}.agent-sheet-wrap{padding:.5rem}.agent-sheet{min-width:46rem;font-size:12px}.agent-sheet__col-book{width:11rem}.agent-sheet__col-m{width:7rem}.agent-sheet__col-n,.agent-sheet__col-o,.agent-sheet__col-p,.agent-sheet__col-calc{width:5rem}.agent-sheet__book{white-space:normal;font-size:12px}.agent-sheet__title-row th{height:auto;padding:.4rem;font-size:15px}.agent-sheet__big{font-size:13px}.agent-sheet__total-row td,.agent-sheet__total-row td:first-child{font-size:14px}.agent-sheet__signature{font-size:15px}.agent-cell-input{font-size:16px}.modal-overlay,.modal-backdrop{align-items:end;padding:.5rem}.modal,.modal-card,.card--centered{border-radius:1rem;max-height:92vh;padding:1rem}.modal-actions .button{flex:auto}.image-cropper__stage{height:260px}.photo-thumb__actions{opacity:1}.photo-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.scroll-to-button{width:2.6rem;height:2.6rem;font-size:1.1rem;bottom:.9rem;right:.9rem}.copyright{margin-top:1.5rem}.settings-filter{max-width:none}.settings-question-row{flex-wrap:wrap}.public-header{flex-wrap:wrap;gap:.5rem;height:auto;padding:.6rem .75rem 0}.public-header__brand{flex:1;min-width:0;font-size:.95rem;line-height:1.15}.public-header__actions{gap:.4rem}.public-header__actions .button{white-space:nowrap;padding:.5rem .75rem;font-size:.85rem}.public-header__nav{flex-wrap:nowrap;flex:100%;order:3;justify-content:space-around;gap:.5rem;width:100%}.public-header__link{padding:.55rem .1rem;font-size:.92rem}.public-content{padding:1rem .75rem}.public-hero,.public-page .public-hero{border-radius:1rem;padding:1rem}.public-page .public-hero h1{font-size:1.35rem}.public-stats-block{border-radius:1rem;gap:1rem;padding:1rem}.public-school-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.public-school-tile__pct{font-size:1.2rem}.stats-donut-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.stats-donut-card{padding:.75rem}.stats-donut-card svg{max-width:100%;height:auto}.stats-donut-card__legend{font-size:.72rem}.gallery-carousel--borderless .gallery-carousel__stage{aspect-ratio:4/3}.public-footer{padding:1.75rem 1rem 1rem}.public-footer__grid{gap:1.25rem}}@media (width<=360px){.stats-donut-grid{grid-template-columns:1fr}.app-header__title{font-size:.85rem}}@media (width<=640px){.dashboard-grid>.status-card:last-child:nth-child(odd){grid-column:1/-1}.status-card p.text-muted{margin:0 0 .3rem;font-size:.82rem;font-weight:500;line-height:1.25}.status-card p.text-muted+h2{margin:0;font-size:1.35rem}.ledger-table thead th:not(.ledger-table__book-cell){overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none;max-width:none}.ledger-table th.ledger-col--narrow{max-width:5.5rem}}.modal-overlay,.modal-backdrop{z-index:90}
