.app-shell.colorful-workspace{display:block;min-height:100vh}.app-shell.colorful-workspace>.sidebar{position:fixed;inset:0 auto 0 0;z-index:80;width:220px;height:100vh;height:100dvh;box-sizing:border-box;padding:22px 16px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;gap:0;overflow-x:hidden;overflow-y:auto;transform:translateX(0);transition:transform .18s ease;overscroll-behavior:contain}.app-shell.colorful-workspace>.app-main{min-width:0;width:calc(100% - 220px);margin-left:220px;transition:margin-left .18s ease,width .18s ease}.app-shell.colorful-workspace.sidebar-collapsed>.sidebar{transform:translateX(-100%);visibility:hidden}.app-shell.colorful-workspace.sidebar-collapsed>.app-main{width:100%;margin-left:0}
.app-shell .sidebar>.brand{flex:0 0 auto;padding-right:22px;min-width:0}.app-shell .sidebar .nav-label{display:block;flex:0 0 auto;margin:24px 10px 8px}.app-shell .sidebar nav{display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:5px;width:100%}.app-shell .sidebar nav>.nav-link,.app-shell .sidebar nav>.nav-data{display:block;width:100%;margin:0;box-sizing:border-box}.app-shell .sidebar nav .nav-link{display:flex;align-items:center;min-height:42px;box-sizing:border-box;padding:9px 12px;margin:0;font-size:13px;line-height:1.4;text-align:left}.app-shell .sidebar .nav-data>summary{margin:0;min-height:42px;list-style:none;gap:10px}.app-shell .sidebar .nav-data>summary::-webkit-details-marker{display:none}.app-shell .sidebar .nav-data>summary::after{content:'';width:7px;height:7px;flex:0 0 7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);font-size:0;transition:transform .15s}.app-shell .sidebar .nav-data[open]>summary::after{transform:rotate(225deg)}.app-shell .sidebar .nav-data-items{margin:5px 0 8px 12px;padding-left:8px;border-left:1px solid #537789;display:flex;flex-direction:column;gap:4px}.app-shell .sidebar .nav-data-items .nav-link{min-height:40px;padding:8px 10px}.app-shell .sidebar .sidebar-note{display:block;margin-top:20px;padding:16px 8px;font-size:12px}.app-shell .sidebar .sidebar-account{display:block;margin-top:auto;padding:14px 8px 0}.app-shell .sidebar .sidebar-account .employee-avatar{max-width:144px;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.sidebar-close{position:absolute;right:8px;top:8px;width:32px;height:32px;border:0;border-radius:6px;background:transparent;color:#fff;font-size:26px;line-height:1;cursor:pointer}.sidebar-close:hover{background:#ffffff20}.sidebar-toggle,.notification-bell{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;box-sizing:border-box;border:1px solid #c8dce5;border-radius:8px;background:#fff;color:#204c60;cursor:pointer}.notification-bell{position:relative}.notification-bell:hover,.notification-bell.active{background:#d7f2ef;color:#124b50}.notification-unread-dot{position:absolute;right:5px;top:5px;width:8px;height:8px;border-radius:50%;background:#d92d42;border:1px solid white}.topbar-start,.topbar-actions{display:flex;align-items:center;gap:12px;min-width:0}.topbar-start{flex:1}.topbar-actions{flex:0 0 auto;gap:10px}.workspace-breadcrumb{min-width:0;overflow-wrap:anywhere}.app-shell .topbar{position:sticky;top:0;z-index:40;flex-wrap:nowrap}.sidebar-backdrop{display:none}.sidebar-backdrop[hidden]{display:none!important}
@media(max-width:900px){.app-shell.colorful-workspace>.sidebar{width:min(285px,calc(100vw - 48px));transform:translateX(-100%);visibility:hidden}.app-shell.colorful-workspace>.app-main,.app-shell.colorful-workspace.sidebar-collapsed>.app-main{width:100%;margin-left:0}.app-shell.colorful-workspace.sidebar-mobile-open>.sidebar{transform:translateX(0);visibility:visible}.app-shell.sidebar-mobile-open .sidebar-backdrop{display:block;position:fixed;inset:0;z-index:70;width:100%;height:100%;border:0;background:#102c4670}.sidebar-mobile-open-body{overflow:hidden}.app-shell .topbar{padding:10px 12px;gap:10px}.app-shell .topbar .account-menu{width:110px}.app-shell .topbar .account-menu>summary{padding:9px 12px;font-size:13px}.app-shell .topbar .account-menu-items{width:180px}.topbar-start,.topbar-actions{gap:8px}.workspace-breadcrumb{font-size:10px;line-height:1.4}}
@media(max-width:430px){.workspace-breadcrumb{display:none}.app-shell .topbar .account-menu{width:100px}}
@media(prefers-reduced-motion:reduce){.app-shell.colorful-workspace>.sidebar,.app-shell.colorful-workspace>.app-main{transition:none}}
@media print{.sidebar,.sidebar-backdrop,.topbar{display:none!important}.app-shell.colorful-workspace>.app-main{width:100%;margin:0;transition:none}}

.sidebar-mobile-open-body [data-employee-chat]{visibility:hidden;pointer-events:none}.quick-create-window .app-shell.colorful-workspace>.app-main{width:100%;margin-left:0}

.notification-menu{position:relative;flex:0 0 auto}.notification-popover{position:absolute;right:0;top:calc(100% + 10px);z-index:60;width:420px;max-width:calc(100vw - 24px);border:1px solid #bfd3df;border-radius:12px;background:white;box-shadow:0 12px 35px #102f4033;color:#203845;text-align:left;overflow:hidden}.notification-popover[hidden]{display:none!important}.notification-popover-heading{padding:12px 14px;border-bottom:1px solid #d7e4eb;background:#f0f7fa}.notification-popover-heading h2{margin:0;font-size:16px;line-height:1.4}.notification-popover-list{max-height:min(60vh,460px);max-height:min(60dvh,460px);overflow-y:auto;overscroll-behavior:contain}.notification-popover-list>p{margin:0;padding:18px 14px;font-size:13px}.notification-popover .notification-row{display:block;min-width:0;margin:0;padding:11px 14px;border:0;border-bottom:1px solid #e1ebf0;border-radius:0}.notification-popover .notification-unread{background:#fff8dc}.notification-popover .notification-read{background:#fff}.notification-popover .notification-body{min-width:0}.notification-popover .notification-body h2{margin:0 0 4px;font-size:13px;line-height:1.4}.notification-popover .notification-body h2 a{color:#165f98}.notification-popover .notification-message{margin:0;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.notification-popover .notification-project-name{display:block;margin-top:3px;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.notification-popover .notification-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-top:7px}.notification-popover .notification-actions time,.notification-popover .notification-actions small{font-size:10px}.notification-popover .notification-open-button{min-height:28px;margin:0;padding:4px 9px;font-size:11px;color:#165f98;background:#edf5fb;border:1px solid #bdd5e8}.notification-popover-footer{padding:10px 14px;border-top:1px solid #d7e4eb;text-align:center;background:#f7fafc}.notification-popover-footer a{font-size:12px;font-weight:700;color:#165f98}
@media(max-width:600px){.notification-popover{position:fixed;right:12px;left:12px;top:64px;width:auto;max-width:none}.notification-popover-list{max-height:calc(100dvh - 170px)}}

.notification-popover-open [data-employee-chat]{visibility:hidden;pointer-events:none}

.app-shell .sidebar>.brand{padding-right:0}.sidebar-edge-toggle{position:fixed;left:205px;top:50%;transform:translateY(-50%);z-index:85;display:flex;align-items:center;justify-content:center;width:30px;height:58px;padding:0;border:1px solid #5b8297;border-radius:0 10px 10px 0;background:#204c60;color:#fff;box-shadow:2px 2px 7px #102c4633;cursor:pointer}.sidebar-edge-toggle:hover{background:#31677e}.sidebar-collapsed .sidebar-edge-toggle{left:0}.sidebar-collapsed .sidebar-edge-toggle svg{transform:rotate(180deg)}.notification-popover-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.notification-popover-heading form{margin:0}.notification-popover-heading form>button{padding:5px 0;border:0;background:transparent;color:#165f98;font-size:11px;font-weight:700;white-space:nowrap;min-height:30px}.notification-popover-heading form>button:disabled{opacity:.55;cursor:wait}.notification-popover-feedback{margin:0;padding:8px 14px;background:#e6f5eb;color:#255c43;font-size:12px}.notification-popover-feedback[hidden]{display:none!important}.notification-load-state{padding:12px 14px;margin:0;text-align:center;font-size:12px}.notification-load-state button{border:0;background:transparent;color:#165f98;cursor:pointer;font:inherit;text-decoration:underline}
@media(max-width:900px){.sidebar-edge-toggle{left:0;width:25px;height:54px}.sidebar-edge-toggle svg{transform:rotate(180deg)}.sidebar-mobile-open .sidebar-edge-toggle{left:calc(min(285px,100vw - 48px) - 15px);width:30px}.sidebar-mobile-open .sidebar-edge-toggle svg{transform:none}}
@media print{.sidebar-edge-toggle{display:none!important}}

.notification-popover .notification-body h2{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.notification-popover .notification-body h2>a{min-width:0;overflow-wrap:anywhere}.notification-new-label{flex:0 0 auto;color:#9b6200;font-size:10px;font-weight:700;line-height:1.5}.notification-popover .notification-actions{justify-content:flex-start}.notification-popover .notification-open-button{margin-left:auto}.notification-popover-list{max-height:min(65dvh,520px)}
@media(max-width:600px){.notification-popover-list{max-height:calc(100dvh - 150px)}}

/* Unread notifications color the bell itself, including its open and hover states. */
.app-shell .notification-bell:has(.notification-unread-dot),.app-shell .notification-bell:has(.notification-unread-dot):hover,.app-shell .notification-bell.active:has(.notification-unread-dot){color:#c62828;border-color:#e5a4a4;background:#fff1f1}

/* Notification cards keep the list scrollable on compact screens. */
.notification-popover{width:400px;border:1px solid #e4e9ed;border-radius:16px;box-shadow:0 12px 38px #17384b24}
.notification-popover-heading{padding:15px 16px;background:#fff;border-bottom:1px solid #e5e9ed;gap:10px}
.notification-popover-heading h2{font-size:18px;font-weight:750;color:#142e40}
.notification-popover-heading form{margin-left:auto}
.notification-popover-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;min-height:0;padding:0;border:0;border-radius:6px;background:transparent;color:#23465a;font-size:23px;line-height:1;cursor:pointer}
.notification-popover-close:hover{background:#edf3f6}
.notification-popover-list{padding:18px;max-height:min(65dvh,520px);scrollbar-width:thin}
.notification-popover .notification-row{padding:14px;margin:0 0 14px;border:1px solid transparent;border-radius:12px;background:#f6f7f8}
.notification-popover .notification-row:last-child{margin-bottom:0}
.notification-popover .notification-unread{background:#fff8df;border-color:#f1e3b4}
.notification-popover .notification-row:hover{border-color:#cbdce7}
.notification-popover .notification-card-time{display:block;margin:0 0 8px;color:#708398;font-size:11px;line-height:1.4}
.notification-popover .notification-body h2{margin:0 0 8px;font-size:14px;line-height:1.4}
.notification-popover .notification-body h2 a{color:#183346;text-decoration:none;font-weight:750}
.notification-popover .notification-body h2 a:hover{text-decoration:underline}
.notification-popover .notification-message{color:#647b90;font-size:12px;line-height:1.5}
.notification-popover .notification-project-name{color:#38576b;font-size:12px;font-weight:600}
.notification-popover .notification-open-button{padding:0;min-height:0;border:0;border-radius:0;background:transparent;color:#17689c;text-decoration:underline;font-size:12px}
.notification-popover .notification-actions{margin-top:8px}
.notification-unread-dot{top:-5px;right:-5px;width:auto;min-width:17px;height:17px;padding:0 4px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;background:#c62828;border:2px solid #fff;border-radius:10px;color:#fff;font-size:10px;font-weight:750;line-height:1}
@media(max-width:600px){.notification-popover{width:auto;max-width:none;left:12px;right:12px}.notification-popover-heading{padding:12px;gap:7px}.notification-popover-heading h2{font-size:17px}.notification-popover-heading form>button{font-size:10px}.notification-popover-list{padding:12px;max-height:calc(100dvh - 160px)}.notification-popover .notification-row{padding:12px;margin-bottom:12px}}

/* Use the signed-in employee photo and short account name in the top bar. */
.app-shell .topbar .account-menu{width:auto;max-width:230px;flex:0 0 auto}
.app-shell .topbar .account-menu>.account-profile-toggle{display:flex;align-items:center;justify-content:flex-start;gap:9px;padding:6px 11px 6px 7px;min-height:44px;max-width:230px;text-align:left}
.account-profile-toggle::-webkit-details-marker{display:none}
.account-profile-toggle .account-avatar{display:block;flex:0 0 32px;width:32px;height:32px;object-fit:cover;border-radius:50%;border:1px solid #dce9ed;background:#fff}
.account-profile-toggle .account-avatar-default{object-fit:contain;padding:3px}
.account-profile-toggle .account-user-name{min-width:0;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700;letter-spacing:.02em}
.account-profile-toggle .account-menu-arrow{flex:0 0 auto;font-size:12px;opacity:.85}
.app-shell .topbar .account-menu-items{top:calc(100% + 7px);width:200px;max-width:calc(100vw - 24px)}
@media(max-width:600px){.app-shell .topbar .account-menu{max-width:166px;width:auto}.app-shell .topbar .account-menu>.account-profile-toggle{max-width:166px;gap:7px;padding:5px 8px 5px 5px;min-height:40px}.account-profile-toggle .account-avatar{width:28px;height:28px;flex-basis:28px}.account-profile-toggle .account-user-name{max-width:98px;font-size:12px}}
@media(max-width:360px){.app-shell .topbar .account-menu{max-width:140px}.account-profile-toggle .account-user-name{max-width:72px}}

/* Shared menu icons keep labels and disclosure arrows aligned at every width. */
.app-shell .sidebar nav .nav-link{gap:9px}.menu-icon{display:inline-block;width:18px;height:18px;flex:0 0 18px;vertical-align:middle;pointer-events:none}.app-shell .sidebar nav .menu-label{min-width:0;flex:1;overflow-wrap:normal}.app-shell .sidebar .nav-data>summary::after{margin-left:auto}.account-menu-items button:has(.menu-icon),.account-menu-items a:has(.menu-icon){display:flex;align-items:center;gap:9px}
