h1,h2,h3,h4,h5,h6{font-weight:800;letter-spacing:.5px;color:#232e3a;margin-top:0}header.topbar,.topbar{height:54px!important;padding:.3rem 1.5rem!important;background:#232e3a!important;box-shadow:0 2px 12px #2c3e5014;border-bottom:1px solid #e0e6ed}.topbar .brand-name{font-size:1.1rem;font-weight:700;letter-spacing:1.2px}.topbar-nav a{font-size:1rem;font-weight:500;padding:.18rem .7rem;border-radius:6px}.topbar-nav a.active,.topbar-nav a:hover{background:#34495e;color:#f1c40f}.topbar-actions .logout-btn{background:#c0392b;color:#fff;border:none;padding:.35rem 1.1rem;border-radius:8px;font-size:.98rem;font-weight:600}.topbar-actions .logout-btn:hover{background:#e74c3c}button,.actions-bar button,.primary-btn,.save-button,.edit-button{font-size:1rem!important;padding:.55rem 1.3rem!important;border-radius:8px!important;font-weight:600!important;box-shadow:0 2px 8px #2c3e500f;border:none;transition:background .18s,color .18s,box-shadow .18s}button:disabled,.actions-bar button:disabled{background:#34495e!important;color:#fff!important;cursor:not-allowed}button:not(:disabled):hover,.actions-bar button:not(:disabled):hover{background:#1a222b!important;color:#f1c40f!important;box-shadow:0 4px 16px #2c3e5021}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{font:inherit;padding:.6rem .9rem;border:1.5px solid #e0e6ed;border-radius:7px;background:#fff;font-size:1rem;color:#1a222b;caret-color:#1a222b;transition:border .18s;box-sizing:border-box;width:100%}input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,select:focus,textarea:focus{border-color:#232e3a;outline:none}input[type=checkbox],input[type=radio]{width:auto;padding:0;border:none;background:transparent}input::placeholder,textarea::placeholder{color:#1a222b99}select option{color:#1a222b;background:#fff}.app-form input:not([type=checkbox]):not([type=radio]):not([type=file]),.app-form select,.app-form textarea{min-height:42px!important;padding:.6rem .9rem!important;border-radius:7px!important;font-size:1rem!important;width:100%!important;box-sizing:border-box!important}.app-form textarea{min-height:unset!important}.form-stack{display:flex;flex-direction:column;gap:.9rem}.form-actions{display:flex;gap:.75rem;justify-content:flex-end;flex-wrap:wrap}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}.actions-bar input{width:auto}.card,.setup-card,.info-card{background:#fff;border-radius:14px;box-shadow:0 6px 24px #2c3e5017;padding:2rem 2.5rem;margin-bottom:2rem}th,td{text-align:left;padding:.7rem 1rem;border-bottom:1px solid #e0e6ed;font-size:.98rem}thead th{background:#f7f9fb;font-weight:700;font-size:.93rem;text-transform:uppercase;letter-spacing:.5px}.actions-bar input{padding:.5rem 1rem;border:1px solid #e0e6ed;border-radius:6px;font-size:1rem;background:#fff;min-width:200px}@media (max-width: 800px){.page-wrapper{padding:1rem}.drawer{width:100%;border-radius:0;left:0;right:0}header.topbar,.topbar{flex-direction:column;align-items:flex-start;height:auto!important;padding:0!important}.topbar-nav{flex-wrap:wrap;gap:.7rem;margin-top:.5rem}}@media (max-width: 900px){.page-wrapper{padding:1.1rem;margin-left:0}.card,.setup-card,.info-card{padding:1.1rem 1.15rem}.actions-bar{flex-direction:column;align-items:stretch;gap:.75rem}.actions-bar input{width:100%;min-width:0}.form-grid,.field-grid{grid-template-columns:1fr}table{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}thead,tbody{display:table;width:100%;table-layout:fixed}}@media (max-width: 600px){.page-wrapper{padding:.75rem .6rem}.card,.setup-card,.info-card{padding:.9rem .85rem;border-radius:8px}.page-title{font-size:1.5rem;margin-bottom:1rem}h1{font-size:1.5rem}h2{font-size:1.3rem}h3{font-size:1.15rem}.drawer{width:100%!important;border-radius:0!important;left:0!important;right:0!important;padding:1.25rem 1rem}.form-actions,.actions{flex-direction:column;align-items:stretch}.form-actions button,.actions button{width:100%;justify-content:center}table{font-size:.88rem}th,td{padding:.5rem .6rem}.field-grid,.form-grid{grid-template-columns:1fr!important}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{font-size:16px!important}}body{font-family:Inter,Segoe UI,Arial,sans-serif;background:#f8f9fa;color:#1a222b;margin:0;padding:0;min-height:100vh}h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:.5px;color:#232e3a;margin-top:0}@media (max-width: 767px){.modal-overlay{padding:0!important;align-items:flex-end!important}.modal-content,.modal-dialog{width:100vw!important;max-width:100vw!important;border-radius:12px 12px 0 0!important;max-height:96dvh!important}.modal-dialog.invoice-modal{align-self:flex-end}.modal-footer-actions,.form-actions,.actions{flex-direction:column-reverse!important;gap:.5rem!important}.modal-footer-actions button,.form-actions button,.actions button{width:100%!important;justify-content:center!important;text-align:center!important;min-height:44px!important}.grid-row,.four-cols,.three-cols,.two-cols{grid-template-columns:1fr!important}.page-header,.list-header{flex-direction:column!important;align-items:stretch!important;gap:.6rem!important}.page-header>button,.list-header>button{width:100%!important}.drawer{width:100vw!important;height:96dvh!important;top:auto!important;bottom:0!important;border-radius:12px 12px 0 0!important}.table-container,.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}}.page-wrapper{padding:2.5rem 3rem;min-height:100vh;background:#f8f9fa}.page-title{font-size:2.5rem;font-weight:800;letter-spacing:1px;margin-bottom:2rem}table{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;box-shadow:0 6px 24px #2c3e5017;overflow:hidden}th,td{text-align:left;padding:.85rem 1.1rem;border-bottom:1px solid #e0e6ed;font-size:1rem}thead th{background:#f7f9fb;font-weight:700;font-size:.95rem;text-transform:uppercase;letter-spacing:.5px}tbody tr{transition:background .18s}tbody tr:hover{background:#f4f8ff;cursor:pointer}.actions-bar{display:flex;gap:1.2rem;align-items:center;margin-bottom:2rem}.actions-bar input{padding:.6rem 1rem;border:1px solid #e0e6ed;border-radius:6px;font-size:1rem;background:#fff;min-width:220px}.actions-bar button{font-size:1rem;padding:.7rem 1.5rem;border-radius:6px;background:#232e3a;color:#fff;border:none;font-weight:600;transition:background .2s}.actions-bar button:disabled{background:#34495e;color:#fff;cursor:not-allowed}.actions-bar button:not(:disabled):hover{background:#1a222b}.empty{color:#888;font-size:1.2rem;margin:2.5rem 0}.error{color:#c0392b;font-size:1rem;margin-top:.7rem}.success{color:#2ecc71;font-size:1rem;margin-top:.7rem}.drawer-backdrop{position:fixed;inset:0;background:#0006;z-index:1001}.drawer{position:fixed;top:0;right:0;width:420px;height:100vh;background:#fff;box-shadow:-2px 0 16px #0000002e;padding:2rem 2.2rem;overflow-y:auto;z-index:1002;border-radius:12px 0 0 12px}.field{margin-bottom:1.2rem;display:flex;flex-direction:column}.field-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));margin-bottom:1.2rem}input,select,textarea{font:inherit;padding:.55rem .7rem;border:1px solid #e0e6ed;border-radius:6px;background:#fff;font-size:1rem;color:#1a222b;caret-color:#1a222b}textarea{resize:vertical}.checkbox{display:flex;align-items:center;gap:.7rem;font-size:1rem}.actions{display:flex;gap:.7rem;margin-top:1rem}.status-pill{display:inline-block;padding:.18rem .7rem;font-size:.8rem;border-radius:12px;background:#2ecc71;color:#fff;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.status-pill.inactive{background:#34495e}.card{background:#fff;border-radius:16px;box-shadow:0 6px 24px #2c3e5017;padding:2rem 2.5rem;margin-bottom:2rem}@media (max-width: 800px){.page-wrapper{padding:1rem}.drawer{width:100%;border-radius:0}}
