:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#183047;background:#f3f7f5;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 90% 0,#e0f1e4 0,transparent 38%),#f3f7f5}.shell{max-width:1120px;margin:0 auto;padding:34px 24px 28px}.brand{display:flex;align-items:center;gap:15px;margin-bottom:30px}.brand-mark{width:52px;height:52px;border-radius:16px;background:#23743d;color:white;display:grid;place-items:center;font-weight:900;font-size:28px;box-shadow:0 8px 18px #1c663b33}.brand h1{font-size:25px;margin:1px 0}.brand h1 span{color:#2c8050}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.13em;color:#558263;margin:0 0 6px}.notice{margin:0 0 22px;padding:12px 15px;border-radius:12px;background:#e8f1eb;color:#385947;min-height:44px}.notice.error{background:#fff0ec;color:#9a3624}.notice.success{background:#e5f5e9;color:#286b3d}.card{background:white;border:1px solid #e1eae4;border-radius:18px;padding:24px;box-shadow:0 12px 35px #2349320b}.card h2{font-size:23px;margin:0 0 9px}.card h3{font-size:17px;margin:0 0 18px}.card h4{margin:2px 0 0}.muted{color:#667a71;line-height:1.55}.form{display:grid;gap:15px;margin-top:22px}.form>label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#344c40}.form input,.form select{font:inherit;font-weight:400;color:#1c3329;background:#fff;border:1px solid #cbd9cf;border-radius:10px;padding:12px 13px;min-width:0}.form input:focus,.form select:focus{outline:3px solid #d6ecdc;border-color:#378453}.form small{font-size:11px;font-weight:400;color:#748278}.primary,.quiet{border:0;border-radius:10px;padding:12px 16px;font:inherit;font-weight:750;cursor:pointer}.primary{background:#247b41;color:#fff}.primary:hover{background:#1c6535}.quiet{background:#edf4ef;color:#2a6040}.quiet:hover{background:#e0ece3}.hidden{display:none!important}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.page-heading h2{margin:0 0 4px}.page-heading p{margin:3px 0}.columns{display:grid;grid-template-columns:minmax(310px,.85fr) minmax(420px,1.15fr);gap:18px;align-items:start}.form fieldset{border:1px solid #d8e4db;border-radius:12px;padding:12px 14px 8px;display:grid;gap:12px}.form legend{font-size:12px;font-weight:800;color:#4d6c57;padding:0 5px}.form .check{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:550}.form .check input{accent-color:#247b41}.rule{height:1px;background:#edf1ed}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.list-heading h3{margin-bottom:0}.institution-list{display:grid;gap:11px;margin-top:18px}.institution{border:1px solid #e2eae4;border-radius:13px;padding:15px}.institution-top{display:flex;justify-content:space-between;gap:12px}.institution h4{margin:0 0 5px;font-size:15px}.institution small,.institution p{margin:0;color:#6d7c72;font-size:12px}.pill{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;background:#e2f4e7;color:#286940;height:max-content}.pill.suspended{background:#fff0dc;color:#835414}.module-list{display:flex;flex-wrap:wrap;gap:10px;margin:13px 0 20px}.module-chip{border-radius:999px;background:#e8f3eb;color:#26643d;padding:8px 12px;font-weight:700;font-size:13px}.note{border-top:1px solid #e8eee9;padding-top:14px}footer{text-align:center;color:#839087;font-size:11px;padding:24px 0 8px}@media(max-width:800px){.shell{padding:22px 14px}.columns{grid-template-columns:1fr}.page-heading{align-items:flex-start}.brand h1{font-size:22px}}

