/* Experiencia propia de cada ficha: cabeceras por grupo, variantes de sección y piezas visuales.
   Cargado por includes/interior.php después de interior-pages.css. */

/* ============ Cabecera · Módulos (producto en grande) ============ */
.rx-hero--product { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding-bottom: 88px; }
.rx-stage { position: relative; display: grid; place-items: center; min-width: 0; padding: 40px 28px 34px; border-radius: 32px; background: linear-gradient(160deg, #e3f0ff, #f5faff 60%, #ffffff); border: 1px solid #d9e8f8; isolation: isolate; }
.rx-stage-glow { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(circle at 80% 10%, rgb(13 110 253 / 18%), transparent 50%), radial-gradient(circle at 10% 90%, rgb(91 183 255 / 20%), transparent 45%); }
.rx-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(90deg, rgb(13 110 253 / 6%) 1px, transparent 1px), linear-gradient(180deg, rgb(13 110 253 / 6%) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle at 50% 50%, black, transparent 75%); }
.rx-stage > .sg { width: 100%; max-width: 520px; }
.rx-stage-note { margin: 18px 0 0; color: var(--muted); font-size: .78rem; }

/* ============ Cabecera · Integraciones (conexión) ============ */
.rx-hero--connect { padding: 56px 0 88px; }
.rx-connect-copy { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.rx-connect-copy h1, .rx-connect-copy .interior-lead { margin-inline: auto; }
.rx-connect-copy .interior-actions { justify-content: center; }
.rx-pipeline { display: grid; grid-template-columns: 1fr 120px minmax(280px, 1.2fr) 120px 1fr; align-items: center; padding: 40px; border-radius: 32px; background: linear-gradient(135deg, #07111f, #0b1f3d 60%, #0b3d80); box-shadow: 0 40px 90px -50px rgb(6 22 51 / 70%); position: relative; overflow: hidden; }
.rx-pipeline::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(180deg, rgb(255 255 255 / 3%) 1px, transparent 1px); background-size: 4rem 4rem; pointer-events: none; }
.rx-pipe-side { display: grid; gap: 14px; position: relative; }
.rx-pipe-node { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 16px; background: rgb(255 255 255 / 6%); color: white; font-weight: 500; font-size: .98rem; }
.rx-pipe-node .editorial-symbol { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; background: var(--brand); color: white; }
.rx-pipe-node .editorial-symbol svg { width: 20px; height: 20px; }
.rx-pipe-line { position: relative; height: 2px; margin-inline: 8px; background: linear-gradient(90deg, rgb(97 165 255 / 15%), rgb(97 165 255 / 70%)); }
.rx-pipe-line--out { background: linear-gradient(90deg, rgb(97 165 255 / 70%), rgb(97 165 255 / 15%)); }
.rx-pipe-line i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #61a5ff; box-shadow: 0 0 12px #61a5ff; animation: rx-flow 2.4s linear infinite; }
.rx-pipe-line i:nth-child(2) { animation-delay: .8s; }
.rx-pipe-line i:nth-child(3) { animation-delay: 1.6s; }
@keyframes rx-flow { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 10px); opacity: 0; } }
.rx-pipe-core { position: relative; padding: 22px; border-radius: 22px; background: white; box-shadow: 0 0 0 8px rgb(255 255 255 / 6%), 0 30px 60px -20px rgb(0 0 0 / 55%); }
.rx-pipe-core > p { display: flex; gap: 12px; align-items: center; margin: 0 0 12px; }
.rx-pipe-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, #0d6efd, #084298); color: white; font-weight: 700; font-size: 1.2rem; }
.rx-pipe-core small { display: block; color: var(--muted); font-size: .78rem; }
.rx-pipe-core b { font-weight: 600; }
.rx-pipe-core ul { list-style: none; margin: 0; padding: 0; }
.rx-pipe-core li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #e8f0fa; font-size: .88rem; }
.rx-pipe-core li span { color: var(--muted); }

/* ============ Cabecera · Cumplimiento (documento) ============ */
.rx-intro--document { padding: 8px 0 24px; }
.rx-intro--document .interior-breadcrumb { padding-bottom: 20px; }
.rx-hero--document { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 32px; color: white; background: radial-gradient(circle at 12% 18%, rgb(13 110 253 / 36%), transparent 30rem), radial-gradient(circle at 88% 8%, rgb(56 189 248 / 18%), transparent 34rem), linear-gradient(135deg, #07111f, #0b1424 54%, #07101d); box-shadow: 0 32px 88px rgb(6 22 51 / 22%); position: relative; overflow: hidden; }
.rx-hero--document::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(180deg, rgb(255 255 255 / 3%) 1px, transparent 1px); background-size: 5rem 5rem; pointer-events: none; }
.rx-hero--document > * { position: relative; }
.rx-hero--document h1 { color: white; }
.rx-hero--document .interior-kicker { color: #61a5ff !important; }
.rx-hero--document .interior-lead, .rx-hero--document .interior-launch { color: #b9cce4; }
.rx-hero--document .interior-text-link { color: #cfe3ff; }
.rx-hero--document .interior-highlight { background-image: linear-gradient(90deg, rgb(13 110 253 / 60%), rgb(91 183 255 / 45%)); }
.rx-hero--document .gc-hero-areas li { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 18%); color: #e4f0ff; }
.rx-docstage { position: relative; display: grid; justify-items: center; }
.rx-docstage > .sg { width: 100%; max-width: 440px; transform: rotate(-2deg); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 65%); }
.rx-doc-badge { position: absolute; right: -6px; bottom: -18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: white; color: var(--ink); font-size: .86rem; font-weight: 600; box-shadow: 0 18px 40px -16px rgb(0 0 0 / 50%); }
.rx-doc-badge .editorial-symbol { width: 30px; height: 30px; flex-basis: 30px; border-radius: 50%; background: #e3f6ec; color: #11704a; }
.rx-doc-badge .editorial-symbol svg { width: 16px; height: 16px; }

/* ============ Cabecera · Soluciones (lugar) ============ */
.rx-intro--place { padding-bottom: 24px; }
.rx-hero--place { position: relative; display: flex; align-items: flex-end; min-height: clamp(560px, 70vh, 700px); padding: clamp(28px, 5vw, 64px); border-radius: 32px; overflow: hidden; isolation: isolate; }
.rx-hero--place > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.rx-hero--place::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(6 22 51 / 88%) 0%, rgb(6 22 51 / 60%) 45%, rgb(6 22 51 / 5%) 80%), linear-gradient(0deg, rgb(6 22 51 / 50%), transparent 50%); }
.rx-place-copy { max-width: 600px; color: white; }
.rx-place-copy h1 { color: white; }
.rx-place-copy .interior-kicker { color: #9cc8ff !important; }
.rx-place-copy .interior-lead, .rx-place-copy .interior-launch { color: #d6e5f7; }
.rx-place-copy .interior-text-link { color: white; }
.rx-place-copy .interior-highlight { background-image: linear-gradient(90deg, rgb(13 110 253 / 70%), rgb(91 183 255 / 55%)); }
.rx-place-copy .gc-hero-areas li { background: rgb(255 255 255 / 12%); border-color: rgb(255 255 255 / 25%); color: white; }
.rx-hero--place .gc-float--hero { left: auto; right: clamp(20px, 4vw, 48px); bottom: auto; top: clamp(20px, 4vw, 48px); }
.rx-place-caption { margin: 10px 0 0; text-align: right; color: var(--muted); font-size: .78rem; }
.interior-page .rx-intro--place .interior-breadcrumb, .interior-page .rx-intro--document .interior-breadcrumb { padding-top: 28px; }
.rx-intro--place .interior-breadcrumb { padding-bottom: 20px; }

/* ============ Secciones: pieza visual, bento, variantes ============ */
.interior-rich main > .rx-sigshow { background: linear-gradient(180deg, white, #f5faff); }
.rx-sigshow-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.rx-sigshow--reverse .rx-sigshow-copy { order: 2; }
.rx-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.rx-checks li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; }
.rx-checks .editorial-symbol { width: 32px; height: 32px; flex-basis: 32px; border-radius: 50%; background: var(--brand); color: white; }
.rx-checks .editorial-symbol svg { width: 18px; height: 18px; }
.rx-checks b { display: block; font-weight: 600; font-size: 1.04rem; margin-bottom: 2px; }
.rx-checks small { display: block; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.rx-stage--section { padding: 48px 32px 36px; }

.interior-rich main > .rx-bento { background: white; }
.rx-bento-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 18px; }
.rx-tile { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, white, #f7fbff); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.rx-tile:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -32px rgb(8 66 152 / 45%); }
.rx-tile h3 { font-size: 1.22rem; line-height: 1.3; margin: 0 0 10px; letter-spacing: -.02em; font-weight: 600; }
.rx-tile p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.rx-tile--main { grid-column: span 2; grid-row: span 2; color: white; border: 0; background: radial-gradient(circle at 90% 0%, rgb(97 165 255 / 35%), transparent 50%), linear-gradient(150deg, #0b3d80, #082a59 70%); }
.rx-tile--main h3 { color: white; font-size: 1.6rem; }
.rx-tile--main > p:not(.gc-step-label) { color: #c9dcf5; }
.rx-tile--main .gc-step-label { color: #9cc8ff !important; }
.rx-tile-data { margin-top: auto; padding: 18px; border-radius: 18px; background: white; color: var(--ink); }
.rx-tile-data .gc-core-head { margin-bottom: 8px; }
.rx-tile-data ul { list-style: none; padding: 0; margin: 0; }
.rx-tile-data li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #e8f0fa; font-size: .88rem; }
.rx-tile-data li span { color: var(--muted); }
.rx-tile--main { gap: 0; }
.rx-tile--main .rx-tile-data { margin-top: auto; }
.rx-tile--main > p:not(.gc-step-label) { margin-bottom: 28px; }
.rx-tile--metric { grid-column: span 2; flex-direction: row; align-items: center; gap: 24px; }
.rx-tile--metric p { display: grid; gap: 4px; }
.rx-tile--metric p b { color: var(--ink); font-size: 1.8rem; font-weight: 600; letter-spacing: -.03em; }
.rx-tile--metric small { position: absolute; right: 20px; bottom: 16px; color: var(--muted); font-size: .76rem; }
.rx-tile-icon .editorial-symbol { width: 48px; height: 48px; flex-basis: 48px; border-radius: 14px; margin-bottom: 18px; }
.rx-tile--photo { color: white; border: 0; justify-content: flex-end; min-height: 260px; }
.rx-tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.rx-tile--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(6 22 51 / 10%), rgb(6 22 51 / 85%)); z-index: 0; }
.rx-tile--photo > :not(img) { position: relative; z-index: 1; }
.rx-tile--photo h3 { color: white; }
.rx-tile--photo p { color: #d6e5f7; }
.rx-tile--photo .gc-step-label { color: #9cc8ff !important; }
.rx-tile--photo .rx-tile-icon .editorial-symbol { background: rgb(255 255 255 / 16%); color: white; }

.gc-workday--reverse .gc-workday-visual { order: 2; padding-right: 0; padding-left: 28px; }
.gc-workday--reverse .gc-float--flow { right: auto; left: 0; }
@media (min-width: 1280px) { .gc-workday--reverse .gc-float--flow { left: -28px; right: auto; } }

.gc-hub--light .gc-panel { color: var(--ink); background: radial-gradient(circle at 90% 0%, rgb(13 110 253 / 14%), transparent 40%), linear-gradient(160deg, #eef6ff, #f8fbff); border: 1px solid #d9e8f8; box-shadow: none; }
.gc-hub--light .gc-panel::before { background: linear-gradient(90deg, rgb(13 110 253 / 5%) 1px, transparent 1px), linear-gradient(180deg, rgb(13 110 253 / 5%) 1px, transparent 1px); background-size: 5rem 5rem; }
.interior-page main .gc-hub--light .gc-panel h2 { color: var(--ink); }
.gc-hub--light .gc-panel .interior-kicker { color: var(--brand-dark) !important; }
.gc-hub--light .gc-panel-copy > p:not(.interior-kicker) { color: var(--muted); }
.gc-hub--light .gc-panel-points .editorial-symbol { background: white; border-color: #d9e8f8; color: var(--brand); }
.gc-hub--light .gc-panel-points span { color: var(--muted); }
.gc-hub--light .gc-panel .interior-highlight { background-image: linear-gradient(90deg, rgb(13 110 253 / 16%), rgb(91 183 255 / 22%)); }
.gc-hub--light .gc-node { background: white; color: var(--ink); border-color: #d9e8f8; box-shadow: 0 10px 24px -14px rgb(8 66 152 / 40%); }
.gc-hub--light .gc-orbit--1 { border-color: rgb(13 110 253 / 25%); }
.gc-hub--light .gc-core { box-shadow: 0 30px 60px -30px rgb(8 66 152 / 45%); }

.interior-rich main > .gc-journey--light { background: #f5faff; color: var(--ink); }
.interior-page main .gc-journey--light h2 { color: var(--ink); }
.gc-journey--light .interior-kicker { color: var(--brand-dark) !important; }
.rx-journey-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.rx-journey-split .gc-section-head { position: sticky; top: 110px; margin: 0; }
.rx-journey-split .gc-section-head > p:not(.interior-kicker) { margin-bottom: 28px; }
.gc-journey-track.rx-timeline { display: grid; grid-template-columns: 1fr; gap: 0; }
.gc-journey-track.rx-timeline::before { top: 0; bottom: 0; left: 33px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgb(13 110 253 / 50%), rgb(13 110 253 / 10%)); }
.gc-journey-track.rx-timeline li { display: grid; grid-template-columns: 68px 1fr; gap: 22px; padding: 0 0 28px; }
.gc-journey-track.rx-timeline li::after { display: none; }
.gc-journey-track.rx-timeline li > div { padding: 22px 26px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.gc-journey-track.rx-timeline .gc-journey-dot { margin: 0; box-shadow: 0 0 0 8px #f5faff, 0 12px 24px -10px rgb(13 110 253 / 50%); }
.gc-journey-track.rx-timeline h3 { color: var(--ink); }
.gc-journey-track.rx-timeline p { color: var(--muted); }
.gc-journey-track.rx-timeline .gc-journey-step { color: var(--brand); }

/* ============ Primitivas de las piezas visuales ============ */
.sg { position: relative; padding: 22px; border-radius: 22px; background: white; color: var(--ink); text-align: left; box-shadow: 0 30px 70px -36px rgb(8 66 152 / 45%), 0 0 0 1px rgb(13 110 253 / 8%); font-size: .9rem; }
.sg b { font-weight: 600; }
.sg small { color: var(--muted); }
.sg-win { padding: 0 0 18px; overflow: hidden; }
.sg-win > :not(.sg-bar) { margin-inline: 20px; }
.sg-bar { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 18px; border-bottom: 1px solid #e8f0fa; background: #f8fbff; font-size: .86rem; }
.sg-bar em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .8rem; }
.sg-bar--dark { background: #0f1b2e; border-color: #1f2d44; color: #cfe3ff; }
.sg-dots { display: inline-flex; gap: 6px; }
.sg-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d3dbe6; }
.sg-dots i:nth-child(1) { background: #ff8a80; } .sg-dots i:nth-child(2) { background: #ffd180; } .sg-dots i:nth-child(3) { background: #a5d6a7; }
.sg-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.sg-pill--ok { background: #e3f6ec; color: #11704a; }
.sg-pill--info { background: #e3efff; color: #0a58ca; }
.sg-pill--warn { background: #fff3dc; color: #9a5b00; }
.sg-pill--bad { background: #fde8e8; color: #b42318; }
.sg-pill--mute { background: #eef2f7; color: #5b6b80; }
.sg-rows { list-style: none; padding: 0; margin: 0; }
.sg-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #e8f0fa; }
.sg-rows li:first-child { border-top: 0; }
.sg-rows li > span:first-child { color: var(--muted); }
.sg-foot { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; color: var(--muted); font-size: .84rem; }
.sg-foot .editorial-symbol { width: 26px; height: 26px; flex-basis: 26px; border-radius: 8px; }
.sg-foot .editorial-symbol svg { width: 15px; height: 15px; }
.sg-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 0; color: var(--muted); font-size: .8rem; }
.sg-legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; background: currentColor; vertical-align: -1px; }
.sg-legend .a::before, .sg-legend .info::before { background: #0d6efd; } .sg-legend .b::before { background: #7c5cff; } .sg-legend .c::before, .sg-legend .grp::before { background: #f59e0b; } .sg-legend .d::before, .sg-legend .ok::before { background: #16a34a; } .sg-legend .e::before, .sg-legend .mute::before { background: #c3cfdd; } .sg-legend .warn::before { background: #f59e0b; } .sg-legend .bad::before { background: #e5484d; }
.sg-ring { --p: 50; display: grid; place-items: center; width: 92px; height: 92px; flex: 0 0 92px; border-radius: 50%; background: radial-gradient(closest-side, white 74%, transparent 75% 100%), conic-gradient(#0d6efd calc(var(--p) * 1%), #dbe9fb 0); }
.sg-ring b { font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.sg-ring--sm { width: 60px; height: 60px; flex-basis: 60px; }
.sg-ring--sm b { font-size: .86rem; }
.sg-cta { display: block; margin-top: 14px; padding: 12px; border-radius: 999px; background: var(--brand); color: white; text-align: center; font-weight: 600; font-size: .9rem; }
.sg-logo { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: linear-gradient(135deg, #0d6efd, #084298); color: white; font-weight: 700; }
.sg-label { margin: 16px 0 8px; color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.sg-tags span { padding: 6px 12px; border-radius: 999px; background: #f0f6ff; color: var(--brand-dark); font-size: .8rem; }
.sg-tags span.on { background: var(--brand); color: white; }
.sg-paper { background: #fffefb; border-radius: 16px; padding: 26px; }
.sg-paper::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, #0d6efd, #5bb7ff); }
.sg-form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 18px; }
.sg-form-head small { display: block; }
.sg-hbar { display: block; flex: 1; height: 8px; border-radius: 999px; background: #e8f0fa; overflow: hidden; }
.sg-hbar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0d6efd, #5bb7ff); }
.sg-phone { width: 270px; padding: 10px; border-radius: 40px; background: #0b1424; box-shadow: 0 40px 80px -30px rgb(6 22 51 / 60%); }
.sg-phone-screen { min-height: 470px; padding: 26px 16px 18px; border-radius: 32px; background: #f4f8fd; }
.sg-phone--small { width: 220px; }
.sg-phone--small .sg-phone-screen { min-height: 380px; }
.sg-phone-head { margin: 0 0 14px; }
.sg-phone-head b, .sg-phone-head small { display: block; }
.rx-stage .sg.sg-phone, .rx-stage .sg-phone { max-width: 270px; }
.sg-idcard, .sg-passport { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 14px; border-radius: 12px; background: linear-gradient(135deg, #dbeafe, #f0f6ff); overflow: hidden; }
.sg-idcard-photo { width: 56px; height: 68px; border-radius: 8px; background: linear-gradient(180deg, #a9c4e8, #7d9cc8); }
.sg-idcard-lines { display: grid; gap: 8px; align-content: center; }
.sg-idcard-lines i { display: block; height: 8px; border-radius: 4px; background: #a9c4e8; }
.sg-idcard-lines i:nth-child(2) { width: 70%; } .sg-idcard-lines i:nth-child(3) { width: 50%; }
.sg-scanline { position: absolute; left: 0; right: 0; height: 3px; background: #16a34a; box-shadow: 0 0 14px 2px rgb(22 163 74 / 60%); animation: sg-scan 2.4s ease-in-out infinite alternate; }
@keyframes sg-scan { from { top: 6%; } to { top: 92%; } }
.sg-extract { padding: 18px; border-radius: 18px; background: white; box-shadow: 0 24px 50px -30px rgb(8 66 152 / 45%); }
.sg-extract > p { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.sg-extract .editorial-symbol { width: 30px; height: 30px; flex-basis: 30px; border-radius: 50%; background: #e3f6ec; color: #11704a; }
.sg-extract .editorial-symbol svg { width: 16px; height: 16px; }
.sg-extract .sg-pill { margin-top: 10px; }
.sg-qr { display: grid; grid-template-columns: repeat(15, 6px); gap: 0; padding: 6px; border-radius: 8px; background: white; border: 1px solid #e3eaf3; flex: 0 0 auto; }
.sg-qr i { width: 6px; height: 6px; }
.sg-qr i.on { background: #0b1424; }

/* ============ Piezas por ficha ============ */
/* Gestión centralizada */
.sg-departments-core { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 14px; border-radius: 16px; background: linear-gradient(135deg, #0b3d80, #082a59); color: white; }
.sg-departments-core small { display: block; color: #9cc8ff; }
.sg-departments-core > div { flex: 1; }
.sg-departments-core .editorial-symbol { background: rgb(255 255 255 / 14%); color: white; }
.sg-departments-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sg-departments-cols > div { padding: 12px 14px; border: 1px solid #e3eefb; border-radius: 14px; }
.sg-departments-cols > div > p { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-weight: 600; }
.sg-departments-cols .editorial-symbol { width: 28px; height: 28px; flex-basis: 28px; border-radius: 8px; }
.sg-departments-cols .editorial-symbol svg { width: 15px; height: 15px; }
.sg-departments-cols .sg-rows li { font-size: .82rem; padding: 6px 0; }
/* Experiencia del huésped */
.sg.sg-phone { padding: 10px; border-radius: 40px; background: #0b1424; }
.sg-chat { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sg-chat li { max-width: 86%; padding: 10px 12px; border-radius: 16px; font-size: .84rem; line-height: 1.45; }
.sg-chat .in { background: white; border-bottom-left-radius: 4px; box-shadow: 0 4px 12px -8px rgb(0 0 0 / 30%); }
.sg-chat .out { justify-self: end; background: var(--brand); color: white; border-bottom-right-radius: 4px; }
.sg-chat .card { display: flex; gap: 10px; align-items: center; max-width: 100%; background: white; border: 1px solid #dbe9fb; }
.sg-chat .card b, .sg-chat .card small { display: block; }
.sg-chat .editorial-symbol { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; background: #e3f6ec; color: #11704a; }
.sg-chat .editorial-symbol svg { width: 18px; height: 18px; }
/* Beneficios operativos */
.sg-rings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sg-rings-grid > div { display: grid; justify-items: center; gap: 2px; padding: 14px; border-radius: 16px; background: #f8fbff; text-align: center; }
.sg-rings-grid p { margin: 8px 0 0; font-weight: 600; }
/* PMS Hotelero */
.sg-planning-grid { display: grid; grid-template-columns: 44px repeat(7, minmax(0, 1fr)); grid-auto-rows: 38px; gap: 6px 4px; }
.sg-day { display: grid; place-items: center; color: var(--muted); font-size: .74rem; }
.sg-room { grid-column: 1; display: grid; place-items: center; border-radius: 8px; background: #f0f6ff; font-weight: 600; font-size: .8rem; }
.sg-stay { display: flex; align-items: center; padding: 0 10px; border-radius: 8px; color: white; font-size: .76rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-stay--a { background: #0d6efd; } .sg-stay--b { background: #7c5cff; } .sg-stay--c { background: #f59e0b; } .sg-stay--d { background: #16a34a; } .sg-stay--e { background: repeating-linear-gradient(45deg, #c3cfdd 0 6px, #d6dfea 6px 12px); color: #42526b; }
/* Channel Manager */
.sg-channels { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; }
.sg-channels-core { display: grid; justify-items: start; gap: 4px; padding: 20px; border-radius: 18px; background: linear-gradient(150deg, #0d6efd, #084298); color: white; }
.sg-channels-core small, .sg-channels-core span { color: #d6e7ff; }
.sg-channels-core b { font-size: 2.6rem; line-height: 1; }
.sg-channels-core .sg-pill { margin-top: 10px; }
.sg-channels-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sg-channels-list li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid #e3eefb; border-radius: 14px; }
.sg-channels-list li > span:nth-child(2) { flex: 1; }
.sg-channels-list b, .sg-channels-list small { display: block; }
.sg-pulse { width: 10px; height: 10px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgb(22 163 74 / 50%); animation: sg-pulse 2s infinite; }
@keyframes sg-pulse { 70% { box-shadow: 0 0 0 10px rgb(22 163 74 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(22 163 74 / 0%); } }
/* Motor de reservas */
.sg-booking-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 14px; }
.sg-booking-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.sg-booking-fields span { padding: 10px 12px; border: 1px solid #dbe6f3; border-radius: 12px; }
.sg-booking-fields small, .sg-booking-fields b { display: block; }
.sg-booking-rooms { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.sg-booking-rooms li { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid #dbe6f3; border-radius: 14px; }
.sg-booking-rooms li.is-selected { border: 2px solid var(--brand); background: #f3f8ff; }
.sg-booking-rooms span b, .sg-booking-rooms span small { display: block; }
.sg-booking-extras { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; font-size: .82rem; color: var(--brand-dark); }
.sg-booking-extras span { padding: 5px 10px; border-radius: 999px; background: #f0f6ff; }
.sg-booking-total { display: flex; justify-content: space-between; margin: 0; padding-top: 12px; border-top: 1px dashed #dbe6f3; }
.sg-booking-total b { font-size: 1.3rem; }
/* Check-in online */
.sg-checkin { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 0; background: none; box-shadow: none; }
.sg-steps { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; }
.sg-steps span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #dbe6f3; font-size: .74rem; font-weight: 700; }
.sg-steps span.done { background: var(--brand); color: white; }
.sg-steps i { flex: 1; height: 2px; background: #dbe6f3; }
/* Housekeeping */
.sg-board-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sg-tile { position: relative; display: grid; gap: 2px; padding: 10px; border-radius: 12px; border-left: 4px solid; background: #f8fbff; }
.sg-tile small { font-size: .74rem; }
.sg-tile i { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #0b3d80; color: white; font-size: .6rem; font-style: normal; font-weight: 700; }
.sg-tile--ok { border-color: #16a34a; background: #effaf3; } .sg-tile--info { border-color: #0d6efd; } .sg-tile--warn { border-color: #f59e0b; background: #fff8eb; } .sg-tile--bad { border-color: #e5484d; background: #fdf0f0; } .sg-tile--mute { border-color: #c3cfdd; background: #f4f6f9; }
/* GMAO */
.sg-kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; background: #eef4fb; }
.sg-kanban-col > p { display: flex; justify-content: space-between; margin: 0 0 8px; font-weight: 600; font-size: .84rem; }
.sg-kanban-col > p span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: white; font-size: .74rem; }
.sg-kanban-card { display: grid; gap: 4px; justify-items: start; padding: 12px; margin-bottom: 8px; border-radius: 12px; background: white; box-shadow: 0 6px 16px -10px rgb(8 66 152 / 35%); }
.sg-kanban-card b { font-size: .84rem; line-height: 1.3; }
/* Facturación */
.sg-invoice-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 18px; }
.sg-invoice-head b, .sg-invoice-head small { display: block; }
.sg-stamp { padding: 6px 14px; border: 2px solid #16a34a; border-radius: 8px; color: #16a34a; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-8deg); }
.sg-invoice-lines { list-style: none; padding: 0; margin: 0 0 12px; }
.sg-invoice-lines li, .sg-invoice-sub, .sg-invoice-total { display: flex; justify-content: space-between; padding: 8px 0; margin: 0; border-bottom: 1px dashed #e3eaf3; }
.sg-invoice-sub { color: var(--muted); border: 0; padding: 4px 0; }
.sg-invoice-total { border: 0; border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 12px; font-size: 1.1rem; }
/* BI */
.sg-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.sg-kpis span { display: grid; padding: 12px; border-radius: 14px; background: #f3f8ff; }
.sg-kpis b { font-size: 1.3rem; }
.sg-kpis em { font-style: normal; color: #16a34a; font-size: .78rem; font-weight: 600; }
.sg-chart { display: flex; align-items: flex-end; gap: 6px; height: 130px; }
.sg-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #8cc4ff, #0d6efd); opacity: .55; }
.sg-chart span.peak { opacity: 1; }
.sg-chart-axis { display: flex; justify-content: space-between; margin: 8px 0 0; color: var(--muted); font-size: .74rem; }
/* TPV */
.sg-pay { display: grid; gap: 16px; padding: 0; background: none; box-shadow: none; }
.sg-creditcard { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding: 24px; border-radius: 20px; color: white; background: radial-gradient(circle at 90% 0%, rgb(91 183 255 / 50%), transparent 50%), linear-gradient(135deg, #0d6efd, #082a59); box-shadow: 0 30px 60px -30px rgb(8 66 152 / 70%); transform: rotate(-3deg); }
.sg-creditcard > b { grid-column: 1 / -1; font-size: 1.25rem; letter-spacing: .12em; }
.sg-creditcard small { display: block; color: #cfe3ff; font-size: .7rem; }
.sg-chip { width: 44px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #ffd88a, #d4a03a); grid-column: 1 / -1; }
.sg-pay-panel { padding: 20px; border-radius: 20px; background: white; box-shadow: 0 24px 50px -30px rgb(8 66 152 / 45%); }
.sg-pay-panel > p { display: flex; justify-content: space-between; align-items: center; margin: 0 0 14px; }
.sg-pay-panel > p b { font-size: 1.5rem; }
.sg-progress { display: flex; list-style: none; padding: 0; margin: 0 0 14px; counter-reset: s; }
.sg-progress li { flex: 1; position: relative; padding-top: 22px; font-size: .74rem; color: var(--muted); text-align: center; }
.sg-progress li::before { content: ''; position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #dbe6f3; }
.sg-progress li::after { content: ''; position: absolute; top: 6px; left: calc(50% + 9px); right: calc(-50% + 9px); height: 2px; background: #dbe6f3; }
.sg-progress li:last-child::after { display: none; }
.sg-progress li.done { color: var(--ink); font-weight: 600; }
.sg-progress li.done::before, .sg-progress li.done::after { background: var(--brand); }
/* CRM */
.sg-profile-head { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.sg-profile-head > span:nth-child(2) { flex: 1; }
.sg-profile-head b, .sg-profile-head small { display: block; }
.sg-avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #5bb7ff, #0d6efd); color: white; font-weight: 700; }
.sg-profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sg-profile-stats span { display: grid; padding: 10px; border-radius: 12px; background: #f3f8ff; text-align: center; }
.sg-profile-stats b { font-size: 1.15rem; }
.sg-mini-timeline { list-style: none; padding: 0 0 0 16px; margin: 0; border-left: 2px solid #dbe9fb; display: grid; gap: 8px; font-size: .84rem; color: var(--muted); }
.sg-mini-timeline b { color: var(--ink); margin-right: 6px; }
/* Multi-hotel */
.sg-props { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sg-prop { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #e3eefb; border-radius: 16px; }
.sg-prop b, .sg-prop small { display: block; }
.sg-props-total { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin: 4px 0 0; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #0b3d80, #082a59); color: white; }
.sg-props-total b { font-size: 1.4rem; }
/* API */
.sg-code { padding: 0; overflow: hidden; background: #0b1424; color: #cfe3ff; }
.sg-code pre { margin: 0; padding: 20px 22px; font-size: .82rem; line-height: 1.7; color: #cfe3ff; white-space: pre-wrap; }
.sg-code .k { color: #8cc4ff; } .sg-code .s { color: #a5e3b5; } .sg-code .n { color: #ffd180; } .sg-code .m { color: #0b1424; background: #a5e3b5; padding: 1px 6px; border-radius: 4px; font-weight: 700; } .sg-code .c { color: #7c8ba1; }
.sg-endpoints { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 22px 20px; }
.sg-endpoints span { padding: 5px 10px; border-radius: 8px; background: #1a2740; color: #8cc4ff; font-family: ui-monospace, monospace; font-size: .78rem; }
/* Canales */
.sg-feed ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sg-feed li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #f8fbff; }
.sg-feed li > span:nth-child(2) { flex: 1; }
.sg-feed li b, .sg-feed li small { display: block; }
.sg-feed em { font-style: normal; color: var(--muted); font-size: .78rem; }
.sg-feed li:first-child { background: #effaf3; box-shadow: inset 3px 0 0 #16a34a; }
/* Pagos y facturación */
.sg-chain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; }
.sg-chain-step { display: grid; justify-items: center; gap: 6px; padding: 18px 10px; border: 1px solid #e3eefb; border-radius: 18px; text-align: center; }
.sg-chain-step b { font-size: 1.1rem; }
.sg-chain-arrow { color: var(--brand); font-size: 1.4rem; }
/* Operativa hotelera */
.sg-devices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sg-device { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e3eefb; border-radius: 16px; }
.sg-device > span:nth-of-type(1) { flex: 1; }
.sg-device b, .sg-device small { display: block; }
.sg-led { width: 10px; height: 10px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 10px #16a34a; }
.sg-device-core { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #0d6efd, #084298); color: white; }
.sg-device-core small { color: #d6e7ff; }
/* Datos y reporting */
.sg-checklist { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.sg-checklist li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e3eefb; border-radius: 12px; color: var(--muted); }
.sg-checklist li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 2px solid #c3cfdd; font-size: .8rem; color: white; }
.sg-checklist li.on { color: var(--ink); }
.sg-checklist li.on span { background: var(--brand); border-color: var(--brand); }
/* ERP / RMS / CRM */
.sg-stack { display: grid; gap: 0; padding: 0; background: none; box-shadow: none; }
.sg-stack-win { position: relative; margin-left: calc(var(--i) * 28px); margin-top: calc(var(--i) * -6px); padding: 16px 18px; border-radius: 18px; background: white; box-shadow: 0 24px 50px -30px rgb(8 66 152 / 50%), 0 0 0 1px rgb(13 110 253 / 8%); z-index: calc(3 - var(--i)); }
.sg-stack-win + .sg-stack-win { margin-top: 14px; }
.sg-stack-win > p { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.sg-stack-win > p b { flex: 1; }
.sg-stack-win .editorial-symbol { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; }
.sg-stack-win > span { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: #f3f8ff; }
/* POS y TicketBAI */
.sg-ticket { max-width: 360px; margin: 0 auto 14px; padding: 24px 24px 26px; border-radius: 6px 6px 0 0; font-family: ui-monospace, 'SFMono-Regular', monospace; font-size: .84rem; }
.sg-ticket::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: linear-gradient(-45deg, transparent 8px, white 0) 0 0 / 16px 12px repeat-x, linear-gradient(45deg, transparent 8px, white 0) 0 0 / 16px 12px repeat-x; filter: drop-shadow(0 6px 6px rgb(8 66 152 / 12%)); }
.sg-ticket-head { text-align: center; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px dashed #c3cfdd; }
.sg-ticket-head b, .sg-ticket-head small { display: block; }
.sg-ticket ul { list-style: none; padding: 0; margin: 0; }
.sg-ticket li, .sg-ticket-total { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; margin: 0; }
.sg-ticket-total { margin-top: 8px; padding-top: 12px; border-top: 1px dashed #c3cfdd; font-size: 1.05rem; }
.sg-ticket-room { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 12px; border-radius: 12px; background: #e3efff; font-family: Inter, system-ui, sans-serif; }
.sg-ticket-room b, .sg-ticket-room small { display: block; }
.sg-tbai { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed #c3cfdd; }
.sg-tbai b { display: block; font-size: .74rem; word-break: break-all; }
.sg-tbai small { font-family: Inter, system-ui, sans-serif; }
/* ERP y contabilidad */
.sg-ledger table { width: calc(100% - 40px); border-collapse: collapse; font-size: .86rem; }
.sg-ledger th { text-align: left; padding: 8px 6px; color: var(--muted); font-weight: 500; border-bottom: 2px solid #e3eaf3; }
.sg-ledger td { padding: 9px 6px; border-bottom: 1px solid #eef3f9; font-variant-numeric: tabular-nums; }
.sg-ledger td:not(:first-child), .sg-ledger th:not(:first-child) { text-align: right; }
/* RMS */
.sg-forecast svg { display: block; width: calc(100% - 40px); height: auto; margin-bottom: 12px; }
.sg-forecast .area { fill: url(#none); fill: rgb(13 110 253 / 12%); }
.sg-forecast .line { fill: none; stroke: #0d6efd; stroke-width: 3; stroke-linecap: round; }
.sg-forecast .past { fill: none; stroke: #0b1424; stroke-width: 3; stroke-dasharray: 2 6; stroke-linecap: round; }
/* CRM integración */
.sg-sync { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 0; background: none; box-shadow: none; }
.sg-sync-card { padding: 18px; border-radius: 18px; background: white; box-shadow: 0 24px 50px -30px rgb(8 66 152 / 45%), 0 0 0 1px rgb(13 110 253 / 8%); }
.sg-sync-card > small, .sg-sync-card > b { display: block; }
.sg-sync-card > b { margin: 2px 0 8px; font-size: 1.05rem; }
.sg-sync-card .sg-rows li { font-size: .82rem; }
.sg-sync-card--dark { background: linear-gradient(150deg, #0b3d80, #082a59); color: white; }
.sg-sync-card--dark small, .sg-sync-card--dark .sg-rows li > span:first-child { color: #9cc8ff; }
.sg-sync-card--dark .sg-rows li { border-color: rgb(255 255 255 / 12%); }
.sg-sync-arrow .editorial-symbol { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: white; animation: sg-spin 6s linear infinite; }
@keyframes sg-spin { to { transform: rotate(360deg); } }
/* Cerraduras */
.sg-lock { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 0; background: none; box-shadow: none; }
.sg-key { display: grid; justify-items: center; align-content: center; gap: 10px; text-align: center; }
.sg-key b { font-size: 1.3rem; }
.sg-key-icon .editorial-symbol { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, #5bb7ff, #0d6efd); color: white; box-shadow: 0 0 0 12px rgb(13 110 253 / 15%), 0 0 0 24px rgb(13 110 253 / 8%); }
.sg-key-icon .editorial-symbol svg { width: 40px; height: 40px; }
.sg-key .sg-cta { width: 100%; }
.sg-door { position: relative; display: grid; justify-items: center; gap: 6px; padding: 40px 16px; border-radius: 18px 18px 6px 6px; background: linear-gradient(90deg, #c8a77d, #b8946a); color: #3d2a14; text-align: center; box-shadow: inset -10px 0 0 rgb(0 0 0 / 8%); }
.sg-door b { font-size: 1.6rem; padding: 4px 12px; border-radius: 8px; background: rgb(255 255 255 / 70%); }
.sg-door small { color: #3d2a14; font-weight: 600; }
.sg-door-led { width: 16px; height: 16px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 14px #16a34a; }
/* Escáner */
.sg-scan { display: grid; gap: 14px; padding: 0; background: none; box-shadow: none; }
.sg-passport { grid-template-columns: 64px 1fr; padding: 18px; background: linear-gradient(135deg, #0b3d80, #0d6efd); color: white; box-shadow: 0 24px 50px -24px rgb(8 66 152 / 60%); }
.sg-passport p { grid-column: 1 / -1; margin: 0; font-size: .72rem; letter-spacing: .14em; color: #cfe3ff; }
.sg-passport .sg-idcard-photo { width: 64px; height: 78px; background: linear-gradient(180deg, #cfe3ff, #8cb5e6); }
.sg-passport .sg-idcard-lines i { background: rgb(255 255 255 / 40%); }
.sg-passport code { grid-column: 1 / -1; color: #e4f0ff; font-size: .74rem; letter-spacing: .06em; overflow: hidden; white-space: nowrap; }
/* Voxel */
.sg-docs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sg-docs li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #e3eefb; border-radius: 14px; }
.sg-docs li > span:nth-of-type(1) { flex: 1; }
.sg-docs b, .sg-docs small { display: block; }
.sg-docs .editorial-symbol { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
/* Cumplimiento */
.sg-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sg-form-grid span { padding: 10px 12px; border: 1px solid #e3eaf3; border-radius: 10px; background: white; }
.sg-form-grid small, .sg-form-grid b { display: block; }
.sg-stats ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.sg-stats li { display: grid; grid-template-columns: 96px 1fr 44px; align-items: center; gap: 10px; font-size: .86rem; }
.sg-stats li b { text-align: right; }
.sg-stats-total { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.sg-stats-total span { display: grid; padding: 12px; border-radius: 12px; background: #f3f8ff; }
.sg-stats-total b { font-size: 1.3rem; }
.sg-calc-eq { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 16px; }
.sg-calc-eq span { display: grid; justify-items: center; padding: 10px; border-radius: 12px; background: #f3f8ff; min-width: 64px; }
.sg-calc-eq span b { font-size: 1.15rem; }
.sg-calc-eq span.res { background: var(--brand); color: white; }
.sg-calc-eq span.res small { color: #d6e7ff; }
.sg-calc-eq i { font-style: normal; color: var(--muted); font-weight: 700; }
.sg-verifactu .sg-form-head { align-items: flex-start; }
.sg-hashes { display: flex; align-items: center; gap: 10px; }
.sg-hashes span { flex: 1; display: grid; gap: 4px; padding: 12px; border-radius: 12px; background: #f3f6fa; }
.sg-hashes span.is-current { background: #e3efff; box-shadow: inset 0 0 0 2px var(--brand); }
.sg-hashes code { font-size: .8rem; color: var(--ink); }
.sg-hashes i { font-style: normal; color: var(--brand); font-weight: 700; }
.sg-audit ol { list-style: none; padding: 0 0 0 18px; margin: 0; border-left: 2px solid #dbe9fb; display: grid; gap: 12px; }
.sg-audit li { position: relative; display: grid; }
.sg-audit li::before { content: ''; position: absolute; left: -25px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: white; border: 3px solid var(--brand); }
.sg-audit li span { color: var(--muted); font-size: .82rem; }
/* Soluciones */
.sg-day ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sg-day li { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #f8fbff; }
.sg-day li small { font-weight: 600; color: var(--brand-dark); }
.sg-ranking ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sg-ranking li { display: grid; grid-template-columns: 26px 1fr 48px 48px; align-items: center; gap: 10px; }
.sg-ranking li .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f0f6ff; font-weight: 700; font-size: .78rem; }
.sg-ranking li:first-child .n { background: var(--brand); color: white; }
.sg-ranking li > span:nth-child(2) b { display: block; margin-bottom: 6px; }
.sg-units { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; background: none; box-shadow: none; }
.sg-unit { padding: 16px; border-radius: 18px; background: white; box-shadow: 0 20px 44px -28px rgb(8 66 152 / 45%), 0 0 0 1px rgb(13 110 253 / 8%); }
.sg-unit p { display: grid; gap: 8px; justify-items: start; margin: 0 0 14px; }
.sg-unit p b { font-size: 1.1rem; }
.sg-unit > span { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #f3f8ff; font-family: ui-monospace, monospace; font-size: .86rem; }
.sg-unit .editorial-symbol { width: 26px; height: 26px; flex-basis: 26px; border-radius: 8px; }
.sg-unit .editorial-symbol svg { width: 14px; height: 14px; }
.sg-beds-room { display: grid; gap: 6px; margin-bottom: 12px; }
.sg-beds-room > span { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-beds-room i { width: 34px; height: 22px; border-radius: 6px 6px 3px 3px; background: #e3eaf3; }
.sg-beds-room i.b1 { background: #0d6efd; } .sg-beds-room i.b2 { background: #f59e0b; }
.sg-arrivals ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sg-arrivals li { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #f8fbff; }
.sg-arrivals li small { font-weight: 600; color: var(--brand-dark); }
.sg-zones { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 14px; background: linear-gradient(160deg, #e3f6ec, #e3efff); }
.sg-zone { display: grid; justify-items: start; gap: 8px; padding: 14px; border-radius: 16px; background: white; }
.sg-zone.w2 { grid-column: span 2; }
.sg-zone .editorial-symbol { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; }
.sg-tables-floor { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px; border-radius: 16px; background: repeating-linear-gradient(45deg, #faf7f2 0 12px, #f5f0e8 12px 24px); }
.sg-table { display: grid; place-items: center; align-content: center; aspect-ratio: 1; border-radius: 50%; background: white; border: 3px solid #c3cfdd; text-align: center; }
.sg-table b { font-size: 1rem; }
.sg-table small { font-size: .66rem; font-weight: 600; }
.sg-table--busy { border-color: #0d6efd; background: #e3efff; }
.sg-table--room { border-color: #16a34a; background: #effaf3; }
.sg-table--room small { color: #11704a; }
.sg-tabs { padding: 0; overflow: hidden; }
.sg-tabs-nav { display: flex; gap: 4px; margin: 0; padding: 10px; background: #f3f8ff; }
.sg-tabs-nav span { flex: 1; padding: 10px; border-radius: 10px; text-align: center; color: var(--muted); font-weight: 500; }
.sg-tabs-nav span.on { background: white; color: var(--brand-dark); font-weight: 600; box-shadow: 0 4px 12px -6px rgb(8 66 152 / 35%); }
.sg-tabs-body { padding: 18px 20px 20px; }

/* ============ Adaptación ============ */
@media (max-width: 1199.98px) {
  .rx-pipeline { grid-template-columns: 1fr 60px minmax(240px, 1.2fr) 60px 1fr; padding: 28px; }
}
@media (max-width: 991.98px) {
  .rx-hero--product, .rx-hero--document, .rx-sigshow-layout, .rx-journey-split { grid-template-columns: 1fr; }
  .rx-journey-split .gc-section-head { position: static; }
  .rx-pipeline { grid-template-columns: 1fr; gap: 14px; }
  .rx-pipe-side { grid-template-columns: 1fr 1fr; }
  .rx-pipe-line { width: 2px; height: 36px; margin: 0 auto; background: linear-gradient(180deg, rgb(97 165 255 / 15%), rgb(97 165 255 / 70%)); }
  .rx-pipe-line i { left: -4px; animation-name: rx-flow-v; }
  @keyframes rx-flow-v { from { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 10px); opacity: 0; } }
  .rx-sigshow--reverse .rx-sigshow-copy { order: 0; }
  .rx-bento-grid { grid-template-columns: 1fr 1fr; }
  .rx-docstage > .sg { transform: none; }
  .gc-workday--reverse .gc-workday-visual { order: 0; padding-left: 0; }
}
@media (max-width: 767.98px) {
  .rx-stage { padding: 24px 14px 20px; border-radius: 24px; }
  .rx-hero--connect { padding-bottom: 56px; }
  .rx-connect-copy { text-align: left; margin-bottom: 32px; }
  .rx-connect-copy .interior-actions { justify-content: flex-start; }
  .rx-pipeline { padding: 18px; border-radius: 24px; }
  .rx-pipe-side { grid-template-columns: 1fr; }
  .rx-hero--document { padding: 26px 20px; border-radius: 24px; }
  .rx-doc-badge { position: static; margin-top: 16px; }
  .rx-hero--place { min-height: 0; padding: 220px 20px 24px; border-radius: 24px; flex-direction: column; align-items: stretch; }
  .rx-hero--place::after { background: linear-gradient(0deg, rgb(6 22 51 / 95%) 45%, rgb(6 22 51 / 20%)); }
  .rx-hero--place .gc-float--hero { position: relative; top: auto; right: auto; width: auto; margin: 24px 0 0; }
  .rx-bento-grid { grid-template-columns: 1fr; }
  .rx-tile--main, .rx-tile--metric { grid-column: auto; grid-row: auto; }
  .gc-journey-track.rx-timeline li { grid-template-columns: 52px 1fr; gap: 14px; }
  .gc-journey-track.rx-timeline .gc-journey-dot { width: 52px; height: 52px; }
  .gc-journey-track.rx-timeline::before { left: 25px; }
  .sg { padding: 16px; font-size: .86rem; }
  .sg-win { padding: 0 0 14px; }
  .sg-win > :not(.sg-bar) { margin-inline: 14px; }
  .sg-planning-grid { grid-template-columns: 34px repeat(7, minmax(0, 1fr)); grid-auto-rows: 32px; }
  .sg-stay { padding: 0 4px; font-size: .62rem; }
  .sg-day { font-size: .62rem; }
  .sg-channels, .sg-checkin, .sg-lock, .sg-sync, .sg-chain { grid-template-columns: 1fr; justify-items: stretch; }
  .sg-checkin .sg-phone, .sg-lock .sg-phone { margin-inline: auto; }
  .sg-chain-arrow, .sg-sync-arrow { justify-self: center; transform: rotate(90deg); }
  .sg-board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sg-kanban { grid-template-columns: 1fr; }
  .sg-props, .sg-devices, .sg-units, .sg-departments-cols, .sg-form-grid { grid-template-columns: 1fr; }
  .sg-zones { grid-template-columns: 1fr 1fr; }
  .sg-zone.w2 { grid-column: span 2; }
  .sg-calc-eq { flex-wrap: wrap; justify-content: center; }
  .sg-stack-win { margin-left: 0; }
  .sg-phone { width: 100%; max-width: 270px; }
  .sg-ledger table { width: 100%; }
  .sg-forecast svg { width: 100%; }
  .sg-ranking li { grid-template-columns: 26px 1fr 44px; }
  .sg-ranking li small { display: none; }
  .sg-tables-floor { gap: 8px; padding: 12px; }
  .sg-table { border-width: 2px; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rx-pipe-line i, .sg-scanline, .sg-pulse, .sg-sync-arrow .editorial-symbol { animation: none; }
  .rx-tile { transition: none; }
  .rx-tile:hover { transform: none; }
}
@media (forced-colors: active) {
  .sg, .rx-tile, .rx-pipe-core, .rx-pipe-node, .sg-tile, .sg-table { border: 1px solid CanvasText; }
}
