.olhde{--navy:var(--olv10-accent-dark);--navy2:#152d43;--gold:var(--olv10-accent);--paper:#fff;--line:var(--olv10-accent);--muted:#66717d;--danger:#a83232;--ok:#2f7d45;color:var(--navy);font-family:inherit}.olhde *{box-sizing:border-box}.olhde-hero{display:flex;justify-content:space-between;gap:24px;padding:29px;border-radius:5px;background:linear-gradient(135deg,var(--navy),#173d5d);color:#fff;margin-bottom:16px;box-shadow:0 10px 30px rgba(11,28,46,.14)}.olhde-hero span,.olhde-card-head>div>span,.olhde-workspace-head>div>span{font-size:11px;font-weight:800;letter-spacing:.13em;color:var(--gold)}.olhde-hero h2{margin:6px 0 8px;color:#fff;font-size:31px}.olhde-hero p{max-width:780px;margin:0;color:#e6edf2}.olhde-hero aside{min-width:235px;display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid rgba(255,255,255,.18);border-radius:5px;background:rgba(255,255,255,.06)}.olhde-hero aside small{color:#dbe3ea}.olhde-warning,.olhde-notice{display:flex;gap:8px;align-items:flex-start;padding:13px 16px;border-radius:5px;margin-bottom:16px;background:var(--olv10-soft);border-left:4px solid var(--gold)}.olhde-notice{background:#e8f4ea;border-color:var(--ok)}.olhde-notice.error{background:#fbe8e8;border-color:var(--danger)}.olhde-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.olhde-tabs a{display:inline-flex;align-items:center;min-height:42px;padding:9px 15px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--navy);text-decoration:none;font-weight:750}.olhde-tabs a.is-active{background:var(--navy);border-color:var(--navy);color:#fff}.olhde-card{background:#fff;border:1px solid var(--line);border-radius:5px;padding:22px;margin:18px 0;box-shadow:0 7px 22px rgba(11,28,46,.05)}.olhde-card-head,.olhde-workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.olhde-card-head.compact{margin-bottom:12px}.olhde-card-head h3,.olhde-workspace-head h3{margin:4px 0 3px}.olhde-card-head p,.olhde-workspace-head p{margin:0;color:var(--muted)}.olhde-grid{display:grid;gap:15px}.olhde-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.olhde-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.olhde-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.olhde label{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:13px;margin-bottom:14px}.olhde label small{font-weight:400;color:var(--muted)}.olhde input,.olhde select,.olhde textarea{width:100%;min-height:43px;padding:10px 12px;border:1px solid #c9cbd0;border-radius:5px;background:#fff;color:var(--navy);font:inherit}.olhde textarea{resize:vertical}.olhde input:focus,.olhde select:focus,.olhde textarea:focus{outline:2px solid color-mix(in srgb,var(--olv10-accent) 20%,transparent);border-color:var(--gold)}.olhde input[type=checkbox]{width:auto;min-height:auto}.olhde-confirm{flex-direction:row!important;align-items:flex-start!important;font-weight:500!important;padding:12px 14px;background:var(--paper);border-radius:6px}.olhde-primary,.olhde button,.olhde a.olhde-secondary,.olhde-workspace-head a,.olhde-command-bar a,.olhde-history a,.olhde-case-grid a,.olhde-payments a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border-radius:5px;border:1px solid var(--navy);background:var(--navy);color:#fff;text-decoration:none;font-weight:750;cursor:pointer}.olhde .olhde-secondary{background:#fff!important;color:var(--navy)!important}.olhde .olhde-gold,.olhde button.olhde-gold{background:var(--gold)!important;border-color:var(--gold)!important;color:#fff!important}.olhde button:disabled{opacity:.6;cursor:wait}.olhde-actions{display:flex;flex-wrap:wrap;gap:10px}.olhde-case-context{display:flex;flex-direction:column;gap:3px;padding:13px 15px;border-radius:5px;background:var(--paper);margin:0 0 16px}.olhde-case-context span{font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--gold)}.olhde-case-context small{color:var(--muted)}.olhde-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.olhde-metrics article{padding:18px;border:1px solid var(--line);border-radius:5px;background:var(--paper)}.olhde-metrics article.attention{border-color:var(--gold);box-shadow:0 0 0 2px color-mix(in srgb,var(--olv10-accent) 10%,transparent)}.olhde-metrics span{display:block;font-size:12px;color:var(--muted)}.olhde-metrics strong{display:block;margin-top:8px;font-size:25px}.olhde-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.olhde-case-grid article{display:flex;flex-direction:column;gap:7px;padding:17px;border:1px solid var(--line);border-radius:6px}.olhde-case-grid article>span{font-size:11px;color:var(--gold);font-weight:800}.olhde-case-grid h4,.olhde-case-grid p{margin:0}.olhde-case-grid p{color:var(--muted);font-size:13px}.olhde-case-grid article>div{display:flex;flex-direction:column;gap:3px;padding:9px 0}.olhde-case-grid b{font-size:12px}.olhde-case-grid a{align-self:flex-start;min-height:34px;padding:6px 10px;font-size:12px}.olhde-lines-editor{padding:17px;border:1px solid var(--line);border-radius:5px;background:var(--paper);margin:18px 0}.olhde-line{display:grid;grid-template-columns:2.1fr .7fr .8fr 1fr .75fr 42px;gap:9px;align-items:end;padding:11px;background:#fff;border:1px solid var(--line);border-radius:5px;margin-bottom:9px}.olhde-line label{margin:0}.olhde-remove-line{width:42px!important;min-width:42px!important;height:43px;padding:0!important;background:#fff!important;border-color:#dca9a9!important;color:var(--danger)!important;font-size:22px!important}.olhde-history{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.olhde-history article{display:flex;flex-direction:column;gap:5px;padding:16px;border:1px solid var(--line);border-radius:6px}.olhde-history article.is-selected{border-color:var(--gold);box-shadow:0 0 0 2px color-mix(in srgb,var(--olv10-accent) 12%,transparent)}.olhde-history-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.olhde-history-top>span{font-size:11px;color:var(--gold);font-weight:800}.olhde-history em{font-size:10px;font-style:normal;font-weight:800;padding:5px 8px;border-radius:4px;background:#e9eef2}.olhde-history em.status-accepted,.olhde-history em.status-paid{background:#e5f3e8;color:#256c39}.olhde-history em.status-rejected,.olhde-history em.status-canceled,.olhde-history em.status-overdue{background:#fae6e6;color:#922c2c}.olhde-history em.status-sent,.olhde-history em.status-viewed,.olhde-history em.status-issued,.olhde-history em.status-partially_paid{background:#e7eef8;color:#2a5689}.olhde-history h4,.olhde-history p,.olhde-history small{margin:0}.olhde-history p,.olhde-history small{color:var(--muted)}.olhde-history article>strong{font-size:21px;margin-top:5px}.olhde-history article>div:last-child{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.olhde-history a{min-height:32px;padding:6px 9px;font-size:12px}.olhde-workspace{margin-top:25px}.olhde-workspace-head>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.olhde-status-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:18px}.olhde-status-strip span{display:flex;flex-direction:column;padding:11px 13px;background:var(--paper);border-radius:5px;font-size:12px;color:var(--muted)}.olhde-status-strip strong{color:var(--navy);font-size:15px;margin-top:3px}.olhde-document-output{padding:20px;border:1px solid var(--line);border-radius:5px;background:#fff;overflow-x:auto}.olhde-doc-brand{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;background:var(--navy);color:#fff;border-radius:6px}.olhde-doc-brand strong{font-size:20px}.olhde-doc-brand em{font-style:normal;color:var(--gold)}.olhde-doc-brand span{font-size:10px;letter-spacing:.12em}.olhde-kicker{font-size:11px;font-weight:800;letter-spacing:.13em;color:var(--gold);margin-top:24px}.olhde-doc h1{font-size:31px;margin:7px 0 20px}.olhde-doc h2{font-size:18px;margin:25px 0 9px;padding-bottom:7px;border-bottom:1px solid var(--line)}.olhde-doc p,.olhde-doc li{line-height:1.62}.olhde-doc table{width:100%;border-collapse:collapse;margin:12px 0 20px}.olhde-doc th,.olhde-doc td{border:1px solid var(--line);padding:10px;text-align:left;vertical-align:top}.olhde-doc th{background:var(--paper)}.olhde-meta th{width:16%;background:var(--navy);color:#fff}.olhde-parties th,.olhde-lines th{background:var(--navy);color:#fff}.olhde-totals{width:58%!important;margin-left:auto!important}.olhde-totals th{width:66%}.olhde-totals .grand th,.olhde-totals .grand td,.olhde-totals .balance th,.olhde-totals .balance td{background:var(--navy);color:#fff;font-size:16px}.olhde-callout{display:flex;justify-content:space-between;align-items:center;padding:20px;border-radius:5px;background:var(--navy);color:#fff}.olhde-callout span{font-size:29px;color:var(--gold);font-weight:800}.olhde-alert,.olhde-disclaimer{padding:14px;border-left:4px solid var(--gold);background:var(--olv10-soft);margin:18px 0}.olhde-disclaimer{font-size:12px;color:var(--muted);margin-top:28px}.olhde-muted{color:var(--muted)}.olhde-command-bar{display:flex;flex-wrap:wrap;gap:8px;padding:14px 0}.olhde-command-bar a{min-height:36px;padding:7px 11px;font-size:12px}.olhde-command-bar a.danger{background:#fff;border-color:#d9a5a5;color:var(--danger)}.olhde-split{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;margin-top:20px}.olhde-split>section{padding:17px;border:1px solid var(--line);border-radius:6px}.olhde-payments{display:flex;flex-direction:column;gap:9px;margin-top:13px}.olhde-payments article{display:flex;justify-content:space-between;gap:13px;padding:12px;border:1px solid var(--line);border-radius:5px;background:var(--paper)}.olhde-payments article>div:first-child{display:flex;flex-direction:column}.olhde-payments strong{font-size:18px}.olhde-payments span,.olhde-payments small{color:var(--muted)}.olhde-payments article>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px}.olhde-payments a{min-height:30px;padding:5px 8px;font-size:11px}.olhde-events{display:flex;flex-direction:column;gap:10px;list-style:none;margin:0;padding:0}.olhde-events li{display:flex;flex-direction:column;padding:12px;border-left:3px solid var(--gold);background:var(--paper)}.olhde-events span,.olhde-events small{color:var(--muted)}.olhde-empty{padding:25px;text-align:center;color:var(--muted);background:var(--paper);border-radius:6px}.olhde-empty.small{padding:14px}.olhde-client-decision{padding:18px;margin:20px 0;border:1px solid var(--gold);border-radius:5px;background:var(--olv10-soft)}.olhde-client-decision h3{margin-top:0}.olhde-client-decision>div{display:flex;gap:9px;flex-wrap:wrap}@media(max-width:1180px){.olhde-grid.four,.olhde-metrics{grid-template-columns:repeat(2,1fr)}.olhde-case-grid,.olhde-history{grid-template-columns:repeat(2,1fr)}.olhde-line{grid-template-columns:2fr .8fr 1fr 1fr}.olhde-line label:nth-of-type(5){grid-column:1/2}.olhde-remove-line{grid-column:4/5}}@media(max-width:800px){.olhde-hero,.olhde-card-head,.olhde-workspace-head{flex-direction:column}.olhde-hero aside{min-width:0;width:100%}.olhde-grid.two,.olhde-grid.three,.olhde-grid.four,.olhde-metrics,.olhde-case-grid,.olhde-history,.olhde-status-strip,.olhde-split{grid-template-columns:1fr}.olhde-line{grid-template-columns:1fr 1fr}.olhde-line label:first-child{grid-column:1/-1}.olhde-remove-line{grid-column:auto}.olhde-workspace-head>div:last-child{justify-content:flex-start}.olhde-totals{width:100%!important}.olhde-payments article{flex-direction:column}.olhde-payments article>div:last-child{justify-content:flex-start}}@media print{.olhde-hero,.olhde-warning,.olhde-notice,.olhde-tabs,.olhde-card:not(.olhde-workspace),.olhde-workspace-head>div:last-child,.olhde-command-bar,.olhde-split{display:none!important}.olhde-workspace{display:block!important;position:static;width:100%;box-shadow:none;border:0;padding:0}.olhde-status-strip{display:none}.olhde-document-output{border:0;padding:0}.olhde-doc-brand,.olhde-lines th,.olhde-meta th,.olhde-totals .grand th,.olhde-totals .grand td,.olhde-callout{-webkit-print-color-adjust:exact;print-color-adjust:exact}}


/* Coherencia visual con Portal Profesional: estados hover y foco siempre legibles. */
.olhde-primary,
.olhde button,
.olhde a.olhde-secondary,
.olhde-workspace-head a,
.olhde-command-bar a,
.olhde-history a,
.olhde-case-grid a,
.olhde-payments a,
.olhde-tabs a{
    transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.olhde-primary:hover,
.olhde button:not(.olhde-remove-line):hover,
.olhde-workspace-head a:hover,
.olhde-command-bar a:not(.danger):hover,
.olhde-history a:hover,
.olhde-case-grid a:hover,
.olhde-payments a:hover{
    background:var(--gold)!important;
    border-color:var(--gold)!important;
    color:#fff!important;
    text-decoration:none!important;
}

.olhde .olhde-secondary:hover,
.olhde a.olhde-secondary:hover{
    background:var(--navy)!important;
    border-color:var(--navy)!important;
    color:#fff!important;
}

.olhde .olhde-gold:hover,
.olhde button.olhde-gold:hover{
    background:var(--navy)!important;
    border-color:var(--navy)!important;
    color:#fff!important;
}

.olhde-tabs a:hover{
    background:var(--paper)!important;
    border-color:var(--gold)!important;
    color:var(--navy)!important;
}

.olhde-tabs a.is-active:hover{
    background:var(--gold)!important;
    border-color:var(--gold)!important;
    color:#fff!important;
}

.olhde-command-bar a.danger:hover,
.olhde-remove-line:hover{
    background:var(--danger)!important;
    border-color:var(--danger)!important;
    color:#fff!important;
}

.olhde-primary:focus-visible,
.olhde button:focus-visible,
.olhde a:focus-visible{
    outline:3px solid rgba(201,168,76,.38)!important;
    outline-offset:2px!important;
    box-shadow:0 0 0 1px var(--gold)!important;
}

/* Cuenta corriente y gastos adicionales v1.2.0 */
.olhde-metrics.olhde-metrics-six{grid-template-columns:repeat(3,minmax(0,1fr))}.olhde-case-switcher{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}.olhde-case-switcher a{display:inline-flex;padding:7px 11px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--navy);text-decoration:none;font-size:12px;font-weight:800}.olhde-case-switcher a:hover,.olhde-case-switcher a.is-active{background:var(--navy);border-color:var(--navy);color:#fff}.olhde-ledger{overflow-x:auto}.olhde-ledger table{width:100%;border-collapse:collapse}.olhde-ledger th,.olhde-ledger td{padding:11px;border:1px solid var(--line);text-align:left;vertical-align:top}.olhde-ledger th{background:var(--navy);color:#fff}.olhde-ledger td:nth-last-child(-n+2){text-align:right;white-space:nowrap;font-weight:800}.olhde-ledger td small{display:block;color:var(--muted);margin-top:4px}.olhde-expenses{display:flex;flex-direction:column;gap:12px;margin-top:18px}.olhde-expenses article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start;padding:16px;border:1px solid var(--line);border-radius:5px;background:var(--paper)}.olhde-expenses article>div:first-child{min-width:0}.olhde-expenses span{font-size:11px;font-weight:800;color:var(--gold)}.olhde-expenses h4{margin:4px 0}.olhde-expenses p{margin:5px 0;color:var(--muted)}.olhde-expenses small,.olhde-expenses em{display:block;color:var(--muted);margin-top:5px}.olhde-expenses article>strong{font-size:20px;white-space:nowrap}.olhde-expenses article>label,.olhde-expenses article>div:last-child{grid-column:1/-1}.olhde-expenses article>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.olhde-expenses article>a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 11px;border:1px solid var(--navy);border-radius:5px;background:var(--navy);color:#fff;text-decoration:none;font-weight:750}.olhde-expenses article>a:hover{background:var(--gold);border-color:var(--gold);color:#fff}.olhde-doc td{overflow-wrap:anywhere}.olhde-doc a{overflow-wrap:anywhere}
@media(max-width:800px){.olhde-metrics.olhde-metrics-six{grid-template-columns:1fr}.olhde-expenses article{grid-template-columns:1fr}.olhde-expenses article>strong{white-space:normal}}

/* Modalidades comerciales, cartera propia e identidad profesional v1.2.0 */
.olhde-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}
.olhde-plan-strip{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:13px 16px;border:1px solid var(--line);border-radius:5px;background:#fff;margin-bottom:16px}.olhde-plan-strip strong{color:var(--navy)}.olhde-plan-strip span{color:var(--muted)}.olhde-plan-strip em{font-style:normal;font-size:12px;font-weight:800;color:#7c5e13;background:var(--olv10-soft);padding:5px 8px;border-radius:4px}
.olhde-origin-badge{display:inline-flex;align-self:flex-start;padding:4px 8px;border-radius:4px;background:#eef1f4;color:var(--navy)!important;font-weight:800;font-size:10px!important}
.olhde-brand-logo{display:flex;align-items:center;gap:12px;min-width:0}.olhde-brand-logo img{width:auto;max-width:150px;height:38px;object-fit:contain;background:#fff;border-radius:5px;padding:3px}.olhde-brand-logo strong{overflow-wrap:anywhere}
.olhde-portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.olhde-portfolio-list{display:flex;flex-direction:column;gap:10px}.olhde-portfolio-list article{padding:14px;border:1px solid var(--line);border-radius:5px;background:var(--paper)}.olhde-portfolio-list h4,.olhde-portfolio-list p{margin:0 0 5px}.olhde-portfolio-list small{color:var(--muted)}
@media(max-width:1100px){.olhde-grid.five{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.olhde-grid.five,.olhde-portfolio-grid{grid-template-columns:1fr}.olhde-doc-brand{align-items:flex-start;flex-direction:column}.olhde-brand-logo{align-items:flex-start;flex-direction:column}}

/* Ayuda contextual v1.4.0 */
.olhde-help{margin:0 0 14px;border:1px solid #d6dde5;border-radius:5px;background:#fff;overflow:hidden;color:var(--navy)}.olhde-help summary{display:flex;align-items:center;gap:11px;cursor:pointer;padding:14px 17px;list-style:none;background:#f5f8fc}.olhde-help summary::-webkit-details-marker{display:none}.olhde-help summary span{display:inline-flex;padding:5px 9px;border-radius:4px;background:var(--navy);color:var(--gold);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.olhde-help summary strong{font-size:14px}.olhde-help summary:after{content:'+';margin-left:auto;font-size:21px;color:var(--navy)}.olhde-help[open] summary:after{content:'−'}.olhde-help-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.olhde-help-body>div{padding:15px;border:1px solid #e0e5eb;border-radius:5px;background:#fff}.olhde-help-body h3{margin:0 0 7px!important;color:var(--navy)!important;font-size:14px!important}.olhde-help-body p,.olhde-help-body li{color:#536476;font-size:12px;line-height:1.6}.olhde-help-body p{margin:0}.olhde-help-body ul,.olhde-help-body ol{margin:0;padding-left:18px}.olhde-help-warning{border-left:4px solid var(--gold)!important;background:var(--olv10-soft)!important}.olhde-client-overview .olhde-metrics article small{display:block;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.35}.olhde-client-filters{display:grid;grid-template-columns:minmax(190px,1.4fr) repeat(3,minmax(145px,.75fr)) auto;gap:10px;align-items:end;padding:14px;margin:0 0 8px;border:1px solid var(--line);border-radius:5px;background:var(--paper)}.olhde-client-filters label{margin:0}.olhde-client-filters button{min-height:43px}.olhde-filter-result{margin:6px 0 13px;color:var(--muted);font-size:11px}.olhde-history article[hidden]{display:none!important}@media(max-width:1050px){.olhde-client-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.olhde-client-filters label:first-child{grid-column:1/-1}.olhde-client-filters button{width:100%}}@media(max-width:800px){.olhde-help-body{grid-template-columns:1fr}.olhde-client-filters{grid-template-columns:1fr}.olhde-client-filters label:first-child{grid-column:auto}}

/* v1.5.0 · cierres, devoluciones y continuidad */
.olhde-continuity-card .olhde-history>article{border-left:3px solid var(--olhde-gold,var(--olv10-accent))}
.olhde-continuity-card .olhde-status-strip{margin:14px 0;flex-wrap:wrap}
.olhde-inline-form,.olhde-refund-response{margin-top:14px;padding:14px;border:1px solid rgba(11,28,46,.14);border-radius:5px;background:#fbfaf6}
.olhde-inline-form summary{cursor:pointer;font-weight:800;color:var(--olv10-accent-dark)}
.olhde-inline-form form{margin-top:14px}
.olhde-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.olhde-actions a{display:inline-flex;padding:9px 12px;border:1px solid rgba(11,28,46,.18);border-radius:5px;text-decoration:none;font-weight:700}

/* v1.6.0 · Continuidad de datos y disponibilidad controlada */
.olhde-module-status,
.olcore-status{
    margin:18px 0;
    padding:20px 22px;
    border:1px solid rgba(201,168,76,.45);
    border-radius:5px;
    background:var(--olv10-soft);
    color:var(--olv10-accent-dark);
}
.olhde-module-status strong,
.olcore-status strong{display:block;font-size:1.05rem;margin-bottom:6px}
.olhde-module-status p,
.olcore-status p{margin:0 0 8px;line-height:1.55}
.olhde-module-status small,
.olcore-status small{display:block;margin-top:4px;color:#5c6670}
.olhde-client-source{
    margin:20px 0;
    padding:18px;
    border:1px solid #d8dee7;
    border-radius:5px;
    background:#f8fafc;
}
.olhde-client-source input[readonly],
.olhde-client-source textarea[readonly]{
    background:#eef2f6;
    color:#263747;
    cursor:default;
}
.olhde-profile-missing{
    margin-top:14px;
    padding:14px 16px;
    border-left:4px solid var(--olv10-accent);
    border-radius:5px;
    background:#fff;
}
.olhde-profile-missing strong{display:block;margin-bottom:4px;color:var(--olv10-accent-dark)}
.olhde-profile-missing p{margin:0 0 10px;color:#4d5965}

/* v1.6.1 · Base económica única e identidad vinculada */
.olhde [hidden]{display:none!important}
.olhde [data-olhde-existing-agreement]>strong,
.olhde [data-olhde-existing-agreement]>span,
.olhde [data-olhde-existing-agreement]>small{display:block}
.olhde [data-olhde-existing-agreement]>span{margin-top:6px;line-height:1.55}
.olhde [data-olhde-existing-agreement]>small{margin-top:12px;color:var(--muted);line-height:1.5}


/* v1.6.4 · Formularios específicos y pagos parciales */
.olhde [data-olhde-section][hidden]{display:none!important}
.olhde input[type=hidden][data-olhde-type]{display:none!important}


/* v1.6.6 · Listado y detalle en vistas independientes */
.olhde-detail-view .olhde-workspace{margin-top:0}
.olhde-detail-view .olhde-notice{margin:0 0 16px}
.olhde-detail-back{white-space:nowrap}
@media(max-width:800px){
    .olhde-detail-view .olhde-workspace-head{flex-direction:column}
    .olhde-detail-view .olhde-workspace-head>div:last-child{justify-content:flex-start;width:100%}
    .olhde-detail-back{width:100%;white-space:normal}
}
/* v1.6.9 · Facturacion operativa ORDO */
.olhde-operational-step{padding:22px;border:1px solid #d7e2ec;border-left:5px solid var(--olv10-accent);border-radius:6px;background:#f8fbfd;margin:8px 0 4px}.olhde-step-kicker{display:block;font-size:10px;font-weight:900;letter-spacing:.12em;color:var(--olv10-accent-dark);margin-bottom:6px}.olhde-operational-step h3{margin:0 0 7px;font-size:22px}.olhde-operational-step>p{margin:0 0 16px;color:var(--muted);max-width:900px;line-height:1.55}.olhde-step-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.olhde-step-metrics article{padding:14px;border:1px solid #dbe3ea;border-radius:5px;background:#fff}.olhde-step-metrics span{display:block;color:var(--muted);font-size:11px}.olhde-step-metrics strong{display:block;margin-top:5px;font-size:21px;color:var(--navy)}.olhde-step-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:flex-start;margin-top:14px}.olhde-step-actions>a,.olhde-operational-review>summary,.olhde-operational-tools>a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border:1px solid var(--navy);border-radius:5px;background:#fff;color:var(--navy);font-weight:800;text-decoration:none;cursor:pointer;list-style:none}.olhde-operational-review>summary::-webkit-details-marker,.olhde-operational-more>summary::-webkit-details-marker{display:none}.olhde-operational-review[open]{width:100%;order:5}.olhde-operational-review-body{margin-top:12px}.olhde-operational-more{margin-top:14px}.olhde-operational-more>summary{cursor:pointer;font-weight:800;color:var(--navy)}.olhde-operational-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.olhde-brand-logo{flex:1 1 auto}.olhde-brand-logo strong{overflow-wrap:normal!important;word-break:normal!important;min-width:150px}.olhde-doc-brand>span:last-child{flex:0 1 260px;text-align:right;white-space:normal}.olhde-dirty-modal[hidden]{display:none!important}.olhde-dirty-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(11,28,46,.58)}.olhde-dirty-dialog{width:min(620px,100%);padding:22px;border-radius:7px;background:#fff;border-top:6px solid #c53b3b;box-shadow:0 20px 60px rgba(0,0,0,.25)}.olhde-dirty-dialog h3{margin:0 0 8px;color:#8d2525}.olhde-dirty-dialog p{margin:0 0 16px;color:#4d5965;line-height:1.55}.olhde-dirty-actions{display:flex;gap:8px;flex-wrap:wrap}.olhde-dirty-actions button{min-height:42px}.olhde-dirty-actions .olhde-exit-danger{background:#fff!important;color:#9b2929!important;border-color:#c96b6b!important}
@media(max-width:800px){.olhde-step-metrics{grid-template-columns:1fr}.olhde-step-actions{flex-direction:column}.olhde-step-actions>a,.olhde-step-actions>details{width:100%}.olhde-step-actions summary{width:100%}.olhde-doc-brand>span:last-child{text-align:left;flex:auto}}

/* v10.0.70 · pagos parciales trazables y cabecera documental estable */
.olhde-doc-brand{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(180px,280px);align-items:center;gap:18px}.olhde-brand-logo{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;min-width:0}.olhde-brand-logo strong{display:block;min-width:0!important;white-space:normal;overflow-wrap:normal!important;word-break:keep-all!important;line-height:1.2}.olhde-doc-brand>span:last-child{min-width:0;text-align:right;line-height:1.35}.olhde-step-metrics small{display:block;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.35}.olhde-professional-decision{display:flex;gap:10px;align-items:flex-start;margin:12px 0 4px;padding:12px 14px;border-left:4px solid var(--gold);background:#fff}.olhde-professional-decision strong{white-space:nowrap}.olhde-professional-decision span{color:var(--muted);line-height:1.45}.olhde-payment-history th:last-child,.olhde-payment-history td:last-child{text-align:right;white-space:nowrap}.olhde-payment-summary{margin-top:8px!important}
@media(max-width:800px){.olhde-doc-brand{grid-template-columns:1fr!important}.olhde-brand-logo{grid-template-columns:auto minmax(0,1fr)!important;flex-direction:initial!important}.olhde-doc-brand>span:last-child{text-align:left}.olhde-professional-decision{flex-direction:column}.olhde-professional-decision strong{white-space:normal}}

/* V10.0.73 - Documento economico: cabecera compacta y escala tipografica profesional */
.olhde-document-output{font-size:13px;line-height:1.45}
.olhde-document-output .olhde-doc-brand{grid-template-columns:minmax(0,1fr) minmax(150px,230px)!important;gap:14px!important;padding:10px 14px!important;min-height:54px;overflow:hidden}
.olhde-document-output .olhde-brand-logo{grid-template-columns:auto minmax(0,1fr)!important;gap:10px!important;min-width:0;align-items:center!important}
.olhde-document-output .olhde-brand-logo img{display:block!important;width:auto!important;height:auto!important;max-width:92px!important;max-height:34px!important;object-fit:contain!important;flex:none!important;margin:0!important;padding:2px!important}
.olhde-document-output .olhde-brand-logo strong{font-size:14px!important;line-height:1.18!important;font-weight:800!important;letter-spacing:0!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;margin:0!important}
.olhde-document-output .olhde-doc-brand>span:last-child{font-size:9px!important;line-height:1.3!important;letter-spacing:.08em!important;white-space:normal!important;overflow-wrap:break-word!important}
.olhde-document-output .olhde-kicker{font-size:9px!important;line-height:1.3!important;margin-top:16px!important;letter-spacing:.1em!important}
.olhde-document-output .olhde-doc h1{font-size:20px!important;line-height:1.28!important;margin:6px 0 14px!important;font-weight:800!important;letter-spacing:-.01em!important}
.olhde-document-output .olhde-doc h2{font-size:14px!important;line-height:1.3!important;margin:18px 0 7px!important;padding-bottom:5px!important}
.olhde-document-output .olhde-doc p,.olhde-document-output .olhde-doc li{font-size:12px!important;line-height:1.5!important}
.olhde-document-output .olhde-doc table{font-size:11px!important;margin:9px 0 15px!important}
.olhde-document-output .olhde-doc th,.olhde-document-output .olhde-doc td{padding:7px 8px!important;line-height:1.4!important}
.olhde-document-output .olhde-totals .grand th,.olhde-document-output .olhde-totals .grand td,.olhde-document-output .olhde-totals .balance th,.olhde-document-output .olhde-totals .balance td{font-size:12px!important}
.olhde-document-output .olhde-alert,.olhde-document-output .olhde-disclaimer{font-size:11px!important;line-height:1.5!important;padding:11px 12px!important;margin:13px 0!important}
@media(max-width:800px){.olhde-document-output .olhde-doc-brand{grid-template-columns:1fr!important}.olhde-document-output .olhde-doc-brand>span:last-child{text-align:left!important}.olhde-document-output .olhde-doc h1{font-size:18px!important}.olhde-document-output .olhde-brand-logo img{max-width:82px!important;max-height:32px!important}}

/* V10.0.74 · ORDO: conservar el contexto del proceso iniciado */
.olhde-ordo-context{margin:0 0 14px;padding:18px 20px;border:1px solid #cfe5da;border-left:4px solid #087451;border-radius:8px;background:#f4fbf7}.olhde-ordo-context>span{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;color:#087451}.olhde-ordo-context h2{margin:5px 0 7px!important;font-size:22px!important;line-height:1.2!important;color:#17324d}.olhde-ordo-context p{margin:0;color:#425466;line-height:1.55}.olhde-ordo-route{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.olhde-ordo-route>*{padding:7px 10px;border:1px solid #d7e3dd;border-radius:6px;background:#fff;font-size:12px}.olhde-ordo-route strong{background:#e8f7ef;border-color:#9fd4bb;color:#075d43}@media(max-width:700px){.olhde-ordo-context h2{font-size:18px!important}.olhde-ordo-route{flex-direction:column}}

/* V10.0.76 · ORDO cierre operativo */
.olhde-ordo-context.is-complete{background:#f1fbf5;border-color:#9bd3b5;border-left-color:#087451}.olhde-ordo-context.is-complete h2{color:#075d43}.olhde-ordo-complete-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.olhde-ordo-complete-actions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.olhde-ordo-primary{padding:10px 14px;border-radius:6px;background:#087451;color:#fff!important;font-weight:800}.olhde-applied-funds{display:grid;gap:3px;margin:10px 0 12px;padding:12px 14px;border:1px solid #b9dfca;border-left:4px solid #087451;border-radius:6px;background:#f3fbf7}.olhde-applied-funds span{font-size:12px;font-weight:700;color:#345}.olhde-applied-funds strong{font-size:20px;color:#087451}.olhde-applied-funds small{color:#66788a}@media(max-width:700px){.olhde-ordo-complete-actions{flex-direction:column}.olhde-ordo-complete-actions a{width:100%}}

/* V10.0.77 · ORDO salida del proceso y documento plegado */
.olhde-ordo-document-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:14px 16px;border:1px solid #d8e6df;border-radius:8px;background:#fff}.olhde-ordo-document-summary>div{display:grid;gap:3px}.olhde-ordo-document-summary span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#087451}.olhde-ordo-document-summary strong{font-size:15px;color:#17324d}.olhde-ordo-document-summary small{color:#66788a}.olhde-workspace[hidden]{display:none!important}@media(max-width:700px){.olhde-ordo-document-summary{align-items:stretch;flex-direction:column}.olhde-ordo-document-summary button{width:100%}}
