
#side-tabs{display:flex;gap:4px;padding:4px;background:#f5f5f7;border-radius:10px}#side-tabs button{flex:1;border:0;padding:9px 2px;min-height:44px;background:transparent;color:#6e6e73;border-radius:8px;font-size:12px}#side-tabs button.active{background:#fff;color:#1d1d1f;box-shadow:0 1px 4px #00000012}
#elevation{display:flex;gap:4px;padding:8px 5px 5px;border-top:4px solid #515154;border-bottom:4px solid #515154;background:#fafafa;height:145px}.facade-field{padding:0 0 4px;min-width:0;position:relative;background:transparent;border:0;color:#6e6e73;cursor:pointer;display:flex;align-items:center;flex-direction:column;gap:4px}.field-graphic{display:block;width:100%;height:85px;min-height:62px;background:#f5f5f7;border:2px solid #a1a1a6;position:relative}.wall .field-graphic{background:#515154;border-color:#515154}.slider .field-graphic:after,.double .field-graphic:after{content:'';position:absolute;left:50%;height:100%;border-left:2px solid #a1a1a6}.slider .field-graphic:before{content:'↔';position:absolute;bottom:20%;left:40%;font-size:20px;color:#6e6e73}.door .field-graphic:after{content:'';position:absolute;right:12%;top:52%;height:9px;border-right:2px solid #6e6e73}.chosen .field-graphic{outline:2px solid #0071e3;outline-offset:1px}.field-label{font-size:10px;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.field-dim{font-size:11px;font-variant-numeric:tabular-nums}.chosen .field-dim{font-weight:600}.elevation-caption{display:flex;justify-content:space-between;gap:12px;color:#6e6e73;font-size:11px;margin:17px 0 10px}.field-edit{background:transparent;border:1px solid #e5e5e7;padding:14px;border-radius:10px;margin-top:14px}.field-edit label{font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.field-edit select{width:65%;font-size:12px;margin:0;padding:10px 6px;min-height:44px;border-radius:8px;border:1px solid #e5e5e7;background:#f5f5f7;color:#1d1d1f}.field-edit input[type=number]{width:82px;border:1px solid #e5e5e7;border-radius:8px;background:#f5f5f7;padding:10px;color:#1d1d1f;min-height:44px}.field-edit input[type=range]{width:100%;accent-color:#1d1d1f;margin:7px 0 14px}.field-actions{display:flex;gap:8px}.field-actions button{font-size:12px;flex:1;padding:10px 6px;min-height:44px;border:1px solid #d2d2d7;border-radius:9px;background:#fff;color:#1d1d1f}.field-actions button:disabled{opacity:.3;cursor:default}#neighbor-note{font-size:12px;line-height:1.5;color:#6e6e73}

.door-handing{border:0;padding:0;margin:14px 0;min-width:0}.door-handing[hidden]{display:none}.door-handing legend{font-size:12px;font-weight:600;margin-bottom:8px}.door-handing>div{display:flex;gap:8px}.door-handing button{flex:1;min-height:44px;border:1px solid #d2d2d7;border-radius:10px;background:#fff;color:#1d1d1f;font:inherit;font-size:13px;cursor:pointer}.door-handing button[aria-pressed=true]{border:2px solid #1d1d1f;background:#f5f5f7}.door-handing button:focus-visible{outline:3px solid #0071e3;outline-offset:2px}.door-handing p{font-size:11px;color:#6e6e73;margin:7px 0 0;line-height:1.4}
.door[data-hinge=end] .field-graphic:after{right:auto;left:12%}

/* The elevation uses one physical scale for width and height; labels stay outside. */
#elevation{container-type:inline-size;height:auto;gap:0;padding:0;border-width:2px;align-items:stretch}#elevation .facade-field{box-sizing:border-box;margin:0;padding:0 0 4px;border-radius:0;gap:3px}#elevation .field-graphic{box-sizing:border-box;flex:none;min-height:0;height:calc(100cqw * var(--facade-height-ratio,.4));border-width:1px}#elevation .field-label{min-height:13px}#elevation .field-dim{min-height:14px}

.field-mullion{position:absolute;top:0;bottom:0;border-left:1px solid #a1a1a6}.slider .field-graphic:after{left:var(--leaf-divider,50%)}

/* Labels sit below the full facade, never squeeze its physical elevation. */
#elevation .facade-field{overflow:visible;flex-shrink:1}#elevation .field-graphic{flex-shrink:0} .customer-compact #elevation{height:auto;min-height:0}
