.lo-implants .ci-first { grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:clamp(24px,5vw,72px); align-items:center }
.lo-implants .ci-jump { display:inline-block; padding:12px 0; margin-top:8px }
.lo-implants .ci-plate { overflow:hidden; border:1px solid #ccd8ce; border-radius:14px; background:#fcfbf7 }
.ci-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.lo-implants .ci-panel { text-decoration:none; cursor:zoom-in; display:grid; justify-items:center; position:relative; min-width:0; padding:14px 4px 4px; background:linear-gradient(165deg,#f6f4ec,#eeeade) }
.ci-panel + .ci-panel { border-left:1px solid #d2dace; background:linear-gradient(145deg,#edf3e9,#e2ede4) }
.lo-implants .ci-label { color:#36564b; font-size:clamp(13px,1.4vw,17px); line-height:1.25; text-align:center; min-height:1.3em }
.ci-panel img { display:block; width:100%; height:auto; object-fit:contain; max-height:330px }
.lo-implants .ci-plate figcaption { padding:12px 16px; border-top:1px solid #d0d9cb; font-size:16px; line-height:1.4; color:#36544b }
.lo-implants .ci-key { display:flex; flex-wrap:wrap; gap:8px 25px; margin:20px 0 5px; font-size:16px }
.ci-key span { display:inline-flex; align-items:center; gap:8px }
.ci-key i { width:25px; display:inline-block; }
.ci-blue { height:10px; border-radius:80% 25%; background:linear-gradient(110deg,#388fc6,#a9e5ff,#52b2e5); border:1px solid #205f89 }
.ci-dash { border-top:2px dashed #654a38 }
.ci-axis { border-top:3px solid #137d80 }
.lo-implants .ci-note,.lo-implants .ci-source { font-size:15px; color:#51665b }
.ci-cases > h2 { max-width:24em }
.ci-row,.ci-consult { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:clamp(24px,5vw,72px); align-items:center }
.lo-implants .ci-row { padding:26px 0; border-bottom:1px solid var(--lo-line) }
.lo-implants .ci-row h3 { font:400 clamp(25px,2.6vw,34px)/1.18 Georgia,serif; margin:8px 0 14px }
.ci-consult { align-items:start }
.lo-implants .ci-see { margin-top:16px }
.lo-implants .ci-source { margin:32px 0 0; border-top:1px solid var(--lo-line); padding-top:14px }
.lo-implants a:focus-visible { outline:3px solid #286eb1; outline-offset:3px }
@media(max-width:760px){
 .lo-implants .ci-first,.ci-row,.ci-consult { grid-template-columns:minmax(0,1fr); gap:16px }
 .lo-implants .lo-hero-copy { padding:8px 0 0 }
 .ci-panel img { max-height:270px }
 .lo-implants .ci-key { flex-direction:column; gap:4px }
 .lo-implants .lo-button { max-width:100%; white-space:normal }
}

.lo-implants .ci-panel:focus-visible { outline-offset:-3px }
.lo-implants #ci-edge p, .lo-implants .ci-consult h2 + p { margin-top:14px }

.lo-implants .ci-risk-group { display:block }
.lo-implants .ci-risk-group .ci-row { border-color:#d8ccc0 }
.lo-implants .ci-risk-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:24px; margin-top:24px }
.lo-implants #ci-muscular p + p { margin-top:14px }

.lo-implants .ci-column { min-width:0 }
.lo-implants .ci-column + .ci-column { border-left:1px solid #d2dace }
.lo-implants .ci-column + .ci-column .ci-panel { background:linear-gradient(145deg,#edf3e9,#e2ede4) }
.lo-implants .ci-column .ci-surface, .ci-skin-toggle:checked ~ .ci-pair .ci-marked { display:none }
.lo-implants .ci-skin-toggle:checked ~ .ci-pair .ci-surface { display:grid }
.lo-implants .ci-skin-toggle { margin:0 6px 0 14px; vertical-align:middle; accent-color:#39756e }
.lo-implants .ci-skin-toggle + label { display:inline-block; margin:0; padding:10px 0; font-size:15px; cursor:pointer; color:var(--lo-ink) }

html.ci-viewing, html.ci-viewing body { overflow:hidden; overscroll-behavior:none }
#ci-viewer:not([open]) { display:none }
#ci-viewer[open] { box-sizing:border-box; position:fixed; inset:0; margin:auto; padding:14px; border:0; border-radius:12px; width:min(640px,100%); height:min(900px,96vh); height:min(900px,96dvh); max-width:100%; max-height:100%; background:#fbfaf5; color:#294943; display:grid; grid-template-rows:auto minmax(0,1fr) auto auto; gap:8px; overflow:hidden }
#ci-viewer::backdrop { background:rgba(20,36,33,.8) }
.ci-viewer-head { display:flex; justify-content:space-between; align-items:center; font-size:16px }
.ci-viewer-head button { border:1px solid #cad5cc; border-radius:50%; width:44px; height:44px; padding:0; color:#224c44; background:#fff; font:32px/1 sans-serif; cursor:pointer }
.ci-viewer-stage { min-height:0; overflow:hidden; touch-action:pinch-zoom }
.ci-viewer-stage img { display:block; width:100%; height:100%; object-fit:contain; user-select:none; -webkit-user-select:none }
#ci-viewer p,#ci-viewer small { margin:0; font-size:16px; line-height:1.35 }
#ci-viewer small { font-size:14px; color:#52675d }
@media(max-width:640px){
 #ci-viewer[open] { height:100%; height:100dvh; border-radius:0; padding: max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom)) }
}
