/* Dashboard presentation. Trusted statistics remain owned by dashboard-model. */
body[data-page="dashboard"] .portal-main{padding-top:0}
body[data-page="dashboard"] .account-controls>.account-dashboard{display:none}
.dash-greeting{display:flex;justify-content:space-between;align-items:center;gap:28px;padding-top:26px;margin-bottom:22px}
.dash-greeting h1{font-size:34px;line-height:1.6;margin:0;font-weight:700;letter-spacing:-.4px}
.dash-greeting>div>p{font-size:15px;line-height:1.9;margin:3px 0 0}
.dash-xp{width:34%;max-width:380px;min-width:190px;direction:ltr}
.dash-xp .dash-xp-caption{font-size:12px;direction:rtl;text-align:left;color:var(--kit-muted);margin:0 0 4px}
.dash-xp strong{display:block;font:700 32px/1.4 var(--font-body);text-align:left;color:var(--kit-forest)}
.dash-xp strong span{font-size:21px;font-weight:500;color:var(--kit-ink)}
.dash-xp progress{display:block;appearance:none;-webkit-appearance:none;width:100%;height:7px;margin-top:7px;border:1px solid #c9c6b1;border-radius:5px;overflow:hidden;background:#e4dfcc;color:var(--kit-forest)}
.dash-xp progress::-webkit-progress-bar{background:#e4dfcc;border-radius:5px}
.dash-xp progress::-webkit-progress-value{background:var(--kit-forest);border-radius:4px}
.dash-xp progress::-moz-progress-bar{background:var(--kit-forest);border-radius:4px}
.dash-xp>p:not(.dash-xp-caption){font-size:12px;direction:rtl}
.dash-continuation{box-sizing:border-box;display:grid;direction:ltr;grid-template-areas:"actions copy";grid-template-columns:240px minmax(0,1fr);align-items:center;gap:26px;padding:24px;border:1px solid var(--kit-rule);border-radius:4px;background:var(--kit-surface);box-shadow:var(--kit-shadow)}
.dash-next-copy{position:relative;grid-area:copy;direction:rtl;min-width:0;padding-inline-start:64px}
.dash-next-copy .dash-section-icon{position:absolute;inset:4px 0 auto auto;width:48px;height:48px}
.dash-eyebrow{font-size:12px;line-height:1.8;color:var(--kit-muted);margin:0 0 3px}
.dash-next-copy h2{font-size:29px;line-height:1.6;margin:0 0 6px;font-weight:700}
.dash-next-description{font-size:14px;line-height:1.9;margin:0 0 4px}
.dash-next-step{font-size:14px;line-height:1.9;margin:0}
.dash-next-actions{grid-area:actions;direction:rtl;display:flex;flex-direction:column;align-items:center;gap:14px;padding-inline-start:24px;border-inline-start:1px solid var(--kit-rule)}
.dash-continuation .dash-next-actions .dash-primary{width:100%;box-sizing:border-box;font-size:15px;min-height:44px}
.dash-primary>span{font-size:21px;line-height:1}
.dash-text-link{display:inline-flex;align-items:center;gap:8px;min-height:36px;color:var(--kit-forest);font-size:14px;line-height:1.8;text-decoration:none;white-space:nowrap;flex-shrink:0}
.dash-text-link::after{content:'←';font-size:18px}
.dash-text-link:hover{text-decoration:underline;text-underline-offset:5px}
.dash-milestones{display:flex;direction:ltr;gap:6px;max-width:330px;padding:0;margin:14px 0 0;list-style:none}
.dash-milestones li{height:7px;flex:1 1 0;border:1px solid #e0d4b9;border-radius:3px;background:#eee3cb}
.dash-milestones li[data-done="true"]{border-color:var(--kit-forest);background:var(--kit-forest)}
.dash-personal-review{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 22px;margin:15px 0 24px;border:1px solid var(--kit-rule);border-radius:4px;background:var(--kit-surface);box-shadow:var(--kit-shadow)}
.dash-personal-review h2{display:flex;align-items:center;gap:10px;font-size:19px;line-height:1.8;margin:0 0 2px}
.dash-personal-review h2::before{content:'';flex:0 0 32px;width:32px;height:32px;background:url('paper-review.svg?v=b4d4c5bccbb7d6d6') center/contain no-repeat}
.dash-personal-review p{font-size:14px;line-height:1.9;margin:0;color:var(--kit-muted)}
.dash-personal-review a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;box-sizing:border-box;padding:8px 15px;border:1px solid var(--kit-rule-strong);border-radius:3px;color:var(--kit-forest);background:transparent;font-size:14px;line-height:1.8;text-decoration:none;white-space:nowrap}
.dash-personal-review a:hover{background:var(--kit-sage);border-color:var(--kit-forest)}
.dash-course{margin-top:24px}
.dash-section-heading{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:18px;margin-bottom:13px}
.dash-section-heading h2{display:flex;align-items:center;gap:9px;font-size:23px;line-height:1.7;margin:0;white-space:nowrap}
.dash-section-heading p{font:17px/1.7 Georgia,serif;margin:0}
.dash-table-wrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#9ba58c88 transparent;border:1px solid var(--kit-rule);border-radius:4px;background:var(--kit-surface);box-shadow:var(--kit-shadow)}
.dash-lesson-table{width:100%;min-width:960px;border-collapse:collapse;table-layout:fixed;text-align:right}
.dash-lesson-table :is(th,td){box-sizing:border-box;border-bottom:1px solid #d3cbb688;border-inline-end:1px solid #d3cbb64d;padding:12px;line-height:1.9}
.dash-lesson-table :is(th,td):last-child{border-inline-end:0}
.dash-lesson-table thead th{height:44px;padding:8px 10px;font-size:13px;font-weight:600;text-align:center}
.dash-lesson-table thead th:nth-child(1){width:5%}
.dash-lesson-table thead th:nth-child(2){width:35%}
.dash-lesson-table thead th:nth-child(3){width:12%}
.dash-lesson-table thead th:nth-child(4){width:14%}
.dash-lesson-table thead th:nth-child(5){width:16%}
.dash-lesson-table thead th:nth-child(6){width:18%}
.dash-lesson-table tbody tr{height:72px}
.dash-lesson-table tbody tr[data-current="true"]{background:var(--kit-sage)}
.dash-lesson-table tbody tr[data-current="true"]>td:last-child{box-shadow:inset 3px 0 0 var(--kit-ochre)}
.dash-lesson-table tbody tr:last-child :is(th,td){border-bottom:0}
.dash-lesson-table td{font-size:13px}
.dash-lesson-table .dash-chapter{text-align:center;font-size:15px}
.dash-lesson-title{font-size:15px;font-weight:500;text-align:right}
.dash-lesson-table a{color:inherit;text-decoration:none}
.dash-lesson-table a:hover{color:var(--kit-forest)}
.dash-lesson-title>a:hover{text-decoration:underline;text-underline-offset:5px}
.dash-bookmark{display:inline-grid;place-items:center;vertical-align:middle;min-width:32px;min-height:32px;padding:5px;margin-inline-start:3px;border:1px solid transparent;border-radius:3px;background:transparent;color:var(--kit-forest);cursor:pointer}
.dash-bookmark .paper-icon{width:17px;height:20px}
.dash-bookmark:hover{background:#e9e2cf}
.dash-cell-link{display:flex;align-items:center;gap:7px}
.dash-cell-link>span{min-width:0}
.dash-cell-link .paper-icon{width:20px;height:22px;flex:0 0 20px}
.dash-cell-link small{display:block;font-size:13px;line-height:1.7;margin-top:2px;text-align:right}
.dash-complete{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border:1px solid var(--kit-forest);border-radius:50%;background:var(--kit-forest);color:var(--kit-surface);font:18px/1 sans-serif}
.dash-not-started{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px}
.dash-lab-progress{display:block;width:27px;height:27px;flex:0 0 27px;color:var(--kit-forest)}
.dash-lab-metric{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;white-space:nowrap;color:var(--kit-forest)}
.dash-growth{display:grid;direction:ltr;grid-template-areas:"badges skills";grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;align-items:stretch;margin-top:20px}
.dash-skills,.dash-badges{box-sizing:border-box;min-width:0;direction:rtl;padding:20px 22px;border:1px solid var(--kit-rule);border-radius:4px;background:var(--kit-surface);box-shadow:var(--kit-shadow)}
.dash-skills{grid-area:skills}
.dash-badges{grid-area:badges}
.dash-growth h2{display:flex;align-items:center;gap:9px;font-size:20px;line-height:1.8;margin:0 0 15px}
.dash-skills ul{display:flex;direction:ltr;flex-direction:row-reverse;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.dash-skills li{display:inline-flex;direction:rtl;align-items:center;gap:7px;min-height:36px;box-sizing:border-box;padding:6px 9px;border:1px solid #d3cbb6a8;border-radius:3px;background:#f1ead980;font-size:13px;line-height:1.8;white-space:nowrap}
.dash-skills li .paper-icon{width:17px;height:17px;flex:0 0 17px}
.dash-skills li{flex:0 0 auto;max-width:100%}
.dash-skills li>span{white-space:normal;overflow-wrap:anywhere}
.dash-review-toggle{display:inline-flex;align-items:center;gap:7px;min-height:40px;margin-top:10px;padding:0;border:0;background:transparent;color:var(--kit-forest);font:13px/1.8 var(--font-body);cursor:pointer}
.dash-review-toggle[aria-pressed="true"]{text-decoration:underline;text-underline-offset:4px}
.dash-review-toggle .paper-icon{width:18px;height:20px;flex:0 0 18px}
.dash-stamp-list{display:flex;direction:ltr;flex-direction:row-reverse;align-items:flex-start;justify-content:space-around;gap:12px;flex-wrap:wrap}
.dash-stamp{display:flex;direction:rtl;flex-direction:column;align-items:center;gap:6px;min-width:0;max-width:150px;flex:1 1 90px;text-align:center;color:var(--kit-ink);text-decoration:none}
.dash-stamp .paper-badge{width:56px;height:59px;flex:0 0 59px}
.dash-stamp>span{font-size:13px;font-weight:500;line-height:1.8}
.dash-stamp>small{font-size:12px;line-height:1.8;padding:1px 8px;border-radius:3px;background:var(--kit-sage)}
.dash-stamp[data-earned="false"] .paper-badge{filter:grayscale(.8);opacity:.6}
.dash-stamp[data-earned="false"]>small{background:#eee5d1;color:#5a5849}
.dash-empty-note{font-size:14px;line-height:2;color:var(--kit-muted);margin:10px 0}
.dash-empty-review{font-size:14px;line-height:2;padding:14px}
body[data-page="dashboard"] #results{margin-top:18px}
.dash-results-details{border:1px solid var(--kit-rule);border-radius:4px;background:var(--kit-surface)}
.dash-results-details>summary{box-sizing:border-box;min-height:46px;padding:12px 18px;font-size:13px;line-height:1.9;cursor:pointer;color:var(--kit-muted)}
.dash-results-body{padding:14px 18px}
body[data-page="dashboard"] .membership-section{margin-top:24px;padding-top:20px;border-top:1px solid var(--kit-rule)}
body[data-page="dashboard"] .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1100px){
 .dash-continuation{grid-template-columns:205px minmax(0,1fr);gap:20px;padding:22px}
 .dash-next-copy h2{font-size:27px}
 .dash-growth{gap:14px}
 .dash-skills,.dash-badges{padding:18px}
}
@media(max-width:760px){
 .dash-greeting{padding-top:20px;gap:18px;flex-wrap:wrap}
 .dash-greeting h1{font-size:28px}
 .dash-greeting>div>p{font-size:14px}
 .dash-xp{width:100%;max-width:300px;min-width:0}
 .dash-xp strong{font-size:29px}
 .dash-xp strong span{font-size:19px}
 .dash-continuation{grid-template-areas:"copy" "actions";grid-template-columns:minmax(0,1fr);padding:20px 18px;gap:16px}
 .dash-next-copy{padding-inline-start:54px}
 .dash-next-copy .dash-section-icon{width:40px;height:40px}
 .dash-next-copy h2{font-size:25px}
 .dash-next-actions{flex-direction:row;justify-content:flex-start;flex-wrap:wrap;gap:12px;padding:12px 0 0;border:0;border-top:1px solid var(--kit-rule)}
 .dash-continuation .dash-next-actions .dash-primary{width:auto;font-size:14px}
 .dash-text-link{min-height:44px}
 .dash-personal-review{padding:15px 16px;gap:12px;flex-wrap:wrap}
 .dash-personal-review h2{font-size:18px}
 .dash-personal-review a{min-height:44px}
 .dash-section-heading{flex-wrap:wrap;gap:8px}
 .dash-section-heading h2{font-size:20px}
 .dash-section-heading p{font-size:14px}
 .dash-growth{grid-template-areas:"skills" "badges";grid-template-columns:minmax(0,1fr);gap:15px}
 .dash-skills,.dash-badges{padding:18px}
 .dash-growth h2{font-size:19px}
 .dash-bookmark{min-width:44px;min-height:44px}
 .dash-review-toggle{min-height:44px}
}
@media print{
 .dash-continuation,.dash-skills,.dash-badges{box-shadow:none}
 .dash-table-wrap{overflow:visible}
 .dash-lesson-table{min-width:0}
 .dash-next-actions,.dash-review-toggle,.dash-bookmark{display:none}
}
