.nta-portal{font-family:Tahoma,Arial,sans-serif;color:#21313b;max-width:1180px;margin:26px auto;padding:16px}.nta-portal header{background:linear-gradient(120deg,#123e59,#176b63);color:#fff;padding:30px;border-radius:18px;margin-bottom:22px}.nta-portal header h1{color:#fff;margin:10px 0;font-size:clamp(24px,3vw,34px)}.nta-portal header p{margin:0;color:#eaf6f4}.nta-kicker{background:#ffffff24;border:1px solid #ffffff55;padding:5px 10px;border-radius:20px;font-size:13px}.nta-welcome{background:#edf7f5;border:1px solid #dcece8;border-radius:14px;padding:18px;margin:18px 0}.nta-welcome h2{margin-top:0}.nta-section-title{margin:26px 0 14px}.nta-courses{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:18px}.nta-course,.nta-panel{background:#fff;border:1px solid #dce5e5;border-radius:15px;padding:21px;margin:15px 0;box-shadow:0 5px 22px #173b3b0b}.nta-course h3{color:#145d57;margin:14px 0}.nta-course-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.nta-tag{display:inline-block;background:#e5f2ef;color:#145d57;border-radius:20px;padding:6px 12px;font-size:13px;font-weight:bold}.nta-details{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:17px 0}.nta-details div{background:#f7faf9;border-radius:9px;padding:10px;min-width:0}.nta-details span,.nta-details strong{display:block}.nta-details span{font-size:12px;color:#637477;margin-bottom:5px}.nta-details strong{font-size:14px;overflow-wrap:anywhere}.nta-btn{display:inline-block;background:#176b63;color:#fff!important;border:0;border-radius:9px;padding:12px 18px;text-decoration:none;cursor:pointer;font-weight:bold}.nta-btn:hover{background:#104b46}.nta-meeting-link{display:inline-block;margin:6px 0;color:#176b63;font-weight:bold}.nta-notice{background:#e8f7ee;border-right:4px solid #23945d;padding:13px;border-radius:7px}.nta-error{background:#fff0ed;border-color:#bf3d2b}.nta-muted{color:#667579;font-size:13px}.nta-scroll{overflow-x:auto}.nta-portal table{width:100%;border-collapse:collapse}.nta-portal th,.nta-portal td{padding:12px;border-bottom:1px solid #e2e8e8;text-align:right;white-space:nowrap}.nta-portal th{background:#f2f7f6}.nta-status{display:inline-block;background:#fff5d9;border-radius:20px;padding:5px 10px;font-size:13px}@media(max-width:600px){.nta-portal{padding:8px}.nta-portal header{padding:20px}.nta-details{grid-template-columns:1fr 1fr}.nta-course,.nta-panel{padding:15px}}
/* Course lessons, quizzes and evaluation in employee portal */
.nta-portal-lessons{margin-top:18px;padding-top:14px;border-top:1px solid #dce7e5}.nta-portal-lesson{border:1px solid #dce7e5;border-radius:12px;padding:14px;margin:12px 0;background:#fff}.nta-portal-lesson h5{margin:0 0 8px;font-size:17px}.nta-lesson-video{margin:12px 0}.nta-lesson-video iframe{width:100%;max-width:760px;aspect-ratio:16/9;height:auto;border:0;border-radius:10px}.nta-lesson-quiz,.nta-course-evaluation{margin-top:14px;padding:14px;border-radius:10px;background:#f7faf9}.nta-lesson-quiz fieldset,.nta-course-evaluation fieldset{border:1px solid #d8e2df;border-radius:8px;padding:12px;margin:10px 0}.nta-lesson-quiz legend,.nta-course-evaluation legend{font-weight:700;padding:0 6px}.nta-quiz-option{display:block;margin:8px 0}.nta-lesson-quiz .widefat,.nta-course-evaluation .widefat{width:100%;box-sizing:border-box}

/* 2.3.8 learner course overview and lesson workspace */
.nta-course-learning-view{max-width:100%;}.nta-course-learning-view .nta-description,.nta-course-learning-view .nta-details{max-width:100%;}.nta-learning-layout{display:grid!important;grid-template-columns:minmax(220px,28%) minmax(0,1fr);gap:18px;align-items:start;margin-top:22px}.nta-lesson-sidebar{position:sticky;top:18px;border:1px solid #dce5e5;border-radius:12px;background:#f7faf9;padding:10px}.nta-lesson-nav-item{display:block;width:100%;text-align:right;padding:12px;border:0;border-radius:8px;background:transparent;color:#24383b;cursor:pointer;margin:4px 0}.nta-lesson-nav-item.active{background:#176b63;color:#fff;font-weight:bold}.nta-lesson-main{min-width:0}.nta-lesson-main .nta-portal-lesson{margin:0}.nta-back-courses{margin-bottom:16px}.nta-course-learning-view .nta-asynchronous-info>strong,.nta-course-learning-view .nta-asynchronous-info>p{display:none!important}.nta-course-learning-view .nta-asynchronous-info>.nta-learning-layout{display:grid!important}@media(max-width:700px){.nta-learning-layout{grid-template-columns:1fr}.nta-lesson-sidebar{position:static}}

/* Keep course lessons and evaluation hidden on course cards until the learner enters. */
.nta-portal .nta-portal-lessons[hidden],.nta-portal .nta-course-evaluation[hidden]{display:none!important}

/* Employee portal: compact category navigation and course pagination */
.nta-portal .nta-course-category-nav{display:flex!important;flex-direction:row!important;align-items:stretch!important;justify-content:stretch!important;gap:14px;margin:22px 0 26px;width:100%;direction:rtl;box-sizing:border-box}
.nta-portal .nta-course-category-button{display:flex!important;flex:1 1 0!important;flex-direction:row;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;min-width:0;width:auto!important;min-height:92px;padding:14px 12px;border:1px solid #dbe6e6;border-radius:14px;background:#fff;color:#174b58;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 2px 8px rgba(20,60,70,.04);transition:background .15s,border-color .15s,transform .15s}
.nta-portal .nta-course-category-button:hover{transform:translateY(-1px);border-color:#77aaa5}
.nta-portal .nta-course-category-button.is-active{background:#e8f5f1;border:2px solid #1d756d;color:#14594f}
.nta-portal .nta-category-icon{display:block;font-size:27px;line-height:1.2;width:100%;text-align:center}
.nta-portal .nta-course-category-button small{display:block;width:100%;font-size:12px;font-weight:500;color:#64777a;text-align:center}
.nta-portal .nta-course-group[hidden]{display:none!important}
.nta-portal .nta-course-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin:20px 0 12px}
.nta-portal .nta-page-button{min-width:36px;min-height:34px;padding:5px 10px;border:1px solid #d5e2e2;border-radius:7px;background:#fff;color:#174b58;font:inherit;cursor:pointer}
.nta-portal .nta-page-button.is-current{background:#176b66;border-color:#176b66;color:#fff;font-weight:700}
.nta-portal .nta-page-button:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:640px){.nta-portal .nta-course-category-nav{gap:8px;flex-wrap:nowrap!important}.nta-portal .nta-course-category-button{min-height:84px;padding:10px 5px;font-size:13px}.nta-portal .nta-category-icon{font-size:23px}.nta-portal .nta-course-pagination{gap:5px}}

/* 2.3.23: force category tabs into a single horizontal row, independent of theme nav styles */
.nta-portal nav.nta-course-category-nav{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:12px!important;width:100%!important;}
.nta-portal nav.nta-course-category-nav>.nta-course-category-button{display:flex!important;flex:1 1 0!important;width:33.333%!important;max-width:none!important;}
.nta-portal .nta-course-group:not([hidden]){display:block!important;}
.nta-portal .nta-course-group[hidden]{display:none!important;}
@media(max-width:640px){.nta-portal nav.nta-course-category-nav{gap:6px!important}.nta-portal nav.nta-course-category-nav>.nta-course-category-button{padding:8px 3px!important;font-size:12px!important;}}


/* 2.3.24: force employee category controls into a single horizontal row */
html body .nta-portal nav.nta-course-category-nav,
body .nta-portal .nta-course-category-nav{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  justify-content:space-between!important;
  width:100%!important;
  max-width:100%!important;
  float:none!important;
  clear:both!important;
  position:relative!important;
  inset:auto!important;
  gap:12px!important;
  direction:rtl!important;
  box-sizing:border-box!important;
}
html body .nta-portal nav.nta-course-category-nav > button.nta-course-category-button,
body .nta-portal .nta-course-category-nav > .nta-course-category-button{
  display:flex!important;
  flex:1 1 0!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:33.333%!important;
  max-width:33.333%!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
  box-sizing:border-box!important;
}
.nta-portal .nta-course-category-nav .nta-category-icon{display:block!important}
@media(max-width:480px){
 html body .nta-portal nav.nta-course-category-nav{gap:6px!important}
 html body .nta-portal nav.nta-course-category-nav > button.nta-course-category-button{padding:9px 4px!important;font-size:12px!important}
}


/* 2.3.25: employee portal visual refresh based on the approved dashboard mockup */
.nta-portal{max-width:1500px!important;padding:22px!important;color:#123f53!important;font-family:Tahoma,Arial,sans-serif!important}
.nta-portal>header{position:relative;overflow:hidden;background:linear-gradient(105deg,#0b4b61 0%,#00665f 100%)!important;border-radius:16px!important;padding:34px 38px!important;margin:0 0 18px!important;box-shadow:0 7px 22px rgba(10,65,77,.10)}
.nta-portal>header:before{content:"مستشفى جنوب القنفذة العام";display:block;font-size:12px;letter-spacing:.2px;color:#cce9e5;margin-bottom:10px}
.nta-portal>header .nta-kicker{display:inline-block;background:rgba(255,255,255,.13)!important;border:1px solid rgba(255,255,255,.3)!important}
.nta-portal>header h1{font-size:clamp(24px,2.6vw,36px)!important;line-height:1.45;margin:8px 0 10px!important}
.nta-portal>header p{font-size:15px;line-height:1.9}
.nta-portal .nta-welcome-dashboard{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(110deg,#f0f8f7,#eaf5f5)!important;border:1px solid #dcecea!important;border-radius:16px!important;padding:8px 16px!important;margin:10px 0 14px!important;height:auto!important;min-height:60px!important;box-sizing:border-box!important;overflow:visible!important}
.nta-portal .nta-welcome-copy{display:flex;align-items:center;gap:10px;min-width:240px}
.nta-portal .nta-welcome-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#d7eeea;font-size:20px}
.nta-portal .nta-welcome h2{font-size:18px;margin:0 0 2px!important;color:#123f53}
.nta-portal .nta-welcome p{margin:0;color:#52707b;line-height:1.45;font-size:13px}
.nta-portal .nta-welcome-stats{display:flex;align-items:stretch;gap:0;flex:1;justify-content:flex-start}
.nta-portal .nta-welcome-stats>div{display:flex;flex-direction:column;gap:2px;padding:0 16px;border-inline-start:1px solid #c4dedb;min-width:105px}
.nta-portal .nta-welcome-stats>div:first-child{border-inline-start:0}
.nta-portal .nta-welcome-stats span{font-size:12px;color:#52707b}
.nta-portal .nta-welcome-stats strong{font-size:19px;color:#08766c}
.nta-portal nav.nta-course-category-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;flex-direction:unset!important;flex-wrap:unset!important;align-items:stretch!important;justify-content:stretch!important;gap:14px!important;margin:20px 0 26px!important;padding:0!important;float:none!important}
.nta-portal nav.nta-course-category-nav>.nta-course-category-button{display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-content:center!important;justify-content:initial!important;justify-items:start!important;column-gap:13px!important;row-gap:4px!important;min-height:88px!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:15px 20px!important;border:1px solid #dce8e9!important;border-radius:13px!important;background:#fff!important;color:#16495b!important;text-align:right!important;box-shadow:0 3px 12px rgba(18,63,83,.05)!important;white-space:normal!important}
.nta-portal nav.nta-course-category-nav>.nta-course-category-button .nta-category-icon{grid-column:1;grid-row:1/3;width:auto!important;font-size:31px!important;align-self:center!important}
.nta-portal nav.nta-course-category-nav>.nta-course-category-button>span:not(.nta-category-icon){grid-column:2;grid-row:1;font-size:17px;align-self:end}
.nta-portal nav.nta-course-category-nav>.nta-course-category-button small{grid-column:2;grid-row:2;width:auto!important;text-align:right!important;align-self:start;color:#66818b!important}
.nta-portal nav.nta-course-category-nav>.nta-course-category-button.is-active{background:linear-gradient(120deg,#08766c,#075b59)!important;border-color:#08766c!important;color:#fff!important;box-shadow:0 7px 18px rgba(8,118,108,.17)!important}
.nta-portal nav.nta-course-category-nav>.nta-course-category-button.is-active small{color:#d5f0e9!important}
.nta-portal .nta-section-title{font-size:23px;color:#123f53;margin:22px 0 14px!important}
.nta-portal .nta-courses{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:stretch}
.nta-portal .nta-course{display:flex;flex-direction:column;min-width:0;margin:0!important;padding:20px!important;border:1px solid #e0e9ea!important;border-radius:14px!important;box-shadow:0 5px 18px rgba(20,63,77,.07)!important;transition:transform .15s,box-shadow .15s}
.nta-portal .nta-course:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(20,63,77,.10)!important}
.nta-portal .nta-course h3{font-size:18px;line-height:1.65;color:#075b59!important}
.nta-portal .nta-course .nta-description{font-size:14px;line-height:1.8;color:#536c75}
.nta-portal .nta-details{gap:8px!important}
.nta-portal .nta-details div{background:#f4f8f7!important;border-radius:8px!important}
.nta-portal .nta-btn{border-radius:9px!important;padding:11px 16px!important}
.nta-portal .nta-course-pagination{gap:8px!important;margin:24px 0 12px!important}
.nta-portal .nta-page-button{min-width:40px!important;min-height:40px!important;border-radius:10px!important;background:#f5f8f8!important;border:1px solid transparent!important;font-weight:600}
.nta-portal .nta-page-button.is-current{background:#08766c!important;color:#fff!important}
@media(max-width:900px){
 .nta-portal .nta-welcome-dashboard{height:auto!important;min-height:0!important;align-items:flex-start;flex-direction:column;overflow:visible!important}
 .nta-portal .nta-welcome-stats{width:100%;justify-content:space-between}
 .nta-portal .nta-welcome-stats>div{padding:0 12px;min-width:0}
 .nta-portal .nta-courses{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
 .nta-portal{padding:10px!important}
 .nta-portal>header{padding:22px!important}
 .nta-portal nav.nta-course-category-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
 .nta-portal nav.nta-course-category-nav>.nta-course-category-button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:10px 4px!important;min-height:90px!important;text-align:center!important}
 .nta-portal nav.nta-course-category-nav>.nta-course-category-button .nta-category-icon{font-size:24px!important;width:100%!important}
 .nta-portal nav.nta-course-category-nav>.nta-course-category-button>span:not(.nta-category-icon){font-size:12px!important;text-align:center!important}
 .nta-portal nav.nta-course-category-nav>.nta-course-category-button small{font-size:10px!important;text-align:center!important}
 .nta-portal .nta-courses{grid-template-columns:1fr!important}
 .nta-portal .nta-welcome-stats>div{padding:0 7px}
 .nta-portal .nta-welcome-stats strong{font-size:20px}
}


/* 2.3.26: force the category controls into a true horizontal row and keep panels compact */
.nta-portal nav.nta-course-category-nav{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  width:100%!important;
  max-width:100%!important;
  gap:12px!important;
  margin:20px 0 26px!important;
  padding:0!important;
  box-sizing:border-box!important;
  clear:both!important;
}
.nta-portal nav.nta-course-category-nav > button.nta-course-category-button{
  display:flex!important;
  flex:1 1 0!important;
  width:0!important;
  min-width:0!important;
  max-width:none!important;
  float:none!important;
  position:relative!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  margin:0!important;
  padding:16px 12px!important;
  box-sizing:border-box!important;
  text-align:right!important;
  white-space:normal!important;
  border:1px solid #d8e6e8!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#12465b!important;
  min-height:82px!important;
  box-shadow:0 2px 8px rgba(17,70,82,.05)!important;
}
.nta-portal nav.nta-course-category-nav > button.nta-course-category-button.is-active{
  background:linear-gradient(120deg,#08766c,#07515f)!important;
  border-color:#08766c!important;
  color:#fff!important;
}
.nta-portal nav.nta-course-category-nav > button.nta-course-category-button .nta-category-icon{
  display:inline-flex!important;
  flex:0 0 auto!important;
  width:auto!important;
  font-size:28px!important;
  line-height:1!important;
  align-items:center!important;
  justify-content:center!important;
}
.nta-portal nav.nta-course-category-nav > button.nta-course-category-button > span:not(.nta-category-icon){
  display:block!important;
  flex:0 1 auto!important;
  width:auto!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.5!important;
}
.nta-portal nav.nta-course-category-nav > button.nta-course-category-button small{
  display:block!important;
  flex:0 0 auto!important;
  margin-inline-start:auto!important;
  font-size:12px!important;
  opacity:.8!important;
  white-space:nowrap!important;
}
.nta-portal .nta-course-group[hidden]{display:none!important}
.nta-portal .nta-course-group:not([hidden]){display:block!important;clear:both!important;margin-top:0!important}
.nta-portal .nta-course-group > .nta-courses{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:18px!important;
}
.nta-portal .nta-course-group > .nta-courses > .nta-course{min-width:0!important;width:auto!important;max-width:none!important;margin:0!important}
.nta-portal .nta-course-group > .nta-courses > .nta-empty-group{grid-column:1/-1!important}
@media(max-width:900px){
 .nta-portal .nta-course-group > .nta-courses{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
 .nta-portal nav.nta-course-category-nav{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:6px!important;margin:14px 0 20px!important}
 .nta-portal nav.nta-course-category-nav > button.nta-course-category-button{
   flex:1 1 0!important;width:0!important;min-width:0!important;min-height:88px!important;
   flex-direction:column!important;gap:5px!important;padding:9px 3px!important;text-align:center!important;
 }
 .nta-portal nav.nta-course-category-nav > button.nta-course-category-button .nta-category-icon{font-size:22px!important}
 .nta-portal nav.nta-course-category-nav > button.nta-course-category-button > span:not(.nta-category-icon){font-size:11px!important}
 .nta-portal nav.nta-course-category-nav > button.nta-course-category-button small{font-size:9px!important;margin:0!important;white-space:normal!important}
 .nta-portal .nta-course-group > .nta-courses{grid-template-columns:1fr!important}
}


/* 2.3.27: employee course library uses the same sidebar/content layout as lesson navigation */
.nta-portal .nta-course-library-layout{
 display:grid!important;grid-template-columns:minmax(190px,24%) minmax(0,1fr)!important;gap:18px!important;align-items:start!important;direction:rtl!important;margin:20px 0 28px!important;width:100%!important;
}
.nta-portal .nta-course-library-sidebar{
 display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:flex-start!important;gap:7px!important;position:sticky!important;top:18px!important;width:auto!important;min-width:0!important;margin:0!important;padding:10px!important;border:1px solid #dce5e5!important;border-radius:12px!important;background:#f7faf9!important;box-sizing:border-box!important;
}
.nta-portal .nta-course-library-sidebar>.nta-course-category-button{
 display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:10px!important;row-gap:2px!important;align-items:center!important;justify-items:start!important;justify-content:initial!important;flex:none!important;width:100%!important;min-width:0!important;min-height:68px!important;margin:0!important;padding:11px 12px!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:#24414a!important;text-align:right!important;box-shadow:none!important;white-space:normal!important;
}
.nta-portal .nta-course-library-sidebar>.nta-course-category-button .nta-category-icon{grid-column:1!important;grid-row:1/3!important;display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;font-size:25px!important}
.nta-portal .nta-course-library-sidebar>.nta-course-category-button>span:not(.nta-category-icon){grid-column:2!important;grid-row:1!important;font-size:14px!important;font-weight:700!important;align-self:end!important}
.nta-portal .nta-course-library-sidebar>.nta-course-category-button small{grid-column:2!important;grid-row:2!important;width:auto!important;margin:0!important;text-align:right!important;font-size:11px!important;color:#667e84!important;white-space:normal!important}
.nta-portal .nta-course-library-sidebar>.nta-course-category-button.is-active{background:#176b63!important;border-color:#176b63!important;color:#fff!important;box-shadow:0 4px 12px rgba(23,107,99,.15)!important}
.nta-portal .nta-course-library-sidebar>.nta-course-category-button.is-active small{color:#e0f4f0!important}
.nta-portal .nta-course-library-main{min-width:0!important;width:100%!important}
.nta-portal .nta-course-library-main .nta-section-title{margin:0 0 14px!important}
.nta-portal .nta-course-library-main .nta-course-group[hidden]{display:none!important}
.nta-portal .nta-course-library-main .nta-course-group:not([hidden]){display:block!important;clear:none!important;margin:0!important}
.nta-portal .nta-course-library-main .nta-course-group>.nta-courses{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
.nta-portal .nta-course-library-main .nta-course-group>.nta-courses>.nta-course{min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;padding:16px!important}
.nta-portal .nta-course-library-main .nta-course-group>.nta-courses>.nta-empty-group{grid-column:1/-1!important}
.nta-portal .nta-course-library-main .nta-course-pagination{justify-content:center!important;flex-wrap:wrap!important}
@media(max-width:760px){
 .nta-portal .nta-course-library-layout{grid-template-columns:1fr!important;gap:12px!important}
 .nta-portal .nta-course-library-sidebar{position:static!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;padding:6px!important}
 .nta-portal .nta-course-library-sidebar>.nta-course-category-button{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:4px!important;min-height:76px!important;padding:8px 4px!important;text-align:center!important}
 .nta-portal .nta-course-library-sidebar>.nta-course-category-button .nta-category-icon{font-size:22px!important}
 .nta-portal .nta-course-library-sidebar>.nta-course-category-button>span:not(.nta-category-icon){font-size:11px!important;text-align:center!important}
 .nta-portal .nta-course-library-sidebar>.nta-course-category-button small{font-size:9px!important;text-align:center!important}
 .nta-portal .nta-course-library-main .nta-course-group>.nta-courses{grid-template-columns:1fr!important}
}

/* v2.3.31: conventional horizontal tabs for course groups */
.nta-portal .nta-course-library-layout{
  display:block!important;grid-template-columns:none!important;gap:0!important;width:100%!important;
}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar{
  position:static!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
  align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;
  width:100%!important;margin:22px 0 20px!important;padding:0!important;border:0!important;
  background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>.nta-course-category-button{
  display:flex!important;flex:0 1 auto!important;flex-direction:row!important;align-items:center!important;
  justify-content:center!important;gap:8px!important;min-width:150px!important;min-height:48px!important;
  width:auto!important;max-width:none!important;margin:0!important;padding:11px 18px!important;
  border:1px solid #d5e1e5!important;border-radius:8px!important;background:#fff!important;
  color:#244b5a!important;text-align:center!important;box-shadow:none!important;white-space:normal!important;
  cursor:pointer!important;transform:none!important;
}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>.nta-course-category-button.is-active{
  background:#176b63!important;border-color:#176b63!important;color:#fff!important;box-shadow:0 2px 5px rgba(23,107,99,.12)!important;
}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>.nta-course-category-button .nta-category-icon{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;font-size:19px!important;
}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>.nta-course-category-button>span:not(.nta-category-icon){
  font-size:14px!important;font-weight:700!important;text-align:center!important;
}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>.nta-course-category-button small{
  display:inline!important;width:auto!important;margin:0!important;font-size:11px!important;color:#687d83!important;text-align:center!important;
}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>.nta-course-category-button.is-active small{color:#e1f4ef!important}
.nta-portal .nta-course-library-main{display:block!important;width:100%!important;min-width:0!important}
.nta-portal .nta-course-library-main .nta-course-group[hidden]{display:none!important}
.nta-portal .nta-course-library-main .nta-course-group:not([hidden]){display:block!important;margin:0!important}
.nta-portal .nta-course-library-main .nta-course-group>.nta-courses{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
.nta-portal .nta-course-library-main .nta-course-group>.nta-courses>.nta-course[hidden]{display:none!important}
.nta-portal .nta-course-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin:22px 0}
.nta-portal .nta-page-button{min-width:38px;min-height:36px;padding:7px 11px;border:1px solid #d4e0e4;border-radius:6px;background:#fff;color:#245363;font:inherit;cursor:pointer}
.nta-portal .nta-page-button.is-current{background:#176b63;border-color:#176b63;color:#fff;font-weight:700}
.nta-portal .nta-page-button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:700px){
  .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>.nta-course-category-button{min-width:0!important;flex-direction:column!important;gap:4px!important;padding:9px 4px!important}
  .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>.nta-course-category-button>span:not(.nta-category-icon){font-size:12px!important}
  .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>.nta-course-category-button small{font-size:10px!important}
  .nta-portal .nta-course-library-main .nta-course-group>.nta-courses{grid-template-columns:1fr!important}
}

/* v2.3.32 final layout override: horizontal tabs; cache-busted with plugin version. */
 .nta-portal .nta-course-library-layout{display:block!important;width:100%!important;max-width:100%!important;direction:rtl!important}
 .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar{position:static!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:10px!important;width:100%!important;margin:18px 0 22px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>button.nta-course-category-button{display:flex!important;flex:1 1 0!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:0!important;min-width:0!important;min-height:58px!important;margin:0!important;padding:10px 8px!important;border:1px solid #d5e1e5!important;border-radius:10px!important;background:#fff!important;color:#244b5a!important;text-align:center!important;box-shadow:0 2px 8px rgba(18,63,83,.05)!important}
 .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>button.nta-course-category-button.is-active{background:#176b63!important;border-color:#176b63!important;color:#fff!important}
 .nta-portal .nta-course-library-main{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important}
 .nta-portal .nta-course-library-main .nta-course-group>.nta-courses{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;width:100%!important}
 @media(max-width:700px){.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>button.nta-course-category-button{flex-direction:column!important;min-height:76px!important}.nta-portal .nta-course-library-main .nta-course-group>.nta-courses{grid-template-columns:1fr!important}}


/* v2.3.34: enforce three horizontal course category tabs */
.nta-portal .nta-course-library-layout{display:block!important;width:100%!important;max-width:100%!important;direction:rtl!important}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar{position:static!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;flex-direction:initial!important;flex-wrap:initial!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:10px!important;margin:18px 0 22px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;box-sizing:border-box!important}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>button.nta-course-category-button{display:flex!important;flex:initial!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:78px!important;margin:0!important;padding:10px 5px!important;text-align:center!important;box-sizing:border-box!important}
.nta-portal .nta-course-library-main{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important}
.nta-portal .nta-course-library-main .nta-course-group>.nta-courses{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;width:100%!important}
@media(max-width:700px){.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar>button.nta-course-category-button{min-height:76px!important;padding:8px 3px!important}.nta-portal .nta-course-library-main .nta-course-group>.nta-courses{grid-template-columns:1fr!important}}

/* 2.3.38: restore the lesson-by-lesson learning workspace from the earlier course-navigation flow. */
.nta-portal.nta-learning-active .nta-course-pagination { display:none!important; }
.nta-portal .nta-course-learning-view { grid-column:1 / -1!important; width:100%!important; max-width:100%!important; margin:0!important; }
.nta-portal .nta-course-learning-view .nta-portal-lessons.nta-learning-layout,
.nta-portal .nta-course-learning-view .nta-portal-lessons[data-workspace-ready="1"] { display:grid!important; grid-template-columns:minmax(220px,28%) minmax(0,1fr)!important; gap:18px!important; align-items:start!important; width:100%!important; }
.nta-portal .nta-course-learning-view .nta-lesson-sidebar { position:sticky; top:18px; border:1px solid #dce5e5; border-radius:12px; background:#f7faf9; padding:10px; }
.nta-portal .nta-course-learning-view .nta-lesson-nav-item { display:block; width:100%; text-align:right; padding:12px; border:0; border-radius:8px; background:transparent; color:#24383b; cursor:pointer; margin:4px 0; }
.nta-portal .nta-course-learning-view .nta-lesson-nav-item.active { background:#176b63; color:#fff; font-weight:700; }
.nta-portal .nta-course-learning-view .nta-lesson-main { min-width:0; }
.nta-portal .nta-course-learning-view .nta-lesson-main .nta-portal-lesson { margin:0; }
.nta-portal .nta-course-learning-view .nta-lesson-step-controls { display:flex; justify-content:space-between; gap:10px; margin-top:18px; padding-top:14px; border-top:1px solid #dce5e5; }
.nta-portal .nta-course-learning-view .nta-lesson-step-controls button:disabled { opacity:.45; cursor:not-allowed; }
@media(max-width:700px){.nta-portal .nta-course-learning-view .nta-portal-lessons.nta-learning-layout,.nta-portal .nta-course-learning-view .nta-portal-lessons[data-workspace-ready="1"]{grid-template-columns:minmax(0,1fr)!important}.nta-portal .nta-course-learning-view .nta-lesson-sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.nta-portal .nta-course-learning-view .nta-lesson-nav-item{text-align:center;padding:9px 6px}}


/* 2.3.76: use the active WordPress theme header as the only site identity header. */
.nta-portal>header{display:none!important}
.nta-home{padding-top:18px!important}
.nta-home-hero{padding:12px 20px!important;border-radius:16px!important;min-height:0!important}
.nta-home-hero h1{margin:0 0 3px!important;line-height:1.25!important}
.nta-home-hero .nta-home-subtitle{margin:0 auto 7px!important;font-size:14px!important;line-height:1.5!important}
.nta-home-hero .nta-home-actions{gap:8px!important}
.nta-home-hero .nta-home-btn{padding:8px 16px!important;min-height:0!important;line-height:1.35!important}
@media(max-width:540px){.nta-home-hero{padding:10px 12px!important}}


/* 2.3.154: unify compact welcome/hero areas while allowing content to expand */
.nta-home .nta-home-hero,
.nta-portal .nta-welcome-dashboard,
.nta-course-view .nta-course-hero{
  min-height:60px!important;
  height:auto!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.nta-home .nta-home-hero{padding:8px 14px!important}
@media(max-width:900px){
 .nta-portal .nta-welcome-dashboard{height:auto!important;min-height:60px!important;align-items:center;flex-direction:row;flex-wrap:wrap;padding:8px 12px!important}
}
@media(max-width:600px){
 .nta-home .nta-home-hero{padding:8px 10px!important}
 .nta-portal .nta-welcome-dashboard{align-items:flex-start;flex-direction:column;gap:8px}
}

/* 2.3.86: remove excess vertical whitespace around the public training landing hero */
.nta-home {
  margin: 0 auto !important;
  padding: 0 18px 0 !important;
}
.nta-home .nta-home-hero {
  margin: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  min-height: 0 !important;
  height: auto !important;
}
.nta-home .nta-home-section {
  margin-top: 12px !important;
}
@media (max-width: 540px) {
  .nta-home {
    padding: 0 12px 0 !important;
  }
  .nta-home .nta-home-section {
    margin-top: 10px !important;
  }
}


/* 2.3.87: normalize the top offset of all public plugin pages to the course page */
.nta-home,
.nta-portal {
  margin-block-start: 26px !important;
}
.nta-home {
  padding-block-start: 0 !important;
}

/* Trainee portal: preserve full course details and natural content spacing. */
.nta-portal .nta-course-full-details .nta-description{display:block;max-height:none;overflow:visible}
.nta-portal .nta-course-full-details .nta-description h1,
.nta-portal .nta-course-full-details .nta-description h2,
.nta-portal .nta-course-full-details .nta-description h3,
.nta-portal .nta-course-full-details .nta-description h4{display:block}


/* 2.3.155: unified compact header/welcome panels across ALL plugin pages */
.nta-home .nta-home-hero,
.nta-portal .nta-welcome-dashboard,
.nta-admin-portal .nta-admin-hero,
.nta-welcome:not(.nta-welcome-dashboard),
.nta-course-view .nta-course-hero,
.nta-training-page .nta-page-hero,
.nta-plugin-page .nta-page-hero {
    min-height: 60px !important;
    height: auto !important;
    padding: 8px 14px !important;
    margin-top: 10px !important;
    margin-bottom: 12px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}
.nta-home .nta-home-hero h1,
.nta-admin-portal .nta-admin-hero h1,
.nta-portal .nta-welcome-dashboard h2,
.nta-course-view .nta-course-hero h1,
.nta-plugin-page .nta-page-hero h1 {
    font-size: clamp(17px, 2vw, 24px) !important;
    line-height: 1.25 !important;
    margin: 0 0 3px !important;
}
.nta-home .nta-home-hero .nta-home-subtitle,
.nta-admin-portal .nta-admin-hero p,
.nta-portal .nta-welcome-dashboard p,
.nta-course-view .nta-course-hero p,
.nta-plugin-page .nta-page-hero p {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin: 0 0 5px !important;
}
.nta-home .nta-home-hero .nta-home-btn {
    padding: 5px 12px !important;
    min-height: 0 !important;
    line-height: 1.3 !important;
}
.nta-portal .nta-welcome-dashboard {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}
.nta-portal .nta-welcome-avatar {
    width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
    font-size: 16px !important;
}
.nta-portal .nta-welcome-stats strong { font-size: 16px !important; }
.nta-portal .nta-welcome-stats span { font-size: 11px !important; }
@media (max-width: 700px) {
    .nta-home .nta-home-hero,
    .nta-portal .nta-welcome-dashboard,
    .nta-admin-portal .nta-admin-hero,
    .nta-welcome:not(.nta-welcome-dashboard),
    .nta-course-view .nta-course-hero,
    .nta-training-page .nta-page-hero,
    .nta-plugin-page .nta-page-hero {
        padding: 8px 10px !important;
        min-height: 60px !important;
        height: auto !important;
    }
    .nta-portal .nta-welcome-dashboard {
        flex-direction: column !important;
        align-items: stretch !important;
    }
}


/* 2.3.158: reduce ONLY the outer white space above and below every plugin front-end page to 10%. */
.nta-home,
.nta-portal {
    margin-block-start: 2.6px !important;
    margin-block-end: 2.6px !important;
    padding-block-start: 1.6px !important;
    padding-block-end: 1.6px !important;
}
/* Keep inner content spacing intact; this rule affects only the plugin page wrappers. */
@media (max-width: 600px) {
    .nta-home,
    .nta-portal {
        margin-block-start: 2px !important;
        margin-block-end: 2px !important;
        padding-block-start: 1px !important;
        padding-block-end: 1px !important;
    }
}


/* 2.3.160: normalize OUTER vertical spacing for Nizam front-end roots only.
   Inner cards, forms, tables, lessons and course content retain their own spacing. */
.nta-home,
.nta-portal,
.nta-admin-portal,
.nta-course-view,
.nta-training-page,
.nta-plugin-page {
    margin-block-start: 2.6px !important;
    margin-block-end: 2.6px !important;
}
.nta-home,
.nta-portal,
.nta-admin-portal,
.nta-course-view,
.nta-training-page,
.nta-plugin-page {
    padding-block-start: 1.6px !important;
    padding-block-end: 1.6px !important;
}
@media (max-width: 600px) {
    .nta-home,
    .nta-portal,
    .nta-admin-portal,
    .nta-course-view,
    .nta-training-page,
    .nta-plugin-page {
        margin-block-start: 2px !important;
        margin-block-end: 2px !important;
        padding-block-start: 1px !important;
        padding-block-end: 1px !important;
    }
}


/* 2.3.161 — structural fallback: collapse only the theme shell surrounding NTA output.
   This is deliberately scoped to SQH page wrappers containing NTA front-end markup. */
html body .sqh-page:has(.sqh-content .nta-home),
html body .sqh-page:has(.sqh-content .nta-portal),
html body .sqh-page:has(.sqh-content [class^="nta-"]),
html body .sqh-page:has(.sqh-content [class*=" nta-"]) {
    padding-block-start: 0 !important;
    padding-block-end: 6px !important;
}
html body .sqh-page:has(.sqh-content .nta-home) > .sqh-content,
html body .sqh-page:has(.sqh-content .nta-portal) > .sqh-content,
html body .sqh-page:has(.sqh-content [class^="nta-"]) > .sqh-content,
html body .sqh-page:has(.sqh-content [class*=" nta-"]) > .sqh-content {
    margin-block: 0 !important;
    padding-block: 0 !important;
}
html body .sqh-page:has(.sqh-content .nta-home) .nta-home,
html body .sqh-page:has(.sqh-content .nta-portal) .nta-portal {
    margin-block: 0 !important;
    padding-block: 2px 6px !important;
}


/* 2.3.163 — user portal functions sidebar, mirrored by the portal language only.
   This scope affects the NTA employee portal, not the WordPress theme navigation. */
.nta-portal .nta-course-library-layout {
    display: grid !important;
    grid-template-columns: 238px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    direction: inherit !important;
}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar {
    position: sticky !important;
    top: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px !important;
    border: 1px solid #dce7eb !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 5px 18px rgba(20,49,67,.06) !important;
    box-sizing: border-box !important;
}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar > .nta-portal-menu-link,
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar > button.nta-course-category-button {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #e5edf0 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #173b5e !important;
    text-align: start !important;
    text-decoration: none !important;
    font: inherit !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    cursor: pointer;
    box-sizing: border-box !important;
}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar > .nta-portal-menu-link:hover,
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar > button.nta-course-category-button:hover {
    background: #f1f8f6 !important;
    border-color: #cfe5dc !important;
    color: #126b58 !important;
}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar > button.nta-course-category-button.is-active {
    background: #e9f6f1 !important;
    border-color: #cde8dc !important;
    color: #126b58 !important;
}
.nta-portal .nta-portal-menu-icon,
.nta-portal .nta-category-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    min-width: 24px !important;
    font-size: 18px !important;
}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar > button.nta-course-category-button > span:not(.nta-category-icon) {
    flex: 1 1 auto !important;
    text-align: start !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}
.nta-portal nav.nta-course-category-nav.nta-course-library-sidebar > button.nta-course-category-button small {
    margin-inline-start: auto !important;
    font-size: 11px !important;
    color: #71869a !important;
    white-space: nowrap !important;
}
.nta-portal .nta-course-library-main {
    min-width: 0 !important;
    width: 100% !important;
}
.nta-portal .nta-course-library-main .nta-course-group > .nta-courses {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (max-width: 850px) {
    .nta-portal .nta-course-library-layout {
        grid-template-columns: 190px minmax(0, 1fr) !important;
        gap: 14px !important;
    }
    .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar {
        padding: 9px !important;
    }
    .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar > .nta-portal-menu-link,
    .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar > button.nta-course-category-button {
        padding: 9px 8px !important;
        font-size: 12px !important;
    }
}
@media (max-width: 680px) {
    .nta-portal .nta-course-library-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
    .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar {
        position: static !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        width: 100% !important;
    }
    .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar > .nta-portal-menu-link,
    .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar > button.nta-course-category-button {
        min-height: 46px !important;
        padding: 8px !important;
        font-size: 12px !important;
    }
    .nta-portal nav.nta-course-category-nav.nta-course-library-sidebar > button.nta-course-category-button > span:not(.nta-category-icon) {
        font-size: 12px !important;
    }
    .nta-portal .nta-course-library-main .nta-course-group > .nta-courses {
        grid-template-columns: 1fr !important;
    }
}


/* 2.3.164 — hard-scoped portal layout correction.
   IDs intentionally outrank legacy horizontal-tab rules from earlier releases. */
#nta-user-portal-layout {
    display: grid !important;
    grid-template-columns: 248px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: start !important;
    column-gap: 22px !important;
    row-gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    direction: inherit !important;
}
#nta-user-portal-functions {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px !important;
    position: static !important;
    border: 1px solid #dce7eb !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 5px 18px rgba(20,49,67,.06) !important;
    box-sizing: border-box !important;
}
#nta-user-portal-functions > a.nta-portal-menu-link,
#nta-user-portal-functions > button.nta-course-category-button {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #e5edf0 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #173b5e !important;
    text-align: start !important;
    text-decoration: none !important;
    font: inherit !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}
#nta-user-portal-functions > a.nta-portal-menu-link:hover,
#nta-user-portal-functions > button.nta-course-category-button:hover {
    background: #f1f8f6 !important;
    border-color: #cfe5dc !important;
    color: #126b58 !important;
}
#nta-user-portal-functions > button.nta-course-category-button.is-active {
    background: #e9f6f1 !important;
    border-color: #cde8dc !important;
    color: #126b58 !important;
}
#nta-user-portal-functions .nta-portal-menu-icon,
#nta-user-portal-functions .nta-category-icon {
    display: inline-flex !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    min-width: 24px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
}
#nta-user-portal-functions > button.nta-course-category-button > span:not(.nta-category-icon) {
    flex: 1 1 auto !important;
    text-align: start !important;
}
#nta-user-portal-functions > button.nta-course-category-button small {
    margin-inline-start: auto !important;
    white-space: nowrap !important;
}
#nta-user-portal-layout > .nta-course-library-main {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}
@media (max-width: 850px) {
    #nta-user-portal-layout {
        grid-template-columns: 205px minmax(0, 1fr) !important;
        column-gap: 14px !important;
    }
}
@media (max-width: 680px) {
    #nta-user-portal-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
    #nta-user-portal-functions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
    }
    #nta-user-portal-layout > .nta-course-library-main {
        width: 100% !important;
    }
}


/* 2.3.165 — make secondary portal actions match category buttons and place them last. */
#nta-user-portal-functions > a.nta-portal-menu-link {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #e5edf0 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #173b5e !important;
    text-align: start !important;
    text-decoration: none !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}
#nta-user-portal-functions > a.nta-portal-menu-link:hover {
    background: #f1f8f6 !important;
    border-color: #cfe5dc !important;
    color: #126b58 !important;
}
#nta-user-portal-functions > a.nta-portal-menu-link .nta-portal-menu-icon {
    display: inline-flex !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    min-width: 24px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
}
#nta-user-portal-functions > a.nta-portal-menu-link > span:last-child {
    flex: 1 1 auto !important;
    text-align: start !important;
}


/* 2.3.166 — action links reuse the exact course-category button component. */
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #e5edf0 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #173b5e !important;
    text-align: start !important;
    text-decoration: none !important;
    font: inherit !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link:hover {
    background: #f1f8f6 !important;
    border-color: #cfe5dc !important;
    color: #126b58 !important;
    text-decoration: none !important;
}
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link .nta-portal-menu-icon {
    display: inline-flex !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    min-width: 24px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
}
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link > span:last-child {
    flex: 1 1 auto !important;
    text-align: start !important;
}


/* 2.3.167 — normalize all five portal menu items to one exact visual control. */
#nta-user-portal-functions > button.nta-course-category-button,
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link {
    all: unset !important;
    display: flex !important;
    flex: 0 0 58px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #dce7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #173b5e !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: start !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    box-shadow: 0 2px 8px rgba(20,60,70,.04) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link,
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link:link,
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link:visited,
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link:hover,
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link:focus,
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link:active {
    text-decoration: none !important;
    color: #173b5e !important;
}
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link:hover,
#nta-user-portal-functions > button.nta-course-category-button:hover {
    background: #f1f8f6 !important;
    border-color: #cfe5dc !important;
}
#nta-user-portal-functions > button.nta-course-category-button.is-active {
    background: #176b63 !important;
    border-color: #176b63 !important;
    color: #fff !important;
}
#nta-user-portal-functions > button.nta-course-category-button > .nta-category-icon,
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link > .nta-portal-menu-icon {
    all: unset !important;
    display: inline-flex !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    min-width: 24px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    line-height: 1 !important;
}
#nta-user-portal-functions > button.nta-course-category-button > span:not(.nta-category-icon),
#nta-user-portal-functions > a.nta-course-category-button.nta-portal-menu-link > span:last-child {
    all: unset !important;
    display: inline-block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: inherit !important;
    font: inherit !important;
    line-height: 1.25 !important;
    text-align: start !important;
    text-decoration: none !important;
}
#nta-user-portal-functions > button.nta-course-category-button > small {
    all: unset !important;
    display: inline-block !important;
    margin-inline-start: auto !important;
    color: #71869a !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}
#nta-user-portal-functions > button.nta-course-category-button.is-active > small,
#nta-user-portal-functions > button.nta-course-category-button.is-active > span {
    color: #fff !important;
}


/* 2.3.168 — final exact-match sizing and typography for portal action links. */
#nta-user-portal-functions > a.nta-portal-menu-link,
#nta-user-portal-functions > a.nta-portal-menu-link:link,
#nta-user-portal-functions > a.nta-portal-menu-link:visited,
#nta-user-portal-functions > a.nta-portal-menu-link:hover,
#nta-user-portal-functions > a.nta-portal-menu-link:focus,
#nta-user-portal-functions > a.nta-portal-menu-link:active {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    flex: 0 0 58px !important;
    padding: 10px 12px !important;
    border: 1px solid #dce7eb !important;
    border-radius: 10px !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    box-sizing: border-box !important;
}
#nta-user-portal-functions > a.nta-portal-menu-link *,
#nta-user-portal-functions > a.nta-portal-menu-link *::before,
#nta-user-portal-functions > a.nta-portal-menu-link *::after {
    text-decoration: none !important;
    text-decoration-line: none !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}


/* 2.3.169 — keep profile and program-registration views beside the portal menu. */
#nta-user-portal-layout.nta-portal-subview-layout {
    display: grid !important;
    grid-template-columns: 248px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    direction: inherit !important;
}
#nta-user-portal-layout.nta-portal-subview-layout > #nta-user-portal-functions {
    grid-column: 1 !important;
    grid-row: 1 !important;
}
#nta-user-portal-layout.nta-portal-subview-layout > .nta-portal-subview-content {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}
#nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}
#nta-user-portal-layout.nta-portal-subview-layout .nta-program-registration-page {
    width: 100% !important;
    max-width: 100% !important;
}
#nta-user-portal-layout.nta-portal-subview-layout .nta-portal-menu-link.is-active {
    background: #176b63 !important;
    border-color: #176b63 !important;
    color: #fff !important;
}
#nta-user-portal-layout.nta-portal-subview-layout .nta-portal-menu-link.is-active span,
#nta-user-portal-layout.nta-portal-subview-layout .nta-portal-menu-link.is-active .nta-category-icon {
    color: #fff !important;
}
@media (max-width: 680px) {
    #nta-user-portal-layout.nta-portal-subview-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
    #nta-user-portal-layout.nta-portal-subview-layout > #nta-user-portal-functions {
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        width: 100% !important;
    }
    #nta-user-portal-layout.nta-portal-subview-layout > .nta-portal-subview-content {
        width: 100% !important;
    }
}


/* 2.3.170 — isolate the employee profile form from theme-wide form/label rules. */
#nta-user-portal-layout.nta-portal-subview-layout > .nta-portal-subview-content {
    min-width: 0 !important;
    align-self: start !important;
}
#nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    direction: rtl !important;
}
#nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor form {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
}
#nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor form > label {
    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 14px 0 6px !important;
    padding: 0 !important;
    text-align: right !important;
    line-height: 1.6 !important;
    white-space: normal !important;
}
#nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor form > input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]) {
    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 0 10px !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
}
#nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor form > .nta-choice-list {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    clear: both !important;
}
#nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor form > hr,
#nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor form > h3,
#nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor form > p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
}
#nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor form > button[type="submit"] {
    display: inline-flex !important;
    align-self: flex-start !important;
    float: none !important;
    clear: both !important;
}
@media (max-width: 680px) {
    #nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor {
        padding: 16px !important;
    }
    #nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor form > .nta-choice-list {
        grid-template-columns: minmax(0,1fr) !important;
    }
}


/* 2.3.171 — enforce single-column profile fields at the form source. */
#nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor form[method="post"] {
    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    columns: 1 !important;
    column-count: 1 !important;
}
#nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor form[method="post"] > label {
    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 14px 0 6px !important;
    text-align: right !important;
}
#nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor form[method="post"] > input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]) {
    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 10px !important;
}


/* 2.3.172 — profile fields now have explicit wrappers; keep each label above its input. */
#nta-user-portal-layout .nta-profile-editor .nta-profile-field {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 14px !important;
    float: none !important;
    clear: both !important;
    position: static !important;
    box-sizing: border-box !important;
}
#nta-user-portal-layout .nta-profile-editor .nta-profile-field > label,
#nta-user-portal-layout .nta-profile-editor .nta-profile-field > div:first-child {
    display: block !important;
    width: 100% !important;
    margin: 0 0 6px !important;
    float: none !important;
    clear: both !important;
}
#nta-user-portal-layout .nta-profile-editor .nta-profile-field > input {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    clear: both !important;
}


/* 2.3.175 — identical full-width portal shell for dashboard and secondary views. */
.nta-portal {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}
.nta-portal .nta-welcome.nta-welcome-dashboard {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.nta-portal #nta-user-portal-layout.nta-portal-subview-layout {
    display: grid !important;
    grid-template-columns: 248px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: start !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 20px 0 28px !important;
    padding: 0 !important;
    direction: inherit !important;
    box-sizing: border-box !important;
}
.nta-portal #nta-user-portal-layout.nta-portal-subview-layout > #nta-user-portal-functions {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.nta-portal #nta-user-portal-layout.nta-portal-subview-layout > .nta-portal-subview-content {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.nta-portal #nta-user-portal-layout.nta-portal-subview-layout > .nta-portal-subview-content > *,
.nta-portal #nta-user-portal-layout.nta-portal-subview-layout .nta-program-registration-page,
.nta-portal #nta-user-portal-layout.nta-portal-subview-layout .nta-profile-editor {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.nta-portal #nta-user-portal-layout.nta-portal-subview-layout .nta-program-registration-page {
    margin: 0 !important;
    padding: 8px 0 32px !important;
}
@media (max-width: 850px) {
    .nta-portal #nta-user-portal-layout.nta-portal-subview-layout {
        grid-template-columns: 205px minmax(0, 1fr) !important;
        gap: 14px !important;
    }
}
@media (max-width: 680px) {
    .nta-portal #nta-user-portal-layout.nta-portal-subview-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
    .nta-portal #nta-user-portal-layout.nta-portal-subview-layout > #nta-user-portal-functions,
    .nta-portal #nta-user-portal-layout.nta-portal-subview-layout > .nta-portal-subview-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* 2.3.177 — show nine training courses per page in a compact 3 × 3 desktop grid. */
.nta-portal .nta-course-library-main .nta-course-group > .nta-courses {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 12px !important;
}
.nta-portal .nta-course-library-main .nta-course-full-details {
    min-width: 0 !important;
    padding: 9px !important;
    margin: 0 !important;
    border-radius: 11px !important;
}
.nta-portal .nta-course-library-main .nta-course-full-details .nta-course-featured-image img {
    height: 105px !important;
    max-height: 105px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
}
.nta-portal .nta-course-library-main .nta-course-full-details h3 {
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin: 5px 0 6px !important;
}
.nta-portal .nta-course-library-main .nta-course-full-details .nta-course-top {
    gap: 4px 6px !important;
    font-size: 9px !important;
}
.nta-portal .nta-course-library-main .nta-course-full-details .nta-details {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 4px !important;
    margin: 6px 0 7px !important;
}
.nta-portal .nta-course-library-main .nta-course-full-details .nta-details > div {
    padding: 5px 6px !important;
}
.nta-portal .nta-course-library-main .nta-course-full-details .nta-details span {
    font-size: 8px !important;
}
.nta-portal .nta-course-library-main .nta-course-full-details .nta-details strong {
    font-size: 9px !important;
}
.nta-portal .nta-course-library-main .nta-course-full-details .nta-btn {
    min-height: 28px !important;
    padding: 5px 8px !important;
    font-size: 9px !important;
}
.nta-portal .nta-course-library-main .nta-course-pagination {
    display: flex;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 16px 0 10px !important;
}
@media (max-width: 1050px) {
    .nta-portal .nta-course-library-main .nta-course-group > .nta-courses {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}
@media (max-width: 680px) {
    .nta-portal .nta-course-library-main .nta-course-group > .nta-courses {
        grid-template-columns: minmax(0,1fr) !important;
    }
    .nta-portal .nta-course-library-main .nta-course-full-details .nta-course-featured-image img {
        height: 145px !important;
        max-height: 145px !important;
    }
}


/* NTA 2.3.193: isolated course-learning workspace only; keep trainee shell and service navigation visible. */
.nta-portal.nta-learning-active .nta-course-learning-view{grid-column:1 / -1!important;width:100%!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important}
.nta-portal.nta-learning-active .nta-course-learning-view > .nta-course-featured-image,
.nta-portal.nta-learning-active .nta-course-learning-view > .nta-course-top,
.nta-portal.nta-learning-active .nta-course-learning-view > h3,
.nta-portal.nta-learning-active .nta-course-learning-view > .nta-course-card-summary,
.nta-portal.nta-learning-active .nta-course-learning-view > .nta-course-details-open,
.nta-portal.nta-learning-active .nta-course-learning-view > .nta-course-actions-row{display:none!important}
.nta-portal.nta-learning-active .nta-course-learning-workspace{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:18px!important;border:1px solid #dce7e5!important;border-radius:12px!important;background:#fff!important;box-shadow:0 3px 14px rgba(20,60,70,.06)!important;box-sizing:border-box!important}
.nta-portal.nta-learning-active .nta-course-learning-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 16px!important;padding:0 0 12px!important;border-bottom:1px solid #e2ebea!important}
.nta-portal.nta-learning-active .nta-course-learning-title{margin:0!important;font-size:clamp(18px,2vw,24px)!important;line-height:1.4!important;color:#173b5e!important}
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-portal-lessons[data-workspace-ready="1"]{display:grid!important;grid-template-columns:minmax(220px,30%) minmax(0,1fr)!important;gap:18px!important;align-items:start!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;direction:inherit!important}
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-lesson-sidebar{position:sticky!important;top:18px!important;min-width:0!important}
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-lesson-main{min-width:0!important}
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-lesson-main .nta-portal-lesson{width:100%!important;box-sizing:border-box!important}
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-lesson-nav-item{text-align:start!important;overflow-wrap:anywhere!important}
@media(max-width:700px){.nta-portal.nta-learning-active .nta-course-learning-workspace{padding:12px!important}.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-portal-lessons[data-workspace-ready="1"]{grid-template-columns:minmax(0,1fr)!important}.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-lesson-sidebar{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}.nta-portal.nta-learning-active .nta-course-learning-header{align-items:flex-start!important;flex-direction:column!important}}

/* NTA 2.3.195: certificate action appears under lesson topics only in the independent learning view. */
.nta-portal.nta-learning-active .nta-course-learning-view > .nta-course-actions-row,
.nta-portal.nta-learning-active .nta-course-learning-view .nta-enter-course{display:none!important}
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-learning-certificate-panel{display:block!important;margin-top:14px!important;padding:12px!important;border:1px solid #dce7e5!important;border-radius:10px!important;background:#fff!important;box-sizing:border-box!important}
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-learning-certificate-title{margin:0 0 10px!important;color:#173b5e!important;font-size:14px!important;font-weight:700!important;line-height:1.5!important}
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-learning-certificate-panel .nta-course-action-certificate{display:flex!important;align-items:stretch!important;justify-content:stretch!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;box-sizing:border-box!important}
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-learning-certificate-panel .nta-certificate-action,
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-learning-certificate-panel .nta-course-action-status{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:40px!important;height:auto!important;max-height:none!important;margin:0!important;padding:9px 12px!important;border-radius:8px!important;box-sizing:border-box!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important}
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-learning-certificate-panel .nta-certificate-action{background:#176b63!important;color:#fff!important;text-decoration:none!important;border:0!important}
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-learning-certificate-panel .nta-course-action-status{background:#f4f8f7!important;color:#58716d!important;border:1px solid #e1ebe8!important}


/* 2.3.197: sequential lesson progress states, scoped to the independent learning workspace. */
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-lesson-nav-item.is-locked{opacity:.48!important;cursor:not-allowed!important;background:#eef2f1!important;color:#71817e!important}
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-lesson-nav-item.is-completed:after{content:' ✓';color:#16834a;font-weight:700}
.nta-portal.nta-learning-active .nta-course-learning-workspace .nta-lesson-step-controls .nta-lesson-next:disabled{opacity:.55;cursor:not-allowed}
