.pe-work{max-width:1120px}.pe-layout{grid-template-columns:286px minmax(0,1fr)}.pe-panel{position:sticky;top:74px}.pe-tool-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-bottom:13px;padding:4px;background:#eeecf3;border-radius:11px}.pe-tool-tabs button{border:0;border-radius:8px;background:transparent;color:#716b7b;font:700 10px/1.2 inherit;font-family:inherit;padding:9px 3px;cursor:pointer}.pe-tool-tabs button[aria-pressed=true]{color:#fff;background:#7168ff}.pe-tool-pane[hidden]{display:none!important}.pe-draw-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.pe-draw-tools button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:56px;padding:5px 2px;border:1px solid #dfdbe8;border-radius:9px;background:#fff;color:#625d6d;font:600 18px/1.2 inherit;font-family:inherit;cursor:pointer}.pe-draw-tools button span{font-size:9px}.pe-draw-tools button[aria-pressed=true]{background:#7168ff;color:#fff;border-color:#7168ff}.pe-draw-options .pe-color-label{display:flex;align-items:center;justify-content:space-between}.pe-color-label input,.pe-resize-fields input[type=color]{width:42px;height:34px;padding:2px;border:1px solid #cfc9dc;border-radius:7px;background:#fff}.pe-tool-help{color:#77717f;font-size:11px;line-height:1.45;margin:8px 0}.pe-resize-fields{display:grid;grid-template-columns:1fr 1fr;gap:7px}.pe-resize-fields label{display:block;margin:0;color:#686270;font-size:11px}.pe-resize-fields input:not([type=color]),.pe-text-input{display:block;width:100%;min-height:39px;margin-top:3px;padding:8px;border:1px solid #cfc9dc;border-radius:8px;background:#fff;color:#25212b;font:600 13px/1.2 inherit;font-family:inherit}.pe-check{display:flex!important;align-items:center;justify-content:flex-start;gap:7px!important}.pe-check input{width:16px;height:16px;accent-color:#7168ff}.pe-wide-button{width:100%;min-height:39px;padding:8px 10px;border:1px solid #9388e4;border-radius:9px;background:#f2efff;color:#5e52c7;font:700 12px/1.2 inherit;font-family:inherit;cursor:pointer}.pe-wide-button:hover{background:#e9e4ff}.pe-stage.is-draw canvas{cursor:crosshair}.pe-stage.is-move canvas{cursor:move}.pe-tool-tabs button:focus-visible,.pe-draw-tools button:focus-visible,.pe-wide-button:focus-visible{outline:3px solid #43337f;outline-offset:2px}
@media(max-width:760px){.pe-layout{grid-template-columns:1fr}.pe-panel{display:block;position:static}.pe-tool+.pe-tool{border-top:1px solid #e9e5ef;margin-top:13px;padding-top:13px}.pe-crop-panel{margin:11px 0}.pe-stage{min-height:260px;padding:8px}.pe-stage canvas{max-height:54svh}.pe-export{grid-template-columns:1fr}.pe-export-controls{justify-content:space-between}.pe-export .fic-start{grid-column:auto}.pe-filters{grid-template-columns:repeat(3,1fr)}}
@media(max-width:520px){.pe-work{padding:10px}.pe-filebar{align-items:flex-start}.pe-history button{flex:1;padding:7px 4px}.pe-history button span{display:none}.pe-panel{display:block;padding:11px}.pe-tool+.pe-tool{border-top:1px solid #e9e5ef;margin-top:13px;padding-top:13px}.pe-crop-panel{margin:11px 0}.pe-stage{min-height:220px}.pe-stage canvas{max-height:48svh}.pe-export-controls{display:grid;grid-template-columns:1fr}.pe-formats button{flex:1}.pe-formats{display:flex}.pe-export-controls label{min-width:0}.pe-filters{grid-template-columns:repeat(3,1fr)}}
#anywhere-upload{display:none!important}
#photo-editor-app .pe-text-input,#photo-editor-app .pe-resize-fields input[type=number]{background:#fff!important;color:#292531!important;-webkit-text-fill-color:#292531!important;border:1px solid #b9afcf!important;opacity:1!important;cursor:text}#photo-editor-app .pe-text-input:hover,#photo-editor-app .pe-resize-fields input[type=number]:hover{border-color:#9585c9!important}#photo-editor-app .pe-text-input:focus,#photo-editor-app .pe-resize-fields input[type=number]:focus{border-color:#7168ff!important;outline:none!important;box-shadow:0 0 0 3px #7168ff24}
#photo-editor-app .fic-shell{max-width:none;width:100%}#photo-editor-app .pe-work{max-width:none;width:100%}#photo-editor-app .fic-crumbs,#photo-editor-app .fic-hero,#photo-editor-app .fic-steps,#photo-editor-app .fic-explain,#photo-editor-app .fic-faq{max-width:1040px;margin-left:auto;margin-right:auto}#photo-editor-app .pe-layout{grid-template-columns:300px minmax(0,1fr)}
@media(max-width:760px){#photo-editor-app .pe-layout{grid-template-columns:1fr}}
#photo-editor-app .pe-panel,#photo-editor-app .pe-tool-pane,#photo-editor-app .pe-tool{min-width:0}#photo-editor-app .pe-tool-tabs button{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#photo-editor-app [data-tool-pane=add] .pe-resize-fields{grid-template-columns:minmax(0,1fr) 76px;align-items:end}#photo-editor-app [data-tool-pane=add] .pe-resize-fields label{min-width:0}#photo-editor-app [data-tool-pane=add] .pe-resize-fields input[type=color]{display:block;width:100%;height:39px;margin-top:3px}#photo-editor-app .pe-layout>*{min-width:0}
@media(min-width:761px) and (max-width:1150px){#photo-editor-app .pe-layout{grid-template-columns:260px minmax(0,1fr)}#photo-editor-app .pe-panel{padding:10px}#photo-editor-app .pe-tool-tabs{grid-template-columns:repeat(2,1fr)}}
#photo-editor-app [data-tool-pane=add] #pe-text-add{margin-top:12px}
#photo-editor-app .pe-resize-tool{margin-top:18px}
#photo-editor-app .pe-result{width:100%;max-width:1040px;margin:14px auto 0}
#photo-editor-app .fic-steps{width:100%;margin:28px auto 36px!important}
