.measure-map-v3{padding:22px!important;top:108px!important;background:linear-gradient(145deg,#173852,#102438)!important;box-shadow:0 22px 55px #0002}
.measure-map-heading .eyebrow{font-size:10px;letter-spacing:.15em}.measure-map-heading p{font-size:16px;color:#f1f5fa;margin:10px 0 20px;line-height:1.5}
.measure-sex-controls{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;background:#071b2b;border:1px solid #6487a655;border-radius:12px;margin-bottom:18px}
.measure-sex-controls button{min-height:44px;border:0;border-radius:8px;background:transparent;color:#c6d9eb;font-family:inherit;font-size:13px;font-weight:500;line-height:1.4;cursor:pointer;padding:10px}
.measure-sex-controls button[aria-pressed=true]{background:#edcb84;color:#12283f;font-weight:600}
.measure-map-select{display:block;color:#dbe6f1;font-size:12px}.measure-map-select select{width:100%;min-height:46px;margin-top:8px;border:1px solid #7c9ab8;border-radius:9px;background:#0c2034;color:#f5f7fd;padding:10px 12px;font:inherit;font-size:14px}
.measure-map-stage{height:480px;position:relative;margin:16px 0;border-radius:14px;overflow:hidden;background:#fff}
.measure-map-stage[data-view="female"]{background:#102a40}
.circumference-map{width:100%;height:100%;display:block}.circumference-map ellipse{fill:transparent;stroke:#163b53;stroke-width:1.2;vector-effect:non-scaling-stroke;opacity:.42;cursor:pointer;pointer-events:stroke;transition:stroke .15s,opacity .15s}
.circumference-map ellipse.is-active{stroke:#c1861d;stroke-width:3.5;opacity:1;filter:drop-shadow(0 0 1px #fff)}
.measure-map-stage[data-view="female"] ellipse{stroke:#b4d8ea}.measure-map-stage[data-view="female"] ellipse.is-active{stroke:#ffdb88}
.measure-map-sides{position:absolute;inset:12px 12px auto;display:flex;justify-content:space-between;pointer-events:none;z-index:1}.measure-map-sides span{font-size:9px;letter-spacing:.08em;color:#f2d99e;background:#0b2137dd;border:1px solid #eccb7c55;border-radius:4px;padding:6px}
.map-quick-entry{display:grid;grid-template-columns:minmax(0,1fr) 115px;gap:14px;align-items:center;border:1px solid #e6c47d66;border-radius:12px;padding:13px;background:#142e45}
.map-quick-entry>div>span{display:block;font-size:10px;color:#c0d0df;margin-bottom:4px}.map-quick-entry strong{display:block;font-size:14px;color:#ffe1a1;line-height:1.5}
.map-value-shell{display:flex;align-items:center;background:#081c2e;border:1px solid #8eabc5;border-radius:8px;overflow:hidden}.map-value-shell input{width:100%;min-width:0;font:inherit;font-size:18px;color:#fff;border:0;padding:12px 9px;background:none;outline:0}.map-value-shell>span:last-child{padding-right:10px;font-size:12px;color:#c5d8e7}.map-value-shell:focus-within{outline:2px solid #f9d88e;outline-offset:2px}
#map-value-help{font-size:11px;color:#bccfe0;line-height:1.6;margin:10px 0}.measure-map-v3 .body-guide-note{font-size:12px;min-height:0;margin:15px 0}.measure-map-v3 .chart-note{font-size:11px;line-height:1.7}.measure-map-v3 .body-technique{font-size:11px}
.measure-map-v3 button:focus-visible,.measure-map-select select:focus-visible{outline:2px solid #ffe5ac;outline-offset:3px}
.measure-form-head{padding-top:4px}.body-section #body-title{font-size:clamp(36px,4.5vw,60px)}
@media(min-width:1001px){.body-workspace{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important}.measure-map-v3{position:static!important}}
@media(max-width:700px){.measure-map-v3{padding:16px!important}.measure-map-stage{height:440px}.measure-map-heading p{font-size:14px}.map-quick-entry{grid-template-columns:minmax(0,1fr) 105px}.measure-sex-controls button{font-size:13px}.body-section .section-top{margin-bottom:28px}}
@media(prefers-reduced-motion:reduce){.circumference-map ellipse{transition:none}}
/* Numbered reference, version 21. No side badges over the figures. */
.measure-map-v3{background:linear-gradient(145deg,#173852,#102438)!important}
.measure-orientation-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 0}
.measure-orientation-controls button{min-height:46px;border:1px solid #738da455;border-radius:10px;padding:10px 6px;background:#0c2338;color:#dce8f3;font:inherit;font-size:13px;cursor:pointer}
.measure-orientation-controls button[aria-pressed=true]{border-color:#edcb84;color:#ffe1a1;background:#263e4c}
.measure-map-stage{height:auto!important;aspect-ratio:480/1024;width:100%;max-width:360px;margin:18px auto 0;background:#102a40!important;border:1px solid #7895ae33;border-radius:16px}
.circumference-map{height:100%;width:100%;position:absolute;inset:0}
#measure-leaders path{fill:none;stroke:#e6c589;stroke-width:1.3;opacity:.65;vector-effect:non-scaling-stroke}
#measure-leaders circle{fill:#ffdc91;stroke:#102a40;stroke-width:1}
#measure-leaders .is-active path{stroke:#ffdf94;stroke-width:2.6;opacity:1}
#measure-leaders .is-active circle{r:6;fill:#fff0b9}
.measure-number-controls{position:absolute;inset:0;pointer-events:none}
.measure-number-controls button{position:absolute;left:7.1%;transform:translate(-50%,-50%);width:44px;height:44px;border:1px solid #b79c69;border-radius:50%;font-family:inherit;font-weight:600;font-size:12px;line-height:1;background:#112c41;color:#f2d494;cursor:pointer;pointer-events:auto;box-shadow:0 3px 10px #07182788}
.measure-number-controls button.is-active{background:#f6d895;color:#102438;border-color:#fff0c5}
.measure-view-caption{text-align:center!important;color:#f1d497!important;font-size:13px!important;margin:12px 0 18px!important}
.measure-region-legend{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:22px}
.measure-region-legend button{display:flex;align-items:center;text-align:left;gap:7px;padding:7px;min-height:44px;border:1px solid transparent;border-radius:8px;background:transparent;color:#cddde9;font:inherit;font-size:11px;cursor:pointer;line-height:1.35}
.measure-region-legend button span{font-size:11px;color:#f4d593;flex:none}
.measure-region-legend button.is-active{background:#edcb8417;border-color:#edcb8460;color:#ffe8b4}
.measure-map-select{margin-top:16px}
.measure-map-heading p{margin-bottom:14px}
@media(max-width:380px){.measure-map-v3{padding:12px!important}.measure-number-controls button{width:40px;height:44px}.measure-region-legend button{font-size:10px}}
