.local-ltc-dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin:1rem 0}.local-ltc-card{background:var(--bs-body-bg,#fff);border:1px solid var(--bs-border-color,#dee2e6);border-radius:.5rem;padding:1rem;min-height:72px;display:flex;align-items:center}.local-ltc-card a{font-weight:600;text-decoration:none}.local-ltc-table{width:100%}.local-ltc-status{font-weight:600}.local-ltc-muted{color:var(--bs-secondary-color,#6c757d)}
.local-ltc-card a{display:block;width:100%}.local-ltc-report-number{font-size:1.5rem;margin-top:.35rem;font-weight:600}

/* Student electronic-services portal. Uses Moodle/Bootstrap variables so it follows the active theme. */
.local-ltc-service-hero{
  background:var(--bs-light,#f8f9fa);
  border:1px solid var(--bs-border-color,#dee2e6);
  border-inline-start:5px solid var(--bs-primary,#0d6efd);
  border-radius:.75rem;
  padding:1.25rem 1.4rem;
  margin:0 0 1.25rem;
}
.local-ltc-service-hero h2{margin:0 0 .35rem;font-size:1.55rem}
.local-ltc-service-hero p{margin:0;color:var(--bs-secondary-color,#6c757d)}
.local-ltc-service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(245px,1fr));
  gap:1.1rem;
  margin:1rem 0;
}
.local-ltc-service-card{
  background:var(--bs-body-bg,#fff);
  color:var(--bs-body-color,#212529);
  border:1px solid var(--bs-border-color,#dee2e6);
  border-radius:.85rem;
  padding:1.15rem;
  min-height:285px;
  display:flex;
  flex-direction:column;
  box-shadow:0 .125rem .35rem rgba(0,0,0,.06);
  transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease;
}
.local-ltc-service-card:hover{
  transform:translateY(-2px);
  box-shadow:0 .35rem .8rem rgba(0,0,0,.09);
  border-color:var(--bs-primary,#0d6efd);
}
.local-ltc-service-card-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.9rem}
.local-ltc-service-icon{
  width:46px;height:46px;border-radius:.7rem;
  display:flex;align-items:center;justify-content:center;
  background:rgba(var(--bs-primary-rgb,13,110,253),.1);
  color:var(--bs-primary,#0d6efd);
  font-size:1.35rem;font-weight:700;
}
.local-ltc-service-fee{
  border:1px solid var(--bs-border-color,#dee2e6);
  border-radius:999px;padding:.25rem .65rem;
  font-size:.85rem;font-weight:600;white-space:nowrap;
}
.local-ltc-service-title{font-size:1.1rem;margin:0 0 .15rem}
.local-ltc-service-ar{font-weight:600;color:var(--bs-primary,#0d6efd);margin-bottom:.7rem}
.local-ltc-service-desc{color:var(--bs-secondary-color,#6c757d);font-size:.93rem;line-height:1.55;flex:1}
.local-ltc-service-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.8rem}
.local-ltc-service-actions .btn{flex:1 1 auto}
.local-ltc-service-footer-actions{margin:1.25rem 0 0;display:flex;justify-content:flex-end}
@media (max-width:575.98px){
  .local-ltc-service-grid{grid-template-columns:1fr}
  .local-ltc-service-footer-actions{justify-content:stretch}
  .local-ltc-service-footer-actions .btn{width:100%}
}

.local-ltc-portal-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:1rem;
  margin:1rem 0;
}
.local-ltc-portal-card{
  background:var(--bs-body-bg,#fff);
  border:1px solid var(--bs-border-color,#dee2e6);
  border-radius:.75rem;
  padding:1.1rem;
  min-height:210px;
  display:flex;
  flex-direction:column;
}
.local-ltc-portal-title{margin:0 0 .6rem;font-size:1.1rem;font-weight:700}
.local-ltc-portal-desc{margin:0 0 1rem;color:var(--bs-secondary-color,#6c757d);line-height:1.55;flex:1}
.local-ltc-portal-actions{margin-top:auto}
.local-ltc-portal-actions .btn{width:100%}
@media (max-width:575.98px){
  .local-ltc-portal-grid{grid-template-columns:1fr}
}


/* Compact client portal: every service keeps its own path. */
.local-ltc-portal-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:.75rem;
}
.local-ltc-portal-card{min-height:190px;padding:.9rem}
.local-ltc-portal-title{font-size:1rem}
@media (max-width:1399.98px){.local-ltc-portal-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:767.98px){.local-ltc-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:575.98px){.local-ltc-portal-grid{grid-template-columns:1fr}}
.local-ltc-select-all,.local-ltc-row-select{vertical-align:middle;margin-inline-end:.35rem}
.local-ltc-order-controls{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem}


/* Legacy-inspired client portal layout: simple, marketing-friendly, and fully dynamic. */
.local-ltc-legacy-hero{
  background:linear-gradient(110deg,#075786,#1596b2);
  color:#fff;border-radius:1rem;padding:1rem 1.5rem;text-align:center;margin:0 auto .75rem;
}
.local-ltc-legacy-hero h2{margin:0;font-size:1.7rem;font-weight:700}
.local-ltc-legacy-subtitle{margin-top:.25rem;font-size:.95rem}
.local-ltc-legacy-intro{background:#f4fbff;border:1px solid #cfe6f3;border-radius:.65rem;padding:.65rem 1rem;text-align:center;margin-bottom:.8rem}
.local-ltc-path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1.3rem}
.local-ltc-path-card{border:1px solid #cfddea;border-radius:.8rem;padding:1rem;background:#fff;text-align:center}
.local-ltc-path-card h3{margin:0 0 .45rem;color:#0b5f8f;font-size:1.2rem}
.local-ltc-path-card p{margin:0 0 .8rem;color:#5f6873;line-height:1.55}
.local-ltc-section-title{margin:1.35rem 0 .8rem;color:#f5820b;font-weight:700}
.local-ltc-five-services{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.8rem;margin-bottom:1.4rem}
.local-ltc-legacy-service-card{border:1px solid #cfddea;border-radius:.8rem;background:#fff;padding:1rem;display:flex;flex-direction:column;min-height:210px;text-align:center}
.local-ltc-legacy-service-card h3{color:#0b5f8f;font-size:1.05rem;margin:0 0 .55rem}
.local-ltc-legacy-service-card p{color:#5f6873;line-height:1.5;font-size:.92rem;flex:1;margin:0 0 .85rem}
.local-ltc-legacy-service-card .btn{width:100%}
.local-ltc-service-card-info{background:#eef6fb;border:1px solid #d6e8f3;border-radius:.55rem;padding:.6rem .7rem;margin:0 0 .8rem;color:#244d66;font-size:.82rem;line-height:1.45;min-height:78px;display:flex;align-items:center;justify-content:center}
.local-ltc-language-panel{border:1px solid #d7dfe7;border-radius:.8rem;padding:.85rem 1rem;margin-bottom:1rem;background:#fff}
.local-ltc-language-tabs{display:flex;gap:.45rem;flex-wrap:wrap;justify-content:center}
.local-ltc-language-tabs .btn{min-width:92px}
.local-ltc-language-help{text-align:right;margin:.75rem 0 0;color:#6c757d}
.local-ltc-course-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.local-ltc-course-market-card{border:1px solid #25364b;border-radius:.85rem;background:#fff;overflow:hidden;display:flex;flex-direction:column;min-height:310px}
.local-ltc-course-market-card h3{padding:1rem;margin:0;border-bottom:1px solid #e5e7eb;color:#0b5f8f;font-size:1.15rem;line-height:1.45;text-align:center}
.local-ltc-course-market-body{padding:1rem;flex:1}
.local-ltc-course-market-line{padding:.26rem 0;color:#525a63}
.local-ltc-course-market-actions{padding:0 1rem 1rem}
.local-ltc-course-market-actions .btn{width:100%}
@media (max-width:1199.98px){.local-ltc-five-services{grid-template-columns:repeat(3,minmax(0,1fr))}.local-ltc-course-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767.98px){.local-ltc-path-grid{grid-template-columns:1fr}.local-ltc-five-services{grid-template-columns:repeat(2,minmax(0,1fr))}.local-ltc-course-catalog{grid-template-columns:1fr}}
@media (max-width:575.98px){.local-ltc-five-services{grid-template-columns:1fr}.local-ltc-language-tabs .btn{flex:1 1 45%}}


/* 0.4.19 - legacy-inspired customer catalogue refinements. */
.local-ltc-client-shortcuts{display:flex;gap:.45rem;justify-content:center;flex-wrap:wrap;margin:0 0 .75rem}
.local-ltc-brand-hero{background:linear-gradient(110deg,#075786,#1596b2);color:#fff;border-radius:1rem;padding:.75rem 1.1rem;margin:0 auto .75rem;display:flex;align-items:center;justify-content:center;gap:1.25rem;min-height:112px}
.local-ltc-brand-logo{width:86px;height:86px;object-fit:cover;border-radius:.75rem;flex:0 0 auto}
.local-ltc-brand-copy{text-align:center;min-width:0}
.local-ltc-brand-copy h2{margin:0;font-size:1.7rem;font-weight:700}
.local-ltc-brand-subtitle{margin-top:.3rem;font-size:.95rem}
.local-ltc-catalog-controls{display:flex;gap:.45rem;justify-content:flex-start;flex-wrap:wrap;margin-top:.8rem}
.local-ltc-course-market-card{position:relative}
.local-ltc-course-market-image{height:210px;background:#f5f6f7;overflow:hidden;border-bottom:1px solid #e5e7eb}
.local-ltc-course-market-image img{width:100%;height:100%;object-fit:cover;display:block}
.local-ltc-course-market-heading{padding:.8rem 1rem .65rem;border-bottom:1px solid #e5e7eb}
.local-ltc-course-market-heading h3{padding:.45rem 0 0;border:0;text-align:inherit;font-size:1.12rem;margin:0;color:#0b5f8f}
.local-ltc-language-badge{display:inline-block;border:1px solid #cfddea;border-radius:999px;padding:.12rem .55rem;font-size:.78rem;color:#0b5f8f;background:#f7fbfe}
.local-ltc-course-fee-line{margin-top:.25rem;padding:.45rem .55rem;border-radius:.45rem;background:#fff9f2;border:1px solid #f3d3aa}
.local-ltc-course-summary{margin-top:.8rem;padding-top:.75rem;border-top:1px solid #eceff2;color:#525a63;line-height:1.6}
.local-ltc-course-list td,.local-ltc-course-list th{vertical-align:middle}
.local-ltc-course-market-card[dir="rtl"] .local-ltc-course-market-body,.local-ltc-course-market-card[dir="rtl"] .local-ltc-course-market-heading{text-align:right}
.local-ltc-course-market-card[dir="ltr"] .local-ltc-course-market-body,.local-ltc-course-market-card[dir="ltr"] .local-ltc-course-market-heading{text-align:left}
@media (max-width:767.98px){
  .local-ltc-brand-hero{gap:.65rem;padding:.65rem}
  .local-ltc-brand-logo{width:64px;height:64px}
  .local-ltc-brand-copy h2{font-size:1.2rem}
  .local-ltc-course-market-image{height:180px}
}

/* 0.4.22 - split customer portal into two clean legacy-style paths. */
.local-ltc-brand-logo-box{
  width:96px;height:96px;display:flex;align-items:center;justify-content:center;
  background:#fff;border-radius:.85rem;padding:.35rem;flex:0 0 auto;
  box-shadow:0 .1rem .25rem rgba(0,0,0,.08);
}
.local-ltc-brand-logo{width:100%;height:100%;object-fit:contain;border-radius:.45rem;background:#fff}
.local-ltc-course-summary{overflow-wrap:anywhere}
.local-ltc-course-summary ul,.local-ltc-course-summary ol{margin:.45rem 0;padding-inline-start:1.25rem}
.local-ltc-course-summary p:last-child{margin-bottom:0}
@media (max-width:767.98px){
 .local-ltc-brand-logo-box{width:68px;height:68px;padding:.25rem}
}

/* 0.4.31 - Course catalogue presentation ported from the proven legacy training portal. */

/* Course portal card and language presentation copied from local_trainingregistration v1.18.44. */


/* v1.12.0 Course portal visual organization */
.trreg-portal {
    max-width: 1180px;
    margin: 20px auto;
}
.trreg-hero {
    background: linear-gradient(135deg, #075985, #168aad);
    color: #fff;
    padding: 24px;
    border-radius: 14px;
    text-align: center;
    margin-bottom: 18px;
}
.trreg-hero h2 {
    color: #fff;
    margin: 0 0 6px;
}
.trreg-hero p {
    margin: 0;
}
.trreg-language-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.trreg-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}
.trreg-course-card {
    border: 2px solid var(--course-border, #6b7280);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.trreg-card-head {
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 18px 12px;
    background: #fafafa;
}
.trreg-card-head h3 {
    margin: 0 0 8px;
    color: #075985;
    font-size: 1.35rem;
}
.trreg-level-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--course-border, #6b7280);
    font-size: .88rem;
    font-weight: 600;
}
.trreg-card-body {
    padding: 16px 18px;
    flex: 1;
}
.trreg-card-body p {
    margin-bottom: 9px;
}
.trreg-fee {
    font-size: 1.05rem;
}
.trreg-online-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 8px 10px;
    margin: 10px 0;
}
.trreg-description {
    margin-top: 14px;
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
}
.trreg-card-footer {
    padding: 0 18px 18px;
}
.trreg-course-grid.list-view {
    display: block;
}
.trreg-course-grid.list-view .trreg-course-card {
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(420px, 2fr) 180px;
    align-items: stretch;
}
.trreg-course-grid.list-view .trreg-card-head {
    border-bottom: 0;
    border-inline-end: 1px solid #e5e7eb;
}
.trreg-course-grid.list-view .trreg-card-body {
    border-inline-end: 1px solid #e5e7eb;
}
.trreg-course-grid.list-view .trreg-card-footer {
    display: flex;
    align-items: center;
    padding: 16px;
}
.trreg-course-grid.list-view .trreg-description {
    margin-top: 8px;
}
@media (max-width: 900px) {
    .trreg-course-grid.list-view .trreg-course-card {
        display: block;
    }
    .trreg-course-grid.list-view .trreg-card-head,
    .trreg-course-grid.list-view .trreg-card-body {
        border-inline-end: 0;
    }
}

.trreg-program-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}
.trreg-documentation-note {
    background: #f8fafc;
    border-inline-start: 4px solid var(--course-border, #6b7280);
    padding: 8px 10px;
    margin: 8px 0;
    font-size: .92rem;
}

/* v1.13.1 simplified filtering */
.trreg-program-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.trreg-program-tabs .btn {
    min-width: 145px;
}
.trreg-language-filter {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px;
}

/* v1.13.2 - one clear language taxonomy */
.trreg-language-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.trreg-language-tabs .btn {
    min-width: 100px;
}
@media (max-width: 700px) {
    .trreg-language-tabs .btn {
        flex: 1 1 120px;
    }
}

/* v1.13.3 unified admin/student course presentation */
.trreg-admin-portal .trreg-course-card {
    min-height: 100%;
}
.trreg-admin-number {
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 6px;
    opacity: .75;
}
.trreg-admin-actions {
    display: block;
}
.trreg-admin-portal .trreg-course-grid.list-view .trreg-admin-actions {
    min-width: 170px;
}

/* v1.13.4 student/admin language and presentation parity */
.trreg-portal,
.trreg-admin-portal {
    direction: rtl;
}
.trreg-portal .trreg-card-body,
.trreg-admin-portal .trreg-card-body {
    text-align: right;
}
.trreg-course-card[dir="ltr"] .trreg-card-head h3 {
    text-align: left;
}
.trreg-course-card[dir="rtl"] .trreg-card-head h3 {
    text-align: right;
}


/* v1.18.11 - ONLY card text alignment by course language direction. */
.trreg-course-card[dir="ltr"] .trreg-card-head,
.trreg-course-card[dir="ltr"] .trreg-card-body,
.trreg-course-card[dir="ltr"] .trreg-description {
    direction: ltr;
    text-align: left;
}

.trreg-course-card[dir="rtl"] .trreg-card-head,
.trreg-course-card[dir="rtl"] .trreg-card-body,
.trreg-course-card[dir="rtl"] .trreg-description {
    direction: rtl;
    text-align: right;
}

.trreg-course-card[dir="ltr"] .trreg-card-body p,
.trreg-course-card[dir="ltr"] .trreg-description p,
.trreg-course-card[dir="ltr"] .trreg-description li {
    text-align: left;
}

.trreg-course-card[dir="rtl"] .trreg-card-body p,
.trreg-course-card[dir="rtl"] .trreg-description p,
.trreg-course-card[dir="rtl"] .trreg-description li {
    text-align: right;
}

.trreg-course-card[dir="ltr"] .trreg-description ul,
.trreg-course-card[dir="ltr"] .trreg-description ol {
    direction: ltr;
    padding-left: 1.5rem;
    padding-right: 0;
}

.trreg-course-card[dir="rtl"] .trreg-description ul,
.trreg-course-card[dir="rtl"] .trreg-description ol {
    direction: rtl;
    padding-right: 1.5rem;
    padding-left: 0;
}


/* v1.18.12 - list markers follow the card direction only. */
.trreg-course-card[dir="ltr"] .trreg-description ul,
.trreg-course-card[dir="ltr"] .trreg-description ol { padding-left: 1.5rem; padding-right: 0; }
.trreg-course-card[dir="rtl"] .trreg-description ul,
.trreg-course-card[dir="rtl"] .trreg-description ol { padding-right: 1.5rem; padding-left: 0; }



/* 0.4.39 - compact portal brand header to match the approved portal layout. */
.local-ltc-brand-hero{
  max-width:1150px;min-height:84px;padding:.55rem 1.25rem;margin:.25rem auto .55rem;
  gap:1rem;border-radius:.8rem;
}
.local-ltc-brand-logo-box{
  width:68px;height:68px;padding:0;background:transparent;box-shadow:none;border-radius:50%;
}
.local-ltc-brand-logo{
  width:68px;height:68px;object-fit:contain;background:transparent;border-radius:50%;
}
.local-ltc-brand-copy h2{font-size:1.4rem;line-height:1.25}
.local-ltc-brand-subtitle{font-size:.82rem;margin-top:.15rem}
.local-ltc-legacy-intro{max-width:1150px;margin:.55rem auto .8rem;padding:.45rem .85rem;border-radius:.55rem}
@media (max-width:767.98px){
  .local-ltc-brand-hero{min-height:72px;padding:.45rem .7rem;gap:.55rem}
  .local-ltc-brand-logo-box,.local-ltc-brand-logo{width:54px;height:54px}
  .local-ltc-brand-copy h2{font-size:1.05rem}
  .local-ltc-brand-subtitle{font-size:.75rem}
}

/* 0.4.47 header/logo-only alignment fix. */
.local-ltc-brand-hero{
  min-height:76px;
  padding:.42rem 1rem;
  justify-content:space-between;
  gap:1rem;
  border-bottom:3px solid #064d73;
}
.local-ltc-brand-copy{
  flex:1 1 auto;
  text-align:center;
}
.local-ltc-brand-logo-box,
.local-ltc-brand-logo{
  width:64px;
  height:64px;
  background:transparent;
  box-shadow:none;
  border:0;
}
.local-ltc-brand-logo{object-fit:contain;border-radius:0;display:block}
@media (max-width:767.98px){
  .local-ltc-brand-hero{min-height:66px;padding:.35rem .55rem;gap:.45rem}
  .local-ltc-brand-logo-box,.local-ltc-brand-logo{width:50px;height:50px}
}


/* 0.4.59 - final banner/logo visual fix: centered logos inside white circles, no cropping. */
.local-ltc-brand-hero{
  max-width:1150px;
  min-height:96px;
  padding:.6rem 1.2rem;
  margin:.3rem auto .65rem;
  gap:1.1rem;
  border-radius:.9rem;
  align-items:center;
  justify-content:space-between;
  background:linear-gradient(110deg,#075786,#1596b2);
  border-bottom:3px solid #064d73;
}
.local-ltc-brand-copy{
  flex:1 1 auto;
  text-align:center;
  color:#fff;
}
.local-ltc-brand-copy h2{
  color:#fff;
  margin:0;
  line-height:1.25;
  font-size:1.45rem;
  font-weight:700;
}
.local-ltc-brand-subtitle{
  color:#fff;
  opacity:.98;
  margin-top:.15rem;
  font-size:.84rem;
}
.local-ltc-brand-logo-box{
  width:78px;
  height:78px;
  min-width:78px;
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px;
  background:#fff;
  border-radius:50%;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
  border:2px solid rgba(255,255,255,.65);
  overflow:hidden;
  flex:0 0 auto;
}
.local-ltc-brand-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
  display:block;
  background:transparent;
  border:0;
  border-radius:0;
}
@media (max-width:767.98px){
  .local-ltc-brand-hero{
    min-height:82px;
    padding:.45rem .7rem;
    gap:.6rem;
  }
  .local-ltc-brand-logo-box{
    width:60px;
    height:60px;
    min-width:60px;
    min-height:60px;
    padding:6px;
  }
  .local-ltc-brand-copy h2{font-size:1.08rem}
  .local-ltc-brand-subtitle{font-size:.74rem}
}


/* 0.4.60 - transparent logo treatment: remove white circles and keep logos visually centered. */
.local-ltc-brand-hero{
  min-height:92px;
  padding:.55rem 1.15rem;
  align-items:center;
}
.local-ltc-brand-logo-box{
  width:80px;
  height:74px;
  min-width:80px;
  min-height:74px;
  padding:0;
  margin:0;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:visible;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 80px;
}
.local-ltc-brand-logo{
  width:auto;
  height:auto;
  max-width:70px;
  max-height:70px;
  object-fit:contain;
  object-position:center center;
  display:block;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:0 2px 4px rgba(0,0,0,.12);
  transform:translateY(-2px);
}
@media (max-width:767.98px){
  .local-ltc-brand-hero{min-height:78px;padding:.4rem .65rem}
  .local-ltc-brand-logo-box{width:58px;height:56px;min-width:58px;min-height:56px;flex-basis:58px}
  .local-ltc-brand-logo{max-width:52px;max-height:52px;transform:translateY(-1px)}
}


/* 0.4.61 - final banner fix: cleaned transparent logos, balanced sizing, proper centering. */
.local-ltc-brand-hero{
  max-width:1150px;
  min-height:88px;
  padding:.55rem 1rem;
  margin:.25rem auto .65rem;
  border-radius:.95rem;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  background:linear-gradient(110deg,#0a5f8b,#1aa0bb);
  border-bottom:2px solid #0a5277;
  box-shadow:0 2px 8px rgba(5,54,84,.08);
}
.local-ltc-brand-copy{
  flex:1 1 auto;
  text-align:center;
  color:#fff;
  min-width:0;
}
.local-ltc-brand-copy h2{
  color:#fff;
  margin:0;
  line-height:1.18;
  font-size:1.42rem;
  font-weight:700;
}
.local-ltc-brand-subtitle{
  color:#eaf7fb;
  margin-top:.14rem;
  font-size:.82rem;
  line-height:1.15;
}
.local-ltc-brand-logo-box{
  width:84px;
  height:72px;
  min-width:84px;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  margin:0;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:visible;
  flex:0 0 84px;
}
.local-ltc-brand-logo{
  width:auto !important;
  height:auto !important;
  max-width:72px;
  max-height:62px;
  object-fit:contain;
  object-position:center center;
  display:block;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  transform:none !important;
}
/* first box = university logo (right in RTL), last box = center logo (left) */
.local-ltc-brand-hero > .local-ltc-brand-logo-box:first-child .local-ltc-brand-logo{
  max-width:62px;
  max-height:62px;
}
.local-ltc-brand-hero > .local-ltc-brand-logo-box:last-child .local-ltc-brand-logo{
  max-width:68px;
  max-height:60px;
}
@media (max-width:767.98px){
  .local-ltc-brand-hero{
    min-height:74px;
    padding:.42rem .6rem;
    gap:.55rem;
  }
  .local-ltc-brand-logo-box{
    width:58px;
    height:52px;
    min-width:58px;
    min-height:52px;
    flex-basis:58px;
  }
  .local-ltc-brand-logo{max-width:46px;max-height:44px}
  .local-ltc-brand-hero > .local-ltc-brand-logo-box:first-child .local-ltc-brand-logo{max-width:42px;max-height:42px}
  .local-ltc-brand-hero > .local-ltc-brand-logo-box:last-child .local-ltc-brand-logo{max-width:46px;max-height:42px}
  .local-ltc-brand-copy h2{font-size:1.06rem}
  .local-ltc-brand-subtitle{font-size:.72rem}
}


/* 0.4.62 - clean banner without logos (temporary approved version). */
.local-ltc-brand-hero.local-ltc-brand-hero--clean{
  max-width:1150px;
  min-height:84px;
  padding:.65rem 1.2rem;
  margin:.25rem auto .65rem;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  background:linear-gradient(110deg,#0a5f8b,#1aa0bb);
  border-radius:.95rem;
  border-bottom:2px solid #0a5277;
  box-shadow:0 2px 8px rgba(5,54,84,.08);
}
.local-ltc-brand-hero--clean .local-ltc-brand-copy{
  flex:1 1 auto;
  text-align:center;
  color:#fff;
  margin:0 auto;
}
.local-ltc-brand-hero--clean .local-ltc-brand-copy h2{
  color:#fff;
  margin:0;
  line-height:1.18;
  font-size:1.44rem;
  font-weight:700;
}
.local-ltc-brand-hero--clean .local-ltc-brand-subtitle{
  color:#eef9fc;
  margin-top:.14rem;
  font-size:.83rem;
}
@media (max-width:767.98px){
  .local-ltc-brand-hero.local-ltc-brand-hero--clean{
    min-height:72px;
    padding:.45rem .75rem;
  }
  .local-ltc-brand-hero--clean .local-ltc-brand-copy h2{font-size:1.08rem}
  .local-ltc-brand-hero--clean .local-ltc-brand-subtitle{font-size:.72rem}
}


/* 0.4.63 - elegant raised logos on the banner without white boxes. */
.local-ltc-brand-hero.local-ltc-brand-hero--elegant{
  max-width:1150px;
  min-height:84px;
  padding:.55rem 1rem;
  margin:.25rem auto .65rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  background:linear-gradient(110deg,#0a5f8b,#1aa0bb);
  border-radius:.95rem;
  border-bottom:2px solid #0a5277;
  box-shadow:0 2px 8px rgba(5,54,84,.08);
}
.local-ltc-brand-hero--elegant .local-ltc-brand-copy{
  flex:1 1 auto;
  text-align:center;
  color:#fff;
  margin:0 auto;
  min-width:0;
}
.local-ltc-brand-hero--elegant .local-ltc-brand-copy h2{
  color:#fff;
  margin:0;
  line-height:1.18;
  font-size:1.44rem;
  font-weight:700;
}
.local-ltc-brand-hero--elegant .local-ltc-brand-subtitle{
  color:#eef9fc;
  margin-top:.14rem;
  font-size:.83rem;
}
.local-ltc-brand-hero--elegant .local-ltc-brand-logo-box{
  width:78px;
  height:62px;
  min-width:78px;
  min-height:62px;
  flex:0 0 78px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:6px 8px;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(0,0,0,.08));
  border:1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.10), 0 3px 8px rgba(0,0,0,.10);
  overflow:hidden;
}
.local-ltc-brand-hero--elegant .local-ltc-brand-logo{
  width:auto !important;
  height:auto !important;
  object-fit:contain;
  object-position:center center;
  display:block;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.18));
}
.local-ltc-brand-hero--elegant .local-ltc-brand-logo-box--univ .local-ltc-brand-logo{
  max-width:50px;
  max-height:50px;
}
.local-ltc-brand-hero--elegant .local-ltc-brand-logo-box--center .local-ltc-brand-logo{
  max-width:56px;
  max-height:48px;
}
@media (max-width:767.98px){
  .local-ltc-brand-hero.local-ltc-brand-hero--elegant{min-height:72px;padding:.42rem .7rem;gap:.6rem}
  .local-ltc-brand-hero--elegant .local-ltc-brand-logo-box{width:56px;height:46px;min-width:56px;min-height:46px;flex-basis:56px;padding:4px 6px;border-radius:12px}
  .local-ltc-brand-hero--elegant .local-ltc-brand-logo-box--univ .local-ltc-brand-logo{max-width:36px;max-height:36px}
  .local-ltc-brand-hero--elegant .local-ltc-brand-logo-box--center .local-ltc-brand-logo{max-width:40px;max-height:34px}
  .local-ltc-brand-hero--elegant .local-ltc-brand-copy h2{font-size:1.08rem}
  .local-ltc-brand-hero--elegant .local-ltc-brand-subtitle{font-size:.72rem}
}


/* 0.4.65 - customer course catalogue: four cards per row + detailed course profiles. */
.trreg-course-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.trreg-course-card{min-width:0}
.trreg-card-head{padding:14px 15px 10px}
.trreg-card-head h3{font-size:1.08rem;line-height:1.35}
.trreg-card-body{padding:13px 15px}
.trreg-card-body p{margin-bottom:7px;font-size:.94rem}
.trreg-card-footer{padding:0 15px 15px}
@media (max-width:1199.98px){.trreg-course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:899.98px){.trreg-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:575.98px){.trreg-course-grid{grid-template-columns:1fr}}
.trreg-course-grid.list-view{display:block}

.ltc-course-profile{max-width:1100px;margin:0 auto 2rem}
.ltc-course-profile-hero{background:linear-gradient(110deg,#0a5f8b,#1aa0bb);color:#fff;border-radius:16px;padding:28px 32px;margin-bottom:18px;box-shadow:0 5px 18px rgba(5,54,84,.10)}
.ltc-course-profile-hero h1{color:#fff;margin:.15rem 0 .6rem;font-size:2rem;line-height:1.3}
.ltc-course-profile-kicker{font-weight:700;opacity:.92;font-size:.92rem;letter-spacing:.02em}
.ltc-course-profile-lead{max-width:900px;margin:.7rem 0 0;line-height:1.8;font-size:1.03rem}
.ltc-course-profile-level{display:inline-block;padding:.25rem .7rem;border:1px solid rgba(255,255,255,.55);border-radius:999px;font-weight:700;background:rgba(255,255,255,.10)}
.ltc-course-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.ltc-course-fact{background:#fff;border:1px solid #d8e4ec;border-radius:12px;padding:13px 15px;box-shadow:0 2px 8px rgba(0,0,0,.035);display:flex;flex-direction:column;gap:4px}
.ltc-course-fact-label{font-size:.83rem;color:#60717e}
.ltc-course-fact strong{color:#123b55;line-height:1.45}
.ltc-course-section{background:#fff;border:1px solid #d8e4ec;border-radius:14px;padding:20px 23px;margin-bottom:14px;box-shadow:0 2px 8px rgba(0,0,0,.03)}
.ltc-course-section h2{font-size:1.25rem;color:#075985;margin:0 0 12px}
.ltc-course-section p{line-height:1.8;margin:0}
.ltc-course-list{margin:0;padding-inline-start:1.35rem}
.ltc-course-list li{margin-bottom:.55rem;line-height:1.7}
.ltc-course-rich-summary{line-height:1.8}
.ltc-course-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:20px;padding-top:8px}
.ltc-course-actions .btn{min-width:180px}
.ltc-course-profile[dir="rtl"] .ltc-course-section,.ltc-course-profile[dir="rtl"] .ltc-course-fact,.ltc-course-profile[dir="rtl"] .ltc-course-profile-hero{text-align:right}
.ltc-course-profile[dir="ltr"] .ltc-course-section,.ltc-course-profile[dir="ltr"] .ltc-course-fact,.ltc-course-profile[dir="ltr"] .ltc-course-profile-hero{text-align:left}
@media (max-width:899.98px){.ltc-course-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.ltc-course-profile-hero{padding:22px}.ltc-course-profile-hero h1{font-size:1.6rem}}
@media (max-width:575.98px){.ltc-course-facts{grid-template-columns:1fr}.ltc-course-profile{padding:0 .25rem}.ltc-course-actions{flex-direction:column}.ltc-course-actions .btn{width:100%;min-width:0}}


/* 0.4.67 - trainee course catalogue layout refinement. */
.local-ltc-page-nav{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.45rem;
}
.local-ltc-page-nav .btn{
  margin:0 !important;
}
.local-ltc-page-nav .btn.active,
.local-ltc-page-nav .btn[aria-current="page"]{
  box-shadow:0 0 0 .16rem rgba(13,110,253,.14);
  font-weight:700;
}
.trreg-language-tabs{
  justify-content:center;
  row-gap:8px;
}
.trreg-language-tabs .btn{
  min-width:92px;
  font-size:.9rem;
}
.trreg-language-tabs .btn.active{
  font-weight:700;
  box-shadow:0 0 0 .14rem rgba(13,110,253,.12);
}
.trreg-course-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.trreg-course-card{
  border-radius:12px;
}
.trreg-card-head{
  padding:11px 12px 8px;
}
.trreg-card-head h3{
  font-size:.98rem;
  line-height:1.32;
  margin-bottom:6px;
}
.trreg-level-badge{
  font-size:.76rem;
  padding:2px 7px;
}
.trreg-card-body{
  padding:10px 12px;
}
.trreg-card-body p{
  margin-bottom:5px;
  font-size:.86rem;
  line-height:1.45;
}
.trreg-fee{font-size:.9rem}
.trreg-card-footer{
  padding:0 12px 12px;
}
.trreg-card-footer .btn{
  font-size:.84rem;
  padding:.45rem .55rem;
}
/* Keep four cards at normal desktop widths; collapse only on genuinely narrower screens. */
@media (max-width:1050px){.trreg-course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:780px){.trreg-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:575.98px){.trreg-course-grid{grid-template-columns:1fr}}

/* List view = four equal visual divisions: title | facts | more info | registration. */
.trreg-course-grid.list-view{
  display:block;
}
.trreg-course-grid.list-view .trreg-course-card{
  margin-bottom:12px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  min-height:150px;
}
.trreg-course-grid.list-view .trreg-card-head,
.trreg-course-grid.list-view .trreg-card-body{
  border-bottom:0;
  border-inline-end:1px solid #e5e7eb;
  padding:16px 18px;
}
.trreg-course-grid.list-view .trreg-card-footer{
  display:contents;
}
.trreg-course-grid.list-view .trreg-card-footer > .btn,
.trreg-course-grid.list-view .trreg-card-footer > span.btn{
  width:100% !important;
  min-width:0;
  margin:0 !important;
  border-radius:0;
  border-top:0;
  border-bottom:0;
  border-inline-start:0;
  border-inline-end:1px solid #e5e7eb;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  white-space:normal;
  padding:16px 12px;
  font-size:.9rem;
}
.trreg-course-grid.list-view .trreg-card-footer > :last-child{
  border-inline-end:0;
}
@media (max-width:900px){
  .trreg-course-grid.list-view .trreg-course-card{display:block;min-height:0}
  .trreg-course-grid.list-view .trreg-card-head,
  .trreg-course-grid.list-view .trreg-card-body{border-inline-end:0;border-bottom:1px solid #e5e7eb}
  .trreg-course-grid.list-view .trreg-card-footer{display:flex;padding:12px;gap:8px}
  .trreg-course-grid.list-view .trreg-card-footer > .btn,
  .trreg-course-grid.list-view .trreg-card-footer > span.btn{border:1px solid currentColor;border-radius:.375rem;padding:.5rem;flex:1}
}


/* 0.4.68 guaranteed trainee catalogue layout. */
.local-ltc-page-nav{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.local-ltc-page-nav .btn{margin:0!important;white-space:nowrap}
.trreg-course-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.trreg-course-grid.list-view .trreg-course-card{grid-template-columns:repeat(4,minmax(0,1fr))!important}

/* 0.4.72 - grouped administration home: one primary task tab with related admin cards only. */
.local-ltc-admin-hub{max-width:1180px;margin:0 auto}
.local-ltc-admin-tabs{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.local-ltc-admin-tabs .btn{margin:0;white-space:nowrap}
.local-ltc-admin-section-head{padding:.95rem 1.1rem;margin:0 0 1rem;border:1px solid #d7e4ed;border-radius:.8rem;background:#f8fbfd}
.local-ltc-admin-section-head h2{margin:0 0 .25rem;color:#0b5f8f;font-size:1.45rem}
.local-ltc-admin-section-head p{margin:0;color:#596a76;line-height:1.55}
.local-ltc-admin-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.local-ltc-admin-card{display:flex;flex-direction:column;min-height:190px;padding:1rem;border:1px solid #dbe4ea;border-radius:.8rem;background:#fff;box-shadow:0 2px 7px rgba(18,64,91,.05)}
.local-ltc-admin-card h3{margin:0 0 .55rem;color:#0b5f8f;font-size:1.08rem}
.local-ltc-admin-card p{margin:0 0 1rem;color:#5a6872;line-height:1.55;font-size:.94rem}
.local-ltc-admin-card .btn{align-self:flex-start;margin-top:auto}
@media (max-width:1100px){.local-ltc-admin-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:800px){.local-ltc-admin-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.local-ltc-admin-card-grid{grid-template-columns:1fr}.local-ltc-admin-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:.25rem}}


/* 0.5.27 - soft academic course cards; course language stays authoritative. */
.trreg-course-card{border:1px solid #e3ebf3;border-top:4px solid var(--course-border,#0b5f96);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,64,97,.08);overflow:hidden}
.trreg-language-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:#fff;border:1px solid #dbe7f0;color:#27445b;font-size:.78rem;font-weight:700}
.trreg-card-summary{color:#607386;font-size:.87rem;line-height:1.5}
.trreg-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:auto}
@media(max-width:575px){.trreg-card-actions{grid-template-columns:1fr}}

/* Participant-list export-only data: keep the operational screen compact while
   retaining bilingual Certificate Data columns for selected-list downloads. */
th.local-ltc-export-only,
td.local-ltc-export-only { display: none !important; }

/* Finance summary cards: visual-only status styling (Alpha 0.5.57). */
.local-ltc-finance-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.local-ltc-finance-card{min-height:118px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:1rem 1.1rem}
.local-ltc-finance-label{font-size:.98rem;line-height:1.25;color:var(--bs-body-color,#343a40);font-weight:600}
.local-ltc-finance-number{margin-top:.45rem;font-size:1.75rem;line-height:1.1;font-weight:700;letter-spacing:.01em;white-space:nowrap}
.local-ltc-finance-unit{font-size:.78em;font-weight:600}
.local-ltc-finance-verified{color:#198754}
.local-ltc-finance-pending{color:#c47a00}
.local-ltc-finance-rejected{color:#c82333}
.local-ltc-finance-transactions{color:#0b5ed7}
@media (max-width:900px){.local-ltc-finance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.local-ltc-finance-summary{grid-template-columns:1fr}.local-ltc-finance-card{min-height:96px}}


/* Alpha 0.5.65 - unified compact report summaries. Visual-only; no workflow changes. */
.local-ltc-report-summary{
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:.75rem;
    margin:.75rem 0 1rem;
}
.local-ltc-report-summary .local-ltc-card{
    min-height:56px;
    padding:.65rem .8rem;
    align-items:flex-start;
    justify-content:center;
    flex-direction:column;
}
.local-ltc-report-summary .local-ltc-card strong{
    font-size:.88rem;
    line-height:1.2;
    color:var(--bs-secondary-color,#5f6873);
}
.local-ltc-report-summary .local-ltc-report-number{
    font-size:1.35rem;
    line-height:1.15;
    margin-top:.18rem;
    font-weight:700;
}
.local-ltc-report-summary.local-ltc-finance-summary .local-ltc-finance-card{min-height:56px;}
@media (max-width:768px){
    .local-ltc-report-summary{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));}
}


/* Alpha 0.5.71 - visual refinement only: clearer admin-card headings and unified compact report statistics. */
.local-ltc-admin-card{
    padding:0;
    overflow:hidden;
    min-height:190px;
}
.local-ltc-admin-card h3{
    margin:0;
    padding:.72rem .95rem;
    background:#eaf3f9;
    border-bottom:1px solid #d5e5ef;
    color:#0b5f8f;
    font-size:1.05rem;
    font-weight:700;
    line-height:1.35;
}
.local-ltc-admin-card p{
    margin:0;
    padding:.8rem .95rem .55rem;
    color:#5a6872;
    line-height:1.55;
    font-size:.94rem;
}
.local-ltc-admin-card .btn{
    margin:.35rem .95rem .95rem;
    align-self:flex-start;
}

/* One compact visual language for all report summary cards. */
.local-ltc-report-summary{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(165px,1fr));
    gap:.75rem;
    margin:.75rem 0 1rem;
}
.local-ltc-report-summary .local-ltc-card{
    min-height:72px;
    padding:.7rem .85rem;
    border:1px solid #dbe4ea;
    border-radius:.65rem;
    background:#fff;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
}
.local-ltc-report-summary .local-ltc-card strong{
    font-size:.84rem;
    line-height:1.2;
    color:#596a76;
    font-weight:600;
}
.local-ltc-report-summary .local-ltc-report-number{
    font-size:1.35rem;
    line-height:1.05;
    margin-top:.28rem;
    font-weight:700;
    color:#0b5f8f;
}
.local-ltc-report-summary .local-ltc-stat-pending .local-ltc-report-number{color:#c47a00}
.local-ltc-report-summary .local-ltc-stat-approved .local-ltc-report-number{color:#198754}
.local-ltc-report-summary .local-ltc-stat-rejected .local-ltc-report-number{color:#c82333}
.local-ltc-report-summary .local-ltc-stat-resolved .local-ltc-report-number{color:#0b5ed7}
.local-ltc-report-summary .local-ltc-stat-total .local-ltc-report-number{color:#5b6470}
@media (max-width:768px){
    .local-ltc-report-summary{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
}

/* Alpha 0.5.72 - unified card presentation + catalogue Arabic reading mode controls (visual only). */
.trreg-view-toggle{display:flex;align-items:center;justify-content:flex-end;gap:.4rem;flex-wrap:wrap}
.trreg-view-toggle .btn{margin:0!important}
.trreg-original-title{margin-top:.3rem;color:#607386;font-size:.78rem;font-weight:600;line-height:1.35;opacity:.95}

/* One visual language for customer, employee and administration cards. */
.local-ltc-admin-card,
.local-ltc-legacy-service-card,
.local-ltc-portal-card,
.local-ltc-path-card{
  border:1px solid #d6e2eb!important;
  border-radius:.82rem!important;
  background:#fff!important;
  box-shadow:0 2px 7px rgba(18,64,91,.05)!important;
  overflow:hidden!important;
}
.local-ltc-admin-card h3,
.local-ltc-legacy-service-card h3,
.local-ltc-path-card h3,
.local-ltc-portal-card .local-ltc-portal-title{
  display:block!important;
  margin:-1rem -1rem .8rem!important;
  padding:.72rem 1rem!important;
  background:linear-gradient(145deg,#eaf3f9 0%,#dfeef7 100%)!important;
  border-bottom:1px solid #d2e1eb!important;
  color:#075986!important;
  font-size:1.06rem!important;
  font-weight:800!important;
  line-height:1.35!important;
}
.local-ltc-legacy-service-card h3{margin:-1rem -1rem .75rem!important;text-align:center!important}
.local-ltc-path-card h3{margin:-1rem -1rem .75rem!important;text-align:center!important}
.local-ltc-portal-card{padding:1rem!important}
.local-ltc-portal-card .local-ltc-portal-title{margin:-1rem -1rem .8rem!important}
.local-ltc-admin-card p,
.local-ltc-legacy-service-card p,
.local-ltc-path-card p,
.local-ltc-portal-card .local-ltc-portal-desc{color:#5b6873!important;line-height:1.55!important}
.local-ltc-legacy-service-card .local-ltc-service-card-info{
  background:#f3f8fc!important;
  border-color:#d9e8f2!important;
  color:#244d66!important;
}

/* Keep compact statistics consistent wherever report summary cards are used. */
.local-ltc-report-summary{gap:.75rem!important}
.local-ltc-report-summary .local-ltc-card,
.local-ltc-finance-summary .local-ltc-finance-card{
  min-height:64px!important;
  padding:.7rem .9rem!important;
  border-radius:.65rem!important;
  box-shadow:none!important;
}
.local-ltc-report-summary .local-ltc-report-number,
.local-ltc-finance-summary .local-ltc-report-number{font-size:1.35rem!important;line-height:1.1!important;margin-top:.18rem!important}

/* Alpha 0.5.73 - visual-only card-header safety fix.
   Keep card titles fully visible; do not pull headings outside zero-padded cards. */
.local-ltc-admin-card h3,
.local-ltc-legacy-service-card h3,
.local-ltc-path-card h3,
.local-ltc-portal-card .local-ltc-portal-title{
  margin:0!important;
  padding:.78rem 1rem!important;
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  overflow:visible!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.35!important;
}
.local-ltc-admin-card h3{margin:0!important;text-align:start!important}
.local-ltc-legacy-service-card h3,
.local-ltc-path-card h3{text-align:center!important;justify-content:center!important}
.local-ltc-portal-card .local-ltc-portal-title{margin:0!important}

/* Alpha 0.5.78 - read-only service workflow tracing bar. */
.local-ltc-trace-wrap{
  margin:0 0 1.25rem;
  padding:1rem 1rem .75rem;
  border:1px solid #d9e2e8;
  border-radius:.75rem;
  background:#fff;
  overflow-x:auto;
}
.local-ltc-trace-bar{
  display:flex;
  align-items:flex-start;
  min-width:680px;
}
.local-ltc-trace-step{
  position:relative;
  flex:1 1 0;
  min-width:92px;
  text-align:center;
  color:#7b8791;
}
.local-ltc-trace-step:not(:last-child)::after{
  content:"";
  position:absolute;
  top:16px;
  left:calc(50% + 18px);
  width:calc(100% - 36px);
  height:3px;
  background:#d9dee3;
  z-index:0;
}
[dir="rtl"] .local-ltc-trace-step:not(:last-child)::after{
  left:auto;
  right:calc(50% + 18px);
}
.local-ltc-trace-dot{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  margin:0 auto .45rem;
  border-radius:50%;
  border:2px solid #c8d0d6;
  background:#eef1f3;
  color:#697680;
  font-weight:800;
  line-height:1;
}
.local-ltc-trace-label{
  display:block;
  padding:0 .2rem;
  font-size:.78rem;
  font-weight:700;
  line-height:1.3;
}
.local-ltc-trace-step.is-done{color:#277347}
.local-ltc-trace-step.is-done .local-ltc-trace-dot{background:#e4f4ea;border-color:#55a675;color:#277347}
.local-ltc-trace-step.is-done:not(:last-child)::after{background:#83bd98}
.local-ltc-trace-step.is-current{color:#075986}
.local-ltc-trace-step.is-current .local-ltc-trace-dot{background:#e3f1f9;border-color:#2f87b7;color:#075986;box-shadow:0 0 0 3px rgba(47,135,183,.10)}
.local-ltc-trace-step.is-problem{color:#9b3030}
.local-ltc-trace-step.is-problem .local-ltc-trace-dot{background:#fae8e8;border-color:#c85a5a;color:#9b3030}
.local-ltc-trace-current{
  margin-top:.75rem;
  padding-top:.65rem;
  border-top:1px solid #edf0f2;
  color:#075986;
  font-size:.86rem;
  font-weight:700;
}
.local-ltc-trace-current.is-complete-text{color:#277347}
.local-ltc-trace-current.is-problem-text{color:#9b3030}
@media (max-width:767.98px){
  .local-ltc-trace-wrap{padding:.85rem .75rem .65rem}
  .local-ltc-trace-bar{min-width:620px}
}

/* Alpha 0.5.104: wider main content area across the Moodle platform. */
@media (min-width: 992px) {
  #page .main-inner {
    width: 96% !important;
    max-width: 96% !important;
  }
}
@media (min-width: 1400px) {
  #page .main-inner {
    width: 97% !important;
    max-width: 97% !important;
  }
}

/* Alpha 0.5.109: My courses grid — final clean rule set.
   Moodle renders the course overview deck as a Bootstrap row with row-cols-lg-3.
   Override the direct card wrappers to 25% on wide screens, and scale the
   background artwork down inside the image area. Presentation only. */
#page-my-courses .block_myoverview [data-region="card-deck"],
#page-my-index .block_myoverview [data-region="card-deck"] {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin-left: -5px !important;
    margin-right: -5px !important;
}

@media (min-width: 1200px) {
    #page-my-courses .block_myoverview [data-region="card-deck"] > .col,
    #page-my-courses .block_myoverview [data-region="card-deck"] > [class*="col"],
    #page-my-index .block_myoverview [data-region="card-deck"] > .col,
    #page-my-index .block_myoverview [data-region="card-deck"] > [class*="col"] {
        flex: 0 0 25% !important;
        width: 25% !important;
        max-width: 25% !important;
        min-width: 0 !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    #page-my-courses .block_myoverview [data-region="card-deck"] > .col,
    #page-my-courses .block_myoverview [data-region="card-deck"] > [class*="col"],
    #page-my-index .block_myoverview [data-region="card-deck"] > .col,
    #page-my-index .block_myoverview [data-region="card-deck"] > [class*="col"] {
        flex: 0 0 33.333333% !important;
        width: 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

@media (max-width: 767.98px) {
    #page-my-courses .block_myoverview [data-region="card-deck"] > .col,
    #page-my-courses .block_myoverview [data-region="card-deck"] > [class*="col"],
    #page-my-index .block_myoverview [data-region="card-deck"] > .col,
    #page-my-index .block_myoverview [data-region="card-deck"] > [class*="col"] {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

#page-my-courses .block_myoverview .dashboard-card,
#page-my-index .block_myoverview .dashboard-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

#page-my-courses .block_myoverview .dashboard-card-img,
#page-my-index .block_myoverview .dashboard-card-img,
#page-my-courses .block_myoverview [data-region="course-image"],
#page-my-index .block_myoverview [data-region="course-image"] {
    height: 100px !important;
    min-height: 100px !important;
    background-size: 50% auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #fff !important;
}


/* Test catalogue card polish - Alpha 0.5.129. */
.local-ltc-test-catalogue .local-ltc-card .local-ltc-test-title {
    margin: -0.35rem -0.35rem 0.85rem -0.35rem !important;
    padding: 0.75rem 0.9rem;
    background: #eef6fb;
    border: 1px solid #cbdfea;
    border-left: 5px solid #0b5f8a;
    border-radius: 9px;
    color: #123f5a;
    font-weight: 700;
    line-height: 1.25;
}

.local-ltc-test-catalogue .local-ltc-card .local-ltc-test-open {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: 100%;
    padding: 0.42rem 0.75rem;
    background: #edf7ee;
    border: 1px solid #abd2b0;
    border-radius: 999px;
    color: #226b31;
    font-weight: 700;
    line-height: 1.2;
}

.local-ltc-test-catalogue .local-ltc-card {
    border: 1px solid #d8e2e8;
}


/* Alpha 0.5.154 - portal card/button consistency and language switch. */
.local-ltc-portal-language-switch{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.5rem!important;
  flex-wrap:wrap!important;
  margin:0 0 1rem!important;
}
.local-ltc-portal-language-label{font-weight:700!important;color:#36566b!important;margin-inline-end:.2rem!important}
.local-ltc-portal-language-switch .btn{
  min-width:118px!important;
  height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:.55rem!important;
  font-weight:700!important;
}
.local-ltc-portal-choice-grid{align-items:stretch!important}
.local-ltc-portal-choice-card{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-height:255px!important;
  padding:1rem!important;
}
.local-ltc-portal-choice-card h3{
  flex:0 0 auto!important;
  width:100%!important;
  background:linear-gradient(145deg,#eaf3f9 0%,#dfeef7 100%)!important;
  color:#075986!important;
}
.local-ltc-portal-choice-desc{
  flex:1 1 auto!important;
  min-height:78px!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  text-align:center!important;
}
.local-ltc-portal-choice-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:.55rem!important;
  margin-top:auto!important;
  width:100%!important;
}
.local-ltc-portal-choice-button{
  width:100%!important;
  min-height:46px!important;
  padding:.65rem 1rem!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:.55rem!important;
  font-weight:700!important;
  white-space:normal!important;
  line-height:1.3!important;
  background:#0b5f96!important;
  border-color:#0b5f96!important;
  color:#fff!important;
}
.local-ltc-portal-choice-button:hover,
.local-ltc-portal-choice-button:focus{
  background:#084b78!important;
  border-color:#084b78!important;
  color:#fff!important;
}
@media (max-width:767.98px){
  .local-ltc-portal-choice-card{min-height:0!important}
  .local-ltc-portal-choice-desc{min-height:0!important}
}

/* Alpha 0.5.155 - unify customer navigation, portal card borders and all action buttons. */
.local-ltc-client-nav{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important;
  gap:.55rem!important;
  width:100%!important;
  align-items:stretch!important;
}
.local-ltc-client-nav .btn{
  margin:0!important;
  min-width:0!important;
  width:100%!important;
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:.55rem .75rem!important;
  border-radius:.55rem!important;
  font-weight:600!important;
  white-space:normal!important;
  text-align:center!important;
  line-height:1.2!important;
}
.local-ltc-portal-choice-card{
  border:1px solid #c7dce8!important;
  border-radius:14px!important;
  box-shadow:0 2px 7px rgba(7,89,134,.07)!important;
  background:#fff!important;
  overflow:hidden!important;
}
.local-ltc-portal-choice-card h3{
  border-radius:0!important;
  margin:-1rem -1rem .85rem!important;
  width:calc(100% + 2rem)!important;
  padding:.72rem 1rem!important;
  border-bottom:1px solid #c7dce8!important;
  background:#e7f2f8!important;
  text-align:center!important;
}
.local-ltc-portal-choice-actions{
  grid-template-columns:1fr!important;
}
.local-ltc-portal-choice-button,
.local-ltc-portal-choice-actions .btn,
.local-ltc-portal-choice-actions .btn-primary,
.local-ltc-portal-choice-actions .btn-success,
.local-ltc-portal-choice-actions .btn-info,
.local-ltc-portal-choice-actions .btn-outline-secondary{
  width:100%!important;
  min-height:46px!important;
  background:#0b5f96!important;
  border:1px solid #0b5f96!important;
  color:#fff!important;
  border-radius:.55rem!important;
  font-weight:700!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:none!important;
}
.local-ltc-portal-choice-button:hover,
.local-ltc-portal-choice-actions .btn:hover{
  background:#084d79!important;
  border-color:#084d79!important;
  color:#fff!important;
}
@media (max-width:767.98px){
  .local-ltc-client-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Alpha 0.5.157 - restore compact client portal and keep language/support universally accessible. */
.local-ltc-client-nav{
  grid-template-columns:repeat(auto-fit,minmax(132px,1fr))!important;
  gap:.45rem!important;
  margin-bottom:.7rem!important;
}
.local-ltc-client-nav .btn{
  min-height:40px!important;
  padding:.45rem .6rem!important;
  font-size:.92rem!important;
  border-radius:.45rem!important;
}
.local-ltc-language-switch-row{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:.35rem!important;
  max-width:1180px!important;
  margin:.35rem auto .55rem!important;
}
.local-ltc-language-switch-btn{
  min-width:88px!important;
  height:36px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:.35rem .8rem!important;
  border:1px solid #b9cfdb!important;
  border-radius:.5rem!important;
  background:#fff!important;
  color:#0b5f96!important;
  font-size:.84rem!important;
  font-weight:700!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.local-ltc-language-switch-btn.active{
  background:#0b5f96!important;
  color:#fff!important;
  border-color:#0b5f96!important;
}
.local-ltc-language-switch-btn:hover,.local-ltc-language-switch-btn:focus{
  background:#eaf4f9!important;
  color:#084d78!important;
}
.local-ltc-language-switch-btn.active:hover,.local-ltc-language-switch-btn.active:focus{
  background:#084f7c!important;
  color:#fff!important;
}
.local-ltc-portal-choice-grid{
  max-width:1180px!important;
  margin:.65rem auto 0!important;
  gap:.85rem!important;
  align-items:stretch!important;
}
.local-ltc-portal-choice-card{
  min-height:190px!important;
  padding:.85rem!important;
  border:1px solid #c9dce8!important;
  border-radius:12px!important;
  box-shadow:0 2px 6px rgba(7,89,134,.06)!important;
}
.local-ltc-portal-choice-card h3{
  margin:-.85rem -.85rem .65rem!important;
  width:calc(100% + 1.7rem)!important;
  padding:.58rem .8rem!important;
  font-size:1rem!important;
}
.local-ltc-portal-choice-desc{
  min-height:54px!important;
  font-size:.94rem!important;
  line-height:1.45!important;
  margin-bottom:.65rem!important;
}
.local-ltc-portal-choice-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  gap:.45rem!important;
  margin-top:auto!important;
}
.local-ltc-portal-choice-button,
.local-ltc-portal-choice-actions .btn{
  width:auto!important;
  min-width:210px!important;
  max-width:310px!important;
  min-height:40px!important;
  padding:.5rem .9rem!important;
  font-size:.9rem!important;
}
@media (min-width:768px){
  .local-ltc-portal-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:767.98px){
  .local-ltc-client-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .local-ltc-portal-choice-grid{grid-template-columns:1fr!important;}
  .local-ltc-portal-choice-card{min-height:0!important;}
  .local-ltc-portal-choice-button,.local-ltc-portal-choice-actions .btn{width:100%!important;max-width:none!important;}
}

/* Alpha 0.5.160 - language/support controls share the persistent search row. */
.local-ltc-client-tools-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:.65rem!important;
  max-width:1180px!important;
  margin:.35rem auto .6rem!important;
  width:100%!important;
}
.local-ltc-client-tools-actions{
  display:flex!important;
  align-items:center!important;
  gap:.35rem!important;
  flex:0 0 auto!important;
}
.local-ltc-client-tools-row .local-ltc-page-search-wrap{
  margin:0!important;
  width:auto!important;
  flex:1 1 auto!important;
  min-width:220px!important;
}
.local-ltc-client-tools-row .local-ltc-page-search-box{
  margin-inline-start:auto!important;
}
.local-ltc-toolbar-support-btn{
  height:36px!important;
  min-width:165px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:.35rem .85rem!important;
  border-radius:.5rem!important;
  font-size:.84rem!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
@media (max-width:767.98px){
  .local-ltc-client-tools-row{
    flex-wrap:wrap!important;
  }
  .local-ltc-client-tools-actions{
    width:100%!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
  }
  .local-ltc-client-tools-row .local-ltc-page-search-wrap{
    width:100%!important;
    flex-basis:100%!important;
  }
  .local-ltc-client-tools-row .local-ltc-page-search-box{
    width:100%!important;
    margin:0!important;
  }
}


/* Alpha 0.5.175 - compact client tabs and integrate My Service Requests into the persistent row. */
.local-ltc-client-nav{
  grid-template-columns:repeat(auto-fit,minmax(118px,1fr))!important;
  gap:.35rem!important;
  margin-bottom:.6rem!important;
}
.local-ltc-client-nav .btn{
  min-height:34px!important;
  padding:.32rem .48rem!important;
  font-size:.82rem!important;
  border-radius:.4rem!important;
  line-height:1.15!important;
}
@media (max-width:767.98px){
  .local-ltc-client-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .local-ltc-client-nav .btn{min-height:36px!important;font-size:.84rem!important;}
}

/* Alpha 0.5.176 - My Services: four centered, equal-width cards (presentation only). */
.local-ltc-five-services{
  width:100%;
  max-width:1150px;
  margin:0 auto 1.4rem;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.85rem;
  align-items:stretch;
}
.local-ltc-five-services > .local-ltc-legacy-service-card{
  min-width:0;
  height:100%;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
}
.local-ltc-five-services .local-ltc-legacy-service-card h3{
  width:100%;
  box-sizing:border-box;
}
.local-ltc-five-services .local-ltc-service-card-info{
  width:100%;
  box-sizing:border-box;
}
.local-ltc-five-services .local-ltc-legacy-service-card .btn{
  margin-top:auto;
}
@media (max-width:991.98px){
  .local-ltc-five-services{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:575.98px){
  .local-ltc-five-services{grid-template-columns:1fr;}
}


/* Alpha 0.5.177 - Tests & Exams hero cleanup. */
.local-ltc-test-catalogue .local-ltc-test-hero {
    background: linear-gradient(135deg, #0b5f8a, #1b9db2);
    color: #fff;
    border-radius: 16px;
    padding: 1.5rem 1.25rem 1rem;
    text-align: center;
}

.local-ltc-test-catalogue .local-ltc-test-hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.local-ltc-test-catalogue .local-ltc-test-hero-title h2 {
    margin: 0 !important;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.local-ltc-test-catalogue .local-ltc-test-hero-divider {
    color: #eef6fb;
    font-size: 1.45rem;
    font-weight: 700;
    direction: rtl;
    line-height: 1.3;
}

.local-ltc-test-catalogue .local-ltc-test-hero-note {
    background: #edf1f4;
    border: 1px solid #d3dbe2;
    border-radius: 12px;
    color: #284255;
    padding: .9rem 1rem;
    font-size: 1.12rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 767.98px) {
    .local-ltc-test-catalogue .local-ltc-test-hero {
        padding: 1rem .85rem .85rem;
    }
    .local-ltc-test-catalogue .local-ltc-test-hero-title {
        gap: .45rem;
        margin-bottom: .75rem;
    }
    .local-ltc-test-catalogue .local-ltc-test-hero-title h2 {
        font-size: 1.55rem;
    }
    .local-ltc-test-catalogue .local-ltc-test-hero-divider {
        font-size: 1.15rem;
    }
    .local-ltc-test-catalogue .local-ltc-test-hero-note {
        font-size: 1rem;
        line-height: 1.6;
    }
}


/* Alpha 0.5.178 - Test catalogue: note below hero, balanced two-card layout. */
.local-ltc-test-catalogue .local-ltc-test-hero {
    padding: 1.25rem 1rem;
    margin-bottom: .65rem !important;
}
.local-ltc-test-catalogue .local-ltc-test-hero-title {
    margin-bottom: 0;
}
.local-ltc-test-catalogue > .local-ltc-test-hero-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem 1.25rem;
    background: #edf1f4;
    border: 1px solid #d3dbe2;
    border-radius: 10px;
    color: #284255;
    padding: .85rem 1.2rem;
    font-size: 1.06rem;
    line-height: 1.6;
    text-align: center;
}
.local-ltc-test-catalogue .local-ltc-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 1.3rem;
}
.local-ltc-test-catalogue .local-ltc-card .local-ltc-test-open {
    margin-top: auto !important;
}
@media (max-width: 767.98px) {
    .local-ltc-test-catalogue > .local-ltc-test-hero-note {
        font-size: 1rem;
        padding: .75rem .85rem;
    }
}

/* Alpha 0.5.330 — compact, identifiable shortcuts on the client portal only.
   Do not change the shared navigation or any destination/permission. */
.local-ltc-portal-shortcuts .local-ltc-client-nav {
  gap: .4rem !important;
  margin-bottom: .55rem !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
}
.local-ltc-portal-shortcuts .local-ltc-client-nav .btn {
  min-height: 33px !important;
  padding: .35rem .35rem !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  border: 1px solid #c6d3db !important;
  border-radius: 7px !important;
  color: #24465b !important;
  background: #edf4f8 !important;
  white-space: normal !important;
  box-shadow: none !important;
}
.local-ltc-portal-shortcuts .local-ltc-client-nav .btn:nth-child(2) {background:#edf6f2 !important; border-color:#bed8cc !important; color:#245b49 !important;}
.local-ltc-portal-shortcuts .local-ltc-client-nav .btn:nth-child(3) {background:#f2eff9 !important; border-color:#d0c7e5 !important; color:#514477 !important;}
.local-ltc-portal-shortcuts .local-ltc-client-nav .btn:nth-child(4) {background:#fff3e5 !important; border-color:#ebd0ac !important; color:#765227 !important;}
.local-ltc-portal-shortcuts .local-ltc-client-nav .btn:nth-child(5) {background:#eaf5f6 !important; border-color:#bad9dc !important; color:#235b64 !important;}
.local-ltc-portal-shortcuts .local-ltc-client-nav .btn:nth-child(6) {background:#f5f2e9 !important; border-color:#d9d0bc !important; color:#615332 !important;}
.local-ltc-portal-shortcuts .local-ltc-client-nav .btn:nth-child(7) {background:#f7eef3 !important; border-color:#dfc6d5 !important; color:#714761 !important;}
.local-ltc-portal-shortcuts .local-ltc-client-nav .btn:hover,
.local-ltc-portal-shortcuts .local-ltc-client-nav .btn:focus-visible {
  filter: brightness(.96);
  box-shadow: 0 0 0 2px rgba(23, 100, 144, .19) !important;
}
@media(max-width: 1100px) {
  .local-ltc-portal-shortcuts .local-ltc-client-nav {grid-template-columns: repeat(4, minmax(0, 1fr)) !important;}
}
@media(max-width: 650px) {
  .local-ltc-portal-shortcuts .local-ltc-client-nav {grid-template-columns: repeat(2, minmax(0, 1fr)) !important;}
  .local-ltc-portal-shortcuts .local-ltc-client-nav .btn {font-size: .8rem !important; min-height: 36px !important;}
}

/* Alpha 0.5.332: visibly selected portal-local Arabic/English display choice. */
.local-ltc-portal-shortcuts .local-ltc-language-switch-btn.active {
  background: #075386 !important;
  border-color: #075386 !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.local-ltc-portal-shortcuts .local-ltc-language-switch-btn:not(.active) {
  background: #fff !important;
  border-color: #b7cbd7 !important;
  color: #174d69 !important;
  font-weight: 700 !important;
}


/* Alpha 0.5.333 — two-row portal shortcuts; keep existing pastel colors and destinations. */
.local-ltc-portal-profile-link {
  margin: .35rem auto .55rem !important;
  text-align:center;
}
.local-ltc-portal-profile-link .btn {font-weight:700; padding:.4rem .9rem;}
.local-ltc-portal-shortcuts .local-ltc-client-tools-row {
  margin: .15rem auto .5rem !important;
}
.local-ltc-portal-shortcuts .local-ltc-client-nav {
  display:grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap:.5rem !important;
  margin-bottom:.65rem !important;
  max-width:1180px !important;
  margin-inline:auto !important;
}
.local-ltc-portal-shortcuts .local-ltc-client-nav > .btn {
  grid-column: span 3;
  min-height:38px !important;
  padding:.45rem .6rem !important;
  font-size:.85rem !important;
  font-weight:700 !important;
}
.local-ltc-portal-shortcuts .local-ltc-client-nav > .btn:nth-child(n+5) {
  grid-column:span 4;
}
@media (max-width:767.98px) {
  .local-ltc-portal-shortcuts .local-ltc-client-nav {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .local-ltc-portal-shortcuts .local-ltc-client-nav > .btn,
  .local-ltc-portal-shortcuts .local-ltc-client-nav > .btn:nth-child(n+5) {
    grid-column:auto !important;
  }
  .local-ltc-portal-shortcuts .local-ltc-client-nav > .btn:last-child:nth-child(odd) {
    grid-column:1 / -1 !important;
  }
}

/* Alpha 0.5.334 — center admin dashboard ONLY: coordinated section palette.
   Works for both Arabic restricted administrators and the director's English interface. */
.local-ltc-admin-palette {
  --ltc-section-main:#145a83; --ltc-section-soft:#e7f2f8; --ltc-section-line:#bbd7e6;
}
.local-ltc-admin-palette[data-ltc-section="registrations"]{--ltc-section-main:#135A96;--ltc-section-soft:#E8F2FA;--ltc-section-line:#B8D2E7}
.local-ltc-admin-palette[data-ltc-section="training"]{--ltc-section-main:#1E7241;--ltc-section-soft:#E5F4E9;--ltc-section-line:#ACD6BA}
.local-ltc-admin-palette[data-ltc-section="tests"]{--ltc-section-main:#683CAD;--ltc-section-soft:#F0E9FA;--ltc-section-line:#D2BEEB}
.local-ltc-admin-palette[data-ltc-section="services"]{--ltc-section-main:#A05B00;--ltc-section-soft:#FFF1D9;--ltc-section-line:#E9C58C}
.local-ltc-admin-palette[data-ltc-section="records"]{--ltc-section-main:#A52F41;--ltc-section-soft:#FBE9EC;--ltc-section-line:#EBBEC6}
.local-ltc-admin-palette[data-ltc-section="control"]{--ltc-section-main:#405266;--ltc-section-soft:#E9EEF3;--ltc-section-line:#BFCCD8}
.local-ltc-admin-palette[data-ltc-section="operations"]{--ltc-section-main:#9D397A;--ltc-section-soft:#F9EAF3;--ltc-section-line:#E9BCD8}
.local-ltc-admin-palette .local-ltc-admin-tabs a[data-ltc-tab]{font-weight:700!important;border:1px solid transparent!important;background:transparent!important;box-shadow:none!important;}
.local-ltc-admin-palette .local-ltc-admin-tabs a[data-ltc-tab="registrations"]{color:#135A96!important;background:#E8F2FA!important;border-color:#B8D2E7!important}
.local-ltc-admin-palette .local-ltc-admin-tabs a[data-ltc-tab="training"]{color:#1E7241!important;background:#E5F4E9!important;border-color:#ACD6BA!important}
.local-ltc-admin-palette .local-ltc-admin-tabs a[data-ltc-tab="tests"]{color:#683CAD!important;background:#F0E9FA!important;border-color:#D2BEEB!important}
.local-ltc-admin-palette .local-ltc-admin-tabs a[data-ltc-tab="services"]{color:#A05B00!important;background:#FFF1D9!important;border-color:#E9C58C!important}
.local-ltc-admin-palette .local-ltc-admin-tabs a[data-ltc-tab="records"]{color:#A52F41!important;background:#FBE9EC!important;border-color:#EBBEC6!important}
.local-ltc-admin-palette .local-ltc-admin-tabs a[data-ltc-tab="control"]{color:#405266!important;background:#E9EEF3!important;border-color:#BFCCD8!important}
.local-ltc-admin-palette .local-ltc-admin-tabs a[data-ltc-tab="operations"]{color:#9D397A!important;background:#F9EAF3!important;border-color:#E9BCD8!important}
.local-ltc-admin-palette .local-ltc-admin-tabs a.active[data-ltc-tab]{background:var(--ltc-section-main)!important;color:#fff!important;border-color:var(--ltc-section-main)!important}
.local-ltc-admin-palette .local-ltc-admin-section-head{background:var(--ltc-section-soft)!important;border-color:var(--ltc-section-line)!important;}
.local-ltc-admin-palette .local-ltc-admin-section-head h2{color:var(--ltc-section-main)!important;font-weight:800!important;}
.local-ltc-admin-palette .local-ltc-admin-card{border-color:var(--ltc-section-line)!important;}
.local-ltc-admin-palette .local-ltc-admin-card h3{background:var(--ltc-section-soft)!important;color:var(--ltc-section-main)!important;border-bottom-color:var(--ltc-section-line)!important;font-weight:800!important;}
.local-ltc-admin-palette .local-ltc-admin-card .btn{background:var(--ltc-section-main)!important;border-color:var(--ltc-section-main)!important;color:#fff!important;font-weight:800!important;}
.local-ltc-admin-palette .local-ltc-admin-card .btn:hover,.local-ltc-admin-palette .local-ltc-admin-card .btn:focus{filter:brightness(.91);outline-offset:2px;}
.local-ltc-admin-palette[dir="rtl"] .local-ltc-admin-card{text-align:right;}
.local-ltc-admin-palette[dir="rtl"] .local-ltc-admin-card .btn{align-self:flex-start;}
@media print{.local-ltc-admin-palette .local-ltc-admin-card{box-shadow:none!important;border:1px solid #888!important}.local-ltc-admin-palette .local-ltc-admin-card h3{background:#eee!important;color:#111!important}}


/* Alpha 0.5.335: visual-only customer area continuity.
   Applied to existing client navigation wherever it is already rendered.
   The main portal's approved colors and layout are not modified. */
.local-ltc-client-interior-nav {
  max-width:1180px;
  margin:.3rem auto .8rem;
}
.local-ltc-client-interior-nav .local-ltc-client-tools-row {
  max-width:100% !important;
  margin:.35rem auto .65rem !important;
}
.local-ltc-client-interior-nav .local-ltc-client-nav {
  display:grid !important;
  grid-template-columns:repeat(12,minmax(0,1fr)) !important;
  gap:.45rem !important;
  width:100%;
  margin:.15rem auto .65rem !important;
}
.local-ltc-client-interior-nav .local-ltc-client-nav > .btn {
  grid-column:span 3;
  min-height:35px !important;
  padding:.4rem .55rem !important;
  border-radius:7px !important;
  font-weight:700 !important;
  font-size:.82rem !important;
  line-height:1.3 !important;
  white-space:normal !important;
  background:#edf4f8 !important;
  border:1px solid #c6d3db !important;
  color:#24465b !important;
  box-shadow:none !important;
  text-align:center;
}
.local-ltc-client-interior-nav .local-ltc-client-nav > .btn:nth-child(n+5){grid-column:span 4;}
.local-ltc-client-interior-nav .local-ltc-client-nav > .btn:nth-child(2){background:#edf6f2!important;border-color:#bed8cc!important;color:#245b49!important;}
.local-ltc-client-interior-nav .local-ltc-client-nav > .btn:nth-child(3){background:#f2eff9!important;border-color:#d0c7e5!important;color:#514477!important;}
.local-ltc-client-interior-nav .local-ltc-client-nav > .btn:nth-child(4){background:#fff3e5!important;border-color:#ebd0ac!important;color:#765227!important;}
.local-ltc-client-interior-nav .local-ltc-client-nav > .btn:nth-child(5){background:#eaf5f6!important;border-color:#bad9dc!important;color:#235b64!important;}
.local-ltc-client-interior-nav .local-ltc-client-nav > .btn:nth-child(6){background:#f5f2e9!important;border-color:#d9d0bc!important;color:#615332!important;}
.local-ltc-client-interior-nav .local-ltc-client-nav > .btn:nth-child(7){background:#f7eef3!important;border-color:#dfc6d5!important;color:#714761!important;}
.local-ltc-client-interior-nav .local-ltc-client-nav > .btn.active {
  box-shadow:inset 0 -3px 0 currentColor!important;
  font-weight:800!important;
}
.local-ltc-client-interior-nav .local-ltc-client-nav > .btn:hover,
.local-ltc-client-interior-nav .local-ltc-client-nav > .btn:focus-visible{filter:brightness(.96);outline-offset:2px;}
.local-ltc-client-interior-content {max-width:1180px;margin-inline:auto;}
.local-ltc-client-interior-content .local-ltc-brand-hero{margin-top:.4rem!important;}
.local-ltc-client-interior-content .local-ltc-path-card .btn{font-weight:700;border-radius:.55rem;padding:.5rem 1.05rem;}
.local-ltc-client-interior-content .local-ltc-path-card{min-width:0;}
@media(max-width:767.98px){
 .local-ltc-client-interior-nav .local-ltc-client-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 .local-ltc-client-interior-nav .local-ltc-client-nav > .btn,
 .local-ltc-client-interior-nav .local-ltc-client-nav > .btn:nth-child(n+5){grid-column:auto!important;}
 .local-ltc-client-interior-nav .local-ltc-client-tools-row{flex-wrap:wrap!important;}
}

/* Alpha 0.5.352 — independent Evaluation & Quality administration tab. */
.local-ltc-admin-palette[data-ltc-section="quality"]{--ltc-section-main:#087E91;--ltc-section-soft:#E3F5F7;--ltc-section-line:#A2D7DF}
.local-ltc-admin-palette .local-ltc-admin-tabs a[data-ltc-tab="quality"]{color:#087E91!important;background:#E3F5F7!important;border-color:#A2D7DF!important}

/* Alpha 0.5.353 — administration main screen ONLY: four balanced tabs per row.
   No effect on inner pages, cards, forms or operational workflows. */
.local-ltc-admin-hub .local-ltc-admin-tabs {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
  width:100%;
  overflow:visible!important;
}
.local-ltc-admin-hub .local-ltc-admin-tabs > a[data-ltc-tab] {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:54px;
  margin:0!important;
  padding:10px 12px!important;
  white-space:normal!important;
  overflow-wrap:break-word;
  line-height:1.35!important;
  border-radius:8px!important;
  text-decoration:none!important;
}
@media(max-width:767.98px){
  .local-ltc-admin-hub .local-ltc-admin-tabs {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:420px){
  .local-ltc-admin-hub .local-ltc-admin-tabs {grid-template-columns:1fr!important;}
}

/* Alpha 0.5.354 — accessible main administration tabs; dashboard only. */
.local-ltc-admin-hub .local-ltc-admin-tabs > a[data-ltc-tab] {
  font-size:17px!important;
  font-weight:700!important;
  min-height:70px!important;
  line-height:1.4!important;
  padding:12px 14px!important;
}

/* Alpha 0.5.355 — quality tab only: same complete tile treatment as other main admin tabs. */
.local-ltc-admin-hub.local-ltc-admin-palette .local-ltc-admin-tabs > a[data-ltc-tab="quality"]:not(.active) {
  color:#087E91!important;
  background-color:#E3F5F7!important;
  border:1px solid #A2D7DF!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
.local-ltc-admin-hub.local-ltc-admin-palette .local-ltc-admin-tabs > a[data-ltc-tab="quality"]:not(.active):hover,
.local-ltc-admin-hub.local-ltc-admin-palette .local-ltc-admin-tabs > a[data-ltc-tab="quality"]:not(.active):focus-visible {
  background-color:#CDECF0!important;
  border-color:#087E91!important;
}
.local-ltc-admin-hub.local-ltc-admin-palette .local-ltc-admin-tabs > a[data-ltc-tab="quality"].active {
  color:#FFFFFF!important;
  background-color:#087E91!important;
  border:1px solid #087E91!important;
}


/* Alpha 0.5.356 — consistent visual administration navigation across inner pages.
   Deliberately limited to the LTC shared navigation; no workflow or form changes. */
.local-ltc-admin-interior-tabs {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%;
  align-items:stretch!important;
}
.local-ltc-admin-interior-tabs > a[data-ltc-tab] {
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  min-height:70px!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:12px 14px!important;
  white-space:normal!important;
  overflow-wrap:anywhere;
  font-size:17px!important;
  font-weight:700!important;
  line-height:1.4!important;
  border:1px solid var(--ltc-tab-border)!important;
  border-radius:8px!important;
  background:var(--ltc-tab-bg)!important;
  color:var(--ltc-tab-color)!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
.local-ltc-admin-interior-tabs > a[data-ltc-tab="registrations"] {--ltc-tab-bg:#E8F2FA;--ltc-tab-border:#B8D2E7;--ltc-tab-color:#135A96}
.local-ltc-admin-interior-tabs > a[data-ltc-tab="training"] {--ltc-tab-bg:#E5F4E9;--ltc-tab-border:#ACD6BA;--ltc-tab-color:#1E7241}
.local-ltc-admin-interior-tabs > a[data-ltc-tab="tests"] {--ltc-tab-bg:#F0E9FA;--ltc-tab-border:#D2BEEB;--ltc-tab-color:#683CAD}
.local-ltc-admin-interior-tabs > a[data-ltc-tab="services"] {--ltc-tab-bg:#FFF1D9;--ltc-tab-border:#E9C58C;--ltc-tab-color:#A05B00}
.local-ltc-admin-interior-tabs > a[data-ltc-tab="records"] {--ltc-tab-bg:#FBE9EC;--ltc-tab-border:#EBBEC6;--ltc-tab-color:#A52F41}
.local-ltc-admin-interior-tabs > a[data-ltc-tab="control"] {--ltc-tab-bg:#E9EEF3;--ltc-tab-border:#BFCCD8;--ltc-tab-color:#405266}
.local-ltc-admin-interior-tabs > a[data-ltc-tab="operations"] {--ltc-tab-bg:#F9EAF3;--ltc-tab-border:#E9BCD8;--ltc-tab-color:#9D397A}
.local-ltc-admin-interior-tabs > a[data-ltc-tab="quality"] {--ltc-tab-bg:#E3F5F7;--ltc-tab-border:#A2D7DF;--ltc-tab-color:#087E91}
.local-ltc-admin-interior-tabs > a[data-ltc-tab].active {
  background:var(--ltc-tab-color)!important;
  border-color:var(--ltc-tab-color)!important;
  color:#fff!important;
}
.local-ltc-admin-interior-tabs > a[data-ltc-tab]:not(.active):hover,
.local-ltc-admin-interior-tabs > a[data-ltc-tab]:not(.active):focus-visible {
  filter:brightness(.95);
  border-color:var(--ltc-tab-color)!important;
}
@media(max-width:767.98px){.local-ltc-admin-interior-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:420px){.local-ltc-admin-interior-tabs{grid-template-columns:1fr!important}}

/* Match inner heading accents to the currently selected administration section. */
#page:has(.local-ltc-admin-interior-tabs[data-ltc-section="registrations"]) {--ltc-inner-accent:#135A96;--ltc-inner-soft:#E8F2FA}
#page:has(.local-ltc-admin-interior-tabs[data-ltc-section="training"]) {--ltc-inner-accent:#1E7241;--ltc-inner-soft:#E5F4E9}
#page:has(.local-ltc-admin-interior-tabs[data-ltc-section="tests"]) {--ltc-inner-accent:#683CAD;--ltc-inner-soft:#F0E9FA}
#page:has(.local-ltc-admin-interior-tabs[data-ltc-section="services"]) {--ltc-inner-accent:#A05B00;--ltc-inner-soft:#FFF1D9}
#page:has(.local-ltc-admin-interior-tabs[data-ltc-section="records"]) {--ltc-inner-accent:#A52F41;--ltc-inner-soft:#FBE9EC}
#page:has(.local-ltc-admin-interior-tabs[data-ltc-section="control"]) {--ltc-inner-accent:#405266;--ltc-inner-soft:#E9EEF3}
#page:has(.local-ltc-admin-interior-tabs[data-ltc-section="operations"]) {--ltc-inner-accent:#9D397A;--ltc-inner-soft:#F9EAF3}
#page:has(.local-ltc-admin-interior-tabs[data-ltc-section="quality"]) {--ltc-inner-accent:#087E91;--ltc-inner-soft:#E3F5F7}
#page:has(.local-ltc-admin-interior-tabs) .page-header-headings h1,
#page:has(.local-ltc-admin-interior-tabs) #region-main > h2,
#page:has(.local-ltc-admin-interior-tabs) #region-main .local-ltc-registration-section > h2 {
  color:var(--ltc-inner-accent)!important;
  font-weight:800!important;
}


/* Alpha 0.5.357 — unify administrative tab direction/alignment and soften tab height.
   Applies the shared RTL/LTR behavior to all LTC pages that use the common admin tab component. */
.local-ltc-admin-hub[dir="rtl"] .local-ltc-admin-tabs,
.local-ltc-admin-interior-tabs[dir="rtl"] {
  direction: rtl !important;
}
.local-ltc-admin-hub:not([dir="rtl"]) .local-ltc-admin-tabs,
.local-ltc-admin-interior-tabs:not([dir="rtl"]) {
  direction: ltr !important;
}
.local-ltc-admin-hub[dir="rtl"] .local-ltc-admin-section-head,
.local-ltc-admin-hub[dir="rtl"] .local-ltc-admin-card,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main {
  direction: rtl;
  text-align: right;
}
.local-ltc-admin-hub[dir="rtl"] .local-ltc-admin-section-head p,
.local-ltc-admin-hub[dir="rtl"] .local-ltc-admin-card p,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main p,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main h2,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main h3,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main h4,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main .mform,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main .generaltable,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main .table,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main .dataformatselector,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main form {
  text-align: right;
}
.local-ltc-admin-hub .local-ltc-admin-tabs,
.local-ltc-admin-interior-tabs {
  gap: 10px !important;
}
.local-ltc-admin-hub .local-ltc-admin-tabs > a[data-ltc-tab],
.local-ltc-admin-interior-tabs > a[data-ltc-tab] {
  min-height: 52px !important;
  padding: 9px 12px !important;
  line-height: 1.3 !important;
}
.local-ltc-admin-hub .local-ltc-admin-section-head {
  padding: .8rem 1rem !important;
  margin-bottom: .85rem !important;
}
.local-ltc-admin-hub[dir="rtl"] .local-ltc-admin-card .btn {
  align-self: flex-start;
}

/* Alpha 0.5.360 — unified right alignment for Arabic administration, no global table-direction reversal. */
.local-ltc-admin-hub[dir="rtl"] .local-ltc-admin-section-head,
.local-ltc-admin-hub[dir="rtl"] .local-ltc-admin-card,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) .page-header-headings,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main > p,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main > h2,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main > h3 {
 text-align:right!important;
}
/* Preserve usable form-input layout and data/number direction regardless of interface language. */
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main input:not([type="checkbox"]),
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main select,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main textarea { text-align:start; }
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main table { direction:ltr; }
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main th,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main td { text-align:start; }
/* Inner shortcuts and nested tabs follow section color, not generic blue. */
#page:has(.local-ltc-admin-interior-tabs) .local-ltc-registration-actions .btn.active,
#page:has(.local-ltc-admin-interior-tabs) .local-ltc-records-subnav .btn.active,
#page:has(.local-ltc-admin-interior-tabs) .local-ltc-page-nav .btn.active { background:var(--ltc-inner-accent)!important;border-color:var(--ltc-inner-accent)!important;color:#fff!important; }
#page:has(.local-ltc-admin-interior-tabs) .local-ltc-registration-actions .btn:not(.active),
#page:has(.local-ltc-admin-interior-tabs) .local-ltc-records-subnav .btn:not(.active) {color:var(--ltc-inner-accent)!important;border-color:var(--ltc-inner-accent)!important}
/* Cohort participants: filters in one line at desktop widths. */
.ltc-participant-filters{display:grid!important;grid-template-columns:auto minmax(145px,1fr) minmax(170px,1.3fr) minmax(145px,1fr) minmax(145px,1fr) auto auto;gap:8px;align-items:end;padding:10px;border:1px solid #d9e2ea;border-radius:10px;background:#fbfdff}
.ltc-participant-filters .ltc-participant-filter-field{min-width:0}
.ltc-participant-filters .ltc-participant-filter-field select{width:100%;min-width:0}
.ltc-participant-filters > .btn{white-space:nowrap}
@media(max-width:1150px){.ltc-participant-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.ltc-participant-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Alpha 0.5.361: Arabic administrative text alignment, excluding values/codes and printable statements. */
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) .page-header-headings,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) .page-header-headings h1,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main > h2,
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main > h3 {
 text-align:right!important; direction:rtl!important;
}
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main .local-ltc-admin-control-row {direction:rtl!important;text-align:right!important}
#page:has(.local-ltc-admin-interior-tabs[dir="rtl"]) #region-main .local-ltc-admin-control-row .btn {white-space:normal}

/* Alpha 0.5.363: layout-only refinement of Course & Cohort Mapping. */
.ltc-mapping-compact .ltc-mapping-topline{display:flex;direction:rtl;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;flex-wrap:wrap}
.ltc-mapping-compact .ltc-mapping-topline .local-ltc-page-search-wrap{width:auto!important;min-width:220px;max-width:340px;margin:0!important;order:2}
.ltc-mapping-compact .ltc-mapping-summary{display:flex;align-items:stretch;gap:8px;order:1;direction:rtl}
.ltc-mapping-compact .ltc-mapping-stat{min-width:88px;padding:7px 12px;border:1px solid #c8dcd3;border-radius:8px;background:#f7fbf9;text-align:center;display:flex;flex-direction:column;line-height:1.3;color:#155c3d;font-weight:700}
.ltc-mapping-compact .ltc-mapping-stat strong{font-size:1.25rem}
.ltc-mapping-compact .ltc-mapping-stat span{font-size:.84rem}
.ltc-mapping-compact .local-ltc-admin-interior-tabs{margin-bottom:12px!important}
.ltc-mapping-compact .ltc-mapping-rule{margin-bottom:12px!important}
.ltc-mapping-compact .ltc-mapping-actions{display:flex;direction:rtl;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px;margin-bottom:4px}
.ltc-mapping-compact .ltc-mapping-actions .btn{white-space:nowrap;margin:0}
.ltc-mapping-compact .ltc-mapping-filters,.ltc-mapping-compact .ltc-mapping-export{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0}
.ltc-mapping-compact .ltc-mapping-actions select{max-width:170px;min-width:95px;height:38px}
.ltc-mapping-compact .ltc-mapping-export-note{text-align:right;margin:4px 0 10px}
.ltc-mapping-compact .ltc-mapping-table-label{font-size:1.13rem;font-weight:800;color:#1e7241;text-align:right;margin:10px 0}
@media(min-width:1300px){.ltc-mapping-compact .ltc-mapping-actions{flex-wrap:nowrap;gap:6px}.ltc-mapping-compact .ltc-mapping-actions .btn{padding:.35rem .5rem;font-size:.83rem}.ltc-mapping-compact .ltc-mapping-actions select{font-size:.83rem;padding:4px 22px 4px 8px}}
@media(max-width:760px){.ltc-mapping-compact .ltc-mapping-topline{justify-content:center}.ltc-mapping-compact .ltc-mapping-topline .local-ltc-page-search-wrap{order:2;width:100%!important;max-width:none}.ltc-mapping-compact .ltc-mapping-summary{order:1;justify-content:center;width:100%}.ltc-mapping-compact .ltc-mapping-actions{justify-content:center}}


/* Alpha 0.5.367 — Tests & Exams admin layout cleanup. */
.local-ltc-tests-subnav-frame {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem !important;
  padding: .85rem;
  border: 1px solid #d8dee5;
  border-radius: 12px;
  background: #ffffff;
  margin-bottom: 1rem !important;
}
.local-ltc-tests-subnav-frame .btn {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  padding: .6rem .75rem;
}
@media (max-width: 1199.98px) {
  .local-ltc-tests-subnav-frame { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .local-ltc-tests-subnav-frame { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479.98px) {
  .local-ltc-tests-subnav-frame { grid-template-columns: 1fr; }
}
.local-ltc-tests-page-note {
  margin-top: .35rem;
}

/* Alpha 0.5.368: exactly one row for tests secondary links at desktop widths. */
.local-ltc-tests-subnav-frame {
  display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
  align-items:stretch !important; justify-content:flex-start !important;
  gap:8px !important; overflow-x:auto !important; overflow-y:hidden !important;
  max-width:100%; padding:10px !important; box-sizing:border-box;
}
.local-ltc-tests-subnav-frame > a.btn {
  flex:1 1 0 !important; width:auto !important; min-width:0 !important;
  min-height:44px !important; padding:8px 5px !important;
  font-size:clamp(12px,0.88vw,15px) !important; line-height:1.2 !important;
  text-align:center !important; white-space:normal !important;
}
@media(max-width:850px){
 .local-ltc-tests-subnav-frame > a.btn{flex:0 0 auto !important; min-width:130px !important; white-space:nowrap !important;}
}


/* Alpha 0.5.372 — Certificates & Staff: genuinely shared single-row subnavigation. */
.local-ltc-records-subnav {
  display:flex !important;
  flex-flow:row nowrap !important;
  align-items:stretch;
  gap:8px;
  width:100%;
  padding:10px;
  border:1px solid #e4c4ca;
  border-radius:10px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
}
.local-ltc-records-subnav > a.btn {
  display:flex !important;
  align-items:center;
  justify-content:center;
  flex:1 0 0 !important;
  min-width:165px;
  min-height:48px;
  margin:0 !important;
  padding:8px 10px;
  white-space:normal;
  text-align:center;
  line-height:1.2;
  font-weight:700;
  border-color:#a62c45;
  color:#a62c45;
}
.local-ltc-records-subnav > a.btn.active {
  background:#a62c45 !important;
  border-color:#a62c45 !important;
  color:#fff !important;
}
@media (max-width:1100px) {
  .local-ltc-records-subnav > a.btn { flex:0 0 185px !important; }
}


/* Alpha 0.5.373 — compact finance/report refinements. */
.local-ltc-quick-subtabs{display:flex;flex-wrap:nowrap;gap:.65rem;overflow-x:auto;padding:.1rem 0 .35rem}
.local-ltc-quick-subtabs .btn{white-space:nowrap;flex:0 0 auto;border-radius:.7rem;font-weight:700}
.local-ltc-report-card{border:1px solid #d7e4ed;border-radius:.85rem;box-shadow:0 2px 7px rgba(18,64,91,.05)}
.local-ltc-report-card .card-body{padding:0}
.local-ltc-report-card .local-ltc-card-title{padding:0;background:#e9eef3;border-bottom:1px solid #d7e4ed;border-radius:.85rem .85rem 0 0}
.local-ltc-report-card .local-ltc-card-title h4{padding:.9rem 1rem;color:#405266;font-weight:800;font-size:1.08rem}
.local-ltc-report-card .card-text,.local-ltc-report-card .btn{margin-left:1rem;margin-right:1rem}
.local-ltc-report-card .card-text{margin-top:1rem;line-height:1.6}
.local-ltc-report-card .btn{margin-bottom:1rem}
.local-ltc-mini-stat-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:start}
.local-ltc-mini-stat-column{border:1px solid #d7e4ed;border-radius:.9rem;background:#fff;overflow:hidden;box-shadow:0 2px 7px rgba(18,64,91,.05)}
.local-ltc-mini-stat-column-title{background:#eef3f8;border-bottom:1px solid #d7e4ed;padding:.9rem 1rem}
.local-ltc-mini-stat-column-title h3{margin:0!important;color:#405266!important;font-size:1.06rem!important;font-weight:800!important}
.local-ltc-mini-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding:1rem}
.local-ltc-mini-stat{border:1px solid #dce6ee;border-radius:.8rem;background:#fafcfe;padding:.8rem;min-height:102px;display:flex;flex-direction:column;justify-content:space-between}
.local-ltc-mini-stat-label{font-size:.9rem;line-height:1.45;color:#50606d;font-weight:600}
.local-ltc-mini-stat-value{font-size:1.05rem;font-weight:800;color:#0b5f8f;margin-top:.55rem}
@media (max-width:1200px){.local-ltc-mini-stat-board{grid-template-columns:1fr}.local-ltc-mini-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){.local-ltc-mini-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:575.98px){.local-ltc-mini-stat-grid{grid-template-columns:1fr}}
