/* Feature-led navigation. Report-only: retain the live Mauve palette, typography and images. */
html{scroll-padding-top:0;scroll-behavior:auto}
html.report-smooth-scroll{scroll-behavior:smooth}
body[data-report-layout="focus-v4"]{--focus-scroll-offset:32px}
.report-shell{grid-template-columns:222px minmax(0,1fr);gap:34px;padding-top:32px}
.report-body{width:100%}
.focus-rail{top:18px;padding:8px 6px 12px 0;max-height:calc(100dvh - 36px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--edit-rule) transparent}
.focus-rail-heading>.eyebrow{font-size:9px;margin-bottom:7px}
.focus-rail-heading>p:last-child{font:21px/1.3 Georgia,serif;margin-bottom:20px;letter-spacing:-.02em}
.focus-nav{display:flex;flex-direction:column;gap:7px;padding:4px}
.focus-link{display:grid;grid-template-columns:60px minmax(0,1fr) 10px;align-items:center;gap:10px;min-height:78px;padding:7px;border:1px solid transparent;border-radius:12px;text-decoration:none;background:var(--edit-paper);transition:background .15s,border-color .15s}
.focus-thumb{width:60px;height:60px;border-radius:8px;overflow:hidden;background:var(--edit-wash)}
.focus-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.focus-copy{display:block}
.focus-label{display:block;font-size:12px;font-weight:650;line-height:1.3;color:var(--plum)}
.focus-caption{display:block;font-size:10px;line-height:1.4;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}
.focus-arrow{color:#79556f;font-size:12px}
.focus-link:hover{background:var(--edit-wash);border-color:var(--edit-rule)}
.focus-link[aria-current="location"]{background:#ead7df;border-color:#967189;box-shadow:inset 3px 0 0 #79556f}
.report-utilities{margin:18px 4px 0;padding-top:12px;border-top:1px solid var(--edit-rule);gap:0}
.report-utilities a{padding:9px 10px;min-height:38px;font-size:11px;justify-content:space-between}
.rail-download{margin:14px 4px 0;padding:13px 10px;min-height:44px}
/* Give the original/after pair the canvas. The index below explains, not a third cramped column. */
.report-shell .comparison-board{grid-template-columns:minmax(0,1fr);gap:20px}
.report-shell .report-compare--full .compare-pair img{max-height:650px}
.report-shell .changes-sidebar{padding:20px 22px;background:#eee2e7}
.changes-sidebar>h2{font-size:25px;margin-bottom:12px}
.changes-sidebar>h2 br{display:none}
.report-shell .changes-sidebar ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px}
.report-shell .changes-sidebar a{padding:12px 0;min-height:74px}
.report-shell .changes-sidebar li:last-child a{border-bottom:1px solid #d8c6d1}
.report-shell .changes-sidebar a.is-current{color:#6d4260}
.report-shell .details-index{margin-top:28px;padding-top:24px}
.report-shell .visual-strip a.is-current{border-color:#79556f}
.report-shell .visual-strip a.is-current .tile-image{outline:2px solid #967189;outline-offset:3px}
.report-shell [data-report-section],.report-shell #details,.report-shell .visual-feature{scroll-margin-top:var(--focus-scroll-offset)}
.report-shell .visual-feature{margin-top:34px;padding:28px 0 34px}
.report-shell .visual-feature.is-active-feature{border-top-color:#967189}
.report-shell .detail-header h2{font-size:clamp(28px,3vw,38px)}
.report-shell .detail-change{font:22px/1.45 Georgia,serif;color:var(--plum);background:var(--edit-wash);border-left:3px solid #b996ad;padding:17px 20px;margin:0 0 25px;max-width:none;border-radius:0 10px 10px 0}
.suggestion-label{display:block;font:700 9px/1.4 Arial,sans-serif;letter-spacing:.14em;color:var(--muted);margin-bottom:7px}
.feature-layout{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:28px}
.report-shell .detail-pair img{aspect-ratio:4/3;object-fit:contain}
.report-shell .report-compare:not(.report-compare--full) .visual-placeholder{aspect-ratio:4/3;padding:12px}
.report-compare:not(.report-compare--full) .visual-placeholder .placeholder-mark{font-size:20px;margin-bottom:7px}
.report-compare:not(.report-compare--full) .visual-placeholder strong{font-size:15px}
.report-compare:not(.report-compare--full) .visual-placeholder p{font-size:10px;margin-bottom:0}
.report-shell .detail-instructions{padding:22px;border:1px solid var(--edit-rule);border-radius:12px;background:var(--edit-paper)}
.report-shell .detail-instructions h3{font:19px/1.4 Georgia,serif;color:var(--plum);margin-bottom:14px}
.report-shell .focus-observation{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:20px}
.report-shell .steps-label{margin-top:18px;margin-bottom:16px}
.report-shell .technique-steps li>p{font-size:13px;line-height:1.65}
/* One page scrolls. Only the narrow navigation strip can scroll horizontally. */
@media(min-width:1101px) and (max-width:1260px){
  .report-shell{max-width:1560px;grid-template-columns:200px minmax(0,1fr);gap:25px}
  .focus-rail{position:sticky;top:18px;z-index:auto;backdrop-filter:none;background:transparent;margin:0;border:0}
  .focus-rail .chapter-nav{flex-direction:column;overflow:visible}
  .focus-rail .rail-download{display:flex}
  .feature-layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:1100px){
  body[data-report-layout="focus-v4"]{--focus-scroll-offset:112px}
  .report-shell{display:block;padding-top:0;max-width:1150px}
  .focus-rail{position:sticky;top:0;z-index:20;margin:0 0 24px;padding:9px 0;background:var(--ivory);border-bottom:1px solid var(--edit-rule);max-height:none;overflow:visible;backdrop-filter:none}
  .focus-rail-heading,.focus-rail .report-utilities,.focus-rail .rail-download{display:none}
  .focus-nav{flex-direction:row;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;padding:4px 3px 7px;scrollbar-width:thin;scrollbar-color:#b996ad transparent}
  .focus-link{flex:0 0 156px;grid-template-columns:49px minmax(0,1fr);gap:9px;min-height:68px;padding:7px}
  .focus-thumb{width:49px;height:49px}
  .focus-label{font-size:11px}
  .focus-caption{font-size:9px;margin-top:4px}
  .focus-arrow{display:none}
  .focus-link[aria-current="location"]{box-shadow:inset 0 -3px 0 #79556f}
  .report-shell .comparison-board{grid-template-columns:minmax(0,1fr)}
  .feature-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px}
}
@media(max-width:850px){
  .report-shell .changes-sidebar ol{grid-template-columns:repeat(2,minmax(0,1fr))}
  .feature-layout{grid-template-columns:minmax(0,1fr)}
  .report-shell .visual-feature{padding-top:25px;margin-top:25px}
}
@media(max-width:540px){
  .report-shell{padding-inline:18px}
  .focus-rail{margin-bottom:20px}
  .focus-link{flex-basis:143px}
  .focus-caption{font-size:9px}
  .report-shell .changes-sidebar{padding:18px}
  .report-shell .changes-sidebar a{min-height:80px}
  .report-shell .detail-change{font-size:19px;padding:15px 17px}
  .report-shell .detail-instructions{padding:20px}
  .report-shell .detail-instructions h3{font-size:19px}
  .report-shell .technique-steps li>p{font-size:13px}
  .report-shell .visual-feature{margin-top:20px}
  .report-shell .detail-header h2{font-size:28px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.focus-link{transition:none}}
@media print{
  .focus-rail{display:none!important}.report-shell{display:block;padding:0}.report-shell .comparison-board{display:block}
  .report-shell .changes-sidebar{margin-top:16px}.feature-layout{display:block}
  .report-shell .detail-change{background:transparent;border-left:0;padding:0}
  .report-shell .detail-instructions{border:0;padding:10px 0}
}
