.selection-workspace [hidden]{display:none!important}
.selection-workspace .app-preview-toolbar{flex-wrap:wrap;gap:12px}
.selection-segment{display:flex;gap:3px;min-width:0;padding:4px;margin:0;border:1px solid #e1e6dc;background:#f3f5f0;border-radius:9px}
.selection-segment label{position:relative;cursor:pointer;flex:1}.selection-segment input{position:absolute;opacity:0}.selection-segment span{display:block;padding:8px 11px;color:#66755c;font-size:12px;white-space:nowrap;text-align:center;border-radius:6px}.selection-segment input:checked+span{color:#285be7;background:#fff;box-shadow:0 1px 4px #2436200c}.selection-segment input:focus-visible+span{outline:2px solid #285be7}
.selection-edit-actions{display:flex;gap:8px;align-items:center;margin-left:auto}.selection-edit-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #cbd8f6;border-radius:8px;background:#f1f5ff;color:#285be7;font-family:inherit;font-size:12px;font-weight:600;padding:10px 13px;cursor:pointer}.selection-edit-button[aria-pressed=true]{color:#fff;background:#285be7;border-color:#285be7}.selection-clear{color:#7a8771;background:none;border:0;padding:9px 4px;cursor:pointer;font:inherit;font-size:11px}.selection-clear:hover{color:#285be7}
.selection-canvas-formats{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:12px 18px;margin:0;border:0;border-top:1px solid #e8ece2;background:#fff}.selection-canvas-label{font-size:11px;color:#8a9383;margin-right:5px}.selection-canvas-formats label{position:relative;cursor:pointer}.selection-canvas-formats input{position:absolute;opacity:0}.selection-canvas-formats label>span{display:flex;gap:8px;align-items:center;padding:8px 10px;background:#fff;border:1px solid #e2e7db;border-radius:8px;color:#5c6b52;font-size:11px;line-height:1.3}.selection-canvas-formats label>span>span{display:grid;gap:3px}.selection-canvas-formats small{color:#8e9987;font-size:9px}.selection-canvas-formats input:checked+span{border-color:#b7c8f5;background:#f0f4ff;color:#285be7}.selection-canvas-formats input:checked+span small{color:#7b91c4}.selection-canvas-formats input:focus-visible+span{outline:2px solid #285be7;outline-offset:2px}.selection-format-icon{display:block;border:1.3px solid currentColor;border-radius:2px;width:17px;height:17px;opacity:.75}.selection-format-icon.is-fit{border-style:dashed;width:20px;height:14px}.selection-format-icon.is-portrait{width:14px;height:18px}.selection-format-icon.is-story{width:11px;height:20px}.selection-format-icon.is-wide{width:22px;height:13px}
.selection-workspace .app-preview-stage{padding:28px}.selection-preview-wrap{position:relative;width:100%;margin:auto}.selection-inline-layer{position:absolute;inset:0;pointer-events:none}.selection-edit-hit{position:absolute;pointer-events:auto;background:none;border:0;cursor:text;border-radius:0;padding:0;outline:0}.selection-edit-hit:hover{background:#285be705;box-shadow:0 0 0 1px #285be730}.selection-edit-hit:focus-visible{outline:2px solid #285be7;outline-offset:4px}
.selection-workspace .selection-inline-input{position:absolute!important;display:block;pointer-events:auto;padding:0!important;margin:0!important;resize:none;min-height:0!important;min-width:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;letter-spacing:normal!important;outline:1px dashed #285be750;outline-offset:5px;white-space:pre-wrap;overflow-wrap:break-word;tab-size:4;overflow:auto}
.selection-preview-footer{display:flex;justify-content:space-between;gap:12px;padding:12px 20px;color:#7a8872;font-size:11px;background:#fff;border-top:1px solid #e7ebe3}.selection-preview-footer>span:last-child{white-space:nowrap;color:#96a18e}
.selection-step-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.selection-stepper{display:flex;align-items:center;border:1px solid #dce1d8;background:white;border-radius:8px;overflow:hidden}.selection-stepper button{flex:0 0 28px;height:38px;border:0;background:none;color:#70806b;font-size:18px;cursor:pointer}.selection-stepper button:hover:not(:disabled){background:#edf2ff;color:#285be7}.selection-stepper button:disabled{opacity:.3;cursor:default}.selection-controls .selection-stepper input{border:0!important;border-radius:0!important;padding:8px 0!important;text-align:center;font-size:12px!important;box-shadow:none!important;appearance:textfield}.selection-stepper input::-webkit-inner-spin-button{appearance:none}
.selection-color-field>span{display:flex;align-items:center;gap:6px;border:1px solid #dce1d8;border-radius:8px;padding:9px 7px;background:white;font-size:10px;color:#6c7866}.selection-color-field input[type=color]{width:24px;height:24px;padding:0;border:0;flex-shrink:0;background:none;cursor:pointer}
.selection-backgrounds{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.selection-backgrounds button{height:34px;border:1px solid #0000000c;border-radius:8px;cursor:pointer}.selection-backgrounds button[aria-pressed=true]{box-shadow:0 0 0 2px white,0 0 0 3px #285be7}
.selection-setting-group{display:grid;gap:13px;border:1px solid #e5e9e1;background:#f8faf6;border-radius:10px;padding:14px}.selection-file-button{display:flex;align-items:center;justify-content:center;gap:10px;padding:11px;border:1px solid #dce3d6;border-radius:9px;background:#f8faf5;color:#56644e;font-size:12px;cursor:pointer}.selection-file-button input{position:absolute;opacity:0;width:1px;height:1px}.selection-file-button:focus-within{outline:2px solid #285be7;outline-offset:2px}.selection-file-button:hover{border-color:#bac8ad;background:#f1f5eb}
.selection-text-options{display:flex;align-items:center;gap:12px}.selection-text-options>div{display:flex;gap:5px}.selection-text-options button{border:1px solid #dce3d6;border-radius:7px;background:#fff;color:#627158;width:34px;height:36px;cursor:pointer;font-size:15px}.selection-text-options button[aria-pressed=true]{color:#285be7;border-color:#b8c9f9;background:#eff4ff}.selection-align{flex:1}.selection-align span{padding:7px 4px;font-size:10px}
@media(max-width:1100px){.selection-preview-footer{flex-direction:column;gap:4px}}
@media(max-width:600px){.selection-workspace .app-preview-stage{padding:12px}.selection-style-switch{flex:1 0 100%}.selection-style-switch span{padding:7px 5px;font-size:11px}.selection-edit-actions{width:100%;justify-content:space-between}.selection-edit-button{padding:10px;font-size:11px}.selection-canvas-formats{padding:12px;gap:6px}.selection-canvas-label{display:none}.selection-canvas-formats label>span{padding:8px;font-size:10px}}


.selection-workspace .app-preview-toolbar{align-items:center;flex-wrap:wrap;gap:12px}.selection-edit-actions{display:flex;gap:5px;padding:4px;margin-left:auto;background:#f3f5f0;border:1px solid #e1e6dc;border-radius:9px}.selection-edit-actions button{border:0;background:none;border-radius:6px;padding:9px 12px;font-family:inherit;font-size:12px;font-weight:500;color:#6e7b63;cursor:pointer}.selection-edit-actions button[aria-pressed=true]{background:white;color:#285be7;box-shadow:0 1px 4px #2436200c}.selection-preview-wrap{max-width:100%!important;min-width:0}.selection-workspace[data-format=story] .selection-preview-wrap{max-width:430px!important}.selection-workspace[data-format=portrait] .selection-preview-wrap{max-width:590px!important}.selection-workspace .app-preview-stage{padding:28px;min-height:350px}.selection-select-area{position:absolute;pointer-events:auto;border:0;background:transparent;cursor:text;touch-action:none;user-select:none;padding:0}.selection-select-area:focus-visible{outline:2px dashed #285be7;outline-offset:6px}.selection-drag-handle{position:absolute;transform:translate(-50%,-50%);width:32px;height:32px;pointer-events:auto;touch-action:none;border:0;border-radius:50%;background:transparent;cursor:grab;padding:0;z-index:3}.selection-drag-handle:hover{background:#285be712}.selection-drag-handle:active{cursor:grabbing}.selection-drag-handle:focus-visible{outline:2px solid #285be7}.selection-workspace .selection-inline-input{z-index:4;white-space:pre-wrap;overflow:hidden;overflow-wrap:break-word;box-sizing:border-box!important}.selection-palettes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.selection-palettes button{display:grid;gap:7px;border:0;background:none;padding:3px;cursor:pointer;color:#6d7b65;font-family:inherit}.selection-palettes i{display:grid;place-items:center;height:44px;border-radius:8px;border:1px solid #0000000e;font:22px Georgia}.selection-palettes i b{font-weight:400;background:currentColor;position:relative}.selection-palettes i b{background:none}.selection-palettes span{font-size:10px}.selection-palettes button[aria-pressed=true] i{box-shadow:0 0 0 2px white,0 0 0 3px #285be7}.selection-palettes button[aria-pressed=true]{color:#285be7}.selection-button-row{display:flex;gap:7px}.selection-button-row button{flex:1;padding:9px 10px;border:1px solid #dce4d5;border-radius:8px;background:white;color:#627456;cursor:pointer;font-family:inherit;font-size:11px}.selection-button-row button:hover{background:#f0f4ff;color:#285be7}.selection-button-row button:disabled{opacity:.45;cursor:default}.selection-current{font-size:11px;line-height:1.6;color:#6b7c61;margin:0;overflow-wrap:anywhere}.selection-type-row{display:flex;align-items:center;gap:10px}.selection-type-row>.selection-button-row button{width:36px;font-size:16px}.selection-type-row>.selection-segment{flex:1}.selection-type-row .selection-segment span{padding:9px 5px;font-size:10px}.selection-controls .app-field-row>.app-field{min-width:0}.selection-controls textarea{line-height:1.5}.selection-workspace button:focus-visible{outline:2px solid #285be7;outline-offset:2px}.selection-workspace input[type=range]{accent-color:#285be7}.selection-preview-footer>span:last-child{white-space:normal}.selection-preview-wrap [data-preview]{width:100%}
@media(max-width:600px){.selection-workspace .app-preview-stage{padding:12px}.selection-edit-actions{margin-left:0;flex:1;justify-content:center}.selection-workspace .app-preview-toolbar{padding:12px}.selection-workspace .app-preview-toolbar>.selection-segment{flex:1}.selection-edit-actions button{padding:9px 8px}.selection-drag-handle{width:36px;height:36px}.selection-workspace .selection-inline-input{outline-offset:2px}}
