/* Egyptian material 0.4: retain the page tokens; let light surfaces carry hierarchy. */
html[data-tail-minimal] #method.wl-method-light{width:100%!important;max-width:none!important;margin-inline:0!important;background:var(--paper)!important;color:var(--ink);overflow:visible}
#method.wl-method-light .method-shell{width:var(--wl-opening-width,min(1440px,calc(100% - 48px)));max-width:calc(100% - var(--gutter,24px)*2);margin-inline:auto}
html[data-tail-minimal] .wl-chapter[data-chapter="method"]{margin-block-start:48px!important}
html[data-tail-minimal] :is(#chapter-panel-services,#chapter-panel-method).wl-chapter-panel,html[data-tail-minimal] :is(#chapter-panel-services,#chapter-panel-method) .wl-chapter-content{padding-block-end:0!important}
/* Share the kicker's row and the section's inline-end grid edge. */
#method .method-controls{display:grid;justify-items:end}
#method .method-intro{padding:6px 0 0}
#method .method-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:24px;margin-bottom:16px}
#method .method-kicker{font:400 12px/1.5 var(--sans);letter-spacing:.08em;color:var(--muted);margin:0}
html[data-tail-minimal] #method.wl-method-light #process-title{max-width:27ch;text-wrap:balance}
#method .method-motion{display:inline-grid;place-items:center end;min-height:44px;min-width:44px;box-sizing:border-box;padding:0 2px 0 2px;border:0;background:transparent;color:var(--muted);cursor:pointer}
#method .method-motion svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;opacity:.8;transition:opacity 160ms}
#method .method-motion:hover{color:var(--ink)}
#method .method-motion:hover svg,#method .method-motion:focus-visible svg{opacity:1}
#method .method-motion[aria-pressed=false] .method-icon-play,#method .method-motion[aria-pressed=true] .method-icon-pause{display:none}
#method .method-motion[hidden]{display:none!important}
#method .method-motion:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
@media(prefers-reduced-motion:reduce){#method .method-motion svg{transition:none}}
#method .method-glyph{position:relative;width:100%;height:clamp(96px,8vw,132px);overflow:hidden;color:var(--ink);touch-action:pan-y;cursor:ew-resize}
/* The transparent canvas and its reflection share the method section's live light field. */
#method .method-glyph canvas{display:block;width:100%;height:100%}
#method .method-glyph:focus-visible{outline:2px solid var(--ink);outline-offset:-4px}
#method .method-glyph[data-phase=paused]{cursor:default}
#method .method-body{padding:32px 0 36px}
#method .method-steps{display:grid;gap:28px;list-style:none;margin:0;padding:0;max-width:66ch}
#method .method-steps>li{display:block;min-width:0}
#method .method-steps h3{font:500 20px/1.3 var(--sans);letter-spacing:-.015em;margin:0 0 8px}
#method .method-steps p{font:400 16px/1.65 var(--sans);color:var(--muted);max-width:none;margin:0}
#method .method-web-note{margin:12px 0 0;padding:0;font:400 14px/1.6 var(--sans);color:var(--muted);max-width:66ch}
#method .method-aside{white-space:normal}
#method .method-terms{background:var(--panel);padding:16px 0}
#method .method-terms p{font:400 14px/1.6 var(--sans);color:var(--muted);margin:0;max-width:none}
@media(max-width:760px){
 html[data-tail-minimal] .wl-chapter[data-chapter="method"]{margin-block-start:32px!important}
 #method .method-intro{padding:4px 0 0}
 #method .method-meta{column-gap:12px;margin-bottom:12px}
 #method .method-glyph{height:92px}
 #method .method-body{padding:28px 0}
 #method .method-steps{gap:28px}
 #method .method-phrase{display:block}
 #method .method-terms{padding:16px 0}
}

/* Approved copy rhythm; adaptive wrapping, shared reading measure. */
#method .method-steps{max-width:590px}
#method .method-steps p{color:var(--ink);text-wrap:pretty;orphans:2;widows:2}
#method .method-steps p+p{margin-top:8px}
#method .method-steps .method-secondary{color:var(--muted)}
#method .method-motion svg{stroke-linecap:butt;stroke-linejoin:miter}
