:root {
  --blue-950: #082752;
  --blue-900: #0b376f;
  --blue-800: #08458f;
  --blue-700: #0755b5;
  --blue-600: #1269d3;
  --blue-500: #2f80ed;
  --blue-100: #e7f1ff;
  --blue-50: #f2f7ff;
  --cyan: #13b8c9;
  --green: #16a36a;
  --green-bg: #eaf9f1;
  --amber: #d88709;
  --amber-bg: #fff7e3;
  --red: #d9485f;
  --red-bg: #fff0f2;
  --purple: #7956c8;
  --purple-bg: #f3efff;
  --ink: #17243a;
  --text: #44526a;
  --muted: #78859a;
  --line: #e5eaf1;
  --surface: #ffffff;
  --page: #f5f7fb;
  --sidebar: 248px;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(21, 52, 95, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(430px, 1.05fr) minmax(480px, .95fr); background: #fff; }
.auth-brand-panel { position: relative; min-height: 100vh; padding: 42px 7vw; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(33,170,207,.32), transparent 28%), radial-gradient(circle at 10% 90%, rgba(47,128,237,.28), transparent 35%), linear-gradient(145deg,#041f47,#064b98 62%,#087aaf); }
.auth-brand-panel:before, .auth-brand-panel:after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.auth-brand-panel:before { width: 430px; height: 430px; right: -150px; top: 130px; }
.auth-brand-panel:after { width: 280px; height: 280px; left: -90px; bottom: 50px; }
.auth-brand { position: relative; z-index: 1; width: 205px; height: 78px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 16px 36px rgba(0,0,0,.2); }
.auth-brand img { width: 100%; height: 100%; object-fit: cover; }
.auth-pitch { position: relative; z-index: 1; max-width: 610px; margin: auto 0; padding: 60px 0; }
.auth-eyebrow { display: inline-block; margin-bottom: 16px; color: #9fdcf3; font-size: 11px; font-weight: 800; letter-spacing: 1.8px; }
.auth-pitch h1 { max-width: 580px; margin: 0 0 17px; font-size: clamp(32px,4vw,54px); line-height: 1.12; letter-spacing: -1.8px; }
.auth-pitch > p { display: none; }
.auth-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 33px; }
.auth-trust span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; color: #e8f5ff; background: rgba(255,255,255,.08); font-size: 10px; }
.auth-trust .icon { width: 15px; }
.auth-form-panel { min-width: 0; min-height: 100vh; padding: 38px max(35px,7vw) 25px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(180deg,#fff,#f8fbff); }
.auth-mobile-brand { display: none; }
.auth-card { width: min(460px,100%); min-width: 0; margin: auto; }
.auth-card-head { margin-bottom: 25px; }
.auth-card-head h2 { margin: 0; font-size: 27px; letter-spacing: -.7px; }
.auth-card-head p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.auth-alert { margin-bottom: 15px; padding: 10px 12px; color: #a94355; background: var(--red-bg); border: 1px solid #ffd9df; border-radius: 9px; font-size: 10px; }
.auth-form { display: grid; gap: 15px; }
.auth-form .form-label { font-size: 11px; }
.auth-form .input { min-height: 46px; }
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 45px; }
.password-wrap button { position: absolute; right: 5px; top: 4px; width: 37px; height: 37px; display: grid; place-items: center; border: 0; color: var(--muted); background: transparent; }
.auth-options { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 9px; }
.auth-options label { display: flex; align-items: center; gap: 5px; }
.text-btn { padding: 0; border: 0; color: var(--blue-600); background: transparent; font-weight: 600; }
.auth-submit { width: 100%; min-height: 47px; }
.auth-divider { position: relative; margin: 20px 0; text-align: center; color: #9aa4b3; font-size: 9px; }
.auth-divider:before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.auth-divider span { position: relative; padding: 0 10px; background: #fff; }
.google-btn { width: 100%; min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #d9dfe8; border-radius: 10px; color: var(--ink); background: #fff; font-weight: 600; }
.google-btn:hover { border-color: #b9c7da; background: #fbfcfe; }
.google-btn:disabled { cursor: wait; opacity: .68; }
.google-btn-host { width: 100%; min-width: 0; min-height: 45px; display: flex; justify-content: center; overflow: hidden; }
.google-btn-host > div { width: 100% !important; }
.google-btn-host iframe { width: 100% !important; max-width: 100% !important; margin: 0 auto !important; }
.google-mark { width: 23px; height: 23px; display: inline-grid; place-items: center; color: #4285f4; background: #fff; border: 1px solid #e2e6ed; border-radius: 50%; font-family: Arial,sans-serif; font-size: 13px; font-weight: 800; }
.google-note { margin: 8px 4px 0; color: var(--muted); text-align: center; font-size: 8px; }
.auth-signup { margin-top: 16px; display: flex; justify-content: center; gap: 5px; color: var(--text); font-size: 10px; }
.auth-signup .text-btn { font-size: 10px; }
.auth-footer { width: min(460px,100%); margin: 25px auto 0; color: #7d8999; text-align: center; font-size: 9px; }

.app-shell { min-height: 100vh; }
.app-copyright { padding: 16px 24px 22px; color: #8491a3; text-align: center; font-size: 9px; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 30;
  width: var(--sidebar); padding: 20px 14px;
  display: flex; flex-direction: column;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(26,132,244,.32), transparent 30%),
    linear-gradient(165deg, #06336d 0%, #062754 60%, #041b3c 100%);
  box-shadow: 12px 0 34px rgba(9, 40, 85, .12);
  overflow-y: auto;
}
.brand {
  display: block; height: 80px; margin: 0 5px 20px; overflow: hidden;
  border-radius: 12px; background: #fff; box-shadow: 0 9px 24px rgba(0,0,0,.19);
}
.brand-logo {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: center;
  transition: transform .2s ease;
}
.brand:hover .brand-logo { transform: scale(1.025); }
.nav-label { padding: 10px 12px 7px; color: #81a7d5; text-transform: uppercase; font-size: 10px; letter-spacing: .9px; font-weight: 700; }
.nav { display: grid; gap: 4px; }
.nav-item {
  width: 100%; border: 0; display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 11px; color: #bcd1ec; background: transparent;
  text-align: left; transition: .2s ease; font-weight: 500;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-item.active { color: #fff; background: linear-gradient(100deg, rgba(47,128,237,.94), rgba(47,128,237,.58)); box-shadow: 0 8px 18px rgba(0,44,110,.25); }
.nav-item .icon { width: 19px; height: 19px; }
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 20px; display: grid; place-items: center; font-size: 10px; background: #f5a623; color: white; }
.sidebar-spacer { flex: 1; min-height: 24px; }
.role-box { padding: 7px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.role-current { display: flex; align-items: center; gap: 9px; padding: 7px; }
.avatar { width: 35px; height: 35px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: #ddebff; color: var(--blue-800); font-weight: 800; }
.role-name { font-weight: 700; font-size: 12px; }
.role-meta { color: #9ebce1; font-size: 10px; }
.role-select { width: 100%; margin-top: 5px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; padding: 8px 9px; color: #d8e8fa; background: #113865; outline: none; font-size: 11px; }
.workspace-label { display: block; margin: 4px 7px 2px; color: #87a9d1; font-size: 8px; text-transform: uppercase; letter-spacing: .45px; }
.role-locked { margin: 5px 7px 3px; padding: 7px 8px; display: flex; align-items: center; gap: 6px; color: #adcaeb; border-radius: 8px; background: rgba(255,255,255,.055); font-size: 9px; }
.role-locked .icon { width: 14px; }
.logout-item { margin-top: 6px; color: #f1d5db; }

.main { margin-left: var(--sidebar); min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 20; height: 70px; padding: 0 30px;
  display: flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(222,228,237,.8); backdrop-filter: blur(16px);
}
.mobile-toggle { display: none; border: 0; color: var(--ink); background: transparent; padding: 7px; }
.topbar-brand { display: none; width: 108px; height: 34px; overflow: hidden; border-radius: 7px; background: #fff; }
.topbar-brand img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.topbar-title { min-width: 170px; font-size: 16px; font-weight: 700; }
.global-search { position: relative; width: min(430px, 42vw); margin: 0 auto; }
.global-search input { width: 100%; height: 40px; padding: 0 42px 0 39px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9fc; outline: none; transition: .2s; }
.global-search input:focus { border-color: #9cc5f7; background: #fff; box-shadow: 0 0 0 3px #e9f3ff; }
.global-search .search-icon { position: absolute; left: 13px; top: 11px; color: #8c98aa; width: 18px; }
.search-shortcut { position: absolute; right: 9px; top: 9px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; color: #9aa4b3; font-size: 10px; background: #fff; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: #53627a; }
.icon-btn:hover { background: var(--blue-50); color: var(--blue-700); }
.notify-dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); border: 2px solid #fff; }

.page { max-width: 1500px; margin: 0 auto; padding: 28px 30px 45px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.page-title { margin: 0; color: var(--ink); font-size: 25px; line-height: 1.25; letter-spacing: -.65px; }
.page-subtitle { margin: 5px 0 0; color: var(--muted); }
.head-actions { display: flex; gap: 9px; align-items: center; }

.btn { border: 0; border-radius: 10px; min-height: 40px; padding: 9px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; transition: .18s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(120deg, var(--blue-700), var(--blue-500)); box-shadow: 0 7px 15px rgba(18,105,211,.18); }
.btn-primary:hover { box-shadow: 0 9px 20px rgba(18,105,211,.28); }
.btn-secondary { color: var(--blue-700); background: var(--blue-50); border: 1px solid #d9e9ff; }
.btn-ghost { color: var(--text); background: #fff; border: 1px solid var(--line); }
.btn-danger { color: var(--red); background: var(--red-bg); }
.btn-sm { min-height: 34px; padding: 6px 11px; font-size: 12px; border-radius: 8px; }
.btn .icon { width: 17px; height: 17px; }

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.layout-8-4 { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
.layout-7-5 { grid-template-columns: minmax(0, 1.45fr) minmax(330px, 1fr); }
.span-2 { grid-column: span 2; }

.card { background: var(--surface); border: 1px solid rgba(225,230,238,.9); border-radius: var(--radius); box-shadow: 0 2px 5px rgba(23,36,58,.025); }
.card-pad { padding: 20px; }
.card-head { min-height: 57px; padding: 16px 20px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #eef1f5; }
.card-title { font-size: 15px; font-weight: 700; margin: 0; }
.card-sub { color: var(--muted); font-size: 11px; margin-top: 2px; }
.card-link { border: 0; background: none; color: var(--blue-600); font-size: 12px; font-weight: 600; }

.welcome {
  position: relative; overflow: hidden; min-height: 184px; padding: 27px 29px;
  color: #fff; border-radius: 20px;
  background: linear-gradient(115deg, #06458f 0%, #0872d5 58%, #13a8c0 120%);
  box-shadow: 0 15px 34px rgba(7,85,181,.18);
}
.welcome:before, .welcome:after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); }
.welcome:before { width: 270px; height: 270px; right: -65px; top: -130px; }
.welcome:after { width: 180px; height: 180px; right: 55px; bottom: -135px; }
.welcome h2 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.4px; }
.welcome p { max-width: 610px; margin: 0; color: #d9ecff; font-size: 13px; }
.welcome-actions { display: flex; gap: 10px; margin-top: 21px; position: relative; z-index: 2; }
.welcome .btn-light { background: #fff; color: var(--blue-700); }
.welcome .btn-glass { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); }
.welcome-visual { position: absolute; right: 30px; bottom: 20px; width: 120px; height: 120px; opacity: .95; }

.stat-card { position: relative; padding: 17px 18px; overflow: hidden; }
.stat-top { display: flex; align-items: center; justify-content: space-between; }
.stat-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; }
.stat-icon.blue { color: var(--blue-600); background: var(--blue-100); }
.stat-icon.green { color: var(--green); background: var(--green-bg); }
.stat-icon.amber { color: var(--amber); background: var(--amber-bg); }
.stat-icon.purple { color: var(--purple); background: var(--purple-bg); }
.stat-value { font-size: 23px; font-weight: 800; margin-top: 12px; letter-spacing: -.5px; }
.stat-label { color: var(--muted); font-size: 11px; }
.trend { font-size: 10px; color: var(--green); background: var(--green-bg); border-radius: 20px; padding: 3px 7px; }

.progress { height: 7px; background: #edf1f6; border-radius: 10px; overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-600), var(--cyan)); }
.profile-progress { display: flex; align-items: center; gap: 16px; padding: 19px 20px; }
.progress-ring { --progress: 76; width: 65px; height: 65px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--blue-600) calc(var(--progress)*1%), #e8edf4 0); }
.progress-ring:after { content: attr(data-value); width: 51px; height: 51px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 13px; font-weight: 800; }
.progress-copy h3 { margin: 0 0 3px; font-size: 14px; }
.progress-copy p { margin: 0; color: var(--muted); font-size: 11px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 5px 9px; border-radius: 20px; background: #f1f4f8; color: #5c697d; font-size: 10px; font-weight: 600; }
.chip.blue { color: var(--blue-700); background: var(--blue-50); }
.chip.green { color: var(--green); background: var(--green-bg); }
.chip.amber { color: var(--amber); background: var(--amber-bg); }

.opportunity-list { display: grid; }
.opportunity-row { padding: 16px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; border-bottom: 1px solid #eef1f5; transition: .18s; }
.opportunity-row:last-child { border-bottom: 0; }
.opportunity-row:hover { background: #fbfcfe; }
.company-logo { width: 45px; height: 45px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: -.4px; }
.company-logo.blue { background: linear-gradient(145deg, #1357a7, #2e8bea); }
.company-logo.orange { background: linear-gradient(145deg, #e67324, #f4a43d); }
.company-logo.green { background: linear-gradient(145deg, #168b69, #34b890); }
.company-logo.purple { background: linear-gradient(145deg, #6545a9, #9a76e5); }
.company-logo.dark { background: linear-gradient(145deg, #28374d, #546c8e); }
.opp-title { font-size: 13px; font-weight: 700; color: var(--ink); }
.opp-company { color: var(--muted); font-size: 10px; margin-top: 2px; }
.opp-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 7px; color: #6c788b; font-size: 10px; }
.meta-item { display: inline-flex; align-items: center; gap: 4px; }
.opp-side { text-align: right; min-width: 92px; }
.match-score { color: var(--green); font-weight: 800; font-size: 12px; }
.match-label { color: var(--muted); font-size: 9px; }
.time-ago { color: var(--muted); font-size: 9px; margin-top: 7px; }

.task-list { padding: 6px 20px; }
.task-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid #f0f2f5; }
.task-row:last-child { border-bottom: 0; }
.task-check { width: 22px; height: 22px; border-radius: 7px; border: 2px solid #cad3df; display: grid; place-items: center; color: #fff; background: #fff; }
.task-check.done { background: var(--green); border-color: var(--green); }
.task-name { font-size: 11px; font-weight: 600; }
.task-due { color: var(--muted); font-size: 9px; }
.task-due.urgent { color: var(--red); }

.journey { display: flex; padding: 23px 20px 25px; }
.journey-step { flex: 1; position: relative; text-align: center; }
.journey-step:not(:last-child):before { content: ""; position: absolute; top: 16px; left: calc(50% + 17px); right: calc(-50% + 17px); height: 3px; background: #e3e8ef; }
.journey-step.complete:not(:last-child):before { background: var(--blue-500); }
.journey-dot { position: relative; z-index: 1; width: 34px; height: 34px; margin: 0 auto 8px; display: grid; place-items: center; border-radius: 50%; background: #edf1f6; color: #8d98a8; border: 4px solid #fff; box-shadow: 0 0 0 1px #dde3eb; }
.journey-step.complete .journey-dot { background: var(--blue-600); color: #fff; box-shadow: 0 0 0 1px var(--blue-600); }
.journey-step.current .journey-dot { color: var(--blue-700); background: #fff; box-shadow: 0 0 0 3px #b9d9ff; }
.journey-name { font-size: 9px; color: var(--muted); font-weight: 600; }
.journey-step.complete .journey-name, .journey-step.current .journey-name { color: var(--ink); }

.filter-bar { display: flex; gap: 10px; align-items: center; padding: 15px; margin-bottom: 17px; }
.input-wrap { position: relative; flex: 1; min-width: 180px; }
.input-wrap input { padding-left: 39px; }
.input-wrap .icon { position: absolute; left: 13px; top: 11px; width: 17px; color: #8b96a7; }
.input, .select, .textarea { width: 100%; min-height: 41px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--ink); background: #fff; }
.input:focus, .select:focus, .textarea:focus { border-color: #92bdf0; box-shadow: 0 0 0 3px #edf5ff; }
.select { min-width: 130px; }
.textarea { min-height: 100px; resize: vertical; }
.opportunity-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.opp-card { padding: 18px; transition: .2s; }
.opp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d5e4f7; }
.opp-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.opp-card .company-logo { width: 48px; height: 48px; }
.save-btn { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #8995a6; display: grid; place-items: center; }
.save-btn.saved { color: var(--blue-600); background: var(--blue-50); border-color: #d8e8fb; }
.opp-card h3 { font-size: 14px; margin: 14px 0 3px; }
.opp-card-company { color: var(--muted); font-size: 11px; }
.opp-card-meta { display: grid; gap: 7px; margin: 14px 0; color: #5f6c80; font-size: 10px; }
.opp-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 13px; border-top: 1px solid #eef1f5; }
.salary { color: var(--ink); font-size: 11px; font-weight: 700; }
.results-count { color: var(--muted); font-size: 12px; margin-bottom: 12px; }

.status { display: inline-flex; align-items: center; gap: 5px; width: max-content; padding: 4px 8px; border-radius: 20px; font-size: 9px; font-weight: 700; }
.status:before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.green { color: var(--green); background: var(--green-bg); }
.status.blue { color: var(--blue-600); background: var(--blue-50); }
.status.amber { color: var(--amber); background: var(--amber-bg); }
.status.red { color: var(--red); background: var(--red-bg); }
.status.gray { color: #697588; background: #eef1f5; }
.status.purple { color: var(--purple); background: var(--purple-bg); }

.tabs { display: flex; gap: 3px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tab { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 11px 14px; white-space: nowrap; font-size: 12px; font-weight: 600; }
.tab.active { color: var(--blue-700); border-bottom-color: var(--blue-600); }

.internship-hero { padding: 22px; display: grid; grid-template-columns: 1fr auto; gap: 20px; }
.internship-company { display: flex; gap: 14px; align-items: center; }
.internship-company .company-logo { width: 56px; height: 56px; border-radius: 15px; }
.internship-company h2 { margin: 0 0 3px; font-size: 17px; }
.internship-company p { margin: 0; color: var(--muted); font-size: 11px; }
.internship-stats { display: flex; gap: 26px; align-items: center; }
.mini-stat strong { display: block; font-size: 15px; }
.mini-stat span { color: var(--muted); font-size: 9px; }
.timeline { padding: 20px; }
.timeline-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; min-height: 75px; position: relative; }
.timeline-row:not(:last-child):before { content: ""; position: absolute; left: 10px; top: 24px; bottom: -2px; width: 2px; background: #e2e7ee; }
.timeline-dot { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #edf1f6; color: #8c97a8; }
.timeline-row.done .timeline-dot { color: #fff; background: var(--green); }
.timeline-row.current .timeline-dot { color: #fff; background: var(--blue-600); box-shadow: 0 0 0 4px #e4f0ff; }
.timeline-title { font-weight: 700; font-size: 12px; }
.timeline-desc { color: var(--muted); font-size: 10px; margin-top: 2px; }
.timeline-date { color: var(--muted); font-size: 9px; }
.journal-row { padding: 15px 20px; display: grid; grid-template-columns: 54px 1fr auto; gap: 13px; align-items: center; border-bottom: 1px solid #eef1f5; }
.journal-row:last-child { border-bottom: 0; }
.week-box { width: 50px; height: 50px; border-radius: 11px; display: grid; place-items: center; text-align: center; color: var(--blue-700); background: var(--blue-50); line-height: 1.2; }
.week-box strong { display: block; font-size: 15px; }
.week-box span { font-size: 8px; text-transform: uppercase; }
.journal-title { font-size: 11px; font-weight: 700; }
.journal-desc { color: var(--muted); font-size: 9px; margin-top: 3px; max-width: 610px; }
.journal-hours { font-weight: 700; font-size: 11px; text-align: right; }
.journal-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 5px; }

.passport-head { padding: 23px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.passport-user { display: flex; align-items: center; gap: 14px; }
.passport-user .avatar { width: 58px; height: 58px; font-size: 17px; }
.passport-user h2 { margin: 0; font-size: 17px; }
.passport-user p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.passport-score { text-align: right; }
.passport-score strong { font-size: 22px; color: var(--blue-700); }
.passport-score span { display: block; color: var(--muted); font-size: 9px; }
.passport-section { padding: 18px 20px; border-top: 1px solid #edf0f4; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.section-heading h3 { margin: 0; font-size: 13px; }
.passport-item { display: grid; grid-template-columns: 36px 1fr auto; gap: 11px; padding: 12px 0; border-bottom: 1px solid #f0f2f5; }
.passport-item:last-child { border-bottom: 0; }
.passport-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--blue-600); background: var(--blue-50); }
.passport-item-title { font-size: 11px; font-weight: 700; }
.passport-item-meta { color: var(--muted); font-size: 9px; }
.verified { display: inline-flex; gap: 4px; align-items: center; color: var(--green); font-size: 9px; font-weight: 600; }
.privacy-select { min-height: 31px; min-width: 95px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: #fff; font-size: 9px; }
.skill-row { margin: 13px 0; }
.skill-top { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 10px; }
.skill-level { color: var(--blue-700); font-weight: 700; }

.data-table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.data-table th { padding: 11px 15px; text-align: left; color: var(--muted); background: #fafbfd; border-bottom: 1px solid var(--line); font-size: 9px; text-transform: uppercase; letter-spacing: .4px; }
.data-table td { padding: 13px 15px; border-bottom: 1px solid #eef1f5; font-size: 10px; }
.data-table tr:last-child td { border-bottom: 0; }
.table-person { display: flex; align-items: center; gap: 9px; }
.table-person .avatar { width: 32px; height: 32px; font-size: 10px; }
.table-main { font-size: 10px; font-weight: 700; }
.table-sub { color: var(--muted); font-size: 8px; }
.row-actions { display: flex; gap: 5px; }
.admin-protected { align-self: center; color: var(--muted); font-size: 9px; }
.tiny-btn { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: #6c788b; background: #fff; }
.tiny-btn:hover { color: var(--blue-700); background: var(--blue-50); }

.chart { height: 230px; padding: 18px 18px 12px; display: flex; gap: 13px; align-items: end; border-bottom: 1px solid #eef1f5; }
.bar-group { flex: 1; height: 100%; display: flex; align-items: end; justify-content: center; gap: 4px; position: relative; }
.bar { width: min(17px, 34%); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #2f88ef, #1269d3); min-height: 4px; }
.bar.secondary { background: linear-gradient(180deg, #57c8b0, #17a274); }
.bar-label { position: absolute; bottom: -21px; font-size: 8px; color: var(--muted); }
.chart-legend { display: flex; gap: 15px; padding: 12px 18px 16px; color: var(--muted); font-size: 9px; }
.legend { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--blue-500); }
.legend-dot.green { background: #37b792; }
.donut-wrap { padding: 18px; display: flex; justify-content: center; align-items: center; gap: 25px; }
.donut { width: 130px; height: 130px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--blue-600) 0 45%, #1eb28b 45% 72%, #efad3b 72% 89%, #dfe5ed 89%); }
.donut:after { content: "1.248"; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 19px; font-weight: 800; }
.donut-legend { display: grid; gap: 9px; font-size: 9px; color: var(--text); }

.kanban { display: grid; grid-template-columns: repeat(4, minmax(210px,1fr)); gap: 13px; overflow-x: auto; }
.kanban-col { min-width: 210px; padding: 12px; border-radius: 14px; background: #eff3f8; }
.kanban-head { display: flex; justify-content: space-between; padding: 2px 3px 11px; font-size: 11px; font-weight: 700; }
.kanban-count { color: var(--muted); }
.candidate-card { padding: 12px; margin-bottom: 9px; background: #fff; border: 1px solid #e4e9f0; border-radius: 11px; }
.candidate-card:last-child { margin-bottom: 0; }
.candidate-card .table-person { margin-bottom: 9px; }
.candidate-skill { margin-top: 7px; }

.ai-hero { padding: 25px; color: #fff; border-radius: 18px; background: linear-gradient(120deg,#5638a0,#236ec6 62%,#13a4bc); position: relative; overflow: hidden; }
.ai-hero:after { content: "✦"; position: absolute; right: 40px; top: 0; font-size: 130px; color: rgba(255,255,255,.08); }
.ai-hero h2 { margin: 0 0 6px; font-size: 20px; }
.ai-hero p { max-width: 620px; color: #e1e7ff; margin: 0; font-size: 11px; }
.ai-options { margin-top: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; position: relative; z-index: 1; }
.ai-option { padding: 13px; border-radius: 11px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.11); backdrop-filter: blur(5px); }
.ai-option strong { display: block; font-size: 11px; }
.ai-option span { color: #d7e4fc; font-size: 9px; }
.need-status { padding-bottom: 16px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); }
.need-status strong, .need-status small { display: block; }
.need-status strong { font-size: 12px; }
.need-status small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.ai-match-list { margin-top: 14px; display: grid; gap: 8px; }
.ai-match-list button { padding: 11px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 10px; color: var(--text); border: 1px solid var(--line); border-radius: 11px; background: #fff; text-align: left; }
.ai-match-list button:hover { border-color: #bdd9f6; background: var(--blue-50); }
.ai-match-list strong, .ai-match-list small { display: block; }
.ai-match-list strong { color: var(--ink); font-size: 10px; }
.ai-match-list small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.ai-match-list .match-score { width: 44px; text-align: center; }
.ai-transparency { margin-top: 14px; padding: 11px; display: flex; gap: 8px; color: #526d87; border-radius: 9px; background: #f2f7fc; font-size: 8px; line-height: 1.5; }
.ai-transparency .icon { flex: 0 0 auto; width: 15px; height: 15px; color: var(--blue-600); }
.match-reason { display: block; color: #52708e; font-size: 8px; line-height: 1.4; }
.modal-ai-match { margin-top: 14px; padding: 12px; display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 10px; border: 1px solid #d3e7fb; border-radius: 11px; background: var(--blue-50); }
.modal-ai-match .match-score { font-size: 15px; text-align: center; }
.modal-ai-match strong, .modal-ai-match small { display: block; }
.modal-ai-match strong { font-size: 10px; }
.modal-ai-match small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.recommendation { padding: 15px 18px; border-left: 3px solid var(--blue-500); background: var(--blue-50); border-radius: 0 11px 11px 0; margin-bottom: 10px; }
.recommendation strong { font-size: 11px; }
.recommendation p { margin: 3px 0 0; color: var(--text); font-size: 10px; }
.admin-capabilities { display: grid; gap: 8px; margin-top: 15px; }
.admin-capabilities button { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--blue-700); background: #fff; text-align: left; }
.admin-capabilities button:hover { background: var(--blue-50); border-color: #cee3fb; }
.admin-capabilities strong, .admin-capabilities small { display: block; }
.admin-capabilities strong { color: var(--ink); font-size: 10px; }
.admin-capabilities small { color: var(--muted); font-size: 8px; }
.security-card h3 { margin: 13px 0 5px; font-size: 13px; }
.security-card p { min-height: 52px; margin: 0 0 14px; color: var(--muted); font-size: 9px; }
.security-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; }
.security-icon.green { color: var(--green); background: var(--green-bg); }
.security-icon.blue { color: var(--blue-600); background: var(--blue-50); }
.security-icon.purple { color: var(--purple); background: var(--purple-bg); }
.google-role-list { display: grid; gap: 9px; }
.google-role-list button { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: #fff; text-align: left; }
.google-role-list button:hover { border-color: #bcd8f7; background: var(--blue-50); }
.google-role-list strong, .google-role-list small { display: block; }
.google-role-list strong { color: var(--ink); font-size: 11px; }
.google-role-list small { color: var(--muted); font-size: 8px; }
.google-profile-card { margin-bottom: 18px; padding: 13px; display: flex; align-items: center; gap: 11px; border: 1px solid #dbe9fb; border-radius: 12px; background: var(--blue-50); }
.google-profile-card .google-avatar { width: 43px; height: 43px; color: #fff; background: linear-gradient(135deg,#4285f4,#34a853); }
.google-profile-card strong, .google-profile-card span, .google-profile-card small { display: block; }
.google-profile-card strong { font-size: 11px; }
.google-profile-card span { color: var(--text); font-size: 9px; }
.google-profile-card small { margin-top: 3px; display: flex; align-items: center; gap: 4px; color: var(--green); font-size: 8px; }
.google-profile-card small .icon { width: 12px; }
.consent-check { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; gap: 8px; color: var(--text); font-size: 9px; }
.consent-check input { margin-top: 3px; }
.registration-note { padding: 10px 12px; display: flex; align-items: center; gap: 8px; color: #48637e; border-radius: 9px; background: #f1f6fb; font-size: 9px; }
.registration-note .icon { flex: 0 0 auto; color: var(--blue-600); }

.moderation-banner { margin-bottom: 16px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; color: #174f88; border: 1px solid #cfe3f8; border-radius: 12px; background: #eef7ff; }
.moderation-banner > .icon { flex: 0 0 auto; width: 22px; height: 22px; }
.moderation-banner strong, .moderation-banner span { display: block; }
.moderation-banner strong { font-size: 11px; }
.moderation-banner span { margin-top: 2px; color: #52708e; font-size: 9px; }
.notification-item { width: 100%; padding: 13px 4px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; color: var(--text); border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; }
.notification-item:last-child { border-bottom: 0; }
.notification-item:hover { background: var(--blue-50); }
.notification-item strong, .notification-item small { display: block; }
.notification-item strong { color: var(--ink); font-size: 11px; }
.notification-item small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.notification-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--blue-600); border-radius: 10px; background: var(--blue-50); }
.email-preview { color: #26374b; }
.email-preview-brand { padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.email-preview-brand img { width: 130px; height: 42px; object-fit: cover; border-radius: 7px; }
.email-preview-brand span { color: var(--blue-700); font-size: 8px; font-weight: 800; letter-spacing: .8px; }
.email-preview h3 { margin: 20px 0 6px; color: var(--ink); font-size: 18px; }
.email-preview > p { margin: 0 0 16px; font-size: 10px; }
.email-job-title { padding: 15px; display: grid; gap: 4px; color: #fff; border-radius: 12px; background: linear-gradient(120deg, #0755b5, #1680dc); }
.email-job-title span { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.email-job-title strong { font-size: 15px; }
.email-job-title small { color: #dcecff; font-size: 9px; }
.email-section { margin-top: 16px; }
.email-section > strong { display: block; color: var(--ink); font-size: 11px; }
.email-section p { margin: 5px 0 0; line-height: 1.65; font-size: 10px; }
.email-meta { margin-top: 16px; padding: 11px 13px; display: grid; gap: 4px; color: var(--muted); border-radius: 9px; background: #f5f7fa; font-size: 9px; }
.email-action-note { margin-top: 14px; color: var(--muted); font-size: 8px; text-align: center; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.form-group { display: grid; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
.form-grid > .full { grid-column: 1/-1; }
.form-label { font-size: 10px; font-weight: 700; color: var(--text); }
.form-hint { color: var(--muted); font-size: 8px; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 7px; grid-column: 1/-1; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #eef1f5; }
.toggle-row:last-child { border-bottom: 0; }
.toggle-copy strong { display: block; font-size: 10px; }
.toggle-copy span { color: var(--muted); font-size: 8px; }
.switch { width: 39px; height: 22px; border: 0; border-radius: 20px; padding: 3px; background: #ccd4df; transition: .2s; }
.switch:after { content: ""; display: block; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: .2s; }
.switch.on { background: var(--blue-600); }
.switch.on:after { transform: translateX(17px); }

.empty { padding: 45px 20px; text-align: center; color: var(--muted); }
.empty-icon { width: 55px; height: 55px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); }
.empty h3 { color: var(--ink); margin: 0 0 4px; font-size: 14px; }
.empty p { margin: 0 auto 15px; max-width: 400px; font-size: 10px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(6,24,50,.52); backdrop-filter: blur(4px); animation: fade-in .18s ease; }
.modal { width: min(620px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 18px; box-shadow: 0 28px 70px rgba(2,25,57,.3); animation: pop-in .22s ease; }
.modal-lg { width: min(820px,100%); }
.modal-head { position: sticky; top: 0; z-index: 2; padding: 18px 21px; display: flex; justify-content: space-between; align-items: flex-start; background: #fff; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 17px; }
.modal-head p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.modal-close { width: 33px; height: 33px; border: 0; border-radius: 9px; display: grid; place-items: center; color: var(--muted); background: #f3f5f8; }
.modal-body { padding: 21px; }
.modal-foot { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 9px; padding: 14px 21px; background: #fff; border-top: 1px solid var(--line); }
.detail-company { display: flex; gap: 13px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.detail-company .company-logo { width: 55px; height: 55px; }
.detail-company h3 { margin: 0 0 3px; font-size: 17px; }
.detail-section { margin-top: 19px; }
.detail-section h4 { font-size: 12px; margin: 0 0 8px; }
.detail-section p, .detail-section li { color: var(--text); font-size: 10px; }
.detail-section ul { margin: 0; padding-left: 18px; }
.detail-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 15px; }
.fact { padding: 10px; border-radius: 10px; background: #f7f9fc; }
.fact span { display: block; color: var(--muted); font-size: 8px; }
.fact strong { font-size: 10px; }

#toast-root { position: fixed; z-index: 120; right: 22px; bottom: 22px; display: grid; gap: 9px; }
.toast { min-width: 290px; max-width: 390px; padding: 13px 16px; display: flex; gap: 10px; align-items: center; color: #fff; border-radius: 11px; background: #153355; box-shadow: 0 13px 32px rgba(8,34,68,.22); animation: toast-in .25s ease; font-size: 11px; }
.toast.success { background: #087a56; }

.cv-sheet { max-width: 780px; margin: 0 auto; padding: 40px; background: #fff; border-radius: 4px; box-shadow: var(--shadow); }
.cv-brand { width: 176px; height: 66px; margin-bottom: 20px; overflow: hidden; border-radius: 8px; }
.cv-brand img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.cv-head { padding-bottom: 19px; border-bottom: 3px solid var(--blue-700); display: flex; justify-content: space-between; }
.cv-name h1 { margin: 0; color: var(--blue-800); font-size: 25px; }
.cv-name p { margin: 3px 0 0; color: var(--text); }
.cv-contact { text-align: right; color: var(--muted); font-size: 9px; }
.cv-section { margin-top: 20px; }
.cv-section h2 { color: var(--blue-800); font-size: 11px; letter-spacing: .9px; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.cv-item { margin: 11px 0; }
.cv-item h3 { margin: 0; font-size: 11px; }
.cv-item p { margin: 3px 0; color: var(--text); font-size: 9px; }

.mobile-overlay { display: none; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { transform: translateY(12px) scale(.98); opacity: 0; } }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } }

@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .opportunity-grid { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 920px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand-panel { min-height: auto; padding: 25px 28px; }
  .auth-pitch { padding: 42px 0 20px; }
  .auth-pitch h1 { font-size: 32px; }
  .auth-form-panel { min-height: auto; padding: 42px 25px; }
  :root { --sidebar: 235px; }
  .sidebar { transform: translateX(-100%); transition: transform .25s ease; }
  .sidebar.open { transform: translateX(0); }
  .mobile-overlay.open { display: block; position: fixed; inset: 0; z-index: 29; background: rgba(5,21,45,.42); }
  .main { margin-left: 0; }
  .mobile-toggle { display: block; }
  .topbar-brand { display: block; }
  .topbar { padding: 0 18px; }
  .topbar-title { min-width: 0; }
  .layout-8-4, .layout-7-5 { grid-template-columns: 1fr; }
  .welcome-visual { display: none; }
}
@media (max-width: 650px) {
  .auth-brand-panel { display: none; }
  .auth-form-panel { min-height: 100vh; padding: 20px 18px 18px; justify-content: flex-start; }
  .auth-mobile-brand { width: 176px; height: 67px; margin: 0 auto 24px; display: block; overflow: hidden; border: 1px solid #e0e7f0; border-radius: 12px; background: #fff; box-shadow: 0 10px 28px rgba(7,59,123,.13); }
  .auth-mobile-brand img { width: 100%; height: 100%; display: block; object-fit: cover; }
  .auth-card { margin: 0 auto; }
  .auth-footer { width: 100%; margin-top: auto; padding-top: 22px; font-size: 9px; }
  .auth-card-head h2 { font-size: 23px; }
  .page { padding: 20px 14px 35px; }
  .topbar { height: 62px; padding: 0 11px; gap: 8px; }
  .topbar-title { display: none; }
  .topbar-brand { width: 96px; height: 31px; }
  .global-search { width: auto; flex: 1; }
  .search-shortcut { display: none; }
  .top-actions .icon-btn:first-child { display: none; }
  .page-head { align-items: flex-start; }
  .page-title { font-size: 21px; }
  .page-subtitle { font-size: 11px; }
  .head-actions .btn span { display: none; }
  .grid-4, .grid-3, .grid-2, .opportunity-grid, .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .welcome { padding: 23px 20px; }
  .welcome h2 { font-size: 19px; }
  .welcome-actions { flex-wrap: wrap; }
  .filter-bar { flex-wrap: wrap; }
  .filter-bar .select { flex: 1; }
  .journey { overflow-x: auto; }
  .journey-step { min-width: 95px; }
  .internship-hero { grid-template-columns: 1fr; }
  .internship-stats { justify-content: space-between; }
  .passport-head { align-items: flex-start; }
  .detail-facts { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 0; align-items: end; }
  .modal { max-height: 92vh; border-radius: 18px 18px 0 0; }
  .cv-sheet { padding: 22px; }
  .cv-head { display: block; }
  .cv-contact { text-align: left; margin-top: 10px; }
}

@media print {
  body { background: #fff; }
  .sidebar, .topbar, .page-head, .no-print, #toast-root { display: none !important; }
  .main { margin: 0; }
  .page { padding: 0; }
  .cv-sheet { max-width: none; box-shadow: none; padding: 18mm; }
  .card { border: 0; box-shadow: none; }
}
