/*! 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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--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{.block{display:block}.hidden{display:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.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:40 36% 96%;--foreground:231 29% 17%;--card:0 0% 100%;--card-foreground:231 29% 17%;--popover:0 0% 100%;--popover-foreground:231 29% 17%;--primary:242 49% 44%;--primary-foreground:0 0% 100%;--secondary:36 32% 91%;--secondary-foreground:231 29% 17%;--muted:36 25% 91%;--muted-foreground:229 12% 43%;--accent:243 46% 94%;--accent-foreground:242 49% 34%;--destructive:1 69% 49%;--destructive-foreground:0 0% 100%;--border:32 20% 83%;--input:32 20% 83%;--ring:242 49% 44%;--radius:1rem;color:hsl(var(--foreground));background:hsl(var(--background));font-synthesis:none;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--background:228 25% 10%;--foreground:38 32% 94%;--card:229 22% 14%;--card-foreground:38 32% 94%;--popover:229 22% 14%;--popover-foreground:38 32% 94%;--primary:242 80% 73%;--primary-foreground:231 35% 13%;--secondary:228 17% 20%;--secondary-foreground:38 32% 94%;--muted:228 16% 20%;--muted-foreground:34 17% 71%;--accent:242 42% 22%;--accent-foreground:242 80% 80%;--destructive:1 73% 62%;--destructive-foreground:231 35% 13%;--border:228 14% 28%;--input:228 14% 28%;--ring:242 80% 73%}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:radial-gradient(circle at 9% 0%, hsl(var(--primary) / .09), transparent 25rem), hsl(var(--background));min-width:320px;min-height:100vh;margin:0}body,button,input{font:inherit}button,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;pointer-events:none;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,.code-window:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:3px}button:active:not(:disabled){transform:scale(.98)}a{color:inherit}.app-shell{min-height:100vh}.topbar,.workspace,.app-footer{width:min(1180px,100% - 2rem);margin:0 auto}.topbar{justify-content:space-between;align-items:center;min-height:76px;display:flex}.brand,.topbar-actions,.file-tabs,.independence-note,.export-name,.download-button,.primary-button,.secondary-button,.copy-button,.template-card,.dialog-heading,.toast{align-items:center;display:flex}.brand{color:hsl(var(--foreground));letter-spacing:-.03em;gap:.62rem;font-size:.95rem;font-weight:800;text-decoration:none}.brand-mark,.template-icon,.empty-icon,.dialog-icon{border:1px solid hsl(var(--border));background:hsl(var(--card));width:2.1rem;height:2.1rem;color:hsl(var(--primary));border-radius:.7rem;place-items:center;display:inline-grid}.topbar-actions{gap:.4rem}.icon-button,.toast-close{width:2.35rem;height:2.35rem;color:hsl(var(--muted-foreground));background:0 0;border:1px solid #0000;border-radius:.7rem;place-items:center;transition:background .15s,color .15s,transform .15s;display:inline-grid}.icon-button:hover,.toast-close:hover{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.workspace{padding:clamp(2rem,6vw,5rem) 0 3.5rem}.intro{grid-template-columns:minmax(0,1.15fr) minmax(18rem,.65fr);align-items:end;gap:4rem;margin-bottom:clamp(2.5rem,6vw,4.75rem);display:grid}.eyebrow,.section-kicker{color:hsl(var(--primary));letter-spacing:.12em;text-transform:uppercase;margin:0 0 .65rem;font-size:.72rem;font-weight:800}.eyebrow{align-items:center;gap:.4rem;display:flex}h1,h2,h3,p{margin-top:0}h1{max-width:11ch;color:hsl(var(--foreground));letter-spacing:-.08em;margin-bottom:0;font-size:clamp(3rem,7.2vw,6.5rem);font-weight:750;line-height:.92}h1 em{color:hsl(var(--primary));font-style:normal}.intro-copy{max-width:34rem;color:hsl(var(--muted-foreground));margin:0 0 .5rem;font-size:1.05rem;line-height:1.7}.composer-grid{grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);align-items:start;gap:1.25rem;display:grid}.setup-panel,.source-panel,.recent-section{border:1px solid hsl(var(--border));border-radius:calc(var(--radius) + .15rem);background:hsl(var(--card));color:hsl(var(--card-foreground));box-shadow:0 12px 36px hsl(var(--foreground) / .04)}.setup-panel{padding:clamp(1.25rem,3vw,1.8rem)}.source-panel{overflow:hidden}.section-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.section-heading h2,.download-section h2,.recent-section h2{color:hsl(var(--foreground));letter-spacing:-.045em;margin-bottom:0;font-size:1.35rem}.step-badge,.independence-note{border:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));white-space:nowrap;border-radius:999px;flex:none;padding:.35rem .58rem;font-size:.74rem;font-weight:700}.config-form{gap:1.65rem;margin-top:2rem;display:grid}.field-group{gap:.5rem;display:grid}.field-group label,.template-fieldset legend{color:hsl(var(--foreground));font-size:.88rem;font-weight:800}.field-group input{border:1px solid hsl(var(--input));background:hsl(var(--card));width:100%;height:2.85rem;color:hsl(var(--foreground));border-radius:.7rem;padding:0 .85rem;transition:border .15s,box-shadow .15s,background .15s}.field-group input::placeholder{color:hsl(var(--muted-foreground) / .7)}.field-group input:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 3px hsl(var(--ring) / .18)}.field-group input[aria-invalid=true]{border-color:hsl(var(--destructive))}.field-group input:disabled{cursor:not-allowed;opacity:.5;background:hsl(var(--muted))}.field-hint,.field-error{min-height:1.25rem;margin:0;font-size:.78rem}.field-hint{color:hsl(var(--muted-foreground))}.field-error{color:hsl(var(--destructive))}.template-fieldset{border:0;min-width:0;margin:0;padding:0}.template-fieldset legend{margin-bottom:.65rem}.template-list{gap:.65rem;display:grid}.template-card{border:1px solid hsl(var(--border));background:hsl(var(--card));width:100%;min-height:5.2rem;color:hsl(var(--card-foreground));text-align:left;border-radius:.8rem;gap:.75rem;padding:.8rem;transition:box-shadow .16s,transform .16s,border .16s,background .16s;position:relative}.template-card:hover{border-color:hsl(var(--primary) / .5);box-shadow:0 8px 18px hsl(var(--foreground) / .07);transform:translateY(-2px)}.template-card.is-selected{border-color:hsl(var(--primary));background:hsl(var(--accent));box-shadow:0 0 0 2px hsl(var(--primary) / .16)}.template-card>span:nth-child(2){gap:.18rem;padding-right:1.25rem;display:grid}.template-card strong{letter-spacing:-.02em;font-size:.86rem}.template-card small{color:hsl(var(--muted-foreground));font-size:.74rem;line-height:1.35}.template-check{color:hsl(var(--primary));position:absolute;right:.8rem}.primary-button,.secondary-button,.copy-button,.download-button{border-radius:.72rem;justify-content:center;gap:.5rem;min-height:2.8rem;font-size:.88rem;font-weight:800;text-decoration:none;transition:box-shadow .15s,transform .15s,background .15s,border .15s}.primary-button{border:1px solid hsl(var(--primary));background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.primary-button:hover,.download-button:hover{box-shadow:0 10px 22px hsl(var(--primary) / .22);transform:translateY(-2px)}.secondary-button{border:1px solid hsl(var(--border));background:hsl(var(--card));color:hsl(var(--foreground));padding:0 .85rem}.secondary-button:hover,.copy-button:hover{background:hsl(var(--accent));border-color:hsl(var(--primary) / .35);color:hsl(var(--accent-foreground));transform:translateY(-2px)}.source-heading{padding:1.5rem 1.5rem 1rem}.status-dot{background:hsl(var(--primary));width:.45rem;height:.45rem;box-shadow:0 0 0 3px hsl(var(--primary) / .14);border-radius:50%}.file-tabs{border-top:1px solid hsl(var(--border));border-bottom:1px solid hsl(var(--border));background:hsl(var(--muted) / .45);gap:.2rem;padding:.5rem .65rem;overflow-x:auto}.file-tab,.copy-button{min-height:2.3rem;color:hsl(var(--muted-foreground));background:0 0;border:1px solid #0000;border-radius:.55rem;flex:none;align-items:center;gap:.42rem;padding:0 .65rem;font-size:.8rem;font-weight:800;transition:color .15s,background .15s,transform .15s;display:inline-flex}.file-tab:hover{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.file-tab.is-active{background:hsl(var(--card));color:hsl(var(--primary));box-shadow:0 1px 3px hsl(var(--foreground) / .08)}.copy-button{border-color:hsl(var(--border));background:hsl(var(--card));color:hsl(var(--foreground));margin-left:auto}.code-window{color:#eae5dc;background:#161927;min-height:31.5rem;max-height:41rem;overflow:auto}.window-chrome{z-index:1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#b8ab99;background:#161927f5;border-bottom:1px solid #ffffff14;align-items:center;gap:.36rem;height:2.6rem;padding:0 1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.72rem;display:flex;position:sticky;top:0}.window-chrome span:not(:last-child){background:#847662;border-radius:50%;width:.53rem;height:.53rem}.window-chrome span:last-child{margin-left:.35rem}.code-window pre{tab-size:2;width:max-content;min-width:100%;margin:0;padding:1.25rem 1.5rem 2.5rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.76rem;line-height:1.7}.code-window code{white-space:pre}.fetch-error{border:1px solid hsl(var(--destructive) / .4);background:hsl(var(--destructive) / .08);border-radius:.8rem;gap:1rem;margin:1.5rem;padding:1.2rem;display:flex}.fetch-error h3{margin-bottom:.25rem;font-size:.95rem}.fetch-error p{color:hsl(var(--muted-foreground));margin-bottom:.85rem;font-size:.85rem}.error-icon{color:hsl(var(--destructive))}.download-section{border:1px solid hsl(var(--border));border-radius:calc(var(--radius) + .25rem);background:linear-gradient(115deg, hsl(var(--primary)), #4a3493);color:hsl(var(--primary-foreground));box-shadow:0 18px 35px hsl(var(--primary) / .18);grid-template-columns:1fr auto;align-items:center;gap:2rem;margin:1.25rem 0 4.5rem;padding:clamp(1.5rem,4vw,2.6rem);display:grid}.download-section .section-kicker{color:hsl(var(--primary-foreground) / .72)}.download-section h2{color:hsl(var(--primary-foreground));font-size:clamp(1.65rem,3vw,2.3rem)}.download-copy p:last-child{max-width:40rem;color:hsl(var(--primary-foreground) / .8);margin:.75rem 0 0;line-height:1.6}.download-button{border:1px solid hsl(var(--primary-foreground) / .32);background:hsl(var(--primary-foreground));min-width:14.6rem;color:hsl(var(--primary));padding:0 1rem}.download-button:hover{background:hsl(var(--background))}.recent-section{padding:clamp(1.25rem,3vw,1.8rem)}.empty-state{border:1px dashed hsl(var(--border));background:hsl(var(--muted) / .35);border-radius:.9rem;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;margin-top:1.5rem;padding:1.2rem;display:grid}.empty-icon{background:hsl(var(--accent));border-radius:50%;width:3rem;height:3rem}.empty-state h3{margin-bottom:.25rem;font-size:.98rem}.empty-state p{max-width:36rem;color:hsl(var(--muted-foreground));margin:0;font-size:.84rem;line-height:1.5}.export-list{border:1px solid hsl(var(--border));border-radius:.8rem;margin-top:1.5rem;overflow:hidden}.export-header,.export-row{grid-template-columns:1fr auto;align-items:center;gap:1rem;padding:.75rem 1rem;display:grid}.export-header{background:hsl(var(--muted));color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:.07em;font-size:.72rem;font-weight:800}.export-row{border-top:1px solid hsl(var(--border));font-size:.86rem}.export-row:hover{background:hsl(var(--muted) / .5)}.export-row>span:last-child{color:hsl(var(--muted-foreground));text-align:right}.export-name{gap:.55rem;font-weight:700}.export-name svg{color:hsl(var(--primary))}.app-footer{border-top:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));justify-content:space-between;gap:1rem;padding:1.35rem 0 2rem;font-size:.78rem;display:flex}.app-footer p{margin:0}.app-footer a:hover{color:hsl(var(--primary))}.dialog-overlay{z-index:30;background:#11132294;place-items:center;padding:1rem;animation:.18s ease-out overlay-in;display:grid;position:fixed;inset:0}.dialog-card{border:1px solid hsl(var(--border));background:hsl(var(--popover));width:min(100%,32rem);color:hsl(var(--popover-foreground));border-radius:1.1rem;padding:1.4rem;animation:.2s ease-out dialog-in;box-shadow:0 24px 60px #0d0f1c47}.dialog-heading{justify-content:space-between;margin-bottom:1.45rem}.dialog-close{margin-left:auto}.dialog-card h2{letter-spacing:-.04em;margin-bottom:.7rem;font-size:1.38rem}.dialog-card p{color:hsl(var(--muted-foreground));font-size:.92rem;line-height:1.65}.dialog-card strong{color:hsl(var(--foreground))}.dialog-action{width:100%;margin-top:.4rem}.toast{z-index:40;border:1px solid hsl(var(--border));background:hsl(var(--popover));width:min(100% - 2rem,25rem);color:hsl(var(--popover-foreground));box-shadow:0 18px 44px hsl(var(--foreground) / .16);border-radius:.85rem;gap:.75rem;padding:.8rem;animation:.18s ease-out toast-in;position:fixed;bottom:1rem;right:1rem}.toast-icon{background:hsl(var(--accent));width:2rem;height:2rem;color:hsl(var(--accent-foreground));border-radius:50%;place-items:center;display:inline-grid}.toast-error .toast-icon{background:hsl(var(--destructive) / .12);color:hsl(var(--destructive))}.toast>div{flex:1;min-width:0}.toast strong{font-size:.84rem;display:block}.toast p{color:hsl(var(--muted-foreground));margin:.15rem 0 0;font-size:.76rem;line-height:1.4}.toast-close{flex:none;width:1.9rem;height:1.9rem}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes overlay-in{0%{opacity:0}to{opacity:1}}@keyframes dialog-in{0%{opacity:0;transform:translateY(8px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (width<=880px){.intro,.composer-grid{grid-template-columns:1fr}.intro{gap:1rem}.intro-copy{max-width:42rem}}@media (width<=640px){.topbar,.workspace,.app-footer{width:min(100% - 1.1rem,1180px)}.topbar{min-height:64px}h1{font-size:clamp(2.8rem,15vw,4.4rem)}.source-heading{padding:1.2rem 1rem .9rem}.independence-note{display:none}.code-window{min-height:27rem}.code-window pre{padding:1rem;font-size:.71rem}.download-section{grid-template-columns:1fr;gap:1.4rem}.download-button{width:100%}.empty-state{grid-template-columns:auto 1fr}.empty-state .secondary-button{grid-column:1/-1;width:100%}.app-footer{display:grid}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!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-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
