:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#f5f7fa;color:#333}.app{min-height:100vh;display:flex;flex-direction:column}.header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;text-align:center;box-shadow:0 4px 6px #0000001a}.header h1{font-size:2.5rem;margin-bottom:.5rem}.header p{opacity:.9;font-size:1.1rem}.tabs{display:flex;background:#fff;border-bottom:2px solid #e2e8f0;padding:0 2rem;gap:.5rem;overflow-x:auto}.tabs button{padding:1rem 1.5rem;background:none;border:none;font-size:1rem;cursor:pointer;color:#64748b;border-bottom:3px solid transparent;transition:all .2s;white-space:nowrap}.tabs button:hover{color:#667eea;background:#f8fafc}.tabs button.active{color:#667eea;border-bottom-color:#667eea;font-weight:600}.content{flex:1;padding:2rem;max-width:1400px;width:100%;margin:0 auto}.content h2{margin-bottom:1.5rem;color:#1e293b;font-size:1.8rem}.loading{text-align:center;padding:3rem;font-size:1.2rem;color:#64748b}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #00000014;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001f}.card h3{margin-bottom:1rem;color:#1e293b;font-size:1.3rem}.card p{margin-bottom:.5rem;color:#475569;line-height:1.6}.card .notes{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0;font-style:italic;color:#64748b}.status{display:inline-block;padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:600;text-transform:uppercase}.status.active{background:#dcfce7;color:#166534}.status.inactive{background:#fee2e2;color:#991b1b}.status.draft{background:#f3f4f6;color:#4b5563}.status.sent{background:#dbeafe;color:#1e40af}.status.paid{background:#dcfce7;color:#166534}.status.overdue{background:#fee2e2;color:#991b1b}.status.todo{background:#f3f4f6;color:#4b5563}.status.in-progress{background:#dbeafe;color:#1e40af}.status.completed{background:#dcfce7;color:#166534}.status.blocked{background:#fee2e2;color:#991b1b}.task-list{display:flex;flex-direction:column;gap:1rem}.task-item{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #00000014;border-left:4px solid #e2e8f0}.task-item.priority-urgent{border-left-color:#dc2626}.task-item.priority-high{border-left-color:#f59e0b}.task-item.priority-medium{border-left-color:#3b82f6}.task-item.priority-low{border-left-color:#6b7280}.task-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.task-header h3{margin:0;font-size:1.2rem}.task-meta{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1rem;font-size:.9rem;color:#64748b}.priority{text-transform:capitalize;font-weight:600}.priority.urgent{color:#dc2626}.priority.high{color:#f59e0b}.priority.medium{color:#3b82f6}.priority.low{color:#6b7280}.table-container{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #00000014}table{width:100%;border-collapse:collapse}thead{background:#f8fafc}th{padding:1rem;text-align:left;font-weight:600;color:#475569;border-bottom:2px solid #e2e8f0}td{padding:1rem;border-bottom:1px solid #e2e8f0;color:#475569}tr:hover{background:#f8fafc}.invoice-card .amount{font-size:1.5rem;color:#667eea;font-weight:700;margin:1rem 0}.invoice-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.footer{background:#fff;border-top:2px solid #e2e8f0;padding:1.5rem;text-align:center;color:#64748b}@media(max-width:768px){.header h1{font-size:1.8rem}.tabs{padding:0 1rem}.tabs button{padding:.75rem 1rem;font-size:.9rem}.content{padding:1rem}.card-grid{grid-template-columns:1fr}.table-container{overflow-x:auto}table{font-size:.85rem}th,td{padding:.75rem .5rem}}
