/* INDAVI · componentes locales, sin fuentes ni librerías remotas */
:root{--ink:#183047;--muted:#526578;--line:#d9e3e9;--paper:#fff;--canvas:#f4f7f9;--brand:#123e5c;--teal:#087b71;--danger:#a22133;--shadow:0 8px 30px #1732480b;color-scheme:light}
html{scroll-behavior:smooth;scroll-padding-top:100px}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas);line-height:1.55;margin:0}*{box-sizing:border-box}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a{overflow-wrap:anywhere}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}[hidden]{display:none!important}:focus-visible{outline:3px solid #087b71!important;outline-offset:4px!important}h1,h2,h3{line-height:1.2;text-wrap:balance}p{overflow-wrap:anywhere}img{max-width:100%;height:auto}.skip-link{position:fixed;left:16px;top:-80px;padding:14px 20px;z-index:3000;background:white;border:2px solid var(--brand);border-radius:8px;color:var(--brand)}.skip-link:focus{top:12px}.navbar{box-shadow:0 1px 0 var(--line);background:#fff;position:relative}.navbar-container{max-width:1380px}.navbar-content{min-height:86px;gap:24px}.navbar-brand img{width:152px;height:auto}.navbar-nav{flex-wrap:wrap;justify-content:flex-end;gap:5px}.navbar-nav .nav-link{font-size:14px;padding:10px 12px;min-height:44px}.navbar-nav .nav-link-primary{background:var(--brand);border-radius:10px}.nav-link-outline{border-radius:10px}.account-shortcuts{max-width:1280px;margin:0 auto;padding:10px 26px;display:flex;gap:20px;flex-wrap:wrap;border-bottom:1px solid var(--line);font-size:14px}.account-shortcuts a{color:var(--brand);font-weight:650;text-decoration:underline;text-underline-offset:3px}.agency-shell{max-width:1220px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:12px 0 30px}.page-heading h1{font-size:clamp(28px,4vw,42px);font-weight:750;letter-spacing:-.04em;margin:4px 0 12px}.page-heading p{max-width:700px;color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:.17em;font-weight:800;color:var(--teal);margin:0 0 10px}.agency-card,.candidate-workflow{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;box-shadow:var(--shadow);margin-bottom:22px}.agency-card h2,.candidate-workflow h2{font-size:21px;font-weight:700;margin:0 0 16px}.agency-card h3{font-size:17px;font-weight:650}.agency-notice{border-left:4px solid var(--teal);background:#eaf5f3;padding:18px 22px;border-radius:8px;margin-bottom:24px;color:#164d48}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 18px;border:1px solid transparent;border-radius:10px;text-decoration:none;font-size:14px;font-weight:650;line-height:1.3;text-align:center;transition:background .15s}.button.primary{background:var(--brand);color:#fff;border-color:var(--brand)}.button.primary:hover{background:#0d2b40}.button.secondary{background:#fff;color:var(--brand);border-color:#abc0ce}.button.secondary:hover{background:#f0f5f8}.button.danger{color:#9d2131;border-color:#d4a6ad;background:#fff}.pill{display:inline-flex;gap:6px;align-items:center;padding:6px 12px;border:1px solid #cadbdc;border-radius:30px;background:#eff7f6;color:#20574f;font-size:12px;font-weight:650;white-space:normal}.breadcrumbs{font-size:14px;margin-bottom:18px;color:var(--muted)}.breadcrumbs a{color:var(--brand);text-decoration:underline}.toolbar{display:flex;gap:20px;align-items:end;flex-wrap:wrap;margin-bottom:24px}.toolbar label{min-width:220px;flex:1}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px}.agency-shell label,.agency-dialog label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:650;margin:10px 0}.agency-shell input:not([type=checkbox]):not([type=radio]),.agency-shell select,.agency-shell textarea,.agency-dialog input:not([type=checkbox]),.agency-dialog select,.agency-dialog textarea{width:100%;min-height:44px;border:1px solid #aebfcb;background:#fff;border-radius:9px;padding:10px 12px;color:var(--ink);font-weight:400}.agency-shell textarea,.agency-dialog textarea{resize:vertical}.agency-shell label small,.help-text{font-size:12px;font-weight:400;color:var(--muted);line-height:1.5}.agency-shell label.check,.agency-dialog label.check{flex-direction:row;align-items:flex-start;gap:12px}.check input[type=checkbox]{margin-top:4px;width:18px;height:18px;flex:none;accent-color:var(--teal)}.form-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}.form-status{font-size:13px}.form-status.error{color:var(--danger)}.form-status.success{color:#056251}.section-heading,.candidate-heading,.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.section-heading h2,.candidate-heading h2,.dialog-heading h2{margin:0}.candidate-heading>div:nth-child(2){flex:1}.candidate-heading p{font-size:13px;color:var(--muted);margin:5px 0}.avatar-letter{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#e9f1f6;color:var(--brand);font-weight:700;font-size:22px;flex:none}.contact-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:16px 0}.contact-row a:not(.button){color:var(--brand);text-decoration:underline}.communication-box{background:#f7fafb;border:1px solid var(--line);border-radius:12px;padding:14px 18px;margin-top:18px}.communication-box legend{padding:0 6px;font-weight:700;font-size:14px}.preserve-lines{white-space:pre-line}.agency-dialog{width:min(760px,calc(100% - 30px));max-height:90dvh;overflow:auto;padding:28px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 30px 80px #0003}.agency-dialog::backdrop{background:#10263599;backdrop-filter:blur(3px)}.empty-state{padding:35px;text-align:center;color:var(--muted);background:#fff;border:1px dashed var(--line);border-radius:16px}.cv-layout{display:grid;grid-template-columns:275px minmax(0,1fr);gap:25px;align-items:start}.cv-sidebar{position:sticky;top:20px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:22px;box-shadow:var(--shadow)}.cv-sidebar h2{font-weight:700;font-size:20px;margin:0 0 18px}.cv-sidebar nav{display:grid;gap:0;margin:15px 0}.cv-sidebar nav a{padding:8px 0;color:var(--muted);border-bottom:1px solid #edf2f5;font-size:14px}.cv-sidebar .button{display:flex;width:100%;margin:12px 0}.cv-sidebar .help-text{margin-top:12px}.quality-track progress{width:100%;height:9px;accent-color:var(--teal)}.quality-track p{font-size:12px;color:var(--muted)}.quality-track strong{font-size:24px;display:block;color:var(--brand)}.cv-item{padding:16px 0;border-bottom:1px solid var(--line)}.cv-item:last-child{border:0}.cv-item h3{margin:0 0 5px}.cv-item p{margin:4px 0;white-space:pre-line;color:var(--muted)}.cv-item-actions{display:flex;gap:10px;margin-top:12px}.notification-card{border-bottom:1px solid var(--line);padding:20px 0}.notification-card.unread{border-left:3px solid var(--teal);padding-left:18px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%}th,td{padding:12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}th{font-weight:650;background:#f3f7f9}.legal-document{max-width:900px;line-height:1.75}.legal-document h1{font-size:36px;letter-spacing:-.03em;margin:0 0 22px;font-weight:750}.legal-document h2{margin:30px 0 12px}.legal-document p{margin:12px 0}.legal-document a{color:var(--brand);text-decoration:underline}.consent-panel{position:fixed;bottom:20px;left:20px;right:20px;max-width:1130px;margin:auto;z-index:1000;background:#fff;padding:25px 28px;border:1px solid #b8c9d3;box-shadow:0 12px 65px #163a513b;border-radius:18px;display:grid;grid-template-columns:minmax(0,1fr) 215px;gap:28px}.consent-panel h2{font-weight:750;font-size:21px;margin:0 0 10px}.consent-panel p{font-size:14px;margin:5px 0;color:var(--muted)}.consent-panel .eyebrow{font-size:10px;color:var(--teal)}.consent-panel a{font-size:13px;text-decoration:underline;color:var(--brand)}.consent-actions{display:flex;flex-direction:column;justify-content:center;gap:9px}.consent-actions button{padding:11px 14px;min-height:44px;border:1px solid #8aa4b6;border-radius:9px;background:#f2f6f8;color:var(--brand);font-size:14px;font-weight:700}.consent-actions button:hover{background:#e5edf1}.consent-option{border:1px solid var(--line);border-radius:10px;padding:16px;margin:18px 0}.cookie-footer{text-align:center;padding:22px 20px 0}.cookie-settings-link{text-decoration:underline;text-underline-offset:3px;min-height:44px}.google-monogram{display:inline-grid;place-items:center;width:24px;height:24px;font-weight:800;color:#214e94}.ql-editor{min-height:260px;padding:18px;outline:none;white-space:normal;overflow-wrap:anywhere;font-size:16px}.ql-editor p{margin:8px 0}.ql-editor ul{list-style:disc;padding-left:24px}.ql-editor ol{list-style:decimal;padding-left:24px}.ql-editor h2{font-size:24px;font-weight:700}.ql-editor h3{font-size:20px;font-weight:650}.ql-editor blockquote{border-left:4px solid #d7e4ea;padding-left:16px}.ql-formats{display:inline-flex;gap:4px;align-items:center;margin:2px 7px 2px 0}#quill-toolbar button,#ap-quill-toolbar button{display:inline-block;width:auto!important;min-width:34px;min-height:38px;padding:5px 9px;border:1px solid #cbd6df;border-radius:5px;background:#fff;color:var(--ink);font-size:13px}#quill-toolbar select,#ap-quill-toolbar select{width:auto!important;max-width:130px;min-height:38px;font-size:12px;border:1px solid #cbd6df;border-radius:5px}.ql-align-center{text-align:center}.ql-align-right{text-align:right}.ql-align-justify{text-align:justify}.ql-indent-1{padding-left:2em}.ql-indent-2{padding-left:4em}.job-card-modern{box-shadow:var(--shadow)!important;border:1px solid var(--line)!important;border-radius:16px!important;transition:box-shadow .15s,transform .15s}.job-card-btn{background:var(--brand)!important;min-height:44px}.job-card-title{line-height:1.35!important}.job-card-accent{background:var(--teal)!important;height:3px!important}.job-card-description{font-size:14px!important;color:var(--muted)!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#toast-stack{z-index:1200;max-width:calc(100vw - 32px)}.modal-overlay{z-index:1100!important}.modal-container{max-height:90dvh;overflow-y:auto}.workflow-list details summary{cursor:pointer;min-height:40px;font-weight:650}.workflow-list details p{padding:12px;background:#f5f8fa;border-radius:8px}.system-check{display:flex;gap:20px;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}.system-check .ok{color:#056251}.system-check .fail{color:#a22133}.inline-info{font-size:13px;color:var(--muted)}.consent-placeholder{padding:16px;border:1px dashed var(--line);border-radius:8px}.stat-card .trend{display:none}/* Se eliminan porcentajes ilustrativos, no calculados. */
@media(max-width:1000px){.cv-layout{grid-template-columns:235px minmax(0,1fr)}.cv-sidebar{padding:18px}.page-heading{flex-wrap:wrap}.agency-card,.candidate-workflow{padding:22px}.navbar-content{gap:14px}.navbar-nav .nav-link{padding:8px}.navbar-brand img{width:128px}}
@media(max-width:760px){html{scroll-padding-top:85px}.cv-layout{display:flex;flex-direction:column}.cv-sidebar{position:static;width:100%}.cv-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}.cv-builder .page-heading{margin-bottom:20px}#cv-editor{width:100%}.form-grid{grid-template-columns:1fr;gap:4px}.agency-card,.candidate-workflow{padding:20px 16px;border-radius:13px}.toolbar label{min-width:0;width:100%;flex:auto}.candidate-heading{flex-wrap:wrap}.candidate-heading .pill{margin-left:62px}.contact-row{gap:12px;font-size:14px}.consent-panel{bottom:10px;left:10px;right:10px;padding:20px;display:flex;flex-direction:column;gap:14px;max-height:85dvh;overflow:auto}.consent-actions{display:grid;grid-template-columns:1fr 1fr}.consent-actions button:last-child{grid-column:span 2}.consent-panel h2{font-size:19px}.consent-panel p{font-size:13px}.page-heading h1{font-size:30px}.page-heading>.button{width:100%}.agency-dialog{padding:20px}.dialog-heading{align-items:flex-start}.dialog-heading h2{font-size:20px}.navbar{position:sticky;top:0;z-index:60}.account-shortcuts{font-size:13px;padding:10px 18px}.form-actions .button{flex:1}main{overflow-wrap:anywhere}.table-scroll th,.table-scroll td{min-width:130px}.communication-box{padding:12px}.page-heading p{font-size:15px}footer .grid{gap:28px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{header.navbar,footer,.account-shortcuts,.consent-panel,.skip-link,.toolbar{display:none!important}body{background:#fff}main{max-width:none!important;margin:0!important;padding:0!important}.agency-card{box-shadow:none;break-inside:avoid}.cv-sidebar,.form-actions{display:none}}

/* Portada sin capas animadas costosas y marcas institucionales legibles. */
.agency-hero{background:#12314d!important;border-radius:22px!important;box-shadow:var(--shadow)!important}.agency-hero>div.absolute{display:none}.agency-hero .backdrop-blur-lg,.agency-hero .backdrop-blur-sm{backdrop-filter:none!important}.agency-hero>div.relative{padding-top:52px;padding-bottom:52px}.agency-hero h1{font-size:clamp(34px,4vw,58px);letter-spacing:-.035em}.agency-hero .hero-visual>div.absolute,.agency-hero .hero-visual>div>div.absolute{display:none}.agency-hero #hero-job-card{transform:none!important;rotate:none!important;box-shadow:none!important}.agency-hero #hero-job-card .flex{min-width:0}.agency-hero #hero-job-card h3{overflow-wrap:normal}.agency-hero #hero-job-card .flex.items-start{flex-wrap:wrap;gap:12px}footer a>img{background:#fff;border-radius:5px;padding:5px;height:44px;max-width:170px;object-fit:contain}footer .flex.flex-wrap{gap:10px}
@media(max-width:760px){.agency-hero .hero-visual{display:none}.agency-hero>div.relative{padding:32px 22px}.agency-hero h1{font-size:36px}.agency-hero p{font-size:18px}.agency-hero .grid.grid-cols-3{gap:10px}.agency-hero .grid.grid-cols-3 .text-sm{font-size:11px}.agency-hero .grid.grid-cols-3 .text-2xl{font-size:20px}.agency-hero .inline-flex.rounded-full{padding:8px 9px}.agency-hero .inline-flex.rounded-full .text-sm{font-size:11px}}
