/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.rounded{border-radius:.25rem}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--ink:#f3f7f4;--muted:#8e9993;--panel:#111714;--line:#2b3731;--green:#b8ff5c;--green-soft:#b8ff5c1f}*{box-sizing:border-box}html{background:#080b0a}body{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 50% 0,#2e5c3f38,#0000 38rem),#080b0a;margin:0;font-family:Segoe UI,Yu Gothic UI,sans-serif}button,input{font:inherit}button{cursor:pointer}main{flex-direction:column;width:min(1220px,100% - 36px);min-height:100vh;margin:0 auto;display:flex}.topbar{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;min-height:70px;display:flex}.brand{letter-spacing:.18em;align-items:center;gap:11px;font-size:12px;font-weight:800;display:flex}.brand-mark{background:var(--green);width:4px;height:25px;box-shadow:0 0 14px var(--green);border-radius:99px}.privacy{color:var(--muted);font-size:11px}.hero{text-align:center;padding:90px 0 46px}.eyebrow{color:var(--green);letter-spacing:.19em;margin:0 0 10px;font-size:10px;font-weight:800}.hero h1,.editor-heading h1{letter-spacing:-.055em;margin:0;font-size:clamp(36px,6vw,66px);line-height:1.1}.hero p:last-child{color:#a3aea8;max-width:590px;margin:22px auto 0;font-size:14px;line-height:1.8}.dropzone,.detecting{background:#111714bf;border:1px dashed #405047;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;width:min(870px,100%);min-height:340px;margin:0 auto;display:flex}.dropzone.is-dragging{border-color:var(--green);background:var(--green-soft)}.drop-icon{width:50px;height:50px;color:var(--green);border:1px solid #405047;border-radius:50%;place-items:center;font-size:25px;display:grid}.dropzone h2{margin:18px 0 5px;font-size:19px}.dropzone p{color:var(--muted);font-size:12px}.primary{background:var(--green);color:#10160e;border:0;border-radius:8px;min-height:46px;padding:0 25px;font-size:13px;font-weight:800}.error{color:#ffad9d!important}.detecting{border-style:solid;margin-top:90px;position:relative;overflow:hidden}.scan-line{background:var(--green);width:70%;height:1px;box-shadow:0 0 18px var(--green);animation:1.5s ease-in-out infinite alternate scan;position:absolute;top:20%}@keyframes scan{to{top:80%}}.editor{padding:16px 0 6px}.editor-heading{justify-content:space-between;align-items:flex-end;margin-bottom:12px;display:flex}.editor-heading h1{font-size:clamp(27px,3.5vw,40px)}.text-button{color:#a3ada8;background:0 0;border:0;padding:8px;font-size:12px}.preview-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.preview-card{border:1px solid var(--line);background:var(--panel);border-radius:14px;min-width:0;overflow:hidden}.preview-label{border-bottom:1px solid var(--line);color:#cbd3cf;align-items:center;gap:8px;height:36px;padding:0 13px;font-size:11px;font-weight:700;display:flex}.preview-label span{background:var(--green-soft);width:21px;height:21px;color:var(--green);border-radius:50%;place-items:center;font-size:10px;display:grid}.preview-label-action{color:#bac3be;background:#0d120f;border:1px solid #3a493f;border-radius:6px;min-height:25px;margin-left:auto;padding:0 9px;font-size:9px}.preview-label-action:disabled{cursor:default;opacity:.45}.image-stage{touch-action:none;-webkit-user-select:none;user-select:none;background:#030504;place-items:center;max-height:32vh;margin-inline:auto;display:grid;position:relative;overflow:hidden}.image-stage>img,.image-stage>canvas{object-fit:contain;width:100%;height:100%;display:block}.image-stage>img{-webkit-user-drag:none}.preview-rendering{z-index:15;color:#e5eee9;pointer-events:none;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#040806c7;border:1px solid #ffffff3d;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;position:absolute;top:8px;right:8px}.preview-error{z-index:16;color:#ffd2d2;pointer-events:none;background:#2d0808e6;border:1px solid #ff929280;border-radius:7px;padding:7px 9px;font-size:10px;line-height:1.35;position:absolute;bottom:8px;left:8px;right:8px}.result-stage.is-rendering>canvas{opacity:.82}.blade-overlay{touch-action:none;width:100%;height:100%;position:absolute;inset:0}.center-line{filter:drop-shadow(0 0 7px);vector-effect:non-scaling-stroke;cursor:move;pointer-events:stroke}.line-hit{vector-effect:non-scaling-stroke;cursor:move;pointer-events:stroke}.handle{stroke-width:4px;vector-effect:non-scaling-stroke;cursor:grab;filter:drop-shadow(0 0 7px)}.is-dragging-guide .handle,.is-dragging-guide .center-line,.is-dragging-guide .outline-handle{filter:none}.hint{color:#8c9791;min-height:34px;margin:0;padding:8px 13px;font-size:13px;line-height:1.35}.blade-count-step{flex-direction:column;justify-content:center;align-items:center;gap:13px;min-height:calc(100vh - 88px);display:flex}.count-prompt{text-align:center}.count-prompt h1{margin:2px 0 0;font-size:18px}.count-prompt p{color:var(--muted);margin:5px 0 0;font-size:12px}.initial-count-options{grid-template-columns:repeat(4,1fr);gap:8px;width:min(360px,100%);display:grid}.initial-count-options button{color:#fff;background:#111914;border:1px solid #405047;border-radius:9px;min-height:48px;font-size:16px;font-weight:800}.initial-count-options button:hover,.initial-count-options button:focus-visible,.initial-count-options button.selected{border-color:var(--green);background:var(--green-soft);color:var(--green)}.initial-color-settings{gap:8px;width:min(620px,100%);display:grid}.initial-color-settings>p{text-align:center;color:var(--muted);margin:0;font-size:12px}.initial-color-row{grid-template-columns:82px 1fr;align-items:center;gap:8px;display:grid}.initial-color-row>b{color:#dce4df;font-size:11px}.initial-color-row .color-options{grid-template-columns:repeat(6,1fr);gap:5px;display:grid}.initial-color-row .color-options i{border-radius:50%;width:9px;height:9px}.initial-detect-button{width:min(240px,100%);margin:2px auto 0}.initial-detect-button:disabled{opacity:.38;cursor:default}.control-layout{grid-template-columns:190px 1fr;gap:10px;margin-top:10px;display:grid}.position-pending .preview-grid{grid-template-columns:minmax(0,1fr)}.position-pending .result-preview{display:none}.position-pending .control-layout{grid-template-columns:minmax(190px,360px);justify-content:center}.position-confirm-bar{background:#111914;border:1px solid #405047;border-radius:12px;justify-content:center;align-items:center;gap:14px;margin-top:10px;padding:10px 13px;display:flex}.position-confirm-bar span{color:#b8c2bc;font-size:12px}.position-confirm-bar .primary{min-width:150px}.blade-list,.controls{border:1px solid var(--line);background:var(--panel);border-radius:14px}.blade-list{padding:11px}.control-title{border-bottom:1px solid var(--line);color:var(--muted);padding-bottom:9px;font-size:10px}.count-options{grid-template-columns:repeat(4,1fr);gap:4px;margin-top:6px;display:grid}.count-options button{color:#9ca6a1;background:#0b100d;border:1px solid #354139;border-radius:6px;min-height:31px}.count-options button.selected{border-color:var(--green);background:var(--green-soft);color:#fff}.selected-blade-heading{align-items:center;gap:8px;display:flex}.selected-blade-heading i{border:2px solid #fff;border-radius:50%;flex:none;width:10px;height:10px;box-shadow:0 0 8px}.blade-select{color:#aeb8b3;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:9px;width:100%;min-height:44px;margin-top:6px;padding:0 10px;font-size:15px;font-weight:700;display:flex}.blade-select.selected{border:2px solid var(--green);color:#fff;background:#1b2921}.blade-editing{background:var(--green-soft);color:var(--green);white-space:nowrap;border-radius:4px;margin-left:auto;padding:3px 5px;font-size:10px}.blade-select i{border-radius:50%;flex:none;width:12px;height:12px;box-shadow:0 0 8px}.color-options i{border-radius:50%;width:8px;height:8px;box-shadow:0 0 7px}.settings-stack{grid-template-columns:minmax(0,1.65fr) minmax(250px,.85fr);align-items:stretch;gap:10px;min-width:0;display:grid}.blade-overlap-controls{grid-column:1/-1}.blade-overlap-controls>h2{margin-bottom:8px}.blade-overlap-card{background:#0a0f0c;border:1px solid #435348;border-radius:9px;padding:9px}.blade-overlap-card+.blade-overlap-card{margin-top:7px}.blade-overlap-card>p{color:#aeb8b3;text-align:center;margin:6px 0;font-size:10px;font-weight:700}.blade-overlap-link{grid-template-columns:14px 1fr auto 1fr 14px;align-items:center;gap:5px;display:grid}.blade-overlap-link i{border-radius:50%;width:14px;height:14px;box-shadow:0 0 9px}.blade-overlap-link span{opacity:.9;height:2px}.blade-overlap-link b{color:#dce5e0;font-size:10px}.blade-front-buttons{grid-template-columns:1fr 1fr;gap:6px;display:grid}.blade-front-buttons button{color:#b7c1bc;background:#101713;border:1px solid #405047;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:38px;font-weight:800;display:flex}.blade-front-buttons button.selected{border-color:var(--green);background:var(--green-soft);color:#fff;box-shadow:0 0 0 2px #6fffb21f}.blade-front-buttons i{border-radius:50%;width:13px;height:13px}.controls{padding:13px 15px}.control-header{justify-content:space-between;align-items:center;gap:15px;display:flex}.control-header h2{margin:0;font-size:18px}.control-actions{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.secondary{color:#bac3be;background:#0d120f;border:1px solid #3a493f;border-radius:7px;min-height:31px;padding:0 9px;font-size:10px}fieldset{border:0;margin:10px 0 0;padding:0}legend{color:var(--muted);margin-bottom:6px;font-size:10px}.color-options{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}.color-options button{color:#9da8a2;background:#0b100d;border:1px solid #344139;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:31px;font-size:10px;display:flex}.color-options button.selected{border-color:var(--green);background:var(--green-soft);color:#fff}.slider-grid{grid-template-columns:repeat(3,1fr);gap:10px 17px;margin-top:11px;display:grid}.global-controls .slider-grid{grid-template-columns:1fr}.debug-controls{z-index:20;gap:5px;width:min(220px,100vw - 20px);display:grid;position:fixed;bottom:10px;right:10px}.experimental-toggle{color:#98a39d;cursor:pointer;opacity:.72;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0b100de6;border:1px solid #344139;border-radius:7px;align-items:flex-start;gap:8px;padding:7px 8px;font-size:10px;display:flex}.experimental-toggle:hover,.experimental-toggle:focus-within{opacity:1}.experimental-toggle input{accent-color:var(--green);margin:2px 0 0}.experimental-toggle span{gap:2px;min-width:0;display:grid}.experimental-toggle small{color:#727d77;font-size:9px;line-height:1.35}.slider-grid label>span{color:#aab3ae;justify-content:space-between;gap:8px;margin-bottom:5px;font-size:10px;display:flex}.slider-grid output{color:var(--green)}input[type=range]{width:100%;accent-color:var(--green)}.finish-bar{border:1px solid var(--line);background:#121914;border-radius:14px;justify-content:space-between;align-items:center;margin-top:10px;padding:9px 13px;display:flex}.finish-bar p{color:var(--muted);margin:0;font-size:11px}.finish{min-width:180px;min-height:39px}.save-link{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.finish-bar .processing-note{color:#d5bd73;margin-top:4px}.finish-bar .error{margin:4px 0 0}.mobile-blade-progress{display:none}.export-modal{z-index:120;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#020403d1;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.export-dialog{text-align:center;background:#111914;border:1px solid #405047;border-radius:18px;justify-items:stretch;gap:13px;width:min(390px,100%);padding:24px;animation:.2s ease-out export-dialog-in;display:grid;box-shadow:0 22px 70px #0000009e}.export-dialog h2{margin:0;font-size:20px}.export-dialog p,.export-dialog small{color:var(--muted);margin:0}.export-dialog progress{width:100%;height:12px;accent-color:var(--green);border:0;border-radius:999px;overflow:hidden}.export-dialog progress::-webkit-progress-bar{background:#263029;border-radius:999px}.export-dialog progress::-webkit-progress-value{background:var(--green);border-radius:999px;transition:width .18s ease-out}.export-spinner{border:4px solid #2c3830;border-top-color:var(--green);border-radius:50%;width:46px;height:46px;margin-inline:auto;animation:.8s linear infinite export-spin}.export-spinner.complete{border-color:var(--green);animation:none}.export-save-link{border-radius:9px;justify-content:center;align-items:center;min-height:48px;text-decoration:none;display:inline-flex}.finish[data-exporting=true]{animation:.28s ease-out export-button-tap}@keyframes export-spin{to{transform:rotate(360deg)}}@keyframes export-dialog-in{0%{opacity:0;transform:scale(.94)}}@keyframes export-button-tap{50%{filter:brightness(1.2);transform:scale(.96)}}.outline-modal{z-index:60;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#020403d6;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.outline-panel{background:#101713;border:1px solid #405047;border-radius:15px;width:min(720px,100%);padding:16px;box-shadow:0 20px 70px #0000008c}.outline-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.outline-header h2{margin:0;font-size:19px}.outline-tabs{grid-template-columns:1fr 1fr;gap:7px;margin:12px 0 9px;display:grid}.outline-tabs button{color:#aab4ae;background:#0b100d;border:1px solid #405047;border-radius:8px;min-height:40px;font-size:14px;font-weight:800}.outline-tabs button.selected{border-color:var(--green);background:var(--green-soft);color:#fff}.outline-stage{aspect-ratio:1;touch-action:none;-webkit-user-select:none;user-select:none;background:#020302;border:1px solid #354139;width:min(100%,58vh);margin-inline:auto;display:block}.outline-polygon{fill:#54ffa61f;stroke:var(--green);stroke-width:2px;vector-effect:non-scaling-stroke;pointer-events:none}.outline-handle{fill:#54ffa614;stroke:var(--green);stroke-width:2px;vector-effect:non-scaling-stroke;cursor:grab;filter:drop-shadow(0 0 4px #54ffa6b3)}.outline-handle.active{fill:#ffffff1f;stroke:#fff;stroke-width:3px;filter:drop-shadow(0 0 6px var(--green))}.outline-nudge{grid-template-columns:auto repeat(4,42px);justify-content:center;align-items:center;gap:6px;margin:9px auto 0;display:grid}.outline-nudge span{color:#a7b1ac;margin-right:4px;font-size:12px}.outline-nudge button{color:#e9efec;touch-action:none;-webkit-user-select:none;user-select:none;background:#0b100d;border:1px solid #405047;border-radius:7px;width:42px;height:34px;font-size:18px;font-weight:800}.outline-nudge button:active{border-color:var(--green);background:var(--green-soft)}.outline-panel>p{color:#a7b1ac;text-align:center;margin:9px 0;font-size:13px}.outline-actions{justify-content:flex-end;gap:8px;display:flex}.outline-actions .primary{min-width:110px;min-height:38px}.finish-adjustments{background:#0b100d;border:1px solid #344139;border-radius:8px;margin:9px 0 0;padding:8px 10px}.finish-adjustments summary{color:#aab4ae;cursor:pointer;font-size:12px;font-weight:800}.finish-adjustment-row{grid-template-columns:48px 1fr;align-items:center;gap:8px;margin-top:8px;display:grid}.finish-adjustment-row>span{color:#8f9a94;font-size:11px}.finish-adjustment-row>div{gap:5px;display:flex}.finish-adjustment-row button{color:#aab4ae;background:#111914;border:1px solid #405047;border-radius:7px;min-height:32px;padding:4px 12px;font-size:11px;font-weight:800}.finish-adjustment-row button.selected{border-color:var(--green);background:var(--green-soft);color:#fff}footer{color:#606a65;justify-content:center;gap:25px;margin-top:auto;padding:32px 0 26px;font-size:10px;display:flex}.editor+footer{padding:10px 0}main:has(.editor) .topbar{min-height:50px}.file-input{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=820px){main{width:min(100% - 20px,1220px)}.privacy{display:none}.preview-grid,.control-layout{grid-template-columns:1fr}.blade-list{grid-template-columns:repeat(2,1fr);gap:7px;display:grid}.control-title{grid-column:1/-1}.blade-select{margin:0}.color-options{grid-template-columns:repeat(3,1fr)}}@media (width<=560px){.hero{padding-top:60px}.editor{padding-top:28px}.editor-heading{align-items:flex-start}.image-stage{aspect-ratio:1}.settings-stack,.slider-grid{grid-template-columns:1fr}.finish-bar{flex-direction:column;align-items:stretch;gap:13px}.finish{width:100%}footer{flex-direction:column;align-items:center;gap:5px}}@media (width>=821px) and (height<=800px){.image-stage{max-height:27vh}.editor-heading .eyebrow{display:none}.editor-heading h1{font-size:28px}.preview-label{height:32px}.hint{min-height:25px;padding-block:5px}}@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}.mobile-preview-tabs,.mobile-workflow,.mobile-step-nav,.mobile-outline-next,.mobile-outline-blades{display:none}.touch-handle-hit,.outline-touch-hit{fill:#0000;stroke:#0000;stroke-width:48px;vector-effect:non-scaling-stroke;pointer-events:none}.zoom-reset{display:none}@media (width<=820px){.blade-count-step{gap:8px;min-height:calc(100dvh - 54px);padding:8px 10px}.blade-count-step .image-stage{max-height:32dvh}.initial-color-settings{gap:5px}.initial-color-row{grid-template-columns:64px 1fr;gap:5px}.initial-color-row>b{font-size:10px}.initial-color-row .color-options{gap:3px}.initial-color-row .color-options button{min-height:34px;padding:3px;font-size:9px}body:has(.editor){height:100dvh;overflow:hidden}main:has(.editor){height:100dvh;min-height:0;overflow:hidden}.editor-heading{display:none}main:has(.editor) .topbar{display:none}main:has(.editor) footer{display:none}.editor{height:100dvh;min-height:0;padding:6px 0 calc(70px + env(safe-area-inset-bottom));flex-direction:column;display:flex;overflow:hidden}.mobile-workflow{flex:none;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:6px;display:grid}.mobile-workflow button{color:#929d97;background:#0b100d;border:1px solid #354139;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-height:44px;font-size:12px;font-weight:800;display:flex}.mobile-workflow small{background:#19201c;border-radius:50%;place-items:center;width:19px;height:19px;font-size:10px;display:grid}.mobile-workflow button.selected{border-color:var(--green);background:var(--green-soft);color:#fff}.mobile-workflow button.selected small{background:var(--green);color:#10160e}.mobile-step-1 .adjust-preview,.mobile-step-3 .result-preview,.mobile-step-4 .result-preview{display:block!important}.position-confirm-bar{display:none}.mobile-workflow button:disabled{opacity:.35;cursor:default}.mobile-step-1 .result-preview,.mobile-step-1 .settings-stack,.mobile-step-1 .finish-bar,.mobile-step-2 .preview-grid,.mobile-step-2 .control-layout,.mobile-step-2 .finish-bar,.mobile-step-3 .adjust-preview,.mobile-step-3 .global-controls,.mobile-step-3 .finish-bar,.mobile-step-4 .adjust-preview,.mobile-step-4 .blade-list,.mobile-step-4 .settings-stack>.controls:not(.global-controls),.debug-controls,.mobile-step-4 .mobile-step-nav{display:none!important}.mobile-step-3 .result-preview,.mobile-step-4 .result-preview{z-index:24;position:relative;top:4px;box-shadow:0 12px 28px #00000080}.mobile-step-1 .preview-grid{flex:auto;min-height:0}.mobile-step-1 .adjust-preview{flex-direction:column;height:100%;display:flex!important}.mobile-step-1 .adjust-preview .image-stage{flex:auto;min-height:0;max-height:none}.mobile-step-1 .control-layout{flex:none;margin-top:6px}.mobile-step-3 .blade-list .control-title{display:none}.mobile-step-3 .preview-grid,.mobile-step-4 .preview-grid{flex:none}.mobile-step-3 .result-preview .image-stage{height:29dvh;max-height:none;aspect-ratio:auto!important;width:100%!important}.mobile-step-4 .result-preview .image-stage{height:40dvh;max-height:none;aspect-ratio:auto!important;width:100%!important}.result-preview .result-stage>canvas{width:auto;max-width:100%;height:auto;max-height:100%;margin:auto;position:absolute;inset:0}.zoom-viewport{touch-action:none;position:relative;overflow:hidden}.zoom-reset{z-index:12;color:#fff;background:#050907d1;border:1px solid #ffffff59;border-radius:8px;min-width:52px;min-height:36px;font-size:11px;font-weight:800;position:absolute;bottom:8px;right:8px}.zoom-viewport.is-zoomed>.zoom-reset{display:block}.outline-zoom-viewport{aspect-ratio:1;touch-action:none;background:#020302;width:min(100%,58dvh);min-height:0;margin-inline:auto;position:relative;overflow:hidden}.outline-zoom-viewport .outline-stage{width:100%;height:100%;margin:0}.mobile-step-3 .control-layout,.mobile-step-4 .control-layout{flex:auto;min-height:0;margin-top:6px;overflow:hidden}.mobile-step-3 .settings-stack,.mobile-step-4 .settings-stack{min-height:0;margin-top:6px}.mobile-step-3 .controls,.mobile-step-4 .controls{min-height:0;overflow:hidden}.mobile-step-3 .controls{padding-block:8px}.mobile-step-3 .control-header{flex-direction:row;margin-bottom:2px}.mobile-step-3 .control-actions,.mobile-step-3 .controls .eyebrow,.mobile-step-4 .controls .eyebrow,.mobile-step-3 .selected-blade-heading{display:none}.mobile-step-3 fieldset{margin-top:2px}.mobile-step-3 .color-options{grid-template-columns:repeat(6,1fr);gap:4px}.mobile-step-3 .color-options button{min-height:36px;padding:0 3px}.mobile-step-3 .slider-grid,.mobile-step-4 .slider-grid{gap:5px;margin-top:6px}.mobile-step-3 input[type=range],.mobile-step-4 input[type=range]{min-height:28px}.mobile-step-3 .result-preview .hint,.mobile-step-4 .result-preview .hint{display:none}.mobile-step-nav{z-index:36;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border:1px solid var(--line);background:#121914;border-radius:14px 14px 0 0;grid-template-columns:1fr 2fr;gap:8px;display:grid;position:fixed;bottom:0;left:8px;right:8px;box-shadow:0 -12px 35px #0000008c}.mobile-step-nav button{min-height:48px}.mobile-step-nav button:disabled{opacity:.35}.mobile-outline-next{justify-content:center;align-items:center;display:inline-flex}.mobile-outline-blades{gap:6px;margin-top:10px;display:flex;overflow-x:auto}.mobile-outline-blades button{color:#aab4ae;background:#0b100d;border:1px solid #405047;border-radius:8px;min-width:120px;min-height:42px;font-size:12px;font-weight:800}.mobile-outline-blades button.selected{border-color:var(--green);background:var(--green-soft);color:#fff}.outline-actions>.primary:not(.mobile-outline-next){display:none}html.drag-locked,html.drag-locked body{overscroll-behavior:none}html,body,main{min-height:100dvh}main{width:min(100% - 16px,1220px)}.topbar{min-height:52px}.editor{padding-top:10px;padding-bottom:calc(82px + env(safe-area-inset-bottom))}.editor-heading{margin-bottom:8px}.editor-heading .eyebrow{display:none}.editor-heading h1{font-size:25px}.mobile-preview-tabs{grid-template-columns:1fr 1fr;gap:6px;margin-bottom:7px;display:grid}.mobile-preview-tabs button{color:#aab4ae;background:#0b100d;border:1px solid #354139;border-radius:8px;min-height:44px;font-size:14px;font-weight:800}.mobile-preview-tabs button.selected{border-color:var(--green);background:var(--green-soft);color:#fff}.preview-grid{display:block}.preview-card.compact-hidden{display:none}.preview-card .image-stage{max-height:min(58dvh,620px);width:100%!important}.preview-label{height:40px;font-size:13px}.preview-label-action{min-height:32px;padding-inline:12px;font-size:11px}.hint{min-height:30px;padding-block:6px;font-size:11px}.control-layout{display:block}.blade-list{scrollbar-width:thin;align-items:stretch;gap:6px;padding:8px;display:flex;overflow-x:auto}.control-title{border-right:1px solid var(--line);border-bottom:0;min-width:150px;padding:3px 8px 3px 2px}.blade-select{min-width:148px;min-height:48px;margin:0}.settings-stack{grid-template-columns:1fr;margin-top:8px}.controls{padding:12px}.control-header{flex-direction:column;align-items:flex-start}.control-actions{grid-template-columns:repeat(3,1fr);width:100%;display:grid}.secondary,.color-options button{min-height:44px}.slider-grid{grid-template-columns:1fr;gap:16px}input[type=range]{min-height:36px}.finish-bar{z-index:35;padding:8px 10px calc(8px + env(safe-area-inset-bottom));margin:0;position:fixed;bottom:0;left:8px;right:8px;box-shadow:0 -12px 35px #0000008c}.finish-bar p{display:none}.finish{width:100%;min-height:48px}.outline-modal{padding:0}.outline-panel{width:100%;min-height:100dvh;padding:max(12px, env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));border:0;border-radius:0;flex-direction:column;justify-content:center;display:flex}.outline-panel:has(.finish-adjustments[open]) .outline-zoom-viewport{width:min(100%,43dvh)}.finish-adjustments{flex:none}.outline-stage{width:min(100%,62dvh)}.outline-nudge{grid-template-columns:1fr repeat(4,48px)}.outline-nudge button{width:48px;height:48px}.outline-actions button{min-height:48px}.editor{padding:6px 0 calc(70px + env(safe-area-inset-bottom))}.mobile-preview-tabs{display:none}}@media (width<=480px){main{width:calc(100% - 10px)}.brand{font-size:11px}.preview-card .image-stage{max-height:52dvh}.control-actions{grid-template-columns:1fr}.color-options{grid-template-columns:repeat(3,1fr)}.outline-nudge{grid-template-columns:repeat(4,1fr)}.outline-nudge span{text-align:center;grid-column:1/-1}}@media (pointer:coarse){.touch-handle-hit,.outline-touch-hit{pointer-events:stroke}.line-hit{stroke-width:36px}button,input[type=range]{touch-action:manipulation}}main.input-touch .touch-handle-hit,main.input-touch .outline-touch-hit{pointer-events:stroke}main.input-touch .line-hit{stroke-width:36px}@media (width<=820px){body:has(.editor){height:var(--app-viewport-height,100dvh);max-height:var(--app-viewport-height,100dvh)}main:has(.editor){height:var(--app-viewport-height,100dvh);max-height:var(--app-viewport-height,100dvh)}main:has(.editor) .editor{height:var(--app-viewport-height,100dvh);max-height:var(--app-viewport-height,100dvh)}main:has(.editor){position:relative}main:has(.editor) .editor{padding-bottom:calc(72px + env(safe-area-inset-bottom));position:relative}.mobile-step-nav,.finish-bar{position:absolute}.mobile-step-3 .control-layout,.mobile-step-4 .control-layout{overscroll-behavior:contain;scrollbar-width:none;overflow:hidden auto}.mobile-step-3 .control-layout::-webkit-scrollbar{display:none}.mobile-step-4 .control-layout::-webkit-scrollbar{display:none}.mobile-step-3 .result-preview .image-stage{height:clamp(116px,27dvh,230px)}.mobile-step-4 .result-preview .image-stage{height:clamp(130px,35dvh,290px)}.outline-modal,.outline-panel{height:var(--app-viewport-height,100dvh);min-height:0;max-height:var(--app-viewport-height,100dvh)}.outline-panel{justify-content:flex-start;overflow:hidden}.outline-header,.mobile-outline-blades,.outline-tabs,.outline-nudge,.finish-adjustments,.outline-panel>p,.outline-actions{flex:none}.outline-zoom-viewport{width:min(100%,52dvh);max-height:min(52dvh, calc(var(--app-viewport-height,100dvh) - 290px));flex:120px}.outline-actions{margin-top:auto}}@media (width<=820px) and (height<=700px){.mobile-workflow button{min-height:38px}.preview-label{height:32px}.mobile-step-3 .result-preview .image-stage{height:20dvh}.mobile-step-4 .result-preview .image-stage{height:27dvh}.mobile-step-3 .controls,.mobile-step-4 .controls{padding-block:6px}.outline-panel{padding-top:max(6px, env(safe-area-inset-top))}.outline-zoom-viewport{max-height:calc(var(--app-viewport-height,100dvh) - 270px)}}@media (width<=820px){.mobile-step-4 .editor{padding-bottom:calc(96px + env(safe-area-inset-bottom))}.mobile-step-4 .finish-bar{z-index:80;right:10px;bottom:max(16px, env(safe-area-inset-bottom));pointer-events:auto;isolation:isolate;padding-bottom:8px;left:10px}.mobile-step-4 .finish-bar,.mobile-step-4 .finish-bar *{pointer-events:auto}.mobile-step-4 .finish:active{filter:brightness(1.14);transform:scale(.985)}.mobile-step-4 .mobile-step-nav,.mobile-step-4 .debug-controls{pointer-events:none!important}.mobile-blade-progress{color:#dbe5df;white-space:nowrap;margin-left:auto;font-size:11px}.adjust-preview .preview-label-action{margin-left:6px}.export-modal{height:var(--app-viewport-height,100dvh);padding:max(14px, env(safe-area-inset-top)) 14px max(20px, env(safe-area-inset-bottom))}}
