/*! tailwindcss v4.3.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-border-style:solid;--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;--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{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.static{position:static}.contents{display:contents}.flex{display:flex}.hidden{display:none}.table{display:table}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.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{--background:#f6f6f4;--foreground:#22212a;--card:#fff;--card-foreground:#25232c;--muted:#f3f2f6;--muted-foreground:#8e8c9a;--primary:#7055ec;--primary-hover:#5e43d5;--primary-foreground:#fff;--accent:#eeeafc;--accent-foreground:#5943bf;--border:#eae9ee;--ring:#a898f4;--destructive:#c4485d;--destructive-foreground:#fff;--sidebar:#191922;--sidebar-foreground:#f8f7fb;--sidebar-muted:#9998a7;--sidebar-hover:#292832;--sidebar-border:#363540;--popover:#fff;--popover-foreground:#24222d;--success:#369476;--success-soft:#eaf7f1;--danger-soft:#fff0f2;--canvas:#eae9ee;--canvas-grid:#d9d7df;--white:#fff;--black:#111018;--overlay:#181722b8;--warm:#f6e8d5}*{box-sizing:border-box}html{min-width:320px}body{background:var(--background);color:var(--foreground);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.app-shell{min-height:100vh;display:flex}.sidebar{background:var(--sidebar);width:254px;height:100vh;min-height:100vh;color:var(--sidebar-foreground);z-index:30;flex-direction:column;flex:0 0 254px;justify-content:space-between;padding:30px 15px 18px;display:flex;position:sticky;top:0}.sidebar-top{min-width:0}.brand{letter-spacing:-1.8px;align-items:center;gap:9px;padding-left:13px;font-size:24px;font-weight:800;line-height:1;display:inline-flex}.brand-symbol{background:var(--primary);width:34px;height:34px;color:var(--primary-foreground);box-shadow:0 5px 18px var(--primary);border-radius:10px;place-items:center;display:grid}@supports (color:color-mix(in lab, red, red)){.brand-symbol{box-shadow:0 5px 18px color-mix(in srgb, var(--primary) 38%, transparent)}}.brand-dot{color:var(--primary)}.workspace-switch{border:1px solid var(--sidebar-border);border-radius:11px;align-items:center;gap:10px;margin:46px 0 34px;padding:10px;display:flex}.workspace-icon{background:var(--primary);height:32px;color:var(--primary-foreground);border-radius:9px;flex:0 0 32px;place-items:center;font-weight:800;display:grid}.workspace-switch>span:nth-child(2){flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.workspace-switch strong{font-size:12px;font-weight:650}.workspace-switch small,.account-copy small{color:var(--sidebar-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.workspace-switch>svg{color:var(--sidebar-muted)}.nav-caption{color:var(--sidebar-muted);letter-spacing:.16em;margin-bottom:13px;padding:0 13px;font-size:10px;font-weight:750}.nav-caption-secondary{margin-top:35px}.side-nav{flex-direction:column;gap:4px;display:flex}.nav-item,.new-project-link{min-height:43px;color:var(--sidebar-muted);border-radius:9px;align-items:center;gap:13px;padding:0 13px;font-weight:560;transition:background .2s,color .2s;display:flex}.nav-item:hover,.new-project-link:hover{background:var(--sidebar-hover);color:var(--sidebar-foreground)}.nav-active{background:var(--primary)}@supports (color:color-mix(in lab, red, red)){.nav-active{background:color-mix(in srgb, var(--primary) 19%, var(--sidebar))}}.nav-active{color:var(--sidebar-foreground)}.nav-active svg{color:var(--ring)}.new-project-link{border:1px solid var(--sidebar-border);color:var(--sidebar-foreground)}.new-project-link svg:last-child{color:var(--sidebar-muted);margin-left:auto}.sidebar-bottom{flex-direction:column;gap:17px;display:flex}.source-link{border:1px solid var(--sidebar-border);width:100%;color:var(--sidebar-foreground);text-align:left;background:0 0;border-radius:9px;align-items:center;gap:10px;padding:11px 12px;font-size:11px;font-weight:650;display:flex}.source-link:hover{background:var(--sidebar-hover)}.source-link svg{color:var(--ring)}.sidebar-tip{background:linear-gradient(145deg, var(--primary), var(--primary))}@supports (color:color-mix(in lab, red, red)){.sidebar-tip{background:linear-gradient(145deg, color-mix(in srgb, var(--primary) 29%, var(--sidebar)), color-mix(in srgb, var(--primary) 8%, var(--sidebar)))}}.sidebar-tip{border:1px solid var(--primary)}@supports (color:color-mix(in lab, red, red)){.sidebar-tip{border:1px solid color-mix(in srgb, var(--primary) 28%, var(--sidebar-border))}}.sidebar-tip{border-radius:13px;padding:17px}.tip-icon{background:var(--primary);border-radius:8px;place-items:center;width:29px;height:29px;display:grid}@supports (color:color-mix(in lab, red, red)){.tip-icon{background:color-mix(in srgb, var(--primary) 45%, transparent)}}.tip-icon{color:var(--sidebar-foreground);margin-bottom:14px}.sidebar-tip strong{font-size:13px;display:block}.sidebar-tip p{color:var(--sidebar-foreground)}@supports (color:color-mix(in lab, red, red)){.sidebar-tip p{color:color-mix(in srgb, var(--sidebar-foreground) 65%, transparent)}}.sidebar-tip p{margin:6px 0 15px;font-size:11px;line-height:1.5}.sidebar-tip a{color:var(--sidebar-foreground);align-items:center;gap:5px;font-size:11px;font-weight:700;display:inline-flex}.account-button{border:0;border-top:1px solid var(--sidebar-border);color:var(--sidebar-foreground);text-align:left;background:0 0;align-items:center;gap:9px;width:100%;padding:16px 4px 0;display:flex}.account-button:hover{opacity:.8}.avatar{background:var(--warm);height:31px;color:var(--foreground);border-radius:50%;flex:0 0 31px;place-items:center;font-weight:750;display:grid}.account-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.account-copy strong{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.account-button>svg{color:var(--sidebar-muted)}.mobile-header{display:none}.app-main{flex:1;min-width:0}.page{max-width:1590px;min-height:100vh;margin:0 auto;padding:45px 45px 22px}.page-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:31px;display:flex}.eyebrow,.mini-eyebrow{color:var(--primary);letter-spacing:.15em;align-items:center;gap:8px;font-size:10px;font-weight:800;display:flex}.eyebrow-dot,.online-dot{background:var(--primary);border-radius:50%;width:7px;height:7px;display:inline-block}.page-header h1{letter-spacing:-.045em;margin:11px 0 7px;font-size:clamp(29px,3vw,38px);font-weight:760;line-height:1.18}.page-header p{color:var(--muted-foreground);margin:0;font-size:13px}.header-actions{align-items:center;gap:10px;display:flex}.header-badge{background:var(--card);border:1px solid var(--border);color:var(--muted-foreground);white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:9px 12px;font-size:11px;display:flex}.online-dot{background:var(--success);box-shadow:0 0 0 3px var(--success-soft);width:6px;height:6px}.btn{white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:0 16px;font-size:12px;font-weight:700;transition:transform .2s,box-shadow .2s,background .2s;display:inline-flex}.btn:hover:not(:disabled){box-shadow:0 8px 20px var(--black);transform:translateY(-2px)}@supports (color:color-mix(in lab, red, red)){.btn:hover:not(:disabled){box-shadow:0 8px 20px color-mix(in srgb, var(--black) 10%, transparent)}}.btn:active:not(:disabled){transform:scale(.98)}.btn:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.btn-primary{background:var(--primary);color:var(--primary-foreground);box-shadow:0 5px 13px var(--primary)}@supports (color:color-mix(in lab, red, red)){.btn-primary{box-shadow:0 5px 13px color-mix(in srgb, var(--primary) 21%, transparent)}}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-outline{background:var(--card);color:var(--foreground);border-color:var(--border)}.btn-outline:hover:not(:disabled){background:var(--muted)}.btn-danger{background:var(--destructive);color:var(--destructive-foreground)}.btn-danger:hover:not(:disabled){background:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.btn-danger:hover:not(:disabled){background:color-mix(in srgb, var(--destructive) 85%, var(--black))}}.btn-small{min-height:35px;padding:0 12px;font-size:11px}.panel{background:var(--card);color:var(--card-foreground);border:1px solid var(--border);box-shadow:0 4px 18px var(--black);border-radius:15px}@supports (color:color-mix(in lab, red, red)){.panel{box-shadow:0 4px 18px color-mix(in srgb, var(--black) 3%, transparent)}}.studio-layout{grid-template-columns:minmax(330px,396px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.composer{padding:21px}.panel-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.panel-title,.preview-heading{align-items:center;gap:10px;min-width:0;display:flex}.panel-icon{background:var(--primary);width:35px;height:35px;color:var(--primary-foreground);border-radius:10px;flex:0 0 35px;place-items:center;display:grid}.panel-icon-soft{background:var(--accent);color:var(--accent-foreground)}.panel-title h2,.preview-heading h2{letter-spacing:-.02em;margin:0 0 3px;font-size:14px;font-weight:750}.panel-title p,.preview-heading p{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:11px;overflow:hidden}.step-chip{background:var(--muted);color:var(--muted-foreground);letter-spacing:.07em;white-space:nowrap;border-radius:5px;padding:6px 8px;font-size:9px;font-weight:760}.mode-tabs{background:var(--muted);border-radius:9px;margin:27px 0 24px;padding:4px;display:flex}.mode-tabs button{width:50%;min-height:35px;color:var(--muted-foreground);background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:7px;font-size:12px;font-weight:700;display:flex}.mode-tabs button:hover:not(:disabled){color:var(--foreground)}.mode-tabs .mode-active{background:var(--card);color:var(--primary);box-shadow:0 2px 8px var(--black)}@supports (color:color-mix(in lab, red, red)){.mode-tabs .mode-active{box-shadow:0 2px 8px color-mix(in srgb, var(--black) 6%, transparent)}}.field-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.field-heading label,.field-label{font-size:12px;font-weight:720}.field-heading>span:last-child:not(.field-label){letter-spacing:.12em;color:var(--muted-foreground);font-size:9px;font-weight:800}.optional{color:var(--muted-foreground);font-weight:450}.prompt-wrap{position:relative}textarea,.dimension-fields input,.dimension-fields select,.exact-input input,.auth-form input,.search-field input{border:1px solid var(--border);background:var(--card);color:var(--foreground);border-radius:9px;outline:0}textarea:focus,.dimension-fields input:focus,.dimension-fields select:focus,.exact-input input:focus,.auth-form input:focus,.search-field:focus-within{border-color:var(--ring);box-shadow:0 0 0 3px var(--ring)}@supports (color:color-mix(in lab, red, red)){textarea:focus,.dimension-fields input:focus,.dimension-fields select:focus,.exact-input input:focus,.auth-form input:focus,.search-field:focus-within{box-shadow:0 0 0 3px color-mix(in srgb, var(--ring) 23%, transparent)}}textarea::placeholder,input::placeholder{color:var(--muted-foreground)}textarea{resize:vertical;width:100%;min-height:129px;padding:13px 14px 30px;font-size:12px;line-height:1.65;display:block}textarea[aria-invalid=true],.auth-form input[aria-invalid=true]{border-color:var(--destructive)}.prompt-sparkle{color:var(--primary);position:absolute;bottom:12px;right:13px}.field-hint{color:var(--muted-foreground);margin:8px 0 0;font-size:11px}.section-divider{border-top:1px solid var(--border);margin:22px 0}.upload-box{border:1px dashed var(--primary);align-items:center;gap:11px;width:100%;min-height:77px;padding:13px;display:flex}@supports (color:color-mix(in lab, red, red)){.upload-box{border:1px dashed color-mix(in srgb, var(--primary) 27%, var(--border))}}.upload-box{background:var(--accent);border-radius:9px}@supports (color:color-mix(in lab, red, red)){.upload-box{background:color-mix(in srgb, var(--accent) 35%, var(--card))}}.upload-box{cursor:pointer}.upload-box:hover{background:var(--accent)}.upload-box:focus-within{outline:2px solid var(--ring);outline-offset:2px}.upload-box input{opacity:0;width:1px;height:1px;position:absolute}.upload-icon{background:var(--card);width:36px;height:36px;color:var(--primary);border:1px solid var(--border);border-radius:8px;flex:0 0 36px;place-items:center;display:grid}.upload-box>span:nth-of-type(2){flex-direction:column;gap:4px;min-width:0;display:flex}.upload-box strong{color:var(--foreground);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.upload-box small{color:var(--muted-foreground);font-size:10px}.upload-filled{border-color:var(--success);background:var(--success-soft)}.upload-ready{color:var(--success);margin-left:auto;font-size:12px;font-weight:800}.text-action{color:var(--muted-foreground);background:0 0;border:0;align-items:center;gap:4px;font-size:11px;display:inline-flex}.text-action:hover{color:var(--destructive)}.remove-source{margin-top:8px}.select-wrap{border:1px solid var(--border);height:41px;color:var(--muted-foreground);border-radius:9px;align-items:center;gap:9px;padding:0 12px;display:flex;position:relative}.select-wrap:focus-within{border-color:var(--ring);box-shadow:0 0 0 3px var(--ring)}@supports (color:color-mix(in lab, red, red)){.select-wrap:focus-within{box-shadow:0 0 0 3px color-mix(in srgb, var(--ring) 23%, transparent)}}.select-wrap select{appearance:none;color:var(--foreground);background:0 0;border:0;outline:0;flex:1;min-width:0;height:100%;font-size:11px;font-weight:600}.select-wrap select optgroup,.select-wrap select option{color:var(--foreground);background:var(--card)}.advanced-toggle{color:var(--primary);background:0 0;border:0;align-items:center;gap:4px;padding:10px 0 0;font-size:11px;font-weight:650;display:flex}.rotate{transform:rotate(180deg)}.dimension-fields{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:11px;display:grid}.dimension-fields>div{min-width:0}.dimension-fields label,.exact-input label{color:var(--muted-foreground);margin-bottom:5px;font-size:10px;font-weight:700;display:block}.dimension-fields input,.dimension-fields select{width:100%;height:36px;padding:0 6px;font-size:11px}.dimension-hint{color:var(--muted-foreground);margin:10px 0 0;font-size:10px;line-height:1.5}.inline-error,.field-error{background:var(--danger-soft);color:var(--destructive);overflow-wrap:anywhere;border-radius:8px;margin:12px 0;padding:9px 11px;font-size:12px;line-height:1.5}.create-button{justify-content:center;width:100%;height:47px;margin-top:21px;font-size:12px}.button-end,.create-button>svg:first-child{margin-left:auto}.credit-note{color:var(--muted-foreground);justify-content:center;align-items:center;gap:6px;margin-top:12px;font-size:10px;display:flex}.preview-column{flex-direction:column;gap:16px;min-width:0;display:flex}.preview-panel{overflow:visible}.preview-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:17px 20px;display:flex}.preview-actions{align-items:center;display:flex}.export-wrap{position:relative}.export-menu{background:var(--popover);width:205px;color:var(--popover-foreground);border:1px solid var(--border);box-shadow:0 14px 30px var(--black);border-radius:10px;position:absolute;top:calc(100% + 8px);right:0}@supports (color:color-mix(in lab, red, red)){.export-menu{box-shadow:0 14px 30px color-mix(in srgb, var(--black) 14%, transparent)}}.export-menu{z-index:15;padding:7px;animation:.18s ease-out appear}.export-menu-caption{letter-spacing:.12em;color:var(--muted-foreground);padding:8px 9px;font-size:9px;font-weight:800}.export-menu button{text-align:left;width:100%;min-height:36px;color:var(--foreground);background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:6px 8px;display:flex}.export-menu button:hover{background:var(--accent)}.export-menu button>svg{color:var(--primary)}.export-menu button span{font-size:11px;font-weight:750}.export-menu button small{color:var(--muted-foreground);margin-left:auto;font-size:12px}.canvas-area{background-color:var(--canvas);background-image:linear-gradient(45deg, var(--canvas-grid) 25%, transparent 25%), linear-gradient(-45deg, var(--canvas-grid) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--canvas-grid) 75%), linear-gradient(-45deg, transparent 75%, var(--canvas-grid) 75%);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px;justify-content:center;align-items:center;min-height:499px;padding:30px;display:flex;position:relative;overflow:hidden}.sample-frame{width:min(335px,85%);height:431px;box-shadow:0 20px 50px var(--black)}@supports (color:color-mix(in lab, red, red)){.sample-frame{box-shadow:0 20px 50px color-mix(in srgb, var(--black) 24%, transparent)}}.sample-frame{background:var(--sidebar);position:relative;overflow:hidden;transform:rotate(-2deg)}.sample-frame>img{object-fit:cover;filter:brightness(.63)saturate(.65);width:100%;height:100%}.sample-overlay{color:var(--white);background:linear-gradient(180deg, var(--black), transparent 45%, var(--black));flex-direction:column;justify-content:space-between;padding:31px 25px 29px;display:flex;position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){.sample-overlay{background:linear-gradient(180deg, color-mix(in srgb, var(--black) 12%, transparent), transparent 45%, color-mix(in srgb, var(--black) 43%, transparent))}}.sample-overlay>span{letter-spacing:.19em;font-size:9px;font-weight:700}.sample-overlay strong{letter-spacing:-.075em;font-size:clamp(35px,4vw,51px);font-weight:800;line-height:1.04}.sample-overlay em{letter-spacing:-.07em;font-family:Georgia,serif;font-weight:400}.sample-tag{letter-spacing:.13em;color:var(--white);transform-origin:100% 100%;font-size:8px;font-weight:800;position:absolute;bottom:13px;right:-3px;transform:rotate(-90deg)translate(100%)}.output-frame{place-items:center;max-width:100%;max-height:460px;display:grid;position:relative}.output-image{object-fit:contain;max-width:100%;max-height:455px;box-shadow:0 18px 42px var(--black);display:block}@supports (color:color-mix(in lab, red, red)){.output-image{box-shadow:0 18px 42px color-mix(in srgb, var(--black) 20%, transparent)}}.output-image{background:var(--muted)}.image-corner{border-color:var(--white);border-style:solid;width:11px;height:11px;position:absolute}.top-left{border-width:2px 0 0 2px;top:-7px;left:-7px}.top-right{border-width:2px 2px 0 0;top:-7px;right:-7px}.bottom-left{border-width:0 0 2px 2px;bottom:-7px;left:-7px}.bottom-right{border-width:0 2px 2px 0;bottom:-7px;right:-7px}.canvas-skeleton{background:var(--muted);border-radius:5px;width:min(335px,80%);height:420px;animation:1.6s infinite pulse}.processing-overlay{background:var(--overlay);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--white);text-align:center;z-index:5;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:25px;display:flex;position:absolute;inset:0}.processing-orb{background:var(--primary);width:67px;height:67px;box-shadow:0 0 50px var(--primary);border-radius:20px;place-items:center;margin-bottom:10px;display:grid}@supports (color:color-mix(in lab, red, red)){.processing-orb{box-shadow:0 0 50px color-mix(in srgb, var(--primary) 55%, transparent)}}.processing-orb{animation:1.7s infinite pulse}.processing-overlay strong{letter-spacing:-.03em;font-size:18px}.processing-overlay>span{max-width:290px;color:var(--white);font-size:12px;line-height:1.5}@supports (color:color-mix(in lab, red, red)){.processing-overlay>span{color:color-mix(in srgb, var(--white) 73%, transparent)}}.processing-line{background:var(--white);border-radius:10px;width:150px;height:3px}@supports (color:color-mix(in lab, red, red)){.processing-line{background:color-mix(in srgb, var(--white) 22%, transparent)}}.processing-line{margin-top:12px;overflow:hidden}.processing-line i{background:var(--ring);border-radius:10px;width:40%;height:100%;animation:1.4s ease-in-out infinite alternate indeterminate;display:block}.canvas-footer{min-height:47px;color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:10px;padding:0 20px;font-size:10px;font-weight:650;display:flex}.canvas-footer>span:first-child{letter-spacing:.09em;align-items:center;gap:7px;display:flex}.print-note{border-top:1px solid var(--border);color:var(--muted-foreground);padding:10px 20px;font-size:11px;line-height:1.45}.status-dot{background:var(--muted-foreground);border-radius:50%;width:6px;height:6px}.status-ready{background:var(--success)}.inspiration-strip{justify-content:space-between;align-items:center;gap:20px;padding:9px 2px;display:flex}.inspiration-strip h2{letter-spacing:-.025em;margin:6px 0 0;font-size:15px}.inspiration-chips{flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:370px;display:flex}.inspiration-chips span{border:1px solid var(--border);background:var(--card);color:var(--muted-foreground);border-radius:99px;padding:7px 9px;font-size:10px}.refine-panel,.history-panel{padding:19px 20px}.refine-heading,.history-heading{justify-content:space-between;align-items:center;display:flex}.refine-heading h2,.history-heading h2{letter-spacing:-.025em;margin:5px 0 0;font-size:15px}.refine-heading>svg{color:var(--primary)}.refine-panel>p,.history-heading p{color:var(--muted-foreground);margin:7px 0 0;font-size:11px}.exact-row{align-items:end;gap:10px;margin-top:17px;display:flex}.exact-input{flex:1;min-width:0}.exact-input label{color:var(--foreground);font-size:11px}.exact-input input{width:100%;height:40px;padding:0 11px;font-size:12px}.exact-note{color:var(--muted-foreground);margin-top:8px;font-size:10px;line-height:1.5;display:block}.crop-action{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding-top:15px;display:flex}.crop-action span{color:var(--muted-foreground);max-width:270px;font-size:11px;line-height:1.5}.crop-action .btn{flex:none}.plus-symbol{font-size:18px;font-weight:400;line-height:1}.history-count{background:var(--muted);color:var(--muted-foreground);white-space:nowrap;border-radius:8px;padding:7px 9px;font-size:10px}.version-list{border-top:1px solid var(--border);margin-top:16px}.version-row{border:0;border-bottom:1px solid var(--border);text-align:left;width:100%;color:var(--foreground);background:0 0;border-radius:5px;align-items:center;gap:12px;padding:11px 9px;display:flex}.version-row:hover:not(:disabled){background:var(--muted)}.version-selected{background:var(--accent);outline:1px solid var(--ring)}.version-number{background:var(--muted);color:var(--primary);border-radius:6px;flex:0 0 28px;place-items:center;width:28px;height:28px;font-size:10px;font-weight:800;display:grid}.version-info{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.version-info strong{font-size:11px}.version-info small{color:var(--muted-foreground);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.version-meta{flex-direction:column;flex:none;align-items:flex-end;gap:3px;display:flex}.version-meta small{color:var(--muted-foreground);font-size:10px}.version-status{color:var(--muted-foreground);letter-spacing:.04em;font-size:9px;font-weight:800}.version-completed{color:var(--success)}.version-failed{color:var(--destructive)}.page-footer{color:var(--muted-foreground);letter-spacing:.13em;justify-content:space-between;padding-top:28px;font-size:9px;font-weight:720;display:flex}.collection-page{max-width:1430px}.collection-tools{justify-content:space-between;align-items:end;gap:20px;margin:34px 0 19px;display:flex}.collection-tools h2{letter-spacing:-.03em;margin:0 0 4px;font-size:17px}.collection-tools h2 span{color:var(--primary);background:var(--accent);border-radius:6px;margin-left:3px;padding:4px 7px;font-size:11px}.collection-tools p{color:var(--muted-foreground);margin:0;font-size:11px}.search-field{background:var(--card);border:1px solid var(--border);color:var(--muted-foreground);border-radius:9px;align-items:center;gap:8px;padding:0 11px;display:flex}.search-field input{border:0;outline:0;width:205px;height:38px;font-size:11px}.search-field input:focus{box-shadow:none}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.project-card{background:var(--card);border:1px solid var(--border);box-shadow:0 3px 14px var(--black);border-radius:13px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.project-card{box-shadow:0 3px 14px color-mix(in srgb, var(--black) 3%, transparent)}}.project-card{transition:transform .2s,box-shadow .2s}.project-card:hover{box-shadow:0 10px 24px var(--black);transform:translateY(-3px)}@supports (color:color-mix(in lab, red, red)){.project-card:hover{box-shadow:0 10px 24px color-mix(in srgb, var(--black) 9%, transparent)}}.project-image-link{background:var(--muted);height:200px;display:block;position:relative;overflow:hidden}.project-image-link img{object-fit:cover;width:100%;height:100%;display:block}.project-image-arrow{background:var(--card);width:30px;height:30px;color:var(--foreground);border-radius:8px;place-items:center;display:grid;position:absolute;bottom:13px;right:13px}.project-placeholder{width:100%;height:100%;color:var(--primary);background:var(--accent);place-items:center;display:grid}.project-card-body{padding:17px}.project-card-header{justify-content:space-between;align-items:center;display:flex}.project-type{color:var(--primary);letter-spacing:.12em;font-size:9px;font-weight:800}.icon-button{color:var(--muted-foreground);background:0 0;border:0;border-radius:7px;place-items:center;padding:6px;display:inline-grid}.icon-button:hover{background:var(--muted);color:var(--foreground)}.delete-button:hover{color:var(--destructive);background:var(--danger-soft)}.project-title{letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;margin:6px 0;font-size:16px;font-weight:750;display:block;overflow:hidden}.project-title:hover{color:var(--primary)}.project-card-body>p{color:var(--muted-foreground);height:33px;margin:0;font-size:11px;line-height:1.5;overflow:hidden}.project-card-footer{border-top:1px solid var(--border);color:var(--muted-foreground);justify-content:space-between;margin-top:15px;padding-top:12px;font-size:10px;display:flex}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:420px;padding:30px;display:flex}.empty-icon{background:var(--accent);width:64px;height:64px;color:var(--primary);border-radius:20px;place-items:center;margin-bottom:18px;display:grid}.empty-state h2,.not-found h1{letter-spacing:-.04em;margin:0 0 8px;font-size:22px}.empty-state p,.not-found p{color:var(--muted-foreground);max-width:340px;margin:0 0 22px;font-size:12px;line-height:1.55}.not-found{text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.skeleton-visual{background:var(--muted);height:200px;animation:1.6s infinite pulse}.skeleton-card{padding-bottom:20px}.skeleton-line{background:var(--muted);border-radius:5px;height:13px;margin:17px;animation:1.6s infinite pulse}.skeleton-line.short{width:55%}.usage-stats{grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0;display:grid}.stat-card{flex-direction:column;gap:8px;padding:22px;display:flex}.stat-card span{letter-spacing:.13em;color:var(--muted-foreground);font-size:10px;font-weight:800}.stat-card strong{letter-spacing:-.05em;font-size:34px;line-height:1}.stat-card small{color:var(--muted-foreground);font-size:11px}.usage-panel{overflow:hidden}.usage-head{justify-content:space-between;align-items:center;padding:21px;display:flex}.usage-head h2{margin:0;font-size:15px}.usage-head span{color:var(--muted-foreground);font-size:11px}.usage-table-wrap{overflow-x:auto}.usage-table{border-collapse:collapse;text-align:left;width:100%;min-width:620px}.usage-table th{background:var(--muted);color:var(--muted-foreground);letter-spacing:.08em;padding:13px 20px;font-size:10px;position:sticky;top:0}.usage-table td{border-top:1px solid var(--border);padding:16px 20px;font-size:12px}.usage-table tbody tr:hover{background:var(--muted)}.usage-table td a{font-weight:700}.usage-table td a:hover{color:var(--primary)}.usage-table td small{color:var(--muted-foreground);margin-top:3px;font-size:10px;display:block}.usage-status{align-items:center;gap:5px;font-size:10px;font-weight:750;display:inline-flex}.usage-success{color:var(--success)}.usage-failure{color:var(--destructive)}.usage-disclaimer{color:var(--muted-foreground);margin-top:15px;font-size:11px}.dialog-backdrop{z-index:80;background:var(--overlay);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);justify-content:center;align-items:center;padding:18px;animation:.2s ease-out fade;display:flex;position:fixed;inset:0}.dialog-panel{background:var(--popover);width:min(100%,430px);max-height:min(92vh,800px);color:var(--popover-foreground);box-shadow:0 24px 80px var(--black);border-radius:16px;padding:24px;overflow-y:auto}@supports (color:color-mix(in lab, red, red)){.dialog-panel{box-shadow:0 24px 80px color-mix(in srgb, var(--black) 25%, transparent)}}.dialog-panel{animation:.2s ease-out appear}.dialog-wide{width:min(100%,680px)}.dialog-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.dialog-heading h2{letter-spacing:-.04em;margin:0;font-size:20px}.dialog-body-copy{color:var(--muted-foreground);margin:17px 0 24px;font-size:13px;line-height:1.65}.dialog-body-copy strong{color:var(--foreground)}.dialog-actions{justify-content:flex-end;gap:9px;display:flex}.archive-info{background:var(--muted);border-radius:10px;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px;padding:14px;display:grid}.archive-info>div{flex-direction:column;gap:4px;min-width:0;display:flex}.archive-info span{color:var(--muted-foreground);letter-spacing:.1em;font-size:9px;font-weight:800}.archive-info strong{overflow-wrap:anywhere;font-size:11px}.archive-info .archive-hash{grid-column:1/-1}.archive-info code{overflow-wrap:anywhere;font-size:10px}.archive-info small{color:var(--muted-foreground);grid-column:1/-1;font-size:10px;line-height:1.5}.auth-intro{color:var(--muted-foreground);margin:8px 0 23px;font-size:12px;line-height:1.5}.full{width:100%}.google-mark{color:var(--primary);font-size:17px;font-weight:800}.auth-divider{text-align:center;color:var(--muted-foreground);margin:22px 0;font-size:11px;position:relative}.auth-divider:before{content:"";background:var(--border);height:1px;position:absolute;top:50%;left:0;right:0}.auth-divider span{background:var(--popover);padding:0 12px;position:relative}.auth-form{flex-direction:column;gap:8px;display:flex}.auth-form label{margin-top:5px;font-size:11px;font-weight:720}.auth-form input{width:100%;height:42px;padding:0 12px;font-size:12px}.auth-form .btn{margin-top:11px}.auth-switch{flex-wrap:wrap;justify-content:center;gap:7px 14px;margin-top:18px;display:flex}.auth-switch button{color:var(--primary);background:0 0;border:0;font-size:11px;font-weight:700}.auth-switch button:hover{text-decoration:underline}.toast-stack{z-index:100;flex-direction:column;gap:9px;width:min(370px,100vw - 40px);display:flex;position:fixed;bottom:20px;right:20px}.toast{border:1px solid var(--border);border-left:3px solid var(--primary);background:var(--popover);box-shadow:0 12px 30px var(--black);border-radius:10px;align-items:flex-start;gap:10px;padding:13px;display:flex}@supports (color:color-mix(in lab, red, red)){.toast{box-shadow:0 12px 30px color-mix(in srgb, var(--black) 12%, transparent)}}.toast{color:var(--foreground);animation:.2s ease-out appear}.toast-success{border-left-color:var(--success)}.toast-error{border-left-color:var(--destructive)}.toast>svg{color:var(--primary);flex:none}.toast-success>svg{color:var(--success)}.toast-error>svg{color:var(--destructive)}.toast>div{flex:1}.toast strong{font-size:12px}.toast p{color:var(--muted-foreground);overflow-wrap:anywhere;margin:4px 0 0;font-size:11px;line-height:1.4}.runtime-error{z-index:60;background:var(--danger-soft);color:var(--destructive);box-shadow:0 5px 20px var(--black);border-radius:9px;align-items:center;gap:10px;padding:10px 14px;display:flex;position:fixed;bottom:18px;left:275px;right:18px}@supports (color:color-mix(in lab, red, red)){.runtime-error{box-shadow:0 5px 20px color-mix(in srgb, var(--black) 8%, transparent)}}.runtime-error span{flex:1}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes appear{0%{opacity:0;transform:translateY(8px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes indeterminate{0%{transform:translate(-10%)}to{transform:translate(170%)}}@media (width<=1250px){.page{padding:38px 28px 20px}.studio-layout{grid-template-columns:minmax(300px,350px) minmax(0,1fr);gap:15px}.canvas-area{min-height:450px}.sample-frame{height:380px}}@media (width<=1050px){.sidebar{flex-basis:215px;width:215px}.page{padding:30px 22px 20px}.studio-layout{grid-template-columns:minmax(0,1fr)}.composer{max-width:none}.canvas-area{min-height:475px}.sample-frame{height:410px}.runtime-error{left:230px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.app-shell{display:block}.mobile-header{background:var(--sidebar);height:64px;color:var(--sidebar-foreground);z-index:45;justify-content:space-between;align-items:center;padding:13px 18px;display:flex;position:sticky;top:0}.brand-mobile{padding:0;font-size:22px}.sidebar{width:min(290px,84vw);height:calc(100dvh - 64px);min-height:0;box-shadow:8px 15px 32px var(--black);transition:transform .23s;position:fixed;top:64px;left:0;overflow-y:auto;transform:translate(-105%)}@supports (color:color-mix(in lab, red, red)){.sidebar{box-shadow:8px 15px 32px color-mix(in srgb, var(--black) 18%, transparent)}}.sidebar-open{transform:translate(0)}.sidebar .brand{display:none}.workspace-switch{margin:5px 0 28px}.mobile-menu-button{color:var(--sidebar-foreground)}.page{min-height:calc(100vh - 64px);padding:25px 16px 21px}.page-header{align-items:flex-start;margin-bottom:23px}.page-header h1{font-size:29px}.page-header p{line-height:1.5}.header-badge{display:none}.studio-layout{flex-direction:column;display:flex}.composer,.preview-column{width:100%}.preview-column{order:2}.canvas-area{min-height:415px;padding:18px}.sample-frame{width:285px;height:355px}.sample-overlay strong{font-size:44px}.runtime-error{bottom:12px;left:12px;right:12px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inspiration-strip{flex-direction:column;align-items:flex-start}.inspiration-chips{justify-content:flex-start}.collection-page .page-header{align-items:flex-start}.collection-page .page-header .btn{margin-top:18px}.toast-stack{bottom:15px;right:15px}}@media (width<=520px){.page-header{flex-wrap:wrap}.page-header h1{font-size:27px}.header-actions{width:100%}.composer{padding:18px}.canvas-area{min-height:390px}.sample-frame{width:250px;height:330px}.sample-overlay strong{font-size:38px}.preview-toolbar{padding:14px}.preview-heading p{max-width:160px}.canvas-footer{padding:0 12px;font-size:9px}.project-grid,.usage-stats{grid-template-columns:1fr}.collection-tools{flex-direction:column;align-items:stretch}.search-field input{flex:1}.exact-row{flex-direction:column;align-items:stretch}.exact-row .btn{width:100%}.crop-action{flex-direction:column;align-items:stretch}.crop-action span{max-width:none}.dialog-panel{padding:20px}.dimension-fields{grid-template-columns:repeat(2,1fr)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
