.photo-main{max-width:1100px;margin:0 auto;padding:1rem}.photo-panel{background:#fff;border:1px solid #d7dfe3;border-radius:16px;padding:1rem;margin:1.25rem 0}.photo-panel h2{margin-top:0}.photo-panel input[type=file]{width:100%;padding:.7rem 0}.photo-panel input[type=range]{display:block;width:100%;min-height:44px;accent-color:#125f5a}.photo-panel label{display:block;font-weight:700;margin-top:.9rem}.photo-panel select{width:100%;min-height:44px;padding:.6rem;border:1px solid #71838a;border-radius:8px;background:white;color:#142d35;font:inherit}.photo-panel fieldset{min-width:0;border:1px solid #d7dfe3;border-radius:10px;padding:.8rem}.photo-panel button{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.photo-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:.8rem 0}.photo-list{display:flex;gap:.6rem;overflow-x:auto;padding:.5rem 0}.photo-list button{flex:0 0 90px;padding:.4rem;background:#f3f7f8;color:#183c45;border:2px solid #b6c5ca;border-radius:10px}.photo-list button[aria-pressed=true]{border-color:#125f5a;background:#e2f4ed}.photo-list canvas{display:block;width:72px;height:72px;object-fit:contain;margin:auto}.photo-comparison{display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-items:start;margin-top:1rem}.photo-comparison figure{margin:0;min-width:0}.photo-comparison figcaption{font-weight:700;margin-bottom:.5rem}.photo-comparison canvas{display:block;width:100%;height:auto;border:1px solid #c1cdd2;border-radius:8px;background:#eaf0f2}#preview.mask-active{touch-action:none;cursor:crosshair}#error{color:#a21d2c;overflow-wrap:anywhere}#status,#selected-name{overflow-wrap:anywhere}#strength-value,#angle-value{font-weight:400;margin-left:.4rem}.photo-main [hidden]{display:none!important}@media(max-width:600px){.photo-comparison{gap:.6rem}.photo-panel{padding:.8rem}.photo-main{padding:.7rem}.photo-actions button{flex:1 1 130px}.photo-comparison figcaption{font-size:.85rem}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

.photo-panel output{display:inline;background:transparent;padding:0;border:0;min-height:0}.photo-panel figcaption{overflow-wrap:anywhere}.photo-list{margin-top:.5rem}
