*,:before,:after{box-sizing:border-box}.dashboard-wrapper{min-height:100vh;display:flex}.dashboard-sidebar{color:#fff;z-index:100;flex-direction:column;width:220px;min-width:220px;padding:1.5rem 0;transition:transform .3s,background .35s;display:flex;position:relative;background:var(--dashboard-sidebar-bg,#1a1a2e)!important}.dashboard-sidebar-inner{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.dashboard-sidebar-brand{flex-shrink:0}.dashboard-sidebar-nav{-webkit-overflow-scrolling:touch;flex:1;min-height:0;overflow-y:auto}.dashboard-sidebar-footer{flex-shrink:0;margin-top:auto}@media (min-width:768px){.dashboard-sidebar{align-self:flex-start;height:100vh;position:sticky;top:0}}.dashboard-body{flex-direction:column;flex:1;min-width:0;min-height:100vh;display:flex}.dashboard-main{background:#f5f5f7;flex:1;min-width:0;padding:2rem}.dashboard-top-bar{flex-shrink:0;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.dashboard-top-bar-start{align-items:center;gap:.75rem;min-width:0;display:flex}.dashboard-top-bar-title-mobile{display:none}.dashboard-top-bar-end{flex:1;justify-content:flex-end;align-items:center;min-width:0;display:flex}.dashboard-top-bar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem 1rem;max-width:100%;display:flex}.dashboard-user-name{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.tenant-switcher-topbar{flex-wrap:wrap;align-items:center;gap:.35rem .5rem;min-width:0;display:flex}.tenant-switcher-topbar--single{max-width:min(52vw,220px)}.tenant-switcher-topbar__label{text-transform:uppercase;letter-spacing:.02em;flex-shrink:0;font-size:.65rem}.tenant-switcher-topbar__value{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;line-height:1.3;display:block;overflow:hidden}.tenant-switcher-topbar__select{cursor:pointer;border-radius:4px;min-width:0;max-width:min(46vw,200px);padding:.2rem .35rem;font-size:.8rem}@media (min-width:768px){.dashboard-top-bar{background:#fff;border-bottom:1px solid #e0e0e6;justify-content:flex-end;align-items:center;padding:.45rem 1.25rem;box-shadow:0 1px 2px #0000000a}.dashboard-top-bar-start{display:none}.dashboard-top-bar-end{flex:0 auto}.dashboard-user-name{color:#444;max-width:240px;font-size:.85rem}.tenant-switcher-topbar__label{color:#666}.tenant-switcher-topbar__value{color:#1a1a2e;font-weight:500}.tenant-switcher-topbar__select{color:#1a1a2e;background:#fff;border:1px solid #c5c5d0}}@media (max-width:767px){.dashboard-top-bar{color:#fff;z-index:90;padding:.65rem 1rem;transition:background .35s;position:sticky;top:0;background:var(--dashboard-sidebar-bg,#1a1a2e)!important}.dashboard-top-bar-title-mobile{font-size:1rem;font-weight:600;display:inline}.dashboard-user-name{color:#ffffffe0;max-width:38vw}.tenant-switcher-topbar__label{color:#ffffff8c}.tenant-switcher-topbar__value{color:#fff}.tenant-switcher-topbar__select{color:#fff;background:#0003;border:1px solid #ffffff59}}.sidebar-overlay{display:none}.mobile-menu-btn{color:#fff;cursor:pointer;background:0 0;border:none;padding:.25rem;font-size:1.5rem;line-height:1;display:none}.sidebar-close-btn{color:#ffffffb3;cursor:pointer;background:0 0;border:none;padding:.25rem .5rem;font-size:1.25rem;display:none;position:absolute;top:.75rem;right:.5rem}.sub-nav{flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}html[data-dashboard-sidebar-themed=true] .sub-nav{background:var(--dashboard-sidebar-bg,#1a1a2e);border-radius:8px;padding:.65rem 1rem;transition:background .35s}html[data-dashboard-sidebar-themed=true] .sub-nav a{color:#ffffffeb!important}html[data-dashboard-sidebar-themed=true] .sub-nav span{color:#ffffff8c!important}.kanban-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;min-height:400px;display:grid}.filters-form{flex-wrap:wrap;align-items:flex-end;gap:.75rem;display:flex}.task-card-header{justify-content:space-between;align-items:flex-start;display:flex}.task-card-badges{flex-shrink:0;gap:.35rem;display:flex}.projects-list-card{flex-direction:column;gap:0;display:flex}.projects-list-card__main{flex:auto;min-width:0}.projects-list-card__tasks{border-top:1px solid #eee;flex-shrink:0;min-width:0;margin-top:.65rem;padding-top:.5rem;font-size:.8rem}.projects-list-card__tasks ul{font-size:inherit;margin:0;padding:0;list-style:none}@media (min-width:1024px){.projects-list-card--with-tasks{flex-direction:row;align-items:flex-start;gap:1rem}.projects-list-card--with-tasks .projects-list-card__main{flex:1 1 0}.projects-list-card--with-tasks .projects-list-card__tasks{border-top:none;border-left:1px solid #eee;flex:0 42%;align-self:stretch;max-width:28rem;max-height:min(60vh,22rem);margin-top:0;padding-top:0;padding-bottom:.15rem;padding-left:1rem;overflow-y:auto}}.dashboard-dashboard-column{margin-bottom:2rem}@media (min-width:1024px){.dashboard-dashboard-columns{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:1.25rem;margin-bottom:2rem;display:grid}.dashboard-dashboard-columns .dashboard-dashboard-column{min-width:0;margin-bottom:0}}.reports-donut-two-col{flex-direction:column;gap:1.25rem;margin-bottom:0;display:flex}@media (min-width:1024px){.reports-donut-two-col{flex-direction:row;align-items:flex-start;gap:1.25rem}.reports-donut-two-col__tenant{flex:0 38%;min-width:0}.reports-donut-two-col__divisions{border-left:1px solid #eee;flex:62%;min-width:0;padding-left:1.25rem}}.form-row{flex-wrap:wrap;gap:1rem;display:flex}.form-col{flex:120px}.modal-overlay{z-index:1000;background:#0006;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:8px;width:calc(100% - 2rem);max-width:400px;padding:1.25rem;box-shadow:0 4px 20px #00000026}.modal-content-md{background:#fff;border-radius:10px;width:calc(100% - 2rem);max-width:560px;max-height:calc(100vh - 4rem);padding:1.5rem;overflow-y:auto;box-shadow:0 8px 32px #0000002e}.modal-content-lg{background:#fff;border-radius:10px;width:calc(100% - 2rem);max-width:720px;max-height:calc(100vh - 4rem);padding:1.5rem;overflow-y:auto;box-shadow:0 8px 32px #0000002e}.modal-content-xl{background:#fff;border-radius:10px;width:calc(100% - 2rem);max-width:min(920px,100vw - 2rem);max-height:calc(100vh - 2rem);padding:1.5rem;overflow-y:auto;box-shadow:0 8px 32px #0000002e}.task-edit-modal-grid-2{grid-template-columns:1fr;gap:1rem;display:grid}@media (min-width:520px){.task-edit-modal-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.task-edit-modal-actions{background:linear-gradient(#fff0,#fff 30%);border-top:1px solid #ececec;margin-top:.25rem;margin-left:-.25rem;margin-right:-.25rem;padding:1rem .25rem .25rem;position:sticky;bottom:0}.view-tabs{-webkit-overflow-scrolling:touch;border-bottom:1px solid #e0e0e0;gap:.25rem;margin-bottom:1rem;display:flex;overflow-x:auto}.page-title-row{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.table-responsive{-webkit-overflow-scrolling:touch;overflow-x:auto}.pagination{color:#666;margin-top:.75rem;font-size:.9rem}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;display:grid}@media (max-width:767px){.dashboard-wrapper{flex-direction:column}.mobile-header{color:#fff;z-index:90;align-items:center;gap:.75rem;padding:.75rem 1rem;transition:background .35s;display:flex;position:sticky;top:0;background:var(--dashboard-sidebar-bg,#1a1a2e)!important}.mobile-header-title{font-size:1rem;font-weight:600}.mobile-menu-btn,.sidebar-close-btn{display:block}.dashboard-sidebar{z-index:200;width:260px;min-width:260px;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.dashboard-sidebar.sidebar-open{transform:translate(0)}.sidebar-overlay{z-index:150;background:#00000080;display:none;position:fixed;inset:0}.sidebar-overlay.sidebar-open{display:block}.dashboard-main{padding:1rem}.kanban-grid{grid-template-columns:1fr;min-height:auto}.filters-form{flex-direction:column;gap:.5rem}.filters-form>div{width:100%}.filters-form select,.filters-form input[type=search]{width:100%;min-width:0!important}.filters-form button,.filters-form a{text-align:center;justify-content:center;width:100%}.task-card-header{flex-direction:column;gap:.5rem}.task-card-badges{flex-wrap:wrap}.page-title-row{flex-direction:column;align-items:flex-start;gap:.75rem}.page-title-row h1{font-size:1.25rem}.form-row{flex-direction:column}.sub-nav{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:.5rem;padding-bottom:.25rem;overflow-x:auto}.sub-nav a,.sub-nav span{white-space:nowrap;flex-shrink:0}.stats-grid{grid-template-columns:1fr}.modal-content{max-width:calc(100% - 2rem);margin:1rem}.dashboard-card-row{flex-direction:column;gap:.5rem}}.loading-spinner{border:3px solid #e0e0e0;border-top-color:#1a1a2e;border-radius:50%;width:32px;height:32px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.skeleton{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%) 0 0/200% 100%;animation:1.5s ease-in-out infinite shimmer}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (min-width:768px) and (max-width:1024px){.dashboard-main{padding:1.5rem}.kanban-grid{gap:.75rem}.stats-grid{grid-template-columns:repeat(2,1fr)}}
