:root{--ink:#19202d;--body:#5f6877;--muted:#8c96a5;--line:#e9edf2;--soft:#f5f7fa;--blue:#365cf5;--white:#fff;--font:-apple-system,BlinkMacSystemFont,"Pretendard","Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);color:var(--ink);background:#fff;word-break:keep-all;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.drop-area:focus-visible{outline:3px solid #96b3ff;outline-offset:3px}input,select,textarea{color:#182233}.wide-container{width:min(1280px,calc(100% - 96px));margin:0 auto}.site-header{position:sticky;top:0;background:rgba(255,255,255,.91);backdrop-filter:blur(22px);z-index:20;border-bottom:1px solid #f0f2f6}.nav-wrap{width:min(1340px,calc(100% - 96px));height:78px;margin:auto;display:flex;align-items:center;gap:24px}.brand{font-size:26px;font-weight:800;letter-spacing:-1.5px;display:inline-flex;align-items:center;gap:9px;white-space:nowrap}.brand-icon{font-size:20px;color:#fff;background:#182336;width:38px;height:38px;display:inline-grid;place-items:center;border-radius:12px;letter-spacing:-1px}.brand-ko{font-size:10px;color:#aab2be;letter-spacing:0;align-self:flex-end;margin-bottom:5px;font-weight:500}.nav-wrap nav{display:flex;gap:34px;margin-left:auto;align-items:center;color:#596272;font-size:14px;font-weight:600}.nav-wrap nav a:hover,.footer-links a:hover{color:#3864fc}.btn{display:inline-flex;align-items:center;justify-content:center;gap:16px;border-radius:13px;border:1px solid transparent;font-size:14px;font-weight:700;padding:14px 22px;transition:transform .2s,box-shadow .2s;background:#fff;white-space:nowrap}.btn:hover{transform:translateY(-2px)}.btn-dark{background:#171f2e;color:#fff;box-shadow:0 12px 22px rgba(26,37,52,.16)}.btn-dark:hover{box-shadow:0 15px 28px rgba(26,37,52,.24)}.btn-small{padding:12px 19px;font-size:12px;border-radius:10px}.btn-large{padding:19px 24px;font-size:15px}.btn-outline{border-color:#e3e8ef;color:#242d3b}.btn-light{background:#fff;color:#15213a}.hero{padding-top:92px;padding-bottom:66px;display:grid;grid-template-columns:.93fr 1.12fr;align-items:center;gap:56px;min-height:690px}.eyebrow,.overline{display:inline-flex;align-items:center;gap:9px;color:#8390a5;font-size:11px;letter-spacing:1.8px;font-weight:800}.pulse-dot{width:7px;height:7px;background:#6d95ff;border-radius:100%;box-shadow:0 0 0 4px #eaf0ff}.hero-copy h1{font-size:clamp(38px,4.3vw,65px);letter-spacing:-3.9px;line-height:1.21;margin:25px 0 22px;font-weight:800}.hero-copy h1 span{color:#5067a0}.hero-copy>p{font-size:16px;color:#6c7788;line-height:1.95;max-width:470px;margin:0 0 28px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-points{margin-top:26px;display:flex;gap:18px;flex-wrap:wrap;color:#8992a2;font-size:12px}.hero-product{background:#fff;border:1px solid #e9ebf1;border-radius:20px;box-shadow:0 32px 85px rgba(31,52,90,.15),0 4px 18px rgba(38,50,66,.04);overflow:hidden;transform:perspective(1500px) rotateY(-4deg) rotateX(1deg);height:500px;min-width:0}.window-top{height:39px;background:#f8fafc;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #e9edf2;color:#858f9d;font-size:10px}.traffic{display:flex;gap:5px}.traffic i{width:8px;height:8px;border-radius:50%;background:#c7cbd2}.traffic i:first-child{background:#f0a2a0}.traffic i:nth-child(2){background:#f6d078}.traffic i:nth-child(3){background:#82d4a1}.mock-save{color:#69977b}.product-interior{display:grid;grid-template-columns:105px 1fr 1.1fr;height:461px}.mock-sidebar{background:#fbfcfe;border-right:1px solid #eff1f4;padding:23px 9px}.mock-menu{font-size:9px;white-space:nowrap;padding:10px 6px;border-radius:6px;color:#96a0ae;margin-bottom:7px;display:flex;align-items:center;gap:6px}.mock-menu.active{background:#e9f0ff;color:#335fd0;font-weight:750}.mock-main{padding:18px 15px;min-width:0}.mock-heading{font-weight:800;font-size:12px;display:flex;justify-content:space-between;gap:3px}.mock-heading span{font-size:9px;color:#81a38c}.mock-import{height:95px;margin:15px 0 9px;border:1px dashed #cfdbee;border-radius:10px;display:flex;justify-content:center;align-items:center;flex-direction:column;color:#6b93d5;font-size:26px;gap:3px}.mock-import small{font-size:9px;color:#99a4b4}.mock-photos{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;height:123px}.mock-photo{border-radius:5px}.art-one{background:linear-gradient(150deg,#a5c2d9 0 31%,#e6e5dc 31% 42%,#627f8c 42% 56%,#b0b0a0 56% 74%,#d3d6d3 74%)}.art-two{background:linear-gradient(30deg,#c1b8a1 0 25%,#cbd5d9 25% 43%,#64797f 43% 50%,#e8e4d9 50% 72%,#d9edf5 72%)}.art-three{background:linear-gradient(105deg,#b7c8bb 0 29%,#d8e0d0 29% 43%,#9bb2bf 43% 68%,#e8e4d7 68%)}.art-four{background:linear-gradient(170deg,#e6dacf 0 40%,#93a9b4 40% 60%,#e7ded1 60% 77%,#baa591 77%)}.mock-caption{font-size:10px;font-weight:800;margin-top:18px;display:flex;justify-content:space-between}.mock-caption small{font-size:8px;color:#a7b1bf}.mock-order{display:flex;gap:5px;margin-top:8px}.mock-order span{background:#eff3f8;color:#5e6d81;padding:6px 10px;border-radius:5px;font-size:9px}.mock-layout{display:flex;gap:5px;margin-top:7px}.mock-layout b{font-size:9px;flex:1;text-align:center;border:1px solid #e5e9ef;padding:7px 3px;border-radius:6px}.mock-layout b.chosen{color:#3760f5;border-color:#3760f5;background:#eff3ff}.mock-preview{background:#f4f6f9;min-width:0;padding:14px 15px 0;overflow:hidden}.preview-top{display:flex;justify-content:space-between;font-size:10px;font-weight:750;margin-bottom:12px}.preview-top span{font-size:9px;color:#8a94a3}.mock-sheet{background:#fff;margin:auto;padding:19px 20px;max-width:288px;min-height:480px;box-shadow:0 8px 18px #28395112}.mock-sheet>small{font-size:7px;letter-spacing:1px;color:#939faf}.mock-sheet h3{font-size:16px;margin:9px 0 8px}.sheet-rule{height:2px;background:#1e2b40;margin-bottom:12px}.sheet-info{display:grid;grid-template-columns:75px 1fr;gap:6px;border-top:1px solid #edf0f2;border-bottom:1px solid #edf0f2;padding:9px 0;font-size:8px}.sheet-info span{color:#8190a2}.sheet-info strong{font-weight:600}.mock-cover-photo{height:88px;margin-top:13px;border-radius:2px}.sheet-photo-cap{display:flex;flex-direction:column;gap:4px;margin-top:6px}.sheet-photo-cap b{font-size:9px}.sheet-photo-cap small{font-size:7px;color:#98a2af}.feature-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-bottom:50px}.feature-tile{background:#f8fafc;border:1px solid #f4f5f8;border-radius:19px;padding:27px 25px;min-height:205px}.feature-icon{height:42px;width:42px;border-radius:12px;background:#eef2f7;display:grid;place-items:center;font-size:21px;color:#415473}.feature-tile h3{font-size:15px;margin:23px 0 10px;letter-spacing:-.5px}.feature-tile p{color:#8a94a2;font-size:12px;line-height:1.7;margin:0}.section{padding-top:115px;padding-bottom:120px}.section-head h2{font-size:clamp(28px,3.2vw,44px);letter-spacing:-2px;line-height:1.26;margin:15px 0}.section-head p{color:#8791a2;font-size:14px;line-height:1.85}.section-head.centered{text-align:center}.step-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:50px}.step-card{background:#fff;border:1px solid #edf0f4;padding:34px;border-radius:20px;box-shadow:0 10px 35px #293f5a08;position:relative;min-height:235px}.step-card>span{font-size:12px;color:#9da8b9;font-weight:800}.step-glyph{font-size:34px;margin:20px 0;color:#5875a8}.step-card h3{font-size:20px;letter-spacing:-.8px;margin:0 0 12px}.step-card p{font-size:13px;line-height:1.7;color:#8290a3;margin:0}.template-section{background:#f8fafc}.section-head-inline{display:flex;justify-content:space-between;align-items:end;gap:25px}.template-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:48px}.template-card{border:1px solid #ecf0f4;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 30px rgba(32,49,71,.04)}.template-cover{height:320px;display:flex;justify-content:center;align-items:flex-end;padding-top:32px;overflow:hidden}.cover-work{background:#eaf0f7}.cover-activity{background:#eef4ec}.cover-product{background:#f3eeec}.template-paper{width:72%;height:292px;background:#fff;box-shadow:0 8px 25px #14213a17;padding:21px;display:flex;flex-direction:column;gap:8px}.template-paper>small{font-size:7px;letter-spacing:.8px;color:#93a1ad}.template-paper>strong{font-size:16px}.template-line{height:2px;background:#31435c}.template-visual{height:95px;border-radius:2px}.v-building{background:linear-gradient(135deg,#b5cbda 0 39%,#e0e2d6 40% 54%,#8098a2 54% 69%,#b8c0b1 70%)}.v-site{background:linear-gradient(125deg,#e4e6dd,#a4afb2 43%,#d6c8aa 44%,#768893)}.v-nature{background:linear-gradient(145deg,#cde0be,#91b494 40%,#d1c9a3 41%,#6d8c87)}.v-people{background:linear-gradient(135deg,#ece5d5 0 25%,#a7c2ae 25% 50%,#d1a99d 50% 72%,#e1d0b2 72%)}.v-product{background:radial-gradient(ellipse at center,#b9a593 0 20%,#e4dfd8 21% 55%,#d0c7c0 56%)}.v-detail{background:linear-gradient(135deg,#d4c3b6,#f5ede3,#abadae)}.template-info{padding:20px 22px 26px;position:relative}.template-info h3{margin:0 0 7px;font-size:17px}.template-info p{margin:0;color:#929cac;font-size:12px}.template-info>span{position:absolute;right:22px;top:20px;background:#f4f6fa;border-radius:50%;height:32px;width:32px;display:grid;place-items:center}.cta-area{margin-top:110px;margin-bottom:110px;background:linear-gradient(115deg,#1d2b42,#111b2c);color:#fff;border-radius:28px;padding:65px 72px;display:flex;align-items:center;justify-content:space-between;gap:20px}.cta-area>div>span{font-size:11px;letter-spacing:1.4px;color:#9caec6}.cta-area h2{font-size:clamp(30px,3.4vw,45px);line-height:1.3;letter-spacing:-1.8px;margin:18px 0}.cta-area p{font-size:13px;color:#c1cbd9}.site-footer{border-top:1px solid #edf0f4;padding:35px 0}.footer-line{display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-tag{margin-left:15px;font-size:11px;color:#a4abb7}.footer-links{display:flex;gap:22px;font-size:12px;color:#788393}.footer-line>small{color:#aab4bd;font-size:10px}
/* Editor */
.editor-page{background:#f6f8fb;min-height:100vh}.editor-header{height:76px;background:#fff;border-bottom:1px solid #e8edf3;display:flex;align-items:center;gap:18px;padding:0 30px;position:sticky;top:0;z-index:30}.editor-header-divider{width:1px;height:23px;background:#e1e7ee}.current-title{display:flex;gap:9px;align-items:center;color:#576479;font-size:13px;font-weight:600}.current-status{width:7px;height:7px;border-radius:50%;background:#54bb8a}.editor-actions{margin-left:auto;display:flex;align-items:center;gap:18px}.private-note{font-size:11px;color:#8494a8}.workspace{display:grid;grid-template-columns:minmax(325px,415px) minmax(0,1fr);min-height:calc(100vh - 76px)}.controls-pane{border-right:1px solid #e5ebf2;background:#fff}.controls-inner{padding:35px 30px 65px;max-height:calc(100vh - 76px);overflow:auto;scrollbar-width:thin}.pane-heading h1{font-size:27px;letter-spacing:-1.1px;margin:7px 0}.pane-heading p{font-size:12px;color:#919baa;margin:0 0 20px}.control-section{border-top:1px solid #eaf0f5;padding-top:25px;margin-top:26px}.section-label{display:flex;gap:10px;align-items:center;margin-bottom:20px}.section-number{background:#eaf0ff;color:#4670b1;font-size:11px;font-weight:800;border-radius:8px;padding:6px 9px}.section-label h2{font-size:15px;margin:0;display:flex;align-items:center;gap:12px;letter-spacing:-.4px}.section-label small{font-size:11px;color:#8a97a5;font-weight:500}.control-section label:not(.check-row){font-size:12px;display:block;font-weight:700;color:#526073;margin:14px 0 8px}.control-section input:not([type="checkbox"]),.control-section select{width:100%;background:#fff;border:1px solid #dfe6ef;border-radius:9px;padding:12px 11px;font-size:13px;min-width:0;max-width:100%;height:43px;outline:none}.control-section input:focus,.control-section select:focus{border-color:#5e82ec;box-shadow:0 0 0 3px #edf1ff}.control-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.drop-area{border:1px dashed #9fb7df;border-radius:14px;background:linear-gradient(#f8fbff,#fff);padding:25px 12px;display:flex;align-items:center;flex-direction:column;gap:6px;text-align:center;cursor:pointer;transition:.2s}.drop-area.drag-over{border-color:#3a68ef;background:#eaf1ff}.drop-area:hover{border-color:#4c7ae3}.drop-area strong{font-size:13px}.drop-area p{font-size:12px;color:#8894a4;margin:0}.drop-area small{color:#9ba8b7;font-size:10px}.drop-icon{border-radius:12px;background:#e8f0ff;color:#5176d1;width:42px;height:42px;display:grid;place-items:center;font-size:25px;margin-bottom:5px}.upload-tools{display:flex;gap:8px;justify-content:space-between;margin-top:12px;flex-wrap:wrap}.text-button{background:none;border:0;padding:5px 0;color:#6480af;font-size:11px;font-weight:650}.text-button:hover{text-decoration:underline}.subtle-danger{color:#ad6674}.small-help{font-size:10px;color:#9ca6b6;line-height:1.7;margin:11px 0}.photo-list{display:flex;flex-direction:column;gap:8px;max-height:360px;overflow:auto;padding-right:3px}.empty-photos{border:1px solid #e8edf3;border-radius:10px;padding:24px 10px;text-align:center;font-size:11px;color:#a0aab8}.photo-item{border:1px solid #e5ebf2;border-radius:12px;background:#fff;padding:9px;display:grid;grid-template-columns:25px 57px minmax(0,1fr);gap:9px;align-items:start}.photo-item.dragging{opacity:.4}.photo-item.drag-target{box-shadow:inset 0 -3px #5b7cf1}.item-number{font-size:11px;font-weight:800;color:#7f8da1;margin-top:20px;text-align:center;cursor:grab}.photo-thumb{width:57px;height:59px;object-fit:cover;border-radius:7px;background:#f2f4f7}.photo-details{min-width:0}.photo-file{font-size:11px;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:6px}.photo-caption{font-size:11px!important;padding:8px!important;height:32px!important;margin:0!important}.photo-item-tools{display:flex;gap:5px;align-items:center;justify-content:flex-end;margin-top:6px}.photo-item-tools button{border:1px solid #e2e8f2;background:#fff;border-radius:6px;font-size:10px;min-width:25px;height:25px;color:#586780}.photo-item-tools button:hover{background:#edf2f9}.photo-item-tools .remove{color:#b55e66}.position-input{width:46px!important;font-size:11px!important;height:25px!important;padding:3px 5px!important;text-align:center}.count-selector{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.count-btn{padding:12px 4px;background:#f6f8fb;border:1px solid #e1e7ef;border-radius:9px;font-size:12px;color:#657488;font-weight:800}.count-btn.selected{background:#eaf0ff;border-color:#8ca9fe;color:#3761dd}.check-row{font-size:12px;color:#59677b;display:flex;gap:8px;align-items:center;margin-top:15px}.check-row input{accent-color:#526de8}.storage-note{font-size:11px;line-height:1.8;color:#9aa8b7;margin-top:26px}.preview-pane{display:flex;flex-direction:column;min-width:0;padding:34px 36px 30px;gap:22px}.preview-toolbar{display:flex;justify-content:space-between;align-items:end;max-width:920px;width:100%;margin:0 auto}.preview-toolbar h2{font-size:21px;letter-spacing:-1px;margin:7px 0 0}.preview-nav{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e3eaf2;border-radius:12px;padding:5px 7px;font-size:12px;font-weight:700;color:#637087}.preview-nav button{width:31px;height:31px;border:0;background:#f2f5f9;border-radius:8px;color:#55647c}.canvas-shell{flex:1;min-height:430px;display:flex;align-items:flex-start;justify-content:center;background:#eef1f6;border:1px solid #e2e8f0;border-radius:18px;padding:30px;position:relative;overflow:auto}.canvas-shell canvas{display:block;width:auto;max-width:100%;height:auto;max-height:840px;object-fit:contain;background:#fff;box-shadow:0 13px 43px #24304b1b;border:1px solid #e2e6eb}.preview-loading{position:absolute;top:25px;left:50%;transform:translateX(-50%);background:#fff;padding:9px 15px;border-radius:20px;z-index:2;box-shadow:0 4px 14px #192c4b25;font-size:12px;color:#63708a}.preview-bottom{max-width:920px;width:100%;display:flex;justify-content:space-between;align-items:center;margin:0 auto;gap:15px}.preview-bottom p{font-size:12px;color:#8a98a8;line-height:1.6;margin:0}.progress-status{font-size:12px;min-height:20px;color:#4969a8;max-width:920px;margin:0 auto;width:100%}
@media(max-width:1150px){.hero{gap:25px;grid-template-columns:.9fr 1.1fr}.hero-product{transform:none}.product-interior{grid-template-columns:80px 1fr 1fr}.mock-sidebar{padding-left:5px;padding-right:5px}.mock-menu{font-size:8px}.mock-main{padding:18px 10px}.mock-preview{padding:14px 8px}.feature-tile{padding:22px 17px}.editor-header .private-note{display:none}}
@media(max-width:830px){.wide-container,.nav-wrap{width:min(100% - 40px,680px)}.nav-wrap{height:70px}.nav-wrap nav{display:none}.nav-wrap>.btn{margin-left:auto}.hero{padding-top:60px;display:flex;flex-direction:column;min-height:0;gap:40px}.hero-copy{text-align:center}.hero-copy p{margin-left:auto;margin-right:auto}.hero-actions,.hero-points{justify-content:center}.hero-product{width:100%;max-width:650px}.feature-strip{grid-template-columns:repeat(2,1fr);gap:12px}.section{padding-top:75px;padding-bottom:80px}.step-cards{grid-template-columns:1fr;gap:14px}.step-card{min-height:0}.section-head-inline{align-items:start;flex-direction:column}.template-cards{gap:13px}.template-cover{height:220px}.template-paper{height:195px;width:80%;padding:13px}.template-paper>strong{font-size:12px}.template-visual{height:55px}.cta-area{margin:65px auto;padding:39px;flex-direction:column;align-items:start}.footer-line{flex-direction:column;align-items:start}.workspace{grid-template-columns:1fr}.controls-inner{max-height:none;overflow:visible}.controls-pane{border-right:0;border-bottom:1px solid #e5ebf2}.controls-inner{max-width:680px;margin:auto}.editor-header{padding:0 18px}.editor-header-divider,.current-title{display:none}.preview-pane{padding:25px 18px 40px}.canvas-shell{max-height:850px}.photo-list{max-height:400px}}
@media(max-width:570px){.nav-wrap{width:calc(100% - 30px)}.nav-wrap .btn{padding:10px 12px;font-size:11px}.brand{font-size:23px}.brand-ko{display:none}.wide-container{width:calc(100% - 30px)}.hero{padding-top:50px;padding-bottom:40px;gap:34px}.hero-copy h1{font-size:38px;letter-spacing:-2.7px}.hero-copy>p{font-size:14px}.hero-actions .btn{font-size:12px;padding:14px 16px}.hero-product{height:390px}.window-top{height:32px}.product-interior{height:360px;grid-template-columns:58px 1fr 1fr}.mock-sidebar{padding-top:10px}.mock-menu{font-size:11px;justify-content:center}.mock-menu span{display:none}.mock-main{padding:14px 7px}.mock-heading{font-size:9px}.mock-heading span{display:none}.mock-import{height:65px;font-size:18px;margin:10px 0}.mock-import small{font-size:7px}.mock-photos{height:92px}.mock-caption{font-size:8px;margin-top:10px}.mock-order span{font-size:7px;padding:4px}.mock-preview{padding:10px 6px}.preview-top{font-size:8px}.mock-sheet{padding:10px;height:365px}.mock-sheet h3{font-size:11px}.mock-cover-photo{height:52px;margin-top:8px}.sheet-info{grid-template-columns:48px 1fr;font-size:6px;gap:5px}.feature-strip{gap:9px}.feature-tile{padding:18px 15px;min-height:170px;border-radius:13px}.feature-tile h3{font-size:13px;margin-top:15px}.feature-tile p{font-size:11px}.section-head h2{font-size:32px}.template-cards{grid-template-columns:1fr}.template-cover{height:300px}.template-paper{height:268px;width:65%}.template-paper>strong{font-size:17px}.template-visual{height:87px}.cta-area{padding:30px}.footer-links{gap:11px;flex-wrap:wrap}.editor-header{height:67px}.editor-header .brand{font-size:22px}.editor-header .btn{padding:11px;font-size:11px}.controls-inner{padding:25px 17px}.preview-pane{padding:19px 10px}.preview-bottom{flex-direction:column;align-items:stretch}.preview-bottom p{font-size:11px}.canvas-shell{min-height:0;padding:10px}.preview-toolbar h2{font-size:17px}}
/* PEIRU 2.0: accessible editing tools and responsive ordering */
.photo-item-tools{justify-content:flex-start;flex-wrap:wrap;gap:6px}
.photo-item-tools button{min-width:29px;height:30px;font-size:12px;border-radius:8px}
.photo-item-tools .edit-button{padding:0 10px;background:#eff4ff;color:#3158a6;border-color:#cddcff;font-weight:700;min-width:48px}
.photo-item-tools .position-input,.position-input{flex:0 0 76px!important;width:76px!important;min-width:76px!important;max-width:76px!important;height:30px!important;padding:4px 8px!important;box-sizing:border-box!important;border:1px solid #d5deeb!important;border-radius:8px!important;font-size:12px!important;text-align:center}
.photo-file-head{display:flex;align-items:center;gap:8px;min-width:0}
.photo-file-head input{accent-color:#436deb;flex:0 0 15px}
.photo-file{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.photo-group-input{width:100%!important;margin-top:5px!important;font-size:11px!important;height:30px!important;border-radius:8px!important;background:#fafcff!important}
.photo-thumb{cursor:pointer}
.group-toolbar{display:flex;gap:7px;margin-top:12px;align-items:center;flex-wrap:wrap}
.group-toolbar input{min-width:130px;flex:1;margin:0!important}
.btn-mini{padding:10px 12px;font-size:12px;border-radius:9px;gap:6px}
.btn-ghost{border:1px solid #eceff4;background:#f7f9fc;color:#63738b}
.full-width{display:flex;width:100%;margin-top:8px}
.align-bottom{align-items:end}.align-bottom>div{flex:1;min-width:0}
.tiny-rule{height:1px;border:0;background:#e9edf2;margin:19px 0}
.file-load-button{display:flex!important;align-items:center;justify-content:center;border:1px solid #d5dfe9;border-radius:9px;padding:11px;margin-top:9px;color:#243249!important;font-weight:700;cursor:pointer}
.file-load-button:hover{background:#f8fafc}
.page-overrides{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:-5px auto 0;max-width:920px;width:100%;font-size:12px}
.page-overrides label{font-weight:700;color:#53647a}.page-overrides select{padding:8px 11px;border-radius:9px;border:1px solid #dde5ef;max-width:200px;background:#fff}.page-overrides .small-help{margin:0;color:#8291a2}
.edit-modal[hidden],.edit-selection[hidden]{display:none!important}
.edit-modal{position:fixed;inset:0;background:rgba(10,19,33,.74);z-index:110;display:flex;align-items:center;justify-content:center;padding:18px}
.edit-panel{width:min(960px,100%);max-height:92vh;overflow:auto;border-radius:19px;background:#fff;padding:25px;box-shadow:0 18px 90px #0004}
.edit-modal-head{display:flex;align-items:start;justify-content:space-between;gap:15px}.edit-modal-head h2{font-size:23px;margin:7px 0 2px}
.modal-close{background:#f2f4f7;border:0;border-radius:50%;height:38px;width:38px;font-size:26px}
.edit-preview-frame{display:flex;align-items:center;justify-content:center;min-height:170px;max-height:58vh;overflow:auto;background:#eef1f6;border-radius:12px;padding:18px;margin:16px 0}
.edit-preview-frame canvas{max-width:100%;max-height:52vh;width:auto;height:auto;touch-action:none;cursor:crosshair;box-shadow:0 8px 25px #0002}
.edit-tool-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.edit-modal-footer{margin-top:20px;border-top:1px solid #e9edf2;padding-top:15px}.edit-modal-spacer{flex:1}
.editor-actions{gap:8px}.editor-actions .btn-outline{padding:10px 13px;font-size:12px}
@media(max-width:570px){.editor-actions .btn-outline{display:none}.photo-item{grid-template-columns:19px 49px minmax(0,1fr);padding:8px;gap:6px}.photo-thumb{width:49px;height:54px}.photo-file{font-size:11px}.photo-item-tools{gap:5px}.position-input{width:72px!important;min-width:72px!important;flex-basis:72px!important}.page-overrides{gap:7px}.page-overrides .small-help{width:100%}.edit-panel{padding:15px}.edit-modal{padding:9px}}
