/* Staged repair: reserve the full coloured mark and give controls their own phone row. */
@media (max-width:480px){
  body.repair-module .head .bar{display:flex;flex-wrap:wrap;overflow:visible;gap:12px;padding-left:14px;padding-right:14px}
  body.repair-module .head .bar-spacer{display:none}
  body.repair-module .head .brand{display:block;flex:0 0 100%;min-width:0;max-width:100%;font-size:calc(13px * var(--fs,1));line-height:1.45;letter-spacing:.035em;white-space:normal;overflow-wrap:normal}
  body.repair-module .head .brand b{display:inline-block;white-space:normal}
  body.repair-module .head .brand .dot,body.repair-module .head .brand .mark{margin-right:34px}
  body.repair-module .head .brand .ribbon{display:inline-grid;vertical-align:middle;margin-right:8px}
  body.repair-module .head .ctrl-group{flex:0 0 100%;justify-content:flex-start;gap:8px;flex-wrap:wrap}
  body.repair-module .head .ctrl{min-width:44px;min-height:44px;height:auto;padding:8px 11px;flex-shrink:0}
}
.infographic-open{display:block;position:relative;width:100%;padding:0;border:0;border-radius:inherit;background:transparent;color:inherit;cursor:zoom-in;text-align:inherit}
.infographic-open::after{content:'Tap or click to zoom';position:absolute;right:8px;bottom:8px;padding:6px 10px;border-radius:8px;background:#102f4a;color:#fff;font:700 13px/1.4 "Atkinson Hyperlegible",sans-serif;box-shadow:0 1px 5px #0005}
.infographic-open:focus-visible{outline:4px solid #21506b;outline-offset:-5px}
html:has(.infographic-viewer[open]){overflow:hidden}
dialog.infographic-viewer{position:fixed;inset:0;margin:0;border:0;padding:12px 16px;width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100dvh;overflow:hidden;background:#111b;color:#fff;font:17px/1.5 "Atkinson Hyperlegible",sans-serif;box-sizing:border-box;z-index:1000;overscroll-behavior:contain}
dialog.infographic-viewer[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px}
.infographic-viewer::backdrop{background:#111e}
.infographic-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.infographic-tools h2{margin:0;font:700 18px/1.3 "Atkinson Hyperlegible",sans-serif;color:#fff;text-transform:none;letter-spacing:normal}
.infographic-actions{display:flex;gap:8px}
.infographic-actions button{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #fff9;border-radius:8px;background:#fff;color:#111;font:700 17px/1.2 "Atkinson Hyperlegible",sans-serif;cursor:pointer}
.infographic-actions button:focus-visible{outline:3px solid #edb84d;outline-offset:2px}
#infographic-viewer-help{margin:0;color:#eee;font:14px/1.4 "Atkinson Hyperlegible",sans-serif}
.infographic-stage{position:relative;min-height:0;min-width:0;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}
.infographic-stage .infographic-full{position:absolute;top:50%;left:50%;max-width:none!important;max-height:none!important;object-fit:contain;transform-origin:center;user-select:none;-webkit-user-drag:none;will-change:transform}
#infographic-viewer-caption{margin:0;max-height:20vh;overflow:auto;color:#fff;font:14px/1.4 "Atkinson Hyperlegible",sans-serif}
@media (max-width:480px){dialog.infographic-viewer{padding:10px;padding-top:calc(10px + env(safe-area-inset-top));padding-bottom:calc(10px + env(safe-area-inset-bottom))}.infographic-tools h2{font-size:16px}.infographic-actions{gap:6px}.infographic-actions button{padding:8px}}
@media print{.infographic-viewer,.infographic-open::after{display:none!important}}
