:root {
    --ink: #102044;
    --ink-soft: #52617c;
    --navy: #183b82;
    --blue: #078bb8;
    --cyan: #18b7d7;
    --surface: #ffffff;
    --canvas: #f4f7fb;
    --line: #dce5f0;
    --success: #167755;
    --danger: #b8324a;
    --warning: #a15c08;
    --shadow: 0 24px 60px -38px rgba(15, 39, 83, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .button { touch-action: manipulation; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.container.narrow { width: min(900px, calc(100% - 40px)); }
.public-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(220,229,240,.9); background: rgba(255,255,255,.93); backdrop-filter: blur(16px); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; }
.public-brand, .admin-brand, .login-brand { display: flex; align-items: center; gap: 13px; }
.public-brand img, .admin-brand img, .login-brand img { width: auto; height: 44px; }
.public-brand span, .admin-brand span, .login-brand span { display: grid; line-height: 1.15; }
.public-brand strong, .admin-brand strong, .login-brand strong { font-size: .95rem; }
.public-brand small, .admin-brand small, .login-brand small { margin-top: 4px; color: var(--ink-soft); font-size: .69rem; }
.public-header nav { display: flex; align-items: center; gap: 25px; font-size: .86rem; font-weight: 700; }
.public-header nav a:hover { color: var(--blue); }
.subtle-link { color: var(--ink-soft); }
.public-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, #ffffff, #f4f9fd); }
.footer-inner { display: grid; grid-template-columns: minmax(260px, 1.1fr) auto minmax(260px, .9fr); min-height: 150px; align-items: center; gap: 28px; padding-block: 28px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 42px; width: auto; }
.footer-brand div, .footer-note { display: grid; gap: 5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; font-weight: 800; }
.footer-note { text-align: right; }
.footer-note small { color: #7b889b; font-size: .68rem; }
.footer-inner span, .footer-inner a { color: var(--ink-soft); font-size: .82rem; }
.footer-inner a:hover { color: var(--blue); }
.eyebrow { display: inline-block; color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 10px 17px; cursor: pointer; font-weight: 800; font-size: .83rem; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.button-primary { color: white; background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: 0 12px 24px -15px rgba(7,139,184,.85); }
.button-secondary { border-color: #b8cee0; color: var(--navy); background: white; }
.button-ghost { color: var(--ink-soft); background: transparent; }
.button.small { min-height: 36px; padding: 7px 12px; border-radius: 9px; font-size: .75rem; }
.button.block { width: 100%; }
.flash-stack { padding-top: 18px; }
.flash { border: 1px solid #b8d7ec; border-radius: 12px; padding: 13px 15px; color: #145b79; background: #edf8fd; font-size: .86rem; font-weight: 650; }
.flash.success { border-color: #a4d8c6; color: #116248; background: #effbf6; }
.flash.error { border-color: #efb6c0; color: #90283d; background: #fff2f4; }

/* Public jobs */
.jobs-hero { overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 85% 20%, rgba(24,183,215,.17), transparent 30%), radial-gradient(circle at 10% 90%, rgba(24,59,130,.10), transparent 28%), #f8fbff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .7fr); align-items: center; gap: 70px; min-height: 570px; padding-block: 76px; }
.hero-grid h1 { max-width: 720px; margin: 15px 0 20px; font-size: clamp(2.65rem, 5vw, 4.9rem); line-height: 1.02; letter-spacing: -.055em; }
.hero-grid > div > p { max-width: 680px; margin: 0 0 30px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; }
.hero-card { position: relative; padding: 32px; border: 1px solid rgba(255,255,255,.75); border-radius: 28px; color: white; background: linear-gradient(145deg, #132e69, #086e9e); box-shadow: 0 40px 80px -42px #0b3c7c; }
.hero-card::before { position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 21px; content: ''; pointer-events: none; }
.hero-card > span { font-size: .75rem; font-weight: 800; letter-spacing: .1em; opacity: .75; text-transform: uppercase; }
.hero-card ol { display: grid; gap: 25px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-card li { display: flex; align-items: center; gap: 15px; }
.hero-card li b { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #053a57; background: #c7f5ff; }
.hero-card li div { display: grid; gap: 3px; }
.hero-card li small { color: rgba(255,255,255,.7); }
.jobs-section { padding: 80px 0 105px; }
.section-heading, .admin-page-header, .card-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-heading { margin-bottom: 28px; }
.section-heading h2 { margin: 7px 0 0; font-size: 2rem; letter-spacing: -.035em; }
.result-count { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--ink-soft); background: white; font-size: .76rem; font-weight: 700; }
.job-list { display: grid; gap: 14px; }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 27px 30px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); transition: .2s ease; }
.job-card:hover { border-color: #a9c8dd; transform: translateY(-2px); }
.job-card-main { min-width: 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; border: 1px solid #d9e4ef; border-radius: 999px; padding: 6px 9px; color: var(--ink-soft); background: #f8fafc; font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.badge.accent { border-color: #acddea; color: #06779b; background: #eefdff; }
.job-card h3 { margin: 15px 0 8px; font-size: 1.35rem; letter-spacing: -.025em; }
.job-card h3 a:hover { color: var(--blue); }
.job-card p { max-width: 760px; margin: 0; color: var(--ink-soft); line-height: 1.6; }
.job-meta { display: flex; flex-wrap: wrap; gap: 10px 21px; margin-top: 14px; color: var(--ink-soft); font-size: .76rem; font-weight: 650; }
.job-meta span + span::before { margin-right: 12px; color: #9babc0; content: '•'; }
.job-meta.strong { color: var(--ink); font-size: .83rem; }
.share-box { display: grid; gap: 12px; margin-top: 20px; }
.share-box > span { color: var(--ink-soft); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.share-button { display: inline-grid; width: 38px; height: 38px; place-items: center; border: 1px solid #d8e5ef; border-radius: 12px; color: var(--ink-soft); background: white; cursor: pointer; transition: .16s ease; }
.share-button:hover { transform: translateY(-1px); border-color: #adc9da; box-shadow: 0 10px 22px -18px rgba(15, 39, 83, .65); }
.share-button svg { width: 21px; height: 21px; fill: currentColor; }
.share-button.whatsapp { color: #128c4a; background: #effbf4; }
.share-button.instagram { color: #bc2a8d; background: #fff2fb; }
.share-button.facebook { color: #1877f2; background: #eef5ff; }
.share-button.linkedin { color: #0a66c2; background: #eef6ff; }
.share-button.telegram { color: #229ed9; background: #edf9ff; }
.share-button.email { color: #52617c; background: #f8fafc; }
.share-button.native { color: var(--navy); background: #eef8fc; }
.share-button.copied { outline: 3px solid rgba(22, 119, 85, .18); color: var(--success); }
.share-box-compact { margin-top: 16px; }
.share-box-compact > span { display: none; }
.share-box-compact .share-button { width: 33px; height: 33px; border-radius: 10px; }
.share-box-compact .share-button svg { width: 18px; height: 18px; }
.empty-state { display: grid; min-height: 280px; place-items: center; align-content: center; padding: 35px; border: 1px dashed #b8cadb; border-radius: 20px; text-align: center; background: rgba(255,255,255,.65); }
.empty-state.compact { min-height: 190px; margin: 12px; }
.empty-state h3 { margin: 14px 0 4px; }
.empty-state p { max-width: 510px; margin: 5px 0; color: var(--ink-soft); line-height: 1.6; }
.empty-icon, .success-mark { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 18px; color: var(--navy); background: #e6f4fb; font-size: 1.5rem; font-weight: 800; }
.job-detail-hero { padding: 70px 0 22px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, white, #f5f9fd); }
.back-link { display: inline-block; margin-bottom: 26px; color: var(--ink-soft); font-size: .78rem; font-weight: 800; }
.back-link:hover { color: var(--blue); }
.back-link.centered { display: block; margin: 24px 0 0; text-align: center; }
.job-detail-hero h1 { margin: 17px 0 13px; font-size: clamp(2.1rem, 5vw, 4rem); letter-spacing: -.05em; }
.job-detail-hero > .container > p { max-width: 760px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.job-detail-section { padding: 12px 0 45px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: start; }
.detail-content section { padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.detail-content h2 { margin: 0 0 0px; font-size: 1.32rem; letter-spacing: -.02em; }
.rich-text { color: var(--ink-soft); line-height: 1.85; white-space: normal; }
.apply-panel { position: sticky; top: 105px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.apply-panel h2 { margin: 9px 0 10px; }
.apply-panel p { color: var(--ink-soft); line-height: 1.6; }
.apply-panel small { display: block; margin-top: 16px; color: var(--ink-soft); font-size: .7rem; line-height: 1.55; }
.apply-panel .share-box { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Forms */
.application-section { padding: 55px 0 95px; }
.application-wrap { max-width: 830px; }
.application-heading { margin-bottom: 28px; }
.application-heading h1 { margin: 8px 0; font-size: 2.25rem; letter-spacing: -.04em; }
.application-heading p { margin: 0; color: var(--ink-soft); }
.application-form { display: grid; gap: 18px; }
.form-card, .admin-card { border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.form-card { padding: 28px; }
.form-section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 25px; }
.form-section-heading > span { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: white; background: var(--navy); font-weight: 800; }
.form-section-heading h2 { margin: 0 0 3px; font-size: 1.15rem; }
.form-section-heading p { margin: 0; color: var(--ink-soft); font-size: .76rem; }
.form-grid { display: grid; gap: 18px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 7px; min-width: 0; color: var(--ink); font-size: .78rem; font-weight: 750; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 45px; border: 1px solid #cbd8e6; border-radius: 10px; outline: none; padding: 10px 12px; color: var(--ink); background: white; font-weight: 500; transition: .15s ease; }
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,139,184,.12); }
.field input.invalid, .field select.invalid, .field textarea.invalid, .file-field.invalid { border-color: #dc6b7e; }
.field > small { color: var(--ink-soft); font-size: .67rem; font-weight: 500; }
.field-error { color: var(--danger) !important; font-size: .7rem !important; font-weight: 700 !important; }
.field-error.standalone { display: block; margin-top: 8px; }
.file-field { display: flex; align-items: center; gap: 14px; border: 1px dashed #a9bfd4; border-radius: 13px; padding: 18px; cursor: pointer; background: #f8fbfd; }
.file-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-field > span:last-child { display: grid; gap: 4px; }
.file-field small { color: var(--ink-soft); }
.file-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 11px; color: white; background: #dc3f55; font-size: .7rem; font-weight: 850; }
.consent-field, .check-field { display: flex; align-items: flex-start; gap: 9px; margin-top: 22px; color: var(--ink-soft); font-size: .73rem; line-height: 1.55; }
.check-field { align-items: center; margin: 25px 0 0; color: var(--ink); font-weight: 700; }
.consent-field input, .check-field input[type=checkbox] { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--blue); }
.turnstile { min-height: 70px; margin-top: 20px; }
.submit-button { margin-top: 13px; }
.message-section { display: grid; min-height: calc(100vh - 197px); place-items: center; padding: 60px 20px; }
.message-card { width: min(600px, 100%); padding: 48px; border: 1px solid var(--line); border-radius: 25px; text-align: center; background: white; box-shadow: var(--shadow); }
.message-card .success-mark, .message-card .empty-icon { margin: 0 auto 24px; }
.success-mark { color: white; background: var(--success); }
.message-card h1 { margin: 9px 0 12px; font-size: 2.1rem; }
.message-card p { margin: 0 auto 28px; color: var(--ink-soft); line-height: 1.7; }

/* Admin */
.admin-page { background: #f3f6fa; }
.admin-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 24px 18px 19px; border-right: 1px solid #d8e1eb; background: #fff; }
.admin-brand { padding: 0 8px 23px; border-bottom: 1px solid var(--line); }
.admin-sidebar nav { display: grid; gap: 5px; padding-top: 24px; }
.nav-label { padding: 0 10px 7px; color: #8b98aa; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-sidebar nav a { border-radius: 9px; padding: 11px 12px; color: var(--ink-soft); font-size: .8rem; font-weight: 750; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { color: var(--navy); background: #edf5fa; }
.admin-account { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; margin-top: auto; padding: 17px 7px 0; border-top: 1px solid var(--line); }
.admin-account > div:nth-child(2) { display: grid; min-width: 0; gap: 2px; }
.admin-account strong, .admin-account small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-account strong { font-size: .75rem; }
.admin-account small { color: var(--ink-soft); font-size: .61rem; }
.admin-account form { grid-column: 2; }
.avatar { display: grid; width: 36px; height: 36px; grid-row: span 2; place-items: center; border-radius: 50%; color: white; background: var(--navy); font-size: .75rem; font-weight: 800; }
.text-button { border: 0; padding: 0; color: var(--danger); background: transparent; cursor: pointer; font-size: .68rem; font-weight: 700; }
.admin-main { min-width: 0; padding: 38px 40px 70px; }
.admin-main > .flash-stack { padding: 0 0 18px; }
.admin-mobile-header { display: none; }
.admin-page-header { align-items: center; margin-bottom: 25px; }
.admin-page-header h1 { margin: 4px 0 5px; font-size: 2rem; letter-spacing: -.04em; }
.admin-page-header p { margin: 0; color: var(--ink-soft); font-size: .83rem; }
.admin-page-header .back-link { margin: 0 0 13px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 20px; }
.metric-grid article { display: grid; gap: 12px; min-height: 112px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: var(--shadow); }
.metric-grid span { color: var(--ink-soft); font-size: .71rem; font-weight: 750; }
.metric-grid strong { font-size: 1.8rem; }
.metric-grid .metric-alert { border-color: #f0c8ab; background: #fffaf5; }
.metric-grid .metric-success { border-color: #b7dfcf; background: #f6fcf9; }
.admin-card { margin-bottom: 20px; }
.ai-builder { position: relative; overflow: hidden; padding: 24px; border-color: #b9ddeb; background: linear-gradient(135deg, #f7fdff, #f4f7ff); }
.ai-builder::after { position: absolute; top: -55px; right: -45px; width: 170px; height: 170px; border-radius: 50%; background: rgba(24,183,215,.10); content: ''; pointer-events: none; }
.ai-builder-copy { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.ai-builder-copy h2 { margin: 5px 0; font-size: 1.2rem; }
.ai-builder-copy p { max-width: 730px; margin: 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.6; }
.ai-spark { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 13px; color: white; background: linear-gradient(135deg, var(--navy), var(--cyan)); box-shadow: 0 12px 22px -14px var(--blue); font-size: 1.1rem; }
.ai-source-field { position: relative; z-index: 1; }
.ai-source-field textarea { background: rgba(255,255,255,.92); }
.ai-builder-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; margin-top: 15px; }
.ai-builder-actions > span { color: var(--ink-soft); font-size: .68rem; line-height: 1.5; }
.ai-builder-actions code { padding: 2px 5px; border-radius: 4px; background: #e7edf4; font-size: .65rem; }
.ai-builder.is-loading { opacity: .82; }
.ai-status-success { color: var(--success) !important; font-weight: 700; }
.ai-status-error { color: var(--danger) !important; font-weight: 700; }
.card-header { align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.card-header h2 { margin: 0 0 4px; font-size: 1rem; }
.card-header p { margin: 0; color: var(--ink-soft); font-size: .7rem; }
.table-wrap { overflow-x: auto; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 15px 18px 0; }
.admin-tabs a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--ink-soft); background: #f8fafc; font-size: .72rem; font-weight: 800; }
.admin-tabs a:hover, .admin-tabs a.active { border-color: #9fc7dc; color: var(--navy); background: #eef8fc; }
.admin-tabs span { display: inline-grid; min-width: 22px; height: 22px; place-items: center; border-radius: 999px; color: var(--ink-soft); background: white; font-size: .64rem; }
table { width: 100%; border-collapse: collapse; }
th { padding: 12px 17px; color: #75849a; background: #f8fafc; font-size: .64rem; letter-spacing: .07em; text-align: left; text-transform: uppercase; }
td { padding: 15px 17px; border-top: 1px solid #edf1f5; font-size: .75rem; vertical-align: middle; }
td strong, td small { display: block; }
td small { margin-top: 4px; color: var(--ink-soft); font-size: .65rem; }
.row-unread td { background: #f4fbfe; }
.row-unread td:first-child { box-shadow: inset 3px 0 var(--cyan); }
.table-actions { white-space: nowrap; text-align: right; }
.table-actions a { margin-left: 11px; color: var(--blue); font-size: .69rem; font-weight: 800; }
.table-actions .button { margin-left: 0; }
.inline-action-form { display: inline-flex; margin-left: 8px; vertical-align: middle; }
.google-status-button { border-color: #acddea; color: #075f84; background: #eefbff; }
.whatsapp-inline { display: inline-flex; width: fit-content; margin-top: 6px; border-radius: 999px; padding: 5px 8px; color: #128c4a; background: #effbf4; font-size: .62rem; font-weight: 850; }
.company-form { padding-bottom: 24px; }
.company-form > .form-grid, .company-form-actions { margin: 22px; }
.company-form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.action-menu, .whatsapp-menu { position: relative; display: inline-block; vertical-align: middle; }
.action-menu summary, .whatsapp-menu summary { display: inline-grid; place-items: center; cursor: pointer; list-style: none; }
.action-menu summary::-webkit-details-marker, .whatsapp-menu summary::-webkit-details-marker { display: none; }
.action-menu summary { width: 34px; height: 34px; margin-left: 8px; border: 1px solid #cbd8e6; border-radius: 10px; color: var(--ink-soft); background: white; font-size: 1.1rem; font-weight: 900; line-height: 1; }
.action-menu[open] summary { border-color: #9fc7dc; color: var(--navy); background: #f0fbfe; }
.action-menu > div, .whatsapp-menu > div { position: absolute; z-index: 30; right: 0; top: calc(100% + 6px); min-width: 175px; border: 1px solid var(--line); border-radius: 12px; padding: 6px; text-align: left; background: white; box-shadow: 0 18px 45px -30px rgba(15, 39, 83, .65); }
.action-menu > div { min-width: 230px; }
.action-menu > div a, .action-menu > div button, .whatsapp-menu > div a { display: block; width: 100%; margin: 0; border: 0; border-radius: 8px; padding: 9px 10px; color: var(--ink); text-align: left; background: transparent; cursor: pointer; font-size: .72rem; font-weight: 800; }
.action-menu > div a:hover, .action-menu > div button:hover, .whatsapp-menu > div a:hover { background: #f3f8fc; }
.action-menu > div button.danger { color: var(--danger); }
.action-menu form { margin: 0; }
.unread { color: var(--blue) !important; font-weight: 800; }
.status, .application-status { display: inline-flex; border-radius: 999px; padding: 6px 9px; font-size: .64rem; font-weight: 800; }
.status-draft { color: #5d6879; background: #edf0f3; }
.status-published, .application-status-consider { color: #126246; background: #dff6ec; }
.status-closed, .application-status-no_fit { color: #932f43; background: #fde8ec; }
.status-archived { color: #6a556f; background: #f1eaf4; }
.application-status-new { color: #075f84; background: #dcf3fb; }
.application-status-viewed { color: #52617c; background: #edf1f5; }
.phone-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.phone-contact small { flex-basis: 100%; }
.whatsapp-contact { display: inline-grid; width: 30px; height: 30px; place-items: center; border-radius: 999px; color: white !important; background: #22c55e; transition: .16s ease; }
.whatsapp-contact:hover { transform: translateY(-1px); background: #16a34a; }
.whatsapp-contact svg { width: 20px; height: 20px; fill: currentColor; }
.whatsapp-menu summary { width: 30px; height: 30px; border-radius: 999px; color: white; background: #22c55e; transition: .16s ease; }
.whatsapp-menu summary:hover, .whatsapp-menu[open] summary { transform: translateY(-1px); background: #16a34a; }
.whatsapp-menu svg { width: 20px; height: 20px; fill: currentColor; }
.whatsapp-menu > div { right: auto; left: 0; min-width: 235px; }
.phone-whatsapp-menu summary { display: inline-flex; width: auto; height: auto; gap: 8px; padding: 3px 3px 3px 0; color: var(--ink); background: transparent; font-weight: 750; }
.phone-whatsapp-menu summary:hover, .phone-whatsapp-menu[open] summary { color: var(--blue); background: transparent; }
.phone-whatsapp-menu summary svg { width: 30px; height: 30px; border-radius: 999px; padding: 5px; color: white; background: #22c55e; }
.admin-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.form-section { padding-bottom: 24px; }
.form-section > .form-grid, .form-section > .field, .form-section > h2, .form-section > h3, .form-section > hr, .form-section > .button { margin-right: 22px; margin-left: 22px; }
.step-label { color: var(--blue); font-size: .63rem; font-weight: 800; letter-spacing: .1em; }
.sticky-card { position: sticky; top: 20px; padding-top: 22px; }
.sticky-card h2 { margin-top: 0; font-size: 1.05rem; }
.sticky-card h3 { margin-bottom: 12px; font-size: .8rem; }
.sticky-card > .field { margin-top: 16px; }
.sticky-card hr { border: 0; border-top: 1px solid var(--line); margin-top: 22px; margin-bottom: 21px; }
.sticky-card > .button { width: calc(100% - 44px); margin-top: 20px; }
.question-list { display: grid; gap: 13px; padding: 20px 22px 0; }
.question-item { border: 1px solid var(--line); border-radius: 13px; padding: 17px; background: #fafcfe; }
.question-handle { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; color: var(--ink-soft); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.question-handle button { border: 0; color: var(--danger); background: none; cursor: pointer; font-size: .66rem; font-weight: 800; text-transform: none; }
.question-evaluation { display: grid; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.question-evaluation > div:first-child { display: grid; gap: 3px; }
.question-evaluation > div:first-child strong { font-size: .75rem; }
.question-evaluation > div:first-child small { color: var(--ink-soft); font-size: .65rem; }
.question-options.hidden, .question-empty.hidden, .hidden { display: none !important; }
.question-empty { margin: 20px 22px 0; padding: 24px; border: 1px dashed #bfcedd; border-radius: 12px; color: var(--ink-soft); text-align: center; font-size: .73rem; }
.filter-card { padding: 18px; }
.filter-form { display: grid; grid-template-columns: 1.2fr 1fr .8fr auto auto; gap: 12px; align-items: end; }
.application-admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.detail-card { overflow: hidden; }
.data-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 8px 22px 22px; }
.data-list div { padding: 16px 0; border-bottom: 1px solid #edf1f5; }
.data-list div:nth-child(odd) { padding-right: 18px; }
.data-list dt, .answer-list dt { margin-bottom: 6px; color: #75849a; font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.data-list dd, .answer-list dd { margin: 0; font-size: .8rem; line-height: 1.6; }
.data-list dd a { color: var(--blue); }
.data-list dd small { color: var(--ink-soft); }
.answer-list { margin: 0; padding: 0 22px 22px; }
.answer-list div { padding: 17px 0; border-bottom: 1px solid #edf1f5; }
.answer-list .answer-item { position: relative; padding: 17px 15px; border-left: 4px solid transparent; }
.answer-list .answer-assessment-expected { border-left-color: #2b9b6f; background: #f0fbf6; }
.answer-list .answer-assessment-acceptable { border-left-color: #d39a1f; background: #fff9e9; }
.answer-list .answer-assessment-below_expected { border-left-color: #ce5165; background: #fff3f5; }
.answer-assessment-label { display: inline-flex; margin-top: 9px; border-radius: 999px; padding: 4px 8px; font-size: .62rem; font-weight: 800; }
.answer-assessment-expected .answer-assessment-label { color: #126746; background: #d8f3e7; }
.answer-assessment-acceptable .answer-assessment-label { color: #80570a; background: #ffedb7; }
.answer-assessment-below_expected .answer-assessment-label { color: #90283d; background: #ffdbe1; }
.job-analysis-copy { padding: 0 22px 22px; color: var(--ink-soft); font-size: .78rem; line-height: 1.65; }
.job-analysis-copy h3 { margin: 18px 0 7px; color: var(--ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.job-analysis-copy p { margin: 0; }
.resume-preview-card .card-header { padding-bottom: 18px; }
.resume-preview { overflow: hidden; height: min(72vh, 820px); min-height: 560px; border-top: 1px solid var(--line); background: #e8edf3; }
.resume-preview iframe { width: 100%; height: 100%; border: 0; background: white; }
.muted { color: var(--ink-soft); }
.detail-card > .muted { padding: 20px 22px; }
.decision-card { position: sticky; top: 20px; padding: 23px; }
.decision-card h2 { margin: 7px 0; }
.decision-card > p { margin: 0 0 18px; color: var(--ink-soft); font-size: .75rem; line-height: 1.6; }
.decision-list { display: grid; gap: 8px; }
.decision-option { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 11px; padding: 13px; color: var(--ink); text-align: left; background: white; cursor: pointer; }
.decision-option:hover { border-color: #93b7ce; }
.decision-option span { display: grid; gap: 3px; }
.decision-option strong { font-size: .72rem; }
.decision-option small { color: var(--ink-soft); font-size: .62rem; }
.decision-option b { color: var(--blue); }
.decision-option.selected { border-color: #8bc6da; background: #f0fbfe; }
.decision-invalid { border-color: #f0b8c2; color: #90283d; background: #fff7f8; }
.decision-invalid b { color: #b8324a; }
.login-section { display: grid; min-height: calc(100vh - 197px); place-items: center; padding: 55px 20px; }
.login-card { width: min(440px, 100%); padding: 35px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.login-card h1 { margin: 29px 0 7px; font-size: 1.7rem; }
.login-card > p { margin: 0 0 23px; color: var(--ink-soft); font-size: .79rem; }
.login-form { display: grid; gap: 16px; }
.login-form .turnstile { margin-top: 0; }

@media (max-width: 1040px) {
    .admin-shell { grid-template-columns: 210px minmax(0, 1fr); }
    .admin-main { padding: 30px 25px 60px; }
    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-form-grid, .application-admin-grid { grid-template-columns: 1fr; }
    .sticky-card, .decision-card { position: static; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-brand, .footer-links { justify-content: center; }
    .footer-note { text-align: center; }
}

@media (max-width: 760px) {
    .container, .container.narrow { width: min(100% - 28px, 1160px); }
    .public-header nav .subtle-link { display: none; }
    .public-brand span { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding-block: 58px; }
    .hero-grid h1 { font-size: 3rem; }
    .hero-card { padding: 26px; }
    .section-heading, .job-card, .admin-page-header { align-items: flex-start; flex-direction: column; }
    .job-card { padding: 22px; }
    .job-card > .button { width: 100%; }
    .detail-grid { grid-template-columns: 1fr; gap: 20px; }
    .apply-panel { position: static; }
    .form-grid.two, .data-list { grid-template-columns: 1fr; }
    .field.full { grid-column: auto; }
    .form-card { padding: 21px; }
    .message-card { padding: 35px 23px; }
    .admin-shell { display: block; }
    .admin-sidebar { display: none; }
    .admin-main { padding: 0 14px 55px; }
    .admin-mobile-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 -14px 25px; padding: 16px 14px; border-bottom: 1px solid var(--line); background: white; }
    .admin-mobile-header > a { font-size: .8rem; font-weight: 800; }
    .admin-mobile-header nav { display: flex; gap: 13px; color: var(--ink-soft); font-size: .67rem; font-weight: 750; }
    .admin-page-header { gap: 15px; }
    .admin-page-header .button { width: 100%; }
    .ai-builder-actions { align-items: stretch; flex-direction: column; }
    .ai-builder-actions .button { width: 100%; }
    .metric-grid { gap: 8px; }
    .metric-grid article { min-height: 95px; padding: 15px; }
    .metric-grid strong { font-size: 1.45rem; }
    .card-header { align-items: flex-start; }
    .card-header .button { margin-top: 12px; }
    .filter-form { grid-template-columns: 1fr; }
    .filter-form .button { width: 100%; }
    th, td { white-space: nowrap; }
    .application-admin-grid { gap: 0; }
}

@media (max-width: 420px) {
    .hero-grid h1 { font-size: 2.55rem; }
    .public-header nav { gap: 12px; }
    .public-header nav a { font-size: .73rem; }
    .metric-grid { grid-template-columns: 1fr 1fr; }
}
