/* Member workspace: concise previews, grouped spaces, detail on demand. */
html { scroll-behavior: auto; }
main { max-width: 1160px; padding: 24px 40px 0; margin: 0 auto; }
.preview { padding: 7px 24px; gap: 12px; letter-spacing: .08em; }
.preview span { font-size: 11px; }
.topline { padding-bottom: 16px; }
.topline .pill, .sidebar-bottom>p { display: none; }
.page-heading { padding: 28px 0 22px; }
.page-heading .eyebrow { display: none; }
.page-heading h1 { font-size: 36px; margin: 0; max-width: none; }
.page-heading .intro { font-size: 16px; margin: 8px 0 0; }
.nav-label { margin-top: 24px; }
.nav-group { margin: 16px 12px 0; font-size: 10px; letter-spacing: .1em; color: var(--muted); }
#sidebar nav { gap: 3px; }
.sidebar-bottom { padding-top: 22px; }
.demo-user { margin-top: 20px; }
.focus-strip { background: var(--blush); border-left: 3px solid var(--pink); padding: 22px 25px; border-radius: 0 10px 10px 0; }
.focus-strip .eyebrow { font-size: 10px; margin: 0 0 8px; }
.focus-strip h2 { font-size: 30px; }
.focus-strip>p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 15px; }
.workspace-icon { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; background: #f8f1f4; color: var(--pink); border-radius: 10px; font-size: 23px; }
.next-step { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 21px 22px; margin: 18px 0 26px; border: 1px solid #dcaec1; border-radius: 10px; background: white; text-decoration: none; }
.next-step small { display: block; color: var(--pink); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.next-step strong { display: block; font-size: 17px; }
.next-step strong+span { display: block; color: var(--muted); font-size: 14px; }
.next-step>span:last-child { color: var(--pink); font-size: 23px; }
.next-step:hover { background: #fdf6f9; }
.month-resources h2 { font: 600 17px/1.5 Arial,sans-serif; letter-spacing: 0; margin: 0 0 10px; }
.compact-list { border: 1px solid var(--line); border-radius: 10px; background: white; overflow: hidden; }
.compact-list>a { display: grid; grid-template-columns: 38px minmax(0,1fr) 14px; gap: 16px; align-items: center; padding: 16px 22px; text-decoration: none; }
.compact-list>a+a { border-top: 1px solid var(--line); }
.compact-list>a:hover { background: #fcf7f9; }
.compact-list strong { display: block; font-size: 15px; font-weight: 600; }
.compact-list small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.compact-list>a>span:last-child { font-size: 22px; color: var(--muted); }
.workspace-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 4px; margin: 24px 0; }
.workspace-details summary { cursor: pointer; padding: 16px 0; min-height: 52px; font-size: 15px; font-weight: 600; }
.workspace-details summary>span { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 12px; }
.workspace-details p { font-size: 15px; color: var(--muted); }
.schedule-list { margin: 0; list-style: none; padding: 0; }
.schedule-list li { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.schedule-list small { color: var(--muted); }
.diary-shortcut { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 48px; font-size: 14px; margin-bottom: 24px; color: var(--muted); }
.diary-shortcut>span:last-child { margin-left: auto; }
.collection-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; margin: 26px 0 14px; color: var(--muted); }
.collection-label span { font-weight: 400; letter-spacing: 0; margin-left: 10px; }
.app-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 28px; }
.app-tile { color: var(--ink); border: 1px solid var(--line); border-radius: 12px; background: white; padding: 20px 12px 17px; min-height: 145px; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; text-decoration: none; gap: 10px; }
.app-tile:hover { background: #fcf5f8; border-color: #c788a4; }
.app-icon { width: 46px; height: 46px; border-radius: 12px; color: var(--pink); background: var(--blush); display: grid; place-items: center; font: 26px/1 Arial,sans-serif; flex-shrink: 0; }
.app-tile strong { font: 600 14px/1.4 Arial,sans-serif; max-width: 16ch; }
.app-tile small { font-size: 11px; color: var(--muted); line-height: 1.4; }
.app-featured { border-color: #dbaec1; background: #fffafd; }
.app-featured small { color: var(--pink); }
.tool-detail { width: min(470px,calc(100% - 32px)); max-height: 85dvh; overflow: auto; border: 1px solid var(--line); border-radius: 16px; padding: 28px; color: var(--ink); background: #fffcfd; }
.tool-detail::backdrop { background: rgb(30 20 26 / .35); }
.dialog-close { display: block; margin: -8px -8px 14px auto; min-height: 44px; padding: 8px 12px; background: transparent; color: var(--muted); font-size: 14px; }
.tool-detail h2 { font-size: 28px; }
.tool-detail>p:not(.eyebrow):not(.status-label) { color: var(--muted); font-size: 16px; }
.event-directory { background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 24px 0; }
.event-row+.event-row { border-top: 1px solid var(--line); }
.event-row summary { cursor: pointer; display: grid; grid-template-columns: 52px minmax(0,1fr) 18px; align-items: center; gap: 18px; padding: 22px; list-style: none; }
.event-row summary::-webkit-details-marker { display: none; }
.event-month { padding: 12px 5px; text-align: center; background: var(--blush); border-radius: 8px; color: var(--pink); font-size: 14px; }
.event-row strong { font-size: 16px; display: block; }
.event-row small { font-size: 13px; color: var(--muted); display: block; margin-top: 4px; }
.event-description { padding: 0 22px 22px 92px; }
.event-description p { margin-top: 0; font-size: 15px; color: var(--muted); }
.event-row[open] .expand-mark { transform: rotate(45deg); }
.simple-empty { border: 1px solid var(--line); background: white; border-radius: 12px; padding: 36px 28px; max-width: 700px; margin-bottom: 28px; }
.simple-empty .app-icon { margin-bottom: 22px; }
.simple-empty h2 { font-size: 28px; }
.simple-empty p:not(.eyebrow) { color: var(--muted); max-width: 42ch; font-size: 16px; }
.checkin-layout { display: block; max-width: 790px; }
.checkin-layout .reflection-guide { margin-top: 16px; }
.map-header h2 { font-size: 22px; }
.map-placeholder { display: none; }
.map-footer h2 { font-size: 26px; }
.map-footer p { font-size: 15px; }
.mobile-tabs { display: none; }
@media(max-width:1000px) { .app-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } main { padding-left: 26px; padding-right: 26px; } }
@media(max-width:700px) {
  html { scroll-padding-bottom: 90px; }
  .preview { padding: 6px 16px; gap: 9px; flex-wrap: nowrap; font-size: 9px; }
  .preview>span { width: auto; font-size: 10px; }
  .mobile-header { position: sticky; top: 0; z-index: 5; height: 76px; padding: 10px 16px; }
  .mobile-header img { width: 138px; max-height: 56px; object-fit: contain; }
  #sidebar.open { position: fixed; z-index: 6; top: 108px; left: 12px; right: 12px; max-height: calc(100dvh - 189px); overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px rgb(35 20 28 / .12); }
  main { padding: 0 16px 88px; }
  .topline { display: none; }
  .page-heading { padding: 23px 0 19px; }
  .page-heading h1 { font-size: 30px; }
  .page-heading .intro { font-size: 15px; line-height: 1.5; }
  .focus-strip { padding: 17px 19px; }
  .focus-strip h2 { font-size: 27px; }
  .focus-strip>p:last-child { font-size: 14px; line-height: 1.5; }
  .next-step { padding: 16px; gap: 12px; margin: 14px 0 23px; }
  .next-step strong { font-size: 15px; }
  .next-step strong+span { font-size: 12px; line-height: 1.5; margin-top: 2px; }
  .compact-list>a { padding: 14px 16px; gap: 12px; }
  .compact-list small { font-size: 12px; line-height: 1.5; }
  .workspace-details summary>span { display: block; margin: 3px 0 0 17px; }
  .schedule-list li { grid-template-columns: 75px 1fr; gap: 5px 12px; }
  .schedule-list small { grid-column: 2; }
  .app-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
  .app-tile { min-height: 130px; padding: 16px 8px 12px; gap: 9px; }
  .app-tile strong { font-size: 12px; }
  .app-tile small { font-size: 10px; }
  .app-icon { width: 42px; height: 42px; font-size: 24px; }
  .collection-label { margin-top: 20px; }
  .event-row summary { grid-template-columns: 44px minmax(0,1fr) 14px; padding: 17px 14px; gap: 12px; }
  .event-row strong { font-size: 15px; }
  .event-row small { font-size: 12px; }
  .event-description { padding: 0 18px 18px; }
  .momentum-map { padding: 20px; }
  .map-stages { grid-template-columns: 1fr; }
  .map-header h2 { font-size: 20px; }
  .mobile-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; position: fixed; z-index: 5; bottom: 0; left: 0; right: 0; padding: 5px 8px max(5px,env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fffcfd; }
  .mobile-tabs a { min-height: 56px; padding: 4px 2px; display: flex; flex-direction: column; gap: 0; font-size: 10px; border-radius: 7px; justify-content: center; text-align: center; }
  .mobile-tabs a .mobile-tab-icon { font-size: 23px; line-height: 1.2; }
  footer { font-size: 9px; }
}
@media(max-width:360px) { .app-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }

/* Personal journey: the assessment is context; milestones measure the chosen goal. */
.journey-preview { font-size: 12px; color: var(--muted); margin: 0 0 20px; }
.journey-goal { padding: 24px; background: var(--blush); border-radius: 12px; }
.journey-goal .eyebrow { margin-bottom: 8px; font-size: 10px; }
.journey-goal h2 { font-size: 29px; max-width: 35ch; overflow-wrap: anywhere; }
.journey-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 17px; font-size: 12px; color: var(--muted); }
#journey-direction { color: #9a164e; font-weight: 600; }
.journey-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 32px; margin-top: 26px; }
.journey-route { padding: 8px 0; }
.journey-origin, .journey-finish { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 16px; }
.journey-origin strong, .journey-origin span:not(.origin-dot) { display: block; }
.journey-origin small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.journey-origin strong { font-size: 16px; }
.journey-origin div>span { font-size: 13px; color: var(--muted); }
.origin-dot { width: 12px; height: 12px; border: 2px solid #b9a2ad; background: white; border-radius: 50%; margin: auto; }
#journey-stops { margin: 0; padding: 18px 0 0; list-style: none; position: relative; }
#journey-stops:before { content: ''; position: absolute; left: 18px; top: 0; bottom: -18px; width: 2px; background: var(--line); }
#journey-stops li { position: relative; display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 16px; align-items: center; min-height: 86px; padding: 12px 12px 12px 0; }
.journey-marker { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); background: #fcfaf9; border-radius: 50%; font-size: 14px; color: var(--muted); }
#journey-stops strong { display: block; font-size: 15px; font-weight: 500; }
#journey-stops small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
#journey-stops .is-current { background: linear-gradient(90deg,transparent 18px,#f8edf2 18px); border-radius: 0 10px 10px 0; }
#journey-stops .is-current .journey-marker { background: var(--pink); color: white; border-color: var(--pink); box-shadow: 0 0 0 4px #fcfaf9; }
#journey-stops .is-current strong { font-weight: 700; }
#journey-stops .is-current small { color: #9a164e; font-weight: 600; }
#journey-stops .is-complete .journey-marker { color: var(--pink); background: #f8edf2; border-color: #dcaec1; }
.journey-finish { margin-top: 22px; }
.journey-finish>span { font-size: 27px; text-align: center; color: var(--pink); z-index: 1; background: #fcfaf9; }
.journey-finish strong { display: block; font: 23px/1.3 Georgia,serif; }
.journey-finish div>span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.journey-finish.reached { padding: 15px 10px 15px 0; border-radius: 10px; background: var(--blush); }
.journey-finish.reached>span { background: transparent; }
.journey-next { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: white; }
.journey-next .eyebrow { font-size: 10px; margin-bottom: 10px; }
.journey-next h2 { font-size: 25px; }
.journey-next p:not(.eyebrow) { font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.journey-editor { margin: 16px 0; }
.journey-editor form { padding: 0 0 20px; }
.journey-editor label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 8px; }
.journey-editor label>span { font-weight: 400; }
.journey-editor input:not([type=checkbox]), .journey-editor textarea, .journey-editor select { width: 100%; min-width: 0; border: 1px solid #b9a5ae; border-radius: 6px; background: white; font: 16px/1.5 Arial,sans-serif; padding: 11px; color: var(--ink); }
.journey-editor textarea { resize: vertical; }
.journey-editor .journey-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; }
.journey-check input { width: 19px; height: 19px; accent-color: var(--pink); flex-shrink: 0; }
.journey-editor .button { margin-top: 16px; width: 100%; }
#journey-status { font-size: 14px; color: #78354f; overflow-wrap: anywhere; }
#journey-status:empty { display: none; }
#journey-history { list-style: none; margin: 0; padding: 0 0 12px; }
#journey-history li { padding: 17px 0; border-top: 1px solid var(--line); }
#journey-history small { display: block; color: var(--muted); font-size: 11px; }
#journey-history strong { display: block; font-size: 15px; margin-top: 5px; }
#journey-history p { font-size: 14px; margin: 6px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.assessment-key { display: grid; gap: 10px; margin: 20px 0; }
.assessment-key>div { display: flex; gap: 15px; font-size: 14px; }
.assessment-key strong { min-width: 85px; }
.assessment-key span { color: var(--muted); }
@media(max-width:950px) {
  .journey-layout { grid-template-columns: 1fr; gap: 25px; }
  .journey-goal { padding: 21px; }
  .journey-goal h2 { font-size: 26px; }
  .journey-next { padding: 21px; }
}

.assessment-launcher { display: flex; align-items: center; justify-content: space-between; gap: 22px; background: white; border: 1px solid var(--line); padding: 22px; border-radius: 12px; margin-bottom: 22px; }
.assessment-launcher .eyebrow { margin-bottom: 8px; font-size: 10px; }
.assessment-launcher h2 { font-size: 26px; }
.assessment-launcher p:last-child { margin: 8px 0 0; }
.assessment-launcher .button { flex-shrink: 0; }
#member-assessment { max-width: 720px; padding-bottom: 32px; }
.assessment-notice { font-size: 13px; color: var(--muted); margin: 16px 0 24px; }
.assessment-progress-label { font-size: 12px; color: var(--pink); margin-bottom: 8px; }
#member-assessment progress { display: block; width: 100%; height: 6px; accent-color: var(--pink); margin: 0 0 30px; border: 0; border-radius: 10px; background: var(--blush); }
#member-assessment progress::-webkit-progress-bar { background: var(--blush); border-radius: 10px; }
#member-assessment progress::-webkit-progress-value { background: var(--pink); border-radius: 10px; }
#member-assessment fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
#member-assessment legend { font: 29px/1.3 Georgia,serif; padding: 0; margin-bottom: 20px; scroll-margin-top: 110px; }
#member-result-title { scroll-margin-top: 110px; }
.member-answer-options { display: grid; gap: 10px; }
.member-answer-options label { display: flex; gap: 12px; align-items: center; min-height: 56px; border: 1px solid var(--line); border-radius: 8px; background: white; padding: 13px 16px; cursor: pointer; font-size: 16px; line-height: 1.5; }
.member-answer-options input { width: 18px; height: 18px; accent-color: var(--pink); flex-shrink: 0; margin: 0; }
.member-answer-options label:has(input:checked) { border-color: var(--pink); background: var(--blush); }
.assessment-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.assessment-actions .outline-action { margin-right: auto; }
.member-result { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.member-result h2 { font-size: 38px; color: var(--pink); }
.member-result .result-need { font-weight: 600; font-size: 16px; }
.member-result p { font-size: 16px; }
.member-result h3 { font-size: 24px; margin-top: 24px; }
.member-result .button { margin-top: 14px; }
.assessment-history { list-style: none; padding: 0; }
.assessment-history li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding: 14px 0; font-size: 14px; }
.assessment-history span { color: var(--muted); }
@media(max-width:700px) {
  .assessment-launcher { display: block; padding: 20px; }
  .assessment-launcher .button { width: 100%; margin-top: 16px; }
  #member-assessment legend { font-size: 25px; }
  .member-result { padding: 22px; }
}
