/* Tokens — one brand family, semantic states, and corresponding dark surfaces. */
:root,[data-bs-theme="light"] {
 --bizz-bg:#f5f7f6; --bizz-surface:#fff; --bizz-surface-subtle:#f0f4f2; --bizz-border:#dce5e0;
 --bizz-text:#24332d; --bizz-text-secondary:#52645b; --bizz-text-muted:#64776c;
 --bizz-primary:#245d50; --bizz-primary-hover:#1b493e; --bizz-primary-soft:#e8f2ed; --bizz-on-primary:#fff;
 --bizz-success:#24744e; --bizz-success-soft:#e8f5ed; --bizz-warning:#89620d; --bizz-warning-soft:#fff4d9;
 --bizz-danger:#b33c49; --bizz-danger-soft:#fcecef; --bizz-info:#356b95; --bizz-info-soft:#eaf2fa;
 --bizz-radius-sm:8px; --bizz-radius:12px; --bizz-radius-lg:14px;
 --bizz-shadow-sm:0 2px 8px #1b382408; --bizz-shadow:0 8px 28px #1b382414;
 --bizz-color-scheme:light; --bizz-control-height:40px; --bizz-control-compact:34px;
 --bizz-chart-text:var(--bizz-text); --bizz-chart-muted:var(--bizz-text-secondary); --bizz-chart-grid:var(--bizz-border);
 --bizz-chart-tooltip-bg:var(--bizz-surface); --bizz-chart-tooltip-text:var(--bizz-text);
 --bizz-space-1:4px; --bizz-space-2:8px; --bizz-space-3:12px; --bizz-space-4:16px;
 --bizz-space-5:20px; --bizz-space-6:24px; --bizz-space-8:32px; --bizz-space-10:40px;
 --bizz-ink:var(--bizz-text); --bizz-muted:var(--bizz-text-muted); --bizz-line:var(--bizz-border);
 --bizz-accent:var(--bizz-primary); --bizz-soft:var(--bizz-primary-soft);
 --bs-primary-bg-subtle:var(--bizz-primary-soft); --bs-primary-text-emphasis:var(--bizz-primary);
 --bs-primary:var(--bizz-primary); --bs-primary-rgb:36,93,80;
 --bs-body-color:var(--bizz-text); --bs-body-bg:var(--bizz-bg); --bs-border-color:var(--bizz-border);
 --bs-secondary-color:var(--bizz-text-muted); --bs-tertiary-bg:var(--bizz-surface-subtle);
 --bs-link-color:var(--bizz-primary); --bs-link-hover-color:var(--bizz-primary-hover);
 --bs-link-color-rgb:36,93,80; --bs-link-hover-color-rgb:27,73,62;
 --bs-success-text-emphasis:var(--bizz-success); --bs-success-bg-subtle:var(--bizz-success-soft);
 --bs-warning-text-emphasis:var(--bizz-warning); --bs-warning-bg-subtle:var(--bizz-warning-soft);
 --bs-danger-text-emphasis:var(--bizz-danger); --bs-danger-bg-subtle:var(--bizz-danger-soft);
 --bs-info-text-emphasis:var(--bizz-info); --bs-info-bg-subtle:var(--bizz-info-soft);
}
[data-bs-theme="dark"] {
 --bizz-color-scheme:dark; --bizz-bg:#141d19; --bizz-surface:#1d2923; --bizz-surface-subtle:#26352d; --bizz-border:#3a4c41;
 --bizz-text:#edf3ef; --bizz-text-secondary:#c1d0c6; --bizz-text-muted:#a6b9ac;
 --bizz-primary:#95d5b7; --bizz-primary-hover:#b6e7ce; --bizz-primary-soft:#2a4335; --bizz-on-primary:#13271d;
 --bizz-success:#8fd2ab; --bizz-success-soft:#243e30; --bizz-warning:#edca80; --bizz-warning-soft:#413821;
 --bizz-danger:#f3a4ad; --bizz-danger-soft:#442b32; --bizz-info:#a3c8e9; --bizz-info-soft:#293c4d;
 --bizz-shadow-sm:0 2px 8px #0001; --bizz-shadow:0 8px 28px #0003;
 --bs-primary-rgb:149,213,183; --bs-link-color-rgb:149,213,183; --bs-link-hover-color-rgb:182,231,206;
}
/* Base */
.bizz {font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;line-height:1.55;color:var(--bizz-text);background:var(--bizz-bg)}
.bizz * {box-sizing:border-box}
.bizz a {text-underline-offset:3px}
.bizz [aria-busy="true"] {cursor:progress}
.min-width-0 {min-width:0}
/* Typography */
.bizz :is(h1,h2,h3,h4,h5,h6) {color:var(--bizz-text);font-weight:600;line-height:1.3;letter-spacing:-.025em}
.bizz :is(h1,h4) {font-size:24px}
.bizz :is(h2,h3,h5,.h5) {font-size:17px}
.bizz h6 {font-size:14px}
.bizz :is(.small,small,.form-text) {font-size:12px}
.bizz-page-heading h1 {margin:4px 0 8px}
.bizz-page-heading p {margin:0;color:var(--bizz-text-secondary);font-size:14px}
.bizz-eyebrow {font-size:12px;font-weight:500;color:var(--bizz-text-muted)}
.bizz-section-title,.bizz-section-heading h2 {font-size:16px;margin:0 0 16px}
/* Layout */
.bizz-app-layout {display:flex;min-height:100vh}
.bizz-workspace {flex:1;min-width:0}
.bizz-main {padding:24px 16px 40px;min-height:calc(100vh - 80px)}
.bizz-app .bizz-main {padding:24px;min-height:calc(100vh - 64px);max-width:1680px;margin:auto}
.bizz-app :is(.main-content,.page-content) {margin:0;padding:0;min-width:0}
.bizz-page-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.bizz-section-heading {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.bizz-section-heading h2 {margin-bottom:0}
/* Sidebar */
.bizz-sidebar {--bs-offcanvas-width:240px;--bs-offcanvas-bg:var(--bizz-surface);border-right:1px solid var(--bizz-border)!important;background:var(--bizz-surface)!important;color:var(--bizz-text)}
.bizz-sidebar .offcanvas-header {display:flex;padding:16px 20px;border-bottom:1px solid var(--bizz-border);min-height:64px}
.bizz-sidebar .offcanvas-body {padding:20px 12px!important}
.bizz-nav-group {margin-bottom:20px}
.bizz-nav-group > p {margin:0 12px 8px;color:var(--bizz-text-muted);font-size:12px;font-weight:500}
.bizz-nav-link {display:flex;align-items:center;gap:12px;min-height:40px;padding:8px 12px;color:var(--bizz-text-secondary);text-decoration:none;font-size:13px;border-radius:var(--bizz-radius-sm)}
.bizz-nav-link i {font-size:19px;width:20px;text-align:center;flex-shrink:0}
.bizz-nav-link:hover {background:var(--bizz-surface-subtle);color:var(--bizz-text)}
.bizz-nav-link.active {background:var(--bizz-primary-soft);color:var(--bizz-primary);font-weight:600}
.bizz-sidebar-footer {padding-top:16px;border-top:1px solid var(--bizz-border)}
/* Topbar */
.bizz-topbar {position:sticky;top:0;z-index:1020;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--bizz-surface);border-bottom:1px solid var(--bizz-border);padding:11px 24px;min-height:64px}
.bizz .bizz-icon-button,.bizz .bizz-theme-toggle {width:40px;height:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:4px;font-size:20px;flex-shrink:0}
.bizz .bizz-company-switch {display:flex;align-items:center;max-width:420px;min-width:0;color:var(--bizz-text);border:0;padding-left:0}
.bizz-company-switch span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bizz-brand {display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--bizz-text);font-size:18px;letter-spacing:-.4px}
.bizz-brand strong,.bizz-wordmark strong {font-size:.75em;letter-spacing:.06em;color:var(--bizz-primary)}
/* Components */
.bizz .card {background:var(--bizz-surface);border:1px solid var(--bizz-border);border-radius:var(--bizz-radius);box-shadow:var(--bizz-shadow-sm)}
.bizz .card-body {padding:20px;min-width:0}
.bizz .modal-content {background:var(--bizz-surface);color:var(--bizz-text);border:1px solid var(--bizz-border);border-radius:var(--bizz-radius-lg)}
.bizz .dropdown-menu {background:var(--bizz-surface);border-color:var(--bizz-border);border-radius:var(--bizz-radius-sm);box-shadow:var(--bizz-shadow);max-width:calc(100vw - 32px);min-width:min(240px,calc(100vw - 32px));font-size:13px;padding:8px}
.bizz .dropdown-item {color:var(--bizz-text);padding:8px;border-radius:4px;overflow-wrap:anywhere}
.bizz .dropdown-item:is(:hover,:focus) {background:var(--bizz-primary-soft);color:var(--bizz-primary)}
.bizz .badge {font-size:11px;font-weight:500;border-radius:4px;padding:4px 8px;line-height:1.2}
.bizz .alert {border-radius:var(--bizz-radius-sm);font-size:13px}
.bizz :is(.verification-description,.alert,.form-text,.modal-body) {overflow-wrap:anywhere}
/* Forms */
.bizz :is(.form-label,.login-label,.register-label) {display:block;margin-bottom:8px;font-weight:500;font-size:13px;color:var(--bizz-text)}
.bizz :is(.form-control,.form-select) {min-height:var(--bizz-control-height);background-color:var(--bizz-surface);border-color:var(--bizz-border);border-radius:var(--bizz-radius-sm);color:var(--bizz-text);font-size:14px;line-height:1.5}
.bizz :is(.form-control,.form-select)::placeholder {color:var(--bizz-text-muted);opacity:1}
.bizz :is(.form-control,.form-select):focus {border-color:var(--bizz-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--bizz-primary) 18%,transparent)}
.bizz :is(.form-control,.form-select).is-invalid {border-color:var(--bizz-danger)}
.bizz .form-check-input:checked {background-color:var(--bizz-primary);border-color:var(--bizz-primary)}
.bizz .input-group-text {background:var(--bizz-surface-subtle);color:var(--bizz-text-muted);border-color:var(--bizz-border)}
.bizz :is(.login-input-group,.register-input-group) {position:relative;display:flex;align-items:center}
.bizz :is(.login-input-group,.register-input-group) > i {position:absolute;left:12px;z-index:1;color:var(--bizz-text-muted);font-size:19px}
.bizz :is(.login-input-group,.register-input-group) .form-control {padding-inline:40px 48px}
.bizz .password-toggle {position:absolute;right:0;top:0;bottom:0;width:44px;border:0;background:transparent;color:var(--bizz-text-muted);font-size:19px}
.bizz .input-group:has(.password-toggle) .form-control {padding-right:48px}
.bizz #formCompanies .form-control {max-width:100%}
.bizz #formCompanies .row {--bs-gutter-x:24px;--bs-gutter-y:20px}
.bizz #formCompanies input[type=file] {font-size:13px}
/* Native and Select2 controls share the same surface, including readonly state. */
.bizz :is(input,textarea,select) {color-scheme:var(--bizz-color-scheme)}
.bizz :is(.form-control,.form-select):is(:disabled,[readonly]) {background:var(--bizz-surface-subtle);color:var(--bizz-text-secondary);border-color:var(--bizz-border);opacity:1;-webkit-text-fill-color:var(--bizz-text-secondary)}
.bizz :is(.form-control,.form-select):disabled {cursor:not-allowed}
.bizz .input-group:has([readonly],:disabled) .input-group-text {background:var(--bizz-surface-subtle)!important;color:var(--bizz-text-secondary);border-color:var(--bizz-border)}
.bizz :is(.form-control-sm,.form-select-sm) {min-height:36px;font-size:13px}
.bizz .input-group > :is(.btn,.input-group-text) {min-height:var(--bizz-control-height)}
.bizz .select2-container .select2-selection {min-height:var(--bizz-control-height);background:var(--bizz-surface);border:1px solid var(--bizz-border);border-radius:var(--bizz-radius-sm);font-size:14px}
.bizz .select2-container .select2-selection--single .select2-selection__rendered {color:var(--bizz-text);line-height:38px;padding-left:12px;padding-right:28px}
.bizz .select2-container .select2-selection__arrow {height:38px}
.bizz .select2-container .select2-selection--multiple .select2-selection__choice {background:var(--bizz-primary-soft);color:var(--bizz-text);border-color:var(--bizz-border)}
.bizz .select2-container--disabled .select2-selection {background:var(--bizz-surface-subtle);color:var(--bizz-text-secondary)}
.bizz .select2-dropdown {background:var(--bizz-surface);color:var(--bizz-text);border-color:var(--bizz-border)}
.bizz .select2-container--default .select2-results__option[aria-selected=true] {background:var(--bizz-primary-soft);color:var(--bizz-primary)}
.bizz .select2-container--default .select2-results__option--highlighted[aria-selected] {background:var(--bizz-primary);color:var(--bizz-on-primary)}
.bizz .select2-search__field {background:var(--bizz-surface);color:var(--bizz-text);border-color:var(--bizz-border)}
/* Profile's legacy presentation is normalized here without changing its form. */
.bizz :is(.profile-hero,.profile-card) {background:var(--bizz-surface);border:1px solid var(--bizz-border);border-radius:var(--bizz-radius);box-shadow:var(--bizz-shadow-sm)}
.bizz .profile-hero,.bizz .profile-card-body,.bizz .profile-card-header {padding:20px}
.bizz :is(.profile-card-header,.profile-section) {border-color:var(--bizz-border)}
.bizz .profile-section {padding-bottom:24px;margin-bottom:24px}
.bizz :is(.profile-name,.profile-page-title) {font-size:22px;font-weight:600}
.bizz :is(.profile-card-title,.profile-section-title) {font-weight:600}
.bizz .profile-label {font-size:13px;font-weight:500;margin-bottom:8px}
.bizz .profile-input {height:var(--bizz-control-height);border-radius:var(--bizz-radius-sm)}
.bizz .profile-input[readonly] {background:var(--bizz-surface-subtle)}
.bizz .profile-save-btn {height:var(--bizz-control-height);background:var(--bizz-primary);color:var(--bizz-on-primary);border-radius:var(--bizz-radius-sm);font-weight:500}
.bizz .profile-save-btn:hover {background:var(--bizz-primary-hover)}
.bizz .profile-email {color:var(--bizz-text-secondary)}
.bizz .profile-company {color:var(--bizz-primary)}
.bizz .profile-avatar {background:var(--bizz-primary-soft);color:var(--bizz-primary);border-radius:var(--bizz-radius)}
.bizz .password-wrapper .password-toggle {right:0;top:0;bottom:0;transform:none;width:40px;display:inline-flex;align-items:center;justify-content:center}
/* Buttons */
.bizz .btn {display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:var(--bizz-control-height);padding:8px 16px;border-radius:var(--bizz-radius-sm);font-weight:500;font-size:13px;line-height:22px;white-space:normal}
.bizz :is(.btn-primary,.login-btn,.register-btn,.continue-btn) {background:var(--bizz-primary);border-color:var(--bizz-primary);color:var(--bizz-on-primary)}
.bizz :is(.btn-primary,.login-btn,.register-btn,.continue-btn):is(:hover,:active) {background:var(--bizz-primary-hover);border-color:var(--bizz-primary-hover);color:var(--bizz-on-primary)}
.bizz .btn-outline-secondary {color:var(--bizz-text-secondary);border-color:var(--bizz-border)}
.bizz :is(.btn-outline-secondary,.btn-light):hover {background:var(--bizz-surface-subtle);color:var(--bizz-text);border-color:var(--bizz-border)}
.bizz .btn-light {background:var(--bizz-surface-subtle);color:var(--bizz-text);border-color:var(--bizz-border)}
.bizz .btn-link {color:var(--bizz-primary)}
.bizz :is(.btn,.password-toggle,a):focus-visible {outline:3px solid var(--bizz-primary);outline-offset:3px}
/* Compact actions stay compact at mobile breakpoints too. */
.bizz .btn-sm,.bizz .bizz-compact-control {min-height:var(--bizz-control-compact);padding:5px 10px;font-size:13px;line-height:22px}
.bizz .bizz-actions {display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
.bizz .btn.bizz-action-btn {width:var(--bizz-control-compact);height:var(--bizz-control-compact);min-height:var(--bizz-control-compact);padding:0;gap:0;flex-shrink:0;border-radius:var(--bizz-radius-sm);background:var(--bizz-surface-subtle);color:var(--bizz-text-secondary);border:1px solid var(--bizz-border);box-shadow:none}
.bizz .bizz-action-btn :is(i,svg) {font-size:16px;width:16px;height:16px;margin:0!important}
.bizz .btn.bizz-action-view {background:var(--bizz-primary-soft);color:var(--bizz-primary)}
.bizz .btn.bizz-action-delete {background:var(--bizz-danger-soft);color:var(--bizz-danger)}
.bizz .btn.bizz-action-btn:hover {border-color:currentColor;filter:brightness(.97)}
/* Tables */
.bizz .table {--bs-table-bg:var(--bizz-surface);--bs-table-color:var(--bizz-text);--bs-table-border-color:var(--bizz-border);--bs-table-striped-bg:var(--bizz-surface-subtle);--bs-table-hover-bg:var(--bizz-primary-soft);font-size:13px}
.bizz .table > :not(caption) > * > * {padding:12px;vertical-align:middle}
.bizz .table th {font-size:12px;font-weight:500;color:var(--bizz-text-secondary)}
/* Shared directory/list presentation — Companies and Customers. */
.bizz-list-toolbar {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.bizz-list-toolbar > .input-group {flex:1;max-width:560px;min-width:0}
.bizz .dataTables_wrapper {font-size:13px;min-width:0}
.bizz .dataTables_wrapper > .row {margin:0;--bs-gutter-x:16px}
.bizz .dataTables_wrapper > .row:first-child,.bizz .dataTables_wrapper > .row:last-child {padding:12px 0}
.bizz .dataTables_wrapper .dataTables_filter {text-align:right}
.bizz .dataTables_wrapper .dataTables_filter label {display:flex;align-items:center;justify-content:flex-end;min-width:0}
.bizz .dataTables_wrapper .dataTables_filter input {width:min(240px,100%);min-width:0;margin-left:8px}
.bizz .dataTables_wrapper .dataTables_info {color:var(--bizz-text-secondary);padding-top:8px}
.bizz .page-link {--bs-pagination-color:var(--bizz-text-secondary);--bs-pagination-bg:var(--bizz-surface);--bs-pagination-border-color:var(--bizz-border);--bs-pagination-hover-color:var(--bizz-primary);--bs-pagination-hover-bg:var(--bizz-primary-soft);--bs-pagination-hover-border-color:var(--bizz-border);--bs-pagination-active-bg:var(--bizz-primary);--bs-pagination-active-border-color:var(--bizz-primary);--bs-pagination-active-color:var(--bizz-on-primary);--bs-pagination-disabled-bg:var(--bizz-surface-subtle);--bs-pagination-disabled-color:var(--bizz-text-muted);font-size:13px;min-height:34px}
.bizz .customer-stat__icon,.bizz .customer-avatar {display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;border-radius:var(--bizz-radius-sm);background:var(--bizz-primary-soft);color:var(--bizz-primary);font-size:14px}
.bizz .customer-stat__label,.bizz .customer-code,.bizz .customer-date {font-size:12px;color:var(--bizz-text-secondary)}
.bizz .customer-stat__value {font-size:24px;font-weight:600;line-height:1.3}
.bizz .customer-identity {display:flex;align-items:center;min-width:160px}
.bizz .customer-name {font-weight:500}
.bizz .customer-address {display:block;min-width:120px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bizz #loadCustomersContent .table-responsive {padding-inline:12px}
.bizz #tblCustomers {width:100%}
/* Dashboard */
.bizz .bizz-kpi-value {font-size:26px;font-weight:600;letter-spacing:-.035em;line-height:1.25;overflow-wrap:anywhere}
.bizz-kpi .card-body {display:flex;flex-direction:column}
.bizz-kpi .card-body > :first-child {min-height:38px;margin-bottom:12px;align-items:flex-start}
.bizz-kpi .card-body > :last-child:not(.bizz-kpi-value) {min-height:38px}
.bizz-kpi-row .mdi {color:var(--bizz-primary);font-size:18px}
.bizz-dashboard-section {margin-top:24px}
.row.bizz-dashboard-section {margin-top:0;--bs-gutter-y:24px}
.bizz-summary-list,.bizz-plan-features {margin:0}
.bizz-summary-list > div,.bizz-plan-features > div {display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid var(--bizz-border);font-size:13px}
.bizz-summary-list > div:last-child,.bizz-plan-features > div:last-child {border-bottom:0}
.bizz-summary-list dt {font-weight:400;color:var(--bizz-text-secondary)}
.bizz-summary-list dd,.bizz-plan-features dd {margin:0;font-weight:600;text-align:right;flex-shrink:0}
.bizz-plan-features dt {font-weight:400;overflow-wrap:anywhere}
.bizz-feed > .d-flex {gap:8px;flex-wrap:wrap}
.bizz-feed .d-flex > div {min-width:0;overflow-wrap:anywhere}
.bizz .dashboard-card-icon {width:32px;height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:var(--bizz-radius-sm);background:var(--bizz-primary-soft)!important;color:var(--bizz-primary)!important}
.bizz .dashboard-card-icon i {font-size:18px!important}
.bizz [id^=dashboard] {overflow-wrap:anywhere}
.bizz .stat-title {color:var(--bizz-text-secondary);font-weight:500}
.bizz .stat-card::after {background:var(--bizz-primary-soft)}
/* Charts — SVG text is configured in bizz.js; HTML UI follows tokens here. */
.bizz .apexcharts-tooltip,.bizz .apexcharts-tooltip.apexcharts-theme-light,.bizz .apexcharts-tooltip.apexcharts-theme-dark,
.bizz .apexcharts-xaxistooltip,.bizz .apexcharts-yaxistooltip,.bizz .apexcharts-menu {background:var(--bizz-chart-tooltip-bg);color:var(--bizz-chart-tooltip-text);border-color:var(--bizz-chart-grid);box-shadow:var(--bizz-shadow-sm)}
.bizz .apexcharts-tooltip .apexcharts-tooltip-title {background:var(--bizz-surface-subtle);border-color:var(--bizz-chart-grid);color:var(--bizz-chart-tooltip-text)}
.bizz .apexcharts-tooltip-text,.bizz .apexcharts-menu-item {color:var(--bizz-chart-tooltip-text)}
.bizz .apexcharts-menu .apexcharts-menu-item:hover {background:var(--bizz-primary-soft)}
.bizz .apexcharts-toolbar svg {fill:var(--bizz-chart-muted)}
.bizz .apexcharts-xaxistooltip:before,.bizz .apexcharts-xaxistooltip:after {border-bottom-color:var(--bizz-chart-tooltip-bg)}
/* Calendar — FullCalendar 6 injects its own base CSS from the bundled JS. */
.bizz .fc {--fc-border-color:var(--bizz-border);--fc-page-bg-color:var(--bizz-surface);--fc-neutral-bg-color:var(--bizz-surface-subtle);--fc-neutral-text-color:var(--bizz-text-secondary);--fc-today-bg-color:var(--bizz-primary-soft);--fc-list-event-hover-bg-color:var(--bizz-surface-subtle);--fc-button-bg-color:var(--bizz-surface);--fc-button-border-color:var(--bizz-border);--fc-button-text-color:var(--bizz-text-secondary);--fc-button-hover-bg-color:var(--bizz-surface-subtle);--fc-button-hover-border-color:var(--bizz-border);--fc-button-active-bg-color:var(--bizz-primary-soft);--fc-button-active-border-color:var(--bizz-primary);font-size:13px}
.bizz .fc .fc-toolbar-title {font-size:20px;font-weight:600}
.bizz .fc .fc-button {font-size:13px;min-height:40px;padding:8px 12px;border-radius:var(--bizz-radius-sm);box-shadow:none}
.bizz .fc .fc-button-primary:not(:disabled):is(:active,.fc-button-active) {color:var(--bizz-primary)}
.bizz .fc .fc-col-header-cell-cushion,.bizz .fc .fc-daygrid-day-number {color:var(--bizz-text-secondary);text-decoration:none;font-weight:500}
.bizz .fc .fc-event {--schedule-color:var(--bizz-text-secondary);--schedule-bg:var(--bizz-surface-subtle);color:var(--schedule-color);background:var(--schedule-bg);border:1px solid color-mix(in srgb,var(--schedule-color) 28%,transparent);border-left:3px solid var(--schedule-color);border-radius:4px;padding:4px;margin:2px 4px;cursor:pointer;font-size:12px}
.bizz .fc .fc-event.schedule-pending {--schedule-color:var(--bizz-info);--schedule-bg:var(--bizz-info-soft)}
.bizz .fc .fc-event.schedule-processing {--schedule-color:var(--bizz-warning);--schedule-bg:var(--bizz-warning-soft)}
.bizz .fc .fc-event.schedule-completed {--schedule-color:var(--bizz-success);--schedule-bg:var(--bizz-success-soft)}
.bizz .fc .fc-event.schedule-failed {--schedule-color:var(--bizz-danger);--schedule-bg:var(--bizz-danger-soft)}
.bizz .fc .fc-event-main {color:inherit}
.bizz .fc .fc-event:is(:hover,:focus-visible) {outline:2px solid var(--bizz-primary);outline-offset:1px}
.bizz #scheduleKpi {--kpi-bg:var(--bizz-surface);--kpi-border:var(--bizz-border);--kpi-text:var(--bizz-text);--kpi-muted:var(--bizz-text-muted)}
.bizz .schedule-kpi-card {padding:16px;background:var(--bizz-surface);border:1px solid var(--bizz-border);border-radius:var(--bizz-radius);height:100%}
.bizz .schedule-kpi-header {display:flex;align-items:center;justify-content:space-between}
.bizz .schedule-kpi-icon {color:var(--bizz-primary);font-size:20px}
.bizz .schedule-kpi-value {font-size:24px;font-weight:600;margin:8px 0 4px}
.bizz .schedule-kpi-label {font-size:12px;color:var(--bizz-text-secondary)}
/* Auth / onboarding: one shared brand and form layout. */
.bizz-official-logo {height:34px;width:auto;object-fit:contain;flex:0 0 auto}
.bizz-header {display:flex;align-items:center;justify-content:space-between;padding:16px 24px;max-width:1120px;margin:auto;gap:16px}
.bizz.bizz-auth .bizz-auth-main {padding:24px;min-height:100vh;display:grid;align-items:center}
.bizz-auth-layout {display:grid;grid-template-columns:minmax(0, .44fr) minmax(0, .56fr);width:100%;max-width:1080px;min-height:650px;margin:auto;background:var(--bizz-surface);border:1px solid var(--bizz-border);border-radius:16px;overflow:hidden;box-shadow:var(--bizz-shadow-sm)}
.bizz-auth-brand-panel {display:flex;flex-direction:column;justify-content:space-between;min-width:0;padding:36px;background:linear-gradient(145deg,var(--bizz-primary-soft),var(--bizz-surface-subtle));border-right:1px solid var(--bizz-border)}
.bizz-auth-brand .bizz-official-logo {height:44px}
.bizz-auth-brand {gap:10px;font-size:21px}
.bizz-auth-story {margin-block:44px 36px;max-width:340px}
.bizz-auth-story .bizz-eyebrow {color:var(--bizz-primary);letter-spacing:.12em;font-size:11px;font-weight:600}
.bizz .bizz-auth-story h2 {font-size:32px;line-height:1.2;letter-spacing:-.04em;margin:16px 0}
.bizz-auth-story > p {font-size:15px;color:var(--bizz-text-secondary);max-width:290px;line-height:1.7}
.bizz-auth-workflow {display:grid;gap:10px;margin-top:36px}
.bizz-auth-workflow > div {display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--bizz-border);border-radius:10px;background:var(--bizz-surface)}
.bizz-auth-workflow > div > i:first-child {width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:var(--bizz-primary-soft);color:var(--bizz-primary);font-size:20px;flex-shrink:0}
.bizz-auth-workflow > div > i:last-child {margin-left:auto;color:var(--bizz-primary);font-size:18px}
.bizz-auth-workflow > div > span {font-size:12px;font-weight:500;min-width:0;flex:1}
.bizz-auth-rule {display:block;width:65%;height:4px;background:var(--bizz-surface-subtle);margin-top:8px;border-radius:2px}
.bizz-auth-brand-note {font-size:12px;color:var(--bizz-text-muted);margin:0}
.bizz-auth-form-panel {position:relative;display:flex;align-items:center;min-width:0;padding:72px 44px 28px}
.bizz-auth-tools {position:absolute;top:18px;right:24px;display:flex;align-items:center;gap:8px}
.bizz-auth-tools .bizz-theme-toggle {width:36px;height:36px;min-height:36px;font-size:18px;border-color:var(--bizz-border);background:var(--bizz-surface)}
.bizz-auth-form-content {width:100%;max-width:440px;margin:auto;min-width:0}
.bizz-auth :is(.login-page,.register-page,.verification-page,.account-pages) {margin:0!important;padding:0!important;width:100%}
.bizz-auth :is(.login-wrapper,.register-wrapper,.verification-wrapper) {width:100%;max-width:none;margin:0}
.bizz.bizz-auth :is(.login-card,.register-card,.verification-card,.account-pages .card) {max-width:none;margin:0;background:transparent;border:0!important;box-shadow:none!important;border-radius:0}
.bizz.bizz-auth :is(.login-card-body,.register-card-body,.verification-card-body,.account-pages .card-body) {padding:0!important}
.bizz-auth .account-pages .container {max-width:none;padding:0}
.bizz-auth .account-pages .row {margin:0}
.bizz-auth .account-pages .row > [class*="col-"] {width:100%;padding:0}
.bizz-auth :is(.login-card-body,.register-card-body) > .text-center {text-align:left!important;margin-bottom:24px!important}
.bizz.bizz-auth :is(.login-heading,.register-heading,.verification-heading) {font-size:28px;letter-spacing:-.035em}
.bizz-auth :is(.login-subtitle,.register-subtitle,.verification-subtitle,.verification-description) {color:var(--bizz-text-secondary);font-size:14px;line-height:1.6}
.bizz-auth :is(.login-label,.register-label,.form-label) {font-size:13px;margin-bottom:6px}
.bizz-auth :is(.form-control,.form-select) {min-height:44px;font-size:14px}
.bizz-auth :is(.login-btn,.register-btn) {min-height:44px}
.bizz-auth :is(.whatsapp-hint,.password-hint,.register-terms,.register-text,.login-options,.forgot-password) {font-size:12px;color:var(--bizz-text-secondary)}
.bizz-auth .whatsapp-hint {margin-top:5px}
.bizz-auth #registerForm > .mb-3 {margin-bottom:10px!important}
.bizz-auth #registerForm > .form-check {display:flex;align-items:flex-start;gap:8px;padding-left:0;margin:14px 0}
.bizz-auth #registerForm > .form-check .form-check-input {position:static;float:none;margin:3px 0 0;flex-shrink:0}
.bizz-auth :is(.login-footer,.register-footer,.verification-footer) {text-align:center;margin:20px 0 0;font-size:11px;color:var(--bizz-text-muted)}
.bizz-auth .login-card-body > .register-wrapper {margin-top:20px}
.bizz-auth .register-bottom {margin-top:16px}
.bizz-auth .register-card-body > .text-center {margin-bottom:12px!important}
.bizz-auth #registerForm .register-label {line-height:17px;margin-bottom:4px}
.bizz-auth #registerForm > :is(.mb-3,.mb-4) {margin-bottom:8px!important}
.bizz-auth #registerForm > .form-check {min-height:0;margin:10px 0}
.bizz-auth #registerForm .register-terms {margin-bottom:0}
.bizz-auth .register-card-body > .login-wrapper {margin-top:12px}
.bizz-auth .register-footer {margin-top:12px}
@media (min-width:992px) {
 .bizz-auth-form-panel:has(.register-page) {padding-top:46px;padding-bottom:8px}
}
.bizz-wordmark {display:inline-block;font-size:26px;color:var(--bizz-text);font-weight:600;letter-spacing:-.04em}
.bizz-onboarding .bizz-main {padding:24px 24px 40px}
.bizz-onboarding-content {max-width:1080px;margin:auto}
.bizz-onboarding-content .container-fluid {padding:0}
.bizz-company-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.bizz-company-grid--few {grid-template-columns:repeat(2,minmax(0,1fr))}
.bizz-company-grid--single {max-width:520px;grid-template-columns:minmax(0,1fr)}
.bizz-company-choice .bizz-page-heading {margin-bottom:24px}
.bizz-company-card {min-height:184px;display:flex;flex-direction:column;gap:24px;min-width:0;padding:20px;background:var(--bizz-surface);color:var(--bizz-text);border:1px solid var(--bizz-border);border-radius:var(--bizz-radius-lg);text-decoration:none;transition:border-color .15s,box-shadow .15s}
.bizz-company-card:hover,.bizz-company-card:focus-visible {border-color:var(--bizz-primary);box-shadow:var(--bizz-shadow-sm);color:var(--bizz-text)}
.bizz-company-card.is-current {border-color:var(--bizz-primary)}
.bizz-company-identity {display:flex;align-items:flex-start;gap:14px;min-width:0}
.bizz-company-info {min-width:0;flex:1}
.bizz .bizz-company-info h2 {font-size:16px;font-weight:600;line-height:1.4;word-break:normal;overflow-wrap:anywhere;margin:1px 0 10px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.bizz-company-logo {height:48px;width:48px;flex:0 0 48px;display:flex;align-items:center;justify-content:center;color:var(--bizz-primary);background:var(--bizz-primary-soft);border:1px solid var(--bizz-border);border-radius:10px;font-size:24px}
.bizz-company-logo img {width:auto;max-width:100%;max-height:100%;object-fit:contain}
.bizz-company-badges {display:flex;gap:6px;flex-wrap:wrap}
.bizz-company-card-footer {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:14px;border-top:1px solid var(--bizz-border)}
.bizz-company-current {font-size:11px;color:var(--bizz-primary);white-space:nowrap}
.bizz-company-cta {font-size:12px;font-weight:500;color:var(--bizz-primary);white-space:nowrap}
.bizz-company-grid > .bizz-zero-state {grid-column:1/-1}
.bizz-badge {background:var(--bizz-primary-soft);color:var(--bizz-primary)}
@media (max-width:1199.98px) {
 .bizz-company-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:991.98px) {
 .bizz.bizz-auth .bizz-auth-main {padding:20px;align-items:start}
 .bizz-auth-layout {grid-template-columns:minmax(0,1fr);max-width:540px;min-height:0}
 .bizz-auth-brand-panel {padding:20px 24px;border-right:0;border-bottom:1px solid var(--bizz-border)}
 .bizz-auth-brand .bizz-official-logo {height:36px}
 .bizz-auth-story,.bizz-auth-brand-note {display:none}
 .bizz-auth-form-panel {padding:64px 32px 28px}
 .bizz-auth-tools {top:14px;right:20px}
}
@media (max-width:575.98px) {
 .bizz.bizz-auth .bizz-auth-main {padding:0;background:var(--bizz-surface)}
 .bizz-auth-layout {border:0;border-radius:0;min-height:100vh;box-shadow:none;align-content:start}
 .bizz-auth-brand-panel {padding:16px 20px}
 .bizz-auth-brand {font-size:19px}
 .bizz-auth-brand .bizz-official-logo {height:34px}
 .bizz-auth-form-panel {padding:60px 20px 24px}
 .bizz-auth-tools .bizz-theme-toggle {width:36px;height:36px;min-height:36px}
 .bizz.bizz-auth :is(.login-heading,.register-heading,.verification-heading) {font-size:26px}
 .bizz-company-grid {grid-template-columns:minmax(0,1fr)}
 .bizz-onboarding .bizz-main {padding:16px 4px 32px}
 .bizz-company-choice .bizz-page-heading {align-items:flex-start;gap:16px}
 .bizz-company-card {padding:18px}
 .bizz .bizz-company-info h2 {font-size:15px}
}
.bizz-plan-price {font-size:26px;font-weight:600;letter-spacing:-.04em;overflow-wrap:anywhere}
.bizz .verification-box {border:1px solid var(--bizz-line);border-radius:8px;padding:16px}
.bizz .verification-box-header {display:flex;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.bizz .verification-box-title {display:flex;gap:10px;min-width:0;align-items:flex-start}
.bizz .verification-title {font-weight:600}
.bizz :is(.verification-icon,.forgot-password-icon) {width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;background:var(--bizz-soft);color:var(--bizz-accent);border-radius:8px;font-size:1.4rem}
.bizz .verification-status {font-size:.75rem;border-radius:4px;background:var(--bizz-soft);padding:3px 8px;align-self:flex-start;white-space:nowrap}
.bizz .verification-status-verified {color:var(--bizz-accent)}
.bizz .verification-help {margin-top:12px}
.bizz .verification-code {letter-spacing:.35em;text-align:center;font-weight:600}
.bizz .verification-option {display:block;border:1px solid var(--bizz-line);border-radius:8px;padding:12px;margin-bottom:10px;cursor:pointer;position:relative}
.bizz .verification-option.active,.bizz .verification-option:has(input:checked) {border-color:var(--bizz-accent);background:var(--bizz-soft)}
.bizz .verification-option-content {display:flex;gap:10px;align-items:center}
.bizz .verification-option-title {font-weight:600}
.bizz .verification-option-description {font-size:.8rem;color:var(--bizz-muted)}
.bizz .verification-option-icon {font-size:1.4rem;color:var(--bizz-accent)}
.bizz .verification-option-check {position:absolute;right:12px;top:12px}
.bizz-feedback {position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:480px;z-index:1100;box-shadow:var(--bizz-shadow)}
.bizz .bizz-empty {max-width:460px}
.bizz [aria-busy="true"] {cursor:progress}
.bizz .password-strength {height:4px;background:var(--bizz-line);border-radius:4px;overflow:hidden;margin-top:8px}
.bizz #passwordStrengthBar {height:4px;background:var(--bizz-accent)}

.bizz .reset-password-icon {width:40px;height:40px;display:inline-grid;place-items:center;font-size:24px}
/* Invoice core */
.bizz .bizz-invoice-core,.bizz .bizz-invoice-list {min-width:0}
.bizz .bizz-invoice-form .card-header {padding:16px 20px}
.bizz .bizz-invoice-form .card-header h5 {font-size:15px}
.bizz .bizz-invoice-column {min-width:0}
.bizz .bizz-invoice-items {min-width:640px;table-layout:fixed}
.bizz .bizz-invoice-items th:first-child {width:38%}
.bizz .bizz-invoice-items th:nth-child(2) {width:12%}
.bizz .bizz-invoice-items th:nth-child(3),.bizz .bizz-invoice-items th:nth-child(4) {width:17%}
.bizz .bizz-invoice-items th:last-child {width:96px}
.bizz .bizz-invoice-items td:first-child {overflow-wrap:anywhere}
.bizz .bizz-invoice-form .table-responsive {max-width:100%}
.bizz #summaryGrandTotal {font-size:22px;overflow-wrap:anywhere}
.bizz #modalInvoiceItem #itemGrandTotal {font-size:22px}
.bizz .payment-card {display:block;cursor:pointer}
.bizz .payment-radio {position:absolute;opacity:0}
.bizz .payment-card-body,.bizz .selected-template-box {border:1px solid var(--bizz-border);border-radius:var(--bizz-radius);padding:16px;background:var(--bizz-surface)}
.bizz .payment-radio:checked + .payment-card-body {border-color:var(--bizz-primary);background:var(--bizz-primary-soft)}
.bizz .payment-radio:focus-visible + .payment-card-body {outline:2px solid var(--bizz-primary);outline-offset:2px}
.bizz .payment-card-body > .d-flex {gap:12px;flex-wrap:wrap;overflow-wrap:anywhere}
.bizz .selected-template-box > .d-flex {flex-wrap:wrap;gap:8px}
.bizz .selected-template-preview {width:56px;height:72px;flex-shrink:0;overflow:hidden;border-radius:8px;background:var(--bizz-surface-subtle)}
.bizz .selected-template-preview img {width:100%;height:100%;object-fit:contain}
.bizz .template-card {position:relative;height:100%;border:1px solid var(--bizz-border);border-radius:12px;overflow:hidden;background:var(--bizz-surface)}
.bizz .template-selected-card {border-color:var(--bizz-primary);background:var(--bizz-primary-soft)}
.bizz .template-current-badge {position:absolute;top:8px;right:8px}
.bizz .template-preview {min-height:120px;background:var(--bizz-surface-subtle);display:flex;align-items:center;justify-content:center}
.bizz .template-preview img {width:100%;height:180px;object-fit:contain}
.bizz .template-info {padding:16px}
.bizz .template-name {font-size:14px;font-weight:600;color:var(--bizz-text)}
.bizz .template-description {font-size:12px;color:var(--bizz-text-muted)}
.bizz .template-select-btn {width:100%;margin-top:12px}
.bizz .template-no-result {display:none;text-align:center;padding:24px}
.bizz .bizz-invoice-list #tblInvoices {min-width:960px}
.bizz .bizz-invoice-list .dataTables_length select {height:36px;min-height:36px;color:var(--bizz-text);background-color:var(--bizz-surface);border-color:var(--bizz-border)}
@media(max-width:575.98px) {
 .bizz .bizz-invoice-form .card-header {padding:16px}
 .bizz .bizz-invoice-form .row {--bs-gutter-x:16px;--bs-gutter-y:16px}
 .bizz .bizz-invoice-list .card-header > .d-flex {width:100%}
 .bizz .bizz-invoice-form #submitButton {white-space:normal}
}

/* Responsive */
@media(min-width:992px) {
 .bizz-sidebar {width:240px;flex-shrink:0;position:sticky!important;top:0;height:100vh;overflow-y:auto}
 .bizz-sidebar .offcanvas-body {display:block!important;overflow:visible}
}
@media(max-width:991.98px) {
 .bizz-app .bizz-main {padding:20px}
 .bizz-topbar {padding-inline:20px}
 .bizz .bizz-company-switch {max-width:calc(100vw - 192px)}
}
@media(max-width:767.98px) {
 .bizz .fc .fc-toolbar {flex-wrap:wrap;gap:12px}
 .bizz .fc .fc-toolbar-chunk:nth-child(2) {order:-1;width:100%}
 .bizz .fc .fc-toolbar-title {font-size:18px}
 .bizz .fc .fc-button {padding-inline:8px;font-size:12px}
 .bizz .fc .fc-toolbar-chunk {max-width:100%}
 .bizz .fc .fc-daygrid-day-frame {min-height:64px}
 .bizz .fc .fc-daygrid-event {white-space:normal}
}
@media(max-width:575.98px) {
 .bizz-header {padding:16px}
 .bizz .bizz-main,.bizz-onboarding .bizz-main,.bizz-app .bizz-main {padding:16px 16px 32px}
 .bizz-list-toolbar > * {width:100%}
 .bizz .dataTables_wrapper .dataTables_filter {text-align:left}
 .bizz .dataTables_wrapper .dataTables_filter label {display:flex;align-items:center;gap:8px}
 .bizz .dataTables_wrapper .dataTables_filter input {min-width:0;flex:1;margin:0}
 .bizz .dataTables_wrapper .pagination {flex-wrap:wrap;justify-content:flex-start}
 .bizz #loadCustomersContent .table-responsive {padding-inline:8px}
 .bizz-topbar {padding:12px 16px;gap:4px}
 .bizz .bizz-company-switch {font-size:13px;max-width:calc(100vw - 176px)}
 .bizz-company-switch .mdi {display:none}
 .bizz-page-heading {align-items:flex-start;flex-direction:column;gap:16px}
 .bizz-page-heading h1 {font-size:22px}
 .bizz-page-heading > .btn {width:100%}
 .bizz .card-body,.bizz .profile-hero,.bizz .profile-card-body,.bizz .profile-card-header {padding:16px}
 .bizz :is(.login-card-body,.register-card-body,.verification-card-body,.account-pages .card-body) {padding:24px 20px}
 .bizz .login-card-body > .d-flex {flex-wrap:wrap;gap:12px}
 .bizz .verification-box {padding:12px}
 .bizz .verification-box-header {gap:8px}
 .bizz .verification-option-content {padding-right:20px}
 .bizz #formCompanies .row {--bs-gutter-x:16px;--bs-gutter-y:20px}
 .bizz-onboarding .bizz-header {display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}
 .bizz-onboarding .bizz-header .bizz-brand {font-size:18px;gap:8px}
 .bizz-onboarding .bizz-header .btn-link {padding:8px 4px;font-size:12px}
 .bizz-onboarding .bizz-header .bizz-theme-toggle {width:36px;height:36px;min-height:36px}
 .bizz-plan-price,.bizz .bizz-kpi-value {font-size:24px}
 .bizz .bizz-icon-button,.bizz .bizz-theme-toggle {min-height:44px;height:44px;width:44px}
}
@media(prefers-reduced-motion:reduce) {
 .bizz * {scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}
}

@media(min-width:1200px) {
 .bizz .bizz-invoice-column:first-child {width:36%}
 .bizz .bizz-invoice-column:last-child {width:64%}
}
.bizz .bizz-invoice-core .btn-outline-primary {
 --bs-btn-color:var(--bizz-primary);--bs-btn-border-color:var(--bizz-primary);
 --bs-btn-hover-bg:var(--bizz-primary);--bs-btn-hover-border-color:var(--bizz-primary);--bs-btn-hover-color:#fff;
 --bs-btn-active-bg:var(--bizz-primary);--bs-btn-active-border-color:var(--bizz-primary);--bs-btn-active-color:#fff;
}

/* Invoice operations: the document iframe retains its original template. */
.bizz-invoice-operations .bizz-phase5,.bizz-invoice-operations .bizz-phase5-content {min-width:0}
.bizz-invoice-operations .bizz-phase5 .row {--bs-gutter-x:24px;--bs-gutter-y:24px}
.bizz-invoice-operations .bizz-document-column > .card {width:100%}
.bizz-invoice-operations .bizz-document-scroll {width:100%;max-width:100%;overflow:auto;background:#fff;border-radius:8px}
.bizz-invoice-operations #invoicePreview {display:block;width:100%;min-width:760px;height:1100px;border:0;color-scheme:light}
.bizz-invoice-operations .bizz-preview-actions {min-width:0}
.bizz-invoice-operations .invoice-action-item {width:100%;display:flex;align-items:center;gap:12px;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--bizz-text);text-decoration:none;text-align:left}
.bizz-invoice-operations .invoice-action-item:hover {background:var(--bizz-surface-subtle)}
.bizz-invoice-operations .action-icon {display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border-radius:8px;background:var(--bizz-primary-soft);color:var(--bizz-primary);font-size:17px}
.bizz-invoice-operations .action-content {flex:1;min-width:0}
.bizz-invoice-operations .action-title {font-size:13px;font-weight:600}
.bizz-invoice-operations .action-description {font-size:12px;color:var(--bizz-text-muted)}
.bizz-invoice-operations .invoice-action-divider {height:1px;background:var(--bizz-border);margin:8px 0}
.bizz-invoice-operations .timeline {position:relative;border-left:2px solid var(--bizz-border);padding-left:20px;margin-left:8px}
.bizz-invoice-operations .timeline-item {position:relative;padding-bottom:16px}
.bizz-invoice-operations .timeline-dot {position:absolute;left:-25px;top:8px;width:8px;height:8px;border-radius:50%;background:var(--bizz-primary)}
.bizz-invoice-operations .timeline-content {border:1px solid var(--bizz-border);border-radius:12px;padding:16px}
.bizz-invoice-operations .activity-body {max-height:520px;overflow:auto}
.bizz-invoice-operations .recurring-frequency,.bizz-invoice-operations .schedule-job {border:1px solid var(--bizz-border);border-radius:12px;padding:16px;text-align:center;cursor:pointer;background:var(--bizz-surface);height:100%}
.bizz-invoice-operations .recurring-frequency.active,.bizz-invoice-operations .schedule-job.active {border-color:var(--bizz-primary);background:var(--bizz-primary-soft)}
.bizz-invoice-operations .recurring-frequency .fs-1 {font-size:24px!important}
.bizz-invoice-operations #invoiceSearchResult .invoice-item:hover {background:var(--bizz-surface-subtle)}
.bizz-invoice-operations .modal-title,.bizz-invoice-operations .modal-header h4 {font-size:18px}
.bizz-invoice-operations .modal-body,.bizz-invoice-operations .modal-header,.bizz-invoice-operations .modal-footer {padding:20px!important}
.bizz-invoice-operations .modal-body {overflow-wrap:anywhere}
.bizz-invoice-operations .modal-dialog {max-height:calc(100% - 32px)}
.bizz-invoice-operations .modal-content {max-height:calc(100dvh - 32px);overflow-y:auto;background:var(--bizz-surface);border-color:var(--bizz-border)}
.bizz-invoice-operations .modal .table {min-width:560px}
.bizz-invoice-operations .table-responsive {max-width:100%}
.bizz-invoice-operations :is(#tblPaymentAccounts,#tblRecurringInvoices,#invoicePaymentsTable) {min-width:900px}
.bizz-invoice-operations .bg-light,.bizz-invoice-operations .alert-light {background:var(--bizz-surface-subtle)!important;color:var(--bizz-text)}
.bizz-invoice-operations .btn-outline-primary {--bs-btn-color:var(--bizz-primary);--bs-btn-border-color:var(--bizz-primary);--bs-btn-hover-bg:var(--bizz-primary);--bs-btn-hover-border-color:var(--bizz-primary);--bs-btn-hover-color:#fff;--bs-btn-active-bg:var(--bizz-primary);--bs-btn-active-border-color:var(--bizz-primary)}
.bizz-invoice-operations .form-control,.bizz-invoice-operations .form-select {min-width:0}
.bizz-invoice-operations .modal-footer {gap:8px}
.bizz-invoice-operations #invoicePaymentsPagination {flex-wrap:wrap;gap:4px}
@media(max-width:991.98px) {
 .bizz-invoice-operations .bizz-preview-actions {order:-1}
 .bizz-invoice-operations .bizz-preview-actions .position-sticky {position:static!important}
 .bizz-invoice-operations .bizz-preview-actions .invoice-action-item {padding-block:6px}
}
@media(max-width:575.98px) {
 .bizz-invoice-operations .bizz-phase5 .row {--bs-gutter-x:16px;--bs-gutter-y:16px}
 .bizz-invoice-operations .modal-body,.bizz-invoice-operations .modal-header,.bizz-invoice-operations .modal-footer {padding:16px!important}
 .bizz-invoice-operations .modal-footer > .btn {flex:1;white-space:normal}
 .bizz-invoice-operations .timeline-content > .d-flex {flex-wrap:wrap;gap:8px}
 .bizz-invoice-operations .card-header > .d-flex {width:100%}
}

.bizz-invoice-operations .btn.bizz-action-btn {border-radius:var(--bizz-radius-sm)!important}
.bizz-invoice-operations .bizz-actions {gap:6px!important}

/* Finance uses the shared BIZZ tokens; all additions stay within Phase 6. */
.bizz-finance-operations .bizz-phase6 { min-width: 0; }
.bizz-finance-operations .page-content { padding: 0; }
.bizz-finance-operations .card { height: auto; }
.bizz-finance-operations .card.h-100 { height: 100% !important; }
.bizz-finance-operations .card-body { padding: 20px !important; min-width: 0; }
.bizz-finance-operations .card-title { font-size: 16px; font-weight: 600; }
.bizz-finance-operations .row > * { min-width: 0; }
.bizz-finance-operations .form-label { font-size: 13px; }
.bizz-finance-operations .btn-light, .bizz-finance-operations .bg-light { background: var(--bizz-surface-subtle) !important; color: var(--bizz-text) !important; }
.bizz-finance-operations .table-responsive { max-width: 100%; overflow-x: auto; }
.bizz-finance-operations .table { min-width: 700px; }
.bizz-finance-operations .bizz-action-btn { width: 34px; height: 34px; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--bizz-radius-sm) !important; }
.bizz-finance-operations .bizz-actions { gap: 6px !important; }
.bizz-finance-operations .pagination { flex-wrap: wrap; gap: 3px; }
.bizz-finance-operations .transaction-type-card { border: 1px solid var(--bizz-border); border-radius: var(--bizz-radius-sm); padding: 12px; height: 100%; cursor: pointer; }
.bizz-finance-operations .transaction-type-card.active { border-color: var(--bizz-primary); background: var(--bs-primary-bg-subtle); }
.bizz-finance-operations .transaction-type-card:focus-visible, .bizz-finance-operations .icon-cell:focus-visible { outline: 2px solid var(--bizz-primary); outline-offset: 2px; }
.bizz-finance-operations .transaction-type-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; font-size: 20px; }
.bizz-finance-operations .attachment-box { padding: 14px; border: 1px dashed var(--bizz-border); border-radius: var(--bizz-radius-sm); }
.bizz-finance-operations .icon-table { display: grid; grid-template-columns: repeat(auto-fill,minmax(44px,1fr)); gap: 8px; }
.bizz-finance-operations .icon-cell { display: flex; align-items: center; justify-content: center; height: 44px; border: 1px solid var(--bizz-border); border-radius: var(--bizz-radius-sm); cursor: pointer; font-size: 18px; }
.bizz-finance-operations .icon-cell.active { background: var(--bs-primary-bg-subtle); border-color: var(--bizz-primary); color: var(--bizz-primary); }
.bizz-finance-operations .category-item { padding: 10px 12px !important; gap: 12px; }
.bizz-finance-operations .category-name { overflow-wrap: anywhere; }
.bizz-finance-operations .category-item > :first-child { min-width: 0; }
.bizz-finance-operations .category-item > :last-child { flex-shrink: 0; }
.bizz-finance-operations .account-selector-btn { min-height: 64px; white-space: normal; }
.bizz-finance-operations .account-dropdown { width: 430px; max-width: calc(100vw - 48px); background: var(--bizz-surface); border: 1px solid var(--bizz-border) !important; }
.bizz-finance-operations #accountList { max-height: 360px; overflow-y: auto; }
.bizz-finance-operations .account-option { width: 100%; color: var(--bizz-text); white-space: normal; }
.bizz-finance-operations .account-option:hover, .bizz-finance-operations .category-click-item:hover { background: var(--bizz-surface-subtle); }
.bizz-finance-operations .account-option.active { background: var(--bs-primary-bg-subtle); }
.bizz-finance-operations .stat-icon, .bizz-finance-operations .stat-icon-sm { width: 34px; height: 34px; border-radius: var(--bizz-radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.bizz-finance-operations .finance-mini-stat { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--bizz-border); border-radius: var(--bizz-radius-sm); }
.bizz-finance-operations .category-click-item { color: var(--bizz-text); }
.bizz-finance-operations .modal-content { background: var(--bizz-surface); border: 1px solid var(--bizz-border) !important; }
.bizz-finance-operations .modal-header, .bizz-finance-operations .modal-body { padding: 20px !important; }
.bizz-finance-operations .modal-body { overflow-y: auto; }
.bizz-finance-operations .fs-4 { font-size: 24px !important; overflow-wrap: anywhere; }
.bizz-finance-operations .fs-5 { font-size: 20px !important; overflow-wrap: anywhere; }
@media (max-width: 575.98px) {
    .bizz-finance-operations .card-body { padding: 16px !important; }
    .bizz-finance-operations .input-group:has(#financeStartDate) { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 6px 0; }
    .bizz-finance-operations .input-group:has(#financeStartDate) .form-control { width: 100%; min-width: 0; border-radius: var(--bizz-radius-sm) !important; }
    .bizz-finance-operations .fs-4 { font-size: 22px !important; }
    .bizz-finance-operations .account-option .d-flex, .bizz-finance-operations #selectedAccountButton { flex-wrap: wrap; gap: 8px; }
    .bizz-finance-operations .category-item { padding: 10px !important; }
}

/* Business statistics and delivery configuration reuse the BIZZ design tokens. */
.bizz-business-statistics .card-body, .bizz-integration-operations .card-body { padding: 20px !important; min-width: 0; }
.bizz-business-statistics .row > *, .bizz-integration-operations .row > * { min-width: 0; }
.bizz-business-statistics .card.h-100, .bizz-integration-operations .card.h-100 { height: 100% !important; }
.bizz-business-statistics .card h5, .bizz-integration-operations .card h5 { font-size: 16px; }
.bizz-business-statistics .stat-title { color: var(--bizz-text-muted); font-size: 13px; margin-bottom: 8px; }
.bizz-business-statistics .stat-value { font-size: 24px; line-height: 1.3; font-weight: 650; overflow-wrap: anywhere; }
.bizz-business-statistics .stat-icon, .bizz-integration-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--bizz-radius-sm); font-size: 20px; flex-shrink: 0; }
.bizz-integration-icon { color: var(--bizz-primary); background: var(--bizz-primary-soft); }
.bizz-business-statistics .stat-card .card-body { display: flex; flex-direction: column; height: 100%; }
.bizz-business-statistics .stat-card .card-body > :last-child { margin-top: auto !important; padding-top: 14px; font-size: 12px; }
.bizz-business-statistics .stat-card .card-body > .d-flex { gap: 8px; }
.bizz-business-statistics .stat-card .card-body > .d-flex > :first-child { min-width: 0; }
.bizz-business-statistics .bizz-statistics-chart { height: 320px; min-width: 0; }
.bizz-business-statistics #statisticsResults { min-width: 0; }
.bizz-integration-operations .form-label { font-size: 13px; }
.bizz-integration-operations .alert-light { background: var(--bizz-surface-subtle); color: var(--bizz-text-secondary); }
.bizz-integration-operations .table-responsive { max-width: 100%; overflow-x: auto; }
.bizz-integration-operations .table { min-width: 820px; }
.bizz-integration-operations .bizz-action-btn { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 !important; border-radius: var(--bizz-radius-sm) !important; }
.bizz-integration-operations .bizz-actions { display: flex; gap: 6px !important; }
.bizz-integration-operations .modal-content { background: var(--bizz-surface); border-color: var(--bizz-border); }
.bizz-integration-operations .modal-header, .bizz-integration-operations .modal-body { padding: 20px; }
.bizz-integration-operations .modal-title { font-size: 16px; }
.bizz-integration-operations .dataTables_wrapper .row { gap: 12px 0; }
@media (max-width: 575.98px) {
    .bizz-business-statistics .card-body, .bizz-integration-operations .card-body { padding: 16px !important; }
    .bizz-business-statistics .stat-value { font-size: 22px; }
    .bizz-business-statistics .bizz-statistics-chart { height: 260px; }
    .bizz-business-statistics .stat-card .card-body > .d-flex { flex-wrap: wrap; }
    .bizz-integration-operations #formIntegrations .d-flex.gap-2 { flex-wrap: wrap; }
    .bizz-integration-operations #formIntegrations .d-flex.gap-2 > .btn { flex-basis: 100%; }
}
.bizz-business-statistics .list-group-item { background: transparent; color: var(--bizz-text); }
.bizz-business-statistics .stat-title { line-height: 1.5; min-height: 3em; }
@media (max-width: 1199.98px) {
    .bizz-business-statistics .stat-card .stat-icon { display: none; }
}

/* Account, subscription and business settings: use the existing BIZZ tokens. */
.bizz .bizz-account-area {min-width:0}
.bizz .bizz-account-area .card {overflow:hidden}
.bizz .bizz-account-avatar {width:48px;height:48px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:600}
.bizz .bizz-account-area .profile-section {border-bottom:1px solid var(--bizz-border);padding-bottom:20px;margin-bottom:20px}
.bizz .bizz-account-area .password-wrapper {position:relative}
.bizz .bizz-account-area .password-wrapper input {padding-right:44px}
.bizz .bizz-account-area :is(.bizz-account-detail,.bizz-account-facts>div) {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--bizz-border)}
.bizz .bizz-account-area :is(.bizz-account-detail,.bizz-account-facts>div):last-child {border-bottom:0;padding-bottom:0}
.bizz .bizz-account-area :is(.bizz-account-detail,.bizz-account-facts>div):first-child {padding-top:0}
.bizz .bizz-account-facts {font-size:13px}
.bizz .bizz-account-facts dt {font-weight:400;color:var(--bizz-text-secondary)}
.bizz .bizz-account-facts dd {margin:0;text-align:right;overflow-wrap:anywhere}
.bizz .bizz-account-plan {padding:16px;border-radius:var(--bizz-radius-sm);background:var(--bizz-surface-subtle)}
.bizz .bizz-account-area .badge {flex-shrink:0;white-space:nowrap}
.bizz .bizz-account-area .bizz-billing-action {min-height:34px;height:34px;padding:4px 10px;white-space:nowrap;font-size:12px}
.bizz #bizzBillingTable {min-width:760px}
.bizz #tblLogs {min-width:700px}
.bizz .bizz-account-area .table-responsive {max-width:100%;overflow-x:auto}
.bizz .bizz-topbar .dropdown-menu {max-width:calc(100vw - 24px)}

/* Existing developer plan controls share BIZZ's compact form language. */
.bizz .bizz-plan-setting {padding:16px;border:1px solid var(--bizz-border);border-radius:var(--bizz-radius-sm)}
.bizz .bizz-plan-admin {min-width:0}
.bizz #tblPlans {min-width:760px}
.bizz .bizz-plan-admin .table-responsive {max-width:100%;overflow-x:auto}

/* Normal Bootstrap dialogs remain at 1055. Shared process feedback owns one layer. */
#bizz-process-backdrop { z-index: 1070; }
.bizz-process-modal { z-index: 1075; }
