/* Landing, read-only tour and profile review. Loaded only on their own pages. */
body[data-page=profile] [hidden],body[data-page=tour] [hidden] {display:none!important;}
.tour-page {padding-block:28px 60px;max-width:1180px;}
.tour-top {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;}
.tour-top a {min-height:44px;display:inline-flex;align-items:center;}
.tour-page progress,#profileFlow progress {width:100%;height:6px;accent-color:var(--forest);margin-bottom:32px;}
.tour-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;margin-top:30px;}
.tour-grid h1 {font-size:44px;line-height:1.15;letter-spacing:-.035em;}
.tour-grid .lede {font-size:20px;margin-block:24px;}
.tour-grid .minis {display:grid;grid-template-columns:1fr;gap:16px;}
.tour-pagination {margin-top:32px;}
.tour-filter-example {display:flex;flex-wrap:wrap;gap:8px;}.tour-filter-example span {padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);}
.tour-stages {padding:20px;background:var(--subtle);line-height:2;}.tour-stat strong {display:block;font-size:48px;}
#profileFlow {padding:24px 0;}#profileFlow h1 {font-size:32px;line-height:1.2;letter-spacing:-.025em;margin:0 0 12px;}
#profileFlow .actions {margin-top:24px;}
#profileFlow > p {max-width:70ch;}
.profile-step-summary {margin-top:24px;border-block:1px solid var(--border);padding-block:24px;}
.profile-read-records {display:grid;gap:20px;}.profile-read-records > div {padding:16px;background:var(--subtle);border-radius:8px;}
.profile-read-records p {white-space:pre-line;margin-block:6px;overflow-wrap:anywhere;}.profile-read-records h3 {font-size:18px;margin-bottom:8px;}
.profile-read-group {margin-bottom:20px;}.profile-read-group li {margin-block:10px;}
.profile-view-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}.profile-view-grid > .panel-card {min-width:0;}
.profile-read-preferences > div {display:grid;grid-template-columns:150px 1fr;gap:12px;padding-block:10px;border-bottom:1px solid var(--border);}.profile-read-preferences dt {font-weight:650;}.profile-read-preferences dd {margin:0;}
.profile-save-top {position:sticky;top:var(--app-header-height);z-index:5;padding:12px;background:var(--surface);border-bottom:1px solid var(--border);margin-bottom:24px;}
body[data-page=profile] .profile-side {top:calc(var(--app-header-height) + 88px);max-height:calc(100dvh - var(--app-header-height) - 100px);overflow:auto;}
body[data-page=profile] .profile-content section {scroll-margin-top:calc(var(--app-header-height) + 90px);}
#selectedInterests [data-specialism-row], [data-level-group] > [data-specialism-row] {padding:10px;background:var(--subtle);border-radius:8px;display:grid;gap:4px;margin-top:8px;}
[data-specialism-row] label {display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,1fr);gap:16px;align-items:center;}[data-specialism-row] select {width:100%;min-width:0;}
[data-specialism-catalogue] {max-height:420px;overflow:auto;}[data-specialism-catalogue] [data-specialism-row] {padding:10px 0;border-bottom:1px solid var(--border);}
.add-specialism summary {min-height:44px;padding-block:12px;cursor:pointer;font-weight:650;}
.skill-comparison-row {gap:12px;flex-wrap:wrap;}.skill-comparison-row .btn {font-size:13px;min-height:36px;}
@media(max-width:767px){.tour-grid {grid-template-columns:minmax(0,1fr);gap:32px;}.tour-grid h1 {font-size:32px;}.tour-grid .lede {font-size:18px;}.tour-page {padding-inline:20px;}.tour-top {font-size:13px;gap:8px;}.profile-view-grid {grid-template-columns:minmax(0,1fr);}.profile-read-preferences > div {grid-template-columns:1fr;gap:4px;}[data-specialism-row] label {grid-template-columns:minmax(0,1fr);gap:6px;}.profile-save-top {padding:8px;}.profile-save-top span {display:none;}#profileFlow {padding-top:8px;}#profileFlow h1 {font-size:27px;}body[data-page=profile] .profile-side {position:static;max-height:none;}}

.profile-setup #profileForm h2,.profile-setup #cv-import > .section-heading {display:none;}

#cvEditorWrap > summary {cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:650;}
#cvEditorWrap[hidden],#cvEditorWrap > summary[hidden] {display:none!important;}
.profile-setup #cvEditorWrap {border:0;padding:0;box-shadow:none;background:none;}
@media(min-width:1024px){.profile-step-summary:has(.profile-read-group) {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}}
