:root {
  color: #183148;
  background: #f3f8fb;
  --nvp-ink: #061523;
  --nvp-blue: #078ee0;
  --nvp-cyan: #0bc3ee;
  --nvp-lime: #9ce821;
}

.sidebar { background: #02070c; color: #e5f4fb; }
.brand { gap: 11px; padding-left: 4px; }
.brand-logo { display: block; width: 49px; height: 49px; object-fit: contain; flex: none; }
.brand-copy strong { color: #fff; font-size: 12px; }
.brand-copy small { color: var(--nvp-lime); }
.side-label, .version { color: #7292a3; }
.nav-link { color: #91a9b5; }
.nav-link:hover { background: #102434; color: #f5fcff; }
.nav-link.active { background: #0a2b43; color: #eafaff; box-shadow: inset 3px 0 0 var(--nvp-lime); }
.nav-link.active .nav-icon { color: var(--nvp-lime); }
.sidebar-bottom { border-color: #183346; }
.avatar { color: var(--nvp-lime); background: #123045; }
.side-profile small { color: #80a0b0; }

.main-shell { background: #f3f8fb; }
.topbar { border-color: #e3edf3; }
.breadcrumb { color: #87a0ae; }
.breadcrumb b { color: #1c526f; }
.demo-dot { background: var(--nvp-lime); }
.demo-label { color: #568824; }
.role-switch { background: #f4f9fc; border-color: #dfebf3; color: #1e4c69; }
.role-switch > span:first-child { color: var(--nvp-blue); }

.eyebrow { color: #137cb8; }
.page-head h1, .profile-head h1 { color: #092136; }
.page-head p { color: #718b9b; }
.btn.primary { background: #067dcc; color: white; box-shadow: 0 5px 13px #087eca24; }
.btn.primary:hover { background: #0365a9; }
.btn.secondary { border-color: #dce9f1; color: #1c5b7d; }
.btn.secondary:hover { background: #f1f8fc; }
.btn.text { color: #087ebd; }

.card, .stat-card, .mini-stat { border-color: #e2edf3; box-shadow: 0 5px 22px #1647730c; }
.stat-card > span, .mini-stat > span { color: #66899f; }
.stat-card strong, .mini-stat strong { color: #10344d; }
.stat-card small, .mini-stat small { color: #819aaa; }
.stat-card i { color: #087bc4; background: #e8f5fc; }
.accent-card { background: #02080e; border-color: #126396; overflow: hidden; }
.accent-card::before { content: ''; position: absolute; inset: auto -20px -65px auto; width: 170px; height: 170px; background: #078ee0; filter: blur(65px); opacity: .24; }
.accent-card > span { color: #a4cde0; }
.accent-card strong { color: white; }
.accent-card small { color: #91b2c5; }
.plan-logo { position: absolute; top: 15px; right: 9px; width: 80px; height: 80px; object-fit: contain; }
.section-heading h2, .chart-topline strong { color: #123750; }
.feature-meta .muted, .section-copy { color: #829aa8; }
.plan-gold { color: #086da9; background: #e4f4fd; }
.plan-sage { color: #538600; background: #effbdc; }
.plan-violet { color: #166e89; background: #e5f9f9; }
.badge-positive { color: #548500; background: #eefbdc; }
.badge-neutral { color: #668394; background: #f0f6f9; }
.chart-axis { color: #819aa8; }
.plan-icon.gold { color: #088bd4; background: #e7f6fd; }
.plan-icon.sage { color: #7bb700; background: #f0fbdc; }
.plan-icon.violet { color: #12a1c7; background: #e7f9fb; }
.plan-row, .athlete-row, .assessment-row, .checkin-row, .exercise-row, .focus-line, .workout-title { border-color: #e9f0f4; }
.plan-row strong, .athlete-name strong, .date-block strong, .exercise-name strong { color: #173d55; }
.soft-note, .search-wrap { background: #f3f9fc; border-color: #e3eef5; }
.athlete-row:hover { background: #f6fbfe; }
.athlete-avatar, .profile-icon { color: #087dcc; background: #e5f5fd; border-color: #d4eaf7; }
.profile-back { color: #087ebd; }
.tabs { border-color: #deebf2; }
.tabs button.active { color: #086ba8; border-color: var(--nvp-lime); }
.focus-line strong, .score b, .checkin-values b, .marker-history strong { color: #185477; }
.rpe-record { border-color: #cae5f4; background: #f0f9fe; color: #0b78b8; }
.segmented button.active { background: #e8f6fc; border-color: #cce8f6; color: #086da9; }
.empty-icon { background: #e7f5fb; color: #0c8bd1; }
.footer { color: #7894a5; }
.footer button { color: #0c83c6; }
.modal-backdrop { background: #041525a8; }
.modal-header h2 { color: #123b55; }
.field > span { color: #477089; }
.field input, .field select, .select-athlete select { border-color: #dbe9f2; color: #163d56; outline-color: var(--nvp-blue); }
.add-row { color: #067ebf; border-color: #bfe4f5; background: #f1faff; }
.toast { background: #043d62; }

.summary-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,1fr); gap: 20px; margin-top: 22px; }
.alert-row, .return-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e9f0f4; padding: 13px 0; font-size: 11px; }
.alert-row:last-child, .return-row:last-child { border-bottom: 0; }
.alert-row > span:first-child { flex: 1; min-width: 0; }
.alert-row strong, .alert-row small { display: block; }
.alert-row strong, .return-row strong { color: #163c55; }
.alert-row small { color: #7590a0; padding-top: 3px; }
.alert-pill { display: inline-block; white-space: nowrap; padding: 5px 8px; border-radius: 5px; font-size: 10px; font-weight: 800; }
.alert-red { background: #fff0ed; color: #b74a38; }
.alert-yellow { background: #fff8e4; color: #986713; }
.alert-green { background: #eefbdc; color: #588800; }
.alert-none { background: #eff5f7; color: #718e9d; }
.checkin-row .alert-pill { margin-top: 4px; }
.checkin-row .date-block { min-width: 138px; }
.distribution { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 0; font-size: 11px; color: #7893a3; }
.distribution strong { color: #1c5678; }
.workout-card.archived { background: #f9fbfc; opacity: .82; }

.assessment-picker{max-width:390px;margin:18px 0 24px}.assessment-chart{display:grid;gap:16px;margin:20px 0}.assessment-chart-row{display:grid;grid-template-columns:112px minmax(80px,1fr) 88px;align-items:center;gap:14px;font-size:14px}.assessment-chart-row strong{font-size:15px;text-align:right}.assessment-chart-track{height:20px;background:#eef4f8;border-radius:6px;overflow:hidden}.assessment-chart-bar{height:100%;border-radius:6px;background:#128fe8}.assessment-chart-bar.atual{background:#86c91e}.measure-table-wrap{overflow-x:auto;margin-top:24px}.measure-table-wrap h3,.measure-form-title{font-size:16px;margin:20px 0 12px}.measure-table{border-collapse:collapse;width:100%;min-width:440px;font-size:14px}.measure-table th,.measure-table td{text-align:left;padding:10px 12px;border-bottom:1px solid #e2edf3}.measure-table thead th{background:#eef6fa}.measure-table td{font-variant-numeric:tabular-nums}.measure-table th:first-child{width:50%}@media(max-width:700px){.assessment-chart-row{grid-template-columns:76px minmax(50px,1fr) 70px;gap:8px;font-size:12px}.assessment-chart-row strong{font-size:12px}}
.exercise-name small { line-height: 1.5; }
.workout-title > div:last-child { display: flex; align-items: center; gap: 8px; }
.library-tools { display: flex; align-items: start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.library-tools .search-wrap { width: 290px; margin: 0 0 18px; }
.library-tools .segmented { margin: 0 0 18px; }
.library-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.library-card { border: 1px solid #dfebf2; border-radius: 11px; background: #fbfdfe; overflow: hidden; display: flex; flex-direction: column; }
.library-video-icon { height: 95px; display: grid; place-items: center; background: radial-gradient(circle at 75% 15%,#0c89ce 0,#064777 46%,#061928 100%); color: #a5ee2c; font-size: 26px; }
.library-card-body { padding: 17px 17px 8px; flex: 1; }
.library-card-body h3 { margin: 10px 0 5px; font-size: 14px; color: #153e57; }
.library-card-body p { margin: 0 0 11px; font-size: 11px; color: #7591a2; }
.library-video-state { font-size: 10px; color: #54839a; }
.library-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; border-top: 1px solid #e6eef4; padding: 12px 17px; }
.library-actions .btn { min-height: 31px; padding: 7px 9px; font-size: 10px; }
.library-actions .btn.text:last-child { color: #ad5448; }
.library-card[hidden] { display: none; }
.video-frame { width: 100%; aspect-ratio: 16/9; background: #02070c; border-radius: 8px; overflow: hidden; margin-bottom: 15px; }
.video-frame iframe { width: 100%; height: 100%; display: block; border: 0; }

@media (max-width: 1150px) { .summary-grid { grid-template-columns: 1fr; } .library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }

@media (max-width: 700px) {
  .brand-logo { width: 32px; height: 32px; }
  .sidebar { background: #02070c; }
  .nav-link.active { box-shadow: inset 0 -2px 0 var(--nvp-lime); }
  .plan-logo { width: 65px; height: 65px; right: 1px; }
  .alert-row { flex-wrap: wrap; }
  .alert-row > span:first-child { flex-basis: 100%; }
  .return-row { flex-wrap: wrap; }
  .role-athlete main { padding-bottom: 100px; }
  .role-athlete .sidebar { position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 10; height: 61px; padding: 4px 8px; box-shadow: 0 -4px 20px #08243c28; }
  .role-athlete .sidebar .brand { display: none; }
  .role-athlete .sidebar nav { width: 100%; margin: 0; justify-content: space-around; }
  .role-athlete .sidebar .nav-link { flex: 1; justify-content: center; display: flex; flex-direction: column; gap: 2px; font-size: 8px; padding: 5px 2px; }
  .role-athlete .sidebar .nav-icon { font-size: 17px; }
  .role-athlete .footer { padding-bottom: 85px; }
  .library-grid { grid-template-columns: 1fr; }
  .library-tools .search-wrap { width: 100%; }
}
.role-switch[hidden]{display:none!important}
.preview-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;margin:0 0 20px;border:1px solid #91c7e4;border-radius:10px;background:#eef8fd;color:#164362;font-size:13px}
.preview-banner span{font-size:12px}
.assessment-row>.btn{align-self:center;margin-left:auto}
@media(max-width:700px){.preview-banner{align-items:flex-start;flex-direction:column}.assessment-row>.btn{margin-left:0}}
