.product-walkthrough { margin-top: 64px; padding-top: 64px; border-top: 1px solid #555; }
.product-walkthrough .section-heading { margin-bottom: 32px; }
.walkthrough-shell { background: var(--white); color: var(--ink); border-radius: 14px; overflow: hidden; }
.walkthrough-shell p, .walkthrough-shell li, .walkthrough-shell code { font-size: 16px; line-height: 1.65; }
.walkthrough-shell :is(h3,h4,h5,p,ul,ol,figure) { margin: 0; }
.walkthrough-shell :is(ul,ol) { list-style: none; padding: 0; }
.walkthrough-shell a { color: var(--ink); font-weight: 600; }
.walkthrough-shell a:hover { color: #b93812; text-decoration: underline; text-underline-offset: 4px; }
.walkthrough-shell :focus-visible { outline: 3px solid var(--orange); outline-offset: -4px; }
.walkthrough-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.walkthrough-tabs button { display: flex; align-items: center; gap: 12px; padding: 22px 24px; min-height: 74px; border: 0; border-bottom: 3px solid transparent; background: #fff; color: #555; font-family: inherit; font-size: 18px; font-weight: 600; line-height: 1.5; text-align: left; cursor: pointer; word-break: keep-all; }
.walkthrough-tabs button:hover { background: #f7f7f7; }
.walkthrough-tabs button[aria-selected="true"] { border-bottom-color: var(--orange); background: #fff6f2; color: #111; }
.walkthrough-number { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #eee; color: #555; font-size: 15px; }
[aria-selected="true"] > .walkthrough-number { background: var(--orange); color: #fff; }
.walkthrough-panel { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 36px; align-items: start; padding: 36px; }
.walkthrough-panel[hidden] { display: none; }
.walkthrough-copy h3 { font-size: 26px; line-height: 1.5; letter-spacing: -.4px; word-break: keep-all; }
.walkthrough-copy > p { margin-top: 18px; color: #444; font-size: 18px; line-height: 1.8; }
.walkthrough-copy .walkthrough-location { color: #a33110; font-size: 15px; font-weight: 600; line-height: 1.7; }
.walkthrough-copy .walkthrough-note { padding-top: 18px; border-top: 1px solid var(--line); color: #666; font-size: 15px; line-height: 1.75; }
.walkthrough-screen { min-width: 0; }
.walkthrough-ui { background: #f7f7f7; border: 1px solid #dedede; border-radius: 10px; overflow: hidden; }
.walkthrough-ui-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid #dedede; background: #fff; font-size: 14px; line-height: 1.5; }
.walkthrough-ui-bar > span:last-child { margin-left: auto; color: #666; font-size: 13px; }
.walkthrough-ui-mark { width: 14px; height: 14px; border: 2px solid var(--orange); transform: rotate(-30deg) skewX(25deg); margin-right: 3px; }
.walkthrough-ui-body { padding: 24px; }
.walkthrough-screen-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 24px; }
.walkthrough-screen-heading h4 { font-size: 22px; font-weight: 700; line-height: 1.4; }
.walkthrough-provider, .walkthrough-complete { font-size: 13px; line-height: 1.5; color: #555; margin-left: auto; padding: 3px 8px; border: 1px solid #ddd; border-radius: 5px; background: #fff; }
.walkthrough-complete { color: #246247; border-color: #b3d2c2; }
.walkthrough-catalog { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: #fff; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.walkthrough-metric-list { padding: 12px 0 !important; border-right: 1px solid #ddd; }
.walkthrough-metric-list li { display: flex; gap: 10px; align-items: baseline; padding: 14px 16px; color: #555; }
.walkthrough-metric-list .is-selected { color: #a33110; background: #fff4ef; font-weight: 600; }
.walkthrough-metric-list li > span { flex-shrink: 0; color: #8a8a8a; font-size: 12px; }
.walkthrough-metric-list .is-selected > span { color: var(--orange); }
.walkthrough-definition { padding: 22px; }
.walkthrough-shell .walkthrough-field-label { color: #666; font-size: 14px; }
.walkthrough-definition h5 { font-size: 22px; font-weight: 700; line-height: 1.4; margin-top: 8px; }
.walkthrough-definition > p:not(.walkthrough-field-label) { margin-top: 12px; color: #444; }
.walkthrough-properties { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px !important; }
.walkthrough-properties li { padding: 3px 8px; border: 1px solid #e1e1e1; border-radius: 4px; font-size: 13px; color: #666; }
.walkthrough-shell .walkthrough-screen-next { margin-top: 20px; color: #a33110; font-weight: 600; }
.walkthrough-method-list { display: grid; gap: 12px; }
.walkthrough-method-list li { border: 1px solid #ddd; background: #fff; padding: 17px 20px; border-radius: 8px; }
.walkthrough-method-list li > div { display: flex; gap: 8px 16px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
.walkthrough-method-list h5, .walkthrough-custom-method h5 { font-size: 18px; line-height: 1.5; }
.walkthrough-method-list code { font-size: 13px; color: #777; }
.walkthrough-method-list p { color: #555; margin-top: 8px; }
.walkthrough-custom-method { margin-top: 20px; padding-top: 20px; border-top: 1px solid #ddd; }
.walkthrough-custom-method ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; }
.walkthrough-custom-method li { font-size: 15px; color: #444; }
.walkthrough-custom-method li + li::before { content: '→'; display: inline-block; color: #999; margin-right: 10px; }
.walkthrough-custom-method p { margin-top: 8px; color: #666; font-size: 13px; }
.walkthrough-recipe-scope { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: -8px; padding-bottom: 16px; border-bottom: 1px solid #ddd; font-size: 14px; color: #555; }
.walkthrough-recipe-scope > span:last-child { margin-left: auto; overflow-wrap: anywhere; font-size: 13px; }
.walkthrough-recipe-scope strong { font-size: 16px; color: #111; }
.walkthrough-recipe-steps { display: grid; gap: 0; margin-top: 16px !important; }
.walkthrough-recipe-steps li { display: flex; gap: 12px; align-items: center; position: relative; min-height: 44px; }
.walkthrough-recipe-steps li:not(:last-child)::after { content: ''; position: absolute; left: 12px; width: 1px; top: 30px; height: calc(100% - 16px); background: #d5d5d5; }
.walkthrough-recipe-steps li > span { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border: 1px solid #d5d5d5; border-radius: 5px; background: #fff; font-size: 13px; z-index: 1; color: #555; }
.walkthrough-recipe-steps p { color: #333; line-height: 1.5; padding-block: 5px; }
.walkthrough-shell .walkthrough-selection-rule { color: #a33110; font-size: 14px; margin-top: 10px; }
.walkthrough-recipe-question { border-top: 1px solid #ddd; padding-top: 16px; margin-top: 16px; }
.walkthrough-recipe-question > span { font-size: 13px; color: #666; }
.walkthrough-recipe-question p { font-size: 15px; color: #444; margin-top: 4px; }
.walkthrough-recipe-question small { display: block; margin-top: 10px; font-size: 13px; color: #777; }
.walkthrough-period { font-size: 13px !important; color: #666; margin-top: -12px !important; margin-bottom: 18px !important; }
.walkthrough-result-path { display: flex; gap: 4px 8px; flex-wrap: wrap; align-items: center; margin-top: 8px !important; }
.walkthrough-result-path li { font-size: 17px; font-weight: 600; color: #111; }
.walkthrough-result-path li + li::before { content: '→'; display: inline-block; color: #aaa; margin-right: 8px; }
.walkthrough-results-table { width: 100%; border-collapse: collapse; margin-top: 18px; background: #fff; font-variant-numeric: tabular-nums; }
.walkthrough-results-table :is(th,td) { padding: 12px 14px; border-bottom: 1px solid #e2e2e2; color: #333; font-size: 16px; line-height: 1.5; }
.walkthrough-results-table th { text-align: left; font-weight: 500; }
.walkthrough-results-table thead th { color: #666; font-size: 14px; }
.walkthrough-results-table :is(th,td):not(:first-child) { text-align: right; white-space: nowrap; }
.walkthrough-results-table tr > :last-child { color: #a33110; }
.walkthrough-shell .walkthrough-finding { font-weight: 600; color: #111; margin-top: 18px; }
.walkthrough-shell .walkthrough-result-detail { font-size: 13px; color: #777; margin-top: 12px; }
.walkthrough-screen figcaption { display: flex; align-items: baseline; justify-content: flex-end; flex-wrap: wrap; gap: 6px 12px; padding-top: 12px; font-size: 14px; line-height: 1.6; }
.walkthrough-screen figcaption > span { color: #666; font-size: 13px; }
.walkthrough-screen figcaption a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.walkthrough-footer { display: flex; gap: 16px 32px; align-items: start; justify-content: space-between; padding: 20px 36px; border-top: 1px solid var(--line); }
.walkthrough-footer p { color: #666; font-size: 14px; line-height: 1.7; max-width: 80ch; }
.walkthrough-footer a { display: flex; align-items: baseline; gap: 8px; flex-shrink: 0; font-size: 14px; line-height: 1.7; }
.walkthrough-image-dialog { position:fixed; inset:0; width:min(1240px,calc(100vw - 32px)); max-width:none; height:min(920px,calc(100vh - 32px)); height:min(920px,calc(100dvh - 32px)); max-height:none; margin:auto; padding:0; border:1px solid var(--line); border-radius:14px; background:var(--white); color:var(--ink); overflow:hidden; }
.walkthrough-image-dialog[open] { display:flex; flex-direction:column; }
.walkthrough-image-dialog::backdrop { background:rgba(0,0,0,.72); }
.walkthrough-dialog-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 20px; border-bottom:1px solid var(--line); }
.home-page .product-walkthrough .walkthrough-dialog-header h3 { margin:0; font-family:inherit; font-size:19px; font-weight:600; line-height:1.5; letter-spacing:-.2px; }
.walkthrough-dialog-close { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; gap:9px; min-height:44px; padding:7px 12px; border-radius:5px; background:var(--soft); font-size:15px; line-height:1.4; }
.walkthrough-dialog-close span { font-size:26px; line-height:1; }
.walkthrough-dialog-close:hover { background:#e2e2e2; }
.walkthrough-zoom-controls { display:flex; align-items:center; flex-wrap:wrap; gap:8px; flex-shrink:0; padding:10px 20px; }
.walkthrough-zoom-controls button { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:8px 12px; border:1px solid var(--line); border-radius:5px; background:var(--white); font-size:21px; line-height:1.2; }
.walkthrough-zoom-controls button:hover { background:var(--soft); }
.walkthrough-zoom-controls button:disabled { color:#999; cursor:default; }
.walkthrough-zoom-controls .walkthrough-fit { margin-left:6px; font-size:15px; }
.walkthrough-zoom-controls output { min-width:52px; text-align:center; font-size:14px; font-variant-numeric:tabular-nums; }
.product-walkthrough .walkthrough-zoom-controls p { margin:0 0 0 auto; color:var(--muted); font-size:14px; line-height:1.6; }
.walkthrough-image-scroll { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; scroll-behavior:auto; background:var(--soft); touch-action:pan-x pan-y pinch-zoom; }
.walkthrough-image-scroll img { display:block; max-width:none; height:auto; margin-inline:auto; user-select:none; }
.product-walkthrough .walkthrough-image-status { padding:24px; font-size:16px; color:var(--muted); }
.walkthrough-dialog-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; flex-shrink:0; gap:4px 16px; padding:10px 20px; border-top:1px solid var(--line); font-size:13px; line-height:1.6; }
.walkthrough-dialog-footer>span { color:var(--muted); }
.walkthrough-dialog-footer a { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:var(--ink); font-size:14px; }
.walkthrough-dialog-footer a:hover { text-decoration:underline; text-underline-offset:4px; }
.walkthrough-image-dialog :focus-visible { outline:3px solid var(--orange); outline-offset:-3px; }
@media (max-width: 1199px) {
  .walkthrough-tabs button { padding: 18px; font-size: 17px; gap: 10px; }
  .walkthrough-panel { grid-template-columns: 1fr; padding: 28px; gap: 26px; }
  .walkthrough-copy h3 { font-size: 25px; }
  .walkthrough-copy > p { max-width: 78ch; margin-top: 12px; }
  .walkthrough-copy .walkthrough-note { padding-top: 12px; }
  .walkthrough-screen { max-width: 820px; width: 100%; }
  .walkthrough-footer { padding-inline: 28px; }
}
@media (max-width: 639px) {
  .walkthrough-image-dialog { width:calc(100vw - 16px); height:calc(100vh - 16px); height:calc(100dvh - 16px); border-radius:10px; }
  .walkthrough-dialog-header { padding:10px 12px; gap:10px; }
  .home-page .product-walkthrough .walkthrough-dialog-header h3 { font-size:16px; }
  .walkthrough-zoom-controls { padding:8px 12px; }
  .product-walkthrough .walkthrough-zoom-controls p { width:100%; margin:2px 0 0; font-size:13px; }
  .walkthrough-dialog-footer { padding:8px 12px; }
  .product-walkthrough { margin-top: 48px; padding-top: 48px; }
  .walkthrough-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .walkthrough-tabs button { padding: 14px 12px; min-height: 70px; font-size: 15px; gap: 8px; }
  .walkthrough-number { flex-basis: 23px; width: 23px; height: 23px; font-size: 13px; }
  .walkthrough-panel { padding: 22px 18px; gap: 24px; }
  .walkthrough-copy h3 { font-size: 22px; line-height: 1.5; }
  .walkthrough-copy > p { font-size: 17px; }
  .walkthrough-copy .walkthrough-note { font-size: 14px; }
  .walkthrough-ui-bar { padding: 12px; font-size: 13px; }
  .walkthrough-ui-bar > span:last-child { font-size: 11px; }
  .walkthrough-ui-body { padding: 18px 14px; }
  .walkthrough-screen-heading { margin-bottom: 18px; }
  .walkthrough-screen-heading h4 { font-size: 20px; }
  .walkthrough-provider, .walkthrough-complete { margin-left: 0; font-size: 12px; }
  .walkthrough-catalog { grid-template-columns: 1fr; }
  .walkthrough-metric-list { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px !important; border-right: 0; border-bottom: 1px solid #ddd; }
  .walkthrough-metric-list li { padding: 8px; font-size: 14px; gap: 6px; border-radius: 4px; }
  .walkthrough-definition { padding: 18px 16px; }
  .walkthrough-definition h5 { font-size: 20px; }
  .walkthrough-definition p { font-size: 15px; }
  .walkthrough-properties li { font-size: 12px; }
  .walkthrough-shell .walkthrough-screen-next { font-size: 14px; }
  .walkthrough-method-list li { padding: 15px; }
  .walkthrough-method-list h5 { font-size: 17px; }
  .walkthrough-method-list p { font-size: 15px; }
  .walkthrough-recipe-scope > span:last-child { margin-left: 0; width: 100%; }
  .walkthrough-recipe-steps p { font-size: 15px; }
  .walkthrough-recipe-steps li { min-height: 46px; }
  .walkthrough-selection-rule { line-height: 1.7 !important; }
  .walkthrough-results-table :is(th,td) { font-size: 14px; padding: 11px 8px; }
  .walkthrough-results-table thead th { font-size: 13px; }
  .walkthrough-result-path li { font-size: 15px; }
  .walkthrough-shell .walkthrough-finding { font-size: 15px; }
  .walkthrough-footer { display: block; padding: 18px; }
  .walkthrough-footer p { font-size: 13px; }
  .walkthrough-footer a { margin-top: 12px; min-height: 32px; }
}
