:root{font-family:Segoe UI,Noto Sans,sans-serif;color:#17231f;background:#f6f7f1;font-synthesis:none;--paper: #fcfdf9;--white: #fff;--muted: #58665d;--line: #dce1d7;--lime: #d8fa73;--dark: #172820;--technical: Consolas, monospace;--gutter: clamp(24px, 4.45vw, 72px)}*{box-sizing:border-box}body{margin:0;min-width:760px}button,input,textarea{font:inherit}button{cursor:pointer;border:1px solid #cbd6c8;border-radius:9px;color:inherit;background:var(--paper);padding:9px 16px;font-size:.9rem;font-weight:650}button:hover:enabled{border-color:#839b78}button:disabled{cursor:default;color:#626e64;background:#e8ece4;opacity:.8}:focus-visible{outline:2px solid #557c30;outline-offset:3px}button.primary:enabled{background:var(--lime);border-color:#c3e25e}button.dark:enabled{background:var(--dark);border-color:var(--dark);color:#fff}.primary{padding:12px 20px}.plain{border:0;background:transparent;padding:0}.plain:disabled{background:transparent}strong{font-weight:700}code,.eyebrow,.canvas-label,.board-heading small,.template-copy small{font-family:var(--technical)}small,.caption{color:var(--muted);font-size:.82rem}h1,h2,h3,p,figure{margin:0}h1,h2{font-weight:760;letter-spacing:-.05em}h1{font-size:clamp(2.9rem,4.15vw,4.8rem);line-height:.99}h2{font-size:1.5rem}h3{font-size:1rem}img,canvas{display:block;max-width:100%}.shell{max-width:1712px;margin-inline:auto;width:calc(100% - 2 * var(--gutter))}.topbar{height:72px;background:var(--paper);border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding-inline:var(--gutter);gap:20px}.brand{justify-self:start}.brand img{width:138px}.nav,.steps,.header-end{display:flex;align-items:center;gap:16px}.header-end{justify-content:flex-end;white-space:nowrap;font-size:.9rem}.header-end strong{max-width:220px;overflow:hidden;text-overflow:ellipsis}.nav button,.steps button{border:0;border-radius:0;color:var(--muted);background:transparent;padding:0}.nav button{font-weight:400;height:72px}.nav button.active{box-shadow:inset 0 -3px #8cab4d;font-weight:700;color:var(--dark)}.steps button{display:flex;align-items:center;font-weight:400}.steps button+button:before{content:"";width:18px;height:1px;background:#ccd6c9;margin-right:14px}.steps button span{display:grid;place-items:center;width:24px;height:24px;border:1px solid #d5dfd1;border-radius:50%;margin-right:7px}.steps button.active{color:var(--dark);font-weight:700}.steps button.active span{background:var(--lime);border-color:#c3e25e}.eyebrow{color:#3a5548;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:22px}.eyebrow:before{content:"";display:inline-block;vertical-align:2px;width:7px;height:7px;background:#8cae56;transform:rotate(45deg);margin-right:12px}.lede{color:var(--muted);font-size:clamp(1rem,1.18vw,1.2rem);line-height:1.5;margin-top:16px}.home{display:grid;grid-template-columns:minmax(0,.48fr) minmax(0,1fr);align-items:center;gap:3vw;padding-block:clamp(40px,5vw,90px) clamp(36px,4.4vw,80px)}.home h1{font-size:clamp(2.95rem,4.75vw,5.5rem);letter-spacing:-.065em}.home-copy .lede{max-width:42ch}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.home-copy .actions,.preview .actions{margin-top:26px}.workflow{color:var(--muted);font-size:.85rem;border-top:1px solid var(--line);padding-top:19px;margin-top:55px}.demo-board{background:var(--dark);color:#f4fbef;border-radius:22px;padding:clamp(12px,1.3vw,23px);display:grid;gap:9px;box-shadow:0 18px 46px #1c292218}.demo-board>.board-heading{padding:2px 6px}.board-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px}.board-heading:last-child{margin-bottom:0}.board-heading small{white-space:nowrap;font-size:.75rem}.demo-board>.board-heading small{color:#bdcfc2}.board-heading strong{display:flex;align-items:center;gap:7px;font-size:.95rem}.board-heading strong img{width:24px}.board-section{border-radius:12px;background:var(--paper);color:var(--dark);padding:14px 18px}.board-section.originals{background:#e7ece2}.five,.three{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(6px,.75vw,16px)}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.frame-picture,.frame-placeholder{width:100%;height:auto;aspect-ratio:9 / 16;border-radius:6px;background:#d7dfd1;object-fit:fill}.originals .five{justify-items:center}.originals .five img{width:84%;aspect-ratio:9 / 16;border-radius:6px}.render-error{display:grid;padding:12px;color:#87392e;background:#fff1ed;border-radius:8px;gap:8px}.footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding-block:21px;font-size:.85rem;color:var(--muted)}.footer strong{color:#3a5548}.public-page{padding-block:45px 52px;min-height:calc(100vh - 135px)}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.page-heading>button,.actions button{white-space:nowrap}.catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:32px}.template-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--white);display:flex;flex-direction:column}.template-art{aspect-ratio:1.22;display:grid;place-items:center;padding:clamp(10px,1.5vw,26px);text-align:center;color:var(--muted)}.template-art.clean{background:#e3e8ff}.template-art.offset{background:#f8e2d7}.template-art.detail{background:#ebe2f1}.template-art .three canvas{box-shadow:0 7px 16px #23294227}.template-copy{padding:21px;display:grid;gap:8px;flex-grow:1}.template-copy p{color:var(--muted);font-size:.92rem}.template-copy>div{align-self:end;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.back{margin-bottom:25px}.template-board{margin-top:26px;padding:20px 26px}.stage{padding:24px 4%;border-radius:12px;background:radial-gradient(circle,#385046 1px,transparent 1px) #20362b;background-size:16px 16px}figcaption{margin-top:10px;text-align:center;font-size:.83rem;color:#d9e8d8}.template-board+p{padding-top:19px}.count-chip{background:#edf2e8;border:1px solid var(--line);border-radius:6px;padding:4px 8px;white-space:nowrap}.drop-zone{border:1px dashed #a3b49c;border-radius:13px;background:#edf3e6;margin-top:28px;padding:17px;display:flex;justify-content:space-between;align-items:center;gap:16px}.drop-zone.empty{min-height:250px;justify-content:center;flex-direction:column}.drop-zone.dragging{border-color:#63913d;background:#e4f2c8}.drop-copy{display:flex;align-items:center;gap:13px}.drop-copy p{color:var(--muted);font-size:.85rem;margin-top:4px}.upload-icon{background:#dcecd0;border-radius:8px;width:40px;height:40px;display:grid;place-items:center}.upload-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:16px}.upload-card{background:var(--white);border:1px solid var(--line);border-radius:12px;min-width:0;padding:12px;display:grid;gap:7px}.card-top,.card-actions{display:flex;align-items:center;justify-content:space-between;gap:5px}.handle{cursor:grab;padding-inline:5px}.source-thumb{aspect-ratio:.88;background:#e9eee6;border-radius:8px;display:grid;place-items:center;padding:9px;overflow:hidden}.source-thumb canvas{object-fit:contain;width:100%;height:100%;max-height:100%;min-height:0}.filename,.source-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-buttons{display:flex;gap:4px}.icon-btn{display:inline-grid;place-items:center;padding:0;width:36px;height:36px}.order-buttons .icon-btn{width:28px;height:28px}.upload-next{align-items:center;margin-top:18px;margin-bottom:16px}.upload-next p{color:var(--muted)}.rejected{list-style-type:none;padding:0;display:grid;gap:8px;margin:12px 0;overflow-wrap:anywhere}.rejected:empty{display:none}.rejected li,.alert{padding:12px;color:#8f3328;background:#fff9f7;border:1px solid #e1aea6;border-radius:9px}.rejected p{margin-block:6px 9px}.alert.shell,.notice{margin-block:10px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.notice{border:1px solid #b6c4a8;background:#edf3e6;padding:10px;border-radius:9px}.save-status.saved:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#79a553;margin-right:7px}.save-status.error{color:#8f3328}.editor{display:grid;grid-template-columns:minmax(152px,15.6vw) minmax(0,1fr) minmax(220px,21.3vw);min-height:calc(100vh - 72px)}.sources-panel,.settings-panel{background:var(--paper);padding:20px 16px;min-width:0}.settings-panel{padding-inline:20px;border-left:1px solid var(--line)}.sources-panel{border-right:1px solid var(--line)}.sources-panel h2,.settings-panel h2,.editor-toolbar h2{font-size:1.24rem;margin-bottom:4px}.source-list{display:grid;gap:6px;margin-block:16px}.source-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px;text-align:left;min-height:55px}.source-row strong{text-overflow:ellipsis;overflow:hidden}.source-row canvas{max-height:55px;border-radius:4px;object-fit:contain}.source-row.chosen{background:#f0f5e7;border-color:#91aa70}.source-row code{font-size:.76rem;color:var(--muted)}.add-source{width:100%}.workspace{min-width:0;display:flex;flex-direction:column}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:14px 22px;border-bottom:1px solid var(--line);background:#f2f5ee}.editor-toolbar>div:first-child{min-width:0}.editor-toolbar h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-stage,.phone-stage{background:radial-gradient(circle,#bacab5 1px,transparent 1px) #e8eee5;background-size:17px 17px}.editor-stage{flex:1;display:grid;grid-template-rows:auto 1fr auto;min-height:580px;padding-block:20px}.canvas-label{color:#4e675b;font-size:.78rem;text-transform:uppercase}.editor-stage .canvas-label{padding-inline:28px}.editor-strip{align-self:center;display:flex;gap:9px;overflow:auto;padding:12px 16px;scrollbar-color:#a4b7a3 #e8eee5}.editor-frame{flex:0 0 calc(clamp(115px,11vw,210px) * var(--zoom));min-width:0;border:2px solid transparent;border-radius:10px;padding:5px;cursor:pointer;text-align:center;display:grid;gap:6px;color:#344c40}.editor-frame canvas{box-shadow:0 5px 13px #263e3a23}.editor-frame.selected{border-color:#86a83c;background:#f5fae6}.editor-frame code{font-size:.77rem}.stage-footer{display:flex;justify-content:space-between;align-items:center;padding-inline:22px;gap:6px}.stage-footer small{background:#f0f5ed;border:1px solid var(--line);padding:7px;border-radius:6px}.settings-panel section{border-top:1px solid var(--line);margin-top:22px;padding-top:18px;display:grid;gap:9px}.settings-panel label{font-size:.92rem;font-weight:650;display:grid;gap:5px}.settings-panel textarea,.settings-panel input,.source-name{border:1px solid #ccd7c9;border-radius:8px;padding:9px 10px;width:100%;background:var(--white);color:var(--dark);font-weight:400}.settings-panel textarea{resize:vertical}.settings-panel .alert{font-size:.85rem;margin-top:9px}.settings-panel>button{margin-top:16px}.swatches{display:flex;gap:7px}.swatches button{padding:0;width:clamp(22px,1.95vw,32px);height:clamp(22px,1.95vw,32px);border-radius:7px;border-color:#0002}.swatches .chosen{outline:2px solid #7e9f59;outline-offset:2px}.hex{font-family:var(--technical)}.preview{display:grid;grid-template-columns:minmax(0,.61fr) minmax(0,1fr);align-items:center;gap:clamp(20px,6vw,105px);padding-block:44px 52px}.preview-series{margin-top:39px;padding-top:15px;border-top:1px solid var(--line)}.mini-strip{display:flex;gap:7px;overflow:auto}.mini-strip button{flex:0 0 clamp(39px,4.35vw,66px)}.phone-stage{border-radius:18px;border:1px solid #dbe5d8;padding:34px 18px;position:relative;display:grid;justify-items:center}.phone-stage:before,.phone-stage:after{content:"";position:absolute;inset:14% 12%;border:1px solid #bdcebe;border-radius:50%;pointer-events:none}.phone-stage:after{inset:calc(14% + 24px) calc(12% + 24px)}.phone-stage>p{position:absolute;top:17px;left:18px;z-index:1}.phone{position:relative;z-index:1;width:min(345px,90%);padding-bottom:12px;border:8px solid #172923;border-radius:42px;box-shadow:0 18px 34px #233a3145;background:#f7f9fd;overflow:hidden;color:#172336}.phone-status{display:flex;justify-content:space-between;padding:12px 17px 6px;font-size:.73rem}.phone-status i{border-radius:50%;width:8px;height:8px;background:#172923;position:absolute;left:calc(50% - 4px);top:9px}.store-header{text-align:center;border-bottom:1px solid #e0e6f0;padding:9px;font-size:.95rem}.store-content{padding:14px 16px 8px}.app-identity{display:flex;align-items:center;gap:9px;margin-bottom:12px;min-width:0}.app-identity img,.app-identity>span{width:42px;height:42px;flex:none;border-radius:10px}.app-identity>span{display:grid;place-items:center;background:#dceacb;font-size:1.15rem;font-weight:750}.app-identity div{min-width:0}.app-identity h2{font-size:1.3rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phone p{font-size:.8rem;color:var(--muted)}.store-install{padding:8px;background:#2460df;color:#fff;text-align:center;border-radius:9px;font-size:.85rem;font-weight:700;margin-bottom:14px}.phone h3{margin-bottom:7px;font-size:.9rem}.phone-rail{position:relative;display:flex;gap:8px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-right:-16px;padding-right:16px}.phone-slide{flex:0 0 67%;min-width:0;scroll-snap-align:start}.rail-dots{display:flex;gap:4px;padding-block:8px}.rail-dots i{width:5px;height:5px;border-radius:4px;background:#cdd9e7}.rail-dots .active{width:13px;background:#2460df}.store-about{padding-top:10px;border-top:1px solid #e0e6f0;font-size:.9rem}.home-indicator{background:#172923;width:30%;height:4px;border-radius:9px;margin:auto}.export-dialog{border:1px solid #dbe2d7;border-radius:18px;padding:24px;width:min(690px,90vw);max-height:90vh;background:var(--paper);color:inherit;box-shadow:0 24px 52px #1428205c}.export-dialog::backdrop{background:#142820d1}.crop-dialog{border:1px solid #dbe2d7;border-radius:18px;padding:22px;width:min(680px,85vw);max-height:92vh;background:var(--paper);color:inherit;box-shadow:0 24px 52px #1428205c}.crop-dialog::backdrop{background:#142820d1}.crop-viewport{position:relative;height:min(51vh,500px);margin-block:16px 10px;border-radius:9px;background:#e8eee5}.crop-image{position:absolute;overflow:hidden;background:#d7dfd1;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none}.crop-image canvas{width:100%;height:100%}.crop-outline{position:absolute;border:2px solid #d8fa73;box-shadow:0 0 0 1px #172820,0 0 0 1000px #17282080;pointer-events:none}.crop-controls{display:flex;justify-content:space-between;align-items:center;gap:12px}.crop-controls label{display:flex;align-items:center;gap:8px}.crop-controls input{width:9rem;accent-color:#547e36;padding:0}.crop-controls output{font:.85rem var(--technical)}.crop-actions{justify-content:flex-end;margin-top:12px}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.dialog-heading h2{font-size:2.15rem}.dialog-heading p,.export-footer p{color:var(--muted);font-size:.89rem}.export-settings{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-block:16px}.export-settings>div{padding:10px 12px;border-radius:9px;display:grid;gap:6px;background:#f1f5ee;border:1px solid var(--line);font-size:.86rem}.segments{display:flex;gap:5px}.segments button{padding:3px 12px}.segments button[aria-pressed=true]{background:#d9eaca}.results{max-height:min(47vh,500px);overflow:auto;border:1px solid var(--line);border-radius:9px;background:#fff}table{border-collapse:collapse;width:100%;text-align:left;font-size:.87rem}th,td{padding:7px 9px}th{position:sticky;top:0;background:#edf2e8;color:#476254}td{border-top:1px solid var(--line)}td:last-child,th:last-child{text-align:right;white-space:nowrap}.result-name{display:flex;align-items:center;gap:9px;min-height:30px}.result-name img{width:22px}.result-name .plain{text-decoration:underline}.failed td{background:#fff1ed;color:#8f3328}.export-footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px}.export-footer p{margin-right:auto}@media(max-width:1150px){.topbar{padding-inline:24px;gap:10px}.steps{gap:8px}.steps button+button:before{width:8px;margin-right:5px}.editor-frame{flex-basis:calc(105px * var(--zoom))}.upload-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
