:root {
  --bg: #f3f7f8;
  --card: #ffffff;
  --text: #18232f;
  --muted: #5f6b76;
  --line: #d7e0e6;
  --primary: #385667;
  --primary-dark: #2a414e;
  --secondary: #d77059;
  --danger: #c53030;
  --shadow: 0 16px 40px rgba(56, 86, 103, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family, 'Tajawal', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif);
  color: var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(215, 112, 89, 0.11), transparent 22%),
    radial-gradient(circle at 80% 5%, rgba(56, 86, 103, 0.12), transparent 25%),
    linear-gradient(180deg, #f8fbfc 0%, var(--bg) 100%);
  min-height: 100vh;
}

.container {
  width: min(1200px, 95%);
  margin: 1.5rem auto 2.5rem;
  display: grid;
  gap: 1.15rem;
}

.hero {
  background: linear-gradient(125deg, #ffffff 0%, #f2fbfd 100%);
  border: 1px solid #cde0e9;
  border-right: 0.5rem solid var(--primary);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow);
}

.hero-kicker {
  margin: 0 0 2px 0;
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.75rem;
}

.hero h1 {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.3;
  color: var(--primary-dark);
}

.hero-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(19, 40, 61, 0.06);
  padding: 16px;
}

.card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card h2 {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
}

.section-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.93rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-areas: "phrases evaluation";
  gap: 12px;
  margin-top: 14px;
  direction: ltr;
}

.phrases-editor-pane,
.evaluation-pane {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fcfeff;
  padding: 1rem;
  direction: rtl;
  max-height: 72vh;
  overflow: auto;
}

.phrases-editor-pane {
  grid-area: phrases;
}

.evaluation-pane {
  grid-area: evaluation;
}

.split-title {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--primary-dark);
}

.phrases-list {
  display: grid;
  gap: 10px;
}

.phrase-card {
  border: 1px solid #d8e3eb;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
  cursor: pointer;
}

.phrase-card.active {
  border-color: #8fc6d8;
  background: #f1fbff;
  box-shadow: inset 0 0 0 1px #d2edf7;
}

.phrase-card-title {
  margin: 0 0 8px;
  font-size: 1.16rem;
  color: #173d67;
}

.phrase-part-grid {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.phrase-part-field {
  display: grid;
  gap: 4px;
}

.phrase-part-field label {
  font-size: 0.85rem;
  color: #304a5d;
}

.phrase-part-field textarea {
  min-height: 62px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.manual-date-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
}

.manual-date-text-input {
  width: 100%;
  min-width: 0;
}

.manual-date-picker {
  width: 42px;
  min-width: 42px;
  height: 100%;
  min-height: 38px;
  padding: 0 4px;
  border: 1px solid #cedce5;
  border-radius: 10px;
  background: #fbfdff;
  color: transparent;
  caret-color: transparent;
  cursor: pointer;
}

.manual-date-picker::-webkit-datetime-edit,
.manual-date-picker::-webkit-clear-button,
.manual-date-picker::-webkit-inner-spin-button {
  display: none;
}

.manual-date-picker::-webkit-calendar-picker-indicator {
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 1;
  cursor: pointer;
}

.phrase-part-custom {
  min-height: 58px;
}

.phrase-part-custom.is-hidden {
  display: none;
}

.phrase-card-text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.9;
  white-space: pre-line;
  padding: 8px;
  border: 1px dashed #c9d8e1;
  border-radius: 8px;
  background: #fbfeff;
}

.phrase-card-meta {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  color: #556979;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.phrase-card-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.evaluation-list {
  display: grid;
  gap: 10px;
}

.domain-tabs {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  background: #fcfeff;
}

.domain-tab {
  border: 1px solid #c7d7e1;
  background: #fff;
  color: #2f4658;
  border-radius: 999px;
  padding: 6px 11px;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.domain-tab:hover {
  background: #f2f9fc;
}

.domain-tab.active {
  background: #385667;
  border-color: #385667;
  color: #fff;
}

.eval-domain-group {
  border: 1px solid #d5e3ea;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.eval-domain-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #1e5a76;
}

.eval-criterion-group-title {
  margin: 12px 0 8px;
  font-size: 0.9rem;
  color: #2d4b61;
}

.eval-domain-group>.eval-criterion-group-title:first-of-type {
  margin-top: 4px;
}

.eval-row {
  border: 1px solid #e2ebf0;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  display: grid;
  gap: 0.625rem;
  background: #fdfefe;
}

.eval-row+.eval-row {
  margin-top: 8px;
}

.eval-row.active {
  border-color: #8fc6d8;
  background: #f1fbff;
  box-shadow: inset 0 0 0 1px #d2edf7;
}

.eval-criterion-btn {
  border: 1px solid #c7d7e1;
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  flex: 1 1 280px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
}

.eval-criterion-btn:hover {
  background: #f4f9fc;
}

.eval-row-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.eval-jump-btn {
  flex: 0 0 auto;
  border: 1px solid #bdd4df;
  background: #eef7fb;
  color: #1d5a73;
  border-radius: 8px;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.eval-jump-btn:hover {
  background: #dff0f7;
  border-color: #8fc6d8;
  color: #0f4d64;
}

.eval-include {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: #3e5568;
}

.eval-levels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}



.level-btn {
  border: 1px solid #cad8e2;
  background: #fff;
  color: #2f4658;
  border-radius: 8px;
  padding: 8px 6px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.level-btn:hover {
  background: #f2f9fc;
}

.level-btn.active {
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 150, 136, 0.3);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* متميز (1) — أفتح فيروزي */
.level-btn.active.level-1 {
  background: #4db6ac;
  border-color: #3da89e;
}

/* جيد (2) */
.level-btn.active.level-2 {
  background: #26a69a;
  border-color: #1e968b;
}

/* ملائم (3) */
.level-btn.active.level-3 {
  background: #00897b;
  border-color: #007a6e;
}

/* غير ملائم (4) */
.level-btn.active.level-4 {
  background: #00695c;
  border-color: #005a4f;
}

/* يحتاج إلى تدخل سريع (5) — أغمق فيروزي */
.level-btn.active.level-5 {
  background: #004d40;
  border-color: #003d33;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.field-header label {
  margin: 0;
}

.team-members-list {
  display: grid;
  gap: 8px;
}

.team-members-label {
  display: block;
}

.leader-field .team-member-row {
  align-items: stretch;
}

.team-member-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.leader-row {
  flex-wrap: nowrap;
}

.team-member-row input {
  flex: 0 1 260px;
  min-width: 170px;
  max-width: 280px;
  padding-block: 7px;
  font-size: 0.9rem;
}

.leader-row input {
  flex: 0 1 250px;
}

.team-member-remove-btn {
  min-width: 38px;
  padding-inline: 0;
}

.add-member-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary-dark);
  box-shadow: 0 4px 12px rgba(13, 110, 138, 0.25);
  padding: 8px 12px;
  white-space: nowrap;
}

.add-member-btn:hover {
  background: var(--primary-dark);
}

.add-member-plus {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 800;
}

.add-member-text {
  font-size: 0.84rem;
  font-weight: 700;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #bccad4;
  border-radius: 10px;
  padding: 9px 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 110, 138, 0.16);
}

input[type="date"].date-empty::-webkit-datetime-edit {
  color: transparent;
}

input[type="date"].date-empty:focus::-webkit-datetime-edit {
  color: inherit;
}

.phrase-form,
.meta-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.action-row,
.actions-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-family, 'Tajawal', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn.primary {
  background: #00897b;
  color: #fff;
  border: 1px solid #007a6e;
}

.btn.primary:hover {
  background: #00796b;
}

.btn.secondary {
  background: #26a69a;
  color: #fff;
  border: 1px solid #1e968b;
}

.btn.secondary:hover {
  background: #1e9288;
}

.btn.ghost {
  background: #f0f9f8;
  color: #00695c;
  border: 1px solid #b2dfdb;
}

.btn.ghost:hover {
  background: #e0f2f1;
}

.btn.ghost.active {
  background: #00897b;
  color: #fff;
  border-color: #007a6e;
}

.btn.ghost.danger {
  color: var(--danger);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 12px;
}

.phrases-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 720px;
}

.phrases-table th,
.phrases-table td {
  border-bottom: 1px solid #e6edf2;
  padding: 10px 8px;
  vertical-align: top;
  text-align: right;
}

.phrases-table th {
  background: #f2f8fb;
  font-size: 0.9rem;
}

.phrases-table td {
  font-size: 0.9rem;
}

.type-chip {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.type-chip.positive {
  background: #e4f7ea;
  color: #166534;
}

.type-chip.development {
  background: #fff2e2;
  color: #a04b00;
}

.type-chip.recommendation {
  background: #e8f3ff;
  color: #0c4a86;
}

.selection-container {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fcfeff;
}

.selection-empty {
  margin: 0;
  color: var(--muted);
}

.domain-group {
  border: 1px solid #d5e3ea;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.domain-group+.domain-group {
  margin-top: 10px;
}

.domain-title {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 1rem;
}

.criteria-grid {
  display: grid;
  gap: 8px;
}

.criterion-group {
  border: 1px solid #e2ebf0;
  border-radius: 10px;
  padding: 10px;
  background: #fdfefe;
}

.criterion-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.type-block+.type-block {
  margin-top: 8px;
}

.type-title {
  margin: 0 0 6px;
  font-size: 0.86rem;
  color: #445564;
}

.option {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 5px 8px;
  border-radius: 8px;
}

.option:hover {
  background: #f4f9fc;
}

.option input {
  margin-top: 3px;
}

.option-text {
  font-size: 0.9rem;
}

.report-card {
  border-top: 4px solid var(--primary);
}

.report-preview {
  border: 1px dashed #b5c8d5;
  border-radius: 10px;
  padding: 14px;
  background: #fff;
}

.report-preview.empty {
  color: var(--muted);
}

.official-report {
  direction: rtl;
}

.report-cover {
  text-align: center;
  margin-bottom: 14px;
}

.report-cover-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #19354a;
}

.report-cover-subtitle {
  margin: 2px 0;
  font-size: 1.32rem;
  font-weight: 700;
  color: #173f5a;
}

.report-cover-date {
  margin: 8px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #244861;
}

.report-section-title {
  margin: 0 0 8px;
  background: #5f8b7b;
  color: #fff;
  border: 1px solid #36534b;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 1rem;
  font-weight: 800;
}

.report-header h3 {
  margin: 0 0 10px;
  text-align: center;
  font-size: 1.2rem;
  color: #123e63;
}

.report-preamble {
  margin: 0 0 10px;
  line-height: 1.95;
  font-size: 1rem;
  text-align: justify;
  color: #1f3446;
}

.report-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f2f8fb;
  border: 1px solid #d4e4ee;
  font-size: 0.93rem;
  color: #24465f;
}

.report-body {
  margin-top: 14px;
}

.report-table-wrap {
  overflow-x: auto;
  border: 2px solid #36534b;
  border-radius: 10px;
  background: #fff;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  table-layout: fixed;
}

.report-table th,
.report-table td {
  border: 1px solid #36534b;
  padding: 8px 9px;
  vertical-align: top;
  text-align: center;
  line-height: 1.75;
  font-size: 0.9rem;
}

.report-table th {
  background: #5f8b7b;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
}

.report-table td:nth-child(4) {
  text-align: right;
}

.report-serial-cell {
  background: #f2f7f5;
  font-weight: 800;
  vertical-align: middle !important;
}

.report-domain-cell {
  background: #f7fbf9;
  font-weight: 800;
  vertical-align: middle !important;
}

.report-team-table-wrap {
  margin-top: 6px;
}

.report-team-table {
  min-width: 620px;
}

.report-team-table td:first-child {
  background: #f2f7f5;
  font-weight: 800;
}

.report-goals {
  margin: 0;
  padding-right: 22px;
  line-height: 2;
}

.report-goals li+li {
  margin-top: 4px;
}

.report-signature {
  margin-top: 18px;
  text-align: right;
  line-height: 2.1;
  font-size: 1rem;
  font-weight: 700;
}

.report-table-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #bfd0dc;
  border-radius: 6px;
  padding: 6px 7px;
  font-family: inherit;
  font-size: 0.88rem;
  background: #fff;
}

.report-table-notes {
  min-height: 96px;
  resize: vertical;
  line-height: 1.7;
}

.report-table-recommendation {
  min-height: 80px;
  resize: vertical;
  line-height: 1.7;
}

.report-period-inputs {
  display: grid;
  width: 100%;
  grid-template-columns: 28px minmax(0,1fr);
  gap: 5px 6px;
  align-items: center;
}

.report-period-inputs label {
  white-space: nowrap;
  font-size: 0.82rem;
  color: #305168;
}

.report-period-inputs .manual-date-input {
  width: 100%;
}

.report-table-date-input,
.report-table-owner-input,
.report-table-period-input {
  min-width: 0;
}

.report-table-date-input {
  padding: 5px 6px;
  font-size: 0.82rem;
  text-align: right;
}

.report-table-owner-input {
  padding: 5px 6px;
  font-size: 0.84rem;
}

.report-table-period-input {
  padding: 5px 6px;
  font-size: 0.84rem;
  text-align: right;
}

.report-edit-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #2e4c63;
}

.report-edit-input {
  min-height: 220px;
  line-height: 1.95;
  font-size: 1rem;
  resize: vertical;
}

.report-narrative {
  margin: 0;
  line-height: 2.05;
  font-size: 1.02rem;
  text-align: justify;
  white-space: normal;
}

.report-empty-list {
  margin: 0;
  color: var(--muted);
}

.report-extra-recommendations-section {
  border-top: 1px solid #dce7ee;
  padding-top: 12px;
}

.report-extra-title {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #1e425d;
}

.extra-recommendations-list {
  display: grid;
  gap: 10px;
}

.extra-recommendation-item {
  border: 1px solid #d3e1ea;
  border-radius: 10px;
  background: #f9fcfe;
  padding: 8px;
}

.extra-recommendation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.extra-recommendation-index {
  font-weight: 700;
  color: #244a65;
  font-size: 0.9rem;
}

.extra-recommendation-input {
  width: 100%;
  min-height: 86px;
  line-height: 1.8;
  resize: vertical;
}

.report-extra-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
}

.extra-recommendations-static {
  margin: 0;
  padding-right: 22px;
}

.extra-recommendations-static li+li {
  margin-top: 8px;
}

.extra-recommendation-label {
  font-weight: 700;
}

/* ===== Reports Page UX Refinement ===== */
.reports-page .container {
  width: min(1380px, 96%);
  margin: 30px auto 44px;
  gap: 20px;
}

.reports-page .hero {
  position: relative;
  height: auto;
  min-height: 0;
  overflow: visible;
  border-radius: 18px;
  border: 1px solid #bfd8e5;
  border-right: 10px solid var(--primary);
  padding: 18px 22px;
  background: linear-gradient(130deg, #ffffff 0%, #eff9fc 100%);
}

.reports-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 18%, rgba(13, 110, 138, 0.1), transparent 30%),
    radial-gradient(circle at 12% 80%, rgba(217, 95, 39, 0.09), transparent 26%);
  pointer-events: none;
}

.reports-page .hero>* {
  position: relative;
  z-index: 1;
}

.reports-page .hero-kicker {
  margin: 0 0 4px;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
}

.reports-page .hero h1 {
  margin: 0 0 6px;
  font-size: clamp(1.28rem, 2.1vw, 1.75rem);
  line-height: 1.45;
  color: #15384c;
}

.reports-page .hero-subtitle {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #345567;
}

.reports-page .card {
  border-radius: 16px;
  border: 1px solid #cfe0e9;
  box-shadow: 0 12px 30px rgba(26, 57, 80, 0.08);
  padding: 18px;
}

.reports-page .setup-card {
  border-top: 6px solid #0f7a95;
}

.reports-page .report-card {
  border-top: 6px solid #385667;
}

.reports-page .card-head {
  gap: 12px;
  margin-bottom: 14px;
}

.reports-page .card h2 {
  font-size: 1.15rem;
  color: #173d57;
}

.reports-page .meta-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reports-page .meta-form .field:not(.full) {
  background: #f8fcfe;
  border: 1px solid #d5e4ec;
  border-radius: 12px;
  padding: 10px 12px;
}

.reports-page .meta-form .field label {
  font-size: 0.86rem;
  color: #234b64;
}

.reports-page .leader-row input {
  min-height: 40px;
}

.reports-page .split-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.reports-page .phrases-editor-pane,
.reports-page .evaluation-pane {
  min-height: 560px;
  max-height: 74vh;
  border: 1px solid #cadce7;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfeff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 14px;
}

