:root{--bg-page:#f8fafc;--bg-surface:#fff;--text-primary:#0f172a;--text-secondary:#64748b;--text-muted:#94a3b8;--border:#e2e8f0;--border-strong:#cbd5e1;--radius-sm:8px;--radius-md:12px;--radius-lg:18px;--shadow-sm:0 1px 2px #0f172a0a;--shadow-md:0 8px 24px #0f172a14;--sidebar-width:250px;--header-height:68px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}body{background:var(--bg-page);color:var(--text-primary);-webkit-font-smoothing:antialiased;font-family:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.app-shell{background:#f8fafc;min-height:100vh}.app-sidebar{z-index:40;background:#fff;border-right:1px solid #e2e8f0;flex-direction:column;width:258px;height:100vh;transition:width .18s,transform .18s;display:flex;position:fixed;inset:0 auto 0 0}.app-sidebar.is-collapsed{width:78px}.sidebar-brand{border-bottom:1px solid #f1f5f9;align-items:center;gap:12px;height:72px;padding:0 20px;display:flex}.sidebar-logo{background:var(--role-accent);color:#fff;border-radius:11px;flex:none;place-items:center;width:38px;height:38px;display:grid}.sidebar-brand-name{letter-spacing:-.02em;white-space:nowrap;font-size:16px;font-weight:750}.sidebar-brand-subtitle{color:#94a3b8;white-space:nowrap;margin-top:2px;font-size:11px}.sidebar-mobile-close{background:0 0;border:0;margin-left:auto;display:none}.sidebar-role{background:var(--role-soft);border-radius:10px;align-items:center;gap:10px;min-height:67px;margin:14px 12px 5px;padding:11px;display:flex}.sidebar-role-dot{border-radius:50%;flex:none;width:9px;height:9px}.sidebar-role div{min-width:0}.sidebar-role-label{color:#64748b;margin-bottom:2px;font-size:10px;display:block}.sidebar-role strong{text-overflow:ellipsis;white-space:nowrap;color:var(--role-dark);font-size:12px;display:block;overflow:hidden}.is-collapsed .sidebar-role{justify-content:center}.sidebar-nav{overscroll-behavior:contain;scrollbar-gutter:stable;flex-direction:column;flex:1;gap:4px;min-height:0;padding:10px 12px 18px;display:flex;overflow:hidden auto}.sidebar-nav::-webkit-scrollbar{width:6px}.sidebar-nav::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.sidebar-nav::-webkit-scrollbar-track{background:0 0}.sidebar-link{color:#64748b;border-radius:9px;align-items:center;gap:12px;min-height:44px;padding:0 13px;font-size:14px;font-weight:550;transition:background .14s,color .14s;display:flex}.sidebar-link:hover{color:#334155;background:#f8fafc}.sidebar-link.active{background:var(--role-soft);color:var(--role-accent);font-weight:700}.is-collapsed .sidebar-link{justify-content:center;padding:0}.sidebar-help{color:#64748b;background:#f8fafc;border-radius:11px;align-items:center;gap:10px;margin:15px;padding:13px;display:flex}.sidebar-help strong{color:#334155;font-size:12px;display:block}.sidebar-help span{margin-top:2px;font-size:10px;display:block}.app-main{min-height:100vh;margin-left:258px;transition:margin-left .18s}.app-main.sidebar-is-collapsed{margin-left:78px}.app-header{z-index:30;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:20px;height:72px;padding:0 28px;display:flex;position:sticky;top:0}.header-left{flex:1;align-items:center;gap:16px;min-width:0;display:flex}.header-collapse-button,.header-menu-mobile,.header-icon-button{color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex:none;place-items:center;width:40px;height:40px;padding:0;display:grid}.header-menu-mobile{display:none}.header-icon-button{position:relative}.notification-dot{background:#ef4444;border:2px solid #fff;border-radius:50%;width:7px;height:7px;position:absolute;top:8px;right:8px}.global-search{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:10px;width:min(520px,100%);height:42px;padding:0 13px;display:flex}.global-search svg{color:#94a3b8;flex:none}.global-search input{color:#0f172a;background:0 0;border:0;outline:0;width:100%}.search-shortcut{color:#94a3b8;background:#fff;border:1px solid #e2e8f0;border-radius:5px;flex:none;padding:3px 6px;font-size:10px}.header-actions{align-items:center;gap:12px;display:flex}.profile-container{position:relative}.profile-button{background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:5px 7px;display:flex}.profile-button:hover{background:#f8fafc}.profile-avatar{border-radius:10px;place-items:center;width:38px;height:38px;font-size:12px;font-weight:750;display:grid}.profile-info{text-align:left;min-width:115px}.profile-info strong{text-overflow:ellipsis;white-space:nowrap;color:#0f172a;max-width:155px;font-size:12px;display:block;overflow:hidden}.profile-info span{margin-top:2px;font-size:10px;font-weight:650;display:block}.profile-dropdown{background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:225px;position:absolute;top:calc(100% + 9px);right:0;overflow:hidden;box-shadow:0 16px 40px #0f172a1f}.profile-dropdown-user{border-bottom:1px solid #f1f5f9;padding:15px}.profile-dropdown-user strong,.profile-dropdown-user span{display:block}.profile-dropdown-user strong{font-size:13px}.profile-dropdown-user span{text-overflow:ellipsis;color:#94a3b8;margin-top:4px;font-size:11px;overflow:hidden}.profile-dropdown button{color:#dc2626;text-align:left;background:#fff;border:0;align-items:center;gap:9px;width:100%;padding:12px 15px;font-size:12px;display:flex}.profile-dropdown button:hover{background:#fef2f2}.app-content{padding:28px}.sidebar-overlay{display:none}@media (width<=1024px){.app-sidebar,.app-sidebar.is-collapsed{width:258px;transform:translate(-100%)}.app-sidebar.is-open{transform:translate(0)}.app-main,.app-main.sidebar-is-collapsed{margin-left:0}.header-collapse-button{display:none}.header-menu-mobile{display:grid}.sidebar-mobile-close{place-items:center;display:grid}.sidebar-overlay{z-index:35;background:#0f172a61;border:0;display:block;position:fixed;inset:0}}@media (width<=720px){.app-header{padding:0 16px}.global-search,.profile-info{display:none}.app-content{padding:18px 16px}}.notification-container{position:relative}.notification-count{color:#fff;background:#dc2626;border:2px solid #fff;border-radius:999px;place-items:center;min-width:19px;height:19px;padding:0 5px;font-size:9px;font-weight:750;line-height:1;display:grid;position:absolute;top:-7px;right:-7px}.notification-dropdown{z-index:60;background:#fff;border:1px solid #e2e8f0;border-radius:13px;width:min(390px,100vw - 32px);max-height:min(520px,100vh - 96px);position:absolute;top:calc(100% + 10px);right:0;overflow:hidden;box-shadow:0 18px 48px #0f172a24}.notification-dropdown-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:12px;padding:14px 15px;display:flex}.notification-dropdown-header strong,.notification-dropdown-header span{display:block}.notification-dropdown-header strong{color:#0f172a;font-size:13px}.notification-dropdown-header span{color:#94a3b8;margin-top:3px;font-size:10px}.notification-close-button{color:#64748b;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;width:30px;height:30px;padding:0;display:grid}.notification-close-button:hover{background:#f8fafc}.notification-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin:10px 12px 0;padding:9px 10px;font-size:11px}.notification-empty{color:#94a3b8;text-align:center;padding:28px 18px;font-size:12px}.notification-task-list{max-height:420px;overflow-y:auto}.notification-task{border-bottom:1px solid #f1f5f9;gap:11px;padding:13px 15px;display:flex}.notification-task:last-child{border-bottom:0}.notification-task-icon{background:var(--role-soft);width:34px;height:34px;color:var(--role-accent);border-radius:9px;flex:none;place-items:center;display:grid}.notification-task-body{flex:1;min-width:0}.notification-task-body>strong,.notification-task-body>span{display:block}.notification-task-body>strong{color:#0f172a;font-size:12px}.notification-task-body>span{text-overflow:ellipsis;white-space:nowrap;color:#64748b;margin-top:3px;font-size:10px;overflow:hidden}.notification-task-body .notification-task-due{color:#475569;margin-top:5px;font-weight:650}.notification-task-actions{align-items:center;gap:7px;margin-top:10px;display:flex}.notification-task-actions button{border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:30px;padding:0 9px;font-size:10px;font-weight:700;display:inline-flex}.notification-task-actions button:disabled{cursor:not-allowed;opacity:.55}.notification-task-complete{border:1px solid var(--role-accent);background:var(--role-accent);color:#fff}.notification-task-dismiss{color:#64748b;background:#fff;border:1px solid #e2e8f0}.notification-task-dismiss:hover:not(:disabled){background:#f8fafc}@media (width<=720px){.notification-dropdown{width:auto;position:fixed;top:64px;left:12px;right:12px}}.working-branch-control{color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:8px;min-width:0;padding:6px 10px;display:flex}.working-branch-label{color:#64748b;white-space:nowrap;font-size:11px}.working-branch-control strong{text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:13px;overflow:hidden}.working-branch-control select{max-width:210px;font:inherit;color:#0f172a;cursor:pointer;background:0 0;border:0;outline:0;font-size:13px;font-weight:700}@media (width<=900px){.working-branch-label{display:none}.working-branch-control{max-width:180px}.working-branch-control select{max-width:150px}}
