.app-wrapper:has(.image-editor){height:100dvh;min-height:600px;overflow:hidden}.app-wrapper:has(.image-editor) #menu{scrollbar-width:thin;height:100%;overflow-y:auto}.app-wrapper:has(.image-editor) #menu nav{gap:3px}.app-wrapper:has(.image-editor) #menu nav a{border-radius:6px;margin:0 -8px;padding:6px 8px;font-size:14px;line-height:1.5}.app-wrapper:has(.image-editor) #menu nav a:hover{background:#e9edf2}.app-wrapper:has(.image-editor) #menu .editor-nav-active{color:#1d4ed8;background:#dbeafe}.editor-site-title{color:#111827;margin:8px 0 22px;font-size:20px;font-weight:700;line-height:1.3;display:block}.editor-main{overflow:hidden}.image-editor{--editor-blue:#1d4ed8;--editor-line:#dce0e6;--editor-muted:#5b626d;color:#151b26;background:#fff;flex-direction:column;height:100%;font-size:14px;line-height:1.45;display:flex}.image-editor *,.image-editor :before,.image-editor :after{box-sizing:border-box}.image-editor [hidden]{display:none!important}.image-editor button,.image-editor input,.image-editor select,.image-editor textarea{font:inherit}.image-editor button{cursor:pointer}.image-editor button:disabled{opacity:.38;cursor:not-allowed}.image-editor :focus-visible{outline:2px solid var(--editor-blue);outline-offset:3px}.image-editor ::selection{color:#172554;background:#dbeafe}.image-editor input,.image-editor textarea{caret-color:var(--editor-blue)}.editor-icon{flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.editor-icon svg{stroke-width:1.8px;width:21px;height:21px}.editor-header{border-bottom:1px solid var(--editor-line);justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;display:flex}.editor-header h1{letter-spacing:-.025em;margin:0;font-size:26px;font-weight:700;line-height:1.2}.editor-button{color:#202631;white-space:nowrap;background:#fff;border:1px solid #d0d5dd;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:7px 12px;line-height:1.25;display:inline-flex}.editor-button:hover:enabled{background:#f4f6f9;border-color:#a8b2c0}.editor-primary{background:var(--editor-blue);border-color:var(--editor-blue);color:#fff;font-weight:600}.editor-primary:hover:enabled{background:#1e40af;border-color:#1e40af}.editor-header .editor-primary{min-height:42px;padding-inline:16px}.editor-square{flex-shrink:0;width:36px;padding:6px}.editor-small{width:30px;min-height:30px}.editor-small .editor-icon svg{width:18px;height:18px}.editor-toolbar{border-bottom:1px solid var(--editor-line);flex-wrap:wrap;align-items:center;gap:8px;padding:11px 16px;display:flex}.editor-history{border-left:1px solid var(--editor-line);gap:6px;margin-left:4px;padding-left:12px;display:flex}.editor-body{flex:1;grid-template-columns:minmax(0,1fr) 260px;min-height:0;display:grid}.editor-workspace{grid-template-rows:minmax(0,1fr) 50px;grid-template-columns:52px minmax(0,1fr);min-width:0;min-height:0;display:grid}.editor-tools{border-right:1px solid var(--editor-line);z-index:1;background:#fff;flex-direction:column;align-items:center;gap:6px;padding:14px 6px;display:flex}.editor-tool{color:#29313d;border-radius:6px;place-items:center;width:38px;height:38px;display:grid}.editor-tool:hover{background:#edf1f6}.editor-tool[aria-pressed=true]{color:var(--editor-blue);background:#dbeafe}.editor-tool-divider{border-top:1px solid var(--editor-line);width:22px;margin:4px 0}.editor-stage{touch-action:none;user-select:none;background:#f2f3f5;position:relative;overflow:hidden;outline-offset:-3px!important}.editor-stage canvas{width:100%;height:100%;display:block}.editor-stage[data-tool=pan],.editor-stage.is-space{cursor:grab}.editor-stage.is-dragging{cursor:grabbing}.editor-stage[data-tool=crop],.editor-stage[data-tool=region]{cursor:crosshair}.editor-stage[data-tool=text]{cursor:text}.editor-empty{text-align:center;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex;position:absolute;inset:0}.editor-empty-icon{color:#6d7c91;margin-bottom:16px}.editor-empty-icon .editor-icon svg{stroke-width:1.25px;width:42px;height:42px}.editor-empty h2{letter-spacing:-.02em;margin:0 0 8px;font-size:21px;font-weight:600}.editor-empty p{color:#535f70;margin:0 0 22px;font-size:14px;line-height:1.7}.editor-empty button{pointer-events:auto}.editor-empty-note{color:var(--editor-muted);margin-top:12px;font-size:12px}.editor-selection,.editor-area{pointer-events:none;border:1.5px solid #2563eb;position:absolute}.editor-selection{outline:1px solid #fff9}.editor-handle{pointer-events:auto;background:#fff;border:1.5px solid #2563eb;width:10px;height:10px;position:absolute;transform:translate(-50%,-50%)}.editor-handle-nw{cursor:nwse-resize;top:0;left:0}.editor-handle-ne{cursor:nesw-resize;top:0;left:100%}.editor-handle-sw{cursor:nesw-resize;top:100%;left:0}.editor-handle-se{cursor:nwse-resize;top:100%;left:100%}.editor-area{background:#2563eb16;border-style:dashed}.editor-area-bar{border:1px solid var(--editor-line);background:#fff;border-radius:8px;align-items:center;gap:10px;max-width:calc(100% - 24px);padding:9px 10px 9px 14px;display:flex;position:absolute;bottom:16px;left:50%;transform:translate(-50%);box-shadow:0 4px 18px #17255418}.editor-area-bar>span{min-width:0;font-size:12px;line-height:1.4}.editor-area-bar .editor-button{font-size:12px}.editor-drop-hint{border:2px dashed var(--editor-blue);color:var(--editor-blue);pointer-events:none;background:#eff6fff2;border-radius:8px;place-items:center;font-size:18px;font-weight:600;display:grid;position:absolute;inset:12px}.editor-canvas-footer{border-top:1px solid var(--editor-line);background:#fff;grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;padding:7px 12px 7px 18px;display:flex}.editor-canvas-footer>span{color:var(--editor-muted);font-size:12px}.editor-zoom{align-items:center;gap:6px;display:flex}.editor-zoom-value{font-variant-numeric:tabular-nums;border-radius:4px;min-width:49px;padding:5px 3px}.editor-zoom-value:hover{background:#edf1f6}.editor-sidebar{border-left:1px solid var(--editor-line);scrollbar-width:thin;scrollbar-color:#c2cad5 transparent;min-height:0;padding:20px 16px 16px;overflow-y:auto}.editor-sidebar h2{margin:0;font-size:16px;font-weight:700}.editor-section-heading{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.editor-section-heading>span{color:var(--editor-muted);font-variant-numeric:tabular-nums;font-size:12px}.editor-layers{flex-direction:column;gap:3px;display:flex}.editor-layer-row{border:1px solid #0000;border-radius:6px;align-items:center;min-width:0;display:flex}.editor-layer-row:hover{background:#f3f5f8}.editor-layer-row.is-selected{background:#dbeafe;border-color:#c3dcfc}.editor-layer-row.is-hidden .editor-layer-label{color:#677285}.editor-layer-row.is-hidden .editor-layer-thumb{opacity:.45}.editor-layer-select{text-align:left;flex:1;align-items:center;gap:10px;min-width:0;padding:8px;display:flex}.editor-layer-thumb{background:#ffffffa8;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex;overflow:hidden}.editor-layer-thumb img{object-fit:contain;width:100%;height:100%}.editor-layer-thumb .editor-icon svg{width:25px;height:25px}.editor-layer-label{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.editor-layer-visibility{border-radius:4px;flex-shrink:0;place-items:center;width:32px;height:38px;display:grid}.editor-layer-visibility:hover{background:#00000009}.editor-layer-visibility .editor-icon svg{width:18px;height:18px}.editor-muted{color:var(--editor-muted);font-size:12px;line-height:1.6}.editor-layer-order{align-items:center;gap:4px;margin-top:12px;display:flex}.editor-layer-order>span{flex:1;font-size:11px}.editor-properties{border-top:1px solid var(--editor-line);margin-top:20px;padding-top:20px}.editor-properties h2{margin-bottom:15px}.editor-field{color:#4e5868;flex-direction:column;gap:5px;min-width:0;margin:0 0 12px;font-size:12px;display:flex}.editor-field input,.editor-field textarea,.editor-field select{color:#202631;background:#fff;border:1px solid #cbd2db;border-radius:5px;width:100%;min-width:0;padding:7px 8px;font-size:13px;line-height:1.4}.editor-field textarea{resize:vertical;min-height:65px;max-height:200px}.editor-field input[type=number]{font-variant-numeric:tabular-nums}.editor-field-pair{grid-template-columns:1fr 1fr;gap:10px;display:grid}.editor-text-colors{color:#4e5868;justify-content:space-between;align-items:center;gap:5px;margin-bottom:17px;font-size:12px;display:flex}.editor-text-colors label{align-items:center;gap:4px;display:flex}.editor-text-colors input[type=color]{cursor:pointer;border:1px solid #cbd2db;border-radius:3px;width:25px;height:26px;padding:1px}.editor-checkbox{gap:5px!important}.editor-opacity-heading{justify-content:space-between;margin-top:3px;font-size:13px;display:flex}.editor-opacity-heading output{font-variant-numeric:tabular-nums;color:var(--editor-muted)}.editor-opacity{width:100%;accent-color:var(--editor-blue);cursor:pointer;margin:10px 0 20px;display:block}.editor-property-note{color:var(--editor-muted);margin:0 0 15px;font-size:11px;line-height:1.5}.editor-layer-actions{gap:7px;display:flex}.editor-layer-actions .editor-button{flex:1;padding:7px;font-size:12px}.editor-layer-actions .editor-icon svg{width:17px;height:17px}.editor-document-info{border-top:1px solid var(--editor-line);color:var(--editor-muted);margin-top:26px;padding-top:18px;font-size:11px}.editor-document-info>div{font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.editor-document-info strong{color:#2d3746;font-weight:500}.editor-text-button{color:var(--editor-blue);text-underline-offset:3px;margin-top:8px;font-size:12px;text-decoration:underline}.editor-status{border-top:1px solid var(--editor-line);color:#525c6b;min-height:29px;margin:0;padding:6px 16px;font-size:11px;line-height:1.5}.editor-status.is-error{color:#b42318;background:#fff7f5}.editor-region-actions{border-bottom:1px solid var(--editor-line);background:#f8faff;flex-shrink:0;padding:9px 16px}.editor-region-choice,.editor-region-transform-controls{flex-wrap:wrap;align-items:center;gap:10px 16px;display:flex}.editor-region-choice>span{color:#4e5868;font-variant-numeric:tabular-nums;min-width:140px;font-size:12px}.editor-region-buttons,.editor-region-fields,.editor-region-confirm{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.editor-region-actions .editor-button{min-height:34px;padding:6px 10px;font-size:12px}.editor-region-actions .editor-icon svg{width:18px;height:18px}.editor-region-actions .editor-square{width:34px;padding:6px}.editor-region-transform-controls>strong{font-size:13px;font-weight:600}.editor-region-fields{color:#374151;font-size:12px}.editor-region-fields input[type=number]{font-variant-numeric:tabular-nums;background:#fff;border:1px solid #cbd2db;border-radius:5px;width:76px;min-width:0;padding:6px;font-size:13px}.editor-region-fields label{margin-left:3px}.editor-region-lock{white-space:nowrap;align-items:center;gap:5px;font-size:11px;display:flex}.editor-region-lock input{accent-color:var(--editor-blue)}.editor-region-shortcut{color:#5b626d;margin-left:4px;font-size:11px}.editor-region-confirm{margin-left:auto}.editor-region-outline{pointer-events:none;outline-offset:1px;border:1px dashed #111827;outline:1px dashed #fff;position:absolute}.editor-region-transform{pointer-events:none;transform-origin:50%;border:1.5px solid #2563eb;position:absolute}.editor-region-corner{pointer-events:auto;place-items:center;width:24px;height:24px;display:grid;position:absolute;transform:translate(-50%,-50%)}.editor-region-corner:after{content:"";background:#fff;border:1.5px solid #2563eb;width:10px;height:10px}.editor-region-corner-nw{cursor:nwse-resize;top:0;left:0}.editor-region-corner-ne{cursor:nesw-resize;top:0;left:100%}.editor-region-corner-sw{cursor:nesw-resize;top:100%;left:0}.editor-region-corner-se{cursor:nwse-resize;top:100%;left:100%}.editor-region-rotation-handle{color:#1d4ed8;pointer-events:auto;cursor:grab;background:#fff;border:1.5px solid #2563eb;border-radius:50%;place-items:center;width:26px;height:26px;display:grid;position:absolute;top:-32px;left:50%;transform:translate(-50%,-50%)}.editor-region-rotation-handle .editor-icon svg{width:16px;height:16px}.editor-region-transform[data-mode=rotate]:before{content:"";border-left:1px solid #2563eb;height:20px;position:absolute;top:-20px;left:50%}.editor-region-transform[data-mode=rotate] .editor-region-corner,.editor-region-transform[data-mode=resize] .editor-region-rotation-handle{display:none}.image-editor input:disabled,.image-editor select:disabled,.image-editor textarea:disabled{opacity:.5;cursor:not-allowed}@media (width<=1100px){.editor-body{grid-template-columns:minmax(0,1fr) 230px}.editor-header{padding:18px}.editor-canvas-footer>span{max-width:110px;line-height:1.35}}@media (width<=767px){.app-wrapper:has(.image-editor){height:auto;min-height:100dvh;overflow:visible}.app-wrapper:has(.image-editor) #menu{height:100dvh;position:fixed;top:0}.app-wrapper:has(.image-editor) #menu nav{margin-top:0}.editor-site-title{margin-top:50px}.editor-main{padding-top:50px}.image-editor{height:auto;min-height:calc(100dvh - 50px)}.editor-header{gap:10px;padding:12px 14px 16px}.editor-header h1{font-size:23px}.editor-header .editor-primary{gap:5px;min-height:38px;padding:8px 10px;font-size:12px}.editor-toolbar{gap:6px;padding:10px}.editor-toolbar .editor-button{gap:5px;padding:6px 9px;font-size:12px}.editor-toolbar .editor-icon svg{width:18px;height:18px}.editor-history{gap:3px;margin-left:0;padding-left:7px}.editor-history .editor-square{width:30px}.editor-body{flex-direction:column;display:flex}.editor-workspace{grid-template-rows:minmax(0,1fr) 49px;grid-template-columns:44px minmax(0,1fr);height:58dvh;min-height:370px}.editor-tools{padding-inline:3px}.editor-tool{width:36px;height:38px}.editor-empty{padding:16px}.editor-empty h2{font-size:19px}.editor-empty p{font-size:12px}.editor-sidebar{border-left:0;border-top:1px solid var(--editor-line);padding:18px 16px;overflow:visible}.editor-layers{max-height:240px;overflow-y:auto}.editor-properties{margin-top:16px;padding-top:16px}.editor-canvas-footer{padding-inline:10px}.editor-canvas-footer>span{max-width:100px;font-size:10px}.editor-zoom{gap:4px}.editor-zoom .editor-square{width:30px;min-height:32px}.editor-zoom .editor-button{min-height:32px;padding:5px 8px}.editor-zoom-value{min-width:41px;font-size:12px}.editor-area-bar{gap:6px;padding:7px;bottom:10px}.editor-area-bar .editor-button{padding:5px 8px}.editor-area-bar>span{font-size:10px}.editor-region-actions{padding:8px 10px}.editor-region-choice{gap:7px}.editor-region-choice>span{width:100%}.editor-region-buttons{gap:5px}.editor-region-actions .editor-button{min-height:36px;padding:6px 9px}.editor-region-actions .editor-square{width:34px}.editor-region-transform-controls{gap:9px}.editor-region-transform-controls>strong{width:100%}.editor-region-fields{gap:5px}.editor-region-fields input[type=number]{width:70px}.editor-region-lock{width:100%;margin-top:3px}.editor-region-confirm{margin-left:0}}
