/*! 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)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--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{:root,:host{--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{*,: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%;-moz-tab-size:4;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,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:where(:not(iframe)){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]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance: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{.fixed{position:fixed}.block{display:block}.contents{display:contents}.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}.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:#173b2b;font-synthesis:none;background:#fffdf4;font-family:Inter,Noto Sans Thai,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input{font:inherit}button{cursor:pointer;border:0}.app-shell{max-width:1440px;margin:auto;padding:24px clamp(18px,4vw,64px) 32px}.topbar{align-items:center;gap:14px;display:flex}.brand-mark{color:#ffd43b;letter-spacing:-2px;background:#17804a;border-radius:16px;place-items:center;width:48px;height:48px;font-weight:900;display:grid;box-shadow:5px 5px #ffd43b}.topbar h1{margin:2px 0 0;font-size:1.2rem}.eyebrow{color:#17804a;letter-spacing:.16em;margin:0;font-size:.68rem;font-weight:900}.yellow{color:#ffd43b}.online-pill{color:#17804a;background:#eff9e9;border-radius:999px;align-items:center;gap:7px;margin-left:auto;padding:8px 13px;font-size:.75rem;font-weight:700;display:flex}.online-pill span{background:#38a169;border-radius:50%;width:8px;height:8px}.hero{grid-template-columns:1fr 260px;align-items:center;gap:36px;margin:48px 0 30px;display:grid}.hero h2{letter-spacing:-.06em;margin:8px 0 14px;font-size:clamp(2.3rem,6vw,5.5rem);line-height:.98}.hero h2 em{color:#17804a;font-style:normal}.hero-copy{color:#607268;max-width:520px;line-height:1.8}.hero-card{aspect-ratio:4/6;color:#fff;border-radius:24px;flex-direction:column;justify-content:space-between;padding:24px;display:flex;transform:rotate(4deg);box-shadow:16px 18px #ffd43b}.hero-card strong{font-size:1.2rem}.hero-card span{font-weight:800}.hero-card-dots{font-size:1.3rem}.workspace{grid-template-columns:1fr 1.2fr 1fr;align-items:start;gap:16px;display:grid}.panel{background:#fff;border:1px solid #e1ebdc;border-radius:24px;padding:22px;box-shadow:0 12px 30px #173b2b0f}.section-heading{align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.step-number{color:#fff;background:#17804a;border-radius:12px;flex:none;place-items:center;width:34px;height:34px;font-size:.68rem;font-weight:900;display:grid}.section-heading h3{margin:1px 0 3px;font-size:1.05rem}.section-heading p{color:#8a988c;margin:0;font-size:.78rem}.template-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.template-option{color:#fff;text-align:left;border-radius:18px;flex-direction:column;justify-content:space-between;min-height:112px;padding:12px;transition:transform .2s,box-shadow .2s;display:flex;position:relative}.template-option:hover{transform:translateY(-3px)}.template-option.selected{outline:4px solid #ffd43b;box-shadow:0 4px #173b2b}.template-option span{letter-spacing:.1em;font-size:.7rem;font-weight:900}.template-option small{font-weight:800}.template-sunshine{background:linear-gradient(145deg,#f4b400,#ef6c57)}.template-green-pop{background:linear-gradient(145deg,#17804a,#70b84d)}.template-tropical{background:linear-gradient(145deg,#ef6c57,#e53991)}.template-school-day{background:linear-gradient(145deg,#1967a3,#53b5bd)}.template-confetti{background:linear-gradient(145deg,#8b5cf6,#e3459a)}.camera-stage{background:#f1f7ed 50%/cover no-repeat;border-radius:20px;place-items:center;min-height:305px;display:grid;position:relative;overflow:hidden}.camera-stage:after{content:"";pointer-events:none;border:2px dashed #fffc;border-radius:15px;position:absolute;top:12px;right:12px;bottom:12px;left:12px}.camera-stage video{object-fit:cover;width:100%;height:100%;min-height:305px}.empty-camera{color:#7c8d7f;z-index:1;text-align:center;justify-items:center;gap:8px;display:grid}.camera-icon{color:#17804a;background:#fff;border-radius:22px;place-items:center;width:64px;height:64px;font-size:3rem;display:grid;box-shadow:0 8px 20px #173b2b1a}.empty-camera span{font-size:.75rem}.hidden-image{display:none}.camera-actions{z-index:2;gap:8px;display:flex;position:absolute;bottom:22px}.control-row{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.primary-button,.secondary-button,.ghost-button{border-radius:13px;justify-content:center;align-items:center;min-height:43px;padding:0 15px;font-size:.78rem;font-weight:800;display:inline-flex}.primary-button{color:#fff;background:#17804a}.secondary-button{color:#17804a;background:#eff9e9}.ghost-button{color:#173b2b;background:#ffffffe0}.secondary-button input{display:none}.zoom-control{color:#6f7f73;align-items:center;gap:10px;margin-top:15px;font-size:.76rem;display:flex}.zoom-control input{accent-color:#17804a;flex:1}.zoom-control strong{color:#17804a;min-width:30px}.postcard-preview{aspect-ratio:2/3;background:#eaf4e5;border-radius:20px;padding:12px;position:relative;overflow:hidden}.postcard-paper{text-align:center;background:#fffdf4;height:100%;padding:13% 11% 9%;position:relative;overflow:hidden}.postcard-top-line{background:#17804a;height:6px;position:absolute;top:0;left:0;right:0}.postcard-header{color:#173b2b;flex-direction:column;justify-content:center;gap:5px;min-height:18%;display:flex}.postcard-header strong{font-size:clamp(.72rem,2.5vw,1.05rem)}.postcard-header span{color:#17804a;font-size:clamp(.58rem,1.8vw,.78rem);font-weight:800}.postcard-photo-frame{background:#eff8eb;border:3px solid #17804a;height:58%;overflow:hidden}.postcard-photo-frame>img{object-fit:cover;width:100%;height:100%;transition:transform .2s}.preview-placeholder{text-align:center;color:#9bad9d;place-items:center;height:100%;font-weight:800;line-height:1.8;display:grid}.postcard-caption{color:#173b2b;letter-spacing:.06em;margin-top:8%;font-size:clamp(.7rem,2.8vw,1.05rem);font-weight:900}.postcard-subcaption{color:#17804a;margin-top:3%;font-family:Georgia,serif;font-size:clamp(.55rem,1.8vw,.76rem);font-style:italic}.template-sunshine .postcard-paper{background:#fffdf4}.template-sunshine .postcard-top-line,.template-sunshine .postcard-photo-frame{background:#fff8df;border-color:#f4b400}.template-sunshine .postcard-top-line{background:#f4b400}.template-sunshine .postcard-header span,.template-sunshine .postcard-subcaption{color:#b87c00}.template-green-pop .postcard-paper{background:#fff}.template-green-pop .postcard-top-line,.template-green-pop .postcard-photo-frame{border-color:#17804a}.template-tropical .postcard-paper{background:#fff9fb}.template-tropical .postcard-top-line,.template-tropical .postcard-photo-frame{border-color:#e84576}.template-tropical .postcard-header span,.template-tropical .postcard-subcaption{color:#e84576}.template-school-day .postcard-paper{background:#f8feff}.template-school-day .postcard-top-line,.template-school-day .postcard-photo-frame{border-color:#1967a3}.template-school-day .postcard-header span,.template-school-day .postcard-subcaption{color:#1967a3}.template-confetti .postcard-paper{background:#fcf9ff}.template-confetti .postcard-top-line,.template-confetti .postcard-photo-frame{border-color:#8b5cf6}.template-confetti .postcard-header span,.template-confetti .postcard-subcaption{color:#8b5cf6}footer{color:#95a197;text-align:center;padding:35px 0 0;font-size:.72rem}.offscreen-canvas{position:fixed;top:-9999px;left:-9999px}.save-button{color:#173b2b;background:#ffd43b;border-radius:15px;width:100%;min-height:50px;margin-top:14px;font-weight:900}.save-button:disabled{cursor:not-allowed;opacity:.45}.status-message{color:#718074;text-align:center;min-height:22px;margin:12px 0 0;font-size:.75rem}.drive-link,.queue-button{color:#17804a;text-align:center;background:0 0;margin:8px auto 0;font-size:.75rem;font-weight:800;display:block}.queue-button{color:#bd7310}@media(max-width:1050px){.workspace{grid-template-columns:1fr 1fr}.preview-panel{grid-column:span 2;justify-self:center;width:100%;max-width:420px}}@media(max-width:680px){.app-shell{padding:18px 14px 26px}.hero{grid-template-columns:1fr;margin:35px 0 25px}.hero-card{justify-self:end;width:180px}.workspace{grid-template-columns:1fr}.preview-panel{grid-column:auto;max-width:none}.panel{padding:17px}.camera-stage,.camera-stage video{min-height:285px}}.postcard-kicker{z-index:2;color:#17804a;letter-spacing:.16em;font-size:.48rem;font-weight:900;position:absolute;top:5%;left:10%}.postcard-logo{z-index:3;object-fit:contain;width:22%;height:auto;position:absolute}.template-sunshine .postcard-logo{top:9%;left:39%}.template-sunshine .postcard-kicker{color:#b87c00;top:4%;left:10%}.template-sunshine .postcard-header{padding-top:14%;font-family:Georgia,serif}.template-sunshine .postcard-photo-frame{border-width:4px;border-radius:0;height:57%}.template-sunshine .postcard-caption{letter-spacing:.02em;font-family:Georgia,serif}.template-green-pop .postcard-paper{text-align:left;padding:10% 8% 8% 25%}.template-green-pop .postcard-top-line{width:19%;height:auto;inset:0 auto 0 0}.template-green-pop .postcard-kicker{color:#fff;writing-mode:vertical-rl;top:9%;left:7%;transform:rotate(180deg)}.template-green-pop .postcard-logo{filter:brightness(0)invert();width:11%;top:8%;left:4%}.template-green-pop .postcard-header{align-items:flex-start;height:20%;font-family:Arial,sans-serif}.template-green-pop .postcard-photo-frame{border-width:5px;border-radius:0 22px 22px 0;height:57%}.template-green-pop .postcard-caption{text-align:left;font-family:Arial,sans-serif}.template-green-pop .postcard-subcaption{text-align:left}.template-tropical .postcard-paper{background:#fff9fb;padding:20% 8% 8%}.template-tropical .postcard-top-line{background:#e84576;height:16%;top:0}.template-tropical .postcard-kicker{color:#fff;font-size:.7rem;top:5%;left:34%}.template-tropical .postcard-logo{width:17%;top:4%;left:9%}.template-tropical .postcard-header{color:#fff;text-align:left;align-items:flex-start;font-family:Arial,sans-serif;position:absolute;top:8%;left:35%}.template-tropical .postcard-header strong{font-size:.65rem}.template-tropical .postcard-header span{color:#fff}.template-tropical .postcard-photo-frame{border-width:0;border-radius:18px;height:62%;transform:rotate(-1deg);box-shadow:9px 9px #ffd0dc}.template-tropical .postcard-caption{letter-spacing:.1em;margin-top:10%;font-family:Georgia,serif;font-size:1.15rem}.template-tropical .postcard-subcaption{color:#e84576}.template-school-day .postcard-paper{text-align:left;padding:25% 10% 8%}.template-school-day .postcard-top-line{background:#1967a3;height:20%;top:0}.template-school-day .postcard-kicker{color:#fff;font-size:.72rem;top:7%;left:10%}.template-school-day .postcard-logo{width:20%;top:5%;right:10%}.template-school-day .postcard-header{align-items:flex-start;height:15%;font-family:Arial,sans-serif}.template-school-day .postcard-header span{color:#1967a3}.template-school-day .postcard-photo-frame{border-width:3px;border-radius:0;height:57%}.template-school-day .postcard-caption{letter-spacing:.12em;margin-top:8%;font-family:Arial,sans-serif;font-size:.85rem}.template-school-day .postcard-subcaption{text-align:right}.template-confetti .postcard-paper{background:#fcf9ff;padding:20% 9% 8%}.template-confetti .postcard-kicker{text-align:center;color:#8b5cf6;top:4%;left:0;right:0}.template-confetti .postcard-logo{width:16%;top:9%;left:42%}.template-confetti .postcard-header{height:14%;font-family:Georgia,serif}.template-confetti .postcard-photo-frame{border-width:0;border-radius:0;height:59%;transform:rotate(-1.5deg);box-shadow:8px 10px #d9c8ff}.template-confetti .postcard-caption{letter-spacing:.08em;margin-top:9%;font-family:Georgia,serif;font-size:1.05rem}.postcard-logo{object-fit:contain;width:30%;max-height:12%}.template-sunshine .postcard-logo{width:32%}.template-green-pop .postcard-logo{width:19%;left:3%}.template-tropical .postcard-logo{width:25%}.template-school-day .postcard-logo{width:28%}.template-confetti .postcard-logo{width:25%;left:37%}.stepper{display:none}.step-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.step-actions button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:680px){body{overflow:hidden}.app-shell{flex-direction:column;height:100dvh;min-height:560px;padding:10px 12px 8px;display:flex;overflow:hidden}.topbar{gap:8px;min-height:38px}.brand-mark{border-radius:11px;width:34px;height:34px;font-size:.75rem;box-shadow:3px 3px #ffd43b}.topbar h1{font-size:.85rem}.topbar .eyebrow{letter-spacing:.1em;font-size:.48rem}.online-pill{padding:5px 8px;font-size:.58rem}.hero{display:none}.stepper{grid-template-columns:repeat(4,1fr);gap:6px;margin:10px 0 8px;display:grid}.stepper button{color:#7d8d81;background:#eef6eb;border-radius:12px;justify-content:center;align-items:center;gap:6px;min-height:38px;font-size:.68rem;display:flex}.stepper button span{background:#d7e8d4;border-radius:8px;place-items:center;width:22px;height:22px;font-size:.58rem;font-weight:900;display:grid}.stepper button b{font-weight:800}.stepper button.active{color:#fff;background:#17804a;box-shadow:0 3px #ffd43b}.stepper button.active span{color:#173b2b;background:#ffd43b}.workspace{flex:1;min-height:0;display:block}.step-panel{border-radius:18px;height:100%;padding:14px;display:none;overflow:hidden}.step-panel.active{flex-direction:column;display:flex}.step-panel .section-heading{margin-bottom:10px}.step-panel .section-heading h3{font-size:.9rem}.step-panel .section-heading p{font-size:.65rem}.template-grid{flex:1;grid-template-columns:repeat(2,1fr);grid-auto-rows:minmax(72px,1fr);gap:8px;min-height:0}.template-option{border-radius:13px;min-height:0;padding:9px}.template-option span{font-size:.55rem}.template-option small{font-size:.68rem}.camera-stage{border-radius:16px;flex:1;height:auto;min-height:0;max-height:calc(100dvh - 210px)}.camera-stage video{height:100%;min-height:0}.camera-actions{gap:5px;bottom:14px}.camera-actions button{min-height:36px;padding:0 10px;font-size:.66rem}.control-row{margin-top:8px}.primary-button,.secondary-button,.ghost-button{border-radius:10px;min-height:36px;padding:0 11px;font-size:.68rem}.zoom-control{margin-top:8px}.step-actions{justify-content:space-between;margin-top:8px}.step-actions button{min-height:34px;padding:0 9px;font-size:.65rem}.preview-panel{width:auto;max-width:none}.preview-panel .section-heading{flex:none}.postcard-preview{aspect-ratio:2/3;flex:1;align-self:center;width:auto;height:auto;min-height:0;max-height:calc(100dvh - 190px)}.save-button{flex:none;min-height:40px;margin-top:8px;font-size:.75rem}.status-message,.drive-link,.queue-button{margin-top:5px;font-size:.62rem}footer{flex:none;padding:6px 0 0;font-size:.56rem}}.template-option{position:relative;overflow:hidden}.template-option .template-mini-brand,.template-option .template-mini-photo,.template-option .template-mini-title,.template-option .template-mini-date{z-index:1;display:block;position:absolute}.template-option .template-mini-brand{letter-spacing:.14em;font-size:.58rem;font-weight:900;top:10px;left:12px}.template-option .template-mini-photo{background:#ffffffe0;border:2px solid #ffffffbf}.template-option .template-mini-title{font-size:.62rem;font-weight:900}.template-option .template-mini-date{opacity:.9;font-size:.46rem;font-weight:800}.template-sunshine .template-mini-photo{border-color:#fff;top:30%;right:18%;bottom:19%;left:18%}.template-sunshine .template-mini-title{bottom:8px;left:12px}.template-sunshine .template-mini-date{bottom:9px;right:12px}.template-green-pop .template-mini-brand{writing-mode:vertical-rl;top:30px;left:10px;transform:rotate(180deg)}.template-green-pop .template-mini-photo{border-radius:0 10px 10px 0;top:18%;right:10%;bottom:13%;left:28%}.template-green-pop .template-mini-title{bottom:8px;left:31%}.template-green-pop .template-mini-date{bottom:9px;left:10px}.template-tropical .template-mini-brand{color:#fff;top:8px}.template-tropical .template-mini-photo{border:0;border-radius:9px;top:25%;right:12%;bottom:18%;left:12%;transform:rotate(-3deg);box-shadow:4px 4px #ffffff80}.template-tropical .template-mini-title{bottom:8px;left:12px}.template-tropical .template-mini-date{top:9px;right:12px}.template-school-day .template-mini-brand{top:8px;left:10px}.template-school-day .template-mini-photo{border:3px solid #ffffffe6;border-radius:0;top:28%;right:15%;bottom:12%;left:15%}.template-school-day .template-mini-title{bottom:7px;left:12px}.template-school-day .template-mini-date{bottom:9px;right:12px}.template-confetti .template-mini-brand{text-align:center;top:8px;left:0;right:0}.template-confetti .template-mini-photo{top:25%;right:19%;bottom:17%;left:19%;transform:rotate(4deg);box-shadow:5px 5px #ffffff80}.template-confetti .template-mini-title{text-align:center;bottom:7px;left:0;right:0}.template-confetti .template-mini-date{display:none}@media(max-width:680px){.template-option .template-mini-brand{font-size:.42rem;top:7px;left:8px}.template-option .template-mini-title{font-size:.48rem}.template-option .template-mini-date{font-size:.36rem}.template-option .template-mini-photo{border-width:1px}}.filter-editor{margin-top:10px}.filter-heading{color:#173b2b;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:.72rem;display:flex}.filter-heading span{color:#17804a;font-weight:800}.filter-strip{scrollbar-width:thin;gap:7px;padding:3px 2px 7px;display:flex;overflow-x:auto}.filter-chip{color:#7b8b7e;background:0 0;flex:0 0 58px;justify-items:center;gap:4px;padding:0;font-size:.58rem;display:grid}.filter-chip-preview{color:#17804a;background:linear-gradient(145deg,#ccebd3,#f8d7bd);border:2px solid #e1ebdc;border-radius:13px;place-items:center;width:48px;height:48px;font-size:1.25rem;display:grid;box-shadow:inset 0 0 0 1px #fff9}.filter-chip.active{color:#17804a;font-weight:900}.filter-chip.active .filter-chip-preview{border-color:#17804a;box-shadow:0 0 0 3px #ffd43b}.filter-intensity{color:#718074;align-items:center;gap:8px;margin-top:3px;font-size:.65rem;display:flex}.filter-intensity input{accent-color:#17804a;flex:1}.filter-intensity strong{color:#17804a;text-align:right;min-width:34px}@media(max-width:680px){.filter-editor{margin-top:6px}.filter-heading{font-size:.64rem}.filter-chip{flex-basis:48px;font-size:.5rem}.filter-chip-preview{border-radius:10px;width:38px;height:38px;font-size:.95rem}.filter-intensity{font-size:.58rem}}.camera-image-layer{z-index:0;pointer-events:none;background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;top:0;right:0;bottom:0;left:0}.camera-stage video{z-index:1;position:relative}.camera-stage video.camera-mirror{transform:scaleX(-1)}.camera-stage{isolation:isolate}.camera-image-layer{width:100%;height:100%;min-height:inherit;object-fit:cover;transform-origin:50%;transition:filter .18s,transform .18s;display:block}.gallery-panel{grid-column:1/-1}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.gallery-item{background:#fffdf4;border:1px solid #e1ebdc;border-radius:16px;overflow:hidden}.gallery-item img{aspect-ratio:1/3;object-fit:cover;width:100%;display:block}.gallery-item-meta{color:#718074;gap:3px;padding:8px 10px 10px;font-size:.68rem;display:grid}.gallery-item-meta strong{color:#173b2b;text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;overflow:hidden}.gallery-empty{color:#718074;text-align:center;background:#f7fbf3;border:1px dashed #cbdcc7;border-radius:16px;place-content:center;gap:6px;min-height:150px;font-size:.75rem;display:grid}.gallery-empty strong{color:#17804a}@media(max-width:680px){.gallery-panel{grid-column:auto}.gallery-grid{grid-template-columns:repeat(2,1fr);gap:8px;min-height:0;overflow:auto}.gallery-item-meta{padding:6px 8px 8px;font-size:.58rem}.gallery-item-meta strong{font-size:.55rem}.gallery-empty{flex:1;min-height:0}}.actual-template-grid{align-items:stretch}.actual-template-grid .template-option{background:#fff;padding:0;overflow:hidden}.actual-template-grid .template-option img{aspect-ratio:1/3;object-fit:cover;width:100%;display:block}.actual-template-grid .template-option strong{color:#173b2b;background:#fff;justify-content:space-between;align-items:center;gap:6px;padding:7px 10px;font-size:.7rem;display:flex}.actual-template-grid .template-option strong small{color:#17804a;flex:none;font-size:.58rem}.actual-template-grid .template-option.selected{outline-offset:-4px;outline:4px solid #ffd43b}.photo-slot-grid{grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:7px;display:grid}.photo-slot{color:#718074;background:#f7fbf3;border:2px solid #e1ebdc;border-radius:12px;min-width:0;padding:0;overflow:hidden}.photo-slot.active{border-color:#17804a;box-shadow:0 0 0 3px #ffd43b}.photo-slot img{aspect-ratio:1;object-fit:cover;width:100%;display:block}.photo-slot>span{place-content:center;gap:3px;min-height:72px;font-size:.68rem;font-weight:900;display:grid}.photo-slot small{font-size:.55rem;font-weight:600}.slot-status{color:#17804a;text-align:center;margin:0 0 7px;font-size:.68rem;font-weight:800}.poster-preview{aspect-ratio:1/3;background:#fff;border-radius:14px;width:min(100%,280px);margin:0 auto;position:relative;overflow:hidden}.poster-template-image{object-fit:cover;width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0}.poster-photo{z-index:1;object-fit:cover;transform-origin:50%;width:40%;height:26.67%;position:absolute}.poster-photo-0{top:20.83%;left:6%}.poster-photo-1{top:20.83%;left:52.33%}.poster-photo-2{top:48.72%;left:6%}.poster-photo-3{top:48.72%;left:52.33%}@media(max-width:680px){.actual-template-grid .template-option strong{padding:4px 6px;font-size:.55rem}.actual-template-grid .template-option strong small{font-size:.46rem}.photo-slot-grid{gap:5px}.photo-slot>span{min-height:54px;font-size:.58rem}.photo-slot small{font-size:.46rem}.slot-status{font-size:.58rem}.poster-preview{width:min(100%,190px)}}.poster-rendered-preview{object-fit:contain;width:100%;height:100%;display:block}.camera-stage{aspect-ratio:1;width:min(100%,720px);height:auto;min-height:0;margin-inline:auto}.camera-stage video,.camera-stage .camera-image-layer{aspect-ratio:1;object-fit:cover;width:100%;height:100%;min-height:0}.camera-actions{pointer-events:none;display:block;position:absolute;inset:0 0 auto}.camera-icon-button,.camera-shutter{pointer-events:auto;border:0;place-items:center;display:grid;position:absolute}.camera-icon-button{top:max(16px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));color:#fff;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#142d23b8;border-radius:50%;width:44px;height:44px;font-size:1.55rem;line-height:1}.camera-shutter{left:50%;bottom:max(18px,env(safe-area-inset-bottom));background:#ffffff40;border:4px solid #fff;border-radius:50%;width:72px;height:72px;transform:translate(-50%);box-shadow:0 3px 12px #00000047}.camera-shutter span{background:#17804a;border-radius:50%;width:54px;height:54px;box-shadow:inset 0 0 0 3px #ffd43b}.empty-camera-action{margin-top:8px}@media(max-width:680px){.camera-stage{flex:none;width:100%;max-height:none}.camera-icon-button{width:40px;height:40px;font-size:1.35rem}.camera-shutter{width:64px;height:64px}.camera-shutter span{width:48px;height:48px}}.camera-stage{position:relative;overflow:hidden}.camera-actions{pointer-events:none;z-index:4;justify-content:center;align-items:center;height:76px;display:flex;position:absolute;inset:auto 0 16px}.camera-switch-button{pointer-events:auto;width:44px;height:44px;position:absolute;top:auto;left:16px}.camera-shutter{pointer-events:auto;flex:none;position:relative;bottom:auto;left:auto;transform:none}.camera-shutter:active{transform:scale(.92)}@media(max-width:680px){.step-panel-2{overscroll-behavior:contain;scrollbar-width:thin;overflow-y:auto}.step-panel-2 .camera-stage{flex:none;width:min(100%,68dvh);height:auto;max-height:none}.step-panel-2 .camera-actions{height:70px;inset:auto 0 12px}.step-panel-2 .camera-switch-button{left:12px}}.camera-shutter{background:#17804a;border:3px solid #ffd43b;width:64px;height:64px;box-shadow:0 3px 12px #00000047}.camera-shutter span{width:100%;height:100%;box-shadow:none;background:0 0}.camera-icon-button{color:#fff;background:#123b2b;border:2px solid #ffffffe6;box-shadow:0 2px 8px #0000004d}.camera-icon-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.gallery-item{width:100%;color:inherit;text-align:left;border:1px solid #e1ebdc;padding:0}.gallery-item:focus-visible{outline-offset:2px;outline:3px solid #ffd43b}.gallery-modal{z-index:30;background:#0a1e16c7;place-items:center;padding:20px;display:grid;position:fixed;top:0;right:0;bottom:0;left:0}.gallery-modal-card{background:#fff;border-radius:20px;flex-direction:column;gap:12px;width:min(92vw,520px);max-height:92dvh;padding:14px;display:flex;position:relative;overflow:auto;box-shadow:0 18px 50px #00000059}.gallery-modal-card>img{object-fit:contain;background:#f7fbf3;border-radius:12px;width:100%;max-height:74dvh;display:block}.gallery-modal-close{z-index:1;color:#fff;background:#173b2be0;border-radius:50%;width:36px;height:36px;font-size:1.5rem;line-height:1;position:absolute;top:22px;right:22px}.gallery-modal-actions{justify-content:center;gap:10px;display:flex}.gallery-modal-actions .secondary-button{text-decoration:none}@media(max-width:680px){.gallery-modal{padding:12px}.gallery-modal-card{width:100%;max-height:94dvh;padding:10px}.gallery-modal-card>img{max-height:78dvh}.gallery-modal-actions .primary-button,.gallery-modal-actions .secondary-button{min-height:42px}}@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-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}
