.gallery-editor{background:#f7f7f8!important}body.gallery-editor>header{height:63px!important;position:sticky!important;top:0;z-index:20;padding:10px 12px!important;border-bottom:1px solid #eae9ed!important;background:#f8f8faed!important;gap:8px!important}.gallery-brand{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.gallery-brand b{font-size:13px;color:#38333d}.gallery-brand small{font-size:7px!important;letter-spacing:1px;background:none!important;padding:0!important;margin:0!important;color:#ad929e!important}#galleryResolution{font:500 10px Inter,system-ui;width:83px;min-height:32px;padding:4px;border:0;background:#efedf1;border-radius:16px;color:#6f626f}#gallerySave{font:600 11px Inter,system-ui;color:white;background:#c53050;border:0;border-radius:17px;min-height:34px;padding:8px 14px}.gallery-editor>main{max-width:720px!important;padding:14px 12px 30px!important}.gallery-editor .intro{margin-bottom:14px}.gallery-editor .drop{padding:19px 12px}.gallery-editor .card{padding:12px!important;border-radius:18px!important;background:#fff!important}.gallery-stage{display:none}.has-photo .gallery-stage{display:block}.has-photo .intro{display:none}.has-photo .drop{padding:8px 12px;margin-bottom:8px;border:0;background:#faf6f8}.has-photo .drop strong{font-size:11px}.has-photo .drop span{display:none}#photoWork.hidden{display:none!important}.gallery-editor #photoWork{display:flex;flex-direction:column}.gallery-editor .canvas-wrap{padding:0;border:0;min-height:100px;max-height:42vh!important;margin:0;background:repeating-conic-gradient(#e8e7ec 0% 25%,#fff 0% 50%) 50%/14px 14px;border-radius:10px}.gallery-editor #photoCanvas{max-width:100%;width:auto;height:auto;max-height:42vh!important}.gallery-stage-actions{display:flex;align-items:center;justify-content:space-between;padding:10px 0 4px;gap:10px}.gallery-stage-actions button{background:none;border:0;color:#93828f;font:500 11px Inter,system-ui;padding:5px 8px}.gallery-stage-actions span{font-size:8px;color:#c0b3be}.gallery-editor #photoStatus{margin:3px 0 8px;min-height:14px;font:10px/1.5 Inter,system-ui;color:#9c7387}.gallery-controls{min-height:168px}.gallery-pane{padding:5px 0 8px}.gallery-pane[hidden]{display:none!important}.gallery-tabs{position:sticky;bottom:0;background:#fff;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;border-top:1px solid #f0e9ee;padding:10px 0 2px;z-index:10}.gallery-tabs button{font:500 9px Inter,system-ui;padding:0 2px;background:none;border:0;color:#a69aa6;min-height:43px;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}.gallery-tabs button>span{font-size:20px;line-height:22px;color:#a39aa8}.gallery-tabs button.active,.gallery-tabs button.active>span{color:#bd3455}.gallery-editor .filter-list{padding:2px 2px 7px;gap:8px}.gallery-editor .filter-list canvas{height:60px;object-fit:contain}.gallery-editor .filter-list button{flex-basis:58px;font-size:8px}.gallery-editor .filter-list button canvas{width:56px}.gallery-slider{display:flex;gap:12px;align-items:center;font:10px Inter,system-ui;color:#a28799;margin:7px 0}.gallery-slider input{width:auto;flex:1;min-width:0;accent-color:#bd3455}.gallery-pane .smart-note{font-size:9px;line-height:1.6;margin:7px 0;color:#aa98a6}.gallery-transform{display:flex;gap:8px;margin-top:10px}.gallery-transform button,.gallery-editor #galleryReset{border:1px solid #eadce5;border-radius:9px;padding:10px 14px;background:#fbf4f8;color:#a4597a;font:500 11px Inter,system-ui}.gallery-editor #cropPresets{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.gallery-editor #cropPresets button{flex:none;font-size:10px}.gallery-editor .smart-adjust{display:block}.gallery-editor .smart-adjust label{display:flex;align-items:center;gap:14px;margin:12px 0;font-size:11px}.gallery-editor .smart-adjust input{flex:1;width:auto;min-width:0}.gallery-editor #photoTools{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}.gallery-editor .tool{font-size:10px;min-height:32px;padding:5px 8px}.gallery-editor .ai-action{font-size:11px;min-height:42px}.gallery-editor #galleryReset{width:100%;margin-top:8px}.gallery-editor #photoSave{margin-top:10px}.gallery-editor #photoFormat{font-size:12px;max-width:100%}.gallery-editor .two{gap:8px}.gallery-editor .field{font-size:10px}.gallery-editor #photoReset{font-size:10px}.gallery-editor #toolHint{font-size:10px}.gallery-editor #blurNote{font-size:9px}@media(max-width:350px){.gallery-brand b{font-size:11px}#galleryResolution{width:72px;font-size:9px}#gallerySave{padding:7px 10px}.gallery-tabs button{font-size:8px}.gallery-editor .card{padding:10px!important}}

.has-photo .drop{display:none}.has-photo.gallery-editor>main{padding:8px 10px 12px!important}.has-photo.gallery-editor .card{padding:10px!important;border:0!important;border-radius:0!important;background:transparent!important}.has-photo.gallery-editor .gallery-tabs{background:#f7f7f8}.gallery-brand b{font-size:12px}#galleryResolution{width:90px;font-size:10px}#galleryChange{border:0;background:#f0edf2;color:#9f8798;border-radius:50%;width:29px;height:29px;padding:0;font-size:18px;flex-shrink:0}.has-photo.gallery-editor .canvas-wrap,.has-photo.gallery-editor #photoCanvas{max-height:47vh!important}#gallerySave{padding:7px 11px}@media(max-width:350px){#galleryResolution{width:75px;font-size:9px}.gallery-brand b{font-size:10px}.gallery-brand small{font-size:6px!important}body.gallery-editor>header{gap:5px!important}#gallerySave{font-size:10px;padding:6px 10px}}
/* Preview revision 3: quiet Gallery layout, clearer touch controls. */
.gallery-editor{--accent:#c52d4a;--ink:#292630;--muted:#726977;background:#f5f5f8!important;color:var(--ink)}
body.gallery-editor>header{height:68px!important;background:#ffffff!important;border-bottom:1px solid #e9e7ed!important;padding:10px 14px!important;gap:9px!important}
.gallery-brand b{font-size:14px;letter-spacing:-.25px}.gallery-brand small{font-size:8px!important;letter-spacing:1.1px;color:#857c8b!important}
.gallery-editor>header>a{background:#f5f4f7!important;border:1px solid #eae8ef!important;border-radius:13px!important;width:32px!important;height:36px!important;font-size:26px!important;display:grid;place-items:center;flex-shrink:0;color:#544b5b!important}
#galleryResolution{width:76px;min-height:36px;background:#f5f4f7;border:1px solid #eae8ef;border-radius:11px;color:#4d4354;font-size:11px}
#galleryChange{width:32px;height:36px;background:#f5f4f7;border:1px solid #eae8ef;border-radius:11px;color:#6e5b71;font-size:22px}
#gallerySave{min-height:36px;border-radius:11px;padding:8px 14px;background:var(--accent);box-shadow:0 3px 7px #c52d4a20;font-size:12px}
.gallery-editor .intro{padding:24px 8px 14px}.gallery-editor .intro .eyebrow{color:var(--accent);font-size:10px;letter-spacing:1.6px}.gallery-editor .intro h2{font-size:38px;line-height:1.1;letter-spacing:-1.8px;margin:14px 0}.gallery-editor .intro p{font-size:13px;line-height:1.65;color:var(--muted)}
.gallery-editor .drop{border:1px dashed #d1c4cf!important;background:#fff8fa!important;border-radius:18px;padding:32px 16px!important}.gallery-editor .drop strong{font-size:15px;color:#43313f}.gallery-editor .drop span{font-size:11px;color:#8a7385}
.has-photo.gallery-editor>main{padding:14px 10px 8px!important}.has-photo.gallery-editor .card{padding:0!important}.has-photo.gallery-editor .canvas-wrap{border-radius:16px;box-shadow:0 5px 18px #24202c0b;max-height:45vh!important}.has-photo.gallery-editor #photoCanvas{max-height:45vh!important}
.gallery-stage-actions{padding:12px 3px 4px;gap:6px}.gallery-stage-actions button{font-size:12px;color:#65596c;background:#fff;border:1px solid #e8e3eb;border-radius:20px;min-height:34px;padding:6px 13px}.gallery-stage-actions span{font-size:9px;color:#8d8194}.gallery-editor #photoStatus{font-size:11px;line-height:1.5;color:#76647a;margin:7px 8px 12px;min-height:17px}
.gallery-controls{background:#fff;border:1px solid #ebe7ee;border-radius:20px 20px 0 0;padding:12px 12px 2px;min-height:183px}.gallery-pane{padding:4px 0 9px}.gallery-panel-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;font-size:13px;font-weight:650;letter-spacing:-.1px;color:#423649}.gallery-panel-heading small{font-size:9px;font-weight:500;color:#a594a6;letter-spacing:1.2px}
.gallery-editor .filter-list{gap:10px;padding:1px 1px 10px}.gallery-editor .filter-list button{flex-basis:62px;font-size:10px;color:#66556e;gap:5px}.gallery-editor .filter-list canvas{width:60px!important;height:66px!important;border-radius:10px;object-fit:cover}.gallery-slider{font-size:11px;gap:14px;color:#6e5d76;margin:9px 0}.gallery-slider input{accent-color:var(--accent);min-height:24px}.gallery-pane .smart-note{font-size:10px;line-height:1.65;color:#86778d;margin:9px 0}
.has-photo.gallery-editor .gallery-tabs{background:#fff;border:1px solid #ebe7ee;border-top:1px solid #f0ecf3;border-radius:0 0 20px 20px;padding:10px 4px 8px;gap:2px}.gallery-tabs button{font-size:10px;min-height:52px;color:#8a7d92;border-radius:12px;gap:6px;padding:6px 0}.gallery-tabs button>span{height:23px;line-height:23px;display:block}.gallery-tabs svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.gallery-tabs button.active{background:#fcf0f3;color:var(--accent)}.gallery-tabs button.active>span{color:var(--accent)}
.gallery-editor #cropPresets button{font-size:11px;min-height:35px;border-radius:10px}.gallery-transform button,.gallery-editor #galleryReset{font-size:11px;background:#faf7fb;border-color:#e9e0ed;color:#705078;border-radius:11px;min-height:38px}.gallery-editor .smart-adjust label{font-size:12px;margin:16px 0;color:#75647e}.gallery-editor .tool{font-size:11px;min-height:36px;border-radius:10px}.gallery-editor .ai-action{font-size:12px;min-height:44px;border-radius:12px}.gallery-editor #photoSave{border-radius:12px;font-size:13px}.gallery-editor #photoFormat{border-radius:10px}.gallery-editor .field{font-size:11px}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #c52d4a;outline-offset:3px}
@media(min-width:600px){.has-photo.gallery-editor>main{padding-top:24px!important}.gallery-controls{padding:18px 24px 8px}.gallery-editor .filter-list button{flex-basis:70px}.gallery-editor .filter-list canvas{width:68px!important;height:76px!important}}
@media(max-width:350px){body.gallery-editor>header{padding:8px!important;gap:6px!important}.gallery-brand b{font-size:12px}.gallery-brand small{font-size:6px!important}#galleryResolution{width:61px;font-size:10px}#gallerySave{font-size:11px;padding:8px 10px}.gallery-tabs button{font-size:9px}.gallery-stage-actions span{font-size:8px}.gallery-controls{padding:10px 9px 2px}.gallery-editor .intro h2{font-size:34px}}
/* Match owner's recorded Gallery: flat pale workspace, yellow selected tools. */
.gallery-editor{--accent:#c49b00;background:#f6f6f6!important}body.gallery-editor>header{background:#f6f6f6!important;border-bottom:0!important}.gallery-brand small{color:#9b949d!important}#gallerySave{background:#e3b500;color:#fff;border-radius:20px;box-shadow:none}#galleryResolution{border:0;background:#ededed;border-radius:20px}#galleryChange{border:0;background:#ededed;border-radius:50%}.gallery-editor>header>a{border:0!important;background:#ededed!important;border-radius:50%!important}.has-photo.gallery-editor .canvas-wrap{border-radius:2px;box-shadow:none}.gallery-stage-actions button{background:none;border:0;border-radius:0;color:#746f78;padding:5px 8px}.gallery-controls{background:transparent;border:0;border-radius:0;padding:7px 2px 2px}.gallery-panel-heading{font-size:11px;font-weight:500;color:#665f68;margin-bottom:10px}.gallery-panel-heading small{font-size:8px;color:#aaa4ad}.has-photo.gallery-editor .gallery-tabs{background:#f6f6f6;border:0;border-top:1px solid #e9e6e8;border-radius:0;padding:9px 0 6px}.gallery-tabs button{border-radius:0}.gallery-tabs button.active{background:none;color:#bc9800}.gallery-tabs button.active>span{color:#bc9800}.gallery-editor .filter-list canvas{border-radius:5px}.gallery-editor .filter-list button{font-size:9px}.gallery-editor .filter-list button.active,.gallery-editor .filter-list button.on{border-color:#d8b117!important;background:#fffdf5!important}.gallery-slider input{accent-color:#d4ab00}.gallery-transform button,.gallery-editor #galleryReset{background:#ededed;border:0;color:#69616c;border-radius:6px}.gallery-editor .drop{background:#fffef7!important;border-color:#d8cfad!important}.gallery-editor .intro .eyebrow{color:#978013}.gallery-editor #cropPresets button{border-radius:5px}.gallery-editor #cropPresets button.on{border-color:#d4ab00!important;background:#fffdf5!important;color:#9d7e00!important}.gallery-editor .ai-action{background:#eeeae1;color:#695831;border:1px solid #e1d8be}.gallery-editor input[type=range]{accent-color:#d4ab00}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline-color:#b18d00}
.gallery-editor .filter-list button.selected{border-color:#d5ad00!important;background:#fffdf4!important;color:#9c7d00!important}.gallery-editor .smart-adjust input,.gallery-editor .gallery-slider input{accent-color:#d4ab00!important}.gallery-editor input[type=range]::-webkit-slider-thumb{background:#d4ab00!important}.gallery-editor input[type=range]::-webkit-slider-runnable-track{background:#e4dfd3!important}.gallery-editor #galleryResolution{width:78px;padding:4px 7px;font-size:10px}.gallery-editor .filter-list button[aria-pressed=true]{border-color:#d5ad00!important;background:#fffdf4!important}.gallery-editor #cropPresets button{background:#ececec;color:#706a72;border:1px solid transparent}.gallery-editor #cropPresets button.active{border-color:#d5ad00!important;background:#fffdf4!important;color:#9c7d00!important}
.gallery-editor .filter-list button.selected{box-shadow:0 0 0 1px #d5ad00!important}.gallery-editor .intro{background:transparent!important;border:0!important;border-radius:0!important}.gallery-editor .intro:after{display:none!important}.gallery-editor .intro h2{font-size:36px!important;line-height:1.13!important;color:#383139!important}.gallery-editor #galleryResolution{width:86px!important;font-size:11px!important}@media(max-width:350px){.gallery-editor #galleryResolution{width:66px!important;font-size:9px!important}}
.gallery-editor .gallery-slider input,.gallery-editor .smart-adjust input{appearance:none;-webkit-appearance:none;height:4px;min-height:4px;border:0;border-radius:3px;padding:0;background:#e3dfd5;cursor:pointer}.gallery-editor .gallery-slider input::-webkit-slider-runnable-track,.gallery-editor .smart-adjust input::-webkit-slider-runnable-track{height:4px;border-radius:3px}.gallery-editor .gallery-slider input::-webkit-slider-thumb,.gallery-editor .smart-adjust input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:14px;height:14px;border:2px solid #fff;border-radius:50%;background:#d4ab00;box-shadow:0 0 0 1px #c6a32c;margin-top:-5px}
body.gallery-editor:has(#photoWork.hidden) #galleryResolution,body.gallery-editor:has(#photoWork.hidden) #galleryChange,body.gallery-editor:has(#photoWork.hidden) #gallerySave{display:none!important}
