@font-face {
  font-family: AppArabic;
  src: local("Geeza Pro"), local("Tahoma");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: AppArabic, Tahoma, Arial, sans-serif;
  color: #233c43;
  background: #f5f7f8;
  font-size: 15px;
  line-height: 1.65;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #83bfb4;
  outline-offset: 3px;
}
input,
select {
  border: 1px solid #dce3e5;
  border-radius: 8px;
  padding: 10px 13px;
  background: #fff;
  color: #233c43;
  min-width: 0;
  outline: none;
}
input:focus,
select:focus {
  border-color: #2b8278;
  box-shadow: 0 0 0 3px #2b827815;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.6;
  letter-spacing: -0.6px;
}
h2 {
  font-size: 18px;
}
h3 {
  font-size: 17px;
}
small {
  font-size: 12px;
}
button {
  border: 0;
}
strong {
  font-weight: 700;
}
.muted {
  color: #7b8c91;
  font-size: 13px;
}
.eyebrow {
  font-size: 12px;
  color: #65837c;
  font-weight: 700;
  margin-bottom: 8px;
}
.layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 252px;
  background: #142e36;
  color: #e9f1f0;
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 30px 20px 0;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 45px;
  width: 45px;
}
.brand strong {
  font-size: 29px;
  line-height: 1.3;
}
.brand strong span {
  display: block;
  font-size: 11px;
  color: #afc1c3;
  font-weight: 400;
  margin-top: 5px;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #203a42;
  border: 1px solid #3b505640;
  border-radius: 9px;
  padding: 13px 11px;
  margin: 32px 0;
}
.workspace-icon {
  font-size: 24px;
  color: #d6edaa;
}
.workspace div {
  flex: 1;
}
.workspace strong {
  display: block;
  font-size: 13px;
}
.workspace small {
  color: #a6b9bd;
  font-size: 11px;
}
.nav-label {
  font-size: 11px;
  color: #91a8ae;
  margin: 0 13px 13px;
}
.nav-item {
  background: transparent;
  color: #b9cbd0;
  display: flex;
  align-items: center;
  text-align: right;
  gap: 12px;
  width: 100%;
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 6px;
  font-size: 14px;
  transition: background 0.15s;
}
.nav-item span {
  width: 22px;
  font-size: 22px;
  line-height: 1;
}
.nav-item small {
  margin-right: auto;
  background: #ffffff12;
  border-radius: 4px;
  padding: 0 6px;
  color: #bbcdd0;
}
.nav-item:hover {
  background: #ffffff08;
  color: white;
}
.nav-item.active {
  background: #d8eea7;
  color: #1c3938;
  font-weight: 700;
}
.nav-item.active small {
  color: #1c3938;
}
.sidebar-note {
  margin-top: auto;
  padding: 25px 13px 24px;
  color: #aec1c4;
  font-size: 12px;
}
.sidebar-note > span {
  display: block;
  color: #cfe89f;
  font-size: 23px;
  margin-bottom: 7px;
}
.sidebar-note strong {
  display: block;
  color: #dfe8e9;
  font-size: 13px;
}
.sidebar-note p {
  margin-top: 6px;
  line-height: 1.9;
}
.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 21px 0;
  border-top: 1px solid #ffffff16;
}
.avatar {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: #d8eea7;
  color: #2b4845;
  border-radius: 50%;
  font-size: 15px;
}
.user-profile div {
  flex: 1;
}
.user-profile strong {
  font-size: 13px;
}
.user-profile small {
  display: block;
  color: #91a8ae;
  font-size: 11px;
}
.icon-btn {
  background: none;
  color: inherit;
  font-size: 24px;
  line-height: 1;
  width: 32px;
  height: 32px;
}
.main {
  margin-right: 252px;
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 79px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  background: #fff;
  border-bottom: 1px solid #e8edee;
  font-size: 12px;
}
.breadcrumb {
  color: #8b9a9e;
  display: flex;
  gap: 13px;
}
.breadcrumb strong {
  color: #42575e;
  font-weight: 400;
}
.topbar-end {
  display: flex;
  gap: 20px;
  align-items: center;
}
.saved {
  color: #52786e;
  background: #eff6f2;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
}
.today {
  color: #72848a;
}
.page-content {
  padding: 31px 38px 40px;
  max-width: 1700px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.page-heading p {
  color: #7a8a90;
  font-size: 14px;
  margin-top: 4px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 7px;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.7;
  white-space: nowrap;
  transition: all 0.15s;
  font-weight: 500;
}
.btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}
.primary {
  background: #287c70;
  color: #fff;
  border: 1px solid #287c70;
}
.secondary {
  background: #fff;
  border: 1px solid #dce4e6;
  color: #3f555c;
}
.dark {
  background: #173b3e;
  color: #fff;
}
.ghost {
  background: transparent;
  color: #56706f;
  padding: 6px 9px;
}
.danger-text {
  background: transparent;
  color: #b5605c;
  padding: 6px 9px;
}
.full {
  width: 100%;
  justify-content: space-between;
}
.text-btn {
  color: #2c7a6e;
  background: transparent;
  font-size: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}
