.photo-editor{margin-top:22px;padding:20px;border:1px solid #dbe3e6;border-radius:12px;background:#f7f9fa}
.photo-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.photo-heading h3{margin:0;font-size:15px}.photo-heading p{margin:6px 0 0;font-size:11px;color:#6b7880}.photo-private{padding:6px 9px;border:1px solid #d7e3dd;border-radius:100px;background:#f0f7f3;color:#49715d;font-size:9px;font-weight:700;white-space:nowrap}
.photo-editor [hidden]{display:none!important}.photo-upload{margin-top:16px!important}.photo-editor button{min-height:34px;border:1px solid #d4dde0;border-radius:7px;background:#fff;color:#3c505c;padding:7px 10px;font-size:10px;font-weight:700;transition:background .15s,border-color .15s}.photo-editor button:hover{background:#edf3f5;border-color:#a9bbc4}.photo-editor button:disabled{opacity:.4;cursor:default}.photo-editor button:focus-visible,.photo-editor canvas:focus-visible{outline:3px solid #bb6e3d55;outline-offset:3px}.photo-editor .photo-primary{background:#172735;color:white;border-color:#172735}.photo-editor .photo-primary:hover{background:#294357}.photo-editor button[aria-pressed=true]{background:#f9eadf;color:#a55a31;border-color:#debda5}
.photo-workspace{margin-top:17px}.photo-toolbar{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}.photo-toolbar>div{display:flex;gap:6px;flex-wrap:wrap}.photo-layout{display:grid;grid-template-columns:minmax(0,1fr) 258px;gap:16px;align-items:start}.photo-preview{border:1px solid #dbe3e6;border-radius:10px;overflow:hidden;background:#fff}.photo-canvas-wrap{min-height:260px;display:flex;align-items:center;justify-content:center;background-color:#f6f7f8;background-image:conic-gradient(#e3e8ea 25%,transparent 0 50%,#e3e8ea 0 75%,transparent 0);background-size:20px 20px}.photo-canvas-wrap canvas{display:block;max-width:100%;width:auto;height:auto;max-height:540px;touch-action:none;cursor:default}.photo-canvas-wrap canvas[data-tool=crop],.photo-canvas-wrap canvas[data-tool=pick]{cursor:crosshair}.photo-canvas-wrap canvas[data-tool=erase],.photo-canvas-wrap canvas[data-tool=restore]{cursor:crosshair}.photo-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-top:1px solid #e2e8ea;font-size:9px;color:#70808a}.photo-preview-footer span:last-child{color:#a75d38}
.photo-controls{padding:13px;border:1px solid #dbe3e6;border-radius:10px;background:#fff}.photo-tabs{display:flex;gap:3px;padding:3px;background:#edf2f4;border-radius:8px;margin-bottom:13px}.photo-tabs button{flex:1;padding:7px 5px;border:0;background:transparent;font-size:10px}.photo-tabs button[aria-pressed=true]{background:white;color:#172735;box-shadow:0 2px 6px #17273512}.photo-tip{margin:0 0 13px;font-size:10px;color:#71818b;line-height:1.6}.photo-controls label{font-size:10px;margin-top:12px}.photo-controls input[type=range]{display:block;width:100%;padding:0!important;height:20px;border:0!important;background:transparent!important;box-shadow:none!important;accent-color:#bb6e3d;cursor:pointer}.photo-range output{float:right;font-size:10px;color:#bb6e3d}.photo-presets{display:flex;gap:5px;flex-wrap:wrap;margin-top:17px}.photo-presets button{font-size:9px;padding:6px 9px}.photo-controls select,.photo-controls input[type=number]{padding:8px!important;font-size:10px}.photo-crop-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.photo-control-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}.photo-wide{width:100%}.photo-brush-tools{display:flex;gap:5px;margin-top:12px}.photo-brush-tools button{flex:1;padding:7px 5px;font-size:9px}.photo-sample{margin:7px 0 0;color:#81909a;font-size:9px;line-height:1.45}.photo-controls input[type=color]{width:100%;height:35px;padding:2px;margin-top:6px}.photo-status{margin:12px 0 0;color:#6c7d86;font-size:10px;line-height:1.6}.photo-error{margin:12px 0 0;padding:10px 13px;border-radius:7px;background:#fff0ee;color:#a4473e;font-size:11px;line-height:1.5}
@media(max-width:1100px){.photo-layout{grid-template-columns:minmax(0,1fr) 230px}}
@media(max-width:700px){.photo-editor{padding:13px}.photo-heading{align-items:flex-start}.photo-private{display:none}.photo-layout{grid-template-columns:1fr}.photo-canvas-wrap{min-height:150px}.photo-canvas-wrap canvas{max-height:420px}.photo-controls{padding:15px}.photo-toolbar button{font-size:9px;padding:7px 8px}.photo-status{font-size:11px}.photo-tabs button{min-height:40px}}
