.toolbar,#settings{display:flex;gap:.7rem;align-items:end;flex-wrap:wrap}.toolbar label,.controls label{display:grid;gap:.25rem;min-width:0;max-width:100%}.controls label{margin-bottom:.6rem}.toolbar input,.controls input,.controls select{max-width:100%;min-width:0;box-sizing:border-box}.toolbar input[type=file]{width:min(220px,100%)}#viewport{overflow:auto;max-height:65vh;min-height:80px;background:#1f3634;border-radius:8px;margin-top:.8rem}#photo{display:block;max-width:none;width:100%;height:auto;cursor:crosshair;outline-offset:-3px;touch-action:pan-x pan-y}.hint{font-size:.84rem;opacity:.8}#results{padding:0;list-style:none}#results li{display:flex;gap:.65rem;align-items:center;justify-content:space-between;border-top:1px solid #8885;padding:.4rem 0;overflow-wrap:anywhere}#results button{font-size:.8rem;padding:.2rem .45rem}#scale{font-weight:bold}.controls [hidden]{display:none!important}#settings>*{flex:1;min-width:80px}
.hint{color:var(--text-3);opacity:1}#status{color:var(--text-2)}#results li{border-top-color:var(--border)}
:root[data-theme="light"] #viewport{background:#dfeceb}
