/* Funcionalidades · Check-in Online + OCR. Diseño propio (includes/pages/funcionalidades-check-in-online-ocr.php). Prefijo cko-. */
.cko-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.cko-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.interior-bespoke main .cko-head h2 { margin-inline: auto !important; }
.cko-head > p:not(.interior-kicker) { margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.cko-head--split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; max-width: none; margin: 0 0 44px; text-align: left; }
.interior-bespoke main .cko-head--split h2 { margin-inline: 0 !important; }
.cko-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-style: normal; font-weight: 600; font-size: .8rem; white-space: nowrap; }
.cko-pill--ok { background: #e3f6ec; color: #11704a; } .cko-pill--info { background: #e3efff; color: #0a58ca; } .cko-pill--warn { background: #fff3dc; color: #9a5b00; }
.cko-ava { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: linear-gradient(135deg, #5bb7ff, #0d6efd); color: white; font-weight: 700; font-size: .78rem; }
.cko-ava--b { background: linear-gradient(135deg, #fbbf24, #f59e0b); } .cko-ava--c { background: linear-gradient(135deg, #a78bfa, #7c5cff); } .cko-ava--d { background: linear-gradient(135deg, #4ade80, #16a34a); }

/* 1 · Cabecera: móvil y datos leídos */
.cko-hero { padding: 0 0 88px !important; background: radial-gradient(ellipse at 85% 10%, #cfe5ff, transparent 55%), linear-gradient(180deg, #edf7ff, #ffffff 85%); }
.cko-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 4.5vw, 72px); align-items: center; padding-top: 44px; }
.cko-hero-copy h1 { margin: 0 0 22px; font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 1.04; letter-spacing: -.045em; }
.cko-lead { max-width: 520px; margin: 0 0 32px; color: var(--muted); font-size: 1.18rem; line-height: 1.7; }
.cko-stage { position: relative; display: flex; align-items: center; min-height: 560px; }
.cko-stage::before { content: ''; position: absolute; inset: 60px 0 40px 22%; border-radius: 36px; background: linear-gradient(150deg, #0d6efd, #5bb7ff); opacity: .16; }
.cko-phone { position: relative; z-index: 1; width: 280px; flex: 0 0 280px; padding: 12px; border-radius: 46px; background: #0b1424; box-shadow: 0 50px 100px -40px rgb(8 34 80 / 70%), inset 0 0 0 2px #26324a; }
.cko-phone-screen { display: flex; flex-direction: column; min-height: 500px; padding: 26px 20px 20px; border-radius: 36px; background: white; }
.cko-phone-top { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 16px; }
.cko-phone-top b { color: var(--ink); font-size: .95rem; font-weight: 600; }
.cko-phone-top small { color: var(--muted); font-size: .78rem; }
.cko-progress { display: flex; align-items: center; gap: 6px; margin: 0 0 18px; }
.cko-progress span { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: #eef2f7; color: var(--muted); font-size: .78rem; font-weight: 700; }
.cko-progress span.done { background: #16a34a; color: white; } .cko-progress span.on { background: var(--brand); color: white; }
.cko-progress i { flex: 1; height: 3px; border-radius: 3px; background: #e3eefb; }
.cko-progress i.done { background: #16a34a; }
.cko-phone-title { margin: 0 0 16px; }
.cko-phone-title b { display: block; color: var(--ink); font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; }
.cko-phone-title small { display: block; color: var(--muted); font-size: .82rem; }
.cko-doc { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px 12px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #e8f1fc, #d8e8fb); overflow: hidden; }
.cko-doc-photo { grid-row: span 1; height: 74px; border-radius: 10px; background: radial-gradient(circle at 50% 38%, #9db8d8 16px, transparent 17px), radial-gradient(ellipse at 50% 110%, #9db8d8 30px, transparent 31px), #f3f8ff; }
.cko-doc-lines { display: grid; align-content: center; gap: 8px; }
.cko-doc-lines i { height: 7px; border-radius: 4px; background: #9db8d8; }
.cko-doc-lines i:nth-child(1) { width: 90%; } .cko-doc-lines i:nth-child(2) { width: 70%; } .cko-doc-lines i:nth-child(3) { width: 80%; } .cko-doc-lines i:nth-child(4) { width: 50%; }
.cko-doc-mrz { grid-column: 1 / -1; display: grid; gap: 5px; }
.cko-doc-mrz i { height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, #7f9ec4 0 5px, transparent 5px 8px); }
.cko-scan { position: absolute; left: 6px; right: 6px; top: 10%; height: 3px; border-radius: 3px; background: #16a34a; box-shadow: 0 0 16px 4px rgb(22 163 74 / 45%); animation: cko-scan 2.6s ease-in-out infinite alternate; }
@keyframes cko-scan { to { top: 88%; } }
.cko-corner { position: absolute; width: 18px; height: 18px; border: 3px solid var(--brand); }
.cko-corner--tl { top: 4px; left: 4px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.cko-corner--tr { top: 4px; right: 4px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.cko-corner--bl { bottom: 4px; left: 4px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.cko-corner--br { bottom: 4px; right: 4px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.cko-phone-hint { margin: 12px 0 0; color: var(--muted); font-size: .82rem; text-align: center; }
.cko-phone-res { display: grid; gap: 2px; margin: 16px 0 14px; padding: 12px 14px; border-radius: 14px; background: #f6faff; border: 1px solid #e3eefb; }
.cko-phone-res small { color: var(--muted); font-size: .78rem; }
.cko-phone-res b { color: var(--ink); font-size: .92rem; font-weight: 600; }
.cko-phone-res span { color: #11704a; font-size: .8rem; }
.cko-phone-cta { margin-top: auto; padding: 12px; border-radius: 999px; background: var(--brand); color: white; text-align: center; font-size: .95rem; }
.cko-extract { position: absolute; z-index: 2; right: 0; top: 150px; width: 300px; padding: 20px; border-radius: 24px; background: white; box-shadow: 0 40px 80px -40px rgb(8 66 152 / 60%), 0 0 0 1px rgb(13 110 253 / 10%); }
.cko-extract-head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.cko-extract-head .editorial-symbol { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; background: #e3f6ec; color: #11704a; }
.cko-extract-head b { display: block; color: var(--ink); font-size: 1.1rem; font-weight: 600; }
.cko-extract-head small { display: block; color: var(--muted); font-size: .85rem; }
.cko-extract ul { list-style: none; margin: 0; padding: 0; }
.cko-extract li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #edf2f8; font-size: .95rem; }
.cko-extract li span { color: var(--muted); }
.cko-extract li b { font-weight: 600; text-align: right; }
.cko-extract-foot { margin: 12px 0 0; }
.cko-chip { position: absolute; z-index: 3; right: 0; top: 40px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: #082a59; color: white; box-shadow: 0 24px 50px -20px rgb(6 22 51 / 60%); }
.cko-chip > span { isolation: isolate; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(#5bb7ff 0 75%, rgb(255 255 255 / 14%) 75% 100%); color: white; font-weight: 700; font-size: 1.05rem; line-height: 1; position: relative; }
.cko-chip > span::before { content: ''; position: absolute; z-index: -1; inset: 5px; border-radius: 50%; background: #082a59; }
.cko-chip > span small { font-size: .7rem; color: #b9cce4; }
.cko-chip b { max-width: 120px; color: white; font-weight: 600; font-size: .92rem; line-height: 1.3; }

/* 2 · Tres momentos */
.cko-moments { padding: clamp(72px, 8vw, 104px) 0 clamp(80px, 9vw, 120px) !important; background: white; }
.cko-line { position: relative; list-style: none; display: grid; gap: 56px; margin: 0; padding: 0; }
.cko-line::before { content: ''; position: absolute; top: 20px; bottom: 20px; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(180deg, #0d6efd, #5bb7ff 70%, #cfe3ff); }
.cko-moment { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: center; }
.cko-moment::before { content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: white; box-shadow: inset 0 0 0 5px var(--brand), 0 0 0 6px white; }
.cko-moment:nth-child(even) .cko-moment-copy { order: 2; }
.cko-moment:nth-child(odd) .cko-moment-copy { text-align: right; }
.cko-moment:nth-child(odd) .cko-moment-copy > p:not(.cko-moment-tag) { margin-left: auto; }
.cko-moment-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 5px 14px 5px 5px; border-radius: 999px; background: #eef5ff; color: var(--brand-dark); font-size: .9rem; }
.cko-moment-tag span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: white; font-weight: 700; font-size: .82rem; }
.cko-moment h3 { margin: 0 0 10px; font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 600; letter-spacing: -.02em; }
.cko-moment-copy > p:not(.cko-moment-tag) { max-width: 440px; margin: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.7; }
.cko-moment-visual { min-width: 0; }
.cko-message, .cko-form, .cko-desk { max-width: 420px; padding: 22px; border-radius: 26px; background: white; box-shadow: 0 21.6px 54.4px rgb(15 42 79 / 16%); }
.cko-moment:nth-child(even) .cko-moment-visual > div { margin-left: auto; }
.cko-message-from { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.cko-message-logo { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: #082a59; color: white; font-weight: 700; font-size: .82rem; }
.cko-message-from b { display: block; font-weight: 600; }
.cko-message-from small { display: block; color: var(--muted); font-size: .85rem; }
.cko-message-body { margin: 0 0 16px; padding: 14px 16px; border-radius: 4px 18px 18px 18px; background: #f2f7fe; color: var(--ink); font-size: .98rem; line-height: 1.55; }
.cko-message-btn { display: block; padding: 11px; border-radius: 999px; background: var(--brand); color: white; text-align: center; font-size: .95rem; }
.cko-form-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 12px; }
.cko-form-head b { font-weight: 600; }
.cko-field { display: grid; grid-template-columns: minmax(0, 1fr) auto 26px; align-items: center; gap: 12px; margin: 0 0 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid #e3eefb; background: #f8fbff; font-size: .95rem; }
.cko-field span { color: var(--muted); }
.cko-field b { font-weight: 600; }
.cko-field i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-style: normal; font-weight: 700; font-size: .8rem; }
.cko-field.is-ok i { background: #e3f6ec; color: #11704a; }
.cko-field.is-missing { border-color: #f7cf8a; background: #fffaf0; }
.cko-field.is-missing b { color: #9a5b00; }
.cko-field.is-missing i { background: #f59e0b; color: white; }
.cko-desk-guest { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.cko-desk-guest > span:nth-child(2) { flex: 1; min-width: 0; }
.cko-desk-guest b { display: block; font-size: 1.05rem; font-weight: 600; }
.cko-desk-guest small { display: block; color: var(--muted); font-size: .85rem; }
.cko-desk-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.cko-desk-checks span { padding: 10px 6px; border-radius: 12px; background: #e3f6ec; color: #11704a; text-align: center; font-size: .88rem; }
.cko-desk-btn { display: block; padding: 12px; border-radius: 14px; background: #082a59; color: white; text-align: center; font-size: .95rem; }

.cko-desk-guest, .cko-form-head, .cko-message-from, .cko-board-bar, .cko-extract-head, .cko-phone-top, .cko-phone-title, .cko-row-guest { color: var(--ink); }

/* 3 · Llegadas de hoy */
.cko-today { padding: 0 0 clamp(80px, 9vw, 120px) !important; background: white; }
.cko-board { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); overflow: hidden; border-radius: 32px; background: white; box-shadow: 0 21.6px 54.4px rgb(15 42 79 / 16%); }
.cko-board-side { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 48px); background: linear-gradient(180deg, #f3f8ff, #ffffff); border-right: 1px solid #e3eefb; }
.interior-bespoke main .cko-board-side h2 { font-size: clamp(1.9rem, 3vw, 2.7rem) !important; }
.cko-ring { position: relative; display: grid; place-items: center; width: 200px; height: 200px; margin: 18px 0 22px; border-radius: 50%; background: conic-gradient(var(--brand) calc(var(--p) * 1%), #e3eefb 0); }
.cko-ring::before { content: ''; position: absolute; inset: 18px; border-radius: 50%; background: white; }
.cko-ring span { position: relative; display: grid; justify-items: center; text-align: center; }
.cko-ring b { color: var(--ink); font-size: 2.2rem; font-weight: 600; line-height: 1.05; letter-spacing: -.03em; }
.cko-ring small { color: var(--muted); font-size: .9rem; }
.cko-board-note { margin: auto 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.cko-board-main { display: flex; flex-direction: column; min-width: 0; padding: 26px 28px; }
.cko-board-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 12px; }
.cko-board-bar b { font-size: 1.1rem; font-weight: 600; }
.cko-board-filters { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #f6faff; box-shadow: inset 0 0 0 1px #e3eefb; }
.cko-board-filters i { padding: 4px 12px; border-radius: 999px; color: var(--muted); font-style: normal; font-size: .82rem; }
.cko-board-filters i.is-on { background: var(--brand); color: white; }
.cko-table { margin-bottom: 18px; }
.cko-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 0; padding: 13px 0; border-top: 1px solid #edf2f8; }
.cko-row--head { border-top: 0; padding: 8px 0; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.cko-row-id { color: var(--brand-dark); font-weight: 700; font-variant-numeric: tabular-nums; }
.cko-row-guest { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cko-row-guest > span:last-child { min-width: 0; }
.cko-row-guest b { display: block; font-size: 1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cko-row-guest small { display: block; color: var(--muted); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cko-board-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: auto 0 0; }
.cko-board-kpis div { padding: 12px 14px; border-radius: 14px; background: #f6faff; border: 1px solid #e3eefb; }
.cko-board-kpis dt { color: var(--muted); font-size: .84rem; font-weight: 400; }
.cko-board-kpis dd { margin: 0; font-size: 1.6rem; font-weight: 600; line-height: 1.15; }

/* 4 · Panel oscuro OCR */
.cko-ocr { padding: 0 0 clamp(80px, 9vw, 120px) !important; }
.cko-ocr-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(32px, 5vw, 72px); border-radius: 32px; color: white; background: radial-gradient(circle at 80% 30%, rgb(13 110 253 / 40%), transparent 28rem), radial-gradient(circle at 5% 0%, rgb(56 189 248 / 16%), transparent 30rem), linear-gradient(135deg, #07111f, #0b1424 54%, #07101d); box-shadow: 0 32px 88px rgb(6 22 51 / 22%); }
.cko-ocr-panel::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; }
.cko-ocr-panel > * { position: relative; }
.cko-ocr-copy .interior-kicker { color: #61a5ff !important; }
.interior-bespoke main .cko-ocr-copy h2 { color: white; }
.cko-ocr-copy .interior-highlight { background-image: linear-gradient(90deg, rgb(13 110 253 / 60%), rgb(91 183 255 / 45%)); }
.cko-ocr-copy > p:not(.interior-kicker) { margin: 0 0 26px; color: #b9cce4; font-size: 1.06rem; line-height: 1.75; }
.cko-ocr-fields { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
.cko-ocr-fields li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 12%); }
.cko-ocr-fields li > span { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: #16a34a; color: white; font-weight: 700; font-size: .85rem; }
.cko-ocr-fields b { display: block; color: white; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.cko-ocr-fields small { display: block; margin-top: 2px; color: #b9cce4; font-size: .88rem; line-height: 1.4; }
.cko-idcard-wrap { position: relative; padding-bottom: 40px; }
.cko-idcard { position: relative; overflow: hidden; padding: 22px 24px 18px; border-radius: 22px; background: linear-gradient(135deg, #ffffff, #eaf3ff 60%, #dcebff); color: var(--ink); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 70%); transform: rotate(-3deg); }
.cko-idcard-top { display: flex; justify-content: space-between; align-items: center; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid #c9dcf3; }
.cko-idcard-top b { color: var(--brand-dark); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cko-idcard-top i { width: 40px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f5d97a, #d4a72c); }
.cko-idcard-body { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; }
.cko-idcard-photo { height: 136px; border-radius: 12px; background: radial-gradient(circle at 50% 38%, #9db8d8 26px, transparent 27px), radial-gradient(ellipse at 50% 112%, #9db8d8 48px, transparent 49px), #f3f8ff; box-shadow: inset 0 0 0 1px #c9dcf3; }
.cko-idcard-data { display: grid; gap: 10px; align-content: start; }
.cko-mark-row { position: relative; display: grid; margin: 0; padding: 6px 34px 6px 10px; border-radius: 10px; background: rgb(22 163 74 / 10%); box-shadow: inset 0 0 0 2px rgb(22 163 74 / 55%); }
.cko-mark-row small { color: var(--muted); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
.cko-mark-row b { font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
.cko-mark-row em, .cko-mark-row--split em { position: absolute; top: 50%; right: 8px; display: grid; place-items: center; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: #16a34a; color: white; font-style: normal; font-weight: 700; font-size: .75rem; }
.cko-mark-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; background: none; box-shadow: none; }
.cko-mark-row--split > span { position: relative; display: grid; padding: 6px 30px 6px 10px; border-radius: 10px; background: rgb(22 163 74 / 10%); box-shadow: inset 0 0 0 2px rgb(22 163 74 / 55%); }
.cko-idcard-mrz { display: grid; gap: 2px; margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed #b7cde8; font-family: ui-monospace, 'Courier New', monospace; font-size: .9rem; letter-spacing: .14em; color: #4a6283; white-space: nowrap; overflow: hidden; }
.cko-idcard-scan { position: absolute; left: 0; right: 0; top: 0; height: 40%; background: linear-gradient(180deg, transparent, rgb(22 163 74 / 16%)); border-bottom: 2px solid rgb(22 163 74 / 70%); animation: cko-sweep 3.2s ease-in-out infinite alternate; pointer-events: none; }
@keyframes cko-sweep { from { top: -40%; } to { top: 100%; } }
.cko-ocr-result { position: absolute; right: 12px; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: white; box-shadow: 0 24px 50px -20px rgb(0 0 0 / 55%); }
.cko-ocr-result .editorial-symbol { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; background: var(--brand); color: white; }
.cko-ocr-result small { display: block; color: var(--muted); font-size: .82rem; }
.cko-ocr-result b { display: block; color: var(--ink); font-weight: 600; }

/* 5 · Relacionados */
.cko-related { padding: 0 0 clamp(80px, 9vw, 120px) !important; background: white; }
.cko-head--split > p:not(.interior-kicker) { margin: 0; }
.cko-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cko-related-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border-radius: 28px; background: white; box-shadow: 0 21.6px 54.4px rgb(15 42 79 / 16%); transition: transform .25s ease, box-shadow .25s ease; }
.cko-related-card:hover { transform: translateY(-4px); box-shadow: 0 28px 64px rgb(15 42 79 / 20%); }
.cko-related-icon { margin: 0 0 20px; }
.cko-related-icon .editorial-symbol { width: 56px; height: 56px; flex-basis: 56px; border-radius: 18px; background: linear-gradient(135deg, #5bb7ff, #0d6efd); color: white; }
.cko-related-card h3 { margin: 0 0 10px; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.cko-related-card > p:not(.cko-related-icon) { margin: 0 0 18px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.cko-related-card a { margin-top: auto; padding-top: 4px; color: var(--brand); text-decoration: none; }
.cko-related-card a:hover { text-decoration: underline; }

/* Adaptación */
@media (max-width: 1199.98px) {
  .cko-stage { padding-left: 0; }
  .cko-extract { width: 270px; top: 170px; }
  .cko-ocr-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 991.98px) {
  .cko-hero-grid, .cko-board, .cko-ocr-panel, .cko-head--split { grid-template-columns: minmax(0, 1fr); }
  .cko-head--split { gap: 16px; }
  .cko-stage { max-width: 620px; }
  .cko-line::before { left: 19px; }
  .cko-moment { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-left: 52px; }
  .cko-moment::before { left: 19px; top: 18px; }
  .cko-moment:nth-child(even) .cko-moment-copy { order: 0; }
  .cko-moment:nth-child(odd) .cko-moment-copy { text-align: left; }
  .cko-moment:nth-child(odd) .cko-moment-copy > p:not(.cko-moment-tag) { margin-left: 0; }
  .cko-moment:nth-child(even) .cko-moment-visual > div { margin-left: 0; }
  .cko-board-side { border-right: 0; border-bottom: 1px solid #e3eefb; }
  .cko-ring { width: 170px; height: 170px; }
  .cko-related-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .cko-ocr-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .cko-hero { padding-bottom: 64px !important; }
  .cko-hero-grid { padding-top: 28px; }
  .cko-stage { flex-direction: column; align-items: stretch; min-height: 0; }
  .cko-stage::before { inset: 40px -8px 120px 24px; }
  .cko-phone { width: 250px; flex-basis: auto; align-self: center; }
  .cko-phone-screen { min-height: 470px; }
  .cko-extract { position: relative; right: auto; top: auto; width: auto; margin: -36px 0 0; }
  .cko-phone-top small, .cko-phone-res { display: none; }
  .cko-phone-screen { padding-bottom: 52px; }
  .cko-chip { position: relative; right: auto; top: auto; margin-top: 14px; }
  .cko-chip b { max-width: none; }
  .cko-line { gap: 40px; }
  .cko-moment { padding-left: 44px; }
  .cko-line::before { left: 13px; }
  .cko-moment::before { left: 13px; }
  .cko-message, .cko-form, .cko-desk { padding: 16px; border-radius: 22px; }
  .cko-field { grid-template-columns: minmax(0, 1fr) 26px; }
  .cko-field b { grid-column: 1; grid-row: 2; }
  .cko-field i { grid-column: 2; grid-row: 1 / span 2; }
  .cko-desk-checks span { font-size: .8rem; padding: 8px 4px; }
  .cko-board { border-radius: 24px; }
  .cko-board-main { padding: 18px 16px; }
  .cko-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .cko-row-id, .cko-row--head span:first-child { display: none; }
  .cko-row-guest .cko-ava { display: none; }
  .cko-board-kpis { grid-template-columns: minmax(0, 1fr); }
  .cko-board-kpis div { display: flex; justify-content: space-between; align-items: baseline; }
  .cko-board-kpis dd { font-size: 1.3rem; }
  .cko-ocr-panel { padding: 28px 20px; border-radius: 24px; }
  .cko-ocr-fields { grid-template-columns: minmax(0, 1fr); }
  .cko-idcard { padding: 16px; transform: none; }
  .cko-idcard-body { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; }
  .cko-idcard-photo { height: 90px; }
  .cko-mark-row--split { grid-template-columns: minmax(0, 1fr); }
  .cko-idcard-mrz { font-size: .72rem; letter-spacing: .06em; }
  .cko-ocr-result { position: relative; right: auto; margin-top: 14px; }
  .cko-idcard-wrap { padding-bottom: 0; }
  .cko-related-card { padding: 22px; border-radius: 22px; }
}
@media (max-width: 359.98px) {
  .cko-phone { width: 230px; }
  .cko-row { grid-template-columns: minmax(0, 1fr); }
  .cko-row--head span:last-child { display: none; }
  .cko-row .cko-pill { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .cko-scan, .cko-idcard-scan { animation: none; }
  .cko-related-card { transition: none; }
  .cko-related-card:hover { transform: none; }
}
@media (forced-colors: active) {
  .cko-phone, .cko-extract, .cko-chip, .cko-message, .cko-form, .cko-desk, .cko-board, .cko-ocr-panel, .cko-idcard, .cko-related-card { border: 1px solid CanvasText; }
}
