:root {
  --navy: #004B87;
  --navy-deep: #003866;
  --navy-ink: #0B2540;
  --gold: #F08920;
  --gold-soft: #FDF1E4;
  --bg: #F8F9FA;
  --card: #FFFFFF;
  --line: #E2E8F0;
  --text: #1F2A37;
  --muted: #5B6B7D;
  --done: #1E8A5A;
  --done-soft: #E6F4EC;
  --late: #B42318;
  --late-soft: #FDECEA;
  --info-soft: #E8F0F8;
  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 8px;
  --f-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-metric: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; outline: none; }
a { color: var(--navy); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--f-head); color: var(--navy-ink); margin: 0; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* Utility strip */
.utility { background: var(--navy-deep); color: #D6E3F0; font-size: 12.5px; }
.utility-row { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 12px; }
.utility-inst { font-weight: 600; color: #fff; }
.utility-right { display: flex; align-items: center; gap: 14px; }
.utility a { color: #D6E3F0; text-decoration: none; }
.utility a:hover { color: #fff; text-decoration: underline; }
.account-chip { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 2px 10px; border-radius: 999px; color: #fff; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Navbar */
.navbar { background: var(--navy); color: #fff; border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 10; }
.nav-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand img { border-radius: 10px; background: #fff; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--f-head); font-weight: 800; font-size: 17px; }
.brand-text em { font-style: normal; color: var(--gold); }
.brand-text small { color: #BFD3E8; font-size: 12px; }
.tabs { display: flex; gap: 4px; margin-left: auto; }
.tabs a { color: #E4EDF6; text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.tabs a:hover { background: rgba(255,255,255,.1); }
.tabs a[aria-current="page"] { background: #fff; color: var(--navy); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.tabs[hidden] { display: none; }
.tabs[hidden] + .nav-actions { margin-left: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14px/1 var(--f-body); padding: 11px 18px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #D9761A; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--info-soft); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); padding: 8px 14px; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-link { background: none; border: 0; padding: 0; color: var(--navy); font-weight: 600; cursor: pointer; font-size: 13.5px; text-decoration: none; }
.btn-link:hover { text-decoration: underline; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.g-mark { width: 18px; height: 18px; background: #fff; border-radius: 4px; padding: 2px; }

/* Hero */
.hero { margin-top: 28px; background: var(--navy); color: #fff; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 38%; background: url("assets/rcc-campus.jpg") center/cover; opacity: .22; mix-blend-mode: luminosity; }
.hero-inner { position: relative; z-index: 1; padding: 30px 32px 28px; max-width: 760px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.hero h1 { color: #fff; font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-top: 12px; }
.hero p { color: #D2E1F0; margin: 8px 0 0; max-width: 60ch; }
.metrics { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.metric { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 10px 14px; min-width: 140px; }
.metric span { display: block; color: #BFD3E8; font-size: 12.5px; }
.metric strong { font-family: var(--f-metric); font-size: 17px; font-weight: 800; }
.metric.alert strong { color: #FFC58A; }

/* Section heads */
.section { margin-top: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.section-head h2 { font-size: 22px; font-weight: 800; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.sync-note { color: var(--muted); font-size: 12.5px; display: flex; gap: 10px; align-items: center; }

/* Next step card */
.next-card { margin-top: 20px; background: var(--card); border: 2px solid rgba(240,137,32,.45); border-radius: var(--radius-lg); padding: 22px 24px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.next-kicker { display: flex; align-items: center; gap: 8px; color: #B8600E; font-weight: 700; font-size: 13px; }
.next-kicker .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.next-card h3 { font-size: 21px; font-weight: 800; margin-top: 6px; }
.next-card p { margin: 6px 0 0; color: var(--muted); }
.next-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.next-card.calm { border-color: rgba(30,138,90,.4); }
.next-card.calm .next-kicker { color: var(--done); }
.next-card.calm .dot { background: var(--done); box-shadow: 0 0 0 4px var(--done-soft); }
.next-card.urgent { border-color: rgba(180,35,24,.45); }
.next-card.urgent .next-kicker { color: var(--late); }
.next-card.urgent .dot { background: var(--late); box-shadow: 0 0 0 4px var(--late-soft); }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { font: 600 13.5px var(--f-body); background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip .count { font-family: var(--f-metric); opacity: .7; margin-left: 4px; }

/* Course grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.course { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 18px 20px 16px; display: flex; flex-direction: column; }
.course.s-attention { border-top-color: var(--late); }
.course.s-progress { border-top-color: var(--gold); }
.course.s-done { border-top-color: var(--done); }
.course.s-empty { border-top-color: #A7B4C2; }
.course.s-teaching { border-top-color: var(--navy); }
.course-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.badge { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--info-soft); color: var(--navy); white-space: nowrap; }
.badge.attention { background: var(--late-soft); color: var(--late); }
.badge.progress { background: var(--gold-soft); color: #9A4F0B; }
.badge.done { background: var(--done-soft); color: var(--done); }
.badge.empty { background: #EEF1F4; color: var(--muted); }
.course-meta { color: var(--muted); font-size: 12.5px; }
.course h3 { font-size: 18px; font-weight: 800; margin-top: 10px; line-height: 1.25; }
.course h3 a { color: inherit; text-decoration: none; }
.course h3 a:hover { color: var(--navy); text-decoration: underline; }
.course-sub { color: var(--muted); font-size: 13.5px; margin-top: 3px; }

.progress { margin-top: 14px; }
.progress-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.progress-label strong { font-family: var(--f-metric); color: var(--navy-ink); font-size: 14px; }
.bar { height: 8px; background: #E9EEF3; border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--navy); border-radius: 999px; }
.s-done .bar > span { background: var(--done); }
.s-progress .bar > span { background: var(--gold); }
.s-attention .bar > span { background: var(--late); }

.mini-stats { display: flex; gap: 14px; margin-top: 10px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.mini-stats b { font-family: var(--f-metric); color: var(--text); }
.mini-stats .warn b { color: var(--late); }

.items { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.items-title { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.item { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: start; font-size: 13.5px; }
.item .ico { width: 16px; height: 16px; margin-top: 2px; }
.item .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item.done .t { color: var(--muted); text-decoration: line-through; }
.item .when { font-size: 12px; color: var(--muted); white-space: nowrap; }
.item.missing .when { color: var(--late); font-weight: 600; }
.item.soon .when { color: #9A4F0B; font-weight: 600; }

.course-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.course-foot .teacher { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.course-error { margin-top: 12px; font-size: 13px; color: var(--late); background: var(--late-soft); border-radius: var(--radius-sm); padding: 8px 10px; }

/* Invitations */
.invites { display: grid; gap: 12px; }
.invite { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.invite h3 { font-size: 17px; font-weight: 800; margin-top: 8px; }

/* Detail + worklist */
.back { display: inline-flex; margin-top: 24px; font-weight: 600; font-size: 14px; text-decoration: none; }
.detail-head { margin-top: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.detail-head h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.detail-head .course-sub { font-size: 14px; }
.detail-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; min-width: 120px; background: var(--bg); }
.stat span { display: block; font-size: 12.5px; color: var(--muted); }
.stat strong { font-family: var(--f-metric); font-size: 19px; font-weight: 800; color: var(--navy-ink); }
.stat.warn strong { color: var(--late); }
.detail-progress { min-width: 260px; flex: 0 1 340px; }
.detail-progress .bar { height: 12px; }

.group { margin-top: 26px; }
.group h2 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.group h2 .n { font-family: var(--f-metric); font-size: 13px; background: var(--info-soft); color: var(--navy); border-radius: 999px; padding: 1px 9px; }
.group.missing h2 .n { background: var(--late-soft); color: var(--late); }
.group.soon h2 .n { background: var(--gold-soft); color: #9A4F0B; }
.group.done h2 .n { background: var(--done-soft); color: var(--done); }
.rows { margin-top: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.row:first-child { border-top: 0; }
.row .ico { width: 18px; height: 18px; }
.row .title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .sub { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .due { font-size: 13px; color: var(--muted); text-align: right; white-space: nowrap; }
.row.missing .due { color: var(--late); font-weight: 600; }
.row.soon .due { color: #9A4F0B; font-weight: 600; }
.row .grade { font-family: var(--f-metric); font-weight: 700; font-size: 13.5px; min-width: 70px; text-align: right; }
.row a.open { font-size: 13px; font-weight: 600; text-decoration: none; }
.row a.open:hover { text-decoration: underline; }
.row-bar { width: 140px; }
.row-bar .bar { height: 6px; }
.row-bar small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; text-align: right; }

.empty-state { background: var(--card); border: 1px dashed #C5D0DC; border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }
.empty-state h3 { font-size: 17px; margin-bottom: 6px; }

/* Sign-in screen */
.signin { margin: 40px auto 0; display: grid; grid-template-columns: 1.1fr .9fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.signin-copy { padding: 40px; }
.signin-copy h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-top: 12px; }
.signin-copy p { color: var(--muted); max-width: 52ch; }
.signin-copy ul { padding-left: 18px; color: var(--text); margin: 16px 0 24px; }
.signin-copy li { margin: 6px 0; }
.signin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.signin-art { background: var(--navy) url("assets/rcc-campus.jpg") center/cover; position: relative; min-height: 320px; }
.signin-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,56,102,.25), rgba(0,56,102,.85)); }
.signin-art .caption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: #fff; font-family: var(--f-metric); font-weight: 700; font-size: 15px; }
.notice { margin-top: 18px; border-radius: var(--radius); padding: 14px 16px; font-size: 14px; background: var(--gold-soft); border: 1px solid rgba(240,137,32,.35); color: #6B3A08; }
.notice.error { background: var(--late-soft); border-color: rgba(180,35,24,.3); color: var(--late); }
.notice code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; font-size: 13px; }

.demo-banner { margin-top: 20px; background: var(--info-soft); border: 1px solid #C9DAEB; color: var(--navy-deep); border-radius: var(--radius); padding: 10px 14px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }

.loading-line { margin: 40px 0; color: var(--muted); }
.loader { margin: 60px auto; max-width: 420px; text-align: center; color: var(--muted); }
.loader .bar { margin-top: 14px; }
.loader .bar > span { background: var(--gold); transition: width .3s ease; }

/* Footer */
.footer { background: var(--navy-deep); color: #C9D8E8; margin-top: 56px; font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 10px; align-items: center; }
.footer-brand img { border-radius: 8px; background: #fff; }
.footer-brand strong { display: block; color: #fff; font-family: var(--f-head); }
.footer-note { max-width: 46ch; text-align: right; }

@media (max-width: 820px) {
  .signin { grid-template-columns: 1fr; }
  .signin-art { min-height: 180px; order: -1; }
  .signin-copy { padding: 28px 22px; }
  .hero::after { display: none; }
  .hero-inner { padding: 24px 20px; }
  .row { grid-template-columns: 20px minmax(0, 1fr) auto; }
  .row .grade, .row-bar { display: none; }
  .footer-note { text-align: left; }
}
@media (max-width: 640px) {
  .nav-row { flex-wrap: wrap; gap: 10px; padding-bottom: 10px; padding-top: 10px; }
  .tabs { margin-left: 0; order: 3; width: 100%; }
  .brand-text small { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { padding: 6px 10px; font-size: 13px; }
  .brand-text strong { font-size: 15px; }
  .brand img { width: 34px; height: 34px; }
  .grid { grid-template-columns: 1fr; }
  .account-chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Source tags + Canvas button */
.source-tag { font-size: 11.5px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.source-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1E8E3E; }
.source-tag.canvas::before { background: #E4312B; }
.btn-canvas { background: #fff; color: var(--navy-ink); border-color: #E4312B; }
.btn-canvas:hover { background: #FDECEA; }

/* ---------- My Journey ---------- */
.legend { display: flex; gap: 14px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.day { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 10px; min-height: 150px; display: flex; flex-direction: column; }
.day.today { border: 2px solid var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.day.past { background: #FBFCFD; }
.day-head { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; color: var(--muted); font-size: 12.5px; font-weight: 600; flex-wrap: wrap; }
.day-head strong { font-family: var(--f-metric); font-size: 20px; color: var(--navy-ink); }
.day-head em { font-style: normal; font-size: 11px; color: #9A4F0B; background: var(--gold-soft); padding: 1px 7px; border-radius: 999px; }
.day.past .day-head strong { color: var(--muted); }
.day-none { margin: auto 0; color: #9AAABB; font-size: 12.5px; }
.day-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.day-item a { display: block; text-decoration: none; color: inherit; border-left: 3px solid #1E8E3E; background: #F3F8F4; border-radius: 6px; padding: 6px 8px; }
.day-item.canvas a { border-left-color: #E4312B; background: #FDF3F2; }
.day-item a:hover { filter: brightness(.97); }
.di-title { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.di-meta { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.day-item.done .di-title { text-decoration: line-through; color: var(--muted); }
.day-item.missing .di-meta { color: var(--late); font-weight: 600; }

.term-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.term-tile { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: inherit; }
.term-tile:hover { border-color: var(--navy); }
.tt-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tt-text strong { font-family: var(--f-head); font-size: 15px; color: var(--navy-ink); line-height: 1.25; }
.tt-text > span:last-child { font-size: 12.5px; color: var(--muted); }
.ring { width: 56px; height: 56px; flex: 0 0 56px; }
.ring-bg { fill: none; stroke: #E9EEF3; stroke-width: 6; }
.ring-fg { fill: none; stroke: var(--navy); stroke-width: 6; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 28px 28px; }
.ring.s-done .ring-fg { stroke: var(--done); }
.ring.s-progress .ring-fg { stroke: var(--gold); }
.ring.s-attention .ring-fg { stroke: var(--late); }
.ring text { font: 700 12px var(--f-metric); fill: var(--navy-ink); }
.count-badge { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; background: var(--gold-soft); color: #9A4F0B; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.count-badge strong { font-family: var(--f-metric); font-size: 18px; }
.count-badge span { font-size: 10px; margin-top: 2px; }
.count-badge.warn { background: var(--late-soft); color: var(--late); }
.count-badge.ok { background: var(--done-soft); color: var(--done); }

.wins { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.win { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; text-decoration: none; color: inherit; }
.win .ico { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; }
.win strong { display: block; font-size: 14px; }
.win span { font-size: 12.5px; color: var(--muted); }
.win.graded span { color: var(--done); font-weight: 600; }

.pathways { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.pathway { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; }
.pw-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pw-head h3 { font-size: 17px; font-weight: 800; margin-top: 8px; }
.pw-count { text-align: right; flex: 0 0 auto; }
.pw-count strong { display: block; font-family: var(--f-metric); font-size: 18px; color: var(--navy-ink); }
.pw-count span { font-size: 12px; color: var(--muted); }
.pw-steps { list-style: none; margin: 14px 0 10px; padding: 0; display: grid; gap: 0; }
.pw-step { display: grid; grid-template-columns: 18px 1fr; gap: 10px; position: relative; padding-bottom: 12px; }
.pw-step:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--line); }
.pw-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #A7B4C2; background: #fff; margin-top: 3px; position: relative; z-index: 1; }
.pw-step.now .pw-dot { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.pw-step strong { display: block; font-size: 14px; }
.pw-step span { font-size: 12.5px; color: var(--muted); }
.pw-step.now span a { color: #9A4F0B; font-weight: 600; text-decoration: none; }
.pw-step.now span a:hover { text-decoration: underline; }

.connect-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.connect-panel h3 { font-size: 20px; }
.connect-panel p { color: var(--muted); margin: 8px 0 18px; }

@media (max-width: 980px) {
  .week { grid-template-columns: 1fr; }
  .day { min-height: 0; flex-direction: row; gap: 12px; align-items: flex-start; }
  .day-head { flex: 0 0 76px; flex-direction: column; gap: 0; margin: 0; }
  .day-items, .day-none { flex: 1; }
  .day-none { margin: 4px 0 0; }
}
@media (max-width: 640px) {
  .tabs a { padding: 7px 10px; font-size: 13px; }
  .pathways { grid-template-columns: 1fr; }
}
.count-badge.none { background: #EEF1F4; color: var(--muted); }
.btn-lg { padding: 14px 34px; font-size: 16px; }
.signin-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ---------- Careers ---------- */
.connectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.connector { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.connector p { margin: 0; color: var(--muted); font-size: 14px; }
.cn-head { display: flex; gap: 12px; align-items: center; }
.cn-head h3 { font-size: 18px; font-weight: 800; }
.cn-mark { width: 40px; height: 40px; border-radius: 10px; flex: 0 0 40px; }
.cn-mark.linkedin { background: #0A66C2; }
.cn-mark.handshake { background: #2D2D2D; }
.cn-status { font-size: 12px; font-weight: 700; color: var(--muted); }
.cn-status.ok { color: var(--done); }
.cn-profile { display: flex; gap: 12px; align-items: center; }
.cn-profile img, .cn-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 44px; }
.cn-avatar { background: var(--info-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; font: 800 18px var(--f-head); }
.cn-profile strong { display: block; }
.cn-profile span { font-size: 13px; color: var(--muted); }
.cn-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cn-note { font-size: 12px !important; color: #8592A1 !important; margin-top: auto !important; }
.cn-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cn-links a { font-size: 13.5px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; color: var(--navy); }
.cn-links a:hover { border-color: var(--navy); background: var(--info-soft); }

.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.job { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 3px; }
.job:hover { border-color: var(--navy); }
.job strong { font-family: var(--f-head); color: var(--navy-ink); font-size: 15px; }
.job-emp { font-size: 13.5px; font-weight: 600; }
.job-meta { font-size: 12.5px; color: var(--muted); }
.job-due { font-size: 12.5px; color: #9A4F0B; font-weight: 600; margin-top: 4px; }

.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.event { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; text-decoration: none; color: inherit; }
.event:hover { border-color: var(--navy); }
.ev-date { width: 52px; flex: 0 0 52px; text-align: center; background: var(--gold-soft); color: #9A4F0B; border-radius: 10px; padding: 6px 0; font-size: 12px; font-weight: 600; line-height: 1.1; }
.ev-date b { display: block; font: 800 20px var(--f-metric); }
.event strong { display: block; font-size: 14.5px; }
.event span { font-size: 12.5px; color: var(--muted); }

.searches { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.search-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.search-card h3 { font-size: 16px; font-weight: 800; margin-top: 8px; }
.kw { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.kw li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.kw li span { flex: 1; }
.kw a { font-size: 12.5px; font-weight: 600; text-decoration: none; }
.kw a:hover { text-decoration: underline; }

.creds { display: grid; gap: 10px; }
.cred { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; flex-wrap: wrap; }
.cred strong { display: block; }
.cred span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .tabs { flex-wrap: wrap; row-gap: 4px; } }
