/* Skill2Create platform layer: integrates the theme with legacy (Bootstrap) surfaces
   and styles the participant / host workspaces. */

/* Legacy page bodies keep their own component styling but inherit brand type. */
main.s2c-legacy { font-family: var(--font-body); color: var(--ink); background: var(--paper-2); padding: 32px 0 64px; }
main.s2c-legacy h1, main.s2c-legacy h2, main.s2c-legacy h3 { font-family: var(--font-display); color: var(--navy-800); letter-spacing: -.01em; }
main.s2c-legacy .btn-primary, main.s2c-legacy .jr-btn-primary { background: var(--navy-800); border-color: var(--navy-800); }
main.s2c-legacy .btn-primary:hover { background: var(--navy-700); border-color: var(--navy-700); }
main.s2c-legacy a { color: var(--blue-deep); }
main.s2c-legacy .jr-page-head { background: transparent; }

/* The vendor topbar is no longer rendered; neutralise any body offsets it applied. */
body { padding-top: 0 !important; }
.jr-market-banner { background: var(--cream); color: var(--ink); text-align: center; padding: 8px 16px; font-size: 14px; }

/* ---- Auth ---- */
.auth { padding: 64px 0 96px; background: var(--paper-2); }
.auth__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: start; }
.auth__aside { position: sticky; top: 96px; }
.auth__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.auth__card h1 { font-size: 30px; margin: 0 0 6px; }
.auth__card .lede { margin: 0 0 20px; }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: var(--paper-3); margin-bottom: 20px; }
.auth__tabs label { text-align: center; padding: 10px 14px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--ink-2); transition: background .2s var(--ease), color .2s var(--ease); }
.auth__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.auth__tabs input:checked + label { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-sm); }
.auth__divider { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: 14px; margin: 22px 0; }
.auth__divider::before, .auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth__links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; margin-top: 18px; }
.auth__points { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.auth__points li { display: flex; gap: 12px; align-items: flex-start; }
.auth__points svg { flex: none; margin-top: 3px; color: var(--teal); }
.form-note { font-size: 13px; color: var(--ink-3); margin: 8px 0 0; }
.alert { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; border: 1px solid transparent; }
.alert--ok { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert--err { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
@media (max-width: 900px) { .auth__grid { grid-template-columns: 1fr; } .auth__aside { position: static; order: 2; } }

/* ---- Workspace (participant / host dashboards) ---- */
.ws { background: var(--paper-2); padding: 0 0 80px; }
.ws__head { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 44px 0 88px; }
.ws__head h1 { color: #fff; font-size: 34px; margin: 4px 0 6px; }
.ws__head p { color: rgba(255,255,255,.78); margin: 0; max-width: 60ch; }
.ws__head .eyebrow { color: var(--gold); }
.ws__head-inner { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; flex-wrap: wrap; }
.ws__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ws__body { margin-top: -56px; }
.ws__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.stat-card__label { font-size: 13px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.stat-card__value { font-family: var(--font-display); font-size: 34px; color: var(--navy-800); line-height: 1.1; margin-top: 6px; }
.stat-card__hint { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.ws__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.panel__head h2 { font-size: 18px; margin: 0; }
.panel__head a { font-size: 14px; font-weight: 600; }
.panel__body { padding: 8px 22px 18px; }
.panel__empty { padding: 28px 22px; text-align: center; color: var(--ink-3); }
.panel__empty .btn { margin-top: 12px; }
.panel + .panel { margin-top: 24px; }
.row-list { list-style: none; margin: 0; padding: 0; }
.row-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row-list li:last-child { border-bottom: 0; }
.row-list strong { display: block; font-weight: 600; color: var(--navy-800); }
.row-list small { color: var(--ink-3); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--paper-3); color: var(--ink-2); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; }
.status--applied { background: #eef2ff; color: #3730a3; }
.status--shortlisted { background: #fff7ed; color: #9a3412; }
.status--conversation { background: #ecfeff; color: #155e75; }
.status--offered { background: #fefce8; color: #854d0e; }
.status--placed { background: #ecfdf5; color: #065f46; }
.status--declined, .status--withdrawn { background: #f1f5f9; color: #475569; }
.progress { height: 8px; border-radius: 999px; background: var(--paper-3); overflow: hidden; margin: 10px 0 6px; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 999px; }
.checklist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.checklist li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.checklist li.is-done { color: var(--ink-3); text-decoration: line-through; }
.checklist li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.checklist li.is-done::before { background: var(--teal); border-color: var(--teal); }
.ws__nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 20px; }
.ws__nav a { padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ws__nav a[aria-current="page"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
@media (max-width: 960px) { .ws__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws__grid { grid-template-columns: 1fr; } }

/* ---- Directory ---- */
.dir { padding: 40px 0 80px; background: var(--paper-2); }
.dir__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.dir__filters { position: sticky; top: 92px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.dir__filters h2 { font-size: 16px; margin: 0 0 14px; }
.dir__filters .field + .field { margin-top: 14px; }
.dir__filters label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.dir__filters select, .dir__filters input { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font: inherit; background: #fff; }
.dir__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.dir__toolbar p { margin: 0; color: var(--ink-3); font-size: 14.5px; }
.dir__toolbar form { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.dir__toolbar select { padding: 8px 10px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font: inherit; background: #fff; }
.dir__list { display: grid; gap: 14px; }
.dir__empty { background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--ink-3); }
.dir__pagination { margin-top: 24px; display: flex; justify-content: center; }
.dir__pagination .pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.dir__pagination .page-link { display: inline-block; padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 14px; }
.dir__pagination .active .page-link { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips a { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.chips a:hover { text-decoration: none; border-color: var(--navy-800); color: var(--navy-800); }
.chips a[aria-current="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.chips a.is-muted { opacity: .45; pointer-events: none; }
@media (max-width: 960px) { .dir__layout { grid-template-columns: 1fr; } .dir__filters { position: static; } }

/* ---- Opportunity detail ---- */
.opp { padding: 40px 0 80px; }
.opp__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.opp__aside { position: sticky; top: 92px; display: grid; gap: 16px; }
.opp__meta { display: flex; gap: 10px 18px; flex-wrap: wrap; color: var(--ink-3); font-size: 14.5px; margin: 10px 0 0; }
.opp__meta span { display: inline-flex; gap: 6px; align-items: center; }
.opp__body { margin-top: 28px; font-size: 16.5px; line-height: 1.75; }
.opp__body h2, .opp__body h3 { margin-top: 28px; }
.opp__host { display: flex; gap: 14px; align-items: center; }
.opp__host img { width: 56px; height: 56px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 4px; }
.opp__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.opp__facts li { display: flex; justify-content: space-between; gap: 12px; }
.opp__facts span { color: var(--ink-3); }
.opp__facts strong { text-align: right; }
.opp__cta { display: grid; gap: 10px; }
.opp__similar { margin-top: 48px; }
.opp__similar h2 { margin-bottom: 16px; }
@media (max-width: 960px) { .opp__layout { grid-template-columns: 1fr; } .opp__aside { position: static; } }

/* ---- Organisation directory / profile ---- */
.host-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.host-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.host-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.host-card__logo { width: 64px; height: 64px; border-radius: 14px; border: 1px solid var(--line); object-fit: contain; padding: 6px; background: #fff; }
.host-card h3 { margin: 0; font-size: 18px; }
.host-card p { margin: 0; color: var(--ink-3); font-size: 14.5px; }
.host-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 960px) { .host-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .host-grid { grid-template-columns: 1fr; } }

/* ---- Home catalogue rail (server-rendered) ---- */
.rail-card__host { display: flex; gap: 10px; align-items: center; }
.rail-card__host img { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; border: 1px solid var(--line); background: #fff; }

/* Format tags keyed by the platform taxonomy */
.tag--project_fellowship { background: #7c3aed; }
.tag--enterprise_apprenticeship { background: #f28c1e; }
.tag--innovation_placement { background: #0ea5e9; }
.tag--community_project { background: #d9480f; }
.tag--industry_residency { background: #0b2447; }
.host__mark--logo { background: #fff; border: 1px solid rgba(11, 36, 71, .1); overflow: hidden; }
.host__mark--logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* Directory pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 2rem 0 .4rem; flex-wrap: wrap; }
.pager__pages { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.pager__page, .pager__link { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4rem; height: 2.4rem; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--navy-800); font-weight: 600; font-size: .88rem; text-decoration: none; }
.pager__page:hover, .pager__link:hover { border-color: var(--navy-800); }
.pager__page.is-current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.pager__link.is-disabled { opacity: .4; pointer-events: none; }
.pager__summary { text-align: center; font-size: .82rem; color: var(--ink-3); margin: 0; }
.filters .chip { text-decoration: none; }

/* Opportunity description (host-authored HTML) */
.opp-detail__body h2, .opp-detail__body h3 { font-size: 1.35rem; margin: 2rem 0 .6rem; font-family: var(--font-display); color: var(--navy-800); }
.opp-detail__body ul { padding-left: 1.2rem; }
.opp-detail__body li { margin: .35rem 0; }
.opp-detail__body p { margin: 0 0 1rem; }
.org-card__mark--logo { background: #fff; border: 1px solid rgba(11, 36, 71, .1); overflow: hidden; }
.org-card__mark--logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

/* Authentication pages (vendor form partials rendered inside the Skill2Create shell) */
.auth-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .auth-grid { grid-template-columns: 1fr; } }
.auth-card { max-width: 560px; }
.s2c-auth-form { font-family: var(--font-body); }
.s2c-auth-form .form-group { margin-bottom: 1rem; }
.s2c-auth-form .input-group { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; overflow: hidden; }
.s2c-auth-form .input-group:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 94, 255, .15); }
.s2c-auth-form .input-group-addon { display: inline-flex; align-items: center; padding: 0 .9rem; color: var(--ink-3); background: var(--paper-2); border-right: 1px solid var(--line); }
.s2c-auth-form .input-group-addon.eye-switch { cursor: pointer; }
.s2c-auth-form .form-control { flex: 1; min-width: 0; border: 0; padding: .85rem 1rem; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; outline: none; }
.s2c-auth-form .btn-login-type { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .3rem; background: var(--paper-2); border-radius: 12px; }
.s2c-auth-form .btn-check { position: absolute; clip: rect(0, 0, 0, 0); pointer-events: none; }
.s2c-auth-form .btn-login-type-label { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1rem; border-radius: 9px; font-weight: 600; font-size: .92rem; color: var(--ink-2); cursor: pointer; border: 0; background: transparent; }
.s2c-auth-form .btn-check:checked + .btn-login-type-label, .s2c-auth-form .btn-login-type-label.active { background: #fff; color: var(--navy-800); box-shadow: 0 1px 3px rgba(11, 36, 71, .12); }
.s2c-auth-form .btn-primary, .s2c-auth-form .btn-block { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: .9rem 1.4rem; border-radius: 999px; border: 0; background: var(--navy-800); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; margin-top: .4rem; }
.s2c-auth-form .btn-primary:hover { background: var(--blue); }
.s2c-auth-form .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.s2c-auth-form .row > [class*="col-"] { flex: 1 1 auto; }
.s2c-auth-form .text-right { text-align: right; }
.s2c-auth-form .text-center { text-align: center; }
.s2c-auth-form .remember-me, .s2c-auth-form .forgot-password { font-size: .9rem; color: var(--ink-2); }
.s2c-auth-form .or-login p { text-align: center; color: var(--ink-3); font-size: .85rem; margin: 1.2rem 0 .6rem; position: relative; }
.s2c-auth-form .or-login p::before, .s2c-auth-form .or-login p::after { content: ""; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--line); }
.s2c-auth-form .or-login p::before { left: 0; } .s2c-auth-form .or-login p::after { right: 0; }
.s2c-auth-form .social-login { display: flex; gap: .6rem; justify-content: center; }
.s2c-auth-form .btn-google, .s2c-auth-form .btn-facebook { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; font-size: .85rem; text-decoration: none; }
.s2c-auth-form .mb-3 { margin: 1.2rem 0 0; font-size: .92rem; color: var(--ink-2); }
.s2c-auth-form .mb-3 a { color: var(--blue); font-weight: 600; }
.s2c-auth-form .jr-auth-divider { display: flex; align-items: center; gap: .8rem; margin: 1.6rem 0 1rem; color: var(--ink-3); font-size: .85rem; }
.s2c-auth-form .jr-auth-divider::before, .s2c-auth-form .jr-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.s2c-auth-form .help-block { font-size: .82rem; color: var(--ink-3); margin: .6rem 0 0; }
.s2c-auth-form .alert { padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-size: .9rem; }
.s2c-auth-form .alert-success { background: rgba(15, 163, 127, .12); color: #0b6b53; }
.s2c-auth-form .alert-danger { background: rgba(217, 72, 15, .1); color: #a33409; }
.auth-alt { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.auth-alt p { margin: 0; font-size: .9rem; }
.auth-alt a { color: var(--blue); font-weight: 600; }
.auth-aside { background: var(--paper-2); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.auth-aside__media { margin: 0 0 1.4rem; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; }
.auth-aside__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.auth-aside h3 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 1rem; color: var(--navy-800); }
.auth-aside__note { margin: 1.4rem 0 0; font-size: .85rem; color: var(--ink-3); line-height: 1.6; }

/* Participant and host workspaces */
.dash { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } }
.dash__side { position: sticky; top: 90px; }
@media (max-width: 900px) { .dash__side { position: static; } }
.dash__main { display: grid; gap: 1.5rem; min-width: 0; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
@media (max-width: 720px) { .dash-stats { grid-template-columns: repeat(2, 1fr); } }
.dash-stat { display: grid; gap: .2rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink-2); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.dash-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.dash-stat b { font-family: var(--font-display); font-size: 1.9rem; color: var(--navy-800); line-height: 1; }
.dash-stat span { font-size: .85rem; }
.dash-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.2rem, 2.5vw, 1.8rem); }
.dash-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; flex-wrap: wrap; }
.dash-panel__head h2 { font-size: 1.25rem; margin: 0; font-family: var(--font-display); color: var(--navy-800); }
.dash-panel__value { font-weight: 700; color: var(--blue); }
.dash-panel__link { font-size: .9rem; font-weight: 600; color: var(--blue); }
.dash-panel__note { font-size: .9rem; color: var(--ink-3); margin: .6rem 0 1rem; }
.dash-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.dash-checklist li { position: relative; padding-left: 1.8rem; font-size: .95rem; }
.dash-checklist li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--line-2); }
.dash-checklist li.is-done::before { border-color: var(--teal); background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/70% no-repeat; }
.dash-checklist li.is-done a { color: var(--ink-3); text-decoration: line-through; }
.dash-checklist a { color: var(--ink); }
.table-wrap { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.dash-table th { text-align: left; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.dash-table td { padding: .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dash-table a { color: var(--navy-800); font-weight: 600; }
.status-pill { display: inline-flex; align-items: center; padding: .25rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.status-pill--applied { background: rgba(30, 94, 255, .1); color: var(--blue-deep); }
.status-pill--shortlisted { background: rgba(124, 58, 237, .12); color: #5b21b6; }
.status-pill--conversation { background: rgba(242, 140, 30, .15); color: #9a4b00; }
.status-pill--offered { background: rgba(15, 163, 127, .14); color: #0b6b53; }
.status-pill--placed { background: var(--teal); color: #fff; }
.status-pill--declined, .status-pill--withdrawn { background: rgba(217, 72, 15, .1); color: #a33409; }
.opp-grid--compact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important; }
.dash__side .jr-account-card, .dash__side .jr-account-nav { font-family: var(--font-body); }

/* ---------- Placements & Capability Passport (participant) ---------- */
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.pl-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.4rem; text-decoration: none; color: var(--ink-2); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pl-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pl-card__top { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .8rem; }
.pl-card h2 { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-800); margin: 0 0 .3rem; }
.pl-card__host { margin: 0; font-size: .92rem; }
.pl-card__host b { color: var(--navy-800); }
.pl-card__dates { margin: .25rem 0 .5rem; font-size: .85rem; color: var(--ink-3); }
.pl-card small { color: var(--ink-3); font-size: .8rem; }

.pl-pill { display: inline-flex; align-items: center; padding: .25rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--paper-3); color: var(--ink-2); white-space: nowrap; letter-spacing: 0; text-transform: none; }
.pl-pill--planned { background: rgba(30, 94, 255, .1); color: var(--blue-deep); }
.pl-pill--active { background: rgba(15, 163, 127, .14); color: #0b6b53; }
.pl-pill--paused { background: rgba(242, 177, 52, .18); color: #8a5a00; }
.pl-pill--completed { background: var(--navy-800); color: #fff; }
.pl-pill--ended { background: rgba(217, 72, 15, .1); color: #a33409; }

.pl-flash { background: rgba(15, 163, 127, .12); color: #0b6b53; border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1rem; font-weight: 600; }
.pl-flash--error { background: rgba(217, 72, 15, .1); color: #a33409; }

.pl-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1rem; }
.pl-plan h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .4rem; }
.pl-plan p { margin: 0; white-space: pre-line; line-height: 1.6; }
.pl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin: 1.1rem 0; }
@media (max-width: 860px) { .pl-plan, .pl-two { grid-template-columns: 1fr; } }
.dash__main > .dash-panel + .dash-panel, .dash__main > .pl-two + .dash-panel { margin-top: 1.1rem; }

.pl-milestones { list-style: none; margin: 0; padding: 0; position: relative; }
.pl-milestones li { position: relative; padding: 0 0 1rem 2rem; }
.pl-milestones li::before { content: ""; position: absolute; left: .45rem; top: 1.3rem; bottom: -.2rem; width: 2px; background: var(--line); }
.pl-milestones li:last-child::before { display: none; }
.pl-milestones li::after { content: ""; position: absolute; left: 0; top: .25rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; }
.pl-milestones li.is-in_progress::after { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 4px rgba(30,94,255,.15); }
.pl-milestones li.is-achieved::after { border-color: var(--teal); background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/70% no-repeat; }
.pl-milestones li.is-missed::after { border-color: #d9480f; background: #d9480f; }
.pl-milestones b { color: var(--navy-800); }
.pl-milestones p { margin: .2rem 0; font-size: .92rem; }
.pl-milestones small { color: var(--ink-3); }

.pl-competencies { list-style: none; margin: 0; padding: 0; }
.pl-competencies li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.pl-competencies li:last-child { border-bottom: 0; }
.pl-competencies b { display: block; color: var(--navy-800); }
.pl-competencies small { color: var(--ink-3); font-size: .82rem; }
.pl-levels { display: flex; gap: .35rem; flex-shrink: 0; }
.pl-levels span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; color: var(--ink-3); }
.pl-levels span.is-on { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.pl-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 720px) { .pl-team { grid-template-columns: 1fr; } }
.pl-team__role { background: var(--paper-2); border-radius: 14px; padding: 1rem 1.1rem; display: grid; gap: .15rem; }
.pl-team__role i { color: var(--blue); font-size: 1.2rem; margin-bottom: .3rem; }
.pl-team__role span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.pl-team__role b { color: var(--navy-800); }
.pl-team__role b.is-empty { color: var(--ink-3); font-weight: 500; font-style: italic; }
.pl-team__role small { color: var(--ink-3); }

.pl-log-form { background: var(--paper-2); border-radius: 14px; padding: 1.1rem 1.2rem; margin-bottom: 1.2rem; }
.pl-log { list-style: none; margin: 0; padding: 0; }
.pl-log li { display: flex; gap: .9rem; align-items: flex-start; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.pl-log li:last-child { border-bottom: 0; }
.pl-log li > div { flex: 1; }
.pl-log b { color: var(--navy-800); }
.pl-log p { margin: .2rem 0 .3rem; font-size: .93rem; white-space: pre-line; }
.pl-log small { color: var(--ink-3); font-size: .82rem; }
.pl-act { flex-shrink: 0; margin-top: .15rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 6px; background: var(--paper-3); color: var(--ink-3); }
.pl-act--evidence { background: rgba(30,94,255,.12); color: var(--blue-deep); }
.pl-act--reflection { background: rgba(242,177,52,.2); color: #8a5a00; }
.pl-act--feedback { background: rgba(15,163,127,.14); color: #0b6b53; }
.pl-verify { flex-shrink: 0; font-size: .78rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.pl-verify.is-verified { color: var(--teal); }

.passport-card { background: linear-gradient(135deg, var(--navy-900), var(--blue-deep) 70%, var(--blue)); color: #fff; border-radius: 22px; padding: 1.6rem 1.8rem; margin-bottom: 1.1rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.passport-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.06); }
.passport-card__id { display: flex; align-items: center; gap: 1rem; position: relative; }
.passport-card__id img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.35); background: #fff; }
.passport-card__id span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.passport-card__id b { display: block; font-family: var(--font-display); font-size: 1.5rem; }
.passport-card__id small { opacity: .8; }
.passport-card__id > i { margin-left: auto; font-size: 2.6rem; opacity: .35; }
.passport-card__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.18); position: relative; }
.passport-card__stats b { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.passport-card__stats span { font-size: .8rem; opacity: .85; }
@media (max-width: 640px) { .passport-card__stats { grid-template-columns: 1fr 1fr; } }

/* Phase 2: outcome, reviews, benefits, ventures, safeguarding */
.pl-outcome { border-left: 4px solid var(--teal, #0fa37f); }
.pl-outcome--ended { border-left-color: var(--ink-3); }
.pl-outcome__label { font-family: var(--font-display, inherit); font-size: 1.4rem; font-weight: 800; color: var(--navy-800); margin: 0 0 .2rem; }
.pl-outcome__org { color: var(--ink-2); margin: 0 0 .5rem; }
.pl-review { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.pl-review:last-child { border-bottom: 0; }
.pl-review header { display: flex; flex-wrap: wrap; gap: .6rem; align-items: baseline; margin-bottom: .6rem; }
.pl-review header b { color: var(--navy-800); font-size: 1.05rem; }
.pl-review header small { color: var(--ink-3); }
.pl-review p { margin: .4rem 0 0; font-size: .95rem; }
.pl-review blockquote { margin: .7rem 0 0; padding: .6rem 1rem; border-left: 3px solid var(--gold, #f2b134); background: var(--paper-2); border-radius: 0 10px 10px 0; font-size: .93rem; }
.pl-ratings { display: flex; flex-wrap: wrap; gap: .5rem; }
.pl-ratings span { display: inline-flex; align-items: center; gap: .5rem; background: var(--paper-2); border-radius: 10px; padding: .4rem .7rem; font-size: .82rem; }
.pl-ratings em { font-style: normal; color: var(--ink-3); }
.pl-ratings b { font-weight: 800; color: var(--navy-800); }
.pl-ratings b i { font-style: normal; font-weight: 500; color: var(--ink-3); font-size: .75em; }
.pl-ratings b.is-1, .pl-ratings b.is-2 { color: #a33409; }
.pl-ratings b.is-4, .pl-ratings b.is-5 { color: #0b6b53; }
.pl-ratings--lg span { flex: 1 1 140px; flex-direction: column; align-items: flex-start; padding: .8rem 1rem; }
.pl-ratings--lg b { font-size: 1.5rem; }
.pl-ack { display: grid; gap: .6rem; margin-top: .8rem; }
.pl-ack textarea { min-height: 64px; }
.pl-ack .btn { justify-self: start; }
.pl-benefits { list-style: none; margin: 0; padding: 0; }
.pl-benefits li { display: flex; gap: .9rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.pl-benefits li:last-child { border-bottom: 0; }
.pl-benefits li > div { flex: 1; }
.pl-benefits b { color: var(--navy-800); }
.pl-benefits p { margin: .2rem 0 0; font-size: .9rem; color: var(--ink-2); }
.pl-act--benefit { background: rgba(15,163,127,.14); color: #0b6b53; }
.pl-act--venture { background: rgba(30,94,255,.12); color: var(--blue-deep); }
.pl-venture { padding: 1rem; border: 1px solid var(--line); border-radius: 14px; margin-bottom: .8rem; }
.pl-venture header { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.pl-venture header b { flex: 1; color: var(--navy-800); font-size: 1.05rem; }
.pl-venture p { margin: .6rem 0 0; font-size: .95rem; }
.pl-venture--card { border: 0; padding: 0; margin: 0; }
.pl-team { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.pl-team span { background: var(--paper-2); border-radius: 999px; padding: .25rem .7rem; font-size: .82rem; font-weight: 600; }
.pl-team em { font-style: normal; color: var(--ink-3); font-weight: 500; }
.pl-pill--idea { background: var(--paper-3); color: var(--ink-2); }
.pl-pill--prototype { background: rgba(30,94,255,.1); color: var(--blue-deep); }
.pl-pill--pilot { background: rgba(242,177,52,.18); color: #8a5a00; }
.pl-pill--launched { background: rgba(15,163,127,.14); color: #0b6b53; }
.pl-details { margin-top: .8rem; }
.pl-details summary { cursor: pointer; font-weight: 700; color: var(--blue-deep); padding: .4rem 0; }
.pl-details form { margin-top: .6rem; }
.pl-safeguarding { border-left: 4px solid var(--gold, #f2b134); }
.pl-safeguarding h2 i { color: var(--gold, #f2b134); margin-right: .3rem; }
.pl-concern { padding: .7rem 1rem; background: var(--paper-2); border-radius: 10px; margin-bottom: .6rem; font-size: .93rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.pl-concern p { flex-basis: 100%; margin: 0; color: var(--ink-2); }
.pl-outcomes { list-style: none; margin: 0; padding: 0; }
.pl-outcomes li { display: grid; gap: .15rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.pl-outcomes li:last-child { border-bottom: 0; }
.pl-outcomes b { color: var(--navy-800); font-size: 1.05rem; }
.pl-outcomes small { color: var(--ink-3); }
.pl-outcomes li.is-confirmed small { color: #0b6b53; }
