/* Portal 6.19.0 — Study ↔ Practice integration layer. */
.nsp-private-workspace .nsp-workspace,
.nsp-private-workspace .nsp-workspace button,
.nsp-private-workspace .nsp-workspace input,
.nsp-private-workspace .nsp-workspace select,
.nsp-private-workspace .nsp-workspace textarea{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}

.nsp-private-workspace .nsw-study-page-head .nsw-primary-button{gap:8px}
.nsp-private-workspace .nsw-study-page-head .nsw-primary-button svg{width:18px;height:18px}

.nsp-private-workspace .nsw-study-practice-summary{
  --nsp-practice-accent:#0b6b4b;
  display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.72fr);gap:24px;
  margin:0 0 24px;padding:28px;border:1px solid #d7e6df;border-radius:22px;
  background:linear-gradient(135deg,#f3faf7 0%,#ffffff 58%,#f8fbfa 100%);
  box-shadow:0 12px 32px rgba(16,56,43,.06);overflow:hidden;position:relative
}
.nsp-private-workspace .nsw-study-practice-summary:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--nsp-practice-accent)}
.nsp-private-workspace .nsw-study-practice-main{min-width:0}
.nsp-private-workspace .nsw-study-practice-main h2{margin:4px 0 8px!important;font-size:clamp(1.35rem,2.5vw,1.8rem)!important;letter-spacing:-.025em!important;line-height:1.18!important}
.nsp-private-workspace .nsw-study-practice-main p{max-width:760px;margin:0;color:#536860!important;line-height:1.65}
.nsp-private-workspace .nsw-study-practice-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.nsp-private-workspace .nsw-study-practice-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-self:stretch;border:1px solid #dfeae5;border-radius:18px;background:rgba(255,255,255,.78);overflow:hidden}
.nsp-private-workspace .nsw-study-practice-metrics>div{display:flex;flex-direction:column;justify-content:center;gap:3px;padding:17px 14px;min-width:0;border-right:1px solid #e2ece7}
.nsp-private-workspace .nsw-study-practice-metrics>div:last-child{border-right:0}
.nsp-private-workspace .nsw-study-practice-metrics span{font-size:.7rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#63756e}
.nsp-private-workspace .nsw-study-practice-metrics strong{font-size:1.35rem;line-height:1.1;color:#10281f}
.nsp-private-workspace .nsw-study-practice-metrics small{font-size:.73rem;line-height:1.35;color:#6a7c75}

.nsp-private-workspace .nsw-practice-integrated-hero{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:24px;align-items:center;padding:30px;margin-bottom:22px;border:1px solid #d7e6df;border-radius:22px;background:linear-gradient(135deg,#f5fbf8,#fff)}
.nsp-private-workspace .nsw-practice-integrated-copy h2{margin:4px 0 8px!important;font-size:clamp(1.55rem,3vw,2.15rem)!important;letter-spacing:-.035em!important;line-height:1.12!important}
.nsp-private-workspace .nsw-practice-integrated-copy p{margin:0;max-width:760px;color:#536860!important;line-height:1.65}
.nsp-private-workspace .nsw-practice-readiness{width:170px;height:170px;border-radius:999px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#0b6b4b;color:#fff;box-shadow:0 16px 40px rgba(11,107,75,.18)}
.nsp-private-workspace .nsw-practice-readiness span{font-size:.68rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase;opacity:.82}
.nsp-private-workspace .nsw-practice-readiness strong{font-size:2.25rem;line-height:1.05;margin:6px 0 2px;color:#fff!important}
.nsp-private-workspace .nsw-practice-readiness small{font-size:.75rem;opacity:.88;max-width:120px}

.nsp-private-workspace .nsw-practice-course-section{margin-bottom:20px}
.nsp-private-workspace .nsw-practice-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.nsp-private-workspace .nsw-practice-course-card{display:flex;flex-direction:column;min-height:178px;padding:18px;border:1px solid #dfe9e4;border-radius:17px;background:#fff;text-decoration:none!important;color:#14281f!important;box-shadow:none;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.nsp-private-workspace .nsw-practice-course-card:hover{transform:translateY(-2px);border-color:#9dc9b8;box-shadow:0 10px 24px rgba(16,56,43,.08)}
.nsp-private-workspace .nsw-practice-course-card:focus-visible{outline:3px solid rgba(11,107,75,.26);outline-offset:2px}
.nsp-private-workspace .nsw-practice-course-code{display:inline-flex;align-self:flex-start;padding:5px 8px;border-radius:999px;background:#eaf5f0;color:#0b6b4b;font-size:.69rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.nsp-private-workspace .nsw-practice-course-card strong{display:block;margin:14px 0 6px;font-size:1rem;line-height:1.35;color:#14281f}
.nsp-private-workspace .nsw-practice-course-card small{color:#6a7c75;line-height:1.45}
.nsp-private-workspace .nsw-practice-course-card em{margin-top:auto;padding-top:18px;color:#0b6b4b;font-size:.78rem;font-style:normal;font-weight:850}

.nsp-private-workspace .nsw-practice-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.nsp-private-workspace .nsw-practice-shortcuts>a,.nsp-private-workspace .nsw-practice-shortcuts>button{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:12px;width:100%;padding:16px;border:1px solid #dfe9e4;border-radius:16px;background:#fff;text-align:left;text-decoration:none!important;color:#183127!important;font:inherit;cursor:pointer}
.nsp-private-workspace .nsw-practice-shortcuts>a>span,.nsp-private-workspace .nsw-practice-shortcuts>button>span{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:#eef6f2;color:#0b6b4b}
.nsp-private-workspace .nsw-practice-shortcuts strong{display:block;color:#183127;font-size:.9rem;margin-bottom:2px}
.nsp-private-workspace .nsw-practice-shortcuts small{display:block;color:#6c7d76;line-height:1.35}
.nsp-private-workspace .nsw-practice-shortcuts svg{width:18px;height:18px}

.nsp-private-workspace .nsw-today-practice{padding:0!important;overflow:hidden}
.nsp-private-workspace .nsw-today-practice-main{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:22px;align-items:center;padding:22px 24px}
.nsp-private-workspace .nsw-today-practice-copy h2{margin:4px 0 6px!important;font-size:1.18rem!important;line-height:1.28!important;letter-spacing:-.015em!important}
.nsp-private-workspace .nsw-today-practice-copy p{margin:0;color:#607169!important;line-height:1.55}
.nsp-private-workspace .nsw-today-practice-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}
.nsp-private-workspace .nsw-today-practice-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:116px;padding:14px;border-radius:17px;background:#eef7f2;border:1px solid #d4e8df;text-align:center}
.nsp-private-workspace .nsw-today-practice-stat span{font-size:.67rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5d7168}
.nsp-private-workspace .nsw-today-practice-stat strong{font-size:1.85rem;line-height:1;margin:6px 0;color:#0b6b4b}
.nsp-private-workspace .nsw-today-practice-stat small{font-size:.72rem;color:#61756c}
.nsp-private-workspace .nsw-today-practice-foot{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:11px 24px;border-top:1px solid #e1ebe6;background:#fafcfb;color:#667970;font-size:.78rem}
.nsp-private-workspace .nsw-today-practice-foot a{font-weight:850;color:#0b6b4b;text-decoration:none}

[data-theme="dark"] .nsp-private-workspace .nsw-study-practice-summary,
[data-theme="dark"] .nsp-private-workspace .nsw-practice-integrated-hero{background:linear-gradient(135deg,#10251d,#0e1b17);border-color:#29463a;box-shadow:none}
[data-theme="dark"] .nsp-private-workspace .nsw-study-practice-main p,
[data-theme="dark"] .nsp-private-workspace .nsw-practice-integrated-copy p,
[data-theme="dark"] .nsp-private-workspace .nsw-today-practice-copy p{color:#adc1b8!important}
[data-theme="dark"] .nsp-private-workspace .nsw-study-practice-metrics{background:#0d1d17;border-color:#29463a}
[data-theme="dark"] .nsp-private-workspace .nsw-study-practice-metrics>div{border-color:#29463a}
[data-theme="dark"] .nsp-private-workspace .nsw-study-practice-metrics span,
[data-theme="dark"] .nsp-private-workspace .nsw-study-practice-metrics small{color:#9eb6ab}
[data-theme="dark"] .nsp-private-workspace .nsw-study-practice-metrics strong{color:#eff8f4}
[data-theme="dark"] .nsp-private-workspace .nsw-practice-readiness{background:#62d69b;color:#082219;box-shadow:none}
[data-theme="dark"] .nsp-private-workspace .nsw-practice-readiness strong{color:#082219!important}
[data-theme="dark"] .nsp-private-workspace .nsw-practice-course-card,
[data-theme="dark"] .nsp-private-workspace .nsw-practice-shortcuts>a,
[data-theme="dark"] .nsp-private-workspace .nsw-practice-shortcuts>button{background:#0d1d17;border-color:#29463a;color:#eef8f3!important}
[data-theme="dark"] .nsp-private-workspace .nsw-practice-course-card:hover{border-color:#4d8a70;box-shadow:none}
[data-theme="dark"] .nsp-private-workspace .nsw-practice-course-code,
[data-theme="dark"] .nsp-private-workspace .nsw-practice-shortcuts>a>span,
[data-theme="dark"] .nsp-private-workspace .nsw-practice-shortcuts>button>span{background:#163429;color:#83e7b1}
[data-theme="dark"] .nsp-private-workspace .nsw-practice-course-card strong,
[data-theme="dark"] .nsp-private-workspace .nsw-practice-shortcuts strong{color:#eef8f3}
[data-theme="dark"] .nsp-private-workspace .nsw-practice-course-card small,
[data-theme="dark"] .nsp-private-workspace .nsw-practice-shortcuts small{color:#9fb5ab}
[data-theme="dark"] .nsp-private-workspace .nsw-practice-course-card em{color:#83e7b1}
[data-theme="dark"] .nsp-private-workspace .nsw-today-practice-stat{background:#142d23;border-color:#29463a}
[data-theme="dark"] .nsp-private-workspace .nsw-today-practice-stat span,
[data-theme="dark"] .nsp-private-workspace .nsw-today-practice-stat small{color:#a5bdb2}
[data-theme="dark"] .nsp-private-workspace .nsw-today-practice-stat strong{color:#83e7b1}
[data-theme="dark"] .nsp-private-workspace .nsw-today-practice-foot{background:#0b1813;border-color:#29463a;color:#9fb5ab}
[data-theme="dark"] .nsp-private-workspace .nsw-today-practice-foot a{color:#83e7b1}

@media(max-width:980px){
  .nsp-private-workspace .nsw-study-practice-summary{grid-template-columns:1fr}
  .nsp-private-workspace .nsw-practice-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nsp-private-workspace .nsw-practice-shortcuts{grid-template-columns:1fr}
}
@media(max-width:720px){
  .nsp-private-workspace .nsw-study-practice-summary{padding:22px;border-radius:18px}
  .nsp-private-workspace .nsw-study-practice-metrics{grid-template-columns:1fr 1fr 1fr}
  .nsp-private-workspace .nsw-study-practice-metrics>div{padding:13px 9px}
  .nsp-private-workspace .nsw-study-practice-metrics strong{font-size:1.14rem}
  .nsp-private-workspace .nsw-practice-integrated-hero{grid-template-columns:1fr;padding:22px}
  .nsp-private-workspace .nsw-practice-readiness{width:100%;height:auto;min-height:112px;border-radius:17px}
  .nsp-private-workspace .nsw-practice-course-grid{grid-template-columns:1fr}
  .nsp-private-workspace .nsw-practice-course-card{min-height:154px}
  .nsp-private-workspace .nsw-today-practice-main{grid-template-columns:1fr;padding:20px}
  .nsp-private-workspace .nsw-today-practice-stat{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;text-align:left;align-items:center;min-height:0}
  .nsp-private-workspace .nsw-today-practice-stat strong{grid-column:2;grid-row:1/3;margin:0;font-size:1.55rem}
  .nsp-private-workspace .nsw-today-practice-foot{padding:11px 20px;align-items:flex-start;flex-direction:column;gap:5px}
}
@media(max-width:460px){
  .nsp-private-workspace .nsw-study-practice-metrics{grid-template-columns:1fr}
  .nsp-private-workspace .nsw-study-practice-metrics>div{border-right:0;border-bottom:1px solid #e2ece7}
  .nsp-private-workspace .nsw-study-practice-metrics>div:last-child{border-bottom:0}
  [data-theme="dark"] .nsp-private-workspace .nsw-study-practice-metrics>div{border-bottom-color:#29463a}
}
