.gs-page { max-width: 1200px; padding-top: 2rem; padding-bottom: 3rem; }
.gs-welcome { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 3rem; align-items: center; padding: 2.5rem; margin-bottom: 2rem; background: #fff; border: 1px solid #e4e9f0; border-radius: 1rem; }
.gs-eyebrow { color: #50637a; font-size: .72rem; font-weight: 700; letter-spacing: .07em; line-height: 1.6; text-transform: uppercase; }
.gs-eyebrow span { padding: 0 .5rem; color: #a8b4c4; }
.gs-welcome h1 { max-width: 570px; margin: .75rem 0 1rem; font-size: clamp(1.8rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.gs-lead { max-width: 490px; margin: 0; color: #50637a; font-size: 1.05rem; line-height: 1.7; }
.gs-welcome-note { border-left: 1px solid #e4e9f0; padding-left: 2.5rem; }
.gs-note-icon { display: inline-flex; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; margin-bottom: .8rem; border-radius: .8rem; color: #50637a; background: #f1f5f9; font-size: 1.2rem; }
.gs-welcome-note h2 { margin: 0 0 .55rem; font-size: 1.1rem; font-weight: 700; }
.gs-welcome-note p { margin: 0; color: #50637a; font-size: .9rem; line-height: 1.7; }
.gs-preview { display: inline-block; margin-top: 1rem; padding: .2rem .65rem; border: 1px solid #bdccdb; border-radius: 1rem; color: #50637a; font-size: .75rem; font-weight: 600; }
.gs-preview-note { margin: .5rem 0 0; color: #50637a; font-size: .8rem; }
.gs-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1.25rem; }
.gs-section-heading h2 { margin: 0 0 .4rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.gs-section-heading p { margin: 0; color: #50637a; font-size: .9rem; }
.gs-back-link { font-size: .85rem; }
.gs-back-link i { margin-right: .4rem; }
.gs-journeys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1.25rem; }
.gs-journey { min-width: 0; overflow: hidden; border: 1px solid #e4e9f0; border-radius: .85rem; padding: 1.5rem; background: #fff; scroll-margin-top: 6rem; }
.gs-journey-active { box-shadow: 0 0 0 2px #ccd8e5; }
.gs-journey-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 2rem; margin-bottom: 1rem; }
.gs-journey-number { color: #64758b; font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
.gs-active-label { border-radius: 1rem; padding: .25rem .65rem; color: #42566d; background: #edf2f7; font-size: .7rem; font-weight: 600; }
.gs-journey h3 { margin: 0 0 .6rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.gs-journey-summary { min-height: 3rem; margin-bottom: 1.1rem; color: #50637a; font-size: .9rem; line-height: 1.6; }
.gs-progress-copy { color: #50637a; font-size: .73rem; line-height: 1.5; }
.gs-progress-copy span { white-space: nowrap; }
.gs-progress { display: block; width: 100%; height: .3rem; overflow: hidden; margin: .55rem 0 1.25rem; border: 0; border-radius: .5rem; background: #edf2f7; color: #5a7b75; accent-color: #5a7b75; }
.gs-progress::-webkit-progress-bar { background: #edf2f7; border-radius: .5rem; }
.gs-progress::-webkit-progress-value { background: #5a7b75; border-radius: .5rem; }
.gs-progress::-moz-progress-bar { background: #5a7b75; border-radius: .5rem; }
.gs-action { display: inline-flex; margin: 0; }
.gs-action .btn { white-space: normal; }
.gs-journey-actions, .gs-checkpoint-actions, .gs-context-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.gs-steps { margin-top: 1.4rem; border-top: 1px solid #edf2f7; }
.gs-steps > summary { display: list-item; cursor: pointer; padding: 1rem 0 .1rem; color: #42566d; font-size: .85rem; font-weight: 600; }
.gs-steps > summary span { margin-left: .5rem; color: #64758b; font-weight: 400; }
.gs-start-note { margin: .8rem 0 0; color: #50637a; font-size: .78rem; line-height: 1.6; }
.gs-checkpoints { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.gs-checkpoint { display: flex; gap: .8rem; border-top: 1px solid #edf2f7; padding: 1.15rem 0; }
.gs-checkpoint:first-child { border-top: 0; padding-top: .2rem; }
.gs-checkpoint:last-child { padding-bottom: 0; }
.gs-checkpoint-icon { display: inline-flex; flex-shrink: 0; width: 1.6rem; height: 1.6rem; align-items: center; justify-content: center; border: 1px solid #bdccdb; border-radius: 50%; color: #50637a; font-size: .65rem; font-weight: 700; }
.gs-checkpoint-reviewed .gs-checkpoint-icon, .gs-checkpoint-completed .gs-checkpoint-icon { color: #315e53; border-color: #d7e8e1; background: #edf6f1; }
.gs-checkpoint-skipped .gs-checkpoint-icon { background: #f4f6f9; }
.gs-checkpoint-content { min-width: 0; flex: 1; }
.gs-checkpoint-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem .65rem; margin-bottom: .4rem; }
.gs-checkpoint h4 { margin: 0; font-size: .9rem; font-weight: 700; line-height: 1.5; }
.gs-state { color: #64758b; font-size: .67rem; }
.gs-checkpoint p { margin-bottom: .65rem; color: #50637a; font-size: .82rem; line-height: 1.65; }
.gs-tool-link { display: inline-block; margin-right: .25rem; font-size: .82rem; font-weight: 600; }
.gs-tool-link span { margin-left: .3rem; }
.gs-restart { margin-top: 1.3rem; color: #64758b; font-size: .75rem; }
.gs-restart > summary { cursor: pointer; }
.gs-restart > div { margin-top: .7rem; padding: .8rem; border-radius: .5rem; background: #f4f6f9; }
.gs-restart p { margin-bottom: .65rem; line-height: 1.6; }
.gs-preferences { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; padding: 1.5rem 0 0; border-top: 1px solid #dce4ec; }
.gs-preferences h2 { margin: 0 0 .4rem; font-size: .95rem; font-weight: 700; }
.gs-preferences p { max-width: 660px; margin: 0; color: #50637a; font-size: .85rem; line-height: 1.6; }
.gs-notice { margin: 1rem 0; padding: .85rem 1rem; border: 1px solid #d7e1eb; border-radius: .5rem; background: #f4f7fa; color: #42566d; font-size: .85rem; line-height: 1.6; }
.gs-notice-error { border-color: #edc5c2; background: #fdf3f2; color: #83382e; }
.gs-notice[hidden] { display: none; }
.gs-request-status { margin: .5rem 0; color: #50637a; font-size: .8rem; }
.gs-request-status:empty { display: none; }
.gs-empty { grid-column: 1 / -1; padding: 2rem; border: 1px solid #e4e9f0; border-radius: .85rem; background: #fff; }
.gs-empty h3 { font-size: 1.2rem; }
.gs-empty p { color: #50637a; line-height: 1.6; }
.gs-context { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin: 1.25rem auto; padding: 1.25rem 1.5rem; max-width: 1200px; border: 1px solid #dce4ec; border-left: 3px solid #8aa7a1; border-radius: .65rem; background: #fff; }
.gs-context-copy { flex: 1 1 340px; min-width: 0; }
.gs-context h2 { margin: .45rem 0 .4rem; font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.gs-context p { max-width: 650px; margin-bottom: 0; color: #50637a; font-size: .85rem; line-height: 1.65; }
.gs-context .gs-context-note { margin-top: .5rem; }
.gs-context-controls { flex: 0 1 auto; min-width: 0; }
.gs-context-quiet { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; margin-top: .5rem; }
.gs-context-quiet > a, .gs-context-quiet .btn-link { padding: .3rem 0; color: #50637a; font-size: .75rem; text-decoration: underline; }
.gs-invitation { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; max-width: 1200px; margin: 1.25rem auto; padding: 1.25rem 1.5rem; border: 1px solid #dce4ec; border-radius: .65rem; background: #fff; }
.gs-invitation-copy { flex: 1 1 340px; min-width: 0; }
.gs-invitation h2 { margin: .45rem 0 .4rem; font-size: 1.05rem; font-weight: 700; }
.gs-invitation p { max-width: 620px; margin-bottom: 0; color: #50637a; font-size: .85rem; line-height: 1.65; }
.gs-invitation-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.gs-inline-saved .gs-context-copy > p:not([data-guidance-status]):not([data-guidance-error]), .gs-inline-saved .gs-invitation-copy > p:not([data-guidance-status]):not([data-guidance-error]) { display: none; }
.gs-page a:focus-visible, .gs-page button:focus-visible, .gs-page summary:focus-visible, .gs-context a:focus-visible, .gs-context button:focus-visible, .gs-invitation a:focus-visible, .gs-invitation button:focus-visible { outline: 3px solid #506f93; outline-offset: 3px; }
@media (max-width: 767px) {
    .gs-page { padding-top: 1rem; }
    .gs-welcome { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem; }
    .gs-welcome-note { border-left: 0; border-top: 1px solid #e4e9f0; padding: 1.25rem 0 0; }
    .gs-note-icon { display: none; }
    .gs-journeys { grid-template-columns: minmax(0, 1fr); }
    .gs-journey { padding: 1.25rem; }
    .gs-journey-summary { min-height: 0; }
    /* Clear the fixed 60px assistant launcher, its 10px inset and focus/hover space. */
    .gs-context { margin: 1rem 80px 1rem 1rem; padding: 1rem; }
    .gs-context-copy { flex-basis: 100%; }
    .gs-context-controls { width: 100%; }
    .gs-invitation { margin: 1rem; padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .gs-page *, .gs-context *, .gs-invitation * { scroll-behavior: auto; transition: none; }
}

.gs-next { margin: 1.5rem 0 2rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid #cbd5e1; border-radius: 1rem; background: #fff; }
.gs-next h2 { font-size: 1rem; color: #475569; }
.gs-next h3 { margin-top: 1rem; }
.gs-next > a { margin: .5rem .75rem .5rem 0; white-space: normal; }
.gs-alternatives { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1rem; }
.gs-advisor { margin-top: 1.5rem; }
.gs-advisor p, .gs-readiness { color: #475569; font-size: .9rem; }
.gs-readiness-list { padding: 1.25rem; margin: 1.5rem 0; background: #fff; border: 1px solid #dce4ec; border-radius: .65rem; }
.gs-readiness-list h2 { font-size: 1.2rem; }
.gs-readiness-list h3 { font-size: 1rem; margin: .5rem 0; }
.gs-readiness-list ol { padding-left: 1.25rem; }
.gs-readiness-list li { margin: 1rem 0; padding: .5rem; }
.gs-readiness-fact { display: block; font-size: .85rem; }
.gs-field-help { margin: .75rem 0; color: #42566d; font-size: .85rem; line-height: 1.65; }
.gs-field-help summary { cursor: pointer; font-weight: 600; }
.gs-field-help ul { padding-left: 1.2rem; margin: .5rem 0; }
.gs-field-help li { margin-bottom: .6rem; }
.gs-form-help { padding: .85rem; margin-bottom: 1rem; background: #f4f7fa; border: 1px solid #dce4ec; border-radius: .5rem; }
.gs-form-help p { font-size: .8rem; margin: .5rem 0 0; }
.gs-inline-saved .gs-field-help, .gs-form-help[hidden] { display: none; }
.gs-next a:focus-visible, .gs-next button:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
