.sidebar{color:#fff;z-index:2001;background:#111827;width:240px;height:100vh;padding:30px 20px;position:fixed;top:0;left:0;overflow-y:auto}.brand{align-items:center;gap:10px;margin-bottom:40px;font-size:1.8rem;font-weight:800;display:flex}.brand img{object-fit:contain;width:30px;height:30px}.brand span{color:#16a34a}.sidebar nav{flex-direction:column;gap:12px;display:flex}.sidebar a{color:#d1d5db;border-radius:8px;padding:12px;text-decoration:none;transition:all .2s}.sidebar a:hover{color:#fff;background:#1f2937}.sidebar a.active{color:#fff;background:#2563eb}.sidebar{flex-direction:column;display:flex}.sidebar nav{flex:1}.sidebar-version{color:#9ca3af;text-align:center;border-top:1px solid #ffffff14;margin-top:auto;padding-top:20px;font-size:.85rem}.overlay{display:none}@media (width<=767px){.sidebar{z-index:1001;width:240px;height:100vh;transition:all .3s;position:fixed;top:0;left:-260px}.sidebar.active{left:0}.overlay.show{z-index:1000;background:#0006;display:block;position:fixed;inset:0}}.navbar{z-index:100;box-sizing:border-box;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;min-height:70px;padding:12px 30px;display:flex;position:sticky;top:0}.navbar h3{font-size:1.2rem}.navbar>button:last-child{color:#fff;background:#2563eb;border:none;border-radius:8px;padding:10px 20px;font-weight:600}.menu-btn{background:0 0;border:none;font-size:24px;display:none}@media (width<=767px){.navbar{padding:12px 20px}.menu-btn{display:block}}.install-banner{z-index:3000;color:#fff;background:#16a34a;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;font-size:14px;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 2px 6px #00000026}.install-banner span{flex:1}.install-banner-actions{align-items:center;gap:8px;display:flex}.install-btn{color:#16a34a;cursor:pointer;background:#fff;border:none;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:600}.install-dismiss{color:#fff;cursor:pointer;background:0 0;border:none;padding:4px;font-size:16px;line-height:1}.offline-banner{z-index:2000;color:#fff;text-align:center;background:#111827;padding:8px 14px;font-size:.82rem;font-weight:600;position:fixed;bottom:0;left:0;right:0}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;align-items:center;gap:15px;padding:20px;display:flex}.card-icon{background:#f0fdf4;border-radius:12px;justify-content:center;align-items:center;width:50px;height:50px;font-size:1.5rem;display:flex}.card-content p{color:#6b7280;margin-bottom:5px;font-size:.9rem}.card-content h2{margin:0;font-size:1.5rem}.dashboard-page{box-sizing:border-box;width:100%;padding:30px}.page-header{margin-bottom:30px}.dashboard-cards{grid-template-columns:1fr;gap:20px;margin-bottom:30px;display:grid}.dashboard-section h2{margin-bottom:15px}.activity-card{color:#6b7280;box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:25px}@media (width>=600px){.dashboard-cards{grid-template-columns:repeat(2,1fr)}}@media (width>=1000px){.dashboard-cards{grid-template-columns:repeat(4,1fr)}}@media (width<=480px){.dashboard-page{padding:20px 15px}.page-header{margin-bottom:22px}.page-header h1{font-size:1.6rem}.page-header p{font-size:.9rem}.dashboard-cards{gap:15px}.activity-card{border-radius:14px;padding:20px}}.customers-page{box-sizing:border-box;width:100%;max-width:1600px;margin:0 auto;padding:16px}.customers-header{flex-direction:column;gap:16px;margin-bottom:20px;display:flex}.customers-header h1{color:#111827;letter-spacing:-.02em;margin:0 0 6px;font-size:1.55rem;line-height:1.2}.customers-header p{color:#6b7280;margin:0;font-size:.88rem;line-height:1.5}.customers-actions{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.primary-btn,.secondary-btn,.clear-search-btn{cursor:pointer;box-sizing:border-box;border-radius:9px;min-height:42px;padding:10px 14px;font-family:inherit;font-size:.84rem;font-weight:600;transition:background-color .2s,border-color .2s,box-shadow .2s,transform .1s}.primary-btn{color:#fff;background:#2563eb;border:1px solid #2563eb}.primary-btn:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}.secondary-btn{color:#374151;background:#fff;border:1px solid #d1d5db}.secondary-btn:hover:not(:disabled){background:#f3f4f6}.clear-search-btn{color:#374151;background:#fff;border:1px solid #d1d5db}.clear-search-btn:hover{background:#f3f4f6}.primary-btn:disabled,.secondary-btn:disabled,.clear-search-btn:disabled{opacity:.55;cursor:not-allowed}.customers-alert{box-sizing:border-box;border-radius:10px;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;padding:12px 14px;font-size:.84rem;line-height:1.45;display:flex}.customers-alert button{width:28px;height:28px;color:inherit;cursor:pointer;background:0 0;border:none;border-radius:6px;flex:none;padding:0;font-size:1.25rem;line-height:1}.customers-alert-error{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.customers-alert-success{color:#166534;background:#dcfce7;border:1px solid #bbf7d0}.customers-offline-banner{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;margin-bottom:16px;padding:11px 14px;font-size:.82rem;line-height:1.45}.customers-loading{color:#6b7280;justify-content:center;align-items:center;min-height:240px;font-size:.9rem;display:flex}.customers-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px;display:grid}.customer-stat-card{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:13px;min-width:0;padding:14px}.customer-stat-card span{color:#6b7280;margin-bottom:7px;font-size:.73rem;line-height:1.3;display:block}.customer-stat-card strong{color:#111827;font-size:1.15rem;line-height:1.2;display:block}.customers-toolbar{align-items:stretch;gap:8px;width:100%;margin-bottom:10px;display:flex}.customer-search{color:#111827;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:10px;outline:none;flex:1;width:100%;min-width:0;height:44px;padding:0 13px;font-family:inherit;font-size:.88rem;transition:border-color .2s,box-shadow .2s}.customer-search::placeholder{color:#9ca3af}.customer-search:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.clear-search-btn{flex:none;min-height:44px;padding:8px 12px}.customer-filters{scrollbar-width:thin;box-sizing:border-box;-webkit-overflow-scrolling:touch;gap:7px;width:calc(100% + 16px);margin-bottom:16px;padding:2px 16px 7px 0;display:flex;overflow-x:auto}.customer-filters::-webkit-scrollbar{height:4px}.customer-filter{color:#374151;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:9px;flex:none;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:7px 11px;font-family:inherit;font-size:.77rem;font-weight:600;transition:all .2s;display:inline-flex}.customer-filter:hover{background:#f3f4f6}.customer-filter span{color:#6b7280;background:#f3f4f6;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 5px;font-size:.68rem;display:inline-flex}.customer-filter.active{color:#fff;background:#2563eb;border-color:#2563eb}.customer-filter.active span{color:#fff;background:#fff3}.customers-table-wrapper{box-sizing:border-box;background:0 0;border:none;width:100%}.customers-table{border-collapse:collapse;text-align:left;width:100%;min-width:0;display:block}.customers-table thead{display:none}.customers-table tbody{flex-direction:column;gap:10px;display:flex}.customers-table tbody tr{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;padding:14px;display:grid;box-shadow:0 1px 3px #0000000a}.customers-table tbody tr:hover{background:#fff}.customers-table tbody td{color:#374151;vertical-align:middle;box-sizing:border-box;border:none;min-width:0;padding:7px 5px;font-size:.82rem;display:block}.customers-table tbody td:first-child{grid-column:1/-1;padding:2px 5px 5px}.customers-table tbody td:nth-child(2){color:#6b7280;grid-column:1/-1;padding:0 5px 10px}.customers-table tbody td:nth-child(3):before{content:"Purchases";color:#9ca3af;text-transform:uppercase;letter-spacing:.03em;margin-bottom:3px;font-size:.64rem;font-weight:700;display:block}.customers-table tbody td:nth-child(4):before{content:"Lifetime Spend";color:#9ca3af;text-transform:uppercase;letter-spacing:.03em;margin-bottom:3px;font-size:.64rem;font-weight:700;display:block}.customers-table tbody td:nth-child(5):before{content:"Last Purchase";color:#9ca3af;text-transform:uppercase;letter-spacing:.03em;margin-bottom:3px;font-size:.64rem;font-weight:700;display:block}.customers-table tbody td:nth-child(6){grid-column:1/-1;padding:8px 5px 9px}.customers-table tbody td:nth-child(7){border-top:1px solid #f1f5f9;grid-column:1/-1;padding:10px 5px 2px}.customer-name-cell{flex-direction:column;gap:3px;min-width:0;display:flex}.customer-name-cell strong{color:#111827;text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;line-height:1.3;display:block;overflow:hidden}.customer-name-cell small{overflow-wrap:anywhere;color:#6b7280;font-size:.72rem;line-height:1.35;display:block}.customer-statuses{flex-wrap:wrap;gap:5px;margin-bottom:4px;display:flex}.status-badge{color:#4b5563;white-space:nowrap;background:#f3f4f6;border-radius:999px;align-items:center;min-height:23px;padding:3px 7px;font-size:.66rem;font-weight:700;display:inline-flex}.status-badge.vip{color:#92400e;background:#fef3c7}.status-badge.warning{color:#b91c1c;background:#fee2e2}.customer-statuses+small{color:#6b7280;font-size:.68rem}.customer-row-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;min-width:0;display:grid}.customer-row-actions button{color:#374151;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;width:100%;min-width:0;min-height:37px;padding:7px 8px;font-family:inherit;font-size:.74rem;font-weight:650;transition:all .2s}.customer-row-actions button:hover:not(:disabled){background:#f3f4f6;border-color:#d1d5db}.customer-row-actions .notify-btn{color:#fff;background:#16a34a;border-color:#16a34a}.customer-row-actions .notify-btn:hover:not(:disabled){background:#128a3e;border-color:#128a3e}.customer-row-actions button:disabled{opacity:.45;cursor:not-allowed}.customer-row-actions button.danger{color:#dc2626;background:#fff5f5;border-color:#fecaca}.customer-row-actions button.danger:hover:not(:disabled){background:#fee2e2}.customers-empty{text-align:center;color:#6b7280!important;padding:35px 15px!important;display:block!important}.customer-modal-backdrop{z-index:3000;box-sizing:border-box;background:#1118278c;justify-content:center;align-items:flex-end;padding:0;display:flex;position:fixed;inset:0;overflow-y:auto}.customer-modal{box-sizing:border-box;background:#fff;border-radius:18px 18px 0 0;width:100%;max-width:600px;max-height:92vh;padding:20px 16px;overflow-y:auto;box-shadow:0 -10px 40px #00000026}.customer-modal-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px;display:flex}.customer-modal-header h2{color:#111827;margin:0 0 5px;font-size:1.2rem;line-height:1.3}.customer-modal-header p{color:#6b7280;margin:0;font-size:.8rem;line-height:1.45}.customer-modal-header>button{color:#374151;cursor:pointer;background:#f3f4f6;border:none;border-radius:8px;flex:none;width:34px;height:34px;font-size:1.35rem;line-height:1}.customer-modal-header>button:hover{background:#e5e7eb}.customer-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px;display:grid}.customer-detail-grid>div{box-sizing:border-box;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;min-width:0;padding:11px}.customer-detail-grid span,.customer-notes>span{color:#6b7280;margin-bottom:4px;font-size:.68rem;font-weight:600;display:block}.customer-detail-grid strong{overflow-wrap:anywhere;color:#111827;font-size:.82rem;line-height:1.4;display:block}.customer-notes{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:18px;padding:13px}.customer-notes p{color:#374151;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.82rem;line-height:1.5}.customer-modal-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:18px;display:grid}.customer-modal-actions button{width:100%}.customer-modal form{flex-direction:column;display:flex}.customer-modal label{color:#374151;flex-direction:column;gap:6px;margin-bottom:14px;font-size:.8rem;font-weight:600;display:flex}.customer-modal input,.customer-modal textarea,.customer-modal select{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:9px;outline:none;width:100%;padding:10px 11px;font-family:inherit;font-size:.86rem}.customer-modal input,.customer-modal select{height:43px}.customer-modal textarea{resize:vertical;min-height:95px}.customer-modal input:focus,.customer-modal textarea:focus,.customer-modal select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.customers-import-help{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-top:20px;padding:15px}.customers-import-help strong{color:#111827;margin-bottom:5px;font-size:.86rem;display:block}.customers-import-help p{color:#6b7280;margin:0;font-size:.78rem;line-height:1.55}.customers-import-help code{color:#374151;background:#f3f4f6;border-radius:4px;padding:2px 5px;font-size:.74rem}@media (width<=380px){.customers-page{padding:12px}.customers-summary{grid-template-columns:1fr}.customer-stat-card{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-stat-card span{margin-bottom:0}.customer-stat-card strong{font-size:1.05rem}.customers-actions,.customer-row-actions,.customer-detail-grid,.customer-modal-actions{grid-template-columns:1fr}}@media (width>=480px){.customers-page{padding:18px}.customers-header h1{font-size:1.7rem}.customer-row-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=700px){.customers-page{padding:24px}.customers-header{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:24px}.customers-header h1{font-size:1.9rem}.customers-actions{justify-content:flex-end;width:auto;display:flex}.customers-actions .primary-btn,.customers-actions .secondary-btn{width:auto}.customers-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.customer-stat-card{padding:16px}.customer-stat-card strong{font-size:1.25rem}.customers-table tbody{gap:12px}.customers-table tbody tr{padding:16px}.customer-row-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-modal-backdrop{align-items:center;padding:20px}.customer-modal{border-radius:16px;max-height:calc(100vh - 40px);padding:24px}}@media (width>=1000px){.customers-page{padding:30px}.customers-header{margin-bottom:24px}.customers-header h1{font-size:2rem}.customers-header p{font-size:.9rem}.customers-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;margin-bottom:24px}.customer-stat-card{padding:18px}.customer-stat-card span{font-size:.82rem}.customer-stat-card strong{font-size:1.35rem}.customers-table-wrapper{background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow-x:auto}.customers-table{border-collapse:collapse;width:100%;min-width:900px;display:table}.customers-table thead{background:#f9fafb;display:table-header-group}.customers-table tbody{display:table-row-group}.customers-table tbody tr{box-shadow:none;background:#fff;border:none;border-radius:0;padding:0;display:table-row}.customers-table tbody tr:hover{background:#fafafa}.customers-table th{color:#6b7280;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:14px 16px;font-size:.76rem;font-weight:700}.customers-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:15px 16px;font-size:.88rem;display:table-cell}.customers-table tbody tr:last-child td{border-bottom:none}.customers-table tbody td:nth-child(3):before,.customers-table tbody td:nth-child(4):before,.customers-table tbody td:nth-child(5):before{content:none;display:none}.customers-table tbody td:first-child,.customers-table tbody td:nth-child(2),.customers-table tbody td:nth-child(6),.customers-table tbody td:nth-child(7){border-top:none;grid-column:auto;padding:15px 16px}.customer-name-cell{min-width:140px}.customer-name-cell strong{font-size:.9rem}.customer-row-actions{gap:6px;width:auto;min-width:0;display:flex}.customer-row-actions button{width:auto;min-height:32px;padding:6px 9px;font-size:.74rem}}@media (width>=1400px){.customers-page{padding:32px}.customers-table{min-width:0}.customers-table th,.customers-table td{padding-left:18px;padding-right:18px}}@media (hover:none){.primary-btn:hover:not(:disabled),.secondary-btn:hover:not(:disabled),.customer-filter:hover,.customer-row-actions button:hover:not(:disabled){background:inherit}}@media (prefers-reduced-motion:reduce){.primary-btn,.secondary-btn,.clear-search-btn,.customer-filter,.customer-row-actions button,.customer-search{transition:none}}.customer-profile{padding:30px}.profile-header{background:#fff;border:1px solid #e5e7eb;border-radius:18px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;padding:25px;display:flex}.profile-header h1{margin-bottom:8px;font-size:2rem}.profile-header p{color:#6b7280}.customer-whatsapp{color:#fff;background:#22c55e;border-radius:10px;padding:12px 20px;font-weight:600;display:inline-block}.customer-whatsapp:hover{background:#16a34a}.profile-actions{flex-wrap:wrap;gap:12px;display:flex}.profile-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;margin-bottom:20px;padding:25px}.profile-card h3{margin-bottom:15px}.profile-card p{color:#6b7280}.profile-footer{flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px;display:flex}.delete-customer-btn{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:8px;padding:10px 18px}.delete-customer-btn:hover{background:#b91c1c}.edit-customer-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:10px 18px}.edit-customer-btn:hover{background:#1d4ed8}.purchase-item{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:15px;padding:15px 0;display:flex}.purchase-item:last-child{border-bottom:none}.purchase-item strong{flex:1}.purchase-item p{color:#2563eb;font-weight:600}.purchase-item small{color:#6b7280}@media (width<=600px){.customer-profile{padding:20px}.profile-header{flex-direction:column;align-items:flex-start}.customer-whatsapp{text-align:center;width:100%}.purchase-item{flex-direction:column;align-items:flex-start}}.sales-page{padding:30px}.sales-page h1{margin-bottom:25px;font-size:2rem}.sale-form{background:#fff;border:1px solid #e5e7eb;border-radius:18px;flex-direction:column;gap:15px;max-width:500px;margin-bottom:30px;padding:25px;display:flex}.sale-form input{border:1px solid #e5e7eb;border-radius:10px;outline:none;width:100%;height:48px;padding:0 15px;font-size:1rem}.sale-form select{color:#111827;appearance:none;background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") right 15px center no-repeat;border:1px solid #e5e7eb;border-radius:10px;outline:none;width:100%;height:48px;padding:0 15px;font-size:1rem}.sale-form select:focus,.sale-form input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.sale-form button{color:#fff;background:#2563eb;border:none;border-radius:10px;height:48px;font-size:1rem;font-weight:600}.sale-form button:hover{background:#1d4ed8}.sales-list{gap:15px;display:grid}.sale-card{background:#fff;border:1px solid #e5e7eb;border-radius:15px;padding:20px}.sale-card h3{margin-bottom:8px}.sale-card p{color:#6b7280;margin-bottom:8px}.sale-card strong{color:#2563eb}.sale-card-actions{gap:10px;margin-top:12px;display:flex}.edit-sale-btn,.delete-sale-btn{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex:1;height:38px;font-size:.9rem;font-weight:600}.edit-sale-btn{color:#2563eb;border-color:#bfdbfe}.edit-sale-btn:hover{background:#eff6ff}.delete-sale-btn{color:#dc2626;border-color:#fecaca}.delete-sale-btn:hover{background:#fef2f2}.sale-edit-form{flex-direction:column;gap:10px;display:flex}.sale-edit-form input,.sale-edit-form select,.sale-edit-form textarea{border:1px solid #e5e7eb;border-radius:8px;outline:none;width:100%;padding:10px 12px;font-size:.95rem}.sale-edit-form input:focus,.sale-edit-form select:focus,.sale-edit-form textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.sale-edit-actions{gap:10px;display:flex}.sale-edit-actions button{cursor:pointer;border:none;border-radius:8px;flex:1;height:40px;font-weight:600}.sale-edit-actions button:first-child{color:#fff;background:#2563eb}.sale-edit-actions .secondary-btn{color:#374151;background:#f3f4f6}@media (width<=600px){.sales-page{padding:20px}}.sales-header{margin-bottom:20px}.sales-header p{color:#6b7280}.sales-toolbar{margin-bottom:20px}.sales-search{background:#fff;border:1px solid #e5e7eb;border-radius:10px;outline:none;width:100%;max-width:700px;height:48px;padding:0 15px;font-size:1rem}.sales-search:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.sale-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.sale-serial{color:#1d4ed8;letter-spacing:.02em;background:#eff6ff;border-radius:6px;margin-top:3px;padding:4px 8px;font-size:.78rem;font-weight:700;display:inline-block}.receipt-btn{color:#15803d;cursor:pointer;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;flex:1;min-height:38px;font-size:.9rem;font-weight:700}.receipt-btn:hover{background:#dcfce7}@media (width<=600px){.sale-card-actions{flex-direction:column}.receipt-btn,.edit-sale-btn,.delete-sale-btn{width:100%}}.expenses-page{padding:30px}.expenses-page h1{margin-bottom:25px;font-size:2rem}.expense-form{background:#fff;border:1px solid #e5e7eb;border-radius:18px;flex-direction:column;gap:15px;max-width:500px;margin-bottom:30px;padding:25px;display:flex}.expense-form input{border:1px solid #e5e7eb;border-radius:10px;outline:none;width:100%;height:48px;padding:0 15px;font-size:1rem}.expense-form select{color:#111827;appearance:none;background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") right 15px center no-repeat;border:1px solid #e5e7eb;border-radius:10px;outline:none;width:100%;height:48px;padding:0 15px;font-size:1rem}.expense-form input:focus,.expense-form select:focus{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261f}.expense-form button{color:#fff;background:#dc2626;border:none;border-radius:10px;height:48px;font-size:1rem;font-weight:600}.expense-form button:hover{background:#b91c1c}.expenses-list{gap:15px;display:grid}.expense-card{background:#fff;border:1px solid #e5e7eb;border-radius:15px;padding:20px}.expense-card h3{margin-bottom:8px}.expense-card p{color:#6b7280;margin-bottom:8px}.expense-card-actions{gap:10px;margin-top:12px;display:flex}.edit-expense-btn,.delete-expense-btn{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex:1;height:38px;font-size:.9rem;font-weight:600}.edit-expense-btn{color:#2563eb;border-color:#bfdbfe}.edit-expense-btn:hover{background:#eff6ff}.delete-expense-btn{color:#dc2626;border-color:#fecaca}.delete-expense-btn:hover{background:#fef2f2}.expense-edit-form{flex-direction:column;gap:10px;display:flex}.expense-edit-form input,.expense-edit-form select{border:1px solid #e5e7eb;border-radius:8px;outline:none;width:100%;padding:10px 12px;font-size:.95rem}.expense-edit-form input:focus,.expense-edit-form select:focus{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261f}.expense-edit-actions{gap:10px;display:flex}.expense-edit-actions button{cursor:pointer;border:none;border-radius:8px;flex:1;height:40px;font-weight:600}.expense-edit-actions button:first-child{color:#fff;background:#dc2626}.expense-edit-actions .secondary-btn{color:#374151;background:#f3f4f6}@media (width<=600px){.expenses-page{padding:20px}}.business-page{padding:30px}.business-form{background:#fff;border:1px solid #e5e7eb;border-radius:18px;flex-direction:column;gap:16px;max-width:700px;padding:30px;display:flex}.business-form h2{color:#111827;margin-top:10px;font-size:1.1rem}.business-form input,.business-form textarea,.business-form select{border:1px solid #e5e7eb;border-radius:10px;outline:none;width:100%;padding:14px;font-size:1rem}.business-form textarea{resize:vertical;min-height:100px}.business-form input:focus,.business-form textarea:focus,.business-form select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.business-form button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;height:48px;margin-top:15px;font-size:1rem;font-weight:600}.business-form button:hover{background:#1d4ed8}.email-status{margin-top:10px}.verify-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:8px 14px}.verified-badge{color:#166534;background:#dcfce7;border-radius:999px;padding:8px 14px;font-weight:600;display:inline-block}.email-status{flex-direction:column;align-items:flex-start;gap:10px;margin-top:12px;display:flex}.verification-warning{color:#92400e;background:#fef3c7;border:1px solid #fcd34d;border-radius:8px;padding:10px 14px;font-size:.9rem;font-weight:600}.verify-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:10px 18px;font-weight:600}.verify-btn:hover{background:#1d4ed8}.verified-badge{color:#166534;background:#dcfce7;border:1px solid #86efac;border-radius:999px;align-items:center;padding:10px 16px;font-weight:600;display:inline-flex}.verification-text{color:#6b7280;margin:10px 0;font-size:.9rem;line-height:1.5}.insights-page{box-sizing:border-box;width:100%;padding:30px}.insights-page .page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:30px;display:flex}.export-pdf-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#16a34a;border:none;border-radius:10px;padding:10px 18px;font-size:14px;font-weight:600}.export-pdf-btn:hover{background:#128a3e}.insights-page .page-header h1{margin-bottom:8px;font-size:2rem}.insights-page .page-header p{color:#6b7280}.insights-cards{grid-template-columns:1fr;gap:20px;margin-bottom:30px;display:grid}.insights-grid{grid-template-columns:1fr;gap:20px;display:grid}.insights-section{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:18px;min-width:0;padding:25px}.insights-section h2{margin-bottom:15px}.insights-section p{color:#374151;margin-bottom:10px}.payment-row{margin-bottom:16px}.payment-row-header{justify-content:space-between;gap:10px;margin-bottom:6px;font-weight:600;display:flex}.payment-bar-track{background:#e5e7eb;border-radius:999px;width:100%;height:8px;overflow:hidden}.payment-bar-fill{background:#16a34a;border-radius:999px;height:100%}.payment-row small{color:#6b7280}@media (width>=600px){.insights-cards,.insights-grid{grid-template-columns:repeat(2,1fr)}}@media (width>=1000px){.insights-cards{grid-template-columns:repeat(3,1fr)}.insights-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=480px){.insights-page{padding:20px 15px}.insights-page .page-header{gap:12px;margin-bottom:22px}.insights-page .page-header h1{font-size:1.6rem}.insights-page .page-header p{font-size:.9rem;line-height:1.5}.export-pdf-btn{width:100%;padding:11px 16px}.insights-cards{gap:15px;margin-bottom:22px}.insights-grid{gap:15px}.insights-section{border-radius:14px;padding:20px}.insights-section h2{font-size:1.1rem}.payment-row-header{font-size:.9rem}.payment-row small{font-size:.8rem}}.insights-section{box-shadow:0 2px 10px #11182709}.insight-highlight{background:#f0fdf4;border:1px solid #dcfce7;border-radius:10px;justify-content:space-between;align-items:center;gap:15px;margin-bottom:10px;padding:12px 14px;display:flex}.insight-highlight strong{color:#111827;overflow-wrap:anywhere}.insight-highlight span{color:#166534;white-space:nowrap;font-weight:800}.performance-section p{margin-bottom:8px}@media (width<=480px){.insight-highlight{flex-direction:column;align-items:flex-start;gap:4px}}.support-page{padding:30px}.support-page h1{margin-bottom:10px}.support-page>p{color:#6b7280;margin-bottom:30px}.support-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;display:grid}.support-card{color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;text-decoration:none;transition:all .2s;display:block}.support-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #00000014}.support-card h2{margin-bottom:12px}.support-card p{color:#6b7280}@media (width<=767px){.support-page{padding:20px}}.about-page{padding:30px}.version{color:#6b7280;margin-bottom:25px}.about-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:20px;padding:24px}.about-card h2{margin-bottom:15px}.about-card ul{padding-left:18px}.about-card li{margin-bottom:10px}.login-page{background:#f9fafb;justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.login-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;width:100%;max-width:420px;padding:35px 25px;box-shadow:0 20px 40px #0000000f}.login-card input{border:1px solid #e5e7eb;border-radius:10px;outline:none;width:100%;height:48px;margin-bottom:15px;padding:0 15px;font-size:1rem}.login-card input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.login-card button[type=submit]{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;width:100%;height:48px;font-size:1rem;font-weight:600}.login-card button[type=submit]:hover{background:#1d4ed8}.login-card button[type=submit]:disabled{opacity:.6;cursor:not-allowed}.toggle-password{color:#2563eb;cursor:pointer;margin:0;font-size:.9rem;font-weight:600;position:absolute;top:50%;right:12px;transform:translateY(-50%);background:0 0!important;border:none!important;width:auto!important;height:auto!important;padding:0!important}.login-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;width:100%;height:48px;font-size:1rem;font-weight:600;transition:all .2s}.login-btn:hover{background:#1d4ed8}.login-btn:disabled{opacity:.6;cursor:not-allowed}.register-page{background:#f9fafb;justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.early-access{background:#eff6ff;border:1px solid #bfdbfe;border-left:4px solid #2563eb;border-radius:10px;margin:20px 0;padding:16px}.early-access h3{color:#1d4ed8;margin-bottom:10px;font-size:1rem}.early-access p{color:#374151;margin:8px 0;line-height:1.5}.register-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;width:100%;max-width:420px;padding:35px 25px;box-shadow:0 20px 40px #0000000f}.auth-brand{text-align:center;margin-bottom:30px}.auth-brand h1{margin-bottom:8px;font-size:2.2rem;font-weight:800}.auth-brand h1 span{color:#16a34a}.auth-brand p{color:#6b7280;font-size:.95rem;line-height:1.5}.register-card input{border:1px solid #e5e7eb;border-radius:10px;outline:none;width:100%;height:48px;margin-bottom:15px;padding:0 15px;font-size:1rem}.register-card input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.password-group{margin-bottom:15px;position:relative}.password-group input{width:100%;margin-bottom:0;padding-right:75px}.toggle-password{color:#2563eb;cursor:pointer;background:0 0;border:none;width:auto;height:auto;margin:0;padding:0;font-size:.9rem;font-weight:600;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.toggle-password:hover{text-decoration:underline}.register-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;width:100%;height:48px;font-size:1rem;font-weight:600;transition:all .2s}.register-btn:hover{background:#1d4ed8}.register-btn:disabled{opacity:.6;cursor:not-allowed}.auth-link{text-align:center;color:#6b7280;margin-top:20px;font-size:.9rem}.auth-link a{color:#2563eb;margin-left:5px;font-weight:600;text-decoration:none}.auth-link a:hover{text-decoration:underline}.security-page{max-width:800px;margin:0 auto;padding:24px}.security-page h1{color:#222;margin-bottom:24px;font-size:28px}.security-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 8px 24px #00000014}.security-card h2{color:#222;margin:0 0 12px;font-size:18px}.security-card p{color:#666;margin-bottom:16px;line-height:1.5}.security-card input{box-sizing:border-box;border:1px solid #ddd;border-radius:10px;outline:none;width:100%;margin-bottom:14px;padding:12px 14px;font-size:15px;transition:all .2s}.security-card input:focus{border-color:#0ea5e9}.security-buttons{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.security-card button{color:#fff;cursor:pointer;background:#0ea5e9;border:none;border-radius:10px;padding:12px 20px;font-size:15px;font-weight:600;transition:all .2s}.security-card button:hover{background:#0284c7}.secondary-btn{color:#333!important;background:#f3f4f6!important}.secondary-btn:hover{background:#e5e7eb!important}.verified-status{color:#15803d;background:#dcfce7;border-radius:999px;margin-bottom:16px;padding:8px 14px;font-size:14px;font-weight:600;display:inline-block}.warning-status{color:#b45309;background:#fef3c7;border-radius:999px;margin-bottom:16px;padding:8px 14px;font-size:14px;font-weight:600;display:inline-block}.verification-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-top:18px;padding:18px}.verification-box input{margin-bottom:12px}.verification-box button{width:100%}.security-card hr{border:none;border-top:1px solid #e5e7eb;margin:30px 0}@media (width<=768px){.security-page{padding:16px}.security-card{padding:18px}.security-buttons{flex-direction:column}.security-buttons button{width:100%}}.settings-page{box-sizing:border-box;width:100%;max-width:1100px;margin:0 auto;padding:30px}.settings-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;display:flex}.settings-eyebrow{color:#16a34a;letter-spacing:.08em;margin-bottom:7px;font-size:.75rem;font-weight:800;display:inline-block}.settings-header h1{color:#111827;margin:0 0 7px;font-size:2rem}.settings-header p{color:#6b7280;margin:0;line-height:1.5}.settings-header-actions{flex-wrap:wrap;gap:10px;display:flex}.settings-page .primary-btn,.settings-page .secondary-btn{border:1px solid #2563eb;border-radius:9px;min-height:42px;padding:10px 16px;font-weight:700}.settings-page .primary-btn{color:#fff;background:#2563eb}.settings-page .secondary-btn{color:#374151;background:#fff;border-color:#d1d5db}.settings-saved{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;margin-bottom:18px;padding:12px 15px;font-size:.9rem;font-weight:600}.settings-info{color:#374151;background:#eff6ff;border:1px solid #dbeafe;border-radius:12px;align-items:flex-start;gap:12px;margin-bottom:20px;padding:16px 18px;line-height:1.55;display:flex}.settings-info strong:first-child{color:#1d4ed8;white-space:nowrap}.settings-info code{background:#ffffffbf;border-radius:5px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85em}.template-list{gap:15px;display:grid}.template-card{background:#fff;border:1px solid #e5e7eb;border-radius:15px;padding:20px;box-shadow:0 2px 10px #11182709}.template-card-heading{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:12px;display:flex}.template-card h2{color:#111827;margin:0 0 4px;font-size:1rem}.template-card p{color:#6b7280;margin:0;font-size:.86rem;line-height:1.45}.template-card textarea{box-sizing:border-box;resize:vertical;color:#111827;width:100%;min-height:105px;font:inherit;background:#f9fafb;border:1px solid #d1d5db;border-radius:10px;outline:none;padding:12px 13px;line-height:1.5;display:block}.template-card textarea:focus{background:#fff;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.template-badge{color:#166534;white-space:nowrap;background:#dcfce7;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:800}.settings-footer-note{color:#6b7280;margin-top:18px;font-size:.82rem}@media (width<=700px){.settings-page{padding:20px 15px}.settings-header{flex-direction:column}.settings-header-actions{width:100%}.settings-header-actions button{flex:1}.settings-info{flex-direction:column;gap:5px}}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{min-height:100%}body{color:#111827;background:#f9fafb;font-family:Inter,Arial,sans-serif}a{color:inherit}.layout{height:100vh;display:flex;overflow:hidden}main{background:#f9fafb;flex-direction:column;flex:1;min-width:0;height:100vh;margin-left:240px;display:flex;overflow-y:auto}button{cursor:pointer;font-family:inherit}.page-header{justify-content:space-between;align-items:center;margin-bottom:30px;display:flex}.page-header h1{margin-bottom:8px;font-size:2rem}.page-header p{color:#6b7280}.auth-layout{flex:1;justify-content:center;align-items:center;width:100%;min-height:100vh;padding:20px;display:flex}@media (width<=767px){main{margin-left:0}.page-header{flex-direction:column;align-items:flex-start;gap:15px}}
