.editor-module__tT41mG__studio{--studio-line:color-mix(in srgb, var(--foreground) 16%, transparent);max-width:1600px;margin:auto;padding:5.75rem 1.25rem 3rem}.editor-module__tT41mG__intro{max-width:1200px;margin-bottom:1rem}.editor-module__tT41mG__eyebrow{color:var(--primary);letter-spacing:.14em;font-size:.75rem;font-weight:700}.editor-module__tT41mG__intro h1{margin:.35rem 0;font-size:clamp(1.55rem,2.4vw,1.9rem);line-height:1.15}.editor-module__tT41mG__muted{color:var(--muted-foreground);font-size:.85rem;line-height:1.6}.editor-module__tT41mG__layout{grid-template-columns:185px minmax(0,1fr) 220px;align-items:start;gap:1rem;display:grid}.editor-module__tT41mG__panel{border:1px solid var(--studio-line);background:var(--card);border-radius:14px;min-width:0;padding:.75rem}.editor-module__tT41mG__panel h2{margin-bottom:.8rem;font-size:.95rem;font-weight:700}.editor-module__tT41mG__panel h3{margin:1rem 0 .5rem;font-size:.85rem;font-weight:600}.editor-module__tT41mG__button{border:1px solid var(--studio-line);background:var(--background);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:.4rem;min-height:36px;padding:.45rem .6rem;font-size:.75rem;line-height:1.3;display:inline-flex}.editor-module__tT41mG__button:hover:not(:disabled),.editor-module__tT41mG__tile:hover:not(:disabled){border-color:var(--primary);background:var(--accent)}.editor-module__tT41mG__button:disabled,.editor-module__tT41mG__tile:disabled{opacity:.4;cursor:not-allowed}.editor-module__tT41mG__studio :is(button,input,select,[tabindex]):focus-visible{outline:3px solid var(--primary);outline-offset:3px}.editor-module__tT41mG__refinementDialog{--studio-line:color-mix(in srgb, var(--foreground) 16%, transparent)}.editor-module__tT41mG__refinementDialog :is(button,input,a):focus-visible{outline:3px solid var(--primary);outline-offset:3px}.editor-module__tT41mG__actions{border:1px solid var(--studio-line);background:var(--card);border-radius:12px;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.5rem;padding:.5rem .65rem;display:flex}.editor-module__tT41mG__actionHeading{flex-wrap:wrap;flex:1;justify-content:space-between;align-items:center;gap:.75rem;min-width:0;display:flex}.editor-module__tT41mG__actionHeading .editor-module__tT41mG__exportLabel{display:none}.editor-module__tT41mG__actionHeading{flex:none;margin-right:auto}.editor-module__tT41mG__actionHeading h2{margin-bottom:.25rem;font-size:.95rem;font-weight:700}.editor-module__tT41mG__actionHeading .editor-module__tT41mG__muted{font-size:.75rem}.editor-module__tT41mG__aiTrigger{flex-shrink:0;min-height:44px}.editor-module__tT41mG__exportRow,.editor-module__tT41mG__exportButtons{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.editor-module__tT41mG__exportRow{margin:0}.editor-module__tT41mG__exportLabel{color:var(--muted-foreground);font-size:.75rem}.editor-module__tT41mG__exportRow .editor-module__tT41mG__checkbox{margin-top:0}.editor-module__tT41mG__primary{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary);font-weight:700}.editor-module__tT41mG__primary:hover:not(:disabled){background:var(--primary);filter:brightness(1.08)}.editor-module__tT41mG__full{width:100%;margin-top:.6rem}.editor-module__tT41mG__tabs{grid-template-columns:1fr 1fr;gap:.35rem;margin-bottom:.8rem;display:grid}.editor-module__tT41mG__active{box-shadow:inset 0 0 0 1px var(--primary);border-color:var(--primary)!important}.editor-module__tT41mG__palette{grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem;max-height:min(365px,100dvh - 325px);padding:3px;display:grid;overflow-y:auto}.editor-module__tT41mG__tile{border:1px solid var(--studio-line);color:#252019;cursor:pointer;aspect-ratio:1;background:#fffaf3;border-radius:7px;min-width:0;min-height:36px;padding:8px}.editor-module__tT41mG__tile svg{width:100%;height:100%}.editor-module__tT41mG__toolbar{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:0;display:flex}.editor-module__tT41mG__toolStrip{flex-wrap:wrap;align-items:center;gap:.4rem;margin-bottom:.5rem;display:flex}.editor-module__tT41mG__toolStrip .editor-module__tT41mG__toolbar{gap:.3rem}.editor-module__tT41mG__toolStrip .editor-module__tT41mG__toolbar .editor-module__tT41mG__button{width:36px;padding:.45rem}.editor-module__tT41mG__toolStrip .editor-module__tT41mG__toolbar .editor-module__tT41mG__last{margin-left:0}.editor-module__tT41mG__canvasFormat{align-items:center;gap:.3rem;margin-left:auto;font-size:.7rem;display:flex}.editor-module__tT41mG__canvasFormat select{background:var(--card);border:1px solid var(--studio-line);border-radius:8px;max-width:145px;min-height:36px;padding:.35rem}.editor-module__tT41mG__toolHelp{font-size:.7rem;position:relative}.editor-module__tT41mG__toolHelp summary{cursor:pointer;padding:.5rem}.editor-module__tT41mG__toolHelp[open] p{z-index:5;background:var(--card);border:1px solid var(--studio-line);border-radius:8px;width:250px;padding:.75rem;position:absolute;top:100%;right:0}.editor-module__tT41mG__toolbar .editor-module__tT41mG__last{margin-left:auto}.editor-module__tT41mG__drawingTools{align-items:center;gap:.15rem;display:flex}.editor-module__tT41mG__toolRow{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:0;display:flex}.editor-module__tT41mG__shortToolName{display:none}.editor-module__tT41mG__penWidth{align-items:center;gap:.5rem;font-size:.8rem;display:flex}.editor-module__tT41mG__penWidth input{width:100px;accent-color:var(--primary)}.editor-module__tT41mG__workspace{flex-direction:column;min-width:0;display:flex}.editor-module__tT41mG__canvasWrap{width:min(100%, calc(var(--canvas-fit-height,360px) * var(--canvas-ratio,1)));border:1px solid var(--studio-line);background:#fff;border-radius:12px;max-width:100%;margin-inline:auto;position:relative;overflow:hidden;box-shadow:0 12px 32px #00000010}.editor-module__tT41mG__canvas{width:100%;aspect-ratio:var(--canvas-ratio,1);touch-action:none;-webkit-user-select:none;user-select:none;display:block}.editor-module__tT41mG__empty{text-align:center;pointer-events:none;color:#655547;flex-direction:column;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:absolute;inset:0}.editor-module__tT41mG__empty strong{color:#30261e;margin:.8rem 0 .5rem;font-size:1.25rem}.editor-module__tT41mG__empty span{max-width:270px;font-size:.85rem}.editor-module__tT41mG__emptyTemplates{pointer-events:auto;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:1rem;display:flex}.editor-module__tT41mG__emptyTemplates .editor-module__tT41mG__button{color:#30261e;background:#fffaf3;border-color:#b39d89}.editor-module__tT41mG__wideCanvas{grid-template-columns:185px minmax(0,1fr)}.editor-module__tT41mG__right[hidden]{display:none}.editor-module__tT41mG__expanded .editor-module__tT41mG__layout{grid-template-columns:minmax(0,1fr)}.editor-module__tT41mG__expanded .editor-module__tT41mG__left{display:none}.editor-module__tT41mG__expanded .editor-module__tT41mG__canvasWrap{max-width:100%}.editor-module__tT41mG__embedded{max-width:none;padding:0}.editor-module__tT41mG__embedded .editor-module__tT41mG__layout{grid-template-columns:180px minmax(0,1fr) 220px;gap:.75rem}.editor-module__tT41mG__embedded .editor-module__tT41mG__wideCanvas{grid-template-columns:180px minmax(0,1fr)}.editor-module__tT41mG__embedded.editor-module__tT41mG__expanded .editor-module__tT41mG__layout{grid-template-columns:minmax(0,1fr)}.editor-module__tT41mG__embedded .editor-module__tT41mG__panel{padding:.75rem}.editor-module__tT41mG__embedded .editor-module__tT41mG__tile{min-height:32px;padding:5px}.editor-module__tT41mG__embedded .editor-module__tT41mG__canvasWrap{max-width:100%}.editor-module__tT41mG__templateRow{flex-wrap:wrap;gap:.5rem;margin:.6rem 0 1rem;display:flex}.editor-module__tT41mG__templateRow .editor-module__tT41mG__button{flex:1}.editor-module__tT41mG__controls{grid-template-columns:1fr 1fr;gap:.4rem;display:grid}.editor-module__tT41mG__range{margin:.85rem 0;font-size:.8rem;display:block}.editor-module__tT41mG__range span{justify-content:space-between;margin-bottom:.5rem;display:flex}.editor-module__tT41mG__range input{width:100%;accent-color:var(--primary)}.editor-module__tT41mG__layerList{flex-direction:column;gap:.35rem;max-height:190px;display:flex;overflow:auto}.editor-module__tT41mG__layerList .editor-module__tT41mG__button{justify-content:flex-start}.editor-module__tT41mG__layerList svg{background:#fffaf3;border-radius:3px;width:24px;height:24px;padding:3px}.editor-module__tT41mG__checkbox{align-items:center;gap:.5rem;margin-top:.8rem;font-size:.8rem;display:flex}.editor-module__tT41mG__checkbox input{accent-color:var(--primary);width:17px;height:17px}.editor-module__tT41mG__divider{border-top:1px solid var(--studio-line);margin:1.25rem 0}.editor-module__tT41mG__refinement{gap:.75rem;display:grid}.editor-module__tT41mG__original{align-items:center;gap:.75rem;font-size:.8rem;display:flex}.editor-module__tT41mG__goals{gap:.5rem;min-width:0;display:grid}.editor-module__tT41mG__goals legend{margin-bottom:.6rem;font-size:.8rem}.editor-module__tT41mG__goal{border:1px solid var(--studio-line);cursor:pointer;border-radius:8px;align-items:center;gap:.5rem;padding:.6rem;font-size:.8rem;display:flex}.editor-module__tT41mG__goal:has(input:checked){border-color:var(--primary);background:var(--accent)}.editor-module__tT41mG__goal input{accent-color:var(--primary);flex-shrink:0}.editor-module__tT41mG__detail{gap:.5rem;font-size:.8rem;display:grid}.editor-module__tT41mG__detail input{background:var(--background);border:1px solid var(--studio-line);border-radius:8px;width:100%;min-width:0;padding:.6rem}.editor-module__tT41mG__logoLink{text-underline-offset:3px;font-size:.8rem;text-decoration:underline}.editor-module__tT41mG__status{min-height:1rem;color:var(--muted-foreground);margin:.35rem 0;font-size:.75rem}.editor-module__tT41mG__error{color:#dc6b53}.editor-module__tT41mG__drafts{grid-column:1/-1}.editor-module__tT41mG__drafts>summary{cursor:pointer;font-size:.95rem;font-weight:700}.editor-module__tT41mG__drafts[open]>summary{margin-bottom:.8rem}.editor-module__tT41mG__draftForm{flex-wrap:wrap;gap:.5rem;margin:.8rem 0;display:flex}.editor-module__tT41mG__draftForm input{background:var(--background);border:1px solid var(--studio-line);border-radius:8px;flex:1;min-width:100px;padding:.6rem;font-size:.8rem}.editor-module__tT41mG__savedGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;display:grid}.editor-module__tT41mG__savedCard{flex-direction:column;min-width:0}.editor-module__tT41mG__savedCard svg{background:#fff;border-radius:5px;width:100%}.editor-module__tT41mG__savedCard span{white-space:nowrap;text-overflow:ellipsis;width:100%;overflow:hidden}.editor-module__tT41mG__note{text-align:center;max-width:900px;margin:1.5rem auto 0}@media (max-width:1100px){.editor-module__tT41mG__layout,.editor-module__tT41mG__embedded .editor-module__tT41mG__layout{grid-template-columns:190px minmax(0,1fr)}.editor-module__tT41mG__right{grid-column:1/-1}.editor-module__tT41mG__expanded .editor-module__tT41mG__layout,.editor-module__tT41mG__embedded.editor-module__tT41mG__expanded .editor-module__tT41mG__layout{grid-template-columns:minmax(0,1fr)}}@media (max-width:640px){.editor-module__tT41mG__studio{padding-top:6rem}.editor-module__tT41mG__toolbar{gap:.35rem}.editor-module__tT41mG__toolStrip{gap:.25rem}.editor-module__tT41mG__toolStrip .editor-module__tT41mG__button,.editor-module__tT41mG__canvasFormat select{min-height:44px}.editor-module__tT41mG__drawingTools{justify-content:space-between;width:100%}.editor-module__tT41mG__toolStrip .editor-module__tT41mG__toolbar{flex:1}.editor-module__tT41mG__toolbar .editor-module__tT41mG__button{min-width:36px;padding-inline:.3rem}.editor-module__tT41mG__toolStrip .editor-module__tT41mG__toolbar{gap:.25rem}.editor-module__tT41mG__canvasFormat>span,.editor-module__tT41mG__toolName{display:none}.editor-module__tT41mG__canvasFormat select{width:110px;font-size:.7rem}.editor-module__tT41mG__shortToolName{display:inline}.editor-module__tT41mG__toolRow{gap:.25rem}.editor-module__tT41mG__toolbarText{display:none}.editor-module__tT41mG__layout,.editor-module__tT41mG__embedded .editor-module__tT41mG__layout{grid-template-columns:minmax(0,1fr)}.editor-module__tT41mG__left{order:0}.editor-module__tT41mG__workspace{order:1}.editor-module__tT41mG__right{order:2}.editor-module__tT41mG__drafts{order:3}.editor-module__tT41mG__canvasWrap{max-width:100%}.editor-module__tT41mG__actions{order:2;margin-top:.75rem}.editor-module__tT41mG__workspace>:not(.editor-module__tT41mG__actions):not(.editor-module__tT41mG__toolStrip):not(.editor-module__tT41mG__canvasWrap){order:3}.editor-module__tT41mG__actionHeading{flex-direction:column;align-items:stretch}.editor-module__tT41mG__actionHeading .editor-module__tT41mG__exportLabel{display:inline}.editor-module__tT41mG__actionHeading{flex-basis:100%;width:100%}.editor-module__tT41mG__exportLabel{width:100%}.editor-module__tT41mG__exportButtons{grid-template-columns:1fr 1fr;width:100%;display:grid}.editor-module__tT41mG__palette{grid-template-columns:repeat(7,minmax(0,1fr));gap:.25rem;max-height:150px}.editor-module__tT41mG__tile{min-height:36px;padding:7px}.editor-module__tT41mG__tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.editor-module__tT41mG__tabs .editor-module__tT41mG__button{padding:.4rem .2rem;font-size:.75rem}.editor-module__tT41mG__left{padding:.7rem}.editor-module__tT41mG__savedGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-module__tT41mG__embedded{padding:0}}.editor-module__tT41mG__backup{border-top:1px solid var(--border);margin-top:1rem;padding-top:1rem}.editor-module__tT41mG__backup h3{font-weight:600}.editor-module__tT41mG__backupActions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.editor-module__tT41mG__backupFile{gap:.35rem;min-width:0;max-width:100%;display:grid}.editor-module__tT41mG__backupFile input{width:18rem;max-width:100%;font-size:.8rem}.editor-module__tT41mG__backupPreview{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.editor-module__tT41mG__backupPreview>div{flex:14rem;min-width:0}
