.support-selected-file>button{display:flex;align-items:center;gap:6px;border:0;background:none;color:inherit;padding:3px;min-width:0;cursor:pointer}.support-selected-file>button:first-child{max-width:160px}.support-selected-file small{max-width:100px}.support-photo-dialog{width:min(1100px,96vw);max-height:94dvh;padding:16px;background:var(--panel,#1b1b22);color:var(--text,#f4f0e7);border:1px solid var(--line,#403b34);border-radius:16px;overflow:auto}.support-photo-dialog::backdrop{background:#000c}.photo-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.photo-toolbar strong{flex:1;overflow-wrap:anywhere}.photo-toolbar button{background:var(--panel-2,#27262d);color:inherit;border:1px solid var(--line,#403b34);border-radius:8px;padding:8px 12px;cursor:pointer}.photo-toolbar .active,.photo-toolbar [data-save]{background:var(--accent,#e6c688);color:#17161b}.photo-toolbar input{width:80px}.photo-help{font-size:12px;color:var(--muted,#aaa69d)}.photo-stage{text-align:center;overflow:auto}.photo-stage>img{max-width:100%;max-height:74dvh;object-fit:contain}.photo-canvas-wrap{position:relative;display:inline-block;line-height:0;max-width:100%}.photo-canvas-wrap canvas{max-width:100%;max-height:62dvh;width:auto;height:auto;touch-action:none;cursor:crosshair}.photo-crop-box{position:absolute;border:2px dashed #fff;background:#e6c68822;pointer-events:none}.photo-toolbar [data-error]{color:#ff7d7d;flex:1}
