:root{--ink:#11152b;--text:#1c2340;--muted:#657095;--muted-2:#98a1c2;--paper:#eef1f8;--surface:#fff;--surface-2:#f5f7fc;--line:#e1e5f3;--primary:#3452ff;--primary-ink:#1c2fb0;--primary-soft:#e8ecff;--money:#b8790c;--money-soft:#fbeed2;--danger:#d92d20;--danger-soft:#fbe7e5;--success:#178a4c;--success-soft:#e1f6eb;--radius:14px;--shadow:0 1px 2px #11152b0a,0 10px 26px #11152b0d;color:var(--text);background:var(--paper);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Inter,Segoe UI,sans-serif;font-size:14px;line-height:1.5}*{box-sizing:border-box}body{margin:0}#root{text-align:left;width:100%;min-height:100vh}h1,h2,h3,h4{color:var(--ink);margin:0 0 8px;font-family:Space Grotesk,Inter,Segoe UI,sans-serif;font-weight:700;line-height:1.3}h1{font-size:24px}h2{font-size:18px}h3{font-size:16px}p{margin:0 0 12px}a{color:var(--primary);text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer;background:var(--primary);color:#fff;white-space:nowrap;border:1px solid #0000;border-radius:10px;padding:10px 15px;font-size:13px;font-weight:600;line-height:1.4;transition:background .15s,box-shadow .15s}button:hover{background:var(--primary-ink)}button:disabled{opacity:.5;cursor:not-allowed}button.secondary{background:var(--primary-soft);color:var(--primary-ink)}button.ghost{color:var(--muted);border-color:var(--line);background:0 0}button.ghost:hover{background:var(--surface-2);color:var(--ink)}button.danger{background:var(--danger-soft);color:var(--danger)}button.small{padding:7px 10px;font-size:12px}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #a3b1ff}input,select,textarea{border:1.5px solid var(--line);background:var(--surface);min-width:0;max-width:100%;color:var(--text);border-radius:10px;padding:10px 12px}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft);outline:none}input:disabled,input[readonly]{background:var(--surface-2);color:var(--muted)}input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--primary);box-shadow:none}textarea{resize:vertical;min-height:80px}label{color:var(--muted);font-size:12px;font-weight:600}label input,label select,label textarea{width:100%;margin-top:6px}hr{border:0;border-top:1px solid var(--line);margin:18px 0}code{background:var(--surface-2);border-radius:5px;padding:3px 6px;font-size:12px}::selection{background:var(--primary-soft)}.icon{flex:none;width:19px;height:19px}.mono,.amount{font-variant-numeric:tabular-nums;font-family:IBM Plex Mono,Consolas,monospace}.muted{color:var(--muted)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;padding:20px;overflow-x:auto}.card-sub{color:var(--muted);margin:3px 0 18px;font-size:12px}.card-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.card-heading h2{margin:0}.table-wrap{border:1px solid var(--line);border-radius:11px;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;border-bottom:1px solid var(--surface-2);vertical-align:middle;padding:12px 10px}th{background:var(--surface-2);color:var(--muted);text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;font-size:10px;font-weight:700}tr:last-child td{border-bottom:0}td button{padding:7px 10px;font-size:12px}td input,td select{padding:8px}.empty-state{text-align:center;color:var(--muted);padding:32px 16px}.pill{white-space:nowrap;background:var(--primary-soft);color:var(--primary-ink);border-radius:99px;align-items:center;gap:5px;padding:4px 9px;font-size:10px;font-weight:700;display:inline-flex}.pill.paid{background:var(--success-soft);color:var(--success)}.pill.pending{background:var(--money-soft);color:var(--money)}.pill.partial{background:var(--primary-soft);color:var(--primary-ink)}.right{text-align:right}.notice{border-left:3px solid var(--primary);background:var(--primary-soft);color:var(--primary-ink);border-radius:10px;padding:12px 14px;font-size:12px;line-height:1.6}.notice.error{border-color:var(--danger);background:var(--danger-soft);color:var(--danger)}.grid-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.stat{text-align:left;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);white-space:normal;min-height:118px;padding:18px;display:block}.stat:hover{background:var(--surface);border-color:#a9b6ff;box-shadow:0 5px 18px #11152b0c}.stat-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.stat-label{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:10px;font-weight:700}.stat-icon{background:var(--primary-soft);width:29px;height:29px;color:var(--primary);border-radius:8px;place-items:center;display:grid}.stat-value{font-variant-numeric:tabular-nums;letter-spacing:-.5px;margin-top:12px;font-family:IBM Plex Mono,Consolas,monospace;font-size:24px;font-weight:700;line-height:1.3}.stat-value.success{color:var(--success)}.stat-value.money{color:var(--money)}.stat-value.primary{color:var(--primary)}.stat-helper{color:var(--muted);margin-top:5px;font-size:11px}.dashboard-panels{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px;margin-top:20px;display:grid}.timeline-item{border-bottom:1px solid var(--surface-2);align-items:flex-start;gap:12px;padding:13px 0;display:flex}.timeline-item:last-child{border:0}.timeline-dot{background:var(--primary);border-radius:50%;flex:none;width:9px;height:9px;margin-top:6px}.timeline-body{flex:1;min-width:0}.timeline-body b{overflow-wrap:anywhere;font-size:13px;display:block}.timeline-body small{color:var(--muted);font-size:11px}.timeline-value{white-space:nowrap;font-size:13px}.dashboard-intro{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.dashboard-intro h2{margin:0}.dashboard-intro p{color:var(--muted);margin:3px 0 0;font-size:12px}.quick-actions{flex-wrap:wrap;gap:8px;display:flex}.account-type{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;font-size:10px}.account-name{font-weight:600}.form-inline{flex-wrap:wrap;gap:10px;display:flex}.form-inline input{flex:1;min-width:160px}.page-layout__content>div,.page-layout__content>section{min-width:0}@media (width<=1150px){.grid-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-panels{grid-template-columns:1fr}}@media (width<=600px){.card{padding:16px}.stat{min-height:106px;padding:14px}.stat-value{font-size:21px}.dashboard-intro{flex-direction:column;align-items:flex-start}.card-heading{flex-wrap:wrap}.page-layout__content td{white-space:nowrap}}@media print{body,#root{background:#fff}.page-layout__content{padding:0!important}.card{box-shadow:none!important}.app-sidebar,.app-header,.module-tabs,.mobile-overlay{display:none!important}.page-layout{display:block!important}.page-layout__workspace{margin:0!important}}.login-shell{grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.auth-brand{background:radial-gradient(circle at 20% 15%,#1c2360,var(--ink) 60%);color:#fff;flex-direction:column;justify-content:center;padding:48px 11%;display:flex;position:relative}.auth-wordmark{align-items:center;gap:10px;margin-bottom:45px;font-size:18px;font-weight:700;display:flex}.auth-brand h1{color:#fff;letter-spacing:-1.5px;font-size:38px;line-height:1.15}.auth-tagline{color:#a9b0e0;max-width:380px;margin:14px 0 0;font-size:14px;line-height:1.8}.sample-receipt{width:285px;max-width:100%;color:var(--text);background:#fdfdf9;border-radius:5px 5px 14px 14px;margin-top:32px;padding:23px 20px;transform:rotate(-3deg);box-shadow:0 24px 50px #0006}.sample-receipt>b,.sample-receipt>small{text-align:center;display:block}.sample-receipt>b{letter-spacing:.06em;font-size:14px}.sample-receipt>small{color:var(--muted);margin-top:3px;font-size:9px}.sample-receipt hr{border-top:1px dashed #c7c9d6;margin:14px 0}.sample-receipt>div{justify-content:space-between;gap:8px;margin:7px 0;font-family:Consolas,monospace;font-size:12px;display:flex}.sample-receipt .sample-total{color:var(--primary-ink);font-size:18px;font-weight:700}.sample-receipt .receipt-barcode{opacity:.85;background:repeating-linear-gradient(90deg,#1c2340 0 2px,#0000 2px 5px);height:25px;margin-top:20px}.auth-features{gap:25px;margin-top:36px;display:flex}.auth-features span{color:#8f97c4;letter-spacing:.06em;border-left:2px solid var(--primary);padding-left:10px;font-size:8px}.auth-features b{color:#fff;letter-spacing:0;margin-bottom:3px;font-size:13px;display:block}.auth-brand-footer{color:#707aa9;margin:40px 0 0;font-size:10px}.auth-panel{background:var(--paper);justify-content:center;align-items:center;padding:40px;display:flex}.login-form{border:1px solid var(--line);width:100%;max-width:410px;box-shadow:var(--shadow);background:#fff;border-radius:18px;padding:30px}.auth-role-tabs{background:var(--surface-2);border-radius:10px;gap:4px;margin-bottom:26px;padding:4px;display:flex}.auth-role-tabs a{text-align:center;color:var(--muted);border-radius:8px;flex:1;padding:9px 5px;font-size:11px;font-weight:600}.auth-role-tabs a.active{color:var(--primary-ink);background:#fff;box-shadow:0 2px 5px #11152b0c}.login-form__role{color:var(--primary);letter-spacing:.1em;margin:0 0 8px;font-size:9px;font-weight:700}.login-form__title{letter-spacing:-.6px;margin:0 0 6px;font-size:23px}.login-form__subtitle{color:var(--muted);margin-bottom:23px;font-size:12px;line-height:1.6}.login-form__field{flex-direction:column;gap:0;margin-bottom:17px;display:flex}.login-form__field input{margin-top:7px;padding:12px}.login-form__submit{width:100%;margin-top:4px;padding:12px}.login-form__error{background:var(--danger-soft);color:var(--danger);border-radius:9px;margin-bottom:14px;padding:10px 12px;font-size:12px}.login-form__footer{color:var(--muted-2);text-align:center;margin:22px 0 0;font-size:10px}.home-role-links{grid-template-columns:1fr 1fr;gap:12px;display:grid}.home-role-links a{border:1px solid var(--line);color:var(--ink);border-radius:12px;flex-direction:column;gap:5px;padding:16px;font-size:13px;font-weight:600;display:flex}.home-role-links a:hover{border-color:var(--primary);background:var(--primary-soft)}.home-role-links small{color:var(--muted);font-size:10px;font-weight:400}@media (width<=1050px){.auth-brand{padding:40px 8%}.auth-brand h1{font-size:32px}.auth-features{gap:16px}}@media (width<=880px){.login-shell{grid-template-columns:1fr}.auth-brand{display:none}.auth-panel{min-height:100vh;padding:24px}.login-form{padding:26px}}.studio-stack{gap:18px;display:grid}.studio-intro{color:#64748b;margin:0}.studio-two{grid-template-columns:minmax(260px,1fr) minmax(0,1.6fr);gap:18px;display:grid}.studio-fields{grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px;display:grid}.studio-fields label{color:#334155;align-content:start;gap:6px;font-size:13px;font-weight:600;display:grid}.studio-fields input,.studio-fields select,.studio-fields textarea{box-sizing:border-box;width:100%}.studio-fields label:has(input[type=checkbox]){align-items:center;display:flex}.studio-fields input[type=checkbox]{width:auto}.studio-actions{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.studio-muted{color:#64748b;font-size:11px;display:block}.studio-stack .card h2{margin-top:0;font-size:18px}.studio-stack .card h3{font-size:15px}.studio-stack table{width:100%}.studio-stack .table-wrap{margin-top:14px}.studio-stack th{white-space:nowrap}.studio-stack td button{margin:2px}.studio-logo{object-fit:contain;border:1px solid #e2e8f0;border-radius:8px;max-width:160px;max-height:80px;padding:8px}.studio-ledger-totals{background:#f0fdf4;border-radius:10px;flex-wrap:wrap;gap:16px;padding:12px;display:flex}@media (width<=900px){.studio-two{grid-template-columns:minmax(0,1fr)}}@media (width<=550px){.studio-fields{grid-template-columns:minmax(0,1fr)}}.account-head-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.account-head-notes{grid-column:1/-1}@media (width<=550px){.account-head-fields{grid-template-columns:minmax(0,1fr)}}.large-bill-customer{background:#f3f8ff;border:1px solid #dce9fc;border-radius:10px;margin-bottom:16px;padding:14px}.large-bill-customer .card-heading{margin-bottom:8px}.large-bill-selected{color:#176346;margin:10px 0 0;font-size:12px}.large-bill-matches{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.studio-stack:has(.large-bill-customer) .studio-ledger-totals{margin-top:14px}.studio-actions:has([aria-label="Large bill print format"]){align-items:end}.app-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px;display:flex}.header-title-group{align-items:center;gap:10px;display:flex}.app-header__title{letter-spacing:-.6px;margin:0;font-size:23px}.app-header__subtitle{color:var(--muted);margin:4px 0 0;font-size:12px}.app-header__actions{align-items:center;gap:10px;min-width:0;display:flex}.business-chip{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:12px;align-items:center;gap:9px;min-width:0;padding:7px 12px;display:flex}.business-avatar{background:var(--primary-soft);width:31px;height:31px;color:var(--primary);border-radius:8px;flex:none;place-items:center;font-size:11px;font-weight:700;display:grid}.business-chip b{text-overflow:ellipsis;white-space:nowrap;max-width:240px;font-size:12px;display:block;overflow:hidden}.business-chip small{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:9px;display:block}.user-chip{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:10px;padding:9px 13px;font-size:11px;font-weight:600}.menu-btn{color:var(--ink);border:1px solid var(--line);background:#fff;justify-content:center;align-items:center;padding:8px;display:none}@media (width<=880px){.menu-btn{display:inline-flex}}@media (width<=540px){.app-header{gap:14px}.app-header__actions{justify-content:space-between;width:100%}.business-chip{flex:1}.app-header__title{font-size:22px}}.app-sidebar{background:var(--ink);color:#aab0d6;flex-direction:column;height:100vh;padding:20px 14px;display:flex;position:sticky;top:0;overflow-y:auto}.side-brand{border-bottom:1px solid #ffffff12;align-items:center;gap:10px;margin-bottom:22px;padding:4px 8px 24px;display:flex}.brand-mark{background:linear-gradient(135deg,var(--primary),#7c8bff);color:#fff;letter-spacing:-1px;border-radius:10px;flex:none;place-items:center;width:36px;height:36px;font-size:22px;font-weight:700;display:grid}.side-brand b{color:#fff;letter-spacing:-.4px;font-size:17px;display:block}.side-brand small{text-transform:uppercase;letter-spacing:.065em;color:#8f97c4;margin-top:3px;font-size:9px;display:block}.nav-caption{letter-spacing:.15em;color:#6f78a6;margin-bottom:11px;padding:0 12px;font-size:9px;font-weight:700}.app-sidebar__nav{flex-direction:column;gap:5px;display:flex}.app-sidebar__link{color:#aab0d6;white-space:nowrap;border-radius:10px;align-items:center;gap:11px;padding:11px 12px;font-size:12px;font-weight:600;text-decoration:none;display:flex}.app-sidebar__link:hover{color:#fff;background:#ffffff0c}.app-sidebar__link--active,.app-sidebar__link--active:hover{background:var(--primary);color:#fff}.sidebar-footer{margin-top:auto;padding:24px 7px 0}.sidebar-user{background:#ffffff06;border:1px solid #ffffff0e;border-radius:12px;align-items:center;gap:10px;margin-bottom:13px;padding:12px;display:flex}.sidebar-avatar{color:#ced4ff;background:#293054;border-radius:9px;flex:none;place-items:center;width:33px;height:33px;font-size:11px;font-weight:700;display:grid}.sidebar-user div{min-width:0}.sidebar-user b{color:#fff;overflow-wrap:anywhere;font-size:11px;display:block}.sidebar-user small{color:#8f97c4;text-transform:capitalize;font-size:10px;display:block}.sidebar-logout{color:#aab0d6;text-align:left;background:0 0;align-items:center;gap:11px;width:100%;padding:10px 8px;font-size:12px;display:flex}.sidebar-logout:hover{color:#fff;background:#ffffff0c}.sidebar-close{display:none}@media (width<=880px){.app-sidebar{z-index:40;width:240px;transition:left .2s;position:fixed;top:0;left:-260px}.app-sidebar--open{left:0}.sidebar-close{color:#fff;background:0 0;place-items:center;margin-left:auto;padding:4px;display:grid}.side-brand{gap:8px;padding-left:0;padding-right:0}}.page-layout{background:var(--paper);grid-template-columns:240px minmax(0,1fr);min-height:100vh;display:grid}.page-layout__workspace{width:100%;min-width:0;max-width:1540px;padding:24px 30px 50px}.page-layout__content{min-width:0}.module-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:6px;margin-bottom:20px;padding-bottom:14px;display:flex}.module-tabs a{color:var(--muted);border-radius:9px;padding:8px 13px;font-size:12px;font-weight:600}.module-tabs a:hover{background:#fff}.module-tabs a.active{background:var(--primary-soft);color:var(--primary-ink)}.mobile-overlay{z-index:39;background:#11152b80;border:0;border-radius:0;position:fixed;inset:0}.mobile-overlay:hover{background:#11152b80}@media (width<=880px){.page-layout{display:block}.page-layout__workspace{padding:18px 16px 40px}}.receipt-host{color:#172033;max-width:210mm;margin:16px auto}.receipt-sheet{background:#fff;border:1px solid #d9e2ec;margin-bottom:20px;padding:9mm}.receipt-body{flex-direction:column;gap:3mm;min-height:128mm;display:flex}.receipt-head{border-bottom:2px solid #2356a3;align-items:center;gap:5mm;padding-bottom:4mm;display:flex}.receipt-head h2{color:#2356a3;margin:0;font-size:22px}.receipt-head p,.receipt-body p{margin:2mm 0}.receipt-head>strong{margin-left:auto}.receipt-logo{color:#2356a3;place-items:center;width:16mm;height:16mm;font-size:24px;font-weight:700;display:grid}.receipt-logo img{max-width:100%;max-height:100%}.receipt-facts{flex-wrap:wrap;gap:4mm;font-size:12px;display:flex}.receipt-items{border-collapse:collapse;table-layout:fixed;width:100%}.receipt-items th:first-child{width:46%}.receipt-items th,.receipt-items td{overflow-wrap:anywhere;text-align:right;border-bottom:1px solid #d9e2ec;padding:2mm;font-size:12px}.receipt-items th:first-child,.receipt-items td:first-child{text-align:left}.receipt-bottom{justify-content:space-between;gap:5mm;display:flex}.receipt-bottom>div{max-width:60%;font-size:12px}.receipt-bottom dl{min-width:55mm;margin:0;font-size:12px}.receipt-bottom dl div{justify-content:space-between;gap:3mm;padding:1mm;display:flex}.receipt-bottom dd{margin:0}.receipt-total{color:#2356a3;font-size:15px;font-weight:700}.receipt-note{white-space:pre-wrap;overflow-wrap:anywhere}.receipt-promo{border:1px solid #c6d7ed;border-radius:5px;padding:2mm;font-size:11px}.receipt-body footer{justify-content:space-between;margin-top:auto;font-size:11px;display:flex}.receipt-body footer img{object-fit:contain;width:28mm;height:8mm}.thermal{width:74mm}.thermal .receipt-sheet{padding:3mm}.thermal .receipt-head{text-align:center;flex-direction:column;gap:1mm}.thermal .receipt-head>strong{margin:0}.thermal .receipt-head h2{font-size:18px}.thermal .receipt-bottom{flex-direction:column;gap:2mm}.thermal .receipt-bottom>div{max-width:100%}.thermal .receipt-facts{flex-direction:column;gap:0}.thermal .receipt-items th,.thermal .receipt-items td{padding:1mm;font-size:10px}.thermal .receipt-body{min-height:0}.thermal footer{gap:3mm}.a4 .receipt-body{min-height:270mm}@media print{body{margin:0;background:#fff!important}body *{visibility:hidden}#bill-print,#bill-print *{visibility:visible}#bill-print{width:210mm;max-width:none;margin:0;position:absolute;top:0;left:0}.no-print{display:none!important}.receipt-sheet{break-after:page;box-sizing:border-box;border:0;min-height:297mm;margin:0}.receipt-sheet:last-child{break-after:auto}.receipt-body{break-inside:avoid;min-height:128mm}#bill-print.thermal{width:74mm}.thermal .receipt-sheet{break-after:auto;min-height:0}.receipt-head,.receipt-items tr,.receipt-bottom,.receipt-promo,footer{break-inside:avoid}#root,.page-layout,.page-layout__workspace,.page-layout__content{min-height:0!important;margin:0!important;padding:0!important;display:block!important}.app-sidebar,.app-header,.module-tabs{display:none!important}}.billing-layout{width:100%;min-width:0;display:block}.billing-form{width:100%;min-width:0;padding:18px;overflow:visible}.billing-form>.card-heading{align-items:center;margin-bottom:12px}.billing-form>.card-heading h2{margin:0;font-size:23px}.billing-form>.card-heading .card-sub{margin:4px 0 0;font-size:12px}.billing-meta{background:#f8fafc;border:1px solid #e4eaf1;border-radius:9px;grid-template-columns:155px 225px minmax(190px,1fr);align-items:end;gap:12px;margin-bottom:12px;padding:10px 12px;display:grid}.billing-meta>label:last-child{justify-self:end;width:200px}.billing-meta input,.billing-meta select{width:100%}.billing-section{border:1px solid;border-left-width:4px;border-radius:11px;min-width:0;margin-top:10px;padding:10px 12px}.customer-section{background:#f3f8ff;border-color:#dce9fc #dce9fc #dce9fc #5687d9}.service-section{background:#fafaff;border-color:#e5e6f7 #e5e6f7 #e5e6f7 #8274d6}.payment-section{background:#f0faf5;border-color:#d5ecdf #d5ecdf #d5ecdf #43a77b}.billing-section-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.billing-section-heading h3{align-items:center;gap:7px;margin:0;font-size:14px;display:flex}.billing-section-heading h3>span{border-radius:7px;flex:none;place-items:center;width:23px;height:23px;font-size:10px;display:grid}.customer-section h3{color:#244f8e}.customer-section h3>span{color:#2357a4;background:#dceafd}.service-section h3{color:#51449b}.service-section h3>span{color:#5749a4;background:#ece9ff}.payment-section h3{color:#176346}.payment-section h3>span{color:#19704c;background:#d9f3e4}.billing-fields{grid-template-columns:1fr 1fr;gap:12px;display:grid}.billing-fields .field-wide{grid-column:1/-1}.billing-fields input,.billing-fields select,.billing-fields textarea{width:100%}.billing-form .customer-fields{grid-template-columns:minmax(150px,1fr) minmax(170px,1fr) minmax(210px,1.4fr)}.billing-form label{min-width:0;font-size:11px;display:block}.billing-form input,.billing-form select{min-height:36px;padding:7px 10px;font-size:13px}.billing-form label>input,.billing-form label>select{width:100%;margin-top:3px;display:block}.input-action{align-items:center;gap:8px;min-width:0;display:flex}.input-action input{flex:1;width:100%;min-width:0}.input-action button{flex:none}.selected-customer{flex-wrap:wrap;align-items:center;gap:9px;margin-top:8px;font-size:12px;display:flex}.selected-customer>span:not(.pill){color:var(--muted);font-size:11px}.customer-results{gap:6px;margin-top:8px;display:grid}.customer-results button{text-align:left}.customer-results small{color:var(--muted);font-weight:400;display:block}.service-shortcuts{flex-wrap:wrap;gap:6px;margin:8px 0;display:flex}.service-shortcuts:empty{margin:0}.service-shortcuts button{color:#454b79;background:#fff;border-color:#dcdff1}.service-shortcuts button:hover{background:#ecebff}.bill-help{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin:6px 0;font-size:11px;display:flex}.bill-help button{padding:4px 8px;font-size:11px}.bill-items{background:#fff;border:1px solid #dfe3f2;border-radius:9px;min-height:140px;overflow-x:auto}.bill-items table{width:100%;min-width:680px}.bill-items th,.bill-items td{padding:7px 10px;font-size:12px}.bill-items th{color:#4b5180;background:#f0f1fb;font-size:10px}.bill-items th:first-child{width:42%}.service-name{min-width:190px;font-weight:600}.service-name small{color:var(--muted);margin-top:3px;font-size:10px;font-weight:400;display:block}.bill-items .quantity-input{width:78px}.bill-items .rate-input{width:104px}.bill-items .provider-input{width:115px}.bill-items td>select{min-width:170px;margin-bottom:4px;display:block}.remove-item{background:var(--danger-soft);color:var(--danger);padding:3px 8px;font-size:17px;line-height:1.3}.remove-item:hover{background:#f6d2ce}.empty-service-icon{background:var(--primary-soft);width:30px;height:30px;color:var(--primary);border-radius:9px;margin:0 auto 8px;font-size:20px;line-height:30px;display:block}.bill-items table.empty-items{min-width:0}.empty-items td.empty-state{white-space:normal}.add-item-footer{margin-top:7px}.add-item-footer button{padding:6px 12px}.billing-payment-layout{grid-template-columns:minmax(280px,1.25fr) minmax(300px,1fr);align-items:start;gap:18px;display:grid}.billing-payment-details{min-width:0}.payment-entry{min-width:0;margin-bottom:7px}.payment-fields{grid-template-columns:1fr 1fr;gap:8px 12px;display:grid}.payment-fields input,.payment-fields select{width:100%}.remove-payment{margin-top:7px}.payment-hint{color:var(--muted);margin:5px 0 0;font-size:10px}.bill-note-field{margin-top:7px}.billing-payment-totals{background:#fff;border:1px solid #d6e9dd;border-radius:9px;grid-template-columns:1fr 1fr 1.2fr;align-self:end;gap:8px;padding:10px;display:grid}.billing-payment-totals input{text-align:right;font-family:Consolas,monospace;font-weight:600}.billing-payment-totals .total-field input{color:#126341;background:#e5f7ed;font-size:18px}.billing-payment-totals .paid-field input{color:var(--success)}.billing-payment-totals .pending-field input{color:var(--money)}.billing-actions{border-top:1px solid #e6ebf2;flex-wrap:wrap;align-items:end;gap:10px;margin-top:10px;padding:12px 0 0;display:flex}.bill-print-format{min-width:180px}.action-amount{gap:2px;min-width:110px;margin-right:auto;display:grid}.action-amount small{text-transform:uppercase;letter-spacing:.6px;color:var(--muted);font-size:10px}.action-amount b{color:#126341;font-size:24px;line-height:1.4}.billing-actions button{min-height:36px;padding:8px 14px;font-size:12px}.billing-actions .save-bill{min-width:135px}.bill-message{color:var(--primary-ink);overflow-wrap:anywhere;background:var(--primary-soft);border-radius:8px;margin:10px 0 0;padding:10px;font-size:12px;line-height:1.6}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;top:0;left:0;overflow:hidden}.workflow-dialog{z-index:1000;border:1px solid var(--line);background:#fff;border-radius:16px;width:min(480px,94vw);max-height:75vh;padding:24px;position:fixed;inset:15% auto auto 50%;overflow:auto;transform:translate(-50%);box-shadow:0 0 0 100vmax #10203966}.workflow-dialog label{margin:12px 0;display:block}.workflow-dialog input,.workflow-dialog textarea{width:100%}.workflow-dialog button{margin:6px}@media (width>=1001px){.billing-form>.card-heading .card-sub{display:none}.billing-form .service-shortcuts{flex-wrap:nowrap;padding-bottom:2px;overflow-x:auto}.service-shortcuts button{flex:none}}@media (width<=1000px){.billing-meta{grid-template-columns:1fr 1fr}.billing-meta>label:last-child{justify-self:stretch;width:auto}.billing-form .customer-fields{grid-template-columns:1fr 1fr}.customer-fields>label:last-child{grid-column:1/-1}.billing-payment-layout{grid-template-columns:1fr}.billing-payment-totals{align-self:stretch}}@media (width<=600px){.billing-form{padding:12px}.billing-section{padding:10px}.billing-section-heading{flex-wrap:wrap}.billing-meta{grid-template-columns:1fr 1fr;gap:8px;padding:9px}.billing-meta>label:last-child{grid-column:1/-1}.billing-form .customer-fields,.billing-fields,.payment-fields{grid-template-columns:1fr}.customer-fields>label:last-child{grid-column:auto}.billing-form .card-heading{align-items:flex-start;gap:8px}.billing-form .card-heading h2{font-size:20px}.billing-form .card-heading button{padding:6px 8px;font-size:10px}.billing-actions{grid-template-columns:1fr 1fr;display:grid}.bill-print-format,.action-amount,.billing-actions .save-bill{grid-column:1/-1}.action-amount{margin-right:0}.input-action button{padding:9px;font-size:11px}.billing-payment-totals{gap:6px;padding:8px}.billing-payment-totals input{padding:7px 5px}.billing-payment-totals .total-field input{font-size:15px}.bill-help{align-items:flex-start}.workflow-dialog{padding:18px}}.bill-more-actions{position:relative}.bill-more-actions summary{cursor:pointer;border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:10px;min-height:36px;padding:8px 14px;font-size:12px;font-weight:600;list-style:none}.bill-more-actions summary::-webkit-details-marker{display:none}.bill-more-actions summary:after{content:" ▾"}.bill-more-actions>div{border:1px solid var(--line);min-width:180px;box-shadow:var(--shadow);z-index:10;background:#fff;border-radius:10px;gap:7px;padding:10px;display:grid;position:absolute;bottom:calc(100% + 7px);right:0}.bill-more-actions>div button{width:100%}@media (width<=600px){.bill-more-actions{grid-column:1/-1}.bill-more-actions summary{text-align:center}.bill-more-actions>div{left:0;right:0}}.billing-customer-hint{color:var(--muted);margin-top:3px;font-size:10px;font-weight:400;display:block}.bill-items .service-name{min-width:260px}.bill-items .service-name>input{width:100%;font-weight:400}.bill-items td>select{margin:0}.bill-items .provider-paid-cell{min-width:105px}.billing-form .provider-paid-toggle>input{width:20px;min-height:20px;accent-color:var(--primary);margin:0}.billing-form .provider-paid-amount{color:var(--muted);margin-top:5px;font-size:9px}.billing-form .provider-paid-amount>input{width:90px;min-height:28px;padding:4px 7px;font-size:11px}@media (width<=600px){.bill-items{border:0;overflow:visible}.bill-items table{min-width:0;display:block}.bill-items thead{display:none}.bill-items tbody{display:block}.bill-items tr{border:1px solid #dfe3f2;border-radius:9px;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px;padding:12px;display:grid}.bill-items td{border:0;min-width:0;padding:0;display:block}.bill-items td:before{color:var(--muted);margin-bottom:4px;font-size:10px;display:block}.bill-items .service-name{grid-column:1/-1;min-width:0}.bill-items td:nth-child(2):before{content:"Quantity"}.bill-items td:nth-child(3):before{content:"Rate ₹"}.bill-items td:nth-child(4){background:#eef4ff;border-radius:7px;grid-column:1/-1;padding:8px}.bill-items td:nth-child(4):before{content:"Amount"}.bill-items td:nth-child(5):not(:last-child):before{content:"Provider cost ₹"}.bill-items td:nth-child(6):before{content:"Provider account"}.bill-items td.provider-paid-cell:before{content:"Paid?"}.bill-items td:last-child{text-align:right}.bill-items input,.bill-items td>select{width:100%;min-width:0;max-width:100%}.bill-items tr:has(.empty-state){display:block}.bill-items .empty-state{padding:16px}}.billing-form .billing-paid-now{align-items:center;gap:7px;margin:6px 0 10px;display:flex}.billing-form .billing-paid-now>input{flex:none;width:18px;min-height:18px;margin:0}.billing-top-row{min-width:0}.billing-top-row .card-heading .card-sub{display:none}@media (width>=1100px) and (height>=540px){.page-layout:has(.billing-layout){grid-template-columns:240px minmax(0,1fr);height:100dvh;min-height:0;overflow:hidden}.page-layout:has(.billing-layout) .page-layout__workspace{flex-direction:column;max-width:none;height:100%;min-height:0;padding:10px 14px;display:flex}.page-layout:has(.billing-layout) .app-header{flex:none;min-height:38px;margin:0 0 8px}.page-layout:has(.billing-layout) .app-header__title{font-size:18px}:is(.page-layout:has(.billing-layout) .app-header__subtitle,.page-layout:has(.billing-layout) .module-tabs){display:none}.page-layout:has(.billing-layout) .business-chip{box-shadow:none;padding:4px 8px}.page-layout:has(.billing-layout) .page-layout__content{flex-direction:column;flex:1;min-height:0;display:flex}.billing-layout{flex:1;min-height:0;display:flex}.billing-form{height:100%;min-height:0;box-shadow:none;border-radius:12px;flex-direction:column;gap:7px;padding:10px;display:flex;position:relative}.billing-form>section,.billing-top-row,.billing-actions,.billing-held-field,.bill-message{flex:none}.billing-top-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.billing-top-row .card-heading{flex:none;gap:8px;margin:0}.billing-top-row .card-heading h2{font-size:20px}.billing-top-row .card-heading>button{padding:5px 7px;font-size:10px}.billing-meta{background:0 0;border:0;grid-template-columns:135px 160px 150px;gap:9px;margin:0;padding:0}.billing-meta>label:last-child{width:auto}.billing-form input,.billing-form select{border-radius:7px;min-height:30px;padding:5px 8px;font-size:12px}.billing-form label{font-size:10px}.billing-form label>input,.billing-form label>select{margin-top:2px}.billing-section{border-radius:9px;margin:0;padding:7px 10px}.billing-section-heading{margin-bottom:4px}.billing-section-heading h3{font-size:13px}.billing-section-heading h3>span{width:20px;height:20px}.billing-section-heading button{padding:5px 8px;font-size:10px}.billing-form .customer-fields{grid-template-columns:1fr 1fr 1.4fr;gap:10px}.billing-customer-hint{margin-top:2px;font-size:9px}.selected-customer{gap:7px;margin:3px 0 0;font-size:10px}.customer-section{position:relative}.customer-results{z-index:8;max-height:180px;box-shadow:var(--shadow);background:#fff;border:1px solid #dce5f2;border-radius:8px;padding:7px;position:absolute;top:100%;left:8px;right:8px;overflow:auto}.billing-form>.service-section{flex-direction:column;flex:1;min-height:0;display:flex}.service-section>.input-action{flex:none}.service-section>.input-action button{padding:7px 10px;font-size:11px}.service-shortcuts{flex:none;gap:5px;min-height:0;margin:4px 0}.service-shortcuts button{padding:4px 7px;font-size:10px}.bill-help{flex:none;margin:3px 0;font-size:9px}.bill-help button{padding:3px 6px;font-size:10px}.service-section .bill-items{scrollbar-gutter:stable;flex:1;min-height:0;margin:0;overflow:auto}.bill-items table{table-layout:fixed;min-width:0}.bill-items th{z-index:1;letter-spacing:0;white-space:normal;font-size:9px;position:sticky;top:0}.bill-items th,.bill-items td{padding:4px 5px}.bill-items th:first-child{width:25%}.bill-items th:nth-child(2){width:7%}.bill-items th:nth-child(3){width:9%}.bill-items th:nth-child(4){width:10%}.bill-items th:nth-child(5){width:11%}.bill-items th:nth-child(6){width:20%}.bill-items th:nth-child(7){width:13%}.bill-items th:last-child{width:5%}.bill-items .service-name,.bill-items .provider-paid-cell{min-width:0}.bill-items .quantity-input,.bill-items .rate-input,.bill-items .provider-input,.bill-items td>select,.billing-form .provider-paid-amount>input{width:100%;min-width:0;max-width:100%}.service-name small{white-space:normal;margin-top:2px;font-size:9px}.billing-form .provider-paid-toggle{vertical-align:middle;margin-right:4px;display:inline-flex}.billing-form .provider-paid-toggle>input{width:16px;min-height:16px}.billing-form .provider-paid-amount{vertical-align:middle;width:calc(100% - 24px);margin:0;font-size:8px;display:inline-block}.billing-form .provider-paid-amount>input{min-height:24px;padding:3px 5px;font-size:10px}.bill-items .empty-state{padding:8px;font-size:11px}.empty-service-icon{display:none}.add-item-footer{flex:none;margin-top:4px}.add-item-footer button{padding:4px 8px;font-size:10px}.billing-payment-layout{flex-direction:column;gap:5px;display:flex}.billing-payment-details{grid-template-columns:minmax(0,1fr) 210px;align-items:start;gap:6px 10px;width:100%;display:grid}.payment-entry{max-height:82px;margin:0;overflow:auto}.payment-fields{grid-template-columns:1fr 1fr 1fr 1fr;gap:7px}.bill-note-field{margin:0}.payment-hint{grid-column:1/-1;margin:0;font-size:9px}.billing-form .billing-paid-now{margin:2px 0 4px;font-size:10px}.billing-form .billing-paid-now>input{width:15px;min-height:15px}.billing-payment-totals{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;width:100%;padding:5px 8px}.billing-payment-totals input{min-height:27px;padding:3px 7px}.billing-payment-totals .total-field input{font-size:16px}.billing-actions{flex-wrap:nowrap;align-items:end;gap:6px;margin:0;padding-top:5px}.bill-print-format{width:175px;min-width:140px}.action-amount{display:none}.billing-actions button{min-height:30px;padding:6px 9px;font-size:11px}.billing-actions .save-bill{min-width:110px}.bill-more-actions summary{min-height:30px;padding:6px 8px;font-size:10px}.billing-held-field{align-items:center;gap:8px;display:flex!important}.billing-held-field>select{max-width:450px;width:auto!important}.bill-message{max-height:42px;margin:0;padding:5px 8px;font-size:10px;line-height:1.4;overflow:auto}}@media print{.page-layout:has(.billing-layout){height:auto;overflow:visible}.billing-form{height:auto}}@media (width>=1100px) and (height>=540px){.customer-section .selected-customer{max-height:22px;margin:0;position:absolute;top:7px;left:120px;right:145px;overflow:hidden}.customer-section .selected-customer strong{display:none}.customer-section .selected-customer .pill{padding:2px 6px;font-size:9px}.billing-form .payment-hint{display:none}.billing-payment-totals{gap:8px;padding:4px 7px}.billing-payment-totals label{line-height:1.1}.billing-payment-totals input{min-height:24px;padding:2px 6px}.billing-form .payment-section .billing-section-heading{margin-bottom:1px}.billing-form .payment-section .billing-paid-now{margin:0 0 3px}.billing-form .payment-section{padding:5px 8px}.billing-form .payment-section .billing-payment-layout{gap:3px}.billing-form .service-section .bill-items{min-height:140px}.billing-section-heading button{min-height:24px;padding:3px 7px}.billing-form .billing-top-row .card-heading>button{min-height:24px}}.billing-form{position:relative}.billing-held-picker{z-index:12;position:absolute;bottom:65px;right:12px}.billing-held-picker[open]{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:9px;max-width:calc(100% - 24px);padding:12px}.billing-held-picker select{max-width:100%}.billing-payment-totals{grid-template-columns:1fr}.payment-fields{grid-template-columns:1fr 1fr}@media (width>=1100px) and (height>=540px){.billing-payment-layout{grid-template-columns:minmax(0,1fr) 220px;align-items:end;gap:16px;display:grid}.billing-payment-details{display:block}.payment-fields{grid-template-columns:1fr 1fr;gap:12px}.billing-payment-totals{grid-template-columns:1fr;width:100%}.billing-payment-totals .total-field input{min-height:36px;font-size:20px}}:is(.page-layout:has(.billing-layout) .module-tabs,.page-layout:has(.billing-layout) .app-header__subtitle){display:none}.page-layout:has(.billing-layout) .app-header{margin-bottom:8px}.page-layout:has(.billing-layout) .page-layout__workspace{padding-top:10px}.billing-branch-row{color:var(--muted);flex:none;font-size:11px}.billing-branch-row label{align-items:center;gap:8px;display:flex}.billing-branch-row select{width:220px!important;margin:0!important}@media (width>=1100px) and (height>=540px){.bill-items th:nth-child(6){width:25%}.bill-items th:nth-child(7){width:8%}.billing-form .provider-paid-toggle{justify-content:center;margin:0;display:flex}.billing-form .provider-paid-toggle>input{width:18px;min-height:18px}}@media (width>=1100px) and (height>=540px) and (height<=650px){.page-layout:has(.billing-layout) .page-layout__workspace{padding:6px 10px}.page-layout:has(.billing-layout) .app-header{min-height:30px;margin-bottom:5px}.page-layout:has(.billing-layout) .business-chip{padding:2px 6px}.billing-form{gap:5px;padding:7px}.billing-form input,.billing-form select{min-height:28px;padding:4px 7px}.billing-section{padding:5px 7px}.billing-section-heading{margin-bottom:2px}.billing-customer-hint{font-size:8px}.billing-actions{gap:4px}.billing-actions button{padding:5px 7px;font-size:10px}.bill-print-format{width:155px;min-width:125px}.billing-form .customer-section .input-action button{min-height:28px;padding:4px 7px;font-size:10px}.billing-form .payment-section .billing-payment-totals .total-field input{min-height:28px;font-size:17px}.billing-form .service-section .billing-section-heading{margin-bottom:1px}.billing-form .service-section .service-shortcuts{margin:2px 0;padding:0}.billing-form .service-shortcuts button{padding:2px 6px}.billing-form .service-section .bill-help{margin:2px 0}.billing-form .bill-help button{padding:2px 5px}.billing-form .service-section .add-item-footer{margin-top:2px}.billing-form .add-item-footer button{padding:2px 6px}.billing-form .service-section .bill-items{min-height:0}}@media (width>=1100px) and (height>=540px){.billing-form .customer-fields input,.billing-form .customer-fields select{min-height:38px;padding:7px 10px;font-size:14px}.billing-form .customer-fields label,.billing-form .payment-fields label{font-size:11px}.billing-form .service-section{grid-template-rows:42px 26px minmax(0,1fr) 24px;grid-template-columns:85px minmax(0,1fr);gap:3px 8px;display:grid}.service-section>.billing-section-heading{grid-area:1/1;align-self:center;margin:0}.service-section>.input-action{grid-area:1/2}.billing-form .service-section>.input-action input{min-height:42px;padding:8px 11px;font-size:15px}.billing-form .service-section>.input-action button{min-height:38px;font-size:12px}.service-section>.service-shortcuts{grid-area:2/1/auto/-1;align-self:center;margin:0;padding-right:165px;overflow:auto}.billing-form .service-shortcuts button{padding:3px 8px;font-size:11px}.service-section>.bill-help{grid-area:2/1/auto/-1;justify-content:flex-end;place-self:center end;width:155px;margin:0}.service-section>.bill-help>span{display:none}.billing-form .bill-help button{padding:3px 6px;font-size:10px}.service-section>.bill-items{grid-area:3/1/auto/-1;min-height:0!important}.service-section>.add-item-footer{grid-area:4/1/auto/-1;align-self:end;margin:0}.bill-items th{padding:5px;font-size:10px}.bill-items td{padding:5px}.billing-form .bill-items input,.billing-form .bill-items td>select{min-height:40px;padding:7px 8px;font-size:15px}.bill-items .service-name>input{font-size:15px}.service-name small{font-size:9px}.bill-items td.amount{font-size:15px}.billing-form .provider-paid-toggle>input{width:22px;min-height:22px;padding:0}.billing-form .payment-fields input,.billing-form .payment-fields select{min-height:36px;padding:6px 9px;font-size:14px}.billing-form .payment-section .billing-payment-totals .total-field input{min-height:38px;font-size:22px}.billing-form .billing-paid-now{font-size:10px}.billing-section-heading h3{font-size:12px}.page-layout:has(.billing-layout) .app-header{min-height:28px}.page-layout:has(.billing-layout) .business-avatar{width:25px;height:25px}.billing-form .payment-section{position:relative}.billing-form .payment-section .billing-paid-now{margin:0;position:absolute;top:7px;left:105px}.billing-form .payment-section .billing-section-heading{margin-bottom:4px}}.walkin-register{justify-content:flex-start;align-items:center;display:flex}.walkin-register button{min-height:38px;padding:8px 14px;font-size:13px}.billing-form .service-shortcuts button{min-height:32px;padding:5px 12px;font-size:13px}@media (width>=1100px) and (height>=540px){.billing-form .service-section{grid-template-rows:42px 36px minmax(0,1fr) 24px}.billing-form .service-shortcuts button{min-height:32px;padding:5px 12px;font-size:13px}}.page-layout:has(.billing-layout) .app-header{min-height:44px;margin-bottom:8px;display:flex}.page-layout:has(.billing-layout) .app-header__title{font-size:23px}.page-layout:has(.billing-layout) .app-header__subtitle{display:block}.page-layout:has(.billing-layout) .business-chip{padding:7px 12px}.page-layout:has(.billing-layout) .business-avatar{width:31px;height:31px}
