: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; }
.public-job-filters { display: grid; gap: 18px; margin-bottom: 28px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.employment-filter { min-width: 0; margin: 0; padding: 0; border: 0; }
.employment-filter legend { margin-bottom: 10px; color: var(--ink-soft); font-size: .72rem; font-weight: 800; }
.employment-filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.employment-filter-options label { cursor: pointer; }
.employment-filter-options input { position: absolute; opacity: 0; pointer-events: none; }
.employment-filter-options span { display: inline-flex; padding: 8px 13px; border: 1px solid #d8e5ef; border-radius: 999px; color: var(--ink-soft); background: #f8fafc; font-size: .73rem; font-weight: 800; transition: .16s ease; }
.employment-filter-options input:checked + span { border-color: #1699bb; color: #06779b; background: #eefdff; box-shadow: 0 0 0 3px rgba(22,153,187,.1); }
.employment-filter-options input:focus-visible + span { outline: 3px solid rgba(22,153,187,.22); outline-offset: 2px; }
.public-filter-grid { display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(120px, .5fr) minmax(180px, .8fr) auto auto; gap: 12px; align-items: end; }
.public-filter-grid .field { margin: 0; }
.public-filter-grid .button { white-space: nowrap; }
.clear-job-filters { align-self: center; color: var(--ink-soft); font-size: .75rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.location-suggestion { margin: -4px 0 0; color: var(--ink-soft); font-size: .76rem; }
.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.derived-address { color: #516070; border-color: #c5cdd6; background: #e7ebef; cursor: not-allowed; }
.cep-warning { color: #94620d !important; }
.cep-success { color: var(--success) !important; }
.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: 270px minmax(0, 1fr); min-height: 100vh; transition: grid-template-columns .22s ease; }
.admin-sidebar { position: sticky; top: 0; display: flex; width: 270px; height: 100vh; flex-direction: column; padding: 24px 18px 19px; border-right: 1px solid #d8e1eb; background: #fff; transition: transform .22s ease, visibility .22s ease; }
.admin-brand { min-width: 0; padding: 0 8px 23px; border-bottom: 1px solid var(--line); }
.admin-brand img { width: 91px; height: auto; max-height: 44px; flex: 0 0 auto; object-fit: contain; }
.admin-brand span { min-width: 0; align-content: center; }
.admin-brand strong { font-size: .9rem; white-space: nowrap; }
.admin-brand small { margin-top: 3px; font-size: .64rem; white-space: nowrap; }
.admin-sidebar-toggle { position: fixed; z-index: 35; top: 77px; left: 252px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #ccd9e5; border-radius: 50%; color: var(--navy); background: white; box-shadow: 0 8px 22px -13px rgba(15,39,83,.75); cursor: pointer; transition: left .22s ease, transform .16s ease; }
.admin-sidebar-toggle:hover { transform: scale(1.06); background: #eef8fc; }
.admin-sidebar-toggle span { font-size: 1.35rem; line-height: 1; transform: translateY(-1px); }
.admin-shell.sidebar-collapsed { grid-template-columns: 0 minmax(0, 1fr); }
.admin-shell.sidebar-collapsed .admin-sidebar { transform: translateX(-100%); visibility: hidden; }
.admin-shell.sidebar-collapsed .admin-sidebar-toggle { left: 14px; }
.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%; object-fit: cover; 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; }
.table-wrap.actions-open { overflow: visible; }
.admin-filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 14px 18px 0; }
.admin-filter-bar .field { margin: 0; min-width: min(260px, 100%); }
.admin-filter-bar .button { margin-bottom: 1px; }
.responsible-filter-list { display: flex; gap: 10px; overflow-x: auto; padding: 14px 18px 0; }
.responsible-filter-chip { display: inline-flex; align-items: center; min-width: max-content; gap: 9px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px 7px 7px; color: var(--ink); background: #f8fafc; text-decoration: none; }
.responsible-filter-chip:hover, .responsible-filter-chip.active { border-color: #9fc7dc; background: #eef8fc; }
.responsible-filter-chip span:last-child { display: grid; gap: 1px; }
.responsible-filter-chip strong { font-size: .72rem; line-height: 1.1; }
.responsible-filter-chip small { color: var(--ink-soft); font-size: .62rem; }
.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; }
.admin-tabs a.pending-attention { border-color: #e0aa22; color: #725000; background: #ffd95e; box-shadow: 0 0 0 0 rgba(224,170,34,.38); animation: pending-tab-pulse 1.7s ease-in-out infinite; }
.admin-tabs a.pending-attention:hover, .admin-tabs a.pending-attention.active { border-color: #c88e00; color: #5b3d00; background: #ffcf3f; }
.admin-tabs a.pending-attention span { color: #654400; background: rgba(255,255,255,.72); }
@keyframes pending-tab-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(224,170,34,.38); } 50% { box-shadow: 0 0 0 7px rgba(224,170,34,0); } }
@media (prefers-reduced-motion: reduce) { .admin-tabs a.pending-attention { animation: none; } }
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; }
.table-actions form { display: inline-flex; margin-left: 8px; vertical-align: middle; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; border-top: 1px solid var(--line); }
.pagination p { margin: 0; color: var(--ink-soft); font-size: .7rem; font-weight: 700; }
.pagination > div { display: flex; align-items: center; gap: 12px; }
.pagination strong { color: var(--ink-soft); font-size: .7rem; white-space: nowrap; }
.pagination .disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.technical-score { display: inline-flex; border-radius: 999px; padding: 6px 9px; font-size: .68rem; font-weight: 850; white-space: nowrap; }
.technical-score-ready { color: #075f84; background: #dcf3fb; }
.technical-score-pending { color: #80570a; background: #ffedb7; }
.technical-score-failed { color: #90283d; background: #ffdbe1; }
.technical-analysis-copy { margin: 0 22px 22px; border-top: 1px solid var(--line); padding-top: 20px; }
.technical-analysis-copy h3 { margin: 0 0 10px; font-size: .86rem; }
.technical-analysis-copy p { max-width: 900px; margin: 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.75; }
.inline-action-form { display: inline-flex; margin-left: 8px; vertical-align: middle; }
.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; }
.no-access-card { max-width: 620px; margin: 80px auto; padding: 38px; text-align: center; }
.no-access-card h1 { margin: 10px 0; }
.no-access-card p { color: var(--ink-soft); line-height: 1.7; }
.permission-editor { margin: 22px; border-top: 1px solid var(--line); padding-top: 22px; }
.permission-editor h2 { margin: 0 0 15px; font-size: 1rem; }
.permission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.permission-option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 11px; padding: 13px; background: #f8fafc; font-size: .72rem; font-weight: 700; }
.permission-option input { width: 17px; height: 17px; accent-color: var(--blue); }
.user-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.user-identity > div { min-width: 0; }
.user-avatar { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; object-fit: cover; color: white; background: var(--navy); font-size: .75rem; font-weight: 850; }
.user-avatar.placeholder { text-transform: uppercase; }
.user-avatar-stack { display: inline-flex; align-items: center; flex: 0 0 auto; padding-left: 0; }
.user-avatar-stack .user-avatar { width: 34px; height: 34px; border: 2px solid white; box-shadow: 0 4px 12px rgba(15, 39, 83, .12); }
.user-avatar-stack .user-avatar + .user-avatar { margin-left: -12px; }
.user-photo-field { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.user-photo-field img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; }
.user-photo-field input { flex: 1 1 260px; }
.user-photo-field small { flex-basis: 100%; }
.user-jobs summary { cursor: pointer; color: var(--blue); font-size: .72rem; font-weight: 800; }
.user-jobs ul { display: grid; min-width: 240px; gap: 7px; margin: 9px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; list-style: none; box-shadow: var(--shadow); }
.user-jobs li { display: flex; justify-content: space-between; gap: 12px; }
.user-jobs li a { color: var(--ink); font-size: .69rem; font-weight: 700; }
.user-jobs li span { color: var(--ink-soft); font-size: .61rem; }
.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: 36px; height: 36px; margin-left: 8px; border: 1px solid #cbd8e6; border-radius: 12px; color: var(--ink-soft); background: linear-gradient(180deg, #ffffff, #f7fbff); font-size: .86rem; font-weight: 900; letter-spacing: -2px; line-height: 1; transition: .16s ease; }
.action-menu summary:hover { border-color: #9fc7dc; color: var(--navy); box-shadow: 0 8px 20px -16px rgba(15, 39, 83, .75); transform: translateY(-1px); }
.action-menu[open] summary { border-color: #8dc3d9; color: var(--navy); background: #eefaff; box-shadow: 0 10px 24px -18px rgba(15, 39, 83, .8); }
.action-menu > div, .whatsapp-menu > div { position: absolute; z-index: 30; right: 0; top: calc(100% + 8px); min-width: 175px; border: 1px solid var(--line); border-radius: 14px; padding: 8px; text-align: left; background: white; box-shadow: 0 22px 60px -30px rgba(15, 39, 83, .72); }
.action-menu > div { min-width: 248px; }
.action-menu-title { display: block; padding: 8px 10px 7px; color: var(--ink-soft); font-size: .61rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.action-menu-item, .action-menu > div .action-menu-item { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; width: 100%; margin: 0; border: 0; border-radius: 10px; padding: 10px; color: var(--ink); text-align: left; text-decoration: none; background: transparent; cursor: pointer; font: inherit; font-size: .73rem; font-weight: 800; }
.whatsapp-menu > div a { display: block; width: 100%; margin: 0; border: 0; border-radius: 8px; padding: 9px 10px; color: var(--ink); text-align: left; text-decoration: none; background: transparent; cursor: pointer; font-size: .72rem; font-weight: 800; }
.action-menu-item span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 8px; color: #315c82; background: #eef6fb; font-size: .78rem; letter-spacing: 0; }
.action-menu-item strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.action-menu > div a:hover, .action-menu > div button:hover, .whatsapp-menu > div a:hover { background: #f3f8fc; }
.action-menu > div .action-menu-item.danger { color: var(--danger); }
.action-menu > div .action-menu-item.danger span { color: var(--danger); background: #fff0f2; }
.action-menu form { display: block; 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, .application-status-approved { color: #126246; background: #dff6ec; }
.status-closed, .application-status-no_fit { color: #932f43; background: #fde8ec; }
.status-archived { color: #6a556f; background: #f1eaf4; }
.application-status-training { color: #5f3c9d; background: #eee7ff; }
.application-status-new { color: #075f84; background: #dcf3fb; }
.application-status-viewed { color: #52617c; background: #edf1f5; }
.status-stack { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.import-badge { display: inline-flex; width: fit-content; align-items: center; border-radius: 999px; margin-left: 7px; padding: 4px 8px; color: #315d7b; background: #e8f4fb; font-size: .6rem; font-weight: 850; vertical-align: middle; }
.import-badge.ok { margin-left: 0; color: #126246; background: #dff6ec; }
.import-badge.error { margin-left: 0; max-width: 220px; color: #932f43; background: #fde8ec; white-space: normal; line-height: 1.35; }
.open-age { display: grid; min-width: 140px; gap: 4px; border-radius: 12px; padding: 10px 12px; }
.open-age strong { font-size: .78rem; }
.open-age small { font-size: .63rem; opacity: .82; }
.open-age-fresh { color: #126246; background: #e4f8ee; }
.open-age-attention { color: #80570a; background: #fff2c6; }
.open-age-late { color: #932f43; background: #fde5ea; }
.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; }
.job-candidates-header { gap: 24px; }
.candidate-progress { display: grid; grid-template-columns: repeat(2, minmax(135px, 1fr)); gap: 10px; }
.candidate-progress article { display: grid; min-width: 145px; gap: 6px; border: 1px solid #c9dbe7; border-radius: 13px; padding: 14px 17px; background: #f7fbfd; }
.candidate-progress article.analyzed { border-color: #b9dfd0; background: #f3fbf7; }
.candidate-progress span { color: var(--ink-soft); font-size: .65rem; font-weight: 800; }
.candidate-progress strong { color: var(--navy); font-size: 1.35rem; }
.candidate-progress-detail { width: fit-content; margin: -10px 0 20px auto; }
.candidate-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: #f8fafc; }
.candidate-tabs a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 58px; border-right: 1px solid var(--line); color: var(--ink-soft); font-size: .73rem; font-weight: 800; }
.candidate-tabs a:last-child { border-right: 0; }
.candidate-tabs a:hover { color: var(--navy); background: #f1f8fb; }
.candidate-tabs a.active { box-shadow: inset 0 -3px var(--cyan); color: var(--navy); background: white; }
.candidate-tabs b { display: inline-grid; min-width: 24px; height: 24px; place-items: center; border-radius: 999px; color: var(--ink-soft); background: #e8eef4; font-size: .64rem; }
.candidate-tabs a.active b { color: #075f84; background: #dff4fb; }
.manual-import-panel, .manual-import-review { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: end; margin: 0 22px 18px; padding: 17px; border: 1px solid #d3e4ef; border-radius: 14px; background: #f6fbfe; }
.manual-import-panel h3, .manual-import-review h3 { margin: 0 0 4px; color: var(--navy); font-size: .9rem; }
.manual-import-panel p, .manual-import-review p { margin: 0; color: var(--ink-soft); font-size: .72rem; line-height: 1.55; }
.manual-import-panel form, .manual-import-review { align-items: end; }
.manual-import-panel form { display: contents; }
.manual-import-review { grid-template-columns: minmax(0, 1fr) minmax(190px, .55fr) minmax(170px, .45fr) auto; border-color: #bde2cc; background: #f5fcf8; }
.manual-import-batch-review { display: grid; gap: 14px; margin: 0 22px 18px; padding: 17px; border: 1px solid #bde2cc; border-radius: 14px; background: #f5fcf8; }
.manual-import-review-heading h3 { margin: 0 0 4px; color: var(--navy); font-size: .9rem; }
.manual-import-review-heading p { margin: 0; color: var(--ink-soft); font-size: .72rem; }
.manual-import-responsible-options { flex-wrap: wrap; padding: 0; }
.manual-import-panel .manual-import-responsible-options { max-width: 520px; }
.manual-import-table input { width: 100%; min-width: 110px; border: 1px solid #cbd8e6; border-radius: 8px; padding: 8px; font: inherit; font-size: .72rem; }
.manual-import-table td:first-child strong { white-space: normal; }
.manual-import-error { background: #fff7f8; }
.remove-import-row { display: inline-grid; width: 30px; height: 30px; place-items: center; border: 1px solid #f0b8c2; border-radius: 999px; color: #932f43; background: #fff7f8; cursor: pointer; font-size: 1rem; font-weight: 900; line-height: 1; }
.remove-import-row:hover { background: #fde8ec; }
.manual-import-removed { opacity: .45; text-decoration: line-through; }
.manual-import-removed .remove-import-row { color: #5d6879; border-color: #cbd8e6; background: #edf0f3; }
.ai-progress-overlay { position: fixed; z-index: 5000; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(10, 27, 54, .62); backdrop-filter: blur(3px); }
.ai-progress-card { display: grid; width: min(460px, 100%); gap: 12px; border: 1px solid var(--line); border-radius: 22px; padding: 28px; text-align: center; background: white; box-shadow: 0 30px 80px -30px rgba(8, 27, 58, .75); }
.ai-progress-card strong { color: var(--navy); font-size: 1rem; }
.ai-progress-card p { margin: 0; color: var(--ink-soft); font-size: .78rem; }
.ai-progress-card b { color: var(--blue); font-size: 1.4rem; }
.ai-progress-card small { color: var(--ink-soft); font-size: .68rem; }
.ai-progress-bar { overflow: hidden; height: 12px; border-radius: 999px; background: #e8eef4; }
.ai-progress-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .45s ease; }
.candidate-detail-actions { display: flex; align-items: center; gap: 11px; }
.candidate-arrow-nav { display: flex; gap: 7px; }
.candidate-arrow-nav a, .candidate-arrow-nav span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #bfd0df; border-radius: 11px; color: var(--navy); background: white; font-size: 1.7rem; font-weight: 700; line-height: 1; }
.candidate-arrow-nav a:hover { border-color: #77b7d0; color: var(--blue); background: #eef9fc; }
.candidate-arrow-nav span { color: #b8c1cc; background: #f1f3f5; }
.decision-prompt-backdrop { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(10, 27, 54, .58); backdrop-filter: blur(3px); }
.decision-prompt { width: min(560px, 100%); border: 1px solid var(--line); border-radius: 22px; padding: 30px; text-align: center; background: white; box-shadow: 0 30px 80px -30px rgba(8, 27, 58, .65); }
.decision-prompt .success-mark { display: grid; width: 48px; height: 48px; margin: 0 auto 15px; place-items: center; border-radius: 50%; }
.decision-prompt h2 { margin: 0 0 7px; font-size: 1.35rem; }
.decision-prompt p { margin: 0 0 23px; color: var(--ink-soft); font-size: .8rem; }
.decision-prompt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.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-unseen { border-color: #b5cde0; color: #315d7b; background: #f2f8fc; }
.decision-unseen:hover { border-color: #6fa4c5; background: #e8f4fb; }
.decision-unseen b { color: #397da5; }
.decision-interview { border-color: #f2cf83; color: #80570a; background: #fff9ea; }
.decision-interview:hover { border-color: #d59a25; background: #fff3cf; }
.decision-training { border-color: #cbb7ff; color: #5f3c9d; background: #f7f2ff; }
.decision-training:hover { border-color: #9f7df0; background: #efe6ff; }
.decision-approved { border-color: #b7e6cc; color: #126246; background: #f0fbf5; }
.decision-approved:hover { border-color: #3bb273; background: #e1f7eb; }
.interview-schedule-form { display: grid; gap: 8px; }
.interview-fields { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 8px; }
.interview-history-list { display: grid; gap: 12px; }
.interview-card { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #f8fafc; }
.interview-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.interview-card header span { color: var(--ink-soft); font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.interview-card p { margin: 0; font-weight: 850; }
.interview-card small { color: var(--ink-soft); font-size: .68rem; }
.interview-result-approved { border-color: #b7e6cc; background: #f0fbf5; }
.interview-result-rejected { border-color: #f0b8c2; background: #fff7f8; }
.interview-result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.interview-card-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.interview-card-actions form { margin: 0; }
.interview-card-actions .text-button { color: var(--blue); }
.interview-card-actions .text-button.danger { color: var(--danger); }
.upcoming-interviews { display: grid; gap: 3px; margin-top: 6px; }
.upcoming-interviews small { display: block; color: var(--ink-soft); }
.candidate-interview-detail-row td { padding-top: 0; border-top: 0; }
.candidate-interview-summary { border-radius: 12px; padding: 8px 10px; background: rgba(248, 250, 252, .9); }
.interview-row-pending_result, .interview-row-pending_result + .candidate-interview-detail-row { background: #fff8df; }
.interview-row-rejected, .interview-row-rejected + .candidate-interview-detail-row { background: #fff1f3; }
.interview-row-approved, .interview-row-approved + .candidate-interview-detail-row { background: #eefbf5; }
.interview-line { border-left: 3px solid #b8c3d0; padding-left: 7px; font-weight: 750; }
.interview-line-pending_result { color: #80570a !important; border-color: #d69b1f; }
.interview-line-rejected { color: #90283d !important; border-color: #d96074; }
.interview-line-approved { color: #126246 !important; border-color: #3bb273; }
.interview-line-scheduled { color: #52617c !important; border-color: #8aa1b7; }
.button-danger { border-color: #f0b8c2; color: #90283d; background: #fff7f8; }
.button-danger:hover { border-color: #d96074; background: #fde8ec; }
.icon-danger-button { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 1px solid #f0b8c2; border-radius: 10px; color: #90283d; background: #fff7f8; cursor: pointer; }
.icon-danger-button:hover { border-color: #d96074; background: #fde8ec; }
.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; z-index: 6000; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(10, 27, 54, .58); backdrop-filter: blur(3px); }
.modal-backdrop[hidden] { display: none; }
.modal-card { position: relative; display: grid; width: min(520px, 100%); max-height: calc(100vh - 44px); min-width: 0; gap: 16px; overflow: auto; border-radius: 22px; padding: 28px; background: white; box-shadow: 0 28px 80px rgba(10, 27, 54, .28); }
.modal-card h2 { margin: 0; color: var(--navy); font-size: 1.25rem; line-height: 1.2; overflow-wrap: anywhere; }
.modal-card form { display: grid; gap: 14px; }
.modal-card .muted { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.admin-action-modal { width: min(720px, calc(100vw - 32px)); gap: 18px; padding: 30px; }
.modal-heading { display: grid; gap: 5px; padding-right: 34px; }
.modal-kicker { color: var(--blue); font-size: .64rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.modal-kicker.danger { color: var(--danger); }
.delete-job-modal-card { width: min(700px, calc(100vw - 32px)); }
.delete-job-summary { border: 1px solid #d8e2ee; border-radius: 16px; padding: 16px; background: #f8fbff; }
.delete-job-summary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.delete-job-summary div { display: grid; min-width: 0; gap: 4px; align-items: start; border-radius: 12px; padding: 10px; background: white; }
.delete-job-summary dt { color: var(--ink-soft); font-size: .63rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.delete-job-summary dd { min-width: 0; margin: 0; color: var(--ink); font-size: .82rem; font-weight: 850; line-height: 1.35; overflow-wrap: anywhere; white-space: normal; }
.delete-impact-box { display: grid; gap: 10px; border: 1px solid #f1b7c0; border-radius: 16px; padding: 14px 16px; color: #7d1f30; background: #fff4f6; }
.delete-impact-box strong { font-size: .85rem; line-height: 1.35; overflow-wrap: anywhere; }
.delete-impact-box ul { display: grid; gap: 6px; margin: 0; padding-left: 18px; }
.delete-impact-box li { font-size: .78rem; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.delete-awareness-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; border: 1px solid #f1b7c0; border-radius: 16px; padding: 15px; color: #6f1c2c; background: #fff7f8; font-size: .78rem; font-weight: 820; line-height: 1.45; white-space: normal; }
.delete-awareness-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--danger); }
.delete-awareness-check span { min-width: 0; overflow-wrap: anywhere; }
.delete-countdown { margin: 0; border-radius: 12px; padding: 10px 12px; color: #7d5520; background: #fff4d7; font-size: .75rem; font-weight: 850; text-align: center; }
.deleting-modal-card { justify-items: center; width: min(430px, 100%); text-align: center; }
.deleting-spinner { width: 46px; height: 46px; border: 4px solid #dce8f3; border-top-color: var(--danger); border-radius: 50%; animation: deleting-spinner .85s linear infinite; }
@keyframes deleting-spinner { to { transform: rotate(360deg); } }
.attendance-modal-card { width: min(980px, 100%); }
.attendance-target-options { display: flex; flex-wrap: wrap; gap: 12px; }
.attendance-target-options label { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; background: #f8fafc; font-size: .75rem; font-weight: 800; }
.attendance-review-table-wrap { max-height: 55vh; }
.attendance-review-table input[type="text"], .attendance-review-table input:not([type]) { width: 100%; min-width: 150px; border: 1px solid #cbd8e6; border-radius: 8px; padding: 8px; font: inherit; font-size: .72rem; }
.attendance-review-table th, .attendance-review-table td { white-space: nowrap; }
.modal-close { position: absolute; top: 14px; right: 14px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: white; cursor: pointer; font-size: 1.25rem; line-height: 1; }
.modal-close:hover { color: var(--navy); background: #f3f8fc; }
.decision-note { display: grid; gap: 4px; border: 1px solid #f2cf83; border-radius: 11px; padding: 13px; color: #80570a; background: #fff9ea; }
.decision-note strong { font-size: .72rem; }
.decision-note small { color: #80570a; font-size: .66rem; }
.decision-invalid { border-color: #f0b8c2; color: #90283d; background: #fff7f8; }
.decision-invalid b { color: #b8324a; }
.responsible-progress-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: -8px 0 18px; }
.responsible-progress-grid article { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: white; box-shadow: 0 10px 24px rgba(10, 27, 54, .05); }
.responsible-progress-grid .user-identity { align-items: center; }
.responsible-progress-grid .user-identity span:not(.user-avatar) { color: var(--ink-soft); font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.responsible-progress-grid strong { color: var(--navy); font-size: 1.2rem; }
.responsible-progress-grid small { color: var(--ink-soft); font-size: .72rem; }
.candidate-owner-filter-list { padding-bottom: 16px; }
.candidate-owner-filter { display: flex; justify-content: flex-end; padding: 0 18px 16px; }
.candidate-owner-filter .field { min-width: min(280px, 100%); }
.candidate-responsible-form { display: grid; gap: 16px; }
.candidate-responsible-options { padding: 0; }
.candidate-responsible-option { position: relative; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.candidate-responsible-option input { position: absolute; opacity: 0; pointer-events: none; }
.candidate-responsible-option:hover { transform: translateY(-1px); }
.candidate-responsible-option.active { border-color: #0780ad; color: var(--navy); background: #e7f7fd; box-shadow: 0 0 0 3px rgba(17, 176, 221, .16), 0 10px 20px rgba(7, 128, 173, .12); }
.candidate-responsible-option.active::after { content: "✓"; display: grid; width: 20px; height: 20px; place-items: center; margin-left: 2px; border-radius: 999px; color: white; background: #0780ad; font-size: .72rem; font-weight: 900; }
.candidate-responsible-option.active small { color: #075f84; }
.candidate-responsible-option:focus-within { outline: 3px solid rgba(17, 176, 221, .25); outline-offset: 3px; }
.responsible-assignment-list { display: grid; gap: 9px; }
.responsible-assignment-row { display: grid; grid-template-columns: auto minmax(140px, 1fr) 90px auto auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #f8fafc; }
.responsible-assignment-row strong { font-size: .78rem; }
.responsible-assignment-row span { color: var(--ink-soft); font-size: .68rem; font-weight: 750; text-transform: none; }
.responsible-assignment-row input[type="number"] { width: 90px; border: 1px solid #cbd8e6; border-radius: 8px; padding: 8px; font: inherit; font-size: .75rem; }
.close-job-modal-card { width: min(560px, calc(100vw - 32px)); }
.close-job-modal-card textarea { min-height: 112px; }
.transfer-modal-card { width: min(820px, calc(100vw - 32px)); }
.transfer-responsible-form { display: grid; gap: 12px; }
.transfer-responsible-list { max-height: min(420px, 48vh); overflow: auto; padding-right: 3px; }
.transfer-responsible-row { grid-template-columns: 24px 38px minmax(180px, 1fr) minmax(82px, auto) 34px; min-width: 0; }
.transfer-responsible-row input[type="number"] { width: 74px; }
.transfer-responsible-row small { display: block; color: var(--ink-soft); font-size: .62rem; font-weight: 750; }
.management-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin-bottom: 18px; }
.management-filters .field { flex: 0 1 220px; }
.management-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 18px; margin: 18px 0; }
.management-detail-row td { padding-top: 0; background: #fbfdff; }
.management-detail-row details { border-top: 1px dashed #d8e2ee; padding: 10px 0 4px; }
.management-detail-row summary { cursor: pointer; color: var(--blue); font-size: .72rem; font-weight: 850; }
.compact-detail-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin-top: 10px; }
.compact-detail-list a { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; color: var(--ink); text-decoration: none; background: white; }
.compact-detail-list a:hover { border-color: #9fc7dc; background: #f6fbfe; }
.compact-detail-list .summary-chip { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: white; }
.compact-detail-list .summary-chip strong { color: var(--navy); font-size: 1.15rem; line-height: 1; }
.compact-detail-list .summary-chip span { color: var(--ink); font-size: .74rem; font-weight: 800; }
.compact-detail-list span, .compact-detail-list small, .activity-list small { color: var(--ink-soft); font-size: .68rem; }
.compact-detail-list .summary-chip span { color: var(--ink); font-size: .74rem; font-weight: 800; }
.muted-row { opacity: .58; }
.activity-list { display: grid; gap: 10px; max-height: 560px; overflow: auto; padding-right: 4px; }
.activity-list article { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px 12px; border-bottom: 1px solid var(--line); padding: 0 0 10px; }
.activity-list time { color: var(--ink-soft); font-size: .68rem; font-weight: 800; }
.activity-list div { display: grid; gap: 2px; }
.activity-list span { color: var(--ink); font-size: .74rem; font-weight: 800; }
.detailed-activity-list { max-height: 620px; }
.management-full-activity-list { max-height: none; overflow: visible; }
.detailed-activity-list article { grid-template-columns: 1fr; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: white; }
.activity-main { display: grid; gap: 3px; }
.activity-main strong { color: var(--navy); font-size: .82rem; }
.activity-main span { color: var(--ink-soft); font-size: .72rem; font-weight: 750; }
.activity-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 0; }
.activity-facts div { display: grid; gap: 2px; min-width: 0; }
.activity-facts dt { color: var(--ink-soft); font-size: .61rem; font-weight: 850; letter-spacing: 0; text-transform: uppercase; }
.activity-facts dd { min-width: 0; margin: 0; color: var(--ink); font-size: .72rem; font-weight: 750; overflow-wrap: anywhere; }
.activity-facts a { color: var(--blue); text-decoration: none; }
.activity-facts a:hover { text-decoration: underline; }
.pending-return-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 8px; margin-bottom: 10px; }
.pending-return-summary article { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #f8fafc; }
.pending-return-summary strong { color: var(--navy); font-size: 1.2rem; line-height: 1; }
.pending-return-summary span { color: var(--ink); font-size: .75rem; font-weight: 850; }
.pending-return-summary small, .management-list-note { color: var(--ink-soft); font-size: .68rem; }
.management-list-note { margin: 0 0 10px; font-weight: 750; }
.compact-table table th, .compact-table table td { padding: 10px 12px; }
.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: 230px minmax(0, 1fr); }
    .admin-sidebar { width: 230px; }
    .admin-sidebar-toggle { left: 212px; }
    .admin-brand img { width: 72px; }
    .admin-brand strong { font-size: .78rem; }
    .admin-brand small { font-size: .56rem; }
    .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-sidebar-toggle { 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%; }
    .pagination { align-items: stretch; flex-direction: column; }
    .pagination > div { justify-content: space-between; }
    .public-job-filters { padding: 18px; }
    .public-filter-grid { grid-template-columns: 1fr; }
    .public-filter-grid .button { width: 100%; }
    .employment-filter-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .employment-filter-options span { justify-content: center; }
    .candidate-progress, .candidate-progress-detail { width: 100%; margin: 0; }
    .candidate-progress article { min-width: 0; }
    .candidate-owner-filter { justify-content: stretch; padding-inline: 14px; }
    .candidate-owner-filter .field { width: 100%; }
    .admin-action-modal { width: min(100%, calc(100vw - 20px)); padding: 24px 18px; border-radius: 18px; }
    .modal-heading { padding-right: 38px; }
    .delete-job-summary dl { grid-template-columns: 1fr; }
    .delete-awareness-check { grid-template-columns: 1fr; }
    .delete-awareness-check input { margin: 0; }
    .transfer-responsible-row { grid-template-columns: auto minmax(0, 1fr); }
    .transfer-responsible-row .user-avatar, .transfer-responsible-row input[type="radio"] { justify-self: start; }
    .responsible-assignment-row { grid-template-columns: auto minmax(0, 1fr); }
    .responsible-assignment-row input[type="number"] { width: 100%; }
    .management-grid { grid-template-columns: 1fr; }
    .management-filters { align-items: stretch; }
    .management-filters .field, .management-filters .button { width: 100%; flex-basis: 100%; }
    .activity-list article { grid-template-columns: 1fr; }
    .activity-facts { grid-template-columns: 1fr; }
    .candidate-tabs { grid-template-columns: 1fr; }
    .candidate-tabs a { border-right: 0; border-bottom: 1px solid var(--line); }
    .candidate-tabs a:last-child { border-bottom: 0; }
    .manual-import-panel, .manual-import-review, .manual-import-batch-review { grid-template-columns: 1fr; margin-inline: 14px; }
    .manual-import-panel .button, .manual-import-review .button, .manual-import-batch-review .button { width: 100%; }
    .candidate-detail-actions { width: 100%; flex-wrap: wrap; }
    .candidate-detail-actions > .button { flex: 1; width: auto; }
    .decision-prompt-actions { flex-direction: column; }
    .decision-prompt-actions .button { width: 100%; }
    .interview-fields { grid-template-columns: 1fr; }
    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; }
}
