/* Self-contained, progressively enhanced method walkthrough. */
.method-walkthrough{margin-top:38px}
.paper-figure.method-walkthrough{width:93.5%;max-width:1009.8px;margin-inline:auto}
.method-walkthrough + .paper-figure{margin-top:38px}
.method-walkthrough .subsection-heading{margin-bottom:18px}
.method-chapters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:13px}
.method-chapter{position:relative;display:grid;grid-template-columns:auto 1fr;align-content:center;align-items:baseline;column-gap:8px;min-height:50px;padding:8px 13px;text-align:left;border:1.5px solid #e3e8ef;border-radius:9px;background:#fafbfd;color:#5f6b7d;cursor:pointer;font-size:16px;font-weight:600;line-height:1.4;transition:background .2s,border-color .2s,color .2s}
.chapter-number{color:#8b99ad;font-size:13px;line-height:1.4}
.method-chapter:hover{background:#f2f7fc;border-color:#b8cce4}
.method-chapter[aria-current]{background:linear-gradient(115deg,#f0faf7,#f1f6ff);border-color:#9bc6cb;color:#2f6777}
.method-chapter[aria-current] .chapter-number{color:#248c8a}
.method-chapter:disabled{cursor:default}
.method-player{border:1px solid #dfe6ef;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 5px 22px rgba(30,53,84,.035)}
.method-stage{position:relative;display:grid;place-items:center;background:#f8fafc;aspect-ratio:32/15}
.method-stage video{display:block;width:100%;height:100%;max-height:100%;aspect-ratio:32/15;object-fit:contain}
.method-start-row{display:flex;justify-content:center;background:#fff}
.method-start{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;margin:12px 0;padding:10px 20px;border:1px solid #bfd3e7;border-radius:999px;background:#fff;box-shadow:0 3px 18px rgba(32,64,103,.07);font-size:14px;font-weight:600;color:#385d8e;white-space:nowrap;cursor:pointer}
.method-start:hover{background:#f1f7ff}
.method-start>span{font-size:12px}
.method-controls{display:flex;align-items:center;gap:9px;min-height:60px;padding:7px 12px;border-top:1px solid #e7ecf2;background:#fbfcfe}
.method-control{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;min-width:44px;min-height:44px;padding:8px;border:0;border-radius:8px;background:transparent;color:#62718a;font-size:12px;line-height:1;cursor:pointer}
.method-control svg{display:block;width:19px;height:19px;fill:currentColor;flex-shrink:0}
.method-control:hover{color:#325f98;background:#eaf1f9}
.method-toggle{background:#eaf2fb;color:#416b9f}
.method-toggle:hover{background:#e0edf9}
.method-progress{--method-progress:0%;display:block;appearance:none;-webkit-appearance:none;flex:1 1 auto;min-width:30px;height:44px;margin:0 3px;padding:0;cursor:pointer;background:transparent;accent-color:#528bbb}
.method-progress::-webkit-slider-runnable-track{height:4px;border-radius:10px;background:linear-gradient(to right,#5599b8 0%,#5599b8 var(--method-progress),#dee7ef var(--method-progress),#dee7ef 100%)}
.method-progress::-moz-range-track{height:4px;border-radius:10px;background:#dee7ef}
.method-progress::-moz-range-progress{height:4px;border-radius:10px;background:#5599b8}
.method-progress::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:13px;height:13px;margin-top:-4.5px;border:2px solid #fff;border-radius:50%;background:#4c8eae;box-shadow:0 0 0 1px #4c8eae}
.method-progress::-moz-range-thumb{width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#4c8eae;box-shadow:0 0 0 1px #4c8eae}
.method-progress:focus-visible{outline:3px solid #7c9bd5;outline-offset:2px;border-radius:5px}
.method-time{flex-shrink:0;font-size:11px;line-height:1;font-variant-numeric:tabular-nums;color:#718098;white-space:nowrap}
.method-chapter-detail{min-height:80px;margin-top:26px;padding:8px 24px 12px;border-left:3px solid #a4cbd0;border-radius:0 10px 10px 0;background:linear-gradient(110deg,#f5faf9,#f8faff)}
.method-detail-label{margin:0 0 6px;color:#548491;font-size:12px;font-weight:600;line-height:1.5;letter-spacing:1.15px;text-transform:uppercase}
.method-chapter-detail h4{margin:0 0 6px;font-size:20px;font-weight:600;line-height:1.45;color:#37475e}
.method-chapter-detail article>p:last-child{margin:0;color:#687486;font-size:16px;line-height:1.5}
.method-variants{margin-top:17px;border-bottom:1px solid #e7ebf1;padding:0 0 12px;color:#5a677a}
.method-variants summary{min-height:44px;cursor:pointer;font-size:19.2px;font-weight:600;line-height:1.65;padding:10px 4px;list-style-position:inside}
.method-variants summary>span{margin-left:13px;font-size:18px;font-weight:400;color:#8290a3}
.method-variants summary:focus-visible{outline:3px solid #7c9bd5;outline-offset:3px;border-radius:4px}
.method-variants>div{padding:0 4px 4px}
.method-variants p{font-size:15px;line-height:1.75;margin:9px 0 0}
.method-variants strong{color:#506179;font-weight:600}
.method-player-error:not([hidden])~.method-chapter-detail article+article{margin-top:19px}
.method-player-message,.method-player-error{font-size:13px;line-height:1.65;color:#69798f;margin:12px 0 0}
.method-player-error{padding:11px 15px;background:#f5f8fb;border:1px solid #e1e8f0;border-radius:8px}
.method-retry{min-height:44px;margin:0 8px;padding:6px 12px;border:1px solid #bfd3e7;border-radius:8px;background:#fff;color:#385d8e;font:inherit;font-weight:600;cursor:pointer}
.method-retry:hover{background:#eaf2fb}
.method-retry:focus-visible{outline:3px solid #7c9bd5;outline-offset:2px}
.method-player:fullscreen{display:flex;flex-direction:column;justify-content:center;max-width:none;width:100%;height:100%;border:0;border-radius:0;background:#fff}
.method-player:fullscreen .method-stage{flex:1;min-height:0;aspect-ratio:auto}
.method-player:fullscreen video{height:100%;max-height:calc(100vh - 60px)}
.method-player:fullscreen .method-controls{flex-shrink:0}
@media(max-width:760px){.method-walkthrough{margin-top:28px}.method-walkthrough .subsection-heading{flex-wrap:wrap;gap:4px}.method-walkthrough .subsection-heading>span{font-size:9px;max-width:none;text-align:left}.method-chapters{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:11px}.method-chapter{min-height:58px;padding:10px;font-size:14px}.chapter-number{font-size:12px}.method-player{border-radius:10px}.method-controls{gap:3px;padding-inline:6px;min-height:58px}.method-replay span{display:none}.method-control{padding:7px}.method-time{font-size:10px;margin-inline:3px}.method-progress{margin-inline:3px}.method-start{font-size:12px;min-height:44px;margin-block:10px;padding:8px 15px}.method-chapter-detail{min-height:0;padding:16px 17px 12px;margin-top:15px}.method-chapter-detail h4{font-size:17px}.method-chapter-detail article>p:last-child{font-size:13px;line-height:1.75}.method-variants{margin-top:10px}.method-variants summary>span{display:block;margin-left:17px;font-size:13.2px}.method-variants p{font-size:13px}}
@media(max-width:380px){.method-controls{gap:0;padding-inline:3px}.method-progress{margin-inline:1px}.method-time{font-size:9px;margin-inline:2px}.method-control{min-width:44px}.method-chapter{column-gap:6px;font-size:13px}.method-chapter-detail{min-height:0}}
@media(prefers-reduced-motion:reduce){.method-chapter{transition:none}}
@media print{.method-controls,.method-start{display:none!important}.method-chapter-detail{min-height:0}.method-chapter-detail article[hidden]{display:block!important;margin-top:15px}.method-variants>div{display:block!important}}
