:root {
  --color-canvas: #f8f7f2;
  --color-surface: #fff;
  --color-ink: #191b43;
  --color-muted: #5d6079;
  --color-action: #5046e5;
  --color-action-deep: #3029a5;
  --color-coral: #f16f60;
  --color-mint: #bdebd9;
  --color-line: #d9d9e8;
  --color-error: #b83145;
  --color-focus-on-dark: #fff;
  --shadow-card: 0 12px 32px rgba(25, 27, 67, .08);
  --shadow-float: 0 24px 64px rgba(25, 27, 67, .14);
  --radius-field: 8px;
  --radius-button: 14px;
  --radius-card: 22px;
  --radius-panel: 32px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--color-ink);
  background: var(--color-canvas);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; scroll-padding-bottom: 24px; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--color-action); outline-offset: 3px; }
.hero :focus-visible, .company-hero :focus-visible { outline-color: var(--color-focus-on-dark); box-shadow: 0 0 0 6px rgba(25,27,67,.75); }
::selection { background: var(--color-mint); color: var(--color-ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.045em; }
p { line-height: 1.55; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-150%); background: var(--color-ink); color: #fff; padding: 12px 16px; border-radius: 10px; }
.skip-link:focus { transform: none; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon use[href="#i-spark"] { stroke-width: 1.5; }
.app-shell { min-height: 100vh; }
.topbar { height: 84px; padding: 0 clamp(20px, 3.4vw, 64px); background: rgba(248,247,242,.94); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(217,217,232,.7); display: flex; align-items: center; justify-content: space-between; gap: 24px; position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark { background: var(--color-action); width: 42px; height: 42px; border-radius: 13px; color: #fff; display: grid; place-items: center; font: 800 20px/1 "Space Grotesk", sans-serif; letter-spacing: -.08em; position: relative; box-shadow: 0 10px 22px rgba(80,70,229,.23); }
.brand__mark span { color: var(--color-mint); font-size: 12px; position: absolute; right: 5px; top: 5px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 17px; letter-spacing: -.035em; white-space: nowrap; }
.brand__text strong span { color: var(--color-action); }
.brand__text small { color: var(--color-muted); font-size: 12px; font-weight: 700; letter-spacing: .025em; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.demo-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--color-muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.demo-badge .icon { width: 16px; height: 16px; color: var(--color-action); }
.role-switch { display: flex; padding: 5px; border: 1px solid var(--color-line); border-radius: 16px; background: #fff; gap: 3px; }
.role-switch button { background: transparent; color: var(--color-muted); border: 0; min-height: 44px; padding: 9px 13px; border-radius: 11px; font-size: 13px; font-weight: 750; white-space: nowrap; }
.role-switch button[aria-pressed="true"] { background: var(--color-ink); color: #fff; box-shadow: 0 5px 12px rgba(25,27,67,.18); }
.app-layout { display: grid; grid-template-columns: 236px minmax(0,1fr); max-width: 1680px; margin: 0 auto; }
.sidebar { min-height: calc(100vh - 84px); border-right: 1px solid var(--color-line); padding: 39px 16px 24px; display: flex; flex-direction: column; gap: 25px; }
.sidebar__intro { padding: 0 16px; }
.sidebar__intro p { font-size: 14px; color: var(--color-muted); margin: 7px 0 0; }
.eyebrow { display: inline-block; color: var(--color-action); text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 850; line-height: 1.4; }
.side-links { display: grid; gap: 5px; }
.side-links button { border: 0; background: transparent; color: var(--color-muted); display: flex; align-items: center; gap: 14px; width: 100%; min-height: 47px; text-align: left; padding: 10px 15px; border-radius: 13px; font-size: 14px; font-weight: 750; position: relative; }
.side-links button .icon { width: 18px; height: 18px; }
.side-links button:hover { color: var(--color-action); background: #edebff; }
.side-links button.is-active { color: var(--color-action); background: #eae9ff; }
.side-links button.is-active::before { content: ""; position: absolute; left: -16px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--color-action); }
.nav-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-coral); margin-left: auto; }
.sidebar__bottom { margin-top: auto; border-top: 1px solid var(--color-line); padding: 20px 8px 0; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.sidebar__bottom strong, .sidebar__bottom small { display: block; }
.sidebar__bottom small { color: var(--color-muted); margin-top: 2px; }
.avatar { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--color-mint); color: var(--color-ink); font-weight: 850; }
.main-content { max-width: 1444px; width: 100%; padding: 42px clamp(24px, 4vw, 64px) 34px; margin: 0 auto; min-width: 0; }
.main-content:focus { outline: none; }
.mobile-nav { display: none; }
.footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--color-line); padding-top: 24px; margin-top: 60px; color: var(--color-muted); font-size: 12px; }
.notice { background: #e5f7ef; border: 1px solid #a5d5c2; color: #125b43; padding: 12px 16px; border-radius: 14px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; margin-bottom: 22px; }
.notice .icon { width: 18px; height: 18px; }
.surface { background: var(--color-surface); border: 1px solid rgba(217,217,232,.74); box-shadow: var(--shadow-card); border-radius: var(--radius-card); padding: 26px; }
.section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.section-top h1 { font-size: clamp(31px, 3vw, 43px); line-height: 1.08; margin: 8px 0 10px; max-width: 800px; }
.section-top p { max-width: 720px; color: var(--color-muted); margin: 0; font-size: 16px; }
.section-top__right { flex: 0 0 auto; margin-bottom: 4px; }
.section-top__right .button { margin-bottom: 0; }
.mini-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.mini-heading h2 { margin: 5px 0 0; font-size: 23px; line-height: 1.2; }
.mini-heading p { color: var(--color-muted); margin: 5px 0 0; }
.button { min-height: 46px; border-radius: var(--radius-button); border: 1px solid transparent; display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 10px 17px; font-size: 14px; font-weight: 800; text-decoration: none; line-height: 1.2; transition: transform .14s ease, background-color .14s ease, box-shadow .14s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:active:not(:disabled) { transform: translateY(0); }
.button .icon { width: 17px; height: 17px; }
.button--primary { background: var(--color-action); color: #fff; box-shadow: 0 10px 20px rgba(80,70,229,.22); }
.button--primary:hover { background: var(--color-action-deep); }
.button--secondary { background: #eeedff; color: var(--color-action-deep); }
.button--secondary:hover { background: #e2dfff; }
.button--dark { background: var(--color-ink); color: #fff; }
.button--dark:hover { background: #30346d; }
.button--soft { background: #f5f5fa; color: var(--color-ink); border-color: var(--color-line); }
.button--quiet { background: transparent; color: var(--color-action-deep); }
.button--quiet:hover { background: #f2f1ff; }
.button--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.button--outline-light:hover { background: rgba(255,255,255,.1); }
.button--light { background: #fff; color: var(--color-action-deep); }
.button--light:hover { background: #eeedff; }
.text-link, .back-link, .loading-link { border: 0; background: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--color-action-deep); font-weight: 800; font-size: 14px; padding: 8px; }
.text-link .icon, .back-link .icon { width: 17px; height: 17px; }
.back-link { margin: -8px 0 22px -8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; border-radius: 99px; padding: 7px 10px; font-size: 12px; font-weight: 850; line-height: 1.25; white-space: nowrap; }
.pill .icon { width: 14px; height: 14px; }
.pill--neutral { background: #f0f0f7; color: #555872; }
.pill--indigo { background: #ecebff; color: #382faf; }
.pill--mint { background: #dff5eb; color: #126548; }
.pill--amber { background: #fff1cf; color: #7b4d00; }
.pill--muted { background: #f2f2f4; color: #6b6d7b; }

/* Student hero and discovery */
.hero { background: #11122f; border-radius: var(--radius-panel); color: #fff; min-height: 420px; overflow: hidden; position: relative; display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); box-shadow: var(--shadow-float); }
.hero::before { content: ""; position: absolute; width: 350px; height: 350px; border-radius: 50%; background: rgba(80,70,229,.36); filter: blur(85px); left: -80px; top: -110px; }
.hero__copy { z-index: 1; padding: clamp(34px,4.1vw,64px); position: relative; align-self: center; }
.hero__label { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; color: #d6d5ff; text-transform: uppercase; letter-spacing: .09em; }
.hero__label .icon { width: 17px; height: 17px; color: var(--color-mint); }
.hero h1 { font-size: clamp(39px,4.2vw,68px); line-height: 1.03; margin: 22px 0; letter-spacing: -.06em; }
.hero h1 em, .company-hero h2 em, .guided-panel h2 em { font-style: normal; color: var(--color-mint); }
.hero p { color: #d9daf2; max-width: 445px; font-size: 16px; line-height: 1.6; margin-bottom: 23px; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__foot { display: block; color: #d9daf2; font-size: 14px; margin-top: 18px; }
.hero__visual { min-height: 420px; position: relative; overflow: hidden; background: #0e0e1c; }
.hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #11122f 0%, transparent 25%), linear-gradient(0deg,rgba(17,18,47,.35),transparent 38%); pointer-events: none; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 48%; display: block; }
.hero__floating { position: absolute; z-index: 2; background: rgba(255,255,255,.93); color: var(--color-ink); border: 1px solid rgba(255,255,255,.8); border-radius: 12px; box-shadow: var(--shadow-float); padding: 10px 13px; font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 7px; backdrop-filter: blur(9px); }
.hero__floating .icon { width: 16px; height: 16px; color: var(--color-action); }
.hero__floating--one { top: 65px; left: 14%; transform: rotate(-4deg); }
.hero__floating--two { bottom: 47px; right: 9%; transform: rotate(4deg); }
.home-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(280px,.8fr); gap: 20px; margin-top: 25px; }
.home-grid__main { min-width: 0; }
.journey-panel { background: #f1f0ff; overflow: hidden; position: relative; }
.journey-panel h2 { font-size: 30px; line-height: 1.12; margin: 11px 0; }
.journey-panel p { color: var(--color-muted); font-size: 14px; }
.journey-list { list-style: none; padding: 0; margin: 23px 0 0; display: grid; gap: 16px; }
.journey-list li { display: flex; align-items: flex-start; gap: 12px; }
.journey-list li > span { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 auto; border-radius: 10px; background: #fff; color: var(--color-action); font-weight: 850; font-size: 12px; }
.journey-list strong, .journey-list small { display: block; }
.journey-list strong { font-size: 14px; }
.journey-list small { color: var(--color-muted); line-height: 1.45; margin-top: 3px; }
.inline-banner { display: flex; align-items: center; gap: 9px; background: #e6f8f0; border: 1px solid #a9ddc7; border-radius: 15px; color: #155d45; padding: 14px 16px; font-size: 13px; font-weight: 700; line-height: 1.5; margin-top: 18px; }
.inline-banner .icon { width: 19px; height: 19px; }
.inline-banner button { background: none; border: 0; color: inherit; text-decoration: underline; font-weight: 850; min-height: 44px; padding: 8px; }
.inline-banner--warning { background: #fff4d8; border-color: #eed899; color: #6c4a00; }
.inline-banner--error { background: #ffeaed; border-color: #e6a8b3; color: var(--color-error); }
.discovery-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-bottom: 23px; padding: 14px; }
.search-box { display: flex; align-items: center; min-height: 46px; border: 1px solid var(--color-line); border-radius: 12px; padding: 0 6px 0 13px; gap: 9px; min-width: 220px; flex: 1 1 260px; }
.search-box > .icon { color: var(--color-muted); width: 18px; height: 18px; }
.search-box input { min-width: 0; border: 0; background: none; outline: none; flex: 1; color: var(--color-ink); padding: 10px 0; }
.search-box input::placeholder { color: var(--color-muted); }
.search-box:focus-within { outline: 3px solid var(--color-action); outline-offset: 2px; }
.search-box button { width: 44px; height: 44px; border: 0; border-radius: 9px; background: var(--color-action); color: #fff; display: grid; place-items: center; }
.filter-row { display: flex; gap: 5px; background: #f4f3f8; border-radius: 12px; padding: 4px; }
.filter-row button { min-height: 44px; border: 0; border-radius: 9px; background: none; color: var(--color-muted); padding: 7px 11px; font-size: 13px; font-weight: 800; }
.filter-row button[aria-pressed="true"] { background: #fff; color: var(--color-action-deep); box-shadow: 0 2px 8px rgba(25,27,67,.1); }
.loading-link { font-size: 12px; margin-left: auto; }
.results-line { display: flex; gap: 12px; align-items: baseline; margin: 0 0 14px 3px; }
.results-line strong { font-size: 14px; }
.results-line span { color: var(--color-muted); font-size: 12px; }
.offer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.offer-card { padding: 0; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; min-width: 0; touch-action: pan-y; animation: card-enter .23s ease both; transition: transform .16s ease, box-shadow .16s ease; }
.offer-card:nth-child(2) { animation-delay: .06s; }
.offer-card:nth-child(3) { animation-delay: .12s; }
.offer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.offer-card--expired { border-color: #b8b9cc; background: #f7f7fa; }
.offer-card--expired .offer-art { filter: grayscale(.25); }
.offer-art { height: 158px; position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 79% 32%,#aaa6ff,transparent 25%),linear-gradient(132deg,#242160,#5148df 75%); }
.offer-art--coral { background: radial-gradient(circle at 79% 30%,#ffb8a7,transparent 27%),linear-gradient(135deg,#9e3e5c,#f16f60); }
.offer-art--mint { background: radial-gradient(circle at 79% 30%,#fff,transparent 22%),linear-gradient(135deg,#226478,#80cbb8); }
.offer-art--image { display: grid; place-items: center; background: radial-gradient(circle at 50% 85%,rgba(255,255,255,.7),transparent 53%),linear-gradient(135deg,#e5e3ff,#c8c6fa); }
.offer-art--image.offer-art--coral { background: radial-gradient(circle at 50% 85%,rgba(255,255,255,.8),transparent 53%),linear-gradient(135deg,#fff0e9,#f7bdad); }
.offer-art--image img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.12); filter: drop-shadow(0 13px 14px rgba(25,27,67,.16)); }
.offer-art__orb { position: absolute; width: 160px; height: 160px; background: linear-gradient(135deg,rgba(255,255,255,.56),rgba(255,255,255,.09)); border: 1px solid rgba(255,255,255,.35); border-radius: 45px; transform: rotate(31deg); top: 22px; right: 22%; box-shadow: inset -15px -18px 30px rgba(25,27,67,.15),0 25px 35px rgba(25,27,67,.18); }
.offer-art__path { position: absolute; width: 300px; height: 110px; border-radius: 60% 30% 0 0; border: 24px solid rgba(255,255,255,.68); border-bottom: 0; transform: rotate(-18deg); bottom: -42px; left: -25px; }
.offer-art__star { position: absolute; color: #fff6bc; right: 21%; top: 37px; font-size: 40px; text-shadow: 0 0 22px #fff; }
.offer-art__tile { position: absolute; width: 44px; height: 44px; background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.4); border-radius: 12px; transform: rotate(24deg); }
.tile-one { left: 18%; top: 28px; }.tile-two { right: 7%; bottom: 20px; width: 28px; height: 28px; }
.offer-card__body { padding: 22px; }
.offer-card__top { display: flex; align-items: center; gap: 9px; min-width: 0; margin-bottom: 13px; }
.offer-card__top .pill { margin-left: auto; }
.company-monogram { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #dedcff; color: #4038b9; font: 850 17px/1 "Space Grotesk",sans-serif; flex: 0 0 auto; }
.company-monogram--coral { background: #ffe0d9; color: #a53d45; }.company-monogram--mint { background: #d1f1e6; color: #236950; }
.company-name { font-size: 13px; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer-card h3 { font-size: 23px; line-height: 1.15; margin: 0 0 8px; }
.offer-card__summary { color: var(--color-muted); font-size: 13px; line-height: 1.5; min-height: 40px; margin-bottom: 16px; }
.offer-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--color-muted); font-size: 12px; }
.offer-meta span, .talent-card__facts span { display: inline-flex; align-items: center; gap: 4px; }
.offer-meta .icon, .talent-card__facts .icon { width: 15px; height: 15px; }
.offer-card__facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 13px; margin-top: 16px; }
.offer-card__facts > div { min-width: 0; border-left: 2px solid #d9d5ff; padding-left: 9px; }
.offer-card__facts span, .offer-card__facts strong { display: block; line-height: 1.35; overflow-wrap: anywhere; }
.offer-card__facts span { color: var(--color-muted); font-size: 12px; font-weight: 750; }
.offer-card__facts strong { color: var(--color-ink); font-size: 12px; font-weight: 700; margin-top: 3px; }
.offer-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 17px; }
.offer-tags span { border-radius: 99px; background: #f2f1fb; color: #4e5182; font-size: 12px; font-weight: 750; padding: 7px 9px; }
.offer-card__actions { display: flex; gap: 8px; padding-top: 19px; margin-top: 19px; border-top: 1px solid #ededf4; }
.offer-card__actions .button--dark { margin-left: auto; }
.icon-button { width: 46px; padding: 0; }
.icon-button.is-favorite { background: #ffe8e5; color: #bd4a51; border-color: #f8c1bd; }
.offer-card--compact { display: grid; grid-template-columns: minmax(150px,.42fr) minmax(0,1fr); }
.offer-card--compact .offer-art { height: auto; min-height: 260px; }
.offer-card--compact .offer-card__body { padding: 20px; }
.offer-card--compact .offer-card__summary { min-height: 0; }
.offer-card--compact .offer-card__actions { margin-top: 14px; padding-top: 14px; }
.gesture-hint { color: var(--color-muted); font-size: 12px; margin-top: 15px; }
.empty-state { text-align: center; padding: 62px 26px; max-width: 700px; margin: 0 auto; }
.empty-state__icon { width: 70px; height: 70px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 23px; background: #ecebff; color: var(--color-action); }
.empty-state__icon .icon { width: 30px; height: 30px; }
.empty-state h2 { font-size: 26px; margin-bottom: 7px; }
.empty-state p { max-width: 470px; margin: 0 auto 18px; color: var(--color-muted); }
.skeleton-card { height: 390px; border-radius: var(--radius-card); background: linear-gradient(100deg,#e9e8f0 20%,#f7f7fa 35%,#e9e8f0 50%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out 3; }

/* Student detail, CV and explicit decision */
.progress-steps { list-style: none; padding: 0; margin: 0 0 30px; display: flex; justify-content: space-between; position: relative; max-width: 780px; }
.progress-steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 20px; height: 2px; background: var(--color-line); }
.progress-steps li { display: flex; align-items: center; flex-direction: column; gap: 5px; position: relative; color: var(--color-muted); font-weight: 750; z-index: 1; min-width: 66px; }
.progress-steps li > span { width: 40px; height: 40px; border: 2px solid var(--color-line); background: #fff; color: var(--color-muted); border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.progress-steps li > span .icon { width: 17px; height: 17px; }
.progress-steps li.is-done > span { background: var(--color-mint); border-color: #93d9bc; color: #116046; }
.progress-steps li.is-current > span { background: var(--color-action); border-color: var(--color-action); color: #fff; box-shadow: 0 0 0 5px #e9e7ff; }
.progress-steps li.is-current small { color: var(--color-action-deep); }
.progress-steps small { font-size: 12px; text-align: center; }
.detail-grid, .cv-grid, .validation-grid, .tracking-grid, .profile-grid, .review-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(285px,.8fr); align-items: start; gap: 20px; }
.detail-grid { grid-template-columns: minmax(0,1.45fr) minmax(290px,.8fr); }
.detail-kicker { display: flex; gap: 7px; margin-bottom: 19px; }
.offer-detail h1 { font-size: clamp(29px,3.5vw,45px); line-height: 1.06; margin: 0 0 9px; }
.detail-company { color: var(--color-action-deep); font-weight: 800; margin-bottom: 25px; }
.lead { font-size: 18px; font-weight: 550; line-height: 1.5; margin-bottom: 22px; }
.detail-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; padding: 22px 0; margin: 18px 0 23px; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.detail-facts > div { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.detail-facts .icon { color: var(--color-action); width: 18px; height: 18px; margin-top: 2px; }
.detail-facts small, .detail-facts strong { display: block; }
.detail-facts small { color: var(--color-muted); font-size: 12px; margin-bottom: 3px; }
.detail-facts strong { font-size: 13px; line-height: 1.35; }
.offer-detail h2 { font-size: 22px; margin: 0 0 7px; }
.offer-detail h2 + p { color: var(--color-muted); font-size: 14px; }
.source-note { display: flex; align-items: flex-start; gap: 8px; background: #f4f4fa; border-radius: 12px; padding: 12px 13px; color: var(--color-muted); font-size: 14px; line-height: 1.5; margin-top: 20px; }
.source-note .icon { color: var(--color-action); width: 16px; height: 16px; }
.detail-aside { display: grid; gap: 15px; }
.detail-aside > .button { width: 100%; }
.match-score { display: flex; align-items: center; gap: 12px; margin: 12px 0 13px; }
.match-score strong { font: 800 42px/1 "Space Grotesk",sans-serif; letter-spacing: -.07em; }
.match-score span { color: var(--color-muted); font-size: 12px; line-height: 1.3; }
.match-bar { height: 7px; background: #ecebf7; border-radius: 99px; overflow: hidden; }
.match-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--color-action),#b3abff); }
.match-list { list-style: none; padding: 0; display: grid; gap: 13px; margin: 20px 0; }
.match-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.45; }
.match-list .icon { width: 16px; height: 16px; color: #16865f; }
.match-list .is-warning .icon { color: #ac6900; }
.match-panel .button { width: 100%; }
.certification-panel { background: #f4f3ff; }
.certification-panel h3 { margin: 9px 0 5px; font-size: 18px; }
.certification-panel p { font-weight: 800; font-size: 12px; margin: 0 0 10px; }
.certification-panel small { display: block; color: var(--color-muted); line-height: 1.5; font-size: 12px; }
.cv-grid { grid-template-columns: minmax(0,1.3fr) minmax(310px,.85fr); }
.comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 20px 0; }
.comparison__pane { border: 1px solid var(--color-line); border-radius: 15px; background: #fafafa; padding: 15px; }
.comparison__pane--suggested { border-color: #bfb9ff; background: #f6f5ff; }
.pane-label { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 850; color: var(--color-action-deep); margin-bottom: 12px; }
.comparison__pane p { color: var(--color-ink); line-height: 1.55; font-size: 13px; min-height: 100px; }
.comparison__pane small { font-size: 12px; color: var(--color-muted); }
mark { background: #dcd8ff; color: var(--color-ink); padding: 2px; border-radius: 2px; }
.field-label { display: block; font-size: 13px; font-weight: 850; margin-bottom: 8px; }
textarea, .form-grid input, .form-grid select { width: 100%; border: 1px solid #bfc0d4; border-radius: var(--radius-field); background: #fff; color: var(--color-ink); padding: 12px 13px; font-size: 14px; line-height: 1.45; }
textarea { resize: vertical; min-height: 116px; }
.fact-callout { display: flex; gap: 10px; margin: 16px 0; padding: 14px; background: #fff7e9; color: #664300; border: 1px solid #f2dbac; border-radius: 13px; font-size: 12px; }
.fact-callout .icon { color: #ae6a00; width: 18px; height: 18px; }
.fact-callout p { font-size: 12px; margin: 3px 0 0; }
.check-line { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; line-height: 1.45; font-weight: 650; cursor: pointer; }
.check-line input { width: 19px; height: 19px; flex: 0 0 auto; accent-color: var(--color-action); margin: 1px 0 0; }
.actions-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.form-error { color: var(--color-error); background: #fff0f1; padding: 11px 12px; margin-top: 13px; border-radius: 10px; font-size: 13px; font-weight: 750; }
.form-error[hidden] { display: none; }
.cv-preview { padding: 0; overflow: hidden; border: 0; box-shadow: var(--shadow-float); position: sticky; top: 108px; }
.cv-preview__head { background: var(--color-ink); color: #fff; padding: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: flex-start; }
.cv-preview__brand { font-weight: 850; font-size: 14px; }
.cv-preview__brand small { color: #bdc0e9; display: block; font-size: 14px; line-height: 1.35; font-weight: 550; margin-top: 3px; }
.cv-preview__tag { background: var(--color-mint); color: #125c43; border-radius: 99px; padding: 6px 8px; font-size: 12px; font-weight: 850; white-space: nowrap; }
.cv-preview__identity { display: flex; align-items: center; gap: 13px; padding: 23px 22px 14px; }
.cv-preview__avatar, .profile-head__avatar { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg,var(--color-action),#8f8af4); color: #fff; display: grid; place-items: center; font: 850 21px/1 "Space Grotesk",sans-serif; }
.cv-preview__identity h2 { font-size: 22px; margin: 0 0 3px; }.cv-preview__identity p { color: var(--color-muted); font-size: 12px; margin: 0; }
.cv-preview__section { margin: 0 22px; padding: 12px 0; border-bottom: 1px solid #e9e9f0; }
.cv-preview__section > span { display: block; text-transform: uppercase; letter-spacing: .1em; color: var(--color-action-deep); font-size: 12px; font-weight: 850; margin-bottom: 4px; }
.cv-preview__section p { font-size: 12px; font-weight: 750; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.cv-preview__section small { display: block; font-size: 12px; font-weight: 500; color: var(--color-muted); margin-top: 2px; }
.cv-preview__foot { color: var(--color-muted); font-size: 14px; padding: 15px 22px 20px; }
.validation-grid { grid-template-columns: minmax(0,1.45fr) minmax(280px,.7fr); }
.validation-main h2 { font-size: 26px; margin: 8px 0 18px; }
.summary-list { display: grid; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); margin: 19px 0 23px; }
.summary-list > div { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid #efeff4; font-size: 13px; }
.summary-list > div:last-child { border-bottom: 0; }
.summary-list span { color: var(--color-muted); }
.summary-list strong { text-align: right; max-width: 65%; }
.cv-final-preview, .submitted-offer { border: 1px solid var(--color-line); border-radius: 13px; background: #fff; margin: 18px 0 22px; padding: 14px; }
.cv-final-preview > summary, .submitted-offer > summary { cursor: pointer; color: var(--color-action-deep); font-weight: 800; font-size: 13px; min-height: 44px; display: flex; align-items: center; }
.cv-final-preview .cv-preview { position: static; max-width: 100%; margin-top: 15px; box-shadow: none; border: 1px solid var(--color-line); }
.submitted-offer .summary-list { margin-bottom: 0; }
.consent-box { background: #f5f5fb; border-radius: 14px; padding: 16px; display: grid; gap: 15px; margin-top: 16px; }
.actions-row--final > span { display: inline-flex; align-items: center; gap: 7px; color: var(--color-muted); font-size: 14px; }
.actions-row--final > span .icon { width: 17px; height: 17px; }
.privacy-panel { background: #f1f0ff; }
.privacy-panel__icon { width: 46px; height: 46px; border-radius: 15px; background: var(--color-action); color: #fff; display: grid; place-items: center; margin-bottom: 15px; }
.privacy-panel h3 { font-size: 22px; margin: 0 0 8px; }
.privacy-panel p { color: var(--color-muted); font-size: 13px; margin: 0; }
.error-toggle { display: flex; align-items: center; gap: 9px; padding: 13px 14px; border: 1px dashed #df9da8; border-radius: 13px; background: #fff7f8; color: #92243a; font-size: 12px; font-weight: 750; cursor: pointer; }
.error-toggle input { accent-color: var(--color-error); width: 18px; height: 18px; }
.timeline { list-style: none; padding: 0; margin: 25px 0; display: grid; }
.timeline li { display: flex; gap: 14px; position: relative; min-height: 75px; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 28px; bottom: -2px; left: 13px; width: 2px; background: var(--color-line); }
.timeline li > span { width: 28px; height: 28px; border-radius: 50%; background: #f0f0f7; color: var(--color-muted); display: grid; place-items: center; flex: 0 0 auto; font-size: 12px; font-weight: 800; z-index: 1; }
.timeline li.is-done > span { background: var(--color-mint); color: #126345; }
.timeline li > span .icon { width: 15px; height: 15px; }
.timeline strong, .timeline small { display: block; }.timeline strong { font-size: 14px; }.timeline small { color: var(--color-muted); font-size: 12px; margin-top: 4px; }
.next-panel { background: #eeedff; overflow: hidden; }
.next-panel__art { height: 120px; display: grid; place-items: center; background: radial-gradient(circle,#b0aaff,#eeedff 68%); color: var(--color-action); margin: -25px -25px 16px; }
.next-panel__art .icon { width: 58px; height: 58px; filter: drop-shadow(0 8px 9px rgba(80,70,229,.2)); }
.next-panel h2 { font-size: 25px; margin: 7px 0; }.next-panel p { color: var(--color-muted); font-size: 13px; }
.request-card { display: grid; grid-template-columns: 50px 1fr; gap: 17px; max-width: 860px; }
.request-card__icon { width: 50px; height: 50px; background: #eeeaff; color: var(--color-action); display: grid; place-items: center; border-radius: 15px; }
.request-card h2 { font-size: 25px; margin: 7px 0; }.request-card p { color: var(--color-muted); font-size: 14px; }
.request-card__details { background: #f6f6fa; border-radius: 10px; padding: 12px; font-size: 12px; }
.profile-head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--color-line); }
.profile-head h2 { font-size: 25px; margin: 4px 0; }.profile-head p { color: var(--color-muted); font-size: 13px; margin: 0; }
.profile-field { padding: 16px 0; border-bottom: 1px solid #ececf4; }.profile-field:last-child { border-bottom: 0; }
.profile-field > span, .profile-field strong, .profile-field small { display: block; }
.profile-field > span { color: var(--color-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; margin-bottom: 5px; }
.profile-field > span .icon { display: inline; vertical-align: middle; width: 14px; height: 14px; color: var(--color-action); }
.profile-field strong { font-size: 14px; }.profile-field small { color: var(--color-muted); font-size: 12px; margin-top: 5px; }
.profile-field--ai { background: #f6f5ff; padding: 14px; border-radius: 13px; margin-top: 14px; border: 0; }
.visibility-card h2 { font-size: 25px; margin: 8px 0; }.visibility-card p { font-size: 13px; color: var(--color-muted); }
.switch-line { display: flex; align-items: center; gap: 10px; margin: 25px 0; font-size: 14px; font-weight: 800; cursor: pointer; min-height: 44px; }
.switch-line input { position: absolute; opacity: 0; width: 46px; height: 28px; }
.switch-line__visual { width: 46px; height: 28px; border-radius: 99px; background: #aeb0c1; position: relative; flex: 0 0 auto; transition: background .14s ease; }
.switch-line__visual::before { content: ""; position: absolute; width: 20px; height: 20px; background: #fff; border-radius: 50%; top: 4px; left: 4px; transition: transform .14s ease; }
.switch-line input:checked + .switch-line__visual { background: var(--color-action); }
.switch-line input:checked + .switch-line__visual::before { transform: translateX(18px); }
.switch-line input:focus-visible + .switch-line__visual { outline: 3px solid var(--color-action); outline-offset: 3px; }

/* Commercial and company dashboards */
.metrics-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; margin-bottom: 22px; }
.metric { border: 1px solid var(--color-line); background: #fff; box-shadow: var(--shadow-card); border-radius: var(--radius-card); padding: 21px; min-height: 138px; position: relative; overflow: hidden; }
.metric::after { content: ""; position: absolute; border-radius: 50%; width: 120px; height: 120px; right: -37px; top: -44px; background: #eae9ff; }
.metric--coral::after { background: #ffe7e1; }.metric--mint::after { background: #dcf5ea; }
.metric span, .metric strong, .metric small { display: block; position: relative; z-index: 1; }
.metric span { color: var(--color-muted); font-size: 12px; font-weight: 800; }
.metric strong { font: 800 43px/1 "Space Grotesk",sans-serif; letter-spacing: -.07em; margin: 15px 0 6px; }
.metric small { color: var(--color-muted); font-size: 12px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,.75fr); gap: 20px; }
.priority-item { display: flex; align-items: center; gap: 12px; padding: 17px 0; border-top: 1px solid #ececf3; }
.priority-item__icon { width: 40px; height: 40px; border-radius: 12px; background: #eae9ff; color: var(--color-action); display: grid; place-items: center; flex: 0 0 auto; }
.priority-item__icon--coral { background: #ffe9e3; color: #b8534c; }.priority-item__icon--mint { background: #dff5eb; color: #167653; }
.priority-item__icon .icon { width: 19px; height: 19px; }
.priority-item > div { min-width: 0; flex: 1; }.priority-item strong, .priority-item small { display: block; }
.priority-item strong { font-size: 14px; }.priority-item small { font-size: 12px; color: var(--color-muted); line-height: 1.4; margin-top: 3px; }
.priority-item button { border: 0; background: none; color: var(--color-action-deep); font-weight: 800; font-size: 12px; display: flex; align-items: center; gap: 3px; white-space: nowrap; min-height: 44px; }
.priority-item button .icon { width: 14px; height: 14px; }
.guided-panel { background: var(--color-ink); color: #fff; min-height: 323px; position: relative; overflow: hidden; }
.guided-panel .eyebrow { color: #c2bdff; }.guided-panel h2 { font-size: clamp(28px,3vw,41px); line-height: 1.07; margin: 24px 0 12px; position: relative; z-index: 1; }
.guided-panel p { color: #c8cae8; font-size: 13px; max-width: 300px; position: relative; z-index: 1; }
.guided-panel__shape { position: absolute; right: -30px; bottom: -100px; color: var(--color-coral); font-size: 280px; line-height: 1; opacity: .36; }
.guided-panel--light { background: #e9f8f0; color: var(--color-ink); }.guided-panel--light .eyebrow { color: #247456; }.guided-panel--light h2 em { color: var(--color-action); }.guided-panel--light p { color: var(--color-muted); }.guided-panel--light .guided-panel__shape { color: #64ba98; }
.form-surface { max-width: 920px; }
.form-head { display: flex; gap: 14px; align-items: center; padding-bottom: 19px; border-bottom: 1px solid var(--color-line); margin-bottom: 23px; }
.form-head__icon { width: 45px; height: 45px; border-radius: 14px; display: grid; place-items: center; background: var(--color-action); color: #fff; }
.form-head h2 { font-size: 24px; margin: 0 0 4px; }.form-head p { color: var(--color-muted); font-size: 13px; margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.form-grid label { display: grid; gap: 8px; font-size: 12px; font-weight: 850; }
.form-grid__full { grid-column: 1 / -1; }
.form-grid select { min-height: 48px; }.form-grid input { min-height: 48px; }
.form-grid textarea { min-height: 110px; }
.form-note { display: flex; align-items: flex-start; gap: 8px; border: 1px solid #f0d9a2; background: #fff9ec; padding: 12px 14px; margin-top: 21px; border-radius: 11px; color: #745212; font-size: 12px; line-height: 1.5; }
.form-note .icon { width: 16px; height: 16px; }
.review-card h2 { font-size: 29px; margin: 10px 0 4px; }.review-card > p { color: var(--color-muted); }
.review-card > .button { margin-top: 20px; }
.table-surface { min-width: 0; }.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 630px; text-align: left; }
th { color: var(--color-muted); background: #f6f6fb; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
th, td { padding: 15px; border-bottom: 1px solid #ececf4; }
td { font-size: 13px; font-weight: 650; }
.partner-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.partner-card .company-monogram { width: 45px; height: 45px; font-size: 21px; margin-bottom: 20px; }
.partner-card h2 { font-size: 25px; margin: 0 0 5px; }.partner-card > p { color: var(--color-muted); font-size: 13px; }
.partner-card__row { display: flex; justify-content: space-between; gap: 10px; padding: 14px 0; border-top: 1px solid #ededf4; font-size: 13px; }
.partner-card__row span { color: var(--color-muted); }.partner-card .button { margin-top: 16px; }
.company-hero { display: grid; grid-template-columns: 1.4fr .6fr; min-height: 325px; background: linear-gradient(115deg,#2d2799,#5750df); border-radius: var(--radius-panel); color: #fff; padding: clamp(26px,4vw,52px); margin-bottom: 21px; overflow: hidden; position: relative; }
.company-hero h2 { font-size: clamp(32px,3.5vw,52px); line-height: 1.08; margin: 18px 0 14px; }.company-hero h2 em { color: var(--color-mint); }
.company-hero p { color: #dedcff; font-size: 14px; max-width: 530px; }
.company-hero__orb { width: 260px; height: 260px; border-radius: 40%; transform: rotate(25deg); background: linear-gradient(135deg,rgba(255,255,255,.82),rgba(189,235,217,.15)); box-shadow: 0 27px 45px rgba(15,12,91,.26),inset -32px -32px 50px rgba(80,70,229,.29); display: grid; place-items: center; justify-self: end; align-self: center; position: relative; }
.company-hero__orb span { transform: rotate(-25deg); font-size: 100px; color: var(--color-coral); text-shadow: 0 4px 30px #fff; }
.fake-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; }
.fake-filter label { display: grid; gap: 4px; color: var(--color-muted); flex: 1 1 180px; }
.fake-filter select { min-height: 44px; width: 100%; border: 1px solid var(--color-line); border-radius: 10px; background: #fff; color: var(--color-ink); padding: 8px 10px; }
.fake-filter .icon { color: var(--color-action); width: 17px; height: 17px; }
.profile-editor, .local-history { margin-top: 20px; }
.local-history summary { cursor: pointer; font-weight: 850; color: var(--color-action-deep); min-height: 44px; display: flex; align-items: center; }
.local-history ol { padding-left: 23px; margin: 12px 0; }
.local-history li { padding: 10px 0; border-bottom: 1px solid var(--color-line); }
.local-history li strong, .local-history li span { display: block; overflow-wrap: anywhere; }
.local-history li span, .local-history p { color: var(--color-muted); font-size: 12px; margin-top: 4px; }
.local-history blockquote { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--color-action); background: #f6f5ff; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
.pool-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(260px,.8fr); gap: 20px; align-items: start; }
.talent-card__top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.talent-avatar { width: 62px; height: 62px; border-radius: 17px; background: linear-gradient(130deg,#d6d3ff,#735ff1); display: grid; place-items: center; color: #fff; font: 800 28px/1 "Space Grotesk",sans-serif; position: relative; }
.talent-avatar span { position: absolute; top: 6px; right: 6px; color: var(--color-mint); font-size: 14px; }
.talent-card h2 { font-size: 30px; margin: 6px 0 10px; }.talent-card > p { color: var(--color-muted); font-size: 14px; max-width: 550px; }
.talent-card__facts { display: flex; flex-wrap: wrap; gap: 16px; color: var(--color-muted); font-size: 12px; margin-top: 20px; }.talent-card > .button { margin-top: 20px; }
.pool-note { background: #f0efff; min-height: 375px; overflow: hidden; position: relative; }.pool-note h2 { font-size: 29px; margin: 14px 0 10px; }.pool-note p { color: var(--color-muted); font-size: 14px; }
.pool-note__graphic { display: flex; gap: 9px; align-items: end; height: 120px; margin-top: 28px; }.pool-note__graphic span { width: 70px; border-radius: 15px 15px 0 0; background: var(--color-action); height: 64px; }.pool-note__graphic span:nth-child(2) { height: 95px; background: var(--color-coral); }.pool-note__graphic span:nth-child(3) { height: 114px; background: #73caaa; }
.request-side h2 { font-size: 26px; margin: 10px 0; }.request-side p { color: var(--color-muted); font-size: 13px; }.request-side .button { width: 100%; }
.request-side__illustration { height: 130px; display: grid; place-items: center; margin: 18px -25px -25px; background: radial-gradient(circle,#ecebff,transparent 62%); color: var(--color-action); }.request-side__illustration .icon { width: 69px; height: 69px; filter: drop-shadow(0 10px 12px rgba(80,70,229,.13)); }
.request-log { max-width: 850px; }.request-log__top { display: flex; align-items: center; gap: 13px; }.request-log__top .company-monogram { width: 44px; height: 44px; }.request-log__top > div { flex: 1; }.request-log__top h2 { font-size: 18px; margin: 0 0 3px; }.request-log__top p { color: var(--color-muted); font-size: 12px; margin: 0; }.request-log > .button { margin-top: 18px; }

/* R4: onboarding, accompagnement, messages et suivi local */
.onboarding-prompt { margin: 0 0 18px; align-items: flex-start; }
.onboarding-prompt > div { min-width: 0; }
.onboarding-prompt p { margin: 4px 0 8px; }
.onboarding-grid, .support-grid, .notification-layout, .partner-followup-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.8fr); gap: 20px; align-items: start; margin-bottom: 20px; }
.onboarding-grid > *, .support-grid > *, .notification-layout > *, .partner-followup-grid > * { min-width: 0; }
.provenance-panel { background: #f2f0ff; }
.provenance-panel h2 { font-size: clamp(23px,2.4vw,31px); margin: 8px 0 17px; }
.provenance-panel p { color: var(--color-muted); }
.profile-provenance { margin-top: 20px; }
.provenance-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.provenance-grid > div { background: #fff; border: 1px solid var(--color-line); border-radius: 13px; padding: 14px; min-width: 0; }
.provenance-grid span, .provenance-grid strong, .provenance-grid small { display: block; overflow-wrap: anywhere; }
.provenance-grid span { color: var(--color-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.provenance-grid strong { font-size: 14px; margin-top: 7px; }
.provenance-grid small { color: var(--color-muted); font-size: 12px; margin-top: 5px; }
.flow-list { display: grid; gap: 16px; margin: 22px 0; }
.flow-list > h2 { margin-bottom: 0; }
.flow-card { min-width: 0; margin: 18px 0; }
.flow-card h2, .flow-card h3 { margin: 8px 0 12px; }
.flow-card > p { color: var(--color-muted); }
.message-actions, .application-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.message-bubble { border: 1px solid #d6d2fb; background: #f5f4ff; border-radius: 15px; padding: 15px; margin: 13px 0; min-width: 0; }
.message-bubble--student { background: #eaf8f1; border-color: #b9e2ce; }
.message-bubble strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.message-bubble p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.student-help-form, .student-reply-form, .company-response-form, .company-interview-form, .company-decision-form, .followup-form, .reminder-form, .preference-form { display: grid; gap: 10px; margin: 18px 0; min-width: 0; }
.student-help-form label, .student-reply-form label, .company-response-form label, .company-interview-form label, .company-decision-form label, .followup-form label, .reminder-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
.student-help-form input, .student-reply-form input, .company-response-form input, .company-interview-form input, .company-decision-form input, .company-decision-form select, .followup-form input, .reminder-form input { width: 100%; min-height: 48px; border: 1px solid #bfc0d4; border-radius: var(--radius-field); background: #fff; color: var(--color-ink); padding: 10px 12px; }
.student-reply-form textarea, .company-response-form textarea, .company-decision-form textarea { width: 100%; }
.student-help-form .button, .student-reply-form .button, .company-response-form .button, .company-interview-form .button, .company-decision-form .button, .followup-form .button, .reminder-form .button, .preference-form .button { justify-self: start; }
.notification-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.notification-list li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border: 1px solid var(--color-line); border-radius: 13px; padding: 13px; background: #f9f9ff; }
.notification-list li.is-read { background: #f7f7f9; }
.notification-list li > div { min-width: 0; flex: 1 1 200px; }
.notification-list strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.notification-list p { color: var(--color-muted); font-size: 13px; margin: 5px 0; overflow-wrap: anywhere; }
.notification-list small { color: var(--color-muted); font-size: 12px; }
.dashboard-followup { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.dashboard-followup > div { min-width: 0; flex: 1 1 230px; }
.dashboard-followup h2 { font-size: 22px; margin: 6px 0; }
.dashboard-followup p { color: var(--color-muted); margin-bottom: 0; }
.cohort-actions { margin: 16px 0; }
.company-applications { margin-top: 20px; }
.company-applications > h2 { margin-bottom: 12px; }
.company-applications .flow-card { border-top: 1px solid var(--color-line); padding-top: 18px; }

@keyframes card-enter { from { transform: translateY(12px); } to { transform: none; } }
@keyframes shimmer { to { background-position-x: -200%; } }

@media (max-width: 1200px) {
  html { scroll-padding-top: 150px; }
  .topbar { height: auto; min-height: 84px; padding-top: 12px; padding-bottom: 12px; }
  .topbar__right { flex-wrap: wrap; }
  .home-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .journey-panel { min-height: 280px; }
  .journey-list { grid-template-columns: repeat(3,1fr); }
  .offer-card--compact { grid-template-columns: 215px 1fr; }
}

@media (max-width: 960px) {
  .app-layout { grid-template-columns: 190px minmax(0,1fr); }
  .sidebar { padding-left: 10px; padding-right: 10px; }
  .side-links button { gap: 9px; padding-left: 12px; font-size: 12px; }
  .side-links button.is-active::before { left: -10px; }
  .main-content { padding-left: 28px; padding-right: 28px; }
  .hero { grid-template-columns: 1fr .8fr; }
  .hero__visual { min-height: 400px; }
  .offer-grid, .partner-grid { grid-template-columns: 1fr; }
  .detail-grid, .cv-grid, .validation-grid, .tracking-grid, .profile-grid, .review-grid, .pool-grid { grid-template-columns: 1fr; }
  .detail-aside { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-aside > .button, .detail-aside > .inline-banner { grid-column: 1 / -1; }
  .cv-preview { position: static; max-width: 580px; }
  .onboarding-grid, .support-grid, .notification-layout, .partner-followup-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 220px; scroll-padding-bottom: calc(95px + env(safe-area-inset-bottom)); }
  :focus-visible { scroll-margin-top: 220px; scroll-margin-bottom: calc(95px + env(safe-area-inset-bottom)); }
  .topbar { height: auto; min-height: 70px; padding: 11px 20px; flex-wrap: wrap; gap: 9px; }
  .brand__mark { width: 37px; height: 37px; }.brand__text strong { font-size: 15px; }.brand__text small { font-size: 12px; }
  .topbar__right { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 7px; }
  .demo-badge { width: 100%; white-space: normal; line-height: 1.35; }
  .role-switch { width: 100%; }.role-switch button { flex: 1; min-height: 44px; }
  .app-layout { display: block; }.sidebar { display: none; }
  .main-content { padding: 24px 20px 100px; }
  .mobile-nav { position: fixed; z-index: 30; display: flex; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--color-line); padding: 7px max(8px, env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right)); box-shadow: 0 -8px 20px rgba(25,27,67,.05); }
  .mobile-nav button { border: 0; background: none; color: var(--color-muted); flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 50px; padding: 5px 1px; font-size: 12px; line-height: 1.15; overflow-wrap: anywhere; font-weight: 750; }
  .mobile-nav button.is-active { color: var(--color-action); }.mobile-nav button .icon { width: 21px; height: 21px; }
  .hero { grid-template-columns: 1fr; }.hero__copy { padding: 34px 28px 15px; }.hero h1 { font-size: 43px; }.hero__visual { min-height: 260px; max-height: 300px; }
  .hero__visual::after { background: linear-gradient(180deg,#11122f 0%,transparent 31%); }
  .section-top { align-items: flex-start; }.section-top__right { display: none; }
  .offer-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }.metric { min-height: 115px; padding: 13px; }.metric strong { font-size: 31px; margin: 13px 0 5px; }.metric span, .metric small { font-size: 12px; }
  .footer { flex-direction: column; gap: 5px; }
}

@media (max-width: 560px) {
  .offer-card__facts { grid-template-columns: 1fr; }
  .main-content { padding-left: 20px; padding-right: 20px; }
  .hero { border-radius: 24px; }.hero__copy { padding: 30px 24px 7px; }.hero h1 { font-size: 39px; margin: 17px 0; }.hero p { font-size: 14px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; }.hero__actions .button { padding: 10px 7px; font-size: 12px; }
  .hero__visual { min-height: 210px; }.hero__floating { padding: 7px 9px; font-size: 12px; }.hero__floating--one { left: 5%; top: 16px; }.hero__floating--two { right: 4%; bottom: 18px; }
  .home-grid { gap: 15px; margin-top: 15px; }.surface { padding: 20px; border-radius: 19px; }
  .offer-card--compact { display: block; }.offer-card--compact .offer-art { height: 150px; min-height: 0; }
  .offer-card__body { padding: 18px; }.offer-card h3 { font-size: 21px; }
  .offer-card__top { gap: 6px; }.company-name { font-size: 12px; }.offer-card__top .pill { font-size: 12px; padding: 6px 7px; }
  .journey-list { display: grid; grid-template-columns: 1fr; }.journey-panel { min-height: 0; }
  .section-top h1 { font-size: 32px; }.section-top p { font-size: 14px; }
  .discovery-tools { align-items: stretch; }.search-box { flex-basis: 100%; }.filter-row { flex: 1; justify-content: space-between; }.loading-link { margin: 0; }
  .progress-steps { margin-bottom: 24px; }.progress-steps li { min-width: 52px; }.progress-steps li > span { width: 34px; height: 34px; }.progress-steps::before { top: 16px; }.progress-steps small { font-size: 12px; line-height: 1.15; overflow-wrap: anywhere; }
  .detail-facts { grid-template-columns: 1fr; gap: 14px; }.detail-aside { grid-template-columns: 1fr; }
  .comparison { grid-template-columns: 1fr; }.comparison__pane p { min-height: 0; }
  .actions-row { align-items: stretch; flex-direction: column; }.actions-row .button { width: 100%; }
  .summary-list > div { flex-direction: column; gap: 4px; }.summary-list strong { max-width: none; text-align: left; }
  .form-grid { grid-template-columns: 1fr; }.form-grid__full { grid-column: auto; }
  .company-hero { display: block; padding: 27px; min-height: 0; }.company-hero h2 { font-size: 35px; }.company-hero__orb { width: 130px; height: 130px; position: absolute; right: -39px; bottom: -60px; opacity: .6; }.company-hero__orb span { font-size: 55px; }
  .metrics-grid { grid-template-columns: 1fr; }.metric { min-height: 100px; }.metric strong { font-size: 36px; margin: 8px 0 2px; }
  .priority-item { flex-wrap: wrap; }.priority-item button { margin-left: 50px; }
  .request-card { grid-template-columns: 1fr; }.request-card__icon { width: 42px; height: 42px; }
  .request-log__top { flex-wrap: wrap; }.request-log__top .pill { margin-left: 56px; }
  .provenance-grid { grid-template-columns: 1fr; }
  .message-actions .button, .application-tabs .button, .dashboard-followup .button { width: 100%; }
  .student-help-form .button, .student-reply-form .button, .company-response-form .button, .company-interview-form .button, .company-decision-form .button, .followup-form .button, .reminder-form .button, .preference-form .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .offer-card:hover, .button:hover { transform: none !important; }
}
