/* Reference-style focus controls shared by the activity and standalone page. */
.source-board .focus-lab.reference-layout,.focus-lab.reference-layout{background:white;padding:16px;gap:12px}
.reference-layout .focus-object-hint{font-size:15px;text-align:center;color:#31576b}
.reference-layout #focus-picture{flex:1;min-height:145px}
.reference-layout #focus-picture svg{width:100%;height:100%;display:block}
.reference-layout .object-target{fill:transparent;stroke:transparent;stroke-width:2;pointer-events:all;cursor:pointer}
.reference-layout [data-focus-object]{cursor:pointer;outline:none}
.reference-layout [data-focus-object]:hover .object-target,.reference-layout [data-focus-object]:focus-visible .object-target{stroke:#f0a900;stroke-dasharray:5 4}
.reference-layout [data-focus-object][aria-pressed=true] text{font-weight:900;text-decoration:underline}
.focus-panel-row{display:grid;grid-template-columns:1fr 1.4fr 1.15fr;gap:12px;flex-shrink:0;padding-right:5px;padding-bottom:6px}
.focus-panel{background:#e5f8fc;box-shadow:5px 6px 0 #c9cdcf;min-width:0;position:relative}
.focus-panel h3{margin:0;font-size:16px;font-weight:600;color:#233a40;padding:8px 8px 4px;line-height:1.25}
#retina-preview{height:90px;padding:7px}
#retina-preview svg{height:100%;width:100%;display:block}
.lens-panel-content{height:90px;padding:12px 10px;display:flex;flex-direction:column;justify-content:center;gap:8px}
.lens-panel-content small{font-size:12px;color:#486b75;text-align:center}
.lens-panel-content input{appearance:none;-webkit-appearance:none;width:100%;height:38px;min-height:38px;flex-shrink:0;padding:0;border:0;border-radius:8px;background:transparent;outline:none;margin:0;cursor:pointer}
.lens-panel-content input::-webkit-slider-runnable-track{height:22px;box-sizing:border-box;border:5px solid #9d9e9b;border-radius:12px;background:#454545}
.lens-panel-content input::-moz-range-track{height:22px;box-sizing:border-box;border:5px solid #9d9e9b;border-radius:12px;background:#454545}
.lens-panel-content input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:20px;height:38px;margin-top:-13px;background:#0083b3;border:2px solid #086181;border-radius:8px;box-shadow:inset 2px 0 0 #92d8e5}
.lens-panel-content input::-moz-range-thumb{box-sizing:border-box;width:20px;height:38px;background:#0083b3;border:2px solid #086181;border-radius:8px;box-shadow:inset 2px 0 0 #92d8e5}
.lens-panel-content input:focus-visible{outline:3px solid #f0a900;outline-offset:5px}
.glasses-choices{display:flex;gap:2px;padding:4px;align-items:center;height:90px}
.glasses-choices button{border:2px solid transparent;border-radius:5px;padding:1px;flex:1;min-width:0;min-height:54px;height:74px;background:transparent;cursor:pointer}
.glasses-choices button[aria-pressed=true]{border-color:#eea800;background:#f4fdff}
.glasses-choices button:focus-visible{outline:3px solid #087e70}
.glasses-choices svg{width:100%;height:100%;display:block}
.reference-layout #focus-result{font-size:15px;font-weight:700;margin:0}
.reference-layout>small{font-size:12px;color:#66808a}
@media(max-width:500px){.focus-lab.reference-layout,.source-board .focus-lab.reference-layout{padding:8px;gap:8px}.focus-panel-row{gap:7px}.focus-panel h3{font-size:13px;padding:6px}.glasses-choices{height:72px}#retina-preview,.lens-panel-content{height:72px}.glasses-choices button{height:62px}.reference-layout .focus-object-hint{font-size:13px}}

#retina-preview svg{mix-blend-mode:multiply}
