@font-face{font-family:'Noto Sans';src:url('fonts/NotoSans-Regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:'Noto Sans';src:url('fonts/NotoSans-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--ink:#203b33;--muted:#60716a;--green:#214d40;--lime:#e1efb7;--line:#dce3dc;--bg:#f6f7f2;--red:#a4362d;--white:#fff;--radius:16px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;color:var(--ink);background:var(--bg);font:18px/1.6 'Noto Sans',sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #5d79b5;outline-offset:4px}button{transition:background .15s,border-color .15s}button:hover:not(:disabled){filter:brightness(.96)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:20px;z-index:99;background:white;padding:12px}.skip-link:focus{top:10px}.site-header{max-width:1440px;margin:auto;min-height:100px;display:flex;align-items:center;gap:40px;padding:20px 48px;border-bottom:1px solid var(--line)}.brand{font-weight:700;font-size:28px;display:inline-flex;align-items:center;gap:10px;text-decoration:none;letter-spacing:-1.3px}.brand-mark{background:var(--green);color:var(--lime);display:grid;place-items:center;width:40px;height:40px;border-radius:12px;transform:rotate(-7deg);font-size:32px}.beta{font-size:11px;letter-spacing:1px;align-self:flex-start;background:#e7ebe4;border-radius:4px;padding:2px 5px;margin-top:4px}.site-header nav{display:flex;gap:26px;align-items:center;margin-left:auto;font-size:16px}.site-header nav a{text-decoration:none}.local-pill{font-size:13px;border:1px solid var(--line);border-radius:24px;padding:8px 13px;white-space:nowrap}.local-pill span{display:inline-block;width:7px;height:7px;background:#5c8a42;border-radius:50%;margin-right:7px}.text-button{border:0;background:transparent;padding:8px 0;min-height:44px;color:var(--green);font-size:16px;text-decoration:underline;text-decoration-color:#b8c9bf;text-underline-offset:5px}.text-button.danger{color:var(--red)}main{max-width:1344px;margin:auto;padding:0 24px}.intro{display:flex;justify-content:space-between;align-items:center;padding:52px 8px 42px}.eyebrow{font-size:12px;letter-spacing:1.6px;font-weight:700;margin:0 0 12px;color:var(--muted)}h1{font-weight:700;font-size:52px;line-height:1.18;letter-spacing:-2px;margin:0 0 20px}h1 span{color:#6a8269}.lead{font-size:18px;color:var(--muted);margin:0}.intro-note{display:flex;align-items:flex-start;gap:16px;margin:0 60px 0 30px;transform:rotate(-3deg)}.intro-note p{font-size:18px;line-height:1.8}.note-icon{font-size:60px;line-height:1.2;color:#79956b}.workspace{scroll-margin-top:15px;background:#eef1ea;border:1px solid var(--line);border-radius:24px;padding:24px}.workspace-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.mode-switch{display:flex;gap:5px;background:#e0e5dc;padding:5px;border-radius:12px}.mode-switch button{border:0;background:transparent;border-radius:8px;padding:9px 20px;font-size:16px;font-weight:700;min-height:46px}.mode-switch button[aria-pressed=true]{background:var(--white);box-shadow:0 2px 6px #203b3310}.workspace-note{font-size:14px;color:var(--muted)}.steps{display:flex;align-items:center;max-width:680px;gap:18px;margin:0 0 24px 4px}.steps button{display:flex;gap:10px;align-items:center;border:0;background:transparent;color:var(--muted);font-size:16px;white-space:nowrap;padding:4px 0;min-height:44px}.steps button span{border:1px solid #c2cdc0;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;font-size:13px}.steps button.active{color:var(--green);font-weight:700}.steps button.active span{background:var(--green);color:white;border-color:var(--green)}.step-line{height:1px;background:#cbd4c7;flex:1}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}.panel{background:var(--white);border-radius:var(--radius);padding:28px;border:1px solid #e2e8df}.panel-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.panel-heading .eyebrow{margin-bottom:4px}h2{font-size:24px;line-height:1.3;letter-spacing:-.6px;margin:0}h3{font-size:18px;line-height:1.5;margin:0}.muted{color:var(--muted);font-size:14px}.drop-zone{display:flex;flex-wrap:wrap;align-items:center;gap:14px;border:1.5px dashed #b8c9b4;background:#fafbf6;border-radius:12px;padding:24px 20px}.drop-zone.dragging{background:var(--lime);border-color:var(--green)}.upload-icon{width:40px;height:44px;display:grid;place-items:center;background:#e9eedf;border-radius:10px;font-size:30px}.drop-zone h3{font-size:17px}.drop-zone p{font-size:13px;margin:4px 0;color:var(--muted)}.drop-zone .button{margin-left:auto}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 15px;min-height:46px;border:1px solid #ccd8cd;border-radius:9px;background:white;font-size:15px;font-weight:700;text-decoration:none}.button.primary{color:white;background:var(--green);border-color:var(--green)}.button.full{width:100%;margin-top:10px;font-size:16px;justify-content:space-between;padding:12px 18px}.button.full:not(.primary){justify-content:center}.button.small{min-width:44px;padding:4px 12px}.secondary-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 22px}.secondary-actions .text-button{margin-left:auto}.table-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid var(--line);padding-top:12px;font-size:14px}.table-summary p{margin:0}.table-wrap{overflow:auto;width:100%;border:1px solid var(--line);border-radius:8px;max-height:540px}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;padding:9px 8px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;background:#f2f5ef;font-weight:400;white-space:nowrap;position:sticky;top:0;z-index:1}td input{width:120px;min-height:40px;padding:7px;border:1px solid transparent;border-radius:5px;background:transparent;font-size:14px}td input:focus{background:#fff;border-color:#8aab94}td input[data-field=name]{width:200px}td input[data-field=qty]{width:75px}td input[type=checkbox]{width:20px;min-height:20px;margin-top:10px}td.invalid{background:#fff0e9}td.excluded{opacity:.5}.row-number{font-size:12px;color:var(--muted)}.row-delete{border:0;background:transparent;min-height:44px;min-width:44px;color:var(--red);font-size:22px}.empty-state{text-align:center;padding:34px 10px;color:var(--muted)}.empty-state>span{font-size:38px;color:#a8b9a5}.empty-state h3{font-size:16px;color:var(--ink)}.empty-state p{font-size:14px}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:16px;font-size:14px}.step-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.preview-column{position:sticky;top:20px}.preview-panel{background:#e2e8dc;border:1px solid #d4ddcc;border-radius:var(--radius);padding:20px}.preview-heading{display:flex;justify-content:space-between;gap:8px;align-items:center}.preview-heading h2{font-size:17px;letter-spacing:-.3px}.preview-heading>span{font-size:12px;color:#53684e;border:1px solid #c4d0bc;border-radius:5px;padding:3px 6px;white-space:nowrap}.preview-surface{min-height:235px;display:flex;justify-content:center;align-items:center;padding:28px 0 20px;background-image:radial-gradient(#becbb7 .7px,transparent .7px);background-size:12px 12px;margin-top:14px}.label-preview{width:100%;max-width:285px;background:white;box-shadow:0 8px 15px #203b3316;line-height:0;transition:aspect-ratio .2s}.label-preview svg{width:100%;height:auto}.preview-placeholder{line-height:1.8;text-align:center;font-size:14px;padding:40px 15px;color:#7a897e}.preview-pagination{display:flex;align-items:center;justify-content:space-between;font-size:13px;gap:8px}.icon-button{display:grid;place-items:center;border:1px solid #bac9b3;border-radius:8px;min-width:44px;height:44px;background:transparent;font-size:21px}.preview-help{font-size:12px;line-height:1.7;margin:12px 0 0;color:#56694f}.download-panel{padding:22px 8px 4px}.download-summary{display:flex;flex-direction:column;line-height:1.8}.download-summary>span{font-size:13px;color:var(--muted)}.download-summary strong{font-size:23px;letter-spacing:-.7px}.download-note{font-size:12px;line-height:1.7;text-align:center;color:var(--muted)}.issue-box{font-size:13px;background:#fff4e8;border:1px solid #e8c9a5;border-radius:10px;padding:12px;margin-top:14px}.issue-box strong{font-size:14px}.issue-item{display:block;background:transparent;border:0;color:#813a22;text-align:left;padding:8px 0;font-size:12px;text-decoration:underline;line-height:1.5}.error-text{color:var(--red);font-size:14px}.issue-box .check{font-size:12px}.field-help{font-size:13px;color:var(--muted);line-height:1.7;margin:8px 0 14px}.info-note{font-size:13px;padding:12px;background:#edf3e7;border-left:3px solid #72905f;border-radius:4px;line-height:1.7}.status{font-size:14px;background:white;border:1px solid var(--line);padding:12px 16px;border-radius:10px;margin-bottom:16px}.status.error{background:#fff0e9;color:#943c28;border-color:#eac6b7}.status.success{background:#e9f2dc}.template-options,.paper-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.template-options button,.paper-options button{border:1px solid var(--line);background:white;border-radius:10px;padding:12px;text-align:left;font-size:14px}.template-options button[aria-pressed=true],.paper-options button[aria-pressed=true],.presets button[aria-pressed=true]{border-color:var(--green);background:#f1f5e8;box-shadow:inset 0 0 0 1px var(--green)}.template-options strong,.paper-options strong{display:block;font-size:14px}.template-options small,.paper-options small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.mini-label{background:#f5f5ee;border:1px solid #d1d8cb;width:100%;height:68px;padding:8px;display:flex;flex-direction:column;justify-content:space-between;margin-bottom:10px}.mini-label i{width:70%;height:4px;background:#b9c3b5;display:block}.mini-label b{font-size:16px;letter-spacing:-.5px}.mini-label.sale{border-top:8px solid #d9eaa6}.paper-options{grid-template-columns:1fr 1fr}.paper-options button>span{font-size:30px;color:#7e9672}.presets{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.presets button{font-size:15px;border:1px solid var(--line);border-radius:8px;background:white;padding:8px 15px;min-height:44px}fieldset{border:0;padding:0;margin:0 0 25px;min-width:0}legend{font-weight:700;font-size:16px;margin-bottom:12px;padding:0}label{display:block;font-size:14px;line-height:1.6}input:not([type=checkbox]),select,textarea{display:block;min-width:0;width:100%;min-height:46px;border:1px solid #ccd6c9;background:white;border-radius:8px;padding:9px 12px;margin-top:6px;font-size:16px}input[type=checkbox]{accent-color:var(--green);width:18px;height:18px;flex-shrink:0}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.form-row.four{grid-template-columns:repeat(4,minmax(0,1fr))}.check,.checkbox-list label{display:flex;align-items:center;gap:10px;min-height:44px}.checkbox-list{margin-top:12px}.settings-actions{display:flex;flex-wrap:wrap;gap:20px}details{margin-top:16px;border-top:1px solid #ccd8c8;padding-top:12px;font-size:14px}summary{cursor:pointer;font-size:14px;min-height:36px;padding:4px 0}details .form-row{margin-top:16px}.inline-form{display:flex;gap:10px;align-items:flex-end}.inline-form label{flex:1}.grid-info{background:#f2f5ed;padding:14px;border-radius:8px;font-size:14px;margin:20px 0}.print-instruction{border-left:3px solid #7c9a65;padding-left:16px;font-size:14px;margin:20px 0}.print-instruction p{font-size:13px;color:var(--muted)}.sheet-preview{position:relative;margin:14px auto 8px;background:white;max-width:180px;width:100%;box-shadow:0 2px 8px #203b3314}.sheet-cell{position:absolute;border:1px solid #a9b89e;background:#e6eddd}.sheet-cell.used{background:#e2e3df;border-style:dashed}.sheet-cell.active{background:#cedf9b;border-color:#6a864e}.guide{padding:65px 8px 30px}.guide h2{font-size:29px}.guide-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;margin:30px 0}.guide-cards article{border-top:1px solid var(--line);padding-top:18px}.guide-cards article>span{font-size:13px;color:#71826a}.guide-cards h3{margin:12px 0 8px}.guide-cards p{font-size:15px;color:var(--muted);margin:0}.guide details{max-width:900px}.guide details p{font-size:15px}footer{max-width:1296px;margin:35px auto 0;border-top:1px solid var(--line);padding:28px 8px 40px;display:flex;align-items:center;gap:30px}footer .brand{font-size:21px}footer p{font-size:13px;color:var(--muted)}footer .text-button{margin-left:auto}dialog{border:1px solid var(--line);border-radius:18px;padding:0;max-width:850px;width:calc(100% - 32px);max-height:90vh;color:var(--ink);box-shadow:0 25px 90px #172c2833}dialog::backdrop{background:#142d2670;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:3}.dialog-body{padding:24px}.dialog-body p{font-size:15px}.dialog-body textarea{font-family:monospace;font-size:14px}.dialog-actions{display:flex;justify-content:flex-end;margin-top:18px}.mapping{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.mapping select{font-size:14px}.dialog-body th,.dialog-body td{max-width:220px;overflow-wrap:anywhere}.dialog-body td{font-size:12px}.dialog-body iframe{width:100%;height:65vh;border:1px solid var(--line)}#pdf-dialog{max-width:1050px}progress{width:100%;accent-color:var(--green);height:8px}#progress-area{font-size:13px;margin-top:18px}#last-download{font-size:13px}#last-download a{display:inline-block;margin-right:8px}#last-download button{font-size:13px}
@media(min-width:1500px){.intro{padding-top:65px;padding-bottom:50px}h1{font-size:58px}}
@media(max-width:1100px){.site-header{padding:20px 24px;gap:20px}.local-pill{display:none}.editor-grid{grid-template-columns:minmax(0,1fr) 300px}.panel{padding:20px}.workspace{padding:18px}.intro-note{margin-right:20px}.drop-zone .button{margin-left:0}.drop-zone p{font-size:12px}.secondary-actions .text-button{margin-left:0}.template-options{gap:7px}.template-options button{padding:8px}.mini-label b{font-size:13px}.form-row.four{grid-template-columns:repeat(2,minmax(0,1fr))}footer{padding-left:24px;padding-right:24px}}
@media(max-width:820px){.editor-grid{grid-template-columns:minmax(0,1fr)}.preview-column{position:static;display:grid;grid-template-columns:1fr 1fr;gap:20px}.preview-panel{min-width:0}.download-panel{min-width:0;padding-top:10px}.preview-surface{min-height:190px}.intro{padding:34px 0 30px}h1{font-size:44px}.intro-note{display:none}.workspace-note{display:none}.site-header{min-height:80px}.site-header nav{gap:18px;font-size:14px}.site-header nav .text-button{font-size:14px}.guide{padding-top:45px}.guide-cards{gap:22px}.mapping{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){body{font-size:16px}.site-header{padding:15px 18px;min-height:74px}.brand{font-size:25px}.brand-mark{width:33px;height:33px;font-size:27px}.site-header nav a:first-child{display:none}.site-header nav{gap:16px}.site-header nav a{font-size:12px}.site-header nav .text-button{font-size:12px}.beta{display:none}main{padding:0 12px}h1{font-size:36px;letter-spacing:-1.6px}.intro{padding:30px 6px}.lead{font-size:16px}.desktop-br{display:none}.eyebrow{font-size:10px}.workspace{padding:12px;border-radius:18px}.workspace-top{margin-bottom:18px}.mode-switch{width:100%}.mode-switch button{flex:1;padding:8px 10px;font-size:13px}.steps{gap:8px;margin-bottom:18px}.steps button{font-size:12px;gap:6px}.steps button span{width:24px;height:24px;font-size:11px}.panel{padding:16px;border-radius:12px}.panel-heading{gap:10px;margin-bottom:18px}.panel-heading .text-button{font-size:12px}h2{font-size:22px}.drop-zone{padding:18px 14px;gap:12px}.drop-zone h3{font-size:16px}.drop-zone .button{width:100%;margin-top:4px}.secondary-actions .button{font-size:12px;flex:1;white-space:nowrap;padding:8px}.secondary-actions .text-button{font-size:12px}.table-summary{font-size:12px}.table-summary .text-button{font-size:12px}.step-footer{flex-wrap:wrap}.step-footer .muted{font-size:12px}.step-footer .button{font-size:13px}.preview-column{display:block}.preview-panel{padding:18px;margin-top:4px}.preview-surface{min-height:230px}.label-preview{max-width:285px}.download-panel{padding:22px 4px 0}.download-summary strong{font-size:25px}.download-note{font-size:13px}.preview-help{font-size:12px}.template-options button{padding:8px}.template-options strong{font-size:12px}.template-options small{font-size:10px}.mini-label{height:55px;padding:5px}.mini-label b{font-size:12px}.form-row{gap:12px}.form-row label{font-size:12px}.presets{gap:8px}.presets button{padding:8px 12px}.guide{padding:40px 6px 20px}.guide h2{font-size:25px}.guide-cards{grid-template-columns:1fr;gap:22px;margin-top:24px}.guide-cards article{display:grid;grid-template-columns:35px 1fr;column-gap:12px}.guide-cards article>span{grid-row:1/3;margin-top:3px}.guide-cards h3{margin:0 0 5px}.guide-cards p{font-size:14px}footer{flex-wrap:wrap;gap:8px 20px;margin-top:20px;padding:25px 18px}footer p{order:3;width:100%;margin:0}footer .text-button{font-size:12px}.dialog-header{padding:16px}.dialog-header h2{font-size:20px}.dialog-body{padding:16px}.mapping{gap:12px}.mapping label{font-size:12px}.mapping select{font-size:12px;padding:8px}.inline-form{flex-wrap:wrap}.inline-form label{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
td input:not([type=checkbox]){width:120px;min-height:44px;margin-top:0}td input[data-field=name]{width:220px}td input[data-field=qty]{width:80px}td input[data-field=price],td input[data-field=old]{width:115px}
.field-help,.info-note,.preview-help,.download-note,.workspace-note,.muted,.drop-zone p{font-size:14px}label,.button,.steps button,.template-options strong,.paper-options strong{font-size:16px}td input:not([type=checkbox]){font-size:16px;width:128px}td input[data-field=name]{width:240px}td input[data-field=qty]{width:80px}th{font-size:14px}.issue-box,.issue-item{font-size:14px}.template-options small,.paper-options small{font-size:13px}@media(max-width:540px){.steps{gap:4px;display:grid;grid-template-columns:1fr 1fr 1fr}.step-line{display:none}.steps button{flex-direction:column;gap:6px;white-space:normal;text-align:center;font-size:14px;line-height:1.3}.mode-switch button{font-size:14px}.secondary-actions .button{font-size:14px}.panel-heading .text-button{font-size:13px}.form-row label,.mapping label{font-size:14px}.presets button{font-size:16px}.template-options strong{font-size:13px}.step-footer .button{font-size:16px}}
@media(max-width:540px){h1{font-size:30px;letter-spacing:-1.2px}.intro{padding-top:24px;padding-bottom:25px}.steps{grid-template-columns:.85fr 1.1fr 1.15fr}.template-options{grid-template-columns:repeat(3,minmax(0,1fr))}.template-options button{min-width:0}.panel-heading .muted{font-size:12px}}

/* Simple first visit and narrow screen controls. */
.quick-start{margin:0 0 24px;padding:20px;border:1px solid #d9dfd4;border-radius:16px;background:#edf1e8}.quick-start strong{font-size:20px}.quick-start p{margin:8px 0 14px;line-height:1.5}.quick-start>div{display:flex;flex-wrap:wrap;gap:10px}.quick-start button{min-height:44px;padding:12px 16px;border:1px solid #8c9e8e;border-radius:9px;background:#fff;color:#214d40;font:inherit;cursor:pointer}.quick-start button:focus-visible{outline:3px solid #54725b;outline-offset:3px}.production-contact{overflow-wrap:anywhere}input,select,textarea{max-width:100%}@media(max-width:600px){.quick-start{padding:16px}.quick-start>div>button{flex:1 1 140px}.intro{padding-top:24px;padding-bottom:20px}.intro h1{font-size:clamp(28px,8vw,38px)}input,select,textarea{font-size:16px!important}}
