:root{--ink:#253731;--muted:#85918c;--accent:#24645e;--accent-dark:#1e534e;--accent-soft:#eaf2ef;--line:#e8ece9;--paper:#fff;--sidebar:260px;--topbar:84px;--radius:12px;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink);font-synthesis:none;-webkit-font-smoothing:antialiased;font-size:18px}*{box-sizing:border-box}body{margin:0;background:#fff}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit}svg{flex-shrink:0;vertical-align:middle}button:focus-visible,a:focus-visible{outline:3px solid #9bc4b7;outline-offset:3px}button{transition:background .16s,border-color .16s,transform .16s}button:active:not(:disabled){transform:translateY(1px)}.topbar{height:var(--topbar);position:fixed;inset:0 0 auto;z-index:20;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 29px;gap:23px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:29px;font-weight:750;letter-spacing:-1.3px;white-space:nowrap;width:calc(var(--sidebar) - 30px);flex-shrink:0}.brand-dot{color:#72a292}.brand-mark{display:grid;grid-template-columns:9px 9px;grid-template-rows:9px 9px 9px;gap:3px;transform:translateY(1px)}.brand-mark i{background:var(--accent);border-radius:2px}.brand-mark i:first-child{grid-column:1/3}.brand-mark i:nth-child(2){grid-column:1/3;width:17px}.brand-mark i:nth-child(3){grid-column:1;width:8px}.brand-label{font-size:12px;letter-spacing:1.2px;color:#919c96;font-weight:600;margin-left:2px;padding-left:9px;border-left:1px solid #e6ebe8}.project-header{display:flex;align-items:center;gap:11px;min-width:0;flex:1}.project-divider{width:1px;height:23px;background:var(--line);display:none}#project-title{border:0;outline:none;background:transparent;color:#53615a;font-size:17px;width:184px;padding:8px 0;text-overflow:ellipsis}#project-title:focus{border-bottom:1px solid var(--accent)}.draft-badge{font-size:15px;background:#f3f5f3;color:#8c958f;border:1px solid #e7ece8;border-radius:5px;padding:3px 7px}.top-actions{display:flex;align-items:center;gap:22px}.save-status{font-size:16px;color:#8c968f;display:flex;align-items:center;gap:6px;white-space:nowrap}.save-status svg{color:#609080}.save-status.error{color:#ab543b}.save-status.saving:before{content:'';width:9px;height:9px;border:1.5px solid #d8e1dc;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:8px;padding:12px 18px;font-weight:600;font-size:17px;line-height:1.4;white-space:nowrap;background:white;color:var(--ink)}.button-primary{background:var(--accent);color:#fff;box-shadow:0 3px 6px #24645e16}.button-primary:hover{background:var(--accent-dark)}.button-outline{border-color:#dfe7e1;background:white}.button-outline:hover{background:#f8faf8;border-color:#c0d2c9}.button-quiet{padding:7px 0;color:#52665b;font-size:17px}.button-quiet:hover{color:var(--accent)}.icon-button{padding:5px;border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:6px;color:#849188}.icon-button:hover{background:#e8eeea;color:var(--accent)}.help-button{font-size:17px;border:1px solid #d7e0d9;width:23px;height:23px;border-radius:50%;color:#839088}.text-button{border:0;background:transparent;padding:0;color:var(--accent);font-size:16px;display:inline-flex;align-items:center;gap:6px;font-weight:600}.text-button:hover{color:#163f3a}.sidebar{position:fixed;top:var(--topbar);bottom:0;left:0;width:var(--sidebar);border-right:1px solid var(--line);padding:37px 24px 23px;background:#fbfcfa;display:flex;flex-direction:column;z-index:10}.eyebrow{font-size:14px;font-weight:700;letter-spacing:1.6px;color:#929f94}.sidebar-top h2{font-size:24px;line-height:1.25;letter-spacing:-.65px;font-weight:650;margin:15px 0 9px}.sidebar-top p{font-size:16px;color:#9ba39c;margin:0}.sidebar nav{margin:35px -9px 0;position:relative}.step-button{width:100%;border:0;border-radius:9px;padding:11px 9px;margin:3px 0;text-align:left;background:transparent;display:flex;align-items:center;gap:11px;position:relative;min-height:49px;color:#89948c;font-size:16px;font-weight:500}.step-icon{height:31px;width:31px;display:flex;align-items:center;justify-content:center;border:1px solid #e1e8e1;border-radius:9px;background:#fff;color:#9ba89f;flex-shrink:0}.step-label{display:block;line-height:1.5}.step-number{font-size:12px;letter-spacing:.6px;color:#a3aba4;display:block;font-weight:400}.step-button.active{color:var(--accent);background:#eaf2ec;font-weight:650}.step-button.active .step-icon{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 3px 7px #24645e14}.step-button.active .step-number{color:#7e9c89}.step-button.done .step-icon{background:#f2f7f2;border-color:#d7e5db;color:#6f9680}.step-button:hover:not(.active){background:#f0f4ee}.step-button .step-check{margin-left:auto;color:var(--accent)}.sidebar-bottom{margin-top:auto;padding-top:25px}.completion-card{background:#f1f5ed;border:1px solid #e7ecdf;border-radius:10px;padding:15px 13px}.completion-card>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:15px;color:#748370}.completion-card strong{color:#647d59;font-size:17px;font-weight:650}.progress-track{height:4px;border-radius:2px;background:#e0e7d7;margin:10px 0}.progress-track>span{display:block;height:100%;width:0;background:#829d70;border-radius:2px;transition:width .3s}.completion-card p{font-size:14px;line-height:1.55;color:#96a18a;margin:0}.local-note{display:flex;gap:7px;align-items:flex-start;margin:20px 1px 0;color:#99a498;font-size:14px;line-height:1.55}.local-note svg{color:#8da184;flex-shrink:0;margin-top:1px}.example-button{margin-top:15px;font-size:14px;font-weight:500;gap:3px;color:#708c76;line-height:1.5;text-align:left}.workspace{position:fixed;top:var(--topbar);bottom:0;left:var(--sidebar);right:0;display:grid;grid-template-columns:minmax(480px,1.13fr) minmax(370px,1fr)}.editor-pane{min-width:0;display:flex;flex-direction:column;background:white}.editor-scroll{overflow:auto;scrollbar-width:thin;scrollbar-color:#dce4de transparent;flex:1;padding:40px 43px 32px}.step-heading{margin-bottom:27px}.step-kicker{display:flex;align-items:center;gap:8px;color:#93a095;font-size:14px;letter-spacing:1.4px;font-weight:600;margin-bottom:15px}.step-kicker:before{content:'';height:5px;width:5px;background:#82a394;border-radius:50%}.step-heading h1{font-size:30px;line-height:1.2;font-weight:650;letter-spacing:-1px;margin:0 0 11px;color:#243e33}.step-heading p{font-size:17px;color:#919b94;line-height:1.75;margin:0;max-width:450px}.step-heading .heading-tag{font-size:14px;color:#8c9d90;background:#f2f6f1;letter-spacing:0;font-weight:500;padding:4px 7px;margin-left:auto;border-radius:5px}.editor-footer{height:85px;min-height:85px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:15px 43px;background:#fff;gap:14px;position:relative;z-index:2}.footer-left{font-size:15px;color:#a0aba2;display:flex;align-items:center;gap:8px}.footer-left .button{padding-left:0;color:#8a9a8d}.editor-footer .button-primary{padding:13px 24px;min-width:150px}.editor-footer .step-fraction{font-size:16px;color:#a4aea6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 18px}.field{display:flex;flex-direction:column;gap:7px;min-width:0;position:relative}.field.full{grid-column:1/-1}.field>label,.field-label{font-size:15px;font-weight:600;color:#627164;line-height:1.5}.field label .optional{font-weight:400;font-size:14px;color:#a5aea7;margin-left:4px}.input,textarea,select{width:100%;border:1px solid #e9eeea;background:#f6f8f6;border-radius:6px;padding:12px 12px;font-size:17px;color:#34493d;outline:none;transition:border-color .15s,box-shadow .15s;line-height:1.5;min-height:43px}.input::placeholder,textarea::placeholder{color:#b0bab1;font-weight:400}.input:focus,textarea:focus,select:focus{border-color:#8bae9d;box-shadow:0 0 0 3px #dfece333;background:white}.input:disabled{opacity:.55}.field.invalid .input{border-color:#d59f8f}.field-error{font-size:14px;color:#b06149}.field-hint{font-size:14px;color:#9ba89e;margin-top:0;line-height:1.6}.field textarea{resize:vertical;min-height:122px;font-size:17px;line-height:1.8}.field-summary textarea{min-height:171px}.input-icon{position:absolute;bottom:12px;right:11px;color:#a8b5ab;pointer-events:none}.input.with-icon{padding-right:37px}.photo-row{display:flex;gap:17px;align-items:center;padding:2px 0 23px;margin-bottom:0}.photo-upload{width:66px;height:66px;border:1px dashed #cbd8ce;border-radius:12px;background:#f5f8f3;display:flex;justify-content:center;align-items:center;color:#91a690;position:relative;overflow:hidden;flex-shrink:0}.photo-upload:hover{background:#ecf3e9;border-color:#92ab92}.photo-upload img{width:100%;height:100%;object-fit:cover}.photo-plus{position:absolute;bottom:4px;right:4px;background:white;border:1px solid #d8e5d9;border-radius:50%;height:19px;width:19px;display:flex;align-items:center;justify-content:center;color:var(--accent)}.photo-copy p{font-size:14px;color:#a2aca3;margin:6px 0 0}.photo-copy .text-button{font-size:16px;font-weight:600}.photo-actions{display:flex;gap:13px}.remove-photo{color:#a77a69!important;font-size:15px!important}.form-divider{height:1px;background:var(--line);margin:24px 0}.info-box{background:#f7f8f2;border:1px solid #eef0e4;padding:13px 14px;border-radius:8px;display:flex;gap:10px;align-items:flex-start;font-size:15px;color:#98a185;line-height:1.7;margin-top:24px}.info-box svg{color:#99aa7e;margin-top:2px}.info-box strong{color:#7d8c65;font-weight:600}.info-box.blue{background:#f2f6f8;border-color:#e9f0f3;color:#8599a8}.info-box.blue svg{color:#7b97a7}.preview-pane{background:#edf2ef;border-left:1px solid #e5ece7;padding:31px 32px 18px;display:flex;flex-direction:column;align-items:center;min-width:0;position:relative;overflow:auto;scrollbar-width:thin}.preview-top{display:flex;align-items:center;justify-content:space-between;align-self:stretch;gap:10px}.preview-top>div{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.preview-top .eyebrow{font-size:12px;letter-spacing:1.5px;color:#90a092}.live-pill{background:#e2ede4;border:1px solid #dce8df;color:#83a18b;font-size:12px;border-radius:20px;padding:4px 7px;display:inline-flex;align-items:center;gap:5px}.live-pill i{width:4px;height:4px;border-radius:50%;background:#7d9f85}.preview-label{align-self:stretch;font-size:14px;color:#a2b0a7;display:flex;align-items:center;gap:7px;margin:9px 0 19px}.preview-label #preview-template{color:#7f9386}.dot-separator{color:#b6c2bb}#preview-updating{margin-left:auto;color:#8c9d92;font-size:12px}.preview-sheet-container{width:100%;max-width:445px;flex:1;display:flex;flex-direction:column;justify-content:flex-start;min-height:0;position:relative}.preview-sheet{width:100%;aspect-ratio:210/297;background:#fff;box-shadow:0 6px 10px #2d58470a,0 21px 36px #29433512,0 0 0 1px #dde6df7d;border-radius:2px;overflow:hidden;position:relative;flex-shrink:0;transition:opacity .15s}.preview-sheet>img{width:100%;height:auto;display:block}.preview-sheet.busy{opacity:.78}.preview-placeholder{padding:42px 35px;height:100%;position:relative}.placeholder-heading{width:60%;height:15px;border-radius:3px;background:#e4ece6}.placeholder-subheading{width:38%;height:6px;background:#eef2ed;margin:13px 0 24px}.placeholder-columns{display:grid;grid-template-columns:1fr 2fr;gap:20px;height:50%;border-top:1px solid #e1e9e2;padding-top:20px}.placeholder-columns>div{background:repeating-linear-gradient(180deg,#f0f4ef 0px,#f0f4ef 5px,transparent 5px,transparent 15px)}.preview-placeholder>span{font-size:14px;color:#a3b0a8;position:absolute;bottom:35%;left:0;right:0;text-align:center}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:445px;gap:10px;margin-top:17px;min-height:33px;flex-shrink:0}.page-navigation{display:flex;align-items:center;gap:7px}.page-navigation .icon-button{height:24px;width:24px}.page-navigation svg{height:12px;width:12px}.page-navigation span{font-size:14px;color:#819689;min-width:39px;text-align:center}.preview-toolbar .text-button{font-size:14px;font-weight:400;color:#8a9e90}.preview-bottom-note{font-size:12px;color:#9aaa9d;text-align:center;display:flex;gap:5px;justify-content:center;align-items:center;line-height:1.6;max-width:390px;padding:16px 0 3px;flex-shrink:0}.preview-bottom-note svg{width:11px;height:11px}.preview-error{background:#fff4ed;border:1px solid #f0d2bf;border-radius:9px;padding:12px;margin:15px 0 0;color:#a8684e;font-size:16px;line-height:1.7;width:100%}.preview-error[hidden]{display:none}.list-card{border:1px solid #e3eae4;border-radius:10px;background:white;margin-bottom:15px;overflow:hidden}.list-card-header{padding:16px 17px;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;background:#fbfcfa}.list-card-header h3{font-size:17px;margin:0;font-weight:600;color:#47604e;line-height:1.6;overflow-wrap:anywhere}.list-card-header p{font-size:15px;color:#a0aea3;line-height:1.5;margin:2px 0 0}.card-heading-left{display:flex;align-items:center;gap:11px;min-width:0}.card-icon{width:33px;height:33px;border:1px solid #e1eae1;background:#f0f6ee;color:#94aa92;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.card-actions{display:flex;align-items:center;gap:1px}.card-actions .icon-button{width:25px;height:25px}.card-actions svg{width:13px;height:13px}.card-body{padding:20px 17px 18px;border-top:1px solid #edf1ec}.card-body .form-grid{gap:15px}.card-body .input,.card-body select{font-size:16px;padding:10px;min-height:40px}.check-row{display:flex;align-items:center;gap:8px;font-size:15px;color:#7d8f80;grid-column:1/-1}.check-row input{accent-color:var(--accent);width:14px;height:14px;margin:0}.add-button{border:1px dashed #cddccf;width:100%;border-radius:8px;background:#fafcf8;color:#719175;display:flex;align-items:center;justify-content:center;gap:8px;padding:13px;font-size:16px;font-weight:600}.add-button:hover{background:#f0f6eb;border-color:#9fb69e}.empty-state{border:1px dashed #d8e4d7;background:#fbfcf8;border-radius:12px;text-align:center;padding:30px 20px;margin:0 0 18px}.empty-state-icon{margin:0 auto 13px;width:48px;height:48px;background:#eef4e8;color:#a1b58d;border-radius:14px;display:flex;align-items:center;justify-content:center}.empty-state h3{font-size:18px;color:#63795e;font-weight:550;margin:0 0 7px}.empty-state p{font-size:16px;color:#9baa92;line-height:1.7;max-width:290px;margin:0 auto 16px}.section-small-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 13px}.section-small-heading h3{font-size:17px;font-weight:600;margin:0;color:#637b65}.section-small-heading span{font-size:14px;color:#a0b29b}.chips{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 0}.chip{background:#edf4ec;color:#789674;border:1px solid #e0ecdd;display:flex;gap:8px;align-items:center;padding:6px 8px 6px 10px;border-radius:5px;font-size:15px}.chip button{border:0;padding:0;background:transparent;color:#8daa87;display:flex;align-items:center}.chip button svg{width:12px;height:12px}.skill-input-row{display:flex;gap:8px}.skill-input-row .button{padding:8px 10px}.suggestions{margin-top:16px}.suggestions-label{font-size:14px;color:#a3b19e;display:block;margin-bottom:8px}.suggestion-chips{display:flex;gap:6px;flex-wrap:wrap}.suggestion{border:1px solid #e6ece2;background:#fcfdfb;padding:5px 7px;font-size:14px;color:#9aac91;border-radius:5px;display:flex;align-items:center;gap:4px}.suggestion:hover{border-color:#abc09d;color:#6e8b61}.language-row{display:grid;grid-template-columns:1fr 1fr 27px;gap:8px;align-items:center;margin-bottom:9px}.language-row .input,.language-row select{font-size:16px;min-height:41px;padding:10px}.character-count{font-size:14px;color:#a2b39d;display:flex;justify-content:flex-end;margin-top:6px}.content-tips{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 0}.tip-chip{font-size:12px;color:#8e9f83;background:#f4f7ef;padding:5px 8px;border-radius:4px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:24px}.template-card{border:1px solid #e4eae4;border-radius:9px;background:#fafcf9;overflow:hidden;padding:0;text-align:left;position:relative;box-shadow:0 2px 5px #274b3403}.template-card:hover{border-color:#92b2a0;box-shadow:0 4px 10px #355a3a08}.template-card.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.template-image-wrap{background:#f1f4ef;padding:12px 14px 0;height:166px;overflow:hidden;position:relative}.template-image-wrap img{width:100%;display:block;box-shadow:0 3px 8px #283f3512;border-radius:1px}.template-meta{padding:10px 10px 11px;background:white;border-top:1px solid #e9eee7;display:flex;align-items:center;justify-content:space-between;gap:4px}.template-meta h3{font-size:16px;font-weight:600;color:#567b5e;margin:0 0 3px}.template-meta span{font-size:12px;color:#9dad97}.template-radio{width:15px;height:15px;border:1px solid #cddbc9;border-radius:50%;display:flex;justify-content:center;align-items:center;flex-shrink:0}.selected .template-radio{background:var(--accent);border-color:var(--accent);color:#fff}.template-radio svg{width:10px;height:10px}.recommended{position:absolute;top:7px;left:7px;color:#658a6b;font-size:11px;background:#eff6ec;padding:3px 5px;border:1px solid #d9e6d3;border-radius:4px}.template-card.selected .recommended{background:var(--accent);color:white;border-color:var(--accent)}.settings-section{border-top:1px solid var(--line);padding:20px 0 0;margin-top:12px}.settings-section summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:17px;color:#657f68;font-weight:600}.settings-section summary::-webkit-details-marker{display:none}.settings-section summary svg{width:14px;height:14px}.settings-section[open] summary{margin-bottom:18px}.settings-section[open] summary .details-chevron{transform:rotate(180deg)}.color-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.color-row>span{font-size:15px;color:#7f937d;font-weight:500}.color-options{display:flex;gap:8px;align-items:center}.color-swatch{width:23px;height:23px;border:3px solid white;box-shadow:0 0 0 1px transparent;border-radius:50%;background:var(--swatch);padding:0;color:#fff;display:flex;align-items:center;justify-content:center}.color-swatch.selected{box-shadow:0 0 0 1px var(--swatch)}.color-swatch svg{width:10px;height:10px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.settings-grid select{font-size:16px;min-height:39px;padding:9px 11px}.section-order{display:flex;flex-direction:column;gap:6px}.order-item{border:1px solid #e7eee3;border-radius:6px;padding:5px 9px;display:flex;align-items:center;justify-content:space-between;color:#829478;font-size:15px;background:#fbfcf9}.order-item>div{display:flex;gap:3px}.order-item .icon-button{width:24px;height:24px}.order-item svg{width:12px;height:12px}.order-help{font-size:14px;color:#a5b39d;line-height:1.6;margin:10px 0 0}.mobile-menu,.mobile-close-preview{display:none}.mobile-preview-button{display:none}.modal{border:1px solid #dfe8e0;padding:0;border-radius:17px;box-shadow:0 32px 110px #1b443540;color:var(--ink);max-width:min(670px,calc(100vw - 32px));width:670px;max-height:90vh;background:white}.modal::backdrop{background:#1d342969;backdrop-filter:blur(4px)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:23px 28px;border-bottom:1px solid var(--line)}.modal-header h2{font-size:20px;font-weight:600;letter-spacing:-.5px;margin:0}.modal-content{padding:24px 28px;overflow:auto;max-height:calc(90vh - 80px)}.modal-content>p{font-size:17px;line-height:1.8;color:#879b84}.modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:23px}.project-card{border:1px solid #e2eae0;padding:15px;border-radius:10px;margin:10px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fcfdfb}.project-card.current{border-color:#9bb39a;background:#f5f9f1}.project-open{display:flex;align-items:center;gap:12px;background:none;border:0;text-align:left;min-width:0;color:#6c8867;padding:0;flex:1}.project-card .project-icon{width:40px;height:48px;background:white;display:flex;align-items:center;justify-content:center;color:#9eb396;border:1px solid #e4ecdf;border-radius:6px;flex-shrink:0}.project-open strong{font-size:17px;color:#56744f;font-weight:600;display:block;overflow-wrap:anywhere}.project-open small{font-size:14px;color:#9eaf96;display:block;line-height:1.6;margin-top:4px}.project-card-actions{display:flex;gap:3px}.modal-note{font-size:15px!important;line-height:1.8!important;color:#9aac90!important;border-top:1px solid var(--line);padding-top:16px;margin-bottom:0}.large-preview{width:min(900px,calc(100vw - 24px));max-width:900px}.large-preview .modal-content{background:#edf2ed;padding:24px;text-align:center}.large-preview img{width:100%;max-width:720px;display:block;margin:0 auto 20px;box-shadow:0 6px 30px #26442a15}.success-panel{text-align:center;padding:8px 15px 16px}.success-icon{width:73px;height:73px;border-radius:50%;margin:0 auto 20px;display:flex;align-items:center;justify-content:center;background:#eaf3e7;color:#769c65}.success-panel h3{font-size:28px;letter-spacing:-.8px;font-weight:600;margin:0 0 12px;color:#436b3e}.success-panel p{font-size:17px;color:#91a385;line-height:1.85;margin:0 0 22px}.success-filename{background:#f6f9f1;border:1px solid #e6edde;border-radius:9px;padding:13px;margin:0 0 20px;display:flex;justify-content:center;gap:10px;align-items:center;color:#7a956d;font-size:16px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);z-index:100;background:#234d3ef2;color:#fff;border-radius:10px;padding:13px 19px;font-size:17px;box-shadow:0 8px 36px #19433128;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100vw - 36px);line-height:1.6;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{background:#965940f2}.spinner{width:16px;height:16px;border:2px solid #ffffff55;border-top-color:white;border-radius:50%;animation:spin .75s linear infinite}.screen-error{padding:40px;font-size:18px;line-height:1.8;color:#94644c}.help-step{display:flex;gap:15px;margin:22px 0}.help-step-number{width:32px;height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#edf4e7;color:#7e9b6e;border-radius:10px;font-size:17px}.help-step h3{font-size:17px;margin:0 0 6px;color:#67815b}.help-step p{font-size:16px;color:#9aae8c;margin:0;line-height:1.8}.shortcut-note{font-size:14px;color:#a8b9a1;margin:10px 0 0}.export-warning{border:1px solid #eed7bb;background:#fffaf2;color:#a4895e;border-radius:7px;padding:11px 13px;line-height:1.7;font-size:15px;margin:18px 0 0}.badge-local{display:flex;align-items:center;gap:6px;font-size:15px;color:#88a07b}.badge-local i{width:5px;height:5px;border-radius:50%;background:#95b383}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1500px){.editor-scroll{padding-left:58px;padding-right:58px}.editor-footer{padding-left:58px;padding-right:58px}.preview-pane{padding-left:46px;padding-right:46px}.preview-sheet-container{max-width:490px}.preview-toolbar{max-width:490px}}@media(max-height:850px) and (min-width:1051px){.sidebar-top h2{font-size:21px}.sidebar{padding-top:27px}.sidebar nav{margin-top:24px}.step-button{min-height:45px;padding-top:8px;padding-bottom:8px}.completion-card{padding:12px}.sidebar-bottom{padding-top:15px}.preview-pane{padding-top:23px}.preview-sheet-container{max-width:min(100%,calc((100vh - 240px)*.707))}.preview-toolbar{max-width:min(100%,calc((100vh - 240px)*.707))}.preview-bottom-note{padding-top:8px}.editor-scroll{padding-top:30px}.step-heading h1{font-size:28px}}@media(max-width:1250px){:root{--sidebar:204px}.brand{font-size:27px}.brand-label{display:none}.sidebar{padding-left:19px;padding-right:19px}.sidebar-top h2{font-size:22px}.topbar{padding:0 23px;gap:17px}.workspace{grid-template-columns:minmax(420px,1.1fr) minmax(320px,1fr)}.editor-scroll{padding:32px 29px}.editor-footer{padding-left:29px;padding-right:29px}.preview-pane{padding-left:23px;padding-right:23px}.top-actions{gap:17px}.template-image-wrap{height:138px;padding:10px 10px 0}.template-grid{gap:10px}.step-heading h1{font-size:27px}.brand{width:calc(var(--sidebar) - 31px)}}@media(max-width:1050px){:root{--sidebar:78px}.sidebar{padding:24px 10px}.sidebar-top,.sidebar-bottom,.step-label,.step-check{display:none!important}.sidebar nav{margin:0}.step-button{justify-content:center;padding:8px}.step-icon{height:34px;width:34px}.brand{width:auto}.brand-label{display:block}.project-header{margin-left:8px}.topbar{gap:19px;padding:0 22px}.workspace{grid-template-columns:minmax(410px,1.1fr) minmax(300px,1fr)}.editor-scroll{padding:32px 28px}.preview-top>div{gap:5px}.live-pill{display:none}.editor-footer{padding-left:28px;padding-right:28px}.save-status{font-size:15px}.top-actions{gap:15px}.preview-pane{padding-left:20px;padding-right:20px}}@media(max-width:800px){:root{--sidebar:0px;--topbar:65px}.topbar{padding:0 16px;gap:15px}.brand{font-size:25px;gap:8px}.brand-label,.draft-badge,.save-status{display:none}.brand-mark{transform:scale(.85)}.project-header{margin-left:0;gap:5px}.project-header #project-title{width:140px;font-size:15px}.top-actions{gap:13px}.button-quiet{font-size:0;gap:0}.button-quiet svg{width:20px;height:20px}.help-button{display:none}.workspace{display:flex;left:0}.editor-pane{width:100%}.editor-scroll{padding:29px 26px 28px}.step-heading h1{font-size:29px}.step-heading p{font-size:17px}.sidebar{display:none;top:65px;width:220px;bottom:0;background:white;box-shadow:10px 0 40px #274b3920;padding:25px 17px;z-index:30}.sidebar.open{display:flex}.sidebar.open .step-label{display:block!important}.sidebar.open .step-button{justify-content:flex-start}.sidebar.open .sidebar-bottom{display:block!important}.sidebar.open .sidebar-top{display:block!important}.sidebar.open nav{margin-top:20px}.preview-pane{display:none}.preview-pane.mobile-open{display:flex;position:fixed;inset:var(--topbar) 0 0;z-index:40;align-items:center;padding:24px 24px 20px;background:#edf2ef}.preview-sheet-container{width:100%;max-width:min(450px,calc((100vh - 290px)*.707))}.preview-toolbar{max-width:420px}.preview-bottom-note{padding:8px 0}.mobile-close-preview{display:inline-flex;margin:10px 0 0}.mobile-menu{display:flex;width:27px;height:27px}.mobile-menu svg{width:18px;height:18px}.mobile-preview-button{display:flex}.editor-footer{padding:14px 24px;height:78px;min-height:78px}.editor-footer .button-primary{padding:12px 18px;min-width:130px}.editor-footer .step-fraction{display:none}.footer-left{gap:10px}.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.template-image-wrap{height:190px}.step-button .step-number{font-size:12px}.modal-content{padding:20px}.modal-header{padding:20px}.field>label,.field-label{font-size:16px}.input,textarea,select{font-size:16px!important;min-height:46px}.field textarea{font-size:18px!important}.card-body .input,.language-row .input,.language-row select{font-size:18px!important}.preview-top{max-width:470px}.preview-label{max-width:470px;width:100%;align-self:center}.step-heading .heading-tag{font-size:12px}.completion-card>div:first-child{font-size:15px}.completion-card p{font-size:15px}}@media(max-width:450px){.brand{font-size:24px}.topbar{gap:10px;padding:0 13px}.project-header #project-title{width:118px}.top-actions{gap:8px}.editor-scroll{padding:25px 20px}.step-heading h1{font-size:27px}.form-grid{gap:16px 12px}.editor-footer{padding-left:20px;padding-right:20px}.form-grid .field.full-mobile{grid-column:1/-1}.photo-row{gap:15px}.photo-copy p{font-size:14px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.template-image-wrap{height:181px}.template-meta h3{font-size:17px}.template-meta span{font-size:14px}.color-options{gap:6px}.color-swatch{width:23px;height:23px}.field textarea{min-height:130px}.project-card{padding:12px 10px}.project-open strong{font-size:16px}.project-icon{display:none!important}.modal-actions .button{font-size:16px;padding:10px 13px}.topbar .brand-mark{margin-right:-3px}.settings-grid select{font-size:17px!important}.step-heading .heading-tag{display:none}}
/* Constrain the grid's implicit row; long forms scroll instead of pushing away the footer. */
.workspace{grid-template-rows:minmax(0,1fr)}.editor-pane{min-height:0;overflow:hidden}.editor-scroll{min-height:0}.preview-pane{min-height:0}.sidebar-top h2{font-size:22px;letter-spacing:-.6px}
/* US edition: clearer guidance, full-page template thumbnails, and English date controls. */
.brand-label{line-height:1.5;letter-spacing:1px}
.market-note{display:flex;align-items:center;gap:12px;border:1px solid #e3ebe5;background:#f7faf6;padding:14px 15px;border-radius:9px;margin:0 0 24px}
.market-note-icon{width:32px;height:32px;flex-shrink:0;border:1px solid #c8dacf;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#457366;font-size:16px;font-weight:700;letter-spacing:1px}
.market-note strong{display:block;font-size:16px;font-weight:600;margin-bottom:5px;color:#46665a}
.market-note span:not(.market-note-icon){font-size:15px;line-height:1.6;color:#788f82;display:block}
.photo-details .photo-row{margin:18px 0 0}.photo-details .order-help{font-size:16px;color:#798b7e}
.month-input{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:6px;min-width:0}
.month-input select{padding-left:10px;padding-right:22px;min-width:0;font-size:16px;width:100%}
.section-helper{font-size:16px;line-height:1.6;color:#7c8d7e;margin:-3px 0 15px}
.collection-intro{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:13px;font-size:15px;color:#89978e;line-height:1.6}
.collection-label{font-size:14px;letter-spacing:1.3px;font-weight:700;color:#587568}
.template-filters{display:flex;gap:7px;margin-bottom:19px;flex-wrap:wrap}
.template-filter{font-size:15px;border:1px solid #e0e7e1;background:#fff;color:#7b8e80;border-radius:20px;padding:7px 11px}
.template-filter.active{border-color:#285f51;background:#285f51;color:#fff}
.template-grid{gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}
.template-image-wrap{height:auto!important;aspect-ratio:8.5/11;padding:8px!important;overflow:hidden;background:#f0f3ef}
.template-image-wrap img{display:block;width:100%;height:100%!important;object-fit:contain;object-position:top;box-shadow:0 2px 8px #1b362716;border-radius:0;transform:none!important}
.template-card:hover .template-image-wrap img{transform:none!important}
.template-card{overflow:hidden}.template-meta{padding:11px 10px}
.template-meta h3{font-size:17px}.template-meta span{font-size:14px}
.new-badge{top:12px;left:12px;right:auto;padding:4px 6px;background:#fff!important;color:#2c6957!important;border:1px solid #d9e5dd;box-shadow:0 1px 5px #19473510;font-size:11px!important;letter-spacing:.9px;border-radius:4px}
.selected-template-note{display:flex;gap:12px;border:1px solid #dce6df;border-radius:10px;padding:15px;margin-top:20px;background:#fafcf9}
.selected-template-mark{width:37px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--template-accent);border:1px solid #d9e5db;background:#fff;border-radius:7px}
.selected-template-note strong{font-size:17px;display:block;color:#3b5c4c}
.selected-template-note strong span{font-size:15px;font-weight:400;margin-left:6px;color:#859b8c}
.selected-template-note p{font-size:16px;line-height:1.65;color:#6f8778;margin:5px 0}
.selected-template-note small{display:block;font-size:15px;line-height:1.5;color:#91a194}
.gallery-note,.parsing-note{font-size:15px;line-height:1.7;color:#87998b;margin:10px 0 20px}
.parsing-note{border-left:2px solid #d5e1d8;padding:0 0 0 12px;margin-top:18px}
.fixed-setting{padding:11px 12px;background:#f7f9f5;border:1px solid #e2e8dc;border-radius:6px;font-size:16px;min-height:39px;color:#7c8e76;line-height:1.5}
.color-options{flex-wrap:wrap;justify-content:flex-end;gap:7px}.color-row{gap:14px}
.settings-grid select{max-width:100%}.settings-grid>.field{min-width:0}
.order-help{font-size:15px;line-height:1.7}.preview-bottom-note{font-size:15px}
@media(min-width:1550px){.template-image-wrap{aspect-ratio:8.5/11}}
@media(max-width:600px){.month-input{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.month-input select{font-size:17px!important;padding-left:8px}.market-note{padding:12px}.market-note strong{font-size:16px}.market-note span:not(.market-note-icon){font-size:14px}}
@media(max-width:450px){.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-intro{font-size:14px}.new-badge{top:11px;left:11px}.language-row{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) 26px}.color-options{gap:6px}.color-row>span{font-size:15px}.market-note{margin-bottom:22px}}

/* v3 collection and optional skill ratings. */
.template-filters { flex-wrap: wrap; }
.color-options { flex-wrap: wrap; }
.skill-rating-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(130px,180px); gap: 16px; align-items: center; margin: 10px 0; }
.skill-rating-row label { overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }
.skill-rating-row select { width: 100%; min-width: 0; }
@media(max-width:480px) { .skill-rating-row { grid-template-columns: minmax(0,1fr) 140px; gap: 10px; } }

/* v4: larger, calmer interface typography. PDF page styling is intentionally separate. */
:root{--muted:#6d8174;--sidebar:260px;--topbar:84px;font-size:17px}
.topbar{gap:20px;padding-inline:27px}.brand{width:calc(var(--sidebar) - 28px);font-size:31px}.brand-label{font-size:10px;color:#7f9184}
#project-title{font-size:16px;width:225px}.draft-badge{font-size:12px}.save-status{font-size:14px;color:#728376}.top-actions{gap:20px}.top-actions .button{font-size:15px}
.button{min-height:46px;font-size:17px;padding:12px 19px}.button-quiet{font-size:16px}.icon-button{width:38px;height:38px}.help-button{width:29px;height:29px;font-size:16px}.text-button{font-size:16px;line-height:1.5}
.sidebar{padding:28px 24px 20px;overflow-y:auto;scrollbar-width:thin}.sidebar-top h2{font-size:25px;line-height:1.25}.eyebrow{font-size:11px;color:#7c927f}.sidebar-top p{font-size:15px;color:#7a8e7d}.sidebar nav{margin-top:25px}.step-button{font-size:15px;min-height:61px;padding:10px 9px;gap:11px;color:#708472}.step-number{font-size:10px;color:#8b9c8c;letter-spacing:.7px}.step-icon{width:36px;height:36px}.step-label{line-height:1.45}.step-check{display:none}.sidebar-bottom{padding-top:25px}.completion-card{padding:14px}.completion-card>div:first-child{font-size:14px;color:#6c805f}.completion-card strong{font-size:15px}.completion-card p{font-size:13px;color:#839174}.local-note{font-size:12px;color:#84927b;line-height:1.6}.example-button{font-size:14px;margin-top:14px;color:#5d815f}
.workspace{grid-template-columns:minmax(480px,1.14fr) minmax(320px,1fr)}.editor-scroll{padding:35px 38px}.step-heading{margin-bottom:29px}.step-kicker{font-size:11px;line-height:1.5;color:#7c937f}.step-heading h1{font-size:34px;line-height:1.18;letter-spacing:-1.15px}.step-heading p{font-size:17px;color:#778b7c;max-width:590px;line-height:1.7}.step-heading .heading-tag{font-size:12px;color:#729079;padding:4px 8px}
.editor-footer{padding:16px 38px;min-height:88px;height:88px}.editor-footer .button-primary{min-width:162px}.editor-footer .button-quiet{color:#6f8975}.editor-footer .step-fraction{font-size:15px}
.field>label,.field-label{font-size:16px;line-height:1.45;color:#566f5b}.field label .optional{font-size:14px;color:#879d88}.input,textarea,select{font-size:17px;min-height:51px;padding:12px;border-color:#e0e8df;color:#345440}.input::placeholder,textarea::placeholder{color:#91a48f}.field textarea{font-size:17px;line-height:1.7}.field-hint{font-size:14px;color:#7d947d;line-height:1.6}.field-error{font-size:14px}.form-grid{gap:22px 19px}.card-body .input,.card-body select,.language-row .input,.language-row select,.settings-grid select,.month-input select{font-size:17px;min-height:49px}.photo-copy p,.photo-copy .text-button{font-size:15px}.remove-photo{font-size:15px!important}.photo-upload{width:74px;height:74px}.info-box{font-size:15px;color:#7b8e65;padding:16px;line-height:1.7}.info-box strong{color:#637d4a}.info-box.blue{color:#637f91}.market-note strong{font-size:16px}.market-note span:not(.market-note-icon){font-size:14px}.market-note-icon{font-size:14px;width:38px;height:38px}
.list-card-header{padding:17px}.list-card-header h3{font-size:18px;color:#426748}.list-card-header p{font-size:14px;color:#7d957d}.card-actions .icon-button{width:33px;height:36px}.card-actions svg{width:16px;height:16px}.card-body{padding:22px 18px}.card-body .form-grid{gap:21px 17px}.check-row{font-size:15px;min-height:28px;color:#6c836f}.check-row input{width:18px;height:18px}.add-button{font-size:16px;min-height:49px}.empty-state h3{font-size:20px}.empty-state p{font-size:16px;max-width:390px;color:#7d9371}.section-helper{font-size:16px;color:#768e75}.section-small-heading h3{font-size:18px}.section-small-heading span{font-size:14px}.chip{font-size:15px;color:#638b5b;padding:7px 10px}.chip button{min-width:23px;min-height:23px}.suggestions-label{font-size:14px;color:#809977}.suggestion{font-size:14px;color:#729567;padding:7px 9px;min-height:35px}.tip-chip{font-size:13px;color:#7a9168}.character-count{font-size:14px;color:#819a75}.language-row{grid-template-columns:1fr 1fr 34px;gap:10px}
.collection-intro{font-size:14px;color:#788d7b;row-gap:5px}.collection-label{font-size:11px}.template-filter{font-size:14px;padding:9px 13px;min-height:39px;color:#6c8770}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.template-meta{padding:14px 12px;gap:7px}.template-meta h3{font-size:18px;color:#4d7954}.template-meta span{font-size:13px;line-height:1.5;color:#7f9879}.template-radio{width:19px;height:19px}.template-radio svg{width:12px;height:12px}.new-badge{font-size:10px!important;left:14px;top:14px}.selected-template-note p{font-size:16px}.selected-template-note strong{font-size:18px}.selected-template-note strong span{font-size:14px}.selected-template-note small{font-size:14px;color:#7d987f}.gallery-note,.parsing-note{font-size:14px;color:#7e937e}.settings-section summary{font-size:18px;color:#56795b;line-height:1.5}.settings-section summary svg{width:17px;height:17px}.color-row{flex-wrap:wrap;justify-content:flex-start}.color-row>span{font-size:16px;color:#6f8968}.color-options{justify-content:flex-start;gap:10px}.color-swatch{width:30px;height:30px}.settings-grid{gap:21px 18px}.fixed-setting{font-size:17px;min-height:49px;padding:11px 12px}.order-item{font-size:15px}.order-item .icon-button{width:35px;height:35px}.order-help,.photo-details .order-help{font-size:14px;color:#83967b}.export-warning{font-size:15px}
.preview-pane{padding:29px 30px 18px}.preview-top .eyebrow{font-size:11px}.live-pill{font-size:11px;color:#6d9275}.preview-label{font-size:14px;color:#8d9f90;margin-bottom:19px}.preview-label #preview-template{color:#6c8a75}#preview-updating{font-size:12px}.preview-toolbar .text-button{font-size:14px}.page-navigation .icon-button{width:35px;height:35px}.page-navigation svg{width:16px;height:16px}.page-navigation span{font-size:14px}.preview-bottom-note{font-size:12px;color:#7f9781}.preview-placeholder>span{font-size:15px}.preview-error{font-size:15px}.preview-sheet-container{flex:none;max-width:470px}.preview-toolbar{margin-top:auto;padding-top:17px}.preview-sheet{aspect-ratio:8.5/11}
.modal{width:760px;max-width:min(760px,calc(100vw - 32px))}.modal-header h2{font-size:24px}.modal-content>p{font-size:17px}.modal-note{font-size:15px!important;color:#809572!important}.project-open strong{font-size:17px}.project-open small{font-size:14px}.success-panel p{font-size:17px}.success-filename{font-size:16px}.help-step h3{font-size:18px}.help-step p{font-size:16px;color:#7c956d}.shortcut-note{font-size:14px}.badge-local{font-size:15px}.large-preview{width:min(900px,calc(100vw - 24px));max-width:900px}.toast{font-size:16px}.fresh-example{padding:0;font-size:14px;line-height:1.6;color:#598665;margin-bottom:17px}
@media(min-width:1700px){.workspace{grid-template-columns:minmax(620px,1.2fr) minmax(460px,1fr)}.editor-scroll{padding-inline:52px}.editor-footer{padding-inline:52px}.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.preview-sheet-container{max-width:510px}}
@media(max-height:850px) and (min-width:1051px){.sidebar{padding-top:20px}.sidebar-top h2{font-size:23px;margin-top:10px}.sidebar nav{margin-top:17px}.step-button{min-height:57px;padding-block:7px}.sidebar-bottom{padding-top:22px}.local-note{display:none}.preview-sheet-container{max-width:min(100%,calc((100vh - 265px)*.773))}.preview-toolbar{max-width:100%}.editor-scroll{padding-top:28px}}
@media(max-width:1250px){:root{--sidebar:225px}.brand{width:calc(var(--sidebar) - 26px)}.sidebar{padding-inline:18px}.step-button{font-size:14px;gap:9px}.workspace{grid-template-columns:minmax(450px,1.2fr) minmax(300px,1fr)}.editor-scroll{padding-inline:27px}.editor-footer{padding-inline:27px}.preview-pane{padding-inline:20px}.save-status{font-size:13px}.top-actions{gap:14px}.step-heading h1{font-size:32px}}
@media(max-width:1050px){:root{--sidebar:78px}.sidebar{padding-inline:10px}.brand{width:auto}.brand-label{display:none}.workspace{grid-template-columns:minmax(430px,1.15fr) minmax(290px,1fr)}.step-button{min-height:59px}.step-icon{width:37px;height:37px}.save-status{display:none}.project-header{margin-left:0}.step-heading .heading-tag{font-size:11px}}
@media(max-width:880px){:root{--sidebar:0px;--topbar:74px}.topbar{padding-inline:18px;gap:16px}.brand{font-size:29px}.project-header{min-width:0;gap:9px}.project-header #project-title{font-size:15px;max-width:100%;width:220px}.draft-badge{display:none}.top-actions .button-quiet{font-size:0;gap:0}.top-actions .button-quiet svg{width:21px;height:21px}.help-button{display:none}.workspace{left:0;display:flex}.editor-pane{width:100%}.editor-scroll{padding:30px max(24px,calc((100vw - 650px)/2))}.sidebar{display:none;top:var(--topbar);width:270px;padding:24px;background:white;z-index:30;box-shadow:10px 0 40px #274b3920}.sidebar.open{display:flex}.sidebar.open .step-label,.sidebar.open .sidebar-top,.sidebar.open .sidebar-bottom{display:block!important}.sidebar.open .step-button{justify-content:flex-start;font-size:15px}.sidebar.open nav{margin-top:23px}.sidebar.open .step-number{font-size:10px}.preview-pane{display:none}.preview-pane.mobile-open{display:flex;position:fixed;inset:var(--topbar) 0 0;z-index:40;align-items:center;background:#edf2ef;padding:23px 24px 20px}.mobile-menu{display:flex;width:38px;height:38px;flex-shrink:0}.mobile-menu svg{width:21px;height:21px}.mobile-preview-button{display:flex}.mobile-close-preview{display:inline-flex;margin-top:12px}.preview-sheet-container{max-width:min(460px,calc((100vh - 330px)*.773))}.preview-toolbar{max-width:460px;margin-top:16px}.editor-footer{padding-inline:24px;height:83px;min-height:83px}.editor-footer .button-quiet{font-size:16px;gap:8px}.editor-footer .step-fraction{display:none}.step-heading h1{font-size:34px}.step-heading p{font-size:17px}.field>label,.field-label{font-size:16px}.input,textarea,select,.field textarea,.card-body .input,.card-body select,.language-row .input,.language-row select,.settings-grid select{font-size:17px!important;min-height:50px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.completion-card>div:first-child,.completion-card p{font-size:14px}.brand-label{display:none}}
@media(max-width:500px){.topbar{padding-inline:14px;gap:12px}.brand{font-size:27px;gap:7px}.project-header{gap:5px}.project-header #project-title{font-size:14px;width:100%;min-width:0}.top-actions{gap:0}.top-actions .button{padding:8px 0;min-width:28px}.mobile-menu{width:32px}.editor-scroll{padding:26px 20px}.step-heading h1{font-size:31px}.step-heading .heading-tag{display:none}.step-heading p{font-size:17px}.field label .optional{font-size:13px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:1}.card-body .form-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.month-input{grid-template-columns:1.3fr 1fr}.template-grid{gap:13px}.template-meta{padding:12px 10px;align-items:flex-start}.template-meta h3{font-size:17px}.template-meta span{font-size:12px}.template-radio{width:17px;height:17px;margin-top:3px}.template-filter{font-size:13px;padding:8px 11px}.market-note{padding:13px;gap:10px}.market-note strong{font-size:16px}.market-note span:not(.market-note-icon){font-size:14px}.photo-copy p{font-size:14px}.language-row{grid-template-columns:minmax(0,1fr) 34px}.language-row select{grid-column:1;grid-row:2}.language-row .icon-button{grid-column:2;grid-row:1/3}.project-card{flex-wrap:wrap}.project-open strong{font-size:17px}.modal-actions .button{font-size:16px}.modal-header h2{font-size:22px}.editor-footer{padding-inline:20px}.editor-footer .button-primary{min-width:150px;font-size:16px}.card-actions{gap:0}.card-actions .icon-button{width:29px}.collection-intro{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Narrow screens keep full-size controls; only long labels are abbreviated. */
.footer-label-narrow{display:none}
@media(max-width:500px){.footer-label-wide,.footer-back-label{display:none}.footer-label-narrow{display:inline}.footer-left{gap:6px}.editor-footer .button[data-action="back"]{width:40px;min-width:40px;padding:9px;justify-content:center}.editor-footer .mobile-preview-button{width:40px;min-width:40px}.editor-footer .button-primary{min-width:150px;gap:9px}.editor-footer{gap:12px}}

/* v5 — native format selection; the surrounding Talvemo interface is unchanged. */
.format-dialog { width: min(640px,calc(100vw - 32px)); }
.format-dialog .format-intro { color: var(--text,#31493e); font-size: 21px; line-height: 1.45; margin: 0 0 10px; font-weight: 600; }
.format-dialog .format-included { font-size: 17px; line-height: 1.65; color: #63776c; margin: 0 0 22px; max-width: 470px; }
.format-options { display: grid; gap: 14px; }
.format-option { border: 1px solid #dbe5df; background: #fcfdfb; border-radius: 12px; padding: 23px; display: flex; gap: 20px; align-items: flex-start; text-align: left; cursor: pointer; color: #314e41; font: inherit; width:100%; }
.format-option:hover:not(:disabled),.format-option:focus-visible { border-color: #50856f; background: #f0f6f1; }
.format-option:focus-visible { outline: 3px solid #b9d5c7; outline-offset: 3px; }
.format-option:disabled { opacity: .65; cursor: wait; }
.format-icon { flex-shrink: 0; width: 59px; min-height: 74px; border: 1px solid #d1dfd9; border-radius: 9px; background:#eaf1ec; color:#2b6150; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; }
.format-pdf .format-icon { background: #f7eee8; border-color: #eadccf; color: #9b654d; }
.format-icon b { font-size: 12px; letter-spacing: .6px; }
.format-option-copy { min-width: 0; display: flex; flex-direction: column; }
.format-option-copy strong { font-size: 21px; font-weight: 650; line-height: 1.4; }
.format-option-copy>span { font-size: 16px; color: #61776a; line-height: 1.6; margin-top: 6px; }
.format-option-copy em { display: inline-flex; align-items: center; gap: 9px; font-style: normal; font-size: 16px; font-weight:600; margin-top: 15px; color: #2e6656; }
.format-dialog .format-footnote { font-size: 15px; line-height: 1.7; color: #6c7e72; margin: 21px 0 0; }
@media(max-width:450px) { .format-option { padding:18px 15px;gap:14px; } .format-icon{width:45px;min-height:62px} .format-option-copy strong {font-size:20px} .format-dialog .modal-content{padding:20px} .editor-footer [data-action="download"] { white-space: normal; text-align:center; line-height:1.3; } }
