body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}:root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74d3c;--toastify-color-transparent:#ffffffb3;--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-container-width:fit-content;--toastify-toast-width:320px;--toastify-toast-offset:16px;--toastify-toast-top:max(var(--toastify-toast-offset),env(safe-area-inset-top));--toastify-toast-right:max(var(--toastify-toast-offset),env(safe-area-inset-right));--toastify-toast-left:max(var(--toastify-toast-offset),env(safe-area-inset-left));--toastify-toast-bottom:max(var(--toastify-toast-offset),env(safe-area-inset-bottom));--toastify-toast-background:#fff;--toastify-toast-padding:14px;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-toast-bd-radius:6px;--toastify-toast-shadow:0px 4px 12px #0000001a;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error);--toastify-color-progress-bgo:0.2}.Toastify__toast-container{box-sizing:border-box;color:#fff;display:flex;flex-direction:column;position:fixed;-webkit-transform:translateZ(9999);-webkit-transform:translateZ(var(--toastify-z-index));width:fit-content;width:var(--toastify-container-width);z-index:9999;z-index:var(--toastify-z-index)}.Toastify__toast-container--top-left{left:max(16px,env(safe-area-inset-left));left:var(--toastify-toast-left);top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top)}.Toastify__toast-container--top-center{align-items:center;left:50%;top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top);transform:translateX(-50%)}.Toastify__toast-container--top-right{align-items:end;right:max(16px,env(safe-area-inset-right));right:var(--toastify-toast-right);top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top)}.Toastify__toast-container--bottom-left{bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);left:max(16px,env(safe-area-inset-left));left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{align-items:center;bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);left:50%;transform:translateX(-50%)}.Toastify__toast-container--bottom-right{align-items:end;bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);right:max(16px,env(safe-area-inset-right));right:var(--toastify-toast-right)}.Toastify__toast{--y:0;align-items:center;border-radius:6px;border-radius:var(--toastify-toast-bd-radius);box-shadow:0 4px 12px #0000001a;box-shadow:var(--toastify-toast-shadow);box-sizing:border-box;display:flex;flex:1 1 auto;font-family:sans-serif;font-family:var(--toastify-font-family);margin-bottom:1rem;max-height:800px;max-height:var(--toastify-toast-max-height);min-height:64px;min-height:var(--toastify-toast-min-height);padding:14px;padding:var(--toastify-toast-padding);position:relative;touch-action:none;width:320px;width:var(--toastify-toast-width);word-break:break-word;z-index:0}@media only screen and (max-width:480px){.Toastify__toast-container{left:env(safe-area-inset-left);margin:0;width:100vw}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translateX(0)}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translateX(0)}.Toastify__toast-container--rtl{left:auto;right:env(safe-area-inset-right)}.Toastify__toast{--toastify-toast-width:100%;border-radius:0;margin-bottom:0}}.Toastify__toast-container[data-stacked=true]{width:320px;width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s;width:100%}.Toastify__toast--stacked[data-collapsed] .Toastify__close-button,.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{bottom:100%;content:"";height:calc(var(--g)*1px);left:0;position:absolute;right:0}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{bottom:0;content:"";height:100%;left:0;position:absolute;right:0;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{display:flex;flex-shrink:0;margin-inline-end:10px;width:22px}.Toastify--animate{animation-duration:.5s;animation-fill-mode:both}.Toastify--animate-icon{animation-duration:.3s;animation-fill-mode:both}.Toastify__toast-theme--dark{background:#121212;background:var(--toastify-color-dark);color:#fff;color:var(--toastify-text-color-dark)}.Toastify__toast-theme--colored.Toastify__toast--default,.Toastify__toast-theme--light{background:#fff;background:var(--toastify-color-light);color:#757575;color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{background:#3498db;background:var(--toastify-color-info);color:#fff;color:var(--toastify-text-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{background:#07bc0c;background:var(--toastify-color-success);color:#fff;color:var(--toastify-text-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{background:#f1c40f;background:var(--toastify-color-warning);color:#fff;color:var(--toastify-text-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{background:#e74d3c;background:var(--toastify-color-error);color:#fff;color:var(--toastify-text-color-error)}.Toastify__progress-bar-theme--light{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:#bb86fc;background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:#3498db;background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:#07bc0c;background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:#f1c40f;background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:#e74d3c;background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning{background:#ffffffb3;background:var(--toastify-color-transparent)}.Toastify__close-button{background:#0000;border:none;color:#fff;cursor:pointer;opacity:.7;outline:none;padding:0;position:absolute;right:6px;top:6px;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:auto}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{bottom:0;height:100%;left:0;opacity:.7;position:absolute;transform-origin:left;width:100%;z-index:1}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{border-bottom-left-radius:0;left:auto;right:0;transform-origin:right}.Toastify__progress-bar--wrp{border-bottom-left-radius:6px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:6px;border-bottom-right-radius:var(--toastify-toast-bd-radius);bottom:0;height:5px;left:0;overflow:hidden;position:absolute;width:100%}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{height:100%;opacity:.2;opacity:var(--toastify-color-progress-bgo);width:100%}.Toastify__spinner{animation:Toastify__spin .65s linear infinite;border:2px solid #e0e0e0;border-color:var(--toastify-spinner-color-empty-area);border-radius:100%;border-right-color:#616161;border-right-color:var(--toastify-spinner-color);box-sizing:border-box;height:20px;width:20px}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{animation-timing-function:ease-in;opacity:0;transform:perspective(400px) rotateX(90deg)}40%{animation-timing-function:ease-in;transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;transform:perspective(400px) rotateX(10deg)}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{opacity:1;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg)}to{opacity:0;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg)}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(-110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,500px,0);visibility:hidden}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,-500px,0);visibility:hidden}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{animation-duration:.3s;animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{animation-duration:.3s;animation-name:Toastify__slideOutRight;animation-timing-function:ease-in}.Toastify__slide-exit--top-center{animation-duration:.3s;animation-name:Toastify__slideOutUp;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-center{animation-duration:.3s;animation-name:Toastify__slideOutDown;animation-timing-function:ease-in}@keyframes Toastify__spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}*{box-sizing:border-box;margin:0;padding:0}body{background:#f3f4f6;color:#1f2937;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}a{color:inherit;text-decoration:none}.app-layout{display:flex;min-height:100vh}.sidebar{background:#1e293b;bottom:0;color:#fff;display:flex;flex-direction:column;left:0;position:fixed;top:0;width:250px;z-index:100}.sidebar-header{border-bottom:1px solid #334155;padding:1.5rem}.sidebar-header h2{color:#818cf8;font-size:1.5rem}.sidebar-subtitle{color:#94a3b8;font-size:.75rem;margin-top:.25rem}.sidebar-nav{flex:1 1;overflow-y:auto;padding:1rem 0}.sidebar-link{align-items:center;color:#cbd5e1;display:flex;font-size:.9rem;gap:.75rem;padding:.75rem 1.5rem;transition:all .2s}.sidebar-link:hover{background:#334155;color:#fff}.sidebar-link.active{background:#4f46e5;color:#fff}.sidebar-footer{border-top:1px solid #334155;padding:1rem 1.5rem}.sidebar-user{gap:.75rem;margin-bottom:.75rem}.sidebar-avatar,.sidebar-user{align-items:center;display:flex}.sidebar-avatar{background:#4f46e5;border-radius:50%;font-size:.9rem;font-weight:700;height:36px;justify-content:center;width:36px}.sidebar-username{font-size:.85rem;font-weight:600}.sidebar-role{color:#94a3b8;font-size:.7rem;text-transform:capitalize}.sidebar-logout{align-items:center;background:#ef4444;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.85rem;gap:.5rem;justify-content:center;padding:.5rem;transition:background .2s;width:100%}.sidebar-logout:hover{background:#dc2626}.sidebar-chat-badge{background:#ef4444;border-radius:999px;color:#fff;font-size:.68rem;font-weight:700;margin-left:auto;min-width:18px;padding:1px 6px;text-align:center}.main-content{flex:1 1;margin-left:250px;min-height:100vh;padding:2rem}.login-page{align-items:center;background:linear-gradient(135deg,#4f46e5,#7c3aed);display:flex;justify-content:center;min-height:100vh}.login-card{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0003;max-width:400px;padding:2.5rem;text-align:center;width:100%}.login-card h1{color:#4f46e5;font-size:2rem;margin-bottom:.25rem}.login-subtitle{color:#6b7280;font-size:.9rem;margin-bottom:2rem}.login-demo{border-top:1px solid #e5e7eb;margin-top:1.5rem;padding-top:1rem;text-align:left}.login-demo p{color:#374151;font-size:.85rem;font-weight:600;margin-bottom:.5rem}.login-demo small{color:#6b7280;line-height:1.8}.page-header{flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.page-header,.page-header h1{align-items:center;display:flex}.page-header h1{font-size:1.5rem;gap:.5rem}.filters-row{flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.filters-row,.search-box{align-items:center;display:flex}.search-box{background:#fff;border:1px solid #d1d5db;border-radius:8px;flex:1 1;gap:.5rem;min-width:200px;padding:.5rem 1rem}.search-box input{border:none;flex:1 1;font-size:.9rem;outline:none}.chart-container,.detail-card,.form-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:1.5rem}.form-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.detail-grid{grid-gap:1.25rem;display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.detail-item label{color:#6b7280;display:block;font-size:.75rem;letter-spacing:.05em;margin-bottom:.25rem;text-transform:uppercase}.detail-item span{font-size:1rem;font-weight:500}.form-group{display:flex;flex-direction:column;gap:.35rem}.form-group label{color:#374151;font-size:.85rem;font-weight:600}.filters-row select,.form-group input,.form-group select,.form-group textarea{background:#fff;border:1px solid #d1d5db;border-radius:8px;font-size:.9rem;outline:none;padding:.6rem .75rem;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.form-group textarea{resize:vertical}.summary-cards{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:1.5rem}.summary-card{align-items:center;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;gap:1rem;padding:1.5rem}.card-icon{font-size:2rem}.summary-card h3{font-size:1.75rem;margin-bottom:.1rem}.summary-card p{color:#6b7280;font-size:.85rem}.charts-row{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 1fr;margin-bottom:1.5rem}.chart-container h3{font-size:1rem;margin-bottom:1rem}.table{border-collapse:collapse;width:100%}.table th{background:#f9fafb;color:#6b7280;font-size:.75rem;letter-spacing:.05em;text-transform:uppercase}.table td,.table th{border-bottom:1px solid #e5e7eb;padding:.75rem 1rem;text-align:left}.table tbody tr:hover{background:#f9fafb}.table td{font-size:.9rem}.actions{display:flex;gap:.4rem}.pagination{align-items:center;display:flex;gap:1rem;justify-content:center;margin-top:1.5rem}.pagination button{background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;font-size:.85rem;padding:.5rem 1rem}.pagination button:disabled{cursor:not-allowed;opacity:.5}.pagination span{color:#6b7280;font-size:.85rem}.btn-primary{align-items:center;background:#4f46e5;border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:.9rem;font-weight:500;gap:.4rem;padding:.6rem 1.25rem;transition:background .2s}.btn-primary:hover{background:#4338ca}.btn-primary:disabled{cursor:not-allowed;opacity:.6}.btn-block{justify-content:center;width:100%}.btn-secondary{align-items:center;background:#6b7280;border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:.9rem;gap:.4rem;padding:.6rem 1.25rem;transition:background .2s}.btn-secondary:hover{background:#4b5563}.btn-sm{align-items:center;border:none;border-radius:6px;color:#fff;cursor:pointer;display:inline-flex;font-size:.8rem;gap:.25rem;padding:.35rem .6rem}.btn-info{background:#3b82f6}.btn-info:hover{background:#2563eb}.btn-warning{background:#f59e0b}.btn-warning:hover{background:#d97706}.btn-success{background:#10b981;color:#fff}.btn-success:hover{background:#059669}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626}.status-badge{border-radius:20px;font-size:.75rem;font-weight:600;padding:.2rem .6rem;text-transform:capitalize}.status-active,.status-approved,.status-present{background:#d1fae5;color:#065f46}.status-absent,.status-inactive,.status-rejected{background:#fee2e2;color:#991b1b}.status-pending{background:#fef3c7;color:#92400e}.status-paid{background:#d1fae5;color:#065f46}.status-admin{background:#ede9fe;color:#5b21b6}.status-hr{background:#dbeafe;color:#1e40af}.status-employee{background:#f3f4f6;color:#374151}.status-late{background:#ffedd5;color:#9a3412}.status-half.day{background:#fef3c7;color:#92400e}.loading{color:#6b7280;font-size:1rem;padding:3rem;text-align:center}.settings-page h1{margin-bottom:1.5rem}.calendar-container{max-width:1000px}.calendar-header{justify-content:space-between;margin-bottom:1.5rem}.calendar-header,.calendar-nav{align-items:center;display:flex}.calendar-nav{gap:1rem}.calendar-nav h2{color:#1f2937;font-size:1.4rem;min-width:220px;text-align:center}.calendar-grid{grid-gap:2px;background:#e5e7eb;border-radius:8px;display:grid;gap:2px;grid-template-columns:repeat(7,1fr);overflow:hidden}.calendar-day-header{background:#1e293b;color:#fff;font-size:.85rem;font-weight:600;padding:.6rem;text-align:center}.calendar-day-header.sunday{color:#fca5a5}.calendar-day{background:#fff;cursor:pointer;min-height:90px;padding:.4rem;position:relative;transition:all .15s}.calendar-day:hover{background:#f0f0ff}.calendar-day.other-month{background:#f9fafb;color:#d1d5db;cursor:default}.calendar-day.today{background:#eef2ff;box-shadow:inset 0 0 0 2px #4f46e5}.calendar-day.selected{background:#e0e7ff;box-shadow:inset 0 0 0 2px #4338ca}.calendar-day.sunday{background:#fff5f5}.calendar-day.sunday.other-month{background:#fdf2f2}.calendar-day.has-events{cursor:pointer}.calendar-day-number{display:inline-block;font-size:.85rem;font-weight:600;margin-bottom:.2rem}.calendar-day.today .calendar-day-number{align-items:center;background:#4f46e5;border-radius:50%;color:#fff;display:inline-flex;height:24px;justify-content:center;width:24px}.calendar-markers{display:flex;flex-direction:column;gap:2px}.calendar-marker{border-radius:3px;font-size:.65rem;line-height:1.4;overflow:hidden;padding:1px 4px;text-overflow:ellipsis;white-space:nowrap}.calendar-marker.holiday{background:#d1fae5;color:#065f46;font-weight:600}.calendar-marker.approved{background:#dbeafe;color:#1e40af}.calendar-marker.pending{background:#fef3c7;color:#92400e}.calendar-marker.rejected{background:#fee2e2;color:#991b1b;opacity:.7}.calendar-legend{background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-wrap:wrap;gap:1.2rem;margin-top:1.2rem;padding:1rem}.legend-item{align-items:center;color:#4b5563;display:flex;font-size:.82rem;gap:.4rem}.legend-dot{border-radius:3px;display:inline-block;flex-shrink:0;height:14px;width:14px}.legend-dot.holiday{background:#d1fae5;border:1px solid #065f46}.legend-dot.approved{background:#dbeafe;border:1px solid #1e40af}.legend-dot.pending{background:#fef3c7;border:1px solid #92400e}.legend-dot.rejected{background:#fee2e2;border:1px solid #991b1b}.legend-dot.today-dot{background:#eef2ff;border:2px solid #4f46e5}.legend-dot.sunday-dot{background:#fff5f5;border:1px solid #fca5a5}.calendar-detail{animation:slideDown .2s ease;background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-top:1rem;padding:1.2rem}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.calendar-detail-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem}.calendar-detail-header h3{color:#1f2937;font-size:1.1rem}.calendar-detail-item{align-items:center;border-radius:6px;display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:.5rem;padding:.75rem}.calendar-detail-item p{color:#6b7280;font-size:.85rem;margin:0;width:100%}.holiday-detail{background:#ecfdf5}.leave-detail.approved{background:#eff6ff}.leave-detail.pending{background:#fffbeb}.leave-detail.rejected{background:#fef2f2}.detail-badge{border-radius:10px;font-size:.7rem;font-weight:600;padding:2px 8px}.detail-badge.holiday{background:#a7f3d0;color:#065f46}.detail-badge.approved{background:#bfdbfe;color:#1e40af}.detail-badge.pending{background:#fde68a;color:#92400e}.detail-badge.rejected{background:#fecaca;color:#991b1b}.detail-reason{font-style:italic}.project-key-badge{background:#eef2ff;border-radius:4px;color:#4f46e5;font-size:.75rem;font-weight:700;letter-spacing:.5px;padding:2px 8px}.progress-bar-container{background:#e5e7eb;border-radius:3px;display:inline-block;height:6px;vertical-align:middle;width:80px}.progress-bar-fill{background:#10b981;border-radius:3px;height:100%;transition:width .3s}.progress-text{color:#6b7280;font-size:.75rem;margin-left:6px}.member-checkboxes{background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;display:flex;flex-wrap:wrap;gap:.5rem;max-height:200px;overflow-y:auto;padding:.75rem}.member-checkbox{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:4px;cursor:pointer;display:flex;font-size:.85rem;gap:.3rem;padding:4px 8px}.member-checkbox input:checked+span{color:#4f46e5;font-weight:600}.kanban-board{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(4,1fr);min-height:400px}.kanban-column{background:#f1f5f9;border-radius:8px;display:flex;flex-direction:column;min-height:300px}.kanban-column-header{background:#f8fafc;border-radius:8px 8px 0 0;border-top:3px solid;display:flex;font-size:.85rem;justify-content:space-between;padding:.75rem 1rem}.kanban-column-header,.kanban-count{align-items:center;color:#374151;font-weight:700}.kanban-count{background:#e5e7eb;border-radius:50%;display:inline-flex;font-size:.7rem;height:22px;justify-content:center;width:22px}.kanban-cards{display:flex;flex:1 1;flex-direction:column;gap:.5rem;padding:.5rem}.kanban-card{background:#fff;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 1px 2px #0000000d;cursor:pointer;padding:.75rem;transition:all .15s}.kanban-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-1px)}.kanban-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.3rem}.kanban-task-id{color:#6b7280;font-size:.7rem;font-weight:600}.priority-dot{border-radius:50%;display:inline-block;height:8px;width:8px}.priority-dot.priority-low{background:#6b7280}.priority-dot.priority-medium{background:#3b82f6}.priority-dot.priority-high{background:#f59e0b}.priority-dot.priority-critical{background:#ef4444}.kanban-card-title{color:#1f2937;font-size:.85rem;font-weight:600;line-height:1.3;margin-bottom:.4rem}.kanban-card-meta{align-items:center;display:flex;font-size:.7rem;justify-content:space-between;margin-bottom:.4rem}.kanban-due,.kanban-type-badge{color:#6b7280}.kanban-due.overdue{color:#ef4444;font-weight:600}.kanban-card-footer{align-items:center;display:flex;justify-content:space-between}.kanban-avatar{align-items:center;background:#4f46e5;border-radius:50%;color:#fff;display:inline-flex;font-size:.65rem;font-weight:700;height:24px;justify-content:center;width:24px}.kanban-unassigned{color:#9ca3af;font-size:.7rem}.kanban-move-btns{display:flex;gap:2px}.kanban-move-btn{background:#fff;border:1px solid #d1d5db;border-radius:3px;color:#6b7280;cursor:pointer;font-size:.55rem;font-weight:600;line-height:1.4;padding:1px 4px}.kanban-move-btn:hover{background:#f3f4f6}.kanban-empty{color:#9ca3af;font-size:.8rem;padding:2rem .5rem;text-align:center}.task-detail-layout{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 300px;margin-top:1rem}.task-detail-main{min-width:0}.task-description{color:#374151;line-height:1.6;white-space:pre-wrap}.task-detail-sidebar .form-card{position:sticky;top:1rem}.task-sidebar-field{border-bottom:1px solid #f3f4f6;padding:.6rem 0}.task-sidebar-field:last-child{border-bottom:none}.task-sidebar-field label{color:#6b7280;display:block;font-size:.7rem;font-weight:600;letter-spacing:.5px;margin-bottom:.3rem;text-transform:uppercase}.task-sidebar-field span{color:#1f2937;font-size:.88rem}.task-sidebar-field input,.task-sidebar-field select{border:1px solid #d1d5db;border-radius:4px;font-size:.85rem;padding:.35rem;width:100%}.task-timestamp{color:#9ca3af!important;font-size:.78rem!important}.overdue-text{color:#ef4444!important;font-weight:600}.status-buttons{display:flex;flex-wrap:wrap;gap:4px}.status-btn{background:#fff;border:2px solid #e5e7eb;border-radius:4px;color:#6b7280;cursor:pointer;font-size:.65rem;font-weight:600;padding:3px 8px;transition:all .15s}.status-btn:hover{background:#f3f4f6}.status-btn.active{background:var(--status-color);border-color:var(--status-color);color:#fff}.comments-list{margin-top:1rem}.comment-item{border-bottom:1px solid #f3f4f6;padding:.75rem}.comment-item:last-child{border-bottom:none}.comment-header{align-items:center;display:flex;gap:.5rem;margin-bottom:.3rem}.comment-avatar{align-items:center;background:#8b5cf6;border-radius:50%;color:#fff;display:inline-flex;flex-shrink:0;font-size:.7rem;font-weight:700;height:28px;justify-content:center;width:28px}.comment-header strong{font-size:.85rem}.comment-time{color:#9ca3af;font-size:.72rem}.comment-text{color:#374151;font-size:.88rem;line-height:1.4;margin:0;padding-left:2.3rem}.view-toggle{background:#e5e7eb;border-radius:6px;display:flex;gap:2px;padding:2px}.view-btn{align-items:center;background:#0000;border:none;border-radius:4px;color:#6b7280;cursor:pointer;display:flex;font-size:.8rem;font-weight:600;gap:.3rem;padding:.4rem .75rem;transition:all .15s}.view-btn.active{background:#fff;box-shadow:0 1px 3px #0000001a;color:#4f46e5}.view-btn:hover:not(.active){color:#374151}.epic-swimlane{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:1.5rem;overflow:hidden}.epic-swimlane-header{align-items:center;background:#f8fafc;border-bottom:1px solid #e5e7eb;cursor:pointer;display:flex;gap:.75rem;padding:.75rem 1rem}.epic-swimlane-header:hover{background:#f1f5f9}.epic-swimlane-header h3{align-items:center;display:flex;flex:1 1;font-size:.95rem;gap:.5rem}.epic-swimlane-count{background:#e5e7eb;border-radius:10px;color:#374151;font-size:.7rem;font-weight:600;padding:2px 8px}.epic-swimlane-progress{background:#e5e7eb;border-radius:3px;height:6px;overflow:hidden;width:100px}.epic-swimlane-progress .progress-bar-fill{background:#10b981;border-radius:3px;height:100%;transition:width .3s}.epic-card{align-items:center;background:#ede9fe;border:1px solid #c4b5fd;border-radius:6px;cursor:pointer;display:flex;gap:.5rem;margin:.5rem;padding:.5rem 1rem;transition:all .15s}.epic-card:hover{background:#ddd6fe}.epic-card .kanban-task-id{color:#5b21b6}.epic-card-title{color:#374151;flex:1 1;font-size:.85rem;font-weight:600}.story-swimlane{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;margin:.75rem .75rem 0;overflow:hidden}.story-swimlane-header{align-items:center;background:#fef3c7;border-bottom:1px solid #fde68a;cursor:pointer;display:flex;font-size:.88rem;gap:.6rem;padding:.5rem .85rem}.story-swimlane-header:hover{background:#fde68a}.story-board{background:#0000;padding:0 .5rem .5rem}.story-card{background:#fffbeb!important;border-color:#fde68a!important}.kanban-labels{display:flex;flex-wrap:wrap;gap:3px;margin-bottom:.3rem}.kanban-label{background:#dbeafe;border-radius:3px;color:#1e40af;font-size:.6rem;font-weight:600;padding:1px 6px}.story-points-badge{background:#f3f4f6;border:1px solid #d1d5db;border-radius:10px;color:#374151;font-size:.65rem;font-weight:700;padding:1px 6px}.kanban-parent-tag{background:#ede9fe;border-radius:3px;color:#5b21b6;cursor:pointer;font-size:.6rem;font-weight:600;padding:1px 5px}.kanban-parent-tag:hover{background:#ddd6fe}.epic-progress-bar{background:#e5e7eb;border-radius:2px;height:4px;margin-top:.3rem;overflow:hidden;width:100%}.epic-progress-fill{background:#10b981;border-radius:2px;height:100%;transition:width .3s}.task-parent-breadcrumb{align-items:center;background:#ede9fe;border:1px solid #c4b5fd;border-radius:6px;display:flex;gap:.5rem;margin-bottom:.5rem;padding:.5rem 1rem}.task-type-icon{font-size:1rem}.task-parent-link{color:#5b21b6;font-size:.88rem;font-weight:600;text-decoration:none;transition:color .15s}.task-parent-link:hover{color:#7c3aed;text-decoration:underline}.task-labels{display:flex;flex-wrap:wrap;gap:.4rem}.task-label-badge{background:#dbeafe;border-radius:12px;color:#1e40af;font-size:.75rem;font-weight:600;padding:2px 10px}.sibling-tasks-list{margin-top:.75rem}.sibling-task-item{align-items:center;border-bottom:1px solid #f3f4f6;cursor:pointer;display:flex;font-size:.88rem;gap:.75rem;padding:.5rem .75rem;transition:background .15s}.sibling-task-item:hover{background:#f9fafb}.sibling-task-item:last-child{border-bottom:none}.list-view-table{overflow-x:auto}.list-view-table .table{min-width:700px}.list-view-table .table tr{cursor:pointer}.list-view-table .table tr:hover{background:#eef2ff}.payroll-detail-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.payroll-breakdown{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.payroll-section{padding:1rem}.payroll-section:first-child{border-bottom:1px solid #e5e7eb}.payroll-section-title{border-bottom:2px solid #e5e7eb;font-size:.8rem;font-weight:700;letter-spacing:.5px;margin-bottom:.75rem;padding-bottom:.4rem;text-transform:uppercase}.earnings-title{border-color:#10b981;color:#059669}.deductions-title{border-color:#ef4444;color:#dc2626}.payroll-row{align-items:center;display:flex;font-size:.9rem;justify-content:space-between;padding:.4rem 0}.payroll-row span:first-child{color:#4b5563}.payroll-amount{color:#1f2937;font-weight:600}.payroll-amount.deduction{color:#ef4444}.payroll-subtotal{border-top:1px dashed #d1d5db;font-weight:700;margin-top:.4rem;padding-top:.5rem}.payroll-subtotal .payroll-amount{font-size:.95rem}.payroll-net-row{align-items:center;background:#1e293b;color:#fff;display:flex;font-size:1.1rem;font-weight:700;justify-content:space-between;padding:1rem}.payroll-net-amount{color:#10b981;font-size:1.25rem}.payroll-edit-input{border:1px solid #d1d5db;border-radius:4px;font-size:.85rem;padding:.3rem .5rem;text-align:right;width:120px}.payroll-edit-input:focus{border-color:#4f46e5;box-shadow:0 0 0 2px #4f46e51a;outline:none}.checkin-panel{align-items:center;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;flex-wrap:wrap;gap:1.5rem;margin-bottom:1.5rem;padding:1.25rem 1.5rem}.checkin-panel-left{flex-shrink:0}.checkin-date h3{color:#1f2937;font-size:1rem}.checkin-date .checkin-time{color:#4f46e5;font-size:1.5rem;font-weight:700;margin-top:.2rem}.checkin-panel-center{display:flex;flex:1 1;justify-content:center}.checkin-status-info{align-items:center;display:flex;flex-direction:column;gap:.5rem}.checkin-times{align-items:center;display:flex;gap:1rem}.checkin-time-block{text-align:center}.checkin-time-label{color:#6b7280;display:block;font-size:.7rem;font-weight:600;text-transform:uppercase}.checkin-time-value{color:#1f2937;font-size:1.3rem;font-weight:700}.checkin-time-divider{color:#d1d5db;font-size:1.2rem;font-weight:700}.checkin-panel-right{flex-shrink:0}.btn-checkin{align-items:center;background:#10b981;border:none;border-radius:10px;box-shadow:0 2px 8px #10b9814d;color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;gap:.5rem;padding:.75rem 1.5rem;transition:background .2s}.btn-checkin:hover{background:#059669}.btn-checkin:disabled{cursor:not-allowed;opacity:.6}.btn-checkout{align-items:center;background:#ef4444;border:none;border-radius:10px;box-shadow:0 2px 8px #ef44444d;color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;gap:.5rem;padding:.75rem 1.5rem;transition:background .2s}.btn-checkout:hover{background:#dc2626}.btn-checkout:disabled{cursor:not-allowed;opacity:.6}.checkin-done-text{background:#d1fae5;border-radius:8px;color:#10b981;font-size:.9rem;font-weight:600;padding:.5rem 1rem}.attendance-approval-badge,.attendance-status-badge{border-radius:12px;color:#fff;font-size:.7rem;font-weight:700;padding:2px 10px}.pending-count-badge{background:#fef3c7;border:1px solid #fde68a;border-radius:20px;color:#92400e;font-size:.8rem;font-weight:600;padding:.3rem .75rem}.bulk-actions-bar{align-items:center;background:#eef2ff;border:1px solid #c7d2fe;border-radius:8px;color:#4338ca;display:flex;font-size:.85rem;font-weight:600;gap:.75rem;margin-bottom:1rem;padding:.6rem 1rem}.login-account-section{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;margin-top:1.25rem;padding:1rem}.login-account-toggle,.toggle-label{align-items:center;display:flex}.toggle-label{color:#166534;cursor:pointer;font-size:.9rem;font-weight:600;gap:.5rem}.toggle-label input[type=checkbox]{accent-color:#16a34a;cursor:pointer;height:18px;width:18px}.worklog-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.worklog-summary{align-items:center;display:flex;gap:.6rem}.worklog-total-badge{background:#eef2ff;border:1px solid #c7d2fe;border-radius:20px;color:#4338ca;font-size:.8rem;font-weight:700;padding:.25rem .75rem}.worklog-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:.75rem;padding:.75rem}.worklog-time-inputs{display:flex;gap:.5rem}.worklog-time-field{flex:1 1}.worklog-time-field label{color:#64748b;display:block;font-size:.7rem;font-weight:600;margin-bottom:.2rem;text-transform:uppercase}.worklog-time-field input{border:1px solid #d1d5db;border-radius:6px;font-size:.85rem;padding:.4rem .5rem;width:100%}.worklog-list{margin-top:.5rem}.worklog-item{border-bottom:1px solid #f1f5f9;padding:.6rem 0}.worklog-item:last-child{border-bottom:none}.worklog-item-header{align-items:center;display:flex;gap:.5rem}.worklog-item-meta{align-items:center;display:flex;flex:1 1;gap:.4rem}.worklog-item-meta strong{font-size:.85rem}.worklog-time-badge{background:#dbeafe;border-radius:10px;color:#1d4ed8;font-size:.75rem;font-weight:700;padding:1px 8px}.worklog-delete{align-items:center;background:none;border:none;border-radius:4px;color:#94a3b8;cursor:pointer;display:flex;padding:4px;transition:all .2s}.worklog-delete:hover{background:#fef2f2;color:#ef4444}.worklog-description{color:#4b5563;font-size:.83rem;margin-top:.3rem;padding-left:2.2rem}.duration-tracker{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-top:.75rem;padding:1rem 1.25rem}.duration-bar-container{background:#e2e8f0;border-radius:10px;height:18px;margin-bottom:.5rem;overflow:hidden;width:100%}.duration-bar-fill{background:linear-gradient(90deg,#4f46e5,#818cf8);border-radius:10px;height:100%;transition:width .4s ease}.duration-info{align-items:center;color:#64748b;display:flex;font-size:.8rem;justify-content:space-between}.duration-worked{color:#1e293b;font-size:.9rem;font-weight:700}.duration-separator{color:#cbd5e1}.duration-required{color:#64748b}.duration-lunch{color:#f59e0b;font-weight:600}.on-lunch-badge{align-items:center;animation:pulse-lunch 1.5s infinite;background:#fef3c7;border-radius:12px;color:#92400e;display:inline-flex;font-size:.75rem;font-weight:600;gap:.4rem;padding:.2rem .6rem}@keyframes pulse-lunch{0%,to{opacity:1}50%{opacity:.6}}.btn-lunch{align-items:center;background:#fbbf24;border:none;border-radius:6px;color:#78350f;cursor:pointer;display:inline-flex;font-size:.8rem;font-weight:600;gap:.4rem;padding:.45rem 1rem;transition:background .2s}.btn-lunch:hover{background:#f59e0b}.btn-lunch-end{align-items:center;animation:pulse-lunch 1.5s infinite;background:#fb923c;border:none;border-radius:6px;color:#fff;cursor:pointer;display:inline-flex;font-size:.8rem;font-weight:600;gap:.4rem;padding:.45rem 1rem;transition:background .2s}.btn-lunch-end:hover{background:#f97316}.lunch-done-text{align-items:center;color:#16a34a;display:inline-flex;font-size:.8rem;font-weight:600;gap:.3rem}.lunch-block{align-items:center;display:flex;gap:.75rem;margin-top:.5rem}.lunch-time{color:#64748b;font-size:.75rem}.table-dur-bar{background:#e2e8f0;border-radius:4px;display:inline-block;height:6px;margin-left:.4rem;overflow:hidden;vertical-align:middle;width:60px}.table-dur-fill{background:linear-gradient(90deg,#4f46e5,#818cf8);border-radius:4px;height:100%}.tab-bar{border-bottom:2px solid #e5e7eb;display:flex;gap:0}.tab-btn{background:none;border:none;border-bottom:2px solid #0000;color:#6b7280;cursor:pointer;font-size:.9rem;margin-bottom:-2px;padding:.5rem 1.25rem;transition:color .15s,border-color .15s}.tab-btn:hover{color:#1f2937}.tab-btn.active{border-bottom-color:#4f46e5;color:#4f46e5;font-weight:600}.logs-list{display:flex;flex-direction:column;gap:.75rem}.log-entry{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.85rem 1rem}.log-entry-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-bottom:.35rem}.log-title{font-size:.95rem}.log-type-badge{border-radius:999px;font-size:.72rem;font-weight:600;padding:.15rem .5rem;white-space:nowrap}.log-date{color:#6b7280;font-size:.8rem;white-space:nowrap}.log-description{color:#374151;font-size:.875rem;margin:.25rem 0;white-space:pre-wrap}.log-meta{align-items:center;color:#9ca3af;display:flex;flex-wrap:wrap;font-size:.75rem;gap:1rem;margin-top:.4rem}.chat-layout{background:#fff;border:1px solid #e5e7eb;border-radius:12px;display:flex;gap:0;height:calc(100vh - 2rem);overflow:hidden}.chat-sidebar{background:#f9fafb;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;min-width:260px;width:300px}.chat-sidebar-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1rem}.chat-sidebar-header h2{align-items:center;display:flex;font-size:1.1rem;gap:.5rem;margin:0}.chat-header-actions{display:flex;gap:.4rem}.chat-icon-btn{align-items:center;background:none;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;font-size:1rem;padding:.35rem .5rem}.chat-icon-btn:hover{background:#e0e7ff;border-color:#c7d2fe;color:#4f46e5}.chat-search-box{align-items:center;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;gap:.5rem;padding:.5rem 1rem}.chat-search-box svg{color:#9ca3af;flex-shrink:0}.chat-search-box input{background:#0000;border:none;font-size:.875rem;outline:none;width:100%}.chat-room-list{flex:1 1;overflow-y:auto}.chat-room-item{align-items:center;border-bottom:1px solid #f3f4f6;cursor:pointer;display:flex;gap:.75rem;padding:.75rem 1rem;transition:background .15s}.chat-room-item:hover{background:#f0f4ff}.chat-room-item.active{background:#e0e7ff}.chat-room-info{flex:1 1;min-width:0}.chat-room-name{align-items:center;display:flex;font-size:.88rem;font-weight:600}.chat-room-last,.chat-room-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-room-last{color:#9ca3af;font-size:.78rem;margin-top:2px}.chat-room-meta{align-items:flex-end;display:flex;flex-direction:column;flex-shrink:0;gap:4px}.chat-room-time{color:#9ca3af;font-size:.72rem}.chat-avatar{align-items:center;background:#6366f1;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:1rem;font-weight:700;height:38px;justify-content:center;width:38px}.chat-avatar-group{background:#8b5cf6}.chat-avatar-sm{font-size:.8rem;height:28px;width:28px}.chat-unread-badge{background:#4f46e5;border-radius:999px;color:#fff;font-size:.7rem;font-weight:700;min-width:20px;padding:1px 7px;text-align:center}.chat-user-picker{background:#fff;border-bottom:1px solid #e5e7eb;padding:.75rem}.chat-user-picker-header{align-items:center;display:flex;font-size:.88rem;font-weight:600;justify-content:space-between;margin-bottom:.5rem}.chat-user-picker-header button{background:none;border:none;color:#6b7280;cursor:pointer}.chat-user-list{max-height:240px;overflow-y:auto}.chat-user-item{align-items:center;border-radius:8px;cursor:pointer;display:flex;gap:.6rem;padding:.4rem .5rem}.chat-user-item:hover{background:#f0f4ff}.chat-user-name{font-size:.85rem;font-weight:600}.chat-user-role{color:#9ca3af;font-size:.75rem}.chat-empty-text{color:#9ca3af;font-size:.82rem;padding:.5rem;text-align:center}.chat-main{display:flex;flex:1 1;flex-direction:column;min-width:0}.chat-main-header{align-items:center;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;gap:.75rem;padding:.875rem 1.25rem}.chat-main-name{align-items:center;display:flex;font-size:1rem;font-weight:700}.chat-main-sub{color:#9ca3af;font-size:.78rem}.chat-typing{color:#6b7280;font-size:.75rem;font-style:italic}.chat-messages{background:#f9fafb;display:flex;flex:1 1;flex-direction:column;gap:.25rem;overflow-y:auto;padding:1rem 1.25rem}.chat-msg-row{align-items:flex-end;display:flex;gap:.5rem}.chat-msg-row.mine{flex-direction:row-reverse}.chat-msg-avatar{align-self:flex-end;margin-bottom:2px}.chat-msg-bubble-wrap{display:flex;flex-direction:column;max-width:65%}.chat-msg-row.mine .chat-msg-bubble-wrap{align-items:flex-end}.chat-sender-name{color:#6b7280;font-size:.72rem;margin-bottom:2px;padding:0 6px}.chat-msg-bubble{border-radius:16px;font-size:.9rem;line-height:1.4;padding:.5rem .875rem;word-break:break-word}.bubble-mine{background:#4f46e5;border-bottom-right-radius:4px;color:#fff}.bubble-theirs{background:#fff;border:1px solid #e5e7eb;border-bottom-left-radius:4px;color:#1f2937}.chat-msg-time{color:#9ca3af;font-size:.68rem;padding:2px 6px}.chat-file-attachment{align-items:center;background:#ffffff26;border-radius:8px;color:inherit;display:flex;gap:.5rem;max-width:260px;min-width:180px;padding:.5rem .75rem;text-decoration:none}.chat-file-attachment:hover{opacity:.85}.chat-file-name{font-size:.85rem;font-weight:600;word-break:break-all}.chat-file-size{font-size:.75rem;opacity:.75}.chat-input-row{background:#fff;border-top:1px solid #e5e7eb;display:flex;gap:.5rem;padding:.875rem 1.25rem}.chat-input{border:1px solid #e5e7eb;border-radius:24px;flex:1 1;font-size:.9rem;outline:none;padding:.55rem 1rem}.chat-input:focus{border-color:#6366f1}.chat-send-btn{align-items:center;background:#4f46e5;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:1rem;height:40px;justify-content:center;width:40px}.chat-send-btn:disabled{background:#c7d2fe;cursor:not-allowed}.chat-send-btn:not(:disabled):hover{background:#4338ca}.chat-empty-state{align-items:center;color:#9ca3af;display:flex;flex:1 1;flex-direction:column;justify-content:center;padding:2rem;text-align:center}.bulk-action-bar{align-items:center;background:#eef2ff;border:1px solid #c7d2fe;border-radius:8px;display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:.75rem;padding:.6rem 1rem}.bulk-count{color:#4f46e5;font-weight:600;white-space:nowrap}.modal-overlay{align-items:center;background:#00000073;display:flex;inset:0;justify-content:center;position:fixed;z-index:1000}.modal-box{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000002e;max-width:440px;padding:1.5rem;width:100%}.hierarchy-container{padding:.5rem 0}.hierarchy-node{margin-bottom:.5rem}.hierarchy-card{align-items:center;background:#fff;border-left:3px solid #4f46e5;border-radius:10px;box-shadow:0 1px 3px #00000014;display:flex;gap:.75rem;padding:.75rem 1rem}.hierarchy-toggle{background:none;border:none;color:#6b7280;cursor:pointer;font-size:1rem;padding:0}.hierarchy-avatar,.hierarchy-toggle{align-items:center;display:flex;flex-shrink:0}.hierarchy-avatar{background:#4f46e5;border-radius:50%;color:#fff;font-size:.9rem;font-weight:600;height:36px;justify-content:center;width:36px}.hierarchy-info{display:flex;flex:1 1;flex-direction:column;min-width:0}.hierarchy-name{color:#1f2937;font-size:.95rem;font-weight:600;text-decoration:none}.hierarchy-name:hover{color:#4f46e5}.hierarchy-meta{color:#6b7280;font-size:.8rem}.hierarchy-id{color:#9ca3af;font-size:.75rem}.hierarchy-count{background:#eef2ff;border-radius:12px;color:#4f46e5;font-size:.75rem;padding:.2rem .5rem;white-space:nowrap}.hierarchy-children{border-left:2px dashed #e5e7eb;margin-left:1.5rem;margin-top:.5rem;padding-left:1rem}.hamburger-btn{align-items:center;background:none;border:1px solid #e5e7eb;border-radius:8px;color:#374151;cursor:pointer;display:none;margin-bottom:1rem;padding:.45rem .6rem}.hamburger-btn:hover{background:#f3f4f6}.sidebar-close-btn{align-items:center;background:none;border:none;color:#94a3b8;cursor:pointer;display:none;flex-shrink:0;padding:.25rem}.sidebar-close-btn:hover{color:#fff}.sidebar-overlay{background:#00000073;display:none;inset:0;position:fixed;z-index:99}@media (max-width:1024px){.charts-row,.task-detail-layout{grid-template-columns:1fr}.kanban-board{gap:.75rem}.chat-sidebar{min-width:200px;width:240px}}@media (max-width:768px){.sidebar{transform:translateX(-100%);transition:transform .25s ease;width:260px;z-index:200}.sidebar.sidebar-mobile-open{transform:translateX(0)}.sidebar-close-btn{display:flex}.sidebar-overlay{display:block}.main-content{margin-left:0;padding:1rem}.hamburger-btn{display:inline-flex}.page-header{align-items:flex-start;flex-direction:column}.page-header h1{font-size:1.2rem}.filters-row{gap:.5rem}.filters-row select{width:100%}.search-box{min-width:100%}.summary-cards{grid-template-columns:repeat(2,1fr)}.detail-grid,.form-grid{grid-template-columns:1fr}.chart-container,.detail-card,.form-card{padding:1rem}.main-content{overflow-x:auto}.table td,.table th{font-size:.82rem;padding:.6rem .75rem;white-space:nowrap}.charts-row{gap:1rem;grid-template-columns:1fr}.calendar-container{max-width:100%}.calendar-day{min-height:52px;padding:.25rem}.calendar-day-number{font-size:.75rem}.calendar-marker{font-size:.55rem;padding:1px 2px}.calendar-nav h2{font-size:1rem;min-width:150px}.calendar-legend{gap:.6rem;padding:.75rem}.legend-item{font-size:.75rem}.kanban-board{gap:.75rem}.kanban-board,.story-board{grid-template-columns:1fr!important}.epic-swimlane-header{flex-wrap:wrap;font-size:.85rem;gap:.4rem}.task-detail-layout{grid-template-columns:1fr}.checkin-panel{align-items:center;flex-direction:column;text-align:center}.lunch-block{flex-wrap:wrap;justify-content:center}.tab-bar{overflow-x:auto}.tab-btn{white-space:nowrap}.payroll-detail-grid{grid-template-columns:1fr}.bulk-action-bar{align-items:flex-start;flex-direction:column}.bulk-action-bar select{width:100%}.hierarchy-children{margin-left:1rem;padding-left:.5rem}.hierarchy-card{padding:.6rem .75rem}.modal-box{max-width:95vw;padding:1.25rem}.modal-content{max-width:95vw!important}.page-header>div{flex-wrap:wrap}.login-card{margin:1rem;padding:1.75rem 1.25rem}.chat-layout{flex-direction:column;height:auto;min-height:calc(100vh - 5rem)}.chat-sidebar{border-bottom:1px solid #e5e7eb;border-right:none;max-height:280px;min-width:100%;width:100%}.chat-main{flex:1 1;min-height:400px}.chat-messages{max-height:40vh}.log-entry-header{flex-direction:column;gap:.25rem}}
/*# sourceMappingURL=main.b7efa4d6.css.map*/