.modal-overlay{align-items:center;background:#02061799;justify-content:center;padding:16px;z-index:9999}.modal,.modal-card,.modal-overlay{box-sizing:border-box;display:flex}.modal,.modal-card{background:#fff;border-radius:12px;box-shadow:0 10px 30px #02061733;flex-direction:column;max-height:calc(100vh - 32px);max-width:720px;min-width:0;overflow:hidden;width:min(720px,calc(100vw - 32px))}.modal-card-header{align-items:center;background:linear-gradient(90deg,#7c3aed,#06b6d4);color:#fff;display:flex;flex-shrink:0;justify-content:space-between;padding:18px 24px}.modal-card-header h2{color:#fff!important;font-size:18px;margin:0}.modal-close{color:#fff;cursor:pointer;font-size:24px}.modal-card-header .modal-close{color:#fff!important}.modal-card-body{flex:1 1;min-height:0;overflow-y:auto;padding:22px 24px 28px}.modal-card-body::-webkit-scrollbar{width:6px}.modal-card-body::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.modal-card-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.modal-card-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}.modal-card-body .form-row{display:flex;gap:12px}.modal-card-body label{display:block;font-weight:500;margin-bottom:8px}.modal-card-body input,.modal-card-body select{border:1px solid #e6e6e6;border-radius:8px;padding:10px 12px;width:100%}.modal-actions{margin-top:20px;padding-top:12px}.primary-button{background:#06b6d4;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:600;padding:10px 14px}.secondary-button{background:#f3f4f6;cursor:pointer;padding:10px 14px}.secondary-button:hover{background:#e5e7eb}@media (max-width:520px){.modal-card{border-radius:0;height:100%;max-height:100vh;max-width:100%;width:100%}.modal-card-body{overflow-y:auto;padding:16px 16px 48px}}@media (min-width:1200px){.modal,.modal-card{max-width:760px}}.modal input,.modal select,.modal-card-body input,.modal-card-body select{box-sizing:border-box;max-width:100%}.logout-button{background:#ef4444;border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;margin-top:24px;padding:10px 14px;width:100%}.logout-button:hover{background:#dc2626}.topbar{align-items:center;background:#111827;color:#fff;display:none;gap:12px;min-height:58px;padding:10px 14px;position:-webkit-sticky;position:sticky;top:0;z-index:10000}.topbar .hamburger{background:#0000;border:none;border-radius:8px;cursor:pointer;display:inline-flex;flex-direction:column;gap:5px;height:42px;justify-content:center;padding:8px;width:42px}.topbar .hamburger:hover{background:#ffffff1f}.topbar .hamburger span{background:#fff;border-radius:999px;display:block;height:2px;width:100%}.topbar-title{font-size:16px;font-weight:700}.sidebar-backdrop{display:none}@media (max-width:800px){.app-shell{align-items:stretch;flex-direction:column;height:auto!important;min-height:100vh;overflow:visible!important}.app-shell,.topbar{display:flex}.topbar .logout-button,.topbar>.logout-button{margin-top:0;padding:9px 12px;width:auto}.sidebar-backdrop{background:#0f172a80;border:0;display:block;inset:0;padding:0;position:fixed;z-index:9997}.sidebar{background:#111827;bottom:0;box-shadow:10px 0 30px #02061740;color:#f8fafc;height:100dvh;left:0;padding:22px 18px;position:fixed;top:0;transform:translateX(-100%);transition:transform .25s ease;width:min(82vw,300px);z-index:9998}.sidebar.open{transform:translateX(0)}.sidebar h1{display:block;margin:0 0 18px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.sidebar a{font-size:15px;padding:12px 14px}.main-content{display:block;flex:1 1 auto;height:auto!important;margin-left:0!important;min-height:calc(100vh - 58px);overflow:visible!important;overflow-y:visible!important;padding:16px!important;position:relative;width:100%}.main-content.chat-view-main{display:flex!important;flex-direction:column!important;height:calc(100dvh - 58px)!important;max-height:calc(100dvh - 58px)!important;min-height:calc(100dvh - 58px)!important;overflow:hidden!important;padding:0!important}}@media (min-width:801px){.main-content{padding:24px}}:root{background:#f3f4f6;color:#1f2937;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}#root,body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}.auth-form button,.primary-button,button[type=submit]{background:#2563eb;border:none;border-radius:8px;color:#fff;padding:12px 18px;transition:background .2s ease}.auth-form button:hover,.primary-button:hover,button[type=submit]:hover{background:#1e40af}.secondary-button{background:#e5e7eb;border:none;border-radius:8px;color:#111827;padding:12px 18px}.secondary-button:hover{background:#d1d5db;color:#111827}.text-button{background:#fff;border:1px solid #cbd5e1;border-radius:8px;color:#1f2937;padding:8px 12px}.text-button.danger{color:#b91c1c}.page-title-block{align-items:center;background:linear-gradient(135deg,#2563eb1f,#14b8a61f),#fff;border:1px solid #bfdbfe;border-radius:10px;box-shadow:0 12px 32px #2563eb14;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:20px;padding:18px 22px}.main-content h2,.page-title-block h2{color:#1d4ed8;font-weight:800;margin:0}.page-title-block p{color:#475569;margin:6px 0 0}.main-content h3{color:#0f766e;font-weight:800}.back-button{align-items:center;background:linear-gradient(135deg,#eff6ff,#ecfeff);border:1px solid #93c5fd;border-radius:8px;box-shadow:0 8px 20px #2563eb1a;color:#1d4ed8;display:inline-flex;font-size:14px;font-weight:700;gap:8px;margin-bottom:20px;padding:9px 16px}.back-button:hover{background:linear-gradient(135deg,#dbeafe,#ccfbf1);border-color:#2563eb;color:#1e40af}.page-header-row{align-items:flex-start;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;margin-bottom:24px}.modal-overlay{background:#0f172a8c;display:grid;inset:0;padding:24px;place-items:center;position:fixed;z-index:20}.modal{background:#fff;border-radius:8px;box-shadow:0 25px 60px #0f172a2e;max-height:95vh;overflow-y:auto;padding:28px;width:min(620px,100%)}.modal-header{align-items:center;display:flex;gap:16px;justify-content:space-between;margin-bottom:20px}.modal-header h2{font-size:1.4rem;margin:0}.modal-close{background:#0000;border:none;color:#374151;font-size:1.8rem;line-height:1}.branch-form{grid-gap:16px;display:grid;gap:16px}.branch-form label{grid-gap:8px;display:grid;gap:8px}.branch-form input,.filter-row input,.filter-row select,.inline-form input,.inline-form select,.inline-form textarea,td select{background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:12px 14px;width:100%}.inline-form textarea{min-height:44px;resize:vertical}.form-row{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.form-checkbox{align-items:center;display:inline-flex;font-weight:500;gap:10px;margin-top:8px}.modal-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}.app-shell{display:grid;grid-template-columns:240px 1fr;height:100vh;overflow:hidden}.sidebar{background:#111827;color:#f8fafc;padding:24px;position:-webkit-sticky;position:sticky;top:0}.main-content,.sidebar{height:100vh;overflow-y:auto}.main-content{padding:32px}.sidebar h1{font-size:1.4rem;margin-bottom:24px}.sidebar nav{display:flex;flex-direction:column;gap:12px}.sidebar a{border-radius:8px;color:#cbd5e1;padding:10px 12px;text-decoration:none}.sidebar a.active{background:#2563eb;color:#fff}.auth-page{background:#e2e8f0;display:grid;min-height:100vh;place-items:center}.auth-form{background:#fff;border-radius:8px;box-shadow:0 20px 60px #0f172a1f;padding:32px;width:min(420px,90vw)}.auth-form h1{margin:0 0 24px}.auth-form label{grid-gap:8px;display:grid;gap:8px;margin-bottom:16px}.auth-form input{border:1px solid #cbd5e1;border-radius:8px;padding:12px 14px;width:100%}.auth-form button{background:#2563eb;border:none;border-radius:8px;color:#fff;cursor:pointer;padding:12px;width:100%}.error-message{color:#b91c1c;margin:12px 0}.success-message{color:#166534;margin:12px 0}.dashboard-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:32px}.summary-card{background:#fff;border-radius:8px;box-shadow:0 10px 30px #0f172a14;padding:20px}.summary-card p{color:#4b5563;margin:0 0 8px}.summary-card strong{font-size:1.8rem}.dashboard-section{margin-top:32px}.quick-links-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-top:16px}.quick-link{background:#fff;border-radius:8px;box-shadow:0 10px 30px #0f172a14;padding:20px}.quick-link p{color:#64748b;margin:8px 0 0}.muted-label{color:#64748b;display:block;font-size:.85rem;margin-bottom:8px;text-transform:capitalize}.panel-section{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin:0 0 24px;padding:20px}.panel-section h3,.split-grid h3{margin-top:0}.inline-form{grid-gap:12px;align-items:start;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.inline-form textarea{grid-column:1/-1}.filter-row{align-items:center;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.filter-row input,.filter-row select{min-width:180px;width:auto}.compact-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.split-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}.table-container{-webkit-overflow-scrolling:touch;background:#fff;border-radius:8px;box-shadow:0 10px 30px #0f172a14;margin-bottom:24px;max-width:100%;overflow-x:auto;width:100%}.table-container::-webkit-scrollbar{height:8px}.table-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.table-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.table-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}table{background:#fff;border-collapse:collapse;border-radius:8px;min-width:800px;width:100%}thead th{background:linear-gradient(135deg,#2563eb,#0f766e);border-bottom:1px solid #1d4ed8;color:#fff;font-weight:700;padding:14px 16px;text-align:left;white-space:nowrap}tbody td,thead th{font-size:14px;line-height:1.4;vertical-align:middle}tbody td{border-top:1px solid #e2e8f0;padding:12px 16px}tr:hover{background:#f8fafc}@media (max-width:1024px){.dashboard-grid{gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.split-grid{gap:16px;grid-template-columns:1fr}}@media (max-width:800px){.app-shell{align-items:stretch!important;display:flex!important;flex-direction:column!important;height:auto!important;min-height:100vh!important;overflow:visible!important}.sidebar{height:100dvh!important;left:0!important;overflow-y:auto!important;position:fixed!important;top:0!important;width:min(82vw,300px)!important;z-index:9998}.main-content{box-sizing:border-box!important;height:auto!important;overflow-y:visible!important;overflow:visible!important;padding:12px 14px!important;width:100%!important}}@media (max-width:768px){.filter-row,.page-header-row{grid-gap:8px!important;align-items:stretch!important;display:grid!important;gap:8px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-bottom:14px!important;width:100%!important}.filter-row>div:has(input[type=text]),.filter-row>input[type=text],.page-header-row>div:has(input[type=text]),.page-header-row>input[type=text]{grid-column:1/-1!important;width:100%!important}.filter-row input,.filter-row select,.page-header-row input,.page-header-row select{box-sizing:border-box!important;font-size:13px!important;height:38px!important;min-width:0!important;padding:6px 10px!important;width:100%!important}.filter-row>div,.page-header-row>div{box-sizing:border-box!important;min-width:0!important;width:100%!important}.sort-filter-container{align-items:center!important;display:flex!important;gap:6px!important;width:100%!important}.sort-filter-container select{flex:1 1 auto!important;min-width:0!important;width:100%!important}.panel-section{border-radius:10px!important;margin-bottom:16px!important;padding:14px!important}.panel-section form{display:flex!important;flex-direction:column!important;gap:10px!important;width:100%!important}.panel-section form>div{min-width:0!important;width:100%!important}.panel-section form button[type=submit]{padding:10px!important;width:100%!important}}@media (max-width:640px){.page-title-block{align-items:center!important;border-radius:10px!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:10px!important;justify-content:space-between!important;margin-bottom:14px!important;padding:12px 14px!important}.page-title-block h2{font-size:1.15rem!important;line-height:1.25!important}.page-title-block p{font-size:.8rem!important;margin:2px 0 0!important}.page-title-block .primary-button,.page-title-block button{border-radius:8px!important;flex-shrink:0!important;font-size:13px!important;font-weight:600!important;padding:8px 14px!important;white-space:nowrap!important}.form-row{display:flex!important;flex-direction:column!important;gap:10px!important;grid-template-columns:1fr!important}.dashboard-grid{gap:10px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-bottom:20px!important}.dashboard-grid .summary-card:last-child:nth-child(odd){grid-column:span 2}.summary-card{border-radius:10px!important;padding:12px 14px!important}.summary-card p{color:#64748b!important;font-size:.8rem!important;font-weight:600!important;margin:0 0 4px!important}.summary-card strong{font-size:1.45rem!important;line-height:1.2!important}.dashboard-section{margin-top:20px!important}.dashboard-section h3{font-size:1rem!important;margin:0 0 10px!important}.quick-links-grid{gap:10px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-top:10px!important}.quick-link{border-radius:10px!important;padding:12px 14px!important}.quick-link strong{font-size:1.15rem!important}.quick-link p{font-size:.8rem!important;margin:4px 0 0!important}.table-container{border:1px solid #e2e8f0!important;border-radius:10px!important;box-shadow:0 4px 16px #0f172a0d!important;margin-bottom:18px!important}table{min-width:600px!important}tbody td,thead th{font-size:13px!important;padding:10px 12px!important}tbody td button{font-size:12px!important;padding:4px 8px!important}.modal-overlay{padding:10px!important}.modal,.modal-card{border-radius:12px!important;max-height:92vh!important;max-width:100%!important;padding:16px!important;width:100%!important}.modal-actions{gap:8px!important;margin-top:16px!important}}
/*# sourceMappingURL=main.b8618fc5.css.map*/