.reports-page .split-title {
  position: sticky;
  top: -14px;
  z-index: 6;
  margin: -14px -14px 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #d7e5ee;
  background: rgba(246, 251, 253, 0.96);
  backdrop-filter: blur(4px);
}

.reports-page .section-note {
  font-size: 0.84rem;
  line-height: 1.75;
}

.reports-page .domain-tabs {
  top: 44px;
  z-index: 5;
  padding-top: 4px;
  background: rgba(252, 254, 255, 0.95);
}

.reports-page .action-row {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed #c7d9e4;
}

.reports-page .actions-inline {
  width: 100%;
  gap: 8px;
  padding: 8px;
  border: 1px solid #d8e7ef;
  border-radius: 12px;
  background: #f7fbfd;
}

.reports-page .btn {
  border-radius: 10px;
  min-height: 40px;
  padding: 9px 12px;
  font-size: 0.86rem;
}

.reports-page .btn.primary {
  background: linear-gradient(145deg, #0d758f, #0b5d75);
}

.reports-page .btn.primary:hover {
  background: linear-gradient(145deg, #0b667c, #094f63);
}

.reports-page .btn.secondary {
  background: linear-gradient(145deg, #c76b3f, #b8531e);
}

.reports-page .btn.secondary:hover {
  filter: brightness(1);
  background: linear-gradient(145deg, #bd5e30, #a94817);
}

.reports-page .btn.ghost {
  background: #eef5f9;
  border: 1px solid #cfdde6;
}

.reports-page .btn.ghost:hover {
  background: #e4eef4;
}

.reports-page .report-preview {
  border: 1px solid #b9cfdb;
  border-radius: 14px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 24px rgba(36, 71, 92, 0.07);
}

.reports-page .official-report {
  border: 1px solid #c5d8e3;
  border-radius: 12px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(28, 61, 84, 0.08);
}

.reports-page .report-cover {
  margin-bottom: 18px;
  padding: 18px 14px;
  border: 1px solid #d8e7ef;
  border-radius: 12px;
  background: linear-gradient(145deg, #f4fbfd 0%, #f8fcfd 100%);
}

.reports-page .report-cover-title {
  font-size: 2.1rem;
  letter-spacing: 0.6px;
}

.reports-page .report-cover-subtitle {
  font-size: 1.18rem;
  line-height: 1.65;
}

.reports-page .report-cover-date {
  display: inline-block;
  margin-top: 10px;
  border: 1px solid #d1e2ea;
  border-radius: 999px;
  background: #ffffff;
  padding: 5px 12px;
  font-size: 0.95rem;
}

.reports-page .report-body {
  margin-top: 16px;
}

.reports-page .report-section-title {
  margin: 0 0 10px;
  border: 1px solid #315d65;
  border-radius: 8px;
  padding: 9px 12px;
  background: linear-gradient(145deg, #5d8f84, #4e7c72);
}

.reports-page .report-table-wrap {
  margin-top: 8px;
  border: 2px solid #335e69;
  border-radius: 12px;
  overflow: auto;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(20, 54, 75, 0.08);
}

.reports-page .report-table {
  min-width: 1100px;
  table-layout: fixed;
}

.reports-page .report-table th {
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 10px 8px;
  border: 1px solid #2b5662;
  background: linear-gradient(180deg, #2f7682 0%, #235d70 100%);
  font-size: 0.9rem;
}

.reports-page .report-table td {
  border: 1px solid #3c6772;
  padding: 10px 9px;
  line-height: 1.92;
  background: #ffffff;
}

.reports-page .report-table tbody tr:nth-child(even) td {
  background: #f7fbfd;
}

.reports-page .report-table tbody tr:hover td {
  background: #edf7fb;
}

.reports-page .report-table td:nth-child(4),
.reports-page .report-table td[data-role="extra-recommendation-cell"] {
  text-align: right;
  font-size: 0.94rem;
}

.reports-page .report-serial-cell {
  background: #edf6f4 !important;
  font-weight: 800;
}

.reports-page .report-domain-cell {
  background: #f1f8fb !important;
  font-weight: 800;
}

.reports-page .report-team-table {
  min-width: 760px;
}

.reports-page .report-goals {
  padding-right: 26px;
  font-size: 1rem;
  line-height: 2.1;
}

.reports-page .report-goals li+li {
  margin-top: 6px;
}

.reports-page .report-table-input {
  border: 1px solid #aac2d0;
  border-radius: 8px;
  background: #fbfdff;
  font-size: 0.89rem;
  line-height: 1.75;
}

.reports-page .report-table-input:focus {
  border-color: #0d6e8a;
  box-shadow: 0 0 0 3px rgba(13, 110, 138, 0.15);
}

.reports-page .report-narrative {
  border: 1px solid #d7e6ee;
  border-radius: 10px;
  background: #fbfeff;
  padding: 12px;
  font-size: 1.02rem;
  line-height: 2.1;
}

.reports-page .report-signature {
  margin-top: 22px;
  border-top: 2px dashed #b4ccd8;
  padding-top: 12px;
}

.reports-page .sent-reports-card {
  border-top: 6px solid #0d6e8a;
}

.reports-page .sent-reports-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.reports-page .filter-select {
  border: 1px solid #c6d8e2;
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  background: #f9fcfe;
}

.reports-page .sent-reports-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.reports-page .sent-summary-item {
  border: 1px solid #d3e3eb;
  border-radius: 10px;
  padding: 9px 10px;
  background: #f7fbfd;
}

.reports-page .sent-summary-label {
  color: #4f6878;
  font-size: 0.82rem;
}

.reports-page .sent-summary-value {
  color: #163c51;
  font-weight: 800;
  font-size: 1.1rem;
}

.reports-page .sent-reports-list {
  display: grid;
  gap: 10px;
}

.reports-page .sent-report-item {
  border: 1px solid #d2e3ec;
  border-radius: 12px;
  padding: 12px;
  background: #fcfeff;
  box-shadow: 0 4px 12px rgba(31, 68, 92, 0.06);
}

.reports-page .sent-report-item:hover {
  background: #f4f9fc;
}

.reports-page .sent-report-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.reports-page .sent-report-title {
  margin: 0;
  color: #173d52;
  font-size: 1rem;
}

.reports-page .sent-report-meta {
  margin: 4px 0 0;
  color: #607889;
  font-size: 0.86rem;
  line-height: 1.75;
}

.reports-page .sent-status-pill {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 700;
}

.reports-page .sent-status-pending {
  color: #915f12;
  background: #fff8e9;
  border: 1px solid #efce83;
}

.reports-page .sent-status-approved {
  color: #0f6644;
  background: #e8f9f1;
  border: 1px solid #90dab8;
}

.reports-page .sent-status-returned {
  color: #9a2d2d;
  background: #fff0f0;
  border: 1px solid #efb9b9;
}

.reports-page .sent-report-message {
  margin-top: 8px;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 0.88rem;
  line-height: 1.8;
}

.reports-page .sent-report-message.pending {
  background: #f7fbfd;
  border: 1px dashed #cbdde7;
  color: #2e4d5f;
}

.reports-page .sent-report-message.approved {
  background: #f1fbf6;
  border: 1px dashed #acd8c4;
  color: #1f5a44;
}

.reports-page .sent-report-message.returned {
  background: #fff5f5;
  border: 1px dashed #e7b5b5;
  color: #7f2f2f;
}

.reports-page .sent-report-note {
  margin-top: 8px;
  border-radius: 9px;
  border: 1px dashed #efc9b6;
  background: #fff8f3;
  color: #73412d;
  padding: 8px 10px;
  font-size: 0.88rem;
  line-height: 1.8;
}

.reports-page .sent-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.reports-page .sent-report-empty {
  text-align: center;
  color: #6b8291;
  border: 1px dashed #cbdce6;
  border-radius: 10px;
  padding: 20px;
  background: #fafdff;
}

.reports-page .extra-recommendation-item {
  border-radius: 12px;
  padding: 10px;
}

.reports-page .evaluation-pane::-webkit-scrollbar,
.reports-page .phrases-editor-pane::-webkit-scrollbar,
.reports-page .report-table-wrap::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.reports-page .evaluation-pane::-webkit-scrollbar-thumb,
.reports-page .phrases-editor-pane::-webkit-scrollbar-thumb,
.reports-page .report-table-wrap::-webkit-scrollbar-thumb {
  background: #a8c3d1;
  border-radius: 999px;
}

.reports-page .evaluation-pane::-webkit-scrollbar-track,
.reports-page .phrases-editor-pane::-webkit-scrollbar-track,
.reports-page .report-table-wrap::-webkit-scrollbar-track {
  background: #eaf2f7;
}

@media (max-width: 860px) {
  .reports-page .container {
    width: min(1300px, 97%);
    margin-top: 18px;
    gap: 14px;
  }

  .reports-page .meta-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reports-page .actions-inline {
    padding: 10px;
  }

  .reports-page .btn {
    flex: 1 1 190px;
  }

  .reports-page .phrases-editor-pane,
  .reports-page .evaluation-pane {
    min-height: 460px;
  }

  .meta-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .report-meta-line {
    gap: 8px;
  }

  .phrases-editor-pane,
  .evaluation-pane {
    max-height: none;
  }
}

@media (max-width: 780px) {
  .reports-page .hero {
    padding: 14px 14px;
  }

  .reports-page .hero h1 {
    font-size: 1.2rem;
  }

  .reports-page .meta-form {
    grid-template-columns: 1fr;
  }

  .reports-page .actions-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .reports-page .btn {
    width: 100%;
    justify-content: center;
  }

  .phrase-form,
  .meta-form {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .leader-row {
    flex-wrap: wrap;
  }

  .report-meta-line {
    flex-direction: column;
  }

  .eval-levels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .reports-page .official-report {
    padding: 14px;
  }

  .reports-page .report-cover-title {
    font-size: 1.6rem;
  }

  .reports-page .report-cover-subtitle {
    font-size: 1rem;
  }

  .reports-page .report-table {
    min-width: 920px;
  }

  .split-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "evaluation"
      "phrases";
    direction: rtl;
  }
}

@media (max-width: 520px) {
  .eval-levels {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

@media print {
  body {
    background: #fff;
  }

  body.reports-page > header,
  body.reports-page > footer,
  body.reports-page .hero,
  body.reports-page .setup-card,
  body.reports-page .sent-reports-card,
  body.reports-page .card:not(.report-card),
  body.reports-page .report-card .card-head {
    display: none !important;
  }

  .reports-page .container,
  .print-mode .container,
  body .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .report-card {
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .report-preview {
    border: none;
    padding: 0;
  }

  .report-cover-title {
    font-size: 20pt !important;
    font-weight: 900 !important;
    color: #000 !important;
  }

  .report-cover-subtitle {
    font-size: 16pt !important;
    font-weight: bold !important;
    color: #111 !important;
  }

  .report-cover-date {
    font-size: 12pt !important;
    color: #333 !important;
  }

  .official-report .report-cover,
  .reports-page .official-report .report-cover {
    display: block !important;
    position: relative !important;
    height: auto !important;
    margin-bottom: 20px !important;
    page-break-after: avoid !important;
    clear: both !important;
  }

  .official-report .report-cover-frame {
    border: 3px double #1d6c63 !important;
    border-radius: 0 !important;
    padding: 30px !important;
    background: #fff !important;
    display: block !important;
    position: relative !important;
    height: auto !important;
    clear: both !important;
  }

  .official-report .report-body {
    display: block !important;
    position: relative !important;
    height: auto !important;
    margin-top: 15px !important;
    clear: both !important;
    page-break-inside: auto !important;
  }

  .official-report .report-cover-divider {
    background: #1d6c63 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    height: 2px !important;
    margin: 20px 0 !important;
  }

  .official-report .report-cover-meta-table {
    margin-top: 30px !important;
  }

  .official-report .report-cover-meta-item {
    border: 1px solid #1d6c63 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fafafa !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .report-table-wrap {
    overflow: visible;
    border: none;
  }

  .report-table {
    min-width: 0 !important;
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    word-wrap: break-word !important;
  }
  
  .report-table th {
    background: #1d6c63 !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    border: 1px solid #111 !important;
    padding: 8px !important;
    font-size: 10pt !important;
  }
  
  .report-table td {
    border: 1px solid #111 !important;
    padding: 6px !important;
    font-size: 10pt !important;
    color: #000 !important;
  }

  body.print-table-only .report-narrative-section {
    display: none !important;
  }

  body.print-table-only .report-extra-recommendations-section {
    display: none !important;
  }

  .report-table tr[data-extra-recommendation-id] {
    display: none !important;
  }

  body.print-table-only .report-cover,
  body.print-table-only .report-signature,
  body.print-table-only .report-goals,
  body.print-table-only .report-body:not(.report-observations-section):not(.report-table-section) {
    display: none !important;
  }

  .no-print,
  .extra-recommendation-remove-btn,
  .report-extra-actions {
    display: none !important;
  }

  .extra-recommendation-input {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
    min-height: 0 !important;
    resize: none !important;
  }

  .report-header h3 {
    margin-bottom: 12px;
    font-size: 16pt;
  }

  .report-preamble {
    font-size: 13pt;
    line-height: 1.8;
    text-align: justify;
  }

  .report-meta-line {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 8px;
    font-size: 11pt;
    gap: 18px;
  }

  .report-narrative {
    font-size: 13pt;
    line-height: 1.8;
    text-align: justify;
  }

  .report-section-title {
    background: #1d6c63 !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 6px 10px !important;
    font-size: 12pt !important;
    font-weight: 800 !important;
    margin: 18px 0 12px !important;
  }

  .report-signature {
    margin-top: 60px !important;
    page-break-inside: avoid !important;
  }
}
/* ======================================================
   PROFESSIONAL UI REFINEMENT
   ØªØ­Ø³ÙŠÙ† ØªØ±ØªÙŠØ¨ ØµÙØ­Ø© Ø§Ù„ØªÙ‚Ø§Ø±ÙŠØ± Ø¨Ø¯ÙˆÙ† ØªØºÙŠÙŠØ± Ø§Ù„ØªØµÙ…ÙŠÙ…
====================================================== */

/* Ù…Ø³Ø§ÙØ§Øª Ø¹Ø§Ù…Ø© */
.reports-page .container{
width:min(1400px,96%);
margin:35px auto;
gap:26px;
}

/* ØµÙ†Ø¯ÙˆÙ‚ Ø§Ù„Ù…Ø¹Ø§ÙŠÙŠØ± ÙˆØ§Ù„Ù…Ø¤Ø´Ø±Ø§Øª */
.reports-page .evaluation-pane{
padding:20px;
border-radius:16px;
background:#ffffff;
border:1px solid #d4e3eb;
box-shadow:0 8px 22px rgba(0,0,0,0.05);
}

/* ØµÙ†Ø¯ÙˆÙ‚ Ø§Ù„Ø¹Ø¨Ø§Ø±Ø§Øª */
.reports-page .phrases-editor-pane{
padding:20px;
border-radius:16px;
background:#ffffff;
border:1px solid #d4e3eb;
box-shadow:0 8px 22px rgba(0,0,0,0.05);
}

/* Ø§Ù„Ø¹Ù†ÙˆØ§Ù† */
.reports-page .split-title{
font-size:17px;
font-weight:800;
padding:12px 16px;
border-bottom:1px solid #e4edf2;
margin-bottom:14px;
}

/* Ø§Ù„Ù…Ø¤Ø´Ø±Ø§Øª */
.eval-row{
padding:14px 16px;
border-radius:14px;
background:#fcfeff;
transition:all .25s ease;
}

/* ØªØ£Ø«ÙŠØ± hover */
.eval-row:hover{
background:#f3fafc;
border-color:#b7d6e5;
}

/* Ø§Ù„Ù…Ø¤Ø´Ø± Ø§Ù„Ù†Ø´Ø· */
.eval-row.active{
background:#f1fbff;
border-color:#8fc6d8;
}

/* Ø¹Ù†ÙˆØ§Ù† Ø§Ù„Ù…Ø¤Ø´Ø± */
.eval-criterion-btn{
font-size:14px;
padding:10px 12px;
border-radius:10px;
}

/* Ø£Ø²Ø±Ø§Ø± Ø§Ù„ØªÙ‚ÙŠÙŠÙ… */
.level-btn{
padding:10px;
font-size:13px;
border-radius:10px;
transition:all .2s ease;
}

.level-btn:hover{
background:#eef7fb;
}

/* Ø§Ù„Ù…Ø³Ø§ÙØ§Øª Ø¨ÙŠÙ† Ø§Ù„ØªÙ‚ÙŠÙŠÙ…Ø§Øª */
.eval-levels{
gap:8px;
margin-top:8px;
}

/* Ø§Ù„ØªØ¨ÙˆÙŠØ¨Ø§Øª */
.domain-tabs{
gap:8px;
margin-bottom:14px;
}

.domain-tab{
padding:8px 16px;
font-size:13px;
border-radius:20px;
}

/* Ø§Ù„Ø¹Ø¨Ø§Ø±Ø§Øª */
.phrase-card{
padding:18px;
border-radius:16px;
border:1px solid #d6e5ed;
background:#ffffff;
transition:all .2s ease;
}

.phrase-card:hover{
background:#f8fcfe;
}

/* Ù†Øµ Ø§Ù„Ø¹Ø¨Ø§Ø±Ø© */
.phrase-card-text{
font-size:15px;
line-height:2;
padding:12px;
}

/* Ø§Ù„Ù…Ø³Ø§ÙØ§Øª Ø¨ÙŠÙ† Ø§Ù„Ø¹Ø¨Ø§Ø±Ø§Øª */
.phrases-list{
gap:14px;
}

/* Ø£Ø²Ø±Ø§Ø± Ø§Ù„Ø¹Ù…Ù„ÙŠØ§Øª */
.actions-inline{
gap:10px;
padding:12px;
border-radius:12px;
background:#f6fbfd;
border:1px solid #d7e6ee;
}

/* Ø§Ù„Ø£Ø²Ø±Ø§Ø± */
.btn{
font-size:14px;
padding:10px 16px;
border-radius:12px;
}

/* Ø²Ø± Ø±Ø¦ÙŠØ³ÙŠ */
.btn.primary{
box-shadow:0 6px 14px rgba(13,110,138,0.25);
}

/* Ø§Ù„ØªÙ‚Ø±ÙŠØ± */
.report-preview{
padding:28px;
border-radius:16px;
line-height:2;
background:#ffffff;
border:1px solid #cfe0e8;
}

/* Ø§Ù„Ø¬Ø¯ÙˆÙ„ */
.report-table th{
padding:12px;
font-size:14px;
}

.report-table td{
padding:12px;
font-size:14px;
}

/* ØµÙÙˆÙ Ø§Ù„Ø¬Ø¯ÙˆÙ„ */
.report-table tbody tr:hover td{
background:#f1f8fb;
}

/* Ø§Ù„ØªÙ‚Ø§Ø±ÙŠØ± Ø§Ù„Ù…Ø±Ø³Ù„Ø© */
.sent-report-item{
padding:16px;
border-radius:14px;
}

/* Ø§Ù„Ø­Ø§Ù„Ø© */
.sent-status-pill{
font-size:13px;
padding:6px 12px;
}

/* scrollbar Ø¬Ù…ÙŠÙ„ */
.evaluation-pane::-webkit-scrollbar,
.phrases-editor-pane::-webkit-scrollbar{
width:8px;
}

.evaluation-pane::-webkit-scrollbar-thumb,
.phrases-editor-pane::-webkit-scrollbar-thumb{
background:#b3cfdc;
border-radius:20px;
}

.evaluation-pane::-webkit-scrollbar-thumb:hover,
.phrases-editor-pane::-webkit-scrollbar-thumb:hover{
background:#8fb7c8;
}

/* Ø§Ù„Ø¬ÙˆØ§Ù„ */
@media(max-width:900px){

.reports-page .split-layout{
grid-template-columns:1fr;
grid-template-areas:
"evaluation"
"phrases";
}

.eval-levels{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.reports-page .container{
width:94%;
}

.level-btn{
font-size:12px;
}

}
/* =====================================================
   PROFESSIONAL REPORT PAGE LAYOUT
   ØªØ±ØªÙŠØ¨ Ø§Ø­ØªØ±Ø§ÙÙŠ Ù„Ù„Ù…Ø¹Ø§ÙŠÙŠØ± ÙˆØ§Ù„Ø¹Ø¨Ø§Ø±Ø§Øª
===================================================== */

/* Ø¹Ø±Ø¶ Ø§Ù„ØµÙØ­Ø© */
.reports-page .container{
width:min(1350px,96%);
margin:35px auto;
gap:26px;
}


/* =====================================================
   ØªØ±ØªÙŠØ¨ Ø§Ù„ØµÙØ­Ø©
   Ø§Ù„Ù…Ø¹Ø§ÙŠÙŠØ± Ø£ÙˆÙ„Ø§Ù‹ Ø«Ù… Ø§Ù„Ø¹Ø¨Ø§Ø±Ø§Øª
===================================================== */

.reports-page .split-layout{
display:grid;
grid-template-columns:1fr;
grid-template-areas:
"evaluation"
"phrases";
gap:26px;
direction:rtl;
}

.reports-page .evaluation-pane{
grid-area:evaluation;
}

.reports-page .phrases-editor-pane{
grid-area:phrases;
}


/* =====================================================
   ØªØµÙ…ÙŠÙ… Ø§Ù„Ù…Ø¹Ø§ÙŠÙŠØ± ÙˆØ§Ù„Ù…Ø¤Ø´Ø±Ø§Øª
===================================================== */

.reports-page .evaluation-pane{

background:linear-gradient(180deg,#ffffff,#f6fbfd);

border:2px solid #cde3ee;
border-top:6px solid #0d6e8a;

border-radius:16px;

padding:22px;

box-shadow:0 10px 25px rgba(0,0,0,0.06);

}


/* Ø¹Ù†ÙˆØ§Ù† Ø§Ù„Ù‚Ø³Ù… */

.reports-page .evaluation-pane .split-title{

background:#0d6e8a;

color:white;

padding:12px 16px;

border-radius:10px;

font-size:16px;

margin-bottom:12px;

}


/* Ø§Ù„Ù…Ø¤Ø´Ø± */

.eval-row{

background:#ffffff;

border:1px solid #d7e6ee;

border-radius:12px;

padding:14px 16px;

transition:all .2s ease;

}

/* Ø¹Ù†Ø¯ Ø§Ù„Ù…Ø±ÙˆØ± */

.eval-row:hover{

background:#f1f8fb;

border-color:#9cc9dd;

}

/* Ø§Ù„Ù…Ø¤Ø´Ø± Ø§Ù„Ù…Ø®ØªØ§Ø± */

.eval-row.active{

background:#eef8fc;

border-color:#4fa1c3;

}


/* =====================================================
   Ø£Ø²Ø±Ø§Ø± Ø§Ù„ØªÙ‚ÙŠÙŠÙ…
===================================================== */

.level-btn{

border-radius:10px;

padding:10px;

font-size:13px;

transition:all .2s ease;

}

.level-btn:hover{

background:#edf6fa;

}


/* =====================================================
   Ø§Ù„Ø¹Ø¨Ø§Ø±Ø§Øª Ø§Ù„Ù…ÙˆÙ„Ø¯Ø©
===================================================== */

.reports-page .phrases-editor-pane{

background:linear-gradient(180deg,#ffffff,#fff9f5);

border:2px solid #f1d4c7;

border-top:6px solid #d95f27;

border-radius:16px;

padding:22px;

box-shadow:0 10px 25px rgba(0,0,0,0.05);

}


/* Ø¹Ù†ÙˆØ§Ù† Ø§Ù„Ø¹Ø¨Ø§Ø±Ø§Øª */

.reports-page .phrases-editor-pane .split-title{

background:#d95f27;

color:white;

padding:12px 16px;

border-radius:10px;

font-size:16px;

margin-bottom:12px;

}


/* ØµÙ†Ø¯ÙˆÙ‚ Ø§Ù„Ø¹Ø¨Ø§Ø±Ø© */

.phrase-card{

background:white;

border:1px solid #f1d4c7;

border-radius:12px;

padding:16px;

transition:all .2s ease;

}


/* Ø¹Ù†Ø¯ Ø§Ù„Ù…Ø±ÙˆØ± */

.phrase-card:hover{

background:#fff6f2;

border-color:#e5a98f;

}


/* Ù†Øµ Ø§Ù„Ø¹Ø¨Ø§Ø±Ø© */

.phrase-card-text{

font-size:15px;

line-height:2;

padding:12px;

background:#fffaf7;

border:1px dashed #f1d4c7;

border-radius:8px;

}


/* =====================================================
   Ø§Ù„Ù…Ø³Ø§ÙØ§Øª Ø¨ÙŠÙ† Ø§Ù„Ø¹Ù†Ø§ØµØ±
===================================================== */

.eval-row + .eval-row{

margin-top:10px;

}

.phrase-card + .phrase-card{

margin-top:14px;

}

.phrases-list{

gap:14px;

}


/* =====================================================
   ØªØ­Ø³ÙŠÙ† Ø§Ù„Ø£Ø²Ø±Ø§Ø±
===================================================== */

.btn{

font-size:14px;

padding:10px 16px;

border-radius:12px;

}


/* =====================================================
   ØªØ­Ø³ÙŠÙ† Ø§Ù„ØªÙ‚Ø±ÙŠØ± Ø§Ù„Ù†Ù‡Ø§Ø¦ÙŠ
===================================================== */

.report-preview{

padding:28px;

border-radius:16px;

background:#ffffff;

border:1px solid #cfe0e8;

line-height:2;

}


/* =====================================================
   Ø§Ù„Ø¬Ø¯Ø§ÙˆÙ„
===================================================== */

.report-table th{

padding:12px;

font-size:14px;

}

.report-table td{

padding:12px;

font-size:14px;

}

.report-table tbody tr:hover td{

background:#f1f8fb;

}


/* =====================================================
   Scrollbar Ø¬Ù…ÙŠÙ„
===================================================== */

.evaluation-pane::-webkit-scrollbar,
.phrases-editor-pane::-webkit-scrollbar{

width:8px;

}

.evaluation-pane::-webkit-scrollbar-thumb,
.phrases-editor-pane::-webkit-scrollbar-thumb{

background:#b3cfdc;

border-radius:20px;

}

.evaluation-pane::-webkit-scrollbar-thumb:hover,
.phrases-editor-pane::-webkit-scrollbar-thumb:hover{

background:#8fb7c8;

}


/* =====================================================
   Ø§Ù„Ø¬ÙˆØ§Ù„
===================================================== */

@media(max-width:800px){

.eval-levels{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:500px){

.eval-levels{

grid-template-columns:1fr;

}

}
/* =================================================
FIX SCROLL BUG
Ø¥ØµÙ„Ø§Ø­ Ù…Ø´ÙƒÙ„Ø© Ø§Ù„ØªÙ…Ø±ÙŠØ±
================================================= */

.reports-page .evaluation-pane,
.reports-page .phrases-editor-pane{
max-height:none;
overflow:visible;
}

.reports-page .split-title{
position:relative;
top:auto;
}


/* =================================================
ØªÙ†Ø¸ÙŠÙ… Ø§Ù„Ù…Ø¹Ø§ÙŠÙŠØ± ÙˆØ§Ù„Ù…Ø¤Ø´Ø±Ø§Øª
================================================= */

.eval-domain-group{

background:#ffffff;

border:1px solid #d9e7ef;

border-radius:16px;

padding:14px 16px;

margin-bottom:16px;

box-shadow:0 4px 14px rgba(0,0,0,0.05);

}

/* Ø¹Ù†ÙˆØ§Ù† Ø§Ù„Ù…Ø¬Ø§Ù„ */

.eval-domain-title{

font-size:16px;

font-weight:700;

color:#0d6e8a;

margin-bottom:10px;

cursor:pointer;

display:flex;

justify-content:space-between;

align-items:center;

}

/* Ø³Ù‡Ù… Ø§Ù„ÙØªØ­ */

.eval-domain-title::after{

content:"â–¼";

font-size:12px;

transition:transform .2s;

}

.eval-domain-group.closed .eval-domain-title::after{

transform:rotate(-90deg);

}

.eval-domain-group.closed .eval-row{

display:none;

}


/* =================================================
ØªØµÙ…ÙŠÙ… Ø§Ù„Ù…Ø¤Ø´Ø±Ø§Øª
================================================= */

.eval-row{

background:#ffffff;

border:1px solid #d9e7ef;

border-radius:14px;

padding:16px;

margin-top:10px;

transition:all .2s ease;

}

.eval-row:hover{

background:#f4fafc;

border-color:#8fc6d8;

}

.eval-row.active{

background:#edf8fc;

border-color:#3f9cc2;

}


/* Ø¹Ù†ÙˆØ§Ù† Ø§Ù„Ù…Ø¤Ø´Ø± */

.eval-criterion-btn{

font-size:15px;

font-weight:600;

padding:12px 14px;

border-radius:10px;

}


/* Ø£Ø²Ø±Ø§Ø± Ø§Ù„ØªÙ‚ÙŠÙŠÙ… */

.level-btn{

border-radius:10px;

padding:10px;

font-size:13px;

transition:all .2s ease;

}

.level-btn:hover{

background:#edf7fb;

}

.eval-levels{

gap:10px;

margin-top:10px;

}


/* =================================================
ØªØµÙ…ÙŠÙ… Ø¬Ø¯ÙŠØ¯ Ù„Ù„Ø¹Ø¨Ø§Ø±Ø§Øª Ø§Ù„Ù…ÙˆÙ„Ø¯Ø©
================================================= */

.phrases-editor-pane{

background:#ffffff;

border:1px solid #e4e8ec;

border-radius:16px;

padding:24px;

box-shadow:0 8px 24px rgba(0,0,0,0.06);

}

/* Ø¹Ù†ÙˆØ§Ù† Ø§Ù„Ø¹Ø¨Ø§Ø±Ø§Øª */

.phrases-editor-pane .split-title{

background:#f4f7f9;

border:1px solid #dfe6eb;

border-radius:12px;

padding:12px 16px;

font-size:16px;

font-weight:700;

color:#1f2d3a;

}


/* Ø¨Ø·Ø§Ù‚Ø© Ø§Ù„Ø¹Ø¨Ø§Ø±Ø© */

.phrase-card{

background:#f9fbfc;

border:1px solid #dde6ec;

border-radius:16px;

padding:20px;

transition:all .2s ease;

}

.phrase-card:hover{

background:#f1f7fa;

border-color:#b7d3e0;

}


/* Ø¹Ù†ÙˆØ§Ù† Ø§Ù„Ø¹Ø¨Ø§Ø±Ø© */

.phrase-card-title{

font-size:15px;

font-weight:700;

margin-bottom:12px;

color:#1c3b52;

}


/* Ù†Øµ Ø§Ù„Ø¹Ø¨Ø§Ø±Ø© */

.phrase-card-text{

background:white;

border:1px dashed #ccdbe4;

border-radius:12px;

padding:16px;

font-size:15px;

line-height:2;

}


/* Ø­Ù‚ÙˆÙ„ Ø§Ù„ØªØ¹Ø¯ÙŠÙ„ */

.phrase-part-field textarea{

border:1px solid #cfdde6;

border-radius:10px;

padding:10px;

font-size:14px;

}


/* Ø§Ù„Ù…Ø³Ø§ÙØ§Øª */

.phrases-list{

display:grid;

gap:18px;

margin-top:14px;

}


/* =================================================
ØªØ­Ø³ÙŠÙ† Ø§Ù„Ø£Ø²Ø±Ø§Ø±
================================================= */

.btn{

border-radius:12px;

font-size:14px;

padding:10px 16px;

}


/* =================================================
ØªØ­Ø³ÙŠÙ† Ø§Ù„ØªÙ‚Ø±ÙŠØ± Ø§Ù„Ù†Ù‡Ø§Ø¦ÙŠ
================================================= */

.report-preview{

background:#ffffff;

border:1px solid #cfe0e8;

border-radius:16px;

padding:28px;

line-height:2;

}


/* =================================================
Scrollbar Ø¬Ù…ÙŠÙ„
================================================= */

.evaluation-pane::-webkit-scrollbar,
.phrases-editor-pane::-webkit-scrollbar{

width:8px;

}

.evaluation-pane::-webkit-scrollbar-thumb,
.phrases-editor-pane::-webkit-scrollbar-thumb{

background:#b3cfdc;

border-radius:20px;

}

.evaluation-pane::-webkit-scrollbar-thumb:hover,
.phrases-editor-pane::-webkit-scrollbar-thumb:hover{

background:#8fb7c8;

}


/* =================================================
Ø§Ù„Ø¬ÙˆØ§Ù„
================================================= */

@media(max-width:900px){

.eval-levels{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:500px){

.eval-levels{

grid-template-columns:1fr;

}

}
/* Accordion Sections */

.accordion-section{
border:1px solid #d7e4ec;
border-radius:14px;
margin-bottom:18px;
background:#ffffff;
overflow:hidden;
}

/* Ø¹Ù†ÙˆØ§Ù† Ø§Ù„Ù‚Ø³Ù… */

.accordion-header{
display:flex;
justify-content:space-between;
align-items:center;
padding:14px 18px;
font-size:16px;
font-weight:700;
background:#f4f8fb;
cursor:pointer;
}

/* Ø§Ù„Ø³Ù‡Ù… */

.accordion-header::after{
content:"â–¼";
font-size:12px;
transition:transform .2s;
}

/* Ø¹Ù†Ø¯ Ø§Ù„Ø¥ØºÙ„Ø§Ù‚ */

.accordion-section.closed .accordion-header::after{
transform:rotate(-90deg);
}

/* Ù…Ø­ØªÙˆÙ‰ Ø§Ù„Ù‚Ø³Ù… */

.accordion-body{
padding:20px;
}

/* Ø¥Ø®ÙØ§Ø¡ Ø§Ù„Ù…Ø­ØªÙˆÙ‰ */

.accordion-section.closed .accordion-body{
display:none;
}
/* ===== Collapse Sections ===== */

.collapsible-section{
border:1px solid #d7e4ec;
border-radius:12px;
margin-top:16px;
background:#fff;
overflow:hidden;
}

.collapsible-header{
padding:14px 18px;
background:#f3f8fb;
cursor:pointer;
font-weight:700;
display:flex;
justify-content:space-between;
align-items:center;
font-size:15px;
}

.collapsible-header:hover{
background:#e9f3f9;
}

.collapsible-header::after{
content:"â–¼";
font-size:12px;
transition:.3s;
}

.collapsible-section.closed .collapsible-header::after{
transform:rotate(-90deg);
}

.collapsible-body{
padding:18px;
}

.collapsible-section.closed .collapsible-body{
display:none;
}

/* ØªØ­Ø³ÙŠÙ† Ø§Ù„Ù…Ø¹Ø§ÙŠÙŠØ± */

.evaluation-pane{
max-height:420px;
overflow:auto;
padding-right:10px;
}

/* ØªØ­Ø³ÙŠÙ† Ø§Ù„Ø¹Ø¨Ø§Ø±Ø§Øª */

.phrases-editor-pane{
max-height:320px;
overflow:auto;
background:#fbfdff;
border-radius:10px;
padding:12px;
}
/* Ù…Ø³Ø§Ø± Ø§Ù„ØµÙØ­Ø© */

.page-path{
margin-top:15px;
font-size:14px;
color:#64748b;
}

.path-sep{
margin:0 6px;
}

.path-active{
color:#385667;
font-weight:700;
}


/* ØªØ­Ø³ÙŠÙ† Ø§Ù„Ø¹Ù†Ø§ÙˆÙŠÙ† */

.card-head h2{
color:#385667;
border-right:4px solid #385667;
padding-right:10px;
}

.accordion-header{
color:#0f4f66;
font-size:16px;
}

.hero h1{
color:#0f4f66;
}


/* Ù…Ø±Ø¨Ø¹ Ø§Ù„Ø¨Ø­Ø« */

.search-box{
width:100%;
padding:10px;
border:1px solid #d8e3ea;
border-radius:8px;
margin-bottom:12px;
font-family:inherit;
background:#fff;
}


/* ØªØ­Ø³ÙŠÙ† Ø§Ù„Ø¹Ø¨Ø§Ø±Ø§Øª */

.phrases-editor-pane{
background:#f9fcff;
}
/* Ø§Ù„ØµÙ†Ø¯ÙˆÙ‚ Ø§Ù„Ø£ÙˆÙ„ */

.setup-card{
background:#f0fdf9;
border:1px solid #c6f0e3;
border-radius:14px;
}


/* Ø§Ù„ØµÙ†Ø¯ÙˆÙ‚ Ø§Ù„Ø«Ø§Ù†ÙŠ */

.report-card{
background:#ffffff;
border:1px solid #e5e7eb;
border-radius:14px;
}


/* Ø§Ù„ØµÙ†Ø¯ÙˆÙ‚ Ø§Ù„Ø«Ø§Ù„Ø« */

.sent-reports-card{
background:#f0fdf9;
border:1px solid #c6f0e3;
border-radius:14px;
}


/* ØªØ­Ø³ÙŠÙ† Ø§Ù„Ø¹Ù†Ø§ÙˆÙŠÙ† */

.setup-card h2{
color:#385667;
}

.report-card h2{
color:#1f2937;
}

.sent-reports-card h2{
color:#385667;
}
/* HERO Ø§Ø­ØªØ±Ø§ÙÙŠ */

.hero-box{

background:linear-gradient(135deg,#ffffff,#f6fbfb);

border-radius:16px;

padding:30px;

border:1px solid #e2f1ee;

box-shadow:0 10px 30px rgba(0,0,0,0.05);

margin-bottom:20px;

position:relative;

overflow:hidden;

}

/* Ø§Ù„Ø®Ø· Ø§Ù„Ø¬Ø§Ù†Ø¨ÙŠ */

.hero-box::after{

content:"";

position:absolute;

right:0;

top:0;

height:100%;

width:6px;

background:linear-gradient(#385667,#4c738a);

}

/* Ø§Ù„Ù…Ø­ØªÙˆÙ‰ */

.hero-content{

display:flex;

justify-content:space-between;

align-items:center;

gap:20px;

flex-wrap:wrap;

}

/* Ø§Ù„Ù†Øµ */

.hero-text{

max-width:600px;

}

/* Ø§Ù„Ø´Ø§Ø±Ø© */

.hero-tag{

display:inline-block;

background:#ecfdf5;

color:#385667;

font-weight:700;

padding:6px 12px;

border-radius:30px;

font-size:13px;

margin-bottom:8px;

}

/* Ø§Ù„Ø¹Ù†ÙˆØ§Ù† */

.hero-title{

font-size:28px;

font-weight:800;

color:#134e4a;

margin:5px 0;

}

/* Ø§Ù„ÙˆØµÙ */

.hero-desc{

color:#64748b;

font-size:15px;

line-height:1.8;

}

/* Ø§Ù„Ø§ÙŠÙ‚ÙˆÙ†Ø© */

.hero-circle{

width:70px;

height:70px;

background:#ecfdf5;

display:flex;

align-items:center;

justify-content:center;

font-size:30px;

border-radius:50%;

border:2px solid #4c738a;

}
/* ========= ØªØ­Ø³ÙŠÙ† Ø£Ù„ÙˆØ§Ù† Ø§Ù„ØµÙ†Ø§Ø¯ÙŠÙ‚ ========= */

/* Ø§Ù„Ù…Ø±Ø­Ù„Ø© 1 */
.setup-card{
background:#f0f9ff;
border-top:4px solid #0284c7;
}

.setup-card .card-head h2{
color:#0369a1;
border-right:5px solid #0284c7;
}

/* Ø§Ù„Ù…Ø±Ø­Ù„Ø© 2 */
.report-card{
background:#f0fdf4;
border-top:4px solid #16a34a;
}

.report-card .card-head h2{
color:#15803d;
border-right:5px solid #16a34a;
}

/* Ø§Ù„Ù…Ø±Ø­Ù„Ø© 3 */
.sent-reports-card{
background:#fff7ed;
border-top:4px solid #ea580c;
}

.sent-reports-card .card-head h2{
color:#c2410c;
border-right:5px solid #ea580c;
}

/* ØªÙˆØ­ÙŠØ¯ Ø´ÙƒÙ„ Ø§Ù„ØµÙ†Ø§Ø¯ÙŠÙ‚ */
.card{
border-radius:14px;
box-shadow:0 4px 15px rgba(0,0,0,0.06);
}

/* ØªØ­Ø³ÙŠÙ† Ø§Ù„Ø¹Ù†Ø§ÙˆÙŠÙ† */
.card-head h2{
font-weight:700;
font-size:18px;
letter-spacing:.3px;
}

/* ØªØ­Ø³ÙŠÙ† Ø§Ù„Ø£Ø²Ø±Ø§Ø± */
.btn.primary{
border-radius:8px;
padding:9px 16px;
font-weight:600;
}
/* ========= ØªØµÙ…ÙŠÙ… Ø§Ù„ØµÙ†Ø¯ÙˆÙ‚ Ø§Ù„Ø¹Ù„ÙˆÙŠ Hero ========= */

.hero{
background:linear-gradient(135deg,#0f4f3f,#0a3c30);
padding:35px 45px;
border-radius:14px;
margin-bottom:30px;
color:white;
position:relative;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.hero::before{
content:"";
position:absolute;
left:-80px;
top:-80px;
width:220px;
height:220px;
background:rgba(255,255,255,0.05);
border-radius:50%;
}

.hero::after{
content:"";
position:absolute;
right:-60px;
bottom:-60px;
width:180px;
height:180px;
background:rgba(255,255,255,0.05);
border-radius:50%;
}

/* Ø§Ù„Ø¹Ù†ÙˆØ§Ù† */

.hero h1{
font-size:30px;
font-weight:800;
margin:8px 0;
color:#ffffff;
letter-spacing:.3px;
}

/* Ø§Ù„Ù†Øµ Ø§Ù„ØµØºÙŠØ± */

.hero-kicker{
font-size:13px;
color:#a7f3d0;
font-weight:700;
margin-bottom:5px;
}

/* Ø§Ù„ÙˆØµÙ */

.hero-subtitle{
font-size:14px;
color:#d1fae5;
margin-top:6px;
}
/* ========= Hero ØªØµÙ…ÙŠÙ… Ø§Ø­ØªØ±Ø§ÙÙŠ ========= */

.hero{
background:#145a52;
padding:45px 50px;
border-radius:16px;
margin-bottom:30px;
position:relative;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
color:#fff;
}

/* Ø§Ù„Ø´Ø§Ø±Ø© Ø§Ù„ØµØºÙŠØ±Ø© */

.hero-kicker{
display:inline-block;
background:rgba(255,255,255,0.15);
padding:6px 14px;
border-radius:20px;
font-size:13px;
font-weight:600;
margin-bottom:15px;
}

/* Ø§Ù„Ø¹Ù†ÙˆØ§Ù† */

.hero h1{
font-size:34px;
font-weight:800;
margin:10px 0;
color:#ffffff;
}

/* Ø§Ù„ÙˆØµÙ */

.hero-subtitle{
font-size:15px;
color:#d1fae5;
line-height:1.8;
max-width:700px;
}

/* ØªØ£Ø«ÙŠØ± Ø®ÙÙŠÙ Ù„Ù„ØµÙ†Ø¯ÙˆÙ‚ */

.hero::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(
120deg,
rgba(255,255,255,0.08),
rgba(255,255,255,0)
);
border-radius:16px;
pointer-events:none;
}
/* ===== Ø¶Ø¨Ø· ØµÙ†Ø¯ÙˆÙ‚ Ø§Ù„Ù…Ø±Ø­Ù„Ø© Ø§Ù„Ø£ÙˆÙ„Ù‰ ===== */

.setup-card{
background:#e6f0ef;
border-top:5px solid #385667;
border-radius:16px;
padding:20px;
}

.setup-card .card-head h2{
color:#0f4f66;
border-right:4px solid #385667;
padding-right:10px;
font-weight:700;
}


/* ===== ØªÙ†Ø³ÙŠÙ‚ Ø­Ù‚ÙˆÙ„ Ø§Ù„Ø¥Ø¯Ø®Ø§Ù„ ===== */

.meta-form .field{
background:#f8fbfc;
border:1px solid #dbe6ec;
border-radius:12px;
padding:12px;
}

.meta-form label{
font-size:14px;
color:#334155;
font-weight:600;
}

.meta-form input{
background:white;
border:1px solid #cbd5e1;
border-radius:10px;
padding:10px;
font-size:14px;
}

.reports-page .meta-form .school-select{
width:100%;
min-height:42px;
background:#fff;
border:1px solid #cbd5e1;
border-radius:10px;
padding:10px;
font-family:inherit;
font-size:14px;
color:#1f2937;
}

.reports-page .meta-form .school-select:focus{
outline:3px solid rgba(13,148,136,.16);
border-color:#0d9488;
}

.reports-page .meta-form .school-select-hint{
display:block;
margin-top:7px;
color:#64748b;
font-size:12px;
line-height:1.6;
}


/* ===== ØªØ±ØªÙŠØ¨ Ø§Ù„ØµÙÙˆÙ Ø§Ù„Ø«Ù„Ø§Ø«Ø© ===== */

.meta-form{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:16px;
}

/* ØªØ®ØµÙŠØµ Ù…ÙˆØ§Ù‚Ø¹ Ø§Ù„Ø­Ù‚ÙˆÙ„: Ø¶Ø¹ "Ù†ÙˆØ¹ Ø§Ù„ØªÙ‚Ø±ÙŠØ±" ÙÙŠ Ø§Ù„Ø¹Ù…ÙˆØ¯ Ø§Ù„Ø£ÙˆÙ„ØŒ Ùˆ"Ø±Ø¦ÙŠØ³ Ø§Ù„ÙØ±ÙŠÙ‚" ÙÙŠ Ø§Ù„Ø¹Ù…ÙˆØ¯ Ø§Ù„Ø«Ø§Ù„Ø« */
.meta-form .field.report-type {
  /* ÙÙŠ ØµÙØ­Ø© RTL Ù†Ø¶Ø¹ Ù‡Ø°Ø§ Ø§Ù„Ø­Ù‚Ù„ ÙÙŠ Ø§Ù„Ø¹Ù…ÙˆØ¯ Ø§Ù„Ø«Ø§Ù„Ø« Ù„ÙŠÙ†ØªÙ‚Ù„ Ø¨ØµØ±ÙŠÙ‹Ø§ Ø¥Ù„Ù‰ Ø§Ù„ÙŠØ³Ø§Ø± */
  grid-column: 3;
  grid-row: 2;
}

.meta-form .leader-field {
  /* Ø¶Ø¹ Ø±Ø¦ÙŠØ³ Ø§Ù„ÙØ±ÙŠÙ‚ ÙÙŠ Ø§Ù„Ø¹Ù…ÙˆØ¯ Ø§Ù„Ø£ÙˆÙ„ Ù„ÙŠØ¸Ù‡Ø± ÙŠÙ…ÙŠÙ†Ù‹Ø§ ÙÙŠ ØªØ®Ø·ÙŠØ· RTL */
  /* Ø§Ø¬Ø¹Ù„ Ø­Ù‚Ù„ Ø±Ø¦ÙŠØ³ Ø§Ù„ÙØ±ÙŠÙ‚ ÙŠÙ…ØªØ¯ Ø¥Ù„Ù‰ Ø§Ù„Ø¹Ù…ÙˆØ¯ Ø§Ù„Ø«Ø§Ù†ÙŠ Ø£ÙŠØ¶Ù‹Ø§ Ù„ÙŠÙ‚ØªØ±Ø¨ Ù…Ù† Ù†ÙˆØ¹ Ø§Ù„ØªÙ‚Ø±ÙŠØ± */
  grid-column: 1 / 3;
  grid-row: 2;
  align-self: start;
}

/* Ø§Ø¬Ø¹Ù„ Ø­Ù‚ÙˆÙ„ Ø±Ø¦ÙŠØ³ Ø§Ù„ÙØ±ÙŠÙ‚ Ù‚Ø§Ø¨Ù„Ø© Ù„Ù„ØªÙ…Ø¯Ø¯ Ø¯Ø§Ø®Ù„ Ø§Ù„Ù…Ø³Ø§Ø­Ø© Ø§Ù„Ø£ÙˆØ³Ø¹ */
.leader-row input {
  flex: 1 1 auto;
  max-width: none;
}


/* ===== Ø±Ø¦ÙŠØ³ Ø§Ù„ÙØ±ÙŠÙ‚ ===== */

.leader-row input{
background:white;
border:1px solid #cbd5e1;
border-radius:10px;
padding:10px;
}


/* ===== Ø²Ø± Ø§Ù„Ø¥Ø¶Ø§ÙØ© ===== */

.add-member-btn{
background:#385667;
color:white;
border:none;
border-radius:10px;
width:40px;
height:40px;
font-size:18px;
display:flex;
align-items:center;
justify-content:center;
}

.add-member-btn:hover{
background:#0c5f59;
}

/* ===== Domain Chips Container ===== */
.domain-chips-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 12px;
  background: #f9fbfc;
  border-radius: 10px;
  border: 1px solid #e8eef4;
}

.domain-chip {
  background: #fff;
  border: 1px solid #00695c;
  color: #00695c;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.domain-chip:hover {
  border-color: #004d40;
  background: #e0f2f1;
}

.domain-chip.active {
  background: linear-gradient(135deg, #00796b 0%, #004d40 100%);
  color: #fff;
  border-color: #004d40;
}

/* ===== Split Layout: Evaluation (Right) + Sidebar/Phrases (Left) in RTL ===== */
.evaluation-split-layout {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 16px;
  margin-bottom: 18px;
}

.evaluation-sidebar {
  display: flex;
  flex-direction: column;
  border: 1px solid #e3edf4;
  border-radius: 10px;
  background: #fbfdff;
  padding: 14px;
  max-height: 600px;
  overflow-y: auto;
}

.evaluation-sidebar .search-box {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d8e3ea;
  border-radius: 10px;
  font-size: 0.93rem;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.sidebar-hint {
  font-size: 0.87rem;
  color: #5f6b76;
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #fff8f0;
  border-right: 3px solid #d77059;
  border-radius: 8px;
  line-height: 1.7;
  flex-shrink: 0;
}

.phrases-sidebar-list {
  flex: 1;
  overflow-y: visible;
}

.evaluation-main {
  border: 1px solid #e3edf4;
  border-radius: 10px;
  background: #fbfdff;
  padding: 14px;
  max-height: 600px;
  overflow-y: auto;
}

@media (max-width: 1200px) {
  .evaluation-split-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== Ø§Ù„Ø¹Ù†Ø§ÙˆÙŠÙ† Ø¯Ø§Ø®Ù„ Ø§Ù„ØµÙ†Ø¯ÙˆÙ‚ ===== */

.card-head{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:15px;
}

.card-head h2{
font-size:18px;
}


/* ===== ØªØ­Ø³ÙŠÙ† Ø´ÙƒÙ„ Ø§Ù„ØµÙ†Ø¯ÙˆÙ‚ ÙƒØ§Ù…Ù„ ===== */

.card{
box-shadow:0 6px 18px rgba(0,0,0,0.06);
border-radius:16px;
}
/* =================================================
FINAL CLEAN STYLE
ØªÙ†Ø¸ÙŠÙ Ø§Ù„ØªØµÙ…ÙŠÙ… Ø¨Ø¯ÙˆÙ† ØªØºÙŠÙŠØ± Ø§Ù„Ø´ÙƒÙ„
================================================= */

/* HERO */

.hero{
background:#145a52;
padding:45px 50px;
border-radius:16px;
margin-bottom:30px;
position:relative;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
color:#fff;
}

.hero h1{
font-size:34px;
font-weight:800;
margin:10px 0;
color:#ffffff;
}

.hero-kicker{
display:inline-block;
background:rgba(255,255,255,0.15);
padding:6px 14px;
border-radius:20px;
font-size:13px;
font-weight:600;
margin-bottom:15px;
}

.hero-subtitle{
font-size:15px;
color:#d1fae5;
line-height:1.8;
max-width:700px;
}


/* CARD */

.card{
border-radius:16px;
box-shadow:0 6px 18px rgba(0,0,0,0.06);
}


/* CARD TITLES */

.card-head h2{
font-weight:700;
font-size:18px;
letter-spacing:.3px;
}


/* CARD COLORS */

.setup-card{
background:#e8f3f2;
border-top:4px solid #385667;
}

.report-card{
background:#ffffff;
border-top:4px solid #385667;
}

.sent-reports-card{
background:#e8f3f2;
border-top:4px solid #385667;
}


/* INPUTS */

.meta-form .field{
background:#f8fbfc;
border:1px solid #dbe6ec;
border-radius:12px;
padding:12px;
}

.meta-form input{
border:1px solid #cbd5e1;
border-radius:10px;
padding:10px;
}


/* BUTTONS */

.btn{
border-radius:12px;
font-size:14px;
padding:10px 16px;
}

.btn.primary{
box-shadow:0 6px 14px rgba(13,110,138,0.25);
}


/* PANELS */

.evaluation-pane,
.phrases-editor-pane{
border-radius:16px;
border:1px solid #d4e3eb;
box-shadow:0 8px 22px rgba(0,0,0,0.05);
}


/* TABLE */

.report-table th{
padding:12px;
font-size:14px;
}

.report-table td{
padding:12px;
font-size:14px;
}
/* =================================================
FORCE LAYOUT TO MATCH THE PROVIDED DESIGN
Ø¶Ø¹Ù‡ ÙÙŠ Ù†Ù‡Ø§ÙŠØ© Ø§Ù„Ù…Ù„Ù ÙÙ‚Ø·
================================================= */

/* HERO */
.reports-page .hero{
background:#145a52 !important;
padding:45px 50px !important;
border-radius:16px !important;
margin-bottom:30px !important;
box-shadow:0 10px 25px rgba(0,0,0,0.15) !important;
color:#fff !important;
border:none !important;
}

.reports-page .hero h1{
font-size:34px !important;
font-weight:800 !important;
margin:10px 0 !important;
color:#ffffff !important;
}

.reports-page .hero-kicker{
display:inline-block !important;
background:rgba(255,255,255,0.15) !important;
padding:6px 14px !important;
border-radius:20px !important;
font-size:13px !important;
font-weight:600 !important;
margin-bottom:12px !important;
color:#e6fffa !important;
}

.reports-page .hero-subtitle{
font-size:15px !important;
color:#d1fae5 !important;
line-height:1.9 !important;
max-width:720px !important;
}


/* CARDS */
.reports-page .setup-card{
background:#dfeaea !important;
border-top:6px solid #385667 !important;
border-radius:16px !important;
}

.reports-page .report-card{
background:#ffffff !important;
border-top:6px solid #385667 !important;
border-radius:16px !important;
}

.reports-page .sent-reports-card{
background:#dfeaea !important;
border-top:6px solid #385667 !important;
border-radius:16px !important;
}


/* TITLES */
.reports-page .card-head h2{
color:#134e4a !important;
font-size:18px !important;
font-weight:700 !important;
border-right:4px solid #385667 !important;
padding-right:10px !important;
}


/* FORM BOXES */
.reports-page .meta-form .field{
background:#f6fbfb !important;
border:1px solid #d8e6ea !important;
border-radius:12px !important;
padding:12px !important;
}

.reports-page .meta-form input{
border:1px solid #cbd5e1 !important;
border-radius:10px !important;
padding:10px !important;
}


/* BUTTONS */
.reports-page .btn{
border-radius:12px !important;
padding:10px 16px !important;
font-size:14px !important;
}

.reports-page .btn.primary{
background:#385667 !important;
color:white !important;
}

.reports-page .btn.secondary{
background:#d95f27 !important;
color:white !important;
}


/* REPORT PREVIEW */
.reports-page .report-preview{
border:1px solid #cfe0e8 !important;
border-radius:14px !important;
padding:24px !important;
background:#ffffff !important;
}


/* SENT REPORT SUMMARY BOXES */
.reports-page .sent-summary-item{
border:1px solid #d3e3eb !important;
border-radius:12px !important;
padding:10px !important;
background:#f7fbfd !important;
margin-bottom: 16px !important;
display: flex;
flex-direction: column;
}


/* TOOLBAR */
.reports-page .sent-reports-toolbar select{
border-radius:10px !important;
padding:8px 10px !important;
border:1px solid #c6d8e2 !important;
background:#f9fcfe !important;
}

.reports-page .split-helper{
margin:14px 0 0 !important;
padding:12px 14px !important;
border:1px solid #d9e7ef !important;
border-radius:12px !important;
background:linear-gradient(180deg,#f8fcff 0%,#f2f8fc 100%) !important;
}

.reports-page .split-head{
display:flex !important;
align-items:flex-start !important;
justify-content:space-between !important;
gap:12px !important;
margin-bottom:10px !important;
}

.reports-page .phrases-list-group + .phrases-list-group{
margin-top:18px !important;
}

.reports-page .phrases-list-group-title{
margin:0 0 10px !important;
font-size:.92rem !important;
font-weight:800 !important;
color:#174861 !important;
}

.reports-page .phrase-card-head{
display:flex !important;
align-items:flex-start !important;
justify-content:space-between !important;
gap:12px !important;
margin-bottom:8px !important;
}

.reports-page .phrase-card-focused{
border-color:#7fb8ca !important;
background:linear-gradient(180deg,#ffffff 0%,#f3fbff 100%) !important;
box-shadow:0 10px 24px rgba(13,110,138,.09) !important;
}

.reports-page .phrase-card-status{
display:inline-flex !important;
align-items:center !important;
justify-content:center !important;
padding:6px 10px !important;
border-radius:999px !important;
font-size:.78rem !important;
font-weight:800 !important;
white-space:nowrap !important;
}

.reports-page .phrase-card-status.preview{
background:#fff4dc !important;
color:#8a5a00 !important;
}

.reports-page .phrase-card-status.selected{
background:#e6f8ee !important;
color:#0f6f43 !important;
}

.reports-page .phrase-card-note{
margin:0 0 10px !important;
padding:9px 11px !important;
border-radius:10px !important;
background:#f5fafc !important;
border:1px dashed #c8d8e4 !important;
color:#486172 !important;
font-size:.86rem !important;
line-height:1.8 !important;
}

.reports-page .domain-narrative-editor{
margin-top:14px !important;
padding:14px !important;
border:1px solid #d7e5ec !important;
border-radius:14px !important;
background:linear-gradient(180deg,#fbfeff 0%,#f4fafc 100%) !important;
}

.reports-page .domain-narrative-head{
display:flex !important;
align-items:center !important;
justify-content:space-between !important;
gap:10px !important;
margin-bottom:8px !important;
}

.reports-page .domain-narrative-title{
margin:0 !important;
font-size:.96rem !important;
font-weight:800 !important;
color:#174861 !important;
}

.reports-page .domain-narrative-count{
display:inline-flex !important;
align-items:center !important;
justify-content:center !important;
padding:5px 10px !important;
border-radius:999px !important;
background:#e8f4f7 !important;
color:#14536b !important;
font-size:.75rem !important;
font-weight:800 !important;
white-space:nowrap !important;
}

.reports-page .domain-narrative-note{
margin:0 0 10px !important;
color:#567182 !important;
font-size:.83rem !important;
line-height:1.8 !important;
}

.reports-page .domain-narrative-input{
width:100% !important;
min-height:130px !important;
border:1px solid #bdd4df !important;
border-radius:12px !important;
padding:12px 14px !important;
background:#ffffff !important;
color:#17384f !important;
font:inherit !important;
line-height:1.95 !important;
resize:vertical !important;
}

.reports-page .domain-narrative-input:focus{
outline:none !important;
border-color:#2b8a83 !important;
box-shadow:0 0 0 3px rgba(43,138,131,.15) !important;
}

@media (max-width: 900px){
.reports-page .phrase-card-head{
flex-direction:column !important;
align-items:stretch !important;
}

.reports-page .phrase-card-status{
width:fit-content !important;
}
}

.reports-page .split-layout{
display:grid !important;
grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr) !important;
grid-template-areas:"phrases evaluation" !important;
gap:12px !important;
direction:ltr !important;
align-items:start !important;
}

.reports-page .phrases-editor-pane,
.reports-page .evaluation-pane{
max-height:72vh !important;
overflow:auto !important;
overscroll-behavior:contain !important;
scrollbar-width:thin !important;
}

.reports-page .phrases-editor-pane{
grid-area:phrases !important;
padding:18px 14px !important;
}

.reports-page .evaluation-pane{
grid-area:evaluation !important;
padding:18px 16px !important;
}

@media (max-width: 900px){
.reports-page .container{
width:98% !important;
gap:16px !important;
}

.reports-page .meta-form{
grid-template-columns:repeat(3,minmax(0,1fr)) !important;
gap:10px !important;
}

.reports-page .split-layout{
grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) !important;
gap:10px !important;
}

.reports-page .phrases-editor-pane,
.reports-page .evaluation-pane{
max-height:62vh !important;
padding:14px 12px !important;
}

.reports-page .eval-levels{
grid-template-columns:repeat(5,minmax(0,1fr)) !important;
gap:4px !important;
}

.reports-page .level-btn{
font-size:.74rem !important;
padding:7px 4px !important;
}
}

@media (max-width: 620px){
.reports-page .split-layout{
grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr) !important;
gap:8px !important;
}

.reports-page .meta-form{
grid-template-columns:repeat(3,minmax(0,1fr)) !important;
gap:8px !important;
}

.reports-page .meta-form .field{
padding:10px !important;
}

.reports-page .meta-form input{
padding:9px !important;
font-size:.9rem !important;
}

.reports-page .phrases-editor-pane,
.reports-page .evaluation-pane{
max-height:58vh !important;
border-radius:14px !important;
}

.reports-page .saved-drafts-card{
border-top:6px solid #2563eb !important;
}

.reports-page #savedDraftsSummary,
.reports-page #savedDraftsList{
display:grid;
gap:16px;
}

.reports-page #savedDraftsSummary{
grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
margin-bottom:32px;
border-bottom: 1px solid #e2e8f0;
padding-bottom: 24px;
}

.reports-page .draft-status-note{
margin:0 0 12px;
padding:10px 12px;
border:1px solid #d9e6f2;
border-radius:12px;
background:#f5f9ff;
color:#1e4f7a;
font-size:.92rem;
font-weight:700;
}

.reports-page .sent-status-draft{
background:#eef4ff;
color:#1d4ed8;
border:1px solid #bfd1ff;
}

.reports-page .draft-report-item {
margin-bottom: 16px;
}

.reports-page .draft-report-item.is-active{
border-color:#93c5fd !important;
box-shadow:0 10px 24px rgba(37,99,235,.12) !important;
background:#f8fbff !important;
}

.reports-page .section-note,
.reports-page .split-helper{
font-size:.78rem !important;
line-height:1.7 !important;
}

.reports-page .split-title,
.reports-page .phrase-card-title,
.reports-page .eval-domain-title{
font-size:.95rem !important;
}

.reports-page .eval-criterion-group-title{
font-size:.82rem !important;
}

.reports-page .eval-criterion-btn{
padding:7px 8px !important;
font-size:.78rem !important;
}

.reports-page .eval-jump-btn{
padding:6px 8px !important;
font-size:.7rem !important;
}

.reports-page .eval-levels{
grid-template-columns:repeat(5,minmax(0,1fr)) !important;
}

.reports-page .level-btn{
font-size:.66rem !important;
padding:6px 3px !important;
}

.reports-page .phrase-card{
padding:10px !important;
}

.reports-page .phrase-card-text{
font-size:.86rem !important;
line-height:1.7 !important;
}

.reports-page .phrase-part-field label{
font-size:.74rem !important;
}
}

.reports-page .evaluation-pane{
position:relative !important;
isolation:isolate !important;
}

.reports-page .split-head{
position:static !important;
top:auto !important;
z-index:auto !important;
margin:0 0 10px !important;
padding-bottom:8px !important;
background:linear-gradient(180deg,#ffffff 0%,#f7fbfd 100%) !important;
}

.reports-page .split-title{
position:static !important;
top:auto !important;
margin:0 0 6px !important;
padding:0 !important;
border:0 !important;
background:transparent !important;
backdrop-filter:none !important;
}

.reports-page .domain-tabs{
position:sticky !important;
top:0 !important;
z-index:9 !important;
display:flex !important;
flex-wrap:wrap !important;
align-items:flex-start !important;
row-gap:10px !important;
column-gap:8px !important;
margin:0 0 12px !important;
padding:10px 0 12px !important;
background:#f7fbfd !important;
border-bottom:1px solid #d7e6ee !important;
box-shadow:0 8px 12px -12px rgba(15,23,42,.35) !important;
}

.reports-page .domain-tab{
flex:0 0 auto !important;
margin:0 !important;
}

.reports-page .eval-domain-group{
margin-top:0 !important;
padding-top:12px !important;
}

.phrase-part-field-wide{
grid-column:1 / -1;
}

.phrase-card-toolbar{
margin-bottom:10px;
}

.phrase-part-grid-compact{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
gap:8px;
align-items:start;
}

.phrase-part-grid-compact .phrase-part-field{
padding:8px;
border:1px solid #dce9f0;
border-radius:12px;
background:#f7fbfd;
}

.phrase-part-grid-compact .phrase-part-field label{
font-size:.72rem;
}

.phrase-part-grid-compact .phrase-part-field select,
.phrase-part-grid-compact .phrase-part-field input,
.phrase-part-grid-compact .phrase-part-field textarea{
font-size:.84rem;
}

.phrase-part-grid-compact .phrase-part-field textarea{
min-height:42px;
}

.phrase-card-composer{
margin-top:10px;
}

.phrase-card-composer textarea{
min-height:130px;
}

.phrase-card-followup{
margin-top:10px;
}

.phrase-part-grid-followup{
grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
}

.phrase-part-editor-field{
padding:10px;
border:1px solid #dce9f0;
border-radius:14px;
background:#fcfeff;
}

.phrase-part-helper{
margin:8px 0 0;
font-size:.86rem;
line-height:1.7;
color:#486474;
}

.reports-page .phrase-card-text{
padding:10px !important;
font-size:.9rem !important;
line-height:1.65 !important;
}

.reports-page .phrase-card{
padding:16px !important;
border:1px solid #dce7ee !important;
border-radius:18px !important;
background:#ffffff !important;
box-shadow:0 10px 24px rgba(15,23,42,.05) !important;
}

.reports-page .phrase-card-head{
margin-bottom:12px !important;
padding-bottom:10px !important;
border-bottom:1px solid #edf3f7 !important;
}

.reports-page .phrase-card-title{
margin:0 !important;
font-size:1rem !important;
line-height:1.8 !important;
color:#163f59 !important;
}

.reports-page .phrase-section{
margin-top:12px;
padding:12px;
border:1px solid #e3edf3;
border-radius:14px;
background:#fbfdfe;
}

.reports-page .phrase-section-title{
margin:0 0 8px;
font-size:.78rem;
font-weight:800;
color:#0f6077;
}

.reports-page .phrase-section-guidance{
background:#f7fbff;
}

.reports-page .phrase-section-writing{
background:#ffffff;
}

.reports-page .phrase-section-followup{
background:#fbfcfd;
}

.reports-page .phrase-part-grid-compact{
grid-template-columns:repeat(auto-fit,minmax(165px,1fr));
gap:10px;
}

.reports-page .phrase-part-grid-followup{
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}

.reports-page .phrase-special-fields{
margin-top:10px;
padding:10px 12px;
border:1px dashed #d6e5ee;
border-radius:12px;
background:#f8fbfd;
}

.reports-page .phrase-special-title{
margin:0 0 4px;
font-size:.76rem;
font-weight:800;
color:#0f6077;
}

.reports-page .phrase-special-note{
margin:0 0 8px;
font-size:.78rem;
line-height:1.7;
color:#5a7383;
}

.reports-page .phrase-part-grid-special{
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}

.reports-page .phrase-part-grid-compact .phrase-part-field{
padding:10px;
border:1px solid #e1ebf1;
border-radius:12px;
background:#ffffff;
}

.reports-page .phrase-part-grid-compact .phrase-part-field label{
font-size:.73rem;
font-weight:700;
color:#556f7f;
}

.reports-page .phrase-part-grid-compact .phrase-part-field select,
.reports-page .phrase-part-grid-compact .phrase-part-field input,
.reports-page .phrase-part-grid-compact .phrase-part-field textarea{
width:100%;
border:1px solid #cedce5;
border-radius:10px;
background:#fbfdff;
padding:8px 10px;
}

.reports-page .phrase-part-grid-compact .manual-date-input .manual-date-picker{
  padding: 0 4px;
}

.reports-page .phrase-card-text{
padding:8px 10px !important;
font-size:.88rem !important;
line-height:1.6 !important;
background:transparent !important;
border:0 !important;
}

.reports-page .phrase-card-composer{
margin-top:0 !important;
}

.reports-page .phrase-card-composer textarea{
min-height:120px;
padding:12px;
font-size:.94rem;
line-height:1.9;
border:1px solid #cddde7;
border-radius:12px;
background:#ffffff;
}

.reports-page .phrase-card-composer-actions{
display:flex;
justify-content:flex-start;
margin-top:10px;
}

.reports-page .phrase-card-followup{
margin-top:0 !important;
}

.reports-page .phrase-card-meta{
margin-top:12px !important;
gap:8px !important;
}

.reports-page .phrase-card-meta span{
display:inline-flex;
align-items:center;
padding:6px 10px;
border-radius:999px;
background:#eef6fa;
color:#36586a;
font-size:.74rem;
font-weight:700;
}

.reports-page .phrase-card-actions{
display:flex;
flex-wrap:wrap;
gap:8px;
margin-top:12px !important;
}

.phrase-card-text strong{
display:block;
margin-bottom:2px;
}

.phrase-guidance-list{
margin:0;
padding-inline-start:16px;
display:grid;
gap:3px;
}

.phrase-guidance-list li{
line-height:1.7;
}

@media (max-width: 620px){
.reports-page .split-head{
padding-bottom:6px !important;
}

.reports-page .domain-tabs{
row-gap:8px !important;
column-gap:6px !important;
padding:8px 0 10px !important;
}

.reports-page .domain-tab{
font-size:.72rem !important;
padding:6px 10px !important;
}
}

/* ===== Official report export polish ===== */

.official-report{
direction:rtl;
color:#16384d;
}

.reports-page .official-report,
.review-page .detail-body .official-report,
.admin-wrap .detail-body .official-report{
border:1px solid #d6e4ec;
border-radius:26px;
padding:18px;
background:linear-gradient(180deg,#ffffff 0%,#fbfeff 100%);
}

.reports-page .official-report{
box-shadow:0 16px 40px rgba(15,23,42,.08);
}

.review-page .detail-body .official-report,
.admin-wrap .detail-body .official-report{
padding:12px;
border-radius:20px;
box-shadow:none;
}

.official-report .report-cover{
margin-bottom:18px;
}

.reports-page .official-report .report-cover{
padding:0 !important;
border:0 !important;
border-radius:0 !important;
background:transparent !important;
box-shadow:none !important;
margin-bottom:52px !important;
position:static !important;
top:auto !important;
z-index:auto !important;
}

.official-report .report-cover-frame{
border:3px solid #1d6c63;
border-radius:24px;
padding:18px 22px 20px;
background:linear-gradient(180deg,#f5fbfc 0%,#ffffff 100%);
display:block;
position:relative;
z-index:0;
}

.official-report .report-cover-head-table,
.official-report .report-cover-meta-table{
width:100%;
border-collapse:separate;
border-spacing:0;
table-layout:fixed;
}

.official-report .report-cover-head-table td,
.official-report .report-cover-meta-table td{
border:0;
}

.official-report .report-cover-logo-cell{
width:18%;
text-align:center;
vertical-align:middle;
}

.official-report .report-cover-logo{
width:auto;
height:auto;
max-width:86px;
max-height:86px;
object-fit:contain;
}

.official-report .report-cover-authority{
width:64%;
text-align:center;
vertical-align:middle;
}

.official-report .report-cover-authority p{
margin:0 0 4px;
font-size:1rem;
font-weight:800;
color:#163c51;
}

.official-report .report-cover-divider{
height:2px;
margin:14px 0 16px;
background:linear-gradient(90deg,rgba(29,108,99,0) 0%,rgba(29,108,99,.32) 15%,rgba(29,108,99,.75) 50%,rgba(29,108,99,.32) 85%,rgba(29,108,99,0) 100%);
}

.official-report .report-cover-body{
text-align:center;
}

.official-report .report-cover-label{
margin:0 0 8px;
font-size:.9rem;
font-weight:800;
color:#0f6a69;
letter-spacing:.02em;
}

.official-report .report-cover-title{
margin:0 0 4px;
font-size:2.2rem;
font-weight:800;
color:#16384d;
}

.official-report .report-cover-subtitle{
margin:2px 0;
font-size:1.35rem;
font-weight:700;
color:#19445d;
}

.official-report .report-cover-date{
margin:10px 0 0;
font-size:1.05rem;
font-weight:700;
color:#1c516f;
}

.official-report .report-cover-summary{
margin:12px auto 0;
max-width:760px;
font-size:.95rem;
line-height:1.95;
color:#3b5d70;
}

.official-report .report-cover-meta-table{
margin-top:14px;
border-spacing:10px 0;
}

.official-report .report-cover-meta-item{
padding:12px 14px !important;
border:1px solid #d7e5eb !important;
border-radius:16px;
background:#ffffff;
box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
text-align:center;
}

.official-report .report-cover-meta-label{
display:block;
font-size:.8rem;
font-weight:800;
color:#5b7788;
}

.official-report .report-cover-meta-value{
display:block;
margin-top:6px;
font-size:1rem;
font-weight:800;
color:#16384d;
}

.official-report .report-body{
margin-top:16px;
display:block;
clear:both;
position:relative;
z-index:0;
}

.official-report .report-cover + .report-body{
margin-top:52px !important;
}

.official-report .report-body + .report-body{
margin-top:28px !important;
}

.official-report-table-only .export-header{
margin-bottom:14px;
text-align:center;
}

.official-report-table-only .export-header h2{
margin:0 0 6px;
font-size:1.45rem;
color:#13455c;
}

.official-report-table-only .export-header p{
margin:0;
font-size:.95rem;
font-weight:700;
color:#567385;
}

.official-report .report-section-title{
margin:0 0 10px;
padding:10px 14px;
border:1px solid #36534b;
border-radius:14px;
background:linear-gradient(90deg,#2d776f 0%,#5f8b7b 100%);
color:#fff;
font-size:1rem;
font-weight:800;
position:static !important;
top:auto !important;
z-index:auto !important;
}

.official-report .report-goals{
margin:0;
padding-right:24px;
line-height:2.05;
}

.official-report .report-goals li+li{
margin-top:4px;
}

.official-report .report-preamble{
margin:0;
line-height:2;
font-size:.95rem;
text-align:justify;
color:#26485d;
}

.official-report .report-table-wrap{
overflow-x:auto;
border:2px solid #36534b;
border-radius:18px;
background:#fff;
}

.official-report .report-table{
width:100%;
min-width:980px;
border-collapse:collapse;
table-layout:fixed;
}

.official-report .report-table th,
.official-report .report-table td{
border:1px solid #36534b;
padding:10px 8px;
vertical-align:top;
text-align:center;
line-height:1.8;
font-size:.92rem;
background:#fff;
}

.official-report .report-table th{
background:#5f8b7b;
color:#fff;
font-weight:800;
font-size:.93rem;
}

.official-report .report-serial-cell{
background:#f2f7f5 !important;
font-weight:800;
vertical-align:middle !important;
}

.official-report .report-domain-cell{
background:#f7fbf9 !important;
font-weight:800;
vertical-align:middle !important;
}

.official-report .report-observation-cell{
text-align:right !important;
}

.official-report .report-domain-summary-row td{
background:#f7fbfc !important;
padding:0 !important;
}

.official-report .report-domain-summary-wrap{
padding:14px 16px !important;
display:grid !important;
gap:8px !important;
text-align:right !important;
}

.official-report .report-domain-summary-label{
display:block !important;
margin:0 !important;
font-size:.9rem !important;
font-weight:800 !important;
color:#14536b !important;
}

.official-report .report-domain-summary-text{
margin:0 !important;
line-height:2 !important;
text-align:justify !important;
color:#26485d !important;
}

.official-report .report-domain-summary-input{
width:100% !important;
min-height:130px !important;
border:1px solid #bfd4de !important;
border-radius:12px !important;
padding:12px 14px !important;
background:#ffffff !important;
color:#17384f !important;
font:inherit !important;
line-height:1.95 !important;
resize:vertical !important;
}

.official-report .report-domain-summary-input:focus{
outline:none !important;
border-color:#2b8a83 !important;
box-shadow:0 0 0 3px rgba(43,138,131,.15) !important;
}

.official-report .report-narrative{
margin:0;
line-height:2;
text-align:justify;
color:#26485d;
}

.official-report .report-narrative + .report-narrative{
margin-top:10px;
}

.official-report .report-team-table{
min-width:620px;
}

.official-report .report-team-table td:first-child{
background:#f2f7f5 !important;
font-weight:800;
}

.official-report .report-table-note{
margin:8px 6px 0;
font-size:.82rem;
line-height:1.85;
color:#5b7788;
}

.official-report .report-signature{
margin-top:22px;
text-align:right;
display:grid;
gap:4px;
justify-items:end;
line-height:2;
font-size:1rem;
font-weight:700;
}

.official-report .report-signature-heading,
.official-report .report-signature-role{
margin:0;
}

.official-report .report-signature-line{
width:min(320px,100%);
height:24px;
border-bottom:2px solid #294c5f;
}

.review-page .detail-body .report-table-wrap,
.admin-wrap .detail-body .report-table-wrap{
overflow-x:auto;
max-width:100%;
}

.review-page .detail-body .report-table,
.admin-wrap .detail-body .report-table{
min-width:920px;
width:100%;
table-layout:fixed;
border-collapse:collapse;
}

.review-page .detail-body .report-table th,
.review-page .detail-body .report-table td,
.admin-wrap .detail-body .report-table th,
.admin-wrap .detail-body .report-table td{
border:1px solid #36534b !important;
}

.review-page .detail-body,
.admin-wrap .detail-body{
max-height:none !important;
overflow:visible !important;
position:relative;
}

.review-page .detail-body .report-section-title,
.review-page .detail-body .report-preamble,
.admin-wrap .detail-body .report-section-title,
.admin-wrap .detail-body .report-preamble{
position:static !important;
top:auto !important;
z-index:auto !important;
}

.review-page .detail-body .report-cover + .report-body,
.admin-wrap .detail-body .report-cover + .report-body{
margin-top:22px !important;
}

.review-page .detail-body .report-cover,
.admin-wrap .detail-body .report-cover{
position:static !important;
top:auto !important;
z-index:auto !important;
margin-bottom:24px !important;
padding:0 !important;
background:transparent !important;
}

.review-page .detail-body .report-preamble-section,
.admin-wrap .detail-body .report-preamble-section{
position:static !important;
top:auto !important;
z-index:auto !important;
margin:0 0 20px !important;
padding:0 !important;
background:transparent !important;
}

.review-page .detail-body .report-preamble-section .report-section-title,
.admin-wrap .detail-body .report-preamble-section .report-section-title{
margin-bottom:8px !important;
}

.review-page .detail-body .report-observations-section .report-section-title,
.admin-wrap .detail-body .report-observations-section .report-section-title{
position:static !important;
top:auto !important;
z-index:auto !important;
margin-bottom:10px !important;
box-shadow:none !important;
}

.review-page .detail-body .report-preamble-section + .report-body,
.admin-wrap .detail-body .report-preamble-section + .report-body{
margin-top:24px !important;
}

@media (max-width: 720px){
.official-report .report-cover-frame{
padding:16px 14px 18px;
}

.official-report .report-cover-head-table,
.official-report .report-cover-head-table tbody,
.official-report .report-cover-head-table tr,
.official-report .report-cover-head-table td,
.official-report .report-cover-meta-table,
.official-report .report-cover-meta-table tbody,
.official-report .report-cover-meta-table tr,
.official-report .report-cover-meta-table td{
display:block;
width:100%;
}

.official-report .report-cover-logo-cell{
margin-bottom:10px;
}

.official-report .report-cover-authority{
margin-bottom:12px;
}

.official-report .report-cover-logo{
max-width:74px;
max-height:74px;
}

.official-report .report-cover-subtitle{
font-size:1.12rem;
}

.official-report .report-cover-summary{
max-width:none;
font-size:.88rem;
}

.official-report .report-cover-meta-table{
margin-top:10px;
}

.official-report .report-cover-meta-item{
margin-bottom:8px;
}
}

/* ===== Override Legacy Card Styles for Unified UI ===== */
.reports-page .setup-card, .reports-page .report-card, .reports-page .sent-reports-card, .reports-page .saved-drafts-card { background: #fff !important; border-top: none !important; border-radius: var(--ui-radius-md) !important; }

/* ===== Current report requirements layered over the restored legacy page ===== */
.reports-page .tab-content:not(.active) {
  display: none !important;
  visibility: hidden !important;
  position: static !important;
  z-index: auto !important;
}

.reports-page .tab-content.active {
  display: block !important;
  visibility: visible !important;
  position: static !important;
  z-index: auto !important;
}

.reports-page #report-tab,
.reports-page #setup-tab {
  float: none !important;
  clear: both !important;
  transform: none !important;
}

.reports-page #report-tab {
  margin-top: 0 !important;
}

.reports-page .report-preview {
  position: relative;
  z-index: 0;
  background: #ffffff !important;
  transform: none !important;
  clear: both;
  margin-top: 14px !important;
}

.reports-page .report-card .card-head {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  background: #ffffff;
  margin-bottom: 14px !important;
  overflow: visible !important;
}

.reports-page .report-card .actions-inline,
.reports-page .report-card .card-head .actions-inline {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  transform: none !important;
  float: none !important;
  clear: both !important;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 8px !important;
}

.reports-page .report-card {
  scroll-margin-top: 18px;
  position: static !important;
  transform: none !important;
  clear: both !important;
}

.reports-page .official-report,
.reports-page .official-report .report-cover-frame,
.reports-page .official-report .report-body {
  background: #ffffff !important;
}

.reports-page .official-report {
  border-radius: 8px !important;
  box-shadow: none !important;
}

.reports-page .official-report .report-cover {
  margin-bottom: 18px !important;
  display: block !important;
  align-items: initial !important;
  justify-content: initial !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.reports-page .official-report .report-cover-frame {
  border: 1px solid #d7e3ea !important;
  border-radius: 8px !important;
}

.reports-page .official-report .report-cover-head-block {
  display: grid !important;
  justify-items: center !important;
  align-items: center !important;
  gap: 8px !important;
  text-align: center !important;
}

.reports-page .official-report .report-cover-head-block.report-cover-head-three-logos-v2 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 12px !important;
  padding: 0 !important;
}

.reports-page .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-noor {
  flex: 0 0 auto !important;
  max-width: 70px !important;
  max-height: 40px !important;
  margin: 0 !important;
}

.reports-page .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-vision {
  flex: 0 0 auto !important;
  max-width: 85px !important;
  max-height: 45px !important;
  margin: 0 !important;
}

.reports-page .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-authority-and-ministry {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex: 1 !important;
}

.reports-page .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-authority {
  text-align: right !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

.reports-page .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-authority p {
  margin: 0 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #16384d !important;
}

.reports-page .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-ministry {
  flex: 0 0 auto !important;
  max-width: 70px !important;
  max-height: 40px !important;
  margin: 0 !important;
}

.reports-page .official-report .report-cover-head-block .report-cover-logo {
  display: block !important;
  max-width: 74px !important;
  max-height: 74px !important;
  margin: 0 auto 4px !important;
}

.reports-page .official-report .report-cover + .report-body {
  margin-top: 18px !important;
}

.reports-page .report-table-input {
  width: 100%;
  resize: vertical;
}

.reports-page .report-goal-input,
.reports-page .report-preamble-input,
.reports-page .report-table-domain-input,
.reports-page .report-table-indicator-input {
  width: 100%;
  min-height: 54px;
}

.reports-page .report-goals-edit-list {
  display: grid;
  gap: 10px;
}

.reports-page .report-goal-add-btn {
  justify-self: start;
  margin-top: 2px;
}

.reports-page #editReportBtn.active {
  background: #0f6f58 !important;
  border-color: #0b5d4a !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(15, 111, 88, 0.24) !important;
}

.reports-page .official-report.returned-direct-edit {
  outline: 2px dashed #0f6f58;
  outline-offset: 8px;
  cursor: text;
}

.reports-page .official-report.returned-direct-edit :is(p, h2, h3, h4, td, th, li, strong, span):focus {
  outline: 2px solid rgba(15, 111, 88, 0.32);
  outline-offset: 2px;
}

.official-report .report-cover {
  width: 210mm !important;
  height: 297mm !important;
  min-height: 297mm !important;
  margin: 0 auto !important;
  padding: 0 !important;
  position: relative !important;
  background: #fff !important;
  display: block !important;
}

.official-report .report-cover-frame {
  position: absolute !important;
  top: 5.5mm !important;
  bottom: 5.5mm !important;
  left: 5.5mm !important;
  right: 5.5mm !important;
  border: 1.2pt solid #16384d !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  padding: 15mm 12mm 18mm !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.reports-page .official-report .report-cover-frame.report-cover-frame-v2,
:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame,
:is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame {
  position: absolute !important;
  overflow: hidden !important;
}

.reports-page .official-report .report-cover-frame.report-cover-frame-v2::before,
.reports-page .official-report .report-cover-frame.report-cover-frame-v2::after,
:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2::before,
:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2::after,
:is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2::before,
:is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2::after,
body.reports-page .official-report .report-cover-frame.report-cover-frame-v2::before,
body.reports-page .official-report .report-cover-frame.report-cover-frame-v2::after {
  content: "" !important;
  position: absolute !important;
  inset: auto !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Bottom soft waves */
.reports-page .official-report .report-cover-frame.report-cover-frame-v2::before,
:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2::before,
:is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2::before,
body.reports-page .official-report .report-cover-frame.report-cover-frame-v2::before {
  left: -14% !important;
  right: -14% !important;
  bottom: -26% !important;
  height: 58% !important;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(48, 111, 96, 0.20) 0%, rgba(48, 111, 96, 0.12) 38%, rgba(48, 111, 96, 0.0) 64%),
    radial-gradient(ellipse at 50% 78%, rgba(48, 111, 96, 0.14) 0%, rgba(48, 111, 96, 0.0) 62%) !important;
}

/* Dotted corners */
.reports-page .official-report .report-cover-frame.report-cover-frame-v2::after,
:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2::after,
:is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2::after,
body.reports-page .official-report .report-cover-frame.report-cover-frame-v2::after {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: 0 !important;
  opacity: 0.55 !important;
  background:
    radial-gradient(circle at 10% 92%, rgba(48, 111, 96, 0.14) 0 1px, transparent 2px) 0 0 / 10px 10px,
    radial-gradient(circle at 90% 92%, rgba(48, 111, 96, 0.14) 0 1px, transparent 2px) 0 0 / 10px 10px !important;
  -webkit-mask-image:
    radial-gradient(ellipse at 10% 92%, #000 0 38%, transparent 62%),
    radial-gradient(ellipse at 90% 92%, #000 0 38%, transparent 62%),
    linear-gradient(#000, #000) !important;
  -webkit-mask-composite: source-over !important;
  mask-image:
    radial-gradient(ellipse at 10% 92%, #000 0 38%, transparent 62%),
    radial-gradient(ellipse at 90% 92%, #000 0 38%, transparent 62%),
    linear-gradient(#000, #000) !important;
}

.reports-page .official-report .report-cover-frame.report-cover-frame-v2 > *,
:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 > *,
:is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 > *,
body.reports-page .official-report .report-cover-frame.report-cover-frame-v2 > * {
  position: relative !important;
  z-index: 1 !important;
}

.reports-page .official-report .report-cover-head-block.report-cover-head-pdf {
  direction: ltr !important;
  display: grid !important;
  grid-template-columns: minmax(240px, 1fr) minmax(410px, auto) !important;
  align-items: center !important;
  gap: 48px !important;
  width: 100% !important;
  margin: 0 0 190px !important;
  text-align: initial !important;
}

.reports-page .official-report .report-cover-left-logos {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 28px !important;
  min-width: 0 !important;
}

.reports-page .official-report .report-cover-authority-wrap {
  direction: ltr !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
}

.reports-page .official-report .report-cover-head-block .report-cover-logo {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  object-fit: contain !important;
}

.reports-page .official-report .report-cover-head-block .report-cover-logo.report-cover-logo-noor {
  width: auto !important;
  max-width: 102px !important;
  max-height: 78px !important;
}

.reports-page .official-report .report-cover-head-block .report-cover-logo.report-cover-logo-vision {
  width: auto !important;
  max-width: 148px !important;
  max-height: 78px !important;
}

.reports-page .official-report .report-cover-logo-ministry {
  max-width: 132px !important;
  max-height: 82px !important;
  flex: 0 0 auto !important;
}

.reports-page .official-report .report-cover-ministry-divider {
  display: block !important;
  width: 2px !important;
  height: 78px !important;
  background: #000000 !important;
  margin: 0 12px !important;
  flex: 0 0 auto !important;
}

.reports-page .official-report .report-cover-authority {
  direction: rtl !important;
  width: auto !important;
  text-align: right !important;
  color: #000000 !important;
  flex: 0 1 auto !important;
}

.reports-page .official-report .report-cover-authority p {
  margin: 0 0 6px !important;
  font-size: clamp(18px, 2vw, 28px) !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  color: #000000 !important;
}

.reports-page .official-report .report-cover-body {
  margin-top: 0 !important;
  text-align: center !important;
}

.reports-page .official-report .report-cover-body.report-cover-body-v2 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  flex: 1 1 auto !important;
}

.official-report .report-cover-title {
  font-family: "IBM Plex Sans Arabic", sans-serif !important;
  font-size: 44pt !important;
  line-height: 1.08 !important;
  font-weight: 700 !important;
  color: #0b344d !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.official-report .report-cover-body,
.official-report .report-cover-body.report-cover-body-v2 {
  flex: 1 1 auto !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  margin-top: -25mm !important;
}

.reports-page .official-report .report-cover-ornament {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  width: min(720px, 86%) !important;
  margin: 18px auto 44px !important;
  color: #2b6d5f !important;
}

.reports-page .official-report .report-cover-ornament-cap {
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: currentColor !important;
  opacity: 0.75 !important;
}

.reports-page .official-report .report-cover-ornament-line {
  flex: 1 1 auto !important;
  height: 3px !important;
  background: currentColor !important;
  border-radius: 999px !important;
  opacity: 0.65 !important;
}

.reports-page .official-report .report-cover-ornament-diamond {
  background: currentColor !important;
  transform: rotate(45deg) !important;
  border-radius: 3px !important;
  opacity: 0.95 !important;
}

.reports-page .official-report .report-cover-ornament-diamond.small {
  width: 12px !important;
  height: 12px !important;
}

.reports-page .official-report .report-cover-ornament-diamond.big {
  width: 20px !important;
  height: 20px !important;
}

.reports-page .official-report .report-cover-visit {
  margin: 0 !important;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
  font-size: clamp(26px, 2.8vw, 40px) !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  color: #2b6d5f !important;
}

.reports-page .official-report .report-cover-school {
  margin: 14px 0 0 !important;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
  font-size: clamp(26px, 2.8vw, 40px) !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  color: #000000 !important;
}

.reports-page .official-report .report-cover-date-block {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  width: min(680px, 92%) !important;
  color: #2b6d5f !important;
}

.reports-page .official-report .report-cover-date-ornament {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
}

.reports-page .official-report .report-cover-date-cap {
  width: 6px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: currentColor !important;
  opacity: 0.7 !important;
}

.reports-page .official-report .report-cover-date-line {
  flex: 1 1 auto !important;
  height: 2px !important;
  background: currentColor !important;
  opacity: 0.35 !important;
}

.reports-page .official-report .report-cover-date-icon {
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  border: 2px solid currentColor !important;
  border-radius: 999px !important;
  opacity: 0.9 !important;
}

.reports-page .official-report .report-cover-date-text {
  margin: 0 !important;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
  font-size: clamp(18px, 2vw, 28px) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  color: #000000 !important;
}

.reports-page .official-report .report-cover-divider,
.reports-page .official-report .report-cover-subtitle,
.reports-page .official-report .report-cover-date {
  display: none !important;
}

/* Apply the same cover v2 styling in review/admin/schools contexts */
:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame {
  display: flex !important;
  flex-direction: column !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-body.report-cover-body-v2 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  text-align: center !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-center {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-title {
  font-size: clamp(56px, 6.4vw, 92px) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-ornament {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  width: min(720px, 86%) !important;
  margin: 18px auto 44px !important;
  color: #2b6d5f !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-ornament-cap {
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: currentColor !important;
  opacity: 0.75 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-ornament-line {
  flex: 1 1 auto !important;
  height: 3px !important;
  background: currentColor !important;
  border-radius: 999px !important;
  opacity: 0.65 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-ornament-diamond {
  background: currentColor !important;
  transform: rotate(45deg) !important;
  border-radius: 3px !important;
  opacity: 0.95 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-ornament-diamond.small {
  width: 12px !important;
  height: 12px !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-ornament-diamond.big {
  width: 20px !important;
  height: 20px !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-visit {
  margin: 0 !important;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
  font-size: clamp(26px, 2.8vw, 40px) !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  color: #2b6d5f !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-school {
  margin: 14px 0 0 !important;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
  font-size: clamp(26px, 2.8vw, 40px) !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  color: #000000 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-date-block {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  width: min(680px, 92%) !important;
  color: #2b6d5f !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-date-ornament {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-date-cap {
  width: 6px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: currentColor !important;
  opacity: 0.7 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-date-line {
  flex: 1 1 auto !important;
  height: 2px !important;
  background: currentColor !important;
  opacity: 0.35 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-date-icon {
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  border: 2px solid currentColor !important;
  border-radius: 999px !important;
  opacity: 0.9 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-date-text {
  margin: 0 !important;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
  font-size: clamp(18px, 2vw, 28px) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  color: #000000 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-divider,
:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-subtitle,
:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-date {
  display: none !important;
}

@media (max-width: 820px) {
  .reports-page .official-report .report-cover-frame {
    min-height: 760px !important;
    padding: 28px 22px 40px !important;
  }

  .reports-page .official-report .report-cover-head-block.report-cover-head-pdf {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 96px !important;
  }

  .reports-page .official-report .report-cover-left-logos,
  .reports-page .official-report .report-cover-authority-wrap {
    justify-content: center !important;
  }

  .reports-page .official-report .report-cover-left-logos {
    gap: 24px !important;
  }

  .reports-page .official-report .report-cover-date {
    margin-top: 100px !important;
  }
}

.review-page .detail-body .official-report,
.admin-page .detail-body .official-report,
.schools-page .modal-body .official-report {
  border-radius: 8px !important;
  box-shadow: none !important;
  background: #ffffff !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover {
  margin-bottom: 18px !important;
  display: block !important;
  align-items: initial !important;
  justify-content: initial !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame {
  border: 2px solid #90ad9f !important;
  border-radius: 0 !important;
  padding: 44px 48px 56px !important;
  background: #ffffff !important;
  min-height: 920px !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-pdf {
  direction: ltr !important;
  display: grid !important;
  grid-template-columns: minmax(240px, 1fr) minmax(410px, auto) !important;
  align-items: center !important;
  gap: 28px !important;
  width: 100% !important;
  margin: 0 0 190px !important;
  text-align: initial !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-left-logos {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 28px !important;
  min-width: 0 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-authority-wrap {
  direction: ltr !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block .report-cover-logo {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  object-fit: contain !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block .report-cover-logo.report-cover-logo-noor {
  width: auto !important;
  max-width: 102px !important;
  max-height: 78px !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block .report-cover-logo.report-cover-logo-vision {
  width: auto !important;
  max-width: 148px !important;
  max-height: 78px !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-logo-ministry {
  max-width: 132px !important;
  max-height: 82px !important;
  flex: 0 0 auto !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-ministry-divider {
  display: block !important;
  width: 2px !important;
  height: 78px !important;
  background: #000000 !important;
  margin: 0 12px !important;
  flex: 0 0 auto !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-authority {
  direction: rtl !important;
  width: auto !important;
  text-align: right !important;
  color: #000000 !important;
  flex: 0 1 auto !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-authority p {
  margin: 0 0 6px !important;
  font-size: clamp(17px, 1.7vw, 24px) !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  color: #000000 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-body {
  margin-top: 0 !important;
  text-align: center !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-title {
  margin: 0 !important;
  font-size: clamp(25px, 2.5vw, 34px) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  color: #000000 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-divider {
  width: 72% !important;
  height: 14px !important;
  margin: 20px auto 34px !important;
  background: #90ad9f !important;
  border-radius: 0 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-subtitle {
  margin: 12px 0 !important;
  font-size: clamp(23px, 2.3vw, 32px) !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  color: #000000 !important;
}

:is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-date {
  margin: 170px 0 0 !important;
  font-size: clamp(18px, 1.9vw, 25px) !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  color: #000000 !important;
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 820px) {
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame {
    min-height: 760px !important;
    padding: 28px 22px 40px !important;
  }

  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-pdf {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 96px !important;
  }

  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-left-logos,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-authority-wrap {
    justify-content: center !important;
  }

  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-left-logos {
    gap: 24px !important;
  }

  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-date {
    margin-top: 100px !important;
  }
}

.official-report > .report-cover {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  display: block !important;
  align-items: initial !important;
  justify-content: initial !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: none !important;
}

@media screen {
  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover {
    width: min(190mm, 100%) !important;
    min-height: 297mm !important;
    margin: 0 auto 18px !important;
    padding: 10mm 0 !important;
    box-sizing: border-box !important;
    display: block !important;
    background: #ffffff !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame {
    width: 100% !important;
    min-height: 277mm !important;
    box-sizing: border-box !important;
    border: 2px solid #90ad9f !important;
    border-radius: 0 !important;
    padding: 14mm 12mm 16mm !important;
    background: #ffffff !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-pdf {
    direction: ltr !important;
    display: grid !important;
    grid-template-columns: minmax(70mm, 1fr) minmax(86mm, auto) !important;
    align-items: center !important;
    gap: 13mm !important;
    width: 100% !important;
    margin: 0 0 52mm !important;
    text-align: initial !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-left-logos {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14mm !important;
    min-width: 0 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-authority-wrap {
    direction: ltr !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block .report-cover-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block .report-cover-logo.report-cover-logo-noor {
    width: auto !important;
    max-width: 31mm !important;
    max-height: 19mm !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block .report-cover-logo.report-cover-logo-vision {
    width: auto !important;
    max-width: 38mm !important;
    max-height: 19mm !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-logo-ministry {
    max-width: 34mm !important;
    max-height: 20mm !important;
    flex: 0 0 auto !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-ministry-divider {
    display: block !important;
    width: 0.6mm !important;
    height: 24mm !important;
    background: #000000 !important;
    margin: 0 4mm !important;
    flex: 0 0 auto !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-authority p {
    margin: 0 0 2mm !important;
    font-size: 12.5pt !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    color: #000000 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-title {
    margin: 0 !important;
    font-size: 48pt !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    color: #000000 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-body.report-cover-body-v2 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    text-align: center !important;
    margin-top: 0 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-center {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-ornament {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6mm !important;
    width: 86% !important;
    margin: 6mm auto 14mm !important;
    color: #2b6d5f !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-ornament-cap {
    width: 2mm !important;
    height: 2mm !important;
    border-radius: 99mm !important;
    background: currentColor !important;
    opacity: 0.75 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-ornament-line {
    flex: 1 1 auto !important;
    height: 1.1mm !important;
    background: currentColor !important;
    border-radius: 99mm !important;
    opacity: 0.65 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-ornament-diamond {
    background: currentColor !important;
    transform: rotate(45deg) !important;
    border-radius: 1mm !important;
    opacity: 0.95 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-ornament-diamond.small {
    width: 3.5mm !important;
    height: 3.5mm !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-ornament-diamond.big {
    width: 5.5mm !important;
    height: 5.5mm !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-visit {
    margin: 0 !important;
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
    font-size: 20pt !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
    color: #2b6d5f !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-school {
    margin: 4mm 0 0 !important;
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
    font-size: 20pt !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
    color: #000000 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-date-block {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4mm !important;
    width: 92% !important;
    color: #2b6d5f !important;
    padding-bottom: 5mm !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-date-ornament {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3mm !important;
    width: 100% !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-date-cap {
    width: 1.8mm !important;
    height: 1.8mm !important;
    border-radius: 99mm !important;
    background: currentColor !important;
    opacity: 0.7 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-date-line {
    flex: 1 1 auto !important;
    height: 0.6mm !important;
    background: currentColor !important;
    opacity: 0.35 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-date-icon {
    display: grid !important;
    place-items: center !important;
    width: 12mm !important;
    height: 12mm !important;
    border: 0.6mm solid currentColor !important;
    border-radius: 99mm !important;
    opacity: 0.9 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-date-text {
    margin: 0 !important;
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
    font-size: 16pt !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #000000 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-divider,
  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-subtitle,
  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-date {
    display: none !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-divider {
    width: 72% !important;
    height: 4mm !important;
    margin: 6mm auto 10mm !important;
    background: #90ad9f !important;
    border-radius: 0 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-subtitle {
    margin: 4mm 0 !important;
    font-size: 24pt !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    color: #000000 !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-date {
    margin: 45mm 0 0 !important;
    font-size: 18pt !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    color: #000000 !important;
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover,
  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-body,
  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-signature {
    position: relative !important;
    z-index: auto !important;
    clear: both !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-body,
  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-signature {
    width: min(190mm, 100%) !important;
    max-width: 190mm !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover + .report-body {
    margin-top: 18px !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html,
  body.reports-page,
  body.reports-page.print-mode {
    width: 210mm !important;
    min-height: 297mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body.reports-page > header,
  body.reports-page > footer,
  body.reports-page .page-hero,
  body.reports-page .hero,
  body.reports-page .setup-card,
  body.reports-page .saved-drafts-card,
  body.reports-page .sent-reports-card,
  body.reports-page .report-card .card-head,
  body.reports-page .draft-status-note,
  body.reports-page .no-print,
  body.reports-page .report-extra-actions,
  body.reports-page .extra-recommendation-remove-btn {
    display: none !important;
  }

  body.reports-page .container,
  body.reports-page.print-mode .container,
  body.reports-page .report-card,
  body.reports-page .report-preview,
  body.reports-page .official-report {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }

  body.reports-page .official-report .report-cover {
    width: 190mm !important;
    min-height: 297mm !important;
    margin: 0 auto !important;
    padding: 10mm 0 !important;
    box-sizing: border-box !important;
    display: block !important;
    break-after: page !important;
    page-break-after: always !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  body.reports-page .official-report .report-cover-frame {
    width: 100% !important;
    min-height: 277mm !important;
    box-sizing: border-box !important;
    border: 2px solid #90ad9f !important;
    border-radius: 0 !important;
    padding: 14mm 12mm 16mm !important;
    background: #ffffff !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body.reports-page .official-report .report-cover-head-block.report-cover-head-pdf {
    direction: ltr !important;
    display: grid !important;
    grid-template-columns: minmax(70mm, 1fr) minmax(86mm, auto) !important;
    align-items: center !important;
    gap: 13mm !important;
    width: 100% !important;
    margin: 0 0 52mm !important;
    text-align: initial !important;
  }

  body.reports-page .official-report .report-cover-left-logos {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14mm !important;
    min-width: 0 !important;
  }

  body.reports-page .official-report .report-cover-authority-wrap {
    direction: ltr !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
  }

  body.reports-page .official-report .report-cover-head-block .report-cover-logo {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
  }

  body.reports-page .official-report .report-cover-head-block .report-cover-logo.report-cover-logo-noor {
    width: auto !important;
    max-width: 31mm !important;
    max-height: 19mm !important;
  }

  body.reports-page .official-report .report-cover-head-block .report-cover-logo.report-cover-logo-vision {
    width: auto !important;
    max-width: 38mm !important;
    max-height: 19mm !important;
  }

  body.reports-page .official-report .report-cover-logo-ministry {
    max-width: 34mm !important;
    max-height: 20mm !important;
    flex: 0 0 auto !important;
  }

  body.reports-page .official-report .report-cover-ministry-divider {
    display: block !important;
    width: 0.6mm !important;
    height: 24mm !important;
    background: #000000 !important;
    margin: 0 4mm !important;
    flex: 0 0 auto !important;
  }

  body.reports-page .official-report .report-cover-authority {
    direction: rtl !important;
    width: auto !important;
    text-align: right !important;
    color: #000000 !important;
  }

  body.reports-page .official-report .report-cover-authority p {
    margin: 0 0 2mm !important;
    font-size: 12.5pt !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    color: #000000 !important;
  }

  body.reports-page .official-report .report-cover-body {
    text-align: center !important;
    margin-top: 0 !important;
  }

  body.reports-page .official-report .report-cover-title {
    margin: 0 !important;
    font-size: 48pt !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    color: #000000 !important;
  }

  body.reports-page .official-report .report-cover-body.report-cover-body-v2 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    text-align: center !important;
    margin-top: 0 !important;
  }

  body.reports-page .official-report .report-cover-center {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  body.reports-page .official-report .report-cover-ornament {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6mm !important;
    width: 86% !important;
    margin: 6mm auto 14mm !important;
    color: #2b6d5f !important;
  }

  body.reports-page .official-report .report-cover-ornament-cap {
    width: 2mm !important;
    height: 2mm !important;
    border-radius: 99mm !important;
    background: currentColor !important;
    opacity: 0.75 !important;
  }

  body.reports-page .official-report .report-cover-ornament-line {
    flex: 1 1 auto !important;
    height: 1.1mm !important;
    background: currentColor !important;
    border-radius: 99mm !important;
    opacity: 0.65 !important;
  }

  body.reports-page .official-report .report-cover-ornament-diamond {
    background: currentColor !important;
    transform: rotate(45deg) !important;
    border-radius: 1mm !important;
    opacity: 0.95 !important;
  }

  body.reports-page .official-report .report-cover-ornament-diamond.small {
    width: 3.5mm !important;
    height: 3.5mm !important;
  }

  body.reports-page .official-report .report-cover-ornament-diamond.big {
    width: 5.5mm !important;
    height: 5.5mm !important;
  }

  body.reports-page .official-report .report-cover-visit {
    margin: 0 !important;
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
    font-size: 20pt !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
    color: #2b6d5f !important;
  }

  body.reports-page .official-report .report-cover-school {
    margin: 4mm 0 0 !important;
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
    font-size: 20pt !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
    color: #000000 !important;
  }

  body.reports-page .official-report .report-cover-date-block {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4mm !important;
    width: 92% !important;
    color: #2b6d5f !important;
    padding-bottom: 5mm !important;
  }

  body.reports-page .official-report .report-cover-date-ornament {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3mm !important;
    width: 100% !important;
  }

  body.reports-page .official-report .report-cover-date-cap {
    width: 1.8mm !important;
    height: 1.8mm !important;
    border-radius: 99mm !important;
    background: currentColor !important;
    opacity: 0.7 !important;
  }

  body.reports-page .official-report .report-cover-date-line {
    flex: 1 1 auto !important;
    height: 0.6mm !important;
    background: currentColor !important;
    opacity: 0.35 !important;
  }

  body.reports-page .official-report .report-cover-date-icon {
    display: grid !important;
    place-items: center !important;
    width: 12mm !important;
    height: 12mm !important;
    border: 0.6mm solid currentColor !important;
    border-radius: 99mm !important;
    opacity: 0.9 !important;
  }

  body.reports-page .official-report .report-cover-date-text {
    margin: 0 !important;
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
    font-size: 16pt !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #000000 !important;
  }

  body.reports-page .official-report .report-cover-divider,
  body.reports-page .official-report .report-cover-subtitle,
  body.reports-page .official-report .report-cover-date {
    display: none !important;
  }

  body.reports-page .official-report .report-cover-divider {
    width: 72% !important;
    height: 4mm !important;
    margin: 6mm auto 10mm !important;
    background: #90ad9f !important;
    border-radius: 0 !important;
  }

  body.reports-page .official-report .report-cover-subtitle {
    margin: 4mm 0 !important;
    font-size: 24pt !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    color: #000000 !important;
  }

  body.reports-page .official-report .report-cover-date {
    margin: 45mm 0 0 !important;
    font-size: 18pt !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    color: #000000 !important;
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.reports-page .official-report .report-body,
  body.reports-page .official-report .report-signature {
    width: 190mm !important;
    max-width: 190mm !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body.reports-page .official-report .report-section-title {
    background: #1d6f63 !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body.reports-page .official-report .report-table-wrap {
    overflow: visible !important;
  }
}

/* Final cover-only layout lock: logos top, title center, date bottom */
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-head-block.report-cover-head-pdf.report-cover-head-three-logos-v2 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 12px !important;
  padding: 0 !important;
}
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-authority-and-ministry {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex: 1 !important;
}

:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-head-block.report-cover-head-pdf {
  flex: 0 0 auto !important;
  align-self: stretch !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10mm !important;
  white-space: nowrap !important;
}

:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-left-logos,
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-authority-wrap {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-authority-wrap {
  justify-content: flex-end !important;
}

:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-authority p {
  margin: 0 !important;
  font-size: clamp(18px, 1.85vw, 30px) !important;
  line-height: 1.22 !important;
}

:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-body.report-cover-body-v2 {
  flex: 1 1 auto !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-center {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-title {
  font-size: clamp(46px, 5.4vw, 76px) !important;
  line-height: 1.1 !important;
  text-align: center !important;
}

/* Cover v2 fine-tuning (title spacing, Noor size, frame border) */
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 {
  border-width: 1.5px !important;
}

:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-ornament {
  margin-top: 14px !important;
}

:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-logo.report-cover-logo-noor {
  width: auto !important;
  max-width: 86px !important;
  max-height: 66px !important;
}

@media print {
  body.reports-page .official-report .report-cover-frame.report-cover-frame-v2,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2,
  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 {
    border-width: 1.4px !important;
  }

  body.reports-page .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-ornament,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-ornament,
  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-ornament {
    margin-top: 3.5mm !important;
  }

  body.reports-page .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-logo.report-cover-logo-noor,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-logo.report-cover-logo-noor,
  :is(body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-logo.report-cover-logo-noor {
    width: auto !important;
    max-width: 27mm !important;
    max-height: 16mm !important;
  }
}

:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-date-block {
  flex: 0 0 auto !important;
  margin-top: auto !important;
  align-self: stretch !important;
}

/* Final cover header lock requested by user */
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame,
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 {
  background: #ffffff !important;
  padding: 22px !important;
}
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2::before,
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-three-logos-v2 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 15px !important;
  padding: 0 !important;
  margin-top: 8mm !important;
  margin-bottom: 22mm !important;
}
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-noor {
  flex: 0 0 auto !important;
  max-width: 95px !important;
  max-height: 60px !important;
  margin: 0 !important;
}
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-vision {
  flex: 0 0 auto !important;
  max-width: 140px !important;
  max-height: 85px !important;
  margin: 0 30px !important;
}
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-authority-and-ministry {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  flex: 0 0 auto !important;
}
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-authority {
  text-align: right !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-authority p {
  margin: 0 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #16384d !important;
}
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-ministry {
  flex: 0 0 auto !important;
  max-width: 70px !important;
  max-height: 40px !important;
  margin: 0 !important;
}

@media print {
  body.reports-page .official-report .report-cover-frame.report-cover-frame-v2,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 {
    padding: 9mm !important;
  }
  body.reports-page .official-report .report-cover-head-block.report-cover-head-three-logos-v2,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-three-logos-v2 {
    gap: 11mm !important;
  }
  body.reports-page .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-noor,
  body.reports-page .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-vision,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-noor,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-vision {
    max-height: 14mm !important;
    max-width: 26mm !important;
  }
  body.reports-page .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-vision,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-vision {
    max-height: 15mm !important;
    max-width: 30mm !important;
  }
  body.reports-page .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-ministry,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-head-block.report-cover-head-three-logos-v2 .report-cover-logo.report-cover-logo-ministry {
    max-height: 36mm !important;
    max-width: 82mm !important;
  }
}

/* Cover typography balance */
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-title {
  font-size: clamp(40px, 4.8vw, 64px) !important;
  line-height: 1.14 !important;
  margin: 0 !important;
}
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-ornament {
  margin: 28px auto 26px !important;
  width: min(78%, 560px) !important;
}
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-visit {
  font-size: clamp(34px, 3.2vw, 46px) !important;
  line-height: 1.26 !important;
  margin: 0 0 16px !important;
}
:is(body.reports-page, body.reports-page .report-preview, .review-page .detail-body, .admin-page .detail-body, .admin-wrap .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-school {
  font-size: clamp(30px, 2.8vw, 40px) !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

@media print {
  body.reports-page .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-title,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-title {
    font-size: 38pt !important;
    line-height: 1.12 !important;
  }
  body.reports-page .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-ornament,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-ornament {
    margin: 6.5mm auto 7mm !important;
    width: 74% !important;
  }
  body.reports-page .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-visit,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-visit {
    font-size: 20pt !important;
    line-height: 1.25 !important;
    margin: 0 0 4.5mm !important;
  }
  body.reports-page .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-school,
  :is(.review-page .detail-body, .admin-page .detail-body, .schools-page .modal-body) .official-report .report-cover-frame.report-cover-frame-v2 .report-cover-school {
    font-size: 17.5pt !important;
    line-height: 1.28 !important;
    margin: 0 !important;
  }
}


/* ========= ترويسة الصفحات الداخلية للتقرير (عرض الشاشة) ========= */
.official-report img{max-width:100%;height:auto;}
.official-report .report-inner-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d4e2ea;padding-bottom:10px;margin-bottom:18px;width:100%;}
.official-report .inner-header-logos{display:flex;align-items:center;gap:28px;}
.official-report .inner-logo{object-fit:contain;}
.official-report .inner-logo-noor{max-width:68px;max-height:42px;}
.official-report .inner-logo-vision{max-width:90px;max-height:52px;}
.official-report .inner-header-authority{display:flex;align-items:center;gap:8px;}
.official-report .inner-authority-text p{margin:0;font-size:12px;font-weight:700;color:#16384d;text-align:right;line-height:1.4;}
.official-report .inner-logo-ministry{max-width:82px;max-height:52px;}

/* ========= إضافة التقارير السابقة ========= */
.previous-report-hero-action {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.previous-report-card[hidden] {
  display: none !important;
}

.previous-report-card {
  margin-bottom: 22px;
  border-color: #b8d5cc;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfa 100%);
}

.previous-report-card .card-head {
  align-items: flex-start;
}

.previous-report-card .card-head h2 {
  margin-bottom: 6px;
}

.previous-report-card .section-note {
  margin: 0;
}

.previous-report-form {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 16px;
  align-items: end;
}

.previous-report-form .field {
  margin: 0;
}

.previous-report-form input,
.previous-report-form select {
  width: 100%;
}

.previous-report-form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 760px) {
  .previous-report-form {
    grid-template-columns: 1fr;
  }

  .previous-report-form-actions {
    grid-column: 1;
  }
}
