@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap";*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.table-row{display:table-row}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{font-family:DM Sans,sans-serif;color:#172235;background:#f3f5f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}.app-shell{min-height:100vh;padding:0 22px 28px}.topbar{height:68px;max-width:1320px;margin:auto;display:flex;align-items:center;justify-content:space-between}.back-button,.quiet-button,.text-button,.reset-button{border:0;background:transparent;color:#45546a;display:inline-flex;align-items:center;gap:9px;font:inherit;cursor:pointer}.top-actions{display:flex;gap:12px;align-items:center}.quiet-button{font-size:13px;padding:10px}.print-button{border:0;border-radius:11px;background:#542637;color:#fff;padding:13px 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font:600 14px DM Sans;cursor:pointer;box-shadow:0 5px 12px #54263718}.workspace{max-width:1320px;margin:20px auto 0;display:grid;grid-template-columns:minmax(360px,.88fr) minmax(500px,1.12fr);gap:28px;align-items:start}.editor{min-width:0}.page-intro{padding:7px 2px 20px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#9b6577}.page-intro h1{font-size:29px;letter-spacing:-.8px;margin:6px 0 4px}.page-intro p,.section-heading p{font-size:12px;color:#8290a3;margin:0}.form-card,.settings-card{background:#fff;border:1px solid #e9edf2;border-radius:15px;padding:19px;margin-bottom:14px;box-shadow:0 3px 12px #23354b06}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.section-heading>div{display:flex;align-items:center;gap:12px}.section-heading h2{font-size:15px;margin:0 0 3px;font-weight:700}.step{width:30px;height:30px;border-radius:9px;background:#f8eef1;color:#8d5366;display:grid;place-items:center;font-size:11px;font-weight:700}.field-grid,.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.input-label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#66758a;font-weight:600;min-width:0}.input-label input{width:100%;height:41px;border:1px solid #e4e9ef;border-radius:8px;padding:0 11px;font:500 13px DM Sans;color:#1b2a40;background:#fff;outline:none;min-width:0}.input-label input:focus{border-color:#a56d80;box-shadow:0 0 0 3px #a56d8015}.input-label input::-moz-placeholder{color:#b2bac5}.input-label input::placeholder{color:#b2bac5}.item-count{font-size:10px;color:#8b96a6;background:#f4f6f8;padding:5px 8px;border-radius:20px}.items-editor{display:flex;flex-direction:column}.item-editor-row{display:grid;grid-template-columns:25px 1fr 28px;gap:9px;padding:13px 0;border-top:1px solid #eff1f4;align-items:start}.item-number{font-size:10px;color:#a2acb9;padding-top:27px}.item-fields{min-width:0;display:flex;flex-direction:column;gap:10px}.numeric-fields{display:grid;grid-template-columns:70px minmax(90px,1fr) minmax(100px,auto);gap:9px;align-items:end}.numeric-fields .input-label input{height:37px}.line-total{display:flex;flex-direction:column;gap:5px;align-items:flex-end;padding-bottom:8px;white-space:nowrap}.line-total span{font-size:10px;color:#9aa4b2}.line-total strong{font-size:12px}.delete-button{border:0;background:#fff4f4;color:#b66b70;border-radius:7px;width:28px;height:28px;display:grid;place-items:center;margin-top:24px;cursor:pointer}.add-item-button{margin-top:12px;width:100%;height:40px;border:1px dashed #c9aab4;border-radius:8px;background:#fffafb;color:#89566a;font:600 12px DM Sans;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.payment-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:end}.total-preview,.balance-preview{display:flex;flex-direction:column;gap:5px;padding:10px 12px;border-radius:9px;background:#f7f8fa}.total-preview span,.balance-preview span{font-size:10px;color:#8792a2}.total-preview strong{font-size:18px}.balance-preview{background:#fbf3f5}.balance-preview strong{font-size:17px;color:#542637}.payment-fields>.input-label{grid-column:1/-1}.editor-bottom-actions{display:flex;justify-content:space-between;align-items:center;padding:2px 0 12px}.reset-button{font-size:12px;color:#8792a2}.large-print{padding:13px 20px}.preview-column{min-width:0;position:sticky;top:16px}.preview-label{display:flex;justify-content:space-between;align-items:center;margin:0 2px 10px;color:#8995a5;font-size:10px;letter-spacing:1px;font-weight:700}.preview-label span:first-child{display:flex;align-items:center;gap:7px;color:#765365}.receipt{background:#fff;border-radius:15px;overflow:hidden;box-shadow:0 5px 22px #1722350c;border:1px solid #e8edf2}.receipt-topline{height:6px;background:linear-gradient(90deg,#542637,#9d667a)}.receipt-content{padding:34px 38px 30px}.receipt-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.brand{display:flex;align-items:center;gap:14px;min-width:0}.clinic-logo{width:68px;height:68px;-o-object-fit:contain;object-fit:contain;flex:0 0 auto}.brand-copy{min-width:0}.brand-name{font-family:Playfair Display,serif;font-size:clamp(21px,2.3vw,31px);font-variant:small-caps;line-height:1.15;color:#3b172b}.brand-subtitle{font-size:13px;color:#92586d;margin-top:5px}.brand-tagline{font-size:10px;letter-spacing:1.2px;color:#8b9ab0;margin-top:9px}.clinic-address{display:flex;flex-direction:column;text-align:right;gap:5px;font-size:11px;color:#77869b;line-height:1.35;min-width:120px}.clinic-address strong{font-weight:500;color:#34435a}.receipt-number{margin-top:4px;color:#9b8ca0}.receipt-divider{height:1px;background:#edf0f4;margin:27px 0 25px}.patient-strip{border:1px solid #f2e9ed;background:#fdfafb;border-radius:12px;padding:17px 19px;display:flex;justify-content:space-between;gap:15px}.patient-strip>div{display:flex;flex-direction:column;gap:5px}.receipt-label{font-size:9px;letter-spacing:.7px;color:#9a687b}.patient-strip strong{font-size:14px;font-weight:600;color:#15243a}.patient-strip span:not(.receipt-label){font-size:11px;color:#718096}.issue-date{text-align:right}.receipt-table{margin-top:27px}.table-head,.table-row{display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center}.table-head{padding:0 4px 11px;border-bottom:1px solid #dfe5ec;font-size:9px;letter-spacing:.7px;color:#8c9aae;font-weight:700}.table-row{padding:13px 4px;border-bottom:1px solid #edf0f4;font-size:12px;color:#25354b}.table-row>span:last-child{text-align:right;font-weight:500;white-space:nowrap}.table-row small{color:#8793a3}.empty-row{padding:22px 4px;color:#a1aab7;font-size:12px;text-align:center}.receipt-totals{width:min(100%,290px);margin:20px 0 0 auto;display:flex;flex-direction:column;gap:10px}.receipt-totals>div{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:#738197}.receipt-totals strong{font-size:12px;color:#17253a;font-weight:600}.receipt-totals .received-amount{background:#e9f8f2;color:#2b8b68;padding:4px 9px;border-radius:5px;font-size:11px}.receipt-totals .balance-row{border-top:1px solid #e4e9ef;padding-top:12px;margin-top:1px;color:#142238;font-weight:700}.receipt-totals .balance-row strong{font-size:18px;color:#542637}.receipt-footer{border-top:1px solid #edf0f4;margin-top:28px;padding-top:23px;text-align:center}.thank-you{font-family:Playfair Display,serif;font-style:italic;color:#8a4f68;font-size:19px}.footer-tagline{font-size:10px;letter-spacing:1px;color:#94a1b3;margin-top:9px}.preview-hint{text-align:center;font-size:10px;color:#a0a9b5;margin:10px 0}.app-footer{text-align:center;font-size:10px;color:#a0a9b5;padding:20px}.settings-card{max-width:1320px;margin:0 auto 14px}.text-button{color:#87556a;font-size:12px}.mobile-print-bar{display:none}@media(max-width:900px){.workspace{grid-template-columns:1fr;max-width:680px;margin-top:12px;gap:18px}.preview-column{position:static;grid-row:2}.editor{grid-row:1}.receipt-content{padding:30px 32px}.page-intro{padding-top:5px}.mobile-print-bar{display:flex;position:sticky;bottom:10px;z-index:5;background:#fff;border:1px solid #e8edf2;box-shadow:0 8px 30px #1722351c;border-radius:13px;padding:10px 12px;align-items:center;justify-content:space-between;margin:14px 0}.mobile-print-bar>div{display:flex;flex-direction:column;gap:2px}.mobile-print-bar span{font-size:10px;color:#8792a2}.mobile-print-bar strong{font-size:16px}.editor-bottom-actions{display:none}}@media(max-width:560px){.clinic-logo{width:52px;height:52px}.brand{gap:9px}.app-shell{padding:0 12px 20px}.topbar{height:58px}.back-button span{font-size:12px}.quiet-button{font-size:11px;padding:8px}.top-actions{gap:4px}.topbar>.top-actions .print-button{padding:10px 12px;font-size:12px}.workspace{margin-top:8px;gap:14px}.page-intro{padding-bottom:14px}.page-intro h1{font-size:25px}.form-card{padding:15px 13px;border-radius:12px;margin-bottom:11px}.section-heading{margin-bottom:14px}.field-grid,.settings-grid{grid-template-columns:1fr 1fr;gap:11px 9px}.input-label{font-size:10px;gap:6px}.input-label input{height:40px;font-size:13px;padding:0 9px}.item-editor-row{grid-template-columns:18px 1fr 26px;gap:7px;padding:12px 0}.numeric-fields{grid-template-columns:57px minmax(70px,1fr) minmax(83px,auto);gap:6px}.numeric-fields .input-label input{height:36px;font-size:12px;padding:0 7px}.line-total strong{font-size:11px}.line-total span{font-size:9px}.delete-button{width:26px;height:26px}.receipt-content{padding:25px 18px 24px}.receipt-header{gap:10px}.brand-name{font-size:21px}.brand-subtitle{font-size:11px}.brand-tagline{font-size:8px;letter-spacing:.8px}.clinic-address{font-size:9px;min-width:100px}.receipt-divider{margin:21px 0 18px}.patient-strip{padding:13px 12px;border-radius:9px}.patient-strip strong{font-size:12px}.patient-strip span:not(.receipt-label){font-size:10px}.receipt-label{font-size:8px}.receipt-table{margin-top:22px}.table-row{font-size:11px;padding:12px 3px}.table-head{font-size:8px}.receipt-totals{width:min(100%,250px);gap:9px}.receipt-totals>div{font-size:11px}.receipt-totals .balance-row strong,.thank-you{font-size:16px}.footer-tagline{font-size:9px}.receipt-footer{margin-top:24px;padding-top:20px}.preview-label{font-size:9px}.mobile-print-bar{margin:12px 0 5px;padding:9px 11px}.mobile-print-bar .print-button{padding:11px 16px}}@media(max-width:380px){.clinic-logo{width:43px;height:43px}.brand{gap:7px}.field-grid{grid-template-columns:1fr}.numeric-fields{grid-template-columns:52px minmax(65px,1fr) minmax(78px,auto)}.brand-name{font-size:19px}.clinic-address{min-width:88px;font-size:8px}.receipt-content{padding-left:14px;padding-right:14px}}@page{size:A4;margin:12mm}@media print{html,body{background:#fff!important;margin:0!important;padding:0!important}.app-shell{padding:0!important;background:#fff!important}.no-print,.editor,.preview-label,.preview-hint,.app-footer{display:none!important}.workspace{display:block!important;margin:0!important;max-width:none!important}.preview-column{position:static!important;width:100%!important}.receipt{border:0!important;border-radius:0!important;box-shadow:none!important;width:100%!important;max-width:none!important;overflow:visible!important}.receipt-content{padding:12mm 10mm!important}.receipt-topline{height:5px!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.patient-strip,.received-amount,.receipt-footer,.receipt-totals .balance-row{print-color-adjust:exact;-webkit-print-color-adjust:exact}.receipt-header,.patient-strip,.table-row,.receipt-totals,.receipt-footer{-moz-column-break-inside:avoid;break-inside:avoid}.table-row{padding:12px 4px!important;font-size:12px!important}.clinic-logo{width:72px!important;height:72px!important}.brand-name{font-size:29px!important}.thank-you{font-size:19px!important}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
