.simple-editor.stage-wrap{max-width:1480px}.touch-editor-grid{grid-template-columns:285px minmax(280px,1fr) 270px;gap:24px;align-items:start}.editing-sidebar,.touch-sidebar{position:sticky;top:22px;min-width:0}.touch-sidebar .design-panel{margin-top:0}.touch-canvas{padding:40px 28px;overflow:visible;border-radius:22px;background:radial-gradient(#c6cdbf66 .8px,transparent .8px) 0 0/14px 14px,#eff1eb;min-height:610px;justify-content:center}.touch-canvas .frame-preview{max-width:440px;box-shadow:0 20px 45px #23311d20}.canvas-hint{line-height:1.8}.editing-sidebar .context-tools{padding:22px;background:#fff;border:1px solid #e6e9e1;border-radius:20px;box-shadow:0 12px 40px #2837230a;min-height:180px;max-height:calc(100dvh - 70px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dae2d2 transparent}.context-heading{margin-bottom:20px}.tool-eyebrow{font-size:9px;letter-spacing:2px;color:#849574;font-weight:600;display:block;margin-bottom:8px}.context-heading h3{font-size:20px;letter-spacing:-.5px}.context-heading #close-tools{width:32px;height:32px;padding:0;background:#f4f6f1;color:#66735d;display:grid;place-items:center;font-size:14px;border:1px solid #e9ece5}.editing-sidebar .context-actions{display:grid;grid-template-columns:1fr auto;gap:8px}.editing-sidebar .context-actions .dark,.editing-sidebar .context-actions .secondary{padding:11px 12px;font-size:11px;border-radius:10px;min-height:40px}.editing-sidebar .context-actions .secondary{background:#fafbf8;color:#7a8174;border:1px solid #e6eae1}.tool-section{border-top:1px solid #eef0ea;margin-top:22px;padding-top:17px}.tool-section-title{display:flex;align-items:center;gap:8px;color:#687e56}.tool-section-title h4{margin:0;font-size:11px;font-weight:600;letter-spacing:.1px;color:#3d4a34}.tool-section svg,.flip-actions svg{width:15px;height:15px;flex-shrink:0}.quiet-reset{margin-left:auto;font-size:10px;color:#87937c;padding:5px;background:transparent}.editing-sidebar .context-tools .field{margin:17px 0 0}.editing-sidebar .context-tools .field>span{font-size:11px;align-items:center;color:#63705b}.editing-sidebar .context-tools output{font-size:10px;min-width:32px;min-height:22px;display:grid;place-items:center;background:#f2f5ed;border-radius:6px;color:#60764e;font-variant-numeric:tabular-nums}.adjust-label{display:flex;align-items:center;gap:8px}.adjust-label svg{color:#94a485;width:14px;height:14px}.editing-sidebar input[type=range]{--fill:50%;appearance:none;-webkit-appearance:none;width:100%;background:transparent;height:25px;cursor:pointer;padding:0;border:0;margin:5px 0 0}.editing-sidebar input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:20px;background:linear-gradient(to right,#758f5e var(--fill),#e9eee3 var(--fill))}.editing-sidebar input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;background:#fff;border:2px solid #789261;border-radius:50%;margin-top:-4.5px;box-shadow:0 2px 5px #4b633a22;transition:box-shadow .2s}.editing-sidebar input[type=range]:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #79945b18}.editing-sidebar input[type=range]::-moz-range-track{height:4px;background:#e9eee3;border-radius:20px}.editing-sidebar input[type=range]::-moz-range-progress{height:4px;background:#758f5e}.editing-sidebar input[type=range]::-moz-range-thumb{height:10px;width:10px;background:#fff;border:2px solid #789261;border-radius:50%}.editing-sidebar input:focus-visible,.editing-sidebar button:focus-visible{outline:2px solid #77935e;outline-offset:3px}.flip-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.flip-actions button{display:flex;gap:6px;align-items:center;justify-content:center;font-size:9px;padding:10px 5px;border:1px solid #e6ebdf;border-radius:9px;background:#fbfcf9;color:#738468;min-height:38px}.flip-actions button[aria-pressed=true]{background:#edf3e5;border-color:#9daf8a;color:#476532}.flip-actions #flip-vertical svg{transform:rotate(90deg)}.noise-hint{font-size:9px;line-height:1.6;color:#9aa48f;margin:5px 0 0}.reset-all{display:block;width:100%;padding:11px;border-radius:10px;background:#f4f6f0;color:#75816b;font-size:10px;margin-top:20px}.editing-sidebar .context-tools>.muted{font-size:10px;line-height:1.8;color:#919b88;margin:15px 0 0}.editing-sidebar button:disabled,.editing-sidebar input:disabled{opacity:.4;cursor:not-allowed}.editing-sidebar .tap-welcome{padding:12px 0}.editing-sidebar .tap-welcome h3{font-size:21px}.editing-sidebar textarea{border:1px solid #e2e8db;border-radius:10px;background:#fafbf8}.staff-mode .editing-sidebar,.staff-mode .touch-sidebar{top:90px}.staff-mode .editing-sidebar .context-tools{max-height:calc(100dvh - 115px)}
.crop-overlay{position:absolute;z-index:9;pointer-events:none;border:1px solid #fff;box-shadow:0 0 0 1px #26332455;box-sizing:border-box}.crop-overlay[hidden]{display:none}.crop-grid{position:absolute;inset:0;background:linear-gradient(to right,transparent calc(33.333% - .5px),#ffffff90 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff90 66.666%,transparent calc(66.666% + .5px)),linear-gradient(to bottom,transparent calc(33.333% - .5px),#ffffff90 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff90 66.666%,transparent calc(66.666% + .5px))}.crop-handle{position:absolute;width:28px;height:28px;padding:0;background:transparent;border:0;pointer-events:auto;touch-action:none;z-index:2}.crop-handle:after{content:'';position:absolute;width:15px;height:15px;border:3px solid white;filter:drop-shadow(0 1px 1px #0008)}.crop-handle.nw{left:-12px;top:-12px;cursor:nwse-resize}.crop-handle.ne{right:-12px;top:-12px;cursor:nesw-resize}.crop-handle.sw{left:-12px;bottom:-12px;cursor:nesw-resize}.crop-handle.se{right:-12px;bottom:-12px;cursor:nwse-resize}.crop-handle.nw:after{left:11px;top:11px;border-right:0;border-bottom:0}.crop-handle.ne:after{right:11px;top:11px;border-left:0;border-bottom:0}.crop-handle.sw:after{left:11px;bottom:11px;border-right:0;border-top:0}.crop-handle.se:after{right:11px;bottom:11px;border-left:0;border-top:0}.crop-handle:focus-visible{outline:2px solid #9ec77e;outline-offset:2px}.photo-target.is-selected{border-color:transparent;box-shadow:none}.photo-target.is-selected:after{display:none}.crop-overlay.is-resizing{box-shadow:0 0 0 1px #fff8,0 0 0 4px #536e3b33}
@media(min-width:701px) and (max-width:1150px){.touch-editor-grid{grid-template-columns:260px minmax(260px,1fr)}.touch-sidebar{grid-column:1/-1;position:static;display:grid;grid-template-columns:1fr 1fr;gap:24px}.touch-sidebar .editor-finish{margin-top:0}.touch-sidebar .design-rail{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.touch-editor-grid{display:flex;flex-direction:column;gap:18px}.touch-canvas{order:0;width:100%;box-sizing:border-box;padding:30px 25px;min-height:0}.editing-sidebar{order:1;width:100%;position:static}.touch-sidebar{order:2;width:100%;position:static}.editing-sidebar .context-tools.has-selection{position:fixed;bottom:0;left:0;right:0;max-height:38dvh;border-radius:22px 22px 0 0;box-shadow:0 -10px 40px #25331f18;padding:18px 22px calc(20px + env(safe-area-inset-bottom));z-index:30}.editing-sidebar .context-heading{position:sticky;top:-18px;background:white;padding:10px 0;z-index:2;margin-top:-8px}.editing-sidebar .context-tools:not(.has-selection){display:none}.simple-editor:has(.has-selection){padding-bottom:40dvh}.editing-sidebar .context-tools input[type=range]{height:32px}.editing-sidebar .context-tools button{min-height:40px}.editing-sidebar .context-heading #close-tools{width:38px}.crop-handle{width:34px;height:34px}.crop-handle.nw{top:-15px;left:-15px}.crop-handle.ne{top:-15px;right:-15px}.crop-handle.sw{bottom:-15px;left:-15px}.crop-handle.se{bottom:-15px;right:-15px}.crop-handle:after{margin:3px}.tool-section{margin-top:17px}}
@media(prefers-reduced-motion:reduce){.editing-sidebar *{animation:none!important;transition:none!important}}
@media(hover:hover){.design-tile{transition:transform .22s ease,box-shadow .22s ease}.design-tile:hover{transform:scale(1.035);z-index:2;box-shadow:0 12px 30px #0002}}
.edit-target:not(.is-selected):not(.is-empty){background:transparent!important;box-shadow:none!important}.edit-target.is-selected{background:rgba(70,130,180,.06)}
@media(prefers-reduced-motion:reduce){.design-tile{transition:none}.design-tile:hover{transform:none}}
