:root { --blue: #FC6C00; --deep-blue: #c95500; --red: #FC6C00; --ink: #202635; --muted: #687184; --line: #e4e8ee; --paper: #fff8f2; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font-family: "Segoe UI Variable", "DM Sans", sans-serif; font-feature-settings: "kern" 1, "liga" 1; }
a { color: inherit; text-decoration: none; }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 10% 10%, rgba(255, 206, 166, .95) 0, transparent 32%), linear-gradient(135deg, #8a3b00, #FC6C00); }
.login-card { width: min(100%, 450px); padding: 45px; background: #fff; box-shadow: 0 22px 65px rgba(0, 0, 0, .28); }
.login-brand, .sidebar-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font: 700 1.3rem "Playfair Display", serif; letter-spacing: .04em; }
.login-brand span, .sidebar-brand span { display: grid; width: 34px; height: 34px; place-items: center; background: var(--red); color: #fff; font: 700 .78rem "DM Sans", sans-serif; }
.login-label, .admin-kicker, .sidebar-label { margin: 29px 0 8px; color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.login-card h1, .admin-content h1, .dashboard-panel h2 { margin: 0; color: var(--blue); font-family: "Playfair Display", serif; letter-spacing: -.025em; }
.login-card h1 { font-size: 2.5rem; }.login-copy, .admin-intro { color: var(--muted); line-height: 1.7; }
.login-form { display: grid; gap: 9px; margin-top: 28px; }.login-form label { color: var(--ink); font-size: .85rem; font-weight: 700; }.login-form input { min-height: 46px; margin-bottom: 9px; padding: 0 13px; border: 1px solid #ccd4de; border-radius: 3px; color: var(--ink); font: inherit; }.login-form input:focus { outline: 2px solid #ffd1ad; border-color: var(--blue); }.login-form button { min-height: 47px; margin-top: 7px; border: 0; background: var(--red); color: #fff; cursor: pointer; font: 700 .84rem "DM Sans", sans-serif; letter-spacing: .03em; text-transform: uppercase; }.login-form button:hover { background: #cf5800; }.form-alert { padding: 11px 13px; background: #fff0ee; color: #a51e1b; font-size: .86rem; }.back-link { display: inline-block; margin-top: 25px; color: var(--blue); font-size: .82rem; font-weight: 700; }

.admin-page { background: var(--paper); }.admin-layout { min-height: 100vh; display: grid; grid-template-columns: 245px 1fr; }.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 27px 15px 18px; background: var(--deep-blue); color: #fff2e7; overflow-y: auto; }.sidebar-brand { padding: 0 10px; color: #fff; }.sidebar-label { margin: 34px 10px 10px; color: #ffd1ad; }.sidebar-menu { display: grid; gap: 2px; }.sidebar-menu a { padding: 11px 12px; border-left: 3px solid transparent; color: #ffe1ca; font-size: .87rem; }.sidebar-menu .sidebar-submenu { padding-left: 28px; color: #ffcfaa; font-size: .79rem; }.sidebar-menu a:hover, .sidebar-menu .is-active { border-left-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }.sidebar-logout-form { margin-top: 22px; }.sidebar-logout-form button { width: 100%; padding: 12px; border: 1px solid rgba(255,255,255,.26); background: transparent; color: #fff; cursor: pointer; font: .84rem "DM Sans", sans-serif; }
.admin-main { min-width: 0; }.admin-header { min-height: 70px; display: flex; align-items: center; justify-content: flex-end; gap: 25px; padding: 0 36px; border-bottom: 1px solid var(--line); background: #fff; }.sidebar-toggle { display: none; }.visit-site { color: var(--blue); font-size: .82rem; font-weight: 700; }.admin-profile { display: flex; align-items: center; gap: 9px; }.admin-profile > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #fff1e6; color: var(--blue); font-size: .88rem; font-weight: 700; }.admin-profile strong,.admin-profile small { display: block; }.admin-profile strong { font-size: .78rem; }.admin-profile small { color: var(--muted); font-size: .68rem; text-transform: capitalize; }
.admin-content { max-width: 1200px; margin: auto; padding: 52px 42px; }.admin-content h1 { font-size: clamp(2rem, 4vw, 3rem); }.admin-intro { max-width: 680px; margin: 12px 0 32px; }.admin-kicker { margin: 0 0 8px; }.dashboard-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.dashboard-cards article,.dashboard-panel { background: #fff; box-shadow: 0 5px 18px rgba(138, 59, 0, .08); }.dashboard-cards article { padding: 24px; border-top: 3px solid var(--blue); }.dashboard-cards article:nth-child(2) { border-color: var(--red); }.dashboard-cards span,.dashboard-cards small { display: block; color: var(--muted); font-size: .78rem; }.dashboard-cards strong { display: block; margin: 10px 0 6px; color: var(--blue); font: 1.8rem "Playfair Display", serif; }.dashboard-panel { margin-top: 25px; padding: 27px; }.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }.panel-heading h2 { font-size: 1.55rem; }.panel-heading > span { color: var(--muted); font-size: .75rem; }.activity-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); }.activity-row:last-child { border: 0; }.activity-icon { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #fff1e6; color: var(--blue); font-size: .8rem; font-weight: 700; }.activity-row strong { font-size: .86rem; }.activity-row p { margin: 4px 0 0; color: var(--muted); font-size: .77rem; }.activity-row time { color: var(--muted); font-size: .72rem; }.empty-state { color: var(--muted); font-size: .86rem; }
.admin-form { display: grid; gap: 9px; max-width: 720px; }.admin-form label { margin-top: 6px; font-size: .84rem; font-weight: 700; }.admin-form input { min-height: 44px; padding: 0 12px; border: 1px solid #ccd4de; border-radius: 3px; color: var(--ink); font: inherit; }.admin-form input[type="file"] { padding: 10px 0; border: 0; }.admin-form small { color: var(--muted); font-size: .76rem; }.admin-form button { width: max-content; min-height: 43px; margin-top: 12px; padding: 0 18px; border: 0; background: var(--red); color: #fff; cursor: pointer; font: 700 .78rem "DM Sans", sans-serif; letter-spacing: .03em; text-transform: uppercase; }.form-success { padding: 11px 13px; background: #e8f8ed; color: #147034; font-size: .86rem; }.logo-preview { width: 100px; max-height: 100px; object-fit: contain; padding: 6px; border: 1px solid var(--line); }.highlights-panel h2 { margin: 0 0 12px; font-size: 1.55rem; }.highlight-row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }.highlight-row span { color: var(--muted); text-align: right; }
@media (max-width: 760px) { .admin-layout { display: block; }.admin-sidebar { position: fixed; z-index: 20; width: 250px; transform: translateX(-100%); transition: transform .2s ease; }.admin-sidebar.is-open { transform: translateX(0); }.sidebar-toggle { display: block; margin-right: auto; border: 0; background: none; color: var(--blue); font: 700 .82rem "DM Sans", sans-serif; text-transform: uppercase; }.admin-header { justify-content: space-between; padding: 0 18px; gap: 10px; }.admin-profile div { display: none; }.admin-content { padding: 37px 18px; }.dashboard-cards { grid-template-columns: 1fr; }.activity-row { grid-template-columns: 30px 1fr; }.activity-row time { grid-column: 2; }.login-card { padding: 32px 25px; } }

/* Compact admin density for faster content management. */
.admin-sidebar { padding: 20px 12px 14px; }
.sidebar-label { margin: 22px 8px 6px; }
.sidebar-menu a { padding: 8px 10px; }
.sidebar-logout-form { margin-top: 16px; }
.sidebar-logout-form button { padding: 9px; }
.admin-header { min-height: 56px; padding: 0 26px; }
.admin-content { max-width: none; padding: 32px 30px; }
.admin-intro { margin: 8px 0 20px; }
.dashboard-cards { gap: 12px; }
.dashboard-cards article { padding: 17px; }
.dashboard-cards strong { margin: 6px 0 3px; font-size: 1.45rem; }
.dashboard-panel { margin-top: 16px; padding: 20px; }
.activity-row { padding: 10px 0; }
.admin-form { gap: 6px; }
.admin-form input { min-height: 39px; }
.admin-form textarea { width: 100%; min-height: 110px; padding: 10px 12px; border: 1px solid #ccd4de; border-radius: 3px; color: var(--ink); font: inherit; line-height: 1.55; resize: vertical; }
.admin-form button { min-height: 38px; margin-top: 7px; }
.highlight-row { align-items: center; padding: 10px 0; }
.highlight-row > div:first-child { min-width: 0; }
.highlight-row strong, .highlight-row span { display: block; }
.highlight-row span { margin-top: 3px; font-size: .76rem; text-align: left; }
.crud-actions, .form-actions { display: flex; align-items: center; gap: 8px; }
.crud-actions a, .crud-actions button, .form-actions a { display: inline-flex; min-height: 31px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--line); background: #fff; color: var(--blue); font: 700 .72rem "DM Sans", sans-serif; text-transform: uppercase; }
.crud-actions .delete-form { margin: 0; }
.crud-actions button { border-color: #f4b5b3; background: #fff3f2; color: #b82320; cursor: pointer; }
.form-actions { margin-top: 8px; }
.form-actions a { color: var(--muted); }
.is-hidden { display: none; }.content-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 9px; margin: -48px 0 18px; }.content-edit-link { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--blue); color: var(--blue); background: #fff; font: 700 .74rem "DM Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }.content-edit-link:hover { background: var(--blue); color: #fff; }.add-button { min-height: 36px; padding: 0 14px; border: 0; background: var(--red); color: #fff; cursor: pointer; font: 700 .74rem "DM Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; }.slider-form { max-width: none; grid-template-columns: 1fr; }.slider-form button { width: max-content; }.slider-list { max-width: none; }.slider-list h2 { margin-top: 0; }
.form-modal { position: fixed; z-index: 900; inset: 0; display: none; place-items: center; padding: 20px; background: rgba(138, 59, 0, .58); }.form-modal.is-open { display: grid; }.form-dialog { position: relative; width: min(100%, 580px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 27px; background: #fff; box-shadow: 0 22px 60px rgba(0,0,0,.28); }.form-dialog-wide { width: min(100%, 720px); }.form-dialog h2 { margin: 0 0 18px; color: var(--blue); font: 1.75rem "Playfair Display", serif; }.form-dialog .admin-kicker { margin: 0 0 6px; }.modal-close { position: absolute; top: 12px; right: 14px; width: 30px; height: 30px; border: 0; background: #fff1e6; color: var(--muted); cursor: pointer; font-size: 1.25rem; line-height: 1; }.form-dialog .admin-form { max-width: none; }.form-dialog .slider-form { grid-template-columns: 1fr; }
.slider-row { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }.slider-row img { width: 120px; height: 62px; object-fit: cover; }.slider-row strong,.slider-row span { display: block; }.slider-row span { margin-top: 3px; color: var(--muted); font-size: .76rem; }.slider-preview { width: min(100%, 420px); max-height: 190px; object-fit: cover; }
.update-admin-row { display: grid; grid-template-columns: 105px 1fr auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }.update-admin-row time { color: var(--red); font-weight: 700; font-size: .78rem; }.update-admin-row strong,.update-admin-row span { display: block; }.update-admin-row span { margin-top: 3px; color: var(--muted); font-size: .76rem; }
.admin-pagination { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 18px; color: var(--muted); font-size: .78rem; }.admin-pagination > div { display: flex; align-items: center; gap: 10px; }.admin-pagination a { display: inline-flex; min-height: 31px; align-items: center; padding: 0 10px; border: 1px solid var(--line); color: var(--blue); font-weight: 700; text-transform: uppercase; }.admin-pagination strong { color: var(--ink); font-size: .74rem; }
.empty-table-state { display: grid; justify-items: center; gap: 5px; padding: 44px 20px; border: 1px dashed #e5c3a8; background: #fff8f2; color: var(--blue); text-align: center; }.empty-table-state strong { font: 1.25rem "Playfair Display", serif; }.empty-table-state span { color: var(--muted); font-size: .83rem; }
.favicon-preview { width: 42px; height: 42px; padding: 4px; border: 1px solid var(--line); object-fit: contain; }
.home-content-form { max-width: 940px; }.home-content-form h2, .programme-section-form h2 { margin: 9px 0 2px; color: var(--blue); font: 1.35rem "Playfair Display", serif; }.programme-section-form { max-width: none; }
.programme-section-form { padding: 22px 24px; }.programme-section-form + .content-toolbar { margin: 16px 0 18px; }.programme-section-fields { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(190px, 1fr) minmax(260px, 2fr) auto; gap: 16px; align-items: end; }.programme-section-fields label { display: grid; min-width: 0; gap: 6px; margin: 0; }.programme-section-fields input, .programme-section-fields textarea { width: 100%; margin: 0; }.programme-section-fields textarea { min-height: 40px; resize: vertical; }.programme-section-fields button { align-self: end; height: 39px; margin: 0; white-space: nowrap; }
@media (max-width: 900px) { .programme-section-fields { grid-template-columns: 1fr 1fr; }.programme-section-fields button { justify-self: start; } }
@media (max-width: 560px) { .programme-section-fields { grid-template-columns: 1fr; } }
.confirm-modal { position: fixed; z-index: 1000; inset: 0; display: none; place-items: center; padding: 20px; background: rgba(11, 19, 81, .58); }.confirm-modal.is-open { display: grid; }.confirm-dialog { width: min(100%, 380px); padding: 28px; background: #fff; box-shadow: 0 22px 60px rgba(0,0,0,.28); text-align: center; }.confirm-icon { display: grid; width: 45px; height: 45px; margin: 0 auto 12px; place-items: center; border-radius: 50%; background: #fff0ef; color: var(--red); font-size: 1.35rem; font-weight: 700; }.confirm-dialog h2 { margin: 0; font-size: 1.6rem; }.confirm-message { margin: 11px 0 22px; color: var(--muted); font-size: .87rem; line-height: 1.55; }.confirm-actions { display: flex; justify-content: center; gap: 9px; }.confirm-actions button { min-width: 95px; min-height: 38px; border: 0; cursor: pointer; font: 700 .76rem "DM Sans", sans-serif; text-transform: uppercase; }.confirm-cancel { background: #eef1f5; color: var(--muted); }.confirm-delete { background: var(--red); color: #fff; }
@media (max-width: 760px) { .admin-content { padding: 24px 16px; }.highlight-row { align-items: flex-start; flex-direction: column; gap: 8px; }.dashboard-panel { padding: 16px; } }
@media (max-width: 760px) { .slider-row { grid-template-columns: 92px 1fr; }.slider-row img { width: 92px; height: 54px; }.slider-row .crud-actions { grid-column: 1 / -1; } }
@media (max-width: 760px) { .update-admin-row { grid-template-columns: 1fr; gap: 7px; }.update-admin-row .crud-actions { justify-self: start; } }
@media (max-width: 520px) { .admin-pagination { align-items: flex-start; flex-direction: column; } }
.page-content-list h2 { margin-top: 0; }.page-content-list article { display: grid; grid-template-columns: 105px 1fr auto; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }.page-content-list img { width: 105px; height: 56px; object-fit: cover; }.page-content-list strong,.page-content-list span { display: block; }.page-content-list span { margin-top: 3px; color: var(--muted); font-size: .76rem; }
@media (max-width: 560px) { .page-content-list article { grid-template-columns: 82px 1fr; }.page-content-list img { width: 82px; height: 48px; }.page-content-list .edit-action { grid-column: 1 / -1; justify-self: start; } }
.about-sections-panel { max-width: none; }
.about-content-toolbar { margin: -48px 0 18px; }
.about-sections-panel { margin-top: 0; }
.about-sections-panel .panel-heading { align-items: flex-start; }
.about-sections-panel .panel-heading > div { min-width: 0; }
.about-sections-panel .panel-heading > div > span { display: block; margin-top: 5px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.about-panel-add { flex: 0 0 auto; margin: 0; }
.about-section-table-wrap { overflow-x: auto; }
.about-section-table { width: 100%; min-width: 1040px; border-collapse: collapse; table-layout: fixed; }
.about-section-table th, .about-section-table td { padding: 15px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; font-size: .82rem; }
.about-section-table tbody tr:hover { background: #fffaf6; }
.about-section-table th { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about-section-table th:nth-child(1) { width: 6%; }.about-section-table th:nth-child(2) { width: 15%; }.about-section-table th:nth-child(3) { width: 20%; }.about-section-table th:nth-child(4) { width: 27%; }.about-section-table th:nth-child(5) { width: 18%; }.about-section-table th:nth-child(6) { width: 14%; }
.about-section-table td { overflow-wrap: anywhere; }
.about-section-table th:last-child,
.about-section-table td:last-child { width: 154px; min-width: 154px; }
.about-section-table .crud-actions { flex-wrap: nowrap; }
.about-section-table .crud-actions a,
.about-section-table .crud-actions button { flex: 0 0 auto; white-space: nowrap; }
.about-section-table td:nth-child(1) { color: var(--blue); font-weight: 700; }
.about-section-table td:nth-child(3) { min-width: 180px; font-weight: 700; }
.about-section-table td:nth-child(4) { min-width: 220px; color: var(--muted); line-height: 1.55; }
.about-thumb-grid { display: grid; grid-template-columns: repeat(2, 56px); gap: 8px; }
.about-thumb-grid img { width: 56px; height: 56px; border-radius: 4px; background: #f0f2f5; object-fit: cover; }
.about-section-form { max-width: none; }
.about-image-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.about-image-fields label { display: grid; gap: 8px; }
.form-dialog-full { width: min(100%, 1180px); max-height: calc(100vh - 32px); padding: 32px; }
.form-dialog-full .content-editor-form { padding: 0; border: 0; box-shadow: none; }
.form-dialog-full .content-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-section-dialog { width: min(100%, 1060px); }
.modal-description { max-width: 650px; margin: -8px 0 20px; color: var(--muted); font-size: .86rem; line-height: 1.55; }
@media (max-width: 900px) { .about-image-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .about-content-toolbar { margin: 0 0 14px; }.form-dialog-full { width: 100%; max-height: calc(100vh - 24px); padding: 24px 18px; }.form-dialog-full .content-form-grid { grid-template-columns: 1fr; }.about-sections-panel .panel-heading { gap: 12px; flex-direction: column; }.about-panel-add { width: 100%; }.about-section-table th, .about-section-table td { padding: 12px 10px; } }
@media (max-width: 560px) { .about-image-fields { grid-template-columns: 1fr; } }
.about-section-edit-form { max-width: none; margin-top: 22px; padding: 28px; border-top: 3px solid var(--blue); gap: 24px; }
.about-section-edit-form .content-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.about-section-edit-form .content-form-grid label { display: grid; gap: 7px; margin: 0; color: #303846; }
.about-section-edit-form label > span { font-size: .78rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.about-section-edit-form .content-form-grid input,
.about-section-edit-form .content-form-grid textarea { width: 100%; }
.about-section-edit-form .about-image-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 2px; }
.about-section-edit-form .about-image-fields label { display: grid; min-width: 0; gap: 8px; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: #fafbfd; }
.about-image-preview { width: 100%; aspect-ratio: 4 / 3; border-radius: 3px; background: #eef1f5; object-fit: cover; }
.about-section-edit-form .about-image-fields small { min-height: 28px; font-size: .72rem; line-height: 1.4; }
.about-section-edit-form .about-image-fields input[type="file"] { width: 100%; min-height: 34px; padding: 0; border: 0; background: transparent; font-size: .72rem; }
.about-section-edit-form .about-image-fields input[type="file"]::file-selector-button { margin-right: 7px; padding: 6px 8px; border: 0; border-radius: 2px; background: #fff1e6; color: #a94300; font: 700 .68rem "DM Sans", sans-serif; text-transform: uppercase; cursor: pointer; }
.about-section-edit-form .form-actions { justify-content: flex-end; margin-top: 0; padding-top: 4px; }
@media (max-width: 900px) { .about-section-edit-form .about-image-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .about-section-edit-form { padding: 20px; }.about-section-edit-form .content-form-grid { grid-template-columns: 1fr; gap: 16px; }.about-section-edit-form .form-actions { justify-content: stretch; flex-wrap: wrap; }.about-section-edit-form .form-actions button,.about-section-edit-form .form-actions a { flex: 1 1 180px; } }
.admission-rows-panel { max-width: none; }.admission-rows-panel .panel-heading > div > span { display: block; margin-top: 5px; color: var(--muted); font-size: .78rem; }.admission-title-form { display: flex; align-items: end; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }.admission-title-form label { display: grid; flex: 1; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }.admission-title-form input { width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid #ccd4de; font: inherit; }.admission-title-form button { min-height: 40px; padding: 0 15px; border: 0; background: var(--red); color: #fff; cursor: pointer; font: 700 .72rem "DM Sans", sans-serif; text-transform: uppercase; }.admission-row-table-wrap { overflow-x: auto; }.admission-row-table { width: 100%; min-width: 620px; border-collapse: collapse; }.admission-row-table th,.admission-row-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; }.admission-row-table th { color: var(--muted); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }.admission-row-table th:first-child,.admission-row-table td:first-child { width: 90px; color: var(--blue); font-weight: 700; }.admission-row-table th:last-child,.admission-row-table td:last-child { width: 155px; }.admission-row-table .crud-actions { flex-wrap: nowrap; }.admission-row-table .crud-actions a,.admission-row-table .crud-actions button { white-space: nowrap; }.admission-row-edit-form { max-width: 650px; }.admission-row-edit-form label { display: grid; gap: 7px; }.admission-row-edit-form input { width: 100%; }
.admission-row-table th:nth-child(3),.admission-row-table td:nth-child(3) { width: 230px; }.no-attachment { color: var(--muted); font-size: .78rem; }.admission-row-dialog h2,.admission-row-edit-form h2 { margin: 0 0 6px; color: var(--ink); font: 1.5rem "Playfair Display", serif; }.admission-row-form { gap: 16px; }.admission-row-form label,.admission-row-edit-form label { display: grid; gap: 8px; color: var(--ink); font-size: .84rem; font-weight: 700; }.admission-row-form input:not([type="file"]),.admission-row-edit-form input:not([type="file"]) { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #ccd4de; font: inherit; }.admission-row-form input[type="file"],.admission-row-edit-form input[type="file"] { padding: 9px; border: 1px dashed #cbd3de; background: #fafbfd; }.admission-row-form small,.admission-row-edit-form small { color: var(--muted); font-weight: 400; line-height: 1.45; }
.file-size-error { min-height: 1.2em; color: #b82320 !important; font-size: .76rem !important; }
.page-info-form { gap: 17px; }.page-info-form > label { display: grid; gap: 7px; margin: 0; color: #303846; font-size: .78rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }.page-info-form > label > input:not([type="file"]),.page-info-form > label > textarea { width: 100%; }.page-info-form > label > input[type="file"] { width: 100%; padding: 9px; border: 1px dashed #cbd3de; background: #fafbfd; }.page-info-form > button { align-self: flex-start; margin: 0; }
.academic-class-panel { max-width: none; }.academic-subject-form { display: grid; grid-template-columns: 1fr 110px auto; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }.academic-subject-form input { min-height: 38px; padding: 0 10px; border: 1px solid #ccd4de; font: inherit; }.academic-subject-form button { min-height: 38px; border: 0; background: var(--red); color: #fff; cursor: pointer; font-weight: 700; }.academic-subject-list { margin: 0; padding: 0; list-style: none; }.academic-subject-list li { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid var(--line); }.academic-subject-list form { margin: 0; }.academic-subject-list button { min-height: 29px; border: 1px solid #f4b5b3; background: #fff3f2; color: #b82320; cursor: pointer; font-size: .7rem; text-transform: uppercase; }
@media (max-width: 650px) { .academic-subject-form { grid-template-columns: 1fr; }.academics-grid { grid-template-columns: 1fr; } }
.faculty-form { max-width: 720px; }.faculty-form label { display: grid; gap: 7px; }.faculty-form input,.faculty-form textarea { width: 100%; }.faculty-admin-list { max-width: none; }.faculty-admin-list article { display: grid; grid-template-columns: 94px 1fr auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }.faculty-admin-list img { width: 94px; height: 76px; object-fit: cover; }.faculty-admin-list strong,.faculty-admin-list span { display: block; }.faculty-admin-list span { margin-top: 4px; color: var(--blue); font-size: .78rem; font-weight: 700; }.faculty-admin-list p { margin: 5px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }.faculty-admin-list .crud-actions { flex-wrap: nowrap; }
@media (max-width: 600px) { .faculty-admin-list article { grid-template-columns: 76px 1fr; }.faculty-admin-list img { width: 76px; height: 62px; }.faculty-admin-list .crud-actions { grid-column: 1 / -1; } }
@media (max-width: 600px) { .admission-title-form { align-items: stretch; flex-direction: column; }.admission-title-form button { width: 100%; } }
.gallery-admin-list h2 { margin-top: 0; }.gallery-admin-list article { display: grid; grid-template-columns: 105px 1fr auto; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }.gallery-admin-list img { width: 105px; height: 64px; object-fit: cover; }.gallery-admin-list strong,.gallery-admin-list span { display: block; }.gallery-admin-list span { margin-top: 3px; color: var(--muted); font-size: .76rem; }
@media (max-width: 560px) { .gallery-admin-list article { grid-template-columns: 82px 1fr; }.gallery-admin-list img { width: 82px; height: 54px; }.gallery-admin-list .crud-actions { grid-column: 1 / -1; } }
@media (max-width: 760px) { .content-toolbar { justify-content: flex-start; margin: 0 0 14px; }.slider-form { grid-template-columns: 1fr; }.slider-form label,.slider-form input,.slider-form small { grid-column: 1; } }
@media (max-width: 760px) { .form-dialog { padding: 22px 18px; }.form-modal { padding: 12px; } }
.admin-form h2 { margin: 22px 0 2px; color: var(--blue); font: 1.3rem "Playfair Display", serif; }
.sidebar-brand { gap: 10px; padding: 0 8px; font-family: "DM Sans", sans-serif; font-size: .88rem; letter-spacing: 0; }
.sidebar-brand .sidebar-brand-mark { display: grid; width: 36px; height: 36px; place-items: center; overflow: hidden; border-radius: 50%; background: #fff; }
.sidebar-brand .sidebar-brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sidebar-brand .sidebar-brand-name { display: block; min-width: 0; overflow: hidden; color: #fff; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.admin-breadcrumb { display: flex; gap: 6px; margin: 10px 8px 0; color: #ffcfaa; font-size: .68rem; line-height: 1.3; }
.admin-breadcrumb a { color: #fff1e6; font-weight: 700; }.admin-breadcrumb span { color: #ffd1ad; }
.login-brand { gap: 10px; font-family: "DM Sans", sans-serif; font-size: .92rem; letter-spacing: 0; }.login-brand .login-brand-mark { display: grid; width: 38px; height: 38px; place-items: center; overflow: hidden; border-radius: 50%; background: #fff1e6; }.login-brand .login-brand-mark img { display: block; width: 32px; height: 32px; object-fit: contain; }.login-brand .login-brand-name { display: block; width: auto; height: auto; background: transparent; color: #202832; font: 700 .92rem "DM Sans", sans-serif; }
.assets-library-page { max-width: 1100px; }.asset-upload-form { grid-template-columns: minmax(180px,.7fr) minmax(260px,1.4fr) auto; align-items: end; max-width: none; }.asset-upload-form label { display: none; }.asset-upload-form small { grid-column: 1 / -1; }.asset-upload-form button { margin: 0; white-space: nowrap; }.asset-library-list { max-width: none; }.asset-library-row { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }.asset-library-row:last-child { border-bottom: 0; }.asset-file-type { display: grid; width: 46px; height: 38px; place-items: center; border: 1px solid #f0c8aa; background: #fff6ef; color: #a94300; font-size: .64rem; font-weight: 700; }.asset-library-details { min-width: 0; }.asset-library-details strong,.asset-library-details a,.asset-library-details code { display: block; }.asset-library-details strong { margin-bottom: 3px; color: var(--ink); font-size: .9rem; }.asset-library-details a { margin-bottom: 5px; color: var(--blue); font-size: .78rem; }.asset-library-details code { overflow: hidden; color: var(--muted); font: .7rem "DM Sans",sans-serif; text-overflow: ellipsis; white-space: nowrap; }.asset-library-actions { display: flex; align-items: center; gap: 8px; }.asset-library-actions button { min-height: 31px; margin: 0; padding: 0 10px; border: 1px solid var(--line); background: #fff; color: var(--blue); cursor: pointer; font: 700 .72rem "DM Sans",sans-serif; text-transform: uppercase; }.asset-library-actions .delete-form button { border-color: #f4b5b3; background: #fff3f2; color: #b82320; }
@media (max-width:760px) { .asset-upload-form { grid-template-columns: 1fr; }.asset-upload-form button { width: 100%; }.asset-library-row { grid-template-columns: 46px minmax(0,1fr); }.asset-library-actions { grid-column: 1 / -1; }.asset-library-details code { white-space: normal; word-break: break-all; } }

/* Restrained administration palette. */
:root { --blue: #fc6c00; --deep-blue: #252b33; --red: #fc6c00; --ink: #202832; --muted: #687483; --line: #e2e6eb; --paper: #f4f6f8; }
.admin-page { background: var(--paper); }.admin-sidebar { background: var(--deep-blue); color: #d8dee7; }.sidebar-label { color: #f4a261; }.sidebar-menu a { color: #d5dbe4; }.sidebar-menu .sidebar-submenu { color: #b7c1cc; }.sidebar-menu a:hover,.sidebar-menu .is-active { border-left-color: #fc6c00; background: rgba(255,255,255,.08); color: #fff; }.admin-header { border-color: var(--line); }.admin-content h1,.dashboard-panel h2 { color: var(--ink); }.dashboard-panel { box-shadow: 0 4px 14px rgba(32,40,50,.06); }