.module-editor{margin-top:12px;border-top:1px solid #e8eee9;padding-top:10px;color:#345440;font-size:13px}.module-editor summary{cursor:pointer;font-weight:750}.inline-module-form{display:grid;gap:9px;padding-top:10px}.inline-module-form .check{display:flex;align-items:center;gap:8px}.inline-module-form input{accent-color:#247b41}.inline-module-form button{justify-self:start}.inline-module-form label:not(.check){display:grid;gap:5px;font-weight:650}.inline-module-form input[type="password"]{max-width:360px;border:1px solid #cbd9cf;border-radius:8px;padding:9px;font:inherit}
.institution-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.institution-actions button{padding:9px 12px}
.name-editor{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.name-editor input{flex:1 1 220px;min-width:0;border:1px solid #cbd9cf;border-radius:9px;padding:10px;font:inherit}.name-editor input:focus{outline:3px solid #d6ecdc;border-color:#378453}.name-editor button{padding:9px 12px}
.school-workspace{margin-top:24px;padding:22px;border:1px solid #e1eae4;border-radius:16px;background:#fff}.school-workspace h3{margin:0 0 4px}.school-workspace>p{margin-top:6px}.student-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 24px}.student-form label{display:grid;gap:6px;font-size:13px;font-weight:700;color:#344c40}.student-form input,.student-form select{min-width:0;border:1px solid #cbd9cf;border-radius:9px;padding:10px;font:inherit;background:#fff}.student-form button{justify-self:start}.student-list-heading{display:flex;align-items:center;gap:12px;margin-bottom:10px}.student-list-heading h4{margin:0}.table-scroll{overflow:auto}.student-table{width:100%;border-collapse:collapse;font-size:13px}.student-table th,.student-table td{text-align:left;padding:9px 10px;border-bottom:1px solid #e6ece7}.student-table th{background:#edf5ef;color:#325b3e}@media(max-width:600px){.student-form{grid-template-columns:1fr}}
.student-actions{min-width:145px}.student-actions>button,.student-row-edit button{margin:2px;padding:7px 9px;font-size:11px}.student-row-edit{display:flex;gap:4px;flex-wrap:wrap}.student-row-edit input{width:120px;border:1px solid #cbd9cf;border-radius:6px;padding:6px;font:inherit}
.enrollment-rule{margin:26px 0 22px}.student-form button:disabled{opacity:.5;cursor:not-allowed}
#staff-account-feedback{grid-column:1/-1;margin:0}#staff-account-feedback:empty{display:none}
.gradebook-filter{display:grid;grid-template-columns:minmax(260px,2fr) minmax(150px,1fr) auto;gap:12px;align-items:end;margin:16px 0}.gradebook-filter label{display:grid;gap:6px;font-size:13px;font-weight:700;color:#344c40}.gradebook-filter select,.student-table input[name="score"],.student-table select[name="score"]{border:1px solid #cbd9cf;border-radius:8px;padding:10px;font:inherit;background:#fff}.student-table input[name="score"],.student-table select[name="score"]{width:115px}.school-workspace>#save-grades{margin-top:14px}@media(max-width:700px){.gradebook-filter{grid-template-columns:1fr}}
.student-form input[name="fullName"],.student-row-edit input[name="fullName"],#institution-form input[name="name"]{text-transform:uppercase}
.student-photo-thumb{width:34px;height:42px;object-fit:cover;border:1px solid #cbd9cf;border-radius:5px;vertical-align:middle;margin-right:9px}.id-card-filters{grid-template-columns:repeat(2,minmax(180px,1fr));align-items:end}.id-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px;margin-top:20px}.id-card{--card-main:#176b3a;--card-tint:#eaf4ed;--card-paper:#fff;position:relative;isolation:isolate;width:324px;min-height:204px;box-sizing:border-box;border:2px solid var(--card-main);border-radius:13px;background:var(--card-paper);overflow:hidden;box-shadow:0 5px 16px #1a48231c;display:flex;flex-direction:column;color:#23372a}.id-card::before{content:"";position:absolute;inset:0;z-index:-1;background-image:url("/assets/escudo_jireh.png");background-repeat:repeat;background-position:center;background-size:48px 48px;opacity:.08;pointer-events:none}.id-card[data-model="2"]{--card-main:#3e6f55;--card-tint:#f1f5f2;--card-paper:#fff;border-radius:4px;box-shadow:none}.id-card[data-model="3"]{--card-main:#123b66;--card-tint:#e9f1fa;--card-paper:#fff;border-radius:18px}.id-card[data-model="4"]{--card-main:#8a5b22;--card-tint:#fbf2df;--card-paper:#fffdf7;border-style:double}.id-card header{height:38px;padding:5px 10px;background:var(--card-main);color:#fff;display:flex;align-items:center;gap:9px}.id-card-mark{width:26px;height:26px;border-radius:50%;background:#ffffffd9;color:var(--card-main);display:grid;place-items:center;font-weight:800}.id-card-institution{font-size:12px;font-weight:800}.id-card-body{display:flex;gap:11px;padding:10px 12px;align-items:center;flex:1}.id-card-photo,.id-card-placeholder{width:64px;height:84px;object-fit:cover;flex:0 0 auto;border:1px solid var(--card-main);border-radius:6px}.id-card-placeholder{display:grid;place-items:center;background:var(--card-tint);color:var(--card-main);font-size:10px;font-weight:700}.id-card-details{display:grid;gap:5px;min-width:0;font-size:10px}.id-card-details strong{font-size:12px;line-height:1.15;overflow-wrap:anywhere}.id-card footer{padding:4px 10px;background:var(--card-tint);color:var(--card-main);font-size:9px;font-weight:700}.id-card footer.id-card-slogan{font-size:7.5px;line-height:1.15;text-align:center;font-style:italic;white-space:normal}.observer-students{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px;margin-top:14px}.observer-student-card{display:grid;gap:9px;padding:14px;border:1px solid #d6e5da;border-radius:12px;background:#fbfdfb}.observer-student-heading{display:flex;gap:12px;align-items:center}.observer-student-heading>div:last-child{display:grid;gap:5px}.observer-student-heading span{font-size:12px;color:#5f7166}.observer-photo-box{width:58px;height:70px;border:1px solid #cbd9cf;border-radius:6px;background:#edf5ef;display:grid;place-items:center;color:#65796b;font-size:10px;overflow:hidden}.observer-photo{width:100%;height:100%;object-fit:cover}.observer-student-card label{display:grid;gap:6px;font-size:12px;font-weight:700}.observer-student-card textarea{width:100%;box-sizing:border-box;border:1px solid #cbd9cf;border-radius:8px;padding:9px;font:inherit}.observer-history{max-height:150px;overflow:auto;border-top:1px solid #e1eae4}.observer-history p{font-size:12px;line-height:1.4;margin:8px 0;color:#40594a}
@media(max-width:600px){.id-card-filters{grid-template-columns:1fr}.id-card{max-width:100%}}
@media print{body.id-card-print *{visibility:hidden!important}body.id-card-print #id-cards-panel,body.id-card-print #id-cards-panel *{visibility:visible!important}body.id-card-print #id-cards-panel{position:absolute;left:0;top:0;width:100%;padding:0;margin:0;border:0;box-shadow:none;background:#fff}body.id-card-print #id-cards-panel> :not(#id-cards-results){display:none!important}body.id-card-print #id-cards-results{display:grid;grid-template-columns:repeat(2,85.6mm);gap:6mm;justify-content:center;margin:0}body.id-card-print .id-card{width:85.6mm;height:54mm;min-height:54mm;box-shadow:none;break-inside:avoid;page-break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}body.id-card-print .id-card-photo,body.id-card-print .id-card-placeholder{width:17mm;height:22mm}body.id-card-print .id-card header{height:10mm}body.id-card-print .id-card-body{padding:2mm 3mm}body.id-card-print .id-card footer{padding:1mm 2mm}body.id-card-print .id-cards-grid{gap:5mm 6mm}}
.attendance-filter{display:grid;grid-template-columns:minmax(240px,2fr) minmax(180px,1fr);gap:12px;align-items:end;margin:16px 0}.academic-report-filter{grid-template-columns:minmax(200px,1.3fr) repeat(3,minmax(145px,1fr))}.attendance-filter label{display:grid;gap:6px;font-size:13px;font-weight:700;color:#344c40}.attendance-filter select,.attendance-filter input,.student-table select[name="status"]{border:1px solid #cbd9cf;border-radius:8px;padding:10px;font:inherit;background:#fff}.student-table select[name="status"]{min-width:175px}.school-workspace>#save-attendance{margin-top:14px}.school-workspace>#attendance-feedback:empty,.school-workspace>#attendance-report-feedback:empty{display:none}.academic-summary-table{min-width:1000px}.academic-summary-table th:not(:first-child),.academic-summary-table td:not(:first-child){text-align:center}.student-table input[name="performanceCode"],.student-table input[name="score"],.student-table input[name="recoveryScore"],.student-table input[name="levelingScore"]{width:125px;border:1px solid #cbd9cf;border-radius:8px;padding:9px;font:inherit}.student-table select[aria-label^="Director de grupo"]{min-width:180px;border:1px solid #cbd9cf;border-radius:8px;padding:8px;font:inherit;background:#fff}.student-table input:disabled{background:#eef2ef;color:#748278}@media(max-width:700px){.attendance-filter,.academic-report-filter,.bulletin-filter{grid-template-columns:1fr}}
.performance-catalog-panel{margin:14px 0;padding:12px 14px;border:1px solid #d5e2d8;border-radius:10px;background:#fbfdfb}.performance-catalog-panel summary{cursor:pointer;color:#1d5c32;font-weight:700}.performance-catalog-panel textarea{font:inherit;resize:vertical}
.bulletin-filter{grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(160px,1fr));margin:14px 0}.bulletin-director{display:block;margin-top:3px;font-size:12px;font-weight:700;color:#315d3f}.bulletin-position{margin:6px 0;font-size:12px;font-weight:700}.student-table select[aria-label^="Director de grupo"]{min-width:180px;border:1px solid #cbd9cf;border-radius:8px;padding:8px;font:inherit;background:#fff}.bulletin-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.bulletin-results{display:grid;gap:20px}.bulletin-page{position:relative;padding:22px;border:2px solid #216a3b;border-radius:18px;background:#fff;box-shadow:0 8px 24px #173b2414;color:#20332a}.bulletin-header{text-align:center;border-bottom:2px solid #d8e8dc;padding-bottom:10px;margin-bottom:12px}.bulletin-header h2{margin:0;color:#1c6334;font-size:22px}.bulletin-header h3{margin:4px 0 0;font-size:14px;letter-spacing:.05em}.bulletin-identity{display:grid;gap:4px;padding:10px 12px;margin:12px 0;border-radius:10px;background:#eef5ef;font-size:12px;font-weight:600}.bulletin-table{width:100%;border-collapse:collapse;font-size:11px}.bulletin-table th,.bulletin-table td{border:1px solid #b7c9bc;padding:6px 5px;text-align:center;vertical-align:middle}.bulletin-table th{background:#236c3c;color:#fff}.bulletin-table td:first-child{text-align:left}.bulletin-subject small{display:block;margin-top:3px;color:#52645a;font-weight:400}.bulletin-subject .bulletin-achievement{color:#1e5f35;font-style:italic}.bulletin-table td small{display:block;margin-top:3px;color:#1e5f35;font-size:.9em;font-weight:600}.bulletin-convivencia td{background:#f1f7f2}.bulletin-convivencia td:first-child{font-weight:700}.bulletin-convivencia td:last-child{text-align:left}.bulletin-average{margin:12px 0;font-weight:700;color:#1d5c32}.bulletin-signatures{display:flex;justify-content:space-around;gap:40px;margin:38px 0 12px;text-align:center}.bulletin-signatures>div{width:35%}.bulletin-signatures span{display:block;border-top:1px solid #384c40;margin-bottom:5px}.bulletin-print-one{display:block;margin:12px 0 0 auto}
@media print{@page{size:A4 portrait;margin:12mm}body.single-bulletin-print .bulletin-page:not(.selected-print){display:none!important}body *{visibility:hidden!important}.bulletin-results,.bulletin-results *{visibility:visible!important}.bulletin-results{position:absolute;inset:0;display:block}.bulletin-page{display:block;position:relative;width:100%;min-height:265mm;box-sizing:border-box;margin:0 0 0;padding:10mm;border:2px solid #216a3b;border-radius:12px;box-shadow:none;break-after:page;page-break-after:always;-webkit-print-color-adjust:exact;print-color-adjust:exact}.bulletin-page:last-child{break-after:auto;page-break-after:auto}.bulletin-print-one,.bulletin-actions{display:none!important}.bulletin-table{font-size:8.5pt}.bulletin-table th,.bulletin-table td{padding:4px}.bulletin-signatures{margin-top:28mm}}
@media print{.schedule-print #generate-timetable-random,.schedule-print #download-timetable,.schedule-print #download-timetable-pdf,.schedule-print #print-timetable{display:none!important}.schedule-print .timetable-heading-banner{height:42mm;break-inside:avoid}.schedule-print .timetable-panel::before{opacity:.045}}
.brand{position:relative;min-height:150px;overflow:hidden;padding:18px 22px;border-radius:16px;background:#16482e;color:#fff;isolation:isolate}.brand-classroom{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 66%}.brand::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#103a2ddd 0%,#103a2d9c 45%,#103a2d16 100%);pointer-events:none}.brand-mark,.brand-copy{position:relative;z-index:1}.brand-mark{flex:0 0 52px}.brand .eyebrow{color:#e2f3e7}.brand h1{color:#fff;text-shadow:0 1px 4px #10271966}.brand h1 span{color:#b8e5c3}#school.card{position:relative;isolation:isolate;background:transparent;overflow:hidden}#school.card::before{content:"";position:absolute;inset:0;z-index:-1;background-image:url("/assets/escudo_jireh.png");background-repeat:repeat;background-size:108px 108px;background-position:center;opacity:.055;pointer-events:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}.school-workspace,#personnel-management-panel{background-color:#ffffffed}
@media(max-width:600px){.brand{min-height:126px;padding:14px}.brand-classroom{object-position:center 67%}.brand h1{font-size:20px}.brand-mark{width:44px;height:44px;flex-basis:44px}}
.brand-classroom{filter:brightness(1.24) saturate(1.06)}.brand::after{background:linear-gradient(90deg,#103a2db8 0%,#103a2d72 42%,#103a2d0d 100%)}.timetable-heading-banner>img{filter:brightness(1.15) saturate(1.04)}
.bulletin-header-legal{display:grid;grid-template-columns:1fr minmax(0,4fr) 1fr;align-items:center;column-gap:12px}.bulletin-header-legal h2,.bulletin-header-legal h3{grid-column:1/-1}.bulletin-crest{width:58px;height:62px;object-fit:contain;justify-self:center}.bulletin-legal-text{display:grid;gap:3px;font-size:10px;font-weight:650;line-height:1.3}.bulletin-performance-cell{text-align:left!important;min-width:190px;font-size:10px}.bulletin-slogan{margin:18px 0 0;text-align:center;font-family:"Monotype Corsiva",cursive;font-size:10pt;font-style:italic;color:#1c6334}.student-table input[aria-label^="Intensidad horaria"]{width:105px;border:1px solid #cbd9cf;border-radius:7px;padding:7px;font:inherit}.student-table button.save-intensity{padding:7px 9px;font-size:11px;white-space:nowrap}
.bulletin-slogan{margin-top:auto}.bulletin-page{display:flex;flex-direction:column}@media print{.bulletin-page{display:flex;flex-direction:column}}
.bulletin-table{table-layout:fixed}.bulletin-col-subject{width:19%}.bulletin-col-hours{width:5%}.bulletin-col-period{width:6%}.bulletin-col-definitive{width:9%}.bulletin-col-level{width:7%}.bulletin-col-leveling{width:9%}.bulletin-col-performance{width:auto}.bulletin-table th.bulletin-col-hours,.bulletin-table td:nth-child(2),.bulletin-table th.bulletin-col-period,.bulletin-table th.bulletin-col-definitive,.bulletin-table th.bulletin-col-level{text-align:center}.bulletin-table td.bulletin-performance-cell{overflow-wrap:anywhere}

@media print {
  @page timetableLandscape { size: A4 landscape; margin: 7mm; }
  body.schedule-print { min-height: 0; background: #fff !important; }
  body.schedule-print * { visibility: hidden !important; }
  body.schedule-print > .shell > :not(#school) { display: none !important; }
  body.schedule-print .shell { max-width: none; margin: 0; padding: 0; }
  body.schedule-print #school { display: block !important; position: static !important; overflow: visible !important; margin: 0; padding: 0; border: 0; box-shadow: none; background: #fff !important; }
  body.schedule-print #school > :not(.school-workspace) { display: none !important; }
  body.schedule-print .school-workspace { display: block !important; position: static !important; margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent !important; }
  body.schedule-print .school-workspace > :not(#timetable-panel) { display: none !important; }
  body.schedule-print #school,
  body.schedule-print .school-workspace,
  body.schedule-print #timetable-panel,
  body.schedule-print #timetable-panel * { visibility: visible !important; }
  body.schedule-print #school { position: static !important; overflow: visible !important; }
  body.schedule-print #timetable-panel {
    position: relative; width: 100%; margin: 0; padding: 0;
    border: 0; border-radius: 0; box-shadow: none; overflow: visible;
  }
  body.schedule-print #timetable-panel > :not(.timetable-heading-banner):not(.timetable-grid-scroll) { display: none !important; }
  body.schedule-print .timetable-heading-banner {
    height: 24mm; margin: 0 0 3mm; border-radius: 2mm; break-inside: avoid;
  }
  body.schedule-print .timetable-heading-banner::after {
    content: attr(data-print-group); position: absolute; right: 3mm; bottom: 2mm;
    padding: 1.5mm 3mm; border-radius: 2mm; background: #103b2bcf; color: #fff;
    font-size: 10pt; font-weight: 700;
  }
  body.schedule-print .timetable-grid-scroll { overflow: visible !important; margin: 0; border: 0; border-radius: 0; }
  body.schedule-print .timetable-grid {
    width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse;
    font-size: 7pt; background: #fff;
  }
  body.schedule-print .timetable-grid th,
  body.schedule-print .timetable-grid td { padding: 1.5mm 1mm !important; border: .25mm solid #a9c4af; }
  body.schedule-print .timetable-grid thead th { position: static; background: #eaf4ed !important; }
  body.schedule-print .timetable-grid .timetable-time-heading,
  body.schedule-print .timetable-grid .timetable-time-cell { min-width: 18mm; width: 18mm; white-space: nowrap; }
  body.schedule-print .timetable-grid-cell { min-width: 0; height: auto; vertical-align: middle; }
  body.schedule-print .timetable-class-card { gap: 1mm; margin: 0; padding: 1.5mm; border-left-width: 1mm; border-radius: 1mm; font-size: 7pt; break-inside: avoid; }
  body.schedule-print .timetable-class-card span { font-size: 6.5pt; }
  body.schedule-print .timetable-delete,
  body.schedule-print .timetable-slot-add { display: none !important; }
  body.schedule-print .timetable-panel::before { opacity: .035; }
}

#timetable-print-sheet { display: none; }
@media print {
  body.schedule-print .shell { display: none !important; }
  body.schedule-print > #timetable-print-sheet {
    display: block !important; position: relative; isolation: isolate; width: 100%; margin: 0; padding: 0;
    color: #183047; background: #fff; visibility: visible !important;
    page: timetableLandscape;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  body.schedule-print > #timetable-print-sheet::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: url("/assets/escudo_jireh.png") repeat center / 34mm 34mm; opacity: .045;
  }
  body.schedule-print > #timetable-print-sheet * { visibility: visible !important; }
  .timetable-print-banner { position: relative; height: 24mm; margin: 0 0 3mm; overflow: hidden; border-radius: 2mm; background: #174f2e; }
  .timetable-print-banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
  .timetable-print-heading { position: absolute; left: 3mm; bottom: 2mm; display: grid; gap: 1mm; padding: 1.5mm 3mm; border-radius: 2mm; background: #103b2bcf; color: #fff; }
  .timetable-print-heading strong { font-size: 12pt; }
  .timetable-print-heading span { font-size: 8pt; }
  #timetable-print-sheet .timetable-grid { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; font-size: 7pt; }
  #timetable-print-sheet .timetable-grid th,
  #timetable-print-sheet .timetable-grid td { padding: 1.5mm 1mm !important; border: .25mm solid #a9c4af; }
  #timetable-print-sheet .timetable-grid thead th { position: static; background: #eaf4ed !important; }
  #timetable-print-sheet .timetable-grid .timetable-time-heading,
  #timetable-print-sheet .timetable-grid .timetable-time-cell { min-width: 18mm; width: 18mm; white-space: nowrap; }
  #timetable-print-sheet .timetable-grid-cell { min-width: 0; height: 25mm; vertical-align: middle; }
  #timetable-print-sheet .timetable-class-card { gap: 1mm; margin: 0; padding: 1.5mm; border-left-width: 1mm; border-radius: 1mm; color: #164d2b !important; font-size: 8.5pt; opacity: 1 !important; break-inside: avoid; }
  #timetable-print-sheet .timetable-class-card strong,
  #timetable-print-sheet .timetable-class-card span { display: block; visibility: visible !important; color: #164d2b !important; opacity: 1 !important; }
  #timetable-print-sheet .timetable-class-card span { font-size: 7.5pt; }
  #timetable-print-sheet .timetable-grid.weekdays-only th:last-child,
  #timetable-print-sheet .timetable-grid.weekdays-only td:last-child { display: none; }
}
.bulletin-identity{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;column-gap:18px;row-gap:6px}.bulletin-meta-field{min-width:0;display:flex;gap:3px;align-items:baseline;line-height:1.35;overflow-wrap:anywhere}.bulletin-meta-field strong{flex:0 0 auto;color:#315d3f}.bulletin-position{margin:0;padding:0;font-size:12px;font-weight:700;line-height:1.35;color:#315d3f}
.bulletin-identity{grid-template-columns:repeat(2,minmax(0,1fr))}.bulletin-identity-column{display:grid;align-content:start;gap:6px;min-width:0}.bulletin-page{isolation:isolate;overflow:hidden}.bulletin-page::before{content:"";position:absolute;inset:0;background-image:url("/assets/escudo_jireh.png");background-repeat:no-repeat;background-position:center 54%;background-size:min(48%,260px) auto;opacity:.075;pointer-events:none;z-index:-1;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.bulletin-identity{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
.bulletin-page::before{background-size:min(78%,420px) auto}
.bulletin-header h3{font-size:16pt}.bulletin-header h2,.bulletin-legal-text{font-size:8pt}.bulletin-print-one{margin:0 0 18px auto}.bulletin-slogan{margin-top:auto;padding-top:14px}@media print{.bulletin-page:last-of-type{break-after:auto;page-break-after:auto}}
.bulletin-header h2{font-size:14pt}.bulletin-header h3{font-size:12pt}.bulletin-legal-text{font-size:8pt}.bulletin-col-subject{width:17%}.bulletin-col-hours{width:5%}.bulletin-col-period{width:6%}.bulletin-col-definitive{width:12%}.bulletin-col-level{width:13%}.bulletin-col-leveling{width:9%}.bulletin-table th{white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.15;padding-left:3px;padding-right:3px}
.bulletin-crest-city{transform:scale(1.45);transform-origin:center center}.bulletin-header h3{font-size:11pt}
.bulletin-performance-row td{text-align:left!important;font-size:9px;line-height:1.25;padding:4px 7px;background:#f7faf7;color:#1e5f35;font-style:italic}
.bulletin-observation-panel{margin:14px 0;padding:14px;border:1px solid #d8e4db;border-radius:12px}.bulletin-observation-panel summary{cursor:pointer;font-weight:750;color:#285f3b}.bulletin-observation-rows{display:grid;gap:10px;margin:12px 0}.bulletin-observation-item{display:grid;grid-template-columns:minmax(150px,1fr) minmax(260px,3fr);align-items:center;gap:12px;font-size:13px;font-weight:650}.bulletin-observation-item textarea{width:100%;resize:vertical;border:1px solid #cbd9cf;border-radius:8px;padding:8px;font:inherit}.bulletin-observation-panel button{margin:4px 0}.bulletin-observation-row th{text-align:center!important;vertical-align:middle;white-space:nowrap}.bulletin-observation-row td{text-align:left!important;height:24px;line-height:1.3}.bulletin-promotion-status{display:inline-block;margin-top:3px;color:#216946;font-weight:800}.bulletin-promotion-status.not-promoted{color:#9b3d3d}.bulletin-level-criteria td{text-align:center!important;font-size:6pt;font-weight:650;background:#f7faf7;color:#30483a;white-space:normal;line-height:1.3}
.bulletin-slogan{font-size:6pt}
.bulletin-signatures small{display:block}.bulletin-signatures small:first-of-type{white-space:nowrap;font-weight:700}
.timetable-panel{margin:10px 0}.timetable-form{grid-template-columns:repeat(3,minmax(0,1fr))}.timetable-filter{display:grid;grid-template-columns:minmax(240px,1fr);max-width:420px;margin:10px 0;font-size:13px;font-weight:700;gap:6px}.timetable-filter select,.academic-summary-options select,.academic-summary-options input{border:1px solid #cbd9cf;border-radius:8px;padding:9px;font:inherit;background:#fff}.timetable-grid-scroll{margin-top:12px;border:1px solid #d8e5dc;border-radius:12px}.timetable-grid{min-width:900px;border-collapse:separate;border-spacing:0}.timetable-grid thead th{position:sticky;top:0;background:#eaf4ed;color:#145b31;text-align:center;z-index:1}.timetable-grid .timetable-time-heading,.timetable-grid .timetable-time-cell{min-width:105px;background:#f4f7f5;color:#28473a;text-align:center;white-space:nowrap}.timetable-grid-cell{vertical-align:top;min-width:120px;height:74px;padding:6px!important;background:#fff}.timetable-class-card{display:grid;gap:4px;margin:2px 0 5px;padding:7px;border-left:4px solid #287c43;border-radius:7px;background:#edf6ef;font-size:12px}.timetable-class-card strong{color:#164d2b}.timetable-class-card span{font-size:11px;color:#536b5a}.timetable-class-card .timetable-delete{justify-self:start;padding:3px 7px;font-size:11px}.timetable-empty{text-align:center;color:#6b7d72;padding:28px!important}.academic-summary-options{display:flex;align-items:end;gap:12px;margin:12px 0}.academic-summary-options label{display:grid;gap:6px;max-width:280px;font-size:13px;font-weight:700;color:#344c40}.academic-summary-options input{width:130px}@media(max-width:700px){.timetable-form{grid-template-columns:1fr}.academic-summary-options{align-items:stretch;flex-direction:column}}
.timetable-day-limit{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0;padding:10px 12px;border:1px solid #d8e5dc;border-radius:10px;background:#f7faf7}.timetable-day-limit label{font-weight:700;color:#254b35}.timetable-day-limit input{width:82px;border:1px solid #cbd9cf;border-radius:8px;padding:8px;font:inherit}.timetable-day-limit button:disabled{opacity:.5;cursor:not-allowed}.timetable-day-limit .muted{font-size:12px}
.timetable-grid.weekdays-only th:last-child,.timetable-grid.weekdays-only td:last-child{display:none}
.recovery-panel{margin-top:18px;border-top:1px solid #e8eee9;padding-top:14px}.recovery-panel summary{cursor:pointer;color:#286940;font-weight:750}.recovery-panel[open]{margin-top:18px}
.id-card header{position:relative;justify-content:center;height:auto;min-height:38px;padding:5px 38px;text-align:center}.id-card-mark{position:absolute;left:7px;top:50%;transform:translateY(-50%)}.id-card-heading{display:grid;justify-items:center;gap:2px;width:100%}.id-card-institution{text-align:center;line-height:1.15}.id-card-legal{display:grid;justify-items:center;font-size:7px;font-weight:600;line-height:1.1}.id-card header .id-card-legal span{color:#fff}.id-card-crest{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:25px;height:30px;object-fit:contain}@media print{body.id-card-print #id-cards-panel .id-card header{height:auto;min-height:12mm;padding:1mm 9mm}.id-card header .id-card-legal{font-size:5.5pt}.id-card-crest{width:8mm;height:10mm;right:2mm}}
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#183047;background:#f3f7f5;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 90% 0,#e0f1e4 0,transparent 38%),#f3f7f5}.shell{max-width:1120px;margin:0 auto;padding:34px 24px 28px}.brand{display:flex;align-items:center;gap:15px;margin-bottom:30px}.brand-mark{width:52px;height:52px;border-radius:16px;background:#23743d;color:white;display:grid;place-items:center;font-weight:900;font-size:28px;box-shadow:0 8px 18px #1c663b33}.brand h1{font-size:25px;margin:1px 0}.brand h1 span{color:#2c8050}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.13em;color:#558263;margin:0 0 6px}.notice{margin:0 0 22px;padding:12px 15px;border-radius:12px;background:#e8f1eb;color:#385947;min-height:44px}.notice.error{background:#fff0ec;color:#9a3624}.notice.success{background:#e5f5e9;color:#286b3d}.card{background:white;border:1px solid #e1eae4;border-radius:18px;padding:24px;box-shadow:0 12px 35px #2349320b}.card h2{font-size:23px;margin:0 0 9px}.card h3{font-size:17px;margin:0 0 18px}.card h4{margin:2px 0 0}.muted{color:#667a71;line-height:1.55}.form{display:grid;gap:15px;margin-top:22px}.form>label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#344c40}.form input,.form select{font:inherit;font-weight:400;color:#1c3329;background:#fff;border:1px solid #cbd9cf;border-radius:10px;padding:12px 13px;min-width:0}.form input:focus,.form select:focus{outline:3px solid #d6ecdc;border-color:#378453}.form small{font-size:11px;font-weight:400;color:#748278}.primary,.quiet{border:0;border-radius:10px;padding:12px 16px;font:inherit;font-weight:750;cursor:pointer}.primary{background:#247b41;color:#fff}.primary:hover{background:#1c6535}.quiet{background:#edf4ef;color:#2a6040}.quiet:hover{background:#e0ece3}.hidden{display:none!important}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.page-heading h2{margin:0 0 4px}.page-heading p{margin:3px 0}.columns{display:grid;grid-template-columns:minmax(310px,.85fr) minmax(420px,1.15fr);gap:18px;align-items:start}.form fieldset{border:1px solid #d8e4db;border-radius:12px;padding:12px 14px 8px;display:grid;gap:12px}.form legend{font-size:12px;font-weight:800;color:#4d6c57;padding:0 5px}.form .check{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:550}.form .check input{accent-color:#247b41}.rule{height:1px;background:#edf1ed}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.list-heading h3{margin-bottom:0}.institution-list{display:grid;gap:11px;margin-top:18px}.institution{border:1px solid #e2eae4;border-radius:13px;padding:15px}.institution-top{display:flex;justify-content:space-between;gap:12px}.institution h4{margin:0 0 5px;font-size:15px}.institution small,.institution p{margin:0;color:#6d7c72;font-size:12px}.pill{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;background:#e2f4e7;color:#286940;height:max-content}.pill.suspended{background:#fff0dc;color:#835414}.module-list{display:flex;flex-wrap:wrap;gap:10px;margin:13px 0 20px}.module-chip{border-radius:999px;background:#e8f3eb;color:#26643d;padding:8px 12px;font-weight:700;font-size:13px}.note{border-top:1px solid #e8eee9;padding-top:14px}footer{text-align:center;color:#839087;font-size:11px;padding:24px 0 8px}@media(max-width:800px){.shell{padding:22px 14px}.columns{grid-template-columns:1fr}.page-heading{align-items:flex-start}.brand h1{font-size:22px}}
.personnel-panel{margin:16px 0 22px}.personnel-panel .student-form{margin:12px 0 20px}
.workspace-module{margin:12px 0;border:1px solid #dce8df;border-radius:14px;background:#fff;overflow:hidden}.workspace-module>summary,.personnel-panel>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:14px 18px;color:#195c31;font-size:16px;font-weight:800;background:#edf5ef}.workspace-module>summary::-webkit-details-marker,.personnel-panel>summary::-webkit-details-marker{display:none}.workspace-module>summary::before,.personnel-panel>summary::before{content:"›";display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#dcecdf;color:#23683a;font-size:22px;line-height:1;transform:rotate(0);transition:transform .16s ease}.workspace-module[open]>summary::before,.personnel-panel[open]>summary::before{transform:rotate(90deg)}.workspace-module[open]>summary,.personnel-panel[open]>summary{border-bottom:1px solid #e1eae4}.workspace-module>*:not(summary){margin-left:18px;margin-right:18px}.workspace-module>*:last-child{margin-bottom:18px}.workspace-module>.workspace-module-heading{display:none}.personnel-panel-content{margin-top:14px}.personnel-panel-content h3{margin:0 0 10px}.personnel-panel>form,.personnel-panel>.student-list-heading,.personnel-panel>.table-scroll,.personnel-panel>div:not(:first-of-type),.personnel-panel>p{margin-left:18px;margin-right:18px}.personnel-panel>form:last-of-type{margin-bottom:18px}
@media print{body[data-school-role="teacher"] .bulletin-results,body[data-school-role="teacher"] .bulletin-results *{display:none!important;visibility:hidden!important}}

.timetable-slot-add{width:100%;height:100%;min-height:60px;border:1px dashed #b7cdbd;border-radius:8px;background:#f8fbf8;color:#287c43;font:600 12px sans-serif;cursor:pointer}.timetable-slot-add:hover:not(:disabled){background:#eaf4ed;border-color:#287c43}.timetable-slot-add:disabled{cursor:not-allowed;opacity:.45}.timetable-dialog{width:min(440px,calc(100vw - 36px));border:1px solid #d6e5da;border-radius:14px;padding:22px;box-shadow:0 18px 55px #10271944}.timetable-dialog::backdrop{background:#10271966}.timetable-dialog form{display:grid;gap:14px}.timetable-dialog h3{margin:0;color:#164d2b}.timetable-dialog label{display:grid;gap:6px;font-size:13px;font-weight:700}.timetable-dialog select,.timetable-dialog input{box-sizing:border-box;width:100%;border:1px solid #cbd9cf;border-radius:8px;padding:10px;font:inherit;background:#fff}.timetable-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.schedule-print #timetable-slot-dialog{display:none!important}
.password-control{display:flex;align-items:stretch;gap:8px;width:100%;min-width:0}.password-control input{flex:1;min-width:0;width:100%}.password-toggle{flex:0 0 auto;border:1px solid #cbd9cf;border-radius:9px;padding:0 12px;background:#edf4ef;color:#2a6040;font:inherit;font-size:12px;font-weight:750;cursor:pointer}.password-toggle:hover{background:#e0ece3}.password-toggle:focus-visible{outline:3px solid #d6ecdc;border-color:#378453}
.timetable-panel{position:relative;isolation:isolate;overflow:hidden;padding:16px;border:1px solid #d7e4da;border-radius:16px;background:#ffffffd9}.timetable-panel::before{content:"";position:absolute;inset:0;z-index:-1;background-image:url("/assets/escudo_jireh.png");background-repeat:repeat;background-size:88px 88px;background-position:center;opacity:.045;pointer-events:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}.timetable-heading-banner{position:relative;height:145px;overflow:hidden;border-radius:12px;background:#174f2e;margin-bottom:14px}.timetable-heading-banner>img{width:100%;height:100%;object-fit:cover;object-position:center 56%;display:block}.timetable-heading-copy{position:absolute;left:16px;bottom:12px;padding:8px 12px;border-radius:10px;background:#103b2bcf;color:#fff}.timetable-heading-copy .eyebrow{color:#d3edda}.timetable-heading-copy h3{margin:0;color:#fff;font-size:20px}.timetable-toolbar{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.timetable-grid{background:#ffffff9c}.timetable-grid-cell{background:#ffffffc7}
.bulletin-template-choice{display:grid;gap:6px;max-width:560px;margin:12px 0;font-size:13px;font-weight:700;color:#344c40}.bulletin-template-choice select{width:100%;border:1px solid #cbd9cf;border-radius:9px;padding:10px 12px;background:#fff;font:inherit;color:#1c3329}
.pree-bulletin{width:min(100%,210mm);min-height:330mm;margin:8px auto;padding:9mm;border:1.2mm solid #236d42;border-radius:8mm;background:#fff;box-shadow:0 8px 24px #173b2414;color:#203f37;font-family:"Segoe Print","Comic Sans MS","Trebuchet MS",sans-serif;font-size:9pt;line-height:1.35;break-after:page;page-break-after:always;print-color-adjust:exact;-webkit-print-color-adjust:exact}.pree-bulletin:last-of-type{break-after:auto;page-break-after:auto}.pree-bulletin .pree-header{position:relative;margin:-1mm -1mm 4mm;padding:4mm 2mm 2mm;border-bottom:1px solid #cadfce;text-align:center}.pree-sample-badge{position:absolute;right:0;top:0;padding:1mm 2mm;border-radius:2mm;background:#fff4d5;color:#79591f;font:bold 6.5pt "Segoe UI",sans-serif}.pree-brand{display:flex;position:relative;align-items:center;justify-content:center;gap:5mm;min-height:27mm}.pree-crest{width:20mm;height:25mm;object-fit:contain}.pree-name-banner{display:flex;flex:1;min-width:0;min-height:20mm;flex-direction:column;align-items:center;justify-content:center;padding:2mm 4mm;border:1px solid #dfb967;border-radius:4mm;background:#fff1c8;color:#28894a}.pree-school-prefix{font:14pt "Comic Sans MS","Trebuchet MS",sans-serif}.pree-school-name{display:block;max-width:100%;overflow-wrap:anywhere;color:#287b46;font:20pt "Comic Sans MS","Trebuchet MS",sans-serif;line-height:1.05}.pree-leaf-mark{position:absolute;right:1mm;color:#34a757;font-size:38pt;line-height:1}.pree-subtitle{display:grid;gap:1mm;margin-top:2mm;color:#267447;font-size:8pt}.pree-subtitle strong{font-family:"Comic Sans MS","Trebuchet MS",sans-serif;font-size:9.5pt}.pree-legal{display:grid;gap:.6mm;margin-top:2mm;color:#526a5b;font:6.2pt "Segoe UI",sans-serif}.pree-header-animals .pree-brand{gap:3mm}.pree-header-animals .pree-name-banner{min-height:23mm;border-width:1.2px}.pree-header-animals .pree-school-prefix{font-size:13pt}.pree-header-animals .pree-school-name{font-size:19pt;color:#86521f}.pree-header-animals .pree-subtitle{margin-top:1mm}.pree-animal{display:inline-block;flex:none;width:12mm;height:12mm;background-repeat:no-repeat;background-size:400% 200%}.pree-header-animal{position:absolute;bottom:-2mm;width:15mm;height:15mm}.pree-header-animal-left{left:15mm}.pree-header-animal-right{right:15mm}.pree-header-growing .pree-name-banner{background:#20a84b;border-color:#168239;color:#fff}.pree-header-growing .pree-school-name{color:#fff;font-size:17pt}.pree-header-growing .pree-crest{width:22mm;height:27mm}.pree-bulletin-growing .pree-brand{justify-content:flex-start}.pree-bulletin-growing .pree-name-banner{margin-right:9mm}.pree-section-title{margin:2mm 0 1mm;color:#1d6841;font:12pt "Comic Sans MS","Trebuchet MS",sans-serif}.pree-dimensions{width:100%;table-layout:fixed;border-collapse:collapse;font:8pt "Segoe Print","Comic Sans MS","Trebuchet MS",sans-serif}.pree-dimensions th,.pree-dimensions td{border:1px solid #b7d3bf;padding:2mm 1.5mm;vertical-align:middle}.pree-dimensions th{background:#17694f;color:#fff;text-align:center;font:8pt "Comic Sans MS","Trebuchet MS",sans-serif}.pree-dimensions th:first-child{text-align:left}.pree-dimensions-animals .pree-dimension-label{width:56%}.pree-dimensions-growing .pree-dimension-label{width:54%}.pree-period-heading{width:8%}.pree-dimension-name{display:flex;align-items:center;gap:2mm;text-align:left!important;background:#f4faf5}.pree-row-animal{width:11mm;height:11mm}.pree-dimension-copy{display:grid;gap:1mm;min-width:0}.pree-dimension-copy strong{color:#1c5239}.pree-dimension-description{font-size:7pt;line-height:1.2;color:#52675b}.pree-rating-cell{text-align:center;font:bold 11pt "Comic Sans MS","Trebuchet MS",sans-serif}.pree-rating-cell.rating-c{color:#399cf5}.pree-rating-cell.rating-a{color:#28a74c}.pree-rating-cell.rating-p{color:#d7940d}.pree-rating-cell.rating-i{color:#e44f58}.pree-definitive-cell{background:#f2ecfa}.pree-achievement-row td{background:#eaf5e8;color:#425c4b;text-align:left!important;font-size:7pt;line-height:1.25}.pree-growing-dot{display:grid;flex:none;width:7mm;height:7mm;place-items:center;border-radius:50%;background:#e7f5e3;color:#28a74c;font-size:11pt}.pree-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:3mm;margin-top:4mm}.pree-scale-card,.pree-absence-card{padding:3mm;border:1px solid #cadfce;border-radius:3mm;background:#f3f9f3}.pree-lower-grid h4,.pree-summary-card h4{margin:0 0 2mm;color:#216946;font:9pt "Comic Sans MS","Trebuchet MS",sans-serif}.pree-scale-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5mm}.pree-scale-item{display:flex;align-items:center;gap:2mm;font-size:7pt}.pree-scale-item strong{display:grid;width:6mm;height:6mm;place-items:center;border-radius:50%;background:#fff;font-size:8pt}.pree-scale-item.rating-c strong{color:#399cf5}.pree-scale-item.rating-a strong{color:#28a74c}.pree-scale-item.rating-p strong{color:#d7940d}.pree-scale-item.rating-i strong{color:#e44f58}.pree-absence-card{display:flex;align-items:center;justify-content:center;color:#45634e;font-weight:700}.pree-footer{display:flex;flex:1;flex-direction:column;gap:3mm;margin-top:4mm}.pree-summary-card{padding:3mm 4mm;border:1px solid #cadfce;border-radius:3mm;background:#f3f9f3}.pree-summary-card p{min-height:6mm;margin:0;font-size:8pt;white-space:pre-wrap}.pree-convivencia{background:#fff5f5;border-color:#ffd8d9}.pree-convivencia h4{color:#a33d3d}.pree-observations{background:#fffbee;border-color:#ffe8a0}.pree-signatures{display:flex;justify-content:space-around;gap:12mm;margin-top:auto;padding-top:10mm;text-align:center}.pree-signatures>div{display:grid;width:38%;min-height:15mm;align-content:end;justify-items:center;gap:1mm}.pree-signature-line{width:100%;border-top:1px solid #829a8b}.pree-signatures strong{font-size:7pt}.pree-signatures small{font-size:7pt}.pree-slogan{margin:3mm 0 0;text-align:center;color:#587568;font:italic 9pt "Monotype Corsiva","Segoe Print",cursive}.pree-absence{color:#536a5c;font-size:7pt;text-align:right}
@page preschool-report{size:216mm 330mm;margin:0}@media print{.pree-bulletin{page:preschool-report;width:216mm;height:330mm;min-height:330mm;margin:0;padding:9mm;border:1.2mm solid #236d42;border-radius:0;box-shadow:none;zoom:1;break-after:page;page-break-after:always}.pree-bulletin:last-of-type{break-after:auto;page-break-after:auto}.pree-bulletin .pree-header{margin-bottom:3mm}.pree-dimensions th,.pree-dimensions td{padding:1.5mm 1mm}.pree-lower-grid{margin-top:3mm}.pree-footer{margin-top:3mm}.pree-signatures{padding-top:7mm}.pree-slogan{margin-top:2mm}}
@media print{body.single-bulletin-print .bulletin-page.selected-print{break-after:auto!important;page-break-after:auto!important}}
.pree-bulletin{display:flex;flex-direction:column;overflow:visible}@media print{.pree-bulletin{display:flex;flex-direction:column}}
@media print{
  body.bulletin-print{min-height:0!important;background:#fff!important}
  body.bulletin-print>:not(#bulletin-print-stage){display:none!important}
  body.bulletin-print>#bulletin-print-stage{display:block!important;position:static!important;width:100%!important;margin:0!important;padding:0!important;background:#fff!important}
  body.bulletin-print>#bulletin-print-stage,body.bulletin-print>#bulletin-print-stage *{visibility:visible!important}
  body.bulletin-print #bulletin-print-results{display:block!important;position:static!important;inset:auto!important;width:100%!important;margin:0!important;padding:0!important}
  .pree-bulletin{width:216mm!important;height:330mm!important;min-height:330mm!important;max-height:330mm!important;box-sizing:border-box!important;margin:0!important;padding:6mm!important;overflow:hidden!important;break-inside:avoid!important;page-break-inside:avoid!important;font-size:7.5pt;line-height:1.12}
  .pree-bulletin .pree-header{margin:0 0 2mm;padding:2mm 1mm 1.5mm}
  .pree-brand{min-height:21mm;gap:3mm}
  .pree-crest{width:16mm;height:20mm}
  .pree-name-banner,.pree-header-animals .pree-name-banner{min-height:17mm;padding:1mm 2mm}
  .pree-school-prefix{font-size:11pt}
  .pree-school-name,.pree-header-animals .pree-school-name{font-size:16pt}
  .pree-header-growing .pree-crest{width:17mm;height:21mm}
  .pree-header-animal{width:10mm;height:10mm}
  .pree-subtitle{margin-top:1mm;font-size:7pt}
  .pree-subtitle strong{font-size:8pt}
  .pree-legal{gap:.3mm;margin-top:1mm;font-size:5.5pt}
  .pree-identity{gap:1mm;margin:1mm 0 2mm;padding:1.5mm 2mm}
  .pree-identity-column{gap:.7mm}
  .pree-meta-line{font-size:6.5pt}
  .pree-section-title{margin:1mm 0 .5mm;font-size:9pt}
  .pree-dimensions{font-size:6.5pt;line-height:1.05}
  .pree-dimensions th,.pree-dimensions td{padding:.7mm .6mm}
  .pree-dimension-copy{gap:.3mm}
  .pree-dimension-copy strong{font-size:6.5pt}
  .pree-dimension-description,.pree-achievement-row td{font-size:5.5pt;line-height:1.05}
  .pree-row-animal{width:7mm;height:7mm}
  .pree-growing-dot{width:5mm;height:5mm;font-size:8pt}
  .pree-rating-cell{font-size:8pt}
  .pree-definitive-level{font-size:4.8pt}
  .pree-lower-grid{gap:2mm;margin-top:2mm}
  .pree-scale-card,.pree-absence-card{padding:1.5mm}
  .pree-lower-grid h4,.pree-summary-card h4{margin-bottom:.8mm;font-size:7pt}
  .pree-scale-legend{gap:.5mm}
  .pree-scale-item{gap:1mm;font-size:5.5pt}
  .pree-scale-item strong{width:4mm;height:4mm;font-size:6pt}
  .pree-footer{gap:1.5mm;margin-top:1.5mm}
  .pree-summary-card{padding:1.5mm 2mm}
  .pree-summary-card p{min-height:3mm;font-size:6.5pt}
  .pree-signatures{gap:8mm;margin-top:auto;padding-top:3mm}
  .pree-signatures>div{min-height:10mm;gap:.5mm}
  .pree-signatures strong,.pree-signatures small{font-size:5.5pt}
  .pree-slogan{margin-top:1mm;font-size:7pt}
}
.pree-identity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3mm;margin:2mm 0 3mm;padding:3mm 4mm;border:1px solid #b9d8c0;border-radius:3mm;background:#f1f8f2}.pree-identity-column{display:grid;align-content:start;gap:1.5mm;min-width:0}.pree-meta-line{min-width:0;color:#355547;font-size:8pt;overflow-wrap:anywhere}.pree-meta-line strong{color:#17694f}@media(max-width:640px){.pree-identity{grid-template-columns:1fr;gap:1.5mm}}
.pree-definitive-level{display:block;margin-top:.4mm;color:#294b3c;font:700 6pt/1.05 "Segoe UI",Arial,sans-serif}.pree-definitive-cell{vertical-align:middle;line-height:1.05}
.pree-promotion-status{margin-top:2mm!important;padding-top:2mm;border-top:1px solid #d5e2d6;color:#216946;font-weight:800}.pree-promotion-status[data-status="not-promoted"]{color:#9b3d3d}
.pree-promotion-status.not-promoted{color:#9b3d3d}
/* Planilla con actividades ponderadas. */
.weighted-panel { margin: 1rem 0; padding: 1rem; border: 1px solid #b7d7c1; border-radius: 12px; background: #f5faf6; }
.weighted-panel summary { cursor: pointer; font-weight: 700; color: #1b5e20; }
.weighted-activity { display: grid; grid-template-columns: minmax(180px, 1fr) 130px; gap: .75rem; align-items: end; margin-bottom: .65rem; }
.weighted-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.weighted-total { font-weight: 700; }
.weighted-category { display: grid; grid-template-columns: minmax(150px, 1fr) 100px minmax(180px, 1fr) auto; gap: .6rem; align-items: end; margin: .75rem 0; padding: .75rem; border: 1px solid #c5dccb; border-radius: 8px; background: #fff; }
.weighted-table th.weighted-note-column { vertical-align: bottom; min-width: 120px; }
.weighted-table td.weighted-note-column { vertical-align: top; }
.weighted-note-actions { display: flex; align-items: center; justify-content: space-between; gap: .3rem; margin-top: .35rem; }
.weighted-note-actions .quiet { padding: .25rem .5rem; font-size: .8rem; white-space: nowrap; }
.weighted-note-column input { display: block; width: 100%; box-sizing: border-box; }
.weighted-note-column input + input { margin-top: .35rem; }
.piar-print-stage { display: none; }
@page mack-piar { size: letter; margin: 15mm; }
@media print {
 body.piar-print > * { display: none !important; }
 body.piar-print > #piar-print-stage { display: block !important; page: mack-piar; color: #111; background: white; font: 10pt Arial,sans-serif; }
 #piar-print-stage h1 { font-size: 15pt; }
 #piar-print-stage h2 { font-size: 12pt; margin: 5mm 0 2mm; break-after: avoid; }
 #piar-print-stage h3 { font-size: 10pt; margin: 3mm 0 1mm; break-after: avoid; }
 #piar-print-stage p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 1mm 0 3mm; }
 #piar-print-stage footer { margin-top: 8mm; font-size: 8pt; }
}
.weighted-activity:has(select) { grid-template-columns: minmax(140px, 1fr) minmax(150px, 1fr) 120px auto; }
@media (max-width: 800px) { .weighted-category, .weighted-activity:has(select) { grid-template-columns: 1fr; } }
.weighted-table input { min-width: 85px; }
.weighted-table th:first-child, .weighted-table td:first-child { position: sticky; left: 0; background: #f5faf6; min-width: 190px; z-index: 1; }
@media (max-width: 640px) { .weighted-activity { grid-template-columns: 1fr; } }

#attendance-rows select[name="uniformStatus"],#attendance-rows textarea{border:1px solid #cbd9cf;border-radius:8px;padding:10px;font:inherit;background:#fff}#attendance-rows textarea{min-width:200px;resize:vertical}#attendance-rows select[name="uniformStatus"]:disabled{background:#edf2ee;color:#66756b}
#extra-modules-root .extra-module>summary{cursor:pointer;font-weight:750;font-size:18px;color:#285f3b}#extra-modules-root fieldset{border:0;padding:0;margin:0;min-width:0}.extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.extra-grid label,.extra-form fieldset>label{display:grid;gap:6px;font-size:13px;font-weight:700;color:#344c40}.extra-form textarea,.extra-form select{width:100%;min-width:0;border:1px solid #cbd9cf;border-radius:8px;padding:10px;font:inherit;background:#fff}.extra-record,.extra-receipt{border:1px solid #d8e4db;border-radius:12px;padding:14px;margin:14px 0}.extra-record h5{margin:0}.extra-receipt p{white-space:pre-wrap}#extra-modules-root .student-table td{vertical-align:top}#extra-modules-root .student-table .quiet{margin:3px;white-space:nowrap}@media(max-width:700px){.extra-grid{grid-template-columns:1fr}}

/* Consolidado: area, asignatura y nota en orden vertical. */
#academic-summary-head th{white-space:pre-line;min-width:84px;max-width:180px;overflow-wrap:break-word;vertical-align:middle}
.academic-summary-table td{white-space:pre-line;vertical-align:middle}.summary-failed{background:#ffebee;color:#8d2020}.summary-pending{background:#fff8e1;color:#755200}.summary-complete{background:#e8f5e9;color:#225e29}
.academic-summary-options{flex-wrap:wrap}.academic-summary-options label{min-width:150px;flex:1 1 160px}.academic-summary-options select{width:100%;min-width:0}.academic-summary-options input{width:100%;box-sizing:border-box}.academic-summary-options button{flex:0 1 180px}.academic-area-heading+ .table-scroll td:first-child{white-space:pre-line}
#student-feedback:empty,#enrollment-feedback:empty{display:none}#continuing-enrollment{margin:18px 0}#continuing-enrollment>summary{cursor:pointer;font-weight:700;color:#235b38;padding:10px 0}#school-enrollments .student-actions{min-width:200px}
.scale-labels{grid-column:1/-1;width:100%}.scale-labels input{min-width:110px;max-width:230px;box-sizing:border-box}.scale-labels select{min-width:110px}#scale-settings-editor>p{line-height:1.6}#scale-settings-editor button{margin:8px 0}
.bulletin-page.bulletin-generic::before{background-image:none!important}

#academic-summary-options label:has(#academic-summary-filter){flex:0 1 270px;max-width:270px}.academic-report-filter{grid-template-columns:minmax(200px,1fr) minmax(150px,240px)}@media(max-width:700px){.academic-report-filter{grid-template-columns:1fr}}
#academic-summary-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));align-items:start;gap:8px 10px;margin:8px 0}#academic-summary-options label,#academic-summary-options label:has(#academic-summary-filter){min-width:0;max-width:none;gap:4px;font-size:12px;line-height:1.3}#academic-summary-options input,#academic-summary-options select{height:34px;min-height:0;width:100%;box-sizing:border-box;padding:5px 8px;font-size:12px;line-height:1.3}#academic-summary-options label[hidden]{display:none!important}#save-academic-criterion{width:max-content;min-height:0;height:34px;align-self:end;justify-self:start;padding:5px 10px;font-size:12px;line-height:1.3;white-space:nowrap}.academic-report-filter{grid-template-columns:minmax(0,1fr) minmax(120px,.55fr);gap:8px;margin:8px 0}.academic-report-filter select{padding:6px 8px;height:34px;box-sizing:border-box}.academic-report-filter label{gap:4px;font-size:12px}@media(max-width:450px){.academic-report-filter{grid-template-columns:1fr}#academic-summary-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
.module-help-toggle{display:inline-flex;align-items:center;width:max-content;min-height:30px;margin:8px 0;padding:5px 10px;border:1px solid #bfd5c7;border-radius:7px;background:#f3f8f4;color:#245b39;font-size:12px!important;font-weight:600;line-height:1.2;cursor:pointer}.module-help-toggle:focus-visible{outline:2px solid #226a3a;outline-offset:2px}.module-help-content{margin:0 0 12px;padding:10px 12px;border-left:3px solid #a8c7b4;border-radius:0 7px 7px 0;background:#f5f9f6;color:#4b6154;font-size:12px;line-height:1.5}.module-help-content[hidden]{display:none!important}.module-help-content p,.module-help-content .muted{margin:4px 0;font-size:12px;line-height:1.5}.module-help-content p:first-child{margin-top:0}.module-help-content p:last-child{margin-bottom:0}@media print{.module-help-toggle,.module-help-content{display:none!important}}

/* Colgroup conserva el ancho reducido en pantalla e impresión. */
.bulletin-table-compact thead th{width:auto}.bulletin-table-compact .bulletin-subject{overflow-wrap:anywhere}.bulletin-table-compact th.bulletin-col-hours{padding-left:2px;padding-right:2px}
.bulletin-table-compact .bulletin-col-level span{display:block;white-space:nowrap}
.bulletin-table .bulletin-score-row { height: 6mm; }
.bulletin-table .bulletin-period-level-row { height: 6mm; }
.bulletin-table .bulletin-period-level-row td { padding-top: .3mm; padding-bottom: .3mm; color: #1e5f35; font-size: .9em; }
.bulletin-table .bulletin-score-row > td:not([rowspan]) { padding-top: .3mm; padding-bottom: .3mm; }
.bulletin-table .bulletin-score-row > td:not([rowspan]) .bulletin-recovery { display: inline; margin: 0 0 0 4px; font-size: .85em; }
.bulletin-table .bulletin-performance-row { height: 14mm; }
.bulletin-subject-area,.bulletin-subject-name { display: block; }
.bulletin-subject-name { margin-top: 2px; white-space: pre-line; }
.bulletin-area-average { display: block; margin-top: 2px; font-size: .8em; font-weight: normal; }
.bulletin-area-block { break-inside: avoid; page-break-inside: avoid; }
.bulletin-area-block .bulletin-area-definitive { vertical-align: middle; }
.bulletin-area-block .bulletin-area-definitive,.bulletin-area-block .bulletin-area-final-level { background: #edf5ef; color: #18532d; font-weight: bold; }

/* Eslogan institucional centrado y marca del proyecto en el extremo inferior derecho. */
.bulletin-footer{margin-top:auto;padding-top:14px;break-inside:avoid;page-break-inside:avoid}.bulletin-footer .bulletin-slogan{margin:0;padding:0;text-align:center}.bulletin-project-brand{margin-top:8px;text-align:right;align-self:stretch;font:6pt "Segoe UI",sans-serif;color:#52645a;line-height:1.3}.pree-footer .bulletin-project-brand{margin-top:0}

/* Escudos simétricos a ambos lados del nombre institucional. */
.bulletin-school-brand{display:grid;grid-template-columns:72px minmax(0,1fr) 72px;align-items:center;gap:12px;margin-bottom:8px}.bulletin-school-brand h2{min-width:0;text-align:center;overflow-wrap:anywhere}.bulletin-school-brand .bulletin-crest{display:block;width:64px;height:72px;object-fit:contain;object-position:center;justify-self:center;transform:none}.bulletin-header>.bulletin-legal-text{margin:6px 0;text-align:center}
@media print{.bulletin-school-brand{grid-template-columns:18mm minmax(0,1fr) 18mm;gap:3mm}.bulletin-school-brand .bulletin-crest{width:16mm;height:18mm}}

.bulletin-crest-frame{display:grid;width:64px;height:72px;place-items:center;overflow:hidden;justify-self:center}.bulletin-school-brand .bulletin-crest-city{transform:scale(1.4)}
@media print{.bulletin-crest-frame{width:16mm;height:18mm}}

.bulletin-school-copy{min-width:0;text-align:center}.bulletin-school-copy h2{margin:0}.bulletin-school-copy .bulletin-legal-text{margin:2px 0 0;gap:1px;line-height:1.2}.bulletin-school-brand:has(.bulletin-school-copy){margin-bottom:4px}

/* Acercar los datos del estudiante al encabezado del boletín. */
.bulletin-header{padding-bottom:4px;margin-bottom:4px}.bulletin-header+.bulletin-identity{margin-top:4px}.bulletin-header h3{margin-top:3px}

.bulletin-photo-choice{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;margin:10px 0;font-size:13px;font-weight:650}.bulletin-photo-choice input{width:16px;height:16px;margin:0;accent-color:#216a3b}.bulletin-identity.has-student-photo{grid-template-columns:minmax(0,3fr) minmax(0,2fr) 72px}.bulletin-student-photo{display:block;width:72px;height:96px;object-fit:cover;object-position:center;border:1px solid #bacdbf;border-radius:5px;justify-self:end;align-self:center;box-sizing:border-box}.pree-identity.has-student-photo{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 72px}.qualitative-bulletin-identity{display:flex;align-items:center;justify-content:space-between;gap:12px}.qualitative-bulletin-identity .bulletin-student-photo{flex:0 0 72px}
@media print{.bulletin-student-photo{width:18mm;height:24mm}.bulletin-identity.has-student-photo{grid-template-columns:minmax(0,3fr) minmax(0,2fr) 18mm}.pree-identity.has-student-photo{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 18mm}}

/* Pie compartido en una sola línea; el centro permanece reservado al eslogan. */
.bulletin-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr) minmax(0,1fr);align-items:end;column-gap:6px}
.bulletin-footer .bulletin-slogan{grid-column:2;font-size:6pt;line-height:1.15}
.bulletin-footer .bulletin-project-brand{grid-column:3;margin-top:0;font-size:5pt;line-height:1.15;text-align:right}
@page mack-oficio2{size:216mm 330mm;margin:6mm 1mm}
@media print{
 body.bulletin-print{margin:0!important;padding:0!important}
 .bulletin-page:not(.pree-bulletin){page:mack-oficio2;width:100%;min-height:317.5mm;height:auto;padding:5mm 1.5mm;overflow:visible;flex-shrink:0;break-after:page;break-inside:avoid-page;border-width:.35mm;border-radius:3mm}
 .bulletin-header{padding-bottom:1mm;margin-bottom:1mm}
 .bulletin-header h2{font-size:13pt;line-height:1.15}
 .bulletin-header h3{font-size:10pt;margin:1mm 0 0}
 .bulletin-school-copy .bulletin-legal-text{font-size:7pt;margin-top:.5mm;line-height:1.12;gap:0}
 .bulletin-school-brand{grid-template-columns:16mm minmax(0,1fr) 16mm;gap:2mm;margin-bottom:1mm}
 .bulletin-crest-frame,.bulletin-school-brand .bulletin-crest{width:14mm;height:16mm}
 .bulletin-identity{font-size:8pt;padding:2mm 3mm;margin:1mm 0 2mm;column-gap:3mm}
 .bulletin-identity-column{gap:1mm}
 .bulletin-meta-field,.bulletin-position{font-size:8pt;line-height:1.15}
 .bulletin-student-photo{width:16mm;height:21.3mm}
 .bulletin-identity.has-student-photo{grid-template-columns:minmax(0,3fr) minmax(0,2fr) 16mm}
 .bulletin-table{font-size:8pt;line-height:1.12}
 .bulletin-table th,.bulletin-table td{padding:1mm .8mm}
 .bulletin-table tbody tr{break-inside:avoid;page-break-inside:avoid}
 .bulletin-table .bulletin-performance-row{height:var(--bulletin-performance-height,13.5mm)}
 .bulletin-table .bulletin-period-level-row{height:4mm}
 .bulletin-performance-row td{font-size:8pt;line-height:1.15;padding:.8mm 1.2mm;overflow-wrap:anywhere}
 .bulletin-observation-row td{height:auto;font-size:7.5pt;line-height:1.17;padding:1mm}
 .bulletin-level-criteria td{font-size:6pt;padding:1mm}
 .bulletin-signatures{margin:6mm 0 2mm;gap:10mm;break-inside:avoid}
 .bulletin-signatures small{font-size:7pt;line-height:1.2}
 .bulletin-footer{padding-top:1mm;break-inside:avoid}
}

@media print{.bulletin-page:not(.pree-bulletin):last-of-type{break-after:auto;page-break-after:auto}}

.bulletin-paper-choice{display:grid;gap:5px;max-width:330px;margin:10px 0;font-size:13px;font-weight:650}.bulletin-paper-choice select{padding:7px 9px;border:1px solid #cbd9cf;border-radius:7px;font:inherit;background:#fff}
@page mack-carta{size:letter;margin:5mm 1mm}
@media print{
 .bulletin-signatures{margin-top:10mm}
 .bulletin-signatures small:first-of-type{margin-top:1mm}
 .bulletin-page[data-paper="letter"]:not(.pree-bulletin){page:mack-carta;min-height:268.9mm;padding:4mm 1.5mm}
 .bulletin-page[data-paper="letter"] .bulletin-school-brand{margin-bottom:.5mm}
 .bulletin-page[data-paper="letter"] .bulletin-header h2{font-size:12pt}
 .bulletin-page[data-paper="letter"] .bulletin-identity{padding:1.5mm 2mm;margin:1mm 0 1.5mm}
 .bulletin-page[data-paper="letter"] .bulletin-identity-column{gap:.5mm}
 .bulletin-page[data-paper="letter"] .bulletin-table{font-size:7.5pt;line-height:1.1}
 .bulletin-page[data-paper="letter"] .bulletin-table th,.bulletin-page[data-paper="letter"] .bulletin-table td{padding:.7mm .6mm}
 .bulletin-page[data-paper="letter"] .bulletin-performance-row td{font-size:7.3pt;line-height:1.13;padding:.6mm .9mm}
 .bulletin-page[data-paper="letter"] .bulletin-observation-row td{font-size:7.2pt;line-height:1.12}
 .bulletin-page[data-paper="letter"] .bulletin-signatures{margin:8mm 0 1.5mm}
 .pree-bulletin[data-paper="letter"]{page:mack-carta;width:100%!important;min-height:268.9mm!important;height:auto!important;max-height:none!important;padding:5mm 1.5mm!important;overflow:visible!important}
 .pree-bulletin[data-paper="letter"] .pree-footer{min-height:30mm}
 .pree-bulletin[data-paper="letter"] .pree-signatures{padding-top:5mm}
}

.pree-footer .pree-brandline{margin-top:1mm;padding-top:0}@media print{.pree-signatures strong{margin-top:1mm}}

.bulletin-paper-guidance{font-size:11px;font-weight:400;line-height:1.3;color:#52645a}
.payment-distribution{grid-column:1/-1;border:1px solid #c9dbd0;border-radius:10px;padding:12px;min-width:0}.payment-distribution input[type=checkbox]{width:auto}.payment-distribution input[type=text]{min-width:95px}.payment-distribution legend{font-weight:700;color:#235e3b}
.payment-receipt{box-sizing:border-box;max-width:760px;margin:20px auto;background:#fff;color:#193929;border:1px solid #9fbea9;border-radius:12px;padding:25px;font-family:Arial,sans-serif}.payment-receipt-head{display:flex;justify-content:space-between;gap:20px;border-bottom:3px solid #28633e;padding-bottom:15px}.payment-receipt-head h2{margin:0 0 8px;font-size:21px;color:#205c38}.payment-receipt-head p{margin:0;font-weight:700;letter-spacing:1px;font-size:12px}.payment-receipt-number{display:flex;flex-direction:column;text-align:right;gap:6px;font-size:12px;white-space:nowrap}.payment-receipt-number strong{font-size:16px}.payment-receipt-details{margin:18px 0;background:#f2f7f3;padding:12px;border-radius:6px;font-size:13px}.payment-receipt-details p{margin:5px 0}.payment-receipt table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}.payment-receipt th,.payment-receipt td{padding:10px 9px;border:1px solid #cbdbd0;overflow-wrap:anywhere}.payment-receipt th{background:#edf5ee;text-align:left}.payment-receipt th:first-child{width:46%}.payment-receipt td:not(:first-child){text-align:right}.payment-receipt-total{display:flex;justify-content:flex-end;align-items:center;gap:24px;margin-top:18px;padding:15px;background:#edf5ee;border-radius:6px}.payment-receipt-total span{font-size:12px;font-weight:700}.payment-receipt-total strong{font-size:23px;color:#205c38}.payment-receipt-registered{font-size:11px;margin-top:16px}.payment-receipt-signatures{display:flex;justify-content:space-between;gap:30px;margin-top:44px;font-size:11px;text-align:center}.payment-receipt-signatures span{border-top:1px solid #667b6b;padding-top:8px;flex:1}.payment-receipt footer{text-align:center;font-size:9px;color:#5d6f62;margin-top:22px}.receipt-cancelled{font-weight:bold;color:#a02020;border:2px solid #a02020;padding:10px}
@media screen{#student-payment-receipt-print{display:none!important}}
@page mack-receipt{size:letter portrait;margin:12mm}
@media print{body.student-receipt-print>:not(#student-payment-receipt-print){display:none!important}body.student-receipt-print #student-payment-receipt-print{display:block!important;page:mack-receipt;max-width:none;width:100%;margin:0;border-radius:0;padding:8mm;color:#193929;font-size:10pt;break-inside:avoid}#student-payment-receipt-print thead{display:table-header-group}#student-payment-receipt-print tr{break-inside:avoid}#student-payment-receipt-print th,#student-payment-receipt-print td{padding:3mm 2mm;font-size:9pt}#student-payment-receipt-print .payment-receipt-head{display:flex!important}#student-payment-receipt-print footer{display:block!important}#student-payment-receipt-print *{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
@media print{body.student-receipt-print{min-height:0!important;margin:0!important;background:#fff!important}body.student-receipt-print #student-payment-receipt-print,body.student-receipt-print #student-payment-receipt-print *{visibility:visible!important}}
@media print{html:has(body.student-receipt-print){background:#fff!important}}
/* Un recibo por pago en papel personalizado de 210 x 90 mm. */
@page mack-receipt{size:210mm 90mm;margin:0}
@media print{
 body.student-receipt-print #student-payment-receipt-print.receipt-sheet{display:grid!important;grid-template-columns:210mm;grid-auto-rows:minmax(90mm,auto);gap:0;width:210mm!important;padding:0!important;border:0!important;break-inside:auto}
 #student-payment-receipt-print.receipt-sheet>.payment-receipt{display:flex;flex-direction:column;box-sizing:border-box;min-height:90mm;min-width:0;width:210mm;max-width:none;margin:0;padding:3mm 5mm;border:.2mm dashed #9fbea9;border-radius:0;break-inside:avoid;font-size:8pt;overflow:visible}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-head{gap:3mm;border-bottom:.6mm solid #28633e;padding-bottom:2mm}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-head h2{font-size:12pt;line-height:1.15;margin:0 0 1mm}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-head p{font-size:8pt;letter-spacing:.3px}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-number{font-size:7.5pt;gap:.5mm}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-number strong{font-size:9pt}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-details{display:grid;grid-template-columns:1fr 1fr;gap:1mm 4mm;margin:2mm 0;padding:2mm;font-size:8pt;line-height:1.2}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-details p{margin:0}
 #student-payment-receipt-print.receipt-sheet table{font-size:8pt;table-layout:fixed}
 #student-payment-receipt-print.receipt-sheet th,#student-payment-receipt-print.receipt-sheet td{padding:1mm 1.5mm!important;font-size:8pt!important;line-height:1.15}
 #student-payment-receipt-print.receipt-sheet th:first-child{width:50%}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-total{gap:6mm;margin-top:1.5mm;padding:1.5mm 3mm}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-total span{font-size:8pt}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-total strong{font-size:13pt}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-registered{font-size:7pt;margin:1mm 0 0}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-signatures{gap:25mm;margin-top:7mm;font-size:7.5pt}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-signatures span{padding-top:1mm}
 #student-payment-receipt-print.receipt-sheet footer{font-size:6.5pt;line-height:1.2;margin-top:auto;padding-top:1mm}
 #student-payment-receipt-print.receipt-sheet .receipt-cancelled{font-size:8pt;margin:1mm 0;padding:1mm}
}

.receipt-school-brand{display:flex;align-items:center;gap:3mm}.receipt-school-crest{width:11mm;height:12mm;object-fit:contain;flex-shrink:0}
.payment-receipt.receipt-jireh{background:linear-gradient(#ffffffeb,#ffffffeb),url('/assets/escudo_jireh.png') center/22mm 26mm repeat #fff}
@media print{
 #student-payment-receipt-print.receipt-sheet>.payment-receipt{padding:2mm 5mm;border:0}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-head{align-items:center;padding-bottom:1mm}
 #student-payment-receipt-print.receipt-sheet .payment-receipt-details{background:#f2f7f3c4;margin:1mm 0;padding:1.5mm}
 #student-payment-receipt-print.receipt-sheet th,#student-payment-receipt-print.receipt-sheet .payment-receipt-total{background:#edf5eec4}
}

/* Use the printer's actual paper and anchor the receipt to its leading edge.
   A smaller named @page can otherwise be centered inside a larger selected sheet. */
@media print{
 html:has(body.student-receipt-print),body.student-receipt-print{margin:0!important;padding:0!important;min-height:0!important;height:auto!important;display:block!important}
 body.student-receipt-print #student-payment-receipt-print.receipt-sheet{page:auto!important;position:static!important;inset:auto!important;transform:none!important;display:block!important;width:210mm!important;max-width:none!important;margin:0!important;padding:0!important;align-content:start!important;justify-content:start!important}
 #student-payment-receipt-print.receipt-sheet>.payment-receipt{margin:0!important;min-height:90mm;break-before:auto;page-break-before:auto}
}

.payment-charge-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}.payment-charge-heading h4{margin:0}.payment-charge-heading button{padding:8px 12px;font-size:13px}

.group-director-status{display:block;margin-top:5px;font-size:12px;color:#245c38;line-height:1.3}

#subject-form .subject-name-first{grid-column:1/-1}.subject-grades{border:0;padding:0;margin:8px 0 14px;min-width:0}.subject-grades legend{font-size:13px;font-weight:700;margin-bottom:8px}.subject-grade-options{display:flex;gap:7px;flex-wrap:wrap}.subject-grade-options label{display:flex;align-items:center;gap:6px;padding:7px 9px;background:#f3f8f4;border:1px solid #ccddd0;border-radius:7px;font-size:12px}.subject-grade-options input[type=checkbox]{width:16px;min-width:16px;margin:0;accent-color:#267b40}.subject-grade-options label:has(input:checked){background:#e0f0e3;border-color:#34844b}.subject-grade-filter{display:grid;gap:4px;font-size:12px}.subject-grade-filter select{padding:7px;border:1px solid #ccddd0;border-radius:7px;font:inherit}#school-subjects td{vertical-align:top}

.subject-delete{color:#a6322a;background:#fff0ec}.subject-delete:hover{background:#ffe1d9}
