.pe-return{left:50%;bottom:max(12px, env(safe-area-inset-bottom));z-index:60;border:1px solid var(--border-strong);background:var(--panel);border-radius:12px;gap:8px;width:min(560px,100% - 24px);padding:12px 14px;display:grid;position:fixed;transform:translate(-50%);box-shadow:0 8px 28px #00000047}.pe-return p{margin:0}.pe-return-actions{flex-wrap:wrap;gap:8px;display:flex}.help-part{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);grid-column:1/-1;margin:8px 0 0;font-size:13px;font-weight:600}.help-part:first-child{margin-top:0}.ideas-page{width:100%;max-width:680px;color:var(--text);flex-direction:column;gap:24px;margin:0 auto;padding:32px 24px 48px;display:flex}@media (width<=800px){.ideas-page{gap:20px;padding:20px 16px 40px}}.ideas-page h1{font-family:var(--font-brand);margin:0 0 8px;font-size:30px;font-weight:400;line-height:1.15}.ideas-page [tabindex="-1"]:focus{outline:none}.ideas-lead{color:var(--muted);margin:0;font-size:17px;line-height:1.5}.ideas-form,.ideas-sent,.ideas-unavailable{border:1px solid var(--border);border-radius:var(--radius-control,12px);background:var(--panel);flex-direction:column;gap:18px;padding:20px 18px;display:flex}.ideas-sent h2{font-family:var(--font-brand);margin:0;font-size:22px;font-weight:400}.ideas-sent p,.ideas-unavailable{margin:0;line-height:1.5}.ideas-categories{border:0;gap:10px;min-width:0;margin:0;padding:0;display:grid}.ideas-categories legend{color:var(--muted);margin-bottom:8px;padding:0;font-size:13px;font-weight:600}.ideas-category{border:1px solid var(--border-strong);border-radius:var(--radius-control,12px);background:var(--field);cursor:pointer;align-items:flex-start;gap:12px;min-height:44px;padding:12px 14px;display:flex}.ideas-category[data-checked=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--control)}.ideas-category input{width:20px;height:20px;accent-color:var(--accent);flex:none;margin:2px 0 0}.ideas-category:focus-within{outline:3px solid var(--focus);outline-offset:2px}.ideas-category-text{flex-direction:column;gap:2px;display:flex}.ideas-category-text small{color:var(--muted);font-size:13px;line-height:1.35}.ideas-field{flex-direction:column;gap:6px;display:flex}.ideas-field label{color:var(--muted);font-size:13px;font-weight:600}.ideas-field input,.ideas-field textarea{box-sizing:border-box;border:1px solid var(--border-strong);border-radius:var(--radius-control,12px);background:var(--field);width:100%;color:var(--text);font:inherit;padding:10px 12px;font-size:16px}.ideas-field textarea{resize:vertical;min-height:120px}.ideas-field input:focus-visible,.ideas-field textarea:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.ideas-field [aria-invalid=true]{border-color:var(--danger-text)}.ideas-count{text-align:right;color:var(--muted);margin:0;font-size:12px}.ideas-hint{color:var(--muted);margin:0;font-size:13px;line-height:1.4}.ideas-problem,.ideas-error{color:var(--danger-text);margin:0;font-size:14px}.ideas-actions .button{justify-content:center;width:100%;min-height:44px}@media (width>=560px){.ideas-actions .button{width:auto}}.ideas-back{margin:0}.ideas-page .button{text-decoration:none}.app{flex-direction:column;min-height:100vh;display:flex}.app-header{border-bottom:1px solid var(--border);background:var(--panel);align-items:center;gap:16px;padding:12px 24px;display:flex}@media (width<=800px){.app-header{padding:12px 16px}}.app-title{color:var(--text);white-space:nowrap;flex:none;align-items:center;margin:0;font-size:20px;font-weight:700;line-height:0;text-decoration:none;display:flex}.brand-logo{display:block}.brand-cut{width:auto;height:30px;display:none}:root:not([data-theme=dark]) .brand-full.brand-light,:root[data-theme=dark] .brand-full.brand-dark{display:block}@media (width<=640px){.brand-cut{height:26px}}a.app-title,.app-title-link{border-radius:var(--radius-sm)}.app-title-link{color:inherit;align-items:center;text-decoration:none;display:flex}.header-nav{flex:none;align-items:center;gap:4px;margin:0 auto 0 8px;display:flex}.header-button,.header-link,.help-menu-button,.project-button,.premium-button{min-height:40px;font:inherit;white-space:nowrap;border-radius:var(--radius-sm);color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;align-items:center;gap:8px;padding:0 10px;font-size:14px;text-decoration:none;display:inline-flex}.header-button:hover,.header-link:hover,.help-menu-button:hover,.project-button:hover,.help-menu-button[aria-expanded=true]{background:var(--control)}.header-button:active,.header-link:active,.help-menu-button:active,.project-button:active,.premium-button:active{background:var(--border)}.header-button:focus-visible,.header-link:focus-visible,.help-menu-button:focus-visible,.project-button:focus-visible,.premium-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.header-link[data-current=true],.help-menu-button[data-current=true]{background:var(--control);color:var(--accent-text);font-weight:600}.header-link .help-menu-item-icon{color:var(--muted)}.header-link:hover .help-menu-item-icon,.header-link[data-current=true] .help-menu-item-icon{color:var(--accent-text)}.header-actions{align-items:center;gap:8px;min-width:0;display:flex}.header-actions:empty{display:none}.header-tools{border-left:1px solid var(--border);align-items:center;gap:2px;margin-left:4px;padding-left:12px;display:flex}.header-button.theme-button{justify-content:center;min-width:40px;padding:0}.theme-item .theme-icon{color:var(--muted)}.lang-popover{position:relative}.lang-trigger{letter-spacing:.02em;gap:6px;font-size:13px;font-weight:600}.lang-trigger .lang-globe,.lang-trigger .lang-chevron{color:var(--muted);flex:none}.lang-trigger[aria-expanded=true]{background:var(--control)}.lang-list{z-index:9;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--panel);min-width:160px;box-shadow:var(--shadow-pop);margin:0;padding:6px;list-style:none;position:absolute;top:calc(100% + 6px);right:0}.lang-list[hidden]{display:none}.lang-item{width:100%;min-height:40px;font:inherit;text-align:left;border-radius:var(--radius-sm);color:var(--text);cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:0 12px;font-size:14px;display:flex}.lang-item:hover{background:var(--control)}.lang-item:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.lang-item[aria-pressed=true]{background:var(--control);box-shadow:inset 3px 0 0 var(--accent);font-weight:600}.lang-item-short{letter-spacing:.04em;min-width:22px;color:var(--muted);font-size:12px;font-weight:600}@media (width<=960px){.header-tools{border-left:0;margin-left:0;padding-left:0}.header-actions{margin-left:auto}}@media (width<=640px){.help-menu-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-header{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"logo tools""actions actions";gap:6px 12px;padding:8px 16px 12px;display:grid}.app-header .app-title{grid-area:logo}.app-header .header-tools{grid-area:tools}.app-header .header-actions{grid-area:actions;min-width:0;margin-left:0}.app-header .premium-button{flex:none}.app-header .project-button{flex:auto;min-width:0;max-width:none}}.help-menu{position:relative}.help-menu-icon{width:18px;height:18px;color:var(--muted);border:1.5px solid;border-radius:50%;place-items:center;font-size:11px;font-weight:700;display:inline-grid}.help-menu-button:hover .help-menu-icon,.help-menu-button[aria-expanded=true] .help-menu-icon{color:var(--text)}.help-menu-button.is-compact{justify-content:center;min-width:40px}.help-menu-list{z-index:9;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--panel);min-width:240px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 80px);box-shadow:var(--shadow-pop);margin:0;padding:6px;list-style:none;position:absolute;top:calc(100% + 6px);right:0;overflow-y:auto}.help-menu-list[hidden]{display:none}.help-menu-list>li>a,.help-menu-list>li>button{width:100%;min-height:40px;font:inherit;text-align:left;border-radius:var(--radius-sm);color:var(--text);cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:0 12px;font-size:14px;text-decoration:none;display:flex}.help-menu-item-icon{color:var(--muted);flex:none}.help-menu-list>li>a:hover,.help-menu-list>li>button:hover{background:var(--control)}.help-menu-list>li>a:hover .help-menu-item-icon,.help-menu-list>li>button:hover .help-menu-item-icon,.help-menu-list [aria-current=page] .help-menu-item-icon{color:var(--accent-text)}.help-menu-list>li>a:active,.help-menu-list>li>button:active{background:var(--border)}.help-menu-list>li>a:focus-visible,.help-menu-list>li>button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.help-menu-list [aria-current=page]{background:var(--control);box-shadow:inset 3px 0 0 var(--accent);font-weight:600}.help-menu-heading{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0;padding:8px 12px 4px;font-size:11px;font-weight:600}.help-menu-heading:not(:first-child){border-top:1px solid var(--border);margin-top:4px;padding-top:10px}.app-main{flex:1;grid-template:"start preview""rest preview"1fr/300px minmax(0,1fr);align-items:start;gap:16px 24px;padding:24px;display:grid}.editor-start{grid-area:start}.editor-rest{grid-area:rest}.app-main>.preview{grid-area:preview}@media (width<=800px){.app-main{grid-template:none/minmax(0,1fr);gap:16px;padding:16px}.editor-start,.editor-rest,.app-main>.preview{grid-area:auto}}.app-main[hidden]{display:none}.controls{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-panel);box-shadow:var(--shadow-panel);flex-direction:column;align-self:start;gap:18px;padding:20px;display:flex}@media (width>=801px) and (height>=500px){.app{--header-h:65px;--preview-chrome:250px}html{scroll-padding-top:81px}.app-header{z-index:5;height:var(--header-h);background:var(--bg);padding-block:0;position:sticky;top:0}.app-main>.preview{top:calc(var(--header-h) + 24px);position:sticky}.app-main>.preview[data-fit=short]{position:static}.app-main>.preview[data-fit=short] .zoom-viewport{max-height:min(680px,75dvh)}.app-main>.preview .zoom-viewport{max-height:min(680px, calc(100vh - var(--header-h) - 48px - var(--preview-chrome)));max-height:min(680px, calc(100dvh - var(--header-h) - 48px - var(--preview-chrome)))}.app-main>.preview[data-fit=short] .words-preview>.words-frame{max-width:calc(min(680px, 75dvh) * var(--words-aspect,1))}.app-main>.preview .words-preview>.words-frame{max-width:calc(min(680px, 100vh - var(--header-h) - 48px - var(--preview-chrome)) * var(--words-aspect,1));max-width:calc(min(680px, 100dvh - var(--header-h) - 48px - var(--preview-chrome)) * var(--words-aspect,1))}.app-main>.preview[data-fit=short] .motion-canvas{max-height:min(680px,75dvh)}.app-main>.preview .motion-canvas{max-height:min(680px, calc(100vh - var(--header-h) - 48px - var(--preview-chrome)));max-height:min(680px, calc(100dvh - var(--header-h) - 48px - var(--preview-chrome)))}.app-main>.preview:has(.collage-frame.is-fullscreen){position:static}.app-main>.preview .is-fullscreen .zoom-viewport{max-height:none}}.control-group{flex-direction:column;gap:14px;display:flex}.control-group+.control-group{border-top:1px solid var(--border);padding-top:18px}.group-title{font-family:var(--font-brand);letter-spacing:.06em;text-transform:uppercase;color:var(--text);align-items:center;gap:12px;margin:0;font-size:11px;font-weight:400;line-height:14px;display:flex}.group-title:before{content:"";background:var(--teal);width:5px;height:12px;box-shadow:7px 2px 0 var(--coral);border-radius:2px;flex:none;margin-top:-2px}.help-field{flex-direction:column;gap:8px;display:flex;position:relative}.help-field[hidden]{display:none}.help-button{z-index:1;width:26px;height:26px;font:inherit;border:1px solid var(--border);background:var(--control);color:var(--muted);cursor:pointer;border-radius:50%;place-items:center;padding:0;font-size:13px;font-weight:700;line-height:1;display:grid;position:absolute;top:-5px;right:0}.help-button:before{content:"";position:absolute;inset:-6px -8px -2px}.help-button:hover{border-color:var(--border-hover);color:var(--text)}.help-button[aria-expanded=true]{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}.help-text{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--control);color:var(--text);padding:10px 12px;font-size:13px;line-height:1.45}.help-text[hidden]{display:none}.help-text p{margin:0 0 6px}.help-more{color:var(--link)}.tour-invite{border:1px solid var(--accent);border-radius:var(--radius-control);background:var(--invite);flex-direction:column;gap:10px;padding:12px;display:flex}.tour-invite p{margin:0;font-size:14px;line-height:1.4}@media (height<=500px){.app-header{padding-block:8px}.app-main{gap:12px 16px;padding:12px 16px}.controls{gap:10px;padding:14px 16px}.tour-invite{gap:6px;padding:8px 10px}.tour-invite p{text-align:center;font-size:13px}.tour-invite .button-row{justify-content:center}.first-photos .button{min-height:44px}}@media (width<=800px){.controls{gap:14px}.control-group{gap:12px}.control-group+.control-group{padding-top:14px}.tour-invite{flex-flow:wrap;justify-content:center;align-items:center;gap:8px 12px;padding:10px 12px}.tour-invite p{text-align:center;flex:100%;font-size:13px}}[data-tour],.zoom-viewport{scroll-margin:calc(var(--header-h,0px) + 16px) 16px 16px}.tour-backdrop{z-index:30;position:fixed;inset:0}.tour-spotlight{z-index:31;border-radius:var(--radius-control);box-shadow:0 0 0 2px #fff, 0 0 0 5px var(--tour-ring), 0 0 0 9999px var(--tour-dim);pointer-events:none;transition:top .2s,left .2s,width .2s,height .2s;position:fixed}.tour-spotlight[hidden]{display:none}@media (prefers-reduced-motion:reduce){.tour-spotlight{transition:none}}.tour-popover{z-index:32;border:2px solid var(--tour-ring);border-radius:var(--radius-panel);background:var(--panel);width:min(340px,100vw - 24px);color:var(--text);box-shadow:inset 0 4px 0 var(--sun), var(--shadow-pop);flex-direction:column;gap:12px;padding:16px;display:flex;position:fixed}.tour-popover[data-caret]:before{content:"";background:var(--panel);border:2px solid var(--tour-ring);width:14px;height:14px;position:absolute;transform:rotate(45deg)}.tour-popover[data-caret][data-side=bottom]:before{top:-9px;left:calc(var(--caret) - 7px);border-bottom-color:#0000;border-right-color:#0000}.tour-popover[data-caret][data-side=top]:before{bottom:-9px;left:calc(var(--caret) - 7px);border-top-color:#0000;border-left-color:#0000}.tour-popover[data-caret][data-side=right]:before{left:-9px;top:calc(var(--caret) - 7px);border-top-color:#0000;border-right-color:#0000}.tour-popover[data-caret][data-side=left]:before{right:-9px;top:calc(var(--caret) - 7px);border-bottom-color:#0000;border-left-color:#0000}.tour-progress{gap:4px;margin-top:6px;display:flex}.tour-progress span{background:var(--border);border-radius:2px;width:18px;height:4px}.tour-progress span.done{background:var(--accent)}.tour-count{font-family:var(--font-brand);color:var(--text);margin:0;font-size:12px;font-weight:400;line-height:16px}.tour-title{margin:2px 0 4px;font-size:17px}.tour-text{font-size:14px;line-height:1.45}.tour-text p{margin:0}.tour-text p+p{margin-top:6px}.tour-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.tour-nav{gap:8px;display:flex}.help-page{width:100%;max-width:980px;color:var(--text);flex-direction:column;gap:40px;margin:0 auto;padding:32px 24px 48px;display:flex}@media (width<=800px){.help-page{gap:32px;padding:20px 16px 40px}}.help-page h1{font-family:var(--font-brand);margin:0 0 8px;font-size:32px;font-weight:400}.help-page [tabindex="-1"]:focus{outline:none}.help-page h1,.help-concept{scroll-margin-top:calc(var(--header-h,0px) + 16px)}.help-lead{max-width:640px;color:var(--muted);margin:0 0 16px;font-size:17px;line-height:1.5}.help-page .button{text-decoration:none}.help-section h2{font-family:var(--font-brand);margin:0 0 16px;font-size:22px;font-weight:400}.help-steps{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.help-step,.help-concept{border:1px solid var(--border);border-radius:var(--radius-panel);background:var(--panel);box-shadow:var(--shadow-panel);flex-direction:column;gap:10px;padding:14px;display:flex}.help-concept:target{border-color:var(--accent)}.help-step h3,.help-concept h3{margin:0 0 4px;font-size:16px;line-height:1.3}.help-step h3{align-items:baseline;gap:8px;display:flex}.help-step p,.help-concept p{margin:0;font-size:14px;line-height:1.5}.help-step-number{background:var(--accent);width:22px;height:22px;color:var(--on-accent);border-radius:6px;flex:none;place-items:center;font-size:12px;display:inline-grid}@media (width<=600px){.help-steps{grid-template-columns:minmax(0,1fr)}.help-step{flex-direction:row;align-items:flex-start}.help-step>.help-figure{flex:0 0 104px}}.help-groups-nav ul{flex-wrap:wrap;gap:8px;margin:0 0 8px;padding:0;list-style:none;display:flex}.help-groups-nav a{border:1px solid var(--border);min-height:44px;color:var(--text);border-radius:999px;align-items:center;padding:0 14px;font-size:14px;text-decoration:none;display:inline-flex}.help-groups-nav a:hover{border-color:var(--accent)}.help-section[id^=grupo-]{scroll-margin-top:calc(var(--header-h,0px) + 16px)}.help-steps-note,.help-start-note{color:var(--muted);margin:-8px 0 14px;font-size:14px}.help-chapter summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:48px;list-style:none;display:flex}.help-chapter summary::-webkit-details-marker{display:none}.help-chapter summary:after{content:"+";text-align:center;width:28px;color:var(--muted);flex:none;font-size:22px}.help-chapter details[open]>summary:after{content:"−"}.help-chapter summary h2{margin:0}.help-chapter details[open]>summary{margin-bottom:12px}.help-chapter summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.help-chapter{border-bottom:1px solid var(--border)}.help-concepts{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.help-concept p.help-example{color:var(--muted);font-size:13px}.help-figure{border-radius:var(--radius-sm);background:var(--stage);padding:8px}.help-figure svg{width:100%;height:auto;max-height:110px;display:block}.help-figure.small svg{max-height:104px}.help-footer{margin:0}.fig-photo{fill:var(--fig-photo)}.fig-hill{fill:var(--fig-hill)}.fig-tile{fill:var(--fig-tile)}.fig-accent{fill:var(--accent)}.fig-panel{fill:var(--panel);stroke:var(--border);stroke-width:1px}.fig-word{letter-spacing:1px;fill:var(--text);font:800 13px system-ui,sans-serif}.fig-caption{fill:var(--muted);font:600 10px system-ui,sans-serif}.fig-line{fill:none;stroke:var(--text);stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round}.fig-crop{fill:none;stroke:#fff;stroke-width:2px;stroke-dasharray:4 3}.fig-swatch-a{fill:#f1dcc3}.fig-swatch-b{fill:#f6c3ab}.fig-swatch-c{fill:#b9d7f0}.field{flex-direction:column;gap:8px;display:flex}.field[hidden]{display:none}.photo-tools{flex-direction:column;gap:8px;display:flex}.first-photos{flex-direction:column;display:flex}.first-photos .button{justify-content:center;min-height:48px;font-size:16px;font-weight:600}.first-photos.has-photos .button{font-size:15px;font-weight:500}.uploader{gap:8px;display:flex}.uploader .button{flex:1 1 0;justify-content:center;min-height:44px}.photo-clear .button{min-height:44px}@media (width<=800px),(height<=500px){.photo-tools{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;display:grid}.photo-tools>.first-photos,.photo-tools>.uploader{grid-column:1/-1}.photo-tools>.group-title{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}.field-label{color:var(--muted);font-size:13px;font-weight:600}.field input[type=range]{accent-color:var(--slider)}.text-input{border:1px solid var(--border-strong);border-radius:var(--radius-control);background:var(--field);color:var(--text);text-transform:uppercase;width:100%;min-width:0;padding:8px 12px;font-size:22px;font-weight:700}.select-input{font:inherit;border:1px solid var(--border-strong);border-radius:var(--radius-control);background:var(--field);color:var(--text);width:100%;min-width:0;min-height:40px;padding:8px 10px;font-size:15px}.background-row{align-items:stretch;gap:8px;display:flex}.color-input{border:1px solid var(--border-strong);border-radius:var(--radius-control);background:var(--field);cursor:pointer;flex:none;width:48px;min-height:40px;padding:3px}.button-row{flex-wrap:wrap;gap:8px;display:flex}.button{font:inherit;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--button);color:var(--text);box-shadow:var(--edge);cursor:pointer;align-items:center;padding:8px 14px;font-size:14px;display:inline-flex}.button:hover:not(:disabled){border-color:var(--border-hover)}.button:active:not(:disabled){box-shadow:0 1px 0 var(--border);transform:translateY(1px)}.button.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent);box-shadow:var(--edge-accent)}.button.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.button.primary:active:not(:disabled){box-shadow:0 1px 0 var(--accent-key)}.button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.button.compact{gap:6px;padding:6px 12px;font-size:13px}.hint{color:var(--muted);margin:0;font-size:12px}.hint.empty-hint{color:var(--text);font-size:13px}.preview{flex-direction:column;gap:12px;min-width:0;display:flex}.preview-bar{justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.preview-bar .stats{flex:auto;min-width:0}.history-row{flex-wrap:nowrap;flex:none;gap:6px}.editor-actions{margin-top:4px}.editor-actions .button{text-align:center;flex:110px;justify-content:center}.editor-actions .button.primary{flex:1.6 200px}.editor-actions .button{font-weight:600}.editor-actions .button:not(.primary){font-weight:400}@media (width<=800px),(height<=500px){.history-row .history-label{display:none}.history-row .button{justify-content:center;min-width:44px;min-height:44px;padding:0 10px;font-size:20px}.editor-actions .button,.collage-frame .zoom-toolbar .button{min-height:44px}.editor-actions{grid-template-columns:1fr 1fr;display:grid}.editor-actions .button{min-width:0}.editor-actions .button.primary,.editor-actions .button:last-child:nth-child(2n){grid-column:1/-1}.editor-actions .button.primary{min-height:48px;font-size:16px}.zoom-controls .zoom-button{min-width:44px;height:44px}}.stats{color:var(--muted);flex-wrap:wrap;gap:6px 16px;min-height:18px;font-size:13px;display:flex}.stats-live:empty{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.stats-alert{color:var(--danger-text);font-weight:600}.preview-canvas{flex:1;justify-content:center;align-items:flex-start;min-height:260px;display:flex}.preview-canvas:has(>.collage-frame){min-height:0}.preview-canvas>.preview-empty{align-self:center}.words-frame{width:100%;margin:0 auto;position:relative}.words-preview>.words-frame{max-width:calc(72vh * var(--words-aspect,1))}.frame-motion-layer.words-motion-layer{width:100%;height:100%;inset:0 auto auto 0}.words-preview{flex-direction:column;align-items:stretch;gap:8px;width:100%;display:flex}.words-preview-bar{justify-content:flex-end;display:flex}.words-fullscreen{z-index:10;padding:max(12px, env(safe-area-inset-top,0px)) max(12px, env(safe-area-inset-right,0px)) max(12px, env(safe-area-inset-bottom,0px)) max(12px, env(safe-area-inset-left,0px));background:var(--bg);flex-direction:column;gap:8px;display:flex;position:fixed;inset:0}.words-fullscreen-stage{border-radius:var(--radius-panel);background:var(--stage);flex:1;justify-content:center;align-items:center;min-height:0;display:flex;overflow:hidden}.words-fullscreen-stage .words-frame{flex:none;margin:0}.words-fullscreen-bar{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:8px 12px;display:flex}.words-preview-bar .button,.words-fullscreen-bar .button{justify-content:center;min-height:44px}.words-fullscreen-bar .hint{margin-right:auto}.words-canvas{border-radius:6px;width:100%;height:auto;display:block}.words-panel{flex-direction:column;gap:12px;display:flex}.words-phrases{width:100%;font:inherit;border:1px solid var(--border-strong);border-radius:var(--radius-control);background:var(--field);color:var(--text);resize:vertical;min-height:112px;padding:8px 12px;font-size:15px;line-height:1.4}.words-colors{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.words-notices .hint{color:var(--danger-text);margin:0}.collage-frame{flex-direction:column;gap:8px;width:100%;display:flex}.collage-frame.is-fullscreen{z-index:10;background:var(--bg);padding:12px;position:fixed;inset:0}.zoom{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex;position:relative}.zoom-viewport{border-radius:var(--radius-panel);background:var(--stage);touch-action:pan-y;-webkit-user-select:none;user-select:none;cursor:zoom-in;height:clamp(260px,55vh,680px);min-height:96px;max-height:min(680px,75svh);position:relative;overflow:hidden}.zoom-viewport.is-zoomed{touch-action:none;cursor:grab}.is-fullscreen .zoom-viewport{flex:1;height:auto;max-height:none}.zoom-content{transform-origin:0 0;width:100%;height:100%;padding:8px}.zoom-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.zoom-controls{gap:6px;display:flex}.zoom-button{min-width:38px;height:38px;font:inherit;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--zoom-button);color:var(--text);cursor:pointer;font-size:18px;font-weight:600}.zoom-button.zoom-fit{padding:0 10px;font-size:14px}.zoom-button:disabled{opacity:.45;cursor:default}.collage-svg{width:100%;height:100%;display:block}.format-edge{fill:none;stroke:var(--format-edge);stroke-width:1px;vector-effect:non-scaling-stroke}.collage-svg image,.collage-svg .slot-hit{cursor:pointer}.lightbox{z-index:20;background:#080a0ee6;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px;display:flex;position:fixed;inset:0}.video-dialog{z-index:20;background:#080a0eeb;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.video-dialog-panel{flex-direction:column;gap:12px;width:min(960px,100%);min-width:min(100%,288px);max-width:calc(177.778dvh - 213.333px);display:flex}.video-dialog-frame{aspect-ratio:16/9;background:#000;border-radius:6px;width:100%;position:relative;overflow:hidden}.video-dialog-frame iframe{border:0;width:100%;height:100%;position:absolute;inset:0}.video-dialog-bar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.video-dialog-info{color:#fff;flex-direction:column;flex:160px;gap:2px;min-width:0;display:flex}.video-dialog-title{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.video-dialog-meta{color:#ffffffbf;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.video-dialog-close,.video-dialog-edit,.video-dialog-bar .player-original{flex:none;justify-content:center;min-width:96px}.lightbox-image{object-fit:contain;border-radius:6px;flex:0 auto;max-width:100%;min-height:0;max-height:100%}.lightbox-bar{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(480px,100%);display:grid}.lightbox-action{text-align:left;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;min-height:52px}.lightbox-action-label{font-weight:600}.lightbox-action-description{font-size:12px;line-height:1.3}.lightbox-action:not(.primary) .lightbox-action-description{color:var(--muted)}.lightbox-close{grid-column:1/-1;justify-content:center}.lightbox-error{color:#ffb4a8;text-align:center;margin:0;font-size:14px}.lightbox-name{text-align:center;color:#fff;text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;min-width:0;font-size:14px;overflow:hidden}.lightbox-name.region-tools-title{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.35;overflow:visible}.framing-editor{border:1px solid var(--border);border-radius:var(--radius-dialog);background:var(--panel);width:min(720px,100%);height:100%;max-height:760px;color:var(--text);flex-direction:column;gap:10px;padding:12px;display:flex}.framing-title{color:var(--muted);text-align:center;margin:0;font-size:14px}.framing-title .for-touch{display:none}@media (pointer:coarse){.framing-title .for-touch{display:inline}.framing-title .for-mouse{display:none}}.framing-stage{border-radius:var(--radius-sm);background:var(--stage);touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;flex:1;min-height:0;position:relative;overflow:hidden}.framing-stage:active{cursor:grabbing}.framing-stage:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.framing-stage img{pointer-events:none;max-width:none;position:absolute}.framing-context{opacity:.35}.framing-window{outline:2px solid #fff;position:absolute;overflow:hidden;box-shadow:0 0 0 1px #00000080}.framing-loading{color:var(--muted);place-items:center;display:grid;position:absolute;inset:0}.framing-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.framing-zoom,.framing-actions{align-items:center;gap:8px;display:flex}.framing-zoom .button{height:38px}.letter-base{fill:var(--grout)}.preview-empty{color:var(--muted)}.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}.swap-banner{border:1px solid var(--accent);border-radius:var(--radius-control);background:var(--panel);color:var(--text);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:8px 8px 8px 12px;font-size:14px;font-weight:600;display:flex}.swap-source rect{fill:none;vector-effect:non-scaling-stroke}.swap-source-halo{stroke:#0000008c;stroke-width:6px}.swap-source-line{stroke:#fff;stroke-width:3px;stroke-dasharray:8 5}.is-swapping .collage-svg image,.is-swapping .collage-svg .slot-hit{cursor:crosshair}.photo-picker{border:1px solid var(--border);border-radius:var(--radius-dialog);background:var(--panel);width:min(720px,100%);max-height:100%;color:var(--text);flex-direction:column;gap:10px;padding:12px;display:flex}.picker-title{text-align:center;margin:0;font-size:16px}.picker-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;min-height:0;padding:3px;display:grid;overflow-y:auto}.picker-item{border-radius:var(--radius-sm);background:var(--stage);min-width:0;color:var(--text);font:inherit;cursor:pointer;border:2px solid #0000;flex-direction:column;gap:4px;padding:4px;display:flex;position:relative}.picker-item:hover{border-color:var(--border)}.picker-item.is-current{border-color:var(--accent)}.picker-item img{aspect-ratio:1;object-fit:cover;border-radius:5px;width:100%;display:block}.picker-name{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.picker-badge{background:var(--accent);color:var(--on-accent);border-radius:999px;padding:2px 6px;font-size:11px;font-weight:700;position:absolute;top:8px;left:8px}.picker-bar{justify-content:flex-end;display:flex}.photo-message{border:1px solid var(--border);border-radius:var(--radius-dialog);background:var(--panel);width:min(560px,100%);max-height:100%;color:var(--text);flex-direction:column;gap:28px;padding:12px;display:flex;overflow-y:auto}.photo-message-lead,.photo-message-count{color:var(--muted);margin:0;font-size:13px}.photo-message-label{font-size:13px;font-weight:600}.photo-message-field{box-sizing:border-box;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--field);width:100%;color:var(--text);font:inherit;resize:vertical;padding:8px 10px;font-size:16px}.photo-message-room{width:min(100%, 300px, calc(var(--aspect) * 26vh));perspective:900px;align-self:center}.photo-message-stage{width:100%;position:relative}.photo-message-card{transform-style:preserve-3d;transition:transform .4s;position:absolute;inset:0}.photo-message-face{box-sizing:border-box;backface-visibility:hidden;border-radius:4px;width:100%;height:100%;position:absolute;inset:0;box-shadow:0 6px 16px #00000047}.photo-message-front{object-fit:cover}.photo-message-back{border:1px solid var(--border);transform:rotateY(180deg)}.photo-message-back svg{width:100%;height:100%;display:block}.photo-message-stage.is-playing .photo-message-card{transition:none}.photo-message-stage.is-playing.is-message-first .photo-message-card{animation:4.4s ease-in-out both photo-message-turn-message}.photo-message-stage.is-playing.is-photo-first .photo-message-card{animation:4.4s ease-in-out both photo-message-turn-photo}@keyframes photo-message-turn-message{0%,20%{transform:rotateY(180deg)}50%,to{transform:rotateY(360deg)}}@keyframes photo-message-turn-photo{0%,12%{transform:rotateY(0)}36%,62%{transform:rotateY(180deg)}86%,to{transform:rotateY(360deg)}}@media (prefers-reduced-motion:reduce){.photo-message-card{transition:none;transform:none!important}.photo-message-back{transform:none}.photo-message-face{backface-visibility:visible}}.photo-message-block{flex-direction:column;gap:10px;display:flex}.photo-message-first{border:0;flex-direction:column;gap:8px;margin:0;padding:0;display:flex}.photo-message-first legend{margin-bottom:10px;padding:0}.photo-message-option{cursor:pointer;align-items:flex-start;gap:8px;font-size:14px;display:flex}.photo-message-option input{margin-top:3px}.photo-message-optionhint{color:var(--muted);font-size:12px;display:block}.photo-message-status p{margin:0;font-size:13px}.photo-message-warning{color:var(--danger-text)}.photo-message .picker-bar{flex-wrap:wrap;gap:8px}.custom-shape-row{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.control-group[hidden]{display:none}.control-group[hidden]+.control-group{border-top:0;padding-top:0}.designs-button{justify-content:center;width:100%;min-height:44px}.design-panel{border:1px solid var(--border);border-radius:var(--radius-dialog);background:var(--control);flex-direction:column;gap:12px;padding:12px;display:flex}.classic-variants{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:460px;display:grid}.classic-variant{border:2px solid var(--border);border-radius:var(--radius-control);background:var(--control);min-height:44px;color:var(--text);font:inherit;text-align:center;cursor:pointer;flex-direction:column;justify-content:space-between;align-items:stretch;gap:6px;padding:8px;font-size:13px;line-height:1.2;display:flex}.classic-variant[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 10%, var(--control));box-shadow:var(--edge-accent);font-weight:700}.classic-variant .template-thumb{width:100%;height:auto;box-shadow:0 0 0 1px var(--border);border-radius:4px;display:block}.classic-variants-more{margin-top:12px;display:block}.classic-variant-name{overflow-wrap:normal;-webkit-hyphens:none;hyphens:none}.classic-panel .segmented button{padding:0 4px;font-size:13px}.design-pending{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.design-head{align-items:center;gap:12px;display:flex}.design-head .template-thumb{width:56px;box-shadow:0 0 0 1px var(--border);border-radius:6px;flex:none}.design-head-text{flex-direction:column;gap:2px;min-width:0;display:flex}.design-name{font-family:var(--font-brand);font-size:1.1rem;font-weight:400}.design-cards{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.occasion-groups{flex-direction:column;gap:10px;display:flex}.occasion-group.disclosure{gap:10px}.occasion-group-title{font-size:inherit;margin:0}.occasion-group-head:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.occasion-grid[hidden]{display:none}.occasion-grid{flex-wrap:wrap;justify-content:center;gap:10px;margin:0;padding:0;list-style:none;display:flex}.occasion-grid li{flex:0 0 calc(50% - 5px);min-width:0;display:flex}@media (width>=640px){.occasion-grid li{flex-basis:180px}}.occasion-card{-webkit-tap-highlight-color:transparent;border:2px solid var(--border);border-radius:var(--radius-dialog);background:var(--panel);width:100%;min-height:160px;color:var(--text);font:inherit;text-align:center;cursor:pointer;flex-direction:column;justify-content:flex-start;align-items:center;gap:6px;padding:10px 8px;display:flex}.occasion-card:hover:not(:disabled){border-color:var(--accent)}.occasion-card:disabled{cursor:not-allowed;color:var(--muted);background:0 0;border-style:dashed}.occasion-card .template-thumb,.occasion-tile{aspect-ratio:4/3;background:var(--invite);width:100%;height:auto;box-shadow:0 0 0 1px var(--border);border-radius:6px;flex:none}.thumb-placeholder{background:var(--invite);display:block}.design-card .thumb-placeholder{aspect-ratio:4/3;border-radius:8px;width:100%}.occasion-when,.occasion-where{font-size:12px;line-height:1.3}.occasion-when{background:var(--invite);color:var(--accent);border-radius:99px;padding:1px 8px;font-weight:700}.occasion-where{color:var(--muted)}.catalog-search{z-index:2;background:var(--panel);margin:0 -4px;padding:4px;position:sticky;top:-16px}.designs-panel .projects-head{box-sizing:border-box;min-height:78px}.designs-panel .projects-head .shape-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.designs-panel .catalog-search{top:62px}.shape-pick-button{border:1px solid var(--border);border-radius:var(--radius-panel);background:var(--panel);width:100%;min-height:56px;color:var(--text);font:inherit;text-align:left;cursor:pointer;align-items:center;gap:12px;padding:6px 12px 6px 6px;display:flex}.shape-pick-button:hover{border-color:var(--accent)}.shape-pick-button:focus-visible,.shape-card:focus-visible,.shape-chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shape-pick-text{flex-direction:column;flex:1;min-width:0;display:flex}.shape-pick-name{overflow-wrap:anywhere;font-weight:600}.shape-pick-action{color:var(--muted);font-size:13px}.shape-pick-chevron{color:var(--muted);font-size:22px;line-height:1}.shape-thumb{background:var(--stage);width:44px;height:44px;color:var(--accent);border-radius:10px;flex:none;place-items:center;display:grid}.shape-thumb-text{color:var(--muted);font-size:18px;font-weight:700}.shape-drawing{box-sizing:border-box;fill:currentColor;width:100%;height:100%;padding:5px}.shape-panel.shape-gallery{align-self:flex-start;width:min(960px,100%);min-height:min(640px,100dvh - 32px)}.shape-chips{flex-wrap:wrap;gap:8px;display:flex}.shape-chip{border:1px solid var(--border);background:var(--panel);min-height:40px;color:var(--text);font:inherit;cursor:pointer;border-radius:20px;padding:0 14px;font-size:14px}.shape-chip[aria-pressed=true]{border-color:var(--accent);background:var(--stage);font-weight:600}.shape-section{flex-direction:column;gap:8px;display:flex}.shape-section-title{color:var(--muted);margin:4px 0 0;font-size:14px;font-weight:600}.shape-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;display:grid}.shape-card{border:1px solid var(--border);border-radius:var(--radius-panel);background:var(--panel);min-height:132px;color:var(--text);font:inherit;text-align:center;cursor:pointer;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;display:flex}.shape-card:hover{border-color:var(--accent)}.shape-card[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--stage)}.shape-card .shape-thumb{width:76px;height:76px}.shape-card-name{overflow-wrap:anywhere;font-size:14px;font-weight:600}.shape-card-hint{color:var(--muted);font-size:12px}@media (width<=800px){.shape-dialog:has(.shape-gallery){padding:8px}.shape-panel.shape-gallery{width:100%;min-height:calc(100dvh - 16px)}.shape-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}}.catalog-search-input{text-transform:none;width:100%;min-height:44px;padding-right:48px;font-size:16px}.catalog-search-input::-webkit-search-cancel-button{appearance:none}.catalog-search-clear{width:44px;height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:1.4rem;line-height:1;position:absolute;top:4px;right:4px}.catalog-search-clear:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}.catalog-results{flex-direction:column;gap:10px;display:flex}.catalog-results>p{margin:0}.occasion-sections{flex-direction:column;gap:16px;display:flex}.occasion-sections[hidden]{display:none}.occasion-section{flex-direction:column;gap:8px;display:flex}.occasion-section .occasion-grid,.catalog-results .occasion-grid{justify-content:flex-start}.occasion-subhead{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0;font-size:.8rem;font-weight:700}.sub-chips,.related-collections{flex-wrap:wrap;align-items:center;gap:8px;margin:0;display:flex}.chip{-webkit-tap-highlight-color:transparent;border:1px solid var(--border);background:var(--panel);max-width:100%;min-height:44px;color:var(--text);font:inherit;cursor:pointer;border-radius:99px;align-items:center;gap:6px;padding:6px 14px;font-size:14px;display:inline-flex}.chip:hover{border-color:var(--accent)}.chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chip[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}.chip-count{opacity:.8;font-size:12px}.sub-groups{flex-direction:column;gap:8px;display:flex}.sub-group-label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);flex:none;font-size:12px;font-weight:700}@media (width<=640px){.sub-chips{scrollbar-width:thin;overscroll-behavior-x:contain;flex-wrap:nowrap;margin:0 -16px;padding:2px 16px 6px;overflow-x:auto}.sub-chips .chip{white-space:nowrap;flex:none}}.occasion-tile{background:repeating-linear-gradient(135deg, transparent 0 5px, var(--border) 5px 6px);opacity:.7;border:0}.occasion-card .design-card-name{overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none;font-size:.95rem;line-height:1.2}.occasion-card .design-card-tag{line-height:1.3}.occasion-card .design-card-tag span{display:block}.occasion-back{align-self:flex-start;min-height:44px}.design-photos{flex-direction:column;gap:2px;display:flex}.design-photos-main{background:var(--invite);color:var(--accent);border-radius:99px;align-self:flex-start;padding:1px 8px;font-size:12px;font-weight:700}.design-photos-detail{color:var(--muted);font-size:12px}.design-photo-fit{flex-direction:column;gap:4px;display:flex}.design-photo-fit p{margin:0}.design-photo-have{border-radius:var(--radius-control);background:var(--invite);padding:6px 10px;font-size:13px;font-weight:600}.design-card{-webkit-tap-highlight-color:transparent;border:2px solid var(--border);border-radius:var(--radius-dialog);background:var(--panel);width:220px;max-width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;flex-direction:column;flex:0 220px;align-items:stretch;gap:6px;padding:10px;display:flex;position:relative}.design-card:hover{border-color:var(--border-hover)}.design-card[aria-checked=true]{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.design-card[aria-checked=true]:after{content:"✓";background:var(--accent);width:24px;height:24px;color:var(--on-accent);border-radius:50%;place-items:center;font-size:.9rem;font-weight:700;line-height:1;display:grid;position:absolute;top:6px;right:6px}.design-card .template-thumb{aspect-ratio:4/3;width:100%;height:auto;box-shadow:0 0 0 1px var(--border);border-radius:8px}.design-card-name{font-family:var(--font-brand);font-size:1.05rem}.design-fields{flex-direction:column;gap:12px;display:flex}.design-fields .text-input,.design-panel .text-input{text-transform:none;min-height:44px;font-size:16px;font-weight:500}.field-pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;display:grid}.field-digits .text-input{width:8em;max-width:100%}.design-fields-more .disclosure-body{padding-top:2px}.shape-dialog{z-index:20;background:#080a0e99;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}.shape-panel{border:1px solid var(--border);border-radius:var(--radius-dialog);background:var(--panel);width:min(720px,100%);color:var(--text);box-shadow:var(--shadow-pop);flex-direction:column;gap:12px;margin:auto;padding:16px;display:flex;position:relative}.shape-panel:before{content:"";z-index:2;border-radius:calc(var(--radius-dialog) - 1px) calc(var(--radius-dialog) - 1px) 0 0;background:var(--grape);pointer-events:none;height:5px;position:absolute;top:0;left:0;right:0}.shape-panel.is-dragging{outline:2px dashed var(--accent);outline-offset:-6px}.shape-title{margin:0;font-size:18px}.shape-intro{font-size:13px}.shape-previews{grid-template-columns:1fr 1fr;gap:12px;display:grid}.shape-figure{flex-direction:column;gap:6px;min-width:0;margin:0;display:flex}.shape-figure figcaption{color:var(--muted);text-align:center;font-size:12px}.shape-stage{aspect-ratio:1;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--stage);place-items:center;padding:8px;transition:opacity .12s;display:grid;overflow:hidden}.shape-stage.is-stale{opacity:.6}.shape-checker{background-color:#fff;background-image:conic-gradient(#e3e6eb 25%, transparent 0 50%, #e3e6eb 0 75%, transparent 0);background-size:16px 16px}.shape-stage canvas,.shape-stage svg{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%;display:block}.shape-fill{fill:var(--accent)}.shape-drop{color:#565c68;width:100%;height:100%;font:inherit;cursor:pointer;background:0 0;border:0;font-size:13px}.shape-empty{color:var(--muted);text-align:center;font-size:13px}.shape-controls{flex-wrap:wrap;align-items:flex-end;gap:12px 20px;display:flex}.shape-controls .field{flex:180px}.shape-check{cursor:pointer;align-items:center;gap:8px;min-height:40px;font-size:14px;display:inline-flex}.shape-check input{width:18px;height:18px;accent-color:var(--slider)}.shape-summary,.shape-problem{min-height:1.4em;margin:0;font-size:13px}.shape-problem{color:var(--danger-text);font-weight:600}.shape-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.shape-bar-end{gap:8px;margin-left:auto;display:flex}.shape-bar .button{min-height:40px}.zoom-content{position:relative}.text-layer,.ornament-layer,.frame-motion-layer{pointer-events:none;width:calc(100% - 16px);height:calc(100% - 16px);position:absolute;inset:8px;overflow:visible}.text-overlay{pointer-events:auto;cursor:grab;touch-action:none;outline:none}.text-overlay.is-dragging{cursor:grabbing}.frame-motion-layer{display:block}.text-layer.is-passive .text-overlay{pointer-events:none}.text-overlay-hit{fill:#0000}.text-overlay-box{fill:none;stroke:var(--focus);stroke-width:2px;stroke-dasharray:6 4;vector-effect:non-scaling-stroke;pointer-events:none}.text-overlay:focus-visible .text-overlay-box{stroke-width:3px;stroke-dasharray:none}.text-overlays,.text-editor{flex-direction:column;gap:12px;display:flex}.text-editor{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--panel);padding:12px}.text-area{font:inherit;border:1px solid var(--border-strong);border-radius:var(--radius-control);background:var(--field);color:var(--text);resize:vertical;width:100%;min-width:0;padding:8px 10px;font-size:16px}.text-list{flex-wrap:wrap;gap:6px;display:flex}.text-chip{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font:inherit;border:1px solid var(--border);background:var(--control);color:var(--text);cursor:pointer;border-radius:999px;padding:6px 10px;font-size:13px;overflow:hidden}.text-chip[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);font-weight:600}.swatch-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.swatch{border:1px solid var(--border-hover);cursor:pointer;border-radius:50%;width:26px;height:26px;padding:0}.swatch[aria-pressed=true]{box-shadow:0 0 0 2px var(--panel), 0 0 0 4px var(--accent)}.swatch-row .color-input{width:40px;min-height:30px}@media (width<=800px){.swatch{width:34px;height:34px}.swatch-row{gap:10px}}.segmented{border:1px solid var(--border);background:var(--control);border-radius:999px;padding:2px;display:flex}.segmented button{min-height:36px;font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;flex:1;padding:0 8px;font-size:14px}.segmented button:hover{color:var(--text)}.segmented button[aria-pressed=true]{background:var(--accent);color:var(--on-accent);font-weight:600}.words-mode-premium{margin-top:6px}.words-mode-badge{color:var(--accent);margin-left:2px;font-size:11px}.segmented button[aria-pressed=true] .words-mode-badge{color:inherit}.han-variant{margin-top:12px}.han-variant .segmented{border-radius:18px;flex-direction:column}.han-variant .segmented button{flex:none}.text-selected-row{display:none}@media (width<=800px){.text-selected-row{display:flex}}.font-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.font-choice{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--control);min-height:48px;color:var(--text);font:inherit;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:6px 8px;display:flex;position:relative}.font-choice:hover{border-color:var(--border-hover)}.font-choice[aria-pressed=true]{border-color:var(--accent);background:var(--panel);box-shadow:inset 0 0 0 1px var(--accent)}.font-choice[aria-pressed=true]:after{content:"";border:2px solid var(--panel);background:var(--sun);pointer-events:none;border-radius:4px;width:10px;height:10px;position:absolute;top:-5px;right:-5px}.font-name{fill:currentColor;width:100%;max-width:132px;height:18px;display:block}.font-style{color:var(--muted);font-size:12px}.font-choice[aria-busy=true] .font-style{color:var(--accent-text)}.project-button{text-align:left;gap:8px;min-width:0;max-width:240px;padding:2px 10px}.project-button-icon{color:var(--muted);flex:none;display:inline-grid}.project-button-text{flex-direction:column;min-width:0;line-height:1.2;display:flex}.project-button-name{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;overflow:hidden}.project-button-status{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.project-button-status.is-alert{color:var(--danger-text);font-weight:600}.project-notice{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--panel);color:var(--text);flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0;padding:10px 12px;font-size:13px;display:flex}.project-notice p{flex:260px;margin:0}.project-notice.is-alert{border-color:var(--danger);background:var(--danger-bg)}.projects-panel{width:min(640px,100%)}.recover-page{display:block}.recover-page form{gap:8px;display:grid}.recover-page input[type=url]{width:100%;min-height:40px;font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-control);padding:8px 10px}.recover-differences{gap:6px;margin:8px 0 12px;padding-left:20px;display:grid}.recover-differences .is-warn{font-weight:600}.projects-head{z-index:1;border-bottom:1px solid var(--border);border-radius:var(--radius-dialog) var(--radius-dialog) 0 0;background:var(--panel);justify-content:space-between;align-items:center;gap:12px;margin:-16px -16px 0;padding:16px;display:flex;position:sticky;top:-16px}.projects-empty{padding:12px 0}.project-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.project-row{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--control);gap:12px;padding:10px;display:flex}.project-row.is-current{border-color:var(--accent)}.project-thumb{background:var(--stage);border-radius:6px;flex:none;place-items:center;width:88px;height:66px;display:grid;overflow:hidden}.project-thumb img{object-fit:contain;width:100%;height:100%;display:block}.project-thumb-empty{background:var(--fig-photo);border-radius:4px;width:40%;height:40%}.project-info{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.project-name{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:6px;margin:0;font-size:15px;display:flex}.project-badge{background:var(--accent);color:var(--on-accent);border-radius:999px;padding:1px 8px;font-size:11px;font-weight:600}.projects-panel .button{min-height:40px}.project-rename{flex-direction:column;gap:8px;display:flex}.project-rename-input{width:100%;font:inherit;border:1px solid var(--border-strong);border-radius:var(--radius-control);background:var(--field);color:var(--text);padding:8px 10px;font-size:15px}.project-confirm{border:1px solid var(--danger);border-radius:var(--radius-sm);background:var(--danger-bg);flex-direction:column;gap:8px;padding:8px 10px;display:flex}.project-confirm p{margin:0;font-size:13px}.button.danger{background:var(--danger);border-color:var(--danger);color:var(--on-danger)}@media (width<=480px){.project-row{grid-template-columns:80px minmax(0,1fr);align-items:center;gap:6px 12px;display:grid}.project-thumb{grid-row:1/span 2;width:80px;height:60px}.project-info{display:contents}.project-info>.project-name{grid-column:2;align-self:end}.project-info>.hint{grid-column:2;align-self:start;margin:0}.project-info>:not(.project-name,.hint){grid-column:1/-1}.project-info>.project-rename{grid-area:1/2/span 2}.project-actions{grid-template-columns:1fr 1fr;display:grid}}.crash-screen{box-sizing:border-box;border:1px solid var(--border);border-radius:var(--radius-dialog);background:var(--panel);width:min(560px,100% - 32px);color:var(--text);margin:15vh auto 0;padding:24px}.crash-screen h1{margin:0 0 12px;font-size:22px}.crash-screen p{margin:0 0 20px;line-height:1.5}@media (width<=800px),(height<=500px){.header-button,.header-link,.project-button,.premium-button,.help-menu-button,.lang-item{min-height:44px}.header-button.theme-button,.help-menu-button.is-compact{min-width:44px}.help-menu-list>li>a,.help-menu-list>li>button{min-height:44px}.help-field{padding-top:4px}.help-field>.field{gap:14px}.help-button{top:-1px}.help-button:before{inset:-10px}.help-more{align-items:center;min-height:44px;display:inline-flex}.select-input{min-height:44px;font-size:16px}.field input[type=range]{min-height:44px;margin-block:0}.color-input,.swatch-row .color-input{width:44px;min-height:44px}.button.compact,.segmented button,.text-chip{min-height:44px}.swatch{width:34px;height:34px;position:relative}.swatch:before{content:"";position:absolute;inset:-6px}.swatch-row{gap:12px}.lightbox-bar .button,.framing-bar .button,.picker-bar .button,.photo-message .button{min-height:44px}.framing-editor .zoom-button{min-width:44px;height:44px}.framing-zoom .button{height:44px}.projects-panel .button,.shape-bar .button,.shape-check{min-height:44px}.project-rename-input{min-height:44px;font-size:16px}a.app-title,.app-title-link,.header-link,.help-page .button{min-height:44px}.projects-panel .hint a{align-items:center;width:fit-content;min-height:44px;display:flex}}@media (height<=500px){.editor-start{gap:6px}.editor-start>.field{gap:4px}.control-group{gap:10px}.control-group+.control-group{padding-top:10px}[data-tour],.zoom-viewport{scroll-margin-top:8px}}.download-bar{display:none}@media (width<=800px),(height<=499.98px){.download-bar{z-index:9;padding:8px calc(12px + env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) calc(12px + env(safe-area-inset-left,0px));background:var(--panel);border-top:1px solid var(--border);justify-content:center;display:flex;position:fixed;inset:auto 0 0}.download-bar[hidden]{display:none}.download-bar-actions{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:8px;width:100%;max-width:520px;display:grid}.download-bar .button{white-space:nowrap;justify-content:center;gap:8px;min-width:0;min-height:44px;padding:0 12px;font-size:15px}.download-bar .button.primary{font-weight:600}.download-bar-actions.three{grid-template-columns:repeat(auto-fit,minmax(min(100%,5.6rem),1fr));gap:6px}.download-bar-actions.three .button{text-align:center;overflow-wrap:break-word;white-space:normal;flex-direction:column;gap:2px;height:auto;min-height:48px;padding:4px;font-size:.8125rem;line-height:1.15}}@media (height<=499.98px) and (width>=480px){.download-bar-actions.three .button{flex-direction:row;gap:8px;min-height:44px;font-size:.875rem}}@media (width<=800px),(height<=499.98px){.download-bar-icon{flex:none;width:20px;height:20px}.app-main.room-for-bar{padding-bottom:calc(16px + var(--download-bar-h,calc(61px + env(safe-area-inset-bottom,0px))))}}@media (height<=499.98px){.download-bar{padding-top:7px;padding-bottom:calc(7px + env(safe-area-inset-bottom,0px))}}.download-bar-short{display:none}@media (width<=359.98px){.download-bar-long{display:none}.download-bar-short{display:inline}}.gallery-panel{gap:12px}.gallery-status:empty{display:none}.gallery-notice{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--control);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:8px 10px;font-size:14px;display:flex}.gallery-notice span{overflow-wrap:anywhere;flex:200px;min-width:0}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:12px 10px;margin:0;padding:2px;list-style:none;display:grid}.gallery-item{flex-direction:column;gap:2px;min-width:0;display:flex;position:relative}.gallery-item img{aspect-ratio:1;object-fit:cover;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--stage);width:100%;margin-bottom:4px;display:block}.gallery-name{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.gallery-uses{color:var(--muted);font-size:12px}.gallery-remove{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;display:grid;position:absolute;top:-2px;right:-2px}.gallery-remove-dot{background:#0f1116c7;border:1px solid #ffffffb3;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.gallery-remove svg{width:18px;height:18px}.gallery-remove:hover .gallery-remove-dot{background:#0f1116eb}.gallery-remove:focus-visible{outline:none}.gallery-remove:focus-visible .gallery-remove-dot{outline:3px solid var(--focus);outline-offset:2px}.gallery-section{margin:4px 0 0}.gallery-empty{color:var(--muted);margin:0;padding:12px 0}.gallery-foot{flex-wrap:wrap;justify-content:space-between;gap:8px;padding-top:4px;display:flex}@media (width<=800px),(height<=500px){.gallery-foot .button{min-height:44px}}.background-image,.background-tone{flex-direction:column;gap:8px;display:flex}.background-row .select-input{flex:1 1 0;min-width:0}.background-upload{white-space:nowrap;flex:none;justify-content:center}.background-image{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--control);padding:10px}.background-image.is-inactive{border-style:dashed}.background-image-head{align-items:center;gap:10px;min-width:0;display:flex}.background-image-thumb{border-radius:var(--radius-sm);object-fit:cover;background:var(--stage);flex:none;width:48px;height:48px}.background-image.is-inactive .background-image-thumb{opacity:.6}.background-image-info{flex-direction:column;min-width:0;display:flex}.background-image-name{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.background-image-actions{flex-wrap:wrap;gap:8px;display:flex}.background-error{color:var(--danger-text);margin:0;font-size:13px}.background-error:empty{display:none}.framing-veil{pointer-events:none;position:absolute;inset:0}@media (width>=801px) and (height>=501px){.background-row{flex-wrap:wrap}.background-row .select-input,.background-upload{flex:100%}}.area-zone{display:contents}.area-layer{pointer-events:none;width:calc(100% - 16px);height:calc(100% - 16px);position:absolute;inset:8px;overflow:visible}.area-dim{fill:#080a0e80;pointer-events:none}.area-guide{stroke:var(--sun);stroke-width:2px;stroke-dasharray:8 6;vector-effect:non-scaling-stroke;pointer-events:none}.area-body{fill:#0000;pointer-events:all;cursor:move;touch-action:none;outline:none}.area-body.is-dragging{cursor:grabbing}.area-body:focus-visible~.area-outline{stroke:var(--focus);stroke-width:4px;stroke-dasharray:none}.area-outline-under,.area-outline{fill:none;vector-effect:non-scaling-stroke;pointer-events:none}.area-outline-under{stroke:#14161cd9;stroke-width:4.5px}.area-outline{stroke:#fff;stroke-width:2px;stroke-dasharray:9 6}.area-side{touch-action:none;outline:none}.area-handle{cursor:nwse-resize;touch-action:none;outline:none}.area-handle[data-handle=ne],.area-handle[data-handle=sw]{cursor:nesw-resize}.area-handle-hit{fill:#0000;pointer-events:all}.area-handle-mark{fill:var(--sun);stroke:#14161c;stroke-width:1.5px;vector-effect:non-scaling-stroke}.area-side[data-side=e],.area-side[data-side=w]{cursor:ew-resize}.area-side[data-side=n],.area-side[data-side=s]{cursor:ns-resize}.area-side .area-handle-mark{fill:#fff}.area-handle:focus-visible .area-handle-mark,.area-side:focus-visible .area-handle-mark{stroke:var(--focus);stroke-width:4px}.area-edit-bar{flex-direction:column;gap:8px;padding:10px 0 0;display:flex}.area-edit-hint{margin:0}.area-edit-hint-mouse{display:none}@media (hover:hover) and (pointer:fine){.area-edit-hint-touch{display:none}.area-edit-hint-mouse{display:inline}}.area-edit-row{gap:8px;display:flex}.area-edit-row .button{justify-content:center;min-height:44px}.area-edit-row:not(.area-edit-confirm):not(.area-edit-aspect) .button:first-child,.area-edit-row:not(.area-edit-confirm):not(.area-edit-aspect) .button:nth-child(2){flex:0 0 56px;font-size:20px}.area-edit-row:not(.area-edit-confirm):not(.area-edit-aspect) .button:nth-child(3),.area-edit-aspect .button{flex:auto}.area-edit-reshaped{margin:0;font-weight:600}.area-edit-confirm .button{flex:1 1 0}.area-edit-confirm .button.primary{flex:1.6 1 0}.background-arrangement{flex-direction:column;gap:6px;display:flex}.losses-panel{width:min(460px,100%)}.losses-text p{margin:0 0 8px}.losses-actions{justify-content:flex-end}.losses-actions .button{min-height:44px}@media (width<=800px),(height<=500px){.app-main.is-area-editing>:not(.preview){display:none}.area-edit-bar{z-index:5;padding:10px 0 calc(10px + env(safe-area-inset-bottom,0px));background:var(--bg);border-top:1px solid var(--border);position:sticky;bottom:0}}@media (width>=801px) and (height>=501px){.app-main.is-area-editing>:not(.preview){opacity:.55}}.background-arrangement .segmented{border-radius:16px}.background-arrangement .segmented button{border-radius:14px;min-height:44px;padding:4px 8px;line-height:1.15}.app-main.is-area-editing .editor-actions{display:none}@media (width>=640px) and (height<=500px){.app-main.is-area-editing{grid-template-columns:minmax(0,1fr);grid-template-areas:none}.app-main.is-area-editing>.preview{grid-area:auto;grid-template-columns:minmax(0,1fr) 232px;align-items:start;gap:0 16px;display:grid}.app-main.is-area-editing>.preview>:not(.area-zone){display:none}.app-main.is-area-editing .preview-canvas{grid-area:1/1}.app-main.is-area-editing .area-edit-bar{background:0 0;border-top:0;grid-area:1/2;padding:0;position:static}.app-main.is-area-editing .area-edit-hint{font-size:13px}}.safe-zone-band{fill:#0000006b}.safe-zone-edge-under{fill:none;stroke:#0000008c}.safe-zone-edge{fill:none;stroke:#fff}.safe-zone-label{fill:#fff;font-family:system-ui,sans-serif;font-weight:600}.export-hint{margin:0}.check-field{cursor:pointer;align-items:center;gap:10px;min-height:44px;font-size:14px;display:flex}.check-field input{width:20px;height:20px;accent-color:var(--accent);flex:none}.start-choice,.start-choice-cards{flex-direction:column;gap:6px;display:flex}.start-card{border:2px solid var(--border);border-radius:var(--radius-control);background:var(--control);min-height:56px;color:var(--text);font:inherit;text-align:left;cursor:pointer;box-shadow:var(--edge);flex-direction:row;align-items:center;gap:10px;padding:6px 10px;display:flex}.start-card.is-selected{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 10%, var(--control));box-shadow:var(--edge-accent)}.start-card-icon{width:28px;height:28px;color:var(--muted);flex:none}.start-card.is-selected .start-card-icon{color:var(--accent)}.start-card-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.start-card-title{font-size:15px;font-weight:700;line-height:1.2}.start-card-desc{color:var(--muted);font-size:12px;line-height:1.3}@media (height<=500px){.start-choice-cards{gap:4px}.start-card{gap:8px;min-height:44px;padding:3px 8px}.start-card-title{font-size:14px}.start-card-desc{font-size:11px;line-height:1.2}}.start-card-check{background:var(--accent);width:20px;height:20px;color:var(--on-accent);visibility:hidden;border-radius:50%;flex:none;padding:3px}.start-card.is-selected .start-card-check{visibility:visible}.tour-invite{background:0 0;border:0;flex-flow:wrap;align-items:baseline;gap:4px 8px;padding:0;font-size:13px}.link-button{min-height:24px;color:var(--link);font:inherit;cursor:pointer;background:0 0;border:0;padding:4px 0;text-decoration:underline}.start-steps{color:var(--muted);flex-wrap:wrap;gap:4px 14px;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.start-steps li{align-items:center;gap:6px;display:flex}.start-steps li[data-state=current]{color:var(--text);font-weight:700}.start-step-n{border:1.5px solid var(--border);border-radius:50%;place-items:center;width:22px;height:22px;font-size:12px;display:inline-grid}.start-steps li[data-state=done] .start-step-n,.start-steps li[data-state=current] .start-step-n{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}@media (width<=800px){.start-steps{text-align:center;grid-template-columns:repeat(3,1fr);gap:4px 8px;font-size:12px;display:grid}.start-steps li{flex-direction:column;gap:2px}}.import-status{flex-direction:column;grid-column:1/-1;gap:4px;min-width:0;display:flex}.import-status:not(:has(.import-progress,.import-note)){display:none}.import-progress-text{color:var(--text);justify-content:space-between;gap:8px;margin:0;font-size:13px;display:flex}.import-count{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.import-bar{background:var(--control);border:1px solid var(--border);border-radius:3px;height:6px;position:relative;overflow:hidden}.import-bar>span{background:var(--accent);height:100%;transition:width .15s linear;display:block}.import-bar.indeterminate>span{width:35%;animation:1.2s ease-in-out infinite import-slide;position:absolute}@keyframes import-slide{0%{left:-35%}to{left:100%}}@media (prefers-reduced-motion:reduce){.import-bar>span{transition:none}.import-bar.indeterminate>span{opacity:.45;width:100%;animation:none;left:0}}.import-note{color:var(--muted);margin:0;font-size:13px}.import-note.import-error{color:var(--danger-text);font-weight:600}.colectivo-beta{background:var(--accent);color:var(--on-accent);letter-spacing:.04em;text-transform:uppercase;vertical-align:middle;border-radius:999px;padding:1px 7px;font-size:11px;font-weight:700;display:inline-block}.photo-colectivo{grid-column:1/-1;min-width:0}.photo-colectivo .button{box-sizing:border-box;text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px}.mailbox-step{flex-direction:column;gap:16px;display:flex}.mailbox-intro{margin:0;font-size:14px;line-height:1.5}.mailbox-fields{flex-direction:column;gap:16px;display:flex}.mailbox-fields .field{gap:8px}.mailbox-fields .text-input{text-transform:none;min-height:44px;font-size:16px;font-weight:500}.mailbox-actions{flex-wrap:wrap;gap:12px;display:flex}.mailbox-actions .button{justify-content:center;min-height:44px}@media (width<=480px){.mailbox-actions{flex-direction:column}.mailbox-actions .button{width:100%}}.create-page-step{flex-direction:column;gap:16px;display:flex}.create-page-step[hidden]{display:none}.disclosure{flex-direction:column;gap:12px;display:flex}.disclosure-head{width:100%;min-height:44px;font:inherit;text-align:left;color:var(--text);background:var(--control);border:1px solid var(--border);border-radius:var(--radius-control);cursor:pointer;align-items:center;gap:10px;padding:8px 12px;display:flex}.disclosure-head:hover{border-color:var(--border-hover)}.disclosure-title{flex:none;font-size:14px;font-weight:600}.disclosure-summary{min-width:0;color:var(--muted);text-align:right;flex:auto;font-size:13px;line-height:1.25}.disclosure[data-open=true]>.disclosure-head>.disclosure-title{flex:auto}.disclosure-chevron{border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);flex:none;width:8px;height:8px;margin:0 4px 3px 2px;transform:rotate(45deg)}.disclosure[data-open=true]>.disclosure-head>.disclosure-chevron{margin-bottom:-3px;transform:rotate(-135deg)}.disclosure.is-nested .disclosure-head{background:0 0}.disclosure-body{flex-direction:column;gap:14px;display:flex}.disclosure-body[hidden]{display:none}.disclosure.is-nested .disclosure-head{grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;display:grid}.disclosure.is-nested .disclosure-title{grid-column:1}.disclosure.is-nested .disclosure-chevron{grid-area:1/2}.disclosure.is-nested .disclosure-summary{text-align:left;grid-column:1/-1}.disclosure.is-nested .disclosure-summary:empty{display:none}@media (width<=340px){.disclosure-head{grid-template-columns:minmax(0,1fr) auto;gap:0 10px;display:grid}.disclosure-title{grid-column:1}.disclosure-chevron{grid-area:1/2/span 2}.disclosure-summary{text-align:left;grid-column:1}.disclosure-summary:empty{display:none}}.start-section[hidden]{display:none}.start-section .disclosure-body{gap:12px}.start-section .photo-tools>.group-title{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=480px){.start-section .disclosure-head{grid-template-columns:minmax(0,1fr) auto;gap:0 10px;display:grid}.start-section .disclosure-title{grid-column:1}.start-section .disclosure-chevron{grid-area:1/2/span 2}.start-section .disclosure-summary{text-align:left;grid-column:1}.start-section .disclosure-summary:empty{display:none}}.photo-source-hint{text-align:center;margin:4px 2px 0;font-size:13px;line-height:1.35}.video-links{flex-direction:column;gap:8px;margin-top:8px;display:flex}.video-link-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.video-link-thumb{object-fit:cover;border-radius:6px;flex:none;width:44px;height:44px}.video-link-picker .picker-grid{max-height:260px;overflow-y:auto}.motion-bar{align-self:flex-start;min-height:36px;margin:0 0 6px}.motion-view{flex-direction:column;align-items:center;gap:6px;width:100%;display:flex}.motion-stage{justify-content:center;width:100%;display:flex}.motion-canvas{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:min(70vh,900px);display:block}.clips-panel{flex-direction:column;gap:8px;display:flex}.clips-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.clips-list li{border:1px solid var(--border,#0000001f);border-radius:10px;flex-direction:column;gap:4px;padding:10px;display:flex}.clips-list li[data-waiting]{border-style:dashed}.clips-list li[data-waiting] .clips-name,.clips-list li[data-waiting] .clips-meta{opacity:.75}.clips-name{overflow-wrap:anywhere;min-width:0;font-weight:600}.clips-meta,.clips-state{margin:0}.clips-state{background:var(--stage,#0000000d);color:var(--text);border-radius:8px;padding:6px 8px}.clips-actions{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.clips-list .clips-actions .button{text-align:center;flex:120px;justify-content:center}.clip-picker-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.clip-picker-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;padding:3px;display:grid}.clip-picker-tile{border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--stage);min-width:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;flex-direction:column;gap:4px;padding:4px;display:flex;position:relative}.clip-picker-tile:hover:not(:disabled){border-color:var(--accent)}.clip-picker-tile:disabled{cursor:default;opacity:.75}.clip-picker-tile.has-other{border-style:dashed}.clip-picker-tile img,.clip-picker-empty{aspect-ratio:1;object-fit:cover;border-radius:5px;width:100%;display:block}.clip-picker-empty{border:1px dashed var(--border)}.clip-picker-state{background:var(--panel);border:1px solid var(--border);max-width:calc(100% - 16px);color:var(--text);border-radius:999px;padding:2px 7px;font-size:11px;font-weight:700;position:absolute;top:8px;left:8px}.clip-picker-name{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.clip-picker-confirm{border:2px solid var(--accent);border-radius:var(--radius-control);background:var(--panel);flex-direction:column;gap:8px;padding:10px;display:flex}.clip-picker-confirm p{margin:0}.preview-canvas:has(>.motion-view){min-height:0}.quick-upload{flex-direction:column;gap:4px;display:flex}.quick-upload .button{justify-content:center;min-height:48px;font-size:16px;font-weight:600}.quick-upload .hint{text-align:center;margin:0}.design-bar{z-index:3;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);border-radius:0 0 var(--radius-dialog) var(--radius-dialog);background:var(--panel);flex-direction:column;gap:6px;margin:4px -16px -16px;display:flex;position:sticky;bottom:-16px}.design-bar-name{flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin:0;display:flex}.design-bar-name .hint{margin:0}.design-bar-texts{min-height:44px;color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;margin-left:auto;padding:0 4px;font-size:14px;text-decoration:underline}.design-bar .premium-hint{margin:0}.design-bar .gallery-foot{flex-wrap:nowrap;padding-top:0}.design-bar .gallery-foot .button{flex:1}@media (height<=460px){.design-bar{margin-bottom:0;position:static}}.design-actions{flex-wrap:wrap;gap:8px;display:flex}.design-current{border-left:4px solid var(--sun);background:var(--control);overflow-wrap:anywhere;border-radius:8px;margin:0 0 8px;padding:8px 12px}.hint .for-touch{display:none}@media (pointer:coarse){.hint .for-touch{display:inline}.hint .for-mouse{display:none}}.ornament-pick{pointer-events:auto;cursor:pointer;outline:none}.ornament-pick-hit{fill:#0000}.ornament-pick:hover .ornament-pick-hit{fill:color-mix(in srgb, var(--focus) 12%, transparent)}.ornament-pick.is-selected{cursor:grab}.ornament-pick-box{fill:none;stroke:var(--focus);stroke-width:2px;stroke-dasharray:6 4;vector-effect:non-scaling-stroke}.ornament-pick:focus-visible .ornament-pick-box{stroke-width:3px}.ornaments-panel{border:1px solid var(--border,#d9d9e0);border-radius:10px;margin-top:.75rem;padding:.5rem .75rem}.ornaments-panel>summary{cursor:pointer;flex-direction:column;justify-content:center;gap:.125rem;min-height:44px;display:flex}.ornaments-body,.ornaments-controls{flex-direction:column;gap:.375rem;margin-top:.375rem;display:flex}.ornaments-pick-row{align-items:center;gap:.375rem;display:flex}.ornaments-nameplate{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;min-width:0;min-height:44px;line-height:1.2;display:flex;overflow:hidden}.ornaments-nameplate strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.ornaments-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.ornaments-effects{border:0;flex-direction:column;gap:.375rem;min-width:0;margin:0;padding:0;display:flex}.ornaments-effects>legend{margin-bottom:.5rem}.ornaments-controls .check{align-items:center;gap:.5rem;min-height:40px;display:flex}.effect-chips{flex-wrap:wrap;gap:.375rem;display:flex}.effect-chip{border:1px solid var(--border,#d9d9e0);cursor:pointer;background:0 0;border-radius:999px;align-items:center;min-height:40px;padding:0 .75rem;font-size:.875rem;display:inline-flex;position:relative}.effect-chip input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.effect-chip.is-on{background:var(--accent,#4b3fd6);border-color:var(--accent,#4b3fd6);color:#fff}.effect-chip:focus-within{outline:2px solid var(--accent,#4b3fd6);outline-offset:2px}.ornaments-more-effects>summary,.ornaments-more>summary{cursor:pointer;align-items:center;min-height:40px;font-size:.875rem;display:flex}.ornaments-more{border-top:1px solid var(--border,#d9d9e0)}.ornaments-more-body{flex-direction:column;gap:.625rem;padding-bottom:.25rem;display:flex}.ornaments-sliders{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.ornaments-sliders .field{min-width:0}.ornaments-nudge{gap:.375rem;display:flex}.ornaments-nudge .button{min-width:44px;min-height:44px}.ornaments-controls input[type=range]{width:100%;min-height:32px}.ornaments-foot{justify-content:flex-end;display:flex}.ornaments-more-effects>summary:after,.ornaments-more>summary:after{content:"▾";margin-left:.375rem;font-size:.75rem}.ornaments-more-effects[open]>summary:after,.ornaments-more[open]>summary:after{content:"▴"}.ornaments-more-effects>summary,.ornaments-more>summary{color:var(--accent,#4b3fd6);font-weight:600}.picado-add{flex-wrap:wrap;gap:.5rem;margin:.5rem 0;display:flex}.picado-swatch{cursor:pointer;border:2px solid #0000;border-radius:50%;width:36px;height:36px;padding:0}.picado-swatch.is-on{border-color:var(--text,#222);box-shadow:0 0 0 2px var(--surface,#fff) inset}.words-frame>.ornament-layer{width:100%;height:100%;inset:0}.adornos-panel .ornaments-panel{border:0;margin-top:.5rem;padding:0 .25rem}.ornament-list{flex-direction:column;gap:.25rem;max-height:8rem;margin:0 0 .5rem;padding:0;list-style:none;display:flex;overflow-y:auto}.ornament-item{border:1px solid var(--border,#d9d9e0);width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:.5rem;padding:.25rem .625rem;display:flex}.ornament-item.is-on{border-color:var(--accent,#0b6f68);box-shadow:0 0 0 1px var(--accent,#0b6f68) inset;font-weight:600}.ornament-item.is-hidden{opacity:.6}.ornament-dot{background:#ccc;border:1px solid #00000040;border-radius:50%;flex:none;width:14px;height:14px}.ornament-item-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.lang-switch{border-radius:var(--radius-sm);background:var(--control);color:var(--muted);flex-shrink:0;align-items:center;gap:2px;padding:2px 2px 2px 8px;display:inline-flex}.lang-globe{flex:none;margin-right:2px}.lang-option{min-width:36px;min-height:32px;font:inherit;letter-spacing:.02em;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 8px;font-size:13px;font-weight:600}.lang-option:hover{color:var(--text)}.lang-option:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.lang-option[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}.help-menu-setting{padding:2px 4px 4px}.help-menu-setting .lang-switch{width:100%;display:flex}.help-menu-setting .lang-option{flex:1;min-height:44px}.help-menu-theme{padding:0 0 2px}.lang-select select{min-height:32px;font:inherit;color:var(--text);background:0 0;border:0;padding:0 4px;font-size:13px;font-weight:600}@media (width<=480px){.lang-switch{padding-left:6px}.lang-option{min-width:32px;padding:0 6px}}@media (width<=359.98px){.lang-globe{display:none}}.library{flex-direction:column;gap:.5rem;min-width:0;display:flex}.library-cats{flex-wrap:wrap;gap:.375rem;display:flex}.library-cats .button.is-on{border-color:var(--accent,#0b6f68);box-shadow:0 0 0 1px var(--accent,#0b6f68) inset;font-weight:600}.library-grid{overscroll-behavior:contain;border:1px solid var(--border,#d9d9e0);border-radius:10px;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:.375rem;max-height:17rem;margin:0;padding:.25rem;list-style:none;display:grid;overflow-y:auto}.library-item{width:100%;min-height:44px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex-direction:column;align-items:center;gap:.125rem;padding:.25rem;display:flex}.library-item.is-on{border-color:var(--accent,#0b6f68);box-shadow:0 0 0 1px var(--accent,#0b6f68) inset}.library-item-name{text-align:center;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:100%;font-size:.75rem;line-height:1.15;display:-webkit-box;overflow:hidden}.library-thumb{aspect-ratio:1;background:#ece6dc;border-radius:8px;width:100%;max-width:64px}.library-thumb.is-large{flex:none;width:96px;max-width:96px}.library-preview{border:1px solid var(--border,#d9d9e0);border-radius:10px;align-items:flex-start;gap:.75rem;padding:.5rem;display:flex}.library-preview-body{flex-direction:column;flex:1;gap:.375rem;min-width:0;display:flex}.library-title{margin:.75rem 0 .25rem;font-size:.9375rem}@media (width<=380px){.library-preview{flex-direction:column}.library-grid{grid-template-columns:repeat(auto-fill,minmax(68px,1fr))}}.library .text-input{text-transform:none;letter-spacing:normal;font-size:.9375rem;font-weight:400}.adornos-tabs{border-bottom:1px solid var(--border,#d9d9e0);gap:.25rem;margin:.25rem 0 .5rem;display:flex}.adornos-tab{min-height:44px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;flex:1;padding:.25rem .5rem;font-weight:600}.adornos-tab.is-on{border-bottom-color:var(--accent,#0b6f68)}.library-filters{grid-template-columns:1fr 1fr;gap:.375rem;display:grid}.library-filters .select-input,.library>.select-input{width:100%;min-width:0}.library-empty{flex-direction:column;align-items:flex-start;gap:.5rem;padding:.5rem 0;display:flex}.library-item-name{-webkit-line-clamp:3;overflow-wrap:anywhere;font-size:.6875rem}.library-grid{grid-template-columns:repeat(auto-fill,minmax(78px,1fr))}.library-preview{gap:.625rem}.library-thumb.is-large{width:72px;max-width:72px}@media (width<=380px){.library-filters{grid-template-columns:1fr}.library-preview{flex-direction:row}.library-grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr))}}@media (width<=480px){.library-grid{max-height:12.5rem}}.ornaments-head{margin-bottom:.5rem}.ambient-view{flex-direction:column;align-items:center;gap:6px;width:100%;min-width:0;display:flex}.ambient-bar{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;width:100%;display:flex}.ambient-scene{max-width:100%;min-height:36px;font:inherit;color:inherit;background:var(--panel);border:1px solid var(--border,#0003);border-radius:8px;padding:0 10px}.ambient-stage{justify-content:center;width:100%;max-height:min(70vh,900px);display:flex}.ambient-canvas{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:min(70vh,900px);display:block}.ambient-hint{text-align:center;margin:0}.preview-canvas:has(>.ambient-view){min-height:0}
