.photo-measure{padding:20px 0;margin:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.photo-measure h3{font-family:inherit;font-size:18px;line-height:1.3;margin:0 0 10px}
.photo-measure p{font-size:14px;line-height:1.5;margin:10px 0}
#photo-measure-status{font-size:13px;color:var(--secondary)}
#photo-measure-status[data-error=true]{color:#8b2b13}
.photo-measure .field-pair{margin-top:16px}
.photo-measure .field-pair label{display:block!important;font-size:13px}
.photo-measure input[type=number]{width:100%;min-height:46px;margin-top:6px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--paper);font-variant-numeric:tabular-nums}
#photo-point-list{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:14px 0}
#photo-point-list button{min-height:44px;background:var(--paper);border:1px solid var(--line);border-radius:8px;font-size:13px}
#photo-point-list button[aria-pressed=true]{border-color:var(--gold);background:var(--soft)}
#photo-options .photo-measure-check{align-items:flex-start;gap:10px;font-size:14px;line-height:1.4;min-height:44px;margin:16px 0}
.photo-measure-check input{flex:0 0 20px;width:20px;height:20px;accent-color:var(--gold);margin-top:2px}
#photo-measure-overlay{position:absolute;inset:0;z-index:4;touch-action:none;cursor:crosshair}
#photo-measure-overlay[hidden]{display:none}
#photo-measure-overlay svg{width:100%;height:100%;pointer-events:none;overflow:visible}
#photo-measure-line{fill:rgba(121,102,46,.10);stroke:var(--gold);stroke-width:2;vector-effect:non-scaling-stroke}
.photo-point{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--gold);border-radius:50%;background:var(--paper);color:var(--ink);font-weight:600;cursor:grab;touch-action:none}
.photo-point[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.photo-point:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.photo-measuring #place-mode,.photo-measuring #photo-fit,.photo-measuring .selection-tools{visibility:hidden}
.photo-measuring #sample-reference,.photo-measuring #photo-camera-controls{display:none}
#photo-measure-step{position:absolute;bottom:0;left:0;right:0;min-height:38px;padding:7px 12px;background:var(--paper);font-size:13px;line-height:1.4;text-align:center;margin:0;pointer-events:none}
.photo-measuring .room-hint{visibility:hidden}
.photo-measure [hidden]{display:none!important}
.photo-measure button:disabled{opacity:.5;cursor:not-allowed}