.stat {
  background: #fff;
  border: 1px solid #e5ebed;
  border-radius: 11px;
  padding: 19px 22px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #73868d;
  font-size: 13px;
}
.stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f0f5f3;
  color: #638379;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.stat > strong {
  display: block;
  font-size: 37px;
  line-height: 1.4;
  margin: 12px 0 2px;
  color: #213e45;
}
.stat > small {
  color: #8c9ba0;
  font-size: 12px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 23px;
}
.panel {
  border: 1px solid #e3eaeb;
  background: white;
  border-radius: 11px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 23px;
  gap: 12px;
  border-bottom: 1px solid #eef1f2;
}
.panel-head small {
  color: #84969a;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 4px 9px;
  font-size: 11px;
  color: #7c8b8b;
  background: #f0f3f4;
  white-space: nowrap;
}
.badge.green {
  background: #eaf5ef;
  color: #408473;
}
.badge.blue {
  background: #eaf1fb;
  color: #5c7baf;
}
.badge.purple {
  background: #f0edfa;
  color: #8c6fb3;
}
.badge.amber {
  background: #fbf3e4;
  color: #a78236;
}
.readiness {
  background: #f7faf5;
  border-color: #dce7d7;
  padding-bottom: 22px;
}
.readiness .panel-head {
  border-bottom: 0;
  padding-bottom: 10px;
}
.readiness-body {
  display: flex;
  padding: 17px 25px 23px;
  gap: 20px;
  align-items: center;
}
.readiness-body > div:first-child {
  flex: 1;
}
.readiness h3 {
  font-size: 25px;
  color: #284e40;
  margin-bottom: 10px;
}
.readiness h3 span {
  display: block;
  font-size: 15px;
  margin-top: 3px;
}
.readiness p {
  color: #7b8b7c;
  font-size: 13px;
  max-width: 310px;
  margin-bottom: 18px;
}
.mini-map {
  width: 172px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  transform: rotate(-6deg);
  padding: 10px;
}
.mini-desk {
  height: 27px;
  border: 1px solid #b6c6ad;
  border-radius: 4px;
  display: flex;
  gap: 4px;
  padding: 5px;
  background: #edf3e7;
}
.mini-desk i {
  background: #d0dec3;
  border-radius: 2px;
  flex: 1;
}
.mini-desk.filled i {
  background: #86aa69;
}
.mini-map > span {
  grid-column: 1/-1;
  text-align: center;
  font-size: 10px;
  color: #8d9e86;
  margin-top: 2px;
}
.progress-track {
  height: 5px;
  background: #e7eede;
  margin: 0 25px;
  border-radius: 4px;
  overflow: hidden;
}
.progress-track span {
  height: 100%;
  background: #8aaa65;
  display: block;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin: 9px 25px 0;
  color: #809072;
}
.progress-meta strong {
  font-weight: 400;
  direction: ltr;
}
.steps .panel-head {
  border: 0;
  padding-bottom: 10px;
}
.step {
  display: flex;
  width: calc(100% - 40px);
  background: none;
  gap: 12px;
  text-align: right;
  align-items: center;
  margin: 0 20px;
  padding: 13px 0;
  border-bottom: 1px solid #f0f3f4;
}
.step:last-child {
  border: 0;
}
.step-number {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #e0e7e8;
  border-radius: 50%;
  color: #849997;
  font-size: 12px;
}
.step-number.done {
  background: #eaf4e7;
  border-color: #dcebd5;
  color: #658659;
}
.step strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.step small {
  display: block;
  font-size: 11px;
  color: #94a1a6;
  margin-top: 2px;
}
.step b {
  font-size: 18px;
  font-weight: 400;
  color: #a0b1b5;
  margin-right: auto;
}
.empty {
  text-align: center;
  padding: 38px 22px 40px;
}
.empty-icon {
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: #93b1a7;
  background: #f0f6f2;
  font-size: 29px;
  width: 52px;
  height: 52px;
  border-radius: 13px;
}
.empty h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 7px 0;
}
.empty p {
  font-size: 13px;
  color: #95a0a4;
  margin: 6px auto 20px;
  max-width: 450px;
}
.school-summary,
.exam-summary {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 23px;
  border-bottom: 1px solid #f1f4f5;
}
.school-summary:last-child,
.exam-summary:last-child {
  border: 0;
}
.school-summary > div:nth-child(2),
.exam-summary > div:nth-child(2) {
  flex: 1;
}
.school-summary strong,
.exam-summary strong {
  font-size: 13px;
  display: block;
}
.school-summary small,
.exam-summary small {
  font-size: 11px;
  color: #96a4a7;
  display: block;
  margin-top: 3px;
}
.school-avatar {
  width: 43px;
  height: 43px;
  border: 1px solid #e5eceb;
  border-radius: 9px;
  background: #f8faf9;
  display: grid;
  place-items: center;
  color: #70958a;
  font-size: 26px;
}
.date-tile {
  border-radius: 7px;
  background: #f2f7f5;
  width: 42px;
  text-align: center;
  padding: 5px;
  color: #739388;
}
.date-tile strong {
  font-size: 17px;
}
.date-tile small {
  font-size: 10px;
  margin: 0;
}
footer {
  display: flex;
  justify-content: space-between;
  margin: 0 38px;
  padding: 20px 0;
  border-top: 1px solid #e6eced;
  color: #9da9ad;
  font-size: 12px;
}
.school-section {
  margin-bottom: 22px;
}
.school-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.room-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 18px;
  padding: 23px;
}
.room-card {
  border: 1px solid #e3ebeb;
  border-radius: 10px;
  background: #fcfdfd;
  padding: 18px 17px 9px;
}
.room-card-top {
  display: flex;
  gap: 12px;
  align-items: center;
}
.room-icon {
  font-size: 29px;
  color: #6d9389;
  background: #edf5f0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 9px;
}
.room-card h3 {
  font-size: 15px;
}
.room-card small {
  font-size: 12px;
  color: #8f9e9f;
}
.room-capacity {
  display: flex;
  gap: 9px;
  align-items: baseline;
  margin: 22px 0 18px;
}
.room-capacity strong {
  font-size: 33px;
  font-weight: 500;
}
.room-capacity span {
  font-size: 12px;
  color: #8b9b9e;
}
.room-card-footer {
  display: flex;
  border-top: 1px solid #e9efef;
  gap: 2px;
  padding-top: 8px;
  justify-content: space-between;
}
.room-card-footer .btn {
  font-size: 11px;
}
.room-empty {
  padding: 15px;
  grid-column: 1/-1;
}
.table-toolbar {
  display: flex;
  gap: 15px;
  padding: 21px 23px;
  border-bottom: 1px solid #e7eded;
  align-items: center;
}
.table-toolbar > .muted {
  margin-right: auto;
}
.seat-lookup-toolbar {
  flex-wrap: wrap;
  align-items: end;
}
.seat-lookup-toolbar .field {
  flex: 1 1 240px;
  min-width: 0;
}
.seat-lookup-results {
  padding: 20px;
}
.seat-lookup-results .portal-details {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.seat-lookup-results strong {
  overflow-wrap: anywhere;
}
.seat-lookup-actions {
  margin-top: 20px;
}
.search-field {
  display: flex;
  align-items: center;
  border: 1px solid #dfe6e7;
  border-radius: 7px;
  padding-right: 12px;
  background: #fff;
}
.search-field span {
  color: #8b9fa4;
  font-size: 22px;
}
.search-field input {
  border: 0;
  background: transparent;
  width: 265px;
  font-size: 13px;
  padding: 9px;
}
.table-toolbar select {
  font-size: 13px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 13px;
  white-space: nowrap;
}
th {
  font-weight: 400;
  color: #8b9a9f;
  font-size: 12px;
  background: #fafcfc;
  padding: 13px 22px;
  border-bottom: 1px solid #eaf0f0;
}
td {
  padding: 17px 22px;
  border-bottom: 1px solid #edf1f2;
}
tbody tr:last-child td {
  border: 0;
}
tbody tr:hover {
  background: #fcfdfc;
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.person strong {
  font-size: 13px;
  font-weight: 500;
}
.pale {
  background: #f0f4f0;
  color: #7d9587;
  width: 33px;
  height: 33px;
}
.mono {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.4px;
}
.row-actions {
  display: flex;
}
.row-actions .btn {
  font-size: 11px;
}
.info-banner {
  border: 1px solid #deeae7;
  background: #f0f7f4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  margin-bottom: 23px;
  color: #5d8376;
  font-size: 13px;
}
.info-banner > span {
  font-size: 25px;
}
.info-banner p {
  flex: 1;
}
.seating-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.seating-toolbar > .muted {
  margin-right: auto;
}
.seating-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 20px;
}
.hall {
  padding: 22px;
}
.hall-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hall-heading span {
  font-size: 12px;
  color: #90a29e;
}
.board {
  text-align: center;
  border-radius: 5px;
  background: #edf4ef;
  color: #759c86;
  font-size: 12px;
  margin: 23px auto 33px;
  padding: 9px;
  width: 70%;
  border-bottom: 3px solid #b7cdbb;
}
.hall-scroll {
  overflow: auto;
}
.desk-grid {
  display: grid;
  grid-template-columns: repeat(var(--hall-columns, 3), minmax(0, 1fr));
  gap: 23px 17px;
  min-width: 560px;
  padding: 3px;
}
.desk {
  min-width: 0;
  border: 1px solid #dce6e3;
  border-radius: 9px;
  background: #f8fbfa;
  padding: 7px;
}
.desk-label {
  text-align: center;
  font-size: 10px;
  color: #81978f;
  margin-bottom: 6px;
}
.desk-seats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.seat {
  border: 1px dashed #d9e2de;
  min-height: 93px;
  min-width: 79px;
  max-width: 160px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: white;
  border-radius: 5px;
  cursor: pointer;
}
.seat.occupied {
  border-style: solid;
  border-color: transparent;
}
.seat-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #b7c7bd;
  font-size: 20px;
}
.seat-placeholder small {
  font-size: 10px;
  color: #9dafa7;
  margin-top: 3px;
}
.student-chip {
  min-width: 0;
  background: #eaf4ef;
  color: #507c67;
  padding: 8px 6px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid transparent;
  flex: 1;
  cursor: grab;
  touch-action: manipulation;
}
.student-chip strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
  line-height: 1.8;
  white-space: normal;
}
.student-chip small {
  font-size: 10px;
  display: block;
  margin-top: 4px;
}
.student-chip bdi {
  display: block;
  font-family: monospace;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
  margin-top: 4px;
}
.student-chip.blue {
  background: #ecf2fc;
  color: #6481b3;
}
.student-chip.purple {
  background: #f1edfa;
  color: #8f70ad;
}
.student-chip.amber {
  background: #fbf3e7;
  color: #ad8643;
}
.student-chip.rose {
  background: #f9eded;
  color: #b17e7e;
}
.student-chip.selected {
  outline: 2px solid #247970;
  outline-offset: 2px;
}
.drag-over {
  outline: 2px dashed #2d8f78 !important;
  background: #e3f3e9 !important;
}
.hall-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #93a49c;
  margin-top: 29px;
  padding: 10px 5px;
}
.student-pool {
  align-self: start;
  position: sticky;
  top: 20px;
}
.student-pool .panel-head {
  padding: 17px;
}
.student-pool h2 {
  font-size: 15px;
}
.student-pool > p {
  padding: 13px 17px;
  color: #97a5a2;
  font-size: 11px;
}
.pool-drop {
  padding: 10px 15px;
  display: grid;
  gap: 9px;
  min-height: 160px;
  max-height: 550px;
  overflow: auto;
}
.pool-drop .student-chip {
  text-align: right;
  padding: 11px;
  display: grid;
  grid-template-columns: 1fr auto;
}
.pool-drop .student-chip strong {
  grid-column: 1/-1;
}
.pool-drop .student-chip small {
  margin-top: 4px;
}
.pool-drop .student-chip bdi {
  margin-top: 4px;
}
.pool-note {
  font-size: 11px;
  color: #91a29a;
  background: #f7faf8;
  padding: 15px 17px;
  border-top: 1px solid #e8efeb;
}
.pool-empty {
  color: #8ca796;
  text-align: center;
  font-size: 28px;
  padding: 15px 0;
}
.pool-empty p {
  font-size: 12px;
  margin-top: 10px;
}
.exam-tabs {
  display: flex;
  gap: 13px;
  overflow: auto;
  margin-bottom: 25px;
  padding-bottom: 2px;
}
.exam-tab {
  background: white;
  color: #708780;
  border: 1px solid #e0e8e4;
  padding: 15px 23px;
  min-width: 160px;
  text-align: right;
  border-radius: 9px;
}
.exam-tab.active {
  background: #eaf4ec;
  border-color: #87bba0;
  color: #396c52;
}
.exam-tab strong {
  font-size: 14px;
  display: block;
}
.exam-tab small {
  font-size: 11px;
  opacity: 0.7;
  display: block;
  margin-top: 5px;
}
.teacher-tags {
  display: flex;
  gap: 6px;
}
.settings-panel {
  max-width: 760px;
  margin-bottom: 24px;
}
.settings-fields {
  padding: 25px;
}
.settings-fields > .field {
  max-width: 420px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.field > span {
  font-size: 13px;
  color: #5e7677;
}
.field-help {
  color: #92a2a1;
  font-size: 12px;
  margin: -7px 0 23px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
dialog {
  border: 1px solid #dce6e4;
  border-radius: 14px;
  padding: 0;
  width: 560px;
  max-width: calc(100% - 30px);
  max-height: 90vh;
  color: #26443f;
  box-shadow: 0 25px 90px #153b3540;
}
dialog::backdrop {
  background: #0b222b88;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid #e8efed;
}
.dialog-head h2 {
  font-size: 20px;
}
.dialog-body {
  padding: 24px 26px;
  overflow: auto;
}
.dialog-body > p {
  font-size: 14px;
  margin-bottom: 17px;
}
.dialog-foot {
  display: flex;
  gap: 10px;
  padding: 18px 26px;
  background: #f9fbfa;
  border-top: 1px solid #e7efeb;
}
.dialog-body .table-wrap {
  margin: 15px -10px 20px;
  max-height: 340px;
}
.dialog-body td,
.dialog-body th {
  padding: 10px 12px;
  font-size: 12px;
}
.upload-zone {
  border: 2px dashed #c9dcd4;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  background: #f8fbf9;
  margin-bottom: 23px;
}
.upload-zone > span {
  display: block;
  font-size: 30px;
  color: #76a28d;
}
.upload-zone strong {
  display: block;
  font-size: 15px;
  margin: 6px;
}
.upload-zone p {
  font-size: 12px;
  color: #94a79e;
}
.upload-zone input {
  font-size: 12px;
  width: 100%;
  margin-top: 15px;
}
.checkbox-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}
.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #f6f9f7;
  border-radius: 5px;
  font-size: 13px;
}
.checkbox-list .badge {
  margin-right: auto;
}
.checkbox-list label[hidden] {
  display: none;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #1f564d;
  color: #fff;
  padding: 14px 23px;
  border-radius: 9px;
  box-shadow: 0 8px 30px #233f3420;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  max-width: min(650px, 90vw);
  transition: 0.2s;
}
#toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #9e4646;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  background: #142e36;
  color: white;
  padding: 55px 65px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.auth-story > .eyebrow {
  color: #b7d294;
  margin-top: 85px;
}
.auth-story h1 {
  font-size: 43px;
  line-height: 1.65;
  margin-top: 12px;
}
.auth-story p {
  color: #a5bdbf;
  margin-top: 18px;
  font-size: 15px;
  max-width: 330px;
}
.auth-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 47px 0;
  width: 290px;
  transform: rotate(-7deg);
  opacity: 0.8;
}
.auth-tiles span {
  font-size: 32px;
  color: #748f8f;
  background: #27434a;
  border: 1px solid #40575d;
  border-radius: 7px;
  text-align: center;
  height: 45px;
  line-height: 1.3;
}
.auth-tiles span.accent {
  background: #a8c986;
  color: #355345;
  border-color: #a8c986;
}
.auth-story > small {
  margin-top: auto;
  color: #789399;
}
.auth-form {
  display: grid;
  place-items: center;
  padding: 40px;
  background: #fcfdfc;
}
.auth-card {
  width: 100%;
  max-width: 370px;
}
.auth-card h2 {
  font-size: 29px;
  margin-bottom: 12px;
}
.auth-card > p {
  font-size: 14px;
  color: #8ba199;
  margin-bottom: 30px;
}
.auth-card > small {
  font-size: 11px;
  color: #a1b3ab;
  display: block;
  text-align: center;
  margin-top: 30px;
}
.auth-card .full {
  margin-top: 12px;
}
.form-error {
  color: #b44848;
  font-size: 13px;
  margin: 5px 0;
}
.loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: #678b7d;
}
.busy {
  cursor: progress;
}
.busy button[type="submit"] {
  opacity: 0.6;
  pointer-events: none;
}
.student-portal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #142e36;
  color: white;
  padding: 20px 8%;
}
.portal-content {
  max-width: 1000px;
  padding: 35px;
  margin: auto;
}
.portal-card {
  padding: 30px;
  background: #eef6e9;
  border: 1px solid #dce8d4;
  border-radius: 12px;
  margin-bottom: 25px;
}
.portal-card h2 {
  font-size: 24px;
}
.portal-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.portal-details small {
  display: block;
  color: #7d9680;
  font-size: 12px;
}
.portal-details strong {
  display: block;
  font-size: 19px;
  margin-top: 5px;
}
.portal-exam-number strong {
  font-size: 30px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.portal-exam-number {
  grid-column: span 2;
}
#seat-card-print {
  display: none;
}
body.printing-seat-card > :not(#seat-card-print) {
  display: none !important;
}
body.printing-seat-card > #seat-card-print {
  display: block;
}
.seat-slip {
  box-sizing: border-box;
  width: 125mm;
  max-width: calc(100% - 24px);
  margin: 24px auto;
  padding: 7mm;
  border: 1px solid #172f36;
  border-radius: 8px;
  background: white;
  color: #172f36;
  text-align: center;
  overflow-wrap: anywhere;
  break-inside: avoid;
}
.seat-slip header {
  padding-bottom: 4mm;
  border-bottom: 1px solid #cbd5d8;
}
.seat-slip span, .seat-slip-class {
  font-size: 11pt;
}
.seat-slip h2 {
  font-size: 15pt;
  margin: 2mm 0 0;
}
.seat-slip h1 {
  font-size: 19pt;
  line-height: 1.5;
  margin: 5mm 0 1mm;
}
.seat-slip-number, .seat-slip-room, .seat-slip-secret {
  margin-top: 4mm;
}
.seat-slip strong {
  display: block;
  font-size: 16pt;
  line-height: 1.5;
}
.seat-slip-number strong, .seat-slip-position strong {
  font-size: 22pt;
}
.seat-slip-secret strong {
  font-family: ui-monospace, monospace;
  font-size: 20pt;
  letter-spacing: 2px;
}
.seat-slip-position {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4mm;
  margin-top: 5mm;
  padding-top: 4mm;
  border-top: 1px solid #cbd5d8;
}
#hall-print {
  display: none;
}
body.printing-halls > :not(#hall-print) {
  display: none !important;
}
body.printing-halls > #hall-print {
  display: block;
  overflow: auto;
}
.print-preview-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px;
}
.print-hall-page {
  position: relative;
  width: 190mm;
  height: 275mm;
  margin: 16px auto;
  overflow: hidden;
  background: white;
  flex-shrink: 0;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.print-hall {
  position: absolute;
  top: 0;
  left: 0;
  width: 190mm;
  margin: 0;
  padding: 0;
  border: 0;
  background: white;
  transform: scale(var(--print-scale, 1));
  transform-origin: top left;
}
.print-hall .board {
  margin: 2mm auto;
  padding: 1mm;
}
.print-hall .hall-scroll {
  overflow: visible;
}
.print-hall .hall-heading h2 {
  font-size: 12pt;
}
.print-hall .hall-heading span {
  font-size: 10pt;
  color: #142e36;
}
.print-hall .hall-footer {
  margin-top: 2mm;
  padding: 1mm;
  font-size: 8pt;
}
.print-caption {
  font-size: 9pt;
  margin: 1mm 0;
}
.print-hall-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 2mm;
  align-items: start;
  margin: 1mm 0;
}
.print-grade-summary {
  border: 1px solid #cbd9d3;
  border-radius: 1mm;
  padding: 1mm 1.5mm;
  font-size: 8pt;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.print-grade-counts,
.print-grade-total {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5mm 2mm;
}
.print-grade-counts > span {
  display: inline-block;
}
.print-grade-total {
  border-top: 1px solid #dce6e3;
  padding-top: 0.5mm;
  margin-top: 0.5mm;
  justify-content: space-between;
}
.print-hall .desk-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  gap: 1.5mm 2mm;
  align-items: start;
}
.print-hall .desk {
  padding: 1mm;
}
.print-hall .desk-seats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1mm;
  direction: rtl;
}
.print-hall .seat {
  max-width: none;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
}
.print-seat-side {
  display: block;
  text-align: center;
  font-size: 8pt;
  line-height: 1.2;
  padding: 0.5mm;
  color: #526761;
}
.print-hall .student-chip {
  padding: 0.5mm;
  flex: 0 0 auto;
}
.print-hall .student-chip small {
  font-size: 8pt;
  line-height: 1.3;
  margin-top: 0.5mm;
}
.print-hall .student-chip strong {
  font-size: 9pt;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.print-hall .student-chip bdi {
  font-size: 11pt;
  line-height: 1.2;
  margin-top: 0.5mm;
  font-family: Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  color: #142e36;
}
@media (min-width: 1500px) {
  .page-content {
    padding: 40px 55px;
  }
  .topbar {
    padding: 0 55px;
  }
  .stats {
    gap: 24px;
  }
  .stat {
    padding: 23px 27px;
  }
  .dashboard-grid {
    gap: 26px;
  }
  .readiness-body {
    padding: 24px 30px;
  }
  .step {
    padding: 17px 0;
  }
  .mini-map {
    width: 200px;
    gap: 13px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 220px;
    padding: 25px 15px 0;
  }
  .main {
    margin-right: 220px;
  }
  .page-content {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-heading .actions {
    align-self: flex-start;
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mini-map {
    width: 115px;
    gap: 7px;
    padding: 0;
  }
  .mini-desk {
    height: 24px;
    padding: 4px;
    gap: 3px;
  }
  .readiness-body {
    padding: 15px 20px;
    gap: 10px;
  }
  .readiness h3 {
    font-size: 22px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 16px;
  }
  .stat-top {
    font-size: 12px;
  }
  .topbar-end {
    gap: 10px;
  }
  .seating-layout {
    grid-template-columns: minmax(0, 1fr) 210px;
  }
  .sidebar-note {
    padding: 20px 10px;
  }
  .auth-story {
    padding: 40px;
  }
  .auth-story h1 {
    font-size: 35px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 185px;
    padding: 20px 10px 0;
  }
  .main {
    margin-right: 185px;
  }
  .nav-item {
    font-size: 12px;
    padding: 12px 9px;
    gap: 8px;
  }
  .brand strong {
    font-size: 25px;
  }
  .brand img {
    width: 37px;
    height: 37px;
  }
  .brand strong span {
    font-size: 9px;
  }
  .workspace {
    padding: 10px;
    margin: 25px 0;
  }
  .workspace strong {
    font-size: 11px;
  }
  .sidebar-note {
    display: none;
  }
  .user-profile {
    margin-top: auto;
  }
  .user-profile strong {
    font-size: 11px;
  }
  .topbar {
    height: 65px;
  }
  .today {
    display: none;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .readiness-body {
    padding: 20px 25px;
  }
  .mini-map {
    width: 170px;
    gap: 12px;
  }
  .seating-layout {
    grid-template-columns: 1fr;
  }
  .student-pool {
    position: static;
  }
  .pool-drop {
    grid-template-columns: repeat(3, 1fr);
    max-height: 240px;
  }
  .table-toolbar {
    flex-wrap: wrap;
  }
  .table-toolbar > .muted {
    display: none;
  }
  .auth-story {
    padding: 30px;
  }
  .auth-story h1 {
    font-size: 30px;
  }
  .auth-tiles {
    width: 230px;
  }
  .auth-form {
    padding: 30px;
  }
  .portal-details {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }
  .layout {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 15px 16px 0;
  }
  .sidebar > .brand {
    padding-bottom: 15px;
  }
  .brand strong span {
    display: none;
  }
  .workspace,
  .nav-label,
  .user-profile {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 7px;
    margin: 0 -16px;
    padding: 0 12px;
  }
  .nav-item {
    width: auto;
    white-space: nowrap;
    min-width: max-content;
    margin: 0;
    border-radius: 7px 7px 0 0;
    padding: 10px 12px;
    font-size: 12px;
  }
  .nav-item span {
    font-size: 18px;
    width: 18px;
  }
  .nav-item small {
    display: none;
  }
  .main {
    margin: 0;
  }
  .topbar {
    height: 52px;
    padding: 0 19px;
  }
  .page-content {
    padding: 23px 17px;
  }
  .page-heading {
    gap: 18px;
    margin-bottom: 23px;
  }
  h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .actions {
    gap: 7px;
  }
  .btn {
    font-size: 12px;
    padding: 9px 13px;
  }
  .stats {
    gap: 10px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 14px 16px;
  }
  .stat > strong {
    font-size: 31px;
  }
  .stat-icon {
    width: 27px;
    height: 27px;
    font-size: 18px;
  }
  .stat > small {
    font-size: 11px;
  }
  .stat-top {
    font-size: 11px;
  }
  .dashboard-grid {
    gap: 18px;
  }
  .panel-head {
    padding: 17px 19px;
  }
  .panel-head h2 {
    font-size: 16px;
  }
  .readiness-body {
    padding: 15px 20px;
  }
  .readiness h3 {
    font-size: 23px;
  }
  .readiness p {
    font-size: 12px;
  }
  .mini-map {
    width: 125px;
    gap: 9px;
  }
  .mini-desk {
    height: 24px;
  }
  .progress-track {
    margin: 10px 20px 0;
  }
  .readiness {
    padding-bottom: 18px;
  }
  .progress-meta {
    margin: 9px 20px 0;
  }
  .room-cards {
    padding: 17px;
  }
  .school-section .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .school-title h2 {
    font-size: 17px;
  }
  .table-toolbar {
    padding: 16px;
  }
  .search-field {
    width: 100%;
  }
  .search-field input {
    width: 100%;
  }
  .table-toolbar select {
    width: 100%;
  }
  td,
  th {
    padding: 13px 17px;
  }
  .info-banner {
    font-size: 12px;
    padding: 13px;
    align-items: flex-start;
  }
  .info-banner .text-btn {
    white-space: nowrap;
  }
  .seating-toolbar {
    gap: 12px;
  }
  .seating-toolbar select {
    width: 100%;
    font-size: 13px;
  }
  .seating-toolbar > .muted {
    font-size: 11px;
  }
  .hall {
    padding: 15px;
  }
  .hall-heading {
    gap: 10px;
  }
  .hall-heading h2 {
    font-size: 16px;
  }
  .pool-drop {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 25px;
    min-height: 250px;
  }
  .auth-story > .eyebrow {
    margin-top: 25px;
  }
  .auth-story h1 {
    font-size: 26px;
  }
  .auth-story p {
    font-size: 12px;
    margin-top: 10px;
  }
  .auth-story > small,
  .auth-tiles {
    display: none;
  }
  .auth-form {
    padding: 33px 25px;
  }
  .auth-card {
    max-width: 400px;
  }
  .auth-card h2 {
    font-size: 26px;
  }
  .dialog-body,
  .dialog-head {
    padding: 20px;
  }
  .dialog-foot {
    padding: 17px 20px;
  }
  .portal-content {
    padding: 25px 18px;
  }
  .student-portal > header {
    padding: 17px;
  }
  .student-portal .brand strong {
    font-size: 24px;
  }
  .portal-card {
    padding: 22px;
  }
  .portal-details strong {
    font-size: 16px;
  }
  footer {
    margin: 0 18px;
    font-size: 10px;
  }
  .saved {
    font-size: 10px;
  }
  .breadcrumb {
    font-size: 11px;
  }
}
@media print {
  .seat-slip {
    max-width: 100%;
    margin: 0 auto;
    color: black;
    border-color: black;
  }
  .print-preview-toolbar {
    display: none;
  }
  body.printing-halls > #hall-print {
    overflow: visible;
  }
  body.printing-cards > :not(#print-cards) {
    display: none !important;
  }
  body.printing-halls > :not(#hall-print) {
    display: none !important;
  }
  body.printing-halls > #hall-print {
    display: block;
  }
  .print-hall-page {
    margin: 0;
    break-after: page;
    break-inside: avoid;
  }
  .print-hall-page:last-child {
    break-after: auto;
  }
  body {
    background: white;
  }
  .sidebar,
  .topbar,
  footer,
  .page-heading .actions,
  .student-pool,
  .seating-toolbar,
  .hall-footer,
  #toast,
  dialog {
    display: none !important;
  }
  .main {
    margin: 0;
  }
  .page-content {
    padding: 0;
  }
  .page-heading {
    margin: 0 0 10px;
  }
  .page-heading p,
  .page-heading .eyebrow {
    display: none;
  }
  .seating-layout {
    display: block;
  }
  .hall {
    border: 0;
    padding: 0;
  }
  .hall-scroll {
    overflow: visible;
  }
  .desk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    gap: 10px;
  }
  .seat {
    min-width: 0;
    min-height: 65px;
    max-width: none;
  }
  .desk {
    min-width: 0;
    break-inside: avoid;
  }
  .student-chip strong {
    font-size: 11pt;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .student-chip bdi {
    font-size: 13pt;
    color: #142e36;
  }
  .student-chip small {
    font-size: 9pt;
  }
  .print-hall .hall-footer {
    display: flex !important;
  }
  .student-chip {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .board {
    margin: 15px auto;
  }
  .panel {
    break-inside: avoid;
  }
  @page {
    size: A4 portrait;
    margin: 10mm;
  }
}
.print-only {
  display: none;
}
.dialog-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media print {
  .exam-tabs,
  .exam-detail-panel {
    display: none !important;
  }
  .print-only {
    display: block;
  }
  .print-only.print-cards-grid {
    display: grid;
  }
  .print-schedule h1 {
    font-size: 20px;
    margin-bottom: 14px;
  }
  .print-exam {
    break-inside: avoid;
    margin-bottom: 22px;
  }
  .print-exam h2 {
    font-size: 15px;
  }
  .print-exam p {
    font-size: 12px;
    color: #555;
    margin: 2px 0 8px;
  }
  .print-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .print-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 14px 16px;
    break-inside: avoid;
  }
  .print-card-label {
    font-size: 10px;
    color: #666;
    display: block;
    margin-bottom: 6px;
  }
  .print-card h2 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .print-card-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 4px 0;
    border-top: 1px dashed #ddd;
  }
  .print-card-row strong {
    font-family: ui-monospace, monospace;
  }
  .print-card-exam-number {
    flex-direction: column;
    gap: 3px;
  }
  .print-card-exam-number strong {
    font-size: 24pt;
    line-height: 1.3;
    font-weight: 800;
    direction: ltr;
    text-align: right;
    overflow-wrap: anywhere;
  }
}

.attendance-title { text-align: center; font-size: 19pt; margin: 0 0 3mm; color: black; }
.attendance-date { display: flex; align-items: center; gap: 3mm; margin: 0 0 3mm; font-size: 14pt; font-weight: 700; color: black; }
.attendance-date-fields { display: inline-flex; direction: rtl; align-items: center; gap: 2mm; white-space: nowrap; }
.attendance-date .date-blank { display: inline-block; width: 14mm; }
.attendance-hall .print-grade-summary { margin: 2mm 0; padding: 2mm 3mm; font-size: 13pt; line-height: 1.55; font-weight: 800; color: black; border: 0.5mm solid #555; }
.attendance-hall .print-grade-summary strong,
.attendance-hall .print-grade-summary b { font-weight: 900; }
.attendance-hall .print-grade-summary > strong { display: block; font-size: 14pt; margin-bottom: 1mm; }
.attendance-hall .print-grade-counts { gap: 1mm 4mm; }
.attendance-hall .print-grade-total { margin-top: 1.5mm; padding-top: 1.5mm; border-color: #777; }
.attendance-hall .desk { border: 1px solid #555; background: white; }
.attendance-hall .seat { border: 1px solid #999; background: white; color: black; }
.attendance-place { width: 100%; padding: 1mm; text-align: center; min-height: 22mm; }
.attendance-place strong { display: block; font-size: 10pt; line-height: 1.4; overflow-wrap: anywhere; }
.attendance-signature { min-height: 13mm; }
.attendance-footer { position: absolute; bottom: 0; left: 0; right: 0; padding: 4mm 0 2mm; color: black; background: white; font-size: 11pt; border-top: 1px solid #555; }
.attendance-footer > div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 5mm; padding-top: 3mm; }
.attendance-teacher-signatures > span { display: flex; align-items: flex-end; gap: 3mm; min-height: 12mm; }
.teacher-signature-line { flex: 1; border-bottom: 1px dotted #555; margin-bottom: 1.5mm; }


#schedule-print { display: none; }
body.printing-schedule > :not(#schedule-print) { display: none !important; }
body.printing-schedule > #schedule-print { display: block; overflow: auto; }
.schedule-toolbar .field { min-width: 180px; max-width: 320px; flex: 1; }
.schedule-toolbar > strong { flex-basis: 100%; }
.schedule-empty { padding: 30px; text-align: center; }
.schedule-sheet {
  box-sizing: border-box;
  width: 190mm;
  height: 275mm;
  margin: 20px auto;
  padding: 8mm;
  border: 1.2mm double #203c57;
  background: white;
  color: #172f42;
  display: flex;
  flex-direction: column;
  font-family: Tahoma, Arial, sans-serif;
  box-shadow: 0 3px 18px #142e3614;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.schedule-sheet-content { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.schedule-sheet-inner { position: absolute; top: 0; left: 0; width: 100%; transform-origin: top left; }
.schedule-school-header { display: flex; align-items: center; justify-content: space-between; gap: 6mm; padding-bottom: 4mm; border-bottom: 0.5mm solid #203c57; }
.schedule-school-header h2 { font-size: 15pt; line-height: 1.5; margin: 0; max-width: 75%; overflow-wrap: anywhere; }
.schedule-school-header > span { font-size: 10pt; line-height: 1.6; text-align: center; }
.schedule-title { font-size: 17pt; line-height: 1.4; text-align: center; color: white; background: #264e70; border-radius: 2mm; margin: 3mm 0 1.5mm; padding: 1.5mm; }
.schedule-exam-name { text-align: center; font-size: 12pt; font-weight: bold; line-height: 1.4; margin: 1.5mm 0; }
.schedule-date { border: 0.3mm solid #8295a4; width: fit-content; max-width: 100%; text-align: center; margin: 2mm auto 4mm; padding: 1.5mm 4mm; font-size: 11pt; font-weight: bold; }
.schedule-date > span { display: block; font-size: 10pt; margin-top: 1mm; }
.schedule-table { width: 100%; border-collapse: collapse; table-layout: fixed; direction: rtl; font-size: 10.5pt; color: #17232b; }
.schedule-table th, .schedule-table td { border: 0.3mm solid #5c6c74; padding: 0.8mm 1.5mm; height: 7mm; line-height: 1.35; vertical-align: middle; text-align: center; white-space: normal; overflow-wrap: anywhere; }
.schedule-table thead th { background: #e2ebef; color: #172f42; font-size: 12pt; font-weight: bold; }
.schedule-table tbody th { background: #f0f4f5; font-size: inherit; color: inherit; font-weight: bold; }
.schedule-table tbody td { background: white; }
.schedule-table tbody tr:last-child td { border: 0.3mm solid #5c6c74; }
.schedule-table tr { break-inside: avoid; }
.schedule-sheet-footer { display: flex; justify-content: space-between; padding-top: 4mm; font-size: 9pt; color: #4e6371; }
.schedule-girls { border-color: #883e66; color: #62304d; }
.schedule-girls .schedule-school-header { border-color: #883e66; }
.schedule-girls .schedule-title { background: #984a73; }
.schedule-girls .schedule-date { border-color: #ba8ba4; }
.schedule-girls .schedule-table thead th { background: #f3e2eb; color: #62304d; }
.exam-detail-panel .exam-room-girls > td { background: #fcf0f6; border-color: #e3c5d5; }
.exam-detail-panel .exam-room-girls > td:first-child,
.exam-detail-panel .exam-room-girls > td:nth-child(2) { color: #783d5d; font-weight: 700; }
.schedule-girls .schedule-table tbody th { background: #f1d6e4; color: #62304d; }
.schedule-girls .schedule-table tbody td { background: #fcf0f6; }
.schedule-girls .schedule-table th, .schedule-girls .schedule-table td, .schedule-girls .schedule-table tbody tr:last-child td { border-color: #b18b9f; }
.schedule-girls .schedule-sheet-footer { color: #81526b; }
@media print {
  body.printing-schedule > #schedule-print { overflow: visible; }
  .schedule-sheet { margin: 0; box-shadow: none; break-after: page; break-inside: avoid; }
  .schedule-sheet:last-child { break-after: auto; }
  .schedule-table thead { display: table-header-group; }
}
