/* Screen styles for learner_grow (Worker B): onboarding, assessment, recommendations,
   profile, documents and settings. Values copied from Sterling Connect.dc.html. */

/* ---- Headings ---- */
.g-eyebrow { display: flex; align-items: center; gap: 10px; font: 600 12px/16px 'DM Sans', var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #127A00; }
.g-eyebrow > span:first-child { width: 20px; height: 3px; background: #31FE01; flex: none; }
.g-title { margin: 10px 0 6px; font: 800 36px/44px 'Plus Jakarta Sans', var(--f-head); letter-spacing: -.02em; color: #01204E; }

/* ---- Buttons ---- */
.g-btn-navy, .g-btn-outline, .g-btn-white, .g-btn-ondark, .g-btn-ghost, .g-btn-start, .g-next, .g-up-btn, .g-del-go, .g-chip-btn, .g-filter {
  border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; white-space: nowrap; font-family: 'DM Sans', var(--f-body);
}
.g-btn-navy { border: none; background: #01204E; color: #FFFFFF; font: 600 15px/20px 'DM Sans'; gap: 8px; }
.g-btn-navy:hover { background: #0D2F63; color: #FFFFFF; text-decoration: none; }
.g-btn-outline { border: 1.5px solid #01204E; background: #FFFFFF; color: #01204E; font: 600 15px/20px 'DM Sans'; gap: 6px; }
.g-btn-outline:hover { background: #F2F5FA; color: #01204E; text-decoration: none; }
.g-btn-white { height: 48px; padding: 0 22px; border: none; background: #FFFFFF; color: #01204E; font: 600 15px/20px 'DM Sans'; gap: 10px; }
.g-btn-white:hover { background: #E3E9F3; color: #01204E; text-decoration: none; }
.g-btn-ondark { height: 48px; padding: 0 22px; border: 1.5px solid #7189B8; background: transparent; color: #FFFFFF; font: 600 15px/20px 'DM Sans'; }
.g-btn-ondark:hover { border-color: #FFFFFF; }
.g-btn-ghost { border: none; background: transparent; color: #01204E; gap: 8px; }
.g-btn-ghost:hover { background: #F2F5FA; color: #01204E; text-decoration: none; }
.g-btn-start { height: 52px; border: none; background: #01204E; color: #FFFFFF; font: 600 16px/20px 'DM Sans'; gap: 10px; width: 100%; }
.g-btn-start:hover { background: #0D2F63; }
.g-chip-btn { height: 40px; padding: 0 14px; border: 1px solid #E6EAF0; background: #FFFFFF; color: #01204E; font: 600 14px/18px 'DM Sans'; }
.g-chip-btn:hover { background: #F2F5FA; color: #01204E; text-decoration: none; }
.g-icon-btn { width: 40px; height: 40px; border: 1px solid #E6EAF0; border-radius: 999px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.g-icon-btn:hover { background: #F2F5FA; }
.g-row-link { text-decoration: none; }
.g-row-link:hover { background: #F7F8FA; text-decoration: none; color: inherit; }
.g-course-link { background: #F7F8FA; text-decoration: none; }
.g-course-link:hover { background: #F2F5FA; text-decoration: none; color: inherit; }

/* ---- Assessment ---- */
.g-opt { text-align: left; padding: 16px; border-radius: 20px; border: 1.5px solid #E6EAF0; background: #FFFFFF; display: flex; flex-direction: column; gap: 10px; cursor: pointer; font-family: 'DM Sans', var(--f-body); }
.g-opt:hover { border-color: #01204E; }
.g-opt-n { width: 30px; height: 30px; border-radius: 50%; background: #F2F5FA; color: #01204E; font: 700 13px/30px 'Plus Jakarta Sans'; text-align: center; }
.g-opt.on { border-color: #01204E; background: #F2F5FA; }
.g-opt.on .g-opt-n { background: #01204E; color: #FFFFFF; }
.g-next { height: 48px; padding: 0 22px; border: none; background: #DFE3EA; color: #6B7485; font: 600 15px/20px 'DM Sans'; gap: 10px; }
.g-next .ic { color: #6B7485; }
.g-next.ready { background: #01204E; color: #FFFFFF; }
.g-next.ready .ic { color: #FFFFFF; }
.g-next.ready:hover { background: #0D2F63; color: #FFFFFF; text-decoration: none; }
.g-next[aria-disabled="true"] { pointer-events: none; }
.g-q-saving { color: #6B7485; }

.g-band-emerging { background: #FFF3DC; color: #7A4600; }
.g-band-developing { background: #E3E9F3; color: #01204E; }
.g-band-ready { background: #E4FFD9; color: #0E5C00; }
.g-band-strong { background: #01204E; color: #FFFFFF; }
.g-band-emerging-bar { background: #A15C00; }
.g-band-developing-bar { background: #34589A; }
.g-band-ready-bar { background: #127A00; }
.g-band-strong-bar { background: #01204E; }

/* ---- Cards and fields ---- */
.g-card { background: #FFFFFF; border: 1px solid #E6EAF0; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; }
.g-card-title { font: 700 18px/24px 'Plus Jakarta Sans', var(--f-head); color: #01204E; }
.g-label { font: 600 14px/20px 'DM Sans', var(--f-body); color: #01204E; }
.g-panel { display: flex; flex-direction: column; gap: 16px; }
.g-input { height: 48px; padding: 0 14px; border: 1px solid #C5CBD5; border-radius: 14px; font-size: 16px; color: #121826; outline: none; background: #FFFFFF; font-family: 'DM Sans', var(--f-body); }
.g-input:focus, .g-select:focus { border-color: #01204E; box-shadow: 0 0 0 3px rgba(1, 32, 78, .12); }
.g-select-wrap { position: relative; }
.g-select { width: 100%; height: 48px; padding: 0 40px 0 14px; border: 1px solid #C5CBD5; border-radius: 14px; font-size: 16px; color: #121826; background: #FFFFFF; appearance: none; -webkit-appearance: none; outline: none; font-family: 'DM Sans', var(--f-body); }
.g-select-wrap .g-caret { position: absolute; right: 14px; top: 14px; pointer-events: none; display: block; }
.g-error { font-size: 13px; line-height: 18px; color: #C0362C; font-weight: 500; }
[data-start-pathway] { display: flex; flex-direction: column; gap: 8px; }
[data-hidden] { display: none; }

/* Pill chips (multi-select) */
.g-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.g-chip { position: relative; display: inline-flex; }
.g-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.g-chip span { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #C5CBD5; background: #FFFFFF; color: #01204E; font: 600 13px/34px 'DM Sans', var(--f-body); cursor: pointer; white-space: nowrap; user-select: none; }
.g-chip input:checked + span { background: #01204E; border-color: #01204E; color: #FFFFFF; }
.g-chip input:focus-visible + span { outline: 3px solid #31FE01; outline-offset: 2px; }
.g-chip input:disabled:not(:checked) + span { opacity: .5; cursor: not-allowed; }
.g-more { display: flex; }
.g-more-select { height: 36px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px dashed #C5CBD5; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%2301204E'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; color: #01204E; font: 600 13px/18px 'DM Sans', var(--f-body); appearance: none; -webkit-appearance: none; cursor: pointer; max-width: 100%; }

/* Segmented control */
.g-seg { display: flex; padding: 4px; background: #EEF0F4; border-radius: 999px; gap: 4px; flex-wrap: wrap; align-self: flex-start; }
.g-seg-opt { position: relative; display: inline-flex; }
.g-seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.g-seg-opt span { height: 36px; padding: 0 14px; border-radius: 999px; background: transparent; color: #3A4352; font: 600 13px/36px 'DM Sans', var(--f-body); cursor: pointer; white-space: nowrap; }
.g-seg-opt input:checked + span { background: #FFFFFF; color: #01204E; box-shadow: 0 1px 3px rgba(1, 32, 78, .12); }
.g-seg-opt input:focus-visible + span { outline: 3px solid #31FE01; outline-offset: 2px; }
.g-card:has(input[name="sector_mode"][value="specific"]:checked) [data-reveal-target="sectors"],
.g-card:has(input[name="function_mode"][value="specific"]:checked) [data-reveal-target="functions"] { display: block; }
form:has(input[name="pathway"][value="both"]:checked) [data-start-pathway] { display: flex; }

.g-auth-row { display: flex; gap: 12px 20px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid #EEF0F4; }

/* Profile tabs */
.g-ptabs { display: flex; padding: 4px; background: #EEF0F4; border-radius: 999px; gap: 4px; flex-wrap: wrap; align-self: flex-start; }
.g-ptab { height: 40px; padding: 0 16px; border: none; border-radius: 999px; background: transparent; color: #3A4352; font: 600 14px/18px 'DM Sans', var(--f-body); display: flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; }
.g-ptab:hover { text-decoration: none; color: #01204E; }
.g-ptab[aria-selected="true"] { background: #FFFFFF; color: #01204E; box-shadow: 0 1px 3px rgba(1, 32, 78, .12); }
.g-ptab .g-ptab-on { display: none; }
.g-ptab[aria-selected="true"] .g-ptab-on { display: inline-flex; }
.g-ptab[aria-selected="true"] .g-ptab-off { display: none; }
.g-ptab-ic { display: inline-flex; }

/* Pathway cards (onboarding, settings) */
.g-path { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 20px; border: 1.5px solid #E6EAF0; background: #FFFFFF; cursor: pointer; }
.g-path input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.g-path .g-radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #01204E; display: flex; align-items: center; justify-content: center; flex: none; margin-top: 2px; }
.g-path .g-radio span { width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.g-path:has(input:checked) { border-color: #01204E; background: #F2F5FA; }
.g-path input:checked ~ .g-radio span { background: #01204E; }
.g-path:has(input:focus-visible) { outline: 3px solid #31FE01; outline-offset: 2px; }

/* ---- Documents ---- */
.g-drop { width: 100%; border: 1.5px dashed #C5CBD5; border-radius: 24px; background: #FFFFFF; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; font-family: 'DM Sans', var(--f-body); }
.g-drop:hover { border-color: #01204E; background: #F7F8FA; }
.g-js [data-upload-panel]:not([data-open]) { display: none !important; }
.g-file { position: relative; border: 1.5px dashed #C5CBD5; border-radius: 16px; background: #F7F8FA; padding: 18px; display: flex; gap: 14px; align-items: center; cursor: pointer; }
.g-file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.g-file[data-chosen] { border-color: #01204E; }
.g-file[data-bad] { border-color: #C0362C; }
.g-file:focus-within { outline: 3px solid #31FE01; outline-offset: 2px; }
.g-up-btn { height: 44px; padding: 0 20px; border: none; background: #DFE3EA; color: #6B7485; font: 600 15px/20px 'DM Sans'; }
[data-upload-panel]:valid .g-up-btn { background: #01204E; color: #FFFFFF; }
.g-filter { height: 40px; padding: 0 14px; border: 1px solid #E6EAF0; background: #FFFFFF; color: #01204E; font: 600 14px/18px 'DM Sans'; }
.g-filter:hover { text-decoration: none; color: #01204E; border-color: #01204E; }
.g-filter.on { background: #01204E; border-color: #01204E; color: #FFFFFF; }
.g-del > summary, .g-acct-del > summary { list-style: none; }
.g-del > summary::-webkit-details-marker, .g-acct-del > summary::-webkit-details-marker { display: none; }
.g-del-ask { height: 40px; padding: 0 14px; border-radius: 999px; background: transparent; color: #9E2A21; font: 600 14px/40px 'DM Sans', var(--f-body); cursor: pointer; display: inline-block; }
.g-del-ask:hover { background: #FDECEA; }
.g-del[open] > summary, .g-acct-del[open] > summary { display: none; }
.g-doc-actions:has(.g-del[open]) > .g-icon-btn { display: none; }
.g-del-go { height: 36px; padding: 0 14px; border: none; background: #C0362C; color: #FFFFFF; font: 600 14px/18px 'DM Sans'; }
.g-del-go:hover { background: #9E2A21; }
.g-acct-ask { align-self: flex-start; height: 40px; padding: 0 16px; border: 1.5px solid #C0362C; border-radius: 999px; background: #FFFFFF; color: #9E2A21; font: 600 14px/37px 'DM Sans', var(--f-body); cursor: pointer; display: inline-block; }

/* ---- Settings ---- */
.g-js .g-nojs-save { display: none; }

/* ---- Onboarding steps ---- */
.g-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.g-step { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.g-step:not(:last-child)::after { content: ''; flex: 1; height: 2px; border-radius: 2px; background: #E3E9F3; min-width: 12px; }
.g-step-done:not(:last-child)::after { background: #01204E; }
.g-step-in { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
a.g-step-in:hover { text-decoration: none; }
a.g-step-in:hover .g-step-label { color: #01204E; text-decoration: underline; }
.g-step-n { width: 28px; height: 28px; border-radius: 50%; background: #F2F5FA; color: #01204E; font: 700 12px/28px 'Plus Jakarta Sans', var(--f-head); text-align: center; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.g-step-label { font: 600 14px/20px 'DM Sans', var(--f-body); color: #6B7485; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-step-current .g-step-n { background: #01204E; color: #FFFFFF; }
.g-step-current .g-step-label { color: #01204E; }
.g-step-done .g-step-n { background: #01204E; }
.g-step-done .g-step-n .ic { color: #31FE01; --io: 0; }
.g-step-done .g-step-label { color: #01204E; }

@media (max-width: 760px) {
  .g-step-label { display: none; }
  .g-step-current { flex: 3; }
  .g-step-current .g-step-label { display: inline; white-space: normal; line-height: 18px; }
}

/* ---- 00 Welcome: guided onboarding (design "ONBOARDING") ---- */
.learner.is-onboarding .sidebar, .learner.is-onboarding .menu-btn, .learner.is-onboarding .scrim { display: none !important; }
.ob { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.ob-top { display: flex; flex-direction: column; gap: 12px; }
.ob-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ob-count { font: 600 13px/18px 'DM Sans', var(--f-body); color: #6B7485; }
.ob-skip { border: none; background: none; padding: 8px 0; color: #01204E; font: 600 14px/20px 'DM Sans', var(--f-body); cursor: pointer; }
.ob-bars { display: flex; gap: 6px; }
.ob-bars span { flex: 1; height: 6px; border-radius: 999px; background: #DFE3EA; }
.ob-bars span.on { background: #01204E; }
.ob-form { display: flex; flex-direction: column; gap: 24px; }
.ob-step { display: flex; flex-direction: column; gap: 20px; }
.ob-lead { margin: 0; text-wrap: wrap; }
.ob-q { font: 600 16px/22px 'DM Sans', var(--f-body); color: #01204E; }
.ob-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.ob-path { position: relative; text-align: left; padding: 20px; border-radius: 20px; border: 2px solid #E6EAF0; background: #FFFFFF; display: flex; flex-direction: column; gap: 10px; cursor: pointer; }
.ob-path:hover { border-color: #01204E; }
.ob-path input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.ob-path:has(input:checked) { border-color: #01204E; background: #F2F5FA; }
.ob-path:has(input:focus-visible) { outline: 3px solid #31FE01; outline-offset: 2px; }
.ob-path-ic { width: 44px; height: 44px; border-radius: 14px; background: #FFFFFF; border: 1px solid #E6EAF0; display: flex; align-items: center; justify-content: center; }
.ob-path-title { font: 700 17px/22px 'Plus Jakarta Sans', var(--f-head); color: #01204E; }
.ob-path-desc { font-size: 14px; line-height: 20px; color: #6B7485; }
.ob-basics { background: #FFFFFF; border: 1px solid #E6EAF0; border-radius: 24px; padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px 20px; }
.ob-field { display: flex; flex-direction: column; gap: 8px; }
.ob-wide { grid-column: 1 / -1; }
.ob-label { font: 600 14px/20px 'DM Sans', var(--f-body); color: #01204E; }
.ob-select { position: relative; }
.ob-select select { width: 100%; height: 48px; padding: 0 40px 0 14px; border: 1px solid #C5CBD5; border-radius: 14px; font-size: 16px; color: #121826; background: #FFFFFF; appearance: none; -webkit-appearance: none; font-family: 'DM Sans', var(--f-body); }
.ob-select select:focus { outline: none; border-color: #01204E; box-shadow: 0 0 0 3px rgba(1, 32, 78, .12); }
.ob-select .ob-caret { position: absolute; right: 14px; top: 14px; pointer-events: none; display: block; }
.ob-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ob-chip { position: relative; display: inline-flex; }
.ob-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.ob-chip span { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #C5CBD5; background: #FFFFFF; color: #01204E; font: 600 14px/38px 'DM Sans', var(--f-body); cursor: pointer; white-space: nowrap; user-select: none; }
.ob-chip input:checked + span { background: #01204E; border-color: #01204E; color: #FFFFFF; }
.ob-chip input:focus-visible + span { outline: 3px solid #31FE01; outline-offset: 2px; }
.ob-facts { background: #01204E; border-radius: 24px; padding: 28px; color: #FFFFFF; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.ob-fact { display: flex; flex-direction: column; gap: 4px; }
.ob-fact-t { font: 800 24px/30px 'Plus Jakarta Sans', var(--f-head); color: #31FE01; }
.ob-fact-d { font-size: 14px; line-height: 20px; color: #C3CFE4; }
.ob-summary { padding: 16px 18px; border-radius: 16px; background: #F7F8FA; font-size: 14px; line-height: 22px; color: #3A4352; }
.ob-summary b { color: #01204E; }
.ob-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid #E6EAF0; }
.ob-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ob-back { height: 48px; padding: 0 20px; border: none; border-radius: 999px; background: transparent; color: #01204E; font: 600 15px/20px 'DM Sans', var(--f-body); display: flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; }
.ob-back:hover { background: #F2F5FA; color: #01204E; text-decoration: none; }
.ob-later { height: 48px; padding: 0 20px; border: 1.5px solid #01204E; border-radius: 999px; background: #FFFFFF; color: #01204E; font: 600 15px/20px 'DM Sans', var(--f-body); cursor: pointer; }
.ob-later:hover { background: #F2F5FA; }
.ob-next { height: 48px; padding: 0 24px; border: none; border-radius: 999px; background: #01204E; color: #FFFFFF; font: 600 15px/20px 'DM Sans', var(--f-body); display: flex; align-items: center; gap: 10px; cursor: pointer; }
.ob-next .ic { color: #FFFFFF; }
/* canNext: grey until the step is complete */
.ob-form-1:not(:has(input[name="pathway"]:checked)) .ob-next,
.ob-form-2:has(:invalid) .ob-next { background: #DFE3EA; color: #6B7485; }
.ob-form-1:not(:has(input[name="pathway"]:checked)) .ob-next .ic,
.ob-form-2:has(:invalid) .ob-next .ic { color: var(--muted); --io: 0; }

/* ---- 05 Question: "I'm not sure" (Admin A5 Preview markup) ---- */
.g-unsure { align-self: flex-start; height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #DFE3EA; background: #FFFFFF; color: #01204E; font: 600 13px/18px 'DM Sans', var(--f-body); cursor: pointer; }
.g-unsure:hover { border-color: #01204E; }
.g-unsure.on { border-color: #01204E; background: #F2F5FA; }

/* ---- Check-ins (design ck: intro card and "Your progress" on results) ---- */
.g-ck { background: #FFFFFF; border: 1px solid #E6EAF0; border-radius: 24px; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.g-ck-ic { width: 44px; height: 44px; border-radius: 14px; background: #F2F5FA; display: flex; align-items: center; justify-content: center; flex: none; }
.g-remind { height: 40px; padding: 0 16px; border: 1.5px solid #01204E; border-radius: 999px; background: #FFFFFF; color: #01204E; font: 600 14px/18px 'DM Sans', var(--f-body); cursor: pointer; }
.g-remind[aria-pressed="true"] { background: #01204E; color: #FFFFFF; }
.g-remind-block { margin-top: auto; display: flex; }
.g-remind-block .g-remind { width: 100%; }
.g-prog { background: #FFFFFF; border: 1px solid #E6EAF0; border-radius: 24px; padding: 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.g-prog-main { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.g-prog-bars { display: flex; align-items: flex-end; gap: clamp(12px, 3vw, 28px); height: 180px; padding-bottom: 4px; border-bottom: 1px solid #E6EAF0; }
.g-prog-col { flex: 1; max-width: 110px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.g-prog-v { font: 700 15px/20px 'Plus Jakarta Sans', var(--f-head); color: #01204E; }
.g-prog-bar { width: 100%; border-radius: 10px 10px 4px 4px; }
.g-prog-labels { display: flex; gap: clamp(12px, 3vw, 28px); margin-top: -8px; }
.g-prog-labels span { flex: 1; max-width: 110px; text-align: center; font-size: 12px; line-height: 16px; color: #6B7485; }
.g-prog-side { flex: 1 1 260px; min-width: 0; padding: 20px; border-radius: 20px; background: #F2F5FA; display: flex; flex-direction: column; gap: 10px; }
