.investius-valorador-root {
--ink: #353534;
--ink-soft: #5c5c5a;
--blue: #426784;
--blue-deep: #2e4a61;
--blue-pale: #dbe3e9;
--paper: #eceeea;
--paper-raised: #f6f6f3;
--line: #c9cfc8;
--gold: #2e4a61;
--gold-soft: #dbe3e9;
--white: #ffffff;
--warn: #9c4a3c;
--warn-bg: #f0dbd6;
--good: #4f7a5c;
--good-bg: #dceadd;
--mid: #8a6d1f;
--mid-bg: #efe2c6;
--radius: 2px;
background: var(--paper);
color: var(--ink);
font-family: 'IBM Plex Sans', sans-serif;
-webkit-font-smoothing: antialiased;
}
.investius-valorador-root * { box-sizing: border-box; }
#investius-valorador-app { max-width: 760px; margin: 0 auto; padding: 0 20px 64px; }
.iv-brandbar { display: flex; align-items: baseline; justify-content: space-between; padding: 28px 0 18px; border-bottom: 2px solid var(--ink); }
.iv-brand { font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px; letter-spacing: 0.01em; color: var(--ink); }
.iv-brand span { color: var(--blue); }
.iv-tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.iv-progress-track { display: flex; gap: 4px; margin: 22px 0 28px; }
.iv-progress-seg { height: 3px; flex: 1; background: var(--line); border-radius: 2px; }
.iv-progress-seg.done { background: var(--blue); }
.iv-progress-seg.current { background: var(--gold); }
.iv-card { background: var(--paper-raised); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 34px 32px; animation: iv-fadein .35s ease; }
@keyframes iv-fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.iv-step-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.iv-qtitle { font-family: 'Fraunces', serif; font-weight: 500; font-size: 25px; line-height: 1.28; margin: 0 0 20px; max-width: 520px; }
.iv-help { font-size: 13px; color: var(--ink-soft); margin: -12px 0 20px; line-height: 1.5; }
.iv-options { display: flex; flex-direction: column; gap: 10px; }
.iv-opt-btn { text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 18px; font-size: 15px; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; display: flex; align-items: center; justify-content: space-between; width: 100%; font-family: inherit; }
.iv-opt-btn:hover { border-color: var(--blue); background: var(--blue-pale); }
.iv-opt-btn .iv-arrow { opacity: 0; color: var(--blue-deep); transition: opacity .15s; font-family: 'IBM Plex Mono', monospace; }
.iv-opt-btn:hover .iv-arrow { opacity: 1; }
.iv-field-label { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 6px; }
.iv-field-label:first-of-type { margin-top: 0; }
.investius-valorador-root input[type=text], .investius-valorador-root input[type=number], .investius-valorador-root input[type=email], .investius-valorador-root input[type=tel], .investius-valorador-root select {
width: 100%; padding: 12px 14px; font-size: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font-family: inherit; appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c5c5a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
background-repeat: no-repeat; background-position: right 14px center;
}
.investius-valorador-root input { background-image: none; }
.investius-valorador-root select { padding-right: 36px; cursor: pointer; }
.investius-valorador-root select:disabled { color: var(--ink-soft); cursor: default; background-image: none; }
.investius-valorador-root input:focus, .investius-valorador-root select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.iv-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .iv-row2 { grid-template-columns: 1fr; } }
.iv-form-actions { margin-top: 26px; display: flex; justify-content: space-between; align-items: center; }
.iv-btn-primary { background: var(--blue); color: var(--white); border: none; padding: 13px 24px; font-weight: 600; font-size: 14.5px; border-radius: var(--radius); cursor: pointer; font-family: inherit; }
.iv-btn-primary:hover { background: var(--blue-deep); }
.iv-btn-primary:disabled { opacity: .6; cursor: default; }
.iv-btn-back { background: none; border: none; color: var(--ink-soft); font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; cursor: pointer; padding: 8px 0; }
.iv-btn-back:hover { color: var(--ink); }
.iv-estado-grid { display: flex; flex-direction: column; gap: 8px; }
.iv-estado-opt { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; cursor: pointer; }
.iv-estado-opt:hover { border-color: var(--blue); }
.iv-estado-opt.sel { border-color: var(--blue); background: var(--blue-pale); }
.iv-estado-dot { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--blue-deep); flex-shrink: 0; }
.iv-estado-opt.sel .iv-estado-dot { background: var(--blue-deep); }
.iv-gate-note { background: var(--blue-pale); border-left: 3px solid var(--blue); padding: 14px 16px; font-size: 13.5px; line-height: 1.55; color: var(--blue-deep); margin-bottom: 22px; border-radius: var(--radius); }
.iv-warn-note { background: var(--warn-bg); border-left: 3px solid var(--warn); color: #6b3226; }
.iv-reform-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 18px 0 10px; }
@media (max-width: 560px) { .iv-reform-cards { grid-template-columns: repeat(3, 1fr); } }
.iv-reform-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 14px 8px 11px; text-align: center; cursor: pointer; user-select: none; transition: border-color .15s, background .15s; }
.iv-reform-card:hover { border-color: var(--blue); }
.iv-reform-card.active { border-color: var(--gold); background: var(--gold-soft); }
.iv-reform-card .iv-rc-icon { display: block; margin-bottom: 7px; color: var(--ink-soft); }
.iv-reform-card .iv-rc-icon svg { width: 21px; height: 21px; display: block; margin: 0 auto; }
.iv-reform-card.active .iv-rc-icon { color: var(--gold); }
.iv-reform-card .iv-rc-label { font-size: 11.5px; font-weight: 600; }
.iv-reform-card .iv-rc-check { position: absolute; top: 6px; right: 6px; width: 14px; height: 14px; border-radius: 50%; border: 1px solid #c7c2b4; background: var(--white); font-size: 9px; color: transparent; display: flex; align-items: center; justify-content: center; }
.iv-reform-card.active .iv-rc-check { background: var(--gold); border-color: var(--gold); color: var(--white); }
.iv-reform-total { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--ink-soft); text-align: right; margin-top: 6px; }
.iv-report-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid var(--ink); padding-bottom: 20px; margin-bottom: 32px; }
.iv-report-head h1 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 23px; margin: 0 0 4px; }
.iv-report-head .iv-sub { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--ink-soft); }
.iv-seal { width: 72px; height: 72px; border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(-8deg); flex-shrink: 0; }
.iv-seal-inner { font-family: 'IBM Plex Mono', monospace; font-size: 8.5px; letter-spacing: 0.05em; color: var(--gold); line-height: 1.3; text-transform: uppercase; }
.iv-value-hero { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 28px 30px; text-align: center; margin: 8px 0 28px; }
.iv-value-hero .iv-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.iv-value-hero .iv-amount { font-family: 'Fraunces', serif; font-weight: 600; font-size: 38px; color: var(--blue-deep); line-height: 1.1; }
.iv-value-hero .iv-sub { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.iv-section-h { font-family: 'Fraunces', serif; font-weight: 600; font-size: 17px; margin: 42px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.iv-ledger-table { width: 100%; border-collapse: collapse; font-family: 'IBM Plex Mono', monospace; font-size: 13px; margin: 16px 0 10px; }
.iv-ledger-table td, .iv-ledger-table th { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.iv-ledger-table th { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.iv-ledger-table td.num { text-align: right; font-weight: 500; }
.iv-chip { display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; padding: 4px 10px; border-radius: 10px; background: var(--blue-pale); color: var(--blue-deep); margin: 0 8px 10px 0; }
.iv-chip.alta { background: var(--good-bg); color: var(--good); }
.iv-chip.baja { background: var(--warn-bg); color: var(--warn); }
.iv-verdict-block { border-radius: 8px; padding: 24px 26px; text-align: center; margin: 22px 0 30px; border: 1px solid transparent; }
.iv-verdict-block .iv-icon { font-size: 28px; margin-bottom: 6px; }
.iv-verdict-block h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 19px; margin: 0 0 8px; }
.iv-verdict-block p { font-size: 13.5px; line-height: 1.6; margin: 0; max-width: 48ch; margin: 0 auto; }
.iv-verdict-block.gain { background: var(--good-bg); border-color: #c6d8cf; }
.iv-verdict-block.gain h3 { color: var(--good); }
.iv-verdict-block.warn { background: var(--mid-bg); border-color: #e1d3a3; }
.iv-verdict-block.warn h3 { color: var(--mid); }
.iv-verdict-block.loss { background: var(--warn-bg); border-color: #e3c3ba; }
.iv-verdict-block.loss h3 { color: var(--warn); }
.iv-disclaimer { background: var(--paper); border: 1px solid var(--line); padding: 18px 20px; border-radius: var(--radius); font-size: 12px; color: var(--ink-soft); line-height: 1.7; margin-top: 34px; }
.iv-footer-note { margin-top: 24px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.6; border-top: 1px solid var(--line); padding-top: 18px; }