:root {
  color-scheme: light;
  --paper: #f4f7fb;
  --white: #fff;
  --ink: #17273b;
  --muted: #4d6279;
  --line: #d9e3ef;
  --forest: #145d72;
  --sage: #e1f2f4;
  --warn: #fff1d3;
  --blue: #426bb2;
  --navy: #122a42;
  --heading-font: Inter, "Segoe UI", system-ui, sans-serif;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.55; font-size: 15px; }
a { color: var(--forest); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #428878; outline-offset: 3px; }
body > header { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.top, main, footer { max-width: 1200px; width: calc(100% - 48px); margin: auto; }
.top { display: flex; justify-content: space-between; align-items: center; min-height: 64px; gap: 18px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font: 660 17px var(--heading-font); text-decoration: none; color: var(--navy); }
.brand::before { content: ""; width: 11px; height: 20px; transform: skewX(-16deg); background: #77d7e2; border-radius: 3px; }
.brand-with-logo::before { content:none; }
.brand-with-logo { gap:12px; padding:8px 0; }
.brand-with-logo span { border-left:1px solid var(--line); padding-left:12px; }
.brand-with-logo img { display:block; width:160px; height:auto; flex:none; }
nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.top nav a { font-size: 14px; color: var(--muted); text-decoration: none; font-weight: 650; padding: 8px 10px; }
.top nav a:hover,.top nav a[aria-current="page"] { color: var(--navy); background: #edf3f8; border-radius: 7px; }
.top .quiet { background: var(--white); border-color: var(--line); color: var(--navy); }
nav form { margin: 0; }
main { padding: 32px 0 60px; min-height: 76vh; }
footer { padding: 18px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
h1, h2, h3 { font-family: var(--heading-font); line-height: 1.15; margin: 0 0 12px; }
h1 { font-weight: 690; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.028em; }
h2 { font-size: 21px; font-weight: 680; letter-spacing: -.016em; }
h3 { font-size: 16px; font-weight: 660; letter-spacing: -.01em; }
p { margin: 0 0 12px; }
form { margin: 18px 0 0; }
label { font-size: 14px; display: block; font-weight: 650; margin: 0 0 13px; }
input, select, textarea {
  font: inherit; color: var(--ink); border: 1px solid #a8b9b0; border-radius: 8px;
  background: white; display: block; width: 100%; padding: 9px; margin-top: 5px;
}
textarea { resize: vertical; }
button, .button {
  display: inline-block; text-decoration: none; color: white; cursor: pointer; font: inherit; font-weight: 650;
  border: 1px solid var(--forest); border-radius: 8px; padding: 9px 14px; background: var(--forest);
}
button:disabled { opacity: .55; cursor: default; }
.quiet { color: var(--forest); background: white; padding: 5px 10px; }
.card { padding: clamp(16px, 2.4vw, 26px); border: 1px solid var(--line); border-radius: 16px; background: var(--white); min-width: 0; box-shadow: 0 2px 10px #162c4109; }
.hero { padding: clamp(23px, 6vw, 65px); background: linear-gradient(145deg,#10283f 25%,#195b70); color: white; border-radius: 20px; }
.hero h1 { font-size: clamp(32px, 4.7vw, 56px); margin: 17px 0; }
.hero .eyebrow { color: #aee5ef; }
.hero p:last-child { max-width: 44ch; color: #deeff6; }
.heading { margin: 0 0 25px; }
.heading p, .dim { color: var(--muted); }
.login, .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.login { align-items: center; padding-top: 30px; }
.login > .card { max-width: 420px; justify-self: center; width: 100%; }
.split { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.split form { margin: 0; }
.back { display: inline-block; margin-bottom: 20px; }
.narrow { max-width: 720px; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.eyebrow { color: var(--forest); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 730; }
.warning, .empty { padding: 10px 14px; background: var(--warn); border-radius: 7px; }
.empty { grid-column: 1/-1; background: var(--sage); }
.section-title { margin-top: 28px; }
.stack { display: grid; gap: 8px; }
.control { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 17px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.control p { margin: 2px 0 0; }
.pill { display: inline-block; border-radius: 100px; padding: 3px 9px; font-size: 12px; font-weight: 650; }
.pill.done { background: var(--sage); color: #0c5266; }
.pill.pending { background: var(--warn); color: #624404; }
dl { display: grid; gap: 3px; }
dt { font-weight: 680; }
dd { margin: 0 0 9px; }
.logo { max-width: min(260px, 70%); height: auto; max-height: 95px; object-fit: contain; margin-bottom: 14px; }
.report { overflow-wrap: anywhere; padding: clamp(20px, 4vw, 45px); }
.report-cover { border-top: 5px solid var(--report-accent,var(--forest)); padding: clamp(20px, 4vw, 36px); background: #edf5f9; border-radius: 0 0 12px 12px; margin-bottom: 22px; }
.report-cover h1 { max-width: 24ch; }
.report-cover p:last-child { margin-bottom: 0; }
.report-brands { display:flex; flex-wrap:wrap; gap:14px 30px; margin-bottom:18px; }
.report-brand { display:flex; min-width:0; flex-direction:column; align-items:flex-start; gap:5px; }
.report-brand .eyebrow { margin:0; }
.report-brand-mark { display:grid; place-items:center; width:156px; max-width:100%; height:64px; padding:8px 12px; border:1px solid var(--line); border-radius:8px; background:var(--white); }
.report-brand-mark .logo { display:block; max-width:100%; max-height:46px; width:auto; height:auto; object-fit:contain; margin:0; }
.report-brand span { font-size:.9rem; font-weight:650; overflow-wrap:anywhere; }
[data-logo-status]:empty { display:none; }
.report h2 { margin-top: 26px; }
.report-toolbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; gap:12px; flex-wrap:wrap; }
.report-toolbar .back { margin-bottom:0; }
.report-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); gap:12px; margin: 20px 0 24px; }
.report-metric { display:grid; align-content:start; gap:5px; border:1px solid var(--line); border-radius:10px; background:#f7fbff; padding:14px; }
.report-metric span { font-size:13px; color:var(--muted); font-weight:650; }
.report-metric strong { color:var(--navy); line-height:1.18; font-size:clamp(18px,2.4vw,28px); font-variant-numeric:tabular-nums; }
.report-metric small { font-size:12px; color:var(--muted); }
.executive-note { border-left:4px solid #71a9bb; background:#f2f8fb; padding:16px 22px; margin:22px 0; border-radius:0 10px 10px 0; }
.report .executive-note h2,.report .chart-card h2 { margin-top:0; }
.executive-note p:last-child { margin-bottom:0; }
.report-chart-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr)); gap:16px; align-items:start; }
.chart-card { border:1px solid var(--line); border-radius:14px; padding:18px; background:white; min-width:0; }
.chart-card h2 { font-size:21px; }
.chart-card p { font-size:13px; }
.chart-heading { position:relative; min-width:0; }
.chart-heading > h2,.report .chart-heading > h2 { min-height:36px; margin:0 0 9px; padding:5px 44px 4px 0; }
.chart-info > summary { position:absolute; inset:0 0 auto auto; display:grid; place-items:center; width:36px; height:36px; list-style:none; }
.chart-info > summary::-webkit-details-marker { display:none; }
.chart-info > summary > span { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; border:1px solid #85a6b5;
  background:#eef6fa; color:#12566a; font-weight:780; font-size:14px; line-height:1; }
.chart-info > summary:hover > span,.chart-info[open] > summary > span { background:#d9edf4; border-color:#367d95; }
.chart-info > summary:focus-visible,.report-function-detail > summary:focus-visible { outline:3px solid #348793; outline-offset:2px; border-radius:5px; }
.chart-info > p,.chart-card .chart-info > p { margin:0 0 14px; padding:10px 13px; border-left:3px solid #78aab9;
  background:#eef6fa; border-radius:0 7px 7px 0; color:#24495b; font-size:14px; overflow-wrap:normal; }
.chart-row { margin: 12px 0; }
.chart-label { display:flex; justify-content:space-between; gap:10px; margin-bottom:4px; align-items:baseline; font-size:13px; }
.chart-label b { font-variant-numeric:tabular-nums; white-space:nowrap; }
.comparison-bars { margin-top:4px; display:grid; gap:3px; }
.chart-key { display:flex; flex-wrap:wrap; gap:10px; font-size:11px; color:var(--muted); margin:8px 0 14px; }
.chart-key span { display:flex; align-items:center; gap:4px; }
.chart-key i { width:9px; height:9px; border-radius:3px; }
.chart-question-link { display:inline-flex; align-items:center; gap:.4rem; padding:6px 0; margin-top:3px; font-size:.82rem; font-weight:680; text-decoration:none; }
.chart-question-link:hover { text-decoration:underline; }
.chart-function-link { display:inline-flex; align-items:baseline; gap:5px; font-weight:700; text-decoration:none; }
.chart-function-link span { color:#467a8c; }
.chart-function-link:hover { text-decoration:underline; }
#puntaje-por-funcion { scroll-margin-top:16px; }
.key-total { background:#145d72; }
.key-strategy { background:#557cc2; }
.key-tactics { background:#8d66a8; }
.key-operations { background:#3c8d83; }
.report-meter { display:block; width:100%; height:10px; appearance:none; -webkit-appearance:none; border:0; background:#e7eef5; border-radius:4px; overflow:hidden; --bar:#145d72; }
.report-meter.strategy { --bar:#557cc2; height:5px; }
.report-meter.tactics { --bar:#8d66a8; height:5px; }
.report-meter.operations { --bar:#3c8d83; height:5px; }
.report-meter.impact { --bar:#426bb2; }
.report-meter::-webkit-meter-bar { background:#e7eef5; border:0; border-radius:4px; }
.report-meter::-webkit-meter-optimum-value { background:var(--bar); border-radius:4px; }
.report-meter::-moz-meter-bar { background:var(--bar); border-radius:4px; }
.breadcrumb { color:var(--muted); margin-bottom:18px; }
.admin-hero { padding:clamp(20px,4vw,34px); border-radius:15px; background:linear-gradient(120deg,#17334d,#20556a); color:white; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.admin-hero p { color:#e0edf7; }
.admin-hero .eyebrow { color:#afe9f1; }
.admin-hero p:last-child { margin:0; }
.admin-counter { display:grid; min-width:125px; background:#ffffff16; border:1px solid #ffffff38; padding:12px 16px; border-radius:10px; font-size:13px; }
.admin-counter span { font-size:36px; line-height:1.1; font-weight:760; }
.section-nav { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 8px; }
.section-nav a { background:white; border:1px solid var(--line); border-radius:7px; padding:6px 12px; text-decoration:none; font-size:14px; font-weight:650; }
.management-section { margin:28px 0; scroll-margin-top:15px; }
.section-heading { margin-bottom:12px; }
.section-heading p { color:var(--muted); }
.table-card { padding:4px 14px 8px; }
.table-card thead,.report th { color:#334d66; background:#f0f6fa; }
.management-details { margin:12px 0; }
summary { font-weight:700; cursor:pointer; color:var(--forest); }
.admin-item { display:grid; gap:2px; border-top:1px solid var(--line); padding:10px 0; overflow-wrap:anywhere; }
.admin-item span { font-size:13px; color:var(--muted); }
.control-links { margin-bottom:0; padding-left:22px; }
.control-links li { margin:8px 0; }
.notice { padding:12px 16px; margin-top:12px; background:var(--sage); border:1px solid #bcdde3; border-radius:8px; color:#104a5c; }
.wizard-entry { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:12px 0; }
.wizard-progress { color:var(--forest); font-size:13px; font-weight:730; margin-bottom:14px; }
.wizard-step { border-top:1px solid var(--line); padding-top:16px; margin-top:9px; }
.wizard-step h2:focus { outline:none; }
.wizard-actions { display:flex; gap:10px; margin-top:19px; }
.wizard-review { display:grid; grid-template-columns: minmax(80px,.65fr) minmax(0,1.35fr); margin:0; gap:8px 16px; background:#f0f6fa; padding:16px; border-radius:9px; }
.wizard-review dd { overflow-wrap:anywhere; margin:0; }
[data-wizard] [hidden], [data-economic-form] [hidden] { display:none!important; }
.economic-fields { min-width:0; margin:13px 0; padding:14px; border:1px solid var(--line); border-radius:10px; }
.economic-fields legend { padding:0 7px; font-weight:720; }
.economic-assumption { margin:11px 0; padding-top:9px; border-top:1px solid var(--line); }
.economic-assumption > strong { display:block; margin-bottom:4px; }
.economic-summary { margin:18px 0; }
.genome-map { margin:24px 0; padding:clamp(14px,3.6vw,28px); border-radius:15px; color:#f4f8ff; background:linear-gradient(145deg,#11273f,#1a3a52); }
.genome-header { margin-bottom:14px; }
.report .genome-header h2 { color:#f4f8ff; }
.genome-header .chart-info > summary > span { color:#eff9ff; background:#31516a; border-color:#82abbc; }
.genome-header .chart-info > summary:hover > span,.genome-header .chart-info[open] > summary > span { background:#427187; }
.genome-header .chart-info > summary:focus-visible { outline-color:#b9e5f1; }
.genome-header .chart-info > p { color:#eff8ff; background:#294b65; border-color:#83c5db; }
.genome-grid { display:grid; grid-template-columns:clamp(32px,12vw,105px) minmax(0,1fr); column-gap:5px; }
.genome-visual { position:relative; min-height:100%; }
.genome-helix { position:absolute; inset:0; width:100%; height:100%; display:block; }
.genome-rows { list-style:none; margin:0; padding:0; display:grid; gap:5px; min-width:0; }
.genome-row { --dna-status:#c8d9ed; min-width:0; }
.genome-row[data-tone="steady"] { --dna-status:#73e2c5; }
.genome-row[data-tone="attention"] { --dna-status:#ffcf83; }
.genome-row[data-tone="critical"] { --dna-status:#ffa3a4; }
.genome-row[data-tone="pending"] { --dna-status:#b9d3ff; }
.genome-row a { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(90px,140px); align-items:center; gap:3px 12px;
  min-height:38px; padding:7px 11px; border-radius:7px; border:1px solid #82a7c631; background:#cafeff0c; color:#f3f7ff; text-decoration:none; }
.genome-row a:hover,.genome-row a:focus-visible { background:#92cfeb29; text-decoration:none; border-color:#8dc6ddaa; }
.genome-row a:focus-visible { outline-color:#c0e5ff; }
.genome-name { font-size:13px; font-weight:680; overflow-wrap:anywhere; }
.genome-value { color:#e2f3ff; font-size:12px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.genome-status { display:flex; gap:5px; align-items:center; color:var(--dna-status); font-size:11px; }
.genome-status i { width:7px; height:7px; flex:0 0 7px; border-radius:100%; background:var(--dna-status); }
.genome-target { scroll-margin-top:18px; }
.genome-target:target { outline:2px solid #25839b; outline-offset:4px; background:#ecf6ff; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 10px; border-bottom: 1px solid var(--line); }
@media (max-width: 660px) {
  .login, .grid, .report-chart-grid { grid-template-columns: 1fr; }
  .top { align-items: flex-start; flex-direction: column; padding: 12px 0; gap: 8px; }
  main { padding-top: 24px; }
  .login { padding-top: 0; }
  .genome-row a { grid-template-columns:minmax(0,1fr) auto; gap:2px 8px; padding:6px 8px; }
  .genome-status { grid-column:1 / -1; }
  .genome-value { max-width:98px; white-space:normal; text-align:right; }
  main:has(.report) { width:calc(100% - 28px); }
  .report { padding:14px; }
}
@media print {
  body > header, footer, .back, .report-toolbar { display: none; }
  main { padding: 0; width: 100%; }
  .card { border: 0; box-shadow:none; }
  .report { padding:0; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
  .report-cover,.report-metrics,.executive-note,.chart-row,.genome-map,tr { break-inside:avoid; }
  .report-chart-grid { grid-template-columns:1fr; }
}
@media (max-width:520px) {
  .brand-with-logo img { width:128px; }
  .brand-with-logo { gap:9px; }
  .brand-with-logo span { padding-left:9px; font-size:14px; }
}
.catalog-upload {display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start}
.catalog-upload form {min-width:0}
.catalog-upload input[type=file] {max-width:100%}
#catalog-status:empty {display:none}
.catalog-table {min-width:980px}
.catalog-table :is(th,td) {vertical-align:top;overflow-wrap:anywhere;white-space:pre-line}
.catalog-table td {min-width:100px}
.catalog-history {padding-inline-start:1.25rem}
@media (max-width:680px) {.catalog-upload {grid-template-columns:1fr}}
.report-scope { font-weight:650; color:var(--forest); }
.scope-choice { display:flex; align-items:center; gap:.6rem; padding:.4rem 0; margin:0; }
.scope-choice input[type=checkbox] { width:1.1rem; height:1.1rem; margin:0; flex:none; }
.scope-choice small { display:block; color:var(--muted); font-weight:400; }
.initiative-editor { border:1px solid var(--line); border-radius:10px; padding:1rem; margin:0 0 1rem; min-width:0; }
.initiative-editor legend { font-weight:750; padding:0 .4rem; }
.initiative-tools { display:flex; flex-wrap:wrap; gap:.5rem; }
.initiative-tools[hidden], [data-add-initiative][hidden], [data-dimension-filter][hidden], .dimension-card[hidden] { display:none; }
.report-editorial p, .report-initiatives td { white-space:pre-wrap; overflow-wrap:anywhere; }
.report-initiative-section { margin-top:1.75rem; }
.report-dashboard { margin-top:1.75rem; }
.report-dashboard .chart-heading { flex:1 1 18rem; }
.dimension-card { margin-bottom:1rem; }
.dimension-counts { display:flex; flex-wrap:wrap; gap:.4rem 1rem; margin:.7rem 0; color:var(--muted); }
.dimension-controls th:first-child { min-width:14rem; }
.dimension-controls td:nth-child(2), .dimension-controls td:nth-child(3) { width:8rem; min-width:6rem; }
.dimension-controls meter { height:.48rem; }
.dimension-controls small, .report-initiatives small { display:block; font-weight:550; }
.dimension-status { font-size:.86rem; font-weight:700; }
.dimension-status[data-status=gap] { color:#8a3e0c; }
.dimension-status[data-status=target] { color:#176654; }
.dimension-actions { margin:0; padding-left:1.2rem; }
@media print {
  [data-dimension-filter] { display:none; }
  .table-scroll { overflow:visible; }
}
.control-opening summary { color:var(--forest); font-weight:650; cursor:pointer; }
.verified-answers { line-height:1.4; }
.verified-answers dt { font-weight:650; margin-top:.3rem; }
.verified-answers dd { margin-left:0; color:var(--muted); }
.bank-results { margin:1.25rem 0; }
.parameter-table { margin:.8rem 0; }
.report-data-table { min-width:36rem; overflow-wrap:normal; }
.report-data-table :is(th,td) { vertical-align:top; }
.report-question-appendix { margin-top:2.5rem; }
.report-appendix-heading { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:6px 20px; margin-bottom:14px; }
.report .report-appendix-heading h2 { margin:0 0 4px; }
.report-appendix-heading p { margin:0; color:var(--muted); }
.report-function-detail { margin:0 0 9px; border:1px solid var(--line); border-radius:10px; background:#fff; scroll-margin-top:16px; }
.report-function-detail:target { border-color:#488fa2; }
.report-function-detail > summary { display:grid; grid-template-columns:minmax(0,1fr) auto 14px; align-items:center; gap:8px 14px;
  min-height:52px; padding:10px clamp(11px,2.4vw,22px); list-style:none; color:var(--navy); }
.report-function-detail > summary::-webkit-details-marker { display:none; }
.report-function-detail > summary::after { content:""; grid-column:3; justify-self:center; width:7px; height:7px; border-right:2px solid #417284;
  border-bottom:2px solid #417284; transform:translateY(-2px) rotate(45deg); }
.report-function-detail[open] > summary { background:#eef6fa; border-radius:9px 9px 0 0; box-shadow:inset 0 -1px var(--line); }
.report-function-detail[open] > summary::after { transform:translateY(2px) rotate(225deg); }
.report-function-detail > summary strong { color:#145d72; font-size:.9rem; white-space:nowrap; font-variant-numeric:tabular-nums; }
.report-function-metrics { padding:14px clamp(11px,2.4vw,22px) 0; }
.report-question-groups { padding:14px clamp(11px,2.4vw,22px) 18px; }
.report-question-group + .report-question-group { margin-top:15px; }
.report-question-group h4 { margin:0; padding:6px 9px; border-radius:6px; background:#edf4f8; color:#254b61; font-size:.84rem; }
.report-question-group ul { margin:0; padding:0; list-style:none; }
.report-question { display:grid; grid-template-columns:minmax(0,1fr) minmax(9rem,auto); align-items:start; gap:8px 18px; padding:10px 5px;
  border-bottom:1px solid #e4ebf1; overflow-wrap:break-word; }
.report-question-copy { display:grid; grid-template-columns:3.1rem minmax(0,1fr); align-items:baseline; gap:6px; min-width:0; }
.report-question-copy p,.chart-card .report-question-copy p { margin:0; font-size:14px; line-height:1.5; }
.report-question-id { color:var(--muted); font-size:.76rem; font-weight:670; font-variant-numeric:tabular-nums; }
.report-question-result { display:flex; flex-direction:column; align-items:flex-end; gap:1px; text-align:right; }
.report-question-result span { color:var(--muted); font-size:.73rem; }
.report-question-result strong { color:#145d72; font-size:.9rem; font-variant-numeric:tabular-nums; }
@media (max-width:560px) {
  .report-question { grid-template-columns:minmax(0,1fr); gap:4px; }
  .report-question-copy { grid-template-columns:minmax(0,1fr); gap:1px; }
  .report-question-result { flex-direction:row; align-items:baseline; gap:6px; text-align:left; }
  .report-appendix-heading p { font-size:.85rem; }
}
@media print {
  @page { size:A4; margin:15mm 13mm; }
  .chart-info,.chart-question-link,.chart-function-link span,.chart-question-hint { display:none; }
  .chart-function-link { color:inherit; }
  .chart-heading > h2,.report .chart-heading > h2 { min-height:0; padding:0; }
  .report-data-table { min-width:0; font-size:10pt; }
  .report-data-table :is(th,td) { padding:6px; }
  .report-question-appendix { break-before:page; margin-top:0; }
  .report-function-detail { margin-bottom:12px; }
  .report-function-detail > summary { break-after:avoid; }
  .report-function-detail > summary::after { display:none; }
  .report-question-group h4 { break-after:avoid; }
  .report-question { break-inside:avoid; padding:6px 5px; }
  .report-question-copy p,.chart-card .report-question-copy p { font-size:10pt; }
}

.report-list-heading { margin-bottom:20px; }
.report-list-heading p { margin-bottom:0; }
.report-library { max-width:58rem; }
.report-list-tools { display:flex; align-items:end; justify-content:space-between; gap:12px 20px; flex-wrap:wrap; margin-bottom:14px; }
.report-list-tools label { flex:0 1 28rem; margin:0; }
.report-list-tools p { margin:0 0 8px; font-size:.86rem; }
.report-list-tools[hidden],.report-list-row[hidden] { display:none; }
.report-list { list-style:none; padding:0; margin:0; display:grid; gap:9px; }
.report-list-row { display:flex; justify-content:space-between; align-items:center; gap:10px 24px; flex-wrap:wrap;
  padding:clamp(14px,3vw,23px); border:1px solid var(--line); border-radius:12px; background:#fff; }
.report-list-row:focus-within,.report-list-row:hover { border-color:#87aebf; }
.report-list-copy { min-width:0; overflow-wrap:anywhere; }
.report-list-copy .eyebrow { margin:0 0 5px; }
.report-list-copy h2 { margin:0; font-size:clamp(18px,2.4vw,23px); }
.report-list-copy a { display:inline-block; padding-block:4px; }
.report-list-date { margin:0; font-size:.86rem; }
.report-library .empty { margin-top:12px; }
.report-section-nav { gap:4px 10px; padding:8px; border-bottom:1px solid var(--line); margin:-4px 0 24px; }
.report-section-nav a { padding:7px 10px; border-radius:6px; font-weight:650; font-size:.9rem; }
.report-section-nav a:hover { background:#eaf4f9; }
.report :is(#resumen,#resultados,#impacto,#iniciativas,#preguntas-por-funcion) { scroll-margin-top:16px; }
.report #resultados > .bank-results { margin-bottom:20px; }
@media print {
  .report-section-nav { display:none; }
}

.report { --report-scroll-offset:65px; }
.report-section-nav { position:sticky; top:0; z-index:2; gap:5px 8px; padding:6px; border:1px solid var(--line); border-radius:10px; background:#f3f7fb; }
.report-section-nav a { text-decoration:none; }
.report-section-nav a[aria-current="location"] { background:#122a42; color:white; }
.report-panel[hidden] { display:none; }
.report :is(.report-panel,.report-function-detail,.genome-target,#puntaje-por-funcion) { scroll-margin-top:var(--report-scroll-offset); }
.report-panel > :is(.chart-card,.genome-map) + :is(.chart-card,.genome-map) { margin-top:18px; }
.report .report-panel > h2:first-child, .report .report-diagnosis h2 { margin-top:0; }
.report-diagnosis { background:#edf6f8; border:1px solid #ccdee6; border-radius:12px; padding:clamp(15px,3vw,25px); }
.report-diagnosis p:last-child { margin:0; max-width:80ch; }
.report-finding { padding-top:10px; border-top:1px solid #ccdee6; }
.report-verdict { display:inline-block; border-radius:7px; background:white; color:#123c51; padding:4px 10px; font-weight:780; }
.diagnosis-counts { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr)); gap:10px; }
.profile-chart { margin-bottom:16px; }
.profile-chart .chart-row p { color:var(--muted); margin:6px 0 0; }
.profile-chart .report-meter { height:8px; }
.report-meter.gap { --bar:#98602e; }
.report-panel .report-question-appendix { margin-top:0; }
@media (max-width:680px) {
  .report { --report-scroll-offset:110px; }
  .report-section-nav a { padding:7px 8px; }
}
.report-editorial details { margin:12px 0; }
.report-editorial summary { color:var(--forest); cursor:pointer; }
@media print {
  .report-panel[hidden] { display:block; }
}


main:has(.report) { padding-top:18px; }
.report { padding:clamp(13px,2.2vw,26px); }
.report-cover { display:flex; flex-wrap:wrap-reverse; flex-direction:row-reverse; justify-content:space-between; align-items:center; gap:10px 22px; padding:clamp(12px,1.8vw,21px); margin-bottom:10px; }
.report-cover-meta { flex:1 1 28rem; min-width:0; }
.report-cover-identities { max-width:100%; }
.report-cover-identities .logo { margin-bottom:0; }
.report-cover h1 { font-size:clamp(23px,2.4vw,30px); max-width:none; margin-bottom:5px; }
.report-cover p { margin-bottom:5px; }
.report-cover-context { display:flex; align-items:center; flex-wrap:wrap; gap:5px 12px; color:var(--muted); font-size:.88rem; }
.report-cover .report-brands { margin-bottom:8px; }
.report-section-nav { margin-bottom:13px; }
.genome-executive { margin:0 0 22px; padding:clamp(16px,2.5vw,32px); border-radius:20px; background:radial-gradient(ellipse at 90% 0%,#244e64 0,transparent 62%),#0e2339; }
.genome-hero-top { display:grid; grid-template-columns:minmax(195px,.65fr) minmax(0,1.35fr); align-items:center; gap:16px 22px; }
.report .genome-hero-top h2 { margin:0 0 12px; font-size:clamp(23px,2.5vw,30px); line-height:1.12; font-weight:690; letter-spacing:-.028em; }
.genome-verdict { display:inline-block; border:1px solid #6a91a7; background:#25465d; padding:4px 10px; border-radius:100px; font-weight:700; margin:0; }
.genome-verdict[data-tone="attention"] { color:#ffdaaa; }
.genome-verdict[data-tone="critical"] { color:#ffc6ca; }
.genome-verdict[data-tone="steady"] { color:#9af0d7; }
.genome-hero-metrics { grid-template-columns:repeat(auto-fit,minmax(min(100%,141px),1fr)); gap:10px; margin:0; }
.genome-kpi { min-width:0; background:#a9d6f211; padding:12px; border:1px solid #9bc1db44; border-radius:11px; }
.genome-kpi dt { color:#d0e2ed; font-size:12px; line-height:1.35; font-weight:600; }
.genome-kpi dd { margin:7px 0 0; font-weight:760; font-size:clamp(15px,1.65vw,22px); overflow-wrap:normal; line-height:1.15; font-variant-numeric:tabular-nums; }
.genome-executive .genome-header { border-top:1px solid #a2c2d141; padding-top:10px; margin:14px 0 3px; }
.genome-executive .genome-header h2 { font-size:21px; margin-bottom:3px; }
.genome-executive .genome-header p { color:#d0e2ed; margin-bottom:4px; font-size:13px; }
.genome-executive .genome-row a { height:100%; }
.genome-executive .genome-status { line-height:1.25; }
@media (min-width:1040px) {
  .genome-executive .genome-grid { grid-template-columns:minmax(0,1fr); }
  .genome-executive .genome-visual { height:92px; min-height:0; }
  .genome-executive .genome-rows { display:flex; gap:5px; }
  .genome-executive .genome-row { flex:1 1 0; }
  .genome-executive .genome-row a { display:flex; flex-direction:column; align-items:flex-start; padding:8px 7px; }
  .genome-executive .genome-name { line-height:1.25; min-height:2.55em; font-size:12px; }
  .genome-executive .genome-value { font-size:14px; font-weight:750; }
}
@media (max-width:760px) {
  .report-cover { flex-direction:row; align-items:start; }
  .genome-hero-top { grid-template-columns:minmax(0,1fr); gap:14px; }
  .genome-hero-metrics { grid-template-columns:repeat(auto-fit,minmax(min(100%,104px),1fr)); }
}
@media print {
  .genome-executive { print-color-adjust:exact; -webkit-print-color-adjust:exact; }
}

.roadmap { margin:24px 0; padding:clamp(14px,3vw,28px); border:1px solid #cedbe6; border-radius:17px; background:#f7fafc; }
.roadmap-waves { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin:16px 0 12px; }
.roadmap-wave { display:grid; align-content:start; min-height:100px; gap:4px; padding:11px; border-radius:10px; border-top:4px solid var(--wave,#268196); background:#fff; }
[data-wave="0"] { --wave:#268196; } [data-wave="1"] { --wave:#426fb4; }
[data-wave="2"] { --wave:#725796; } [data-wave="3"] { --wave:#91713b; }
.roadmap-wave span { color:#264760; font-size:12px; font-weight:800; }
.roadmap-wave strong { color:#162e45; line-height:1.2; }
.roadmap-wave small,.roadmap-gantt small { color:#486278; font-size:12px; }
.roadmap-effort { font-size:.9rem; color:#294b62; }
.roadmap-scroll { background:#fff; border:1px solid var(--line); border-radius:11px; }
.roadmap-gantt { min-width:630px; width:100%; margin:0; table-layout:fixed; }
.roadmap-gantt th:first-child { width:24%; }
.roadmap-gantt th:last-child { width:14%; }
.roadmap-gantt small { display:block; font-weight:500; margin-top:4px; }
.gantt-axis { display:grid; grid-template-columns:repeat(3,1fr) 2.3fr .7fr; font-size:11px; font-weight:680; }
.gantt-axis span:last-child { text-align:right; white-space:nowrap; }
.gantt-track { background:repeating-linear-gradient(to right,#edf3f8 0,#edf3f8 calc(16.6667% - 1px),#b7c7d8 calc(16.6667% - 1px),#b7c7d8 16.6667%); height:15px; border-radius:5px; position:relative; }
.gantt-track span { position:absolute; inset:2px auto 2px var(--start,0%); width:var(--duration,0%); background:var(--wave); border-radius:4px; }
.roadmap-details,.solution-function { background:white; border:1px solid var(--line); border-radius:10px; margin-top:12px; padding:10px 14px; }
.roadmap-details summary,.solution-function summary { color:#174c65; font-weight:740; cursor:pointer; padding:4px 0; }
.roadmap-cards,.tdi-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:11px; margin-top:12px; }
.roadmap-cards article,.tdi-cards article { border:1px solid var(--line); background:#f9fbfd; border-radius:10px; padding:13px; }
.roadmap-cards h3,.tdi-cards h3 { font-size:16px; margin-bottom:5px; }
.roadmap-cards p,.tdi-cards p { font-size:13px; }
.roadmap-cards dl { font-size:13px; margin-bottom:0; }
.roadmap-cards dd:last-child,.tdi-cards p:last-child { margin-bottom:0; }
.solution-function small { font-size:12px; font-weight:550; color:var(--muted); margin-left:6px; }
#roadmap,#soluciones-tdi { scroll-margin-top:var(--report-scroll-offset); }
@media(max-width:680px) { .roadmap-waves { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media print { .roadmap-gantt { min-width:0; font-size:9pt; } .roadmap-wave,.gantt-track { print-color-adjust:exact; -webkit-print-color-adjust:exact; } }

.finance-body { padding:11px 14px; }
.finance-formula { background:#ecf4f9; padding:9px 11px; border-radius:7px; color:#254b61; }
.finance-inputs,.finance-scenarios { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr)); gap:8px; }
.finance-inputs div,.finance-scenario { min-width:0; border:1px solid var(--line); border-radius:8px; background:#f7fafc; padding:9px 11px; }
.finance-inputs dt,.finance-scenario dt { color:#4b6276; font-size:.8rem; }
.finance-inputs dd,.finance-scenario dd { margin:0; color:#173850; font-weight:700; }
.finance-scenario { padding:12px; }
.finance-scenario h3 { font-size:14px; margin-bottom:5px; }
.finance-scenario > strong { color:#173850; font-size:16px; }
.finance-scenario dl { margin-bottom:0; font-size:12px; }

.wizard-progress { color:#164960; font-size:13px; font-weight:750; margin-bottom:22px; }
.wizard-progress:not([hidden])::after { content:""; display:block; height:5px; border-radius:9px; margin-top:6px; background:linear-gradient(to right,#287c91 var(--progress,0%),#e0ebf4 var(--progress,0%)); }
.wizard-step h2 { color:#183a52; margin-bottom:16px; }
.model-version-sheet { border:1px solid var(--line); padding:9px 14px; border-radius:9px; background:#f2f7fb; margin:0 0 14px; }
.model-version-sheet summary { cursor:pointer; color:#174c65; font-weight:750; }
.model-version-sheet dl { margin-bottom:0; }
.model-registry { margin-bottom:20px; }
.report-section-nav a[href="#roadmap"] { border:1px solid #83adbd; background:#e1f1f4; color:#14556e; }

.control-settings { max-width: 900px; }
.control-settings-intro { margin-bottom: 20px; }
.control-settings-intro h1 { font-size: clamp(25px, 3.2vw, 34px); font-weight: 690; }
.control-settings-section { margin-bottom: 14px; }
.control-settings-section h2 { font-size: 21px; }
.control-targets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.control-target { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.control-target label, .control-settings-section label:last-child { margin-bottom: 0; }
.control-target select { font-weight: 550; text-overflow: ellipsis; }
.control-target p { font-size: 13px; margin: 6px 0 0; }
.control-rubric { margin-top: 14px; }
.control-rubric summary { color: var(--forest); cursor: pointer; font-weight: 650; }
.control-rubric li + li { margin-top: 3px; }
.control-settings-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
@media (max-width: 760px) {
  .control-targets { grid-template-columns: 1fr; }
}

.report-radar { margin-block: 18px; }
.report-radar[hidden], .radar-canvas[hidden] { display:none; }
.radar-layout { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); align-items:center; gap:12px 24px; }
.radar-canvas { display:block; width:100%; max-width:490px; height:auto; justify-self:center; }
.radar-legend { display:flex; flex-wrap:wrap; gap:8px 18px; padding:0; margin:10px 0 0; list-style:none; color:var(--muted); font-size:13px; }
.radar-legend li::before { content:""; display:inline-block; width:16px; border-top:2px solid #315da5; margin:0 6px 3px 0; }
.radar-legend li:nth-child(2)::before { border-top:2px dashed #793b87; }
.radar-legend li:nth-child(3)::before { border-top:2px dotted #007769; }
.radar-axis-list { margin:0; padding:0 0 0 24px; color:var(--muted); font-size:13px; }
.radar-axis-list li { padding:3px 0 3px 3px; overflow-wrap:anywhere; }
.radar-axis-list li::marker { color:var(--navy); font-weight:680; font-variant-numeric:tabular-nums; }
.radar-data { margin-top:10px; color:var(--forest); }
.radar-data summary { cursor:pointer; font-weight:650; }
.radar-data table { margin-top:10px; color:var(--ink); }
.radar-detail label { max-width:360px; }
.radar-values { margin:0; }
.radar-values > div { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:8px 0; border-bottom:1px solid var(--line); }
.radar-values dd { margin:0; color:var(--navy); font-weight:680; font-variant-numeric:tabular-nums; }
@media (max-width: 680px) {
  .radar-layout { grid-template-columns:1fr; }
  .radar-axis-list { columns:2 110px; column-gap:24px; }
  .radar-axis-list li { break-inside:avoid; }
}
@media print {
  .report-radar { break-inside:avoid; }
  .radar-layout { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
}
.report-radar .chart-heading h2[id] { scroll-margin-top: 70px; }
.radar-layout { max-width: 920px; margin-inline: auto; }
@media (max-width: 680px) {
  .report-radar .chart-heading h2[id] { scroll-margin-top: 120px; }
}

.operations-overview { margin-bottom:20px; }
.operations-metrics { margin:14px 0 0; }
.operations-functions { margin-top:20px; }
.operations-function { margin-bottom:10px; }
.operations-function-body { padding:13px 14px 14px; }
.operations-function > summary { padding:11px 14px; cursor:pointer; }
.operations-function > summary::after { grid-row:1; }
.operations-function > summary .report-meter { grid-column:1 / -1; grid-row:2; margin:0; }
.operations-scores { grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:0 0 9px; }
.operations-scores > div { border:1px solid var(--line); border-radius:8px; padding:8px 10px; min-width:0; }
.operations-scores dt { color:var(--muted); font-size:.84rem; }
.operations-scores dd { color:var(--navy); margin:3px 0 0; font-weight:680; font-variant-numeric:tabular-nums; }
.operations-gap { margin:4px 0; font-size:.9rem; overflow-wrap:anywhere; }
.operations-evidence,.operations-action { margin-top:14px; }
.operations-evidence .report-question-group h4 { display:none; }
.operations-action { padding:11px 13px; border-left:3px solid #5b8799; background:#f0f6fa; border-radius:0 8px 8px 0; }
.operations-action p,.operations-action ul { margin:0; }
.operations-action ul { padding-left:1.25em; }
.operations-action small { display:block; color:var(--muted); margin:3px 0; }
.operations-followup { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
@media print { .operations-function-body { padding-inline:0; } }
.operations-plan,.operations-options { margin-top:17px; }
.operations-plan-items { display:grid; gap:9px; }
.operations-plan-items article { border:1px solid var(--line); border-radius:8px; padding:10px 12px; }
.operations-plan-items h4 { margin:0 0 7px; color:var(--navy); font-size:.92rem; }
.operations-plan-items dl { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 12px; margin:0; font-size:.86rem; }
.operations-plan-items dl > div:last-child { grid-column:1 / -1; }
.operations-plan-items dt { color:var(--muted); }
.operations-plan-items dd,.operations-options ul { margin:0; }
.operations-options ul { padding-left:1.15em; }
@media (max-width: 540px) {
  .operations-plan-items dl { grid-template-columns:1fr 1fr; }
}

.supplement-management { margin:0 0 18px; }
.supplement-management .card { margin-bottom:14px; }
.supplement-management textarea { font-family:ui-monospace,monospace; font-size:.87rem; }
.supplement-management [data-supplement-status] { color:var(--muted); }
.report-supplement { max-width:1040px; }
.report-supplement > h3 { font-size:21px; color:var(--navy); margin:24px 0 9px; }
.report-supplement > h4 { margin:16px 0 8px; }
.report-supplement > p,.report-supplement > ul { max-width:83ch; }
.report-supplement > ul { padding-left:1.4em; }
.report-supplement .chart-card,.report-supplement .roadmap { margin:15px 0; }
@media print { .supplement-management { display:none; } }
