@font-face{font-family:Lato;src:url(/fonts/Lato-Regular.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Lato;src:url(/fonts/Lato-Bold.ttf) format("truetype");font-weight:700;font-display:swap}@font-face{font-family:Lora;src:url(/fonts/Serif-Regular.ttf) format("truetype");font-weight:400 700;font-display:swap}:root{font-family:Lato,Arial,sans-serif;color:#273e35;background:#f8f9f6;font-synthesis:none;font-size:16px;--green: #294d3d;--line: #dfe4dc;--muted: #69766e;--cream: #f4efe5}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button,input,textarea,select{outline-offset:3px}*:focus-visible{outline:3px solid #b3752e}button{transition:background .15s,box-shadow .15s}button:hover:not(:disabled){filter:brightness(.96)}button svg{flex-shrink:0}input,textarea,select{width:100%;min-width:0;color:#263b31;border:1px solid #d8dfd5;background:#fff;border-radius:7px;padding:10px 12px;min-height:42px}textarea{resize:vertical;line-height:1.5}input:focus,textarea:focus,select:focus{border-color:#668267}input[type=checkbox]{width:17px;min-height:17px;height:17px;accent-color:var(--green)}input[type=range]{accent-color:var(--green);padding:0}h1,h2,h3,p{margin-top:0}h2{font-size:21px;letter-spacing:-.4px}h3{font-size:17px}p{line-height:1.55}small{font-size:13px;line-height:1.5;color:var(--muted)}.app-header{height:85px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);gap:20px}.brand{border:0;background:none;display:flex;align-items:center;gap:12px;text-align:left;color:var(--green);font-family:Lora,serif;font-size:30px;line-height:1.2;padding:0}.brand-mark{display:grid;place-items:center;width:43px;height:46px;background:var(--green);border-radius:12px 12px 3px;color:#f5ebd5}.brand-sub{display:block;font:9px Lato,sans-serif;font-weight:700;letter-spacing:2.1px;margin-top:4px}.header-right{display:flex;align-items:center;gap:24px}.local-label{font-size:13px;color:#65736b;display:flex;align-items:center;gap:8px}.local-label>span{width:6px;height:6px;background:#6f8656;border-radius:50%}.primary,.secondary,.delete-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;padding:11px 17px;min-height:42px;border:1px solid var(--line);font-size:14px;font-weight:700;line-height:1.3}.primary{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 2px 3px #17352210}.secondary{background:#fff;color:#33473a}.delete-button{background:#a52d2d;color:#fff;border-color:#a52d2d}.icon{border:0;background:none;color:#6b796e;padding:7px;display:inline-grid;place-items:center;border-radius:5px;min-width:32px;min-height:32px}.icon:hover{background:#edf0e9}.danger{color:#a34036!important}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.text-button{border:0;background:none;color:var(--green);font-size:14px;font-weight:700;min-height:36px;padding:5px 0}.toast{position:fixed;z-index:100;bottom:20px;left:50%;transform:translate(-50%);width:max-content;max-width:calc(100% - 32px);padding:15px 16px;background:#263e33;color:#fff;box-shadow:0 6px 25px #13271925;border-radius:9px;display:flex;align-items:center;gap:16px;font-size:14px;line-height:1.45}.toast button{border:0;background:none;color:#fff;font-size:24px}.library{max-width:1120px;margin:auto;padding:54px 40px 40px}.eyebrow{font-size:11px;letter-spacing:2.1px;font-weight:700;color:#727e67;margin-bottom:20px}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:30px}.library h1{font-family:Lora,serif;font-size:clamp(34px,4vw,49px);line-height:1.15;font-weight:400;letter-spacing:-1.4px;margin-bottom:18px}.library h1 em{font-weight:400;color:#7b8960}.library-heading p{color:var(--muted);margin-bottom:30px}.library-leaf{color:#788e62;margin-right:42px}.start-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:12px 0 42px}.start-card{border:1px solid #dce2d7;background:#fff;text-align:left;border-radius:13px;padding:28px;color:#2c4135;position:relative;box-shadow:0 3px 7px #283b2003}.start-card.example{background:#eaf0e3;border-color:#dce5d2}.start-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;background:#f1f4ed;color:#58724b;border-radius:10px;margin-bottom:20px}.example .start-icon{background:#dce7d1}.start-card h2{font-family:Lora,serif;font-weight:500;font-size:23px;margin-bottom:8px}.start-card p{color:#72806f;font-size:14px;margin-bottom:25px}.start-card b{font-size:14px}.library-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.library-title h2{margin:0;display:flex;align-items:center;gap:12px}.count,.badge{font-family:Lato,sans-serif;font-size:12px;font-weight:400;background:#edf0e9;border-radius:5px;color:#697966;padding:4px 7px;white-space:nowrap}.upload-inline{cursor:pointer}.upload-inline input,.upload-button input{position:absolute;width:1px;height:1px;padding:0;opacity:0}.upload-inline:focus-within,.upload-button:focus-within{outline:3px solid #b3752e;outline-offset:3px}.library-empty{border:1px dashed #d1d9cd;min-height:130px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:16px;color:#75826e;background:#f4f6f0}.library-empty p{margin:0;line-height:1.8}.storage-note{font-size:13px;color:#77816f;line-height:1.65;margin:28px 0 0;max-width:780px}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.project-tile{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}.project-cover{width:100%;border:0;min-height:170px;background:#f4eddf;color:#42523b;display:flex;flex-direction:column;align-items:center;padding:20px;gap:10px;overflow:hidden}.project-cover span{font-family:Lora,serif;font-size:29px;max-width:100%;overflow-wrap:anywhere}.project-cover i{font-size:7px;letter-spacing:1px;font-style:normal;max-width:100%;overflow-wrap:anywhere}.cover-lines{height:40px;width:75%;background:repeating-linear-gradient(transparent 0 10px,#68704c28 10px 11px)}.cover-minimal{background:#fff}.cover-classic{background:#fdf8ec;border:8px double #68704c28}.cover-elegant{background:#253c32;color:#e7d9af}.cover-modern{background:#ebdfd3;border-top:10px solid #9a5f3f;text-align:left}.project-tile-body{padding:17px}.project-name{display:block;text-align:left;background:none;border:0;padding:0;margin-bottom:6px;font-weight:700;color:#334936;overflow-wrap:anywhere}.project-tile-body small{display:block;margin-bottom:15px}.project-tile .text-button{margin-right:auto}.project-topbar{min-height:74px;padding:14px 30px;display:flex;align-items:center;gap:26px;background:#fafbf8;border-bottom:1px solid var(--line)}.back-button{background:none;border:0;color:#6b786b;display:flex;gap:8px;align-items:center;font-size:13px;white-space:nowrap}.project-title{display:flex;align-items:center;flex-wrap:wrap;gap:13px;flex:1;min-width:0}.project-title>strong{font-size:15px;overflow-wrap:anywhere}.saved{font-size:12px;display:flex;align-items:center;gap:3px;color:#798774}.workspace{display:grid;grid-template-columns:minmax(400px,46%) minmax(0,54%);height:calc(100dvh - 159px)}.editor-panel{min-width:0;background:#fff;display:flex;flex-direction:column;border-right:1px solid var(--line)}.tabs{display:flex;flex-shrink:0;border-bottom:1px solid var(--line);padding:0 24px;gap:22px;min-height:61px}.tabs button{border:0;background:none;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-size:14px;font-weight:700;padding:18px 0;color:#7c867c;border-bottom:2px solid transparent}.tabs button.active{color:var(--green);border-color:var(--green)}.editor-content{overflow-y:auto;padding:28px 28px 50px;scroll-behavior:smooth}.block-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:19px}.block-heading h2{font-size:22px;font-family:Lora,serif;font-weight:500;line-height:1.3;margin-bottom:8px}.block-heading p{color:#7a8277;font-size:14px;margin:0}.block-heading .count{margin-top:5px}.tip{font-size:12px;line-height:1.65;color:#6d7968;padding:12px 14px;background:#f6f7f1;border-radius:6px;margin-bottom:22px}.section-card{border:1px solid #dce3d7;border-radius:9px;margin-bottom:23px;overflow:hidden;scroll-margin:20px;background:#fff}.section-bar{display:flex;align-items:center;gap:8px;background:#f1f4ec;padding:13px 12px;border-bottom:1px solid #dce3d7}.section-number{font-size:11px;color:#748466;letter-spacing:1px}.section-bar>strong{font-size:14px;flex:1;min-width:0;overflow-wrap:anywhere}.actions{display:flex;gap:1px;align-items:center;margin-left:auto}.drag-handle{display:inline-flex;cursor:grab;color:#a0ad97}.section-fields{padding:17px 18px 5px}.field{display:flex;flex-direction:column;gap:6px;font-size:13px;margin-bottom:14px;color:#55654f;min-width:0}.field>span{font-weight:700}.field small{font-size:12px;line-height:1.45}.check{display:flex;align-items:center;gap:8px;font-size:13px;color:#65745e;min-height:35px;cursor:pointer}.product-card{padding:14px 18px 18px;margin:12px 12px 0;background:#fff;border:1px solid #e1e6dc;border-radius:7px;scroll-margin:15px}.product-bar{display:flex;align-items:center;gap:6px;margin:-3px 0 12px}.product-bar>span:nth-child(2){font-size:10px;letter-spacing:1.4px;color:#94a08d}.product-card .field{margin-bottom:12px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.subtle{font-size:12px;color:#87917d;line-height:1.6}.product-bottom{display:flex;justify-content:space-between;gap:10px;align-items:flex-end;margin-top:12px}.product-bottom .field{max-width:160px;margin:0;font-size:11px}.product-bottom select{font-size:12px;min-height:34px;padding:6px 9px}.add-product,.add-section{display:flex;justify-content:center;align-items:center;gap:7px;color:var(--green);font-weight:700;font-size:14px;width:100%;background:none;border:0;min-height:54px}.add-section{border:1px dashed #a8b69c;border-radius:7px;background:#f7f9f2;min-height:51px}.muted-card{background:#f4f4f1;opacity:.75}.variants{padding:12px;border-radius:6px;background:#f6f7f3;margin-bottom:10px}.variant{display:grid;grid-template-columns:1fr 1fr 30px;gap:8px;align-items:center}.empty{text-align:center;padding:35px 20px;color:#78866e}.empty h3{color:#3b5137}.settings-card{border:1px solid var(--line);border-radius:9px;padding:21px;margin-bottom:22px}.settings-card h3{font-family:Lora,serif;font-weight:500;margin-bottom:19px}.settings-card>p{font-size:14px}.image-upload{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:17px 0}.image-upload img{max-width:100%;height:90px;object-fit:contain;border:1px solid #e0e4da;border-radius:5px;background:repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%) 0/14px 14px}.image-upload img.background{height:140px}.upload-button{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;cursor:pointer;padding:11px 15px;border:1px dashed #acb6a3;border-radius:7px;background:#f6f8f2}.warning{font-size:13px!important;line-height:1.5;background:#fff5dc;border:1px solid #f0dfb7;color:#826020;padding:10px 12px;border-radius:5px}.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:24px}.template-choice{padding:10px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:9px;color:#354832}.template-choice.selected{border:2px solid #486340;padding:9px;box-shadow:0 0 0 2px #59734d0c}.template-choice>strong{display:block;font-size:13px;margin:11px 2px 4px}.template-choice>small{font-size:11px;display:block;margin-left:2px}.template-sample{padding:18px 14px;position:relative;min-height:195px;border-radius:4px;font-size:8px}.template-sample>span:first-child{display:block;font-size:25px;font-family:Lora,serif;text-align:center}.template-sample i{display:block;font-style:normal;font-size:6px;letter-spacing:1px;text-align:center;margin:6px 0 20px}.template-sample b{display:block;font-family:Lora,serif;font-size:11px;margin:10px 0 6px}.template-sample div{margin-top:7px;display:flex;justify-content:space-between;gap:4px}.template-sample em{font-style:normal}.sample-minimal b{border-bottom:1px solid #bcc5ba;padding-bottom:4px}.sample-classic{border:3px double #918172}.sample-classic b,.sample-warm b,.sample-elegant b{text-align:center}.sample-modern>span:first-child{text-align:left;font-family:Lato}.sample-modern b{background:#547342;color:#fff;padding:4px}.sample-modern{border-top:5px solid #547342}.sample-elegant{letter-spacing:.5px}.template-tick{position:absolute;right:7px;top:7px;background:#42633a;color:#fff;display:grid;place-items:center;width:20px;height:20px;border-radius:50%}.swatches{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:4px 0 10px}.swatches button{width:29px;height:29px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #e0e4db}.swatches button.active{box-shadow:0 0 0 2px #70815f}.swatches input{width:35px;height:32px;min-height:32px;padding:2px;border-radius:4px}.qr-result{text-align:center;border:1px solid var(--line);padding:24px;border-radius:9px}.qr-result img{width:230px;max-width:100%;height:auto}.qr-result h3{font-family:Lora,serif}.qr-result .button-row{justify-content:center}.preview-panel{display:flex;flex-direction:column;min-width:0;background:#e9ede6;overflow:hidden}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:61px;padding:10px 23px;border-bottom:1px solid #dfe4da;background:#f3f5ef;color:#6c7a63;font-size:12px;flex-shrink:0}.preview-toolbar>div{display:flex;align-items:center;gap:10px}.preview-toolbar strong{font-size:13px;font-weight:400}.preview-status{font-size:11px;text-align:center;color:#8b9682;min-height:35px;padding:13px 15px 0}.paper-scroll{overflow:auto;flex:1;padding:22px 25px 40px;text-align:center}.paper-scroll figure{margin:0 auto 25px;width:fit-content;max-width:none}.paper-scroll canvas{display:block;box-shadow:0 5px 20px #2d3d2020;background:#fff}.paper-scroll figcaption{font-size:11px;margin:13px;color:#8c9782}.preview-empty{min-height:300px;display:grid;align-content:center;justify-items:center;gap:20px;color:#8b9781}.mobile-switch{display:none}.validation{background:#fff2e9;border:1px solid #e9c6b4;border-radius:8px;padding:16px;margin-bottom:24px;color:#883f29}.validation h3{font-size:16px}.validation button{display:block;width:100%;border:0;background:none;color:#883f29;text-decoration:underline;text-align:left;padding:7px 0;font-size:13px;line-height:1.5}.error{color:#9a342e;font-size:13px}dialog{max-width:min(480px,calc(100% - 32px));border:1px solid var(--line);border-radius:12px;padding:28px;color:#2c4334;box-shadow:0 20px 90px #1214}dialog::backdrop{background:#182a2466}dialog h2{line-height:1.5;font-size:21px}dialog p{color:var(--muted)}dialog .button-row{justify-content:flex-end}@media(min-width:1600px){.workspace{grid-template-columns:minmax(600px,42%) 1fr}.editor-content{padding-left:48px;padding-right:48px}}@media(max-width:1100px){.tabs{gap:12px;padding:0 16px}.tabs button{font-size:12px;gap:5px}.editor-content{padding:23px 18px 40px}.local-label{display:none}.section-bar{gap:5px;padding:10px 8px}.section-bar .icon{min-width:27px;padding:5px}.project-grid{grid-template-columns:1fr 1fr}.product-card{padding:12px;margin:10px 8px 0}.preview-toolbar{padding:10px 14px}.preview-toolbar>div{gap:6px}}@media(max-width:760px){.app-header{height:73px;padding:0 17px;gap:10px}.brand{font-size:26px;gap:8px}.brand-mark{width:35px;height:40px}.brand-sub{font-size:7px;letter-spacing:1.7px}.export-button{font-size:12px;padding:10px;gap:5px}.project-topbar{padding:11px 16px;gap:12px;flex-wrap:wrap}.back-button{font-size:12px}.project-title{flex:1;gap:4px;flex-direction:column;align-items:flex-start}.project-title>strong{font-size:13px}.backup-button{padding:9px;font-size:11px;min-height:34px}.backup-button svg{display:none}.mobile-switch{display:flex;padding:8px 16px;gap:8px;background:#f3f5ef;border-bottom:1px solid var(--line)}.mobile-switch button{border:0;border-radius:5px;padding:10px;flex:1;background:none;color:#75856b;font-size:13px;font-weight:700}.mobile-switch button.active{background:#fff;color:var(--green);box-shadow:0 1px 4px #273c1515}.workspace{display:block;height:calc(100dvh - 203px);min-height:300px}.editor-panel,.preview-panel{height:100%;border-right:0}.mobile-edit .preview-panel,.mobile-preview .editor-panel{display:none}.tabs{padding:0 16px;justify-content:space-between;gap:8px;min-height:54px}.tabs button{padding:14px 0;font-size:12px}.tabs button svg{width:15px}.editor-content{padding:22px 16px 40px}.block-heading h2{font-size:21px}.preview-toolbar{min-height:48px}.paper-scroll{padding:15px;max-width:100%}.library{padding:35px 20px}.library-heading{gap:10px}.library-leaf{width:45px;margin:0}.library h1{font-size:35px}.start-grid{gap:12px}.start-card{padding:18px}.start-card h2{font-size:20px;line-height:1.4}.start-card p{font-size:13px}.start-card b{font-size:12px}.library-title h2{font-size:20px}.library-title .secondary{font-size:12px;padding:9px}.project-grid{gap:12px}.project-cover{min-height:150px}.project-cover span{font-size:22px}.project-tile-body{padding:12px}.project-name{font-size:13px}.project-tile-body small{font-size:11px}.project-tile .button-row{gap:5px}.project-tile .text-button{font-size:12px}.section-fields{padding:14px}.product-bottom .field{max-width:140px}.settings-card{padding:17px}.template-sample{padding:17px 11px}.template-choice>small{font-size:11px}.preview-status{font-size:11px}.product-bottom{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.library-actions{border:0;padding:0;margin:0;min-width:0}.download-panel{position:fixed;z-index:30;bottom:20px;right:20px;width:min(360px,calc(100vw - 32px));padding:20px;background:#fffdf8;border:1px solid #d9ded3;border-radius:16px;box-shadow:0 8px 40px #203a2529}.download-panel p{margin:8px 0 14px;overflow-wrap:anywhere;font-size:14px}.download-panel a{display:inline-flex;text-decoration:none;padding:10px 16px;border-radius:8px}.app:has(.download-panel) .toast{top:90px;bottom:auto}
