/* Shiraz Resume — UI Hotfix V1 */
:root {
    --ink: #0f172a;
    --ink-soft: #334155;
    --muted: #64748b;
    --muted-light: #94a3b8;
    --line: #e2e8f0;
    --line-soft: #edf2f7;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-tint: #f5f9ff;
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-soft: #eff6ff;
    --success: #059669;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .04);
    --shadow-md: 0 18px 48px rgba(15, 23, 42, .10);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, .16);
}

* { box-sizing: border-box; }
html { direction: rtl; scroll-behavior: smooth; }
body, button, input, select, textarea { font-family: 'Yekan Bakh FaNum', system-ui, -apple-system, BlinkMacSystemFont, sans-serif; }
body.site-body { margin: 0; background: #f8fafc; color: var(--ink); overflow-x: hidden; }
body.modal-open { overflow: hidden; }
a { text-decoration: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
.site-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border: 2px solid #f1f5f9; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
.animate-fade-in-up { animation: fadeInUp .55s cubic-bezier(.2,.8,.2,1) both; }
.animate-fade-in { animation: fadeIn .35s ease both; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(226,232,240,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.site-nav-row { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg, #0f172a, #1e40af 60%, #3b82f6); box-shadow: 0 9px 24px rgba(37,99,235,.22); font-size: 17px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 15px; font-weight: 400; letter-spacing: -.02em; }
.brand-copy small { margin-top: 5px; color: #94a3b8; font-size: 9px; direction: ltr; font-weight: 400; letter-spacing: .04em; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { position: relative; padding: 10px 12px; border-radius: 10px; color: #64748b; font-size: 13px; font-weight: 400; transition: .2s ease; }
.nav-link:hover { color: var(--ink); background: #f8fafc; }
.nav-link.is-active { color: var(--ink); background: #f1f5f9; }
.nav-link.is-active::after { content: ''; position: absolute; bottom: -17px; right: 14px; left: 14px; height: 2px; border-radius: 3px; background: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-ghost { padding: 10px 14px; color: #475569; border-radius: 10px; font-size: 13px; font-weight: 400; transition: .2s; }
.nav-ghost:hover { background: #f1f5f9; color: var(--ink); }
.nav-primary { display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: 11px; font-size: 13px; font-weight: 400; box-shadow: 0 7px 18px rgba(15,23,42,.15); transition: .2s; }
.nav-primary:hover { transform: translateY(-1px); background: #1e293b; }
.user-chip { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #475569; font-weight: 400; background: #f8fafc; border: 1px solid #e2e8f0; padding: 7px 9px 7px 12px; border-radius: 11px; }
.user-chip-icon { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #dbeafe; color: #2563eb; }
.mobile-menu-btn { display: none; width: 42px; height: 42px; border: 1px solid #e2e8f0; border-radius: 11px; background: #fff; color: #334155; cursor: pointer; }
.mobile-menu { border-top: 1px solid #edf2f7; background: #fff; box-shadow: 0 18px 30px rgba(15,23,42,.07); }
.mobile-menu.hidden { display: none; }
.mobile-menu-inner { padding-block: 10px 16px; }
.mobile-nav-link { display: flex; align-items: center; gap: 12px; padding: 12px 13px; border-radius: 10px; color: #475569; font-size: 13px; font-weight: 400; }
.mobile-nav-link i { width: 18px; text-align: center; color: #94a3b8; }
.mobile-nav-link.is-active { background: #eff6ff; color: #1e40af; }
.mobile-nav-link.is-active i { color: #2563eb; }
.mobile-auth-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; padding-top: 12px; border-top: 1px solid #edf2f7; }
.mobile-login, .mobile-signup, .mobile-logout { flex: 1; display: inline-flex; justify-content: center; padding: 10px 12px; border-radius: 10px; font-size: 12px; font-weight: 400; }
.mobile-login { background: #f1f5f9; color: #334155; }
.mobile-signup { background: var(--ink); color: #fff; }
.mobile-logout { background: #fff1f2; color: #be123c; }
.mobile-user { flex: 2; color: #475569; font-size: 12px; font-weight: 400; display: flex; align-items: center; gap: 8px; }

/* Toast */
.site-toast-wrap { position: fixed; top: 92px; left: 50%; transform: translateX(-50%); z-index: 9999; width: min(520px, calc(100% - 28px)); }
.site-toast { display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 15px; padding: 12px 14px; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 400; color: #334155; }
.site-toast-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; }
.site-toast button { border: 0; background: transparent; color: #94a3b8; cursor: pointer; padding: 8px; }
.site-toast-success .site-toast-icon { background: #ecfdf5; color: #059669; }
.site-toast-error .site-toast-icon { background: #fff1f2; color: #e11d48; }
.site-toast-warning .site-toast-icon { background: #fffbeb; color: #d97706; }

/* Buttons */
.button { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 10px 17px; border-radius: 12px; font-size: 13px; font-weight: 400; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-lg { min-height: 50px; padding: 13px 21px; border-radius: 14px; font-size: 14px; }
.button-block { width: 100%; }
.button-primary { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; box-shadow: 0 10px 24px rgba(37,99,235,.22); }
.button-primary:hover { box-shadow: 0 13px 28px rgba(37,99,235,.28); }
.button-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(15,23,42,.16); }
.button-light, .button-secondary { background: #fff; color: #334155; border: 1px solid #e2e8f0; }
.button-light:hover, .button-secondary:hover { background: #f8fafc; border-color: #cbd5e1; }
.button-white { background: #fff; color: var(--ink); box-shadow: 0 7px 22px rgba(15,23,42,.12); }
.button-hero-ghost { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); }
.button-outline-light { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.28); }

/* Home Hero */
.hero-section { position: relative; overflow: hidden; background: #0f172a; color: #fff; }
.hero-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, black, transparent 88%); }
.hero-orb { position: absolute; border-radius: 999px; filter: blur(1px); pointer-events: none; }
.hero-orb-one { width: 460px; height: 460px; background: radial-gradient(circle, rgba(59,130,246,.28), rgba(59,130,246,0)); left: -120px; top: -100px; }
.hero-orb-two { width: 520px; height: 520px; background: radial-gradient(circle, rgba(14,165,233,.14), rgba(14,165,233,0)); right: -180px; bottom: -250px; }
.hero-shell { position: relative; z-index: 2; min-height: 660px; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 74px; padding-top: 76px; padding-bottom: 82px; }
.hero-copy h1 { margin: 18px 0 18px; font-size: clamp(44px, 5vw, 66px); line-height: 1.22; letter-spacing: -.045em; font-weight: 400; }
.hero-copy h1 span { color: #93c5fd; }
.hero-copy > p { max-width: 640px; margin: 0; color: #cbd5e1; font-size: 16px; line-height: 2; font-weight: 400; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 7px 11px; border-radius: 999px; color: #bfdbfe; background: rgba(59,130,246,.13); border: 1px solid rgba(147,197,253,.16); font-size: 11px; font-weight: 400; }
.eyebrow-dark { color: #1d4ed8; background: #eff6ff; border-color: #dbeafe; }
.hero-search { margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; background: #fff; border-radius: 16px; padding: 7px; width: min(670px, 100%); box-shadow: 0 24px 52px rgba(2,6,23,.25); }
.hero-search-icon { width: 38px; height: 38px; display: grid; place-items: center; color: #94a3b8; }
.hero-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: #0f172a; padding: 9px 4px; font-size: 13px; }
.hero-search input::placeholder { color: #94a3b8; }
.hero-search button { border: 0; background: #2563eb; color: #fff; height: 42px; padding: 0 17px; border-radius: 11px; font-weight: 400; font-size: 12px; cursor: pointer; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px; }
.hero-trust > div { display: flex; gap: 10px; align-items: center; }
.hero-trust > div > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #bfdbfe; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.hero-trust p { display: flex; flex-direction: column; margin: 0; }
.hero-trust strong { font-size: 11px; color: #e2e8f0; }
.hero-trust small { margin-top: 3px; font-size: 9px; color: #94a3b8; }
.hero-visual { display: flex; justify-content: center; }
.hero-card-stack { position: relative; width: min(430px, 100%); padding: 22px 12px; }
.hero-resume-card { position: relative; z-index: 2; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 24px; padding: 22px; box-shadow: 0 42px 90px rgba(2,6,23,.38); transform: rotate(-1.3deg); border: 1px solid rgba(255,255,255,.8); }
.hero-resume-card::before { content: ''; position: absolute; inset: 12px -14px -14px 14px; border-radius: 24px; background: rgba(59,130,246,.20); z-index: -1; transform: rotate(3deg); }
.hero-card-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid #edf2f7; }
.hero-card-status { color: #475569; font-size: 10px; font-weight: 400; }
.hero-card-dots { display: flex; gap: 4px; direction: ltr; }
.hero-card-dots i { width: 6px; height: 6px; border-radius: 99px; background: #cbd5e1; }
.hero-profile-row { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.hero-avatar { width: 65px; height: 65px; flex: 0 0 65px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(145deg, #dbeafe, #bfdbfe); color: #2563eb; font-size: 25px; }
.hero-profile-row > div:last-child { display: flex; flex-direction: column; min-width: 0; }
.hero-profile-row strong { font-size: 17px; font-weight: 400; }
.hero-profile-row span { color: #64748b; font-size: 11px; margin-top: 2px; direction: ltr; text-align: right; }
.hero-profile-row small { color: #94a3b8; font-size: 10px; margin-top: 6px; }
.hero-line { width: 64%; height: 8px; background: #f1f5f9; border-radius: 99px; margin-top: 13px; }
.hero-line.wide { width: 92%; margin-top: 20px; }
.hero-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 18px; }
.hero-tags span { padding: 7px 9px; border-radius: 8px; background: #f8fafc; border: 1px solid #edf2f7; color: #64748b; font-size: 9px; font-weight: 400; }
.hero-card-divider { height: 1px; background: #edf2f7; margin: 19px 0; }
.hero-timeline { display: grid; gap: 14px; }
.hero-timeline > div { display: flex; gap: 11px; align-items: flex-start; }
.hero-timeline b { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: #3b82f6; box-shadow: 0 0 0 5px #eff6ff; }
.hero-timeline p { display: flex; flex-direction: column; margin: 0; }
.hero-timeline strong { font-size: 10px; }
.hero-timeline span { color: #94a3b8; font-size: 9px; margin-top: 3px; }
.hero-float-badge { position: absolute; z-index: 5; background: rgba(255,255,255,.96); color: #334155; box-shadow: 0 18px 38px rgba(2,6,23,.25); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(10px); }
.hero-float-top { top: 2px; right: -24px; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 12px; font-size: 10px; font-weight: 400; }
.hero-float-top i { color: #10b981; }
.hero-float-bottom { bottom: -2px; left: -25px; min-width: 170px; display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 14px; }
.hero-float-bottom p { display: flex; flex-direction: column; margin: 0; }
.hero-float-bottom strong { font-size: 14px; }
.hero-float-bottom small { font-size: 9px; color: #94a3b8; }
.mini-avatars { display: flex; direction: ltr; }
.mini-avatars i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: linear-gradient(145deg,#bfdbfe,#dbeafe); margin-left: -8px; }
.mini-avatars i:nth-child(2) { background: linear-gradient(145deg,#bae6fd,#e0f2fe); }
.mini-avatars i:nth-child(3) { background: linear-gradient(145deg,#bbf7d0,#dcfce7); }

/* Metrics and sections */
.metric-strip { background: #fff; border-bottom: 1px solid #edf2f7; }
.metric-grid { min-height: 112px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 22px; }
.metric-item { text-align: center; display: flex; flex-direction: column; }
.metric-item strong { color: #0f172a; font-size: 25px; font-weight: 400; }
.metric-item span { color: #94a3b8; font-size: 11px; margin-top: 4px; font-weight: 400; }
.metric-divider { width: 1px; height: 40px; background: #edf2f7; }
.section-block { padding: 92px 0; background: #fff; }
.section-soft { background: #f8fafc; border-top: 1px solid #edf2f7; border-bottom: 1px solid #edf2f7; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head.centered { justify-content: center; text-align: center; }
.section-head.centered > div { max-width: 650px; }
.section-kicker { display: inline-block; color: #2563eb; font-size: 11px; font-weight: 400; margin-bottom: 7px; }
.section-kicker.light { color: #bfdbfe; }
.section-head h2, .feature-copy h2 { margin: 0; color: #0f172a; font-size: clamp(27px, 3vw, 38px); line-height: 1.4; font-weight: 400; letter-spacing: -.035em; }
.section-head p { margin: 8px 0 0; color: #64748b; font-size: 13px; line-height: 1.9; }
.section-link { color: #1d4ed8; font-size: 12px; font-weight: 400; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.section-link:hover { gap: 11px; }

/* Talent cards */
.talent-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.talent-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid #e5eaf1; border-radius: 18px; padding: 18px; color: inherit; box-shadow: 0 4px 16px rgba(15,23,42,.025); transition: .22s ease; }
.talent-card:hover { transform: translateY(-4px); border-color: #bfdbfe; box-shadow: 0 18px 42px rgba(15,23,42,.08); }
.talent-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.talent-avatar-wrap { position: relative; width: fit-content; }
.talent-avatar { width: 74px; height: 74px; object-fit: cover; border-radius: 18px; border: 1px solid #edf2f7; background: #f8fafc; display: block; }
.talent-avatar-empty { display: grid; place-items: center; background: linear-gradient(145deg,#eff6ff,#f8fafc); color: #93c5fd; font-size: 23px; }
.talent-verified { position: absolute; left: -4px; bottom: -4px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #2563eb; color: #fff; border: 3px solid #fff; font-size: 8px; box-shadow: 0 5px 12px rgba(37,99,235,.25); }
.talent-open { width: 34px; height: 34px; border: 1px solid #edf2f7; border-radius: 10px; display: grid; place-items: center; color: #94a3b8; transition: .2s; }
.talent-card:hover .talent-open { background: #eff6ff; color: #2563eb; border-color: #dbeafe; }
.talent-body { margin-top: 18px; min-width: 0; }
.talent-body h3 { margin: 0; color: #0f172a; font-size: 15px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.talent-role { margin: 5px 0 0; color: #2563eb; font-size: 11px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.talent-field { margin: 12px 0 0; color: #64748b; font-size: 10px; display: flex; gap: 6px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.talent-field i { color: #94a3b8; }
.talent-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #f1f5f9; }
.talent-meta span { display: inline-flex; align-items: center; gap: 5px; color: #64748b; font-size: 9px; font-weight: 400; padding: 5px 7px; background: #f8fafc; border-radius: 7px; }
.talent-meta i { color: #94a3b8; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 48px; }
.process-card { position: relative; min-height: 250px; padding: 28px; background: #fff; border: 1px solid #e5eaf1; border-radius: 19px; overflow: hidden; }
.process-number { position: absolute; top: 18px; left: 20px; color: #e2e8f0; font-size: 35px; line-height: 1; font-weight: 400; direction: ltr; }
.process-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: #2563eb; background: #eff6ff; font-size: 18px; }
.process-card h3 { margin: 34px 0 8px; font-size: 16px; font-weight: 400; color: #0f172a; }
.process-card p { margin: 0; color: #64748b; font-size: 12px; line-height: 2; }
.feature-split { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 76px; }
.feature-copy > p { color: #64748b; font-size: 13px; line-height: 2.05; max-width: 640px; }
.feature-list { display: grid; gap: 16px; margin: 27px 0 30px; }
.feature-list > div { display: flex; gap: 13px; align-items: flex-start; }
.feature-list > div > span { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; background: #f1f5f9; color: #2563eb; border-radius: 11px; }
.feature-list p { margin: 0; display: flex; flex-direction: column; }
.feature-list strong { font-size: 12px; color: #1e293b; }
.feature-list small { margin-top: 3px; color: #94a3b8; font-size: 10px; line-height: 1.8; }
.feature-panel { position: relative; padding: 32px; border-radius: 28px; background: linear-gradient(145deg,#eff6ff,#f8fafc); border: 1px solid #dbeafe; }
.feature-panel::before { content: ''; position: absolute; width: 100px; height: 100px; background: #bfdbfe; filter: blur(50px); right: 10%; top: 20%; opacity: .6; }
.feature-panel-card { position: relative; background: rgba(255,255,255,.9); border: 1px solid #fff; border-radius: 20px; padding: 22px; box-shadow: 0 20px 44px rgba(37,99,235,.10); }
.feature-panel-head { display: flex; justify-content: space-between; align-items: center; }
.feature-panel-head span { color: #64748b; font-size: 11px; font-weight: 400; }
.feature-panel-head b { color: #047857; font-size: 10px; background: #ecfdf5; padding: 7px 9px; border-radius: 8px; }
.feature-progress { height: 7px; background: #eef2f7; border-radius: 99px; overflow: hidden; margin: 18px 0 23px; }
.feature-progress span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg,#2563eb,#60a5fa); }
.feature-checks { display: grid; gap: 9px; }
.feature-checks > div { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 9px; padding: 11px; border-radius: 10px; background: #f8fafc; }
.feature-checks i { width: 30px; height: 30px; display: grid; place-items: center; color: #2563eb; background: #eff6ff; border-radius: 8px; font-size: 10px; }
.feature-checks span { color: #334155; font-size: 10px; font-weight: 400; }
.feature-checks b { color: #94a3b8; font-size: 9px; font-weight: 400; }
.cta-band { position: relative; overflow: hidden; background: #0f172a; color: #fff; }
.cta-band::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 15% 30%, rgba(59,130,246,.23), transparent 35%), radial-gradient(circle at 85% 75%, rgba(14,165,233,.12), transparent 35%); }
.cta-band-inner { position: relative; z-index: 1; min-height: 315px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-band h2 { margin: 3px 0 9px; font-size: 34px; font-weight: 400; letter-spacing: -.035em; }
.cta-band p { margin: 0; color: #94a3b8; font-size: 13px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Listing page */
.listing-page { min-height: 70vh; background: #f8fafc; }
.listing-hero { color: #fff; background: #0f172a; position: relative; overflow: hidden; }
.listing-hero::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 20% 20%, rgba(59,130,246,.25), transparent 32%), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px); background-size: auto, 36px 36px, 36px 36px; }
.listing-hero-inner { position: relative; z-index: 1; min-height: 258px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 42px; }
.listing-hero h1 { margin: 14px 0 8px; font-size: clamp(30px,4vw,44px); font-weight: 400; letter-spacing: -.04em; }
.listing-hero p { max-width: 680px; margin: 0; color: #94a3b8; line-height: 2; font-size: 13px; }
.listing-hero-stat { width: 150px; height: 120px; flex: 0 0 150px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.06); display: flex; flex-direction: column; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
.listing-hero-stat strong { font-size: 31px; font-weight: 400; }
.listing-hero-stat span { margin-top: 4px; color: #94a3b8; font-size: 10px; }
.listing-layout-wrap { padding-top: 34px; padding-bottom: 80px; }
.listing-layout { display: grid; grid-template-columns: 278px minmax(0,1fr); gap: 24px; align-items: start; }
.filter-panel { position: sticky; top: 96px; background: #fff; border: 1px solid #e5eaf1; border-radius: 18px; padding: 17px; box-shadow: var(--shadow-sm); }
.filter-panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid #edf2f7; }
.filter-panel-head > div { display: flex; gap: 10px; align-items: center; }
.filter-panel-head strong { display: block; font-size: 12px; font-weight: 400; }
.filter-panel-head small { display: block; color: #94a3b8; font-size: 9px; margin-top: 2px; }
.filter-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #eff6ff; color: #2563eb; }
.filter-close-btn { display: none; width: 34px; height: 34px; border: 0; border-radius: 9px; background: #f1f5f9; color: #64748b; }
.filter-section { padding: 16px 1px 0; }
.filter-section > label { display: block; color: #334155; font-size: 10px; font-weight: 400; margin-bottom: 8px; }
.filter-search-input, .mobile-search-wrap { position: relative; display: flex; align-items: center; }
.filter-search-input > i, .mobile-search-wrap > i { position: absolute; right: 12px; color: #94a3b8; font-size: 11px; }
.filter-search-input input, .filter-section select, .age-grid input, .mobile-search-wrap input { width: 100%; min-height: 41px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; color: #334155; outline: 0; font-size: 10px; transition: .18s; }
.filter-search-input input { padding: 0 35px 0 10px; }
.filter-section select { padding: 0 10px; cursor: pointer; }
.filter-search-input input:focus, .filter-section select:focus, .age-grid input:focus, .mobile-search-wrap input:focus { background: #fff; border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(59,130,246,.09); }
.filter-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.filter-choice input { position: absolute; opacity: 0; pointer-events: none; }
.filter-choice span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 39px; border: 1px solid #e2e8f0; border-radius: 10px; color: #64748b; background: #fff; font-size: 10px; font-weight: 400; cursor: pointer; transition: .18s; }
.filter-choice input:checked + span { border-color: #93c5fd; background: #eff6ff; color: #1d4ed8; box-shadow: inset 0 0 0 1px #bfdbfe; }
.age-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 7px; align-items: end; }
.age-grid > div > span { display: block; color: #94a3b8; font-size: 8px; margin-bottom: 5px; }
.age-grid input { padding: 0 8px; text-align: center; direction: ltr; }
.age-separator { color: #cbd5e1; font-size: 9px; padding-bottom: 13px; }
.filter-actions { display: grid; gap: 8px; margin-top: 19px; padding-top: 16px; border-top: 1px solid #edf2f7; }
.filter-actions .button { width: 100%; }
.filter-reset { border: 0; background: transparent; color: #94a3b8; font-size: 9px; font-weight: 400; cursor: pointer; padding: 7px; }
.filter-reset:hover { color: #e11d48; }
.listing-results { min-width: 0; }
.results-head { min-height: 62px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.results-head h2 { margin: 0; color: #0f172a; font-size: 17px; font-weight: 400; }
.results-head p { margin: 4px 0 0; color: #94a3b8; font-size: 10px; }
.results-controls { display: flex; align-items: center; gap: 10px; }
.sort-control { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 5px 9px; }
.sort-control span { color: #94a3b8; font-size: 9px; }
.sort-control select { border: 0; outline: 0; background: transparent; color: #334155; font-size: 9px; font-weight: 400; }
.listing-talent-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.empty-state { grid-column: 1/-1; min-height: 300px; border: 1px dashed #cbd5e1; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; text-align: center; padding: 30px; }
.empty-state > span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 15px; background: #f1f5f9; color: #94a3b8; font-size: 19px; }
.empty-state h3 { margin: 13px 0 4px; font-size: 14px; }
.empty-state p { margin: 0; color: #94a3b8; font-size: 10px; }
.spinner { width: 22px; height: 22px; border: 2px solid #e2e8f0; border-top-color: #2563eb; border-radius: 50%; animation: spin .75s linear infinite; }
.listing-toolbar-mobile { display: none; }
.filter-backdrop { display: none; }

/* Auth */
.auth-page { position: relative; overflow: hidden; background: linear-gradient(135deg,#f8fafc,#f5f9ff); min-height: calc(100vh - 74px); }
.auth-bg-grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(#e2e8f0 1px, transparent 1px), linear-gradient(90deg,#e2e8f0 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.auth-shell { position: relative; z-index: 1; min-height: calc(100vh - 74px); display: grid; grid-template-columns: 1fr 470px; gap: 90px; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.auth-intro { max-width: 620px; }
.auth-intro h1 { margin: 18px 0 12px; color: #0f172a; font-size: clamp(38px,5vw,58px); line-height: 1.35; letter-spacing: -.04em; font-weight: 400; }
.auth-intro > p { margin: 0; color: #64748b; font-size: 14px; line-height: 2.05; max-width: 580px; }
.auth-benefits { display: grid; gap: 15px; margin-top: 32px; max-width: 520px; }
.auth-benefits > div { display: flex; align-items: center; gap: 13px; }
.auth-benefits > div > span { width: 41px; height: 41px; flex: 0 0 41px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; color: #2563eb; box-shadow: 0 5px 15px rgba(15,23,42,.04); }
.auth-benefits p { margin: 0; display: flex; flex-direction: column; }
.auth-benefits strong { color: #334155; font-size: 11px; }
.auth-benefits small { margin-top: 3px; color: #94a3b8; font-size: 9px; }
.auth-card-wrap { width: 100%; }
.auth-card { background: rgba(255,255,255,.96); border: 1px solid #e2e8f0; border-radius: 22px; padding: 28px; box-shadow: 0 28px 70px rgba(15,23,42,.11); backdrop-filter: blur(10px); }
.auth-card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; }
.auth-icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 14px; background: #eff6ff; color: #2563eb; font-size: 17px; }
.auth-card-head h2 { margin: 0; font-size: 18px; font-weight: 400; }
.auth-card-head p { margin: 3px 0 0; color: #94a3b8; font-size: 9px; }
.auth-form { display: grid; gap: 16px; }
.form-group label { display: block; margin-bottom: 7px; color: #334155; font-size: 10px; font-weight: 400; }
.input-shell { position: relative; display: flex; align-items: center; }
.input-shell > i { position: absolute; right: 13px; color: #94a3b8; font-size: 11px; pointer-events: none; }
.input-shell input { width: 100%; min-height: 47px; border: 1px solid #e2e8f0; border-radius: 11px; background: #f8fafc; padding: 0 38px 0 42px; color: #0f172a; outline: 0; font-size: 11px; transition: .18s; }
.input-shell input:focus { background: #fff; border-color: #93c5fd; box-shadow: 0 0 0 4px rgba(59,130,246,.08); }
.password-toggle { position: absolute; left: 6px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #94a3b8; cursor: pointer; }
.password-toggle:hover { background: #eff6ff; color: #2563eb; }
.field-help { display: block; margin-top: 5px; color: #94a3b8; font-size: 8px; }
.form-alert { display: flex; gap: 9px; align-items: flex-start; border-radius: 11px; padding: 11px 12px; margin-bottom: 17px; font-size: 10px; font-weight: 400; line-height: 1.8; }
.form-alert-error { color: #be123c; background: #fff1f2; border: 1px solid #ffe4e6; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 22px 0 13px; color: #94a3b8; font-size: 8px; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; background: #edf2f7; flex: 1; }
.admin-login-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; color: #94a3b8; font-size: 9px; font-weight: 400; }
.admin-login-link:hover { color: #475569; }
.auth-terms { margin: 14px 0 0; color: #94a3b8; text-align: center; font-size: 8px; }
.auth-terms a { color: #2563eb; font-weight: 400; }
.auth-steps { display: flex; align-items: center; gap: 11px; margin-top: 34px; }
.auth-steps > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.auth-steps > div > b { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 10px; background: #0f172a; color: #fff; font-size: 10px; }
.auth-steps > div > span { display: flex; flex-direction: column; }
.auth-steps strong { font-size: 9px; color: #334155; white-space: nowrap; }
.auth-steps small { margin-top: 2px; color: #94a3b8; font-size: 7px; white-space: nowrap; }
.auth-steps > i { color: #cbd5e1; font-size: 9px; }

/* Profile */
.profile-page { background: #f8fafc; min-height: 80vh; padding-bottom: 90px; }
.profile-shell { padding-top: 26px; }
.profile-breadcrumb { display: flex; align-items: center; gap: 7px; color: #94a3b8; font-size: 9px; margin-bottom: 14px; }
.profile-breadcrumb a { color: #64748b; font-weight: 400; }
.profile-breadcrumb a:hover { color: #2563eb; }
.profile-hero-card { position: relative; overflow: hidden; min-height: 278px; background: #0f172a; color: #fff; border-radius: 24px; box-shadow: 0 24px 56px rgba(15,23,42,.15); }
.profile-cover-grid { position: absolute; inset: 0; background: radial-gradient(circle at 18% 10%,rgba(59,130,246,.35),transparent 28%), radial-gradient(circle at 90% 90%,rgba(14,165,233,.15),transparent 32%), linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: auto,auto,36px 36px,36px 36px; }
.profile-hero-content { position: relative; z-index: 1; min-height: 278px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 36px; }
.profile-photo-wrap { position: relative; }
.profile-photo { width: 142px; height: 164px; display: block; object-fit: cover; border-radius: 20px; border: 4px solid rgba(255,255,255,.12); background: #1e293b; box-shadow: 0 18px 35px rgba(2,6,23,.25); }
.profile-photo-empty { display: grid; place-items: center; color: #64748b; font-size: 42px; background: rgba(255,255,255,.08); }
.profile-verified { position: absolute; left: -5px; bottom: -5px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #3b82f6; color: #fff; border: 4px solid #0f172a; font-size: 10px; }
.profile-label { display: inline-flex; padding: 6px 8px; border-radius: 8px; background: rgba(59,130,246,.18); color: #bfdbfe; border: 1px solid rgba(147,197,253,.14); font-size: 9px; font-weight: 400; }
.profile-name-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.profile-title-block h1 { margin: 9px 0 2px; font-size: clamp(28px,4vw,43px); font-weight: 400; letter-spacing: -.035em; }
.profile-headline { margin: 0; color: #93c5fd; font-size: 13px; font-weight: 400; }
.profile-meta-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.profile-meta-row span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 9px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #cbd5e1; font-size: 9px; font-weight: 400; }
.profile-meta-row i { color: #94a3b8; }
.profile-hero-actions { display: flex; flex-direction: column; gap: 9px; min-width: 150px; }
.profile-notice { margin-top: 16px; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; }
.profile-notice > i { margin-top: 3px; }
.profile-notice strong { display: block; font-size: 11px; }
.profile-notice p { margin: 3px 0 0; font-size: 10px; line-height: 1.8; }
.profile-notice-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.profile-notice-error { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.profile-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 22px; align-items: start; margin-top: 22px; }
.profile-main { display: grid; gap: 17px; }
.profile-section-card, .profile-side-card { background: #fff; border: 1px solid #e5eaf1; border-radius: 18px; box-shadow: 0 5px 18px rgba(15,23,42,.025); }
.profile-section-card { padding: 23px; }
.profile-section-head { display: flex; gap: 12px; align-items: center; margin-bottom: 21px; }
.profile-section-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 12px; background: #eff6ff; color: #2563eb; }
.profile-section-icon.purple { background: #eff6ff; color: #2563eb; }
.profile-section-icon.teal { background: #ecfeff; color: #0891b2; }
.profile-section-head h2 { margin: 0; color: #0f172a; font-size: 15px; font-weight: 400; }
.profile-section-head p { margin: 3px 0 0; color: #94a3b8; font-size: 9px; }
.career-timeline { position: relative; padding-right: 14px; }
.career-timeline::before { content: ''; position: absolute; right: 5px; top: 8px; bottom: 8px; width: 1px; background: #e2e8f0; }
.career-item { position: relative; display: grid; grid-template-columns: 20px 1fr; gap: 9px; padding-bottom: 24px; }
.career-item:last-child { padding-bottom: 0; }
.career-dot { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 5px; border-radius: 50%; background: #2563eb; border: 3px solid #eff6ff; box-shadow: 0 0 0 2px #bfdbfe; }
.career-content { min-width: 0; }
.career-title-row { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.career-title-row h3 { margin: 0; color: #1e293b; font-size: 12px; font-weight: 400; }
.career-title-row p { margin: 3px 0 0; color: #64748b; font-size: 10px; font-weight: 400; }
.career-date { flex: 0 0 auto; padding: 6px 8px; background: #f8fafc; border-radius: 8px; color: #64748b; font-size: 8px; direction: rtl; }
.career-description { margin: 10px 0 0; color: #64748b; font-size: 10px; line-height: 2; }
.education-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.education-card { display: flex; gap: 11px; align-items: flex-start; padding: 14px; border: 1px solid #edf2f7; border-radius: 13px; background: #fcfdff; }
.education-icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 10px; background: #eff6ff; color: #a855f7; }
.education-card h3 { margin: 1px 0 3px; color: #334155; font-size: 11px; font-weight: 400; }
.education-card p { margin: 0; color: #64748b; font-size: 9px; }
.education-card span:not(.education-icon) { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; color: #94a3b8; font-size: 8px; }
.info-tile-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.info-tile { display: flex; align-items: center; gap: 11px; padding: 14px; background: #f8fafc; border-radius: 13px; }
.info-tile > span { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: #2563eb; border: 1px solid #e2e8f0; }
.info-tile p { margin: 0; display: flex; flex-direction: column; }
.info-tile small { color: #94a3b8; font-size: 8px; }
.info-tile strong { margin-top: 3px; color: #334155; font-size: 10px; }
.empty-profile-section { text-align: center; padding-block: 48px; }
.empty-profile-section > span { width: 55px; height: 55px; display: grid; place-items: center; margin: 0 auto; border-radius: 15px; background: #f1f5f9; color: #94a3b8; }
.empty-profile-section h2 { font-size: 13px; margin: 12px 0 3px; }
.empty-profile-section p { color: #94a3b8; font-size: 9px; margin: 0; }
.profile-sidebar { display: grid; gap: 16px; position: sticky; top: 96px; }
.profile-side-card { padding: 18px; }
.side-card-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 13px; border-bottom: 1px solid #edf2f7; }
.side-card-head span { display: block; color: #94a3b8; font-size: 8px; }
.side-card-head h3 { margin: 3px 0 0; font-size: 12px; font-weight: 400; }
.side-card-head > i { color: #cbd5e1; }
.contact-list { display: grid; gap: 8px; padding: 14px 0; }
.contact-item { display: flex; align-items: center; gap: 9px; padding: 10px; background: #f8fafc; border-radius: 10px; }
.contact-item > span { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 9px; background: #fff; border: 1px solid #e2e8f0; color: #2563eb; font-size: 10px; }
.contact-item p { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.contact-item small { color: #94a3b8; font-size: 7px; }
.contact-item strong { color: #334155; margin-top: 2px; font-size: 9px; line-height: 1.7; overflow-wrap: anywhere; }
.privacy-note { margin: 9px 0 0; color: #94a3b8; font-size: 7px; line-height: 1.8; text-align: center; }
.resume-qr-wrap { text-align: center; padding: 15px 0 12px; }
.resume-qr-wrap img { width: 140px !important; height: 140px !important; }
.resume-qr-wrap p { margin: 6px 0 0; color: #94a3b8; font-size: 8px; }
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.share-button { min-height: 39px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; color: #fff; font-size: 9px; font-weight: 400; }
.share-button.whatsapp { background: #16a34a; }
.share-button.telegram { background: #0284c7; }
.print-link { margin-top: 8px; min-height: 39px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #475569; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 9px; font-weight: 400; }
.mobile-profile-action { display: none; }

/* Modal */
.site-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.site-modal.hidden { display: none; }
.site-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(2,6,23,.68); backdrop-filter: blur(6px); cursor: default; }
.site-modal-card { position: relative; z-index: 1; width: min(480px,100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); }
.site-modal-close { position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border: 0; border-radius: 9px; background: #f1f5f9; color: #64748b; cursor: pointer; }
.modal-heading { display: flex; align-items: center; gap: 12px; padding-left: 35px; margin-bottom: 22px; }
.modal-heading > span { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; border-radius: 12px; background: #eff6ff; color: #2563eb; }
.modal-heading h3 { margin: 0; font-size: 15px; font-weight: 400; }
.modal-heading p { margin: 3px 0 0; color: #94a3b8; font-size: 8px; }
.textarea-shell textarea { width: 100%; border: 1px solid #e2e8f0; border-radius: 11px; background: #f8fafc; padding: 12px; color: #0f172a; outline: 0; resize: vertical; font-size: 10px; line-height: 1.8; }
.textarea-shell textarea:focus { background: #fff; border-color: #93c5fd; box-shadow: 0 0 0 4px rgba(59,130,246,.08); }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 19px; }
.modal-success { text-align: center; padding: 20px 0 4px; }
.modal-success > span { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto; border-radius: 50%; color: #059669; background: #ecfdf5; font-size: 23px; }
.modal-success h3 { margin: 12px 0 3px; font-size: 14px; }
.modal-success p { margin: 0 0 14px; color: #94a3b8; font-size: 9px; }

/* Footer */
.site-footer { margin-top: auto; background: #fff; border-top: 1px solid #e5eaf1; }
.footer-main { display: grid; grid-template-columns: 1fr 1.35fr; gap: 70px; padding: 48px 0 37px; }
.footer-logo .brand-mark { width: 38px; height: 38px; }
.footer-brand > p { max-width: 410px; margin: 16px 0 0; color: #94a3b8; font-size: 10px; line-height: 2; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.footer-links > div { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong { color: #334155; font-size: 10px; margin-bottom: 2px; }
.footer-links a { color: #94a3b8; font-size: 9px; transition: .2s; }
.footer-links a:hover { color: #2563eb; transform: translateX(-2px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #edf2f7; padding: 17px 0; }
.footer-bottom p { margin: 0; color: #94a3b8; font-size: 8px; }

/* Legacy/shared */
input:focus, select:focus, textarea:focus { outline: none; }
.resume-card { transition: .22s ease; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; font-size: 8px; font-weight: 400; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-draft { background: #f1f5f9; color: #475569; }
.badge-revision { background: #ffedd5; color: #9a3412; }
.photo-preview { width: 120px; height: 150px; object-fit: cover; border-radius: 12px; border: 3px solid #e2e8f0; }
.dynamic-row { animation: fadeInUp .3s ease-out both; }
.modal-backdrop { background-color: rgba(2,6,23,.62); backdrop-filter: blur(5px); }

/* Responsive */
@media (max-width: 1100px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: grid; place-items: center; }
    .hero-shell { grid-template-columns: 1fr 420px; gap: 36px; }
    .listing-talent-grid, .home-talent-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .profile-layout { grid-template-columns: minmax(0,1fr) 285px; }
    .auth-shell { grid-template-columns: 1fr 430px; gap: 45px; }
}

@media (max-width: 900px) {
    .hero-shell { grid-template-columns: 1fr; min-height: auto; padding-top: 72px; padding-bottom: 74px; }
    .hero-copy { text-align: center; }
    .hero-copy > p, .hero-search { margin-inline: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-visual { margin-top: 12px; }
    .hero-card-stack { width: min(460px,100%); }
    .metric-grid { grid-template-columns: repeat(4,1fr); gap: 6px; }
    .metric-divider { display: none; }
    .feature-split { grid-template-columns: 1fr; gap: 42px; }
    .feature-panel { max-width: 650px; width: 100%; margin-inline: auto; }
    .cta-band-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 55px; min-height: 0; }
    .listing-layout { grid-template-columns: 1fr; }
    .filter-panel { position: fixed; z-index: 130; top: 0; right: 0; bottom: 0; width: min(360px, 90vw); border-radius: 0; overflow-y: auto; transform: translateX(110%); transition: transform .28s cubic-bezier(.2,.8,.2,1); padding: 19px; }
    .filter-panel.is-open { transform: translateX(0); }
    .filter-close-btn { display: grid; place-items: center; cursor: pointer; }
    .filter-backdrop { position: fixed; z-index: 120; inset: 0; background: rgba(2,6,23,.5); backdrop-filter: blur(3px); }
    .filter-backdrop.is-open { display: block; }
    .listing-toolbar-mobile { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-bottom: 20px; }
    .mobile-search-wrap input { padding: 0 35px 0 10px; background: #fff; }
    .filter-open-btn { min-width: 92px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; color: #334155; font-size: 10px; font-weight: 400; cursor: pointer; }
    .desktop-search-section { display: none; }
    .profile-layout { grid-template-columns: 1fr; }
    .profile-sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .profile-hero-content { grid-template-columns: auto 1fr; }
    .profile-hero-actions { grid-column: 1/-1; flex-direction: row; min-width: 0; }
    .profile-hero-actions .button { flex: 1; }
    .auth-shell { grid-template-columns: 1fr; gap: 38px; }
    .auth-intro { text-align: center; margin-inline: auto; }
    .auth-intro > p { margin-inline: auto; }
    .auth-benefits { width: min(520px,100%); margin-inline: auto; text-align: right; }
    .auth-card-wrap { max-width: 500px; margin-inline: auto; }
    .auth-steps { justify-content: center; }
}

@media (max-width: 680px) {
    .site-shell { width: min(100% - 28px, 1180px); }
    .site-nav-row { min-height: 66px; }
    .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
    .brand-copy small { display: none; }
    .desktop-only { display: none !important; }
    .nav-primary { padding: 9px 12px; font-size: 11px; }
    .hero-shell { padding-top: 54px; padding-bottom: 60px; }
    .hero-copy h1 { font-size: 37px; }
    .hero-copy > p { font-size: 13px; }
    .hero-search { grid-template-columns: auto 1fr; padding: 7px; }
    .hero-search button { grid-column: 1/-1; width: 100%; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-actions .button { width: 100%; }
    .hero-trust { gap: 13px; }
    .hero-trust > div { flex: 1 1 145px; }
    .hero-visual { display: none; }
    .metric-grid { min-height: 0; grid-template-columns: 1fr 1fr; padding: 16px 0; gap: 8px; }
    .metric-item { padding: 13px 7px; border: 1px solid #edf2f7; border-radius: 12px; }
    .metric-item strong { font-size: 20px; }
    .section-block { padding: 62px 0; }
    .section-head { align-items: flex-start; flex-direction: column; margin-bottom: 24px; }
    .section-link { align-self: flex-start; }
    .talent-grid, .listing-talent-grid, .home-talent-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; margin-top: 28px; }
    .process-card { min-height: 0; }
    .feature-panel { padding: 16px; border-radius: 20px; }
    .cta-band-inner { text-align: center; align-items: stretch; }
    .cta-band h2 { font-size: 28px; }
    .cta-actions { display: grid; grid-template-columns: 1fr; }
    .listing-hero-inner { min-height: 230px; flex-direction: column; align-items: flex-start; justify-content: center; }
    .listing-hero-stat { width: 100%; height: auto; min-height: 70px; flex: 0 0 auto; flex-direction: row; justify-content: flex-start; gap: 8px; padding: 0 16px; }
    .listing-hero-stat strong { font-size: 22px; }
    .listing-hero-stat span { margin: 0; }
    .results-head { align-items: center; }
    .sort-control span { display: none; }
    .profile-page { padding-bottom: 88px; }
    .profile-shell { padding-top: 17px; }
    .profile-hero-card { border-radius: 18px; }
    .profile-hero-content { grid-template-columns: 1fr; text-align: center; padding: 27px 18px; }
    .profile-photo-wrap { width: fit-content; margin-inline: auto; }
    .profile-photo { width: 118px; height: 136px; border-radius: 17px; }
    .profile-name-row { display: block; }
    .profile-title-block h1 { font-size: 29px; }
    .profile-meta-row { justify-content: center; }
    .profile-hero-actions { flex-direction: column; }
    .profile-sidebar { grid-template-columns: 1fr; }
    .contact-side-card .button { display: none; }
    .profile-section-card { padding: 18px; }
    .education-grid, .info-tile-grid { grid-template-columns: 1fr; }
    .career-title-row { flex-direction: column; gap: 7px; }
    .career-date { width: fit-content; }
    .mobile-profile-action { position: fixed; z-index: 90; right: 10px; left: 10px; bottom: 10px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 9px 9px 9px 13px; border-radius: 15px; background: rgba(15,23,42,.94); color: #fff; box-shadow: 0 18px 45px rgba(2,6,23,.28); backdrop-filter: blur(14px); }
    .mobile-profile-action > div { display: flex; min-width: 0; flex-direction: column; }
    .mobile-profile-action strong { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mobile-profile-action span { margin-top: 2px; color: #94a3b8; font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mobile-profile-action button { border: 0; min-height: 40px; padding: 0 13px; border-radius: 11px; background: #3b82f6; color: #fff; font-size: 10px; font-weight: 400; }
    .auth-shell { min-height: auto; padding-top: 38px; padding-bottom: 50px; }
    .auth-intro h1 { font-size: 34px; }
    .auth-benefits { display: none; }
    .auth-card { padding: 21px 17px; border-radius: 18px; }
    .auth-steps { display: grid; grid-template-columns: 1fr; gap: 8px; text-align: right; }
    .auth-steps > i { display: none; }
    .auth-steps > div { background: rgba(255,255,255,.7); border: 1px solid #e2e8f0; padding: 8px; border-radius: 11px; }
    .footer-main { grid-template-columns: 1fr; gap: 32px; padding-top: 38px; }
    .footer-links { grid-template-columns: repeat(2,1fr); }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; }
    .site-toast-wrap { top: 78px; }
}

@media (max-width: 390px) {
    .brand-copy strong { font-size: 13px; }
    .nav-primary { display: none; }
    .hero-copy h1 { font-size: 33px; }
    .listing-toolbar-mobile { grid-template-columns: 1fr; }
    .filter-open-btn { min-height: 40px; }
    .footer-links { grid-template-columns: 1fr 1fr; gap: 18px; }
}

@media print {
    .site-header, .site-footer, .mobile-profile-action, .no-print { display: none !important; }
    body { background: #fff !important; }
}

/* =========================================================
   UI HOTFIX V2 — lighter typography + user workspace/builder
   ========================================================= */
.site-body { font-weight: 400; }
.site-body .font-black,
.site-body .font-extrabold { font-weight: 700 !important; }
.site-body .font-bold { font-weight: 600 !important; }
.site-body .font-semibold,
.site-body .font-medium { font-weight: 500 !important; }

/* Restore restrained hierarchy after global lightening */
.brand-copy strong,
.hero-copy h1,
.section-head h2,
.feature-copy h2,
.auth-intro h1,
.profile-title-block h1,
.listing-hero h1,
.cta-band h2 { font-weight: 700; }
.nav-link,
.nav-ghost,
.user-chip,
.mobile-nav-link,
.mobile-login,
.mobile-signup,
.mobile-logout,
.button,
.hero-search button,
.talent-body h3,
.process-card h3,
.results-head h2,
.auth-card-head h2,
.profile-section-head h2,
.side-card-head h3 { font-weight: 600; }
.form-group label,
.filter-section > label,
.filter-choice span,
.profile-headline,
.profile-meta-row span,
.career-title-row h3,
.education-card h3,
.share-button,
.print-link,
.badge { font-weight: 500; }

/* Dashboard V2 */
.dashboard-page,
.resume-builder-page { background: #f7f8fb; min-height: calc(100vh - 72px); }
.dashboard-shell,
.resume-builder-shell { padding-top: 38px; padding-bottom: 72px; }
.dashboard-welcome { display:flex; justify-content:space-between; gap:24px; align-items:flex-end; margin-bottom:24px; }
.dashboard-kicker,
.resume-builder-kicker { display:block; margin-bottom:8px; color:#3b82f6; font-size:10px; font-weight:600; letter-spacing:.16em; direction:ltr; }
.dashboard-welcome h1 { margin:0; color:#0f172a; font-size:clamp(26px,4vw,36px); font-weight:400; letter-spacing:-.025em; }
.dashboard-welcome p { margin:8px 0 0; color:#64748b; font-size:13px; line-height:1.9; }
.dashboard-welcome-actions { display:flex; gap:10px; flex-wrap:wrap; }
.dashboard-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.dashboard-stat-card { min-height:104px; display:flex; align-items:center; gap:13px; padding:17px; background:#fff; border:1px solid #e8ecf3; border-radius:16px; box-shadow:0 8px 24px rgba(15,23,42,.035); }
.dashboard-stat-icon { width:42px; height:42px; flex:0 0 42px; display:grid; place-items:center; border-radius:12px; font-size:15px; }
.dashboard-stat-icon.status { color:#1d4ed8; background:#eff6ff; }
.dashboard-stat-icon.progress { color:#0f766e; background:#ecfdf5; }
.dashboard-stat-icon.message { color:#b45309; background:#fffbeb; }
.dashboard-stat-card > div { min-width:0; }
.dashboard-stat-grow { flex:1; }
.dashboard-stat-label { display:block; color:#94a3b8; font-size:10px; margin-bottom:4px; }
.dashboard-stat-card strong { color:#0f172a; font-size:17px; font-weight:600; }
.dashboard-stat-card .badge { margin-right:auto; }
.dashboard-stat-link { margin-right:auto; color:#2563eb; font-size:10px; font-weight:400; }
.dashboard-mini-progress { height:5px; margin-top:8px; overflow:hidden; border-radius:999px; background:#eef2f7; }
.dashboard-mini-progress span { display:block; height:100%; border-radius:inherit; background:#3b82f6; }

.review-notice { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px; padding:16px 18px; margin:0 0 18px; border:1px solid; border-radius:15px; }
.review-notice-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:11px; }
.review-notice strong { display:block; font-size:12px; font-weight:600; }
.review-notice p { margin:4px 0 0; font-size:11px; line-height:1.8; }
.review-notice a { display:inline-flex; gap:6px; align-items:center; font-size:10px; font-weight:400; white-space:nowrap; }
.review-notice.is-pending { background:#fffbeb; border-color:#fde68a; color:#92400e; }
.review-notice.is-pending .review-notice-icon { background:#fef3c7; }
.review-notice.is-approved { background:#f0fdf4; border-color:#bbf7d0; color:#166534; }
.review-notice.is-approved .review-notice-icon { background:#dcfce7; }
.review-notice.is-revision { background:#fff7ed; border-color:#fed7aa; color:#9a3412; }
.review-notice.is-revision .review-notice-icon { background:#ffedd5; }
.review-notice.is-rejected { background:#fef2f2; border-color:#fecaca; color:#991b1b; }
.review-notice.is-rejected .review-notice-icon { background:#fee2e2; }

.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr); gap:18px; margin-bottom:18px; }
.dashboard-panel { background:#fff; border:1px solid #e8ecf3; border-radius:18px; box-shadow:0 8px 28px rgba(15,23,42,.035); }
.dashboard-profile-panel,
.dashboard-checklist-panel,
.dashboard-messages { padding:20px; }
.dashboard-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:18px; }
.dashboard-panel-head > div > span { display:block; color:#94a3b8; font-size:8px; font-weight:400; letter-spacing:.14em; direction:ltr; margin-bottom:3px; }
.dashboard-panel-head h2 { margin:0; color:#0f172a; font-size:15px; font-weight:600; }
.panel-action { display:inline-flex; align-items:center; gap:6px; min-height:34px; padding:0 10px; border-radius:9px; background:#f8fafc; border:1px solid #e2e8f0; color:#475569; font-size:9px; font-weight:400; }
.dashboard-profile-main { display:flex; align-items:center; gap:17px; }
.dashboard-avatar { width:82px; height:98px; flex:0 0 82px; border-radius:15px; overflow:hidden; background:#f1f5f9; border:1px solid #e2e8f0; }
.dashboard-avatar img { width:100%; height:100%; object-fit:cover; }
.dashboard-avatar span { width:100%; height:100%; display:grid; place-items:center; color:#cbd5e1; font-size:26px; }
.dashboard-profile-copy { min-width:0; }
.dashboard-profile-copy h3 { margin:0; color:#0f172a; font-size:20px; font-weight:600; }
.dashboard-profile-copy > p { margin:5px 0 10px; color:#64748b; font-size:11px; }
.dashboard-contact-line { display:flex; gap:8px; flex-wrap:wrap; }
.dashboard-contact-line span { display:inline-flex; align-items:center; gap:6px; min-height:30px; padding:0 9px; border-radius:8px; color:#64748b; background:#f8fafc; border:1px solid #eef2f7; font-size:9px; }
.dashboard-profile-meta { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:18px; padding-top:16px; border-top:1px solid #eef2f7; }
.dashboard-profile-meta div { padding:10px 12px; border-radius:10px; background:#fafbfc; }
.dashboard-profile-meta span { display:block; color:#94a3b8; font-size:8px; }
.dashboard-profile-meta strong { display:block; margin-top:3px; color:#334155; font-size:13px; font-weight:600; }
.completion-number { color:#2563eb; font-size:18px; font-weight:600; }
.completion-track { height:6px; overflow:hidden; border-radius:999px; background:#eef2f7; margin-bottom:16px; }
.completion-track span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#60a5fa,#2563eb); }
.completion-list { display:grid; gap:9px; }
.completion-item { display:flex; align-items:center; gap:8px; color:#94a3b8; font-size:10px; }
.completion-item i { font-size:9px; }
.completion-item.is-done { color:#334155; }
.completion-item.is-done i { color:#22c55e; }
.dashboard-draft-cta,
.dashboard-empty-card { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px; margin-bottom:18px; background:#0f172a; color:#fff; border-radius:18px; overflow:hidden; position:relative; }
.dashboard-draft-cta:after,
.dashboard-empty-card:after { content:""; position:absolute; width:190px; height:190px; left:-70px; top:-80px; border-radius:50%; background:rgba(59,130,246,.18); }
.dashboard-draft-cta > *, .dashboard-empty-card > * { position:relative; z-index:1; }
.dashboard-draft-cta span,
.dashboard-empty-copy > span { color:#93c5fd; font-size:9px; font-weight:400; }
.dashboard-draft-cta h2,
.dashboard-empty-copy h2 { margin:5px 0 7px; font-size:20px; font-weight:600; }
.dashboard-draft-cta p,
.dashboard-empty-copy p { margin:0; color:#cbd5e1; font-size:11px; line-height:1.8; }
.dashboard-empty-card { justify-content:flex-start; min-height:220px; }
.dashboard-empty-art { width:110px; height:110px; flex:0 0 110px; display:grid; place-items:center; border-radius:24px; background:rgba(255,255,255,.08); font-size:36px; color:#93c5fd; }
.dashboard-empty-copy { max-width:600px; }
.dashboard-empty-copy .button { margin-top:18px; }
.dashboard-messages { margin-top:18px; scroll-margin-top:100px; }
.message-counter { color:#64748b; background:#f8fafc; border:1px solid #e2e8f0; border-radius:999px; padding:6px 9px; font-size:8px; }
.messages-empty { padding:34px 16px; text-align:center; color:#94a3b8; }
.messages-empty > i { display:block; font-size:28px; color:#cbd5e1; margin-bottom:10px; }
.messages-empty strong { display:block; color:#475569; font-size:12px; font-weight:400; }
.messages-empty p { margin:5px 0 0; font-size:10px; }
.message-list { display:grid; gap:10px; }
.message-card { display:grid; grid-template-columns:38px 1fr; gap:12px; padding:13px; border:1px solid #edf1f6; border-radius:13px; background:#fbfcfe; }
.message-avatar { width:38px; height:38px; display:grid; place-items:center; border-radius:10px; background:#eff6ff; color:#2563eb; font-size:13px; font-weight:600; }
.message-content { min-width:0; }
.message-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.message-head strong { display:block; color:#334155; font-size:10px; font-weight:600; }
.message-head a { display:block; margin-top:2px; color:#3b82f6; font-size:8px; }
.message-head time { color:#94a3b8; font-size:8px; }
.message-content > p { margin:8px 0 0; color:#64748b; font-size:10px; line-height:1.9; }

/* Resume Builder V2 */
.resume-builder-shell { max-width:1080px; }
.resume-builder-hero { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:24px; align-items:end; margin-bottom:18px; }
.resume-builder-back { display:inline-flex; align-items:center; gap:6px; margin-bottom:16px; color:#94a3b8; font-size:9px; }
.resume-builder-hero h1 { margin:0; color:#0f172a; font-size:clamp(28px,4vw,40px); font-weight:400; letter-spacing:-.03em; }
.resume-builder-hero p { max-width:650px; margin:8px 0 0; color:#64748b; font-size:12px; line-height:1.9; }
.resume-builder-progress-card { padding:15px; background:#fff; border:1px solid #e8ecf3; border-radius:15px; box-shadow:0 8px 26px rgba(15,23,42,.03); }
.resume-builder-progress-card > div:first-child { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.resume-builder-progress-card span { color:#64748b; font-size:9px; }
.resume-builder-progress-card strong { color:#2563eb; font-size:15px; font-weight:600; }
.resume-builder-progress-card small { display:block; margin-top:8px; color:#94a3b8; font-size:8px; line-height:1.7; }
.resume-builder-progress-track { height:6px; margin-top:10px; overflow:hidden; border-radius:999px; background:#eef2f7; }
.resume-builder-progress-track span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#60a5fa,#2563eb); transition:width .35s ease; }
.builder-review-note { display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:start; padding:13px 15px; margin-bottom:14px; border-radius:13px; border:1px solid; }
.builder-review-note > i { margin-top:2px; }
.builder-review-note strong { display:block; font-size:10px; font-weight:600; }
.builder-review-note p { margin:3px 0 0; font-size:10px; line-height:1.8; }
.builder-review-note.is-revision { color:#9a3412; background:#fff7ed; border-color:#fed7aa; }
.builder-review-note.is-rejected { color:#991b1b; background:#fef2f2; border-color:#fecaca; }
.resume-builder-steps { position:sticky; z-index:30; top:72px; display:grid; grid-template-columns:repeat(5,1fr); gap:5px; padding:6px; margin-bottom:16px; background:rgba(255,255,255,.92); border:1px solid #e5eaf1; border-radius:14px; box-shadow:0 10px 30px rgba(15,23,42,.05); backdrop-filter:blur(12px); }
.resume-builder-steps a { min-height:47px; display:flex; align-items:center; justify-content:center; gap:8px; border-radius:10px; color:#64748b; transition:.18s; }
.resume-builder-steps a:hover { background:#f8fafc; color:#1d4ed8; }
.resume-builder-steps span { width:25px; height:25px; display:grid; place-items:center; border-radius:8px; background:#f1f5f9; color:#94a3b8; direction:ltr; font-size:8px; }
.resume-builder-steps b { font-size:9px; font-weight:400; }
.resume-builder-form { display:grid; gap:16px; }
.resume-builder-card { scroll-margin-top:150px; padding:22px; background:#fff; border:1px solid #e7ebf1; border-radius:17px; box-shadow:0 8px 24px rgba(15,23,42,.03); }
.resume-builder-card h2 { font-weight:600 !important; color:#1e293b !important; }
.resume-builder-card label { font-weight:400 !important; }
.resume-builder-card input:not([type="checkbox"]):not([type="radio"]),
.resume-builder-card select,
.resume-builder-card textarea { border-color:#e4e9f0 !important; background:#fbfcfe !important; box-shadow:none !important; font-weight:400; }
.resume-builder-card input:not([type="checkbox"]):not([type="radio"]):focus,
.resume-builder-card select:focus,
.resume-builder-card textarea:focus { background:#fff !important; border-color:#93c5fd !important; box-shadow:0 0 0 3px rgba(59,130,246,.08) !important; }
.resume-builder-card .dynamic-row { background:#fbfcfe; border-color:#edf1f6 !important; }
.resume-builder-consent { padding:17px 19px; background:#fff; border:1px solid #e7ebf1; border-radius:15px; }
.resume-builder-consent span { font-weight:400 !important; }
.resume-builder-actions { position:sticky; z-index:25; bottom:12px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:12px 14px; background:rgba(15,23,42,.95); border:1px solid rgba(255,255,255,.06); border-radius:15px; box-shadow:0 18px 45px rgba(15,23,42,.22); backdrop-filter:blur(14px); }
.resume-builder-action-copy { display:flex; align-items:center; gap:10px; color:#fff; min-width:0; }
.resume-builder-action-copy > i { width:35px; height:35px; flex:0 0 35px; display:grid; place-items:center; border-radius:10px; color:#bfdbfe; background:rgba(59,130,246,.16); }
.resume-builder-action-copy strong { display:block; font-size:10px; font-weight:600; }
.resume-builder-action-copy span { display:block; margin-top:2px; color:#94a3b8; font-size:8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.resume-builder-action-buttons { display:flex; gap:8px; flex:0 0 auto; }
.resume-builder-actions .button-secondary { background:#fff; border-color:#fff; }

@media (max-width: 900px) {
    .dashboard-stats { grid-template-columns:1fr 1fr; }
    .dashboard-stat-card:last-child { grid-column:1/-1; }
    .dashboard-grid { grid-template-columns:1fr; }
    .resume-builder-hero { grid-template-columns:1fr; }
    .resume-builder-progress-card { max-width:none; }
}

@media (max-width: 640px) {
    .dashboard-shell, .resume-builder-shell { padding-top:24px; padding-bottom:54px; }
    .dashboard-welcome { align-items:flex-start; flex-direction:column; }
    .dashboard-welcome-actions, .dashboard-welcome-actions .button { width:100%; }
    .dashboard-stats { grid-template-columns:1fr; }
    .dashboard-stat-card:last-child { grid-column:auto; }
    .review-notice { grid-template-columns:auto 1fr; }
    .review-notice a { grid-column:2; }
    .dashboard-profile-main { align-items:flex-start; }
    .dashboard-avatar { width:70px; height:84px; flex-basis:70px; }
    .dashboard-contact-line { display:grid; }
    .dashboard-profile-meta { grid-template-columns:1fr 1fr 1fr; }
    .dashboard-draft-cta, .dashboard-empty-card { align-items:flex-start; flex-direction:column; }
    .dashboard-empty-art { width:76px; height:76px; flex-basis:76px; border-radius:18px; font-size:26px; }
    .message-head { flex-direction:column; }
    .resume-builder-steps { top:66px; overflow:auto; grid-template-columns:repeat(5,minmax(112px,1fr)); justify-content:start; scrollbar-width:none; }
    .resume-builder-steps::-webkit-scrollbar { display:none; }
    .resume-builder-card { padding:17px; border-radius:15px; }
    .resume-builder-actions { bottom:8px; align-items:stretch; flex-direction:column; }
    .resume-builder-action-copy { display:none; }
    .resume-builder-action-buttons { display:grid; grid-template-columns:1fr; }
    .resume-builder-action-buttons .button { width:100%; }
}

/* =========================================================
   FINAL UI HOTFIX V3 — minimal typography + polished listing,
   guide, print companion UI and admin workspace
   ========================================================= */
html { overflow-y: scroll; scrollbar-gutter: stable; }

/* Global typography: lighter, calmer hierarchy */
.site-body { font-weight: 400; }
.site-body .font-black,
.site-body .font-extrabold { font-weight: 600 !important; }
.site-body .font-bold,
.site-body .font-semibold { font-weight: 500 !important; }
.site-body .font-medium { font-weight: 400 !important; }
.site-body strong,
.site-body b { font-weight: 500; }
.brand-copy strong,
.hero-copy h1,
.section-head h2,
.feature-copy h2,
.auth-intro h1,
.profile-title-block h1,
.listing-hero h1,
.cta-band h2,
.dashboard-welcome h1,
.resume-builder-hero h1 { font-weight: 500; }
.nav-link,
.nav-ghost,
.user-chip,
.mobile-nav-link,
.mobile-login,
.mobile-signup,
.mobile-logout,
.button,
.hero-search button,
.talent-body h3,
.process-card h3,
.results-head h2,
.auth-card-head h2,
.profile-section-head h2,
.side-card-head h3 { font-weight: 500; }
.form-group label,
.filter-section > label,
.filter-choice span,
.profile-headline,
.profile-meta-row span,
.career-title-row h3,
.education-card h3,
.share-button,
.print-link,
.badge { font-weight: 400; }
.section-head h2,
.feature-copy h2 { letter-spacing: -.025em; }

/* Footer readability */
.footer-main { padding: 54px 0 42px; }
.footer-logo .brand-mark { width: 42px; height: 42px; }
.footer-logo .brand-copy strong { font-size: 16px; font-weight: 500; }
.footer-logo .brand-copy small { margin-top: 5px; font-size: 10.5px; color: #8a94a7; }
.footer-brand > p { max-width: 430px; margin-top: 17px; color: #748094; font-size: 13px; line-height: 2; }
.footer-links { gap: 34px; }
.footer-links > div { gap: 11px; }
.footer-links strong { margin-bottom: 4px; color: #273147; font-size: 13px; font-weight: 500; }
.footer-links a { color: #748094; font-size: 12px; line-height: 1.8; }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { color: #8a94a7; font-size: 10.5px; }

/* Resume listing — professional filter panel */
.listing-layout { grid-template-columns: 300px minmax(0,1fr); gap: 28px; }
.filter-panel { top: 92px; padding: 0; border-radius: 20px; border-color: #e4e9f1; overflow: hidden; box-shadow: 0 14px 42px rgba(15,23,42,.055); }
.filter-panel-head { padding: 18px 18px 16px; background: linear-gradient(180deg,#fff,#fbfcff); }
.filter-panel-head strong { font-size: 14px; font-weight: 500; color: #1f2937; }
.filter-panel-head small { margin-top: 3px; font-size: 10.5px; color: #8b95a7; }
.filter-icon { width: 38px; height: 38px; border-radius: 11px; }
.filter-section { padding: 17px 18px 0; }
.filter-section + .filter-section { margin-top: 15px; border-top: 1px solid #f0f2f6; }
.filter-section > label { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: #3f4b60; font-size: 11.5px; font-weight: 500; }
.filter-label-icon { width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 6px; background: #f3f8ff; color: #3b82f6; font-size: 8px; }
.filter-search-input input,
.filter-section select,
.age-grid input,
.mobile-search-wrap input { min-height: 44px; border-radius: 11px; border-color: #dfe4ec; background: #fbfcfe; font-size: 11.5px; }
.filter-search-input > i,
.mobile-search-wrap > i { font-size: 11px; }
.filter-choice-grid { gap: 8px; }
.filter-choice span { min-height: 42px; border-radius: 11px; font-size: 11px; }
.filter-choice input:checked + span { border-color: #c1c8ff; background: #f2f4ff; color: #1d4ed8; box-shadow: none; }
.age-grid > div > span { font-size: 9px; }
.age-grid input { font-size: 11px; }
.filter-toggle-list { display: grid; gap: 8px; }
.filter-toggle { display: block; position: relative; }
.filter-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.filter-toggle > span { min-height: 52px; display: grid; grid-template-columns: 29px 1fr; grid-template-rows: auto auto; column-gap: 9px; align-items: center; padding: 8px 10px; border: 1px solid #e2e7ee; border-radius: 11px; background: #fff; cursor: pointer; transition: .18s ease; }
.filter-toggle > span > i { grid-row: 1 / span 2; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: #7c86a0; background: #f6f7fa; font-size: 10px; }
.filter-toggle b { color: #475569; font-size: 10.5px; font-weight: 500; }
.filter-toggle small { color: #9aa3b4; font-size: 8.5px; }
.filter-toggle input:checked + span { border-color: #bfdbfe; background: #f5f9ff; box-shadow: inset 0 0 0 1px #dbeafe; }
.filter-toggle input:checked + span > i { color: #2563eb; background: #eaf3ff; }
.filter-actions { margin-top: 19px; padding: 16px 18px 18px; background: #fbfcfe; }
.filter-reset { font-size: 10px; }
.results-head { min-height: 58px; }
.results-head h2 { font-size: 19px; font-weight: 500; }
.results-head p { font-size: 11px; }
.sort-control { min-height: 42px; padding-inline: 11px; border-radius: 11px; }
.sort-control span,
.sort-control select { font-size: 10.5px; }
.active-filter-summary { min-height: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: -2px 0 15px; }
.active-filter-label { color: #8c96a8; font-size: 9px; margin-left: 2px; }
.active-filter-empty { display: inline-flex; align-items: center; gap: 7px; color: #9aa3b3; font-size: 10px; }
.active-filter-empty i { color: #60a5fa; }
.active-filter-chip { min-height: 31px; display: inline-flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid #dbeafe; border-radius: 999px; background: #f7fbff; color: #2563eb; font-family: inherit; font-size: 9.5px; cursor: pointer; }
.active-filter-chip:hover { background: #eff6ff; }
.active-filter-chip i { font-size: 8px; opacity: .7; }
.active-filter-clear { border: 0; background: transparent; color: #e11d48; font-family: inherit; font-size: 9px; cursor: pointer; padding: 7px; }
.filter-count-badge { min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding-inline: 5px; border-radius: 999px; background: #2563eb; color: #fff; font-size: 8px; }

/* Profile page polish */
.profile-hero-card { border-radius: 24px; box-shadow: 0 24px 70px rgba(15,23,42,.11); }
.profile-section-card,
.profile-side-card { border-color: #e6eaf0; box-shadow: 0 10px 30px rgba(15,23,42,.035); }
.profile-section-card { padding: 25px; }
.profile-section-head h2 { font-size: 16px; font-weight: 500; }
.career-title-row h3 { font-size: 12.5px; font-weight: 500; }
.side-card-head h3 { font-size: 13px; font-weight: 500; }
.share-button { color: #334155; border: 1px solid #e2e8f0; background: #fff !important; font-size: 10px; }
.share-button.whatsapp i { color: #16a34a; }
.share-button.telegram i { color: #0284c7; }
.share-button:hover { background: #f8fafc !important; border-color: #cbd5e1; }
.print-link { min-height: 42px; font-size: 10px; background: #f8fafc; }

/* Guide V3 */
.guide-page { background: #f7f8fb; min-height: 70vh; }
.guide-hero { position: relative; overflow: hidden; color: #fff; background: #111827; }
.guide-hero:before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 15% 20%,rgba(59,130,246,.25),transparent 34%),radial-gradient(circle at 82% 72%,rgba(14,165,233,.10),transparent 34%); }
.guide-hero-inner { position: relative; z-index:1; min-height: 390px; display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:70px; align-items:center; padding-block:58px; }
.guide-kicker { display:inline-flex; align-items:center; gap:7px; color:#bfdbfe; font-size:11px; }
.guide-hero h1 { max-width:760px; margin:13px 0 12px; font-size:clamp(34px,4.6vw,54px); line-height:1.45; font-weight:400; letter-spacing:-.035em; }
.guide-hero-copy > p { max-width:760px; margin:0; color:#c2cad8; font-size:14px; line-height:2.05; }
.guide-hero-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:25px; }
.guide-hero-card { display:flex; align-items:center; gap:17px; padding:21px; border:1px solid rgba(255,255,255,.12); border-radius:18px; background:rgba(255,255,255,.065); backdrop-filter:blur(10px); }
.guide-score { width:64px; height:64px; flex:0 0 64px; display:grid; place-items:center; border-radius:15px; color:#bfdbfe; background:rgba(59,130,246,.18); font-size:27px; font-weight:400; }
.guide-hero-card strong { display:block; font-size:13px; font-weight:400; }
.guide-hero-card p { margin:5px 0 0; color:#aeb8c8; font-size:10.5px; line-height:1.9; }
.guide-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:28px; align-items:start; padding-top:38px; padding-bottom:80px; }
.guide-index { position:sticky; top:96px; display:grid; gap:4px; padding:15px; border:1px solid #e5e9ef; border-radius:16px; background:#fff; box-shadow:0 10px 28px rgba(15,23,42,.035); }
.guide-index > span { padding:5px 7px 10px; color:#9aa3b4; font-size:9.5px; }
.guide-index a { display:flex; align-items:center; gap:9px; min-height:41px; padding:0 9px; border-radius:9px; color:#5f6b7e; font-size:11px; transition:.18s; }
.guide-index a:hover { color:#1d4ed8; background:#f5f9ff; }
.guide-index b { width:23px; color:#93c5fd; font-size:8px; font-weight:400; direction:ltr; }
.guide-content { min-width:0; display:grid; gap:14px; }
.guide-intro-card { display:grid; grid-template-columns:auto 1fr; gap:15px; align-items:start; padding:20px; border:1px solid #dbeafe; border-radius:16px; background:#f7fbff; }
.guide-intro-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; background:#eaf3ff; color:#2563eb; }
.guide-intro-card strong { display:block; color:#38445b; font-size:13px; font-weight:400; }
.guide-intro-card p { margin:5px 0 0; color:#657187; font-size:13px; line-height:2.1; }
.guide-section-card { scroll-margin-top:100px; display:grid; grid-template-columns:58px 1fr; gap:18px; padding:25px; border:1px solid #e6eaf0; border-radius:17px; background:#fff; box-shadow:0 8px 24px rgba(15,23,42,.025); }
.guide-section-number { width:48px; height:48px; display:grid; place-items:center; border-radius:13px; background:#f3f8ff; color:#3b82f6; font-size:11px; font-weight:400; direction:ltr; }
.guide-section-copy > span { color:#8c96a8; font-size:10px; }
.guide-section-copy h2 { margin:5px 0 8px; color:#243047; font-size:20px; line-height:1.6; font-weight:400; }
.guide-section-copy > p { margin:0; color:#5f6b7e; font-size:14px; line-height:2.15; }
.guide-mini-tip,.guide-example { margin-top:14px; padding:11px 13px; border-radius:10px; color:#556176; background:#f8fafc; font-size:11.5px; line-height:1.9; }
.guide-mini-tip { display:flex; align-items:flex-start; gap:8px; }
.guide-mini-tip i { margin-top:5px; color:#10b981; }
.guide-example { border-right:3px solid #93c5fd; }
.guide-example span { display:block; margin-bottom:3px; color:#2563eb; font-size:9px; }
.guide-example p { margin:0; }
.guide-checklist-card { scroll-margin-top:100px; padding:24px; border-radius:18px; background:#172033; color:#fff; }
.guide-checklist-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; }
.guide-checklist-head span { color:#93c5fd; font-size:9px; letter-spacing:.12em; direction:ltr; }
.guide-checklist-head h2 { margin:4px 0 0; font-size:20px; font-weight:400; }
.guide-checklist-head > i { color:#93c5fd; font-size:24px; }
.guide-check-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.guide-check-grid span { display:flex; align-items:center; gap:8px; padding:10px 11px; border:1px solid rgba(255,255,255,.08); border-radius:9px; color:#d6dce6; background:rgba(255,255,255,.035); font-size:11px; }
.guide-check-grid i { color:#34d399; }

/* Admin V3 */
.admin-page { min-height:calc(100vh - 74px); background:#f6f7fa; }
.admin-shell { padding-top:36px; padding-bottom:80px; }
.admin-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; margin-bottom:22px; }
.admin-kicker,.admin-section-label { display:block; color:#3b82f6; font-size:9px; font-weight:400; letter-spacing:.14em; direction:ltr; }
.admin-hero h1 { margin:6px 0 6px; color:#172033; font-size:clamp(29px,4vw,39px); font-weight:400; letter-spacing:-.03em; }
.admin-hero p { margin:0; color:#748094; font-size:12.5px; line-height:1.9; }
.admin-hero-actions { display:flex; gap:8px; flex-wrap:wrap; }
.admin-overview-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; margin-bottom:15px; }
.admin-overview-card { min-width:0; display:grid; grid-template-columns:44px 1fr; gap:12px; align-items:center; padding:15px; border:1px solid #e5e9ef; border-radius:15px; background:#fff; box-shadow:0 7px 22px rgba(15,23,42,.025); }
.admin-overview-card.is-primary { border-color:#dbeafe; background:#f9fbff; }
.admin-overview-icon { width:44px; height:44px; display:grid; place-items:center; border-radius:12px; color:#3b82f6; background:#eff6ff; }
.admin-overview-card small { display:block; color:#929cad; font-size:8.5px; }
.admin-overview-card strong { display:block; margin-top:1px; color:#263148; font-size:20px; font-weight:400; }
.admin-overview-card p { margin:1px 0 0; color:#8c96a8; font-size:8.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-status-board { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:9px; margin-bottom:18px; }
.admin-status-card { min-width:0; min-height:76px; display:grid; grid-template-columns:38px minmax(0,1fr) 18px; gap:9px; align-items:center; padding:11px 12px; border:1px solid #e5e9ef; border-radius:14px; background:#fff; color:#485469; transition:.18s ease; }
.admin-status-card:hover { transform:translateY(-1px); border-color:#cfd6e1; box-shadow:0 9px 24px rgba(15,23,42,.04); }
.admin-status-card.is-active { border-color:#bfdbfe; background:#f8fbff; box-shadow:inset 0 0 0 1px #dbeafe; }
.admin-status-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:10px; background:#f6f7fa; color:#8490a5; }
.tone-amber .admin-status-icon { color:#d97706; background:#fff7ed; }
.tone-emerald .admin-status-icon { color:#059669; background:#ecfdf5; }
.tone-orange .admin-status-icon { color:#ea580c; background:#fff7ed; }
.tone-rose .admin-status-icon { color:#e11d48; background:#fff1f2; }
.admin-status-copy { min-width:0; }
.admin-status-copy small { display:block; color:#8d97a8; font-size:8.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-status-copy strong { display:block; margin-top:1px; color:#263148; font-size:18px; font-weight:400; }
.admin-status-arrow { color:#c5cbd5; font-size:9px; }
.admin-list-panel { overflow:hidden; border:1px solid #e3e8ef; border-radius:18px; background:#fff; box-shadow:0 14px 38px rgba(15,23,42,.04); }
.admin-list-header { min-height:89px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px 20px; border-bottom:1px solid #edf0f4; }
.admin-list-header h2 { margin:4px 0 2px; color:#263148; font-size:18px; font-weight:400; }
.admin-list-header p { margin:0; color:#929cad; font-size:9.5px; }
.admin-total-pill { display:inline-flex; align-items:center; gap:7px; padding:7px 9px; border:1px solid #e6eaf0; border-radius:999px; color:#6f7a8d; background:#fafbfc; font-size:9px; }
.admin-toolbar { display:grid; grid-template-columns:minmax(0,1fr) 210px auto; gap:8px; padding:11px 14px; background:#fafbfc; border-bottom:1px solid #edf0f4; }
.admin-search-field,.admin-sort-field { min-width:0; min-height:42px; display:flex; align-items:center; gap:9px; padding:0 11px; border:1px solid #dfe4eb; border-radius:10px; background:#fff; color:#9aa3b4; }
.admin-search-field input,.admin-sort-field select { min-width:0; width:100%; border:0; outline:0; background:transparent; color:#465268; font-family:inherit; font-size:10.5px; }
.admin-search-field > a { color:#a0a9b8; padding:4px; }
.admin-search-button { min-height:42px; }
.admin-resume-list { display:grid; }
.admin-resume-row { min-width:0; display:grid; grid-template-columns:minmax(220px,1.35fr) minmax(160px,.9fr) minmax(155px,.8fr) 130px minmax(105px,.65fr) 18px; gap:12px; align-items:center; padding:13px 16px; border-bottom:1px solid #f0f2f5; color:inherit; transition:.16s ease; }
.admin-resume-row:last-child { border-bottom:0; }
.admin-resume-row:hover { background:#fafbff; }
.admin-candidate { min-width:0; display:flex; align-items:center; gap:11px; }
.admin-candidate-photo { width:48px; height:54px; flex:0 0 48px; overflow:hidden; border-radius:11px; background:#f2f4f7; border:1px solid #e7ebf0; }
.admin-candidate-photo img { width:100%; height:100%; object-fit:cover; }
.admin-candidate-photo > span { width:100%; height:100%; display:grid; place-items:center; color:#b4bdca; }
.admin-candidate-copy { min-width:0; }
.admin-candidate-copy strong { display:block; color:#2f3a51; font-size:11px; font-weight:400; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-candidate-copy span { display:block; margin-top:2px; color:#59667b; font-size:9.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-candidate-copy small { display:block; margin-top:3px; color:#9aa3b4; font-size:8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-row-cell { min-width:0; }
.admin-cell-label { display:block; margin-bottom:3px; color:#a1a9b7; font-size:7.5px; }
.admin-row-cell strong { display:block; color:#4a566a; font-size:9.5px; font-weight:400; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-row-cell small { display:block; margin-top:2px; color:#9aa3b4; font-size:7.8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-row-state { min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
.admin-tag { max-width:100%; display:inline-flex; align-items:center; gap:4px; padding:4px 6px; border-radius:6px; background:#eff6ff; color:#2563eb; font-size:7.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-open-row { color:#c4cad4; font-size:9px; }
.admin-empty-state { min-height:300px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:30px; }
.admin-empty-state > span { width:58px; height:58px; display:grid; place-items:center; border-radius:15px; background:#f4f6f8; color:#a8b0bd; font-size:20px; }
.admin-empty-state h3 { margin:12px 0 4px; color:#475569; font-size:13px; font-weight:400; }
.admin-empty-state p { margin:0; color:#9aa3b4; font-size:10px; }

/* Slightly lighter user dashboard / builder */
.dashboard-welcome h1,
.resume-builder-hero h1 { font-weight:400; }
.dashboard-stat-card strong,
.dashboard-panel-head h2,
.dashboard-profile-copy h3,
.completion-number,
.resume-builder-card h2 { font-weight:400 !important; }
.dashboard-draft-cta h2,
.dashboard-empty-copy h2 { font-weight:400; }

@media (max-width: 1100px) {
    .listing-layout { grid-template-columns:280px minmax(0,1fr); gap:20px; }
    .admin-overview-grid { grid-template-columns:1fr 1fr; }
    .admin-status-board { grid-template-columns:repeat(5,minmax(150px,1fr)); overflow-x:auto; padding-bottom:4px; scrollbar-width:thin; }
    .admin-resume-row { grid-template-columns:minmax(220px,1.4fr) minmax(150px,.8fr) 125px minmax(105px,.6fr) 18px; }
    .admin-row-profile { display:none; }
}

@media (max-width: 900px) {
    .guide-hero-inner { grid-template-columns:1fr; gap:24px; min-height:auto; }
    .guide-hero-card { max-width:520px; }
    .guide-layout { grid-template-columns:1fr; }
    .guide-index { position:static; grid-template-columns:repeat(3,1fr); }
    .guide-index > span { grid-column:1/-1; }
    .admin-hero { align-items:flex-start; flex-direction:column; }
    .admin-hero-actions { width:100%; }
    .admin-toolbar { grid-template-columns:1fr 190px; }
    .admin-search-button { grid-column:1/-1; width:100%; }
    .admin-resume-row { grid-template-columns:minmax(0,1fr) 120px minmax(100px,.6fr) 18px; }
    .admin-row-contact,.admin-row-profile { display:none; }
}

@media (max-width: 760px) {
    .listing-layout { display:block; }
    .filter-panel { padding:0; border-radius:0; }
    .filter-panel-head { padding:18px; }
    .filter-section { padding-inline:18px; }
    .filter-actions { padding:16px 18px 22px; }
    .filter-open-btn { display:inline-flex; align-items:center; justify-content:center; gap:7px; padding-inline:12px; }
    .guide-section-card { grid-template-columns:1fr; gap:12px; padding:20px; }
    .guide-section-number { width:41px; height:41px; }
    .guide-section-copy h2 { font-size:18px; }
    .guide-section-copy > p { font-size:13px; }
    .guide-check-grid { grid-template-columns:1fr; }
    .admin-overview-grid { grid-template-columns:1fr; }
    .admin-list-header { align-items:flex-start; flex-direction:column; }
    .admin-toolbar { grid-template-columns:1fr; }
    .admin-search-button { grid-column:auto; }
    .admin-resume-row { grid-template-columns:minmax(0,1fr) auto 16px; padding:12px; }
    .admin-row-date,.admin-row-contact,.admin-row-profile { display:none; }
    .admin-row-state { align-items:flex-end; }
}

@media (max-width: 640px) {
    .footer-main { grid-template-columns:1fr; gap:32px; padding-block:40px 30px; }
    .footer-links { grid-template-columns:1fr 1fr; }
    .footer-links strong { font-size:12.5px; }
    .footer-links a { font-size:11.5px; }
    .footer-bottom { align-items:flex-start; flex-direction:column; gap:6px; }
    .footer-bottom p { font-size:10px; }
    .guide-hero-inner { padding-block:44px; }
    .guide-hero h1 { font-size:34px; }
    .guide-hero-copy > p { font-size:13px; }
    .guide-index { grid-template-columns:1fr 1fr; }
    .admin-shell { padding-top:26px; }
    .admin-hero-actions .button { flex:1; }
    .admin-status-board { grid-template-columns:repeat(5,minmax(138px,1fr)); }
}

/* =========================================================
   Shiraz Resume — UI V4 / BLUE SIGNATURE
   Coherent blue identity + refined Persian typography
   ========================================================= */
:root {
    --ink: #0b172a;
    --ink-soft: #334155;
    --muted: #65758b;
    --muted-light: #94a3b8;
    --line: #e4eaf2;
    --line-soft: #edf2f7;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-tint: #f5f9ff;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #eff6ff;
    --blue-950: #071a33;
    --blue-900: #0b2345;
    --blue-800: #123b70;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-300: #93c5fd;
    --blue-200: #bfdbfe;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --shadow-sm: 0 1px 2px rgba(7, 26, 51, .03), 0 8px 24px rgba(7, 26, 51, .035);
    --shadow-md: 0 18px 50px rgba(7, 26, 51, .08);
    --shadow-lg: 0 28px 80px rgba(7, 26, 51, .12);
}

/* Typography: use only real font weights shipped with Yekan Bakh. */
html { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea {
    font-family: 'Yekan Bakh FaNum', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
}
body.site-body { color: var(--ink); background: #f8fafc; }
p, li, input, select, textarea, button { font-weight: 400; }
strong, b { font-weight: 600; }

/* Kill synthetic 500/700/800/900 heaviness from legacy utility classes. */
.font-medium { font-weight: 400 !important; }
.font-semibold, .font-bold, .font-extrabold, .font-black { font-weight: 600 !important; }

h1, h2, h3,
.section-head h2,
.feature-copy h2,
.cta-band h2,
.listing-hero h1,
.auth-copy h1,
.profile-name h1,
.guide-hero h1,
.guide-section-copy h2,
.guide-checklist-head h2,
.admin-hero h1,
.admin-list-header h2,
.resume-builder-hero h1,
.resume-builder-card h2 {
    font-family: 'Yekan Bakh FaNum SemiExpanded', 'Yekan Bakh FaNum', system-ui, sans-serif;
    font-weight: 400 !important;
    letter-spacing: 0;
}

/* Keep smaller structural headings gently emphasized, never heavy. */
.talent-body h3,
.process-card h3,
.profile-section-title h2,
.auth-card-title h2,
.admin-candidate-copy strong,
.admin-overview-card strong,
.admin-status-copy strong {
    font-family: 'Yekan Bakh FaNum SemiExpanded', 'Yekan Bakh FaNum', system-ui, sans-serif;
    font-weight: 600 !important;
}

/* One color language: blue only. */
.brand-mark {
    background: linear-gradient(145deg, #0b2345, #1352a3 58%, #2563eb);
    box-shadow: 0 10px 26px rgba(37,99,235,.18);
}
.nav-primary, .button-dark { background: #0b2345; border-color: #0b2345; }
.nav-primary:hover, .button-dark:hover { background: #123b70; }
.button-primary {
    background: #2563eb;
    box-shadow: 0 8px 22px rgba(37,99,235,.17);
}
.button-primary:hover { background: #1d4ed8; box-shadow: 0 10px 26px rgba(37,99,235,.21); }

/* Home hero: editorial, calm, premium; no embossed/over-styled headline. */
.hero-section {
    background:
      radial-gradient(circle at 13% 18%, rgba(59,130,246,.15), transparent 27%),
      linear-gradient(135deg, #071a33 0%, #0b2345 52%, #0b2d59 100%);
}
.hero-grid { opacity: .065; background-size: 54px 54px; }
.hero-orb-one { width: 420px; height: 420px; background: radial-gradient(circle, rgba(59,130,246,.14), rgba(59,130,246,0)); }
.hero-orb-two { width: 470px; height: 470px; background: radial-gradient(circle, rgba(96,165,250,.10), rgba(96,165,250,0)); }
.hero-shell { min-height: 620px; gap: 72px; padding-top: 72px; padding-bottom: 76px; }
.hero-copy h1 {
    max-width: 700px;
    margin: 19px 0 18px;
    font-family: 'Yekan Bakh FaNum SemiExpanded', 'Yekan Bakh FaNum', sans-serif;
    font-size: clamp(38px, 4.7vw, 58px);
    line-height: 1.46;
    letter-spacing: -.025em;
    font-weight: 300 !important;
    text-shadow: none;
}
.hero-copy h1 span {
    color: #7db7ff;
    font: inherit;
    font-weight: 300 !important;
    text-shadow: none;
    -webkit-text-stroke: 0;
}
.hero-copy > p { color: #c4d2e4; font-size: 15px; line-height: 2.05; font-weight: 300; }
.eyebrow {
    color: #bfdbfe;
    background: rgba(59,130,246,.09);
    border-color: rgba(147,197,253,.15);
    font-size: 10.5px;
}
.hero-search {
    max-width: 660px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 15px;
    box-shadow: 0 18px 46px rgba(0,0,0,.14);
}
.hero-search button { background: #2563eb; font-weight: 400; }
.hero-search button:hover { background:#1d4ed8; }
.hero-resume-card { border-radius: 22px; box-shadow: 0 25px 70px rgba(1,11,27,.24); }
.hero-resume-card::before {
    inset: 10px -9px -10px 9px;
    border-radius: 22px;
    background: rgba(59,130,246,.10);
    transform: rotate(1.2deg);
}
.hero-float-badge { box-shadow: 0 12px 34px rgba(0,0,0,.12); }
.hero-avatar { background: #eff6ff; color: #2563eb; }
.hero-timeline b { background: #3b82f6; box-shadow: 0 0 0 5px #eff6ff; }

/* Section typography: airy, readable, not bold. */
.section-head h2 {
    margin-top: 4px;
    font-size: clamp(27px, 3.2vw, 36px);
    line-height: 1.65;
    color: #14243c;
}
.section-head p { color:#718096; font-size: 13px; line-height:2; }
.section-kicker { color:#2563eb; font-size:10px; letter-spacing:.015em; }
.section-link { color:#1d4ed8; }
.feature-copy h2 { font-size: clamp(27px,3.2vw,37px); line-height:1.7; color:#14243c; }
.cta-band h2 { font-size: clamp(28px,3.4vw,40px); line-height:1.65; }

/* Cards should feel quiet and polished, not chunky. */
.talent-card { border-color:#e6ebf2; box-shadow: 0 7px 24px rgba(7,26,51,.025); }
.talent-card:hover { transform: translateY(-3px); border-color:#bfdbfe; box-shadow:0 18px 44px rgba(7,26,51,.075); }
.talent-body h3 { color:#1f2f46; font-size:14px; }
.talent-role { color:#2563eb; }
.process-card { box-shadow:0 7px 24px rgba(7,26,51,.025); }
.process-card h3 { color:#22324a; }
.feature-panel { background:linear-gradient(145deg,#eff6ff,#f8fbff); border-color:#dbeafe; }
.feature-panel::before { background:#93c5fd; opacity:.42; }
.feature-progress span { background:linear-gradient(90deg,#2563eb,#60a5fa); }

/* Listing/filter: sophisticated blue-neutral control surface. */
.listing-hero {
    background: linear-gradient(135deg,#071a33,#0b2d59);
}
.listing-hero::before {
    background:
      radial-gradient(circle at 20% 20%, rgba(59,130,246,.17), transparent 32%),
      linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px),
      linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px);
    background-size:auto,42px 42px,42px 42px;
}
.filter-panel { border-color:#e5ebf3; box-shadow:0 12px 34px rgba(7,26,51,.045); }
.filter-icon { background:#eff6ff; color:#2563eb; }
.filter-section label { font-weight:400 !important; color:#526176; }
.filter-search-input input:focus,
.filter-section select:focus,
.age-grid input:focus,
.mobile-search-wrap input:focus {
    border-color:#93c5fd;
    box-shadow:0 0 0 3px rgba(37,99,235,.075);
}
.filter-choice input:checked + span { border-color:#93c5fd; background:#eff6ff; color:#1d4ed8; box-shadow: inset 0 0 0 1px #bfdbfe; }

/* Profile + guide + auth + admin are forced into the same blue language. */
.profile-cover { background:linear-gradient(135deg,#071a33,#0b2d59); }
.profile-cover-grid { background:radial-gradient(circle at 18% 10%,rgba(59,130,246,.20),transparent 28%),radial-gradient(circle at 90% 90%,rgba(96,165,250,.09),transparent 32%),linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size:auto,auto,42px 42px,42px 42px; }
.profile-name h1 { font-size:clamp(28px,4vw,40px); line-height:1.6; }
.profile-headline { color:#93c5fd; }
.profile-label { color:#bfdbfe; background:rgba(59,130,246,.12); border-color:rgba(147,197,253,.14); }
.guide-hero, .auth-side { background:linear-gradient(145deg,#071a33,#0b2d59); }
.guide-hero h1 { font-size:clamp(30px,4vw,44px); line-height:1.7; }
.guide-section-copy h2 { font-size:19px; line-height:1.8; }
.admin-kicker,.admin-section-label { color:#2563eb; }
.admin-hero h1 { font-size:clamp(29px,4vw,38px); line-height:1.65; }
.admin-overview-card.is-primary { border-color:#dbeafe; background:#f8fbff; }
.admin-overview-icon { color:#2563eb; background:#eff6ff; }
.admin-status-card.is-active { border-color:#bfdbfe; background:#f8fbff; box-shadow:inset 0 0 0 1px #dbeafe; }
.admin-resume-row:hover { background:#f8fbff; }

/* Footer: visibly readable without becoming oversized. */
.site-footer { background:#fff; border-top:1px solid #e7edf4; }
.footer-brand > p { font-size:13px !important; line-height:2.05 !important; color:#6b7a90; }
.footer-links strong { font-size:12.5px !important; font-weight:600 !important; color:#25354d; }
.footer-links a { font-size:12.5px !important; line-height:1.8; color:#67768b; }
.footer-bottom p { font-size:11.5px !important; color:#8b98aa; }

/* Forms and dashboard text: preserve hierarchy without aggressive weight. */
label, .form-label, .field-label { font-weight:400 !important; }
.auth-card-title h2 { font-size:22px; line-height:1.7; }
.resume-builder-hero h1 { font-size:clamp(28px,4vw,38px); line-height:1.65; }
.resume-builder-card h2 { font-size:18px; line-height:1.8; }

@media (max-width: 900px) {
    .hero-shell { min-height:auto; gap:48px; padding-top:56px; padding-bottom:62px; }
    .hero-copy h1 { font-size:clamp(34px,8vw,48px); line-height:1.5; }
}

@media (max-width: 640px) {
    .hero-copy h1 { font-size:32px; line-height:1.6; letter-spacing:-.012em; }
    .hero-copy > p { font-size:14px; line-height:2; }
    .section-head h2, .feature-copy h2 { font-size:25px; }
    .footer-links a { font-size:13px !important; }
    .footer-links strong { font-size:13px !important; }
}


/* V4 title hierarchy — intentionally light, no synthetic bold */
.hero-copy h1 { font-family:'Yekan Bakh FaNum SemiExpanded','Yekan Bakh FaNum',sans-serif; font-weight:300 !important; letter-spacing:0; }
.hero-copy h1 span { font-weight:300 !important; }
.section-head h2, .feature-copy h2, .listing-hero h1, .profile-title-block h1, .guide-hero h1, .admin-hero h1, .resume-builder-hero h1 {
    font-family:'Yekan Bakh FaNum SemiExpanded','Yekan Bakh FaNum',sans-serif;
    font-weight:400 !important;
    letter-spacing:0;
}
.section-head h2 { max-width:760px; }
.section-head p { max-width:720px; }
/* The navigation already had the right visual weight; preserve it. */
.nav-link, .nav-ghost, .nav-primary, .mobile-nav-link { font-family:'Yekan Bakh FaNum',system-ui,sans-serif; font-weight:400 !important; }

/* =========================================================
   BLUE UI V5 — GUIDE + ADMIN COMMAND CENTER
   ========================================================= */

/* ---------- Guide V5 ---------- */
.guide-v5-page {
    min-height: 70vh;
    background: #f7faff;
    color: #18263b;
}
.guide-v5-hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0 58px;
    border-bottom: 1px solid #e5edf7;
    background:
        radial-gradient(circle at 12% 15%, rgba(96,165,250,.14), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(37,99,235,.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}
.guide-v5-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .42;
    background-image: linear-gradient(rgba(37,99,235,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.guide-v5-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(330px, .72fr);
    gap: 80px;
    align-items: center;
}
.guide-v5-copy { max-width: 750px; }
.guide-v5-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 31px;
    padding: 0 11px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: #2563eb;
    font-size: 10px;
    font-weight: 400;
    direction: ltr;
    letter-spacing: .08em;
    box-shadow: 0 8px 24px rgba(37,99,235,.05);
}
.guide-v5-copy h1 {
    max-width: 720px;
    margin: 18px 0 14px;
    color: #10213a;
    font-family: 'Yekan Bakh FaNum SemiExpanded','Yekan Bakh FaNum',sans-serif;
    font-size: clamp(36px, 4.7vw, 56px);
    line-height: 1.55;
    font-weight: 300 !important;
    letter-spacing: 0;
}
.guide-v5-copy h1 span {
    color: #2563eb;
    font: inherit;
    font-weight: 300 !important;
}
.guide-v5-copy > p {
    max-width: 720px;
    margin: 0;
    color: #66758b;
    font-size: 14px;
    line-height: 2.15;
    font-weight: 400;
}
.guide-v5-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.guide-v5-text-link { display: inline-flex; align-items: center; gap: 8px; color: #315477; font-size: 11.5px; }
.guide-v5-text-link:hover { color: #2563eb; }
.guide-v5-trust-row { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 25px; color: #77869a; font-size: 10.5px; }
.guide-v5-trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.guide-v5-trust-row i { color: #3b82f6; font-size: 9px; }

.guide-v5-preview { position: relative; max-width: 410px; margin-inline: auto; }
.guide-v5-paper {
    position: relative;
    min-height: 390px;
    padding: 28px;
    border: 1px solid #dfe8f3;
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 30px 80px rgba(22,54,92,.13);
    transform: rotate(-1.25deg);
}
.guide-v5-paper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 34px;
    width: 76px;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: #2563eb;
}
.guide-v5-paper-top { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; margin-bottom: 25px; }
.guide-v5-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #2563eb; background: #eff6ff; font-size: 17px; }
.guide-v5-paper-identity strong { display: block; color: #1b2b42; font-size: 12px; font-weight: 500; }
.guide-v5-paper-identity span { display: block; margin-top: 4px; color: #8a98aa; font-size: 8.5px; }
.guide-v5-score { width: 44px; height: 44px; display: flex; align-items: baseline; justify-content: center; padding-top: 8px; border: 1px solid #dbeafe; border-radius: 50%; color: #2563eb; background: #f8fbff; }
.guide-v5-score b { font-size: 13px; font-weight: 500; }
.guide-v5-score small { font-size: 7px; }
.guide-v5-paper-line { width: 66%; height: 7px; margin: 9px 0; border-radius: 99px; background: #e8eef6; }
.guide-v5-paper-line.is-wide { width: 91%; background: #dce7f4; }
.guide-v5-paper-section { margin-top: 31px; padding-top: 19px; border-top: 1px solid #eef2f7; }
.guide-v5-paper-section > span { display: block; margin-bottom: 16px; color: #7d8ca0; font-size: 7px; letter-spacing: .14em; direction: ltr; }
.guide-v5-timeline-row { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: 10px; margin: 13px 0; }
.guide-v5-timeline-row > i { width: 8px; height: 8px; margin-top: 1px; border: 2px solid #60a5fa; border-radius: 50%; background: #fff; }
.guide-v5-timeline-row > div b, .guide-v5-timeline-row > div em { display: block; border-radius: 99px; background: #e7edf5; }
.guide-v5-timeline-row > div b { width: 62%; height: 7px; }
.guide-v5-timeline-row > div em { width: 88%; height: 5px; margin-top: 7px; opacity: .65; }
.guide-v5-paper-tags { display: flex; gap: 7px; margin-top: 26px; }
.guide-v5-paper-tags span { padding: 6px 9px; border-radius: 7px; color: #52739d; background: #f1f6fc; font-size: 7.5px; }
.guide-v5-preview-badge {
    position: absolute;
    left: -24px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(17,41,73,.12);
    color: #32465f;
    font-size: 9.5px;
}
.guide-v5-preview-badge i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #2563eb; font-size: 8px; }

.guide-v5-principles {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    margin-top: -1px;
    padding-top: 28px;
    padding-bottom: 30px;
}
.guide-v5-principles article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
    padding: 20px;
    border: 1px solid #e4ebf4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(13,48,87,.035);
}
.guide-v5-principle-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; color: #2563eb; background: #eff6ff; font-size: 15px; }
.guide-v5-principles small { color: #a0adbd; font-size: 8px; direction: ltr; }
.guide-v5-principles h2 { margin: 2px 0 5px; color: #23364f; font-size: 16px; font-weight: 400 !important; }
.guide-v5-principles p { margin: 0; color: #718095; font-size: 11.5px; line-height: 1.95; }

.guide-v5-body { padding-top: 28px; padding-bottom: 86px; }
.guide-v5-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.guide-v5-section-head > div > span { color: #2563eb; font-size: 9.5px; }
.guide-v5-section-head h2 { margin: 5px 0 5px; color: #162943; font-size: clamp(25px,3vw,33px); line-height: 1.65; font-weight: 400 !important; }
.guide-v5-section-head p { max-width: 690px; margin: 0; color: #758499; font-size: 12px; line-height: 2; }
.guide-v5-jump { display: flex; gap: 6px; direction: ltr; }
.guide-v5-jump a { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid #dce6f1; border-radius: 9px; background: #fff; color: #687b92; font-size: 9px; }
.guide-v5-jump a:hover { color: #fff; border-color: #2563eb; background: #2563eb; }
.guide-v5-step-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.guide-v5-step {
    scroll-margin-top: 96px;
    position: relative;
    min-height: 286px;
    padding: 23px;
    border: 1px solid #e3eaf3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(17,49,86,.025);
    transition: .2s ease;
}
.guide-v5-step:hover { transform: translateY(-2px); border-color: #cddff4; box-shadow: 0 18px 40px rgba(17,49,86,.065); }
.guide-v5-step.is-featured { border-color: #bfdbfe; background: linear-gradient(145deg,#fff,#f7fbff); }
.guide-v5-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.guide-v5-step-top span { color: #a1afbf; font-size: 9px; direction: ltr; }
.guide-v5-step-top i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: #2563eb; background: #eff6ff; font-size: 13px; }
.guide-v5-step > small { display: block; color: #2563eb; font-size: 9px; }
.guide-v5-step h3 { margin: 5px 0 8px; color: #243750; font-size: 18px; line-height: 1.75; font-weight: 400 !important; }
.guide-v5-step > p { margin: 0; color: #6d7c91; font-size: 12.5px; line-height: 2.05; }
.guide-v5-do, .guide-v5-example { margin-top: 18px; border-radius: 11px; font-size: 10.5px; line-height: 1.9; }
.guide-v5-do { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; color: #596a80; background: #f7f9fc; }
.guide-v5-do i { margin-top: 4px; color: #3b82f6; font-size: 9px; }
.guide-v5-example { padding: 12px 13px; border-right: 3px solid #60a5fa; background: #f1f7ff; color: #53677f; }
.guide-v5-example span { display: block; margin-bottom: 3px; color: #2563eb; font-size: 8.5px; }
.guide-v5-example p { margin: 0; }
.guide-v5-checklist {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(330px,.8fr);
    gap: 46px;
    align-items: center;
    margin-top: 18px;
    padding: 34px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg,#071a33,#0b2d59 68%,#123f78);
    box-shadow: 0 22px 60px rgba(7,26,51,.16);
}
.guide-v5-checklist::after { content:""; position:absolute; width:290px; height:290px; left:-90px; top:-120px; border-radius:50%; background:rgba(59,130,246,.12); }
.guide-v5-check-copy { position: relative; z-index: 1; }
.guide-v5-check-copy > span { color: #93c5fd; font-size: 8px; letter-spacing: .14em; direction: ltr; }
.guide-v5-check-copy h2 { max-width: 600px; margin: 6px 0 7px; font-size: clamp(23px,3vw,31px); line-height: 1.75; font-weight: 300 !important; }
.guide-v5-check-copy p { margin: 0 0 18px; color: #b8c8da; font-size: 11.5px; line-height: 1.9; }
.guide-v5-check-items { position: relative; z-index:1; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.guide-v5-check-items span { display:flex; align-items:center; gap:8px; min-height:42px; padding:0 11px; border:1px solid rgba(255,255,255,.08); border-radius:10px; background:rgba(255,255,255,.045); color:#dce7f3; font-size:10px; }
.guide-v5-check-items i { width:19px; height:19px; display:grid; place-items:center; border-radius:50%; color:#bfdbfe; background:rgba(59,130,246,.18); font-size:7px; }

/* ---------- Admin V5 ---------- */
.admin-v5-page { min-height: calc(100vh - 74px); background: #f5f8fc; }
.admin-v5-shell { padding-top: 32px; padding-bottom: 82px; }
.admin-v5-topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 18px;
    padding: 4px 2px 2px;
}
.admin-v5-eyebrow, .admin-v5-section-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #2563eb;
    font-size: 8.5px;
    font-weight: 400;
    direction: ltr;
    letter-spacing: .12em;
}
.admin-v5-topbar h1 { margin: 6px 0 4px; color: #14263e; font-size: clamp(29px,3.8vw,38px); line-height: 1.65; font-weight: 300 !important; }
.admin-v5-topbar p { margin: 0; color: #78879a; font-size: 11.5px; line-height: 1.9; }
.admin-v5-top-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-v5-quiet-button, .admin-v5-primary-button { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border-radius: 10px; font-size: 10px; transition: .18s ease; }
.admin-v5-quiet-button { border: 1px solid #dce5ef; background: #fff; color: #52647a; }
.admin-v5-quiet-button:hover { color: #2563eb; border-color: #bfdbfe; }
.admin-v5-primary-button { border: 1px solid #0b2d59; background: #0b2d59; color: #fff; box-shadow: 0 9px 22px rgba(11,45,89,.12); }
.admin-v5-primary-button:hover { background: #123f78; }

.admin-v5-highlight-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.admin-v5-highlight { min-width: 0; display: grid; grid-template-columns: 43px 1fr; gap: 12px; align-items: center; padding: 14px; border: 1px solid #e1e9f2; border-radius: 14px; background: #fff; box-shadow: 0 7px 24px rgba(11,45,89,.025); }
.admin-v5-highlight.is-main { border-color: #cfe1f8; background: linear-gradient(145deg,#fff,#f5f9ff); }
.admin-v5-highlight-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 11px; color: #2563eb; background: #eff6ff; font-size: 13px; }
.admin-v5-highlight small { display: block; color: #93a0b1; font-size: 8px; }
.admin-v5-highlight strong { display: block; margin-top: 1px; color: #243750; font-size: 19px; font-weight: 400 !important; line-height: 1.2; }
.admin-v5-highlight strong em { color: #8290a2; font-size: 8px; font-style: normal; font-weight: 400; }
.admin-v5-highlight p { margin: 3px 0 0; color: #8a98aa; font-size: 8.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.admin-v5-workspace { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 13px; align-items: start; }
.admin-v5-rail { position: sticky; top: 91px; overflow: hidden; border: 1px solid #e0e8f1; border-radius: 17px; background: #fff; box-shadow: 0 10px 32px rgba(11,45,89,.035); }
.admin-v5-rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px; border-bottom: 1px solid #edf2f7; }
.admin-v5-rail-head span:first-child { color: #9aa7b7; font-size: 7.5px; letter-spacing: .12em; direction: ltr; }
.admin-v5-rail-head h2 { margin: 3px 0 0; color: #30445d; font-size: 13px; font-weight: 400 !important; }
.admin-v5-total { min-width: 35px; height: 31px; display: grid; place-items: center; padding-inline: 7px; border-radius: 9px; color: #2563eb; background: #eff6ff; font-size: 10px; }
.admin-v5-status-nav { display: grid; gap: 4px; padding: 8px; }
.admin-v5-status-item { min-height: 58px; display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; padding: 7px 9px; border: 1px solid transparent; border-radius: 11px; color: #526379; transition: .16s ease; }
.admin-v5-status-item:hover { color: #263c57; background: #f8fafc; }
.admin-v5-status-item.is-active { color: #1d4ed8; border-color: #dbeafe; background: #f5f9ff; box-shadow: inset 3px 0 0 #3b82f6; }
.admin-v5-status-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #7b8aa0; background: #f5f7fa; font-size: 10px; }
.admin-v5-status-item.is-active .admin-v5-status-icon { color: #2563eb; background: #eaf3ff; }
.admin-v5-status-name { min-width: 0; }
.admin-v5-status-name b { display: block; color: inherit; font-size: 10.5px; font-weight: 400 !important; }
.admin-v5-status-name small { display: block; margin-top: 2px; color: #a0abba; font-size: 7.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-v5-status-item > strong { min-width: 26px; height: 24px; display: grid; place-items: center; padding-inline: 6px; border-radius: 7px; background: #f1f5f9; color: #63758b; font-size: 8.5px; font-weight: 500; }
.admin-v5-status-item.is-active > strong { color: #2563eb; background: #dbeafe; }
.admin-v5-rail-note { display: grid; grid-template-columns: 34px 1fr; gap: 10px; margin: 9px; padding: 12px; border-radius: 12px; background: #0b2d59; color: #fff; }
.admin-v5-note-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #bfdbfe; background: rgba(255,255,255,.08); font-size: 10px; }
.admin-v5-rail-note strong { display: block; font-size: 9.5px; font-weight: 500; }
.admin-v5-rail-note p { margin: 3px 0 0; color: #b9c9db; font-size: 8px; line-height: 1.8; }

.admin-v5-queue { overflow: hidden; min-width: 0; border: 1px solid #e0e8f1; border-radius: 17px; background: #fff; box-shadow: 0 12px 38px rgba(11,45,89,.04); }
.admin-v5-queue-head { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px; border-bottom: 1px solid #edf2f7; }
.admin-v5-queue-head h2 { margin: 4px 0 2px; color: #273b54; font-size: 17px; font-weight: 400 !important; }
.admin-v5-queue-head p { margin: 0; color: #95a1b1; font-size: 8.5px; }
.admin-v5-queue-count { min-width: 44px; height: 38px; display: grid; place-items: center; padding-inline: 9px; border-radius: 11px; color: #2563eb; background: #eff6ff; font-size: 11px; }
.admin-v5-toolbar { display: grid; grid-template-columns: minmax(0,1fr) 180px auto; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #edf2f7; background: #fbfcfe; }
.admin-v5-search, .admin-v5-sort { min-width: 0; min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #dfe7f0; border-radius: 10px; background: #fff; color: #95a2b3; }
.admin-v5-search:focus-within, .admin-v5-sort:focus-within { border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(37,99,235,.06); }
.admin-v5-search input, .admin-v5-sort select { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #3e5067; font-family: inherit; font-size: 9.5px; font-weight: 400; }
.admin-v5-search a { color: #a5afbd; }
.admin-v5-sort select { cursor: pointer; }
.admin-v5-search-submit { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 13px; border: 0; border-radius: 10px; background: #2563eb; color: #fff; font-family: inherit; font-size: 9.5px; cursor: pointer; }
.admin-v5-search-submit:hover { background: #1d4ed8; }
.admin-v5-list { display: grid; }
.admin-v5-candidate { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 14px; align-items: stretch; padding: 13px 15px; border-bottom: 1px solid #eef2f6; transition: .16s ease; }
.admin-v5-candidate:last-child { border-bottom: 0; }
.admin-v5-candidate:hover { background: #fbfdff; }
.admin-v5-candidate-main { min-width: 0; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 12px; align-items: center; color: inherit; }
.admin-v5-avatar { width: 48px; height: 48px; overflow: hidden; display: grid; place-items: center; border-radius: 13px; color: #2563eb; background: #eff6ff; font-size: 14px; }
.admin-v5-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-v5-candidate-copy { min-width: 0; }
.admin-v5-candidate-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.admin-v5-candidate-title h3 { margin: 0; color: #243750; font-size: 12.5px; font-weight: 500 !important; }
.admin-v5-candidate-copy > p { margin: 3px 0 7px; color: #718198; font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-v5-meta { display: flex; flex-wrap: wrap; gap: 7px 13px; color: #8b98a9; font-size: 8px; }
.admin-v5-meta span { display: inline-flex; align-items: center; gap: 4px; }
.admin-v5-meta i { color: #8db5e8; font-size: 7px; }
.admin-v5-candidate-side { display: grid; grid-template-columns: minmax(120px,1.3fr) 90px 72px; gap: 10px; align-items: center; }
.admin-v5-contact, .admin-v5-time { min-width: 0; }
.admin-v5-contact small, .admin-v5-time small { display: block; color: #a0abba; font-size: 7.5px; }
.admin-v5-contact span, .admin-v5-time span { display: block; margin-top: 2px; color: #4a5d74; font-size: 8.5px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-v5-contact em, .admin-v5-time em { display: block; margin-top: 2px; color: #9aa6b5; font-size: 7.5px; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-v5-review-button { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #dbe7f4; border-radius: 9px; color: #2563eb; background: #f7fbff; font-size: 8.5px; }
.admin-v5-review-button:hover { color: #fff; border-color: #2563eb; background: #2563eb; }
.admin-v5-empty { min-height: 320px; display: grid; place-items: center; align-content: center; padding: 40px 20px; text-align: center; }
.admin-v5-empty > span { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 16px; color: #3b82f6; background: #eff6ff; font-size: 18px; }
.admin-v5-empty h3 { margin: 0; color: #354a63; font-size: 15px; font-weight: 400 !important; }
.admin-v5-empty p { max-width: 360px; margin: 6px 0 0; color: #8b99aa; font-size: 9.5px; line-height: 1.9; }

@media (max-width: 1100px) {
    .guide-v5-hero-grid { grid-template-columns: minmax(0,1fr) 330px; gap: 42px; }
    .admin-v5-highlight-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-v5-workspace { grid-template-columns: 220px minmax(0,1fr); }
    .admin-v5-candidate { grid-template-columns: minmax(0,1fr) 250px; }
    .admin-v5-candidate-side { grid-template-columns: minmax(100px,1fr) 72px; }
    .admin-v5-time { display: none; }
}
@media (max-width: 900px) {
    .guide-v5-hero { padding: 52px 0 44px; }
    .guide-v5-hero-grid { grid-template-columns: 1fr; gap: 35px; }
    .guide-v5-preview { width: min(100%,410px); }
    .guide-v5-principles { grid-template-columns: 1fr; }
    .guide-v5-checklist { grid-template-columns: 1fr; gap: 24px; }
    .admin-v5-topbar { align-items: flex-start; flex-direction: column; }
    .admin-v5-workspace { grid-template-columns: 1fr; }
    .admin-v5-rail { position: static; }
    .admin-v5-status-nav { grid-template-columns: repeat(5,minmax(145px,1fr)); overflow-x: auto; scrollbar-width: thin; }
    .admin-v5-rail-note { display: none; }
    .admin-v5-candidate { grid-template-columns: minmax(0,1fr) 220px; }
}
@media (max-width: 720px) {
    .guide-v5-copy h1 { font-size: 34px; line-height: 1.62; }
    .guide-v5-paper { min-height: 340px; padding: 22px; }
    .guide-v5-preview-badge { left: 8px; bottom: 14px; }
    .guide-v5-section-head { align-items: flex-start; flex-direction: column; }
    .guide-v5-step-grid { grid-template-columns: 1fr; }
    .guide-v5-step { min-height: auto; }
    .guide-v5-check-items { grid-template-columns: 1fr; }
    .admin-v5-highlight-grid { grid-template-columns: 1fr 1fr; }
    .admin-v5-toolbar { grid-template-columns: 1fr 1fr; }
    .admin-v5-search { grid-column: 1 / -1; }
    .admin-v5-candidate { grid-template-columns: 1fr; gap: 10px; }
    .admin-v5-candidate-side { grid-template-columns: minmax(0,1fr) auto; padding-right: 60px; }
    .admin-v5-contact em { display: none; }
}
@media (max-width: 520px) {
    .guide-v5-hero { padding-top: 42px; }
    .guide-v5-copy h1 { font-size: 30px; }
    .guide-v5-copy > p { font-size: 13px; }
    .guide-v5-trust-row { gap: 9px 14px; }
    .guide-v5-principles { padding-top: 20px; }
    .guide-v5-principles article { padding: 16px; }
    .guide-v5-checklist { padding: 24px 20px; border-radius: 18px; }
    .admin-v5-shell { padding-top: 24px; }
    .admin-v5-topbar h1 { font-size: 28px; }
    .admin-v5-top-actions { width: 100%; }
    .admin-v5-top-actions a { flex: 1; }
    .admin-v5-highlight-grid { grid-template-columns: 1fr; }
    .admin-v5-toolbar { grid-template-columns: 1fr; }
    .admin-v5-search { grid-column: auto; }
    .admin-v5-search-submit span { display: inline; }
    .admin-v5-candidate-main { grid-template-columns: 44px minmax(0,1fr); }
    .admin-v5-avatar { width: 44px; height: 44px; }
    .admin-v5-candidate-side { padding-right: 56px; }
    .admin-v5-meta span:nth-child(n+3) { display: none; }
}

/* =========================================================
   UI HOTFIX V6 — BALANCED TITLES + RESPONSIVE SYSTEM
   Real Yekan Bakh weights, consistent hierarchy, desktop/tablet/mobile
   ========================================================= */

:root {
    --title-ink: #10243f;
    --title-muted: #5f7188;
    --title-accent: #2563eb;
    --title-accent-soft: #dbeafe;
    --page-gutter: 40px;
}

/* ---- Title system: no thin headlines, no oversized heavy typography ---- */
.hero-copy h1,
.listing-hero h1,
.profile-title-block h1,
.auth-intro h1,
.resume-builder-hero h1,
.dashboard-welcome h1,
.guide-v5-copy h1,
.admin-v5-topbar h1 {
    font-family: 'Yekan Bakh FaNum SemiExpanded', 'Yekan Bakh FaNum', system-ui, sans-serif;
    font-weight: 600 !important;
    letter-spacing: -.012em;
    text-wrap: balance;
}

.hero-copy h1,
.hero-copy h1 span {
    font-weight: 600 !important;
}

.section-head h2,
.feature-copy h2,
.cta-band h2,
.profile-section-title h2,
.resume-builder-card h2,
.dashboard-panel-head h2,
.guide-v5-section-head h2,
.guide-v5-check-copy h2,
.admin-v5-queue-head h2,
.admin-v5-rail-head h2,
.auth-card-title h2 {
    font-family: 'Yekan Bakh FaNum SemiExpanded', 'Yekan Bakh FaNum', system-ui, sans-serif;
    font-weight: 600 !important;
    color: var(--title-ink);
    letter-spacing: -.006em;
    text-wrap: balance;
}

.talent-body h3,
.process-card h3,
.guide-v5-step h3,
.guide-v5-principles h2,
.admin-v5-candidate-title h3,
.admin-v5-empty h3,
.dashboard-profile-copy h3,
.message-head h3 {
    font-family: 'Yekan Bakh FaNum', system-ui, sans-serif;
    font-weight: 600 !important;
}

/* A subtle visual anchor for section titles instead of relying on boldness alone. */
.section-head h2,
.guide-v5-section-head h2,
.profile-section-title h2,
.resume-builder-card h2,
.dashboard-panel-head h2 {
    position: relative;
    padding-bottom: 10px;
}
.section-head h2::after,
.guide-v5-section-head h2::after,
.profile-section-title h2::after,
.resume-builder-card h2::after,
.dashboard-panel-head h2::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
}

/* Titles should feel designed, not inflated. */
.hero-copy h1 { font-size: clamp(40px, 4.45vw, 58px); line-height: 1.48; }
.listing-hero h1 { font-size: clamp(30px, 3.5vw, 42px); line-height: 1.58; }
.profile-title-block h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.55; }
.auth-intro h1 { font-size: clamp(31px, 3.8vw, 44px); line-height: 1.58; }
.resume-builder-hero h1, .dashboard-welcome h1 { font-size: clamp(27px, 3vw, 36px); line-height: 1.62; }
.guide-v5-copy h1 { font-size: clamp(35px, 4.2vw, 51px); line-height: 1.55; }
.admin-v5-topbar h1 { font-size: clamp(29px, 3.3vw, 39px); line-height: 1.58; }

.section-head h2, .feature-copy h2 { font-size: clamp(26px, 2.8vw, 35px); line-height: 1.62; }
.guide-v5-section-head h2 { font-size: clamp(25px, 2.7vw, 33px); line-height: 1.65; }
.guide-v5-check-copy h2 { font-size: clamp(24px, 2.7vw, 32px); line-height: 1.68; color: #fff; }
.admin-v5-queue-head h2 { font-size: 18px; line-height: 1.6; }
.admin-v5-rail-head h2 { font-size: 13.5px; }
.resume-builder-card h2, .dashboard-panel-head h2 { font-size: 18px; line-height: 1.7; }

/* Keep body copy softer so titles are distinct without being aggressive. */
.section-head p,
.guide-v5-copy > p,
.guide-v5-section-head p,
.admin-v5-topbar p,
.admin-v5-queue-head p {
    color: var(--title-muted);
    font-weight: 400 !important;
}

/* ---- Responsive foundation ---- */
.site-shell {
    width: min(1180px, calc(100% - var(--page-gutter)));
}

/* Prevent common overflow sources across the app. */
.site-body,
.site-body main,
.site-body section,
.site-body article,
.site-body form,
.site-body .site-shell { min-width: 0; }
input, select, textarea, button { max-width: 100%; }
img, video, canvas, svg { max-width: 100%; }

/* Desktop / large desktop */
@media (min-width: 1200px) {
    :root { --page-gutter: 48px; }
    .site-shell { max-width: 1220px; }
    .hero-shell { min-height: 640px; grid-template-columns: minmax(0,1.06fr) minmax(390px,.94fr); gap: 70px; }
    .listing-layout { grid-template-columns: 300px minmax(0,1fr); gap: 26px; }
    .guide-v5-hero-grid { grid-template-columns: minmax(0,1fr) 410px; gap: 70px; }
    .admin-v5-workspace { grid-template-columns: 238px minmax(0,1fr); gap: 18px; }
    .admin-v5-candidate { grid-template-columns: minmax(0,1fr) 330px; }
}

/* Tablet landscape / small laptop */
@media (min-width: 992px) and (max-width: 1199px) {
    :root { --page-gutter: 36px; }
    .hero-shell { grid-template-columns: minmax(0,1fr) 390px; gap: 38px; }
    .hero-copy h1 { font-size: 43px; }
    .listing-layout { grid-template-columns: 270px minmax(0,1fr); gap: 20px; }
    .profile-layout { grid-template-columns: minmax(0,1fr) 275px; gap: 20px; }
    .guide-v5-hero-grid { grid-template-columns: minmax(0,1fr) 350px; gap: 38px; }
    .admin-v5-workspace { grid-template-columns: 215px minmax(0,1fr); gap: 14px; }
    .admin-v5-candidate { grid-template-columns: minmax(0,1fr) 250px; }
    .admin-v5-candidate-side { grid-template-columns: minmax(100px,1fr) 74px; }
    .admin-v5-time { display: none; }
}

/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991px) {
    :root { --page-gutter: 32px; }
    .site-nav-row { min-height: 70px; }
    .hero-shell { grid-template-columns: 1fr; gap: 42px; padding-top: 58px; padding-bottom: 64px; }
    .hero-copy { max-width: 760px; margin-inline: auto; text-align: center; }
    .hero-copy h1 { max-width: 720px; margin-inline: auto; font-size: 42px; }
    .hero-copy > p, .hero-search { margin-inline: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-card-stack { width: min(470px,100%); }

    .listing-layout { grid-template-columns: 1fr; }
    .listing-toolbar-mobile { display: grid; grid-template-columns: minmax(0,1fr) auto; }
    .filter-panel { position: fixed; z-index: 130; top: 0; right: 0; bottom: 0; width: min(390px, 88vw); max-height: 100dvh; overflow-y: auto; border-radius: 0; transform: translateX(110%); transition: transform .26s ease; }
    .filter-panel.is-open { transform: translateX(0); }
    .filter-backdrop.is-open { display:block; }
    .desktop-search-section { display:none; }

    .profile-layout { grid-template-columns: 1fr; }
    .profile-sidebar { position: static; grid-template-columns: 1fr 1fr; }

    .guide-v5-hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .guide-v5-copy { max-width: 760px; }
    .guide-v5-copy h1 { font-size: 40px; }
    .guide-v5-preview { width: min(100%, 430px); }
    .guide-v5-principles { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
    .guide-v5-step-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }

    .admin-v5-topbar { align-items: flex-start; }
    .admin-v5-workspace { grid-template-columns: 1fr; }
    .admin-v5-rail { position: static; }
    .admin-v5-status-nav { display: grid; grid-template-columns: repeat(5,minmax(148px,1fr)); overflow-x:auto; overscroll-behavior-inline: contain; }
    .admin-v5-rail-note { display:none; }
    .admin-v5-candidate { grid-template-columns: minmax(0,1fr) 220px; }
    .admin-v5-candidate-side { grid-template-columns: minmax(0,1fr) auto; }
    .admin-v5-time { display:none; }

    .footer-main { gap: 42px; }
}

/* Mobile */
@media (max-width: 767px) {
    :root { --page-gutter: 28px; }
    html { scrollbar-gutter: auto; }
    .site-shell { width: calc(100% - var(--page-gutter)); }
    .site-nav-row { min-height: 66px; gap: 10px; }
    .brand-copy strong { font-size: 14px; }
    .nav-actions { gap: 6px; }

    .hero-shell { grid-template-columns: 1fr; min-height: auto; gap: 24px; padding-top: 44px; padding-bottom: 52px; }
    .hero-copy { text-align:center; }
    .hero-copy h1 { max-width: 610px; margin: 14px auto 14px; font-size: clamp(31px, 9vw, 38px); line-height: 1.58; }
    .hero-copy > p { margin-inline:auto; font-size: 13.5px; line-height: 2; }
    .hero-search { grid-template-columns: auto minmax(0,1fr); width: 100%; margin-top: 22px; }
    .hero-search button { grid-column: 1 / -1; width: 100%; }
    .hero-actions { display:grid; grid-template-columns: 1fr; width:100%; }
    .hero-actions .button { width:100%; }
    .hero-visual { display:none; }

    .section-block { padding-block: 54px; }
    .section-head { align-items:flex-start; flex-direction:column; gap: 10px; margin-bottom: 22px; }
    .section-head h2, .feature-copy h2 { font-size: 25px; }
    .section-head h2::after { width: 30px; height: 3px; }
    .section-head p { font-size: 12.5px; }
    .talent-grid, .listing-talent-grid, .home-talent-grid, .process-grid { grid-template-columns: 1fr; }

    .listing-hero-inner { min-height: 220px; align-items:flex-start; flex-direction:column; justify-content:center; gap:16px; }
    .listing-hero h1 { font-size: 31px; }
    .listing-layout { display:block; }
    .listing-toolbar-mobile { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
    .filter-panel { width:min(360px,92vw); max-height:100dvh; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
    .results-head { align-items:flex-start; gap:10px; }

    .profile-hero-content { grid-template-columns:1fr; text-align:center; }
    .profile-name-row { display:block; }
    .profile-title-block h1 { font-size: 28px; }
    .profile-meta-row { justify-content:center; }
    .profile-hero-actions { grid-column:auto; flex-direction:column; width:100%; }
    .profile-sidebar { grid-template-columns:1fr; }
    .profile-section-card { padding:18px; }

    .auth-shell { grid-template-columns:1fr; padding-top:34px; padding-bottom:48px; }
    .auth-intro { text-align:center; }
    .auth-intro h1 { font-size: 32px; }
    .auth-card { padding:20px 17px; }

    .dashboard-welcome { align-items:flex-start; flex-direction:column; gap:14px; }
    .dashboard-welcome h1 { font-size: 28px; }
    .dashboard-welcome-actions, .dashboard-welcome-actions .button { width:100%; }
    .dashboard-stats { grid-template-columns:1fr; }
    .dashboard-grid { grid-template-columns:1fr; }

    .resume-builder-hero { grid-template-columns:1fr; }
    .resume-builder-hero h1 { font-size:28px; }
    .resume-builder-steps { overflow-x:auto; grid-template-columns:repeat(5,minmax(118px,1fr)); scrollbar-width:none; }
    .resume-builder-card { padding:17px; }
    .resume-builder-actions { align-items:stretch; flex-direction:column; }
    .resume-builder-action-buttons { display:grid; grid-template-columns:1fr; width:100%; }
    .resume-builder-action-buttons .button { width:100%; }

    .guide-v5-hero { padding: 42px 0 36px; }
    .guide-v5-hero-grid { grid-template-columns:1fr; gap:28px; }
    .guide-v5-copy h1 { font-size: 32px; line-height:1.62; }
    .guide-v5-copy > p { font-size:13px; }
    .guide-v5-actions { align-items:stretch; flex-direction:column; gap:10px; }
    .guide-v5-actions .button { width:100%; }
    .guide-v5-preview { width:100%; }
    .guide-v5-paper { min-height:330px; padding:20px; }
    .guide-v5-principles { grid-template-columns:1fr; }
    .guide-v5-section-head { align-items:flex-start; flex-direction:column; gap:12px; }
    .guide-v5-section-head h2 { font-size:25px; }
    .guide-v5-jump { width:100%; overflow-x:auto; padding-bottom:4px; justify-content:flex-start; }
    .guide-v5-step-grid { grid-template-columns:1fr; }
    .guide-v5-step { min-height:auto; padding:19px; }
    .guide-v5-step h3 { font-size:17px; }
    .guide-v5-checklist { grid-template-columns:1fr; padding:24px 20px; border-radius:18px; }
    .guide-v5-check-items { grid-template-columns:1fr; }

    .admin-v5-shell { padding-top:24px; padding-bottom:56px; }
    .admin-v5-topbar { align-items:flex-start; flex-direction:column; gap:15px; }
    .admin-v5-topbar h1 { font-size:29px; }
    .admin-v5-top-actions { width:100%; }
    .admin-v5-top-actions a { flex:1; min-width:0; }
    .admin-v5-highlight-grid { grid-template-columns:1fr 1fr; }
    .admin-v5-workspace { grid-template-columns:1fr; }
    .admin-v5-rail { position:static; overflow:hidden; }
    .admin-v5-rail-head { padding:13px 14px; }
    .admin-v5-status-nav { display:grid; grid-template-columns:repeat(5,minmax(136px,1fr)); overflow-x:auto; padding:8px; scroll-snap-type:x proximity; }
    .admin-v5-status-item { scroll-snap-align:start; }
    .admin-v5-rail-note { display:none; }
    .admin-v5-queue-head { min-height:auto; padding:15px; }
    .admin-v5-toolbar { grid-template-columns:1fr; padding:10px; }
    .admin-v5-search { grid-column:auto; }
    .admin-v5-candidate { grid-template-columns:1fr; gap:11px; padding:14px; }
    .admin-v5-candidate-main { grid-template-columns:46px minmax(0,1fr); }
    .admin-v5-avatar { width:46px; height:46px; }
    .admin-v5-candidate-side { grid-template-columns:minmax(0,1fr) auto; padding-right:58px; }
    .admin-v5-time { display:none; }
    .admin-v5-review-button { min-height:38px; padding-inline:13px; }

    .footer-main { grid-template-columns:1fr; gap:30px; padding:38px 0 28px; }
    .footer-links { grid-template-columns:1fr 1fr; gap:25px 20px; }
    .footer-bottom { align-items:flex-start; flex-direction:column; gap:6px; }
}

/* Small mobile */
@media (max-width: 480px) {
    :root { --page-gutter: 24px; }
    .brand-copy small { display:none; }
    .brand-mark { width:38px; height:38px; }
    .nav-primary { padding-inline:11px; font-size:11px; }

    .hero-copy h1 { font-size: 30px; }
    .hero-copy > p { font-size: 13px; }
    .hero-trust { gap:8px; }
    .hero-trust > div { flex:1 1 140px; }

    .section-head h2, .feature-copy h2 { font-size:23px; }
    .cta-band h2 { font-size:26px; }
    .listing-hero h1 { font-size:28px; }

    .profile-title-block h1 { font-size:26px; }
    .profile-section-card { padding:16px; border-radius:15px; }

    .guide-v5-copy h1 { font-size:29px; }
    .guide-v5-paper { padding:17px; }
    .guide-v5-preview-badge { left:7px; bottom:10px; }
    .guide-v5-principles article { padding:16px; }
    .guide-v5-section-head h2 { font-size:23px; }
    .guide-v5-check-copy h2 { font-size:23px; }

    .admin-v5-topbar h1 { font-size:27px; }
    .admin-v5-highlight-grid { grid-template-columns:1fr; }
    .admin-v5-candidate-side { padding-right:0; grid-template-columns:1fr; }
    .admin-v5-contact { padding-right:58px; }
    .admin-v5-review-button { width:100%; }
    .admin-v5-meta span:nth-child(n+3) { display:none; }

    .footer-links { grid-template-columns:1fr; }
}

/* Touch devices: reliable hit area without visually oversized controls. */
@media (hover: none) and (pointer: coarse) {
    .button,
    .nav-primary,
    .mobile-menu-btn,
    .filter-open-btn,
    .admin-v5-search-submit,
    .admin-v5-review-button,
    .guide-v5-jump a {
        min-height: 44px;
    }
    input, select, textarea { font-size: 16px; }
}
