.educational-record{color:#17342d;background:linear-gradient(145deg,#f5fbf8,#edf5f2);min-height:100vh;padding:24px 5vw 60px;font-family:Cairo,Arial,sans-serif}.record-topbar{background:#fff;border:1px solid #d3e6de;border-radius:18px;justify-content:space-between;align-items:center;gap:16px;max-width:1240px;margin:auto;padding:14px 18px;display:flex;box-shadow:0 10px 30px #0b4b3b0b}.record-topbar>div:nth-child(2){text-align:center;line-height:1.15;display:grid}.record-topbar>div:nth-child(2) span{letter-spacing:.08em;color:#67827a;font-size:11px}.record-topbar>div:nth-child(2) b{font-size:20px}.record-top-actions{gap:8px;display:flex}.educational-record button{cursor:pointer;font:700 14px/1.25 Cairo,Arial,sans-serif}.record-topbar button,.record-print,.record-table-actions button{color:#176d5c;background:#fff;border:1px solid #c8dfd6;border-radius:11px;min-height:42px;padding:9px 15px}.record-save{color:#fff!important;background:#07866e!important;border-color:#07866e!important}.record-hero{background:linear-gradient(130deg,#e2f5ed,#f8fffc 65%);border:1px solid #cfe8de;border-radius:24px;justify-content:space-between;align-items:center;gap:20px;max-width:1240px;margin:28px auto 20px;padding:32px;display:flex}.record-eyebrow{color:#087d67;background:#fff;border-radius:99px;padding:5px 11px;font-size:12px;font-weight:800;display:inline-block}.record-hero h1{margin:7px 0 2px;font-size:clamp(30px,5vw,48px);line-height:1.25}.record-hero p{color:#5d756e;max-width:650px;margin:0;line-height:1.9}.record-print{white-space:nowrap;background:#fff}.record-notice{color:#05765e;background:#edf9f4;border:1px solid #abdccd;border-radius:12px;max-width:1240px;margin:0 auto 20px;padding:11px 16px;font-weight:800}.record-templates,.record-details,.record-table-section,.record-library{background:#fff;border:1px solid #d3e7df;border-radius:22px;max-width:1240px;margin:18px auto;padding:25px}.record-section-title{align-items:center;gap:12px;margin-bottom:18px;display:flex}.record-section-title>span{color:#fff;background:#087d67;border-radius:50%;place-items:center;width:33px;height:33px;font-weight:900;display:grid}.record-section-title h2{margin:0;font-size:22px}.record-section-title p{color:#738780;margin:2px 0 0;font-size:14px}.record-template-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.record-template-grid button{text-align:right;color:#193b33;background:#fbfefd;border:1px solid #d6e6e0;border-radius:16px;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;padding:17px;display:grid}.record-template-grid button:hover,.record-template-grid button.selected{background:#eaf8f2;border-color:#079178;box-shadow:0 8px 24px #07866e12}.record-template-grid i{color:#07866e;background:#d9f2e8;border-radius:12px;grid-row:span 2;place-items:center;width:38px;height:38px;font-size:19px;font-style:normal;display:grid}.record-template-grid b{font-size:16px}.record-template-grid small{color:#6a7d76;line-height:1.55}.record-fields{grid-template-columns:repeat(3,1fr);gap:13px;display:grid}.record-fields label{gap:6px;font-size:13px;font-weight:800;display:grid}.record-fields input,.record-sheet input{color:#17342d;background:#fcfefd;border:1px solid #d2e1db;border-radius:10px;width:100%;font:600 14px Cairo,Arial,sans-serif}.record-fields input{min-height:44px;padding:9px 11px}.record-fields input:focus,.record-sheet input:focus{border-color:#07866e;outline:3px solid #bde9da}.record-table-actions{flex-wrap:wrap;gap:9px;margin:-2px 0 16px;display:flex}.record-table-actions .record-new{color:#65766f;margin-inline-start:auto}.record-sheet-wrap{border:1px solid #cce1d8;border-radius:14px;overflow:auto}.record-sheet{border-collapse:collapse;background:#fff;width:max(100%,780px)}.record-sheet th{background:#eaf6f1;border-bottom:1px solid #c9dfd6;min-width:130px;padding:8px;position:relative}.record-sheet td{border-bottom:1px solid #e4eeea;border-inline-start:1px solid #e4eeea;padding:6px}.record-sheet th input{text-align:right;background:0 0;border-color:#0000;padding:7px 27px 7px 7px;font-weight:900}.record-sheet td input{text-align:right;min-height:38px;padding:7px}.record-remove-column{color:#276d5d;opacity:.55;background:#d8ebe4;border:0;border-radius:7px;width:23px;height:23px;font:700 18px/1 Arial;position:absolute;top:5px;left:5px}.record-sheet th:hover .record-remove-column{opacity:1}.record-total{text-align:center;color:#087d67;min-width:110px;font-weight:900}.record-row-actions{text-align:center;min-width:72px}.record-row-actions button{color:#ae3933;background:#fff0ef;border:0;border-radius:8px;padding:6px 9px;font-size:12px}.record-hint{color:#67817a;margin:14px 0 0;font-size:13px;line-height:1.7}.record-library>div{justify-content:space-between;align-items:center;display:flex}.record-library h2{margin:0}.record-library>div button{color:#087d67;background:0 0;border:0}.record-library ul{gap:8px;margin:13px 0 0;padding:0;list-style:none;display:grid}.record-library li{border:1px solid #dce9e4;border-radius:11px;gap:9px;padding:6px;display:flex}.record-library li>button:first-child{text-align:right;color:#17342d;background:#fff;border:0;flex:1;justify-content:space-between;align-items:center;gap:10px;display:flex}.record-library small{color:#72847e}.record-delete{color:#ad3b36;background:#fff0ef;border:0;border-radius:8px;padding:7px 10px}.educational-record input{direction:inherit}@media (max-width:760px){.educational-record{padding:12px 12px 40px}.record-topbar{flex-wrap:wrap;align-items:flex-start;padding:12px}.record-topbar>div:nth-child(2){order:-1;width:100%}.record-top-actions{flex:1;justify-content:flex-end}.record-back{min-height:44px!important}.record-hero{flex-direction:column;align-items:flex-start;margin-top:14px;padding:23px}.record-print{min-height:44px}.record-templates,.record-details,.record-table-section,.record-library{border-radius:17px;padding:17px}.record-template-grid,.record-fields{grid-template-columns:1fr}.record-template-grid button{min-height:88px}.record-table-actions button{min-height:44px}.record-table-actions .record-new{margin-inline-start:0}.record-section-title h2{font-size:19px}}@media print{.record-topbar,.record-hero,.record-templates,.record-table-actions,.record-library,.record-hint,.record-notice,.record-remove-column,.record-row-actions{display:none!important}.educational-record{background:#fff;padding:0}.record-details,.record-table-section{border:0;margin:0 0 12px;padding:0}.record-fields{grid-template-columns:repeat(3,1fr);margin-bottom:16px}.record-fields input{border:0;border-bottom:1px solid #879b93;border-radius:0;padding:0}.record-sheet-wrap{overflow:visible}.record-sheet{width:100%;font-size:11px}.record-sheet input{background:0 0;border:0;font-size:10px}}.record-draft{background:#eef9f4;border:1px solid #b8ddce;border-radius:14px;align-items:center;gap:10px;max-width:1240px;margin:0 auto 18px;padding:14px 16px;display:flex}.record-draft div{flex:1;gap:2px;display:grid}.record-draft span{color:#5e7770;font-size:13px}.record-draft button:last-child{color:#4e6d64;background:#fff;border:1px solid #c9ded5;border-radius:10px;min-height:42px;padding:9px 13px}.record-roster{background:#f4fbf8;border:1px solid #c7e4d9;border-radius:14px;margin:-4px 0 16px;padding:14px}.record-roster label{gap:7px;font-size:13px;font-weight:800;display:grid}.record-roster textarea{resize:vertical;background:#fff;border:1px solid #cfe1da;border-radius:10px;width:100%;padding:10px;font:600 14px/1.7 Cairo,Arial,sans-serif}.record-roster textarea:focus{border-color:#07866e;outline:3px solid #bde9da}.record-roster>div{gap:8px;margin-top:10px;display:flex}.record-roster>div button{color:#176d5c;background:#fff;border:1px solid #c9ded5;border-radius:10px;min-height:40px;padding:8px 13px}@media (max-width:760px){.record-draft{flex-wrap:wrap;align-items:stretch}.record-draft div{flex-basis:100%}.record-draft button,.record-roster>div button{min-height:44px}}.record-export-actions{flex-wrap:wrap;gap:8px;display:flex}.record-export-actions .record-print{min-width:128px}.record-grade{text-align:center;min-width:112px;font-weight:900}.grade-excellent{color:#087d67;background:#e4f7ee}.grade-very-good{color:#166d9b;background:#eaf5fb}.grade-good{color:#926300;background:#fff7dc}.grade-pass{color:#9b5d22;background:#fff0df}.grade-support{color:#b0403e;background:#fff0ef}.grade-empty{color:#81948e;background:#f5f8f7}@media (max-width:760px){.record-sheet-wrap{-webkit-overflow-scrolling:touch;margin-inline:-4px}.record-sheet th:first-child,.record-sheet td:first-child{z-index:2;min-width:142px;position:sticky;right:0;box-shadow:-5px 0 12px #17342d12}.record-sheet th:first-child{z-index:3;background:#eaf6f1}.record-sheet td:first-child{background:#fff}.record-sheet td input{min-height:44px}.record-top-actions{justify-content:stretch;width:100%}.record-top-actions button{flex:1;min-height:44px}.record-export-actions{width:100%}.record-export-actions .record-print{flex:1;min-height:44px}}.record-file-input{display:none}.record-import-hint{color:#527168;background:#f5fbf8;border:1px solid #d4e8df;border-radius:11px;margin:-4px 0 16px;padding:10px 12px;font-size:13px;line-height:1.75}.record-header-options{border:1px solid #d6e6e0;border-radius:15px;margin:20px 0 0;padding:14px}.record-header-options legend{padding:0 7px;font-weight:900}.record-header-options>p{color:#627971;margin:0 0 11px;font-size:13px}.record-header-options>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.record-header-options label{cursor:pointer;background:#fbfefd;border:1px solid #d9e7e2;border-radius:12px;grid-template-columns:auto 34px 1fr;align-items:center;gap:8px;padding:10px;display:grid}.record-header-options label.selected{background:#ecf9f3;border-color:#07866e}.record-header-options input{accent-color:#07866e}.record-header-options img,.record-custom-mark{object-fit:contain;width:34px;height:34px}.record-custom-mark{color:#07866e;background:#dff3eb;border-radius:10px;place-items:center;font-size:22px;display:grid}.record-header-options span:last-child{gap:2px;display:grid}.record-header-options small{color:#71857e;font-size:11px}.record-custom-header{background:#f5fbf8;border:1px solid #cce4d9;border-radius:13px;grid-template-columns:1fr auto auto;align-items:center;gap:10px;margin-top:12px;padding:12px;display:grid}.record-custom-header label:first-child{gap:5px;font-size:13px;font-weight:800;display:grid}.record-custom-header input{border:1px solid #cbded6;border-radius:9px;min-height:40px;padding:8px 10px;font:600 14px Cairo,Arial,sans-serif}.record-header-upload{color:#087d67;cursor:pointer;border:1px dashed #78bdaa;border-radius:10px;place-items:center;min-height:42px;padding:8px 12px;font-weight:800;display:grid}.record-header-upload input{display:none}.record-custom-header>img{object-fit:contain;width:58px;height:58px}.record-custom-header>small{color:#aa3934;grid-column:1/-1}.record-print-header{border-bottom:2px solid #07866e;align-items:center;gap:12px;margin:0 0 16px;padding:10px 0;display:flex}.record-print-header img{object-fit:contain;width:64px;height:64px}.record-print-header div{gap:2px;display:grid}.record-print-header b{font-size:15px}.record-print-header span{color:#687e76;font-size:13px}@media (max-width:760px){.record-header-options>div{grid-template-columns:1fr}.record-custom-header{grid-template-columns:1fr auto}.record-custom-header>small{grid-column:1/-1}}@media print{.record-header-options,.record-custom-header{display:none!important}.record-print-header{display:flex!important}}.record-grade-thresholds{background:#fbfefd;border:1px solid #d6e6e0;border-radius:15px;margin-top:14px;padding:14px}.record-grade-thresholds legend{padding:0 7px;font-weight:900}.record-grade-thresholds>p{color:#627971;margin:0 0 11px;font-size:13px}.record-grade-thresholds>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.record-grade-thresholds label{border:1px solid #d9e7e2;border-radius:11px;grid-template-columns:1fr auto;align-items:center;gap:5px;padding:9px;font-size:13px;font-weight:800;display:grid}.record-grade-thresholds input{border:1px solid #cbded6;border-radius:8px;grid-column:1;width:100%;min-height:38px;padding:6px 8px;font:700 15px Cairo,Arial,sans-serif}.record-grade-thresholds span{color:#58756b;grid-area:2/2}@media (max-width:760px){.record-grade-thresholds>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{.record-grade-thresholds{display:none!important}}.record-print-summary{display:none}@media print{.record-details .record-section-title,.record-fields{display:none!important}.record-print-summary{text-align:center;margin:0 0 14px;display:block}.record-print-summary h1{margin:0 0 9px;font-size:21px}.record-print-summary dl{text-align:right;border-top:1px solid #9eb5ad;border-bottom:1px solid #9eb5ad;grid-template-columns:repeat(3,1fr);gap:6px 16px;margin:0;padding:8px 0;display:grid}.record-print-summary dl div{gap:5px;display:flex}.record-print-summary dt{font-weight:900}.record-print-summary dd{margin:0}.record-sheet th{padding:5px}.record-sheet td{padding:3px}.record-sheet td input{min-height:25px;padding:3px}.record-sheet th input{padding:3px 0;font-size:10px}}.record-mobile-template-summary,.record-mobile-navigation,.record-mobile-back{display:none}@media (max-width:760px){.record-templates.mobile-collapsed{padding:15px 17px}.record-templates.mobile-collapsed .record-section-title{margin:0}.record-templates.mobile-collapsed .record-section-title p,.record-templates.mobile-collapsed .record-template-grid{display:none}.record-mobile-template-summary{color:#547169;border-top:1px solid #dce9e4;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;padding-top:10px;font-size:13px;display:flex}.record-mobile-template-summary b{color:#17342d}.record-mobile-template-summary button,.record-mobile-navigation button,.record-mobile-back button{color:#176d5c;background:#fff;border:1px solid #c8dfd6;border-radius:10px;min-height:44px;padding:8px 12px;font:800 13px Cairo,Arial,sans-serif}.record-details.mobile-hidden,.record-table-section.mobile-hidden{display:none}.record-mobile-navigation{gap:8px;margin-top:18px;display:flex}.record-mobile-navigation button{flex:1}.record-mobile-navigation button:last-child{flex:2}.record-mobile-back{margin:-5px 0 13px;display:block}.record-mobile-back button{text-align:right;width:100%}.record-table-section .record-section-title{margin-bottom:13px}}@media print{.record-mobile-template-summary,.record-mobile-navigation,.record-mobile-back{display:none!important}}.record-mobile-row,.record-mobile-students{display:none}@media (max-width:760px){.record-desktop-row{display:none}.record-mobile-row{display:block}.record-sheet-wrap{display:none}.record-mobile-students{gap:9px;margin:0 0 13px;display:grid}.record-mobile-students-title{justify-content:space-between;align-items:center;gap:10px;margin-top:4px;display:flex}.record-mobile-students-title h3{margin:0;font-size:17px}.record-mobile-students-title p{color:#6c8179;margin:2px 0 0;font-size:12px}.record-mobile-students-title>span{color:#087d67;background:#eaf6f1;border-radius:99px;padding:4px 9px;font-size:12px;font-weight:900}.record-mobile-students article{background:#fff;border:1px solid #d3e6de;border-radius:13px;overflow:hidden}.record-mobile-students article.open{border-color:#079178;box-shadow:0 7px 18px #07866e10}.record-mobile-student-toggle{color:#17342d;text-align:right;background:#fff;border:0;grid-template-columns:1fr auto;gap:2px;width:100%;min-height:58px;padding:11px 13px;font:800 15px Cairo,Arial,sans-serif;display:grid}.record-mobile-student-toggle small{color:#71857e;grid-column:1;font-size:12px;font-weight:600}.record-mobile-student-toggle b{color:#07866e;background:#dff3eb;border-radius:9px;grid-area:1/2/3;align-self:center;place-items:center;width:29px;height:29px;font-size:20px;display:grid}.record-mobile-student-fields{background:#f8fcfa;border-top:1px solid #dce9e4;gap:9px;padding:12px;display:grid}.record-mobile-student-fields label{color:#45635a;gap:5px;font-size:12px;font-weight:900;display:grid}.record-mobile-student-fields input{color:#17342d;background:#fff;border:1px solid #cbded6;border-radius:9px;min-height:44px;padding:8px 10px;font:600 15px Cairo,Arial,sans-serif}.record-mobile-student-fields .record-delete{justify-self:start;margin-top:2px}.record-table-section .record-hint{padding:0 2px}}.record-header-options label:first-child>span{grid-column:2/-1}.record-header-options img,.record-custom-header>img,.record-print-header img{object-fit:contain;object-position:center;image-rendering:auto}@media (max-width:760px){.record-header-options label{grid-template-columns:28px 38px minmax(0,1fr);min-height:72px}.record-header-options label:first-child>span{grid-column:2/-1}.record-header-options label>span:last-child{min-width:0}.record-header-options label>span:last-child b{font-size:14px;line-height:1.35}.record-header-options label>span:last-child small{line-height:1.4}.record-header-options img,.record-custom-mark{width:38px;height:38px}.record-custom-header>img{width:64px;height:64px}}.record-table-actions{align-items:flex-start}.record-student-actions,.record-structure-actions,.record-excel-actions>div{flex-wrap:wrap;align-items:flex-start;gap:9px;display:flex}.record-excel-actions{background:#f7fcfa;border:1px solid #d9e7e2;border-radius:12px;gap:5px;padding:8px 10px;display:grid}.record-excel-actions small{color:#607971;font-weight:800}.record-primary-action{color:#fff!important;background:#07866e!important;border-color:#07866e!important}.record-table-actions>div button{color:#176d5c;background:#fff;border:1px solid #c8dfd6;border-radius:11px;align-self:flex-start;min-height:42px;padding:9px 14px;font:700 14px/1.25 Cairo,Arial,sans-serif}.record-structure-actions{margin-inline-start:auto}.record-structure-actions .record-new{color:#6c7e77}@media (max-width:760px){.record-table-actions{grid-template-columns:1fr;gap:10px;display:grid}.record-student-actions,.record-excel-actions>div,.record-structure-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.record-table-actions>div button{min-height:46px;padding:8px 9px;font-size:13px}.record-primary-action{grid-column:1/-1}.record-excel-actions{padding:10px}.record-excel-actions small{font-size:12px}.record-structure-actions{margin:0;padding-top:2px}.record-structure-actions .record-new{background:#f7faf9}}.record-advanced-toggle{display:none}.record-advanced-content{display:contents}@media (max-width:760px){.record-advanced-options{margin-top:14px}.record-advanced-toggle{color:#176d5c;background:#f7fcfa;border:1px solid #c8dfd6;border-radius:11px;justify-content:space-between;align-items:center;width:100%;min-height:46px;padding:10px 13px;font:800 14px Cairo,Arial,sans-serif;display:flex}.record-advanced-toggle span{background:#dff3eb;border-radius:8px;place-items:center;width:24px;height:24px;font-size:18px;display:grid}.record-advanced-content{display:none}.record-advanced-options.open .record-advanced-content{display:block}.record-advanced-options.open .record-grade-thresholds,.record-advanced-options.open .record-header-options{margin-top:12px}.record-topbar{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px;display:grid}.record-topbar>div:nth-child(2){order:initial;grid-area:1/1/auto/-1;padding-bottom:2px}.record-top-actions{display:contents}.record-top-actions button{width:100%;padding:9px 10px;min-height:46px!important}.record-top-actions button:last-child{grid-area:2/1}.record-top-actions button:first-child{grid-area:2/2}.record-back{text-align:center;grid-area:3/1/auto/-1;color:#58736a!important;background:#f7faf9!important;min-height:42px!important;padding:8px 12px!important}.record-topbar>div:nth-child(2) b{font-size:18px}}.record-template-grid button.selected{background:#e4f6ee;border-color:#087d67;box-shadow:inset 0 0 0 1px #087d67,0 8px 24px #07866e16}.record-template-grid button:hover:not(.selected){background:#fff;border-color:#b7d4c9;box-shadow:0 4px 12px #173b3310}.record-template-grid button:focus-visible{outline-offset:3px;outline:3px solid #78cdb6}.record-template-name{background:#f6fcf9;border:1px solid #d5e8df;border-radius:10px;align-content:center;gap:2px;min-height:44px;padding:9px 11px;display:grid}.record-template-name span{color:#58786d;font-size:12px;font-weight:800}.record-template-name b{color:#087d67;font-size:15px}.record-template-name small{color:#6d827b;font-size:11px;line-height:1.45}.record-guided-note{color:#315f52;background:#eef9f4;border:1px solid #b8dfd1;border-radius:13px;gap:4px;margin-top:14px;padding:13px 15px;line-height:1.7;display:grid}.record-guided-note b{color:#087d67}.record-guided-approval{background:#fbfefd;border:1px solid #c9e3d8;border-radius:14px;grid-template-columns:1.25fr repeat(2,minmax(0,1fr));align-items:end;gap:12px;margin-top:14px;padding:14px;display:grid}.record-guided-approval>div{gap:3px;display:grid}.record-guided-approval b{color:#087d67}.record-guided-approval span{color:#637d74;font-size:12px;line-height:1.5}.record-guided-approval label{color:#365c51;gap:6px;font-size:13px;font-weight:900;display:grid}.record-guided-approval input{box-sizing:border-box;color:#17342d;background:#fff;border:1px solid #cbded6;border-radius:10px;width:100%;min-height:44px;padding:9px 11px;font:600 14px Cairo,Arial,sans-serif}@media (max-width:760px){.record-guided-approval{grid-template-columns:1fr}.record-guided-approval input{min-height:46px}}.record-guided-students{gap:16px;display:grid}.record-guided-student{background:linear-gradient(135deg,#fbfffd,#f1faf6);border:1px solid #c9e3d8;border-radius:17px;padding:18px}.record-guided-student>header{color:#087d67;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;font-weight:900;display:flex}.record-guided-student-name,.record-guided-student-fields label{color:#365c51;gap:7px;font-size:13px;font-weight:900;display:grid}.record-guided-student-name{margin-bottom:13px}.record-guided-student-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.record-guided-student-fields .wide{grid-column:1/-1}.record-guided-student input,.record-guided-student select,.record-guided-student textarea{box-sizing:border-box;color:#17342d;background:#fff;border:1px solid #cbded6;border-radius:10px;width:100%;padding:9px 11px;font:600 15px Cairo,Arial,sans-serif}.record-guided-student input,.record-guided-student select{min-height:44px}.record-guided-student textarea{resize:vertical;min-height:82px;line-height:1.8}.record-guided-student input:focus,.record-guided-student select:focus,.record-guided-student textarea:focus{border-color:#07866e;outline:3px solid #bde9da}.record-rubric-student{background:linear-gradient(135deg,#fbfdff,#eef7fc);border-color:#b8d6ed}.record-rubric-student>header{color:#126994}.record-rubric-student .record-guided-student-name,.record-rubric-student .record-guided-student-fields label{color:#315c75}.record-rubric-student input:focus,.record-rubric-student select:focus,.record-rubric-student textarea:focus{border-color:#2179a8;outline-color:#c8e6f7}.record-rubric-result{color:#17668f;background:#dff1fb;border-radius:999px;margin-inline-start:auto;padding:5px 10px;font-size:12px;font-weight:800}.record-rubric-result b{font-size:15px}@media (max-width:760px){.record-guided-student{padding:14px}.record-guided-student-fields{grid-template-columns:1fr}.record-guided-student-fields .wide{grid-column:auto}}.record-sheet th>span{text-align:right;padding:7px;font-weight:900;display:block}.record-sheet select,.record-mobile-student-fields select{color:#17342d;background:#fcfefd;border:1px solid #d2e1db;border-radius:10px;width:100%;min-height:38px;padding:7px;font:600 14px Cairo,Arial,sans-serif}.record-sheet select:focus,.record-mobile-student-fields select:focus{border-color:#07866e;outline:3px solid #bde9da}.record-sheet textarea{box-sizing:border-box;resize:vertical;border:1px solid #d2e1db;border-radius:9px;width:100%;min-width:180px;padding:7px;font:600 13px/1.6 Cairo,Arial,sans-serif}.attendance-monthly .record-sheet{width:max-content;min-width:0}.attendance-monthly .record-sheet th{text-align:center;min-width:38px;padding:5px}.attendance-monthly .record-sheet th:first-child{min-width:145px}.attendance-monthly .record-sheet th:nth-last-child(2){min-width:190px}.attendance-monthly .record-sheet td{padding:3px}.attendance-monthly .record-sheet td select{text-align:center;width:34px;min-width:34px;min-height:34px;padding:2px;font-size:0}.attendance-monthly .record-sheet td select option{font-size:13px}@media print{.record-sheet thead{display:table-header-group}.record-sheet tbody tr{break-inside:avoid;page-break-inside:avoid}.record-sheet tbody tr:nth-child(25n){break-after:page;page-break-after:always}.attendance-monthly .record-sheet{font-size:8px}.attendance-monthly .record-sheet th,.attendance-monthly .record-sheet td{padding:2px}.attendance-monthly .record-sheet td select{border:0;width:26px;min-width:26px;min-height:22px}.attendance-monthly .record-sheet textarea{border:0;min-width:170px}}@media (max-width:760px){.record-mobile-student-fields select{min-height:44px;padding:8px 10px;font-size:15px}.record-guided-note{margin-top:12px;font-size:13px}}.record-complete-actions{background:#effaf5;border:1px solid #abdccd;border-radius:15px;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;padding:15px;display:flex}.record-complete-actions>div:first-child{gap:3px;display:grid}.record-complete-actions b{color:#173b33;font-size:16px}.record-complete-actions small{color:#5e7a70;font-size:12px}.record-complete-actions>div:last-child{flex-wrap:wrap;gap:8px;display:flex}.record-complete-actions button{color:#176d5c;background:#fff;border:1px solid #bdddd1;border-radius:10px;min-height:42px;padding:8px 13px;font:800 13px Cairo,Arial,sans-serif}@media (max-width:760px){.record-complete-actions{flex-direction:column;align-items:stretch;gap:12px}.record-complete-actions>div:last-child{grid-template-columns:1fr 1fr;display:grid}.record-complete-actions .record-save{grid-column:1/-1;min-height:46px}}.record-excel-preview-backdrop{z-index:90;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0e261c9c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.record-excel-preview{background:#fff;border:1px solid #bbd8ca;border-radius:19px;grid-template-rows:auto minmax(0,1fr) auto;width:min(1020px,96vw);max-height:min(820px,92dvh);display:grid;overflow:hidden;box-shadow:0 24px 70px #071b134d}.record-excel-preview header,.record-excel-preview footer{background:#f7fcf9;border-bottom:1px solid #dbeae3;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.record-excel-preview header span{color:#0b8069;font-size:12px;font-weight:900}.record-excel-preview h2{color:#173b33;margin:2px 0 0;font-size:18px}.record-excel-preview header>button{color:#49675d;cursor:pointer;background:#fff;border:1px solid #c9dfd5;border-radius:10px;place-items:center;width:34px;height:34px;font-size:23px;display:grid}.record-excel-preview-scroll{background:#f2f7f4;padding:16px;overflow:auto}.record-template-preview-heading{text-align:center;background:#fff;border:1px solid #b9d9cc;min-width:620px;margin-bottom:12px;padding:22px}.record-template-preview-heading h1{color:#173b33;margin:0 0 16px;font-size:24px}.record-template-preview-heading dl{text-align:right;border-top:1px solid #d6e5de;grid-template-columns:repeat(3,1fr);gap:8px 18px;margin:0;padding-top:12px;display:grid}.record-template-preview-heading dl div{gap:5px;display:flex}.record-template-preview-heading dt{color:#41695c;font-weight:900}.record-template-preview-heading dd{color:#173b33;margin:0}.record-print-summary-brand{display:none}@media print{.record-print-summary-brand{border-bottom:2px solid #087d67;justify-content:center;align-items:center;gap:12px;margin:0 0 12px;padding:0 0 10px;display:flex}.record-print-summary-brand img{object-fit:contain;object-position:center;width:68px;height:68px;display:block}.record-print-summary-brand div{text-align:right;gap:2px;display:grid}.record-print-summary-brand b{color:#173b33;font-size:15px}.record-print-summary-brand span{color:#58736a;font-size:12px}}.record-excel-preview table{border-collapse:collapse;text-align:right;background:#fff;width:100%;min-width:620px}.record-excel-preview th,.record-excel-preview td{border:1px solid #d6e4de;padding:9px 11px}.record-excel-preview tbody>tr:not(.record-excel-preview-spacer)>th{color:#255b4d;background:#edf7f2;width:190px}.record-excel-preview-spacer td{background:#f2f7f4;border-inline:0;height:11px;padding:0}.record-excel-preview-data thead th{color:#173b33;background:#dff1e9;font-weight:900}.record-excel-preview-data tbody tr:nth-child(2n){background:#f9fcfa}.record-excel-preview footer{border-top:1px solid #dbeae3;border-bottom:0;justify-content:flex-start}.record-excel-preview footer button{color:#176d5c;background:#fff;border:1px solid #c7ddd3;border-radius:10px;min-height:42px;padding:8px 14px;font:800 13px Cairo,Arial,sans-serif}@media (max-width:760px){.record-excel-preview-backdrop{padding:8px}.record-excel-preview{width:100%;max-height:96dvh}.record-excel-preview header,.record-excel-preview footer{padding:12px}.record-excel-preview h2{font-size:15px}.record-excel-preview-scroll{padding:10px}.record-excel-preview footer{grid-template-columns:1fr 1fr;display:grid}.record-excel-preview footer button{min-height:46px;padding:8px}}.record-fields select{color:#17342d;background:#fcfefd;border:1px solid #d2e1db;border-radius:10px;width:100%;min-height:44px;padding:9px 11px;font:600 14px Cairo,Arial,sans-serif}.record-fields select:focus{border-color:#07866e;outline:3px solid #bde9da}.record-approval-fields{background:#fbfefd;border:1px solid #d6e6e0;border-radius:15px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;padding:14px;display:grid}.record-approval-fields legend{padding:0 7px;font-weight:900}.record-approval-fields>p{color:#627971;grid-column:1/-1;margin:0;font-size:13px}.record-approval-fields label{color:#365c51;gap:6px;font-size:13px;font-weight:800;display:grid}.record-approval-fields input,.record-student-picker select{color:#17342d;background:#fff;border:1px solid #cbded6;border-radius:9px;width:100%;min-height:42px;padding:8px 10px;font:600 14px Cairo,Arial,sans-serif}.record-student-reports-print{display:none}.record-student-picker{color:#365c51;gap:6px;max-width:400px;margin:0 0 14px;font-size:13px;font-weight:900;display:grid}.record-student-report-page{color:#173b33;background:#fff;border:1px solid #b9d9cc;max-width:820px;margin:0 auto;padding:28px}.record-student-report-page header{text-align:center;border-bottom:2px solid #087d67;justify-content:center;align-items:center;gap:14px;padding:0 0 14px;display:flex}.record-student-report-page header img{object-fit:contain;width:62px;height:62px}.record-student-report-page h1{color:#173b33;margin:0;font-size:25px}.record-student-report-page header p{color:#58736a;margin:3px 0 0;font-size:13px}.record-student-report-meta{grid-template-columns:repeat(3,1fr);gap:8px 14px;margin:16px 0;display:grid}.record-student-report-meta div{gap:5px;display:flex}.record-student-report-meta dt{font-weight:900}.record-student-report-meta dd{margin:0}.record-student-report-page table{border-collapse:collapse;width:100%;min-width:0!important}.record-student-report-page th,.record-student-report-page td{text-align:center;border:1px solid #bcd5ca;padding:10px}.record-student-report-page th{background:#e8f5ef}.record-student-report-signatures{text-align:center;grid-template-columns:1fr 120px 1fr;align-items:end;gap:18px;margin-top:54px;display:grid}.record-student-report-signatures>div:not(.record-school-stamp){gap:6px;display:grid}.record-student-report-signatures b{font-size:14px}.record-student-report-signatures span{color:#45675b;border-bottom:1px dotted #69887d;min-height:25px}.record-student-report-signatures small{color:#738780}.record-school-stamp{color:#3b7866;border:2px dashed #72a994;border-radius:50%;align-content:center;place-items:center;width:108px;height:108px;margin:auto;display:grid}.record-school-stamp span{border:0;font-size:11px}.record-student-report-note{color:#527168;background:#f4fbf8;border:1px solid #cce4d9;border-radius:10px;margin:14px 0 0;padding:10px 12px;font-size:13px;line-height:1.7}@media (max-width:760px){.record-approval-fields{grid-template-columns:1fr}.record-student-report-page{padding:16px}.record-student-report-page h1{font-size:20px}.record-student-report-meta{grid-template-columns:1fr 1fr}.record-student-report-signatures{grid-template-columns:1fr;gap:22px;margin-top:34px}.record-school-stamp{order:3}.record-student-picker{max-width:none}}@media print{.educational-record.printing-student-reports>:not(.record-student-reports-print){display:none!important}.educational-record.printing-student-reports .record-student-reports-print{display:block!important}.educational-record.printing-student-reports{padding:0!important}.record-student-report-page{break-after:page;page-break-after:always;border:0;min-height:255mm;margin:0;padding:14mm;display:block!important}.record-student-report-page:last-child{break-after:auto;page-break-after:auto}.record-student-report-page header,.record-student-report-page footer{display:flex}.record-student-report-page table{font-size:12px}.record-student-report-page th,.record-student-report-page td{padding:7px}.record-student-report-signatures{display:grid!important}}
