.recruitment, .recruitment-dialog, .recruitment-public { --rec-border: #ccd5e3; --rec-muted: #64748b; --rec-blue: #173f78; color: var(--text, #172b4d); font: 14px/1.5 Arial, sans-serif; }
.recruitment *, .recruitment-dialog *, .recruitment-public * { box-sizing: border-box; }
.recruitment [hidden], .recruitment-dialog [hidden], .recruitment-public [hidden] { display: none !important; }
.rec-heading, .rec-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rec-heading { margin-bottom: 20px; }
.rec-heading h2, .rec-heading h3 { margin: 0; color: var(--primary, #173f78); }
.rec-heading p, .rec-muted { margin: 4px 0; color: var(--rec-muted); }
.rec-panel { padding: 20px; border: 1px solid var(--rec-border); border-radius: 16px; background: var(--card, #fff); margin-bottom: 18px; }
.rec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rec-wide { grid-column: 1 / -1; }
.rec-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; min-width: 0; }
.rec-field input, .rec-field textarea, .rec-field select, .rec-filters input, .rec-filters select { width: 100%; min-height: 42px; border: 1px solid var(--rec-border); border-radius: 8px; padding: 10px 12px; color: inherit; background: var(--input-bg, #fff); font: inherit; font-weight: 400; }
.rec-field textarea { resize: vertical; }
.rec-field small { font-weight: 400; color: var(--rec-muted); }
.rec-actions { justify-content: flex-start; margin-top: 16px; }
.rec-btn { border: 1px solid var(--rec-border); border-radius: 8px; padding: 10px 16px; min-height: 40px; color: inherit; background: var(--card, #fff); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.rec-btn.rec-primary { background: var(--rec-blue); border-color: var(--rec-blue); color: #fff; }
.rec-btn:hover:not(:disabled) { filter: brightness(.94); }
.rec-btn:disabled { opacity: .5; cursor: not-allowed; }
.rec-btn:focus-visible, .rec-field input:focus-visible, .rec-field textarea:focus-visible, .rec-option:focus-within { outline: 3px solid #78a7e8; outline-offset: 2px; }
.rec-message { padding: 12px 16px; border-radius: 8px; background: #eaf2ff; color: #173f78; margin: 12px 0; overflow-wrap: anywhere; }
.rec-message[data-error="true"] { background: #fff0ed; color: #9c3021; }
.rec-filters { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(120px, .6fr) minmax(150px, .8fr) auto; align-items: end; gap: 12px; margin: 16px 0; }
.rec-table-wrap { overflow-x: auto; }
.rec-table { width: 100%; border-collapse: collapse; text-align: left; }
.rec-table th { color: var(--rec-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.rec-table th, .rec-table td { padding: 12px 10px; border-bottom: 1px solid var(--rec-border); vertical-align: middle; }
.rec-table td:last-child { min-width: 190px; }
.rec-table .rec-btn { padding: 6px 10px; min-height: 34px; margin: 2px; }
.rec-badge { display: inline-block; border-radius: 20px; padding: 4px 10px; background: #fff3d8; color: #805513; font-size: 12px; font-weight: 700; white-space: nowrap; }
.rec-badge[data-answered="true"] { background: #def4e7; color: #21613e; }
.rec-link { display: flex; gap: 10px; align-items: end; margin-top: 16px; }
.rec-link .rec-field { flex: 1; }
.recruitment-dialog { width: min(1100px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--rec-border); border-radius: 18px; background: var(--card, #fff); box-shadow: 0 24px 100px #0006; }
.recruitment-dialog::backdrop { background: #081b39a6; }
.recruitment-dialog.rec-whatsapp-dialog { width: min(760px, calc(100vw - 32px)); }
.rec-dialog-header { position: sticky; top: 0; z-index: 1; padding: 18px 24px; background: var(--card, #fff); border-bottom: 1px solid var(--rec-border); }
.rec-dialog-body { padding: 24px; }
.rec-scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 10px; margin-bottom: 20px; }
.rec-score { border: 1px solid var(--rec-border); padding: 14px; border-radius: 12px; }
.rec-score strong { display: block; font-size: 24px; color: var(--primary, #173f78); }
.rec-answer { padding: 14px 0; border-bottom: 1px solid var(--rec-border); }
.rec-answer p { margin: 6px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.rec-answer summary { cursor: pointer; }
.rec-review { margin-top: 20px; }
.rec-history { margin-top: 16px; padding-left: 18px; border-left: 3px solid var(--rec-border); white-space: pre-wrap; overflow-wrap: anywhere; }
.rec-profile p, #rec-comparison-dialog td { white-space: pre-wrap; overflow-wrap: anywhere; }
#rec-comparison-dialog td { min-width: 170px; max-width: 360px; }
.recruitment-public { margin: 0; background: #f3f6fb; color: #172b4d; }
.rec-public-main { max-width: 900px; margin: 32px auto; padding: 0 16px 40px; }
.rec-brand { font-size: 14px; font-weight: 800; letter-spacing: .14em; color: #173f78; }
.rec-public-main h1 { font-size: clamp(24px, 5vw, 32px); line-height: 1.2; margin: 10px 0; }
.rec-public-main fieldset { min-width: 0; border: 1px solid var(--rec-border); border-radius: 14px; margin: 20px 0; padding: 16px; background: #fff; }
.rec-public-main legend { font-weight: 700; padding: 0 8px; }
.rec-option { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--rec-border); padding: 12px; border-radius: 8px; margin: 8px 0; cursor: pointer; }
.rec-option:has(input:checked) { border-color: #245ba4; background: #eaf2ff; }
.rec-option input { flex: 0 0 auto; margin: 4px 0 0; accent-color: #173f78; }
.rec-public-footer { position: sticky; bottom: 0; padding: 14px 18px; border: 1px solid var(--rec-border); border-radius: 12px; background: #fff; box-shadow: 0 -4px 20px #173f7812; }
@media (max-width: 900px) { .rec-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rec-grid, .rec-filters { grid-template-columns: 1fr; } .rec-link { flex-wrap: wrap; } .rec-link .rec-field { flex-basis: 100%; } .rec-panel, .rec-dialog-body { padding: 16px; } .rec-dialog-header { padding: 14px 16px; } }
