:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#202020;background:#f6f6f7;font-size:14px;font-synthesis:none;--pink:#d4a58e;--line:#dedede;--muted:#616161}*{box-sizing:border-box}body{margin:0}a,a:visited{color:#202020}a:hover{color:#141414}::selection{background:#fbf3ed;color:#202020}input,select,textarea,button{font:inherit}input,textarea{caret-color:#d4a58e}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 13px;border:1px solid #c9c9c9;border-radius:6px;background:#fff;color:#202020;font-weight:550;cursor:pointer;text-decoration:none;white-space:nowrap}button:hover,.button:hover{background:#f4f4f4;border-color:#aaa}button:disabled{opacity:.48;cursor:not-allowed}button.primary{background:#d4a58e;border-color:#d4a58e;color:#141414}button.primary:hover:not(:disabled){background:#fff;color:#141414;border-color:#d4a58e}button svg,.app-mark svg,.search-field svg{width:17px;height:17px;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,.table-scroll:focus-visible{outline:2px solid #d4a58e;outline-offset:3px}input:not([type=checkbox]):not([type=file]),select,textarea{width:100%;min-height:38px;background:#fff;border:1px solid #b5b5b5;border-radius:6px;color:#202020;padding:8px 10px}input::placeholder,textarea::placeholder{color:#666;opacity:1}input[readonly]{background:#f6f6f6}input[type=checkbox]{accent-color:#d4a58e;width:16px;height:16px;flex-shrink:0;margin:0}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:550}label small{font-weight:400;color:#616161;line-height:1.5}h1{font-size:24px;line-height:1.25;margin:0;font-weight:650;letter-spacing:-.025em}h2{font-size:15px;line-height:1.4;margin:0 0 12px;font-weight:650}p{margin:0 0 16px;color:#616161;line-height:1.6;max-width:75ch}.printer-app{width:100%;padding:0 24px 20px;max-width:none}.app-heading{display:flex;gap:10px;align-items:center;padding:18px 0 16px;font-size:16px}.app-mark{display:grid;place-items:center;background:#d4a58e;color:#141414;width:28px;height:28px;border-radius:6px}.preview-label{font-size:12px;font-weight:500;background:#fff;border:1px solid #d6d6d6;padding:3px 7px;border-radius:4px;margin-left:auto}.app-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);overflow:auto;margin:0 -24px;padding:0 24px;scrollbar-width:thin;scrollbar-color:#aaa transparent}.app-tabs a{padding:13px 0;text-decoration:none;white-space:nowrap;font-size:13px;font-weight:550;position:relative}.app-tabs a[aria-current=page]{color:#141414}.app-tabs a[aria-current=page]:after{content:"";height:2px;background:#d4a58e;position:absolute;bottom:0;left:0;right:0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0 18px}.page-heading p{margin:7px 0 0;font-size:13px}.header-actions{display:flex;gap:8px;flex-shrink:0}.info-strip{padding:11px 14px;border:1px solid var(--line);background:#fff;border-radius:6px;color:#505050;font-size:13px;line-height:1.5;margin-bottom:16px}.notice{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid #aed7bb;background:#f0faf3;padding:12px 14px;margin-bottom:16px;border-radius:6px;overflow-wrap:anywhere}.notice.error{border-color:#d99191;background:#fff3f3}.notice button{min-height:28px;font-size:12px}.panel{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;overflow:hidden}.filter-row{display:flex;align-items:end;gap:12px;padding:16px;flex-wrap:wrap}.search-field{display:flex;align-items:center;position:relative;min-width:220px;flex:2}.search-field svg{position:absolute;left:12px;color:#616161}.search-field input{padding-left:38px!important}.filter-row>label{flex:1;min-width:130px;max-width:180px}.filter-row>label:has(input[type=date]){max-width:160px}.text-button{border-color:transparent;color:#616161;padding:8px}.selection-row{padding:13px 16px;background:#fafafa;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:15px;align-items:center;flex-wrap:wrap}.selection-row>strong{font-size:13px}.template-choices{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:9px 14px;flex:1;min-width:230px}.template-choices legend{font-size:12px;color:#616161;margin-bottom:8px}.template-choices label{flex-direction:row;align-items:center;gap:6px;font-weight:400;font-size:12px;white-space:nowrap}.selection-actions{display:flex;gap:8px;flex-wrap:wrap}.table-scroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#aaa #f8f8f8}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:13px}th{font-size:12px;font-weight:600;background:#fafafa;padding:12px 16px;border-bottom:1px solid var(--line);color:#505050}td{padding:15px 16px;border-bottom:1px solid #eee;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafafa}tr.selected{background:#fbf3ed}.checkbox-cell{width:40px;padding-left:16px;padding-right:0}.checkbox-cell input{cursor:pointer}td small{display:block;font-size:11px;color:#616161;margin-top:5px;line-height:1.4}.order-link{border:0;padding:0;min-height:28px;background:transparent;font-size:13px;font-weight:650;text-decoration:underline;text-underline-offset:3px}.order-link:hover{color:#141414;background:transparent}.number{text-align:right;font-variant-numeric:tabular-nums}.total{font-weight:550}.badge{display:inline-block;font-size:11px;padding:4px 8px;line-height:1.3;border:1px solid #d6d6d6;background:#f4f4f4;border-radius:5px;color:#505050;white-space:nowrap}.badge.success{color:#186237;background:#effaf2;border-color:#abd2b7}.badge.pending{color:#72521a;background:#fffae8;border-color:#e4d4a4}.badge.muted{color:#505050;background:#f4f4f4;border-color:#d6d6d6}.icon-button{width:34px;height:34px;padding:5px;min-height:34px;background:transparent;border-color:transparent}.pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px;border-top:1px solid var(--line);font-size:12px}.pagination>div{display:flex;gap:8px}.subtle{color:#616161;font-weight:400}.empty-state{text-align:center;padding:55px 20px}.empty-state svg{width:28px;height:28px;color:#616161;margin-bottom:12px}.empty-state p{margin-left:auto;margin-right:auto}.form-panel{padding:22px;margin-bottom:16px}.form-panel label{margin-bottom:18px}.form-panel p{font-size:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.section-heading h2{margin:0}.template-workspace{display:grid;grid-template-columns:245px minmax(0,1fr);gap:18px;align-items:start}.template-list h2{padding:18px 16px 0}.template-list>button{display:flex;position:relative;width:100%;border:0;border-top:1px solid #eee;border-radius:0;justify-content:space-between;align-items:center;padding:16px;white-space:normal;text-align:left;flex-wrap:wrap;gap:7px}.template-list>button>span:first-child{flex:1}.template-list>button strong{font-size:13px}.template-list>button small{display:block;font-size:11px;font-weight:400;color:#616161;margin-top:5px}.template-list>button.active{background:#fbf3ed;color:#202020}.default-note{flex-basis:100%;font-size:11px;font-weight:400;color:#616161}.editor-heading{padding:18px;display:flex;gap:18px;justify-content:space-between;align-items:end}.editor-heading>label{flex:1;max-width:450px}.default-options{display:flex;gap:15px;align-items:center;flex-wrap:wrap;padding:12px 18px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-size:12px;color:#505050}.default-options label,.checkbox-label{flex-direction:row;align-items:center;font-weight:400}.editor-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;padding:18px}.code-label{margin-bottom:9px}.code-editor{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px!important;line-height:1.6;min-height:480px!important;resize:vertical;tab-size:2}.document-preview{min-width:0}.document-preview h2{font-size:13px}.document-preview iframe{width:100%;height:530px;border:1px solid #ddd;border-radius:4px;background:#f6f6f6}.preview-placeholder{border:1px solid #ddd;background:#fafafa;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:480px;padding:20px;text-align:center}.preview-placeholder svg{height:32px;width:32px;color:#777;margin-bottom:12px}.variable-guide{margin-top:15px;font-size:12px;line-height:1.6}.variable-guide summary{cursor:pointer;font-weight:550}.variable-guide p{margin:12px 0}.variable-guide code{display:block;white-space:pre-wrap;background:#f5f5f5;padding:12px;border-radius:4px;overflow-wrap:anywhere}.editor-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;border-top:1px solid #eee;font-size:12px;color:#616161}.danger-text{background:transparent;border-color:transparent;color:#b42318}.settings-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.settings-layout>.form-panel{margin-bottom:0}.setup-steps{padding-left:22px;margin:20px 0}.setup-steps li{margin-bottom:24px;padding-left:5px;line-height:1.5;font-size:13px}.setup-steps p{margin:6px 0 0}.settings-save{margin-top:28px;display:flex;justify-content:end}.logo-preview{max-width:200px;max-height:100px;object-fit:contain;margin:0 0 18px}.section-intro{padding:22px 22px 0}.section-intro p{font-size:13px}.error-text{color:#b42318}.app-footer{display:flex;justify-content:space-between;gap:15px;color:#616161;font-size:11px;padding:22px 0 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1700px){.editor-columns{grid-template-columns:1.05fr .95fr}.code-editor{min-height:600px!important}.document-preview iframe{height:650px}}@media(max-width:1000px){.template-workspace{grid-template-columns:205px minmax(0,1fr)}.editor-columns{grid-template-columns:1fr}.editor-heading{flex-wrap:wrap}.editor-heading>label{max-width:none;min-width:200px}.editor-heading .header-actions{flex-shrink:1}.selection-actions{width:100%}.template-choices{flex-basis:60%}.filter-row>label{max-width:none}.document-preview iframe{height:650px}}@media(max-width:600px){.printer-app{padding:0 12px 16px}.app-heading{padding:14px 0;font-size:15px}.app-tabs{gap:22px;margin:0 -12px;padding:0 12px}.page-heading{align-items:start;flex-direction:column;padding:20px 0 16px;gap:14px}.page-heading h1{font-size:23px}.header-actions{width:100%;flex-wrap:wrap}.header-actions>button{flex:1}button,.button{min-height:44px}input:not([type=checkbox]):not([type=file]),select{min-height:44px}input[type=checkbox]{width:18px;height:18px}.info-strip{font-size:12px}.filter-row{padding:12px;gap:12px}.search-field{min-width:0;flex-basis:100%}.filter-row>label{min-width:calc(50% - 6px);max-width:none!important;flex:1}.selection-row{padding:12px;gap:12px}.template-choices{min-width:0;flex-basis:100%}.template-choices label{min-height:28px}.selection-actions>button{flex:1;font-size:12px;white-space:normal}.selection-row>strong{font-size:12px}td,th{padding:13px 12px}.checkbox-cell{padding-left:12px;padding-right:0}.pagination{padding:12px;flex-wrap:wrap}.pagination>div{margin-left:auto}.pagination>span{font-size:11px}.pagination .subtle{display:block;margin-top:5px}.template-workspace,.settings-layout{grid-template-columns:1fr;gap:14px}.template-list{display:flex;overflow-x:auto;align-items:stretch}.template-list h2{display:none}.template-list>button{border-top:0;border-right:1px solid #eee;min-width:180px;width:180px;flex-shrink:0;padding:13px}.template-list>button>svg{display:none}.editor-heading{padding:14px;gap:12px}.editor-heading>label{width:100%;min-width:0}.default-options{padding:12px 14px;gap:12px}.default-options>span{width:100%}.editor-columns{padding:14px;gap:20px}.code-editor{min-height:350px!important}.document-preview iframe{height:510px}.document-preview .section-heading{align-items:center}.document-preview .section-heading button{font-size:12px}.form-panel{padding:18px}.form-grid{grid-template-columns:1fr;gap:0}.notice{align-items:start;flex-direction:column}.notice button{align-self:end;min-height:36px}.app-footer{flex-wrap:wrap;font-size:10px}.empty-state{padding:40px 18px}.editor-footer{padding:10px 14px}.editor-footer button{font-size:12px}.icon-button{width:40px;height:40px;min-height:40px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.login-page{max-width:520px;margin:10vh auto;padding:20px}.login-page h1{margin-bottom:12px}.login-page p{margin-top:10px}.login-page form{margin-top:24px}.login-page button{width:100%}.error-text,.danger-text{color:#b42318}@media(max-width:600px){input:not([type=checkbox]):not([type=file]),select{font-size:16px}.login-page{margin:4vh auto;padding:12px}}.table-scroll{position:relative}.sort-row{display:flex;align-items:end;gap:12px;padding:0 16px 16px;flex-wrap:wrap}.sort-row label{width:180px;min-width:0}@media(max-width:600px){.sort-row{padding:0 12px 12px}.sort-row label{width:calc(50% - 6px)}}.preview-scale{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.preview-scale small{color:#616161;line-height:1.5}.preview-scale button{font-size:12px}.pdf-email-form{border-top:1px solid #dedede;border-bottom:1px solid #dedede;background:#fafafa;padding:18px 22px;display:grid;gap:12px}.pdf-email-form h2,.pdf-email-form p{margin:0}.pdf-email-form p{font-size:13px;color:#616161;line-height:1.5}.pdf-email-form label{max-width:600px}.pdf-email-form textarea{resize:vertical;min-height:70px;max-width:100%}.pdf-email-form .header-actions{justify-content:flex-start}@media(max-width:600px){.pdf-email-form{padding:14px 12px}.pdf-email-form textarea{font-size:16px}.pdf-email-form .header-actions{width:100%}}.order-link,.order-link:visited{color:#202020;text-decoration:underline;text-decoration-color:#d4a58e;text-decoration-thickness:1.5px;text-underline-offset:3px;font-weight:600}.order-link:hover{color:#141414}.order-link:focus-visible{outline:2px solid #d4a58e;outline-offset:4px}.document-actions>button{width:124px;height:40px;min-height:40px;justify-content:center;flex:0 0 124px}@media(max-width:600px){.document-actions>button{width:calc((100% - 10px)/2);height:44px;min-height:44px;flex:1 1 0}}.logo-controls{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:18px}.logo-controls .logo-preview{margin:0}.logo-controls>button{min-height:40px}.app-mark img{display:block;width:28px;height:28px;object-fit:contain;border-radius:6px}
