:root{--red:#d72e30;--ink:#1c1c1d;--muted:#85838a;--line:#e9e8e6;--surface:#f7f6f4}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}.app{display:flex;min-height:100vh}.rail{position:sticky;top:0;height:100vh;width:80px;flex:none;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;padding:32px 0;background:white;z-index:5}.brandmark{font-family:Manrope;font-size:30px;letter-spacing:-2px;font-weight:800}.brandmark span,.brand span,.red-dot{color:var(--red)}.rail-links{margin-top:85px;display:grid;gap:14px}.rail-btn{width:43px;height:43px;background:none;border:0;color:#9b9999;border-radius:10px;font-size:23px}.rail-btn.active{color:var(--red);background:#fdf0f0}.rail-bottom{margin-top:auto;font-size:10px;color:#aaa;letter-spacing:2px}.main{min-width:0;flex:1}.topbar{height:94px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(28px,5vw,86px)}.brand{font:800 27px Manrope;letter-spacing:-1.8px}.brand>span{color:var(--red)}.brand small{font-size:10px;letter-spacing:2.6px;color:#bbb;font-weight:700;margin-left:15px}.top-actions{display:flex;align-items:center;gap:22px}.local{color:#8f8b8b;letter-spacing:1.8px;font-size:10px;font-weight:700}.local i{display:inline-block;background:#4eaf7e;width:7px;height:7px;border-radius:50%;margin-right:7px}.btn{border:0;border-radius:6px;padding:13px 20px;font-size:12px;font-weight:700;transition:all .2s;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn.ghost{background:transparent;border:1px solid var(--line);color:#454144}.btn.dark{background:#1b1a1c;color:#fff;padding:16px 24px}.btn.red{background:var(--red);color:#fff;padding:15px 23px;box-shadow:0 8px 22px #d72e3025}.btn.red:hover{background:#b92126}.btn.outline{background:#fff;color:#222;border:1px solid #d9d7d4}.btn:disabled{opacity:.4;cursor:not-allowed;transform:none}main{max-width:1600px;margin:auto;padding:0 clamp(28px,5vw,86px)}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:492px;border-bottom:1px solid var(--line);gap:55px;align-items:center;padding:46px 0 55px}.hero-text{padding-right:20px}.eyebrow,.section-overline{font-size:10px;letter-spacing:2.6px;font-weight:800;color:#b4b0ad}.eyebrow{color:#5a5557;display:flex;align-items:center;gap:12px}.redline{width:22px;height:2px;background:var(--red)}.eyebrow-number{color:#c1bec0;margin-left:7px}.hero h1{font:800 clamp(46px,5.4vw,83px)/1.075 Manrope;letter-spacing:-5px;margin:27px 0 20px}.hero h1 em{font-style:normal;color:var(--red)}.hero p{color:#77747a;line-height:1.9;max-width:510px;font-size:14px}.hero-buttons{display:flex;align-items:center;gap:20px;margin-top:32px}.hint{color:#aaa;font-size:11px}.hero-visual{position:relative;height:380px;overflow:hidden;background:#e7e0d7;border-radius:3px}.hero-visual img{width:100%;height:100%;object-fit:cover}.visual-label{position:absolute;bottom:0;left:0;background:white;padding:20px 23px;letter-spacing:1.6px;font-size:9px;font-weight:800}.visual-label b{margin-left:22px;color:var(--red);font-size:18px}.visual-count{position:absolute;right:15px;top:16px;background:#ffffffdd;color:#444;padding:9px 12px;font-size:10px;letter-spacing:1px}.workspace,.results{padding-top:61px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:29px}.section-head h2,.modal h2{font:800 clamp(25px,2.5vw,36px) Manrope;letter-spacing:-1.4px;margin:10px 0 0}.head-caption{color:#a29fa0;font-size:12px}.editor-grid{display:grid;grid-template-columns: minmax(310px,.9fr) minmax(370px,1.1fr);gap:22px}.editor-left{display:flex;flex-direction:column;gap:12px}.panel{border:1px solid var(--line);border-radius:8px}.upload{min-height:300px;padding:31px 22px 28px;text-align:center;background:radial-gradient(circle at 50% 30%,#fff 30%,#fbfaf9 100%);border:1.5px dashed #d5d0ce;transition:.2s}.upload.dragover{background:#fff4f4;border-color:var(--red)}.upload-icon{width:51px;height:51px;border:1px solid #dedbd9;background:white;border-radius:13px;margin:0 auto 18px;display:grid;place-items:center;font-size:29px;color:var(--red)}.upload h3,.prompt-card h3{font:800 19px Manrope;letter-spacing:-.6px;margin:0}.upload p{line-height:1.7;color:#a5a1a0;max-width:310px;margin:10px auto 19px;font-size:12px}.formats{margin-top:22px;color:#b0acad;font-size:10px;letter-spacing:1.7px;font-weight:700}.formats span{color:var(--red);margin:0 8px}.settings-strip{border:1px solid var(--line);padding:14px 17px;border-radius:7px;display:flex;align-items:center;justify-content:space-between;gap:15px}.settings-strip>div{display:flex;gap:14px;align-items:center}.setting-icon{display:grid;place-items:center;font-size:18px;width:34px;height:34px;background:#f5f3f1;border-radius:5px;color:var(--red)}.settings-strip b{display:block;font-size:12px}.settings-strip small{display:block;color:#a5a2a1;font-size:10px;margin-top:4px}.settings-strip select,.model-input{max-width:190px;min-width:110px;background:#faf9f8;border:1px solid #eee;border-radius:5px;padding:11px 9px;font-size:11px;color:#4a4747}.prompt-card{border:1px solid var(--line);border-radius:8px;padding:26px 28px;display:flex;flex-direction:column}.prompt-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:800;letter-spacing:1.4px;color:#555}.prompt-icon{font-size:18px;color:var(--red);margin-right:9px}.text-btn{border:0;background:transparent;color:var(--red);font-size:11px;font-weight:700;letter-spacing:0}.prompt-card h3{margin-top:26px}.prompt-card>p{color:#999;font-size:12px;line-height:1.65;margin:8px 0 16px}.prompt-card textarea{width:100%;resize:vertical;flex:1;min-height:215px;border:1px solid #eceae8;background:#faf9f8;color:#5a5655;line-height:1.7;padding:16px;outline:none;font-size:11.5px;border-radius:5px}.prompt-card textarea:focus{border-color:#e4a0a0}.prompt-footer{display:flex;justify-content:space-between;gap:10px;color:#aaa;font-size:10px;margin-top:17px}.red-mini{color:var(--red)}.action-row{margin-top:23px;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);padding:17px 19px;border-radius:7px}.action-row strong{font:800 24px Manrope}.action-row>div:first-child{font-size:12px;color:#777}.action-row>div:last-child{display:flex;gap:10px}.divider-dot{margin:0 10px;color:#ddd}.results{padding-top:67px;padding-bottom:110px}.results-top{display:flex;justify-content:space-between;color:#a4a1a1;font-size:11px;margin-bottom:16px}.results-top p{margin:0}.global-progress{height:3px;background:#f2eded;overflow:hidden;margin-bottom:24px}.global-progress>div{height:100%;background:var(--red);width:0;transition:width .5s}.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.empty{grid-column:1/-1;background:#fcfbfa;border:1px dashed #e6e1df;text-align:center;padding:74px 20px}.empty span{font-size:43px;color:var(--red)}.empty h3{font:800 20px Manrope;margin:12px 0}.empty p{color:#999}.image-card{border:1px solid #e9e6e5;border-radius:7px;overflow:hidden;min-width:0;background:#fff}.compare{height:330px;position:relative;background:#eee;overflow:hidden;--split:50%}.compare img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#e9e6e2}.compare .enhanced{clip-path:inset(0 0 0 var(--split))}.compare .split-line{position:absolute;top:0;bottom:0;left:var(--split);width:2px;background:white;box-shadow:0 0 8px #0008;pointer-events:none}.split-knob{position:absolute;top:50%;left:var(--split);transform:translate(-50%,-50%);width:38px;height:38px;background:#fff;border-radius:50%;display:grid;place-items:center;box-shadow:0 2px 16px #0004;font-size:12px;pointer-events:none}.compare input[type=range]{position:absolute;inset:0;opacity:0;cursor:ew-resize;width:100%;height:100%;margin:0}.before-label,.after-label{position:absolute;top:14px;font-size:10px;letter-spacing:1px;background:#ffffffea;color:#222;padding:7px 10px;border-radius:3px;pointer-events:none}.before-label{left:13px}.after-label{right:13px}.preview-only{height:330px;display:grid;place-items:center;position:relative;background:#e9e6e2}.preview-only>img{width:100%;height:100%;object-fit:contain}.processing-shade{position:absolute;inset:0;background:#19191965;color:white;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px;font-weight:700;letter-spacing:.5px;font-size:12px;backdrop-filter:blur(2px)}.spinner{width:34px;height:34px;border-radius:50%;border:2px solid #ffffff55;border-top-color:white;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.card-bottom{padding:17px 19px}.card-title{display:flex;align-items:center;justify-content:space-between;gap:14px}.card-title b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status{font-size:10px;font-weight:800;color:#999}.status.done{color:#32845a}.status.failed{color:var(--red)}.card-detail{display:flex;justify-content:space-between;align-items:center;margin-top:13px;color:#a29e9e;font-size:11px;gap:10px}.card-detail button{border:0;background:transparent;font-size:11px;color:var(--red);font-weight:800}.micro-progress{height:3px;background:#eee;margin-top:13px;border-radius:9px;overflow:hidden}.micro-progress>div{height:100%;width:0;background:var(--red);transition:width .4s}footer{border-top:1px solid var(--line);padding:25px clamp(28px,5vw,86px);display:flex;justify-content:space-between;color:#aaa;font-size:11px}footer>div:first-child{font:800 16px Manrope;color:#222}footer span{color:var(--red)}footer small{font:600 9px 'DM Sans';color:#aaa;letter-spacing:1px;margin-left:14px}.modal-wrap{position:fixed;inset:0;z-index:30;display:none}.modal-wrap.open{display:block}.modal-backdrop{position:absolute;inset:0;background:#15131385;backdrop-filter:blur(4px)}.modal{position:absolute;right:0;top:0;bottom:0;width:min(460px,100%);overflow:auto;background:white;padding:38px;box-shadow:-10px 0 70px #0002}.modal-header{display:flex;justify-content:space-between}.close{font-size:32px;border:0;background:none;color:#999;cursor:pointer}.modal>p{color:#8f8888;line-height:1.8;margin:25px 0}.field-label{display:block;font-size:10px;letter-spacing:1.8px;font-weight:800;color:#555;margin:27px 0 10px}.modal select,.modal input[type=password],.modal input[type=text]{width:100%;height:46px;padding:0 13px;border:1px solid #ddd;border-radius:5px;background:#fafafa;outline:0}.key-row{display:flex;gap:8px;flex-wrap:wrap}.key-row input{flex:1;min-width:140px}.test-status{margin:10px 0 0;font-size:11px;color:#6a6666;min-height:16px}.test-status.ok{color:#32845a}.test-status.fail{color:var(--red)}.model-catalog{max-height:240px;overflow:auto;border:1px solid var(--line);border-radius:6px;margin-top:8px;background:#faf9f8}.model-pick{display:flex;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid #f1eeec;font-size:12px}.model-pick:last-child{border-bottom:0}.model-pick label{display:flex;align-items:center;gap:8px;flex:1;min-width:0;cursor:pointer}.model-pick code{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-pick .def{flex:none;font-size:9px;letter-spacing:1px;font-weight:800;color:#9a9696;border:1px solid #ece9e7;background:#fff;border-radius:4px;padding:7px 10px;min-height:32px;cursor:pointer;position:relative;z-index:1}.model-pick .def.on{color:var(--red);border-color:var(--red);background:#fff6f6}.model-catalog .empty-cat{padding:16px 12px;color:#9a9696;font-size:11px}.check{display:flex;align-items:center;gap:8px;margin-top:21px;color:#666;font-size:12px}.check input{accent-color:var(--red)}.warning{font-size:11px;color:#9b8a80;background:#fcf8f4;border:1px solid #f0e7dc;padding:13px;line-height:1.6;margin-top:18px}.modal-save{width:100%;margin-top:20px}.erase{display:block;margin:25px auto}@media(max-width:1050px){.hero{gap:25px}.hero h1{letter-spacing:-3px}.editor-grid{grid-template-columns:1fr}.prompt-card textarea{min-height:210px}.hero-visual{height:330px}}@media(max-width:710px){.rail{display:none}.topbar{padding:0 20px;height:72px}.local{display:none}main{padding:0 20px}.hero{display:flex;flex-direction:column-reverse;align-items:stretch;gap:25px;padding:25px 0 45px}.hero-visual{height:260px}.hero h1{font-size:54px}.hero-text{padding:0}.hero-buttons{flex-wrap:wrap}.workspace,.results{padding-top:44px}.section-head{gap:15px;align-items:start}.section-head h2{font-size:25px}.head-caption{display:none}.gallery{grid-template-columns:1fr}.action-row{align-items:stretch;flex-direction:column;gap:15px}.action-row>div:last-child{justify-content:space-between}.action-row .btn{flex:1;padding:13px 8px}.results-top{gap:15px}.compare,.preview-only{height:280px}footer{padding:25px 20px;gap:10px;flex-wrap:wrap}.brand small{display:none}}

.project-switch{display:flex;gap:7px;align-items:center}.project-switch select{max-width:190px;border:1px solid var(--line);background:white;border-radius:6px;padding:11px 9px;font-size:11px;color:#383535}.project-switch .btn{padding:11px 12px}.strict-callout{display:flex;flex-direction:column;gap:6px;border:1px solid #f0d6d6;background:#fffafa;border-radius:7px;padding:12px 15px;margin-top:13px;color:#736868;font-size:11px;line-height:1.6}.strict-callout b{color:var(--red);font-size:10px;letter-spacing:1px}.gallery .preview-only img{object-fit:contain}
.preview-only{cursor:pointer}
.preview-only::after{content:'';position:absolute;inset:0;background:#19191900;transition:background .2s;pointer-events:none}
.preview-only:hover::after{background:#19191922}
.preview-edit{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);z-index:1;background:#ffffffea;color:var(--red);font-size:10px;font-weight:800;letter-spacing:1px;padding:8px 12px;border-radius:3px;pointer-events:none}
.preview-only .processing-shade{z-index:2}@media(max-width:1050px){.topbar{height:auto;min-height:94px;gap:15px}.top-actions{flex-wrap:wrap;justify-content:end;padding:12px 0}}@media(max-width:710px){.topbar{align-items:start;flex-direction:column;padding:17px 20px}.top-actions{justify-content:start;width:100%}.project-switch{flex-wrap:wrap}.project-switch select{max-width:180px}.project-switch .btn{padding:9px;font-size:10px}}

body.locked .app{visibility:hidden;pointer-events:none}
.gate{position:fixed;inset:0;z-index:80;background:#fff;display:grid;place-items:center;padding:32px}
body:not(.locked) .gate{display:none}
.gate-card{width:min(440px,100%);text-align:left}
.gate-card h1{font:800 clamp(36px,5vw,52px)/1.1 Manrope;letter-spacing:-2.4px;margin:18px 0 12px}
.gate-card>p,#gateCopy{color:#77747a;line-height:1.8;font-size:14px;margin:0 0 28px}
.otp{display:flex;gap:12px;margin:0 0 8px}
.otp input{width:64px;height:72px;text-align:center;font:800 28px Manrope;letter-spacing:0;border:1px solid #e4e1de;border-radius:8px;background:#faf9f8;color:var(--ink);caret-color:var(--red)}
.otp input:focus{outline:none;border-color:var(--red);background:#fff;box-shadow:0 0 0 3px #d72e3018}
.gate-error{min-height:18px;margin:14px 0 0;color:var(--red);font-size:12px;font-weight:600}
.gate .btn.red{width:100%;margin-top:18px}
.gate .check{margin-top:22px}

a.rail-btn{display:grid;place-items:center;text-decoration:none;color:#9b9999}
.filmstrip-wrap{border:1px solid var(--line);border-radius:8px;padding:12px 14px}
.filmstrip-head{display:flex;justify-content:space-between;align-items:center;font-size:11px;letter-spacing:1.2px;font-weight:800;color:#6a6666;margin-bottom:10px}
.filmstrip{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.thumb{position:relative;flex:none;width:72px;height:72px;border-radius:6px;overflow:hidden;border:1px solid #ece9e7;background:#eee;cursor:pointer}
.thumb.on{outline:2px solid var(--red)}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb button{position:absolute;top:2px;right:2px;width:18px;height:18px;border:0;border-radius:50%;background:#1c1c1dcc;color:#fff;font-size:12px;line-height:18px;padding:0;z-index:1}
.thumb-edit{position:absolute;left:2px;top:2px;width:18px;height:18px;border-radius:50%;background:#1c1c1dcc;color:#fff;font-size:11px;line-height:18px;text-align:center;pointer-events:none}
.template-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}
.tpl{text-align:left;border:1px solid var(--line);background:#faf9f8;border-radius:7px;padding:10px 12px;cursor:pointer}
.tpl b{display:block;font-size:11px;font-weight:800;color:#2c2a2a}
.tpl small{display:block;margin-top:4px;color:#5c5858;font-size:11px;line-height:1.4}
.tpl.active{border-color:var(--red);background:#fff6f6}
.tpl.active b{color:var(--red)}
.card-title{flex-wrap:wrap}
.pick{display:flex;align-items:center;gap:6px;flex:none}
.pick input{accent-color:var(--red)}
.name-input{flex:1;min-width:0;border:1px solid transparent;background:transparent;font-size:12px;font-weight:700;padding:4px 6px;border-radius:4px}
.name-input:focus{border-color:#e4a0a0;background:#faf9f8;outline:0}
.card-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:end}
.version-row{display:flex;gap:8px;overflow-x:auto;margin-top:12px;padding-top:12px;border-top:1px solid #f1eeec}
.ver-wrap{position:relative;flex:none}
.ver{display:flex;flex-direction:column;gap:3px;border:1px solid #ece9e7;background:#faf9f8;border-radius:6px;padding:4px 4px 6px;min-width:78px;color:#555;text-align:left}
.ver.on{border-color:var(--red);background:#fff6f6;color:var(--red)}
.ver img{width:70px;height:46px;object-fit:cover;border-radius:3px;background:#eee;display:block}
.ver span{font-size:9px;font-weight:800;letter-spacing:.2px;max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ver small{font-size:9px;color:#9a9696;font-weight:600}
.ver.on small{color:var(--red)}
.ver-del{position:absolute;top:2px;right:2px;width:16px;height:16px;border:0;border-radius:50%;background:#1c1c1dcc;color:#fff;font-size:10px;line-height:16px;padding:0}
.compare .processing-shade{z-index:2}
.gallery-more{grid-column:1/-1;display:block;text-align:center;padding:22px;border:1px dashed #e0d8d8;border-radius:8px;color:var(--red);font-weight:800;text-decoration:none;letter-spacing:.3px}
.gallery-more:hover{background:#fff6f6}
.meta-note{font-size:11px;color:#8f8888;line-height:1.6;margin:12px 0 0}
.usage-box{margin-top:28px;border-top:1px solid var(--line);padding-top:8px}
.usage-box p{margin:0 0 10px;color:#555;font-size:12px}
.usage-box ul{list-style:none;margin:0;padding:0}
.usage-box li{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#6a6666;padding:7px 0;border-bottom:1px solid #f1eeec}
.usage-box b{color:#2c2a2a}
.editor-modal{position:absolute;inset:24px;background:#111;border-radius:10px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 80px #0008}
.editor-bar{display:flex;align-items:center;gap:16px;padding:12px 16px;background:#1b1a1c;color:#fff;flex-wrap:wrap}
.editor-bar b{font:800 14px Manrope;letter-spacing:-.3px}
.editor-tabs{display:flex;gap:6px}
.editor-tabs button{border:0;background:#2a292c;color:#ccc;border-radius:5px;padding:7px 12px;font-size:11px;font-weight:700}
.editor-tabs button.active{background:#fff;color:#111}
.editor-tools{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}
.editor-tools button{border:0;background:#2f2d31;color:#f3f3f3;border-radius:5px;padding:8px 11px;font-size:11px;font-weight:700}
.editor-tools button:hover{background:#3d3b40}
.editor-tools button.on{background:#fff;color:#111}
.editor-tools button.editor-save{background:var(--red);color:#fff}
.editor-tools button.editor-save:hover{background:#c22729}
.editor-tools button:disabled{opacity:.38;cursor:not-allowed}
.editor-close{font-size:18px !important}
.editor-stage{flex:1;position:relative;display:grid;place-items:center;grid-template:1fr/1fr;background:#0c0c0d;overflow:hidden;min-height:0;touch-action:none}
.editor-stage canvas{grid-area:1/1;display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;min-width:0;min-height:0;justify-self:center;align-self:center}
#cropBox{position:absolute;border:2px solid #fff;box-shadow:0 0 0 9999px #0007;cursor:move;z-index:2;touch-action:none;box-sizing:border-box}
.crop-aspects{display:flex;gap:4px;padding:8px 14px 10px;background:#1b1a1c;overflow-x:auto;flex:none;align-items:stretch}
.crop-aspects[hidden]{display:none}
.crop-aspects button{flex:none;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:52px;border:0;background:transparent;color:#bdb8b8;padding:8px 10px;border-radius:6px;font-size:10px;font-weight:700;letter-spacing:.4px}
.crop-aspects button:hover{color:#fff;background:#2a292c}
.crop-aspects button.on{color:#111;background:#fff}
.aspect-icon{width:22px;height:16px;display:grid;place-items:center}
.aspect-icon i{border:1.5px solid currentColor;border-radius:2px;display:block}
.aspect-icon .a-free{width:18px;height:12px;border-style:dashed}
.aspect-icon .a-1-1{width:13px;height:13px}
.aspect-icon .a-16-9{width:20px;height:11px}
.aspect-icon .a-9-16{width:9px;height:16px}
.aspect-icon .a-4-3{width:18px;height:13px}
.aspect-icon .a-3-4{width:12px;height:16px}
.aspect-icon .a-4-5{width:11px;height:14px}
.aspect-icon .a-3-2{width:18px;height:12px}
#cropBox [data-h]{position:absolute;width:14px;height:14px;background:#fff;border:1px solid #111;z-index:3}
#cropBox [data-h="nw"]{left:-7px;top:-7px;cursor:nwse-resize}
#cropBox [data-h="ne"]{right:-7px;top:-7px;cursor:nesw-resize}
#cropBox [data-h="sw"]{left:-7px;bottom:-7px;cursor:nesw-resize}
#cropBox [data-h="se"]{right:-7px;bottom:-7px;cursor:nwse-resize}
#cropBox [data-h="n"]{left:50%;top:-7px;margin-left:-7px;cursor:ns-resize}
#cropBox [data-h="s"]{left:50%;bottom:-7px;margin-left:-7px;cursor:ns-resize}
#cropBox [data-h="w"]{left:-7px;top:50%;margin-top:-7px;cursor:ew-resize}
#cropBox [data-h="e"]{right:-7px;top:50%;margin-top:-7px;cursor:ew-resize}
.editor-hint{margin:0;padding:12px 18px;background:#1b1a1c;color:#bdb8b8;font-size:12px}
.settings-strip select{max-width:220px}
.head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
@media(max-width:710px){
  .template-row{grid-template-columns:1fr}
  .editor-modal{inset:0;border-radius:0}
  .card-actions{width:100%;justify-content:start}
  .crop-aspects{padding:8px 10px}
  .crop-aspects button{min-width:48px;padding:7px 8px}
}
