:root{color-scheme:light;--serif:"Hiragino Mincho ProN","Yu Mincho",YuMincho,"Noto Serif JP",serif;--sans:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}button,a,summary{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button svg{width:22px;height:22px}p,h1,h2{margin:0}a{color:var(--accent);text-underline-offset:4px}[hidden]{display:none!important}
.implant-guide{max-width:1260px;margin:0 auto;padding:42px 48px 25px}.guide-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:31px}.eyebrow{font-size:12px;letter-spacing:.13em;display:flex;align-items:center;gap:9px;margin-bottom:11px;color:var(--accent)}.brand-mark{display:inline-flex;align-items:center;justify-content:center;font-size:22px;font-weight:300;width:22px;height:22px;border:1px solid var(--edge);border-radius:50%}h1{font-family:var(--serif);font-size:32px;font-weight:500;letter-spacing:.07em;line-height:1.55}.lead{margin-top:7px;font-size:14px;letter-spacing:.08em;color:var(--muted)}.guide-format{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.09em;white-space:nowrap;align-self:flex-start;margin-top:14px;color:var(--muted)}.status-dot{width:6px;height:6px;background:var(--coral);border-radius:50%}.format-divider{height:11px;width:1px;background:var(--line);margin:0 2px}
.explainer{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(320px,1fr);background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden}.visual-area{position:relative;min-width:0;background:radial-gradient(ellipse at 42% 37%,var(--panel) 10%,var(--surface) 72%);display:flex;flex-direction:column}.scene-topline{display:flex;align-items:center;justify-content:space-between;position:absolute;left:26px;right:26px;top:24px;font-size:11px;letter-spacing:.04em;z-index:2;pointer-events:none;color:var(--muted)}.section-label{border:1px solid var(--line);border-radius:4px;padding:5px 7px;font-size:10px}.scene{height:488px;position:relative;outline-offset:-4px!important;touch-action:pan-y;cursor:grab;overflow:hidden}.scene:active{cursor:grabbing}.scene canvas{position:absolute;inset:0;display:block;width:100%;height:100%}.scene-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 23px 19px;margin-top:auto;position:relative;z-index:3}.drag-hint{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);letter-spacing:.03em}.drag-hint svg{width:18px;height:18px}.view-controls{display:flex;align-items:center;background:#fffdfbcc;border:1px solid var(--line);border-radius:8px}.view-controls button{border:0;background:transparent;width:43px;height:42px;display:grid;place-items:center;font-size:20px}.view-controls button:hover{background:var(--hover)}.view-controls button:disabled{opacity:.3}.toolbar-divider{width:1px;height:17px;background:var(--line)}.view-controls svg{width:18px;height:18px}
.story-panel{padding:38px 36px 29px;background:var(--panel);display:flex;flex-direction:column;border-left:1px solid var(--line)}.story-content{flex:1}.step-kicker{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;letter-spacing:.06em;color:var(--accent);margin-bottom:24px}.step-count{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted);font-size:11px}.step-count b{font-weight:500;color:var(--accent);font-size:20px;margin-right:5px}h2{font-family:var(--serif);font-weight:500;font-size:25px;letter-spacing:.025em;line-height:1.75;min-height:87px}.step-copy{font-size:14px;line-height:1.95;margin:17px 0 23px;letter-spacing:.02em;color:var(--ink)}.detail-list{display:flex;flex-direction:column;gap:15px;margin-bottom:27px;min-height:150px}.detail-list>div{display:flex;gap:12px;align-items:flex-start}.part-key{font-size:10px;flex-shrink:0;line-height:1;display:grid;place-items:center;border:1px solid var(--edge);width:23px;height:23px;border-radius:50%;color:var(--accent);margin-top:1px;font-variant-numeric:tabular-nums}.detail-list strong{font-size:12px;font-weight:600;display:block;line-height:1.8}.detail-list small{font-size:11px;line-height:1.8;color:var(--muted);display:block;margin-top:2px}.detail-note{padding-top:16px;border-top:1px solid var(--line)}.detail-list .note-title{font-size:12px;font-weight:600;color:var(--accent);margin-bottom:5px}.detail-list .note-copy{font-size:12px;line-height:1.9;color:var(--muted)}.detail-list .note-key{display:block;font-family:var(--serif);font-size:24px;color:var(--accent);margin-bottom:8px;font-weight:400}.story-nav{display:flex;gap:10px;margin-top:auto}.story-nav button{height:49px;border-radius:6px;display:flex;align-items:center;justify-content:center;border:1px solid var(--edge)}.previous{width:49px;flex-shrink:0;background:transparent}.previous:disabled{opacity:.33}.next{flex:1;justify-content:space-between!important;padding:0 18px;font-size:12px;letter-spacing:.03em;background:var(--accent);color:#fff;border-color:var(--accent)!important}.next:hover{background:#705323}.previous:not(:disabled):hover{background:var(--hover)}
.annotations{position:absolute;inset:0;pointer-events:none;z-index:2}.annotation{position:absolute;display:flex;align-items:center;gap:7px;white-space:nowrap;transform:translateY(-50%);font-size:11px;color:var(--ink);will-change:left,top}.annotation:before{content:"";width:29px;height:1px;background:var(--edge);order:1}.annotation .annotation-dot{width:5px;height:5px;border:1px solid var(--accent);border-radius:50%;position:absolute;left:-2px;background:var(--canvas)}.annotation .annotation-text{order:2;padding:5px 7px;border-radius:4px;background:#fffdfbe6;line-height:1.5;box-shadow:0 1px 8px #6b4f2e10}.annotation small{display:block;font-size:8px;letter-spacing:.03em;color:var(--muted)}.annotation.left{flex-direction:row-reverse;transform:translate(-100%,-50%)}.annotation.left .annotation-dot{left:auto;right:-2px}
.step-tabs{display:grid;grid-template-columns:repeat(5,1fr);margin-top:24px;position:relative}.step-tabs:before{content:"";position:absolute;height:1px;background:var(--line);left:10%;right:10%;top:16px;pointer-events:none}.step-tabs button{position:relative;background:transparent;border:0;display:flex;flex-direction:column;align-items:center;gap:10px;font-size:11px;letter-spacing:.03em;color:var(--muted);padding:0 4px 8px;min-height:65px}.tab-number{display:grid;place-items:center;width:33px;height:33px;background:var(--canvas);border:1px solid var(--edge);border-radius:50%;font-size:11px;z-index:1;font-variant-numeric:tabular-nums;transition:background .2s,color .2s}.step-tabs [aria-selected="true"]{color:var(--accent);font-weight:600}.step-tabs [aria-selected="true"] .tab-number{background:var(--accent);color:white;border-color:var(--accent)}.step-tabs button:hover .tab-number{box-shadow:0 0 0 4px #91723612}.step-tabs .is-complete .tab-number{background:var(--soft-accent);border-color:var(--soft-accent)}.guide-footer{margin-top:16px;padding-top:17px;border-top:1px solid var(--line);font-size:10px;line-height:1.9;color:var(--muted)}.guide-footer details{margin-top:5px}.guide-footer summary{cursor:pointer;width:fit-content;min-height:25px;display:list-item}.source-content{max-width:820px;padding:8px 0 3px;font-size:11px;line-height:1.95}.source-content p+p{margin-top:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.model-fallback{position:absolute;inset:26px 0 15px;display:flex;align-items:center;justify-content:center;flex-direction:column}.model-fallback svg{display:block;width:100%;height:100%;max-height:425px}.model-fallback p{font-size:10px;color:var(--muted);position:absolute;bottom:0;background:var(--surface);padding:4px 8px}.model-fallback.is-static p{font-size:11px}.model-fallback.is-static svg{opacity:1}.noscript-note{font-size:14px;line-height:1.9;padding-top:20px}
@media(min-width:1100px){.scene{height:505px}.story-panel{padding:39px 39px 31px}.step-copy{font-size:15px}.detail-list strong{font-size:13px}.detail-list small{font-size:12px}}
@media(max-width:920px) and (min-width:701px){.implant-guide{padding:30px 24px 22px}.explainer{grid-template-columns:minmax(0,1.1fr) minmax(300px,1fr)}.story-panel{padding:29px 25px 24px}h2{font-size:23px}.scene{height:520px}.scene-topline{left:18px;right:18px}.scene-toolbar{padding:0 16px 19px}.drag-hint{font-size:10px}.view-controls button{width:38px}.annotation:before{width:14px}.annotation{font-size:10px}.annotation small{font-size:8px}}
@media(max-width:700px){.implant-guide{padding:24px 18px 20px}.guide-header{display:block;margin-bottom:22px}.eyebrow{font-size:10px;margin-bottom:9px}.brand-mark{width:19px;height:19px;font-size:18px}h1{font-size:26px;letter-spacing:.035em}.lead{font-size:12px;margin-top:6px}.guide-format{position:absolute;right:19px;top:28px;font-size:9px;gap:5px;margin:0}.guide-format .format-divider,.guide-format .format-divider+*{display:none}.explainer{display:flex;flex-direction:column;border-radius:13px}.scene{height:335px}.scene-topline{top:17px;left:17px;right:17px;font-size:10px}.section-label{font-size:9px;padding:3px 5px}.scene-toolbar{padding:0 14px 12px;gap:6px;margin-top:-5px}.drag-hint{font-size:10px;gap:5px}.view-controls button{width:42px;height:40px}.story-panel{padding:23px 23px 21px;border-left:0;border-top:1px solid var(--line)}.step-kicker{margin-bottom:12px;font-size:10px}.step-count b{font-size:17px}h2{font-size:23px;line-height:1.7;min-height:78px}.step-copy{font-size:14px;line-height:1.9;margin:12px 0 18px}.detail-list{gap:12px;min-height:0;margin-bottom:22px}.detail-list strong{font-size:12px}.detail-list small{font-size:11px;line-height:1.75}.detail-list .note-copy{font-size:12px}.detail-note{padding-top:12px}.detail-list .note-key{font-size:22px}.story-nav button{height:48px}.next{font-size:12px;padding:0 15px}.step-tabs{margin-top:20px}.step-tabs button{font-size:9px;gap:9px;white-space:nowrap;padding:0 0 5px}.tab-number{width:30px;height:30px;font-size:10px}.step-tabs:before{top:15px}.guide-footer{font-size:10px;margin-top:12px;line-height:1.9}.guide-footer summary{min-height:32px;padding-top:4px}.annotation{font-size:9px;gap:4px}.annotation:before{width:13px}.annotation .annotation-text{padding:4px 5px}.annotation small{font-size:7px}.model-fallback{inset:21px 0 14px}.model-fallback svg{max-height:310px}}
@media(max-width:360px){.implant-guide{padding:21px 12px 18px}.guide-format{right:14px;font-size:8px;gap:4px}.guide-format .status-dot{display:none}h1{font-size:24px}.story-panel{padding:21px 18px 20px}.scene{height:305px}h2{font-size:21px;min-height:72px}.next{font-size:11px;padding:0 12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.view-controls button{width:44px;height:44px}
.clinic-brand{font-size:14px;font-weight:500;letter-spacing:.12em}
.scene{user-select:none;-webkit-user-select:none;touch-action:pan-y pinch-zoom}
.annotations{transition:opacity .15s}
.step-navigation{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;column-gap:16px;row-gap:14px;margin-top:24px;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;cursor:grab}
.step-navigation.is-swiping{cursor:grabbing}
.step-help{grid-column:1/-1;grid-row:1;text-align:center;font-size:12px;line-height:1.6;letter-spacing:.04em;color:var(--accent)}
.step-navigation>.step-tabs{grid-column:2;grid-row:2;margin:0;min-width:0;transition:transform .18s ease}
.step-navigation.is-swiping>.step-tabs{transition:none;pointer-events:none}
.step-arrow{width:48px;height:48px;display:grid;place-items:center;padding:0;border:1px solid var(--edge);border-radius:50%;background:var(--panel);color:var(--accent);align-self:start;grid-row:2;margin-top:-7px;transition:background .15s,transform .15s}
#step-back{grid-column:1}#step-forward{grid-column:3}
.step-arrow:hover:not(:disabled){background:var(--soft-accent);transform:scale(1.04)}
.step-arrow:disabled{opacity:.32;cursor:default}
.step-arrow svg{width:23px;height:23px}
@media(max-width:700px){
  .clinic-brand{font-size:12px}
  .explainer>.step-navigation{margin:12px 14px 14px;column-gap:10px;row-gap:15px;grid-template-columns:44px minmax(0,1fr) 44px}
  .step-navigation>.step-help{grid-column:2;grid-row:1;align-self:center;font-size:10px;letter-spacing:.01em}
  .step-navigation>.step-arrow{grid-row:1;width:44px;height:44px;margin:0}
  .step-navigation>.step-tabs{grid-column:1/-1;grid-row:2}
  .step-tabs:before{left:9%;right:9%}
}

/* Readable type for patient-facing explanations and model labels. */
.clinic-brand{font-size:16px}.lead{font-size:16px}.guide-format{font-size:13px}
.scene-topline{font-size:15px;line-height:1.6;gap:10px;align-items:flex-start}.scene-topline>span:first-child{min-width:0}.section-label{font-size:13px;white-space:nowrap;flex-shrink:0}
.annotation{font-size:16px;line-height:1.5;color:var(--ink)}.annotation small{font-size:13px;line-height:1.5;color:var(--muted)}.annotation .annotation-text{padding:7px 9px;background:#fffdfbf2}.annotation:before{width:19px}
.drag-hint{font-size:14px}.scene-toolbar{flex-wrap:wrap;row-gap:12px}.view-controls{margin-left:auto}
.step-kicker{font-size:14px;line-height:1.7}.step-count{font-size:14px;flex-shrink:0}.step-count b{font-size:24px}
h2{font-size:28px;min-height:0}.step-copy{font-size:17px;line-height:1.9}.detail-list strong{font-size:16px}.detail-list small{font-size:15px;line-height:1.8}.part-key{font-size:12px;width:27px;height:27px}.detail-list .note-title{font-size:16px}.detail-list .note-copy{font-size:16px}.detail-list .note-key{font-size:28px}
.story-nav button{min-height:54px;height:auto}.next{font-size:15px;line-height:1.6;padding-top:10px;padding-bottom:10px}
.step-tabs button{font-size:14px;white-space:normal;line-height:1.6;min-height:85px}.tab-number{font-size:14px;width:36px;height:36px}.step-tabs:before{top:18px}.step-help{font-size:14px}
.guide-footer{font-size:13px;line-height:1.9}.guide-footer summary{font-size:14px;min-height:44px;padding-top:8px}.source-content{font-size:14px}.model-fallback p,.model-fallback.is-static p{font-size:13px}
@media(max-width:920px) and (min-width:701px){.annotation{font-size:15px}.annotation small{font-size:12px}.drag-hint{font-size:13px}}
@media(max-width:700px){.clinic-brand{font-size:14px}.lead{font-size:14px}.guide-format{font-size:11px}.scene-topline{font-size:13px;gap:8px}.scene-topline>span:first-child{max-width:65%}.section-label{font-size:12px}.annotation{font-size:14px;gap:4px}.annotation small{font-size:12px}.annotation:before{width:10px}.annotation .annotation-text{padding:6px 7px}.drag-hint{font-size:13px}.scene-toolbar{margin-top:0;padding-top:4px}.step-kicker{font-size:13px}.step-count b{font-size:22px}h2{font-size:26px}.step-copy{font-size:16px;line-height:1.9}.detail-list strong{font-size:16px}.detail-list small{font-size:14px}.detail-list .note-copy{font-size:15px}.detail-list .note-title{font-size:15px}.next{font-size:14px}.step-navigation>.step-help{font-size:13px;line-height:1.7}.step-tabs button{font-size:12px;white-space:normal;min-width:0;line-height:1.55;min-height:91px;padding:0 3px 5px}.tab-number{font-size:13px;width:34px;height:34px}.step-tabs:before{top:17px}.guide-footer{font-size:13px}.source-content{font-size:14px}}
@media(max-width:360px){.guide-format{font-size:10px}.scene-topline{left:12px;right:12px;font-size:12px}.annotation small{font-size:11px}.step-tabs button{font-size:12px;padding-left:1px;padding-right:1px}.step-navigation>.step-help{font-size:12px}.scene-toolbar{justify-content:center}.view-controls{margin-left:0}.drag-hint{width:100%;justify-content:center}}

.step-label-break{display:none}@media(max-width:700px){.step-label-break{display:initial}}

/* Clinic heading color; diagram tissue colors retain their explanatory meaning. */
h1,h2{color:var(--heading)}.model-plan-heading p,.plan-name{color:var(--accent)}
