/*! tailwindcss v4.3.3 | 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)))){*,::backdrop,:after,:before{--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-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:host,:root{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,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-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{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}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{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:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,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,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-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,::-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;overflow:hidden}.absolute,.sr-only{position:absolute}.fixed{position:fixed}.relative{position:relative}.isolate{isolation:isolate}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.hidden{display:none}.inline{display:inline}.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}.border{border-style:var(--tw-border-style);border-width:1px}.blur{--tw-blur:blur(8px)}.blur,.grayscale{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.grayscale{--tw-grayscale:grayscale(100%)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color-scheme:dark;--bg:#161616;--panel:#202020;--line:#323232;--text:#e6e6e6;--muted:#9a9a9a;--accent:#4b9cf5;--c-0e110e:#0f0f10;--c-101a10:#141516;--c-141815:#151617;--c-171b17:#17181a;--c-1d241c:#1e1f22;--c-20261d:#1f2124;--c-242b24:#25272a;--c-243019:#192330;--c-252c24:#26272a;--c-25301c:#1c2530;--c-25321c:#1c2632;--c-25351c:#1c2735;--c-2e251d:#2e251d;--c-30382d:#2f3136;--c-3b453b:#3c3f44;--c-424b41:#42454a;--c-495c33:#33455c;--c-4d5a44:#4a4d54;--c-654f3d:#654f3d;--c-849371:#7a7f8a;--c-919b8c:#8d919a;--c-9ba995:#999da5;--c-adbca2:#aaadb4;--c-b5bfb4:#b5b8be;--c-b6c0b5:#b6b9bf;--c-c4d1b6:#c0c2c7;--c-c6ccc7:#c6c8cc;--c-c8d8a6:#a6bcd8;--c-cbd2c8:#caccd0;--c-d2e7b5:#b5cbe7;--c-d4ddcd:#d2d4d8;--c-d9e0d3:#d7d9dc;--c-e0aaa0:#e0aaa0;--c-e4ebdc:#dce3eb;--c-e6eccd:#cddbec;--c-f2d3b6:#f2d3b6}@media (prefers-color-scheme:light){:root:not([data-theme=dark]){color-scheme:light;--bg:#f0f0f0;--panel:#fafafa;--line:#dcdcdc;--text:#1b1b1b;--muted:#5e5e5e;--accent:#1468d6;--c-0e110e:#efeff0;--c-101a10:#e9eaeb;--c-141815:#e8e9ea;--c-171b17:#e4e6e8;--c-1d241c:#dddee1;--c-20261d:#dbdde0;--c-242b24:#d5d7da;--c-243019:#cfd9e6;--c-252c24:#d5d6d9;--c-25301c:#cfd8e3;--c-25321c:#cdd7e3;--c-25351c:#cad5e3;--c-2e251d:#e2d9d1;--c-30382d:#c9cbd0;--c-3b453b:#bbbec3;--c-424b41:#b5b8bd;--c-495c33:#a3b5cc;--c-4d5a44:#abaeb5;--c-654f3d:#c2ac9a;--c-849371:#767a84;--c-919b8c:#656972;--c-9ba995:#5a5e66;--c-adbca2:#4b4e55;--c-b5bfb4:#41444a;--c-b6c0b5:#404349;--c-c4d1b6:#383a3f;--c-c6ccc7:#333539;--c-c8d8a6:#273d59;--c-cbd2c8:#2f3135;--c-d2e7b5:#182e4a;--c-d4ddcd:#27292d;--c-d9e0d3:#232528;--c-e0aaa0:#5f291f;--c-e4ebdc:#141b23;--c-e6eccd:#132132;--c-f2d3b6:#492a0d}}:root[data-theme=light]{color-scheme:light;--bg:#f0f0f0;--panel:#fafafa;--line:#dcdcdc;--text:#1b1b1b;--muted:#5e5e5e;--accent:#1468d6;--c-0e110e:#efeff0;--c-101a10:#e9eaeb;--c-141815:#e8e9ea;--c-171b17:#e4e6e8;--c-1d241c:#dddee1;--c-20261d:#dbdde0;--c-242b24:#d5d7da;--c-243019:#cfd9e6;--c-252c24:#d5d6d9;--c-25301c:#cfd8e3;--c-25321c:#cdd7e3;--c-25351c:#cad5e3;--c-2e251d:#e2d9d1;--c-30382d:#c9cbd0;--c-3b453b:#bbbec3;--c-424b41:#b5b8bd;--c-495c33:#a3b5cc;--c-4d5a44:#abaeb5;--c-654f3d:#c2ac9a;--c-849371:#767a84;--c-919b8c:#656972;--c-9ba995:#5a5e66;--c-adbca2:#4b4e55;--c-b5bfb4:#41444a;--c-b6c0b5:#404349;--c-c4d1b6:#383a3f;--c-c6ccc7:#333539;--c-c8d8a6:#273d59;--c-cbd2c8:#2f3135;--c-d2e7b5:#182e4a;--c-d4ddcd:#27292d;--c-d9e0d3:#232528;--c-e0aaa0:#5f291f;--c-e4ebdc:#141b23;--c-e6eccd:#132132;--c-f2d3b6:#492a0d}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:13px}button,input,select{font:inherit}a,button,input,select,summary{touch-action:manipulation}button{cursor:pointer;color:inherit;background:0 0;border:0;border-radius:6px;transition:background .15s,color .15s}button:disabled{opacity:.4;cursor:not-allowed}button:hover:not(:disabled){filter:brightness(1.15)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button{min-height:34px}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}h2{font-size:13px;font-weight:600}p{line-height:1.5}fieldset{border:0;min-width:0;margin:0;padding:0}legend{margin-bottom:6px;padding:0;font-size:12px;font-weight:600}input:not([type]),input[type=number],input[type=search],input[type=text],select{background:var(--c-171b17);border:1px solid var(--c-3b453b);color:var(--c-d4ddcd);border-radius:6px;min-width:0;min-height:34px;padding:6px 8px;font-size:12px}input::placeholder{color:var(--muted)}.app-shell{flex-direction:column;height:100dvh;display:flex}.topbar{background:var(--c-0e110e);border-bottom:1px solid var(--line);flex-shrink:0;gap:14px;height:48px;padding:0 14px}.brand,.topbar{align-items:center;display:flex}.brand{letter-spacing:-.2px;gap:9px;font-size:15px;font-weight:600;line-height:1}.brand-icon{background:var(--accent);color:#fff;border-radius:7px;flex-shrink:0;place-items:center;width:28px;height:28px;display:grid}.brand-sub{letter-spacing:2.4px;color:var(--muted);margin-top:3px;font-size:8px;font-weight:500;display:block}.project-label{border-left:1px solid var(--line);min-width:0;max-width:40%;color:var(--text);border-radius:0 6px 6px 0;align-items:center;gap:6px;padding:4px 10px;font-size:13px;display:flex}.project-label span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-label:hover{background:var(--c-242b24)}.privacy{color:var(--muted);align-items:center;gap:7px;margin-left:auto;font-size:11px;display:flex}.status-dot{background:#3ecf72;border-radius:50%;width:6px;height:6px}.import-button{min-height:34px;padding:6px 14px}.workspace{flex:1;grid-template-columns:300px minmax(0,1fr) 330px;min-height:0;display:grid}.center-column,.controls,.side-column{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--c-3b453b) transparent;min-height:0;overflow-y:auto}.side-column{background:var(--panel);border-right:1px solid var(--line);flex-direction:column;display:flex}.event-column>*+*,.side-column>*+*{border-top:1px solid var(--line)}.center-column{background:var(--bg);flex-direction:column;display:flex}.controls{background:var(--panel);border-left:1px solid var(--line)}.mobile-only,.tool-bar{display:none}.muted{color:var(--muted);font-size:12px}.primary,.secondary{white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:8px 14px;font-size:12px;font-weight:600;display:inline-flex}.primary{background:var(--accent);color:#fff}.secondary{border:1px solid var(--c-3b453b);background:var(--c-242b24)}.panel{background:var(--panel)}.panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:44px;padding:0 14px;display:flex}.panel-heading h2{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:8px;min-width:0;display:flex;overflow:hidden}.panel-heading .secondary{min-height:30px;padding:4px 10px}.photo-count{color:var(--muted);font-size:11px;font-weight:400}.icon-button{border-radius:6px;place-items:center;min-width:34px;display:inline-grid}.icon-button:hover:not(:disabled){background:var(--c-242b24)}.image-size{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px}.library{flex-direction:column;flex:1 0 auto;display:flex}.pill{color:var(--c-cbd2c8);border:1px solid var(--c-3b453b);border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;display:inline-flex}.pill.selected{background:var(--accent);border-color:var(--accent);color:#fff}.photo-card{background:var(--c-0e110e);aspect-ratio:1;border-radius:4px;position:relative;overflow:hidden}.photo-card.active{box-shadow:0 0 0 2px var(--panel),0 0 0 4px var(--accent)}.photo-open{width:100%;height:100%;color:var(--muted);border-radius:0;padding:0;font-size:10px;position:relative}.photo-open img{object-fit:cover;width:100%;height:100%;display:block}.photo-name{color:#eee;white-space:nowrap;text-overflow:ellipsis;text-align:left;background:linear-gradient(#0000,#000c);padding:14px 5px 4px;font-size:9px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.check-photo{color:#fff;background:#0006;border:1.5px solid #fffc;border-radius:50%;place-items:center;width:22px;min-height:22px;padding:0;display:grid;position:absolute;top:4px;right:4px}.check-photo.checked{background:var(--accent);border-color:var(--accent)}.library-empty{color:var(--muted);text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;min-height:220px;display:flex}.library-empty small{font-size:11px}.library-bottom{color:var(--muted);align-items:center;gap:7px;margin-top:auto;padding:12px 14px;font-size:11px;display:flex}.preview-panel{background:var(--bg);flex-direction:column;flex:none;min-width:0;height:calc(100dvh - 88px);min-height:460px;display:flex}.preview-panel>.panel-heading{background:var(--bg);border-bottom:0}.preview-stage{background:var(--c-0e110e);touch-action:none;flex:1;justify-content:center;align-items:center;min-height:0;padding:20px;display:flex;position:relative;overflow:hidden}.area-editor{pointer-events:none;position:absolute}.area-rect{outline:1px dashed #fffc;position:absolute;box-shadow:0 0 0 1px #0007}.area-handle{pointer-events:auto;touch-action:none;background:0 0;border:0;width:44px;min-width:0;height:44px;min-height:0;padding:0}.area-handle,.area-handle:after{position:absolute;transform:translate(-50%,-50%)}.area-handle:after{content:"";background:#fff;border-radius:4px;width:26px;height:7px;inset:50% auto auto 50%;box-shadow:0 0 0 2px #000a}.area-handle.left:after,.area-handle.right:after{width:7px;height:26px}.area-handle.top{cursor:ns-resize;top:0;left:50%}.area-handle.bottom{cursor:ns-resize;top:100%;left:50%}.area-handle.left{cursor:ew-resize;top:50%;left:0}.area-handle.right{cursor:ew-resize;top:50%;left:100%}.area-handle:focus-visible:after{box-shadow:0 0 0 3px var(--accent)}.main-preview{object-fit:contain;-webkit-user-select:none;user-select:none;pointer-events:none;max-width:100%;max-height:100%;box-shadow:0 10px 30px #0008}.hero-empty{text-align:center;color:var(--muted);padding:24px 0}.viewfinder{width:112px;height:100px;color:var(--c-849371);background:linear-gradient(var(--c-c8d8a6),var(--c-c8d8a6)) 0 0 /18px 1px no-repeat,linear-gradient(var(--c-c8d8a6),var(--c-c8d8a6)) 0 0 /1px 18px no-repeat,linear-gradient(var(--c-c8d8a6),var(--c-c8d8a6)) 100% 0 /18px 1px no-repeat,linear-gradient(var(--c-c8d8a6),var(--c-c8d8a6)) 100% 0 /1px 18px no-repeat,linear-gradient(var(--c-c8d8a6),var(--c-c8d8a6)) 0 100% /18px 1px no-repeat,linear-gradient(var(--c-c8d8a6),var(--c-c8d8a6)) 0 100% /1px 18px no-repeat,linear-gradient(var(--c-c8d8a6),var(--c-c8d8a6)) 100% 100% /18px 1px no-repeat,linear-gradient(var(--c-c8d8a6),var(--c-c8d8a6)) 100% 100% /1px 18px no-repeat;place-items:center;margin:0 auto 26px;display:grid;position:relative}.hero-empty h2{color:var(--c-d9e0d3);font-size:20px;font-weight:500;line-height:1.35}.hero-empty p{margin-top:14px;font-size:12px;line-height:1.7}.hero-empty button{background:var(--accent);color:#fff;align-items:center;gap:8px;margin-top:20px;padding:8px 16px;font-size:12px;font-weight:600;display:inline-flex}.preview-toolbar,.review-toolbar{background:var(--bg);justify-content:space-between;align-items:center;gap:10px;padding:6px 12px;display:flex}.preview-toolbar{border-top:1px solid var(--line)}.toolbar-group{align-items:center;gap:2px;display:flex}.photo-position{color:var(--muted);text-align:center;font-variant-numeric:tabular-nums;min-width:44px;font-size:11px}.rendering{color:#fff;background:#000a;border-radius:999px;padding:5px 11px;font-size:11px;position:absolute;bottom:12px;left:12px}.control-section{border-bottom:1px solid var(--line);padding:12px 14px}details.control-section{padding:0 14px}details.control-section[open]{padding-bottom:14px}.controls summary,.export-bar summary,.side-column summary{cursor:pointer;min-height:44px;color:var(--c-d9e0d3);-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;gap:8px;font-size:13px;font-weight:600;list-style:none;display:flex}.controls summary::-webkit-details-marker,.side-column summary::-webkit-details-marker{display:none}.export-bar summary::-webkit-details-marker{display:none}.controls summary:after,.export-bar summary:after,.side-column summary:after{content:"";border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);flex-shrink:0;width:7px;height:7px;margin-right:3px;transition:transform .15s;transform:rotate(-45deg)}.controls details[open]>summary:after,.export-bar details[open]>summary:after,.side-column details[open]>summary:after{transform:rotate(45deg)}.control-section details>summary,.preset-library details details>summary{min-height:38px;font-size:12px;font-weight:500}.section-label{margin:0}.slider{cursor:default;margin:6px 0 0;display:block}.slider>span{color:var(--c-cbd2c8);justify-content:space-between;align-items:baseline;font-size:12px;display:flex}.slider output{font-variant-numeric:tabular-nums;color:var(--c-adbca2);text-align:right;min-width:36px;font-size:11px}input[type=range]{appearance:none;cursor:pointer;width:100%;height:22px;accent-color:var(--accent);background:0 0;margin:2px 0 4px;display:block}input[type=range]::-webkit-slider-runnable-track{background:var(--c-424b41);border-radius:2px;height:2px}input[type=range]::-moz-range-track{background:var(--c-424b41);border-radius:2px;height:2px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--c-d9e0d3);border:0;border-radius:50%;width:13px;height:13px;margin-top:-5.5px;box-shadow:0 1px 3px #0009}input[type=range]::-moz-range-thumb{background:var(--c-d9e0d3);border:0;border-radius:50%;width:13px;height:13px;box-shadow:0 1px 3px #0009}input[type=range]:active::-webkit-slider-thumb{background:var(--accent)}input[type=range]:focus-visible::-webkit-slider-thumb{background:var(--accent)}input[type=range]:active::-moz-range-thumb{background:var(--accent)}input[type=range]:focus-visible::-moz-range-thumb{background:var(--accent)}input[type=range]:focus-visible{outline-offset:0}input[type=range]:disabled{cursor:not-allowed;opacity:.45}input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px}.control-section fieldset>label:not(.slider):not(.checkbox-row),.control-section>label:not(.slider):not(.checkbox-row){color:var(--c-cbd2c8);gap:5px;margin:10px 0;font-size:12px;display:grid}.control-section fieldset>p,.control-section>p{color:var(--muted);margin:8px 0;font-size:11px}.control-section fieldset>button,.control-section>button:not(.footer-upload):not(.full-width){border:1px solid var(--c-3b453b);background:var(--c-242b24);margin:6px 6px 0 0;padding:7px 12px;font-size:12px}.control-section fieldset>button.primary{background:var(--accent);border-color:var(--accent)}.select-label{color:var(--c-cbd2c8);gap:5px;font-size:12px;display:grid}.footer-upload{border:1px dashed var(--c-4d5a44);width:100%;color:var(--c-c4d1b6);border-radius:6px;align-items:center;gap:8px;margin:4px 0;padding:9px 10px;font-size:12px;display:flex}.footer-upload span{margin-left:auto;font-size:18px}.checkbox-row{align-items:center;gap:9px;margin-top:12px;font-size:12px;display:flex}.full-width{width:100%;margin-top:8px}.export-bar{border-top:1px solid var(--line);grid-template-columns:repeat(auto-fill,minmax(170px,1fr));align-items:end;gap:12px;padding:16px;display:grid}.export-title{color:var(--accent);grid-column:1/-1;align-items:flex-start;gap:12px;display:flex}.export-title h2{color:var(--c-e4ebdc)}.export-title p{color:var(--muted);margin-top:4px;font-size:11px}.export-title output{color:var(--c-d9e0d3);margin-top:6px;font-size:12px;display:block}.custom-export label,.export-bar>label{color:var(--muted);gap:5px;font-size:11px;display:grid}.custom-export{flex-wrap:wrap;grid-column:1/-1;align-items:flex-end;gap:10px;display:flex}.custom-export input{width:130px}.outputs:empty{display:none}.outputs{padding:0 16px 16px}.page-footer{color:var(--c-919b8c);flex-wrap:wrap;align-items:center;gap:8px 14px;padding:14px;font-size:11px;display:flex}.page-footer>span{letter-spacing:1.5px;flex-basis:100%;font-size:9px}.text-button{color:var(--accent);padding:4px 0;font-size:12px}.select-all{text-align:left;padding:0 14px}.alert,.notice,.output,.progress-strip{border:1px solid var(--c-654f3d);background:var(--c-2e251d);color:var(--c-f2d3b6);border-radius:8px;align-items:center;gap:12px;margin-bottom:12px;padding:10px 14px;font-size:12px;display:flex}.notice,.output{background:var(--c-25301c);border-color:var(--c-495c33);color:var(--c-d2e7b5)}.side-column>.notice{margin:10px}.alert button,.notice button{margin-left:auto}.toasts{z-index:50;pointer-events:none;flex-direction:column-reverse;gap:8px;width:min(380px,100vw - 32px);max-height:calc(100vh - 32px);display:flex;position:fixed;bottom:16px;right:16px;overflow-y:auto}.toast{pointer-events:auto;margin-bottom:0;animation:toast-in .18s ease-out;box-shadow:0 10px 30px #0006}.toast-close{margin-left:auto}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}@media (prefers-reduced-motion:reduce){.toast{animation:none}}.progress-strip{background:var(--c-20261d);border-color:var(--line);color:var(--c-cbd2c8);flex-wrap:wrap}.progress-strip progress{accent-color:var(--accent);flex:1;height:6px}.progress-strip details{flex-basis:100%;max-height:200px;overflow:auto}.progress-strip details p{margin-top:7px}.output{flex-wrap:wrap;margin:12px 0 0}.output span{margin-right:auto}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.danger{color:var(--c-e0aaa0)}@media (min-width:1450px){.workspace{grid-template-columns:330px minmax(0,1fr) 360px}}@media (max-width:1100px) and (min-width:801px){.workspace{grid-template-columns:240px minmax(0,1fr) 280px}.privacy{display:none}.theme-select{margin-left:auto}}@media (prefers-reduced-motion:reduce){button{transition:none}}.selection-tools{grid-template-columns:1fr 1fr;gap:8px;padding:12px;display:grid}.selection-tools>button,.selection-tools>label:first-child,.selection-tools>p{grid-column:1/-1}.review-toolbar label,.selection-tools label{color:var(--muted);gap:4px;font-size:11px;display:grid}.review-toolbar select,.selection-tools input,.selection-tools select{width:100%;min-width:0}.selection-tools>button{justify-self:start}.review-toolbar{flex-wrap:wrap}.review-toolbar>button{border:1px solid var(--c-3b453b);padding:6px 12px}.review-toolbar>button[aria-pressed=true]{color:#f5c542;border-color:#f5c54266}.review-toolbar label{align-items:center;gap:8px;display:flex}.review-toolbar select{width:auto}.event-form,.event-tools{flex-wrap:wrap;align-items:end;gap:8px;padding:12px;display:flex}.event-form label,.event-tools label{min-width:0;color:var(--muted);flex:100%;gap:4px;font-size:11px;display:grid}.event-form input,.event-tools input{width:100%}.event-actions{flex-wrap:wrap;gap:6px;display:flex}.event-actions button{border:1px solid var(--c-3b453b);padding:6px 10px;font-size:12px}.event-list{gap:6px;padding:0 12px 12px;display:grid}.event-card{text-align:left;border:1px solid var(--line);overflow-wrap:anywhere;border-radius:8px;gap:3px;padding:10px 12px;display:grid}.event-card[aria-pressed=true]{border-color:var(--accent);background:var(--c-242b24);box-shadow:inset 3px 0 0 var(--accent)}.event-card small,.event-card span{color:var(--muted);font-size:11px}.backup-content{gap:10px;padding:12px;font-size:12px;line-height:1.5;display:grid}.backup-progress{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.backup-download{width:fit-content;max-width:100%;min-height:44px}.editor-actions{border-bottom:1px solid var(--line);grid-column:1/-1;grid-template-columns:1fr 1fr;gap:8px;padding:12px;display:grid}.editor-actions button{min-height:38px;padding:7px;font-size:12px}.preset-library{grid-column:1/-1;gap:10px;display:grid}.preset-library summary{margin:0}.preset-library:not(.control-section){border-bottom:1px solid var(--line);padding:0 14px}.preset-library :where(p){font-size:11px;line-height:1.5}.preset-library label{gap:6px;min-width:0;font-size:11px;display:grid}.preset-library input:not([type=range]):not([type=file]),.preset-library select{width:100%;min-width:0;min-height:38px}.preset-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.preset-actions button{min-height:38px;padding:7px;font-size:12px}.preset-actions button:not(.primary){border:1px solid var(--c-3b453b);background:var(--c-242b24)}.preset-form{border-top:1px solid var(--line)}.preset-content,.preset-form{gap:10px;padding-top:12px;display:grid}.preset-library details[open]>.preset-content{padding-bottom:14px}.xmp-import{border-top:1px solid var(--line);min-width:0;padding-top:14px}.xmp-report{max-height:260px;padding:0;list-style:none;overflow:auto}.xmp-report li{border-bottom:1px solid var(--line);overflow-wrap:anywhere;padding:10px 0;font-size:11px}.xmp-report-detail{color:var(--muted);margin-top:5px;line-height:1.5}.xmp-preview{margin:0}.xmp-preview img{object-fit:contain;max-width:100%;max-height:300px;margin:auto;display:block}.xmp-preview figcaption{color:var(--muted);margin-top:8px;font-size:11px}.photo-shortcut-help{color:var(--muted);margin:0 12px 12px;font-size:11px;line-height:1.6}.photo-shortcut-help summary{cursor:pointer;min-height:36px}.shortcut-instructions{margin:8px 0}.library:focus-visible,.preview-panel:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.virtual-photo-grid{overscroll-behavior:contain;overflow-anchor:none;height:480px;margin:8px 12px;position:relative;overflow:auto}.virtual-photo-space{width:100%;position:relative}.virtual-photo-cell{position:absolute}.virtual-photo-cell .photo-card{width:100%;height:100%}.thumbnail-retry{background:var(--panel);font-size:10px;position:absolute;bottom:20px;left:2px;right:2px}.curve-editor fieldset{gap:12px;display:grid}.curve-editor label{gap:6px;min-width:0;font-size:11px;display:grid}.curve-editor .preset-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.curve-editor input,.curve-editor select{width:100%;min-width:0;min-height:38px}.hsl-editor fieldset{gap:12px;display:grid}.hsl-editor select{width:100%;min-width:0;min-height:38px}.hsl-editor>fieldset>label:first-child{gap:6px;font-size:11px;display:grid}.slider .hsl-band{align-items:center;gap:6px;margin:0;display:inline-flex}.hsl-swatch{border-radius:50%;width:10px;height:10px}.theme-select{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:8px;flex-shrink:0;max-width:96px;padding:6px 8px;font-size:12px}.event-arts{gap:8px;margin:12px 0;display:grid}.event-arts ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.event-arts li{gap:4px;display:grid}.event-art{border:1px solid var(--line);text-align:left;border-radius:6px;align-items:center;gap:10px;width:100%;padding:6px 10px;display:flex}.event-art.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.event-art img,.event-art-empty{object-fit:contain;background:repeating-conic-gradient(#8884 0 25%,#0000 0 50%) 50%/10px 10px;border-radius:4px;flex-shrink:0;width:36px;height:36px}.event-art span:not(.event-art-empty){text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.event-art-actions{grid-template-columns:1fr 1fr;gap:4px;display:grid}.logo-positions{border:0;grid-template-columns:repeat(3,44px);gap:4px;margin:8px 0;padding:0;display:grid}.logo-positions button{border:1px solid var(--line);border-radius:6px;width:44px;height:44px;padding:0}.logo-positions button.selected{border-color:var(--accent);background:var(--accent)}.size-groups{gap:8px;margin:12px 0;display:grid}.size-groups ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.size-groups li{border:1px solid var(--line);border-radius:6px;gap:4px;padding:8px 10px;display:grid}.size-groups li.current{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.size-group-head{justify-content:space-between;gap:8px;display:flex}.size-groups small{color:var(--muted);overflow-wrap:anywhere}.size-group-actions{grid-template-columns:1fr 1fr;gap:4px;display:grid}.logo-editor{pointer-events:none;position:absolute}.logo-box{pointer-events:auto;touch-action:none;cursor:move;background:0 0;border:0;outline:1px dashed #fffc;min-width:0;min-height:0;padding:0;position:absolute;box-shadow:0 0 0 1px #0007}.logo-box:focus-visible{outline:2px solid var(--text)}.logo-resize{cursor:nwse-resize;width:44px;height:44px;position:absolute;bottom:0;right:0;transform:translate(50%,50%)}.logo-resize:after{content:"";background:var(--accent);border-radius:3px;width:14px;height:14px;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #000a}.custom-size{grid-template-columns:1fr 1fr;gap:8px;margin:8px 0;display:grid}.custom-size-note,.custom-size>legend{grid-column:1/-1}.custom-size label{gap:4px;font-size:11px;display:grid}.custom-size input{min-width:0;min-height:38px}@media (min-width:801px){.mobile-only{display:none}}@media (max-width:800px){body{font-size:14px}.app-shell{height:auto;min-height:100svh;padding-bottom:calc(62px + env(safe-area-inset-bottom));display:block}.desktop-only{display:none}.mobile-only{display:flex}.app-shell:is([data-tool=photos],[data-tool=event],[data-tool=export]) .controls,.app-shell[data-tool=batch] [data-pane]:not([data-pane~=batch]),.app-shell[data-tool=color] [data-pane]:not([data-pane~=color]),.app-shell[data-tool=crop] [data-pane]:not([data-pane~=crop]),.app-shell[data-tool=curve] [data-pane]:not([data-pane~=curve]),.app-shell[data-tool=event] [data-pane]:not([data-pane~=event]),.app-shell[data-tool=export] [data-pane]:not([data-pane~=export]),.app-shell[data-tool=frame] [data-pane]:not([data-pane~=frame]),.app-shell[data-tool=light] [data-pane]:not([data-pane~=light]),.app-shell[data-tool=logo] [data-pane]:not([data-pane~=logo]),.app-shell[data-tool=photos] [data-pane]:not([data-pane~=photos]),.app-shell[data-tool=presets] [data-pane]:not([data-pane~=presets]){display:none}.topbar{height:52px;padding:env(safe-area-inset-top) 12px 0;box-sizing:content-box;gap:8px}.brand-name,.privacy{display:none}.project-label{border-left:0;border-radius:6px;flex:1;max-width:none;min-height:44px;padding:6px 8px;font-size:15px;font-weight:600}.theme-select{max-width:82px}.import-button{min-height:40px;padding:6px 12px}.workspace{flex-direction:column;display:flex}.center-column,.side-column{display:contents}.controls{border:0;overflow:visible}.side-column>.notice{margin:8px 12px}.preview-panel{z-index:5;order:-1;height:auto;min-height:0;position:sticky;top:0;box-shadow:0 8px 18px #0007}.preview-panel>.panel-heading{min-height:0;padding:0}.compact-label,.preview-panel>.panel-heading{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.controls>.panel-heading{display:none}.preview-stage{flex:none;height:42svh;min-height:220px;padding:8px}.app-shell[data-tool=photos] .preview-panel.has-photo .preview-stage{height:30svh;min-height:180px}.preview-panel:not(.has-photo) .preview-stage{height:auto;min-height:0}.preview-toolbar,.review-toolbar{gap:6px;padding:4px 8px}.review-toolbar{flex-wrap:nowrap}.review-toolbar label{flex:1;justify-content:flex-end;min-width:0}.review-toolbar .review-label{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.preview-toolbar{border-top:0}button,input:not([type]),input[type=number],input[type=search],input[type=text],select{min-height:44px}input:not([type]),input[type=number],input[type=search],input[type=text],select{font-size:16px}.icon-button{min-width:44px}.check-photo{width:30px;min-width:30px;min-height:30px}.library .panel-heading{border-bottom:0}.library-bottom,.photo-shortcut-help{display:none}.virtual-photo-grid{height:calc(70svh - 300px);min-height:260px;margin:0 8px 8px}.library-empty{min-height:160px}.library-empty br{display:none}.control-section,.preset-library:not(.control-section),details.control-section{padding-left:16px;padding-right:16px}.controls summary,.export-bar summary,.side-column summary{min-height:48px;font-size:14px}.slider{margin-top:10px}.slider output,.slider>span{font-size:13px}input[type=range]{height:34px}input[type=range]::-webkit-slider-runnable-track{height:3px}input[type=range]::-moz-range-track{height:3px}input[type=range]::-webkit-slider-thumb{width:24px;height:24px;margin-top:-10.5px}input[type=range]::-moz-range-thumb{width:24px;height:24px}.controls>.panel-heading{min-height:44px}.export-bar{border-top:0;grid-template-columns:1fr 1fr}.export-title{order:-2}.export-bar>.primary,.export-bar>.secondary{order:-1;width:100%}.custom-export input{width:100%}.custom-export label{flex:130px}.custom-export button{flex:100%}.outputs{padding:0 12px}.output span{flex-basis:100%}.page-footer{padding:16px}.toasts{width:auto;left:12px;right:12px;bottom:calc(70px + env(safe-area-inset-bottom))}.toast{gap:8px;padding:6px 6px 6px 12px}.toast button{min-height:36px}.tool-bar{z-index:20;scrollbar-width:none;padding:4px 6px env(safe-area-inset-bottom);background:var(--c-0e110e);gap:2px;display:flex;position:fixed;bottom:0;left:0;right:0;overflow-x:auto}@supports (color:color-mix(in lab,red,red)){.tool-bar{background:color-mix(in srgb,var(--c-0e110e) 94%,transparent)}}.tool-bar{-webkit-backdrop-filter:blur(10px);border-top:1px solid var(--line)}.tool-bar::-webkit-scrollbar{display:none}.tool-bar button{min-height:54px;color:var(--muted);flex-direction:column;flex:1 0 58px;justify-content:center;align-items:center;gap:3px;padding:4px 2px;font-size:10px;display:flex}.tool-bar button[aria-pressed=true]{color:var(--accent)}.tool-bar button[aria-pressed=true] svg{filter:drop-shadow(0 0 6px var(--accent))}@supports (color:color-mix(in lab,red,red)){.tool-bar button[aria-pressed=true] svg{filter:drop-shadow(0 0 6px color-mix(in srgb,var(--accent) 50%,transparent))}}}@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-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}