:root{--font-sans: "Segoe UI", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;--font-mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;--brand-50: #f0fdfa;--brand-100: #ccfbf1;--brand-200: #99f6e4;--brand-500: #14b8a6;--brand-700: #0f766e;--brand-800: #115e59;--brand-900: #134e4a;--surface: #ffffff;--surface-muted: #f8fafc;--surface-subtle: #f1f5f9;--border: #e2e8f0;--border-strong: #cbd5e1;--text: #0f172a;--text-muted: #64748b;--text-subtle: #94a3b8;--danger: #dc2626;--danger-muted: #fef2f2;--success: #16a34a;--success-muted: #f0fdf4;--warning: #d97706;--warning-muted: #fffbeb;--shadow-card: 0 1px 2px rgb(15 23 42 / 4%), 0 1px 3px rgb(15 23 42 / 6%);color-scheme:light}*,*:before,*:after{box-sizing:border-box}html,body{height:100%}body{margin:0;background:var(--surface-muted);color:var(--text);font-family:var(--font-sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}[hidden]{display:none!important}a{color:inherit}button{font:inherit}::selection{background:var(--brand-200);color:var(--brand-900)}:focus-visible{outline:2px solid var(--brand-500);outline-offset:2px}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{border:2px solid var(--surface-muted);border-radius:9999px;background:var(--border-strong)}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:1rem;height:1rem;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.app{display:flex;min-height:100vh;background:var(--surface-muted)}.pin-screen{display:flex;min-height:100vh;align-items:center;justify-content:center;background:radial-gradient(circle at 20% 0%,rgb(20 184 166 / 12%),transparent 32rem),var(--surface-muted);padding:2rem 1rem}.pin-card{width:min(24rem,100%);border:1px solid var(--border);border-radius:1rem;background:var(--surface);box-shadow:var(--shadow-card);padding:2rem}.pin-brand{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}.pin-heading{margin-bottom:1.25rem}.pin-title{margin:0;font-size:1.375rem;font-weight:600;letter-spacing:-.015em}.pin-description{margin:.25rem 0 0;color:var(--text-muted);font-size:.875rem}.pin-form{gap:1rem;padding:0}.pin-input{height:3rem;font-family:var(--font-mono);font-size:1.25rem;letter-spacing:.6em;text-align:center}.pin-submit{width:100%;margin-top:.25rem}.pin-forgot{align-self:center;margin-top:.25rem;font-size:.8125rem}.pin-reset{display:flex;flex-direction:column;gap:1rem}.pin-reset .pin-hint{margin:0}.pin-hint{margin:0;color:var(--text-muted);font-size:.75rem;line-height:1.5}.pin-footer{margin:1.25rem 0 0;color:var(--text-muted);font-size:.75rem;line-height:1.5}.pin-panel .notice{margin-bottom:1rem}.shared-receipt{min-height:100vh;padding:2rem 1rem;background:radial-gradient(circle at 20% 0%,rgb(20 184 166 / 12%),transparent 32rem),var(--surface-muted)}.shared-receipt-shell{width:min(50rem,100%);margin:0 auto}.shared-receipt-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.shared-receipt-brand{display:flex;align-items:center;gap:.75rem}.shared-receipt-loading{margin:3rem 0;color:var(--text-muted);text-align:center}.shared-receipt-sheet .receipt-sheet{margin:0 auto;background:#fff;box-shadow:var(--shadow-card)}@media(max-width:700px){.shared-receipt{padding:1rem}.shared-receipt-header{align-items:flex-start}}.sidebar{position:sticky;top:0;display:flex;width:16rem;height:100vh;flex:none;flex-direction:column;border-right:1px solid var(--border);background:var(--surface)}.brand{display:flex;align-items:center;gap:.75rem;padding:1.25rem;text-decoration:none}.brand-mark{display:inline-flex;width:2.5rem;height:2.5rem;flex:none;align-items:center;justify-content:center;border-radius:.75rem;background:var(--brand-700);color:#fff;box-shadow:0 1px 2px #0f172a1a}.brand-mark .icon{width:1.25rem;height:1.25rem}.brand-copy{display:flex;min-width:0;flex-direction:column}.brand-copy strong{overflow:hidden;font-size:.875rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.brand-copy small{overflow:hidden;color:var(--text-muted);font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}.nav{display:flex;flex:1;flex-direction:column;gap:.25rem;padding:.5rem .75rem}.nav-link{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;border-radius:.5rem;color:var(--text-muted);font-size:.875rem;font-weight:500;text-decoration:none;transition:background-color .12s ease,color .12s ease}.nav-link:hover{background:var(--surface-subtle);color:var(--text)}.nav-link[aria-current=page]{background:var(--brand-50);color:var(--brand-800)}.nav-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-link .icon{width:1rem;height:1rem}.sidebar-footer{display:flex;align-items:flex-start;gap:.5rem;border-top:1px solid var(--border);padding:1rem 1.25rem;color:var(--text-muted);font-size:.75rem}.sidebar-footer .icon{width:1rem;height:1rem;margin-top:.1rem;color:var(--brand-700)}.sidebar-footer p{margin:0}.app-body{display:flex;min-width:0;flex:1;flex-direction:column}.topbar{position:sticky;top:0;z-index:10;display:flex;min-height:4rem;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--border);background:var(--surface);padding:0 2rem}.topbar-context{min-width:0}.topbar-eyebrow{margin:0;color:var(--text-subtle);font-size:.75rem;font-weight:500;letter-spacing:.04em;text-transform:uppercase}.topbar-section{overflow:hidden;margin:0;font-size:.875rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.topbar-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.75rem}.content{flex:1;overflow-y:auto;padding:2rem}.page{width:100%;max-width:72rem;margin:0 auto;animation:page-in .15s ease-out}@keyframes page-in{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}.page-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.page-title{margin:0;font-size:1.5rem;font-weight:600;letter-spacing:-.015em}.page-description{margin:.25rem 0 0;color:var(--text-muted);font-size:.875rem}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.card{border:1px solid var(--border);border-radius:.75rem;background:var(--surface);box-shadow:var(--shadow-card)}.span-2{grid-column:1 / -1}.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:1.25rem}.card-title{margin:0;font-size:1rem;font-weight:600}.card-description{margin:.25rem 0 0;color:var(--text-muted);font-size:.875rem}.card-icon{width:1.25rem;height:1.25rem;flex:none;color:var(--brand-700)}.card-content,.card-body{padding:0 1.25rem 1.25rem}.card-actions{display:flex;flex-wrap:wrap;gap:.5rem}.card-body .list-status{margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.list-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1rem;margin-bottom:.75rem}.field{display:flex;min-width:12rem;flex-direction:column;gap:.375rem}.field-grow{flex:1 1 18rem}.field-label{color:var(--text-muted);font-size:.75rem;font-weight:500}.input{width:100%;height:2.5rem;border:1px solid var(--border-strong);border-radius:.5rem;background:var(--surface);padding:0 .75rem;color:var(--text);font:inherit;font-size:.875rem}.input::placeholder{color:var(--text-subtle)}.input:focus-visible{border-color:var(--brand-500)}.list-status{margin:0 0 .75rem;color:var(--text-muted);font-size:.8125rem}.table-scroll{overflow-x:auto}.table{width:100%;border-collapse:collapse;font-size:.875rem;text-align:left}.table th{border-bottom:1px solid var(--border);background:var(--surface-muted);padding:.75rem 1rem;color:var(--text-muted);font-size:.75rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap}.table td{border-bottom:1px solid var(--border);padding:.875rem 1rem;vertical-align:top}.table tbody tr:last-child td{border-bottom:0}.table tbody tr:hover{background:var(--surface-muted)}.table-cell-primary{font-weight:500}.table-cell-muted{color:var(--text-muted)}.pagination{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-top:1rem}.pagination-status{color:var(--text-muted);font-size:.8125rem}.button:disabled{opacity:.5;cursor:not-allowed}.info-list{margin:0}.info-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;border-bottom:1px solid var(--border);padding:.75rem 0}.info-row:first-child{padding-top:0}.info-row:last-child{border-bottom:0;padding-bottom:0}.info-row dt{color:var(--text-muted);font-size:.875rem}.info-row dd{max-width:70%;margin:0;overflow-wrap:anywhere;text-align:right;font-size:.875rem}.info-row dd.mono,.mono{font-family:var(--font-mono);font-size:.75rem}.badge{display:inline-flex;align-items:center;gap:.25rem;border-radius:9999px;padding:.125rem .5rem;box-shadow:inset 0 0 0 1px var(--border);font-size:.75rem;font-weight:500;white-space:nowrap}.badge-neutral{background:var(--surface-subtle);color:var(--text-muted)}.badge-brand{background:var(--brand-50);box-shadow:inset 0 0 0 1px var(--brand-200);color:var(--brand-700)}.badge-success{background:var(--success-muted);box-shadow:inset 0 0 0 1px #16a34a33;color:var(--success)}.badge-danger{background:var(--danger-muted);box-shadow:inset 0 0 0 1px #dc262633;color:var(--danger)}.status{display:inline-flex;align-items:center;gap:.375rem;font-size:.75rem;font-weight:500}.status-loading{color:var(--text-muted)}.status-success{border-radius:9999px;background:var(--success-muted);padding:.25rem .625rem;box-shadow:inset 0 0 0 1px #16a34a33;color:var(--success)}.status-danger{border-radius:9999px;background:var(--danger-muted);padding:.25rem .625rem;box-shadow:inset 0 0 0 1px #dc262633;color:var(--danger)}.status .icon{width:.875rem;height:.875rem}.status-schema{color:#16a34acc}.spinner{display:inline-block;width:.875rem;height:.875rem;flex:none;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.error-card{display:flex;gap:.75rem;margin-bottom:1.25rem;border-color:#dc26264d;background:#fef2f266;padding:1.5rem}.icon-danger{color:var(--danger)}.error-card .button{margin-top:1rem}.button{display:inline-flex;height:2.5rem;align-items:center;justify-content:center;gap:.5rem;border:0;border-radius:.5rem;padding:0 1rem;font-size:.875rem;font-weight:500;text-decoration:none;transition:background-color .12s ease,color .12s ease;cursor:pointer}.button-primary{background:var(--brand-700);color:#fff;box-shadow:0 1px 2px #0f172a14}.button-primary:hover{background:var(--brand-800)}.button-secondary{border:1px solid var(--border-strong);background:var(--surface);color:var(--text)}.button-secondary:hover{background:var(--surface-subtle)}.button-danger{background:var(--danger);color:#fff;box-shadow:0 1px 2px #0f172a14}.button-danger:hover{background:#b91c1c}.button-small{height:2rem;padding:0 .75rem;font-size:.8125rem}.page-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.notice{margin:0 0 1rem;border:1px solid rgb(22 163 74 / 25%);border-radius:.5rem;background:var(--success-muted);padding:.625rem .875rem;color:var(--success);font-size:.875rem}.notice-warning{border-color:#eab30859;background:var(--warning-muted);color:var(--warning)}.form-card{margin-bottom:1.5rem}.form{display:flex;flex-direction:column;gap:1rem;padding:0 1.25rem 1.25rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.25rem}.settings-section-block{display:flex;flex-direction:column;gap:.125rem;margin-top:.5rem;border-top:1px solid var(--border);padding-top:1.25rem}.settings-section-block .section-heading,.settings-section-block .field-hint{margin:0}.input-textarea{min-height:5.5rem;height:auto;padding:.625rem .75rem;resize:vertical;line-height:1.5}.required{color:var(--danger)}.field-error{color:var(--danger);font-size:.75rem}.input[aria-invalid=true]{border-color:var(--danger)}.form-error{margin:0;border:1px solid rgb(220 38 38 / 25%);border-radius:.5rem;background:var(--danger-muted);padding:.625rem .875rem;color:var(--danger);font-size:.8125rem}.form-actions{display:flex;flex-wrap:wrap;gap:.5rem}.app-dialog{width:min(28rem,calc(100vw - 2rem));max-width:none;padding:0;border:0;background:transparent;color:inherit}.app-dialog::backdrop{background:#0f172a8c}.app-dialog-panel{display:flex;flex-direction:column;gap:.75rem;border:1px solid var(--border);border-radius:.75rem;background:var(--surface);box-shadow:0 24px 48px #0f172a2e;padding:1.25rem}.app-dialog-panel .form-actions{margin-top:.5rem;justify-content:flex-end}.table-cell-actions{display:flex;flex-wrap:wrap;gap:.375rem;white-space:nowrap}.stack{display:flex;flex-direction:column;gap:1.5rem}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:1rem}.stat{display:flex;flex-direction:column;gap:.125rem;border:1px solid var(--border);border-radius:.75rem;background:var(--surface-muted);padding:1rem}.stat-value{font-size:1.25rem;font-weight:600;letter-spacing:-.01em}.stat-label{color:var(--text-muted);font-size:.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.03em}.section-heading{margin:0 0 .75rem;font-size:.9375rem;font-weight:600}.feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0;padding:0;list-style:none}.feature-list li{display:flex;align-items:flex-start;gap:.5rem;font-size:.875rem}.feature-list .icon{width:1rem;height:1rem;margin-top:.1rem}.icon-success{color:var(--success)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed var(--border-strong);border-radius:.75rem;background:var(--surface);padding:3.5rem 1.5rem;text-align:center}.empty-icon{display:inline-flex;width:3rem;height:3rem;align-items:center;justify-content:center;border-radius:9999px;background:var(--brand-50);color:var(--brand-700)}.empty-icon .icon{width:1.5rem;height:1.5rem}.empty-state h2,.empty-state h1{margin:1rem 0 0;font-size:1.5rem;font-weight:600}.empty-state h2{font-size:1rem}.empty-state p{max-width:32rem;margin:.25rem 0 0;color:var(--text-muted);font-size:.875rem}.empty-state .button{margin-top:1.25rem}@media(max-width:900px){.app{display:block}.sidebar{position:static;width:auto;height:auto;border-right:0;border-bottom:1px solid var(--border)}.brand{padding-bottom:.75rem}.nav{flex-direction:row;overflow-x:auto;padding:0 .75rem .75rem}.nav-link{flex:none;white-space:nowrap}.sidebar-footer{display:none}.topbar{position:static;padding:.75rem 1rem}.content{overflow:visible;padding:1.25rem 1rem}.grid,.feature-list,.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}}@media(max-width:600px){.pin-card{padding:1.5rem}.topbar{flex-direction:column;align-items:flex-start}.topbar-meta{justify-content:flex-start}.info-row{flex-direction:column;gap:.25rem}.info-row dd{max-width:100%;text-align:left}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.list-toolbar-wrap{row-gap:.75rem}.field-actions{flex-direction:row;align-items:flex-end;gap:.5rem}.input-row{display:flex;align-items:center;gap:.5rem}.input-row .input{flex:1}.form-section{display:flex;flex-direction:column;gap:.75rem;border-top:1px solid var(--border);padding-top:1rem}.section-heading-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.section-heading-row .section-heading{margin:0}.field-hint{margin:0;color:var(--text-muted);font-size:.8125rem}.inset-card{border-radius:.625rem;background:var(--surface-muted);padding:1rem}.line-items{display:flex;flex-direction:column;gap:.75rem}.line-item-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.625rem;border:1px solid var(--border);border-radius:.625rem;background:var(--surface-muted);padding:.75rem}.line-item-row .field{min-width:6rem}.line-item-row .field-grow{flex:1 1 14rem}.line-item-row .field-compact{flex:0 1 7rem}.line-item-actions{display:flex;gap:.375rem;padding-bottom:.0625rem}.totals-list{max-width:28rem;margin:0;border:1px solid var(--border);border-radius:.625rem;background:var(--surface-muted);padding:.75rem 1rem}.totals-row dt,.totals-row dd{color:var(--text);font-size:1rem;font-weight:600}.draft-status{align-self:center;color:var(--text-muted);font-size:.75rem}.form-notice{margin:0 1.25rem .75rem;border-radius:.5rem;background:var(--brand-50);padding:.5rem .75rem;color:var(--brand-800);font-size:.8125rem}.receipt-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:1rem;border:1px solid var(--border);border-radius:.75rem;background:var(--surface-muted);padding:1rem}.receipt-summary>div{display:flex;flex-direction:column;gap:.125rem}.receipt-summary strong{overflow-wrap:anywhere;font-size:1rem}.amount-words{margin:0;color:var(--text-muted);font-size:.875rem}.status-actions{display:flex;flex-wrap:wrap;gap:.5rem}.dashboard-actions{margin-bottom:1rem}.stat-grid-wide{margin-bottom:1.25rem}.stat-detail{color:var(--text-subtle);font-size:.75rem}.link-button{border:0;background:none;padding:0;color:var(--brand-700);font:inherit;font-weight:500;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.reports-card{display:flex;flex-direction:column;gap:1.25rem;padding:1.25rem}.reports-card>*{margin-top:0;margin-bottom:0}.report-chart-card{border:1px solid var(--border);border-radius:.75rem;background:var(--surface-muted);padding:1rem}.chart{display:flex;align-items:flex-end;gap:.5rem;min-height:11rem;overflow-x:auto;padding-top:.5rem}.chart-row{display:flex;min-width:3.5rem;flex:1;flex-direction:column;align-items:center;gap:.375rem}.chart-label{max-width:5rem;overflow:hidden;color:var(--text-muted);font-size:.6875rem;text-overflow:ellipsis;white-space:nowrap}.chart-bar{display:flex;width:100%;max-width:2.5rem;height:7rem;align-items:flex-end;border-radius:.375rem .375rem 0 0;background:var(--surface-subtle)}.chart-bar>span{width:100%;border-radius:.375rem .375rem 0 0;background:linear-gradient(180deg,var(--brand-500),var(--brand-700))}.chart-value{color:var(--text-muted);font-size:.6875rem;white-space:nowrap}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.report-block{min-width:0}.report-bar{width:100%;min-width:4rem;height:.5rem;overflow:hidden;border-radius:9999px;background:var(--surface-subtle)}.report-bar>span{display:block;height:100%;border-radius:inherit;background:var(--brand-500)}.file-drop{display:flex;flex-direction:column;align-items:center;gap:.375rem;border:1px dashed var(--border-strong);border-radius:.75rem;background:var(--surface-muted);padding:2rem 1rem;color:var(--text-muted);text-align:center;cursor:pointer}.file-drop.is-dragging{border-color:var(--brand-500);background:var(--brand-50);color:var(--brand-800)}.file-drop:hover{border-color:var(--brand-500);border-style:solid;background:var(--brand-50);color:var(--brand-800)}.file-drop .icon{width:1.5rem;height:1.5rem}.file-drop small{color:var(--text-subtle);font-size:.75rem}.radio-row{display:flex;align-items:flex-start;gap:.5rem;color:var(--text-muted);font-size:.8125rem}.radio-row input{margin-top:.2rem}.business-preview{display:flex;flex-direction:column;align-items:center;gap:.25rem;border:1px solid var(--border);border-radius:.75rem;background:var(--surface-muted);padding:1.5rem 1rem;text-align:center}.business-preview-logo{display:inline-flex;width:4rem;height:4rem;align-items:center;justify-content:center;overflow:hidden;border-radius:9999px;background:var(--brand-50);color:var(--brand-700)}.business-preview-logo img{width:100%;height:100%;object-fit:contain}.business-preview-logo .icon{width:1.75rem;height:1.75rem}.business-preview span{color:var(--text-muted);font-size:.8125rem}.business-preview-signature{max-width:10rem;max-height:3rem;margin-top:.75rem;object-fit:contain}.profile-media-section{display:grid;gap:1.5rem}.form-group{display:grid;gap:.75rem}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem}.section-heading h3{margin:0;font-size:.9375rem;font-weight:600}.section-heading p{margin:.3125rem 0 0;font-size:.8125rem;color:var(--text-muted)}.optional-label{font-size:.75rem;color:var(--text-muted)}.upload-card{display:grid;gap:.875rem;padding:1rem;border:1px solid var(--border);border-radius:.625rem;background:var(--surface)}.image-preview,.signature-preview{min-height:110px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:.5rem;background:var(--surface-muted)}.image-preview img{width:100px;height:100px;object-fit:cover;border-radius:50%}.signature-preview img{width:100%;max-height:100px;object-fit:contain}.upload-actions,.signature-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.upload-button{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;border-radius:.5rem;border:1px solid transparent;background:var(--brand-500);color:#fff;font-size:.875rem;font-weight:500;padding:.5rem .875rem;cursor:pointer}.upload-actions button,.signature-actions button:not(.upload-button){display:inline-flex;align-items:center;justify-content:center;gap:.375rem;border-radius:.5rem;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.875rem;font-weight:500;padding:.5rem .875rem;cursor:pointer}.upload-actions button:hover,.signature-actions button:not(.upload-button):hover,.upload-button:hover{border-color:var(--border-strong);background:var(--surface-muted)}.upload-button:hover{background:var(--brand-600)}.upload-card small{color:var(--text-muted);font-size:.75rem}.profile-type-field{display:grid;gap:.5rem}.profile-type-switch{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--border);border-radius:.625rem;background:var(--surface-muted);padding:.25rem;overflow:hidden}.profile-type-switch input{position:absolute;opacity:0;pointer-events:none}.profile-type-switch label{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;padding:.5rem .875rem;border-radius:.5rem;cursor:pointer;font-size:.875rem;font-weight:500;color:var(--text-muted);transition:color .2s ease}.profile-type-switch input:checked+label{background:var(--brand-700);color:#fff}.switch-indicator{position:absolute;top:.25rem;bottom:.25rem;left:.25rem;width:calc(50% - .25rem);border-radius:.5rem;background:var(--surface);box-shadow:0 1px 2px #0f172a0a;transition:transform .2s ease}.profile-type-switch input:nth-of-type(2):checked~.switch-indicator{transform:translate(100%)}.signature-pad-wrapper{display:flex;flex-direction:column;gap:.75rem;margin-top:.75rem;border:1px solid var(--border);border-radius:.75rem;background:var(--surface);padding:.875rem}.signature-pad-header{display:flex;flex-direction:column;gap:.25rem}.signature-pad-title{font-weight:600}.signature-pad-hint{color:var(--text-muted);font-size:.8125rem}.signature-pad-canvas{width:100%;height:180px;border:1px dashed var(--border-strong);border-radius:.75rem;background:#fff;touch-action:none}.global-error{position:fixed;z-index:100;right:1rem;bottom:1rem;display:flex;max-width:28rem;align-items:flex-start;gap:.75rem;border:1px solid rgb(220 38 38 / 30%);border-radius:.75rem;background:var(--danger-muted);padding:1rem;box-shadow:0 10px 30px #0f172a26;color:var(--danger)}.global-error p{margin:0;font-size:.875rem}.global-error-actions{display:flex;flex:none;gap:.375rem}.print-only{display:none}.receipt-sheet,.report-sheet{width:100%;max-width:46rem;margin:0 auto;background:#fff;color:#111827;font-size:.8125rem}.receipt-sheet{border:1px solid #dce2ea;padding:2.25rem;color:#253247;font-family:Arial,Helvetica,sans-serif;line-height:1.45}.receipt-sheet-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:2rem;padding-bottom:1rem}.receipt-sheet-brand-copy{display:flex;min-width:0;flex-direction:column;gap:.125rem}.receipt-sheet-business-name{margin:0;color:#173c65;font-size:1.0625rem;font-weight:700;line-height:1.2}.receipt-sheet-business-line{margin:0;color:#4b5563;font-size:.75rem;overflow-wrap:anywhere}.receipt-sheet-document{min-width:11rem;text-align:right}.receipt-sheet-document h1{margin:0;color:#173c65;font-size:1.625rem;letter-spacing:.14em;line-height:1;text-transform:uppercase}.receipt-sheet-status{display:inline-flex;margin-top:.5rem;border-radius:9999px;background:#f1f5f9;padding:.125rem .5rem;box-shadow:inset 0 0 0 1px #cbd5e1;color:#475569;font-size:.625rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.receipt-sheet-status-paid{background:#ecfdf5;box-shadow:inset 0 0 0 1px #16a34a33;color:#15803d}.receipt-sheet-status-issued{background:#eff6ff;box-shadow:inset 0 0 0 1px #3b82f633;color:#1d4ed8}.receipt-sheet-status-draft{background:#fffbeb;box-shadow:inset 0 0 0 1px #d9770633;color:#b45309}.receipt-sheet-status-cancelled{background:#fef2f2;box-shadow:inset 0 0 0 1px #dc262633;color:#b91c1c}.receipt-sheet-document-meta{display:grid;gap:.125rem;margin:.75rem 0 0;font-size:.75rem}.receipt-sheet-document-meta div{display:flex;justify-content:flex-end;gap:.5rem}.receipt-sheet-document-meta dt{color:#6b7280}.receipt-sheet-document-meta dd{margin:0;color:#173c65;font-weight:600}.receipt-sheet-party{border:1px solid #dce5f0;border-radius:.25rem;background:#f8fafc;padding:.75rem .875rem}.receipt-sheet-label{margin:0 0 .25rem;color:#6b7280;font-size:.625rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.receipt-sheet-party-name{margin:0;color:#111827;font-size:.9375rem;font-weight:600}.receipt-sheet-party-meta{margin:.125rem 0 0;color:#4b5563;font-size:.75rem}.receipt-sheet-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem 1.5rem;margin-top:1rem;border-top:1px solid #e5e9ef;padding-top:.75rem}.receipt-sheet-field{display:flex;justify-content:space-between;gap:.75rem;border-bottom:1px dotted #e5e9ef;padding:.25rem 0;font-size:.75rem}.receipt-sheet-field span{color:#6b7280}.receipt-sheet-field strong{color:#111827;font-weight:600;text-align:right}.receipt-sheet-section{margin-top:1.25rem}.receipt-sheet-section h2{margin:0 0 .5rem;border-bottom:1px solid #dce2ea;padding-bottom:.375rem;color:#173c65;font-size:.6875rem;letter-spacing:.12em;text-transform:uppercase}.receipt-sheet-table{width:100%;border-collapse:collapse;margin-top:.5rem;font-size:.75rem}.receipt-sheet-table th{background:#173c65;padding:.5rem .625rem;color:#fff;font-size:.625rem;letter-spacing:.03em;text-align:left;text-transform:uppercase}.receipt-sheet-table td{border-bottom:1px solid #e5e9ef;padding:.5rem .625rem;text-align:left}.receipt-sheet-totals{width:min(100%,18rem);margin:1rem 0 0 auto;border-top:2px solid #173c65;padding-top:.5rem;font-size:.8125rem}.receipt-sheet-totals-row{display:flex;justify-content:space-between;gap:1rem;padding:.1875rem 0;color:#4b5563}.receipt-sheet-totals-row strong{color:#111827;font-weight:600}.receipt-sheet-total-row{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-top:.375rem;border-top:1px solid #dce2ea;padding-top:.5rem;color:#173c65;font-size:1.125rem;font-weight:700}.receipt-sheet-words{margin:.5rem 0 0;color:#4b5563;font-size:.75rem;font-style:italic;text-align:right}.receipt-sheet-narrative{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.25rem}.receipt-sheet-note{border-left:3px solid #dce2ea;padding-left:.75rem}.receipt-sheet-note h3{margin:0 0 .25rem;color:#6b7280;font-size:.625rem;letter-spacing:.1em;text-transform:uppercase}.receipt-sheet-note p{margin:0;font-size:.75rem;line-height:1.5;white-space:pre-wrap}.receipt-sheet-footer{margin-top:1.5rem;border-top:1px solid #dce2ea;padding-top:1rem;color:#8a96a5;font-size:.6875rem}.receipt-sheet-closing{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem}.receipt-sheet-acknowledgement{flex:1;margin:0;color:#4b5563;font-size:.75rem;line-height:1.5}.receipt-sheet-signature{width:15rem;flex:none;color:#253247;font-size:.75rem;text-align:center}.receipt-sheet-footer-bar{display:flex;justify-content:space-between;gap:1rem;margin-top:1.25rem;border-top:1px solid #eef2f7;padding-top:.5rem;color:#94a3b8;font-size:.625rem}.receipt-sheet-footer-bar p{margin:0}@media(max-width:700px){.receipt-sheet-header,.receipt-sheet-parties,.receipt-sheet-fields,.receipt-sheet-narrative{grid-template-columns:1fr}.receipt-sheet-header{flex-direction:column;gap:1rem}.receipt-sheet-header-meta{align-items:flex-start;text-align:left}.receipt-sheet-meta-item{align-items:flex-start}.receipt-sheet-document{text-align:left}.receipt-sheet-document-meta div{justify-content:flex-start}.receipt-sheet-closing,.receipt-sheet-signature-row{flex-direction:column;align-items:stretch}.receipt-sheet-qr{align-self:flex-end}.receipt-sheet-signature{width:100%}}.receipt-sheet{display:flex;flex-direction:column;max-width:46.875rem;border:1px solid #dce2ea;padding:2.8125rem;color:#253247;font-family:Arial,Helvetica,sans-serif;line-height:1.45}.receipt-sheet-header{display:flex;align-items:flex-start;justify-content:space-between;gap:2rem;text-align:left;padding-bottom:0}.receipt-sheet-header-title{min-width:0}.receipt-sheet-header h1{margin:0;color:#173c65;font-size:1.875rem;font-weight:700;letter-spacing:.125em;line-height:1.2;text-transform:uppercase}.receipt-sheet-header h2{margin:.5rem 0;color:#253247;font-size:1rem;font-weight:700;letter-spacing:.1875em;text-transform:uppercase}.receipt-sheet-header-subtitle{display:flex;flex-wrap:wrap;align-items:center;gap:.625rem;margin:.5rem 0}.receipt-sheet-header-subtitle h2{margin:0}.receipt-sheet-header-status{display:inline-flex;align-items:center;border:1px solid currentColor;border-radius:9999px;padding:.0625rem .5rem;font-size:.625rem;font-weight:700;letter-spacing:.08em;line-height:1.4;text-transform:uppercase}.receipt-sheet-header-status-paid{border-color:#16a34a;background:#ecfdf5;color:#15803d}.receipt-sheet-header-status-issued{border-color:#3b82f6;background:#eff6ff;color:#1d4ed8}.receipt-sheet-header-status-draft{border-color:#d97706;background:#fffbeb;color:#b45309}.receipt-sheet-header-status-cancelled{border-color:#dc2626;background:#fef2f2;color:#b91c1c}.receipt-sheet-header p{margin:0;color:#788596;font-size:.6875rem;letter-spacing:.125em;text-transform:uppercase}.receipt-sheet-header-meta{display:flex;flex:none;flex-direction:column;align-items:flex-end;gap:.5rem;margin:0;text-align:right;font-size:.8125rem}.receipt-sheet-meta-item{display:flex;flex-direction:column;align-items:flex-end;gap:.0625rem}.receipt-sheet-meta-item span{color:#788596;font-size:.625rem;letter-spacing:.08em;text-transform:uppercase}.receipt-sheet-meta-item strong{color:#173c65;font-size:.875rem;font-weight:700}.receipt-sheet-meta{display:flex;justify-content:space-between;gap:1rem;margin:1.5625rem 0;font-size:.8125rem}.receipt-sheet-parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.25rem}.receipt-sheet-party-box{border:1px solid #dce2ea;border-top:2px solid #173c65;background:#f8fafc;padding:1rem 1.125rem}.receipt-sheet-box-title{margin-bottom:.5rem;border-bottom:1px solid #dce2ea;padding-bottom:.5rem;color:#173c65;font-size:.75rem;font-weight:700;letter-spacing:.09375em;text-transform:uppercase}.receipt-sheet-section-title{margin-top:1rem;margin-bottom:.5rem;border-bottom:1px solid #dce2ea;padding-bottom:.5rem;color:#173c65;font-size:.75rem;font-weight:700;letter-spacing:.09375em;text-transform:uppercase}.receipt-sheet-parties+.receipt-sheet-section-title{margin-top:1.75rem}.receipt-sheet-details{font-size:.875rem;line-height:1.9}.receipt-sheet-details p{margin:0}.receipt-sheet-details strong{color:#253247}.receipt-sheet-table{width:100%;border-collapse:collapse;margin-top:.75rem;font-size:.8125rem}.receipt-sheet-table th{background:#173c65;padding:.625rem;color:#fff;font-size:.8125rem;font-weight:700;letter-spacing:normal;text-align:left;text-transform:none}.receipt-sheet-table td{border-bottom:1px solid #e5e9ef;padding:.5rem;color:#253247;text-align:left}.receipt-sheet-table tbody tr:last-child td{border-bottom:0}.receipt-sheet-table td:last-child{font-weight:600}.receipt-sheet-items-table td:nth-child(n+2),.receipt-sheet-items-table th:nth-child(n+2){text-align:right}.receipt-sheet-amount-box{margin-top:1rem;border:1px solid #dce5f0;background:linear-gradient(180deg,#f7fafd,#eef4fb);padding:1rem;text-align:center}.receipt-sheet-amount{color:#173c65;font-size:1.875rem;font-weight:700;line-height:1.2}.receipt-sheet-amount-box p{margin:.25rem 0 0;color:#68778a;font-size:.6875rem;letter-spacing:.125em;text-transform:uppercase}.receipt-sheet-note-section{margin-top:.75rem}.receipt-sheet-note-section h3{margin:0 0 .25rem;color:#173c65;font-size:.6875rem;letter-spacing:.1em;text-transform:uppercase}.receipt-sheet-note-section p{margin:0;color:#253247;font-size:.8125rem;line-height:1.6;white-space:pre-wrap}.receipt-sheet-acknowledgement{margin-top:1rem;color:#253247;font-size:.8125rem;line-height:1.7}.receipt-sheet-signature-row{display:flex;align-items:flex-end;justify-content:space-between;gap:1.75rem;margin-top:2.25rem;break-inside:avoid}.receipt-sheet-qr{display:flex;flex:none;flex-direction:column;align-items:center;gap:.25rem;color:#4b5563;font-size:.625rem;text-align:center}.receipt-sheet-qr-code{width:9rem;height:9rem;background:#fff}.receipt-sheet-qr-code svg{display:block;width:100%;height:100%}.receipt-sheet-signature{width:15rem;flex:none;margin-left:auto;color:#253247;font-size:.8125rem;text-align:center}.receipt-sheet-signature-image{display:block;max-width:15rem;max-height:5rem;margin:.75rem auto .5rem;object-fit:contain}.receipt-sheet-signature hr{margin:0 0 .5rem;border:0;border-top:1px solid #333}.receipt-sheet-signature strong{color:#173c65}.receipt-sheet-footer{margin-top:auto;border-top:1px solid #dce2ea;padding-top:.5rem;color:#8a96a5;font-size:.6875rem;text-align:center}@media(max-width:700px){.receipt-sheet-signature-row{flex-direction:column;align-items:stretch}.receipt-sheet-qr{align-self:flex-end}.receipt-sheet-signature{width:100%}}.report-sheet h1{margin:0 0 .25rem;font-size:1.5rem}.report-sheet>p{margin:0 0 1rem;color:#4b5563}@media(max-width:900px){.report-grid{grid-template-columns:1fr}.line-item-row .field-compact{flex:1 1 6rem}}@media print{@page{size:A4;margin:14mm}html,body{background:#fff!important;color:#000!important}.global-error,.sidebar,.topbar{display:none!important}.app,.app-body,.content,.page{display:block!important;min-height:auto!important;overflow:visible!important;background:#fff!important;padding:0!important}.page{animation:none!important}.page>*{display:none!important}.page .print-only{display:block!important}.print-only,.receipt-sheet,.report-sheet{max-width:none;width:100%}.receipt-sheet{min-height:269mm;border:0;padding:0 0 2.5rem;print-color-adjust:exact;-webkit-print-color-adjust:exact}.receipt-sheet-qr{font-size:8pt}.receipt-sheet-qr-code{width:26mm;height:26mm}.receipt-sheet-signature-row{margin-top:8mm}.receipt-sheet-signature-image{max-height:18mm}.receipt-sheet-footer{position:fixed;right:0;bottom:0;left:0;margin:0;background:#fff}.receipt-sheet-table thead{display:table-header-group}.receipt-sheet-table tr,.receipt-sheet-footer{break-inside:avoid}.receipt-sheet *,.report-sheet *{box-shadow:none!important}.report-sheet,.report-sheet *{color:#000!important;background:transparent!important}}:root[data-theme=dark]{--surface: #0f172a;--surface-muted: #111827;--surface-subtle: #1e293b;--border: #1f2937;--border-strong: #334155;--text: #e5e7eb;--text-muted: #94a3b8;--text-subtle: #64748b;--brand-50: #042f2e;--brand-100: #134e4a;--brand-200: #115e59;--brand-500: #14b8a6;--brand-700: #2dd4bf;--brand-800: #5eead4;--brand-900: #ccfbf1;--danger: #f87171;--danger-muted: #3f1d1d;--success: #4ade80;--success-muted: #14321f;--warning: #fbbf24;--warning-muted: #3a2a0a;--shadow-card: none;color-scheme:dark}@media(prefers-color-scheme:dark){:root[data-theme=system]{--surface: #0f172a;--surface-muted: #111827;--surface-subtle: #1e293b;--border: #1f2937;--border-strong: #334155;--text: #e5e7eb;--text-muted: #94a3b8;--text-subtle: #64748b;--brand-50: #042f2e;--brand-100: #134e4a;--brand-200: #115e59;--brand-500: #14b8a6;--brand-700: #2dd4bf;--brand-800: #5eead4;--brand-900: #ccfbf1;--danger: #f87171;--danger-muted: #3f1d1d;--success: #4ade80;--success-muted: #14321f;--warning: #fbbf24;--warning-muted: #3a2a0a;--shadow-card: none;color-scheme:dark}}.modal{position:fixed;z-index:100;inset:0;display:flex;align-items:center;justify-content:center;padding:1rem}.modal-backdrop{position:absolute;inset:0;background:#0f172a73;backdrop-filter:blur(2px)}.modal-card{position:relative;z-index:1;display:flex;width:min(22rem,100%);flex-direction:column;gap:1rem;border:1px solid var(--border);border-radius:1rem;background:var(--surface);box-shadow:0 24px 60px #0f172a3d;padding:1.5rem}.modal-card .card-description{margin:0}.modal-card .form-actions{display:flex;justify-content:flex-end;gap:.5rem}.modal-card .form-actions .button{flex:1}@media(max-width:900px){.app{display:flex;height:100dvh;min-height:100dvh;flex-direction:column;overflow:hidden}.sidebar{position:fixed;z-index:50;inset:auto 0 0;width:100%;height:auto;border-top:1px solid var(--border);border-right:0;border-bottom:0;background:var(--surface);box-shadow:0 -8px 24px #0f172a14;padding-bottom:env(safe-area-inset-bottom)}.sidebar .brand,.sidebar-footer{display:none}.nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:.25rem;overflow:hidden;padding:.5rem;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}.nav-link{min-height:3.25rem;flex-direction:column;justify-content:center;gap:.25rem;padding:.5rem .375rem;border-radius:.75rem;font-size:.6875rem;line-height:1.15;text-align:center}.nav-link .icon{width:1.25rem;height:1.25rem}.nav-link span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:normal}.app-body{min-height:0;flex:1}.topbar{position:sticky;z-index:20;min-height:3.5rem;flex-direction:row;align-items:center;padding:.625rem 1rem;background:var(--surface)}.topbar-eyebrow{display:none}.topbar-section{font-size:1.0625rem}.topbar-meta{flex-wrap:nowrap;justify-content:flex-end;gap:.5rem}.topbar-meta .badge{display:none}.topbar-meta .status{font-size:.6875rem}.content{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:1rem 1rem calc(9rem + env(safe-area-inset-bottom))}.page{max-width:none}.page-header{margin-bottom:1rem}.page-title{font-size:1.375rem}.grid{gap:.875rem}.card{border-radius:1rem}.card-header,.card-content,.card-body{padding-right:1rem;padding-left:1rem}.card-header{padding-top:1rem;padding-bottom:.75rem}.card-content,.card-body{padding-bottom:1rem}.field{width:100%;min-width:0}.field-grow{flex-basis:100%}.list-toolbar{gap:.75rem}.form-actions,.card-actions,.page-actions,.dashboard-actions,.status-actions{gap:.5rem}.form-actions .button,.card-actions .button,.dashboard-actions .button,.status-actions .button{flex:1 1 auto;min-height:2.75rem}.button{min-height:2.75rem;border-radius:.75rem}.button-small{min-height:2rem}.input{height:2.75rem;border-radius:.75rem;font-size:1rem}.table-scroll{margin:0 -1rem;padding:0 1rem;scrollbar-width:none}.table-scroll::-webkit-scrollbar{display:none}.table{min-width:40rem}.notice,.form-notice{border-radius:.75rem}.pin-screen,.shared-receipt{min-height:100dvh;padding:max(1rem,env(safe-area-inset-top)) 1rem max(1rem,env(safe-area-inset-bottom))}.pin-card{border-radius:1.25rem}.modal{align-items:flex-end;padding:0}.modal-card{width:100%;max-width:none;border-radius:1.25rem 1.25rem 0 0;padding:1.25rem;padding-bottom:calc(1.25rem + env(safe-area-inset-bottom))}}@media(max-width:380px){.nav-link{font-size:.625rem}.topbar-meta .status{max-width:7rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media screen and (max-width:700px){.shared-receipt{overflow-x:hidden;padding:0}.shared-receipt-shell{width:100%;max-width:none;margin:0}.shared-receipt-header{position:sticky;z-index:10;top:0;align-items:center;margin:0;border-bottom:1px solid var(--border);background:var(--surface);padding:max(.75rem,env(safe-area-inset-top)) 1rem .75rem}.shared-receipt-brand,.shared-receipt-brand .brand-copy{min-width:0}.shared-receipt-brand small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shared-receipt-header .button{min-height:2.25rem;flex:none;padding-right:.75rem;padding-left:.75rem}.shared-receipt-loading{margin:2rem 1rem}.shared-receipt .error-card{margin:1rem}.shared-receipt-sheet{padding-bottom:max(1rem,env(safe-area-inset-bottom))}.shared-receipt-sheet .receipt-sheet{max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;padding:1.25rem 1rem 1.5rem;font-size:.8125rem;overflow-wrap:anywhere}.shared-receipt-sheet .receipt-sheet-header{display:grid;grid-template-columns:minmax(0,1fr);gap:.875rem;border-bottom:1px solid #dce2ea;padding-bottom:.875rem}.shared-receipt-sheet .receipt-sheet-header h1{font-size:1.5rem;letter-spacing:.1em}.shared-receipt-sheet .receipt-sheet-header h2{font-size:.875rem}.shared-receipt-sheet .receipt-sheet-header-meta{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;text-align:left}.shared-receipt-sheet .receipt-sheet-meta-item{align-items:flex-start;border:1px solid #e2e8f0;border-radius:.5rem;background:#f8fafc;padding:.5rem .625rem;text-align:left}.shared-receipt-sheet .receipt-sheet-meta-item strong{overflow-wrap:anywhere;font-size:.8125rem}.shared-receipt-sheet .receipt-sheet-parties{grid-template-columns:minmax(0,1fr);gap:.625rem;margin-top:1rem}.shared-receipt-sheet .receipt-sheet-party-box{padding:.75rem .875rem}.shared-receipt-sheet .receipt-sheet-box-title{margin-bottom:.375rem;padding-bottom:.375rem}.shared-receipt-sheet .receipt-sheet-details{font-size:.8125rem;line-height:1.65}.shared-receipt-sheet .receipt-sheet-section-title{margin-top:1.25rem}.shared-receipt-sheet .receipt-sheet-table:not(.receipt-sheet-items-table){display:block;margin-top:.5rem}.shared-receipt-sheet .receipt-sheet-table:not(.receipt-sheet-items-table) thead,.shared-receipt-sheet .receipt-sheet-table:not(.receipt-sheet-items-table) tbody{display:block}.shared-receipt-sheet .receipt-sheet-table:not(.receipt-sheet-items-table) tr{display:grid;grid-template-columns:minmax(6.5rem,38%) minmax(0,1fr);gap:.75rem;border-bottom:1px solid #e5e9ef;padding:.5rem 0}.shared-receipt-sheet .receipt-sheet-table:not(.receipt-sheet-items-table) tr:last-child{border-bottom:0}.shared-receipt-sheet .receipt-sheet-table:not(.receipt-sheet-items-table) td{border:0;padding:0;font-size:.8125rem}.shared-receipt-sheet .receipt-sheet-table:not(.receipt-sheet-items-table) td:first-child{color:#64748b;font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.shared-receipt-sheet .receipt-sheet-table:not(.receipt-sheet-items-table) td:last-child{overflow-wrap:anywhere}.shared-receipt-sheet .receipt-sheet-table-scroll{margin-top:.5rem;overflow-x:auto;-webkit-overflow-scrolling:touch}.shared-receipt-sheet .receipt-sheet-items-table{min-width:32rem;margin-top:0;font-size:.75rem}.shared-receipt-sheet .receipt-sheet-items-table th,.shared-receipt-sheet .receipt-sheet-items-table td{padding:.375rem}.shared-receipt-sheet .receipt-sheet-amount-box{margin-top:1rem;padding:.875rem}.shared-receipt-sheet .receipt-sheet-amount{font-size:1.5rem}.shared-receipt-sheet .receipt-sheet-acknowledgement{margin-top:1rem;font-size:.8125rem;line-height:1.6}.shared-receipt-sheet .receipt-sheet-signature-row{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:1.25rem;margin-top:1.5rem}.shared-receipt-sheet .receipt-sheet-qr{align-self:center}.shared-receipt-sheet .receipt-sheet-qr-code{width:7.5rem;height:7.5rem}.shared-receipt-sheet .receipt-sheet-signature{width:100%;max-width:18rem;margin:0 auto}.shared-receipt-sheet .receipt-sheet-footer{margin-top:1.5rem}}@media screen and (max-width:380px){.shared-receipt-sheet .receipt-sheet{padding-right:.875rem;padding-left:.875rem}.shared-receipt-sheet .receipt-sheet-header-meta{grid-template-columns:minmax(0,1fr)}.shared-receipt-sheet .receipt-sheet-table:not(.receipt-sheet-items-table) tr{grid-template-columns:minmax(0,1fr);gap:.125rem}}@media screen and (max-width:900px){[data-dashboard-recent-table]{margin:0;padding:0;overflow:visible}[data-dashboard-recent-table] .table{min-width:0}[data-dashboard-recent-table] thead{display:none}[data-dashboard-recent-table] tbody{display:grid;gap:.625rem}[data-dashboard-recent-table] tbody tr{display:grid;gap:.25rem;border:1px solid var(--border);border-radius:.75rem;padding:.625rem .75rem}[data-dashboard-recent-table] tbody tr:hover{background:transparent}[data-dashboard-recent-table] td{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;border:0;padding:0}[data-dashboard-recent-table] td:before{content:attr(data-label);flex:none;color:var(--text-muted);font-size:.6875rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase}[data-dashboard-recent-table] td:first-child{align-items:center;margin-bottom:.125rem;padding-bottom:.375rem;border-bottom:1px solid var(--border)}[data-dashboard-recent-table] td:first-child:before{display:none}[data-dashboard-recent-table] td:first-child .link-button{font-size:.9375rem;font-weight:600}}
