/* Presentation layer for the local dashboard and existing relevo form. */
body[data-prototype-panel="true"], body.modern-relevo {
  --ui-ink: #162b43; --ui-muted: #61758b; --ui-line: #dde6ee;
  --ui-accent: #087f8c; --ui-soft: #e9f7f7;
  background: #f3f6fa; color: var(--ui-ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
}
:is(body[data-prototype-panel="true"], body.modern-relevo) [hidden] { display: none !important; }
:is(body[data-prototype-panel="true"], body.modern-relevo) :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #169eab; outline-offset: 4px;
}
body[data-prototype-panel="true"] > .page-shell {
  width: auto; max-width: none; margin: 0 0 0 248px; padding: 0 36px 32px;
  display: block; min-width: 0;
}
body[data-prototype-panel="true"] .hero {
  height: auto; min-height: 0; background: transparent; border: 0;
  border-bottom: 1px solid var(--ui-line); padding: 18px 0; box-shadow: none;
}
body[data-prototype-panel="true"] .hero-branding { display: flex; align-items: center; justify-content: flex-start; gap: 14px; }
body[data-prototype-panel="true"] .hero-logo { width: 42px; height: 42px; padding: 2px; border: 0; box-shadow: none; background: white; border-radius: 50%; }
body[data-prototype-panel="true"] .hero-logo:last-child { margin-left: auto; }
body[data-prototype-panel="true"] .hero-titles { text-align: left; }
body[data-prototype-panel="true"] .hero-titles :is(.hero-line-top, .hero-line-motto, h1) { display: none; }
body[data-prototype-panel="true"] .hero-titles .hero-line-main { font-size: 10px; color: var(--ui-muted); letter-spacing: .12em; margin: 0 0 3px; }
body[data-prototype-panel="true"] .hero-titles h2 { font-size: 17px; color: var(--ui-ink); margin: 0; }
.workspace-sidebar { position: fixed; inset: 0 auto 0 0; width: 248px; z-index: 40; padding: 28px 18px; background: #10283f; color: #eaf3fa; display: flex; flex-direction: column; overflow-y: auto; box-sizing: border-box; }
.workspace-brand { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; margin: 0 4px 45px; }
.workspace-brand > span { width: 42px; height: 42px; display: grid; place-items: center; background: #2dd4bf; color: #10283f; border-radius: 13px; font-size: 16px; font-weight: 900; }
.workspace-brand strong { font-size: 15px; }
.workspace-brand small { display: block; font-size: 10px; font-weight: 400; color: #b8cbdc; margin-top: 5px; }
.workspace-nav-label { font-size: 10px; letter-spacing: .15em; color: #9ab3c7; margin: 0 12px 14px; }
.workspace-sidebar nav { display: grid; gap: 5px; margin-top: 8px; }
.workspace-sidebar nav a, .workspace-nav-current { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 12px; box-sizing: border-box; color: #c6d7e5; text-decoration: none; font-size: 12px; border-radius: 10px; transition: background .18s, color .18s; }
.workspace-nav-current { background: #214158; color: #69e6d6; font-weight: 800; }
.workspace-sidebar nav a:hover { background: #214158; color: white; }
.workspace-sidebar .operations-icon-box { width: 22px; height: 22px; flex: 0 0 22px; background: transparent; color: #96c2d1; }
.workspace-sidebar svg { width: 22px; height: 22px; }
.workspace-sidebar-note { margin-top: auto; padding: 28px 12px 4px; color: #d6e6f2; font-size: 12px; }
.workspace-sidebar-note small { display: block; color: #9ab3c7; line-height: 1.7; margin-top: 9px; }
.workspace-dot { display: inline-block; width: 7px; height: 7px; background: #56d7b9; border-radius: 50%; margin-right: 6px; }
body[data-prototype-panel="true"] .operations-center { max-width: 1500px; padding: 32px 0; gap: 28px; }
body[data-prototype-panel="true"] .operations-intro { align-items: center; padding: 6px 0 10px; }
body[data-prototype-panel="true"] .operations-eyebrow { color: var(--ui-accent); font-size: 10px; letter-spacing: .16em; margin-bottom: 12px; }
body[data-prototype-panel="true"] .operations-intro h1 { font-size: clamp(25px, 2.6vw, 39px); line-height: 1.2; letter-spacing: -.045em; max-width: 680px; }
body[data-prototype-panel="true"] .operations-intro p { font-size: 13px; color: var(--ui-muted); margin-top: 13px; }
body[data-prototype-panel="true"] .operations-profile { background: white; font-size: 11px; border: 1px solid var(--ui-line); }
body[data-prototype-panel="true"] .operations-section-heading h2 { font-size: 17px; letter-spacing: -.025em; }
body[data-prototype-panel="true"] .operations-section-heading p { font-size: 12px; color: var(--ui-muted); }
body[data-prototype-panel="true"] .operations-action-card { position: relative; overflow: hidden; min-height: 185px; border-radius: 20px; background: linear-gradient(115deg,#123e59,#087f8c); box-shadow: 0 9px 24px #173d5510; border: 0; padding: 26px; }
body[data-prototype-panel="true"] .operations-action-card:first-child::after { content: ''; position: absolute; width: 180px; height: 180px; border: 30px solid #ffffff08; border-radius: 50%; right: -100px; bottom: -110px; pointer-events: none; }
body[data-prototype-panel="true"] .operations-action-card:nth-child(2) { background: white; border: 1px solid var(--ui-line); color: var(--ui-ink); }
body[data-prototype-panel="true"] .operations-icon-box--primary { color: #a4fff0; background: #ffffff14; border-radius: 16px; }
body[data-prototype-panel="true"] .operations-action-card:nth-child(2) .operations-icon-box { background: #edf2ff; color: #5269ae; }
body[data-prototype-panel="true"] .operations-card-copy { gap: 9px; }
body[data-prototype-panel="true"] .operations-card-copy strong { letter-spacing: -.02em; }
body[data-prototype-panel="true"] .operations-status { font-size: 9px; font-weight: 700; letter-spacing: .02em; text-transform: none; padding: 4px 9px; }
body[data-prototype-panel="true"] .operations-metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
body[data-prototype-panel="true"] .operations-metric { padding: 18px 20px; border: 1px solid var(--ui-line); border-radius: 14px; box-shadow: none; gap: 16px; }
body[data-prototype-panel="true"] .operations-metric strong { font-size: 29px; letter-spacing: -.05em; padding: 4px 0; }
body[data-prototype-panel="true"] .operations-icon-box--metric { background: var(--ui-soft); color: var(--ui-accent); }
body[data-prototype-panel="true"] .operations-module-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
body[data-prototype-panel="true"] .operations-module-card { grid-template-columns: 1fr; gap: 15px; min-height: 220px; border: 1px solid var(--ui-line); border-radius: 16px; padding: 22px; box-shadow: none; }
body[data-prototype-panel="true"] .operations-module-card:hover { border-color: #7ac4cb; box-shadow: 0 10px 24px #1436520c; transform: translateY(-3px); }
body[data-prototype-panel="true"] .operations-module-card .operations-icon-box { color: #127e8e; background: #e9f6f8; }
body[data-prototype-panel="true"] .operations-module-card[data-process="alertas"] .operations-icon-box { color: #a76419; background: #fff3df; }
body[data-prototype-panel="true"] .operations-module-card[data-process="trabajadores"] .operations-icon-box { color: #6a54ae; background: #f1edfc; }
body[data-prototype-panel="true"] .operations-module-card .operations-card-copy { position: relative; }
body[data-prototype-panel="true"] .operations-module-card .operations-status { position: absolute; bottom: calc(100% + 22px); right: 0; }
body[data-prototype-panel="true"] .operations-link-label { color: var(--ui-accent); font-weight: 800; }
body[data-prototype-panel="true"] .operations-action-card:first-child .operations-link-label { color: #a4fff0; }
.workspace-toolbar { padding: 22px; border-radius: 16px; background: white; border: 1px solid var(--ui-line); display: flex; flex-wrap: wrap; gap: 18px; align-items: end; }
.workspace-search { flex: 1 1 260px; }
.workspace-search label { display: block; font-size: 12px; font-weight: 800; margin-bottom: 9px; }
.workspace-search > div { display: flex; align-items: center; background: #f5f8fb; border: 1px solid var(--ui-line); border-radius: 10px; }
.workspace-search input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 13px; color: var(--ui-ink); font: inherit; font-size: 13px; }
.workspace-search button { border: 0; background: transparent; min-width: 44px; min-height: 44px; font-size: 22px; cursor: pointer; color: var(--ui-muted); }
.workspace-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.workspace-filters button { padding: 12px 14px; min-height: 44px; border: 1px solid transparent; background: #f3f6fa; color: #53677b; border-radius: 9px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.workspace-filters button[aria-pressed="true"] { background: #e3f5f3; color: #096b70; border-color: #a8d9d4; }
.workspace-search-result { flex-basis: 100%; font-size: 13px; margin: 0; color: var(--ui-muted); }
.workspace-utilities { border: 1px dashed #c9d7e3; border-radius: 12px; padding: 16px; background: #eef3f7; }
.workspace-utilities summary { cursor: pointer; font-size: 12px; color: #526a80; padding: 5px; }
.workspace-utilities .operations-action-grid { margin-top: 16px; }
body[data-prototype-panel="true"] .operations-footnote { border: 0; border-radius: 10px; background: transparent; color: #65798c; line-height: 1.7; }
body[data-prototype-panel="true"] .prototype-mode-badge { font-size: 9px; box-shadow: none; background: #e5edf4; color: #4c6479; }

/* Existing three-step form; IDs, events and persistence are unchanged. */
body.modern-relevo { --gold-500: #0c8b92; --gold-300: #a5eee0; --navy-800: #136c80; --shadow: 0 8px 30px #193b5010; --shadow-soft: 0 4px 20px #193b5009; }
body.modern-relevo .header { background: #10283f; border-bottom: 0; }
body.modern-relevo .header::after { display: none; }
body.modern-relevo .header-inner { min-height: 92px; max-width: 1380px; grid-template-columns: 52px 1fr 52px; gap: 18px; padding: 18px 26px; }
body.modern-relevo .logo-institutional { width: 50px; height: 50px; border: 2px solid #ffffff55; padding: 3px; box-shadow: none; }
body.modern-relevo .header-copy { text-align: left; }
body.modern-relevo .header-copy h1 { font-size: clamp(20px,2.5vw,28px); letter-spacing: -.03em; }
body.modern-relevo .header-copy small { font-size: 9px; letter-spacing: .14em; color: #9bdad4; }
body.modern-relevo .header-copy p { font-size: 11px; margin-top: 5px; color: #bad0df; }
body.modern-relevo .v2-topnav { background: white; border-bottom: 1px solid var(--ui-line); box-shadow: none; padding: 8px 24px; flex-wrap: nowrap; overflow-x: auto; }
body.modern-relevo .v2-topnav a { color: #587086; font-size: 11px; padding: 11px 13px; }
body.modern-relevo .v2-topnav a.active { background: #e7f5f5; color: #096e78; box-shadow: none; }
body.modern-relevo .v2-topnav a:hover { background: #eef3f7; color: #16344e; }
body.modern-relevo .layout { max-width: 1380px; margin-top: 30px; grid-template-columns: 235px minmax(0,1fr); gap: 28px; overflow: visible; }
body.modern-relevo .side { top: 80px; border: 1px solid var(--ui-line); box-shadow: none; border-radius: 16px; }
body.modern-relevo .side-top { background: #fff; color: var(--ui-ink); padding: 22px; }
body.modern-relevo .side-top small { color: var(--ui-accent); font-size: 9px; }
body.modern-relevo .side-top strong { font-size: 17px; line-height: 1.5; }
body.modern-relevo .progress { background: #e4edf2; height: 5px; }
body.modern-relevo .progress span { background: #12a39e; }
body.modern-relevo .step-nav { padding: 0 10px 14px; }
body.modern-relevo .step-button { min-height: 64px; border-radius: 10px; }
body.modern-relevo .step-button.active { background: #e8f6f5; color: #0c737a; }
body.modern-relevo .step-button.active .step-number { background: #0a858d; border-color: #0a858d; }
body.modern-relevo .step-label small { color: #657d91; font-size: 9px; margin-bottom: 4px; }
body.modern-relevo .main { min-width: 0; border: 1px solid var(--ui-line); box-shadow: 0 8px 32px #16384b06; border-radius: 18px; background: white; overflow: hidden; }
body.modern-relevo .section-head { padding: 28px 30px; background: white; border-bottom: 1px solid #e8eef3; gap: 16px; }
body.modern-relevo .section-head h2 { font-size: clamp(23px,2.3vw,30px); letter-spacing: -.035em; }
body.modern-relevo .section-head p { font-size: 13px; max-width: 620px; line-height: 1.8; color: var(--ui-muted); }
body.modern-relevo .kicker { color: #0b8288; font-size: 10px; letter-spacing: .12em; margin-bottom: 10px; }
body.modern-relevo .status-pill { background: #edf8f4; color: #287863; font-size: 10px; font-weight: 700; padding: 7px 10px; }
body.modern-relevo .section-body { padding: 24px 30px; background: #fff; }
body.modern-relevo .panel { box-shadow: none; border: 1px solid #e1e9f0; border-radius: 14px; margin-bottom: 20px; overflow: visible; }
body.modern-relevo .panel-head { background: #f7fafc; border-bottom: 1px solid #e7edf3; border-radius: 14px 14px 0 0; padding: 15px 20px; }
body.modern-relevo .panel-head h3 { font-size: 14px; color: #274158; }
body.modern-relevo .panel-body { padding: 20px; }
body.modern-relevo .field label { font-size: 12px; color: #365067; font-weight: 700; margin-bottom: 9px; }
body.modern-relevo .field :is(input,select,textarea) { border: 1px solid #ccd9e3; border-radius: 9px; min-height: 46px; background: #fcfdff; color: #19354b; font-size: 14px; box-shadow: none; transition: border-color .18s, background .18s; }
body.modern-relevo .field :is(input,select,textarea):focus { border-color: #1599a1; background: white; box-shadow: 0 0 0 3px #1599a113; }
body.modern-relevo .person-preview { border-radius: 9px; background: #f1f7fa; border-color: #dfe9ef; color: #516f84; font-size: 12px; }
body.modern-relevo .btn { min-height: 44px; padding: 12px 18px; border-radius: 10px; font-size: 12px; font-weight: 800; box-shadow: none; transition: transform .16s, background .16s; }
body.modern-relevo :is(.btn-primary,.btn-gold) { background: #087f8c; border: 1px solid #087f8c; color: white; }
body.modern-relevo :is(.btn-primary,.btn-gold):hover:not(:disabled) { background: #086876; transform: translateY(-1px); }
body.modern-relevo .btn-secondary { background: #f2f6f9; border: 1px solid #dce6ee; color: #415d73; }
body.modern-relevo .bottom-actions { border-top: 1px solid #e5edf2; padding-top: 20px; margin-top: 22px; gap: 12px; }
body.modern-relevo .choice-card { border: 1px solid #dbe6ee; border-radius: 13px; background: #f9fcfd; padding: 22px; min-height: 130px; box-shadow: none; transition: transform .18s, border-color .18s; text-align: left; }
body.modern-relevo .choice-card::before { content: '+'; display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; background: #e0f3f3; color: #087f8c; border-radius: 9px; font-size: 22px; }
body.modern-relevo .choice-card:hover { border-color: #38a5ad; transform: translateY(-2px); }
body.modern-relevo .choice-card strong { font-size: 14px; }
body.modern-relevo .choice-card > span { font-size: 12px; line-height: 1.7; }
body.modern-relevo .modal { background: #10283f99; backdrop-filter: blur(6px); }
body.modern-relevo .modal-card { border-radius: 18px; box-shadow: 0 24px 90px #10283f40; }
body.modern-relevo .modal-head { background: #102f47; color: white; padding: 22px; }
body.modern-relevo .close-btn { min-width: 44px; min-height: 44px; border-radius: 10px; }
body.modern-relevo .hint { font-size: 12px; line-height: 1.7; color: var(--ui-muted); }
@media(min-width:1600px) {
  body[data-prototype-panel="true"] .operations-metric-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  body[data-prototype-panel="true"] .operations-module-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media(max-width:1100px) {
  .workspace-sidebar { width: 210px; padding-inline: 12px; }
  body[data-prototype-panel="true"] > .page-shell { margin-left: 210px; padding-inline: 22px; }
  body[data-prototype-panel="true"] .operations-module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body[data-prototype-panel="true"] .operations-intro { align-items: flex-start; flex-direction: column; gap: 14px; }
  body.modern-relevo .layout { grid-template-columns: 205px minmax(0,1fr); gap: 18px; }
  body.modern-relevo .section-head { flex-wrap: wrap; }
}
@media(max-width:760px) {
  .workspace-sidebar { position: relative; inset: auto; width: 100%; padding: 16px 20px; flex-direction: row; align-items: center; }
  .workspace-brand { margin: 0; }
  .workspace-sidebar :is(nav,.workspace-nav-label,.workspace-sidebar-note) { display: none; }
  .workspace-nav-current { margin-left: auto; font-size: 11px; }
  body[data-prototype-panel="true"] > .page-shell { margin: 0; padding: 0 18px 24px; }
  body[data-prototype-panel="true"] .operations-center { width: 100%; padding-top: 24px; gap: 24px; }
  body[data-prototype-panel="true"] .operations-action-grid { grid-template-columns: 1fr; }
  body[data-prototype-panel="true"] .operations-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body[data-prototype-panel="true"] .operations-metric { padding: 14px; gap: 10px; }
  body.modern-relevo .layout { display: block; margin-top: 16px; padding: 0 12px; }
  body.modern-relevo .side { position: static; display: block; margin-bottom: 16px; }
  body.modern-relevo .side-top { padding: 14px 16px 0; }
  body.modern-relevo .side-top :is(small,strong) { display: none; }
  body.modern-relevo .progress { margin: 0; }
  body.modern-relevo .step-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 8px; gap: 4px; }
  body.modern-relevo .step-button { display: flex; flex-direction: column; padding: 8px 4px; gap: 6px; text-align: center; font-size: 11px; min-height: 0; }
  body.modern-relevo .step-label small { display: none; }
  body.modern-relevo .header-inner { padding: 16px; gap: 12px; }
  body.modern-relevo .header-copy small { font-size: 8px; }
  body.modern-relevo .section-head, body.modern-relevo .section-body { padding: 20px 16px; }
  body.modern-relevo .panel-body { padding: 16px; }
  body.modern-relevo .bottom-actions { flex-wrap: wrap; }
  body.modern-relevo .bottom-actions .btn { flex: 1; }
}
@media(max-width:460px) {
  body[data-prototype-panel="true"] .operations-module-grid { grid-template-columns: 1fr; }
  body[data-prototype-panel="true"] .operations-metric { display: block; }
  body[data-prototype-panel="true"] .operations-metric .operations-icon-box { margin-bottom: 10px; }
  .workspace-filters { width: 100%; }
  .workspace-filters button { flex: 1; padding-inline: 8px; font-size: 11px; }
}
@media(prefers-reduced-motion:reduce) {
  :is(body[data-prototype-panel="true"],body.modern-relevo) *, :is(body[data-prototype-panel="true"],body.modern-relevo) *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .workspace-sidebar, .workspace-toolbar { display: none; }
  body[data-prototype-panel="true"] > .page-shell { margin: 0; padding: 0; }
}

/* Escudos con fondo transparente (2026-10-18): sin círculo blanco, más grandes */
html body img.logo-institutional[src$=".png"],
html body img.institutional-logo[src$=".png"] {
  background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}
html body img.logo-institutional[src*="LOGO_DNI"], html body img.institutional-logo[src*="LOGO_DNI"] { transform: scale(1.12); }
html body[data-prototype-panel="true"] img.hero-logo[src$=".png"] { width: 54px; height: 54px; padding: 0; background: transparent; border-radius: 0; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .25)); }
html body img.hero-logo[src*="LOGO_DNI"] { transform: scale(1.1); }

/* ===== Encabezado institucional del panel (2026-10-18) ===== */
html body[data-prototype-panel="true"] .hero {
  margin: 18px 0 8px; padding: 22px 28px; border: 0; border-radius: 20px;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(58, 108, 160, .45) 0%, rgba(10, 34, 56, 0) 60%),
    linear-gradient(135deg, #0a2238 0%, #12335a 55%, #0a2238 100%);
  box-shadow: 0 14px 34px rgba(10, 34, 56, .28);
}
html body[data-prototype-panel="true"] .hero-branding {
  display: grid; grid-template-columns: 96px 1fr 96px; align-items: center; gap: 18px;
}
html body[data-prototype-panel="true"] img.hero-logo[src$=".png"] {
  width: 96px; height: 96px; margin: 0; justify-self: center;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45));
}
html body[data-prototype-panel="true"] .hero-logo:last-child { margin-left: 0; }
html body[data-prototype-panel="true"] .hero-titles { text-align: center; }
html body[data-prototype-panel="true"] .hero-titles .hero-line {
  display: block; margin: 0; text-transform: uppercase; font-weight: 800; letter-spacing: .06em; line-height: 1.25;
}
html body[data-prototype-panel="true"] .hero-titles .hero-line-top { color: #ffffff; font-size: 15px; }
html body[data-prototype-panel="true"] .hero-titles .hero-line-main { color: #f2c94c; font-size: 17px; letter-spacing: .08em; margin-top: 2px; }
html body[data-prototype-panel="true"] .hero-titles .hero-line-motto {
  color: #dbe7f3; font-size: 13px; font-style: italic; font-weight: 600; text-transform: none; letter-spacing: .02em; margin-top: 4px;
}
html body[data-prototype-panel="true"] .hero-titles h1 { display: none; }
html body[data-prototype-panel="true"] .hero-titles h2 {
  display: block; margin: 6px 0 0; color: #9fb7cf; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
/* Distintivo DNI: línea dorada · punto · D N I · punto · línea dorada */
.hero-dni {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin: 12px auto 0; max-width: 420px;
}
.hero-dni::before, .hero-dni::after {
  content: ""; flex: 1; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(242, 201, 76, 0) 0%, #f2c94c 100%);
}
.hero-dni::after { background: linear-gradient(90deg, #f2c94c 0%, rgba(242, 201, 76, 0) 100%); }
.hero-dni span {
  position: relative; padding: 0 26px 0 calc(26px + .55em); color: #f2c94c; font-size: 30px; font-weight: 900; letter-spacing: .55em; line-height: 1;
  text-shadow: 0 0 18px rgba(242, 201, 76, .45), 0 2px 0 rgba(0, 0, 0, .35);
}
.hero-dni span::before, .hero-dni span::after {
  content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: #f2c94c; box-shadow: 0 0 10px rgba(242, 201, 76, .8);
}
.hero-dni span::before { left: 2px; }
.hero-dni span::after { right: 2px; }
@media (max-width: 760px) {
  html body[data-prototype-panel="true"] .hero { padding: 16px 12px; border-radius: 16px; }
  html body[data-prototype-panel="true"] .hero-branding { grid-template-columns: 54px 1fr 54px; gap: 8px; }
  html body[data-prototype-panel="true"] img.hero-logo[src$=".png"] { width: 54px; height: 54px; }
  html body[data-prototype-panel="true"] .hero-titles .hero-line-top { font-size: 11px; }
  html body[data-prototype-panel="true"] .hero-titles .hero-line-main { font-size: 12.5px; }
  html body[data-prototype-panel="true"] .hero-titles .hero-line-motto { font-size: 11px; }
  .hero-dni { gap: 8px; margin-top: 8px; }
  .hero-dni span { font-size: 22px; padding: 0 18px 0 calc(18px + .55em); }
}
/* Panel en teléfonos: versión compacta igual a las demás páginas */
@media (max-width: 640px) {
  html body[data-prototype-panel="true"] .hero { padding: 12px 10px 14px; }
  html body[data-prototype-panel="true"] .hero-branding { grid-template-columns: 50px 1fr 50px; gap: 6px; }
  html body[data-prototype-panel="true"] img.hero-logo[src$=".png"] { width: 50px; height: 50px; }
  html body[data-prototype-panel="true"] .hero-titles .hero-line-top,
  html body[data-prototype-panel="true"] .hero-titles .hero-line-motto { display: none; }
  html body[data-prototype-panel="true"] .hero-titles .hero-line-main { font-size: 11.5px; margin: 0; }
  .hero-dni { max-width: 240px; margin-top: 6px; gap: 6px; }
  .hero-dni span { font-size: 22px; padding: 0 16px 0 calc(16px + .5em); letter-spacing: .5em; }
  html body[data-prototype-panel="true"] .hero-titles h2 { font-size: 11.5px; letter-spacing: .14em; color: #dbe7f3; }
}
@media (max-width: 640px) {
  html body[data-prototype-panel="true"] .hero-titles .hero-line-main { white-space: nowrap; letter-spacing: .03em; font-size: 11px; }
}
