/*! 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-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{: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{.block{display:block}.grid{display:grid}.hidden{display:none}.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}.border{border-style:var(--tw-border-style);border-width:1px}.italic{font-style:italic}.blur{--tw-blur:blur(8px);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:#243b35;font-synthesis:none;background:#f6f4ee;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:#fff;background:#234e43;border:0;border-radius:10px;min-height:48px;padding:12px 20px;font-weight:600}button:hover{background:#326454}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:4px;outline:3px solid #bd7435}.shell{max-width:1180px;padding:0 max(24px,env(safe-area-inset-right)) 0 max(24px,env(safe-area-inset-left));margin:auto}header{border-bottom:1px solid #dedfd5;justify-content:space-between;align-items:center;padding:28px 0;display:flex}.brand{color:inherit;align-items:center;gap:10px;font-size:21px;font-weight:750;text-decoration:none;display:flex}.brand-icon{color:#37604f;font-size:30px}.badge{color:#59695e;border:1px solid #d6ddd0;border-radius:30px;padding:8px 14px;font-size:12px}main{padding-top:58px}.eyebrow,.step{letter-spacing:2px;color:#637b65;font-size:11px;font-weight:700}h1{letter-spacing:-3px;margin:16px 0 20px;font-size:clamp(42px,6vw,72px);font-weight:650;line-height:1.08}h1 em{color:#658166;font-family:Georgia,serif;font-weight:400}p{line-height:1.65}.intro{color:#657268;margin-bottom:36px;font-size:17px}.start-grid{grid-template-columns:1fr 1fr;gap:28px;display:grid}.create-card{background:#fff;border:1px solid #e5e5da;border-radius:20px;padding:32px}.create-card h2{letter-spacing:-.7px;margin:18px 0 12px;font-size:26px}.create-card p{color:#657268;max-width:340px}.create-card button{margin:12px 0 15px}.create-card small{color:#6e776c;font-size:11px;display:block}.art{background:#e3e8d9;border-radius:20px;justify-content:center;align-items:center;min-height:300px;display:flex;position:relative;overflow:hidden}.paper{background:#fffdf7;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(6,1fr);gap:5px;width:210px;height:240px;padding:10px;display:grid;transform:rotate(8deg);box-shadow:0 16px 32px #344b3824}.paper div{background:linear-gradient(145deg,#c6cfaa 40%,#758d72 41%,#405c50);border-radius:4px;grid-column:span 3}.paper div:nth-child(2n){background:linear-gradient(35deg,#b58a64,#e2cba4 55%,#aab7a2 56%)}.paper div:nth-child(n+5){grid-column:span 2}.art>span{background:#fffdf1ed;padding:8px 18px;font-family:Georgia,serif;font-style:italic;position:absolute;bottom:28px;transform:rotate(-6deg)}.projects{margin-top:48px}.section-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.section-heading h2{font-size:22px}.section-heading>span{color:#6a776b;font-size:12px}.empty{text-align:center;border:1px dashed #cdd4c5;border-radius:16px;margin-top:20px;padding:30px}.empty>span{color:#8b9c80;font-size:35px}.empty h3{margin:8px}.empty p{color:#70796e;font-size:14px}.notes{grid-template-columns:repeat(3,1fr);gap:28px;padding:38px 0;display:grid}.notes h3{font-size:14px}.notes p{color:#657268;font-size:12px}.panel{background:#fff;border:1px solid #ddd;border-radius:16px;margin-top:24px;padding:24px}.panel h2{overflow-wrap:anywhere;margin:10px 0;font-size:22px}.form-row{flex-wrap:wrap;gap:12px;margin-top:8px;display:flex}input{border:1px solid #aab8aa;border-radius:8px;flex:1;min-width:0;padding:12px}.secondary{color:#234e43;background:#e9ede3}.secondary:hover{background:#dce3d5}.error{background:#fce6dc;border-radius:12px;padding:16px}.project-list{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px;display:grid}.project{color:#234e43;text-align:left;overflow-wrap:anywhere;background:#fff;border:1px solid #dce1d5;flex-direction:column;gap:10px;display:flex}.project:hover{background:#edf1e7}.project>span{font-size:32px}.project small{color:#687563;font-size:11px}footer{padding:24px 0 calc(24px + env(safe-area-inset-bottom));color:#73806e;border-top:1px solid #ddd;justify-content:space-between;font-size:11px;display:flex}@media(max-width:640px){header{padding-top:max(18px,env(safe-area-inset-top))}.badge{display:none}main{padding-top:36px}h1{letter-spacing:-2px}.intro{font-size:15px}.start-grid{grid-template-columns:1fr}.art{min-height:240px}.paper{width:180px;height:190px}.create-card{padding:24px}.notes{grid-template-columns:1fr;gap:6px}.project-list{grid-template-columns:1fr}.form-row{flex-direction:column}.section-heading{align-items:baseline}.section-heading h2{font-size:20px}footer{gap:20px}}main.editor-main{padding-top:12px}.home-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem;margin:1rem 0;display:grid}.home-tabs button{color:#234e43;background:#e9ede6;min-height:48px;padding:.65rem .1rem;font-size:clamp(.67rem,3.4vw,.95rem)}.home-tabs [aria-selected=true]{color:#fff;background:#234e43;box-shadow:inset 0 -3px #df9c5d}h1.home-title{margin:1.4rem 0 .7rem;font-size:clamp(1.7rem,5vw,2.5rem);line-height:1.15}.new-collage{min-height:52px;margin:.7rem 0 1rem}.home-info{margin:1rem 0}.home-info>summary{cursor:pointer;padding:.8rem 0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.editor{padding:24px 0}.editor-header{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.editor-header h2{font-size:23px;flex:1;min-width:160px;overflow-wrap:anywhere}.editor-actions{display:flex;gap:8px;flex-wrap:wrap}.editor-actions button{font-size:13px;padding:10px 12px}.save-status{font-size:13px;min-height:24px;color:#52674e}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:28px}.preview-column{position:sticky;top:20px;min-width:0}.canvas-wrap{position:relative;width:100%;background:#fff;box-shadow:0 8px 32px #20332915;isolation:isolate}.canvas-wrap canvas{display:block;width:100%;height:100%;touch-action:none;user-select:none;-webkit-user-select:none}.selection-outline{position:absolute;pointer-events:none;outline:2px solid #cd702d;outline-offset:-2px}.gesture-help,.tool-help{font-size:12px;color:#52674e;line-height:1.5}.gesture-help{margin:16px 0}.cell-picker{display:flex;gap:6px;flex-wrap:wrap}.cell-picker button{min-width:44px;min-height:44px;padding:8px;font-size:13px}.cell-picker [aria-pressed=true]{background:#234e43;color:#fff}.editor-tools{border:0;margin:0;padding:0;min-width:0;display:flex;flex-direction:column;gap:16px}.editor-tools section{background:#fff;border:1px solid #dce1d5;border-radius:14px;padding:20px}.editor-tools h3{font-size:17px;font-weight:650;margin:0 0 12px}.select-label{display:flex;flex-direction:column;gap:7px;font-size:13px;margin:14px 0}.editor select,.editor input:not([type=range],[type=color]){width:100%;min-height:46px;padding:10px;border:1px solid #b4c1ac;border-radius:8px;background:#fff;color:#243b35;font:inherit}.editor select{font-size:14px}.range-label{display:block;font-size:13px;margin:18px 0}.range-label>span{display:flex;justify-content:space-between;gap:12px}.range-label output{font-variant-numeric:tabular-nums;color:#596c52}.range-label input{width:100%;min-height:40px;accent-color:#234e43;padding:0;margin:0;cursor:pointer}.tool-buttons{display:flex;flex-wrap:wrap;gap:8px}.tool-buttons button{font-size:12px;padding:10px 12px}.color-row{display:flex;gap:12px;align-items:center}.color-row label{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1;font-size:12px}.color-row input[type=color]{width:100%;height:46px;border:1px solid #b4c1ac;border-radius:8px;padding:4px;background:#fff}.export-result{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap}.download{display:inline-flex;align-items:center;justify-content:center;min-height:48px;background:#234e43;color:#fff;padding:12px 16px;border-radius:10px;text-decoration:none;font-size:14px;font-weight:650}.editor-tools:disabled{opacity:.65}.editor input:invalid{border-color:#b04726}@media(max-width:800px){.editor-layout{grid-template-columns:1fr}.preview-column{position:static}.editor-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.editor-header h2{order:-1;flex-basis:100%;margin-top:0}.editor-header>button{font-size:12px}.editor-actions{gap:5px}.editor-actions button{font-size:12px}}@media(max-width:520px){.editor-tools{display:flex}.editor{padding-top:8px}.editor-layout{gap:20px}.editor-header{gap:10px}.editor-actions button{padding:9px}.editor-tools section{padding:18px}.editor-header>button{width:100%}}.color-row input[type=color]{flex:none;min-height:46px;cursor:pointer;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.range-label input{min-height:44px}@media(max-width:800px){.editor-layout{display:block}.preview-column{position:sticky;top:0;z-index:2;padding:8px 0 12px;background:#f6f4ee;border-bottom:1px solid #dce1d5;margin-bottom:20px}.canvas-wrap{max-width:min(100%,calc(38vh * var(--page-ratio)));max-width:min(100%,calc(38svh * var(--page-ratio)));margin-inline:auto}.gesture-help{font-size:11px;margin:6px 0}.cell-picker{flex-wrap:nowrap;overflow-x:auto;padding:4px 2px}.cell-picker button{flex:0 0 auto}.editor-tools section{scroll-margin-top:55svh}}.text-selection{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none!important}.edit-mode{display:flex;gap:8px;margin-bottom:10px}.edit-mode button{flex:1;font-size:13px}.edit-mode [aria-pressed=true],.text-tools [aria-pressed=true]{background:#234e43;color:#fff}.text-layer-list{display:flex;flex-direction:column;gap:6px;max-height:210px;overflow:auto;margin:14px 0}.text-layer-list button{font-size:13px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:10px}.text-layer-list span{font-variant-numeric:tabular-nums;margin-right:8px}.text-properties textarea{resize:vertical;min-height:100px;width:100%;font:inherit;font-size:16px;line-height:1.5;border:1px solid #b4c1ac;border-radius:8px;padding:12px;color:#243b35;background:#fff}.text-properties details{border-top:1px solid #dce1d5;margin-top:16px;padding-top:6px}.text-properties summary{cursor:pointer;font-size:14px;font-weight:650;min-height:48px;padding:14px 0;list-style-position:inside}.text-properties summary:focus-visible{outline:3px solid #bd7435;outline-offset:3px}.check-label{display:flex;align-items:center;gap:10px;font-size:13px;min-height:48px}.editor .check-label input[type=checkbox]{flex:none;width:22px;min-height:22px;height:22px;accent-color:#234e43}.text-color{margin:16px 0}.text-color [aria-invalid=true]{outline:2px solid #b04726}.text-color p{font-size:12px;color:#a23c22}.text-tools .danger{color:#9c3423}@media(max-width:800px){.edit-mode button{min-height:44px;padding:8px;font-size:12px}.edit-mode{margin-bottom:6px}.text-properties textarea{scroll-margin-top:60svh}.canvas-wrap{max-width:min(100%,calc(32svh * var(--page-ratio)))}}@media(max-width:800px){.editor select,.editor input:not([type=range],[type=color],[type=checkbox]){font-size:16px}.editor-layout:has(.text-properties textarea:focus) .preview-column .canvas-wrap{max-width:min(100%,calc(16svh * var(--page-ratio)))}.editor-layout:has(.text-properties textarea:focus) .gesture-help,.editor-layout:has(.text-properties textarea:focus) .cell-picker{display:none}}.workflow-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0 24px}.workflow-actions span{font-size:12px;color:#52674e}.photo-first{padding:clamp(26px,6vw,60px);text-align:center;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center}.photo-first h3{font-size:clamp(26px,4vw,40px);font-weight:650;margin:12px 0}.photo-first p{max-width:440px;color:#52674e}.photo-first button{margin:16px 0}.photo-first small{font-size:12px;color:#52674e}.layout-intro{margin:24px 0}.layout-intro h3{font-size:clamp(26px,4vw,38px);font-weight:650;letter-spacing:-1px;margin:12px 0}.layout-intro p{color:#52674e;max-width:640px}.layout-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.layout-card{display:flex;flex-direction:column;justify-content:space-between;padding:12px;background:#fff;color:#234e43;border:2px solid #dde3d6;border-radius:16px;overflow:hidden;min-width:0}.layout-card:hover{background:#eef2e8}.layout-card[aria-pressed=true]{border-color:#bd7435;box-shadow:0 0 0 2px #bd743528}.layout-card canvas{display:block;width:100%;height:auto;max-height:330px;object-fit:contain}.layout-card>span{padding:12px 0 0;display:flex;flex-direction:column;gap:5px;text-align:left;width:100%}.layout-card strong{font-size:15px}.layout-card small{font-size:11px;font-weight:400;color:#52674e}.layout-actions{display:flex;justify-content:space-between;gap:12px;position:sticky;bottom:0;z-index:3;background:#f6f4eef5;padding:16px 0 calc(16px + env(safe-area-inset-bottom));margin-top:24px;border-top:1px solid #dce1d5}.layout-actions button{flex:1;max-width:300px}.fixed-layouts{margin-top:26px}.fixed-layouts>summary{min-height:48px;padding:14px 0;font-weight:600;cursor:pointer}.editor-tools>.tool-panel{background:#fff;border:1px solid #dce1d5;border-radius:14px;padding:0 18px;min-width:0}.tool-panel>summary{min-height:56px;padding:18px 0;font-size:15px;font-weight:650;cursor:pointer}.editor-tools>.tool-panel>section{border:0;padding:4px 0 18px;border-radius:0}.tool-panel>summary:focus-visible,.fixed-layouts>summary:focus-visible{outline:3px solid #bd7435;outline-offset:3px}.canvas-wrap{max-width:min(100%,calc(68svh * var(--page-ratio)));margin-inline:auto}@media(max-width:800px){.layout-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.editor-tools{display:flex}.canvas-wrap{max-width:min(100%,calc(44svh * var(--page-ratio)))}.workflow-actions button{flex:1;min-width:140px}.workflow-actions span{flex-basis:100%}.layout-card{padding:8px}.layout-card strong{font-size:13px}.layout-card small{font-size:10px}.layout-actions button{font-size:13px;padding:12px}.editor-layout:has(.text-properties textarea:focus) .canvas-wrap{max-width:min(100%,calc(16svh * var(--page-ratio)))}}@media(max-height:600px)and (max-width:800px){.canvas-wrap{max-width:min(100%,calc(28svh * var(--page-ratio)))}.gesture-help{display:none}}.gallery-settings{margin:16px 0 24px;background:#fff;border:1px solid #dce1d5;border-radius:14px;padding:0 16px}.gallery-settings>summary{min-height:48px;padding:14px 0;font-size:14px;font-weight:600;cursor:pointer}.gallery-settings .range-label{max-width:420px}[hidden]{display:none!important}.layout-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.layout-card svg{width:100%;height:auto;max-height:190px;aspect-ratio:1;display:block}.layout-card strong{font-size:12px}.selected-layout{position:sticky;top:0;z-index:4;background:#f6f4ee;padding:10px;box-shadow:0 4px 12px #0002;text-align:center}.selected-layout canvas{max-height:40svh;max-width:100%;width:auto;margin:0 auto 8px;display:block}.selected-layout button{margin:3px;min-height:44px}.format-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.palette{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0}.palette button{width:44px;height:44px;border:1px solid #677b70;border-radius:50%}.leave-dialog{position:fixed;inset:20% 5% auto;z-index:20;box-shadow:0 0 0 100vmax #0009;max-height:70svh;overflow:auto}.leave-dialog button{margin:6px}.draft-card{display:flex;flex-wrap:wrap;gap:8px}.draft-open{flex:1;text-align:left;display:flex;flex-direction:column;gap:8px;background:transparent;color:inherit}.draft-menu{flex-basis:100%;display:flex;gap:8px;flex-wrap:wrap}.draft-menu input{width:100%;min-height:44px}.draft-row{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.simple-mode .gesture-help{max-width:650px}.simple-mode .canvas-wrap{max-width:min(100%,calc(64svh * var(--page-ratio)))}@media(max-width:800px){.simple-mode .preview-column{position:relative}.simple-mode .canvas-wrap{max-width:min(100%,calc(52svh * var(--page-ratio)))}.simple-mode .editor-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.simple-mode .editor-tools>details[open],.simple-mode .export-panel{grid-column:1/-1}.editor-header h2{font-size:20px;margin-bottom:0}.editor-header>button{width:auto}.workflow-actions{margin:8px 0}.workflow-actions button{min-width:0;min-height:44px;font-size:12px;padding:9px}.workflow-actions span{flex-basis:auto}.edit-mode{flex-wrap:wrap}.simple-mode:has(textarea:focus) .canvas-wrap{max-width:min(100%,calc(15svh * var(--page-ratio)))}.simple-mode:has(textarea:focus) .preview-column{position:static}.layout-card{padding:6px}.layout-card strong{font-size:10px}}.draft-card{flex-direction:row;min-width:0;padding:14px}.draft-open{min-width:0}.draft-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;width:100%;flex-basis:100%}.draft-menu>label{grid-column:1/-1;min-width:0}.draft-menu button{min-width:0;font-size:13px;padding:10px}.leave-dialog{margin:0;width:90%;border:1px solid #b4c1ac;box-shadow:none}.leave-dialog::backdrop{background:#0009}.mobile-dock{display:none}@media(max-width:800px){.shell:has(.editor-main)>header{display:none}.editor-main{padding-top:0}.editor{padding-bottom:90px}.editor-header{gap:6px}.editor-header h2{font-size:18px;margin:6px 0}.editor:has(.mobile-dock) .editor-header .header-save{display:none}.editor-header>button,.editor-actions button{min-height:44px}.editor-header>button{font-size:12px;padding:8px}.editor-actions{margin-left:auto}.save-status{margin:6px 0}.workflow-actions span{display:none}.simple-mode .editor-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.simple-mode .editor-tools>.tool-panel{padding:0 8px}.simple-mode .tool-panel>summary{font-size:12px;min-height:48px;padding:14px 0;overflow-wrap:anywhere}.simple-mode .editor-tools>details[open],.simple-mode .export-panel{grid-column:1/-1}.mobile-dock{display:flex;gap:8px;position:fixed;bottom:0;left:0;right:0;padding:8px max(16px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom));background:#f6f4eef5;border-top:1px solid #dce1d5;z-index:6}.mobile-dock button{flex:1;font-size:13px;padding:10px;min-height:48px}.export-panel{scroll-margin-top:12px}}.compact-header{display:grid;grid-template-columns:44px minmax(0,1fr) 88px 44px;gap:6px;position:relative;align-items:center}.compact-header>h2{order:0;min-width:0;font-size:18px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-basis:auto}.compact-header .editor-actions{margin:0;display:flex;gap:0;flex-wrap:nowrap}.compact-header button{min-width:44px;width:44px;min-height:44px;padding:4px;font-size:22px}.editor-change{position:relative;z-index:8}.editor-change>summary{list-style:none;cursor:pointer;text-align:center;min-height:44px;font-size:28px;background:#e9ede3;border-radius:10px}.editor-change>summary::-webkit-details-marker{display:none}.change-actions{position:absolute;right:0;top:48px;width:min(310px,85vw);display:grid;gap:5px;padding:10px;border:1px solid #bac6b8;border-radius:12px;background:#fff;box-shadow:0 10px 30px #0003}.change-actions button{width:100%;font-size:14px;min-height:48px;text-align:left;padding:10px}.save-status{font-size:11px;min-height:18px;margin:4px 0 8px}.format-choices [aria-pressed=true]{background:#234e43;color:#fff;box-shadow:0 0 0 3px #c18747}.format-continue{margin-top:18px}.custom-color{display:flex;align-items:center;gap:10px;min-height:60px;font-size:14px;position:relative}.current-color{width:42px;height:42px;flex:none;border:2px solid #234e43;outline:2px solid white;border-radius:8px}.custom-color output{display:block;font-size:12px;font-variant-numeric:tabular-nums}.custom-color input[type=color]{-moz-appearance:auto;appearance:auto;-webkit-appearance:auto;width:48px;height:44px;padding:2px;min-width:48px;border:1px solid #687563;border-radius:8px;background:#fff;margin-left:auto}.palette [aria-pressed=true]{outline:3px solid #bd7435;outline-offset:2px}.background-colors{padding:8px 0}.swap-highlight{position:absolute;pointer-events:none;outline:4px solid #e3a02e;outline-offset:-4px;background:#e3a02e22}.swap-done{outline-color:#087b54;background:#087b5422}.swap-message{position:absolute;bottom:8px;left:50%;transform:translate(-50%);background:#234e43;color:#fff;font-size:13px;border-radius:8px;pointer-events:none;white-space:nowrap}.swap-message:not(:empty){padding:6px 10px}.canvas-wrap{background:repeating-conic-gradient(#e1e1e1,#e1e1e1 25%,#fff 0%,#fff 50%) 0/16px 16px}.export-result{display:block;scroll-margin-top:12px}.export-preview{display:block;width:100%;max-height:55svh;object-fit:contain;background:repeating-conic-gradient(#ddd,#ddd 25%,#fff 0%,#fff 50%) 0/16px 16px;border:1px solid #dce1d5;border-radius:8px;margin:12px 0}.export-result p{font-size:13px}.export-save-question{padding:12px;margin-top:16px;background:#eef2e8;border-radius:12px}.export-save-question button{margin:4px}.editor-dock{display:flex;gap:8px;position:sticky;bottom:0;z-index:6;padding:10px;background:#f6f4eef5;border-top:1px solid #dce1d5;margin-top:14px}.editor-dock button{flex:1;min-height:48px;font-size:13px}.draft-open{flex-direction:row;align-items:center;padding:8px;gap:12px}.draft-description{display:flex;flex-direction:column;min-width:0;gap:6px}.draft-thumbnail{width:76px;height:76px;flex:none;object-fit:contain;border-radius:8px;background:#e9ede3}.draft-placeholder{display:grid;place-items:center;color:#69816f;font-size:32px}.install-instruction{margin:10px 0;overflow-wrap:normal}@media(max-width:800px){.shell:has(.editor-main){padding-inline:12px}.compact-header>h2{order:0;flex-basis:auto;font-size:16px;margin:0}.compact-header>button{width:44px}.editor-layout .preview-column{position:relative;top:auto;padding-top:0}.simple-mode .canvas-wrap,.expert-mode .canvas-wrap{max-width:min(100%,calc(68svh * var(--page-ratio)))}.editor-layout{margin-top:8px}.editor{padding-bottom:100px}.editor-dock{position:fixed;bottom:var(--keyboard-offset,0px);left:0;right:0;margin:0;padding:8px max(12px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.editor input,.editor select,.editor button,.editor summary{scroll-margin-bottom:90px}.gesture-help{font-size:10px}.simple-mode .editor-tools>[data-simple-tool]:has(.text-tools){order:-1;grid-column:1/-1}.draft-thumbnail{width:64px;height:64px}.editor-layout:has(textarea:focus) .canvas-wrap{max-width:min(100%,calc(15svh * var(--page-ratio)))}.export-save-question button{width:100%;margin-inline:0}}.editor-layout .editor-tools section,.editor-layout .text-properties textarea{scroll-margin-top:12px}.text-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.text-heading h3{margin:.4rem 0}.text-live{position:sticky;top:0;z-index:5;background:var(--paper,#fffaf2);padding:.4rem 0;border-bottom:1px solid #d8ddd5}.text-live-preview{display:block;width:100%;height:100px;object-fit:contain;background:repeating-conic-gradient(#e5e8e2,#e5e8e2 25%,#f7f8f5 0%,#f7f8f5 50%) 0/16px 16px;border-radius:8px}.text-live [role=tablist]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.25rem;margin-top:.4rem}.text-live [role=tab]{min-width:0;padding:.5rem .2rem;min-height:44px;background:#edf0e9;color:#234e43}.text-live [role=tab][aria-selected=true]{background:#234e43;color:#fff}.text-properties>section{padding:.75rem 0}.text-properties textarea{scroll-margin-top:180px}.text-editing{padding-bottom:env(safe-area-inset-bottom,0px)}.text-editing .text-heading{position:sticky;top:0;z-index:6;background:var(--paper,#fffaf2)}.text-editing .text-live{top:54px}@media(max-width:800px){.text-live-preview{height:75px}}@media(max-height:600px){.text-live-preview{height:60px}}.export-actions{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-top:.8rem}.export-actions button{white-space:normal}.export-summary{font-weight:700}.export-settings>summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.export-result{scroll-margin-top:12px}@media(max-width:360px){.export-actions{grid-template-columns:1fr}}.editor-layout .text-properties textarea,.text-editing input,.text-editing select,.text-editing button{scroll-margin-top:225px;scroll-margin-bottom:20px}.native-photo-input{position:absolute;width:1px;height:1px;opacity:0;clip-path:inset(50%);overflow:hidden;pointer-events:none}.editor-layout .editor-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.editor-layout .editor-tools>.tool-panel{min-width:0;margin:0;padding:0 10px;border:1px solid #dce1d5;border-radius:14px;background:#fff}.editor-layout .editor-tools>.tool-panel>summary{min-height:50px;padding:14px 0;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer;overflow-wrap:anywhere}.editor-tools>.tool-panel[open],.editor-tools>.export-panel{grid-column:1/-1}.editor-tools>.tool-panel:has(.text-tools){order:-1;grid-column:1/-1}.editor-tools>.tool-panel>section{padding:10px 0;border:0;border-radius:0}.reset-design p{font-size:12px;line-height:1.5}.reset-design button{width:100%;margin:5px 0;white-space:normal}.editor .palette{gap:8px;flex-wrap:wrap}.editor .palette button{box-sizing:border-box;flex:0 0 44px;aspect-ratio:1/1;width:44px;height:44px;min-width:44px;max-width:44px;min-height:44px;max-height:44px;padding:0;border-radius:50%;align-self:start}.app-notice{position:fixed;top:calc(12px + env(safe-area-inset-top,0px));left:50%;transform:translate(-50%);z-index:30;max-width:calc(100vw - 32px);padding:12px 18px;border-radius:12px;background:#234e43;color:#fff;font-size:14px;box-shadow:0 4px 16px #0003;pointer-events:none}.app-notice:empty{display:none}.picker-status{font-size:12px;line-height:1.4}.editor input.native-photo-input{left:0;top:0;width:1px;min-width:0;height:1px;min-height:0;padding:0;border:0;margin:0}
