.stamp-designer{background:#fff;border:1px solid #dce4df;border-radius:8px;min-width:0}.stamp-designer button,.stamp-designer input,.stamp-designer select{font-size:12px}.stamp-designer button{min-height:38px}.stamp-designer .icon{flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;padding:0;display:inline-flex}.stamp-designer .icon[aria-pressed=true]{color:#25594e;background:#e8f1ec;border-radius:4px}.stamp-designer-topbar{border-bottom:1px solid #dce4df;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;display:flex}.stamp-designer-topbar>span{align-items:center;gap:9px;font-size:12px;font-weight:600;display:flex}.stamp-designer-topbar>div{align-items:center;gap:3px;display:flex}.stamp-random{align-items:center;gap:7px;padding:0 10px;display:flex}.stamp-designer-body{grid-template-columns:minmax(0,1fr);align-items:start;display:grid}.stamp-controls{min-width:0}.stamp-tabs{background:#fafcfb;border-bottom:1px solid #dce4df;gap:0;padding:0 8px;display:flex}.stamp-tabs>button{border-bottom:2px solid #0000;flex:1;min-width:0;min-height:48px;padding:12px 4px;font-size:11px}.stamp-tabs>button[aria-selected=true]{color:#25594e;border-color:#25594e;font-weight:700}.stamp-controls-content{flex-direction:column;gap:18px;padding:20px;display:flex}.stamp-controls-content h2{margin-top:10px;font-size:13px}.stamp-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;display:grid}.stamp-designer label{min-width:0;font-size:11px;font-weight:500}.stamp-designer label input:not([type=checkbox]):not([type=range]):not([type=color]),.stamp-designer select{background:#fff;width:100%;min-height:42px}.stamp-designer label input[type=range]{accent-color:#25594e;min-height:28px;padding:0}.stamp-field-full{grid-column:1/-1}.stamp-company-search{border-bottom:1px solid #dce4df;padding-bottom:18px}.stamp-company-search>div{align-items:center;gap:6px;margin-top:10px;display:flex}.stamp-company-search input{width:100%;min-width:0;min-height:44px}.stamp-company-search>div>button{background:#edf4ef;border:1px solid #dce4df;border-radius:4px;width:44px;height:44px}.stamp-company-result{text-align:left;border-bottom:1px solid #e5ebe7;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:12px 0;display:flex}.stamp-company-result>span{min-width:0}.stamp-company-result strong{overflow-wrap:anywhere;font-size:11px;display:block}.stamp-company-result small{color:#67796e;margin-top:5px;font-size:10px;display:block}.stamp-company-result svg{flex-shrink:0}.stamp-extra-fields{border-top:1px solid #dce4df}.stamp-extra-fields summary{cursor:pointer;justify-content:space-between;align-items:center;padding:14px 0;font-size:12px;font-weight:600;display:flex}.stamp-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.stamp-presets button{text-align:left;border:1px solid #dce4df;border-radius:4px;align-items:center;gap:10px;min-width:0;min-height:58px;padding:10px;display:flex}.stamp-presets button:hover{background:#f8fbf9;border-color:#85a996}.stamp-presets button>span:last-child{font-size:10px;line-height:1.5}.stamp-preset-glyph{border:2px double #5c7c6a;flex-shrink:0;width:32px;height:22px;display:block;position:relative}.stamp-preset-glyph:after{content:"";border-top:1px solid #9fb3a7;border-bottom:1px solid #9fb3a7;width:60%;height:1px;padding-top:4px;position:absolute;top:7px;left:20%}.stamp-preset-round{border-radius:50%;width:28px;height:28px}.stamp-preset-oval{border-radius:50%;width:34px;height:24px}.stamp-preset-square{width:28px;height:28px}.stamp-preset-capsule{border-radius:14px}.stamp-swatches{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.stamp-swatches button{border:3px solid #fff;border-radius:50%;outline:1px solid #dce4df;width:28px;height:28px;min-height:28px}.stamp-swatches button[aria-pressed=true]{outline-offset:2px;outline:2px solid #869c90}.stamp-swatches input[type=color]{border-radius:3px;width:38px;height:32px;padding:2px}.stamp-designer label.stamp-check{flex-direction:row;align-items:center;gap:10px;min-height:36px;display:flex}.stamp-check input{accent-color:#25594e;flex-shrink:0;width:17px;height:17px}.stamp-slider>span{justify-content:space-between;align-items:center;gap:10px;display:flex}.stamp-slider output{color:#667b6e;font-variant-numeric:tabular-nums;font-size:10px}.stamp-inline-actions{align-items:center;gap:8px;display:flex}.stamp-line-list>div{border-bottom:1px solid #e5ebe7;align-items:center;min-width:0;display:flex}.stamp-line-list>div.selected{background:#edf4ef;border-radius:3px}.stamp-line-name{text-align:left;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;padding:5px;overflow:hidden}.stamp-line-editor{border-top:1px solid #dce4df;flex-direction:column;gap:18px;padding-top:16px;display:flex}.stamp-file-label{border:1px dashed #a9beb1;border-radius:5px;align-items:flex-start;gap:10px;padding:14px;display:flex}.stamp-file-label input{max-width:100%;margin-top:6px;font-size:10px}.stamp-asset-preview{border:1px solid #dce4df;border-radius:4px;align-items:center;gap:12px;padding:10px;display:flex}.stamp-asset-preview img{object-fit:contain;flex:1;min-width:0;max-width:160px;height:70px}.stamp-signature-pad{background:#fff;border:1px solid #b7c9bd;border-radius:5px;overflow:hidden}.stamp-signature-pad canvas{aspect-ratio:3;touch-action:none;cursor:crosshair;width:100%;height:auto;display:block}.stamp-signature-pad>div{border-top:1px solid #e5ebe7;justify-content:flex-end;display:flex}.stamp-saved-list>div{border-bottom:1px solid #dce4df;align-items:center;gap:10px;display:flex}.stamp-saved-list>div>button:first-child{text-align:left;overflow-wrap:anywhere;flex:1;min-width:0;padding:10px 0}.stamp-local-note{color:#667b6e;font-size:10px;line-height:1.7}.stamp-message{color:#315b47;overflow-wrap:anywhere;background:#f4f8f5;border-top:1px solid #dce4df;margin:0;padding:14px 20px;font-size:12px}.stamp-preview{background:#f7f9f8;border-top:1px solid #dce4df;min-width:0}.stamp-preview-toolbar{border-bottom:1px solid #dce4df;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:12px;display:flex}.stamp-preview-toolbar>span{color:#536e5e;align-items:center;gap:6px;font-size:11px;display:flex}.stamp-live-dot{background:#6ba36e;border-radius:50%;width:5px;height:5px;display:inline-block}.stamp-preview-toolbar>div{align-items:center;display:flex}.stamp-fit{min-width:45px;padding:4px;font-size:10px!important}.stamp-preview-surfaces{justify-content:center;gap:8px;padding:12px 10px;display:flex}.stamp-preview-surfaces button{border-bottom:1px solid #0000;min-height:32px;padding:5px 10px;font-size:10px}.stamp-preview-surfaces button[aria-pressed=true]{color:#25594e;border-color:#6c937c;font-weight:700}.stamp-preview-stage{background-color:#fff;border:1px solid #dfe7e2;justify-content:center;align-items:center;height:320px;min-height:280px;margin:0 16px;display:flex;position:relative;overflow:hidden}.stamp-surface-transparent{background-image:conic-gradient(#f0f3f1 25%, transparent 0 50%, #f0f3f1 0 75%, transparent 0);background-size:16px 16px}.stamp-surface-paper{background:#fdfdfb}.stamp-live-image{object-fit:contain;z-index:1;flex-shrink:0;height:auto;max-height:85%;transition:transform .18s;display:block;position:relative}.stamp-empty-caption{pointer-events:none;color:#879b8d;font-size:11px;position:absolute}.stamp-invoice-mock{color:#95a69c;background:#fff;flex-direction:column;gap:20px;padding:20px;font-size:10px;display:flex;position:absolute;inset:14px}.stamp-invoice-mock strong{font-size:15px}.stamp-mock-table{border-top:1px solid #d5dfd8;border-bottom:1px solid #d5dfd8;justify-content:space-between;align-items:center;padding:10px 0;display:flex}.stamp-mock-rule{background:#e9eeeb;height:1px}.stamp-invoice-mock small{margin-top:auto}.stamp-preview-metrics{color:#6b8172;font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:center;gap:10px 18px;padding:12px;font-size:10px;display:flex}.stamp-quality{padding:0 18px 12px;font-size:10px}.stamp-quality p{color:#8b6741;font-size:10px;line-height:1.7}.stamp-quality .stamp-quality-error{color:#94524a}.stamp-quality .stamp-quality-ready{color:#4a775b;align-items:center;gap:7px;display:flex}.stamp-export{background:#fff;border-top:1px solid #dce4df;padding:16px}.stamp-designer label.stamp-authorized{flex-direction:row;align-items:flex-start;gap:8px;font-size:10px;line-height:1.6;display:flex}.stamp-authorized input{accent-color:#25594e;flex-shrink:0;width:16px;height:16px;margin-top:1px}.stamp-export-primary{grid-template-columns:100px minmax(0,1fr);align-items:end;gap:12px;margin-top:16px;display:grid}.stamp-export-primary .primary{white-space:normal;justify-content:center;min-height:42px;padding:10px 8px}.stamp-export-actions{flex-wrap:wrap;gap:6px 16px;padding:12px 0;display:flex}.stamp-export-actions button{align-items:center;gap:6px;padding:4px 0;font-size:10px;display:flex}.stamp-preview-full{z-index:200;flex-direction:column;align-items:stretch;width:100%;height:100dvh;display:flex;inset:0;overflow:auto;border:0!important;position:fixed!important}.stamp-preview-full .stamp-preview-stage{flex:1;width:min(760px,100% - 32px);min-height:250px;margin:0 auto}.stamp-preview-full .stamp-preview-stage img{max-width:700px;max-height:60dvh}.stamp-preview-full .stamp-export{align-self:center;width:100%;max-width:760px}.stamp-mobile-preview{z-index:4;pointer-events:none;justify-content:center;margin-top:12px;display:flex;position:sticky;bottom:12px}.stamp-mobile-preview button{pointer-events:auto;color:#fff;background:#25594e;border-radius:5px;align-items:center;gap:8px;min-height:44px;padding:10px 16px;display:flex;box-shadow:0 2px 8px #183a2420}@media (min-width:900px){.stamp-designer-body{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)}.stamp-preview{border-top:0;border-left:1px solid #dce4df;position:sticky;top:16px}.stamp-preview-stage{height:340px}.stamp-mobile-preview{display:none}}@media (max-width:430px){.stamp-controls-content{padding:16px}.stamp-tabs>button{font-size:10px}.stamp-designer-topbar{padding:10px}.stamp-designer-topbar>span{font-size:11px}.stamp-random{font-size:10px!important}.stamp-fields{gap:12px 10px}.stamp-preview-toolbar{padding:8px}.stamp-preview-stage{height:260px;min-height:240px}.stamp-export-primary{grid-template-columns:90px minmax(0,1fr)}.stamp-presets button{gap:8px;padding:8px}.stamp-designer .icon{width:34px}}@media (prefers-reduced-motion:reduce){.stamp-live-image{transition:none}}
