.invoice-ui{--editor-label-size:.875rem;--editor-helper-size:.8125rem;letter-spacing:normal;font-size:.9375rem;line-height:1.5}.invoice-editor-section{border-top:1px solid var(--border);padding:1.5rem 0 0}.invoice-ui h2{letter-spacing:-.015em;line-height:1.5}.invoice-ui .text-xs{font-size:var(--editor-helper-size);line-height:1.5}.invoice-ui [data-slot=label]{font-size:var(--editor-label-size);font-weight:500;line-height:1.5}.invoice-ui label:not(:has(input[type=radio])){font-size:var(--editor-label-size);font-weight:500;line-height:1.5}.invoice-ui :where(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),select,textarea){border-color:var(--input);background-color:var(--card);min-width:0;min-height:2.75rem;color:var(--foreground);letter-spacing:normal;border-radius:.5rem;padding:.625rem .75rem;font-family:inherit;font-size:.9375rem;font-weight:400;line-height:1.5}.invoice-ui textarea{resize:vertical;min-height:6rem}.invoice-ui textarea.invoice-description-input{field-sizing:content;height:auto;min-height:2.75rem;max-height:10rem}.invoice-ui input::placeholder,.invoice-ui textarea::placeholder{color:var(--muted-foreground);opacity:1}.invoice-ui :is(input,select,textarea):focus-visible{outline:2px solid var(--ring);outline-offset:2px}.invoice-ui :is(input,select,textarea)[aria-invalid=true]{border-color:var(--destructive)}.invoice-ui button{font-size:.875rem;font-weight:500;line-height:1.5}.invoice-ui input:is([inputmode=decimal],[type=date]),.invoice-ui #invoiceNumber,.invoice-line-amount{font-variant-numeric:tabular-nums lining-nums}.invoice-ui input[inputmode=decimal]{text-align:right}.invoice-line-amount{color:var(--foreground);overflow-wrap:anywhere;font-weight:500}.invoice-editor-totals{font-variant-numeric:tabular-nums lining-nums;gap:.75rem;padding-block:.5rem;display:grid}.invoice-editor-totals>div{grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:baseline;gap:1rem;display:grid}.invoice-editor-totals dt{color:var(--muted-foreground)}.invoice-editor-totals dd{text-align:right;overflow-wrap:anywhere}.invoice-editor-totals .invoice-editor-total{border-top:1px solid var(--border);padding-top:1rem;font-size:1.25rem;font-weight:600;line-height:1.4}.invoice-editor-total dt{color:var(--foreground);font-size:.875rem;font-weight:500}.invoice-form details{border-width:0;border-radius:0;padding:0}.invoice-form summary{min-height:2.75rem;padding-block:.625rem;display:list-item}.invoice-form details>div{row-gap:.75rem;margin-top:.75rem}.invoice-parties details{margin-top:.75rem}.invoice-logo-control #logo-error:empty{display:none}.invoice-builder{max-width:1200px;margin-inline:auto}.invoice-editor-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:1rem;display:flex}.invoice-editor-header button{min-height:2.75rem}.invoice-detail-toggle button{padding-inline:.75rem}.invoice-ui .invoice-mode-title{font-size:1.5rem;font-weight:600;line-height:1.3}.invoice-detail-toggle{background:var(--muted);border-radius:.5rem;flex-wrap:wrap;gap:.125rem;padding:.125rem;display:flex}.invoice-builder :where(button,summary,a,[tabindex]):focus-visible{outline:2px solid var(--ring);outline-offset:3px}.invoice-builder :where(input,select,textarea,summary){scroll-margin-block:6rem}.invoice-item-head{display:none}.invoice-item-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 2.75rem;align-items:start;gap:.75rem;display:grid}.invoice-item-fields>*{min-width:0}.invoice-item-description{grid-column:1/-1}.invoice-item-quantity{grid-column:1}.invoice-item-rate{grid-column:2}.invoice-item-remove{grid-area:2/3;padding-top:1.875rem}.invoice-item-remove button{min-width:2.75rem;min-height:2.75rem}.invoice-item-amount{grid-column:1/-1;justify-content:space-between;align-items:baseline;gap:.75rem;display:flex}.invoice-item-amount output{text-align:right}.invoice-summary-grid{align-items:start;gap:1.5rem;display:grid}.invoice-preview-workspace{max-width:900px;margin-inline:auto}.invoice-ui section[aria-label=Invoice\ customization]{max-width:760px;margin-inline:auto}.invoice-live-preview{border:1px solid var(--border);border-radius:.5rem}.invoice-live-preview .invoice-paper-frame{max-width:794px;margin-inline:auto}.invoice-builder form[hidden],.invoice-builder section[hidden],.invoice-builder div[hidden]{display:none}body:has(.invoice-builder) button.feedback-widget-trigger{align-self:flex-end;margin:1rem;position:static;inset:auto}@media (min-width:768px){.invoice-summary-grid{grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:1.5rem 2rem}.invoice-summary-options{max-width:40rem}}@media (min-width:1024px){.invoice-item-head,.invoice-item-fields{grid-template-columns:minmax(0,5fr) minmax(80px,1fr) minmax(110px,1.5fr) minmax(130px,1.5fr) 44px;gap:1rem;display:grid}.invoice-item-head{border-bottom:1px solid var(--border);color:var(--muted-foreground);margin-bottom:.75rem;padding:.5rem 0;font-size:.8125rem;font-weight:500}.invoice-item-head>span:not(:first-child){text-align:right}.invoice-item-fields>*{grid-area:auto}.invoice-item-fields [data-slot=label]{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.invoice-item-fields>div>.space-y-1\.5>:is(input,textarea){margin-top:0}.invoice-item-remove{padding-top:0}.invoice-item-amount{padding-block:.625rem;display:block}.invoice-item-amount output{display:block}}@media (max-width:639px){.invoice-editor-header>div:last-child,.invoice-detail-toggle{width:100%}.invoice-detail-toggle button{flex:1}}@media (max-width:1023px){.invoice-ui :where(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),select,textarea){font-size:1rem}body:has(.invoice-builder) button.feedback-widget-trigger{margin-bottom:calc(7rem + env(safe-area-inset-bottom))}}.wizard-layout{gap:2rem;display:grid}.wizard-form-column{min-width:0}.wizard-preview-column{display:none}.wizard-preview-sticky{border:1px solid var(--border);background:#f1f5f9;border-radius:.5rem;max-height:calc(100vh - 7rem);padding:.5rem;position:sticky;top:5rem;overflow-y:auto}.wizard-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:1rem;display:flex}.wizard-header button{min-height:2.75rem}.wizard-step-indicator{align-items:flex-start;display:flex}.wizard-step-pip{flex-direction:column;flex:1;align-items:center;display:flex;position:relative}.wizard-step-pip:not(:last-child):after{content:"";background:var(--border);height:2px;position:absolute;top:.5625rem;left:calc(50% + .75rem);right:calc(.75rem - 50%)}.wizard-step-pip--done:not(:last-child):after{background:var(--primary)}.wizard-step-dot{border:2px solid var(--muted-foreground);z-index:1;opacity:.4;background:0 0;border-radius:50%;flex-shrink:0;width:1.125rem;height:1.125rem;position:relative}.wizard-step-pip--done .wizard-step-dot{background:var(--primary);border-color:var(--primary);opacity:1}.wizard-step-pip--active .wizard-step-dot{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);opacity:1}.wizard-step-label{color:var(--muted-foreground);text-align:center;margin-top:.375rem;font-size:.6875rem;line-height:1.3}.wizard-step-pip--active .wizard-step-label{color:var(--foreground);font-weight:600}.wizard-step-pip--done .wizard-step-label{color:var(--foreground)}.wizard-step-row{align-items:flex-start;gap:1rem;margin-bottom:1.5rem;display:flex}.wizard-step-row .wizard-step-indicator{flex:1;min-width:0;margin-bottom:0}.wizard-step-nav{flex-shrink:0;align-items:center;gap:.5rem;padding-top:.125rem;display:flex}.wizard-step-nav button{min-height:2.75rem}.wizard-customize-panel{padding-top:.5rem}@media (prefers-color-scheme:dark){.wizard-preview-sticky{background:#1e293b}}@media (min-width:1024px){.wizard-layout{grid-template-columns:1.1fr .9fr;gap:2rem}.wizard-preview-column{display:block}}
