@layer tokens,base,layout,components,states;@layer tokens{:root{color-scheme:light;--paper: #f7f7f2;--surface: #fffefa;--canvas: #e9eae4;--ink: #262c26;--muted: #787e73;--line: #dedfd6;--green: #304735;--green-soft: #e8ede5;--accent: #b6976b;--danger: #a03b30;--radius: 8px;--font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;font-family:var(--font);font-size:13px;color:var(--ink);background:var(--paper)}}@layer base{*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select,input[type=range],input[type=color],input[type=checkbox]{cursor:pointer}button{color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--green);outline-offset:3px}button{border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);min-height:38px;padding:8px 12px}button:hover{border-color:#a6afa0}button:disabled{opacity:.5;cursor:wait}h1,h2,h3,p{margin:0}svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}input[type=text],select{width:100%;border:1px solid var(--line);border-radius:6px;padding:9px 10px;color:var(--ink);background:var(--surface);min-height:38px}input[type=range]{width:100%;accent-color:var(--green);height:3px;margin:12px 0 9px}input[type=checkbox]{accent-color:var(--green);width:15px;height:15px}input[type=color]{width:36px;height:30px;padding:2px;border:1px solid var(--line);border-radius:4px;background:none}a{color:var(--green)}}@layer layout{.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 32px;background:var(--surface)}.brand,.top-actions,.inline,.panel-heading,.stage-heading,.stage-footer,.filmstrip-header{display:flex;align-items:center;gap:12px}.workspace{display:grid;grid-template-columns:288px minmax(0,1fr) 260px;min-height:calc(100dvh - 80px)}.sidebar{border-right:1px solid var(--line);background:var(--surface);padding:24px 22px}.inspector{border-left:1px solid var(--line);background:var(--surface);padding:25px 22px}.stage{min-width:0;display:flex;flex-direction:column;padding:26px 32px 0}.stage-heading{justify-content:space-between;margin-bottom:22px;align-items:flex-start}.preview-area{background:var(--canvas);flex:1;min-height:430px;max-height:720px;display:grid;place-items:center;position:relative;border:1px solid #dfe1d8;border-radius:10px;overflow:hidden;padding:30px}.preview-area:before,.preview-area:after{content:"+";position:absolute;color:#9fa796;font-size:18px;font-weight:200}.preview-area:before{top:13px;left:17px}.preview-area:after{bottom:13px;right:17px}#preview{max-height:540px;max-width:100%;width:auto;height:auto;display:block;box-shadow:0 8px 30px #23301c20,0 1px 3px #23301c15}.stage-footer{justify-content:space-between;padding:14px 1px 21px;color:var(--muted);font-size:11px}.filmstrip{padding:18px 0 24px;border-top:1px solid var(--line)}.filmstrip-header{justify-content:space-between;margin-bottom:13px}.photos{display:flex;gap:10px;overflow-x:auto;padding:3px 3px 10px;min-height:85px}.page-footer{padding:0 0 20px;color:var(--muted);font-size:10px;display:flex;justify-content:space-between;gap:10px}@media(min-width:1500px){.workspace{grid-template-columns:310px minmax(0,1fr) 290px}.stage{padding:30px 55px 0}.preview-area{min-height:560px}}@media(max-width:1120px){.workspace{grid-template-columns:255px minmax(0,1fr)}.inspector{grid-column:1 / -1;border-top:1px solid var(--line);border-left:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.inspector .section{border:0;margin:0;padding:0}.stage{padding:25px 24px 0}.sidebar{padding:24px 18px}}@media(max-width:680px){.topbar{height:68px;padding:0 16px;gap:10px}.brand-subtitle,.save-status,.top-actions .secondary{display:none}.workspace{display:flex;flex-direction:column;min-height:calc(100dvh - 68px)}.stage{order:0;padding:21px 16px 0}.sidebar{order:1;border-right:0;border-top:1px solid var(--line);padding:24px 18px}.inspector{order:2;display:block;padding:24px 18px}.inspector .section{padding:20px 0;border-bottom:1px solid var(--line)}.preview-area{min-height:340px;max-height:530px;padding:22px}#preview{max-height:420px}.stage-heading{gap:10px}.page-footer{flex-wrap:wrap}.presets{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar .section{padding:20px 0}.stage-footer{font-size:10px;gap:10px}.brand-name{font-size:25px}}}@layer components{.brand-mark{background:var(--green);color:var(--paper);height:36px;width:36px;border-radius:9px;display:grid;place-items:center;font:italic 28px var(--serif);padding-bottom:4px}.brand-name{font:30px var(--serif);letter-spacing:-1.4px}.brand-name span{color:var(--accent)}.brand-subtitle{margin-left:13px;border-left:1px solid var(--line);padding-left:20px;color:var(--muted);font-size:10px;letter-spacing:2px}.top-actions{gap:10px}.save-status{margin-right:16px;font-size:11px;color:var(--muted);gap:7px}.status-dot{background:#819875;width:6px;height:6px;display:inline-block;border-radius:50%}.primary{background:var(--green);border-color:var(--green);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 18px}.primary:hover{background:#243a29;border-color:#243a29}.primary svg{width:15px;height:15px}.secondary{display:inline-flex;align-items:center;gap:7px;background:transparent}.eyebrow{font-size:9px;font-weight:600;color:var(--muted);letter-spacing:1.6px;text-transform:uppercase}.sidebar-title{font:25px var(--serif);letter-spacing:-.4px;margin:9px 0 8px}.description{color:var(--muted);font-size:11px;line-height:1.7}.section{padding:22px 0;border-bottom:1px solid var(--line)}.section:last-child{border-bottom:0}.panel-heading{justify-content:space-between;margin-bottom:16px}.panel-heading h2,.filmstrip-header h2{font-size:11px;font-weight:600}.panel-heading svg{width:15px;height:15px;color:var(--muted)}.presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.preset{border:0;padding:0;background:none;text-align:left;min-width:0;border-radius:6px}.preset-image{width:100%;height:63px;background:url(/example.jpg) center 46% / cover;display:block;border-radius:5px;position:relative;border:2px solid transparent;background-clip:padding-box}.preset-name{display:flex;justify-content:space-between;align-items:center;font-size:11px;padding:7px 1px 3px}.preset-name svg{width:12px;height:12px;opacity:0}.preset-tag{font-size:7px;letter-spacing:.9px;color:var(--muted)}.look-classic{filter:saturate(.65) contrast(1.1) sepia(.12)}.look-soft{filter:saturate(.8) contrast(.92) sepia(.25)}.look-vivid{filter:saturate(1.4) contrast(1.12)}.look-silver{filter:grayscale(1) contrast(1.2)}.look-kodak{filter:sepia(.2) saturate(1.2) contrast(1.05)}.look-leica{filter:grayscale(1) contrast(1.4)}.look-vintage{filter:sepia(.35) saturate(.7) contrast(.8) brightness(1.08)}.look-fanho{filter:grayscale(1) contrast(1.8)}.look-era60s{filter:saturate(.78) contrast(1.18) hue-rotate(8deg)}.look-era70s{filter:sepia(.4) saturate(.75) contrast(.86) brightness(1.1)}.look-era80s{filter:saturate(1.5) contrast(1.22) hue-rotate(-12deg)}.look-era90s{filter:saturate(.84) contrast(1.04) sepia(.12) hue-rotate(25deg)}.look-era2000s{filter:saturate(1.18) contrast(1.15) hue-rotate(10deg) brightness(1.05)}.look-era2010s{filter:saturate(.65) contrast(.85) sepia(.18) brightness(1.12)}.look-halftone{filter:grayscale(1) contrast(1.5);background-image:radial-gradient(#20221e 1px,transparent 1.4px),url(/example.jpg);background-size:5px 5px,cover;background-blend-mode:multiply}.guide-link{display:inline-flex;align-items:center;min-height:36px;padding:6px;font-size:11px;text-decoration:none;white-space:nowrap}.control{display:block;margin:16px 0 0}.control:first-of-type{margin-top:0}.control-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:10px}output,.numeric{color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums}.range-ends{display:flex;justify-content:space-between;font-size:8px;color:#8d9387}.collection-title{font:25px var(--serif)!important;padding:0!important;background:transparent!important;border:0!important;min-height:32px!important;letter-spacing:-.45px;max-width:330px}.collection-subtitle{font-size:10px;color:var(--muted);margin-top:4px}.badge{border:1px solid var(--line);border-radius:20px;padding:6px 10px;font-size:9px;color:var(--muted);white-space:nowrap;margin-top:5px}.preview-label{position:absolute;top:17px;right:19px;font-size:8px;color:#7c8575;letter-spacing:1.6px}.empty-state{text-align:center;max-width:300px;padding:20px}.empty-state h2{font:30px var(--serif);margin:15px 0}.empty-state p{color:var(--muted);line-height:1.8;margin-bottom:18px}.quiet-button{border:0;background:none;padding:0;min-height:28px;color:var(--muted);display:inline-flex;align-items:center;gap:6px;font-size:10px}.quiet-button:hover{color:var(--green)}.quiet-button svg{width:13px;height:13px}.upload-button{width:100%;display:flex;justify-content:center;align-items:center;gap:8px;border-style:dashed;color:var(--green);padding:12px;margin-top:18px}.photo{width:76px;min-width:76px;height:76px;padding:3px;position:relative;background:var(--surface)}.photo img{width:100%;height:100%;object-fit:cover;border-radius:4px}.photo-number{position:absolute;bottom:6px;left:6px;background:#f7f7f2e6;border-radius:3px;padding:2px 4px;font-size:8px}.add-photo{width:76px;min-width:76px;height:76px;border-style:dashed;display:grid;place-content:center;gap:5px;color:var(--muted);font-size:9px}.add-photo svg{margin:auto}.format-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.format-button{padding:10px 2px 7px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:9px}.format-icon{height:25px;width:23px;border:1px solid currentColor;display:block;border-radius:2px;color:#8e9687}.format-icon.portrait{width:20px}.format-icon.story{width:14px}.layout-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.layout-button{padding:9px 2px;font-size:9px;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}.layout-miniature{width:30px;height:36px;fill:currentColor;opacity:.65}.field{margin-top:15px;display:block}.field>span{display:block;margin-bottom:8px;font-size:11px}.check-field{display:flex;align-items:center;gap:6px;margin-top:15px;font-size:11px}.color-control{display:flex;align-items:center;justify-content:space-between;margin-top:12px;font-size:11px}.export-section{background:var(--green-soft);border:1px solid #dae2d5!important;border-radius:8px;padding:17px!important;margin-top:22px}.export-section .primary{width:100%;margin-top:12px}.export-section select{font-size:11px}.note{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:10px;line-height:1.7;margin-top:18px}.note svg{width:14px;height:14px;margin-top:2px}.photo-actions{display:flex;gap:7px;margin-top:10px;flex-wrap:wrap}.photo-actions button{font-size:10px;min-height:30px;padding:5px 8px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:10;max-width:min(90vw,550px);padding:13px 20px;border-radius:8px;background:var(--green);color:#fff;box-shadow:0 5px 20px #0002;font-size:12px;line-height:1.6}.update-notice{position:fixed;bottom:24px;right:24px;max-width:330px;padding:18px;border:1px solid var(--line);background:var(--surface);border-radius:10px;z-index:11;box-shadow:0 5px 20px #0002;line-height:1.7}.update-notice button{margin:10px 5px 0 0}.shortcut{border:1px solid var(--line);border-radius:3px;font-size:8px;padding:2px 4px}.offline-label{display:inline-flex;align-items:center;gap:5px}}@layer states{[hidden]{display:none!important}.preset[aria-pressed=true] .preset-image{border-color:var(--green);box-shadow:0 0 0 2px var(--surface),0 0 0 3px var(--green)}.preset[aria-pressed=true] .preset-name{color:var(--green);font-weight:600}.preset[aria-pressed=true] .preset-name svg{opacity:1}.format-button[aria-pressed=true],.layout-button[aria-pressed=true]{border-color:var(--green);background:var(--green-soft);color:var(--green)}.photo[aria-pressed=true]{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.preview-area.drag-over{outline:2px dashed var(--green);outline-offset:-8px;background:var(--green-soft)}.preview-area.rendering #preview{opacity:.7}.error{background:var(--danger)}@media(max-width:680px){.top-actions .secondary{display:none}.top-actions .primary{font-size:11px;padding:10px 12px;white-space:nowrap}.brand{gap:8px}.brand-name{font-size:25px}.brand-mark{width:32px;height:32px;font-size:25px}}@media(prefers-reduced-motion:no-preference){button,#preview{transition:opacity .15s,background-color .15s,border-color .15s}}}
