*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent} :root{ --navy:#0f172a;--navy2:#1e293b;--navy3:#334155; --slate:#64748b;--muted:#94a3b8;--border:#e2e8f0;--bg:#f8fafc;--white:#fff; --indigo:#6366f1;--green:#10b981;--amber:#f59e0b;--red:#ef4444;--blue:#3b82f6;--purple:#8b5cf6; --radius:14px;--shadow:0 1px 4px rgba(0,0,0,0.09); } body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--bg);color:var(--navy);min-height:100vh} /* LAYOUT */ #app{display:flex;height:100vh;overflow:hidden} #sidebar{width:220px;background:var(--navy);display:flex;flex-direction:column;flex-shrink:0;transition:transform .25s} #main{flex:1;overflow-y:auto;padding:28px 24px} .main-inner{max-width:1100px;margin:0 auto} /* MOBILE NAV */ #mob-bar{display:none;position:fixed;bottom:0;left:0;right:0;background:var(--navy);padding:8px 4px calc(8px + env(safe-area-inset-bottom));z-index:200;justify-content:space-around;border-top:1px solid var(--navy2)} #mob-bar button{display:flex;flex-direction:column;align-items:center;gap:3px;background:none;border:none;color:var(--muted);font-size:10px;font-weight:600;cursor:pointer;padding:6px 10px;border-radius:10px;min-width:56px} #mob-bar button.active{color:#fff;background:var(--navy2)} #mob-bar button svg{width:20px;height:20px} @media(max-width:700px){ #sidebar{display:none} #mob-bar{display:flex} #main{padding:16px 14px 80px} #app{height:auto;min-height:100vh;overflow:visible} } /* SIDEBAR NAV */ .sb-logo{padding:24px 18px 16px} .sb-logo-title{font-size:12px;font-weight:800;color:#e2e8f0;letter-spacing:.1em;text-transform:uppercase} .sb-logo-sub{font-size:11px;color:var(--navy3);margin-top:3px} .sb-nav{flex:1;padding:6px 10px} .sb-btn{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;border-radius:10px;border:none;cursor:pointer;font-size:13px;font-weight:600;text-align:left;margin-bottom:2px;background:transparent;color:var(--muted);transition:all .15s;position:relative} .sb-btn.active{background:var(--navy2);color:#f8fafc} .sb-btn svg{width:16px;height:16px;flex-shrink:0} .sb-badge{margin-left:auto;background:var(--red);color:#fff;border-radius:999px;padding:1px 7px;font-size:11px;font-weight:700} .sb-foot{padding:14px 18px;border-top:1px solid var(--navy2);font-size:11px;color:var(--navy3)} /* CARDS */ .card{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px} .card-grid{display:grid;gap:14px;margin-bottom:20px} .stat-card{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px 20px;border-left:4px solid var(--indigo)} .stat-label{font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;margin-bottom:6px} .stat-val{font-size:26px;font-weight:800;font-family:'Courier New',monospace} .stat-sub{font-size:12px;color:var(--slate);margin-top:3px} /* PAGE HEADER */ .page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:12px;flex-wrap:wrap} .page-title{font-size:22px;font-weight:800;color:var(--navy)} /* PIPELINE BAR */ .pipe-wrap{background:var(--white);border-radius:var(--radius);padding:18px 20px;margin-bottom:20px;box-shadow:var(--shadow)} .pipe-bar{display:flex;border-radius:6px;overflow:hidden;height:10px;gap:2px;margin:10px 0} .pipe-seg{transition:flex .4s} .pipe-legend{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:8px} .pipe-dot{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--slate)} .pipe-dot span{width:8px;height:8px;border-radius:2px;flex-shrink:0} /* TABLE */ .tbl-wrap{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden} table{width:100%;border-collapse:collapse} th{padding:11px 14px;text-align:left;font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;background:var(--bg);border-bottom:1px solid var(--border);white-space:nowrap} td{padding:13px 14px;border-bottom:1px solid var(--border);font-size:13px;vertical-align:middle} tr:last-child td{border-bottom:none} tr.clickable{cursor:pointer;transition:background .12s} tr.clickable:hover{background:#f0f9ff} tr.selected{background:#f0f9ff} /* MOBILE CARDS (replaces table on small screens) */ .mob-card{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px;margin-bottom:10px;display:none} @media(max-width:700px){ .hide-mob{display:none!important} .mob-card{display:block} .tbl-wrap{display:none} } .mob-card-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px} .mob-card-title{font-weight:700;font-size:15px;color:var(--navy)} .mob-card-sub{font-size:11px;color:var(--muted);margin-top:2px} .mob-card-row{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px solid var(--border);font-size:13px} .mob-card-row:last-child{border:none} .mob-card-actions{display:flex;gap:8px;margin-top:10px} /* BADGES */ .badge{display:inline-block;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.03em;white-space:nowrap} /* BUTTONS */ .btn{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:8px;border:none;cursor:pointer;font-size:13px;font-weight:600;transition:opacity .15s} .btn:hover{opacity:.85} .btn-primary{background:var(--navy);color:#fff} .btn-secondary{background:var(--bg);color:var(--navy);border:1.5px solid var(--border)} .btn-danger{background:#fef2f2;color:var(--red)} .btn-success{background:#ecfdf5;color:var(--green)} .btn-sm{padding:6px 11px;font-size:12px} .btn svg{width:14px;height:14px} /* FILTERS */ .filter-row{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap} .filter-row input,.filter-row select{padding:9px 12px;border:1.5px solid var(--border);border-radius:8px;font-size:13px;color:var(--navy);background:var(--white);outline:none} .filter-row input{flex:1;min-width:140px} .search-wrap{position:relative;flex:1;min-width:140px} .search-wrap input{padding-left:34px;width:100%} .search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none} /* MODAL */ #modal-bg{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:500;align-items:center;justify-content:center;padding:16px} #modal-bg.open{display:flex} #modal-box{background:var(--white);border-radius:18px;width:100%;max-width:560px;max-height:92vh;overflow-y:auto;box-shadow:0 24px 80px rgba(0,0,0,.3)} .modal-head{padding:22px 24px 0;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:var(--white);z-index:1;border-bottom:1px solid var(--border);padding-bottom:14px} .modal-head h2{font-size:17px;font-weight:800;color:var(--navy)} .modal-body{padding:18px 24px 24px} /* FORM */ .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px} @media(max-width:500px){.form-grid{grid-template-columns:1fr}} .f-label{display:block;font-size:11px;font-weight:700;color:var(--slate);margin-bottom:5px;text-transform:uppercase;letter-spacing:.05em} .f-input,.f-select,.f-textarea{width:100%;padding:10px 12px;border:1.5px solid var(--border);border-radius:8px;font-size:14px;color:var(--navy);background:var(--bg);outline:none;font-family:inherit} .f-textarea{min-height:72px;resize:vertical} .f-group{margin-bottom:14px} .form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:16px} /* DETAIL PANEL */ .detail-panel{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;align-self:start} .detail-panel h2{font-size:17px;font-weight:800;margin-bottom:4px} .detail-actions{display:flex;gap:8px;margin-bottom:14px} .detail-section{border-top:1px solid var(--border);padding-top:12px;margin-top:12px} .detail-section-title{font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px} .detail-row{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px solid var(--border);font-size:13px} .detail-row:last-child{border:none} /* ALERT BOX */ .alert{border-radius:12px;padding:14px 18px;margin-bottom:16px;font-size:13px} .alert-warn{background:#fffbeb;border:1.5px solid #fcd34d;color:#92400e} .alert-red{background:#fef2f2;border:1.5px solid #fca5a5;color:#991b1b} .alert-green{background:#ecfdf5;border:1.5px solid #6ee7b7;color:#065f46} /* PROFIT BANNER */ .profit-banner{background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 100%);border-radius:var(--radius);padding:22px 24px;margin-bottom:20px;color:#fff;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px} .profit-banner h3{font-size:13px;font-weight:600;color:#94a3b8;margin-bottom:4px} .profit-val{font-size:30px;font-weight:900;font-family:'Courier New',monospace} .profit-val.green{color:#34d399} .profit-val.red{color:#f87171} /* EMPTY STATE */ .empty{text-align:center;padding:48px 20px;color:var(--muted);font-size:14px} /* TOTALS ROW */ .totals-row td{font-weight:800;background:var(--bg);font-family:'Courier New',monospace} /* TOGGLE */ .toggle-wrap{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;color:var(--slate)} /* NET METER */ .net-section{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px} .net-card{flex:1;min-width:140px;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px 18px;border-top:3px solid var(--green)} .net-card.expense{border-color:var(--red)} .net-card.profit{border-color:var(--indigo)}

Business Portal

Welcome back πŸ‘‹

Enter your password to access your business dashboard.