:root{--bg-page:#000;--surface-1:#0f0f0f;--surface-image:#1f1f1f;--surface-tag:#1a1a1a;--text-primary:#fff;--text-muted:#b3b3b3;--text-secondary:#999;--text-detail:gray;--text-placeholder:#4d4d4d;--border-hairline:#4d4d4d;--border-grid:#585858;--border-row:#1f1f1f;--border-tag:#3c3c3c;--accent-bg:#2f3d36;--accent-bg-hover:#36483f;--accent-border:#35634c;--accent-focus:#6fbf95;--error:#ff6470;--error-soft:#ff64701f;--header-height:71px;--sidebar-width:320px;--font-sans:"Google Sans Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono:"Google Sans Code", ui-monospace, "SF Mono", Menlo, monospace;--ease-out:cubic-bezier(.2, .8, .2, 1);--ease-in-out:cubic-bezier(.65, 0, .35, 1);--ease-push:cubic-bezier(.55, 0, .25, 1);--ease-settle:cubic-bezier(.3, 1.3, .5, 1);--ease-grow:cubic-bezier(.55, 0, .25, 1.15)}*{box-sizing:border-box}html,body{color:var(--text-primary);background:var(--bg-page);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;padding:0}button{font-family:inherit}h1,h2,p,dl,dd,ul,ol{margin:0}::selection{color:#fff;background:#6fbf9559}*{scrollbar-width:thin;scrollbar-color:#3c3c3c transparent}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:focus-visible{outline:2px solid var(--accent-focus);outline-offset:2px}@keyframes fade-in{0%{opacity:0}}@keyframes rise-in{0%{opacity:0;transform:translateY(8px)}}::view-transition-group(*){animation-duration:.42s;animation-timing-function:var(--ease-in-out)}::view-transition-old(root){animation:.18s var(--ease-out) both fade-out}::view-transition-new(root){animation:.3s var(--ease-out) 80ms both fade-in}:root[data-transition=swap]::view-transition-old(root){animation:none}:root[data-transition=swap]::view-transition-new(root){animation:fade-in .24s var(--ease-out) both}::view-transition-old(wordmark){height:100%;animation:none}::view-transition-new(wordmark){height:100%;animation:none}@keyframes fade-out{to{opacity:0}}.wordmark{view-transition-name:wordmark}.first-run--intro .first-run-brand,.first-run--intro .first-run-tagline,.first-run--intro .first-run-open,.first-run--intro .first-run-formats,.first-run--intro .first-run-features,.first-run--intro .first-run-shortcuts{animation:rise-in .56s var(--ease-out) backwards}.first-run--intro .first-run-tagline{animation-delay:90ms}.first-run--intro .first-run-open{animation-delay:.18s}.first-run--intro .first-run-formats{animation-delay:.24s}.first-run--intro .first-run-features{animation-delay:.3s}.first-run--intro .first-run-shortcuts{animation-delay:.4s}.sidebar>*{animation:rise-in .4s var(--ease-out) both}.sidebar>:nth-child(2){animation-delay:60ms}.sidebar>:nth-child(3){animation-delay:.12s}.sidebar>:nth-child(n+4){animation-delay:.18s}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}.btn-icon{flex:none;width:24px;height:24px}.btn-primary{background:var(--accent-bg);border:1px solid var(--accent-border);color:var(--text-primary);cursor:pointer;border-radius:0;justify-content:center;align-items:center;gap:8px;transition:background-color .12s,opacity .12s;display:inline-flex}.btn-primary:hover:not(:disabled){background:var(--accent-bg-hover)}.btn-primary:disabled{opacity:.4;cursor:not-allowed}.app{min-height:100dvh}.app-header{z-index:10;height:var(--header-height);background:var(--surface-1);border-bottom:.5px solid var(--border-hairline);justify-content:space-between;align-items:center;gap:16px;padding:0 24px;display:flex;position:sticky;top:0}.header-start,.header-end,.header-actions{align-items:center;display:flex}.header-start{gap:24px;min-width:0}.header-end{gap:8px}.header-brand{line-height:0;display:flex}.brand-home{border-radius:var(--radius-sm);color:inherit;cursor:pointer;background:0 0;border:0;padding:0;line-height:0}.brand-home:hover .wordmark{color:var(--text-primary)}.brand-home:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.wordmark{width:164px;height:34px;color:var(--text-muted)}.wordmark .wordmark-mark{color:var(--text-secondary)}.header-btn,.header-icon-btn{height:40px;color:var(--text-primary);cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:8px 12px;font-size:16px;transition:background-color .12s;display:inline-flex}.header-icon-btn{color:var(--text-secondary);padding:8px}.header-btn:hover,.header-icon-btn:hover{background:#ffffff0f}.header-icon-btn:hover{color:var(--text-primary)}.export-btn{height:40px;padding:8px 12px;font-size:18px}.export-btn-icon{width:16px;height:16px}.workspace{grid-template-columns:minmax(0, 1fr) var(--sidebar-width);height:calc(100vh - var(--header-height));height:calc(100dvh - var(--header-height));transition:grid-template-columns .36s var(--ease-in-out);display:grid;overflow:hidden}.workspace.is-sidebar-hidden{grid-template-columns:minmax(0,1fr) 0}.workspace .sidebar{min-width:var(--sidebar-width);transition:opacity .24s var(--ease-out), visibility 0s linear 0s, transform .56s var(--ease-settle) 60ms}.workspace.is-sidebar-hidden .sidebar{opacity:0;visibility:hidden;transition:opacity .32s var(--ease-in-out), visibility 0s linear .36s}.image-area{background:var(--surface-image);display:grid;position:relative;overflow:auto}.image-title{flex-direction:column;gap:4px;display:flex;position:absolute;top:16px;left:24px;right:24px;overflow:hidden}.image-title h2{white-space:nowrap;text-overflow:ellipsis;font-size:24px;font-weight:400;overflow:hidden}.image-title p{color:var(--text-muted);font-size:16px}.image-stage{place-items:center;min-height:100%;padding:88px 24px 48px;display:grid}.export-frame{--display-scale:.59259px;width:min(100%, calc(var(--frame-w) * var(--display-scale)), max(320px, calc((100dvh - var(--header-height) - 208px) * var(--frame-w) / var(--frame-h))));aspect-ratio:var(--frame-w) / var(--frame-h);display:grid}.export-frame img{grid-area:1/1;width:100%;height:100%;display:block}.export-frame-current{animation:fade-in .32s var(--ease-out) both}.export-frame.is-stale img{opacity:.6}.export-message{color:var(--text-secondary);flex-direction:column;align-items:center;gap:14px;font-size:14px;display:flex}.export-stage{flex-direction:column;align-items:center;gap:16px;width:100%;display:flex}.template-picker{gap:8px;display:flex}.template-option{border:1px solid var(--border-tag);height:48px;color:var(--text-secondary);cursor:pointer;background:0 0;align-items:center;gap:8px;padding:8px 14px 8px 10px;font-size:14px;transition:color .12s,border-color .12s,background-color .12s;display:inline-flex}.template-option:hover{color:var(--text-primary)}.template-option.is-selected{color:var(--text-primary);background:var(--accent-bg);border-color:var(--accent-border)}.template-sketch{flex:none;width:24px;height:30px}.image-preview-panel{width:min(100%,640px)}.preview-frame{aspect-ratio:3/2;justify-content:center;align-items:center;display:flex;overflow:hidden}.preview-frame img{object-fit:contain;max-width:100%;max-height:100%;display:block}.raw-placeholder{text-align:center;color:var(--text-secondary);border:1px solid var(--border-grid);padding:48px 24px;font-size:14px;line-height:1.6}.raw-placeholder .raw-icon{margin-bottom:12px;font-size:28px;display:block}.sidebar{background:var(--surface-1);border-left:.5px solid var(--border-hairline);flex-direction:column;gap:40px;padding:16px 24px 24px;display:flex;overflow-y:auto}.sidebar-section{flex-direction:column;gap:8px;display:flex}.sidebar-heading{font-size:20px;font-weight:400}.is-placeholder{color:var(--text-placeholder)}.exposure-grid{border:1px solid var(--border-grid);grid-template-rows:repeat(2,1fr);grid-template-columns:repeat(3,minmax(0,1fr));height:140px;display:grid}.exposure-cell{flex-direction:column;justify-content:center;align-items:center;min-width:0;padding:9px;display:flex}.exposure-cell dt{line-height:0}.exposure-icon{width:32px;height:32px;color:var(--text-secondary)}.exposure-cell dd{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:16px;overflow:hidden}.exposure-cell dd.is-placeholder{color:var(--text-placeholder)}.details-row{border-bottom:1px solid var(--border-row);grid-template-columns:120px minmax(0,1fr);display:grid}.details-row dt{color:var(--text-secondary);padding:9px 0;font-size:13px;line-height:20px}.details-row dd{font-family:var(--font-mono);text-align:right;overflow-wrap:anywhere;flex-direction:column;align-items:flex-end;padding:9px 8px;font-size:13px;line-height:20px;display:flex}.details-detail{color:var(--text-detail);line-height:normal}.adjustment-tags{flex-wrap:wrap;gap:8px;padding:0;list-style:none;display:flex}.adjustment-tags li{color:var(--text-secondary);background:var(--surface-tag);border:1px solid var(--border-tag);white-space:nowrap;border-radius:16px;gap:2px;padding:2px 12px;font-size:10px;line-height:20px;display:flex}.adjustment-value{color:var(--text-primary)}.edit-history{border-left:1px solid var(--border-tag);flex-direction:column;gap:10px;padding:0 0 0 12px;list-style:none;display:flex}.edit-history li{flex-direction:column;gap:2px;display:flex}.edit-history-action{font-size:13px;line-height:20px}.edit-history-detail{color:var(--text-detail);font-size:12px}.metadata-notice{color:var(--text-secondary);border:1px solid var(--border-row);flex-direction:column;gap:8px;padding:16px;display:flex}.metadata-notice-icon{width:17px;height:14px}.metadata-notice p{font-size:12px;font-weight:300;line-height:normal}.first-run-page{background:var(--surface-1);min-height:100dvh;display:grid;position:relative}.first-run{flex-direction:column;justify-content:center;align-items:center;gap:96px;padding:96px 24px 120px;display:flex}.first-run-main{flex-direction:column;align-items:center;padding:8px;display:flex}.first-run-brand{line-height:0}.wordmark--large{width:328px;height:68px}.first-run-tagline{color:var(--text-detail);text-align:center;margin-top:8px;font-size:26.4px}.first-run-open{margin-top:64px;padding:20px 56px;font-size:16px}.first-run-formats{max-width:480px;color:var(--text-secondary);text-align:center;margin:14px 0 0;font-size:14px;line-height:1.5}.first-run-formats p{margin:0}.first-run-formats details{margin-top:6px}.first-run-formats summary{cursor:pointer;border-radius:var(--radius-sm);color:var(--text-muted);text-underline-offset:3px;padding:4px 8px;text-decoration:underline;display:inline-block}.first-run-formats summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.first-run-formats details p{letter-spacing:.02em;word-break:break-word;margin-top:6px}.first-run-features{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;width:min(540px,100%);padding:0;list-style:none;display:grid}.first-run-features li{color:var(--text-muted);text-align:center;flex-direction:column;align-items:center;gap:16px;font-size:16px;display:flex}.first-run-feature-icon{width:auto;height:32px;color:var(--text-detail)}.first-run-shortcuts{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;padding:8px 12px;font-size:14px;display:inline-flex;position:absolute;bottom:32px;left:50%;transform:translate(-50%)}.first-run-shortcuts:hover{color:var(--text-primary)}.drop-overlay{z-index:50;pointer-events:none;place-items:center;display:grid;position:fixed;inset:0}.app{transition:background-color .36s var(--ease-out)}.app.is-clearing{background:var(--surface-image)}.image-title,.image-stage,.template-picker{transition:transform .56s var(--ease-settle), opacity .28s var(--ease-out)}.is-clearing .image-title,.is-clearing .image-stage,.is-clearing .template-picker,.is-clearing .workspace .sidebar{transition:transform .42s var(--ease-push), opacity .32s var(--ease-in-out), visibility 0s linear .42s}.is-clearing .image-title{opacity:0}.is-clearing .image-area{overflow:hidden}.is-clearing:not(.is-clearing--in-place) .image-stage{opacity:0;transition-delay:70ms;transform:translateY(100%)rotate(-2deg)}.is-clearing .workspace{grid-template-columns:minmax(0,1fr) 0}.is-clearing .workspace .sidebar{transform:translate(100%)}.is-clearing .template-picker{opacity:0;transition-delay:40ms;transform:translateY(96px)}.export-frame{outline-offset:-1px;transition:outline-color .24s var(--ease-out);outline:1px dashed #0000}.is-clearing--in-place .export-frame{outline-color:var(--border-grid);transition-delay:.16s}.export-frame img{transition:opacity .2s var(--ease-out), transform .6s var(--ease-settle), box-shadow .6s var(--ease-out)}.export-frame{position:relative}.export-frame-hint{color:var(--text-muted);text-align:center;opacity:0;transition:opacity .16s var(--ease-out), transform .16s var(--ease-out);pointer-events:none;place-items:center;padding:0 12px;font-size:16px;display:grid;position:absolute;inset:0 0 0 55%;transform:translate(-12px)}.is-clearing--in-place .export-frame-hint{opacity:1;transition:opacity .28s var(--ease-out) .32s, transform .42s var(--ease-settle) .32s;transform:none}.is-clearing--in-place .export-frame img{transition:opacity .2s var(--ease-out), transform .52s var(--ease-push) 60ms, box-shadow .52s var(--ease-out) 60ms;transform:translate(-45%,3%)rotate(-7deg);box-shadow:0 24px 64px #0000008c}.drop-target{--frame-w:min(320px, calc(100vw - 64px));width:var(--frame-w);height:calc(var(--frame-w) * 1.25);color:var(--text-muted);border:1px dashed var(--border-grid);animation:drop-target-in .42s var(--ease-settle) .18s both;place-items:center;font-size:18px;display:grid}@keyframes drop-target-in{0%{opacity:0;transform:scale(.92)}}.drop-overlay.is-leaving .drop-target{animation:drop-target-out .26s var(--ease-in-out) both}@keyframes drop-target-out{to{opacity:0;transform:scale(.92)}}.first-run-brand,.first-run-tagline,.first-run-features li,.first-run-shortcuts{transition:transform .56s var(--ease-settle), opacity .36s var(--ease-out)}.first-run-open{transition:background-color .12s ease, opacity .16s var(--ease-out) .32s}.first-run-features li:nth-child(2){transition-delay:40ms}.first-run-features li:nth-child(3){transition-delay:80ms}.is-clearing .first-run-brand,.is-clearing .first-run-tagline,.is-clearing .first-run-features li,.is-clearing .first-run-shortcuts{opacity:0;transition:transform .42s var(--ease-push), opacity .2s var(--ease-out)}.is-clearing .first-run-brand{transform:translateY(-56px)}.is-clearing .first-run-tagline{transition-delay:30ms;transform:translateY(-40px)}.is-clearing .first-run-features li{transform:translateY(64px)}.is-clearing .first-run-features li:first-child{transition-delay:60ms}.is-clearing .first-run-features li:nth-child(2){transition-delay:.1s}.is-clearing .first-run-features li:nth-child(3){transition-delay:.14s}.is-clearing .first-run-shortcuts{transform:translate(-50%,24px)}.is-clearing .first-run-open{opacity:0;transition:opacity .2s var(--ease-out)}.app--first-run .drop-target{animation:drop-target-grow .56s var(--ease-grow) 90ms both}.app--first-run .drop-target>span{animation:fade-in .24s var(--ease-out) .42s both}.app--first-run .drop-overlay.is-leaving .drop-target{animation:drop-target-shrink .44s var(--ease-in-out) both}.app--first-run .drop-overlay.is-leaving .drop-target>span{animation:fade-out .16s var(--ease-out) both}@keyframes drop-target-grow{0%{width:var(--from-w);height:var(--from-h);transform:translate(var(--from-dx), var(--from-dy));border-style:solid;border-color:var(--accent-border)}60%{border-color:var(--border-grid)}}@keyframes drop-target-shrink{0%{border-color:var(--border-grid)}to{width:var(--from-w);height:var(--from-h);transform:translate(var(--from-dx), var(--from-dy));border-style:solid;border-color:var(--accent-border)}}.drop-target,.drop-landing{view-transition-name:drop-frame}.drop-landing{--frame-w:1080;--frame-h:1350;--display-scale:.59259px;width:min(100%, calc(var(--frame-w) * var(--display-scale)), max(320px, calc((100dvh - var(--header-height) - 208px) * var(--frame-w) / var(--frame-h))));aspect-ratio:var(--frame-w) / var(--frame-h);margin-bottom:var(--frame-below,0px);place-items:center;display:grid}::view-transition-group(drop-frame){animation-duration:.52s;animation-timing-function:var(--ease-in-out)}:root[data-transition=drop] *{transition:none!important}:root[data-transition=drop] .is-clearing--in-place .export-frame{view-transition-name:drop-frame}:root[data-transition=drop] .is-clearing--in-place .export-frame-current{view-transition-name:outgoing-image}:root[data-transition=drop] .workspace .sidebar{view-transition-name:app-sidebar}::view-transition-old(outgoing-image):only-child{animation:image-out .52s var(--ease-push) both}@keyframes image-out{to{transform:translate(-110vw)rotate(-10deg)}}::view-transition-group(app-sidebar){animation-duration:.52s;animation-timing-function:var(--ease-settle);animation-delay:80ms}:root[data-transition=drop] .wordmark{view-transition-name:none}:root[data-transition=drop] .app-header{view-transition-name:app-header}::view-transition-new(app-header):only-child{animation:header-in .48s var(--ease-settle) .14s both}@keyframes header-in{0%{transform:translateY(-100%)}}.error-banner{width:min(560px,100% - 32px);color:var(--error);background:var(--error-soft);border:1px solid #ff647066;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 16px;font-size:14px;display:flex;position:absolute;top:24px;left:50%;transform:translate(-50%)}.error-banner-body{flex-direction:column;gap:10px;line-height:1.45;display:flex}.error-banner-actions{flex-wrap:wrap;gap:8px;display:flex}.error-banner-action{color:var(--text-primary);cursor:pointer;background:#ff647024;border:1px solid #ff647073;padding:6px 12px;font-size:13px}.error-banner-action:hover{background:#ff64703d}.error-banner-close{color:var(--error);cursor:pointer;opacity:.8;background:0 0;border:none;font-size:20px;line-height:1}.error-banner-close:hover{opacity:1}.loading-state{animation:fade-in .24s var(--ease-out) .18s both;color:var(--text-secondary);flex-direction:column;align-items:center;gap:18px;font-size:14px;display:flex}.spinner{border:3px solid #3c3c3c;border-top-color:var(--accent-focus);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite spin}.loading-state--instant{animation:none}@keyframes spin{to{transform:rotate(360deg)}}.shortcuts-dialog{border:.5px solid var(--border-hairline);background:var(--surface-1);width:min(380px,100vw - 32px);color:var(--text-primary);padding:0}.shortcuts-dialog[open]{animation:.16s cubic-bezier(.2,.8,.2,1) shortcuts-in}.shortcuts-dialog::backdrop{background:#0009}@keyframes shortcuts-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.shortcuts-panel{padding:16px 24px 12px}.shortcuts-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.shortcuts-header h2{font-size:20px;font-weight:400}.shortcuts-close{width:32px;height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;font-size:22px;line-height:1;display:flex}.shortcuts-close:hover{color:var(--text-primary)}.shortcuts-list{margin:0;padding:0;list-style:none}.shortcuts-row{justify-content:space-between;align-items:center;gap:16px;padding:10px 0;font-size:14px;display:flex}.shortcuts-row+.shortcuts-row{border-top:1px solid var(--border-row)}.shortcuts-label{flex-direction:column;gap:2px;display:flex}.shortcuts-hint{color:var(--text-detail);font-size:12px}.shortcuts-row.is-disabled .shortcuts-label{color:var(--text-secondary)}.shortcuts-row.is-disabled kbd{opacity:.45}.shortcuts-row kbd{text-align:center;min-width:28px;font-family:var(--font-mono);color:var(--text-primary);background:var(--surface-tag);border:1px solid var(--border-tag);flex:none;padding:3px 8px;font-size:13px}@media (width<=900px){.workspace{height:auto;display:block}.image-area{overflow:visible}.export-frame{width:min(100%, calc(var(--frame-w) * var(--display-scale)))}.sidebar{border-left:none;border-top:.5px solid var(--border-hairline);overflow:visible}.workspace.is-sidebar-hidden .sidebar{display:none}}@media (width<=640px){.app-header{padding:0 12px}.header-start{gap:8px}.wordmark{width:117px;height:24px}.header-btn{gap:0;padding:8px;font-size:0}.image-title h2{font-size:18px}.image-stage{padding:72px 12px 24px}.first-run{gap:64px}.wordmark--large{width:246px;height:51px}.first-run-tagline{font-size:20px}.first-run-features{gap:16px}.first-run-features li{font-size:14px}}
