.route-main .card,.route-banner{min-height:0}.route-main h1{margin-bottom:12px}.route-main .card{margin-bottom:20px}.route-form-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:18px;margin-bottom:24px}.route-form-fields label{display:grid;gap:8px;font-weight:600}.route-form-fields input{width:100%;max-width:none;min-width:0;min-height:48px;border:1px solid #aebac9;border-radius:7px;padding:10px;font:inherit}.route-main .exam-goal-picker{margin:18px 0}.route-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.route-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0}.route-action{min-width:0}.route-action>a{display:flex;flex-direction:column;justify-content:space-between;gap:12px;border:1px solid #dcd3ef;background:#f8f6fd;border-radius:10px;padding:16px;color:#443064;text-decoration:none;min-height:120px}.route-action strong{font-size:16px}.route-action span{font-size:13px;line-height:1.5}.route-action details{margin-top:8px}.route-action summary{min-height:44px;padding:10px 3px;font-size:14px;color:#584092;cursor:pointer}.route-parts{list-style:none;padding:0;margin:0}.route-parts li{border-top:1px solid #ddd5e8;padding:12px 2px;overflow-wrap:anywhere}.route-parts a{display:block;line-height:1.4;margin-bottom:6px}.route-parts small{display:block;font-size:12px;line-height:1.5;color:#526176}.route-parts .route-status{font-size:13px;font-weight:600;margin-bottom:5px}.route-status[data-status=independent]{color:#25633d}.route-status[data-status=practice],.route-status[data-status=helped]{color:#88590e}.route-advice{border-left:4px solid #6f42c1}.route-advice p{max-width:750px}.route-reminder{color:#514478}.route-footer{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.route-banner{padding:16px 20px;background:white;border:1px solid #dcd3ef;border-radius:10px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:16px}.route-banner p{margin:4px 0;font-size:14px}.route-banner[data-check=true]{background:#fff8df}.route-banner a{font-weight:600}.route-banner .button-row{flex-shrink:0}.route-history{margin-top:14px}.route-history label{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.route-history select{max-width:100%}.route-goal h2{font-size:22px}.route-progress-hint{font-size:13px;color:#526176}.route-summary-details{padding-top:12px;border-top:1px solid #e5e7eb}.route-summary-details summary{padding:10px 0;cursor:pointer}.route-main [hidden],.route-banner[hidden]{display:none!important}
@media(max-width:1050px){.route-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.route-action>a{min-height:108px}}
@media(max-width:650px){.route-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.route-form-fields{grid-template-columns:1fr}.route-heading,.route-banner{display:block}.route-banner .button-row{margin-top:12px}.route-heading .button-row{margin-top:14px}.route-action>a{padding:12px}.route-main .card{padding:20px}.route-goal h2{font-size:20px}}
@media(min-width:360px) and (max-width:650px){.route-action:has(details[open]){grid-column:1/-1}}
@media(max-width:359px){.route-actions{grid-template-columns:1fr}}

.route-course{display:grid;gap:8px;font-weight:600;margin:18px 0;max-width:420px}.route-course select{font:inherit;min-height:48px;width:100%;padding:10px;border:1px solid #aebac9;border-radius:7px;background:white;color:inherit}

/* Dashboard: one overview, with subskills visible only when requested. */
.dashboard-main{max-width:1040px}
.dashboard-sheet{min-width:0;overflow-wrap:anywhere}
.dashboard-picker{display:grid;gap:8px;margin:22px 0;max-width:620px;font-size:14px;font-weight:600}
.dashboard-picker select{max-width:100%;min-width:0;width:100%;font:inherit;min-height:46px;background:white}
.dashboard-title{font-size:23px;margin-bottom:4px}
.dashboard-links{margin:8px 0 18px;font-size:14px}
.dashboard-text-button{border:0;background:transparent;color:#584092;text-decoration:underline;padding:8px 0;min-height:40px}
.dashboard-goal{border-top:1px solid #e5e7eb;scroll-margin-top:9rem}
.dashboard-goal:last-child{border-bottom:1px solid #e5e7eb}
.dashboard-goal>summary{cursor:pointer;padding:18px 4px;line-height:1.5}
.dashboard-goal>summary>span{display:inline-flex;flex-direction:column;gap:3px;vertical-align:middle;max-width:calc(100% - 28px)}
.dashboard-goal-status{font-size:13px;color:#526176;font-weight:400}
.dashboard-goal>.route-goal{padding:0 4px 16px}
.dashboard-goal .route-actions{margin:0;align-items:start}
.dashboard-goal .route-action>a{min-height:98px;background:#faf9fc;padding:12px}
.dashboard-goal .route-action:has(details[open]){grid-column:1/-1}
.dashboard-goal .route-action:has(details[open])>a{min-height:0;flex-direction:row;align-items:center;flex-wrap:wrap}
.dashboard-goal .route-parts li{padding:14px 4px}
.dashboard-checks,.dashboard-exam{margin-top:24px}
.dashboard-checks h3{font-size:17px;margin-bottom:8px}
.dashboard-checks>a,.dashboard-exam>a{display:block;padding:8px 0;width:fit-content}

/* One route, one compact progress table. Details contain only actionable parts. */
.learning-route-field{display:grid;gap:8px;font-weight:600;margin:18px 0;max-width:100%}
.learning-route-field select,.learning-route-field input{width:100%;min-width:0;max-width:100%;font:inherit;min-height:48px;padding:10px;border:1px solid #aebac9;border-radius:7px;background:white;color:#243142}
.route-builder{max-width:900px;margin:0 auto}.route-builder p{max-width:700px}.route-builder select{font-size:16px}.route-builder .route-form-fields{margin-bottom:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.route-preview{border-top:1px solid #e5e7eb;margin:24px 0;padding:8px 0}.route-preview h2{font-size:21px}.route-preview h3{font-size:17px;margin:20px 0 6px}.route-preview ul{padding-left:22px;margin-top:6px}.route-preview li{padding:4px 0}.route-preview .muted{font-size:14px}
.route-extra-option{display:flex;align-items:flex-start;gap:10px;margin:18px 0;max-width:700px;font-size:14px;line-height:1.6;cursor:pointer}.route-extra-option input{flex:0 0 auto;width:20px;height:20px;margin:2px 0;accent-color:#6f42c1}
.route-builder .route-form-fields .learning-route-field{margin:6px 0}
.dashboard-main{max-width:1180px}.dashboard-sheet .learning-route-field{max-width:650px;font-size:14px}
.dashboard-table{width:100%;border-collapse:collapse;table-layout:fixed;margin:20px 0 8px;font-size:14px}
.dashboard-table th,.dashboard-table td{text-align:left;vertical-align:top;padding:16px 12px;border-bottom:1px solid #e4e7ec;overflow-wrap:anywhere}
.dashboard-table thead th{font-size:14px;color:#526176;font-weight:600;background:#f8f9fb}
.dashboard-table thead th:first-child{width:36%}.dashboard-table td a{display:block;min-height:44px;text-decoration:none;line-height:1.5;color:#475569}
.dashboard-table td a:hover{text-decoration:underline}.dashboard-table td[data-status=practice] a,.dashboard-table td[data-status=helped] a{color:#88590e}.dashboard-table td[data-status=independent] a{color:#25633d}
.dashboard-table .dashboard-goal-row>th{font-weight:500;line-height:1.5}.dashboard-goal-row>th>a{color:#243142;text-decoration:none}.dashboard-goal-row>th>a:hover{text-decoration:underline}
.dashboard-table .dashboard-group th{padding:24px 12px 10px;font-size:16px;border-bottom:1px solid #d6dbe2;background:white}
.dashboard-details-toggle{display:block;border:0;background:transparent;color:#6042a6;font-size:13px;padding:8px 0;min-height:40px;text-decoration:underline;text-underline-offset:3px}
.scope-note{display:block;font-size:12px;color:#657186;font-weight:400;margin:6px 0 0}
.dashboard-note{font-size:13px;color:#526176;max-width:720px}.dashboard-detail-row>td{background:#faf9fc;padding:8px 20px 18px}
.dashboard-part-list{display:grid;grid-template-columns:1fr 1fr;gap:12px 28px}.dashboard-part-list h4{font-size:15px;margin:16px 0 8px}
.dashboard-part-list ul,.dashboard-prior ul{list-style:none;margin:0;padding:0}.dashboard-part-list li{padding:10px 0;border-top:1px solid #e5e7eb}.dashboard-part-list a{color:#584092!important}.part-status{display:block;font-size:12px;margin-top:3px;color:#526176}
.dashboard-prior{margin-top:26px;border-top:1px solid #e5e7eb;padding-top:12px}.dashboard-prior summary{cursor:pointer;padding:10px 0;font-size:15px;font-weight:600}.dashboard-prior li{display:flex;justify-content:space-between;gap:20px;padding:10px 0;font-size:14px}.dashboard-prior li span{color:#526176}
.dashboard-goal-row{scroll-margin-top:7rem}
@media(max-width:700px){
 .route-builder .route-form-fields{grid-template-columns:1fr}
 .dashboard-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .dashboard-table,.dashboard-table tbody{display:block;width:100%}.dashboard-table .dashboard-group{display:block}.dashboard-table .dashboard-group th{display:block;padding-left:0}
 .dashboard-goal-row{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #d6dbe2;padding:12px 0}
 .dashboard-table .dashboard-goal-row>th{grid-column:1/-1;border:0;padding:8px 0;font-size:15px}.dashboard-table .dashboard-goal-row>td{border:0;padding:8px 10px 4px 0;font-size:13px}
 .dashboard-goal-row>td::before{content:attr(data-label);display:block;color:#334155;font-size:12px;font-weight:600;margin-bottom:4px}
 .dashboard-table .dashboard-detail-row,.dashboard-table .dashboard-detail-row>td{display:block}.dashboard-table .dashboard-detail-row>td{padding:6px 12px 14px}
 .dashboard-part-list{grid-template-columns:1fr;gap:0}.dashboard-prior li{display:block}.dashboard-prior li span{display:block;font-size:12px;margin-top:4px}
}
