.revenue-report>.report-filters{justify-content:flex-end;gap:10px;padding:10px 12px;box-shadow:0 2px 8px #0f172a08}.revenue-report .report-filter-options{gap:10px;display:flex}.revenue-report .report-filter-options .custom-dropdown{min-width:152px}.revenue-report .report-filters .filter-date-field{min-width:142px}.revenue-report .report-filters .filter-reset{align-self:end}.revenue-report .data-card table{min-width:0}.report-pagination{border-top:1px solid var(--border);color:var(--secondary);justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:12px;display:flex}.report-pagination>div{align-items:center;gap:8px;display:flex}.report-pagination button{border:1px solid var(--border);color:#334155;background:#fff;border-radius:7px;padding:7px 10px;font-weight:700}.report-pagination button:disabled{cursor:not-allowed;color:#94a3b8;background:#f8fafc}@media (width<=640px){.revenue-report>.report-filters{justify-content:stretch;gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 42px!important}.revenue-report .report-filter-options{grid-row:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid;grid-column:1/-1!important}.revenue-report .report-filter-options .custom-dropdown{width:100%;min-width:0!important}.revenue-report .report-filters>.filter-date-field:first-of-type{grid-area:2/1/auto/2!important}.revenue-report .report-filters>.filter-date-field:nth-of-type(2){grid-area:2/2/auto/3!important}.revenue-report .report-filters>.filter-reset{place-self:center stretch;grid-area:2/3/auto/4!important}.revenue-report .report-filters .filter-date-field{width:100%;min-width:0}.revenue-report .report-filters .date-input-shell{flex:1;width:0;min-width:0}.revenue-report .report-filters .date-display-value{width:100%!important}.revenue-report .report-filters .filter-date-field input{flex:1;width:100%!important}.revenue-report .data-card table{min-width:0!important}.revenue-report .data-card th,.revenue-report .data-card td{padding:9px 8px;font-size:11px}.report-pagination{flex-direction:column;align-items:flex-start}}.owner-z-view{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:9px;place-items:center;min-width:42px;min-height:42px;display:inline-grid}.owner-z-view:hover{background:#dbeafe}.owner-z-view:focus-visible,.owner-z-close:focus-visible,.owner-z-footer button:focus-visible{outline-offset:2px;outline:3px solid #60a5fa}.owner-z-overlay{z-index:1000;background:#0f172a99;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.owner-z-dialog{background:#f8fafc;border-radius:16px;outline:none;flex-direction:column;width:min(100%,1040px);min-width:0;max-height:90dvh;display:flex;overflow:hidden;box-shadow:0 24px 80px #0f172a60}.owner-z-heading{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex}.owner-z-heading>div{min-width:0}.owner-z-heading h2{align-items:center;gap:10px;font-size:20px;display:flex}.owner-z-heading p{color:#64748b;overflow-wrap:anywhere;margin-top:6px}.owner-z-close{color:#334155;background:#f1f5f9;border-radius:9px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.owner-z-content{overscroll-behavior:contain;min-height:0;padding:20px 24px;overflow-y:auto}.owner-z-caption,.owner-z-notice{color:#475569;margin-bottom:16px;font-size:13px;line-height:1.5}.owner-z-notice{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:9px;padding:12px}.owner-z-sections{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid}.owner-z-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;min-width:0;overflow:hidden}.owner-z-section h3{border-bottom:1px solid #e2e8f0;padding:14px 16px;font-size:15px}.owner-z-table-scroll{overflow-x:auto}.owner-z-section table{table-layout:fixed;width:100%;min-width:0}.owner-z-section th,.owner-z-section td{overflow-wrap:anywhere;white-space:normal;vertical-align:top;padding:10px 14px;font-size:12px}.owner-z-section th:last-child,.owner-z-section td:last-child{text-align:right;font-variant-numeric:tabular-nums}.owner-z-footer{background:#fff;border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:12px;padding:14px 24px;display:flex}.owner-z-footer span{color:#64748b;font-size:12px}.owner-z-footer button{color:#fff;background:#2563eb;border-radius:9px;min-height:44px;padding:10px 24px;font-weight:700}@media (width<=700px){.owner-z-overlay{padding:12px}.owner-z-dialog{max-height:calc(100dvh - 24px)}.owner-z-heading,.owner-z-content,.owner-z-footer{padding:16px}.owner-z-sections{grid-template-columns:minmax(0,1fr)}.owner-z-heading h2{font-size:18px}}.customer-reports-page .customer-profile-link{color:#1d4ed8;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;max-width:100%;min-height:44px;padding:5px 10px 5px 5px;text-decoration:none;transition:background .15s,border-color .15s;display:inline-flex}.customer-reports-page .customer-profile-initial{color:#2563eb;background:#eff6ff;border-radius:9px;flex-shrink:0;place-items:center;width:32px;height:32px;font-size:13px;font-weight:700;display:grid}.customer-reports-page .customer-profile-name{overflow-wrap:anywhere;font-weight:650}.customer-reports-page .customer-profile-chevron{color:#94a3b8;flex-shrink:0}.customer-reports-page .customer-profile-link:hover,.customer-reports-page .customer-profile-link:focus-visible{background:#eff6ff;border-color:#bfdbfe;text-decoration:none}.customer-reports-page .customer-profile-link:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.customer-reports-page .customer-profile-link:hover .customer-profile-chevron{color:#2563eb}.customer-reports-page .customer-list-row:focus-within td{background:#eff6ff}@media (width<=640px){.customer-reports-page .customer-profile-link{gap:7px;padding-right:6px}}@media (prefers-reduced-motion:reduce){.customer-reports-page .customer-profile-link{transition:none}}:root{--primary:#2563eb;--primary-hover:#1d4ed8;--navy:#0f172a;--navy-2:#1e293b;--page:#f8fafc;--card:#fff;--blue-soft:#eff6ff;--blue-border:#dbeafe;--border:#e2e8f0;--text:#0f172a;--secondary:#64748b;--muted:#94a3b8;--success:#10b981;--success-bg:#ecfdf5;--warning:#f59e0b;--warning-bg:#fffbeb;--danger:#ef4444;--danger-bg:#fef2f2;--purple:#8b5cf6;--purple-bg:#f5f3ff;--radius:12px;font-family:Inter,Plus Jakarta Sans,system-ui,sans-serif}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--page);min-height:100vh;color:var(--text);font-size:14px;overflow-x:hidden}button,input,select{font:inherit}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}.admin-app-shell{background:var(--page);min-height:100vh;display:flex}.admin-app-content{flex-direction:column;flex:1;min-width:0;display:flex;overflow-x:hidden}.admin-app-main{flex:1;padding:2rem}.portal-sidebar{background:var(--navy);color:#fff;flex-direction:column;flex-shrink:0;width:240px;height:100vh;padding:20px 12px 14px;display:flex;position:sticky;top:0}.portal-brand{align-items:center;gap:11px;padding:4px 10px 22px;display:flex}.brand-mark{background:var(--primary);border-radius:10px;place-items:center;width:36px;height:36px;display:grid;box-shadow:0 6px 14px #2563eb45}.portal-brand strong{letter-spacing:.04em;font-size:15px;display:block}.portal-brand span{color:#94a3b8;letter-spacing:.12em;margin-top:2px;font-size:10px;font-weight:700;display:block}.nav-section-label{color:#64748b;letter-spacing:.12em;text-transform:uppercase;padding:0 12px 8px;font-size:10px;font-weight:800}.portal-nav{gap:4px;display:grid}.portal-nav a{color:#94a3b8;border-radius:9px;align-items:center;gap:12px;padding:11px 12px;font-weight:600;transition:background .16s,color .16s;display:flex}.portal-nav a:hover{background:var(--navy-2);color:#fff}.portal-nav a[aria-current=page]{color:#fff;background:var(--primary);box-shadow:inset 3px 0 #93c5fd,0 4px 12px #2563eb33}.sidebar-insight{color:#93c5fd;background:#1e293b8f;border:1px solid #94a3b82b;border-radius:10px;align-items:flex-start;gap:10px;margin-top:auto;padding:13px;display:flex}.sidebar-insight strong{color:#f8fafc;font-size:12px;display:block}.sidebar-insight span{color:#94a3b8;margin-top:3px;font-size:10px;display:block}.sidebar-footer{border-top:1px solid #94a3b826;margin-top:12px;padding:14px 5px 0}.sidebar-logout{color:#cbd5e1;text-align:left;background:0 0;border-radius:8px;align-items:center;gap:10px;width:100%;padding:10px 8px;display:flex}.sidebar-logout:hover{color:#fca5a5;background:#ef44441f}.portal-header{z-index:10;border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;height:76px;padding:0 30px;display:flex;position:sticky;top:0}.header-title{align-items:center;gap:10px;min-width:0;display:flex}.header-title span{color:var(--muted);font-size:12px;display:block}.header-title h1{letter-spacing:-.02em;white-space:nowrap;margin-top:3px;font-size:clamp(18px,2vw,22px);line-height:1}.header-actions{align-items:center;gap:12px;display:flex}.header-search{width:210px;color:var(--muted);background:var(--page);border:1px solid var(--border);border-radius:8px;align-items:center;gap:8px;padding:9px 11px;display:flex}.header-search input{width:100%;color:var(--text);background:0 0;border:0;outline:0;font-size:12px}.icon-button,.mobile-menu-button{color:#475569;border:1px solid var(--border);background:#fff;border-radius:8px;place-items:center;width:36px;height:36px;position:relative}.icon-button{display:grid}.mobile-menu-button{display:none}.icon-button i{background:var(--danger);border:1px solid #fff;border-radius:50%;width:6px;height:6px;position:absolute;top:7px;right:7px}.company-chip{color:#475569;background:var(--page);border:1px solid var(--border);border-radius:8px;align-items:center;gap:6px;padding:9px 10px;font-size:12px;font-weight:700;display:flex}.header-profile{align-items:center;gap:8px;padding-left:4px;font-size:12px;font-weight:700;display:flex}.header-avatar{width:34px;height:34px;color:var(--primary);background:var(--blue-soft);border:1px solid var(--blue-border);border-radius:50%;place-items:center;display:grid}.header-profile-menu{position:relative}.header-profile{color:#334155;background:#fff;border:1px solid #0000;border-radius:10px;padding:4px 7px 4px 4px}.header-profile:hover,.header-profile[aria-expanded=true]{background:#f8fafc;border-color:#dbe3ed}.header-profile>svg{color:#64748b}.profile-dropdown{z-index:30;background:#fff;border:1px solid #dbe3ed;border-radius:11px;width:190px;padding:6px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 14px 30px #0f172a2e}.profile-dropdown-info{border-bottom:1px solid #eef2f7;padding:9px 10px 11px}.profile-dropdown-info b,.profile-dropdown-info span{display:block}.profile-dropdown-info b{font-size:12px}.profile-dropdown-info span{color:#64748b;margin-top:3px;font-size:10px}.profile-dropdown button{color:#dc2626;text-align:left;background:0 0;border-radius:7px;align-items:center;gap:8px;width:100%;margin-top:5px;padding:9px 10px;font-size:12px;font-weight:700;display:flex}.profile-dropdown button:hover{background:#fef2f2}.header-print-button{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:9px;align-items:center;gap:6px;min-height:38px;padding:8px 10px;font-size:11px;font-weight:800;display:flex}.header-print-button:hover{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.report-page{gap:14px;max-width:1440px;margin:0 auto;display:grid}.page-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.page-heading h1{letter-spacing:-.025em;font-size:26px;font-weight:700}.page-heading p{color:var(--secondary);margin-top:6px;font-size:14px}.live-status{color:#047857;background:var(--success-bg);border:1px solid #a7f3d0;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.report-filters{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);flex-wrap:wrap;align-items:center;gap:8px;padding:12px;display:flex}.customer-search-filter{justify-content:flex-start!important}.filter-label{color:#334155;align-items:center;gap:6px;margin-right:4px;font-weight:700;display:flex}.report-filters select,.report-filters input{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:0;height:40px;padding:0 10px}.report-filters select:focus,.report-filters input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1f}.filter-action{color:#fff;background:var(--primary);border-radius:8px;height:40px;padding:0 13px;font-size:12px;font-weight:700}.filter-action:hover{background:var(--primary-hover)}.filter-reset{color:#475569;border:1px solid var(--border);background:#fff;border-radius:8px;place-items:center;width:40px;height:40px;display:grid}.filter-reset:hover{background:var(--page)}.filter-date-field{align-items:center;gap:8px;min-width:170px;display:flex}.filter-date-field:first-of-type{margin-left:auto}.filter-date-field span{color:#64748b;letter-spacing:.04em;text-transform:uppercase;flex:none;font-size:10px;font-weight:800}.filter-date-field input{width:100%;min-width:0}.date-input-shell{flex:1;min-width:0;position:relative}.date-display-value{pointer-events:none;font-weight:650;color:#26384e!important}.native-date-input{opacity:0;cursor:pointer;height:100%;inset:0;width:100%!important;position:absolute!important}.native-date-input::-webkit-calendar-picker-indicator{cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.custom-dropdown{z-index:3;min-width:160px;position:relative}.custom-dropdown-trigger{color:#26384e;text-align:left;background:#fff;border:1px solid #cbd5e1;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:42px;padding:10px 12px;font-size:12px;font-weight:650;transition:border-color .15s,box-shadow .15s,background-color .15s;display:flex;box-shadow:0 1px 2px #0f172a0a}.custom-dropdown-trigger:hover{background:#f8fafc;border-color:#94a3b8}.custom-dropdown-trigger:focus-visible{border-color:var(--primary);outline:0;box-shadow:0 0 0 3px #2563eb24}.custom-dropdown-trigger svg{color:#64748b;flex:none}.custom-dropdown-menu{background:#fff;border:1px solid #dbe3ed;border-radius:10px;min-width:max-content;max-height:260px;padding:5px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto;box-shadow:0 14px 30px #0f172a2e}.custom-dropdown-menu button{color:#334155;text-align:left;white-space:nowrap;background:0 0;border-radius:7px;justify-content:space-between;align-items:center;gap:18px;width:100%;padding:10px;font-size:12px;font-weight:600;display:flex}.custom-dropdown-menu button:hover{background:#f1f5f9}.custom-dropdown-menu button.selected{color:#1d4ed8;background:#eff6ff}.custom-dropdown-menu button svg{color:var(--primary)}.header-branch-dropdown{min-width:140px}.header-branch-dropdown .custom-dropdown-trigger{font-weight:700}.dashboard-hero{color:#fff;background:linear-gradient(120deg,#0f172a,#2563eb);border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;display:flex}.dashboard-hero p{color:#bfdbfe;letter-spacing:.12em;font-size:10px;font-weight:800}.dashboard-hero h2{margin:5px 0;font-size:24px}.dashboard-hero span{color:#dbeafe;font-size:12px}.dashboard-hero>b{white-space:nowrap;border:1px solid #ffffff40;border-radius:999px;padding:8px 10px;font-size:11px}.dashboard-error{color:#dc2626;background:#fff;border:1px solid #fecaca;border-radius:10px;gap:8px;padding:14px;display:flex}.dashboard-grid{grid-template-columns:1.35fr 1fr;gap:14px;display:grid}.sales-bars{align-items:end;gap:10px;height:210px;padding:16px;display:flex}.sales-bar{text-align:center;flex:1;align-items:end;gap:6px;min-width:0;display:grid}.sales-bar i{background:linear-gradient(#60a5fa,#2563eb);border-radius:6px 6px 0 0;min-height:6px;display:block}.sales-bar span,.sales-bar b{color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.sales-bar b{color:#334155}.dashboard-list{padding:6px 16px}.dashboard-list>div{border-bottom:1px solid #eef2f7;align-items:center;gap:10px;padding:10px 0;display:flex}.dashboard-list>div:last-child{border:0}.dashboard-list em{color:#2563eb;background:#eff6ff;border-radius:8px;place-items:center;width:27px;height:27px;font-size:11px;font-style:normal;display:grid}.dashboard-list span{flex:1;min-width:0}.dashboard-list b,.dashboard-list small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.dashboard-list b{font-size:12px}.dashboard-list small{color:#94a3b8;margin-top:3px;font-size:10px}.dashboard-list strong{white-space:nowrap;font-size:12px}.dashboard-summary>strong{color:#047857;background:#ecfdf5;border-radius:10px;margin:16px;padding:15px;font-size:24px;display:block}.dashboard-summary p{border-top:1px solid var(--border);color:#64748b;justify-content:space-between;padding:10px 16px;font-size:12px;display:flex}.dashboard-summary p b{color:#0f172a}.dashboard-empty{color:#94a3b8;text-align:center;padding:28px;font-size:12px}.dashboard-page{gap:16px}.dashboard-status{justify-content:flex-end;margin-bottom:-8px;display:flex}.dashboard-status .live-status{align-items:center;gap:5px;display:inline-flex}.dashboard-hero{background:linear-gradient(115deg,#0b1630 0%,#123f94 56%,#2563eb 100%);padding:26px 28px;position:relative;overflow:hidden;box-shadow:0 14px 28px #1e40af29}.dashboard-hero:after{content:"";border:1px solid #bfdbfe40;border-radius:50%;width:270px;height:270px;position:absolute;bottom:-105px;right:-52px}.dashboard-hero h2{letter-spacing:-.03em;font-size:clamp(22px,3vw,28px)}.dashboard-hero>div:first-child{z-index:1;position:relative}.dashboard-hero>div:first-child>span{align-items:center;gap:6px;display:flex}.dashboard-hero-stat{z-index:1;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0f172a33;border:1px solid #dbeafe38;border-radius:12px;gap:4px;min-width:205px;padding:13px 15px;display:grid;position:relative}.dashboard-hero-stat span{color:#bfdbfe;letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:750}.dashboard-hero-stat b{letter-spacing:-.025em;font-size:19px}.dashboard-hero-stat small{color:#dbeafe;align-items:center;gap:4px;font-size:10px;display:flex}.dashboard-kpis .kpi-card{min-height:118px;box-shadow:0 5px 16px #0f172a0a;padding:17px!important}.dashboard-kpis .kpi-card-value{font-size:22px!important}.dashboard-trend-card{background:linear-gradient(#fff,#f8fbff)}.sales-bars{background:repeating-linear-gradient(#0000 0 48px,#e9f1fb 49px,#0000 50px);gap:12px;height:230px;padding:18px 18px 14px;position:relative}.sales-bar{z-index:1;position:relative}.sales-bar i{transition:filter .16s,transform .16s;box-shadow:0 4px 9px #2563eb2e}.sales-bar:hover i{filter:brightness(1.08);transform:scaleX(1.08)}.sales-bar b{font-size:10px}.collection-rate{gap:11px;padding:18px 16px 15px;display:grid}.collection-rate>div{justify-content:space-between;align-items:baseline;display:flex}.collection-rate span{color:#64748b;font-size:12px;font-weight:700}.collection-rate b{color:#047857;letter-spacing:-.04em;font-size:22px}.collection-rate i{background:#e2e8f0;border-radius:999px;height:8px;display:block;overflow:hidden}.collection-rate i span{border-radius:inherit;background:linear-gradient(90deg,#10b981,#34d399);height:100%;display:block}.collection-rate small{color:#64748b;font-size:11px}.dashboard-summary p{padding:11px 16px}.dashboard-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.dashboard-toolbar .dashboard-status{margin:0}.dashboard-periods{background:#f8fafc;border:1px solid #dbe4f0;border-radius:10px;gap:3px;padding:4px;display:inline-flex;box-shadow:0 1px 3px #0f172a0a}.dashboard-periods button{color:#64748b;background:0 0;border:0;border-radius:7px;padding:7px 11px;font-size:11px;font-weight:750;transition:background .15s,color .15s,box-shadow .15s}.dashboard-periods button:hover{color:#1e40af;background:#eff6ff}.dashboard-periods button.active{color:#fff;background:#2563eb;box-shadow:0 2px 5px #2563eb42}.dashboard-periods button:focus-visible{outline-offset:2px;outline:3px solid #2563eb40}@media (width<=640px){.dashboard-toolbar{flex-direction:column-reverse;align-items:flex-start;gap:8px}.dashboard-toolbar .dashboard-status{margin:0}.dashboard-periods{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.dashboard-periods button{padding:8px 5px;font-size:10px}}@media print{@page{size:A4 portrait;margin:10mm}html,body,#root,.admin-app-shell,.admin-app-content{color:#000!important;background:#fff!important;font-size:12px!important;display:block!important}.portal-sidebar,.admin-app-shell>aside,.portal-header,.admin-app-content>header,.mobile-nav-backdrop,.mobile-nav-drawer{display:none!important}.admin-app-main{margin:0!important;padding:0!important;display:block!important}.report-page{gap:12px!important;max-width:none!important;margin:0!important}.data-card{break-inside:avoid;box-shadow:none!important;overflow:visible!important}.data-card table,table{table-layout:auto!important;min-width:0!important}th,td{color:#000!important;white-space:normal!important;padding:7px!important;font-size:10px!important}th{background:#f1f5f9!important}.card-title h2,.card-title span,.metric-card span,.metric-card strong,.dashboard-list b,.dashboard-list small,.dashboard-list strong,.summary-line,.summary-line b{color:#000!important;opacity:1!important}.metric-grid{grid-template-columns:repeat(4,1fr)!important}.metric-card,.glass-card{box-shadow:none!important}.dashboard-hero{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.metric-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);justify-content:space-between;align-items:center;min-height:92px;padding:14px;transition:transform .16s,box-shadow .16s;display:flex;box-shadow:0 1px 2px #0f172a08}.metric-card:hover{transform:translateY(-1px);box-shadow:0 8px 18px #0f172a0f}.metric-card span{color:var(--secondary);letter-spacing:.05em;text-transform:uppercase;font-size:11px;font-weight:800;display:block}.metric-card strong{letter-spacing:-.03em;margin-top:6px;font-size:21px;display:block}.metric-card i{color:var(--primary);background:var(--blue-soft);border-radius:10px;place-items:center;padding:9px;font-style:normal;display:grid}.metric-card.success i,.positive{color:var(--success);background:var(--success-bg)}.metric-card.warning i{color:var(--warning);background:var(--warning-bg)}.metric-card.danger i,.negative{color:var(--danger);background:var(--danger-bg)}.data-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow:auto}.card-title{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:13px 16px;display:flex}.card-title h2{font-size:16px;font-weight:700}.card-title span{color:var(--secondary);font-size:12px}table{border-collapse:collapse;width:100%;min-width:570px}th{color:var(--secondary);background:var(--page);border-bottom:1px solid var(--border);text-align:left;letter-spacing:.04em;text-transform:uppercase;padding:10px 16px;font-size:11px;font-weight:800}td{border-top:1px solid var(--border);color:#334155;padding:10px 16px;font-size:13px}tbody tr:hover{background:var(--page)}.empty-row{color:var(--muted);text-align:center;padding:24px}.table-total td{color:var(--text);background:var(--blue-soft);font-weight:800}.glass-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 1px 2px #0f172a08}.badge{border-radius:999px;align-items:center;gap:4px;padding:4px 8px;font-size:11px;font-weight:700;display:inline-flex}.badge-emerald{color:#047857;background:var(--success-bg);border:1px solid #a7f3d0}.badge-blue{color:#1d4ed8;background:var(--blue-soft);border:1px solid var(--blue-border)}.badge-amber{color:#b45309;background:var(--warning-bg);border:1px solid #fde68a}.badge-rose{color:#b91c1c;background:var(--danger-bg);border:1px solid #fecaca}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:8px}::-webkit-scrollbar-track{background:0 0}@media (width<=900px){.portal-sidebar{width:72px;padding:20px 10px}.portal-brand{justify-content:center;padding-inline:0}.portal-brand>div:last-child,.portal-nav span,.nav-section-label,.sidebar-insight div,.sidebar-logout span{display:none}.portal-nav a{justify-content:center;padding:12px}.sidebar-logout{justify-content:center}.header-search{width:150px}.portal-header{padding:0 18px}.admin-app-main{padding:1.5rem}}@media (width<=640px){.portal-sidebar{display:none}.portal-header{height:68px;padding:0 14px}.mobile-menu-button{display:grid}.header-title span,.header-search,.company-chip,.header-profile span{display:none}.header-title h1{font-size:19px}.header-actions{gap:8px}.report-filters{align-items:stretch}.report-filters select,.report-filters input,.filter-action{flex:1}.page-heading{display:block}.live-status{margin-top:10px;display:inline-block}.dashboard-status{justify-content:flex-start;margin-bottom:0}table{min-width:520px}.admin-app-main{padding:1rem}}.mobile-nav-backdrop{z-index:40;background:#0f172a7a;border:0;position:fixed;inset:0}.mobile-nav-drawer{z-index:50;background:var(--navy);color:#fff;flex-direction:column;width:min(82vw,320px);padding:18px 14px;display:flex;position:fixed;top:0;bottom:0;left:0;box-shadow:16px 0 36px #0f172a47}.mobile-nav-brand{border-bottom:1px solid #94a3b829;align-items:center;gap:10px;padding:3px 4px 20px;display:flex}.mobile-nav-brand strong{letter-spacing:.04em;font-size:14px;display:block}.mobile-nav-brand span{color:#94a3b8;letter-spacing:.12em;margin-top:2px;font-size:10px;font-weight:700;display:block}.mobile-nav-brand button{color:#cbd5e1;background:#94a3b81f;border-radius:8px;place-items:center;width:34px;height:34px;margin-left:auto;display:grid}.mobile-nav-links{gap:5px;padding-top:18px;display:grid}.mobile-nav-links a{color:#cbd5e1;border-radius:9px;align-items:center;gap:12px;padding:12px;font-weight:650;display:flex}.mobile-nav-links a[aria-current=page]{background:var(--primary);color:#fff;box-shadow:inset 3px 0 #93c5fd}.mobile-nav-logout{color:#cbd5e1;margin-top:auto}.admin-form-control,.glass-card input:not([type=checkbox]):not([type=radio]):not([type=range]),.glass-card select,.glass-card textarea,.header-actions select,.report-filters :is(input,select){color:#26384e;background:#fff;border:1px solid #cbd5e1;border-radius:9px;outline:0;min-height:42px;padding:10px 12px;line-height:1.35;transition:border-color .15s,box-shadow .15s,background-color .15s;box-shadow:0 1px 2px #0f172a0a}.admin-form-control:hover,.glass-card :is(input,select,textarea):hover,.header-actions select:hover,.report-filters :is(input,select):hover{border-color:#94a3b8}.admin-form-control:focus-visible,.glass-card :is(input,select,textarea):focus-visible,.header-actions select:focus-visible,.report-filters :is(input,select):focus-visible{border-color:var(--primary);background:#fff;box-shadow:0 0 0 3px #2563eb24}.admin-form-control[readonly],.glass-card :is(input,select,textarea)[readonly]{cursor:default;color:#64748b;box-shadow:none;background:#f1f5f9;border-color:#dbe3ed}.admin-form-control:disabled,.glass-card :is(input,select,textarea):disabled,.header-actions select:disabled,.report-filters :is(input,select):disabled{cursor:not-allowed;color:#94a3b8;box-shadow:none;background:#f1f5f9;border-color:#e2e8f0}.admin-form-control:invalid:not(:placeholder-shown),.glass-card :is(input,select,textarea):invalid:not(:placeholder-shown){border-color:var(--danger);background:snow}.glass-card label,.report-filters label{color:#475569;font-size:12px;font-weight:700}.form-error{color:#be123c;margin-top:5px;font-size:11px;font-weight:650}.header-actions select{max-width:180px;padding-top:0;padding-bottom:0;font-size:12px;font-weight:700}.report-filters :is(input,select){height:42px}.glass-card textarea{resize:vertical;min-height:96px}.admin-form-control:is(select),.glass-card select,.header-actions select,.report-filters select{cursor:pointer;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364758b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 11px center;background-repeat:no-repeat;background-size:16px;font-weight:650;padding-right:36px!important}.admin-form-control:is(select):hover,.glass-card select:hover,.header-actions select:hover,.report-filters select:hover{background-color:#f8fafc}.admin-form-control:is(select):focus-visible,.glass-card select:focus-visible,.header-actions select:focus-visible,.report-filters select:focus-visible{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}.admin-form-control:is(select):disabled,.glass-card select:disabled,.header-actions select:disabled,.report-filters select:disabled{cursor:not-allowed;background-image:none}@media (width<=640px){.glass-card :is(input,select,textarea),.header-actions select{width:100%}.header-actions select{max-width:150px}.admin-app-main{padding:12px}.portal-header{height:62px;padding:0 12px}.header-title h1{font-size:clamp(16px,5vw,19px)}.header-title-medium h1{font-size:clamp(15px,4.6vw,18px)}.header-title-long h1{font-size:clamp(14px,4.2vw,17px)}.header-actions{gap:6px;margin-left:auto}.header-actions>select{width:auto;max-width:108px;min-height:36px;font-size:11px}.header-branch-dropdown{min-width:108px;max-width:108px}.header-branch-dropdown .custom-dropdown-trigger{min-height:38px;padding:8px 9px;font-size:11px}.header-profile{padding:3px}.header-profile>svg{display:none}.header-print-button{justify-content:center;width:34px;min-height:34px;padding:0}.header-print-button span{display:none}.icon-button,.mobile-menu-button{width:34px;height:34px}.header-avatar{width:32px;height:32px}.report-page{gap:10px}.report-filters{align-items:center;gap:8px;padding:10px}.report-filters:has(.filter-date-field){grid-template-columns:minmax(0,1fr) minmax(0,1fr) 42px;align-items:end;display:grid}.filter-label{flex:100%;margin:0 0 2px;font-size:12px}.report-filters>select,.report-filters>.custom-dropdown{flex:100%;width:100%;min-width:0}.report-filters:has(.filter-date-field)>.custom-dropdown{grid-column:1/-1}.custom-dropdown-menu{max-height:230px}.filter-date-field{min-width:0}.filter-date-field:first-of-type{margin-left:0}.filter-date-field input{width:85%}.report-filters:has(.filter-date-field)>.filter-reset{grid-column:3;align-self:end}.dashboard-hero{padding:16px}.dashboard-hero h2{font-size:19px}.dashboard-hero span{font-size:10px}.dashboard-hero>b{padding:6px 8px;font-size:9px}.dashboard-grid{grid-template-columns:1fr;gap:10px}.sales-bars{gap:6px;height:175px;padding:12px}.dashboard-list{padding:4px 12px}.dashboard-summary>strong{font-size:17px}.data-card,.data-card table{margin:0}.data-card th,.data-card td{padding:9px 10px}.filter-action{flex:auto;width:auto;min-width:0}.filter-reset{flex:0 0 42px}.report-filters:has(>:only-child)>:only-child{flex-basis:100%;width:100%}.customer-search-filter input{flex-basis:100%}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.metric-card{min-height:70px;padding:8px}.metric-card>i{display:none}.metric-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.metric-card strong[data-mobile-value]{font-size:0}.metric-card strong[data-mobile-value]:after{content:attr(data-mobile-value);font-size:12px}.metric-card span{font-size:8px;line-height:1.15}.kpi-card{min-width:0;gap:7px!important;padding:8px!important}.kpi-card-heading{min-width:0}.kpi-card-title{line-height:1.1;letter-spacing:.02em!important;font-size:8px!important}.kpi-card-icon{display:none!important}.kpi-card-value{line-height:1.1;font-size:0!important}.kpi-card-value[data-mobile-value]:after{content:attr(data-mobile-value);font-size:12px}.card-title{padding:12px}.card-title h2{font-size:15px}.data-card{border-radius:10px}th,td{padding:10px 12px}}@media (width<=350px){.header-actions>select{max-width:88px}}.dashboard-hero-stat{display:none}.dashboard-payment-methods{background:#fff;border:1px solid #dbeafe;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;padding:12px 16px;display:flex;box-shadow:0 3px 10px #0f172a09}.dashboard-payment-methods>span{color:#475569;letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:800}.dashboard-payment-methods>div{align-items:stretch;gap:0;display:flex}.dashboard-payment-methods p{border-left:1px solid #e2e8f0;gap:4px;min-width:120px;padding:0 16px;display:grid}.dashboard-payment-methods p:first-child{border-left:0}.dashboard-payment-methods p b{color:#64748b;font-size:10px;font-weight:700}.dashboard-payment-methods p strong{color:#0f172a;letter-spacing:-.015em;font-size:14px}@media (width<=640px){.dashboard-payment-methods{display:none}.dashboard-page{gap:12px}.dashboard-page .dashboard-status{margin-bottom:-4px}.dashboard-page .dashboard-hero{border-radius:13px;min-height:126px;padding:19px 18px}.dashboard-page .dashboard-hero h2{max-width:250px;font-size:22px;line-height:1.14}.dashboard-page .dashboard-hero>div:first-child>span{max-width:270px;line-height:1.45}.dashboard-page .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dashboard-page .dashboard-kpis .kpi-card{min-height:104px;padding:13px!important}.dashboard-page .dashboard-kpis .kpi-card-icon{padding:7px!important;display:flex!important}.dashboard-page .dashboard-kpis .kpi-card-value{font-size:17px!important}.dashboard-page .dashboard-kpis .kpi-card-value:after{content:none}.dashboard-page .dashboard-kpis .kpi-card-value-wrap{gap:4px!important}.dashboard-page .dashboard-kpis .kpi-card-title{font-size:9px!important}.dashboard-page .dashboard-grid{gap:12px}.dashboard-page .card-title{padding:13px 14px}.dashboard-page .card-title h2{font-size:15px}.dashboard-page .card-title span{font-size:10px}.dashboard-page .sales-bars{gap:8px;height:195px;padding:14px 12px 10px}.dashboard-page .sales-bar b{display:none}.dashboard-page .sales-bar span{font-size:8px}.dashboard-page .dashboard-list{padding:4px 14px}.dashboard-page .dashboard-list>div{padding:11px 0}.dashboard-page .dashboard-summary p{padding:12px 14px}.dashboard-page .collection-rate{padding:16px 14px}.dashboard-page .data-card{border-radius:12px}}.owner-login-shell{background:#eef4ff;grid-template-columns:55% 45%;min-height:100vh;display:grid}.owner-login-brand-panel{color:#fff;background:linear-gradient(135deg,#03133b,#0739a5 70%,#1256f5);flex-direction:column;padding:78px 10%;display:flex;position:relative;overflow:hidden}.owner-login-orb{border:2px solid #2388ff;border-radius:50%;width:330px;height:330px;position:absolute;top:-120px;right:-70px;box-shadow:0 0 45px #05f}.owner-login-brand{align-items:center;gap:16px;display:flex;position:relative}.owner-login-logo{background:linear-gradient(135deg,#3985ff,#0649da);border-radius:18px;place-items:center;width:74px;height:74px;display:grid;box-shadow:0 12px 25px #001a6d}.owner-login-brand b{letter-spacing:-.05em;font-size:31px}.owner-login-brand em{color:#3a83ff;font-style:normal}.owner-login-brand small{color:#bdcffd;margin-top:4px;font-size:15px;display:block}.owner-login-hero{max-width:510px;margin-top:75px;position:relative}.owner-login-hero h1{letter-spacing:-.04em;font-size:43px;line-height:1.14}.owner-login-hero strong{color:#3b83ff}.owner-login-hero i,.owner-login-card-head>i{background:#2877f5;border-radius:9px;width:50px;height:6px;margin:24px 0;display:block}.owner-login-hero p{font-size:20px;font-weight:800}.owner-login-hero>span{color:#bfcefa;max-width:420px;margin-top:10px;font-size:16px;line-height:1.55;display:block}.owner-login-benefits{gap:15px;margin-top:35px;display:grid}.owner-login-benefits>div{align-items:center;gap:16px;display:flex}.owner-login-benefits i{color:#79adff;background:#123f9d;border-radius:13px;place-items:center;width:54px;height:54px;display:grid}.owner-login-benefits p{gap:3px;display:grid}.owner-login-benefits span{color:#c1d0f4;font-size:13px}.owner-login-brand-panel footer{color:#c6d6ff;align-items:center;gap:10px;margin-top:auto;font-weight:700;display:flex}.owner-login-brand-panel footer b{color:#3c8cff}.owner-login-canvas{place-items:center;padding:32px;display:grid}.owner-login-card{background:#fff;border-radius:20px;gap:17px;width:min(100%,570px);padding:30px 36px;display:grid;box-shadow:0 18px 45px #314d8420}.owner-login-card-head{text-align:center}.owner-login-card-head>span{color:#1761ed;background:#e9f0ff;border-radius:20px;place-items:center;width:76px;height:76px;margin:auto;display:grid}.owner-login-card-head h2{letter-spacing:-.04em;margin-top:13px;font-size:31px}.owner-login-card-head p{color:#6476a5;margin-top:5px;font-size:16px}.owner-login-card-head>i{margin:17px auto 0}.owner-login-card>label{color:#111b3b;gap:8px;font-weight:800;display:grid}.owner-login-field{color:#0c2b62;background:#fff;border:1px solid #b8c6df;border-radius:11px;align-items:center;gap:12px;padding:0 16px;display:flex}.owner-login-field input{outline:0;width:100%;min-height:55px;box-shadow:none!important;border:0!important;padding:0!important}.owner-login-field button{color:#102558;background:0 0}.owner-login-options{color:#1c2c52;justify-content:space-between;font-weight:600;display:flex}.owner-login-options label{align-items:center;gap:8px;display:flex}.owner-login-options a{color:#075ce7}.owner-login-submit{color:#fff;background:linear-gradient(135deg,#2980ff,#0647d9);border-radius:10px;justify-content:center;align-items:center;gap:10px;min-height:59px;font-size:17px;font-weight:800;display:flex;box-shadow:0 10px 20px #1667eb3d}.owner-login-secure{text-align:center;color:#6376a5;margin-top:8px}.owner-login-secure svg{vertical-align:middle;margin-right:7px}@media (width<=800px){.owner-login-shell{grid-template-columns:1fr}.owner-login-brand-panel{display:none}.owner-login-canvas{padding:20px}.owner-login-card{padding:26px 22px}}@media (width<=420px){.owner-login-options{font-size:12px}.owner-login-card-head h2{font-size:27px}}.customer-statement-button{color:var(--primary);font:inherit;text-align:left;align-items:center;gap:5px;padding:0;font-weight:700;display:inline-flex}.customer-statement-button:hover{text-decoration:underline}.customer-statement-row>td{background:#f8fafc;padding:0!important}.customer-statement{border-top:1px solid var(--border);padding:18px}.customer-statement-status{color:#64748b;padding:18px;font-weight:600}.customer-statement-status.error{color:#b91c1c}.customer-statement-summary{flex-wrap:wrap;gap:10px;margin:12px 0;display:flex}.customer-statement-summary span{border:1px solid var(--border);color:#64748b;background:#fff;border-radius:8px;padding:8px 10px}.customer-statement-summary b{color:#0f172a;margin-top:2px;display:block}.customer-statement-table{overflow-x:auto}.customer-statement-table table{min-width:760px}.customer-list-row{cursor:pointer}.customer-list-row:hover td{background:#eff6ff}.statement-back{width:max-content;color:var(--primary);align-items:center;gap:7px;font-weight:750;display:inline-flex}.customer-statement-page{gap:16px}.customer-statement-identity{align-items:center;gap:14px;padding:18px;display:flex}.customer-statement-identity h2{margin:2px 0;font-size:22px}.customer-statement-identity p,.customer-statement-identity span{color:#64748b;margin:0}.customer-statement-avatar{color:#2563eb;background:#dbeafe;border-radius:50%;place-items:center;width:52px;height:52px;display:grid}.customer-statement-current{border-left:1px solid var(--border);color:#64748b;grid-template-columns:auto 1fr;align-items:center;gap:3px 7px;margin-left:auto;padding-left:22px;display:grid}.customer-statement-current strong{color:#0f172a;grid-column:1/-1;font-size:20px}.customer-statement-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-ledger-card td small{color:#64748b;margin-top:3px;font-size:11px;display:block}.customer-ledger-card td b{font-weight:700}@media (width<=640px){.customer-statement-identity{flex-wrap:wrap;align-items:flex-start}.customer-statement-current{border-top:1px solid var(--border);border-left:0;width:100%;margin-left:0;padding:14px 0 0}.customer-statement-metrics{grid-template-columns:1fr}.customer-statement-table table{min-width:700px}}.owner-login-shell{grid-template-columns:minmax(0,55fr) minmax(0,45fr)}.owner-login-canvas,.owner-login-card,.owner-login-card>label,.owner-login-field,.report-filters>*{min-width:0}.owner-login-field input{flex:1;min-width:0}.owner-login-field>svg,.owner-login-field button{flex-shrink:0}.owner-login-field button{place-items:center;min-width:44px;min-height:44px;display:grid}.owner-login-field:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb20}.owner-login-options{flex-wrap:wrap;align-items:center;gap:8px 16px}.owner-login-options>button{min-height:44px;color:var(--primary);background:0 0}.owner-login-options input{width:18px;height:18px}.owner-login-error{color:#b91c1c;overflow-wrap:anywhere;background:#fef2f2;border-radius:8px;align-items:flex-start;gap:8px;padding:12px;display:flex}.owner-login-error svg{flex-shrink:0}.owner-login-card [role=status]{overflow-wrap:anywhere;line-height:1.5}.owner-login-submit:disabled{cursor:wait;opacity:.7}.report-filters input,.report-filters select{min-width:0;max-width:100%}.custom-dropdown-trigger>span{overflow-wrap:anywhere;min-width:0}.custom-dropdown-menu{min-width:0;max-width:100%}.custom-dropdown-menu button{white-space:normal;overflow-wrap:anywhere}.custom-dropdown-menu button>span{min-width:0}.custom-dropdown-menu button>svg{flex-shrink:0}.revenue-report .report-filter-options{flex-wrap:wrap}.date-input-shell:focus-within{outline:2px solid var(--primary);outline-offset:2px;border-radius:9px}@media screen and (width<=1000px){.owner-login-shell{grid-template-columns:minmax(0,1fr)}.owner-login-brand-panel{display:none}.owner-login-canvas{padding:24px}}@media screen and (width<=640px){.owner-login-shell{min-height:100svh}.owner-login-canvas{padding:16px}.owner-login-card{padding:24px 18px}.owner-login-field{gap:8px;padding:0 10px}.owner-login-field input,.report-filters input,.report-filters select{font-size:16px}.revenue-report>.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.report-filters:has(.filter-date-field){grid-template-columns:repeat(2,minmax(0,1fr))!important}.report-filters .filter-date-field{flex-direction:column;align-items:stretch;gap:6px;min-width:0;margin-left:0;display:flex}.report-filters .date-input-shell,.revenue-report .report-filters .date-input-shell{flex:auto;width:100%}.report-filters .filter-date-field input{width:100%}.revenue-report .report-filters>.filter-reset{justify-self:end;width:44px;grid-area:auto/1/auto/-1!important}.report-filters:has(.filter-date-field)>.filter-reset{justify-self:end;width:44px;grid-area:auto/1/auto/-1!important}.report-filters .custom-dropdown-trigger,.report-filters input,.report-filters select,.filter-action,.filter-reset{min-height:44px}.customer-search-filter input{width:100%}.custom-dropdown-menu button{min-height:44px}}@media screen and (width<=380px){.revenue-report>.report-filters,.revenue-report .report-filter-options{grid-template-columns:minmax(0,1fr)!important}.report-filters:has(.filter-date-field){grid-template-columns:minmax(0,1fr)!important}.revenue-report .report-filters>.filter-date-field:first-of-type,.revenue-report .report-filters>.filter-date-field:nth-of-type(2){grid-area:auto/1/auto/-1!important}.owner-login-card{padding:22px 14px}}
