@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --pf-green: #168653;
  --pf-green-dark: #123f31;
  --pf-green-deep: #0b2e24;
  --pf-green-light: #e7f5ee;
  --pf-green-bright: #38c982;
  --pf-red: #d71f3c;
  --pf-amber: #d97706;
  --pf-blue: #2563a9;
  --pf-purple: #7152a5;
  --pf-bg: #f4f7f5;
  --pf-card: #fff;
  --pf-border: #dce6e1;
  --pf-text: #17231e;
  --pf-muted: #66756e;
  --pf-radius: 13px;
  --pf-shadow: 0 2px 8px rgba(18, 63, 49, .07);
  --pf-shadow-hover: 0 10px 28px rgba(18, 63, 49, .13);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: var(--pf-bg); color: var(--pf-text); font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--pf-green); font-weight: 600; }
a:hover { color: var(--pf-green-dark); }
.text-muted { color: var(--pf-muted) !important; }

/* Shared components */
.pf-card { position: relative; overflow: hidden; margin-bottom: 1rem; padding: 1.25rem 1.4rem; border: 1px solid var(--pf-border); border-radius: var(--pf-radius); background: var(--pf-card); box-shadow: var(--pf-shadow); transition: .18s ease; }
.pf-card:hover { box-shadow: var(--pf-shadow-hover); }
.policy-body-preview { max-height: 5.5em; overflow: hidden; color: var(--pf-muted, #6b7a76); font-size: .88rem; line-height: 1.4; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.policy-body-preview p { margin: 0 0 .4em; }
.pf-card h3, .pf-card h5 { color: var(--pf-green-dark); font-weight: 700; }
.metric-card { height: calc(100% - 1rem); }
.metric-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--pf-green); }
.metric-label { color: var(--pf-muted); font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.metric-value { margin-top: .25rem; color: var(--pf-green-dark); font-family: 'DM Mono', monospace; font-size: 1.8rem; font-weight: 500; }
.btn { border-radius: 9px; padding: .58rem .95rem; font-size: .82rem; font-weight: 700; transition: .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-pf { color: #fff !important; border-color: var(--pf-green); background: linear-gradient(135deg, var(--pf-green), #0e7044); box-shadow: 0 5px 14px rgba(22, 134, 83, .22); }
.btn-pf:hover, .btn-pf:focus { color: #fff; border-color: var(--pf-green-dark); background: var(--pf-green-dark); }
.btn-outline-pf { color: var(--pf-green-dark); border: 1px solid #9bb4a8; background: #fff; }
.btn-outline-pf:hover { color: #fff; background: var(--pf-green-dark); }
.pf-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: .69rem; font-weight: 700; white-space: nowrap; }
.pf-badge.ok { color: #10643f; background: var(--pf-green-light); }
.pf-badge.amber { color: #8a4b08; background: #fff1da; }
.pf-badge.danger { color: #a71029; background: #fde8ed; }
.pf-badge.blue { color: #174f87; background: #e7f1fb; }
.pf-badge.purple { color: #54377f; background: #f0eafa; }
.pf-badge.neutral { color: #4f6259; background: #edf2ef; }
.pf-table-wrap { overflow-x: auto; }
.pf-table { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; }
.pf-table th { padding: .78rem .72rem; color: var(--pf-muted); background: #f6faf8; border-bottom: 2px solid var(--pf-border); font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.pf-table td { padding: .78rem .72rem; border-bottom: 1px solid #edf2ef; color: #34443d; font-size: .83rem; vertical-align: middle; }
.pf-table tr:last-child td { border-bottom: 0; }
.pf-table tbody tr:hover td { background: #f9fcfa; }
.empty-state { padding: 2.6rem 1rem; color: var(--pf-muted); text-align: center; }
.empty-state i { display: block; margin-bottom: .8rem; color: #a8b9b1; font-size: 2rem; }

/* Forms */
form p { margin-bottom: 1rem; }
form label, .form-label { display: block; margin-bottom: .42rem; color: #3f5048; font-size: .79rem; font-weight: 700; }
.form-control, form input:not([type='checkbox']):not([type='radio']):not([type='hidden']), form select, form textarea { display: block; width: 100%; min-height: 44px; padding: .62rem .8rem; color: var(--pf-text); background: #fff; border: 1.5px solid #cedbd5; border-radius: 9px; outline: none; font-family: inherit; font-size: .88rem; transition: .15s ease; }
form textarea { min-height: 96px; resize: vertical; }
.form-control:focus, form input:focus, form select:focus, form textarea:focus { border-color: var(--pf-green); box-shadow: 0 0 0 3px rgba(22, 134, 83, .13); }
form input[type='checkbox'], form input[type='radio'] { accent-color: var(--pf-green); }
.form-check-input { width: 1.05rem; height: 1.05rem; }
.helptext, .form-text { display: block; margin-top: .35rem; color: var(--pf-muted); font-size: .73rem; line-height: 1.45; }
.errorlist { margin: .35rem 0 0; padding: 0; color: var(--pf-red); font-size: .76rem; font-weight: 600; list-style: none; }
.field-error { margin-top: .35rem; color: var(--pf-red); font-size: .76rem; font-weight: 600; }
.form-section { margin-bottom: 1.4rem; padding-bottom: .45rem; border-bottom: 1px solid var(--pf-border); }
.form-section h3 { margin-bottom: .3rem; font-size: 1rem; }
.form-section p { color: var(--pf-muted); font-size: .78rem; }
.word-count { margin-top: .35rem; color: var(--pf-muted); font-family: 'DM Mono', monospace; font-size: .68rem; text-align: right; }
.word-count.over { color: var(--pf-red); }
.alert { display: flex; align-items: flex-start; gap: .65rem; border: 1px solid transparent; border-radius: 10px; font-size: .84rem; }
.alert-success { color: #0c5d39; background: #e6f7ee; border-color: #bfe8d1; }
.alert-danger, .alert-error { color: #951429; background: #fdebef; border-color: #f5c6cf; }
.alert-info { color: #174f87; background: #edf6ff; border-color: #cfe4f7; }

/* HR workspace */
.pf-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 50; width: 270px; display: flex; flex-direction: column; overflow: hidden auto; background: linear-gradient(180deg, var(--pf-green-deep), var(--pf-green-dark)); border-right: 1px solid rgba(56, 201, 130, .18); box-shadow: 10px 0 32px rgba(11, 46, 36, .1); }
.sidebar-brand { display: flex; align-items: center; gap: 13px; min-height: 92px; padding: 17px 19px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.sidebar-brand:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .025); }
.sidebar-logo { width: 54px; height: 54px; flex: 0 0 54px; object-fit: cover; border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .22); }
.sidebar-brand strong { display: block; font-size: 1.02rem; }
.sidebar-brand small { display: block; margin-top: 3px; color: #a8c9ba; font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-nav { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 20px 13px; }
.nav-group { display: flex; flex-direction: column; gap: 5px; }
.nav-group-label { padding: 0 11px 4px; color: #759d8b; font-size: .61rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pf-sidebar .nav-link { position: relative; display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 8px 11px; border-radius: 10px; color: #c8ddd4; font-size: .86rem; font-weight: 500; text-decoration: none; transition: .16s ease; }
.pf-sidebar .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .075); transform: translateX(2px); }
.pf-sidebar .nav-link.active { color: #fff; background: rgba(56, 201, 130, .18); font-weight: 700; }
.pf-sidebar .nav-link.active::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px; border-radius: 3px; background: var(--pf-green-bright); }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; flex: 0 0 29px; border-radius: 8px; color: #63daa0; background: rgba(56, 201, 130, .12); }
.sidebar-footer { display: grid; gap: 9px; padding: 14px 13px 18px; border-top: 1px solid rgba(255, 255, 255, .09); }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 4px 8px; color: #e8f2ed; font-size: .78rem; }
.sidebar-avatar { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; color: #fff; background: var(--pf-green); font-weight: 700; }
.sidebar-user strong, .sidebar-user small { display: block; }
.sidebar-user small { color: #82aa98; font-size: .66rem; }
.sidebar-logout { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: #c8ddd4; font-size: .82rem; text-decoration: none; }
.sidebar-logout:hover { color: #ffc3ce; background: rgba(215, 31, 60, .13); text-decoration: none; }
.pf-main { min-height: 100vh; margin-left: 270px; }
.pf-page { width: 100%; max-width: 1320px; margin: 0 auto; padding: 30px 32px 64px; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; padding: 1.25rem 1.55rem; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--pf-green-deep), var(--pf-green-dark)); box-shadow: 0 8px 24px rgba(11, 46, 36, .18); }
.page-header h1 { margin: 0; font-size: 1.42rem; font-weight: 700; letter-spacing: -.02em; }
.page-header p { margin: .25rem 0 0; color: #acd0c0; font-size: .78rem; }
.sidebar-toggle { display: none; position: fixed; top: 14px; left: 14px; z-index: 80; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid rgba(56, 201, 130, .3); border-radius: 10px; color: #fff; background: var(--pf-green-dark); }
.sidebar-backdrop { display: none; position: fixed; inset: 0; z-index: 45; background: rgba(4, 20, 15, .56); backdrop-filter: blur(2px); }
.sidebar-backdrop.show { display: block; }

/* Public careers */
.public-shell { min-height: 100vh; background: linear-gradient(180deg, #f4f7f5 0, #fff 48%, #f4f7f5 100%); }
.careers-header { position: relative; z-index: 30; background: #fff; border-bottom: 1px solid var(--pf-border); }
.careers-brand-row { display: flex; align-items: center; justify-content: space-between; width: min(1200px, calc(100% - 40px)); min-height: 96px; margin: 0 auto; }
.careers-brand-row .public-brand strong { font-size: 1.15rem; letter-spacing: .04em; }
.candidate-actions { display: flex; align-items: center; gap: 18px; font-size: .79rem; }
.candidate-actions form { margin: 0; }
.candidate-greeting { color: var(--pf-muted); }
.link-button { padding: 0; color: var(--pf-green-dark); border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; }
.careers-nav { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1200px, calc(100% - 40px)); margin: 0 auto; border-top: 1px solid #edf1ef; }
.careers-nav a { padding: 19px 12px; color: #4b5a53; text-align: center; text-decoration: none; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.careers-nav a:hover { color: var(--pf-green); background: #f8fbf9; }
.photo-hero { position: relative; width: 100%; aspect-ratio: 12.48 / 1; overflow: hidden; background: #153e31; }
.photo-hero-image { position: absolute; top: -291%; left: 0; width: 100%; height: auto; }
.photo-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 62%); }
.photo-hero-copy { position: relative; z-index: 2; display: flex; width: min(1200px, calc(100% - 40px)); height: 100%; justify-content: center; flex-direction: column; margin: 0 auto; color: #fff; }
.photo-hero-copy span { color: #86e7b6; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.photo-hero-copy h1 { max-width: 590px; margin: .65rem 0 1.25rem; font-size: clamp(2.15rem, 4.8vw, 4.8rem); font-weight: 700; line-height: .98; letter-spacing: -.05em; }
.photo-hero-copy a { width: fit-content; padding: .75rem 1.15rem; color: #0b2e24; border-radius: 4px; background: #fff; text-decoration: none; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; }
.hero-badge { position: absolute; z-index: 3; top: 14px; right: max(20px, calc((100% - 1200px) / 2 + 20px)); height: clamp(40px, 8vw, 78px); width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.official-notice { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 20px; color: #fff; background: #0b1712; font-size: .76rem; text-align: center; }
.official-notice i { color: #6ce0a5; }
.profile-completion { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px max(24px, calc((100% - 1120px) / 2)); color: #0b2e24; background: #b6f000; text-decoration: none; }
.profile-completion:hover { color: #0b2e24; background: #a9df05; }
.profile-completion strong, .profile-completion small { display: block; }
.profile-completion small { margin-top: 2px; font-weight: 500; opacity: .75; }
.careers-content { padding-top: 54px; }
.browse-heading { margin-bottom: 24px; }
.browse-heading .eyebrow, .profile-heading .eyebrow, .auth-card .eyebrow { color: var(--pf-green); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.browse-heading h2 { margin: .35rem 0; color: var(--pf-green-dark); font-size: 2rem; }
.browse-heading p { color: var(--pf-muted); }
.category-browser { margin: 8px 0 34px; }
.category-browser h3 { margin-bottom: 12px; color: var(--pf-green-dark); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.category-browser > div { overflow: hidden; border: 1px solid var(--pf-border); border-radius: 10px; background: #fff; }
.category-browser a { display: grid; grid-template-columns: 1fr auto 18px; align-items: center; gap: 12px; padding: 15px 18px; color: var(--pf-text); border-bottom: 1px solid #edf2ef; text-decoration: none; font-size: .82rem; }
.category-browser a:last-child { border-bottom: 0; }
.category-browser a:hover { color: var(--pf-green); background: #f8fbf9; }
.category-browser a strong { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--pf-green-light); font-size: .68rem; }
.category-browser a i { font-size: .65rem; }
.careers-footer { padding: 48px max(24px, calc((100% - 1120px) / 2)) 24px; color: #c3d7cd; background: linear-gradient(135deg, #071f18, #0f4533); font-size: .78rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 42px; }
.footer-grid section { display: flex; align-items: flex-start; flex-direction: column; gap: .65rem; }
.footer-grid h2 { margin: 0 0 .35rem; color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid a { color: #c3d7cd; text-decoration: none; }
.footer-grid a:hover { color: #7ce2ad; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { display: grid; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; place-items: center; }
.footer-company { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: #8eafa0; font-size: .68rem; }
.candidate-task-block { padding: 1rem 0; border-bottom: 1px solid var(--pf-border); }
.candidate-task-block:last-child { border-bottom: 0; }
.employee-message { margin: .8rem 0; padding: .9rem 1rem; border-left: 3px solid var(--pf-green); border-radius: 0 8px 8px 0; background: #f1f8f4; }
.employee-message p { margin: .35rem 0; }
.employee-message small { color: var(--pf-muted); }
.auth-page { display: grid; min-height: 660px; place-items: center; padding: 55px 20px; background: linear-gradient(135deg, #edf6f1, #fff); }
.auth-card { width: min(470px, 100%); padding: 34px; border: 1px solid var(--pf-border); border-radius: 16px; background: #fff; box-shadow: 0 20px 60px rgba(11, 46, 36, .12); }
.auth-card h1 { margin: .45rem 0; color: var(--pf-green-dark); font-size: 1.8rem; }
.auth-card > p { margin-bottom: 1.35rem; color: var(--pf-muted); font-size: .84rem; }
.social-button { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; color: #29352f; border: 1.5px solid #cbd7d1; border-radius: 9px; text-decoration: none; }
.social-button:hover { color: #29352f; border-color: #8eaa9c; background: #f8fbf9; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #839087; font-size: .7rem; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--pf-border); }
.auth-foot { margin: 22px 0 0 !important; text-align: center; }
.profile-page, .dashboard-page { padding-top: 46px; }
.profile-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.profile-heading h1 { margin: .35rem 0; color: var(--pf-green-dark); font-size: 2rem; }
.profile-heading p { margin: 0; color: var(--pf-muted); }
.saved-cv { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid #cce1d6; border-radius: 10px; background: #f0f8f4; }
.saved-cv > i { display: grid; width: 42px; height: 42px; place-items: center; color: var(--pf-green); border-radius: 9px; background: #d9f0e4; }
.saved-cv strong, .saved-cv small { display: block; }
.saved-cv small { margin-top: 2px; color: var(--pf-muted); font-size: .7rem; }
.ee-section { padding: 18px; border: 1px solid #dbe7e1; border-radius: 11px; background: #f9fbfa; }
.ee-section h3 span { color: var(--pf-muted); font-size: .65rem; font-weight: 600; text-transform: uppercase; }
.dashboard-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.dashboard-summary > div { padding: 16px; border: 1px solid var(--pf-border); border-radius: 11px; background: #fff; }
.dashboard-summary strong, .dashboard-summary span { display: block; }
.dashboard-summary strong { color: var(--pf-green-dark); font-size: 1.25rem; }
.dashboard-summary span { margin-top: 3px; color: var(--pf-muted); font-size: .7rem; text-transform: uppercase; }
.application-card { margin-bottom: 14px; padding: 20px; border: 1px solid var(--pf-border); border-radius: 13px; background: #fff; box-shadow: var(--pf-shadow); }
.application-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.application-card-head h2 { margin: .25rem 0; color: var(--pf-green-dark); font-size: 1.15rem; }
.application-card-head p { margin: 0; color: var(--pf-muted); font-size: .78rem; }
.application-reference { color: var(--pf-green); font-family: 'DM Mono', monospace; font-size: .67rem; }
.application-facts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 15px; padding-top: 13px; color: var(--pf-muted); border-top: 1px solid #edf2ef; font-size: .72rem; }
.application-actions { margin-top: 14px; text-align: right; }
.withdraw-link { padding: 0; color: #a71029; border: 0; background: none; font-size: .72rem; font-weight: 700; }
.application-profile-note { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 14px 16px; border-radius: 11px; color: #fff; background: var(--pf-green-dark); }
.application-profile-note > i { color: #72dfa9; font-size: 1.2rem; }
.application-profile-note span { flex: 1; }
.application-profile-note strong, .application-profile-note small { display: block; }
.application-profile-note small { color: #bcd7ca; }
.application-profile-note a { color: #fff; }
.public-nav { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(220, 230, 225, .9); background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); }
.public-nav-inner { display: flex; align-items: center; justify-content: space-between; width: min(1160px, calc(100% - 32px)); min-height: 74px; margin: 0 auto; }
.public-brand { display: flex; align-items: center; gap: 11px; color: var(--pf-green-dark); text-decoration: none; }
.public-brand:hover { color: var(--pf-green-dark); text-decoration: none; }
.public-brand img { width: 45px; height: 45px; object-fit: cover; border-radius: 50%; }
.public-brand strong { display: block; line-height: 1.1; }
.public-brand small { display: block; margin-top: 3px; color: var(--pf-muted); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.public-container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 72px; }
.career-hero { position: relative; overflow: hidden; margin-bottom: 26px; padding: 48px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(56, 201, 130, .2), transparent 32%), linear-gradient(135deg, #071f18, var(--pf-green-dark)); box-shadow: 0 18px 44px rgba(11, 46, 36, .18); }
.career-hero::after { content: ''; position: absolute; right: -60px; bottom: -90px; width: 290px; height: 290px; border: 1px solid rgba(56, 201, 130, .17); border-radius: 50%; }
.career-hero .eyebrow { color: #7ce6b2; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.career-hero h1 { max-width: 680px; margin: .65rem 0 .8rem; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 700; letter-spacing: -.04em; }
.career-hero p { max-width: 680px; margin: 0; color: #c7ddd3; font-size: 1rem; line-height: 1.65; }
.job-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.job-card { display: flex; min-height: 245px; flex-direction: column; padding: 1.45rem; color: var(--pf-text); border: 1px solid var(--pf-border); border-radius: 15px; background: #fff; box-shadow: var(--pf-shadow); text-decoration: none; transition: .18s ease; }
.job-card:hover { color: var(--pf-text); border-color: #b4d6c5; box-shadow: var(--pf-shadow-hover); transform: translateY(-3px); text-decoration: none; }
.job-card h2 { margin: .75rem 0 .45rem; color: var(--pf-green-dark); font-size: 1.18rem; font-weight: 700; }
.job-card p { color: var(--pf-muted); font-size: .83rem; line-height: 1.55; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: #5f7068; font-size: .73rem; }
.job-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid #edf2ef; }
.job-card-footer strong { font-size: .78rem; }
.search-panel { display: grid; grid-template-columns: 1fr 230px 28px; align-items: center; gap: 10px; margin-bottom: 22px; padding: 13px; border: 1px solid var(--pf-border); border-radius: 13px; background: #fff; box-shadow: var(--pf-shadow); }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 22px; }
.job-content h2 { margin: 1.6rem 0 .75rem; color: var(--pf-green-dark); font-size: 1.05rem; }
.job-content p, .job-content li { color: #4c5e55; font-size: .88rem; line-height: 1.72; }
.sticky-apply { position: sticky; top: 96px; }
.requirement-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.requirement-item { display: flex; align-items: flex-start; gap: 10px; padding: .75rem .8rem; border-radius: 9px; background: #f7faf8; }
.requirement-item i { margin-top: 3px; color: var(--pf-green); }
.application-wrap { width: min(850px, calc(100% - 32px)); margin: 0 auto; padding: 38px 0 72px; }
.application-heading { margin-bottom: 20px; }
.application-heading h1 { color: var(--pf-green-dark); font-size: 1.7rem; font-weight: 700; }
.cv-parser-status { display: none; margin-top: .65rem; padding: .7rem .8rem; border-radius: 8px; color: #36564a; background: var(--pf-green-light); font-size: .75rem; }
.cv-parser-status.error { color: #951429; background: #fdebef; }
.cv-upload { position: relative; }
form .cv-file-input { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0 !important; }
.cv-dropzone { display: flex; min-height: 220px; align-items: center; justify-content: center; flex-direction: column; gap: .65rem; padding: 1.5rem; border: 2px dashed #6cae8d; border-radius: 15px; color: var(--pf-text); background: linear-gradient(180deg, #fbfefc, #f7fbf9); cursor: pointer; transition: .16s ease; }
.cv-dropzone:hover, .cv-dropzone.dragging, .cv-file-input:focus + .cv-dropzone { border-color: var(--pf-green); background: var(--pf-green-light); box-shadow: 0 0 0 4px rgba(22, 134, 83, .1); outline: none; }
.cv-upload-plus { display: grid; width: 48px; height: 48px; place-items: center; color: var(--pf-green); border: 2px solid var(--pf-green); border-radius: 50%; font-size: 1.05rem; }
.cv-upload-prompt { color: #58685f; font-size: 1rem; }
.cv-upload-prompt strong { color: var(--pf-green); }
.cv-upload-limit { display: inline-flex; align-items: center; gap: .45rem; color: var(--pf-red); font-size: .76rem; font-weight: 600; }
.cv-upload-types { color: var(--pf-muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.cv-selected { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; align-items: center; gap: .8rem; padding: .9rem 1rem; border: 1px solid #cfe2d8; border-radius: 12px; background: #eef8f3; }
.cv-file-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; color: var(--pf-green); background: #d9f0e4; font-size: 1.25rem; }
.cv-file-icon.pdf { color: #bd1932; background: #fde8ed; }
.cv-file-icon.docx { color: #1c5faa; background: #e7f1fb; }
.cv-file-details { min-width: 0; }
.cv-file-details strong, .cv-file-details small { display: block; }
.cv-file-details strong { overflow: hidden; color: var(--pf-green-dark); font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.cv-file-details small { margin-top: .2rem; color: var(--pf-muted); font-size: .68rem; }
.cv-file-action { display: inline-flex; min-width: 72px; min-height: 42px; align-items: center; justify-content: center; gap: .35rem; margin: 0; padding: .55rem .7rem; border: 1px solid; border-radius: 9px; background: #fff; cursor: pointer; font-size: .68rem; font-weight: 700; }
.cv-file-action.change { color: var(--pf-green); border-color: #8ebda6; }
.cv-file-action.remove { color: var(--pf-red); border-color: #e7a8b3; }
.cv-file-action:hover { transform: translateY(-1px); box-shadow: var(--pf-shadow); }
.cv-dropzone[hidden], .cv-selected[hidden] { display: none; }
.success-card { max-width: 620px; margin: 8vh auto 0; padding: 2.4rem; text-align: center; }
.success-icon { display: grid; width: 68px; height: 68px; margin: 0 auto 1rem; place-items: center; border-radius: 50%; color: #fff; background: var(--pf-green); font-size: 1.6rem; }

/* Timeline and onboarding */
.timeline { position: relative; display: grid; gap: 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; padding-bottom: 1rem; }
.timeline-item:not(:last-child)::before { content: ''; position: absolute; top: 28px; bottom: 0; left: 13px; width: 2px; background: var(--pf-border); }
.timeline-dot { position: relative; z-index: 1; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--pf-green-dark); background: var(--pf-green-light); font-size: .67rem; }
.timeline-body { padding: .2rem 0 .65rem; }
.timeline-body strong { display: block; font-size: .83rem; }
.timeline-body small { color: var(--pf-muted); font-size: .72rem; }
.stage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.stage-card { padding: 1rem; border: 1px solid var(--pf-border); border-radius: 11px; background: #fff; }
.stage-card .sequence { color: var(--pf-green); font-family: 'DM Mono', monospace; font-size: .7rem; }
.stage-card h3 { margin: .45rem 0 .25rem; font-size: .9rem; }
.stage-card p { margin: 0; color: var(--pf-muted); font-size: .72rem; }

/* Live filters */
.live-filter { display: grid; grid-template-columns: minmax(240px, 1fr) 220px 28px; align-items: center; gap: 10px; margin-bottom: 1rem; }
.live-filter-single { grid-template-columns: minmax(240px, 1fr) 28px; }
.search-input { position: relative; }
.search-input > i { position: absolute; top: 50%; left: 14px; z-index: 2; color: #819087; transform: translateY(-50%); }
.search-input input, .search-input .form-control { padding-left: 40px !important; }
.live-spinner { display: inline-grid; width: 28px; height: 28px; place-items: center; color: var(--pf-green); }
.htmx-indicator { opacity: 0; transition: opacity .15s ease; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }

/* Onboarding workflow */
.case-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.case-facts div, .task-metadata div { display: grid; gap: .25rem; }
.case-facts span, .task-metadata span { color: var(--pf-muted); font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.case-facts strong, .task-metadata strong { color: var(--pf-green-dark); font-size: .84rem; }
.workflow-overview { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; }
.progress-card { display: grid; grid-template-columns: minmax(180px, .45fr) 1fr; align-items: center; gap: 1.25rem; }
.progress-card .eyebrow { display: block; color: var(--pf-green); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.progress-card strong { display: block; margin-top: .2rem; color: var(--pf-green-dark); }
.progress { height: 18px; border-radius: 20px; background: #e7eee9; }
.progress-bar { border-radius: 20px; background: linear-gradient(90deg, var(--pf-green), var(--pf-green-bright)); font-size: .62rem; font-weight: 700; }
.review-card { display: flex; align-items: center; gap: 1rem; }
.review-card strong, .review-card span { display: block; }
.review-card span { color: var(--pf-muted); font-size: .72rem; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-heading h2, .audit-panel h2 { margin: 0; color: var(--pf-green-dark); font-size: 1rem; font-weight: 700; }
.section-heading p { margin: .25rem 0 0; color: var(--pf-muted); font-size: .76rem; }
.workflow-groups { display: grid; gap: .7rem; }
.workflow-group { overflow: hidden; border: 1px solid var(--pf-border); border-radius: 11px; background: #fff; }
.workflow-group > summary { display: grid; grid-template-columns: 38px minmax(170px, .5fr) minmax(100px, 1fr) 18px; align-items: center; gap: .85rem; padding: .85rem 1rem; cursor: pointer; list-style: none; background: #f8fbf9; }
.workflow-group > summary::-webkit-details-marker { display: none; }
.group-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 9px; color: var(--pf-green); background: var(--pf-green-light); }
.group-title strong, .group-title small { display: block; }
.group-title strong { color: var(--pf-green-dark); font-size: .84rem; }
.group-title small { margin-top: .15rem; color: var(--pf-muted); font-size: .68rem; }
.group-progress { height: 6px; overflow: hidden; border-radius: 8px; background: #e4ece7; }
.group-progress span { display: block; height: 100%; border-radius: 8px; background: var(--pf-green); }
.group-chevron { color: #84948c; font-size: .7rem; transition: transform .15s ease; }
.workflow-group[open] .group-chevron { transform: rotate(180deg); }
.task-list { border-top: 1px solid var(--pf-border); }
.task-row { display: grid; grid-template-columns: 32px minmax(220px, 1fr) 120px auto 12px; align-items: center; gap: .8rem; padding: .78rem 1rem; color: inherit; border-bottom: 1px solid #edf2ef; text-decoration: none; }
.task-row:last-child { border-bottom: 0; }
.task-row:hover { color: inherit; background: #f9fcfa; text-decoration: none; }
.task-status-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #718077; background: #edf2ef; font-size: .65rem; }
.task-status-icon.completed { color: #10643f; background: var(--pf-green-light); }
.task-status-icon.in_progress { color: #174f87; background: #e7f1fb; }
.task-status-icon.overdue { color: #a71029; background: #fde8ed; }
.task-main strong, .task-main small { display: block; }
.task-main strong { color: var(--pf-green-dark); font-size: .8rem; }
.task-main small, .task-due { color: var(--pf-muted); font-size: .68rem; }
.task-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 1rem; }
.task-metadata { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1.25rem; padding: 1rem; border-radius: 10px; background: #f6faf8; }
.task-update-form { padding-top: 1.25rem; border-top: 1px solid var(--pf-border); }
.evidence-panel { margin: 1.25rem 0; padding: 1rem; border: 1px solid var(--pf-border); border-radius: 10px; background: #f9fbfa; }
.evidence-panel h3 { margin: 0 0 1rem; font-size: .86rem; }
.evidence-item { display: flex; align-items: center; gap: .7rem; margin-top: .75rem; padding: .7rem; border-radius: 8px; background: #fff; font-size: .75rem; }
.evidence-item > span { flex: 1; }
.evidence-item strong, .evidence-item small { display: block; }
.evidence-item small { color: var(--pf-muted); }
.audit-panel { position: sticky; top: 1rem; }
.audit-item { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: .7rem; margin-top: 1rem; }
.audit-item > span { width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: var(--pf-green); box-shadow: 0 0 0 4px var(--pf-green-light); }
.audit-item strong, .audit-item small { display: block; }
.audit-item strong { font-size: .75rem; }
.audit-item small { color: var(--pf-muted); font-size: .64rem; }
.audit-item p { margin: .35rem 0 0; color: #53635b; font-size: .7rem; }
.notification-preview { display: grid; gap: .55rem; }
.notification-preview > div { display: grid; gap: .15rem; padding: .75rem .85rem; border: 1px solid var(--pf-border); border-radius: 9px; background: #f9fbfa; }
.notification-preview strong { color: var(--pf-green-dark); font-size: .78rem; }
.notification-preview span { color: var(--pf-muted); font-size: .7rem; }

/* Explainable local CV model */
.screening-card { border-top: 3px solid var(--pf-purple); }
.screening-score { display: inline-flex; align-items: baseline; gap: 2px; color: var(--pf-purple); font-family: 'DM Mono', monospace; font-size: 1.45rem; font-weight: 500; }
.screening-score small { color: var(--pf-muted); font-size: .65rem; }
.screening-criteria { display: grid; gap: .55rem; }
.screening-criteria details { overflow: hidden; border: 1px solid var(--pf-border); border-radius: 9px; background: #fff; }
.screening-criteria summary { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; padding: .7rem; cursor: pointer; list-style: none; background: #f8faf9; }
.screening-criteria summary::-webkit-details-marker { display: none; }
.screening-criteria summary strong, .screening-criteria summary small { display: block; }
.screening-criteria summary strong { color: var(--pf-green-dark); font-size: .72rem; line-height: 1.4; }
.screening-criteria summary small { margin-top: .15rem; color: var(--pf-muted); font-size: .61rem; }
.screening-criteria details > div { padding: .7rem; color: #53635b; font-size: .68rem; }
.screening-criteria details p { margin: 0 0 .5rem; }
.screening-criteria blockquote { margin: .5rem 0 0; padding: .55rem .65rem; border-left: 3px solid #b9cfC4; border-radius: 0 7px 7px 0; background: #f7faf8; }
.location-comparison { display: grid; grid-template-columns: 1fr 24px 1fr; align-items: center; gap: .65rem; margin: .4rem 0 1rem; padding: .85rem; border: 1px solid var(--pf-border); border-radius: 10px; background: #f7faf8; }
.location-comparison > div { display: grid; gap: .2rem; }
.location-comparison span { color: var(--pf-muted); font-size: .66rem; font-weight: 700; text-transform: uppercase; }
.location-comparison strong { color: var(--pf-green-dark); font-size: .82rem; }
.location-comparison > i { color: #91a49a; text-align: center; }

/* Login */
.auth-scene { position: relative; isolation: isolate; display: grid; min-height: 100vh; place-items: center; padding: 32px 18px; background: radial-gradient(ellipse 80% 60% at 50% 0, rgba(56, 201, 130, .16), transparent 60%), linear-gradient(145deg, #071b15, #123f31); }
.auth-scene::before { content: ''; position: fixed; inset: 0; z-index: -2; background-image: linear-gradient(rgba(56, 201, 130, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 201, 130, .045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at center, #000, transparent 82%); }
.auth-card { width: min(100%, 430px); overflow: hidden; border: 1px solid rgba(56, 201, 130, .25); border-radius: 18px; background: rgba(255, 255, 255, .98); box-shadow: 0 28px 70px rgba(0, 0, 0, .38); }
.auth-brand { display: flex; align-items: center; gap: 14px; padding: 21px 24px; color: #fff; background: linear-gradient(135deg, #0b2e24, #168653); }
.auth-brand img { width: 60px; height: 60px; object-fit: cover; border: 3px solid #fff; border-radius: 50%; background: #fff; }
.auth-brand h1 { margin: 0; font-size: 1.14rem; font-weight: 700; }
.auth-brand p { margin: 3px 0 0; color: #bce3d1; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.auth-body { padding: 25px; }
.auth-body h2 { margin: 0 0 .25rem; color: var(--pf-green-dark); font-size: 1.2rem; font-weight: 700; }
.auth-body > p { margin-bottom: 1.2rem; color: var(--pf-muted); font-size: .79rem; }
.auth-footer { padding: 12px 24px; color: #718077; background: #f5f8f6; border-top: 1px solid #e4ebe7; text-align: center; font-size: .68rem; }
.auth-input { position: relative; }
.auth-input > i { position: absolute; top: 50%; left: 14px; z-index: 2; color: var(--pf-green); transform: translateY(-50%); }
.auth-input input { padding-right: 44px !important; padding-left: 42px !important; }
.password-toggle { position: absolute; top: 50%; right: 6px; width: 36px; height: 36px; padding: 0; color: #65766e; border: 0; border-radius: 8px; background: transparent; transform: translateY(-50%); }
.password-toggle:hover, .password-toggle:focus { color: var(--pf-green-dark); background: var(--pf-green-light); }

@media (max-width: 960px) {
  .pf-sidebar { left: -285px; transition: left .24s ease; }
  .pf-sidebar.open { left: 0; }
  .sidebar-toggle { display: flex; }
  .pf-main { margin-left: 0; padding-top: 56px; }
  .pf-page { padding: 20px 16px 48px; }
  .job-layout { grid-template-columns: 1fr; }
  .sticky-apply { position: static; }
  .stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-facts, .task-metadata { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .task-detail-layout { grid-template-columns: 1fr; }
  .audit-panel { position: static; }
}
@media (max-width: 720px) {
  .careers-brand-row { min-height: 78px; }
  .candidate-greeting { display: none; }
  .careers-nav { grid-template-columns: repeat(2, 1fr); }
  .careers-nav a { padding: 13px 8px; }
  .photo-hero { min-height: 110px; aspect-ratio: auto; }
  .photo-hero-image { top: 50%; left: 50%; width: auto; height: 775%; transform: translate(-50%, -50%); }
  .photo-hero-copy h1 { max-width: 420px; }
  .hero-badge { top: 10px; right: 12px; height: 42px; }
  .profile-heading, .application-card-head { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-company { align-items: flex-start; flex-direction: column; }
  .dashboard-summary { grid-template-columns: 1fr; }
  .career-hero { padding: 34px 25px; }
  .job-grid { grid-template-columns: 1fr; }
  .search-panel { grid-template-columns: 1fr; }
  .stage-grid { grid-template-columns: 1fr; }
  .live-filter { grid-template-columns: 1fr 28px; }
  .live-filter select { grid-column: 1 / -1; grid-row: 2; }
  .workflow-overview, .progress-card { grid-template-columns: 1fr; }
  .workflow-group > summary { grid-template-columns: 38px 1fr 18px; }
  .group-progress { display: none; }
  .task-row { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .task-row .task-due, .task-row > .pf-badge { display: none; }
}
@media (max-width: 575px) {
  .careers-brand-row, .careers-nav, .photo-hero-copy { width: min(100% - 24px, 1200px); }
  .careers-brand-row .public-brand span { display: none; }
  .candidate-actions { gap: 10px; }
  .candidate-actions .btn { padding: .5rem .65rem; }
  .photo-hero { min-height: 100px; }
  .photo-hero-copy h1 { font-size: 2.35rem; }
  .hero-badge { height: 34px; top: 8px; right: 10px; }
  .official-notice { align-items: flex-start; text-align: left; }
  .auth-card { padding: 24px; }
  .page-header { align-items: stretch; flex-direction: column; }
  .page-header .btn { align-self: flex-start; }
  .pf-card { padding: 1rem; }
  .cv-dropzone { min-height: 190px; }
  .cv-selected { grid-template-columns: 46px minmax(0, 1fr); }
  .cv-file-icon { width: 44px; height: 44px; }
  .cv-file-action { min-width: 0; }
  .cv-file-action.change { grid-column: 1; }
  .cv-file-action.remove { grid-column: 2; }
  .location-comparison { grid-template-columns: 1fr; }
  .location-comparison > i { transform: rotate(90deg); }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.application-filter-grid {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) repeat(4, minmax(150px, 1fr)) auto;
  gap: .75rem;
  align-items: center;
}

.status-confirmation-panel {
  border-left: 4px solid #b26a00;
  background: #fff8e8;
  padding: 1rem;
  border-radius: .7rem;
}

@media (max-width: 1100px) {
  .application-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .application-filter-grid { grid-template-columns: 1fr; }
}
/* Simplified departmental onboarding */
.department-plan-card{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.7fr) auto;gap:1.25rem;align-items:center;padding:1.2rem 0;border-bottom:1px solid #dfe9e4}.department-plan-card:last-child{border-bottom:0}.department-plan-card>div:first-child{display:flex;flex-direction:column;gap:.25rem}.department-plan-card small,.department-plan-progress span:first-child{color:#6d7f77}.department-plan-progress{display:flex;flex-direction:column;align-items:flex-start;gap:.45rem}.policy-checklist .task-row{border-bottom:1px solid #dfe9e4}.policy-checklist .task-row:last-child{border-bottom:0}.policy-reader{max-width:1000px;margin:0 auto}.policy-summary,.policy-body{padding:1.25rem;background:#f4f8f6;border-radius:14px;line-height:1.75}.policy-document-actions{padding:1.25rem 0}.policy-acknowledgement{border-top:1px solid #dfe9e4;padding-top:1.5rem}.policy-acknowledgement input[type="text"],.policy-acknowledgement input:not([type]){width:100%}@media(max-width:800px){.department-plan-card{grid-template-columns:1fr}.department-plan-progress{align-items:flex-start}}

/* Scroll-gated policy reading pane (candidate + employee portals) */
.policy-reading-pane { position: relative; max-height: 420px; overflow-y: auto; padding: 0; background: #f4f8f6; border: 1px solid #dfe9e4; border-radius: 14px; }
.policy-reading-pane .policy-body { background: transparent; border-radius: 0; padding: 1.25rem; margin: 0; }
.policy-reading-pane .policy-reading-end { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .5rem 0 1.1rem; color: #6d9c88; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.policy-reading-pane-sm { max-height: 260px; }
.policy-scroll-hint { display: flex; align-items: center; gap: .4rem; margin: .6rem 0 0; padding: .5rem .75rem; color: #8a6d1f; background: #fdf3d6; border: 1px solid #f1e1a2; border-radius: 10px; font-size: .82rem; font-weight: 600; }
.policy-scroll-hint-done { color: #1f7a4d; background: #e4f6ec; border-color: #bfe6cf; }
.policy-inline { padding: 1rem 1.1rem; background: #f4f8f6; border: 1px solid #dfe9e4; border-radius: 14px; margin-bottom: .5rem; }
.onboarding-task-card { }
.policy-acknowledgement input:disabled, .policy-acknowledgement button:disabled { opacity: .5; cursor: not-allowed; }
.policy-acknowledgement button:disabled { background: #b9c4bf; border-color: #b9c4bf; }

/* Public site footer */
.public-footer { margin-top: 48px; background: var(--pf-green-deep); color: rgba(255, 255, 255, .82); }
.footer-accent { height: 4px; background: linear-gradient(90deg, var(--pf-green-bright), var(--pf-green), var(--pf-red)); }
.footer-container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 52px 0 36px; display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 48px; }
.footer-brand-section { display: flex; flex-direction: column; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; }
.footer-brand span { display: flex; flex-direction: column; line-height: 1.25; }
.footer-brand strong { color: #fff; font-size: 1.05rem; letter-spacing: .02em; }
.footer-brand small { color: rgba(255, 255, 255, .6); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-brand-section p { margin: 0; max-width: 320px; color: rgba(255, 255, 255, .68); font-size: .9rem; line-height: 1.6; }
.footer-profile-button { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: .6rem 1.1rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; color: #fff; font-size: .82rem; font-weight: 600; text-decoration: none; transition: .15s ease; }
.footer-profile-button:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); color: #fff; }
.footer-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-section h4 { margin: 0 0 16px; color: #fff; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.footer-section ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-section a { color: rgba(255, 255, 255, .68); font-weight: 500; font-size: .88rem; text-decoration: none; }
.footer-section a:hover { color: var(--pf-green-bright); }
.footer-social-copy { margin: 0 0 14px; color: rgba(255, 255, 255, .68); font-size: .85rem; line-height: 1.5; }
.footer-social-icons { display: flex; gap: 10px; }
.footer-social-icons a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .82); transition: .15s ease; }
.footer-social-icons a:hover { background: var(--pf-green-bright); border-color: var(--pf-green-bright); color: var(--pf-green-deep); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom > div:first-child { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: .8rem; color: rgba(255, 255, 255, .58); }
.footer-location { display: inline-flex; align-items: center; gap: 6px; }
.footer-hr-link { display: block; width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 0 0 22px; display: flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .5); font-size: .78rem; font-weight: 600; text-decoration: none; }
.footer-hr-link:hover { color: rgba(255, 255, 255, .82); }
@media (max-width: 860px) {
  .footer-container { grid-template-columns: 1fr; gap: 36px; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .footer-bottom > div:first-child { flex-direction: column; align-items: flex-start; }
}
