/* Scoped to the service directory so academic tables keep their own layout. */
.services-page{--service-ink:#183654;--service-muted:#52677e;--service-line:#d6e1ee;color:var(--service-ink);font-family:"Segoe UI",Arial,sans-serif}
.services-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:8px 0 26px}
.services-heading-main{display:flex;align-items:center;gap:18px;min-width:0}
.services-heading-icon{display:grid;place-items:center;flex:0 0 62px;height:62px;border-radius:16px;color:#1765b3;background:#e2efff;border:1px solid #c5dcf5}
.services-heading .eyebrow{font-size:12px;font-weight:700;letter-spacing:1.5px;color:#2462a0;margin-bottom:7px}
.services-heading h1{font-size:32px;font-weight:750;line-height:1.2;letter-spacing:-.6px;margin:0 0 8px;color:#153654}
.services-heading p{font-size:15px;line-height:1.6;color:var(--service-muted);margin:0}
.services-page .btn{min-height:44px;font-size:14px;font-weight:650;gap:8px;border-radius:8px;padding:10px 16px;white-space:nowrap}
.services-heading .primary{background:#096ad4;border-color:#096ad4;box-shadow:0 3px 8px #096ad41c}
.services-heading .primary:hover{background:#075bb6;border-color:#075bb6}
.services-filters{background:#fff;border:1px solid var(--service-line);border-radius:12px;margin-bottom:24px;box-shadow:0 3px 12px #193b6105}
.services-section-label{display:flex;align-items:center;gap:14px;padding:18px 22px 0}
.services-section-label h2{font-size:15px;font-weight:700;margin:0;color:var(--service-ink)}
.services-section-label>span{font-size:13px;color:var(--service-muted);border-left:1px solid #cbd8e7;padding-left:14px}
.services-filters .filters{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1.4fr) minmax(150px,.85fr) auto;gap:16px;margin:0;padding:17px 22px 22px;border:0;background:none;box-shadow:none}
.services-filters .filters label,.services-filters .filters label.wide{min-width:0;font-size:13px;font-weight:650;line-height:1.4;color:#344f6b}
.services-filters .filters select{height:46px;margin-top:8px;padding:9px 30px 9px 12px;border:1px solid #bccde0;border-radius:7px;background-color:#fff;font-size:14px;font-weight:500;color:#183654}
.services-filters select:disabled{color:#66788b;background:#f1f4f8;cursor:not-allowed}
.services-filters .btn{height:46px;border-color:#bbcee4;color:#22598f;background:#f7faff}
.services-filters .btn:hover{background:#eaf2fc;border-color:#7da7d3}
.services-directory{padding:0;border:1px solid #c6d6e7;border-radius:12px;overflow:hidden;box-shadow:0 6px 22px #183b6010}
.services-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;background:#fff}
.services-directory-heading{display:flex;align-items:center;gap:10px}
.services-directory h2{font-size:20px;line-height:1.3;letter-spacing:-.2px;color:#193958;margin:0;font-weight:700}
.services-total{display:inline-flex;justify-content:center;align-items:center;min-width:29px;height:27px;padding:0 9px;background:#eaf2ff;color:#185d9f;border:1px solid #d4e3f7;border-radius:7px;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
.services-toolbar p{margin:7px 0 0;font-size:13px;line-height:1.5;color:var(--service-muted)}
.services-toolbar p>span{padding:0 5px;color:#7990a7}
.services-search{display:flex;align-items:center;gap:10px;width:340px;max-width:100%;flex-shrink:0;border:1px solid #bccde0;border-radius:8px;background:#fff;padding:0 13px;color:#617890}
.services-search input{width:100%;min-width:0;min-height:46px;padding:10px 0;border:0;background:transparent;font:400 14px/1.5 "Segoe UI",Arial,sans-serif;color:var(--service-ink);outline:none}
.services-search input::placeholder{color:#667b91;opacity:1}
.services-search svg{flex-shrink:0}
.services-search:focus-within{outline:3px solid #b7d7ff;outline-offset:2px;border-color:#1c6fc5}
.services-table-scroll{overflow-x:auto;overscroll-behavior-x:contain}
.services-table{width:100%;min-width:920px;border-collapse:collapse;text-align:left}
.services-table th{background:#1c4267;color:#fff;font-family:inherit;font-size:12px;font-weight:700;letter-spacing:.55px;text-transform:uppercase;padding:17px 22px;border-top:0;border-bottom:3px solid #64a7e6;border-right:1px solid #426180;white-space:nowrap}
.services-table th:last-child{border-right:0}
.services-table td{padding:24px 22px;border-bottom:1px solid var(--service-line);border-right:1px solid #e1e8f1;font-size:15px;line-height:1.5;color:var(--service-ink);vertical-align:middle}
.services-table td:last-child{border-right:0}
.services-table td strong{font-size:15px;font-weight:650;color:var(--service-ink)}
.services-table td small{display:block;margin-top:5px;font-size:13px;line-height:1.5;color:var(--service-muted)}
.services-table tbody tr:nth-child(odd){background:#fff}
.services-table tbody tr:nth-child(even){background:#f4f8fd}
.services-table tbody tr:hover,.services-table tbody tr:focus-within{background:#eaf3ff}
.services-table tbody tr:hover td:first-child,.services-table tbody tr:focus-within td:first-child{box-shadow:inset 3px 0 #2778c8}
.services-table tbody tr:last-child td{border-bottom:0}
.service-level{display:flex;align-items:center;gap:12px;white-space:nowrap}
.service-level-icon{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:10px;color:#306599;background:#e4effb}
.service-level-icon.initial{color:#8a4083;background:#f7eafa}
.service-level-icon.primary{color:#1d66b2;background:#e6f0ff}
.service-level-icon.secondary{color:#1b7566;background:#e3f3ee}
.service-code{display:inline-block;border:1px solid #d3dfec;border-radius:6px;background:#f0f5fc;color:#224b72;font-family:Consolas,"Courier New",monospace;font-size:16px;font-weight:700;letter-spacing:.8px;padding:5px 10px;white-space:nowrap;font-variant-numeric:tabular-nums}
.service-institution{display:block;max-width:380px;overflow-wrap:anywhere}
.service-local{font-weight:600;color:#395977;font-variant-numeric:tabular-nums;margin-left:3px}
.service-status{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;font-size:13px;font-weight:650;line-height:1.5;border:1px solid;border-radius:6px;white-space:nowrap}
.service-status.active{color:#167044;background:#e5f6ed;border-color:#bde4ce}
.service-status.inactive{color:#596676;background:#eef1f5;border-color:#d4dbe3}
.service-status>span{width:6px;height:6px;background:currentColor;border-radius:50%}
.services-table .service-actions{text-align:right}
.services-table td:nth-child(4){white-space:nowrap}
.services-page .service-edit{min-height:38px;padding:8px 13px;font-size:13px;background:#fff;border-color:#b5cde6;color:#205d99}
.services-page .service-edit:hover{border-color:#548ec9;background:#edf5ff}
.services-directory-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid var(--service-line);background:#fafcfe;font-size:13px;color:var(--service-muted)}
.services-status-summary{display:flex;align-items:center;gap:18px}
.services-status-summary>span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.services-status-summary i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#8492a2}
.services-status-summary i.active{background:#24905c}
.services-empty{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:44px 20px;color:#617b98}
.services-empty[hidden],.services-table tr[hidden]{display:none}
.services-empty strong{font-size:17px;color:#244767}
.services-empty p{margin:0;font-size:14px;line-height:1.6}
.services-page :is(button,select,.services-table-scroll):focus-visible{outline:3px solid #70aafa;outline-offset:3px}
@media(max-width:1200px){.services-heading{align-items:flex-start}.services-heading-icon{display:none}.services-toolbar{gap:16px}.services-search{width:300px}.services-filters .filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.services-filters .filters>.btn{justify-self:start;align-self:end}.services-table th,.services-table td{padding-inline:18px}}
@media(max-width:700px){.services-heading{flex-direction:column;gap:16px;margin:5px 0 22px}.services-heading h1{font-size:27px}.services-heading p{font-size:14px}.services-heading .actions{width:100%}.services-heading .btn{flex:1;justify-content:center}.services-section-label{padding:18px 16px 0;display:block}.services-section-label>span{display:block;margin-top:5px;padding:0;border:0}.services-filters .filters{grid-template-columns:minmax(0,1fr);padding:16px;gap:14px}.services-filters .filters>.btn{width:100%}.services-toolbar{flex-direction:column;align-items:stretch;padding:20px 16px;gap:16px}.services-search{width:100%;box-sizing:border-box}.services-directory h2{font-size:18px}.services-directory-footer{padding:16px;align-items:flex-start;flex-direction:column;gap:10px}.services-table td{padding-block:20px}.services-table-scroll:focus-visible{outline-offset:-3px}}
@media print{.services-heading .actions,.services-filters,.services-search,.service-actions{display:none}.services-directory{box-shadow:none}.services-table{min-width:0}.services-table th,.services-table td{padding:12px}.services-table th{color:#183654;background:#edf3fa}.services-table-scroll{overflow:visible}}

.ed-page{display:grid;gap:18px;min-width:0}.ed-page .services-heading{margin:0 0 3px}.ed-page .services-heading h1{font-size:30px}.ed-page .services-heading .eyebrow{font-size:11px;line-height:1.6;letter-spacing:.6px}.ed-heading-actions{display:flex;align-items:center;gap:15px;flex:none}.ed-year{display:grid;gap:7px;padding:12px 18px;border:1px solid #d3e4f5;border-radius:10px;background:#f7fbff;color:#668099;min-width:135px;font-size:11px}.ed-year strong{display:flex;align-items:center;gap:9px;font-size:18px;color:#19466f}.ed-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.ed-kpi{--ed-accent:#1078d9;--ed-soft:#eaf5ff;position:relative;display:flex;align-items:center;gap:16px;padding:19px 17px;background:linear-gradient(120deg,var(--ed-soft),#ffffff);border:1px solid color-mix(in srgb,var(--ed-accent) 20%,white);border-radius:11px;min-width:0}.ed-kpi>span{flex:none;display:grid;place-items:center;width:51px;height:55px;border-radius:12px;background:color-mix(in srgb,var(--ed-accent) 12%,white);color:var(--ed-accent)}.ed-kpi>div{min-width:0}.ed-kpi h2{font-size:12px;line-height:1.4;color:var(--ed-accent);margin:0 0 7px}.ed-kpi strong{font-size:28px;line-height:1.1;letter-spacing:-.5px;color:#183654}.ed-kpi p{font-size:11px;line-height:1.5;color:#607b93;margin:6px 0 0}.ed-kpi>b{align-self:center;margin-left:auto;background:#d9f5e7;padding:4px 7px;border-radius:5px;color:#167c53;font-size:11px}.ed-tone-1{--ed-accent:#118e67;--ed-soft:#ecfaf3}.ed-tone-2{--ed-accent:#8951de;--ed-soft:#f4efff}.ed-tone-3{--ed-accent:#eb8c20;--ed-soft:#fff6e9}.ed-page .services-filters{margin:0}.ed-filters{display:flex;flex-wrap:wrap;align-items:end;gap:14px;padding:17px 20px 20px}.ed-filters label{display:grid;gap:8px;flex:1;min-width:125px;font-size:12px;font-weight:650;color:#344f6b}.ed-filters label:first-child{flex:2;min-width:230px}.ed-filters select{width:100%;min-width:0;border:1px solid #c4d8ec;border-radius:6px;height:42px;background:#fff;padding:8px 9px;color:#274b6e;font:inherit;font-size:12px}.ed-page .services-section-label{padding:16px 20px 0}.ed-page .btn{font-size:12px;min-height:39px;padding:9px 12px;gap:6px}.ed-page .services-toolbar{flex-wrap:wrap;gap:16px;padding:18px 20px}.ed-page .services-directory h2{font-size:18px}.ed-page .services-toolbar p{font-size:11px}.ed-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:1;justify-content:flex-end}.ed-tools .services-search{width:300px;flex:1;min-width:210px;padding:0 10px}.ed-tools .services-search input{font-size:12px;min-height:39px}.ed-tools .services-search button{display:grid;place-items:center;border:0;background:#edf5fc;color:#1c66a4;border-radius:4px;cursor:pointer;width:27px;height:27px;flex:none}.ed-page .ed-excel{background:#effaf4;color:#147653;border-color:#bfe5d3}.ed-page .ed-pdf{background:#fff3f4;color:#bf4354;border-color:#f2ccd1}.ed-page .services-table th{font-size:10px;padding:13px 16px;letter-spacing:.3px;border-bottom-width:2px}.ed-page .services-table td{font-size:12px;padding:15px 16px;white-space:normal}.ed-page .services-table td strong{font-size:12px}.ed-page .services-table td small{font-size:11px;margin-top:3px}.ed-page .service-code{font-size:13px;letter-spacing:.5px;padding:5px 8px}.ed-page .service-status{font-size:11px;padding:5px 9px}.ed-page .service-level-icon{flex-basis:34px;height:34px;border-radius:8px}.ed-page .service-level{gap:9px}.ed-row-actions{display:flex;gap:8px;justify-content:flex-end}.ed-page .service-edit{min-height:34px;font-size:11px;padding:7px 10px}.ed-sections-table{min-width:1080px}.ed-page .ed-number{text-align:center;font-weight:650;font-variant-numeric:tabular-nums}.ed-tutor{min-width:155px;max-width:230px;overflow-wrap:anywhere}.ed-tutor span{display:block;line-height:1.5}.ed-muted{color:#7b8ca0}.ed-pagination{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;padding:13px 18px;font-size:11px;border-top:1px solid #dae5f0;background:#fff;color:#56718c}.ed-pagination nav,.ed-pagination label{display:flex;align-items:center;gap:9px}.ed-pagination select{padding:7px 10px;border:1px solid #ccddec;border-radius:5px;color:#264e75;background:#fff}.ed-pagination .btn{min-height:32px;min-width:30px;padding:5px 8px}.ed-bottom{display:grid;grid-template-columns:1fr 1fr .95fr;gap:14px}.ed-summary-card{min-width:0;border:1px solid #d6e4f2;background:#fff;border-radius:10px;padding:18px}.ed-summary-card h2{display:flex;align-items:center;gap:8px;margin:0 0 18px;font-size:13px;color:#193c62}.ed-chart{display:flex;align-items:center;gap:22px;min-height:150px}.ed-donut{display:grid;place-items:center;width:142px;height:142px;flex:none;border-radius:50%}.ed-donut>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:95px;height:95px;background:#fff;border-radius:50%}.ed-donut strong{font-size:25px;line-height:1.1;color:#1d446a}.ed-donut span{font-size:11px;color:#617d97}.ed-chart ul{display:grid;gap:12px;list-style:none;padding:0;margin:0;flex:1;min-width:0;max-height:230px;overflow:auto}.ed-chart li{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.4}.ed-chart li>i{flex:none;width:9px;height:9px;border-radius:50%}.ed-chart li>span{flex:1;overflow-wrap:anywhere}.ed-chart li>b{white-space:nowrap;font-size:11px;color:#284f72}.ed-chart li small{color:#72889d;font-weight:400;font-size:10px}.ed-chart-empty{padding:40px 16px;text-align:center;color:#7890a8;font-size:12px;min-height:150px;display:grid;place-items:center}.ed-institution-info{display:grid;gap:7px;margin:0;padding:12px;background:#f3f8fe;border-radius:7px;font-size:11px}.ed-institution-info>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:9px}.ed-institution-info dt{color:#75899c}.ed-institution-info dd{margin:0;color:#244c72;font-weight:600;overflow-wrap:anywhere}.ed-context-help{font-size:12px;line-height:1.7;color:#698198}.ed-footnote{font-size:11px;line-height:1.6;color:#70879d;margin:0}.ed-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;margin:24px 0}.ed-detail-grid dt{font-size:11px;color:#68819a;margin-bottom:7px}.ed-detail-grid dd{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:1350px){.ed-page .services-heading{flex-wrap:wrap;gap:14px}.ed-page .services-heading-main{flex:1}.ed-heading-actions{gap:10px}.ed-kpi{gap:10px;padding:15px 12px}.ed-kpi>span{width:42px;height:48px}.ed-kpi>b{display:none}.ed-bottom{grid-template-columns:1fr 1fr}.ed-bottom>section:last-child{grid-column:1/-1}.ed-institution-info{grid-template-columns:1fr 1fr}.ed-tools{justify-content:flex-start;flex-basis:100%}.ed-tools .services-search{max-width:380px}}
@media(max-width:900px){.ed-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-chart{gap:15px}.ed-donut{width:110px;height:110px}.ed-donut>div{width:75px;height:75px}.ed-donut strong{font-size:22px}.ed-page .services-heading h1{font-size:25px}.ed-page .services-heading p{font-size:13px}.ed-page .services-heading-icon{flex-basis:48px;height:48px;border-radius:12px}.ed-chart li{flex-wrap:wrap}.ed-chart li>b{margin-left:16px}.ed-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ed-page{gap:13px}.ed-page .services-heading{align-items:stretch;margin:0}.ed-page .services-heading-main{gap:12px}.ed-page .services-heading h1{font-size:23px}.ed-heading-actions{justify-content:space-between;flex-wrap:wrap}.ed-year{min-width:120px;padding:9px 13px}.ed-year strong{font-size:15px}.ed-page .services-heading .eyebrow{font-size:9px}.ed-kpis{gap:10px}.ed-kpi{align-items:flex-start;gap:10px;padding:13px 10px}.ed-kpi>span{width:31px;height:36px;border-radius:7px}.ed-kpi>span svg{width:22px}.ed-kpi h2{font-size:11px}.ed-kpi strong{font-size:24px}.ed-kpi p{font-size:10px}.ed-page .services-section-label{padding:14px 14px 0;display:block}.ed-page .services-section-label>span{font-size:11px;padding:0;border:0;margin-top:5px;display:block}.ed-filters{padding:14px;gap:13px}.ed-filters label{min-width:120px}.ed-filters label:first-child{flex-basis:100%;min-width:0}.ed-filters select{font-size:16px}.ed-bottom{grid-template-columns:1fr}.ed-bottom>section:last-child{grid-column:auto}.ed-institution-info{grid-template-columns:1fr}.ed-page .services-toolbar{padding:16px 14px}.ed-tools{gap:7px}.ed-tools .services-search{flex-basis:100%;max-width:none;min-width:0;width:100%}.ed-tools .services-search input{font-size:16px}.ed-tools>.btn{flex:1;font-size:11px}.ed-pagination{padding:12px;gap:13px}.ed-pagination nav{order:3;width:100%;justify-content:center}.ed-summary-card{padding:16px}.ed-chart{gap:24px}.ed-chart li{flex-wrap:nowrap}.ed-chart li>b{margin-left:0}.ed-detail-grid{grid-template-columns:1fr}}
.ed-filters:has([name="grade_id"]){display:grid;grid-template-columns:minmax(200px,2fr) repeat(5,minmax(100px,1fr)) auto}.ed-filters:has([name="grade_id"]) label{min-width:0}
@media(max-width:1450px){.ed-filters:has([name="grade_id"]){grid-template-columns:repeat(4,minmax(0,1fr))}.ed-filters:has([name="grade_id"]) label:first-child{grid-column:span 2}}
@media(max-width:600px){.ed-filters:has([name="grade_id"]){grid-template-columns:repeat(2,minmax(0,1fr))}}
