@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap);#root,#root *,body,html{font-family:Avenir Next LT Pro,Avenir Next,Avenir,Segoe UI,sans-serif;font-family:var(--font-family,"Avenir Next LT Pro","Avenir Next",Avenir,"Segoe UI",sans-serif)}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0}.code,.monospace,code,pre{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.context-menu{border-radius:8px;box-shadow:0 4px 15px var(--shadow-color);overflow:hidden;position:absolute}.context-menu.dropdown{max-height:60vh;min-width:250px;position:absolute;right:8px;top:43px}.context-menu.hamburger-menu{position:absolute}.menu-item{align-items:center;color:var(--text-primary);cursor:pointer;display:flex;font-size:14px;padding:10px 15px;transition:background-color .2s}.menu-item:hover{background-color:var(--sidebar-hover)}.menu-item:not(:last-child){border-bottom:1px solid var(--border-color)}.menu-icon{align-items:center;display:flex;font-size:16px;justify-content:center;margin-right:10px}.menu-item.menu-item-logout{color:#d32f2f}.menu-item.menu-item-impersonating{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-weight:500}.menu-item.menu-item-impersonating:hover{background:linear-gradient(135deg,#d97706,#b45309)}.context-menu-search{background:var(--sidebar-hover);border-bottom:1px solid var(--border-color);padding:12px}.context-menu-search-input{background:var(--card-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);font-size:14px;padding:8px 12px;transition:all .2s;width:100%}.context-menu-search-input:focus{border-color:#3b82f6;border-color:var(--primary-color,#3b82f6);box-shadow:0 0 0 2px #3b82f61a;outline:none}.context-menu-search-input::placeholder{color:var(--text-secondary)}.context-menu-items{max-height:450px;overflow-y:auto}.context-menu-items.with-search{max-height:400px}.context-menu-items::-webkit-scrollbar{width:6px}.context-menu-items::-webkit-scrollbar-track{background:var(--card-bg)}.context-menu-items::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:3px}.context-menu-items::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}.menu-item.disabled{cursor:not-allowed;opacity:.5}.menu-item.disabled:hover{background-color:initial}.menu-item.menu-item-hint{color:var(--text-secondary);font-size:12px;font-style:italic;padding:8px 15px}.menu-item.menu-item-hint,.menu-item.menu-item-hint:hover{background:var(--sidebar-hover)}.context-menu-role-filters{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.role-filter-btn{background:var(--card-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);cursor:pointer;font-size:11px;padding:4px 8px;transition:all .2s ease;white-space:nowrap}.role-filter-btn:hover{background:var(--sidebar-hover)}.role-filter-btn.active,.role-filter-btn:hover{border-color:#3b82f6;border-color:var(--primary-color,#3b82f6)}.role-filter-btn.active{background:#3b82f6;background:var(--primary-color,#3b82f6);color:#fff}.role-filter-btn.active:hover{background:#2563eb;background:var(--primary-dark,#2563eb);border-color:#2563eb;border-color:var(--primary-dark,#2563eb)}.menu-item-archive{color:#f59e0b}.menu-item-archive:hover{background-color:#f59e0b1a;color:#d97706}.menu-item-unarchive{color:#10b981}.menu-item-unarchive:hover{background-color:#10b9811a;color:#059669}.menu-item-send-early{color:#3b82f6}.menu-item-send-early:hover{background-color:#3b82f61a;color:#2563eb}.menu-item-resend{color:#8b5cf6}.menu-item-resend:hover{background-color:#8b5cf61a;color:#7c3aed}.menu-item-copy{color:#06b6d4}.menu-item-copy:hover{background-color:#06b6d41a;color:#0891b2}.menu-item.has-submenu{justify-content:space-between;position:relative}.submenu-arrow{color:var(--text-secondary);font-size:14px;margin-left:auto;transform:rotate(180deg);transition:color .2s}.menu-item.has-submenu:hover .submenu-arrow{color:var(--text-primary)}.context-submenu{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;box-shadow:0 4px 15px var(--shadow-color);min-width:180px;overflow:hidden;transition:opacity .2s ease-in-out}.context-submenu .context-menu-items{max-height:250px;overflow-y:auto}.context-nested-submenu{border:1px solid var(--border-color);box-shadow:0 6px 20px var(--shadow-color)}.context-nested-submenu .context-menu-items{max-height:200px;overflow-y:auto}.menu-item.menu-separator{color:var(--text-secondary);cursor:default;font-size:12px;font-weight:500;letter-spacing:.5px;padding:8px 15px;text-align:center}.menu-item.menu-separator,.menu-item.menu-separator:hover{background:var(--bg-secondary)}@media (max-width:768px){.context-menu.dropdown{max-height:50vh;min-width:180px}.menu-item{font-size:12px;padding:8px 12px}.menu-icon{font-size:14px;margin-right:8px}.context-submenu{min-width:150px}.context-nested-submenu .context-menu-items{max-height:150px}.context-menu-search-input{font-size:12px;padding:6px 10px}.role-filter-btn{font-size:10px;padding:3px 6px}.submenu-arrow{font-size:12px}.menu-item.menu-item-hint{font-size:11px;padding:6px 12px}}.sidebar{align-items:center;background-color:var(--sidebar-bg);color:var(--sidebar-text);display:flex;flex-direction:column;font-size:12px;height:100vh;left:0;overflow:visible;padding:0;position:fixed;top:0;transition:width .3s ease-in-out,background-color .3s ease;width:45px;z-index:1000}.sidebar.expanded{width:120px}.sidebar-logo-container{align-items:center;cursor:pointer;display:flex;flex-direction:column;gap:4px;height:60px;justify-content:center;margin-bottom:5px;margin-top:2px;transition:transform .2s ease}.sidebar-logo-container:hover{transform:scale(1.1)}.logo-small{height:30px;object-fit:contain;width:30px}.menu-toggle{background:none;border:none;color:var(--sidebar-text);cursor:pointer;font-size:18px;margin-bottom:10px}.sidebar-item{align-items:center;color:var(--sidebar-text);display:flex;margin:3px 0;padding:10px;position:relative;text-decoration:none;transition:background .3s ease-in-out;width:100%}.sidebar-item:hover{background:var(--sidebar-hover)}.sidebar-item.active{border-left:3px solid #007bff;border-left:3px solid var(--hover-color,#007bff);padding-left:7px}.sidebar-item.active,.sidebar-item.active:hover{background-color:var(--sidebar-hover)}.sidebar-item svg{font-size:16px;margin-right:10px;min-width:25px}.sidebar.collapsed .sidebar-text{display:none}.sidebar.expanded .sidebar-item{justify-content:flex-start}.sidebar-text{opacity:0;transition:opacity .8s ease-in-out;white-space:nowrap}.sidebar.expanded .sidebar-text{opacity:1}.sidebar-logo-text{color:var(--sidebar-text);font-size:10px;font-weight:500;max-width:110px;opacity:0;overflow:hidden;text-align:center;text-overflow:ellipsis;transition:opacity .3s ease;white-space:nowrap}.sidebar.expanded .sidebar-logo-text{opacity:1}@media (max-width:768px){.sidebar{display:none}}.sidebar-warning{align-items:center;display:flex;justify-content:center;position:absolute;right:8px;top:8px}.warning-dot{background-color:#ff4d4f;border-radius:50%;display:inline-block;height:8px;width:8px}.sidebar.collapsed .sidebar-warning{right:4px;top:6px}.sidebar-icon-container{align-items:center;display:flex;justify-content:center;position:relative}.notification-center{display:inline-block;position:relative}.notification-bell{align-items:center;background:#0000;border:none;border-radius:50%;color:#333;color:var(--text-color,#333);cursor:pointer;display:flex;font-size:1.5rem;height:40px;justify-content:center;position:relative;transition:background-color .2s;width:40px}.notification-bell:hover{background-color:#0000000d;background-color:var(--hover-bg,#0000000d)}.notification-badge{align-items:center;background-color:#007bff;background-color:var(--primary-color,#007bff);border-radius:10px;color:#fff;display:flex;font-size:.75rem;height:18px;justify-content:center;min-width:18px;padding:0 4px;position:absolute;right:0;top:0}.notification-dropdown{animation:notificationDropdownOpen .15s ease-out;-webkit-backdrop-filter:blur(12px) saturate(120%);backdrop-filter:blur(12px) saturate(120%);background:#fff;background:var(--bg-primary,#fff);background:#ffffff8c;border:1px solid #ffffff59;border-radius:8px;box-shadow:0 8px 32px #0000001a;box-shadow:0 10px 40px #00000026;max-height:500px;overflow:hidden;position:absolute;right:0;top:100%;width:350px;z-index:1000}@keyframes notificationDropdownOpen{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.notification-header-bar{align-items:center;background:#f8f9fa;background:var(--bg-secondary,#f8f9fa);border-bottom:1px solid #eee;border-bottom:1px solid var(--border-color,#eee);display:flex;justify-content:space-between;padding:12px 16px}.notification-header-bar h3{align-items:center;color:#333;color:var(--text-color,#333);display:flex;font-size:1rem;font-weight:600;gap:8px;margin:0}.connection-indicator{animation:pulse 2s infinite;font-size:12px}.connection-indicator.connected{color:#28a745}.connection-indicator.disconnected{color:#dc3545}.notification-actions{align-items:center;display:flex;gap:2px;justify-content:flex-end}.notification-action-btn{align-items:center;background:#0000;border:none;border-radius:4px;color:#007bff;color:var(--primary-color,#007bff);cursor:pointer;display:flex;font-size:.85rem;height:32px;justify-content:center;min-width:32px;padding:6px;transition:background-color .2s}.notification-action-btn:hover{background-color:#007bff1a;background-color:var(--hover-bg,#007bff1a)}.notification-action-btn:disabled{cursor:not-allowed;opacity:.5}.notification-list{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:#fff6;background:#fff6;flex:1 1;max-height:400px;overflow-y:auto}.notification-item{align-items:flex-start;background-color:#ffffff8c;background:#ffffff8c;border-bottom:1px solid #eee;border-bottom:1px solid var(--border-color,#eee);cursor:pointer;display:flex;padding:12px 16px;transition:background-color .2s}.notification-item:hover{background-color:#f5f5f5;background-color:var(--hover-bg,#f5f5f5)}.notification-item.unread{background-color:#007bff0d;background-color:var(--unread-bg,#007bff0d)}.notification-icon{margin-right:12px}.notification-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:4px}.notification-title{color:var(--text-primary,#333);font-size:.95rem;margin:0}.notification-item.unread .notification-title{color:#000;color:var(--text-primary,#000);font-weight:700}.notification-time{color:#888;color:var(--text-secondary,#888);font-size:.75rem;margin-left:8px;white-space:nowrap}.notification-message{color:var(--text-secondary,#666);font-size:.85rem;margin:0;overflow-wrap:break-word}.notification-item.unread .notification-message{color:#333;color:var(--text-primary,#333)}.notification-dismiss{align-items:center;background:#0000;border:none;border-radius:50%;color:#888;color:var(--text-secondary,#888);cursor:pointer;display:flex;justify-content:center;margin-left:8px;opacity:0;padding:4px;transition:all .2s}.notification-item:hover .notification-dismiss{opacity:1}.notification-dismiss:hover{background-color:#0000001a;background-color:var(--hover-bg,#0000001a);color:#555;color:var(--text-primary,#555)}.notification-empty,.notification-error,.notification-loading{color:#888;color:var(--text-secondary,#888);font-size:.9rem;padding:24px}.notification-error{color:#dc3545;color:var(--error-color,#dc3545)}.notification-footer{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:#f5f6f899;background:#f5f6f899;border-top:1px solid #eee;border-top:1px solid var(--border-color,#eee);display:flex;gap:8px;justify-content:space-between;padding:12px}.notification-action-btn.settings,.notification-action-btn.test{background:var(--secondary);border:1px solid var(--border);color:var(--secondary-text)}.notification-action-btn.clear-all{background:#dc3545;border:1px solid #dc3545;color:#fff}.notification-action-btn.mark-all-read{background:#28a745;background:var(--success,#28a745);border:1px solid #28a745;border:1px solid var(--success,#28a745);color:#fff}.notification-action-btn.refresh{background:#17a2b8;background:var(--info,#17a2b8);border:1px solid #17a2b8;border:1px solid var(--info,#17a2b8);color:#fff}.notification-action-btn.settings:hover,.notification-action-btn.test:hover{background:var(--secondary-dark);border-color:var(--secondary-dark)}.notification-action-btn.clear-all:hover{background:#c82333;border-color:#c82333}.notification-action-btn.mark-all-read:hover{background:#1e7e34;background:var(--success-dark,#1e7e34);border-color:#1e7e34;border-color:var(--success-dark,#1e7e34)}.notification-action-btn.refresh:hover{background:#138496;background:var(--info-dark,#138496);border-color:#138496;border-color:var(--info-dark,#138496)}.notification-action-btn.test:disabled{cursor:not-allowed;opacity:.6}@media (max-width:576px){.notification-dropdown{background:#fff;background:var(--bg-primary,#fff);background-color:#fff;background-color:var(--bg-primary,#fff);border-radius:0;left:0;margin-top:0;max-height:calc(100vh - 60px);position:fixed;right:0;top:60px;width:100%}.notification-list{max-height:calc(100vh - 120px)}}.header{align-items:center!important;background-color:var(--header-bg);color:var(--text-primary);display:flex!important;height:var(--header-height);justify-content:space-between!important;left:45px!important;padding:0 20px;position:fixed;top:env(safe-area-inset-top,0);transition:left .3s ease-in-out,width .3s ease-in-out,background-color .3s ease,color .3s ease;width:calc(100% - 45px)!important;z-index:1100}.header.expanded{left:120px!important;width:calc(100% - 120px)!important}.header-title{font-size:1.2rem;left:50%;margin:0;pointer-events:none;position:absolute;text-align:center;transform:translateX(-50%);transition:margin-left .3s ease-in-out;white-space:nowrap}.header-title.expanded{margin-right:20px}.header-left-section{align-items:center;display:flex;position:relative}.header-logo-container{display:none}.hamburger{cursor:pointer;margin-right:10px}.hamburger-container{cursor:pointer;position:absolute;top:50%;transform:translateY(-50%) translateX(-160%)}.hamburger-icon{color:var(--text-primary);font-size:24px}.header .header-actions{align-items:center!important;display:flex!important;gap:15px!important}.profile{align-items:center;display:flex;position:relative}.profile-icon{color:var(--text-primary);font-size:20px;margin-right:5px}.profile-pic{border:2px solid var(--border-color);border-radius:50%;cursor:pointer;height:40px;object-fit:cover;transition:border-color .3s ease,box-shadow .3s ease;width:40px}.profile-pic.impersonating{border:3px solid #f59e0b;box-shadow:0 0 0 2px #f59e0b33}.agent-tools{gap:12px}.agent-tools,.tool-button{align-items:center;display:flex}.tool-button{background:#0000;border:none;border-radius:var(--radius-md);color:var(--text-secondary);cursor:pointer;height:40px;justify-content:center;padding:8px;text-decoration:none;transition:all .3s ease;white-space:nowrap;width:40px}.tool-button:hover{transform:none}.tool-button.active,.tool-button:hover{background:#0000;border:none;box-shadow:none}.tool-button.active:hover{background:#0000;border:none}.tool-label{font-size:.875rem;font-weight:500}.phone-button{--tool-accent:#f97316}.phone-button.active,.phone-button:hover:not(.active){color:var(--tool-accent)}.presentation-button{--tool-accent:#16a34a}.presentation-button.active,.presentation-button:hover:not(.active){color:var(--tool-accent)}.agent-sites-dropdown{position:relative}.sites-button{--tool-accent:#2563eb}.sites-button:hover:not(.active){border-color:var(--tool-accent);color:var(--tool-accent)}.dropdown-arrow{margin-left:4px;transition:transform .3s ease}.dropdown-arrow.rotated{transform:rotate(180deg)}.agent-sites-menu{min-width:200px;position:absolute;right:0;top:calc(100% + 8px);z-index:1200}@media (min-width:768px){.hamburger-container{display:none}}@media (max-width:768px){.header{height:auto;justify-content:space-between!important;left:0!important;min-height:var(--header-height);padding:max(10px,env(safe-area-inset-top,0)) calc(15px + env(safe-area-inset-right, 0)) 10px calc(15px + env(safe-area-inset-left, 0));width:100%!important}.header-left{position:relative;width:100%}.header-logo-container{display:block;left:0;position:absolute;top:50%;transform:translateY(-50%);z-index:1}.header-logo{display:block!important;height:auto!important;margin-right:0;width:28px!important}.header-title{font-size:1rem;left:50%;margin-left:0;max-width:60%;overflow:hidden;position:absolute;text-align:center;text-overflow:ellipsis;transform:translateX(-50%);white-space:nowrap;z-index:0}.hamburger-container{display:none;left:10px;transform:translateY(-50%)}.header .header-actions{align-items:center!important;display:flex!important;gap:10px!important}.profile-pic{height:35px;width:35px}.profile-pic.impersonating{border:2px solid #f59e0b;box-shadow:0 0 0 1px #f59e0b33}.agent-tools{display:none}}.bottom-nav{-ms-overflow-style:none;align-items:center;background-color:#fff;background-color:var(--sidebar-bg,#fff);bottom:0;box-shadow:0 -2px 10px #0000001a;display:none;height:60px;left:0;margin:0;overflow-x:auto;overflow-y:hidden;padding:0;position:fixed;scroll-behavior:smooth;scrollbar-width:none;width:100%;z-index:1000}.bottom-nav::-webkit-scrollbar{display:none}.bottom-nav-item{align-items:center;color:#333;color:var(--sidebar-text,#333);cursor:pointer;display:flex;flex-direction:column;flex-shrink:0;height:100%;justify-content:center;min-width:70px;padding:8px 4px;position:relative;transition:background-color .2s}.bottom-nav-item:hover{background-color:#f0f0f0;background-color:var(--sidebar-hover,#f0f0f0)}.bottom-nav-item.active{color:#007bff;color:var(--primary-color,#007bff);font-weight:500}.bottom-nav-item.active:before{background-color:#007bff;background-color:var(--primary-color,#007bff);border-radius:0 0 3px 3px;content:"";height:3px;left:50%;position:absolute;top:0;transform:translateX(-50%);width:40px}.bottom-nav-item.settings-item{background-color:#00000008}.bottom-nav-item.settings-item.active{background-color:#007bff1a;background-color:rgba(var(--primary-color-rgb,0,123,255),.1)}.bottom-nav-icon-container{align-items:center;display:flex;height:24px;justify-content:center;margin:0 auto;position:relative;width:24px}.bottom-nav-warning-dot{background-color:#ff4d4f;border-radius:50%;display:inline-block;height:6px;position:absolute;right:-2px;top:-2px;width:6px}.bottom-nav-icon{align-items:center;display:flex;justify-content:center;margin:0 auto}.bottom-nav-label{font-size:10px;margin-top:2px;max-width:100%;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}@media (max-width:768px){.bottom-nav{display:flex;padding:0}.bottom-nav-item,.bottom-nav-item.settings-item{max-width:22.22222vw;min-width:22.22222vw;width:22.22222vw}}@supports (padding-bottom:env(safe-area-inset-bottom)){.bottom-nav{height:calc(60px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}}.bottom-nav-submenu-popup{animation:fadeInUp .2s ease-out;background-color:#fff;background-color:var(--sidebar-bg,#fff);border:1px solid #e0e0e0;border:1px solid var(--border-color,#e0e0e0);border-radius:12px;box-shadow:0 -4px 20px #00000040;max-width:200px;min-width:160px;position:fixed;will-change:transform,left,bottom;z-index:1100}.bottom-nav-submenu-popup:after{border-left:8px solid #0000;border-right:8px solid #0000;border-top:8px solid #fff;border-top:8px solid var(--sidebar-bg,#fff);bottom:-8px}.bottom-nav-submenu-popup:after,.bottom-nav-submenu-popup:before{content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0}.bottom-nav-submenu-popup:before{border-left:9px solid #0000;border-right:9px solid #0000;border-top:9px solid #e0e0e0;border-top:9px solid var(--border-color,#e0e0e0);bottom:-9px}.bottom-nav-submenu-overlay{animation:fadeIn .2s ease-out;background-color:#00000080;bottom:60px;left:0;position:fixed;width:100%;z-index:1100}.bottom-nav-submenu{box-shadow:0 -4px 20px #00000026;max-height:60vh;overflow-y:auto}.bottom-nav-submenu,.bottom-nav-submenu-header{background-color:#fff;background-color:var(--sidebar-bg,#fff)}.bottom-nav-submenu-header{align-items:center;border-bottom:1px solid #e0e0e0;border-bottom:1px solid var(--border-color,#e0e0e0);display:flex;justify-content:space-between;padding:16px 20px 12px;position:-webkit-sticky;position:sticky;top:0;z-index:10}.bottom-nav-submenu-header span{color:#333;color:var(--sidebar-text,#333);font-size:16px;font-weight:600}.bottom-nav-submenu-close{align-items:center;background:none;border:none;border-radius:4px;color:#333;color:var(--sidebar-text,#333);cursor:pointer;display:flex;justify-content:center;padding:4px;transition:background-color .2s}.bottom-nav-submenu-close:hover{background-color:#f0f0f0;background-color:var(--sidebar-hover,#f0f0f0)}.bottom-nav-submenu-popup .bottom-nav-submenu-items{padding:8px 0}.bottom-nav-submenu-overlay .bottom-nav-submenu-items{padding:8px 0 20px}.bottom-nav-submenu-popup .bottom-nav-submenu-item{align-items:center;color:#333;color:var(--sidebar-text,#333);cursor:pointer;display:flex;padding:12px 16px;transition:background-color .2s}.bottom-nav-submenu-popup .bottom-nav-submenu-item:first-child{border-radius:12px 12px 0 0}.bottom-nav-submenu-popup .bottom-nav-submenu-item:last-child{border-radius:0 0 12px 12px}.bottom-nav-submenu-overlay .bottom-nav-submenu-item{align-items:center;color:#333;color:var(--sidebar-text,#333);cursor:pointer;display:flex;padding:12px 20px;transition:background-color .2s}.bottom-nav-submenu-item:hover{background-color:#f0f0f0;background-color:var(--sidebar-hover,#f0f0f0)}.bottom-nav-submenu-item.active{background-color:#007bff1a;background-color:rgba(var(--primary-color-rgb,0,123,255),.1);color:#007bff;color:var(--primary-color,#007bff);font-weight:500}.bottom-nav-submenu-icon{align-items:center;display:flex;height:20px;justify-content:center;margin-right:12px;width:20px}.bottom-nav-submenu-label{font-size:14px;font-weight:400}.bottom-nav-submenu-indicator{color:#007bff;color:var(--primary-color,#007bff);font-size:8px;font-weight:700;position:absolute;right:2px;top:2px}.bottom-nav-item.has-submenu{position:relative}@keyframes fadeInUp{0%{opacity:0;transform:translateX(-50%) translateY(10px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}@supports (padding-bottom:env(safe-area-inset-bottom)){.bottom-nav-submenu-overlay{bottom:calc(60px + env(safe-area-inset-bottom))}}:root{--primary-color-rgb:0,123,255}.custom-card{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:10px;box-shadow:0 2px 4px var(--shadow-color);box-sizing:border-box;flex:1 1;flex-basis:250px;margin:0;max-width:100%;padding:10px;position:relative;text-align:left;transition:box-shadow .3s ease,background-color .3s ease}.dashboard-card.custom-card{margin:0;width:100%}.custom-card:hover{box-shadow:0 4px 8px var(--shadow-color)}.custom-card-header{align-items:center;display:flex;justify-content:space-between}.custom-card-header h5{color:var(--text-primary);font-size:1.5rem;font-weight:700;padding-left:5px;padding-top:10px}.donut-container{position:absolute;right:15px;top:15px}.donut-chart{height:100%;width:100%}.donut-ring{stroke-width:3}.donut-segment{stroke-width:3;transition:stroke-dasharray .5s}.custom-card-body{margin-top:50px;text-align:center}.custom-value{color:var(--text-primary);font-size:2.2rem;font-weight:700;margin:5px 0}.custom-subtext{color:var(--text-secondary);font-size:.9rem}.card-change{align-items:center;border-radius:4px;display:inline-flex;font-size:.85rem;font-weight:500;padding:2px 6px;transition:all .2s ease}.card-change.positive{background-color:#0596691a;color:#059669}.card-change.negative{background-color:#dc26261a;color:#dc2626}.card-change.neutral{background-color:#6b72801a;color:var(--text-secondary)}.comparison-text-change{align-items:center;border-radius:4px;display:inline-flex;font-size:.85rem;font-weight:500;padding:2px 6px;transition:all .2s ease}.comparison-text-change.positive{background-color:#0596691a;color:#059669}.comparison-text-change.negative{background-color:#dc26261a;color:#dc2626}.comparison-text-change.neutral{background-color:#6b72801a;color:var(--text-secondary)}[data-theme=dark] .card-change.positive{background-color:#10b98133;color:#10b981}[data-theme=dark] .card-change.negative{background-color:#ef444433;color:#ef4444}[data-theme=dark] .card-change.neutral{background-color:#6b728033;color:var(--text-secondary)}[data-theme=dark] .comparison-text-change.positive{background-color:#10b98133;color:#10b981}[data-theme=dark] .comparison-text-change.negative{background-color:#ef444433;color:#ef4444}[data-theme=dark] .comparison-text-change.neutral{background-color:#6b728033;color:var(--text-secondary)}@media (max-width:768px){.custom-card{box-sizing:border-box;margin:0;padding:8px;text-align:center}.custom-card,.dashboard-card.custom-card{max-width:100%!important;min-width:0!important;width:100%!important}.dashboard-card.custom-card{box-sizing:border-box!important;flex:none!important;margin:0!important;padding:8px!important}.custom-card-header{align-items:center;flex-direction:column;gap:6px}.custom-card-header h5{font-size:.9rem;line-height:1.2;margin:0;padding:0;text-align:center}.custom-value{font-size:1.4rem;line-height:1.1;margin:4px 0}.custom-subtext{font-size:.7rem;line-height:1.2;margin:2px 0}.card-change{font-size:.65rem;padding:1px 4px}.donut-container{height:45px!important;margin:6px 0 0;position:static;width:45px!important}.custom-card-body{margin-top:30px}}@media (max-width:480px){.custom-card{box-sizing:border-box;margin:0;padding:6px}.dashboard-card.custom-card{box-sizing:border-box!important;margin:0!important;padding:6px!important}.custom-card-header h5{font-size:.8rem;line-height:1.1}.custom-value{font-size:1.2rem;margin:2px 0}.custom-subtext{font-size:.65rem;margin:1px 0}.card-change{font-size:.6rem;padding:1px 3px}.donut-container{height:40px!important;margin:4px 0 0;width:40px!important}.custom-card-body{margin-top:20px}}@media (max-width:768px) and (orientation:landscape){.custom-card-header h5{font-size:.85rem}.custom-value{font-size:1.3rem}.custom-subtext{font-size:.68rem}.donut-container{height:42px!important;width:42px!important}}.leaderboard{background:#fff;background:var(--card-bg,#fff);border:1px solid #e5e7eb;border:1px solid var(--border-color,#e5e7eb);border-radius:12px;box-shadow:0 2px 8px #0000001a;box-shadow:0 2px 8px var(--shadow-color,#0000001a);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;overflow:hidden}.leaderboard-header{align-items:center;background:#f8f9fa;background:var(--bg-secondary,#f8f9fa);border-bottom:1px solid #f3f4f6;border-bottom:1px solid var(--border-color,#f3f4f6);display:flex;justify-content:space-between;padding:20px 24px 16px}.leaderboard-title{align-items:center;color:#1f2937;color:var(--text-primary,#1f2937);display:flex;font-size:1.25rem;font-weight:600;gap:8px;margin:0}.title-icon{color:#3b82f6;color:var(--button-primary-bg,#3b82f6);font-size:1.125rem}.showing-count{color:#6b7280;color:var(--text-secondary,#6b7280);font-size:.875rem;font-weight:500}.leaderboard-content{padding:5px 0}.leaderboard-list{display:flex;flex-direction:column;scrollbar-color:#0003 #0000;scrollbar-color:var(--border-color,#0003) #0000;scrollbar-width:thin}.leaderboard-list::-webkit-scrollbar{width:6px}.leaderboard-list::-webkit-scrollbar-track{background:#0000}.leaderboard-list::-webkit-scrollbar-thumb{background:#0003;background:var(--border-color,#0003);border-radius:3px}.leaderboard-list::-webkit-scrollbar-thumb:hover{background:#0000004d;background:var(--text-secondary,#0000004d)}.leaderboard-item{align-items:center;border-bottom:1px solid #f9fafb;border-bottom:1px solid var(--border-color,#f9fafb);display:flex;overflow:hidden;padding:12px 24px;position:relative;transition:all .3s ease}.leaderboard-item:hover{background:#00000005;background:var(--sidebar-hover,#00000005);box-shadow:0 6px 20px #00000026;box-shadow:0 6px 20px var(--shadow-color,#00000026);transform:translateY(-2px)}.leaderboard-item.clickable{cursor:pointer}.leaderboard-item.clickable:hover{background:#0000000d;background:var(--sidebar-hover,#0000000d)}.leaderboard-item:last-child{border-bottom:none}.item-rank{flex-shrink:0;height:40px;justify-content:center;margin-right:16px;width:40px}.item-rank,.rank-content{align-items:center;display:flex}.rank-content{flex-direction:column;gap:2px}.rank-icon{font-size:1.5rem}.rank-icon.gold{color:#fbbf24;filter:drop-shadow(0 2px 4px rgba(251,191,36,.3))}.rank-icon.silver{color:#9ca3af;filter:drop-shadow(0 2px 4px rgba(156,163,175,.3))}.rank-icon.bronze{color:#d97706;filter:drop-shadow(0 2px 4px rgba(217,119,6,.3))}.rank-number{align-items:center;background:#f3f4f6;background:var(--bg-secondary,#f3f4f6);border-radius:50%;color:#6b7280;color:var(--text-secondary,#6b7280);display:flex;font-size:.875rem;font-weight:600;height:32px;justify-content:center;width:32px}.rank-number.rank-gold{background:linear-gradient(135deg,#fbbf24,#f59e0b);border:2px solid #f59e0b;box-shadow:0 4px 12px #fbbf2466,0 2px 6px #fbbf244d}.rank-number.rank-gold,.rank-number.rank-silver{color:#fff;font-size:1rem;font-weight:700;text-shadow:0 1px 2px #0000004d}.rank-number.rank-silver{background:linear-gradient(135deg,#e5e7eb,#9ca3af);border:2px solid #9ca3af;box-shadow:0 4px 12px #9ca3af66,0 2px 6px #9ca3af4d}.rank-number.rank-bronze{background:linear-gradient(135deg,#d97706,#b45309);border:2px solid #b45309;box-shadow:0 4px 12px #d9770666,0 2px 6px #d977064d;color:#fff;font-size:1rem;font-weight:700;text-shadow:0 1px 2px #0000004d}.rank-movement-indicator{border-radius:3px;font-size:.625rem;font-weight:700;line-height:1;margin-top:1px;padding:1px 3px;white-space:nowrap}.rank-movement-indicator[data-direction=up]{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 1px 3px #10b9814d;color:#fff}.rank-movement-indicator[data-direction=down]{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 1px 3px #ef44444d;color:#fff}.rank-movement-indicator[data-direction=new]{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 1px 3px #3b82f64d;color:#fff}.rank-movement-indicator[data-direction=same]{background:#f3f4f6;background:var(--bg-secondary,#f3f4f6);box-shadow:0 1px 2px #0000001a;color:#6b7280;color:var(--text-secondary,#6b7280)}.leaderboard-item.rank-1{background:linear-gradient(135deg,#fef3c74d,#fbbf241a 1%,#fff 0);background:linear-gradient(135deg,#fef3c74d 0,#fbbf241a 1%,var(--card-bg,#fff) 1%);border-left:4px solid #fbbf24}.leaderboard-item.rank-2{background:linear-gradient(135deg,#f3f4f64d,#9ca3af1a 1%,#fff 0);background:linear-gradient(135deg,#f3f4f64d 0,#9ca3af1a 1%,var(--card-bg,#fff) 1%);border-left:4px solid #9ca3af}.leaderboard-item.rank-3{background:linear-gradient(135deg,#fed7aa4d,#d977061a 1%,#fff 0);background:linear-gradient(135deg,#fed7aa4d 0,#d977061a 1%,var(--card-bg,#fff) 1%);border-left:4px solid #d97706}.leaderboard-item.rank-1:hover,.leaderboard-item.rank-2:hover,.leaderboard-item.rank-3:hover{background:#fff;background:var(--card-bg,#fff)}.item-content{display:flex;flex:1 1;flex-direction:column;gap:4px}.item-main{align-items:center;display:flex;justify-content:space-between}.item-name{color:#1f2937;color:var(--text-primary,#1f2937);font-size:1rem;line-height:1.4}.desktop-name{display:inline}.mobile-name{display:none}@media (max-width:768px){.desktop-name{display:none}.mobile-name{display:inline}}.item-value{font-feature-settings:"tnum";background:#d1fae5;border-radius:6px;color:#059669;font-size:1rem;font-variant-numeric:tabular-nums;font-weight:700;padding:4px 8px}.item-indicators{align-items:flex-end;display:flex;flex-direction:column;gap:2px;margin-top:-17px}.item-secondary{display:flex;justify-content:flex-end}.secondary-value{color:#6b7280;color:var(--text-secondary,#6b7280);font-size:.75rem;font-weight:500;text-align:right}.item-achievement{display:flex;justify-content:flex-end}.achievement-badge{background:linear-gradient(135deg,#fbbf24,color-mix(in srgb,#f59e0b 80%,#000 20%));background:linear-gradient(135deg,var(--custom-achievement-color,#fbbf24),color-mix(in srgb,var(--custom-achievement-color,#f59e0b) 80%,#000 20%));border-radius:4px;box-shadow:0 1px 3px color-mix(in srgb,#fbbf24 50%,#0000 50%);box-shadow:0 1px 3px color-mix(in srgb,var(--custom-achievement-color,#fbbf24) 50%,#0000 50%);color:#fff;font-size:.7rem;font-weight:500;padding:2px 6px;text-align:right}.podium-indicator{align-items:center;bottom:0;display:flex;position:absolute;right:0;top:0;width:6px}.podium-bar{border-radius:3px 0 0 3px;height:60%;width:100%}.podium-bar.rank-1{background:linear-gradient(135deg,#fbbf24,#f59e0b)}.podium-bar.rank-2{background:linear-gradient(135deg,#9ca3af,#6b7280)}.podium-bar.rank-3{background:linear-gradient(135deg,#d97706,#b45309)}.leaderboard-empty{color:#6b7280;color:var(--text-secondary,#6b7280);padding:40px 24px;text-align:center}.leaderboard-empty .empty-icon{font-size:3rem;margin-bottom:16px;opacity:.5}.leaderboard-empty p{font-size:1rem;font-weight:500;margin:0}.leaderboard-loading{padding:16px 24px}.loading-item{align-items:center;display:flex;gap:16px;padding:12px 0}.loading-rank{animate:pulse 2s infinite;background:#f3f4f6;background:var(--bg-secondary,#f3f4f6);border-radius:50%;height:40px;width:40px}.loading-content{display:flex;flex:1 1;flex-direction:column;gap:8px}.loading-name{height:16px;width:60%}.loading-name,.loading-value{animate:pulse 2s infinite;background:#f3f4f6;background:var(--bg-secondary,#f3f4f6);border-radius:4px}.loading-value{height:14px;width:40%}.leaderboard-footer{background:#f9fafb;background:var(--bg-secondary,#f9fafb);border-top:1px solid #f3f4f6;border-top:1px solid var(--border-color,#f3f4f6);padding:16px 24px}.leaderboard-stats{display:flex;gap:32px;justify-content:center}.stat{align-items:center;display:flex;flex-direction:column;gap:4px}.stat-label{color:#6b7280;color:var(--text-secondary,#6b7280);font-size:.75rem;font-weight:500;letter-spacing:.05em;text-transform:uppercase}.stat-value{color:#1f2937;color:var(--text-primary,#1f2937);font-size:1.125rem;font-weight:700}.leaderboard.compact .leaderboard-item{padding:8px 16px}.leaderboard.compact .item-rank{height:32px;margin-right:12px;width:32px}.leaderboard.compact .rank-icon{font-size:1.25rem}.leaderboard.compact .rank-number{font-size:.75rem;height:24px;width:24px}.leaderboard.compact .item-name{font-size:.875rem}.leaderboard.compact .item-value{font-size:.875rem;padding:2px 6px}@media (max-width:480px){.leaderboard-header{padding:12px 16px 8px}.leaderboard-title{font-size:1rem}.showing-count{font-size:.8rem}.leaderboard-item{min-height:60px;padding:10px 16px}.item-rank{height:32px;margin-right:10px;width:32px}.rank-number{font-size:.75rem;height:24px;width:24px}.rank-number.rank-bronze,.rank-number.rank-gold,.rank-number.rank-silver{font-size:.8rem;height:26px;width:26px}.rank-icon{font-size:1.1rem}.rank-movement-indicator{font-size:.45rem;padding:.5px 1.5px}.item-main{align-items:center;flex-direction:row;gap:8px}.item-name-container{flex:1 1;min-width:0}.item-name{font-size:.85rem;line-height:1.2}.item-value{flex-shrink:0;font-size:.8rem;font-weight:700;margin-left:8px}.mga-line{gap:4px;margin-top:1px}.mga-info{font-size:.65rem}.user-role-badge{font-size:7px;padding:1px 2px}.item-indicators{flex-wrap:wrap;gap:2px;margin-top:-5px}.secondary-value{font-size:.6rem}.achievement-badge{font-size:.55rem;line-height:1.1;padding:1px 3px}.expanded-content{margin-left:8px;padding-left:12px}.leaderboard-sub-item{gap:10px;margin-right:8px;padding:8px 12px}.sub-item-rank{font-size:10px;height:24px;min-width:24px}.sub-item-name,.sub-item-value{font-size:.8rem}.sub-mga-info{font-size:.6rem}}@media (min-width:481px) and (max-width:640px){.leaderboard-header{align-items:flex-start;flex-direction:column;gap:6px;padding:14px 18px 10px}.leaderboard-title{font-size:1.1rem}.showing-count{font-size:.85rem}.leaderboard-item{min-height:64px;padding:12px 18px}.item-rank{height:36px;margin-right:12px;width:36px}.rank-icon{font-size:1.25rem}.rank-number{font-size:.8125rem;height:28px;width:28px}.rank-number.rank-bronze,.rank-number.rank-gold,.rank-number.rank-silver{font-size:.875rem;height:30px;width:30px}.rank-movement-indicator{font-size:.5rem;margin-top:1px;padding:1px 2px}.item-main{align-items:center;flex-direction:row;gap:8px}.item-name-container{flex:1 1;min-width:0}.item-name{font-size:.9rem}.item-value{flex-shrink:0;font-size:.875rem;font-weight:700;margin-left:8px}.mga-line{gap:5px}.sub-mga-line{gap:4px}.user-role-badge{font-size:8px;padding:1px 3px}.mga-info{font-size:.7rem}.sub-mga-info{font-size:.65rem}.item-indicators{flex-wrap:wrap;gap:4px;margin-top:6px}.achievement-badge,.secondary-value{font-size:.625rem}.achievement-badge{padding:1px 4px}.leaderboard-stats{flex-direction:column;gap:12px}.expanded-content{padding-left:16px}.leaderboard-sub-item{gap:12px;padding:10px 14px}.sub-item-rank{font-size:11px;height:26px;min-width:26px}.sub-item-name,.sub-item-value{font-size:.85rem}}@media (min-width:641px) and (max-width:768px){.leaderboard-header{padding:18px 20px 14px}.leaderboard-item{min-height:68px;padding:14px 20px}.item-rank{height:38px;margin-right:14px;width:38px}.rank-number{font-size:.875rem;height:30px;width:30px}.item-main{align-items:center;flex-direction:row;gap:10px}.item-name-container{flex:1 1;min-width:0}.item-name,.item-value{font-size:1rem}.item-value{flex-shrink:0;margin-left:10px}.item-indicators{gap:6px;margin-top:6px}}@media (max-width:768px){.leaderboard-item.clickable{min-height:60px;touch-action:manipulation}.leaderboard-item.clickable:active{background:#00000014;background:var(--sidebar-hover,#00000014);transform:scale(.98)}.expand-icon{align-items:center;display:flex;justify-content:center;margin:-4px;min-height:32px;min-width:32px;padding:4px}.podium-indicator{right:8px}.podium-bar{width:3px}.leaderboard-item:hover,.leaderboard-sub-item:hover{transform:none}.leaderboard-list{-webkit-overflow-scrolling:touch;scroll-behavior:smooth}.loading-item{min-height:60px;padding:12px 16px}.loading-rank{height:32px;width:32px}.leaderboard-empty{padding:32px 16px}.leaderboard-empty .empty-icon{font-size:2.5rem}.leaderboard-empty p{font-size:.9rem}}@media (max-width:768px) and (orientation:landscape){.leaderboard-item{min-height:52px;padding:8px 16px}.item-rank{height:32px;margin-right:10px;width:32px}.rank-number{font-size:.75rem;height:26px;width:26px}.item-name,.item-value{font-size:.85rem}.item-indicators{margin-top:2px}}.item-name-container{gap:8px}.expand-icon{align-items:center;color:#6b7280;color:var(--text-secondary,#6b7280);display:flex;font-size:14px;transition:color .2s ease}.expand-icon:hover{color:#3b82f6;color:var(--primary-color,#3b82f6)}.expand-spinner{animation:spin 1s linear infinite}.expanded-content{background:#00000005;background:var(--bg-secondary,#00000005);border-left:2px solid #e5e7eb;border-left:2px solid var(--border-color,#e5e7eb);border-radius:0 8px 8px 0;margin-top:2px;padding-left:20px}.leaderboard-sub-item{align-items:center;background:#ffffff80;background:var(--card-bg,#ffffff80);border:1px solid #0000000d;border:1px solid var(--border-color,#0000000d);border-radius:6px;display:flex;gap:16px;margin:2px 5px 4px 0;padding:12px 16px;transition:all .2s ease}.leaderboard-sub-item:hover{background:#fffc;background:var(--sidebar-hover,#fffc);border-color:#0000001a;border-color:var(--border-color,#0000001a);transform:translateX(4px)}.sub-item-rank{align-items:center;background:#f3f4f6;background:var(--gray-100,#f3f4f6);border-radius:50%;color:#6b7280;color:var(--text-secondary,#6b7280);display:flex;font-size:12px;font-weight:600;height:28px;justify-content:center;min-width:28px}.sub-rank-number{font-size:11px}.sub-item-content{display:flex;flex:1 1;flex-direction:column;gap:4px}.sub-item-main{justify-content:space-between}.sub-item-name{color:#1f2937;color:var(--text-primary,#1f2937);font-size:.875rem;font-weight:600;line-height:1.3}.sub-item-name.desktop-name{display:inline}.sub-item-name.mobile-name{display:none}@media (max-width:768px){.sub-item-name.desktop-name{display:none}.sub-item-name.mobile-name{display:inline}}.sub-item-value{color:#3b82f6;color:var(--primary-color,#3b82f6);font-size:14px}.sub-item-secondary{text-align:left}.sub-secondary-value{font-size:12px}.expanded-empty,.sub-secondary-value{color:#6b7280;color:var(--text-secondary,#6b7280)}.expanded-empty{font-size:14px;font-style:italic;padding:20px;text-align:center}.name-info{display:flex;flex:1 1;flex-direction:column}.mga-line,.name-line{align-items:center;display:flex}.mga-line{gap:8px;margin-top:2px}.badge-only-line{align-items:center;display:flex;margin-top:2px}.mga-info{color:#6b7280;color:var(--text-secondary,#6b7280);font-size:.75rem}.user-role-badge{background-color:#3b82f6;background-color:var(--primary-color,#3b82f6);box-shadow:0 1px 2px #0000001a;color:#fff;color:var(--primary-text,#fff);font-size:.7rem;padding:2px 6px}.sub-name-info{display:flex;flex:1 1;flex-direction:column}.sub-mga-line,.sub-name-line{align-items:center;display:flex}.sub-mga-line{gap:6px;margin-top:2px}.sub-badge-only-line{align-items:center;display:flex;margin-top:2px}.sub-mga-info{color:#6b7280;color:var(--text-secondary,#6b7280);font-size:.7rem;font-weight:400}.leaderboard-item.current-user{background:linear-gradient(135deg,#fef3c7,#fde68a);border-left:4px solid #f59e0b;box-shadow:0 4px 12px #f59e0b33;transform:translateY(-1px)}.leaderboard-item.current-user:hover{background:linear-gradient(135deg,#fef3c7,#fbbf24);box-shadow:0 6px 20px #f59e0b4d}.leaderboard-header-controls{align-items:center;display:flex;gap:12px}.scroll-controls{align-items:center;display:flex;gap:8px}.scroll-button{align-items:center;background:#0000;border:none;border-radius:6px;cursor:pointer;display:flex;height:32px;justify-content:center;min-width:32px;opacity:1;padding:8px;transform:scale(1);transition:all .3s ease}.scroll-button:hover{transform:translateY(-1px) scale(1.05)}.scroll-button:active{transform:translateY(0) scale(1)}.scroll-button{animation:fadeIn .3s ease-in-out}.scroll-button.scroll-to-user{color:#f59e0b}.scroll-button.scroll-to-user:hover{color:#d97706}.scroll-button.scroll-to-top{color:#6b7280;color:var(--text-secondary,#6b7280)}.scroll-button.scroll-to-top:hover{color:#1f2937;color:var(--text-primary,#1f2937)}.scroll-icon{font-size:.875rem}.scroll-text{font-size:.75rem;font-weight:600}@media (max-width:480px){.leaderboard-header-controls{align-items:flex-end;flex-direction:column;gap:8px}.scroll-controls{gap:6px}.scroll-button{height:28px;min-width:28px;padding:6px}.scroll-icon{font-size:.875rem}}@media (min-width:481px) and (max-width:640px){.scroll-button{height:30px;min-width:30px;padding:7px}.scroll-icon{font-size:.9rem}}@media (max-width:768px){.leaderboard{box-sizing:border-box!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;width:100%!important}.leaderboard-header{padding:12px 16px 8px}.leaderboard-title{font-size:1.1rem}.leaderboard-item{padding:8px 16px}.item-rank{height:32px;margin-right:12px;width:32px}.rank-number{font-size:.75rem;height:28px;width:28px}.rank-icon{font-size:1.2rem}}.profile-picture,.profile-picture-fallback{border:2px solid #fffc;box-shadow:0 2px 4px #0000001a;flex-shrink:0;font-size:24px;font-size:calc(var(--desktop-size, 60px)*.4);height:60px;height:var(--desktop-size,60px);transition:all .2s ease;width:60px;width:var(--desktop-size,60px)}.profile-picture-fallback .profile-icon{height:30px;height:calc(var(--desktop-size, 60px)*.5);width:30px;width:calc(var(--desktop-size, 60px)*.5)}.profile-picture-fallback:hover,.profile-picture:hover{border-color:#4f46e5;box-shadow:0 4px 8px #4f46e533;transform:scale(1.05)}.item-profile-picture{margin-right:12px}.sub-item-profile-picture{margin-right:8px}.item-name-container{align-items:center;display:flex;flex:1 1;min-width:0}.item-name{color:#1a1a1a;color:var(--text-primary,#1a1a1a);flex:1 1;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sub-item-main{align-items:center;display:flex;flex:1 1;min-width:0}.sub-item-name{color:#666;color:var(--text-secondary,#666);flex:1 1;font-weight:500;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sub-item-value{color:#1a1a1a;color:var(--text-primary,#1a1a1a);font-weight:600;margin-left:8px}@media (max-width:480px){.profile-picture,.profile-picture-fallback{font-size:12.8px;font-size:calc(var(--mobile-size, 40px)*.32);height:32px;height:calc(var(--mobile-size, 40px)*.8);width:32px;width:calc(var(--mobile-size, 40px)*.8)}.profile-picture-fallback .profile-icon{height:16px;height:calc(var(--mobile-size, 40px)*.4);width:16px;width:calc(var(--mobile-size, 40px)*.4)}.item-profile-picture{margin-right:6px}.sub-item-profile-picture{margin-right:4px}.item-name,.sub-item-name{font-size:.85em}}@media (min-width:481px) and (max-width:640px){.profile-picture,.profile-picture-fallback{font-size:14.4px;font-size:calc(var(--mobile-size, 40px)*.36);height:36px;height:calc(var(--mobile-size, 40px)*.9);width:36px;width:calc(var(--mobile-size, 40px)*.9)}.profile-picture-fallback .profile-icon{height:18px;height:calc(var(--mobile-size, 40px)*.45);width:18px;width:calc(var(--mobile-size, 40px)*.45)}.item-profile-picture{margin-right:7px}.sub-item-profile-picture{margin-right:5px}.item-name,.sub-item-name{font-size:.9em}}@media (min-width:641px) and (max-width:768px){.profile-picture,.profile-picture-fallback{font-size:16px;font-size:calc(var(--mobile-size, 40px)*.4);height:40px;height:var(--mobile-size,40px);width:40px;width:var(--mobile-size,40px)}.profile-picture-fallback .profile-icon{height:20px;height:calc(var(--mobile-size, 40px)*.5);width:20px;width:calc(var(--mobile-size, 40px)*.5)}.item-profile-picture{margin-right:8px}.sub-item-profile-picture{margin-right:6px}.item-name,.sub-item-name{font-size:.95em}}@media (max-width:768px){.profile-picture-fallback:hover,.profile-picture:hover{box-shadow:0 2px 6px #4f46e526;transform:scale(1.02)}}.dashboard-container{min-height:100vh}.dashboard-nav-buttons{align-items:center;border-bottom:1px solid #e0e0e0;border-bottom:1px solid var(--border-color,#e0e0e0);display:flex;gap:1rem;justify-content:center;margin-bottom:.5rem;padding:1.5rem 0}.time-button{background-color:#fff;background-color:var(--card-bg,#fff);border:2px solid #00558c;border:2px solid var(--button-primary-bg,#00558c);border-radius:4px;color:#00558c;color:var(--button-primary-bg,#00558c);cursor:pointer;flex:0 0 auto;font-family:Avenir Next LT Pro,sans-serif;font-size:.875rem;font-weight:600;padding:8px 20px;text-align:center;transition:all .3s ease;white-space:nowrap}.time-button:hover{opacity:.9}.time-button.active,.time-button:hover{background-color:#00558c;background-color:var(--button-primary-bg,#00558c);color:#fff;color:var(--button-primary-text,#fff)}.time-button.active{border-color:#00558c;border-color:var(--button-primary-bg,#00558c)}.time-button.active:hover{opacity:.9}@media (max-width:768px){.dashboard-nav-buttons{gap:.75rem;padding:1rem 0}.time-button{font-size:.8rem;padding:8px 16px}}@media (max-width:600px){.dashboard-nav-buttons{gap:.5rem;padding:1rem 0}.time-button{font-size:.75rem;padding:6px 12px}}@media (max-width:480px){.dashboard-nav-buttons{gap:.25rem;padding:1rem 0}.time-button{font-size:.7rem;padding:6px 10px}}.dashboard-header{align-items:center;border-bottom:1px solid #e0e0e0;border-bottom:1px solid var(--border-color,#e0e0e0);display:flex;justify-content:space-between;margin-bottom:2rem;padding:1rem 0}.dashboard-header h2{color:#2196f3;color:var(--primary-color,#2196f3);font-weight:600;margin:0}.date-range-selector{align-items:center;display:flex;flex-wrap:nowrap;gap:1rem}.date-range-selector label{display:flex;flex-direction:column;flex-shrink:1;font-size:.875rem;font-weight:500;gap:.25rem;min-width:0}.date-range-selector input[type=date]{background-color:#fff;background-color:var(--input-bg,#fff);border:1px solid #ddd;border:1px solid var(--border-color,#ddd);border-radius:4px;color:#333;color:var(--text-color,#333);font-size:.875rem;min-width:0;padding:.5rem;width:100%}.date-range-selector input[type=date]:focus{border-color:#2196f3;border-color:var(--primary-color,#2196f3);box-shadow:0 0 0 2px #2196f333;outline:none}.section-header-with-controls{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.section-header-with-controls .section-title{margin:0}.section-header-with-controls .date-range-selector{gap:.75rem}.section-header-with-controls .date-range-selector label{font-size:.8rem}.section-header-with-controls .date-range-selector input[type=date]{font-size:.8rem;padding:.4rem}@media (max-width:768px){.section-header-with-controls .date-range-selector{flex-direction:row;flex-wrap:nowrap;gap:.5rem}.section-header-with-controls .date-range-selector label{flex:1 1;font-size:.75rem;min-width:80px}.section-header-with-controls .date-range-selector input[type=date]{font-size:.75rem;padding:.3rem}}@media (max-width:480px){.section-header-with-controls .date-range-selector{flex-direction:row;flex-wrap:nowrap;gap:.25rem}.section-header-with-controls .date-range-selector label{flex:1 1;font-size:.7rem;min-width:70px}.section-header-with-controls .date-range-selector input[type=date]{font-size:.7rem;padding:.25rem}}.dashboard-cards-wrapper{margin-bottom:.5rem}.dashboard-layout{box-sizing:border-box;display:flex;flex-direction:column;gap:2rem;width:100%}.dashboard-main-content{box-sizing:border-box;order:1;width:100%}.dashboard-sidebar{order:2;position:static}.dashboard-sidebar,.leaderboard-section{box-sizing:border-box;width:100%}.leaderboard-section .section-title{font-size:1.25rem;margin-bottom:.75rem}.dashboard-leaderboard{box-sizing:border-box;max-height:1000px;overflow-y:auto;width:100%}.dashboard-section{box-sizing:border-box;margin-bottom:1rem;transition:all .3s ease;width:100%}.section-title{color:#2196f3;color:var(--primary-color,#2196f3);font-size:1.5rem;font-weight:600;margin:0 0 1rem}.section-divider{background:linear-gradient(90deg,#2196f3,#0000);background:linear-gradient(90deg,var(--primary-color,#2196f3) 0,#0000 100%);height:2px;margin:0 0 2rem}.card-container{margin-bottom:2rem}.card-container,.dashboard-section .card-container{grid-gap:1.5rem;box-sizing:border-box;gap:1.5rem;grid-template-columns:repeat(2,1fr)}.dashboard-section .card-container{display:grid;margin-bottom:1rem;width:100%}.dashboard-card{border-radius:8px;box-shadow:0 2px 8px #0000001a;box-sizing:border-box;transition:transform .2s ease,box-shadow .2s ease;width:100%}.dashboard-card .card-title{font-size:.875rem;font-weight:500;line-height:1.3}.dashboard-card .card-value{font-size:1.5rem;font-weight:600;line-height:1.2}.dashboard-card .card-subtext,.dashboard-card .card-subtitle{font-size:.75rem;line-height:1.3;opacity:.8}.dashboard-card .card-growth{font-size:.7rem;font-weight:500}.dashboard-card:hover{box-shadow:0 4px 16px #00000026;transform:translateY(-2px)}.dashboard-summary{background-color:#fff;background-color:var(--card-bg,#fff);border:1px solid #e0e0e0;border:1px solid var(--border-color,#e0e0e0);border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:1.5rem}.dashboard-summary h3{color:#333;color:var(--text-color,#333);font-weight:600;margin:0 0 1rem}.summary-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.summary-item{background-color:#f9f9f9;background-color:var(--secondary-bg,#f9f9f9);border-left:4px solid #2196f3;border-left:4px solid var(--primary-color,#2196f3);border-radius:6px;padding:1rem}.summary-item strong{color:#2196f3;color:var(--primary-color,#2196f3)}.summary-item small{color:#666;color:var(--text-muted,#666);font-size:.875rem}.growth-positive{color:#4caf50!important;font-weight:500}.growth-negative{color:#f44336!important;font-weight:500}.loading-spinner{font-size:1.2rem;height:300px}.loading-message,.loading-spinner{color:#666;color:var(--text-muted,#666)}.loading-message{align-items:center;display:flex;font-size:1.1rem;height:200px;justify-content:center;padding:2rem}.error-message{background-color:#fff3cd;border:1px solid #ffeaa7;border-radius:8px;color:#856404;margin:2rem auto;max-width:500px;padding:2rem}.error-message h3{color:#856404;margin:0 0 1rem}.error-message p{line-height:1.5}.dark .dashboard-summary{background-color:#2d2d2d;background-color:var(--card-bg-dark,#2d2d2d);border-color:#404040;border-color:var(--border-color-dark,#404040)}.dark .summary-item{background-color:#333;background-color:var(--secondary-bg-dark,#333)}.dark .date-range-selector input[type=date]{background-color:#2d2d2d;background-color:var(--input-bg-dark,#2d2d2d);border-color:#404040;border-color:var(--border-color-dark,#404040);color:#e0e0e0;color:var(--text-color-dark,#e0e0e0)}@media (min-width:480px){.dashboard-section .card-container{gap:1rem}.dashboard-card .card-title{font-size:.9rem}.dashboard-card .card-value{font-size:1.6rem}.dashboard-card .card-subtext,.dashboard-card .card-subtitle{font-size:.8rem}.dashboard-card .card-growth{font-size:.75rem}}@media (min-width:600px){.dashboard-card .card-title{font-size:.95rem}.dashboard-card .card-value{font-size:1.65rem}.dashboard-card .card-subtext,.dashboard-card .card-subtitle{font-size:.825rem}.dashboard-card .card-growth{font-size:.775rem}}@media (min-width:768px){.dashboard-section:first-child .card-container,.dashboard-section:nth-child(2) .card-container,.dashboard-section:nth-child(3) .card-container{grid-template-columns:repeat(4,1fr)}.dashboard-card .card-title{font-size:1rem}.dashboard-card .card-value{font-size:1.75rem;font-weight:600}.dashboard-card .card-subtext,.dashboard-card .card-subtitle{font-size:.875rem}.dashboard-card .card-growth{font-size:.8rem}}@media (min-width:1200px){.dashboard-card .card-title{font-size:1.125rem}.dashboard-card .card-value{font-size:2rem;font-weight:600}.dashboard-card .card-subtext,.dashboard-card .card-subtitle{font-size:.9rem}.dashboard-card .card-growth{font-size:.85rem}}@media (min-width:1650px){.dashboard-card .card-title{font-size:1.25rem}.dashboard-card .card-value{font-size:2.25rem;font-weight:600}.dashboard-card .card-subtext,.dashboard-card .card-subtitle{font-size:1rem}.dashboard-card .card-growth{font-size:.9rem}}@media (max-width:767px){.dashboard-container{box-sizing:border-box;max-width:100vw;overflow-x:hidden;padding:0 4px;width:100%}.dashboard-layout{display:flex;flex-direction:column;gap:1rem;max-width:100%;width:100%}.dashboard-sidebar{margin-bottom:1rem;max-width:100%;order:2;position:static;width:100%}.dashboard-main-content{max-width:100%;order:1;width:100%}.dashboard-header{align-items:stretch;flex-direction:column;gap:1rem;width:100%}.date-range-selector{justify-content:center}.dashboard-section .card-container{box-sizing:border-box;gap:8px;grid-template-columns:repeat(2,1fr);max-width:100%;width:100%}.dashboard-section{box-sizing:border-box;margin-bottom:1rem;max-width:100%;overflow-x:hidden;width:100%}.dashboard-section .section-title{font-size:1.2rem;text-align:center;width:100%}.summary-grid{grid-template-columns:1fr}.section-header-with-controls{align-items:center;flex-direction:column;gap:.5rem;margin-bottom:.75rem}.section-header-with-controls .section-title{font-size:1.1rem;text-align:center}.section-header-with-controls .date-range-selector{gap:.5rem;justify-content:center}.dashboard-leaderboard,.leaderboard-section{max-width:100%;overflow-x:hidden;width:100%}.dashboard-card .card-title{font-size:.875rem;line-height:1.3}.dashboard-card .card-value{font-size:1.5rem;font-weight:600;line-height:1.2}.dashboard-card .card-subtext,.dashboard-card .card-subtitle{font-size:.75rem;line-height:1.3}.dashboard-card .card-growth{font-size:.7rem}}@media (max-width:480px){.dashboard-container{padding:0 2px}.dashboard-header h2{font-size:1.4rem;text-align:center}.dashboard-section .card-container{gap:4px}.dashboard-section .section-title{font-size:1rem}.section-header-with-controls .section-title{font-size:.95rem}.dashboard-section{margin-bottom:1rem}.dashboard-card .card-title{font-size:.8rem;line-height:1.2}.dashboard-card .card-value{font-size:1.25rem;font-weight:600;line-height:1.1}.dashboard-card .card-subtext,.dashboard-card .card-subtitle{font-size:.7rem;line-height:1.2}.dashboard-card .card-growth{font-size:.65rem}}.data-table{display:block;width:100%}.data-table-container{display:flex;flex-direction:column}.scroll-container{flex:1 1;max-width:100%;overflow-x:auto;overflow-y:auto}.scroll-container.page-scroll-mode{max-height:none;overflow-y:visible}.scroll-container.table-scroll-mode{max-height:70vh}.table{border-collapse:collapse;min-width:max(800px,-webkit-fit-content);min-width:max(800px,fit-content);table-layout:fixed;width:100%}.table.table-overflow{table-layout:auto;width:-webkit-max-content;width:max-content}@media (min-width:1024px){.table.table-overflow{min-width:100%;table-layout:auto;width:-webkit-max-content;width:max-content}.table.table-overflow td.auto-width-column,.table.table-overflow th.auto-width-column{max-width:250px;min-width:150px;width:auto}}td,th{border:1px solid var(--border-color);font-size:12px;overflow:hidden;padding:4px;text-overflow:ellipsis;white-space:nowrap}td.auto-width-column,th.auto-width-column{max-width:300px;min-width:120px;width:-webkit-max-content;width:max-content}.table.table-overflow td.auto-width-column,.table.table-overflow th.auto-width-column{width:auto}.table td:first-child,.table th:first-child{border-left:none;border-right:none}.table td:nth-child(2),.table th:nth-child(2){border-left:none}th{background:var(--bg-secondary);border-bottom:2px solid var(--border-color);color:var(--text-primary);cursor:pointer}.table-scroll-mode th{z-index:10}.page-scroll-mode th,.table-scroll-mode th{position:-webkit-sticky;position:sticky;top:0}.page-scroll-mode th{z-index:1000}.table td{position:relative}.table td:hover{background-color:var(--sidebar-hover);box-shadow:inset 0 0 0 1px var(--border-color);cursor:pointer;transition:background-color .2s ease,box-shadow .2s ease}.table tr:hover{transition:background-color .2s ease}.table .editing-row{background-color:#fff0b480}.table input{background:#0000;border:none;color:var(--text-primary);font-family:inherit;font-size:inherit;margin:0;outline:none;padding:0;width:100%}.table input:focus{border:none;box-shadow:none;outline:none}.table select{background-color:var(--bg-primary);border:1px solid var(--border-color);border-radius:4px;box-sizing:border-box;color:var(--text-primary);font-family:inherit;font-size:inherit;font-size:12px;padding:2px 6px;width:100%}.table select:focus{border-color:var(--hover-color);box-shadow:0 0 5px var(--shadow-color);outline:none}.table select option{background-color:var(--bg-primary)!important;color:var(--text-primary)!important;font-size:11px}.chip-container{display:flex;flex-wrap:wrap;gap:4px;padding:2px 0}.chip{background-color:var(--button-secondary-bg);border-radius:12px;color:var(--button-secondary-text);font-size:12px;padding:2px 8px;white-space:nowrap}.chip-wrapper{display:inline-block;position:relative}.editable-cell{cursor:text}input::-webkit-datalist-button{display:none}.button-on-hover-cell{padding-right:30px;position:relative}.button-on-hover{background:none;border:none;border-radius:2px;color:var(--text-primary);cursor:pointer;display:none;font-size:12px;line-height:1;position:absolute;right:1px;top:50%;transform:translateY(-50%)}.button-on-hover-cell:hover .button-on-hover{background-color:var(--sidebar-hover);display:inline-block}.context-menu{background:var(--card-bg);border:1px solid var(--border-color);border-radius:4px;box-shadow:0 2px 5px var(--shadow-color);min-width:150px;z-index:1000}.context-menu-item{color:var(--text-primary);cursor:pointer;font-size:14px;padding:8px 12px;transition:background-color .2s}.context-menu-item:hover{background-color:var(--sidebar-hover)}.context-menu-item:not(:last-child){border-bottom:1px solid var(--border-color)}.table .sticky-row{background-color:var(--bg-primary)!important}.table .sticky-row,.table .totals-row{position:-webkit-sticky;position:sticky;z-index:15}.table .totals-row{font-weight:600}.table .totals-row,.table .totals-row:hover{background-color:var(--bg-tertiary)!important}.table .totals-row:hover{cursor:default!important}.table .totals-cell{background-color:var(--bg-tertiary)!important;font-weight:600;text-align:center}.table .totals-cell:hover{background-color:var(--bg-tertiary)!important;cursor:default!important}.pagination-container{border-top:1px solid var(--border-color);display:flex;justify-content:center;margin-top:1rem;padding:1rem 0}.pagination-controls{align-items:center;display:flex;gap:.25rem}.pagination-btn{align-items:center;background-color:var(--bg-secondary);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);cursor:pointer;display:flex;font-size:14px;font-weight:500;height:36px;justify-content:center;min-width:40px;padding:.375rem .75rem;transition:all .2s ease}.pagination-btn:hover:not(:disabled){background-color:var(--sidebar-hover);border-color:var(--accent-color);color:var(--text-primary)}.pagination-btn:disabled{background-color:var(--bg-tertiary);border-color:var(--border-color);color:var(--text-muted);cursor:not-allowed;opacity:.6}.pagination-info{color:var(--text-primary);font-size:14px;font-weight:500;margin:0 1rem;white-space:nowrap}.banded-row-even{background-color:#fff;background-color:var(--bg-primary,#fff)}.banded-row-odd{background-color:#f8f9fa;background-color:var(--bg-secondary,#f8f9fa)}.banded-row-even:hover,.banded-row-odd:hover{background-color:#e9ecef!important;background-color:var(--bg-hover,#e9ecef)!important}.group-first-column{border-left:3px solid #dee2e6!important;border-left:3px solid var(--border-secondary,#dee2e6)!important}.day-separator{border-left:2px solid #6c757d!important;border-left:2px solid var(--border-accent,#6c757d)!important}.column-group-weekly{background-color:#e3f2fd!important;background-color:var(--header-bg-weekly,#e3f2fd)!important}.column-group-daily{background-color:#f3e5f5!important;background-color:var(--header-bg-daily,#f3e5f5)!important}.column-group-period{background-color:#e8f5e8!important;background-color:var(--header-bg-period,#e8f5e8)!important}.column-group-week{background-color:#fff3e0!important;background-color:var(--header-bg-week,#fff3e0)!important}.column-group-week1{background-color:#fff8e1!important;background-color:var(--header-bg-week1,#fff8e1)!important}.column-group-week2{background-color:#f1f8e9!important;background-color:var(--header-bg-week2,#f1f8e9)!important}.column-group-week3{background-color:#e8f5e8!important;background-color:var(--header-bg-week3,#e8f5e8)!important}.column-group-week4{background-color:#e0f2f1!important;background-color:var(--header-bg-week4,#e0f2f1)!important}.column-group-week5{background-color:#e1f5fe!important;background-color:var(--header-bg-week5,#e1f5fe)!important}th.column-group-monday{background-color:#fff3e0!important;background-color:var(--day-monday,#fff3e0)!important}th.column-group-tuesday{background-color:#f1f8e9!important;background-color:var(--day-tuesday,#f1f8e9)!important}th.column-group-wednesday{background-color:#e8f5e8!important;background-color:var(--day-wednesday,#e8f5e8)!important}th.column-group-thursday{background-color:#e0f2f1!important;background-color:var(--day-thursday,#e0f2f1)!important}th.column-group-friday{background-color:#e1f5fe!important;background-color:var(--day-friday,#e1f5fe)!important}th.column-group-saturday{background-color:#fce4ec!important;background-color:var(--day-saturday,#fce4ec)!important}th.column-group-sunday{background-color:#fff8e1!important;background-color:var(--day-sunday,#fff8e1)!important}td.group-first-column{border-left:3px solid #dee2e6!important;border-left:3px solid var(--border-secondary,#dee2e6)!important}td.day-separator{border-left:2px solid #6c757d!important;border-left:2px solid var(--border-accent,#6c757d)!important}.no-data-row,.no-data-row:hover{background-color:initial!important}.no-data-row:hover{cursor:default!important}.no-data-cell{border:none!important;padding:3rem 1rem!important;text-align:center}.no-data-cell,.no-data-cell:hover{background-color:initial!important}.no-data-cell:hover{box-shadow:none!important;cursor:default!important}.no-data-container{align-items:center;color:var(--text-muted);display:flex;flex-direction:column;gap:1rem}.no-data-icon{font-size:3rem;opacity:.5}.no-data-message h4{color:var(--text-secondary);font-size:1.25rem;font-weight:600;margin:0 0 .5rem}.no-data-message p{color:var(--text-muted);font-size:14px;margin:0}.expand-button{background:none!important;border:none!important;border-radius:2px!important;color:#666!important;cursor:pointer!important;font-size:12px!important;margin-right:8px!important;padding:2px 4px!important;transition:background-color .2s ease}.expand-button:hover{background-color:#f0f0f0!important;color:#333!important}.expanded-cell,.expanded-row{background-color:#f9f9f9}.expanded-cell{border-top:none!important;padding:12px!important}.expanded-content{background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;margin:8px 0;padding:16px}.discord-sales-container{max-height:400px;overflow-y:auto}.discord-sales-header{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:12px;padding-bottom:8px}.discord-sales-title{color:#333;font-weight:700;margin:0}.discord-sales-count{background-color:#e3f2fd;border-radius:12px;color:#1976d2;font-size:11px;font-weight:700;padding:2px 8px}.discord-sale-item{align-items:center;background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;display:flex;justify-content:space-between;margin-bottom:8px;padding:8px 12px;transition:box-shadow .2s ease}.discord-sale-item:hover{box-shadow:0 2px 4px #0000001a}.discord-sale-info{grid-gap:12px;align-items:center;display:grid;flex:1 1;gap:12px;grid-template-columns:1fr 1fr 1fr 1fr}.discord-sale-field{display:flex;flex-direction:column}.discord-sale-label{color:#666;font-size:10px;font-weight:700;margin-bottom:2px;text-transform:uppercase}.discord-sale-value{color:#333;font-size:12px;font-weight:700}.discord-sale-actions{display:flex;gap:4px;margin-left:12px}.discord-sale-delete-btn,.discord-sale-edit-btn{border:none;border-radius:3px;cursor:pointer;font-size:10px;font-weight:700;padding:4px 8px;transition:background-color .2s ease}.discord-sale-edit-btn{background-color:#e3f2fd;color:#1976d2}.discord-sale-edit-btn:hover{background-color:#bbdefb}.discord-sale-delete-btn{background-color:#ffebee;color:#d32f2f}.discord-sale-delete-btn:hover{background-color:#ffcdd2}.discord-sale-timestamp{color:#888;font-size:10px;margin-top:4px}.discord-sale-image-link{color:#1976d2;font-size:10px;margin-top:2px;text-decoration:none}.discord-sale-image-link:hover{text-decoration:underline}.no-discord-sales{color:#666;font-style:italic;padding:16px;text-align:center}.discord-sales-total{border-top:1px solid #e0e0e0;color:#333;display:flex;font-weight:700;justify-content:space-between;margin-top:12px;padding-top:8px}.lead-type-badge{background-color:#f5f5f5;border-radius:10px;color:#666;font-size:9px;font-weight:700;padding:2px 6px;text-transform:uppercase}.manual-addition-item{background-color:#f8f9fa;border:2px dashed #007bff;border-radius:8px;margin-top:10px}.manual-addition-header{background-color:#e3f2fd;border-radius:4px;margin-bottom:8px;padding:4px;text-align:center}.manual-addition-header h5{color:#1976d2;font-size:12px;font-weight:700;margin:0}.manual-addition-item .discord-sale-info{background-color:initial}.manual-addition-item .discord-sale-field .discord-sale-label,.manual-addition-item .discord-sale-field .discord-sale-value{color:#f57c00;font-weight:700}.action-bar{-ms-overflow-style:none;align-items:center;background-color:var(--card-bg);border:1px solid var(--border-color);border-bottom:none;border-radius:5px 5px 0 0;display:flex;justify-content:space-between;margin-top:5px;overflow-x:auto;padding:2px 10px;scrollbar-width:none;touch-action:pan-x;-webkit-user-select:none;user-select:none}.action-bar::-webkit-scrollbar{display:none}.selected-count{font-size:12px;min-width:16ch}.action-controls,.selected-count{-webkit-user-select:none;user-select:none}.action-controls{display:flex;gap:4px;white-space:nowrap}.action-controls button{background-color:initial;border:none;color:var(--text-secondary)}.action-controls button:hover{background-color:initial;color:var(--text-primary)}.import-modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.import-modal{background:#fff;border-radius:8px;max-height:80%;overflow-y:auto;padding:20px;position:relative;width:500px}.close-button{background:#0000;font-size:20px;position:absolute;right:12px;top:8px}.mapping-container{margin-top:20px}.mapping-row{align-items:center;display:flex;margin-bottom:10px}.file-header{font-weight:700;width:150px}.mapping-row select{flex:1 1;padding:4px}.mapping-row select.matched{background-color:#e8f5e9;border-color:green}.mapping-row select.unmatched{background-color:#fff;border-color:#ccc}.submit-button{background:#3498db;border:none;border-radius:4px;color:#fff;cursor:pointer;margin-top:20px;padding:8px 16px}.duplicate-review{border-top:1px solid #ccc;margin-top:20px;padding-top:10px}.duplicate-row{align-items:center;display:flex;gap:10px;margin-bottom:10px}.assignment-container{margin-bottom:20px}.assignment-container label{display:block;margin-bottom:5px}.assignment-container select{padding:4px;width:100%}.menu-overlay{pointer-events:none;position:absolute;right:0;top:calc(100% + 2px);z-index:1000}.mass-reassign-menu{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0000004d;padding:1rem;pointer-events:auto;width:auto;z-index:1001}.mass-reassign-menu h3{font-size:1.2rem;margin-top:0}.mass-reassign-menu .summary h4,.mass-reassign-menu .user-breakdown h4{font-size:1rem;margin:0 0 .5rem}.mass-reassign-menu table{border-collapse:collapse;margin-bottom:.5rem;width:100%}.mass-reassign-menu table td,.mass-reassign-menu table th{border:1px solid #ddd;font-size:.9rem;padding:.3rem;text-align:center}.mass-reassign-menu table th{background-color:#f2f2f2}.mass-reassign-menu .total-row td{font-weight:700}.mass-reassign-menu .reassign-control{align-items:center;display:flex;margin:1rem 0}.mass-reassign-menu .reassign-control label{font-weight:500;margin-right:.5rem}.mass-reassign-menu .reassign-control select{border:1px solid #ccc;border-radius:4px;flex:1 1;padding:.25rem}.mass-reassign-menu .actions{display:flex;gap:.5rem;justify-content:flex-end}.mass-reassign-menu .actions button{background-color:#3498db;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:background-color .2s ease}.mass-reassign-menu .actions button:hover:not(:disabled){background-color:#2980b9}.mass-reassign-menu .actions button:disabled{background-color:#ccc;cursor:not-allowed}.right-details-container{background:var(--card-bg);box-shadow:-2px 0 10px var(--shadow-color);height:100vh;max-width:700px;min-width:400px;overflow-y:auto;padding:0;position:fixed;right:0;top:0;transform:translateX(100%);transition:transform .3s ease-in-out;width:55%;z-index:1000}.right-details-container.verification-form{max-width:80vw;width:650px}.right-details-container.open{transform:translateX(0)}@media (max-width:1199px) and (min-width:768px){.right-details-container{max-width:600px;min-width:350px;width:65%}.right-details-container.verification-form{max-width:650px;width:75%}}@media (max-width:767px){.right-details-container{border-radius:16px 16px 0 0;bottom:0;box-shadow:0 -4px 20px var(--shadow-color);height:95vh;left:0;max-width:none;min-width:none;right:0;top:5vh;transform:translateY(100%);transition:transform .3s ease-in-out;width:100%}.right-details-container.open{transform:translateY(0)}.right-details-container.verification-form{border-radius:16px 16px 0 0;height:95vh;max-width:none;top:5vh;width:100%}}.right-details-topbar{align-items:center;background:var(--card-bg);border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:1rem;position:-webkit-sticky;position:sticky;top:0;z-index:1001}.page-chip{background:var(--bg-tertiary);border-radius:1rem;font-size:.875rem;padding:.25rem .75rem}.close-button,.page-chip{color:var(--text-secondary)}.close-button{background:none;border:none;cursor:pointer;font-size:1.5rem;line-height:1;padding:0}.close-button:hover{color:var(--text-primary)}.right-details-header{position:-webkit-sticky;position:sticky;top:0;z-index:10}@media (max-width:768px){.right-details-header{padding:12px}}.person-name{color:var(--text-primary);font-size:1.5rem;font-weight:600}.date-info{color:var(--text-secondary);font-size:.875rem;margin-top:.5rem}.right-details-form{flex:1 1;overflow-y:auto;padding:1rem}.fields-section{display:flex;flex-direction:column;gap:1rem}.right-details-field{display:flex;flex-direction:column;gap:.5rem}.field-label{color:var(--text-secondary);font-size:.875rem}.field-value input{background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:4px;color:var(--input-text);font-size:.875rem;padding:.5rem;width:100%}.field-value input:focus{border-color:var(--hover-color);outline:none}.sub-field{border-left:2px solid var(--border-color);margin-left:1rem;padding-left:1rem}.status-center-row{background:var(--bg-secondary);border-bottom:1px solid var(--border-color);padding:1rem}.interactions-section{flex:1 1;overflow-y:auto;padding:1rem}.interactions-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.interactions-filter{width:200px}.interactions-list{display:flex;flex-direction:column;gap:1rem}.calendar-section,.emails-section{flex:1 1;overflow-y:auto;padding:1rem}.vip-checkbox{align-items:center;color:var(--text-secondary);display:flex;font-size:.875rem;gap:.5rem}.vip-checkbox input[type=checkbox]{height:1rem;width:1rem}.right-details-overlay{background:#0000004d;height:100%;left:0;opacity:0;position:fixed;top:0;transition:opacity .3s ease-in-out;width:100%;z-index:999}[data-theme=dark] .right-details-overlay{background:#0009}.right-details-overlay.open{opacity:1}@media (max-width:767px){.right-details-overlay{background:#00000080}[data-theme=dark] .right-details-overlay{background:#000c}}.settings-content .daily-activity-report{min-height:auto}.settings-content .daily-activity-report .padded-content{padding:20px}.settings-content h2{color:var(--text-primary);font-weight:700;margin-bottom:16px}.settings-content p{color:var(--text-secondary);line-height:1.6}@media (max-width:768px){.settings-content .daily-activity-report .padded-content{padding:15px}}[data-theme=dark] .production-container,[data-theme=dark] .production-content{background-color:var(--bg-primary)}.settings-container{display:flex;height:100%;overflow:hidden;width:100%}.settings-sidebar{background-color:var(--sidebar-bg);border-right:1px solid var(--border-color);height:100%;min-width:220px;overflow-y:auto;padding:15px 0;transition:height .3s ease-in-out,min-height .3s ease-in-out;width:220px}.settings-sidebar-title{color:var(--text-primary);font-size:20px;margin-bottom:20px;margin-top:0;padding:0 20px}.settings-nav{display:flex;flex-direction:column;transition:max-height .3s ease-in-out,opacity .2s ease-in-out}.settings-nav-item{align-items:center;color:var(--text-primary);cursor:pointer;display:flex;padding:12px 20px;transition:background-color .2s ease,opacity .3s ease,transform .3s ease}.settings-nav-item.active,.settings-nav-item:hover{background-color:var(--sidebar-hover)}.settings-nav-item.active{border-left:3px solid var(--hover-color);padding-left:12px}.settings-nav-icon{align-items:center;display:flex;font-size:18px;margin-right:12px}.settings-nav-label{flex:1 1;font-size:14px}.settings-nav-arrow{color:var(--text-secondary);font-size:16px;opacity:.7}.settings-content{flex:1 1;overflow-y:auto}@media (max-width:768px){.settings-container{flex-direction:column}.settings-content{box-sizing:border-box;padding:15px;width:100%}.padded-content{padding:0}}.settings-section{max-width:800px;width:100%}.settings-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.settings-section-title{border-bottom:1px solid var(--border-color);color:var(--text-primary);font-size:24px;font-weight:600;margin-bottom:20px;margin-top:0;padding-bottom:10px}.settings-header .settings-section-title{border-bottom:none;margin-bottom:0;padding-bottom:0}.settings-icon-button{align-items:center;background-color:initial;border:1px solid var(--border-color);border-radius:50%;color:var(--text-primary);cursor:pointer;display:flex;height:40px;justify-content:center;transition:all .2s ease;width:40px}.settings-icon-button:hover{background-color:var(--hover-color);color:#fff}.settings-card{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;margin-bottom:20px;padding:20px}.settings-card-title{font-size:18px;margin-top:0}.settings-card-title,.settings-subtitle{color:var(--text-primary);font-weight:500;margin-bottom:15px}.settings-subtitle{border-top:1px solid var(--border-color);font-size:16px;margin-top:25px;padding-top:15px}.settings-row{align-items:flex-start;display:flex;margin-bottom:15px;width:100%}.settings-row label{color:var(--text-primary);font-weight:500;margin-top:8px;width:150px}.settings-row input,.settings-row select,.settings-row textarea{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:4px;box-sizing:border-box;color:var(--input-text);padding:10px 12px;width:100%}.settings-row-grid{grid-gap:20px;box-sizing:border-box;display:grid;gap:20px;grid-template-columns:1fr 1fr;padding-left:150px;width:100%}.settings-field{display:flex;flex-direction:column;width:100%}.settings-field label{margin-bottom:8px;margin-top:0;width:100%}.settings-button{background-color:var(--button-primary-bg);color:var(--button-primary-text);margin-top:10px}.settings-button:hover{opacity:.9}.settings-button-secondary{background-color:#eee;background-color:var(--button-secondary-bg,#eee);color:var(--button-secondary-text,#333);margin-right:10px}.settings-profile-vertical{display:flex;flex-direction:column;width:100%}.profile-banner-container{border-radius:8px;height:180px;margin-bottom:20px;overflow:hidden;position:relative;width:100%}.profile-banner{background-position:50%;background-size:cover;height:100%;width:100%}.profile-banner-overlay{align-items:center;background-color:#0000004d;display:flex;height:100%;justify-content:center;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s ease;width:100%}.profile-banner-overlay.visible{opacity:1}.profile-image-actions{display:flex;gap:10px}.remove-icon{align-items:center;background:#fffc;border:none;border-radius:50%;color:#f44336;cursor:pointer;display:flex;font-size:20px;height:30px;justify-content:center;line-height:1;padding:0;width:30px}.remove-icon:disabled{background:#fff6;color:#f4433666;cursor:not-allowed}.remove-icon-topright{box-shadow:0 2px 5px #0003;position:absolute;right:10px;top:10px;z-index:5}.remove-icon:hover{background:#fff}.cancel-icon{font-size:24px;font-weight:700;line-height:1}.settings-profile-picture-wrapper{align-items:center;display:flex;flex-direction:column;margin:-60px auto 10px;position:relative;z-index:10}.user-profile-picture-container{border:4px solid var(--card-bg);border-radius:50%;box-shadow:0 2px 10px #0000001a;height:120px;overflow:hidden;position:relative;width:120px}.user-profile-picture{background-position:50%;background-size:cover;height:100%;width:100%}.user-profile-picture-overlay{align-items:center;background-color:#00000080;display:flex;height:100%;justify-content:center;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s ease;width:100%}.user-profile-picture-overlay.visible{opacity:1}.camera-icon{align-items:center;background-color:#fff;border-radius:50%;color:#333;cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;position:relative;width:40px}.camera-icon.loading{cursor:wait}.spinner{border:2px solid #0000001a;border-top-color:#007bff;height:20px;width:20px}.button-spinner{border-top-color:#fff;border-width:2px;height:16px;margin-right:0;width:16px}.settings-button:disabled{cursor:wait;opacity:.7}.settings-help-text{color:var(--text-secondary);font-size:12px;margin-top:10px;text-align:center}.settings-alert{margin-bottom:20px;padding:10px 15px}.settings-alert-success{background-color:#2e7d321a;border:1px solid #2e7d3233}.settings-alert-error{background-color:#d32f2f1a;border:1px solid #d32f2f33;color:#d32f2f}.settings-dialog-backdrop{align-items:center;background-color:#00000080;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.settings-dialog{background-color:var(--card-bg);border-radius:8px;box-shadow:0 4px 20px #00000026;max-width:500px;padding:20px;width:90%}.settings-dialog-title{color:var(--text-primary);font-size:18px;font-weight:600;margin-bottom:15px;margin-top:0}.settings-dialog-content{color:var(--text-primary);margin-bottom:20px}.settings-dialog-actions{display:flex;justify-content:flex-end}.settings-section .switch-container{align-items:center;display:flex;max-width:120px;width:auto}.settings-section .switch{display:inline-block;flex-shrink:0;height:31px;margin-right:10px;position:relative;width:51px}.settings-section .switch input{height:0;opacity:0;width:0}.settings-section .slider{background-color:#e4e4e4;border-radius:34px;bottom:0;box-shadow:inset 0 0 1px #0003;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.2s ease}.settings-section .slider:before{background-color:#fff;border-radius:50%;bottom:2px;box-shadow:0 1px 3px #00000026;content:"";height:27px;left:2px;position:absolute;transition:.2s ease;width:27px}.settings-section .switch input:checked+.slider{background-color:#34c759}.settings-section .switch input:focus+.slider{box-shadow:0 0 1px #34c759}.settings-section .switch input:checked+.slider:before{transform:translateX(20px)}@media (max-width:768px){.settings-container{flex-direction:column}.settings-sidebar{border-bottom:1px solid var(--border-color);border-right:none;height:auto;min-width:100%;padding:0;width:100%}.settings-nav-item{padding:10px 15px}.settings-content{padding:2px}.settings-row{align-items:flex-start;flex-direction:column}.settings-row label{margin-bottom:8px;margin-top:0;width:100%}.settings-row input,.settings-row select,.settings-row textarea{width:100%}.settings-row-grid{gap:15px;grid-template-columns:1fr;padding-left:0}.input-with-feedback,.settings-field{width:100%}.profile-banner-container{height:140px}.theme-settings-row{align-items:center;flex-direction:row!important;justify-content:space-between;padding:8px 0}.theme-settings-row label{font-size:15px;margin-bottom:0!important;width:auto!important}.settings-section .switch-container{align-items:center;display:flex;margin-left:auto;max-width:100px}.settings-section .switch{display:inline-block;flex-shrink:0;height:28px;margin-right:8px;position:relative;width:46px}.settings-section .slider{border-radius:34px;box-shadow:inset 0 0 1px #0003}.settings-section .slider:before{bottom:2px;box-shadow:0 1px 3px #00000026;height:24px;left:2px;width:24px}.settings-section .switch input:checked+.slider:before{transform:translateX(18px)}.settings-section .switch-label{font-size:14px;margin-left:2px;white-space:nowrap}}.character-count{color:#6c757d;font-size:.8rem;font-weight:400;margin-left:8px}.input-with-feedback{display:flex;flex:1 1;flex-direction:column;width:100%}.input-with-feedback input,.input-with-feedback select,.input-with-feedback textarea,.settings-field .input-with-feedback,.settings-row-grid .settings-field{width:100%}.input-warning{color:#dc3545;font-size:.8rem;margin-top:4px;padding:4px 0}.input-with-feedback input:focus,.input-with-feedback textarea:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem #dc354540}.settings-row textarea{min-height:100px;resize:vertical}.team-custom-card{border-left:4px solid #4a6cf7;position:relative}.settings-card-icon{margin-right:8px;vertical-align:middle}.settings-card-description{color:#666;line-height:1.5;margin-bottom:20px}.team-custom-link{align-items:center;background-color:#f0f5ff;border-radius:6px;color:#4a6cf7;display:inline-flex;font-weight:500;padding:10px 20px;text-decoration:none;transition:all .2s ease}.team-custom-link:hover{background-color:#e0ebff;transform:translateY(-2px)}.arrow-icon{margin-left:8px;transition:transform .2s ease}.team-custom-link:hover .arrow-icon{transform:translateX(4px)}.user-profile-metadata{align-items:center;display:flex;flex-direction:column;margin:10px 0;padding:5px;text-align:center}.user-role-badge{border-radius:4px;box-shadow:0 2px 4px #0000001a;display:inline-block;font-weight:600;letter-spacing:.5px;padding:4px 10px}.user-tenure{color:#666;color:var(--text-secondary,#666);font-size:14px;line-height:1.5;margin-top:10px}.user-tenure strong{color:#333;color:var(--text-primary,#333)}.start-date{color:#666;color:var(--text-secondary,#666);font-size:12px;margin-top:5px;opacity:.8}.hierarchy-loading{flex-direction:column;padding:20px}.hierarchy-loading .spinner{animation:spin 1s linear infinite;font-size:24px;margin-bottom:10px}.hierarchy-empty{color:var(--text-secondary);font-style:italic;padding:10px 0}.hierarchy-tree{margin-top:20px;width:100%}.hierarchy-children{border-left:1px dashed #ddd;margin-left:15px;padding-left:6px}.hierarchy-children .hierarchy-card{position:relative}.hierarchy-children .hierarchy-card:before{background-color:#ddd;content:"";height:1px;left:-15px;position:absolute;top:20px;width:10px}.hierarchy-inactive{opacity:.7}.hierarchy-section-title{border-bottom:1px solid #eee;color:#666;font-size:16px;margin-top:30px;padding-bottom:8px}.hierarchy-card{background-color:#fff;background-color:var(--card-bg,#fff);border:1px solid #e0e0e0;border:1px solid var(--border-color,#e0e0e0);border-radius:8px;box-shadow:0 2px 4px #0000000d;margin-bottom:15px;overflow:hidden;transition:all .2s ease}.hierarchy-card:hover{box-shadow:0 5px 15px #00000014;transform:translateY(-2px)}.hierarchy-card-current{background-color:#4a6cf70d;border-left:4px solid #4a6cf7;border-left:4px solid var(--hover-color,#4a6cf7)}.hierarchy-card-header{background-color:#00000005;border-bottom:1px solid #e0e0e0;border-bottom:1px solid var(--border-color,#e0e0e0);padding:10px 12px}.hierarchy-header-left{max-width:75%}.hierarchy-user-icon{background-color:#4a6cf7;background-color:var(--hover-color,#4a6cf7);color:#fff;height:30px;margin-right:10px;min-width:30px;position:relative;width:30px}.hierarchy-title{font-size:13px;font-weight:500;margin-right:8px;max-width:calc(100% - 40px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-you-badge{background-color:#4a6cf7;background-color:var(--hover-color,#4a6cf7);border-radius:4px;font-size:11px}.hierarchy-role-badge{border:2px solid #0000;font-size:10px;margin-left:auto;padding:3px 6px}.hierarchy-card-content{padding:10px 12px}.hierarchy-contact{align-items:center;display:flex;flex-wrap:wrap;font-size:12px}.hierarchy-contact strong{color:#666;color:var(--text-secondary,#666);min-width:65px;width:65px}.hierarchy-email{color:#4a6cf7;color:var(--hover-color,#4a6cf7);text-decoration:none}.hierarchy-email:hover{text-decoration:underline}.hierarchy-meta{margin-top:8px}.hierarchy-status-badge{display:inline-block;font-size:10px;font-weight:600;margin-right:4px;padding:2px 6px}.hierarchy-status-badge.redeemed{background-color:#00968826;color:#009688}.hierarchy-status-badge.released{background-color:#f4433626;color:#f44336}.hierarchy-status-badge.active{background-color:#4caf5026;color:#4caf50;cursor:pointer}.hierarchy-status-badge.active:hover{background-color:#4caf5040}.hierarchy-status-badge.f6{background-color:#ffc10726;color:#ff9800;font-weight:700}.hierarchy-status-badge .status-loading{animation:pulse 1.2s infinite;display:inline-block;font-size:10px;opacity:.8}@keyframes pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.hierarchy-status-badge.inactive{background-color:#9e9e9e26;color:#9e9e9e}.hierarchy-profile-image{border-radius:50%}.uplines-table{border-radius:8px;box-shadow:0 2px 10px #0000000d;overflow:hidden}.uplines-table th{font-weight:600;padding:12px 15px;text-align:left}.uplines-table td{background-color:#fff;background-color:var(--card-bg,#fff);border-top:1px solid #eee;border-top:1px solid var(--border-color,#eee);padding:12px 15px}.uplines-table tr:first-child td{border-top:none}.chain-of-command-tooltip{font-weight:500;text-decoration:underline;-webkit-text-decoration-style:dotted;text-decoration-style:dotted}.hierarchy-filters{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.filter-section{gap:12px;width:100%}.filter-group,.filter-section{display:flex;flex-direction:column}.filter-group{gap:6px}.filter-buttons-row{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.filter-label{align-items:center;color:#666;color:var(--text-secondary,#666);display:flex;font-size:14px;gap:5px;margin-right:4px}.filter-button{border-style:solid;border-width:1px;font-size:12px;font-weight:600}.filter-button:hover{opacity:.9;transform:translateY(-1px)}.filter-action-button{background-color:#f5f5f5;background-color:var(--card-bg,#f5f5f5);border:1px solid #ddd;border:1px solid var(--border-color,#ddd);border-radius:4px;cursor:pointer;font-size:12px;padding:5px 10px;transition:all .2s ease}.filter-action-button:hover{background-color:#e0e0e0;background-color:var(--border-color,#e0e0e0)}.filter-reset-button{align-self:flex-start;background-color:#f5f5f5;background-color:var(--card-bg,#f5f5f5);border:1px solid #4a6cf7;border:1px solid var(--hover-color,#4a6cf7);border-radius:4px;color:#4a6cf7;color:var(--hover-color,#4a6cf7);cursor:pointer;font-size:12px;font-weight:600;margin-top:5px;padding:6px 12px;transition:all .2s ease}.filter-reset-button:hover{background-color:#4a6cf7;background-color:var(--hover-color,#4a6cf7);color:#fff}.status-filter{background-color:#f5f5f5;background-color:var(--card-bg,#f5f5f5);border-color:#ddd;border-color:var(--border-color,#ddd);color:#333;color:var(--text-primary,#333)}.status-filter.active{background-color:#4a6cf7;background-color:var(--hover-color,#4a6cf7);border-color:#4a6cf7;border-color:var(--hover-color,#4a6cf7);color:#fff}.search-results-status{background-color:#f0f0f0;background-color:var(--card-bg,#f0f0f0);border-radius:4px;color:#666;color:var(--text-secondary,#666);font-size:14px;margin:10px 0 20px;padding:10px}.hierarchy-card-upline{border-left:1px solid #e0e0e0;border-left:1px solid var(--border-color,#e0e0e0);opacity:.7}.hierarchy-card-faded{border-style:dashed;filter:grayscale(30%);opacity:.6;pointer-events:auto}.hierarchy-card-faded:hover{filter:grayscale(0);opacity:.9}.filter-menu{margin-bottom:15px;width:100%}.filter-menu .filter-section{background-color:#f8f8f8;background-color:var(--card-bg,#f8f8f8);border:1px solid #eee;border:1px solid var(--border-color,#eee);border-radius:6px;padding:12px}@media (max-width:768px){.filter-menu .filter-buttons-row{flex-wrap:wrap}.filter-menu .filter-button{margin-bottom:5px}}.filter-menu-container{display:inline-flex;z-index:auto}.filter-menu-toggle{align-items:center;background-color:#f8f8f8;background-color:var(--bg-tertiary,#f8f8f8);border:1px solid #ddd;border:1px solid var(--border-color,#ddd);border-radius:6px;color:#333;color:var(--text-primary,#333);cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:6px;padding:8px 14px;transition:all .2s ease}.filter-menu-toggle.active,.filter-menu-toggle:hover{background-color:#4a6cf7;background-color:var(--hover-color,#4a6cf7);border-color:#4a6cf7;border-color:var(--hover-color,#4a6cf7);color:#fff}.filter-menu-toggle.has-filters{background-color:#4a6cf7;background-color:var(--bg-secondary,#4a6cf7);border-color:#4a6cf7;border-color:var(--border-color,#4a6cf7);color:#fff}.chevron-icon{font-size:14px;margin-left:2px}.filter-badge{background-color:#fff;color:#4a6cf7;color:var(--hover-color,#4a6cf7);font-size:11px;margin-left:4px}.filter-menu-content{background-color:#fff;border:1px solid #e0e0e0;border:1px solid var(--border-color,#e0e0e0);border-radius:8px;box-shadow:0 4px 20px #00000026;margin-top:5px;min-width:280px;overflow:hidden;position:absolute;z-index:100}.filter-menu-content.bottom{left:0;top:100%}.filter-menu-content.right{left:100%;margin-left:5px;margin-top:0;top:0}.filter-menu-content.left{margin-right:5px;margin-top:0;right:100%;top:0}.filter-menu-header{align-items:center;border-bottom:1px solid #e0e0e0;border-bottom:1px solid var(--border-color,#e0e0e0);display:flex;justify-content:space-between;padding:12px 15px}.filter-menu-header h3{font-size:16px;font-weight:500;margin:0}.filter-menu-close{align-items:center;background:none;border:none;color:#666;color:var(--text-secondary,#666);cursor:pointer;display:flex;font-size:18px;justify-content:center;padding:0}.filter-menu-close:hover{color:#333;color:var(--text-primary,#333)}.filter-menu-body{padding:15px}.filter-group:last-child{margin-bottom:0}.filter-group-label{color:#666;color:var(--text-secondary,#666)}.filter-menu-container.expandable .filter-menu-content{max-width:none}.filter-menu-container.overlay .filter-menu-content{min-width:320px}.filter-actions{border-top:1px solid #eee;border-top:1px solid var(--border-color,#eee);display:flex;justify-content:space-between;margin-top:16px;padding-top:16px}.filter-apply-button{background-color:#4a6cf7;background-color:var(--hover-color,#4a6cf7);border:1px solid #4a6cf7;border:1px solid var(--hover-color,#4a6cf7);border-radius:4px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:6px 12px;transition:all .2s ease}.filter-apply-button:hover{opacity:.9}@media (max-width:768px){.filter-menu-container.overlay .filter-menu-content{left:50%;max-height:80vh;max-width:400px;overflow-y:auto;position:fixed;top:50%;transform:translate(-50%,-50%);width:90%}.filter-menu-content.left,.filter-menu-content.right{left:0;margin-left:0;margin-right:0;margin-top:5px;right:auto;top:100%}}.hierarchy-filter-wrapper{align-items:center;display:flex;margin-top:15px}@media (min-width:768px){.hierarchy-controls{align-items:flex-start;flex-direction:row;flex-wrap:wrap}.hierarchy-search{flex:1 1;min-width:300px}.hierarchy-filter-wrapper{margin-left:15px;margin-top:0}}@media (max-width:768px){.hierarchy-filter-wrapper{margin-top:12px;width:100%}.filter-menu-container{width:100%}.filter-menu-toggle{justify-content:center;padding:10px;width:100%}.filter-menu-content{left:0;max-width:100%;min-width:auto;right:0;width:100%}.filter-menu-content.mobile-bottom{border-radius:12px 12px 0 0!important;bottom:0!important;box-shadow:0 -4px 20px #00000026!important;left:0!important;margin-top:0!important;max-height:90vh!important;padding-bottom:70px!important;position:fixed!important;right:0!important;top:auto!important;transform:none!important;width:100%!important;z-index:1000!important}.filter-menu-body{padding:12px}.filter-buttons-row{gap:6px}.filter-action-button,.filter-button{font-size:12px;min-height:36px;padding:8px 10px}.filter-buttons-row{flex-wrap:wrap}.filter-menu-container.expandable .filter-menu-content{border-radius:12px 12px 0 0;bottom:0;box-shadow:0 -4px 20px #00000026;left:0;margin-top:0;max-height:90vh;overflow-y:auto;position:fixed;right:0;top:auto;width:100%;z-index:1000}}.filter-menu-backdrop{display:none}@media (max-width:768px){.filter-menu-container.open .filter-menu-backdrop{display:none}.filter-menu-container.expandable .filter-menu-content{max-height:90vh;padding-bottom:100px;padding-top:8px}.filter-menu-container.expandable .filter-menu-content:before{background-color:#ddd;border-radius:3px;content:"";cursor:grab;display:block;height:5px;margin:0 auto 12px;width:50px}.filter-menu-mobile-close{align-items:center;background:#f5f5f5;background:var(--card-bg,#f5f5f5);border:1px solid #ddd;border:1px solid var(--border-color,#ddd);border-radius:50%;color:#666;color:var(--text-secondary,#666);cursor:pointer;display:flex;font-size:16px;height:32px;justify-content:center;position:absolute;right:10px;top:10px;width:32px;z-index:2}.filter-menu-mobile-close:hover{background-color:#e0e0e0;background-color:var(--border-color,#e0e0e0)}.uplines-table-container{-webkit-overflow-scrolling:touch;overflow-x:auto}.hierarchy-active,.hierarchy-inactive{padding:5px}.hierarchy-title{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-card{margin-bottom:15px;padding:12px}.settings-section-title{font-size:20px;margin-bottom:15px}.settings-card-title{font-size:16px;margin-bottom:12px}.filter-group{margin-bottom:12px}.filter-group-label{margin-bottom:6px}.filter-actions{margin-top:12px;padding-top:12px}.settings-section{max-width:100%;width:100%}.hierarchy-meta{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.your-profile-card{margin-bottom:10px}.settings-card-title{font-size:15px}.hierarchy-you-badge{font-size:10px;margin-left:4px;padding:1px 4px}}@media (max-width:768px){@media (max-width:359px){.hierarchy-user-icon{height:25px;min-width:25px;width:25px}.hierarchy-title{font-size:12px}.hierarchy-role-badge{font-size:9px;padding:2px 4px}}}@media (max-width:359px){.hierarchy-user-icon{height:25px;min-width:25px;width:25px}.hierarchy-title{font-size:12px}.hierarchy-role-badge{font-size:9px;padding:2px 4px}}.settings-section .switch-label{color:var(--text-primary);font-size:14px;font-weight:500;white-space:nowrap}.theme-settings-row{align-items:center;display:flex;justify-content:space-between}.theme-settings-row label{font-size:15px;margin-right:15px;width:auto}.license-form-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr;margin-top:20px}.license-form-title{border-bottom:1px solid var(--border-color);color:var(--text-primary);font-size:18px;font-weight:500;margin-bottom:15px;padding-bottom:10px}.license-form-actions{display:flex;gap:12px;margin-top:25px}.licenses-list{display:flex;flex-direction:column;gap:16px;margin-top:20px}.license-item{align-items:center;background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;box-shadow:0 2px 4px #0000000d;display:flex;justify-content:space-between;overflow:hidden;padding:16px;position:relative;transition:all .2s ease;z-index:1}.license-item:hover{box-shadow:0 4px 8px #0000001a}.license-item-editing{border-color:var(--hover-color);box-shadow:0 0 0 2px #3b82f633;box-shadow:0 0 0 2px rgba(var(--hover-color-rgb,59,130,246),.2)}.license-details{display:flex;flex-direction:column;gap:10px}.license-state-field{align-items:center;display:flex;flex-wrap:nowrap;gap:8px}.state-select{background-color:#3b82f61a;background-color:rgba(var(--hover-color-rgb,59,130,246),.1);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);font-size:16px;font-weight:600;min-width:60px;padding:4px 8px;text-align:center}.state-outline-icon{align-items:center;display:flex;flex-shrink:0;height:32px;justify-content:center;margin-right:4px;width:40px}.state-outline-icon img{max-height:100%;max-width:100%;object-fit:contain}.license-state{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.license-state-name-with-outline{display:none}.license-state-code{background-color:#3b82f61a;background-color:rgba(var(--hover-color-rgb,59,130,246),.1);border-radius:4px;font-size:16px;font-weight:600;min-width:40px;padding:4px 8px;text-align:center}.license-state-name{color:var(--text-primary);font-size:16px}.license-info{color:var(--text-secondary);display:flex;flex-direction:column;font-size:14px;gap:4px}.license-icon{margin-right:6px;vertical-align:middle}.resident-badge{align-items:center;border-radius:12px;display:flex;font-size:12px;font-weight:500;gap:4px;margin-left:10px;padding:4px 8px}.resident-badge,.resident-badge.active{background-color:#3b82f61a;background-color:rgba(var(--hover-color-rgb,59,130,246),.1);color:var(--hover-color)}.resident-badge.inactive{background-color:var(--sidebar-hover);color:var(--text-secondary)}.resident-badge.editing{background-color:initial;margin-left:auto;padding:0}.license-edit-row .resident-badge{cursor:pointer;margin-left:auto;transition:all .2s ease}.license-edit-row .resident-badge:hover{opacity:.8;transform:translateY(-1px)}.license-actions{display:flex;gap:8px}.license-action-button{align-items:center;background:none;border:none;border-radius:4px;color:var(--text-secondary);cursor:pointer;display:flex;justify-content:center;padding:6px;transition:all .2s}.license-action-button:hover{background-color:var(--sidebar-hover);color:var(--hover-color)}.license-delete-button:hover{color:#f44336}.license-edit-form{align-items:flex-start;display:flex;justify-content:space-between;width:100%}.license-edit-fields{display:flex;flex:1 1;flex-direction:column;gap:12px}.license-edit-row{align-items:center;display:flex;gap:16px}.license-field{align-items:center;display:flex;gap:8px;width:100%}.license-field label{align-items:center;color:var(--text-secondary);display:flex;font-size:14px;gap:4px;white-space:nowrap}.license-field input{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--input-text);flex:1 1;font-size:14px;min-width:0;padding:6px 10px}.field-icon-small{font-size:12px}.toggle-switch{cursor:pointer;display:inline-block;font-size:12px;position:relative;-webkit-user-select:none;user-select:none}.toggle-switch input{height:0;opacity:0;width:0}.toggle-slider{background-color:var(--border-color);border-radius:16px;display:inline-block;height:16px;margin-right:6px;position:relative;transition:.4s;vertical-align:middle;width:32px}.toggle-slider:before{background-color:var(--card-bg);border-radius:50%;bottom:2px;content:"";height:12px;left:2px;position:absolute;transition:.4s;width:12px}input:checked+.toggle-slider{background-color:var(--hover-color)}input:checked+.toggle-slider:before{transform:translateX(16px)}.toggle-label{color:var(--text-secondary);vertical-align:middle}.input-error-message.small{bottom:-16px;font-size:10px;left:0;position:absolute}.license-expiry,.license-number{align-items:center;color:var(--text-secondary);display:flex;font-size:14px;gap:6px}.empty-state{color:var(--text-secondary);padding:40px 0}.empty-state h3{color:var(--text-primary);font-size:18px;margin:15px 0 8px}.empty-state p{margin-bottom:20px;margin-left:auto;margin-right:auto;max-width:400px}.empty-icon{color:var(--text-secondary);margin-bottom:10px;opacity:.3}.input-error{background-color:#e539350d;background-color:rgba(var(--error-color-rgb,229,57,53),.05);border-color:#e53935!important;border-color:var(--error-color,#e53935)!important}.input-error-message{color:#e53935;color:var(--error-color,#e53935);font-size:12px;margin-top:4px}.input-help-text{color:var(--text-secondary);font-size:12px;margin-top:4px}@media (max-width:768px){.license-form-grid{gap:15px;grid-template-columns:1fr}.license-item{align-items:flex-start;flex-direction:column;padding:15px}.license-actions{align-self:flex-end;margin-top:15px}.license-details{width:100%}}.license-field input[type=date]{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--input-text);cursor:pointer;flex:1 1;font-family:inherit;font-size:14px;min-width:0;padding:6px 10px}.license-field input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;filter:none;filter:var(--calendar-icon-filter,none)}@media (prefers-color-scheme:dark){.license-field input[type=date]::-webkit-calendar-picker-indicator{filter:invert(.8)}}.state-outline-background{bottom:0;left:0;opacity:1;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;z-index:0}.state-outline-background img{height:100%;max-height:140px;object-fit:contain;object-position:right bottom;position:absolute;right:-90px;scale:.8;width:100%}@media (prefers-color-scheme:dark){.state-outline-background{opacity:.07}.state-outline-background img{filter:brightness(1.5)}.state-select{color:var(--text-primary)}.state-select option{background-color:#333;background-color:var(--card-bg,#333);color:#fff;color:var(--text-primary,#fff)}}.license-actions,.license-details,.license-edit-form{position:relative;z-index:2}.license-state-name-with-outline,.state-outline-icon{display:none}.warning-indicator{align-items:center;display:inline-flex;justify-content:center;margin-left:8px}.settings-nav-item .warning-indicator{margin-left:auto;margin-right:8px}@keyframes pulse-warning{0%{opacity:.7}50%{opacity:1}to{opacity:.7}}.expiring-soon-tag,.warning-indicator svg{animation:pulse-warning 2s ease-in-out infinite}.expiring-soon-tag{align-items:center;background-color:#f2c94c33;border-radius:12px;color:#e6a800;cursor:help;display:inline-flex;font-size:11px;font-weight:500;gap:4px;margin-left:8px;padding:3px 8px}.tooltip-container{display:inline-flex;position:relative;z-index:auto}.tooltip{background-color:#333;background-color:var(--text-primary,#333);border-radius:6px;box-shadow:0 2px 8px #0003;color:#fff;font-size:12px;font-weight:400;line-height:1.5;max-width:280px;padding:8px 12px;pointer-events:none;text-align:left;white-space:normal;z-index:9999}.tooltip:after{border-style:solid;border-width:5px;content:"";position:absolute}.tooltip-top:after{border-color:#333 #0000 #0000;border-color:var(--text-primary,#333) #0000 #0000 #0000;left:50%;margin-left:-5px;top:100%}.tooltip-right:after{border-color:#0000 #333 #0000 #0000;border-color:#0000 var(--text-primary,#333) #0000 #0000;margin-top:-5px;right:100%;top:50%}.tooltip-bottom:after{border-color:#0000 #0000 #333;border-color:#0000 #0000 var(--text-primary,#333) #0000;bottom:100%;left:50%;margin-left:-5px}.tooltip-left:after{border-color:#0000 #0000 #0000 #333;border-color:#0000 #0000 #0000 var(--text-primary,#333);left:100%;margin-top:-5px;top:50%}@media (prefers-color-scheme:dark){.tooltip{background-color:#eee;background-color:var(--text-primary,#eee);color:#222;color:var(--card-bg,#222)}.tooltip-top:after{border-color:#eee #0000 #0000;border-color:var(--text-primary,#eee) #0000 #0000 #0000}.tooltip-right:after{border-color:#0000 #eee #0000 #0000;border-color:#0000 var(--text-primary,#eee) #0000 #0000}.tooltip-bottom:after{border-color:#0000 #0000 #eee;border-color:#0000 #0000 var(--text-primary,#eee) #0000}.tooltip-left:after{border-color:#0000 #0000 #0000 #eee;border-color:#0000 #0000 #0000 var(--text-primary,#eee)}}.license-tooltip{max-width:320px}.license-badges{border-top:1px dashed #eee;gap:6px;padding-top:10px}.license-state-badge{align-items:center;background-color:#f0f0f0;border:1px solid #ddd;color:#666;display:inline-flex;font-size:11px;font-weight:600;justify-content:center;letter-spacing:.5px;padding:2px 8px;text-transform:uppercase;transition:all .2s ease}.license-state-badge:hover{box-shadow:0 2px 4px #0000000d;transform:translateY(-1px)}.license-state-badge.resident{background-color:#4a6cf7;background-color:var(--hover-color,#4a6cf7);border-color:#4a6cf7;border-color:var(--hover-color,#4a6cf7);color:#fff}.state-filters{flex-wrap:wrap;margin-top:8px}.filter-button.state-filter{background-color:#f0f8ff;border:1px solid #c0d8f0;border-radius:4px;color:#0056b3;font-size:12px;font-weight:600;min-width:40px;padding:4px 8px}.filter-button.state-filter.active{background-color:#0056b3;border-color:#003b7a;color:#fff}.active-state-filters{background-color:#f5f5f5;border-radius:6px;font-size:14px;margin:15px 0;padding:10px 15px}.active-state-filter{background-color:#e8f0fe;border:1px solid #c0d8f0;border-radius:20px;color:#0056b3;display:inline-flex;font-size:12px;font-weight:600;padding:3px 8px 3px 10px}.remove-state-filter{background-color:#0000001a;border-radius:50%;color:#666;height:16px;justify-content:center;width:16px}.remove-state-filter:hover{background-color:#0003;color:#333}.clear-state-filters{border-radius:4px;color:#666;font-size:12px;padding:3px 10px}.clear-state-filters:hover{background-color:#0000000d;color:#333}.hierarchy-pnp-data{background-color:#f9f9f9;border-left:3px solid #e0e0e0;flex-wrap:wrap;font-size:13px;gap:12px;padding:10px}.pnp-label{color:#666;font-size:11px;font-weight:500;margin-bottom:2px}.pnp-value{color:#333;font-size:15px}.pnp-date{flex-direction:column;font-size:11px}.pnp-date-label{color:#888}.pnp-date-value{color:#666}.settings-sidebar-toggle{align-items:center;background-color:var(--sidebar-bg);border-top:1px solid var(--border-color);bottom:0;color:var(--text-secondary);cursor:pointer;display:none;font-size:18px;height:30px;justify-content:center;left:0;position:absolute;transition:background-color .2s ease,transform .3s ease;width:100%}.settings-sidebar-toggle:hover{background-color:var(--sidebar-hover)}.settings-sidebar-toggle svg{transition:transform .3s ease}.settings-sidebar.collapsed{height:auto;min-height:auto}.settings-sidebar.collapsed .settings-nav{max-height:60px;overflow:hidden}@media (max-width:768px){.settings-sidebar{background-color:var(--sidebar-bg);border-bottom:1px solid var(--border-color);border-right:none;height:auto;min-width:100%;overflow:visible;padding:0;position:relative;transition:height .3s ease-in-out,padding-bottom .3s ease-in-out;width:100%}.settings-sidebar-toggle{display:flex;height:15px;z-index:2}.settings-sidebar.collapsed{height:auto;padding-bottom:15px}.settings-sidebar.collapsed .settings-nav{max-height:40px;overflow:hidden}.settings-nav{max-height:1000px;overflow:hidden;padding-bottom:15px}.settings-container{flex-direction:column;height:auto}.settings-content{padding:15px;width:100%}}.settings-sidebar:not(.collapsed) .settings-nav-item:not(.active){animation:fadeInItem .4s ease forwards}.settings-sidebar.collapsed .settings-nav-item:not(.active){height:0;margin:0;opacity:0;overflow:hidden;padding:0}.hierarchy-status-badge.vip-eligible{background-color:#9c27b026;color:#9c27b0;font-weight:700}.hierarchy-status-badge.rfc{background-color:#8a2be2;border-color:#6a1b9a;color:#fff}.hierarchy-status-badge{transition:all .2s ease}.hierarchy-status-badge:hover{transform:translateY(-1px)}@keyframes fadeInItem{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (max-width:768px){.view-toggle-button{flex:1 1}}.hierarchy-controls{flex-wrap:wrap;justify-content:space-between;margin-bottom:15px}.search-icon{color:#777}.hierarchy-search-input{border:1px solid #ccc}.search-clear-button{color:#777}@media (max-width:768px){.hierarchy-controls{align-items:stretch;flex-direction:column;gap:12px}.controls-left-section{align-items:center!important;display:flex!important;gap:8px!important;width:100%!important}.hierarchy-search{flex:5 1!important;min-width:70%!important;width:auto!important}.hierarchy-filter-wrapper{flex:1 1!important;max-width:25%!important}.filter-menu-container{width:auto!important}.filter-menu-toggle{max-width:none!important;min-width:40px!important;width:100%!important}.controls-right-section{display:flex;justify-content:space-between;width:100%}.view-toggle{display:flex;flex:1 1;gap:4px}.view-toggle-button{flex:1 1}.admin-export-button,.admin-toggle-button{flex:0 0 40px}.hierarchy-card{margin-bottom:10px;transition:none}.hierarchy-card-header{align-items:center;display:flex;justify-content:space-between;padding:8px 10px}.hierarchy-header-left{align-items:center;display:flex;gap:6px;max-width:75%}.hierarchy-card-content{padding:8px 10px}.hierarchy-user-icon{font-size:12px;height:24px;min-width:24px;width:24px}.hierarchy-title{font-size:12px;margin-right:5px;max-width:calc(100% - 30px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-role-badge{font-size:9px;margin-left:auto;min-width:28px;padding:2px 4px;text-align:center}.hierarchy-contact{flex-wrap:wrap;font-size:11px;line-height:1.4}.hierarchy-contact strong{min-width:60px;width:60px}.hierarchy-status-badge{font-size:9px;margin-right:3px;padding:1px 4px}.hierarchy-meta{margin-top:5px}.hierarchy-children{margin-left:6px;padding-left:4px}.hierarchy-children .hierarchy-card:before{left:-12px;width:8px}.hierarchy-you-badge{font-size:8px;margin-left:4px;padding:1px 3px}}@media (max-width:768px){@media (max-width:359px){.hierarchy-user-icon{height:22px;min-width:22px;width:22px}.hierarchy-title{font-size:11px}.hierarchy-role-badge{font-size:8px;padding:1px 3px}}}.trophy-settings-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin:0;padding:2rem}.trophy-settings-container .trophy-case-container{max-width:100%;padding:0}.trophy-settings-container .trophy-header{display:none}.trophy-settings-container .trophy-card-container{margin-bottom:2rem}.trophy-settings-container .trophy-card{transition:transform .2s ease,box-shadow .2s ease}.trophy-settings-container .trophy-card:hover{box-shadow:0 8px 25px #00000026;transform:translateY(-2px)}.trophy-settings-container .custom-card{border:1px solid #e9ecef;transition:transform .2s ease,box-shadow .2s ease}.trophy-settings-container .custom-card:hover{box-shadow:0 8px 25px #00000026;transform:translateY(-2px)}.trophy-settings-container.dark .custom-card{border:1px solid #4a5568}.trophy-settings-container.dark .custom-card:hover{box-shadow:0 8px 25px #0000004d}.trophy-settings-container .trophy-card-container .custom-card .background-overlay{opacity:.3}.trophy-settings-container.dark{background:#2d3748;border:1px solid #4a5568}.trophy-settings-container.dark .trophy-header{border-bottom-color:#495057}.trophy-settings-container.dark .trophy-header h5{color:#f8f9fa}.trophy-settings-container.dark .info-icon{color:#adb5bd}.trophy-settings-container.dark .info-icon:hover{color:#f8f9fa}.trophy-settings-container.dark .trophy-card-container .custom-card{border:1px solid #4a5568}.trophy-settings-container.dark .modal-content{background:#2d3748;box-shadow:0 20px 40px #00000080}.trophy-settings-container.dark .modal-header{border-bottom-color:#4a5568}.trophy-settings-container.dark .modal-header h3{color:#f7fafc}.trophy-settings-container.dark .modal-close-btn{color:#cbd5e0}.trophy-settings-container.dark .modal-close-btn:hover{background-color:#4a5568;color:#f7fafc}.trophy-settings-container.dark .modal-body{color:#e2e8f0}.trophy-settings-container.dark .trophy-header{border-bottom-color:#4a5568}.trophy-settings-container.dark .club-title-container{background-color:#2d3748;border:1px solid #4a5568}.trophy-settings-container.dark .club-title-container:hover{background-color:#4a5568}.trophy-settings-container.dark .club-title{color:#f7fafc}.trophy-settings-container.dark .entry-count{background-color:#3182ce;box-shadow:0 2px 4px #3182ce4d}.trophy-settings-container.dark .chevron-icon{color:#cbd5e0}.trophy-settings-container.dark .wall-of-fame-title{background:linear-gradient(135deg,#b8860b,#daa520);border:2px solid #b8860b}.trophy-settings-container.dark .wall-of-fame-title .club-title{color:gold;text-shadow:1px 1px 2px #0006}.trophy-settings-container.dark .wall-of-fame-count{background-color:#b8860b;border:1px solid #daa520;color:gold}.trophy-settings-container.dark .club-icon{color:gold}.trophy-settings-container.dark .wall-of-fame-icon{color:gold;text-shadow:1px 1px 2px #0000004d}.trophy-settings-container .club-section{margin-bottom:1.5rem}.trophy-settings-container .club-title-container{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:1px solid #dee2e6;border-radius:8px;margin-bottom:1rem;padding:1rem;transition:all .2s ease}.trophy-settings-container .club-title-container:hover{background:linear-gradient(135deg,#e9ecef,#dee2e6);box-shadow:0 4px 12px #0000001a;transform:translateY(-1px)}.settings-section-subtitle{color:#6c757d;font-size:1rem;font-weight:400;line-height:1.4;margin:.5rem 0 0}.trophy-view-toggle-container{align-items:flex-start;display:flex;flex-direction:column;gap:.5rem}.view-toggle{background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.view-toggle-btn{background:none;border:none;border-right:1px solid #dee2e6;color:#6c757d;cursor:pointer;font-size:.9rem;font-weight:500;min-width:80px;padding:.6rem 1.2rem;transition:all .2s ease}.view-toggle-btn:last-child{border-right:none}.view-toggle-btn:hover{background-color:#e9ecef;color:#495057}.view-toggle-btn.active{background-color:#007bff;box-shadow:inset 0 1px 3px #0000001a;color:#fff}.view-toggle-btn.active:hover{background-color:#0056b3}.view-toggle-description{color:#6c757d;font-size:.875rem;font-style:italic;margin:0;transition:color .2s ease}@media (max-width:768px){.trophy-settings-container{border-radius:8px;margin:0;padding:1rem}.trophy-settings-container .trophy-card{min-width:140px}.trophy-settings-container .club-title-container{padding:.75rem}.trophy-settings-container.dark .club-title-container{background-color:#2d3748;border:1px solid #4a5568}.trophy-settings-container .custom-card{border:1px solid #e9ecef}.trophy-settings-container.dark .custom-card{border:1px solid #4a5568}.trophy-view-toggle-container{align-items:stretch}.view-toggle{width:100%}.view-toggle-btn{font-size:.85rem;min-width:60px;padding:.5rem 1rem}.view-toggle-description{font-size:.8rem;text-align:center}}.hierarchy-activity{background-color:var(--bg-primary);color:var(--text-primary);padding:20px}.hierarchy-activity-loading{align-items:center;color:var(--text-secondary);display:flex;gap:10px;justify-content:center;padding:40px}.hierarchy-activity-loading .spinner{animation:spin 1s linear infinite;border-top:2px solid var(--border-color);border:2px solid var(--border-color);border-radius:50%;border-top-color:var(--button-primary-bg);height:20px;width:20px}.hierarchy-activity-error{background-color:var(--bg-error);border:1px solid var(--border-error);border-radius:4px;color:var(--text-error);margin:20px;padding:15px}.hierarchy-activity-header{align-items:center;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:15px}.hierarchy-activity-header h2{color:var(--text-primary);font-size:1.5rem;font-weight:600;margin:0}.hierarchy-controls{align-items:center;display:flex;gap:10px}.hierarchy-toggle-btn{align-items:center;background-color:var(--button-secondary-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--button-secondary-text);cursor:pointer;display:flex;justify-content:center;padding:8px;transition:all .3s ease}.hierarchy-toggle-btn:hover{background-color:var(--button-primary-bg);border-color:var(--button-primary-bg);color:var(--button-primary-text)}.hierarchy-container{display:flex;flex-direction:column;gap:20px}.rga-section{background-color:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;overflow:hidden}.rga-header{align-items:center;background-color:var(--bg-tertiary);border-bottom:1px solid var(--border-color);cursor:pointer;display:flex;justify-content:space-between;padding:15px 20px;transition:background-color .2s ease}.rga-header:hover{background-color:var(--bg-hover)}.rga-title{color:var(--text-primary);font-size:1.1rem;font-weight:600}.rga-role,.rga-title{align-items:center;display:flex;gap:10px}.role-badge{border:1px solid;border-radius:4px;font-size:.75rem;font-weight:600;padding:4px 8px;text-transform:uppercase}.role-badge.role-RGA{background-color:#00558c;border-color:#004372}.role-badge.role-MGA{background-color:#68b675;border-color:#549861;color:#fff}.role-badge.role-GA{background-color:#ed722f;border-color:#c55e25;color:#fff}.role-badge.role-SA{background-color:#b25271;border-color:#8a3e5d;color:#fff}.role-badge.role-AGT{background-color:#d3d3d3;border-color:grey;color:#333}.user-count{border:1px solid var(--border-color);border-radius:12px;color:var(--text-secondary);font-size:.8rem;font-weight:500;padding:4px 8px}.hierarchy-table,.user-count{background-color:var(--bg-primary)}.hierarchy-table th{background-color:var(--bg-tertiary);border-bottom:2px solid var(--border-color);font-weight:600;padding:12px 15px;text-align:left;z-index:1}.hierarchy-table td{border-bottom:1px solid var(--border-light);padding:10px 15px}.hierarchy-table tbody tr{transition:background-color .2s ease}.hierarchy-table tbody tr:hover{background-color:var(--bg-hover)}.hierarchy-table tbody tr.inactive{background-color:var(--bg-inactive);opacity:.6}.hierarchy-table tbody tr.current-user{background-color:#00558c1a;border-left:3px solid var(--button-primary-bg)}.toggle-column{padding:8px!important;width:40px}.node-toggle{align-items:center;background:none;border:none;border-radius:2px;color:var(--text-secondary);cursor:pointer;display:flex;justify-content:center;padding:4px;transition:all .2s ease}.node-toggle:hover{background-color:var(--bg-hover);color:var(--text-primary)}.name-column{min-width:200px}.indented-content,.user-cell{align-items:center;display:flex}.user-cell{gap:10px}.user-icon{align-items:center;background-color:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:50%;display:flex;flex-shrink:0;height:32px;justify-content:center;overflow:hidden;width:32px}.profile-image{height:100%;object-fit:cover;width:100%}.name-with-icon{align-items:center;display:flex;gap:8px}.user-name{color:var(--text-primary);font-weight:500}.you-badge{background-color:var(--button-primary-bg);border-radius:10px;color:var(--button-primary-text);font-size:.7rem;font-weight:600;padding:2px 6px;text-transform:uppercase}.hierarchy-table a{color:var(--link-color);text-decoration:none;transition:color .2s ease}.hierarchy-table a:hover{color:var(--link-hover-color);text-decoration:underline}[data-theme=dark] .role-badge.role-AGT{background-color:#666;border-color:#555;color:#fff}[data-theme=dark] .hierarchy-table tbody tr.current-user{background-color:#4a9fff26;border-left-color:#4a9fff}@media (max-width:768px){.hierarchy-activity{padding:15px}.hierarchy-activity-header{align-items:flex-start;flex-direction:column;gap:15px}.hierarchy-table{font-size:14px}.hierarchy-table td,.hierarchy-table th{padding:8px 10px}.rga-header{padding:12px 15px}.rga-title{font-size:1rem}.user-icon{height:28px;width:28px}}@media (max-width:480px){.hierarchy-table{font-size:12px}.hierarchy-table td,.hierarchy-table th{padding:6px 8px}.rga-header{align-items:flex-start;flex-direction:column;gap:10px}.user-cell{gap:8px}.user-icon{height:24px;width:24px}}.daily-activity-report{background-color:var(--bg-primary);color:var(--text-primary);min-height:100vh}.daily-activity-report h2{color:var(--text-primary);font-weight:700;margin-bottom:20px}.controls-container{align-items:center;flex-wrap:wrap;gap:20px;justify-content:space-between;margin-bottom:15px;padding:10px 0}.navigation-container{gap:10px}.daily-activity-report .action-bar .action-bar-content{align-items:center;display:flex;gap:20px;justify-content:flex-end;width:100%}.action-buttons-right{flex:0 0 auto;gap:12px}.period-tabs{flex-wrap:wrap;gap:10px}.action-buttons{align-items:center;gap:12px}.period-tabs span,.period-tabs-center span{border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;padding:6px 12px;transition:all .3s ease}.period-tabs .selected,.period-tabs-center .selected{background-color:var(--button-primary-bg);color:var(--button-primary-text)}.period-tabs .unselected,.period-tabs-center .unselected{background-color:initial;color:var(--text-secondary)}.period-tabs .unselected:hover,.period-tabs-center .unselected:hover{background-color:var(--bg-tertiary);color:var(--text-primary)}.period-tabs .separator,.period-tabs-center .separator{color:var(--text-secondary);cursor:default;padding:0 5px}.period-tabs .separator:hover,.period-tabs-center .separator:hover{background-color:initial;color:var(--text-secondary)}.export-button{align-items:center;background-color:var(--button-secondary-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--button-secondary-text);cursor:pointer;display:flex;font-size:13px;font-weight:500;gap:4px;padding:4px 8px;transition:all .3s ease}.export-button:hover{background-color:var(--button-primary-bg);border-color:var(--button-primary-bg);color:var(--button-primary-text)}.export-button svg{flex-shrink:0;transition:all .3s ease}.export-button:hover svg{transform:scale(1.1)}.export-button.icon-only,.weekly-totals-toggle.icon-only{border-radius:4px;gap:0;padding:4px}.daily-activity-report .action-bar .selected-count{display:none}.daily-activity-report .action-bar .action-controls{align-items:center;display:flex;gap:0;justify-content:space-between;width:100%}.action-buttons-left,.action-buttons-right{align-items:center;display:flex;gap:8px}.action-buttons-right{margin-left:auto}.check-submit-button{align-items:center;background-color:#4caf50;border:1px solid #4caf50;border-radius:4px;color:#fff;cursor:pointer;display:flex;justify-content:center;padding:6px;transition:all .3s ease}.submit-button:hover:not(:disabled){background-color:#45a049;border-color:#45a049}.submit-button:disabled{cursor:not-allowed;opacity:.6}.submit-button svg{transition:all .3s ease}.submit-button:hover:not(:disabled) svg{transform:scale(1.1)}.cancel-button{align-items:center;background-color:#ffebee;border:1px solid #ffcdd2;color:#d32f2f;display:flex;justify-content:center;padding:6px;transition:all .3s ease}.cancel-button:hover{background-color:#ffcdd2;border-color:#d32f2f}.cancel-button svg{transition:all .3s ease}.cancel-button:hover svg{transform:scale(1.1)}[data-theme=dark] .submit-button{background-color:#388e3c;border-color:#388e3c}[data-theme=dark] .submit-button:hover:not(:disabled){background-color:#2e7d32;border-color:#2e7d32}[data-theme=dark] .cancel-button{background-color:#f4433633;border-color:#f443364d;color:#ff6b6b}[data-theme=dark] .cancel-button:hover{background-color:#f443364d;border-color:#ff6b6b}.nav-button{background-color:var(--button-secondary-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--button-secondary-text);font-size:13px;min-width:32px;padding:6px 10px;transition:background-color .3s ease}.nav-button:hover{background-color:var(--button-primary-bg);color:var(--button-primary-text)}.date-dropdown{background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:4px;color:var(--input-text);font-size:13px;max-width:280px;min-width:180px;padding:6px 10px}.date-dropdown:focus{border-color:var(--button-primary-bg);box-shadow:0 0 0 2px #00558c33}.form-actions{margin-bottom:20px;min-height:40px}.primary-button{border:none;font-weight:500}.primary-button:hover:not(:disabled){background-color:var(--button-primary-hover)}.primary-button:disabled{cursor:not-allowed;opacity:.6}.secondary-button{border:1px solid var(--border-color);transition:background-color .3s ease}.secondary-button:hover{background-color:var(--bg-tertiary)}.daily-activity-report .table tbody tr.today-row{background-color:#fbcfb4!important;border:2px solid #f7b083!important}.daily-activity-report .table tbody tr.today-row td{background-color:#fbcfb4!important}[data-theme=dark] .daily-activity-report .table tbody tr.today-row{background-color:#c8966466!important;border:2px solid #c86!important}[data-theme=dark] .daily-activity-report .table tbody tr.today-row td{background-color:#c8966466!important}.daily-activity-report .date-cell-warning{background-color:#ffebee!important;border-radius:4px;margin:-2px -4px;padding:2px 4px}.daily-activity-report .date-cell-warning strong{color:#c62828!important}[data-theme=dark] .daily-activity-report .date-cell-warning{background-color:#f4433633!important}[data-theme=dark] .daily-activity-report .date-cell-warning strong{color:#ff6b6b!important}.daily-activity-report .table tbody tr.week-end-row{border-bottom:3px solid #aaa!important;box-shadow:0 1px 0 #6666664d!important;margin-bottom:2px!important}.daily-activity-report .table tbody tr.week-end-row td{border-bottom:3px solid #aaa!important;position:relative}.daily-activity-report .table tbody tr.week-end-row td:after{background:linear-gradient(90deg,#aaa,#6663);bottom:-3px;content:"";height:1px;left:0;position:absolute;right:0}[data-theme=dark] .daily-activity-report .table tbody tr.week-end-row{border-bottom:3px solid #888!important;box-shadow:0 1px 0 #8888884d!important}[data-theme=dark] .daily-activity-report .table tbody tr.week-end-row td{border-bottom:3px solid #888!important}[data-theme=dark] .daily-activity-report .table tbody tr.week-end-row td:after{background:linear-gradient(90deg,#888,#8883)}.weekly-totals-toggle{align-items:center;border-radius:4px;color:var(--text-secondary);cursor:pointer;display:flex;font-weight:500;gap:6px;padding:8px 16px;transition:all .3s ease;-webkit-user-select:none;user-select:none}.weekly-totals-toggle:hover{background-color:var(--bg-tertiary);color:var(--text-primary)}.weekly-totals-toggle.active{background-color:#00558c1a;color:var(--button-primary-bg)}.weekly-totals-toggle.active:hover{background-color:#00558c26;color:var(--button-primary-bg)}.eye-icon{flex-shrink:0;transition:all .3s ease}.weekly-totals-toggle:hover .eye-icon{transform:scale(1.1)}[data-theme=dark] .weekly-totals-toggle.active{background-color:#4a9fff26;color:#4a9fff}[data-theme=dark] .weekly-totals-toggle.active:hover{background-color:#4a9fff33;color:#4a9fff}.missing-data-toggle{align-items:center;border-radius:4px;color:var(--text-secondary);cursor:pointer;display:flex;font-weight:500;gap:6px;padding:4px 8px;transition:all .3s ease;-webkit-user-select:none;user-select:none}.missing-data-toggle:hover{background-color:var(--bg-tertiary);color:var(--text-primary)}.missing-data-toggle.active{background-color:#dc35451a;color:#dc3545}.missing-data-toggle.active:hover{background-color:#dc354526;color:#dc3545}.missing-data-toggle svg{flex-shrink:0;transition:all .3s ease}.missing-data-toggle:hover svg{transform:scale(1.1)}.missing-data-toggle.icon-only{border-radius:4px;gap:0;padding:6px}[data-theme=dark] .missing-data-toggle.active{background-color:#ff6b6b26;color:#ff6b6b}[data-theme=dark] .missing-data-toggle.active:hover{background-color:#ff6b6b33;color:#ff6b6b}.hierarchy-toggle-button{align-items:center;background-color:var(--button-secondary-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--text-secondary);cursor:pointer;display:flex;font-weight:500;gap:6px;padding:4px 8px;transition:all .3s ease;-webkit-user-select:none;user-select:none}.hierarchy-toggle-button:hover{background-color:var(--bg-tertiary);color:var(--text-primary)}.hierarchy-toggle-button.active{background-color:#00558c1a;border-color:var(--button-primary-bg);color:var(--button-primary-bg)}.hierarchy-toggle-button.active:hover{background-color:#00558c26;color:var(--button-primary-bg)}.hierarchy-toggle-button svg{flex-shrink:0;transition:all .3s ease}.hierarchy-toggle-button:hover svg{transform:scale(1.1)}.hierarchy-toggle-button.icon-only{border-radius:4px;gap:0;padding:6px}[data-theme=dark] .hierarchy-toggle-button.active{background-color:#4a9fff26;border-color:#4a9fff;color:#4a9fff}[data-theme=dark] .hierarchy-toggle-button.active:hover{background-color:#4a9fff33;color:#4a9fff}.hierarchy-section{background-color:var(--bg-secondary);border-radius:8px}.daily-activity-report .table tbody tr.weekly-total-row{background-color:#00558c1a!important;border-bottom:2px solid #00558c4d!important;border-top:2px solid #00558c4d!important;font-weight:600!important}.daily-activity-report .table tbody tr.weekly-total-row td{background-color:#00558c1a!important;font-style:italic;font-weight:600!important}[data-theme=dark] .daily-activity-report .table tbody tr.weekly-total-row{background-color:#00558c33!important;border-bottom:2px solid #00558c66!important;border-top:2px solid #00558c66!important}[data-theme=dark] .daily-activity-report .table tbody tr.weekly-total-row td{background-color:#00558c33!important}.daily-activity-report .table tbody tr.week-row-highlighted{background-color:#ffeb3b33!important;border-left:3px solid #ffc10799!important;transition:all .2s ease!important}.daily-activity-report .table tbody tr.week-row-highlighted td{background-color:#ffeb3b33!important}[data-theme=dark] .daily-activity-report .table tbody tr.week-row-highlighted{background-color:#ffc10726!important;border-left:3px solid #ffc10780!important}[data-theme=dark] .daily-activity-report .table tbody tr.week-row-highlighted td{background-color:#ffc10726!important}.daily-activity-report .table tbody tr.weekly-total-row:hover{background-color:#00558c33!important;cursor:pointer}.daily-activity-report .table tbody tr.weekly-total-row:hover td{background-color:#00558c33!important}[data-theme=dark] .daily-activity-report .table tbody tr.weekly-total-row:hover,[data-theme=dark] .daily-activity-report .table tbody tr.weekly-total-row:hover td{background-color:#00558c4d!important}.alp-cell-container{font-size:12px;line-height:1.2;text-align:center}.alp-actual-value{color:#0d6efd;font-size:13px;font-weight:700}.alp-reported-value{color:#6c757d;font-size:10px;margin-top:1px}.alp-tooltip{cursor:help;position:relative}.alp-tooltip:after{background-color:#000c;border-radius:4px;bottom:100%;color:#fff;content:"Actual ALP (from weekly report) / Reported ALP";font-size:10px;left:50%;opacity:0;padding:4px 8px;pointer-events:none;position:absolute;transform:translateX(-50%);transition:opacity .3s;white-space:nowrap;z-index:1000}.alp-tooltip:hover:after{opacity:1}[data-theme=dark] .alp-actual-value{color:#4a9fff}[data-theme=dark] .alp-reported-value{color:#888}.alp-breakdown-container{align-items:center;cursor:help;display:flex;flex-direction:column;font-size:10px;line-height:1.1}.alp-discord-value{color:#5865f2;font-size:9px;font-weight:700}.alp-manual-value{color:#f57c00;font-size:9px;font-weight:700}.alp-total-value{border-top:1px solid #ddd;color:#2e7d32;font-size:10px;font-weight:700;margin-top:1px;padding-top:1px}.alp-discord-only{align-items:center;color:#5865f2;cursor:help;display:flex;font-size:11px;font-weight:700;justify-content:center}.alp-breakdown-container:hover,.alp-discord-only:hover{background-color:#f5f5f5;border-radius:3px;padding:2px}@media (max-width:768px){.controls-container{align-items:center;flex-direction:column;gap:15px}.navigation-container{justify-content:center;order:1;width:100%}.period-tabs{flex-wrap:wrap;justify-content:center;order:2;width:100%}.daily-activity-report .action-bar .action-bar-content{justify-content:flex-end}.action-buttons{flex-wrap:wrap;justify-content:center}.date-dropdown{min-width:250px}.daily-activity-report .table{font-size:12px}.daily-activity-report .table td,.daily-activity-report .table th{padding:6px 4px}.daily-activity-report .table input{font-size:12px;padding:2px}}@media (max-width:480px){.daily-activity-report .table td,.daily-activity-report .table th{padding:4px 2px}.daily-activity-report .table{font-size:11px}.nav-button{font-size:12px;min-width:30px;padding:6px 8px}}.client-email-container{align-items:center;display:flex;position:relative}.email-handle-input{background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:5px;box-sizing:border-box;color:var(--input-text);font-family:Calibri,sans-serif;font-size:12px;margin-right:8px;padding:5px;width:100%}.email-handle-input:focus{border-color:var(--hover-color);outline:none}.email-at-symbol{color:var(--text-primary);font-family:Calibri,sans-serif;font-size:12px;margin-right:8px}.email-website-container{position:relative;width:150px}.email-website-input{background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:5px;box-sizing:border-box;color:var(--input-text);font-family:Calibri,sans-serif;font-size:12px;margin-right:8px;padding:5px;width:100%}.email-website-input:focus{border-color:var(--hover-color);outline:none}.email-hint{color:var(--text-secondary);opacity:.6;pointer-events:none;position:absolute;top:6px}.email-domain-select,.email-hint{font-family:Calibri,sans-serif;font-size:12px}.email-domain-select{background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:5px;color:var(--input-text);margin-left:8px;padding:6px}.email-domain-select:focus{border-color:var(--hover-color);outline:none}.email-domain-select option{background-color:var(--input-bg);color:var(--input-text)}.email-hidden-span{font-family:Calibri,sans-serif;font-size:12px;position:absolute;visibility:hidden;white-space:pre}@media (max-width:600px){.client-email-container{align-items:stretch;flex-direction:column;gap:8px}.email-website-container{width:100%}.email-handle-input,.email-website-input{margin-bottom:8px;margin-right:0}.email-domain-select{margin-left:0;width:100%}}.client-info-group{margin-bottom:20px}.client-info-group h4{margin-bottom:15px}.client-info-group hr{border:none;border-top:1px solid var(--border-color);margin:20px 0}.client-info-group .input-row{display:flex;gap:20px;margin-bottom:15px}.client-info-group .input-group{display:flex;flex:1 1;flex-direction:column}.client-info-group .input-group label{color:var(--text-primary);font-family:Calibri,sans-serif;font-size:12px;margin-bottom:5px}.client-name-input{border-bottom-left-radius:5px;border-top-left-radius:5px}.agent-input,.agent-readonly-input{background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:5px;color:var(--input-text);font-family:Calibri,sans-serif;font-size:12px;padding:8px;width:100%}.agent-readonly-input{background-color:var(--bg-tertiary);cursor:not-allowed}.agent-input:focus,.agent-readonly-input:focus{border-color:var(--hover-color);outline:none}.agent-select{background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:5px;color:var(--input-text);font-family:Calibri,sans-serif;font-size:12px;padding:8px;width:100%}.agent-select:focus{border-color:var(--hover-color);outline:none}.agent-select option{background-color:var(--input-bg);color:var(--input-text)}.client-info-group p{color:var(--text-secondary);font-size:12px;margin-top:10px}@media (max-width:600px){.client-info-group .input-row{flex-direction:column;gap:10px}}.verification-form-container{margin:0 auto;max-width:600px}.client-info-group h4{color:var(--hover-color);font-family:Avenir Next LT Pro,sans-serif;font-weight:700;margin-top:20px}.input-group{display:flex;flex-direction:column;margin-bottom:10px}.input-group label{color:var(--text-primary);font-family:Calibri,sans-serif;margin-bottom:5px}.input-group input{background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:5px;box-sizing:border-box;color:var(--input-text);font-family:Calibri,sans-serif;font-size:12px;padding:5px;width:100%}.input-group input:focus{border-color:var(--hover-color);outline:none}.input-group select{background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:5px;box-sizing:border-box;color:var(--input-text);font-family:Calibri,sans-serif;font-size:12px;padding:5px;width:100%}.input-group select:focus{border-color:var(--hover-color);outline:none}.input-row{display:flex;gap:20px;justify-content:space-between;margin-bottom:15px}.input-row .input-group{flex:1 1}.phone-number-container{gap:10px;width:100%}.phone-number-container input{width:33%}.agent-info-group .input-row{display:flex;gap:20px}.agent-info-group .input-group{flex:1 1}.insured-button-container{display:flex;justify-content:center;margin-bottom:10px;margin-top:20px}.insured-button{background-color:var(--button-primary-bg);border-radius:5px;color:var(--button-primary-text);font-family:Calibri,sans-serif;font-size:12px;margin:0 5px;padding:5px 10px}.insured-button:hover{opacity:.9}.insured-label-checkboxes{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-bottom:10px}.insured-label{color:var(--text-primary);flex-shrink:0;font-weight:700;margin-right:15px}.checkbox-group{gap:15px}.checkbox-group label{color:var(--text-primary);font-size:12px}.insured-group .input-group{display:flex;gap:10px}.modern-input,.premium-input{background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:5px;color:var(--input-text);flex:1 1;font-size:14px;padding:10px}.modern-input:focus,.premium-input:focus{border-color:var(--hover-color);outline:none}.premium-input{max-width:150px}.premiums-container{display:flex;justify-content:center;margin-top:20px;width:100%}.premium-row{display:flex;justify-content:space-between;max-width:600px;width:100%}.premium-item{align-items:center;display:flex;flex:1 1;flex-direction:column;margin:0 10px}.premium-item label{color:var(--text-primary);font-size:12px;margin-bottom:5px}.premium-item input{background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:5px;box-sizing:border-box;color:var(--input-text);font-family:Calibri,sans-serif;font-size:12px;padding:5px;text-align:center;width:100%}.premium-item input:focus{border-color:var(--hover-color);outline:none}.verification-form-container a{color:var(--hover-color);text-decoration:none}.verification-form-container a:hover{text-decoration:underline}.verification-form-container button[type=submit]{background-color:var(--button-primary-bg);border:none;border-radius:5px;color:var(--button-primary-text);cursor:pointer;font-family:Calibri,sans-serif;font-size:14px;margin-top:20px;padding:10px 20px}.verification-form-container button[type=submit]:hover{opacity:.9}.verification-form-container p{color:var(--text-secondary);font-size:12px;line-height:1.4}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}@media (max-width:767px){.verification-form-container{height:calc(100vh - 80px);margin:0;max-width:100%;overflow-y:auto;padding:10px}.input-row{margin-bottom:12px}.input-row,.phone-number-container{flex-direction:column;gap:8px}.phone-number-container input{width:100%}.premium-row{flex-direction:column;gap:12px}.premium-item{margin:0}.client-info-group h4{font-size:1.1rem;margin-bottom:10px;margin-top:15px}.input-group{margin-bottom:8px}.input-group input,.input-group select,.modern-input,.premium-input{font-size:14px;padding:8px}.insured-button-container{flex-wrap:wrap;gap:8px;justify-content:center;margin:15px 0 10px}.insured-button{font-size:13px;min-width:80px;padding:8px 12px}.insured-label-checkboxes{align-items:flex-start;flex-direction:column;gap:8px}.checkbox-group{gap:12px;justify-content:flex-start}.verification-form-container button[type=submit]{font-size:16px;margin-bottom:20px;margin-top:15px;padding:12px;width:100%}.premiums-container{margin-top:15px}}@media (max-width:1199px) and (min-width:768px){.verification-form-container{max-width:100%;padding:15px}.input-row,.premium-row{gap:15px}}.insured-checkbox-row{align-items:center;box-sizing:border-box;display:flex;gap:20px;justify-content:space-between;margin-bottom:20px;padding:0;width:100%}.question-row{border-radius:8px;margin-bottom:5px;padding:10px}.question-content,.question-row{box-sizing:border-box;width:100%}.question-content{align-items:flex-start;display:flex;flex-direction:row;gap:10px;justify-content:space-between}.insured-checkbox-row h4{color:var(--text-primary);font-family:Avenir Next LT Pro,sans-serif;font-size:1.2rem;font-weight:600;margin:0}.question-label{color:var(--text-primary);flex:1 1;font-family:Calibri,sans-serif;font-size:14px;line-height:1.5;margin-right:20px;padding-top:2px}.radio-buttons{align-items:center;display:flex;flex-shrink:0;gap:25px}.question-label strong{color:var(--text-primary);font-weight:700}.insured-checkbox-row>.secondary-button{margin:0}.insured-checkbox-row label,.radio-buttons label{align-items:center;color:var(--text-primary);cursor:pointer;display:flex;font-family:Calibri,sans-serif;font-size:14px;font-weight:500;gap:8px;white-space:nowrap}.insured-checkbox-row input[type=checkbox],.insured-checkbox-row input[type=radio],.radio-buttons input[type=checkbox],.radio-buttons input[type=radio]{accent-color:#007bff;accent-color:var(--button-primary-bg,#007bff);cursor:pointer;height:18px;margin:0;width:18px}.form-group{box-sizing:border-box;margin-bottom:20px}.form-group .question-row{margin-bottom:0}.form-group>div:last-child>div{margin-bottom:10px}.form-group>div:last-child>div:last-child{margin-bottom:0}.form-group>div:last-child label{align-items:center;color:var(--text-primary);display:flex;font-size:14px;font-weight:500;gap:10px;padding-left:8px}.questions-container{box-sizing:border-box;width:100%}.secondary-button{background-color:#007bff;background-color:var(--button-primary-bg,#007bff);border:1px solid #007bff;border:1px solid var(--button-primary-bg,#007bff);border-radius:6px;color:var(--button-primary-text,#fff);font-family:Calibri,sans-serif;font-size:14px;font-weight:500;transition:all .2s ease}.secondary-button:hover{background-color:#0056b3;background-color:var(--button-primary-hover-bg,#0056b3);border-color:#0056b3;border-color:var(--button-primary-hover-bg,#0056b3)}@media (max-width:767px){.insured-checkbox-row{flex-direction:column;gap:15px;padding:0;width:100%}.question-row{padding:16px;width:100%}.question-content{align-items:flex-start;flex-direction:column;gap:15px;width:100%}.question-label{margin-bottom:0;margin-right:0;padding-top:0;width:100%}.radio-buttons{gap:35px;justify-content:flex-start;width:100%}.form-group>div:last-child{margin-left:20px;margin-top:12px;padding:12px}.questions-container{width:100%}.secondary-button{font-size:14px;padding:10px 16px}}.production-reports{background-color:var(--bg-primary);color:var(--text-primary);min-height:100vh;padding:0}.reports-loading{align-items:center;display:flex;flex-direction:column;gap:16px;justify-content:center;min-height:400px}.loading-spinner{color:var(--button-primary-bg);font-size:24px}.reports-header{align-items:center;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;margin-bottom:24px;padding-bottom:16px}.reports-title-section h2{color:var(--text-primary);font-size:24px;font-weight:600;margin:0 0 4px}.reports-title-section p{color:var(--text-secondary);font-size:14px;margin:0}.reports-actions{display:flex;gap:12px}.refresh-btn{align-items:center;background-color:var(--button-secondary-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--button-secondary-text);cursor:pointer;display:flex;font-size:14px;gap:8px;padding:8px 16px;transition:all .2s ease}.refresh-btn:hover:not(:disabled){background-color:var(--bg-tertiary)}.refresh-btn:disabled{cursor:not-allowed;opacity:.6}.refresh-btn .spinning{animation:spin 1s linear infinite}.reports-controls{align-items:center;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;margin-bottom:24px}.reports-search{flex:1 1;min-width:250px}.search-input-wrapper{width:100%}.reports-filters{align-items:center;display:flex;gap:16px}.category-filters{display:flex;flex-wrap:wrap;gap:8px}.category-filter{align-items:center;background-color:var(--button-secondary-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--button-secondary-text);cursor:pointer;display:flex;font-size:14px;gap:6px;padding:6px 12px;transition:all .2s ease}.category-filter:hover{background-color:var(--bg-tertiary)}.category-filter.active{background-color:var(--button-primary-bg);border-color:var(--button-primary-bg);color:var(--button-primary-text)}.view-controls{border:1px solid var(--border-color);border-radius:4px;display:flex;gap:4px;overflow:hidden}.view-toggle{border:none;color:var(--button-secondary-text);cursor:pointer;padding:8px 12px;transition:all .2s ease}.view-toggle.active{background-color:var(--button-primary-bg);color:var(--button-primary-text)}.reports-content{min-height:300px}.reports-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.reports-list{gap:12px}.report-card,.reports-list{display:flex;flex-direction:column}.report-card{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;cursor:pointer;height:380px;padding:20px;transition:all .2s ease}.report-card:hover{border-color:var(--button-primary-bg);box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.report-card-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:16px}.report-header-main{align-items:center;display:flex;flex:1 1;gap:12px;min-width:0}.report-icon{align-items:center;background-color:var(--bg-tertiary);border-radius:8px;color:var(--button-primary-bg);display:flex;flex-shrink:0;font-size:20px;height:40px;justify-content:center;width:40px}.report-meta{align-items:flex-end;display:flex;flex-direction:column;gap:4px}.report-source-badge{align-items:center;border-radius:12px;display:flex;font-size:12px;font-weight:500;gap:4px;padding:4px 8px}.report-source-badge.onedrive{background-color:#0078d71a;color:#0078d7}.report-source-badge.home-office{background-color:#ff8c001a;color:#ff8c00}.report-content{display:flex;flex-direction:column;margin-bottom:8px;overflow:hidden}.report-card-title{color:var(--text-primary);font-size:16px;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-description{-webkit-line-clamp:3;-webkit-box-orient:vertical;color:var(--text-secondary);display:-webkit-box;flex:1 1;font-size:12px;margin:8px 0 12px;overflow:hidden;text-overflow:ellipsis}.report-file-info{background-color:var(--bg-tertiary);border-radius:4px;margin-bottom:10px;margin-top:2px;padding:8px}.file-name{font-size:12px;margin-bottom:4px}.file-details{color:var(--text-secondary);font-size:11px;justify-content:space-between}.file-date,.file-details{align-items:center;display:flex}.file-date{gap:4px}.report-actions{margin-top:auto}.report-action-btn{border:none;border-radius:4px;font-size:12px;padding:6px 12px}.report-action-btn.primary{background-color:var(--button-primary-bg);color:var(--button-primary-text)}.report-action-btn.primary:hover{background-color:var(--button-primary-hover)}.report-action-btn.secondary{background-color:var(--button-secondary-bg);border:1px solid var(--border-color);color:var(--button-secondary-text)}.report-action-btn.secondary:hover{background-color:var(--bg-tertiary)}.report-list-item{align-items:center;background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;cursor:pointer;display:flex;gap:16px;padding:16px;transition:all .2s ease}.report-list-item:hover{background-color:var(--bg-tertiary);border-color:var(--button-primary-bg)}.report-list-icon{align-items:center;background-color:var(--bg-tertiary);border-radius:8px;color:var(--button-primary-bg);display:flex;flex-shrink:0;font-size:20px;height:40px;justify-content:center;width:40px}.report-list-content{flex:1 1;min-width:0}.report-list-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:4px}.report-list-title{color:var(--text-primary);font-size:16px;font-weight:600;margin:0}.report-list-meta{display:flex;gap:8px}.report-list-description{color:var(--text-secondary);font-size:14px;line-height:1.4;margin:0 0 8px}.report-file-info-inline{align-items:center;color:var(--text-secondary);display:flex;font-size:12px;gap:12px}.report-file-info-inline .file-name{color:var(--text-primary);font-weight:500}.report-list-actions{display:flex;flex-shrink:0;gap:8px}.reports-empty{align-items:center;color:var(--text-secondary);display:flex;flex-direction:column;gap:16px;justify-content:center;min-height:300px}.reports-empty h3{color:var(--text-primary);font-size:18px;margin:0}.reports-empty p{font-size:14px;margin:0}@media (max-width:768px){.reports-page .settings-content,body{max-width:100vw;overflow-x:hidden}.reports-page .settings-content{box-sizing:border-box;padding:0 calc(15px + env(safe-area-inset-right, 0)) 0 calc(15px + env(safe-area-inset-left, 0));width:100%}.reports-page .padded-content{box-sizing:border-box;padding:10px 0;width:100%}.reports-container{box-sizing:border-box;max-width:100%;padding:0;width:100%}.reports-controls{align-items:stretch;flex-direction:column;gap:16px}.reports-search{min-width:auto}.category-filters,.reports-filters{justify-content:center}.category-filters{flex-wrap:wrap}.reports-grid{gap:16px;grid-template-columns:1fr!important;grid-template-rows:auto}.report-card,.reports-grid{box-sizing:border-box;max-width:100%;width:100%}.report-card{height:320px;overflow:hidden;padding:16px}.report-card .report-title{word-wrap:break-word;font-size:16px!important;line-height:1.3;overflow-wrap:break-word}.report-card .report-description{word-wrap:break-word;font-size:14px!important;line-height:1.4;overflow-wrap:break-word}.report-card .report-meta{word-wrap:break-word;font-size:12px!important;overflow-wrap:break-word}.report-card .report-frequency{font-size:11px!important;padding:4px 8px}.report-card *,.report-card .report-frequency{box-sizing:border-box;max-width:100%}.report-list-item{align-items:flex-start;flex-direction:column;gap:12px}.report-list-header{width:100%}.report-list-actions{justify-content:flex-end;width:100%}.report-file-info-inline{flex-wrap:wrap}}@media (max-width:480px){.reports-header{align-items:flex-start;flex-direction:column;gap:12px}.category-filter{font-size:12px;padding:4px 8px}.report-card{box-sizing:border-box;height:300px;max-width:100%;padding:14px;width:100%}.report-card .report-title{font-size:15px!important}.report-card .report-description{font-size:13px!important}.report-actions,.report-list-actions{justify-content:center}.report-card{height:280px}}.report-breadcrumb{border-bottom:1px solid var(--border-color);margin-bottom:20px;padding:16px 0}.breadcrumb-item,.report-breadcrumb{align-items:center;display:flex;gap:8px}.breadcrumb-link{background:none;border:none;color:var(--text-secondary);cursor:pointer;font-size:14px;padding:0;text-decoration:underline}.breadcrumb-link:hover{color:var(--button-primary-bg)}.breadcrumb-current{color:var(--text-primary);font-size:14px;font-weight:500}.breadcrumb-separator{color:var(--text-secondary);font-size:14px}.report-viewer{background-color:var(--bg-primary);min-height:500px}.report-viewer-header{margin-bottom:24px}.report-viewer-header h3{color:var(--text-primary);font-size:24px;font-weight:600;margin:0 0 8px}.report-viewer-header p{color:var(--text-secondary);font-size:16px;margin:0}.app-report .report-content-area{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;padding:24px}.embedded-report{min-height:400px}.report-placeholder{padding:40px 20px;text-align:center}.report-placeholder h4{color:var(--text-primary);font-size:20px;margin:0 0 12px}.report-placeholder p{color:var(--text-secondary);margin:0 0 20px}.open-full-report{background-color:var(--button-primary-bg);border:none;border-radius:4px;color:var(--button-primary-text);cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .2s ease}.open-full-report:hover{background-color:var(--button-primary-hover)}.report-stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-top:20px}.stat-card{background-color:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:8px;padding:20px;text-align:left}.stat-card h5{color:var(--text-primary);font-size:16px;margin:0 0 8px}.stat-card p{color:var(--text-secondary);font-size:14px;margin:0}.onedrive-report-content{display:flex;flex-direction:column;gap:24px}.file-info-section{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;padding:24px}.file-details-large{align-items:center;display:flex;gap:20px;margin-bottom:20px}.file-icon-large{background-color:#0078d71a;border-radius:8px;color:#0078d7;padding:16px}.file-info h4{color:var(--text-primary);font-size:18px;margin:0 0 8px}.file-meta{align-items:center;color:var(--text-secondary);display:flex;flex-wrap:wrap;font-size:14px;gap:16px}.home-office-tag{background-color:#ff8c001a;border-radius:12px;color:#ff8c00;font-size:12px;font-weight:500;padding:4px 8px}.file-actions-large{display:flex;flex-wrap:wrap;gap:12px}.primary-action-btn,.secondary-action-btn{align-items:center;border:none;border-radius:4px;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 20px;transition:all .2s ease}.primary-action-btn{background-color:var(--button-primary-bg);color:var(--button-primary-text)}.primary-action-btn:hover{background-color:var(--button-primary-hover)}.secondary-action-btn{background-color:var(--button-secondary-bg);border:1px solid var(--border-color);color:var(--button-secondary-text)}.secondary-action-btn:hover{background-color:var(--bg-tertiary)}.excel-preview-section,.recent-versions-section{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;padding:24px}.excel-preview-section h4,.recent-versions-section h4{color:var(--text-primary);font-size:16px;margin:0 0 16px}.excel-preview-placeholder p{margin:0 0 8px}.preview-actions{margin-top:16px}.preview-action{padding:8px 16px}.recent-versions-list{display:flex;flex-direction:column;gap:12px}.version-download-btn{padding:6px 8px}@media (max-width:768px){.report-breadcrumb{padding:12px 0}.breadcrumb-item{font-size:12px}.report-viewer-header h3{font-size:20px}.file-details-large{gap:16px}.file-details-large,.file-meta{align-items:flex-start;flex-direction:column}.file-meta{gap:8px}.file-actions-large{width:100%}.primary-action-btn,.secondary-action-btn{flex:1 1;justify-content:center}.report-stats-grid{grid-template-columns:1fr}.version-item-inline{align-items:flex-start;flex-direction:column;gap:8px}.version-download-btn{justify-content:center;width:100%}}[data-theme=dark] .report-card:hover{box-shadow:0 4px 12px #ffffff1a}.admin-toggle-btn{align-items:center;background-color:var(--button-secondary-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--button-secondary-text);cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 16px;transition:all .2s ease}.admin-toggle-btn:hover{background-color:var(--bg-tertiary)}.admin-toggle-btn.active{background-color:var(--button-primary-bg);border-color:var(--button-primary-bg);color:var(--button-primary-text)}.admin-controls{background-color:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:8px;margin-bottom:16px;padding:16px}.admin-controls-left{align-items:center;display:flex;flex:1 1;gap:16px}.hidden-report{background-color:#ff00000d;opacity:.6}.report-source-badge.hidden{background-color:#ef44441a;color:#ef4444}@media (max-width:768px){.admin-controls{align-items:stretch;flex-direction:column;gap:16px}.admin-controls-left,.admin-filters{justify-content:center}.admin-filters{flex-wrap:wrap}.admin-actions{justify-content:center}}[data-theme=dark] .hidden-report{background-color:#ff00001a}.excel-iframe-container{background-color:#f8f9fa;border:1px solid var(--border-color);border-radius:8px;height:600px;overflow:hidden;position:relative;width:100%}.excel-iframe{background-color:#fff;border:none;height:100%;width:100%}.excel-preview-fallback{align-items:center;background-color:var(--bg-tertiary);display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.excel-preview-placeholder{background-color:var(--bg-tertiary);border:2px dashed var(--border-color);border-radius:8px;color:var(--text-secondary);max-width:400px;padding:40px 20px;text-align:center}.excel-preview-placeholder h4{color:var(--text-primary);font-size:18px;margin:16px 0 8px}.excel-preview-placeholder p{line-height:1.5;margin:0 0 16px}.preview-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.preview-action{align-items:center;background-color:var(--button-primary-bg);border:none;border-radius:4px;color:var(--button-primary-text);cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 16px;transition:all .2s ease}.preview-action:hover{background-color:var(--button-primary-hover)}.preview-action.secondary{background-color:var(--button-secondary-bg);border:1px solid var(--border-color);color:var(--button-secondary-text)}.preview-action.secondary:hover{background-color:var(--bg-tertiary)}.version-info-inline{display:flex;flex:1 1;flex-direction:column;gap:4px;min-width:0}.current-version-badge{background-color:#22c55e}.current-version-badge,.viewing-badge{border-radius:10px;color:#fff;font-size:11px;font-weight:600;margin-top:2px;padding:2px 8px;text-transform:uppercase;width:-webkit-fit-content;width:fit-content}.viewing-badge{background-color:#28a745;margin-left:4px}.version-tag{background-color:var(--bg-tertiary);border-radius:10px;color:var(--text-secondary);font-size:11px;font-weight:500;padding:2px 8px}.show-all-versions-btn{background-color:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);cursor:pointer;font-size:14px;margin-top:8px;padding:12px;transition:all .2s ease;width:100%}.show-all-versions-btn:hover{background-color:var(--button-secondary-bg);border-color:var(--button-primary-bg)}.recent-versions-section h4{align-items:center;color:var(--text-primary);display:flex;font-size:16px;gap:8px;margin:0 0 16px}.version-item-inline{align-items:center;background-color:var(--bg-tertiary);border-radius:4px;display:flex;gap:12px;justify-content:space-between;padding:12px;transition:background-color .2s ease}.version-item-inline:hover{background-color:var(--card-bg);box-shadow:0 2px 4px #0000001a}.version-item-inline.active{background-color:var(--button-primary-bg);border:2px solid var(--button-primary-bg)}.version-item-inline.active,.version-item-inline.active .version-date,.version-item-inline.active .version-name{color:var(--button-primary-text)}.version-item-inline.active:hover{background-color:var(--button-primary-hover)}.version-name{color:var(--text-primary);font-size:14px;font-weight:500;word-break:break-all}.version-date{flex-shrink:0}.version-download-btn{align-items:center;background-color:var(--button-primary-bg);border:none;border-radius:4px;color:var(--button-primary-text);cursor:pointer;display:flex;flex-shrink:0;justify-content:center;padding:8px 10px;transition:all .2s ease}.version-download-btn:hover{background-color:var(--button-primary-hover);transform:translateY(-1px)}.excel-iframe-container:before{color:var(--text-secondary);content:"Loading Excel preview...";font-size:14px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1}.excel-iframe:not([src=""])+.excel-iframe-container:before{display:none}@media (max-width:768px){.excel-iframe-container{height:400px}.preview-actions{align-items:center;flex-direction:column}.preview-action{justify-content:center;max-width:200px;width:100%}.version-item-inline{align-items:flex-start;flex-direction:column;gap:8px}.version-download-btn{align-self:flex-end}}.tab-bar{background:#f8f9fa;border-bottom:1px solid #eee;display:flex;padding:0 1rem}.tab{border-bottom:2px solid #0000;color:#666;cursor:pointer;padding:1rem;transition:all .2s ease}.tab:hover{color:#333}.tab.active{border-bottom-color:#007bff;color:#007bff}.verification-details-container{background-color:var(--card-bg);color:var(--text-primary);height:100%;overflow:auto;padding:65px 20px 20px}.verification-details-header{align-items:center;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:15px}.verification-details-title{color:var(--hover-color);font-size:1.25rem;font-weight:600;margin:0}.verification-details-close-button{background:none;border:none;border-radius:4px;color:var(--text-secondary);cursor:pointer;font-size:20px;padding:4px;transition:color .2s ease}.verification-details-close-button:hover{background-color:var(--bg-tertiary);color:var(--text-primary)}.application-details-container{background-color:var(--card-bg);color:var(--text-primary);height:100%;line-height:1.5;overflow:auto;padding:65px 20px 20px}.application-details-header{align-items:center;border-bottom:2px solid var(--border-color);display:flex;justify-content:space-between;margin-bottom:30px;padding-bottom:20px}.application-details-header h3{color:var(--hover-color);font-family:Avenir Next LT Pro,sans-serif;font-size:1.5rem;font-weight:700;margin:0}.application-details-close-button{align-items:center;background:none;border:none;border-radius:8px;color:var(--text-secondary);cursor:pointer;display:flex;font-size:24px;height:40px;justify-content:center;padding:8px;transition:all .2s ease;width:40px}.application-details-close-button:hover{background-color:var(--bg-tertiary);color:var(--text-primary);transform:scale(1.1)}.application-details-content{display:flex;flex-direction:column;gap:20px}.application-details-section{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:10px;box-shadow:0 1px 4px #0000001a;padding:15px;transition:box-shadow .2s ease}.application-details-section:hover{box-shadow:0 4px 16px #00000026}.application-details-section h4{align-items:center;color:var(--hover-color);display:flex;font-family:Avenir Next LT Pro,sans-serif;font-size:1rem;font-weight:700;gap:8px;margin:0 0 12px}.section-divider{border:none;border-top:1px solid var(--border-color);margin:20px 0;opacity:.3}.contact-agent-table,.details-table,.hierarchyTable,.insureds-table,.medical-questions-table,.recruiting-table{background-color:var(--card-bg);border:1px solid var(--border-color);border-collapse:collapse;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin-bottom:8px;overflow:hidden;width:100%}.contact-agent-table th,.details-table th,.hierarchyTable th,.insureds-table th,.medical-questions-table th,.recruiting-table th{background:linear-gradient(135deg,var(--bg-secondary),var(--bg-tertiary));border-bottom:2px solid var(--border-color);color:var(--text-primary);font-size:11px;font-weight:700;letter-spacing:.3px;padding:10px 8px;text-align:left;text-transform:uppercase}.contact-agent-table td,.details-table td,.hierarchyTable td,.insureds-table td,.medical-questions-table td,.recruiting-table td{border-bottom:1px solid var(--border-color);color:var(--text-primary);font-size:12px;padding:8px;transition:background-color .2s ease}.contact-agent-table tr:last-child td,.details-table tr:last-child td,.hierarchyTable tr:last-child td,.insureds-table tr:last-child td,.medical-questions-table tr:last-child td,.recruiting-table tr:last-child td{border-bottom:none}.contact-agent-table tr:hover td,.details-table tr:hover td,.hierarchyTable tr:hover td,.insureds-table tr:hover td,.medical-questions-table tr:hover td,.recruiting-table tr:hover td{background-color:var(--bg-tertiary)}.insured-row{border-radius:8px;cursor:pointer;margin:2px 0;transition:all .2s ease}.insured-row:hover{background-color:var(--bg-tertiary);box-shadow:0 2px 8px #0000001a;transform:translateY(-1px)}.medical-questions-cell{padding:0!important}.medical-questions-table{border:none;border-radius:0;margin:0}.status-icon{align-items:center;border-radius:50%;display:inline-flex;height:20px;justify-content:center;margin-right:4px;width:20px}.status-icon.verified{background-color:#d4edda;color:#155724}.status-icon.discrepancy{background-color:#f8d7da;color:#721c24}.discrepancy-row{animation:pulse-discrepancy 2s ease-in-out infinite;background:linear-gradient(135deg,#f8d7da,#f5c6cb)!important;border-left:4px solid #dc3545;color:#721c24!important}@keyframes pulse-discrepancy{0%{box-shadow:0 0 0 0 #dc354566}50%{box-shadow:0 0 0 10px #dc354500}to{box-shadow:0 0 0 0 #dc354500}}[data-theme=dark] .discrepancy-row{background:linear-gradient(135deg,#5d1a1d,#721c24)!important;border-left:4px solid #dc3545;color:#f5c6cb!important}.contact-request-yes{background:linear-gradient(135deg,#f8d7da,#f5c6cb);border-left:3px solid #dc3545;border-radius:4px;color:#721c24;font-weight:600;margin:2px 0;padding:8px}[data-theme=dark] .contact-request-yes{background:linear-gradient(135deg,#5d1a1d,#721c24);border-left:4px solid #dc3545;color:#f5c6cb}.verification-badge{border-radius:4px;display:inline-block;font-size:10px;font-weight:600;letter-spacing:.3px;padding:2px 6px;text-transform:uppercase}.verification-badge.verified{background-color:#d4edda;color:#155724}.verification-badge.discrepancy{background-color:#f8d7da;color:#721c24}.loading-container{flex-direction:column;font-size:16px;gap:15px}.loading-container:before{animation:spin 1s linear infinite;border-top:3px solid var(--border-color);border:3px solid var(--border-color);border-radius:50%;border-top-color:var(--hover-color);content:"";height:40px;width:40px}.questionnaire-section{background-color:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:8px;margin-bottom:12px;padding:12px;transition:all .2s ease}.questionnaire-section:hover{box-shadow:0 2px 8px #0000001a;transform:translateY(-2px)}.questionnaire-section strong{color:var(--text-primary);display:block;font-size:12px;font-weight:700;letter-spacing:.3px;margin-bottom:8px;text-transform:uppercase}.questionnaire-section ul{list-style:none;margin:8px 0;padding-left:16px}.questionnaire-item{color:var(--text-primary);font-size:11px;margin-bottom:6px;padding-left:16px;position:relative}.questionnaire-item:before{content:"📋";left:0;position:absolute;top:0}.questionnaire-item a{border-bottom:1px solid #0000;color:var(--hover-color);font-weight:600;text-decoration:none;transition:border-bottom-color .2s ease}.questionnaire-item a:hover{border-bottom-color:var(--hover-color)}.email-instructions{background:linear-gradient(135deg,var(--bg-tertiary),var(--bg-secondary));border:1px solid var(--border-color);border-radius:12px;box-shadow:0 2px 8px #0000001a;color:var(--text-secondary);font-size:14px;margin-top:25px;padding:20px;text-align:center}.email-instructions a{border-bottom:1px solid #0000;color:var(--hover-color);font-weight:600;text-decoration:none;transition:border-bottom-color .2s ease}.email-instructions a:hover{border-bottom-color:var(--hover-color)}@media (max-width:767px){.application-details-container{height:100%;overflow-y:auto;padding:20px 12px}.application-details-header{background-color:var(--card-bg);border-bottom:1px solid var(--border-color);margin-bottom:15px;padding-bottom:10px;position:relative;z-index:10}.application-details-header h3{font-size:1.2rem}.application-details-close-button{font-size:20px;height:36px;width:36px}.application-details-section{border-radius:6px;margin-bottom:12px;padding:8px}.application-details-section h4{font-size:.9rem;gap:6px;margin-bottom:8px}.application-details-content{gap:12px}.contact-agent-table,.details-table,.hierarchyTable,.insureds-table,.medical-questions-table,.recruiting-table{border-radius:4px;font-size:10px;margin-bottom:6px}.contact-agent-table th,.details-table th,.hierarchyTable th,.insureds-table th,.medical-questions-table th,.recruiting-table th{font-size:9px;line-height:1.2;padding:6px 4px}.contact-agent-table td,.details-table td,.hierarchyTable td,.insureds-table td,.medical-questions-table td,.recruiting-table td{font-size:10px;line-height:1.3;padding:6px 4px}.status-icon{height:16px;margin-right:2px;width:16px}.verification-badge{border-radius:3px;font-size:8px;padding:1px 4px}.questionnaire-section{border-radius:4px;margin-bottom:8px;padding:6px}.questionnaire-section strong{font-size:10px;margin-bottom:4px}.questionnaire-section ul{margin:4px 0;padding-left:12px}.questionnaire-item{font-size:9px;margin-bottom:3px;padding-left:12px}.email-instructions{border-radius:6px;font-size:11px;margin-top:10px;padding:8px}.contact-request-yes{border-radius:3px;font-size:10px;padding:4px 6px}}@media (max-width:1199px) and (min-width:768px){.application-details-container{padding:25px 18px 18px}.application-details-section{border-radius:8px;padding:12px}.application-details-content{gap:18px}.contact-agent-table,.details-table,.hierarchyTable,.insureds-table,.medical-questions-table,.recruiting-table{border-radius:6px;font-size:11px}.contact-agent-table th,.details-table th,.hierarchyTable th,.insureds-table th,.medical-questions-table th,.recruiting-table th{font-size:10px;padding:8px 6px}.contact-agent-table td,.details-table td,.hierarchyTable td,.insureds-table td,.medical-questions-table td,.recruiting-table td{font-size:11px;padding:7px 6px}}.client-contact-info{align-items:center;display:flex;gap:8px;justify-content:space-between}.client-contact-info span{flex:1 1;word-break:break-all}.contact-actions{gap:4px}.contact-actions,.copy-btn{align-items:center;display:flex}.copy-btn{background:none;border:none;border-radius:4px;cursor:pointer;font-size:14px;height:32px;justify-content:center;min-width:32px;padding:4px 8px;transition:all .2s ease}.copy-btn:hover{background-color:var(--bg-tertiary);transform:scale(1.1)}.copy-btn:active{transform:scale(.95)}.edit-btn{align-items:center;background:none;border:none;border-radius:4px;cursor:pointer;display:flex;font-size:14px;height:32px;justify-content:center;min-width:32px;padding:4px 8px;transition:all .2s ease}.edit-btn:hover{background-color:var(--bg-tertiary);transform:scale(1.1)}.edit-btn:active{transform:scale(.95)}.edit-form{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.edit-input{background-color:var(--bg-secondary);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);font-size:14px;min-width:200px;padding:6px 8px}.edit-input:focus{border-color:var(--primary-color);box-shadow:0 0 0 2px #007bff40;outline:none}.save-btn{background-color:#28a745;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:12px;font-weight:600;padding:6px 12px;transition:all .2s ease}.save-btn:hover:not(:disabled){background-color:#218838;transform:translateY(-1px)}.save-btn:disabled{background-color:#6c757d;cursor:not-allowed;opacity:.6}.cancel-btn{background-color:#dc3545;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:12px;font-weight:600;padding:6px 12px;transition:all .2s ease}.cancel-btn:hover{background-color:#c82333;transform:translateY(-1px)}.no-data{color:var(--text-secondary);font-style:italic;opacity:.7}.name-inputs{grid-gap:8px;display:grid;gap:8px;grid-template-columns:1fr 1fr}.name-inputs input[placeholder="First Name"],.name-inputs input[placeholder="Last Name"],.name-inputs input[placeholder="Middle Name"],.name-inputs input[placeholder=Suffix]{grid-column:span 1}.step-badge{background-color:#007bff;background-color:var(--primary-color,#007bff);border-radius:12px;color:#fff;display:inline-block;font-size:.85em;font-weight:500;padding:4px 12px;white-space:nowrap}.form-grid{grid-gap:12px;gap:12px;grid-template-columns:1fr;margin-bottom:8px}@media (min-width:1400px){.form-grid{gap:16px;grid-template-columns:1fr 1fr}.form-group:has(textarea){grid-column:span 2}}@media (max-width:768px){.form-grid{gap:10px}.form-grid,.name-inputs{grid-template-columns:1fr}.name-inputs{gap:6px}}.details-section{border-bottom:1px solid #e0e0e0;border-bottom:1px solid var(--border-color,#e0e0e0);margin-bottom:20px;padding-bottom:16px}.details-section:last-child{border-bottom:none;margin-bottom:0}.details-section h3{border-bottom:2px solid #007bff;border-bottom:2px solid var(--primary-color,#007bff);color:#333;color:var(--text-color,#333);display:inline-block;font-size:1.05em;font-weight:600;margin:0 0 12px;padding-bottom:4px}.form-group{gap:6px}.form-group label{align-items:center;color:#555;color:var(--text-color,#555);display:flex;font-size:.9em;gap:6px;margin:0}.field-value{word-wrap:break-word;background-color:#f8f9fa;background-color:var(--card-bg,#f8f9fa);border:1px solid #e0e0e0;border:1px solid var(--border-color,#e0e0e0);border-radius:4px;color:#333;color:var(--text-color,#333);font-size:.9em;line-height:1.4;min-height:16px;overflow-wrap:break-word;padding:8px 10px}.field-value:empty:before{color:#999;color:var(--text-muted,#999);content:"—"}.form-group input,.form-group textarea{background-color:#fff;background-color:var(--input-bg,#fff);border:1px solid #ddd;border:1px solid var(--border-color,#ddd);border-radius:4px;color:#333;color:var(--input-text,#333);font-size:.9em;padding:8px 10px;transition:border-color .2s ease}.form-group input:focus,.form-group textarea:focus{border-color:#007bff;border-color:var(--primary-color,#007bff);box-shadow:0 0 0 2px #007bff40;outline:none}.form-group textarea{font-family:inherit;line-height:1.4;max-height:120px;min-height:60px}.right-details-content{display:flex;flex-direction:column;height:100%}.right-details-header{align-items:center;background:var(--card-bg);border-bottom:1px solid var(--border-color);display:flex;flex-shrink:0;justify-content:space-between;padding:16px}.header-left{align-items:center;display:flex;flex:1 1;gap:12px;min-width:0}.header-left h2{color:var(--text-primary);font-size:1.2em;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-subtitle{color:var(--text-secondary);font-size:.8em;margin:2px 0 0}.header-icon{color:var(--primary-color);flex-shrink:0;font-size:1.2em}.applicant-details .header-actions{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:8px}.action-buttons-group{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.action-btn{font-size:.8em!important;min-width:auto;padding:6px 10px!important;white-space:nowrap}.warning-button{background-color:#f39c12!important;background-color:var(--warning-color,#f39c12)!important;border:1px solid #f39c12!important;border:1px solid var(--warning-color,#f39c12)!important;color:#fff!important;cursor:pointer;transition:all .2s ease}.warning-button:hover{background-color:#e67e22!important;background-color:var(--warning-dark,#e67e22)!important;border-color:#e67e22!important;border-color:var(--warning-dark,#e67e22)!important}.right-details-body{flex:1 1;overflow-y:auto;padding:16px 16px 20px}@media (max-width:1200px){.right-details-body{padding:12px}.details-section{margin-bottom:16px}.details-section h3{font-size:1em;margin-bottom:10px}.form-group label{font-size:.85em}.field-value,.form-group input,.form-group textarea{font-size:.85em;padding:6px 8px}}@media (max-width:1400px){.applicant-details .header-actions{align-items:flex-end;flex-direction:column;gap:6px}.action-buttons-group{gap:4px}.action-btn{font-size:.75em!important;padding:4px 8px!important}}@media (max-width:768px){.applicant-details .header-actions{align-items:stretch;flex-direction:column;width:100%}.action-buttons-group{grid-gap:4px;display:grid;gap:4px;grid-template-columns:1fr 1fr;width:100%}.action-btn{font-size:.7em!important;padding:6px 4px!important}}.roleplay-modal-backdrop{align-items:center;background-color:#00000080;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.roleplay-modal-content{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;box-shadow:0 4px 6px #0000001a;max-height:80vh;max-width:600px;overflow-y:auto;width:90%}.roleplay-modal-header{align-items:center;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:20px}.roleplay-modal-header h3{color:var(--text-primary);font-size:18px;font-weight:600;margin:0}.roleplay-modal-close{align-items:center;background:none;border:none;border-radius:50%;color:var(--text-secondary);cursor:pointer;display:flex;font-size:24px;height:30px;justify-content:center;padding:0;transition:background-color .2s ease;width:30px}.roleplay-modal-close:hover{background-color:var(--hover-color);color:#fff}.roleplay-modal-body{color:var(--text-primary);line-height:1.6;padding:20px}.roleplay-modal-body h4{color:var(--text-primary);font-size:16px;font-weight:600;margin-bottom:10px;margin-top:20px}.roleplay-modal-body p{margin-bottom:15px}.roleplay-modal-body ul{margin-bottom:15px;margin-left:20px}.roleplay-modal-body li{margin-bottom:8px}@media (max-width:768px){.roleplay-modal-content{max-height:90vh;width:95%}.roleplay-modal-body,.roleplay-modal-header{padding:15px}}@keyframes atlas-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loading-spinner{animation:atlas-spin .8s linear infinite;display:inline-block}.loading-spinner-container{align-items:center;display:flex;flex-direction:column;gap:.75rem;justify-content:center}.loading-spinner-sm{font-size:.875rem;height:.875rem;width:.875rem}.loading-spinner-md{font-size:1.125rem;height:1.125rem;width:1.125rem}.loading-spinner-lg{font-size:1.5rem;height:1.5rem;width:1.5rem}.loading-spinner-xl{font-size:2rem;height:2rem;width:2rem}.loading-spinner-primary{color:#007bff;color:var(--accent-color,#007bff)}.loading-spinner-secondary{color:#6c757d;color:var(--text-secondary,#6c757d)}.loading-spinner-muted{color:#999;color:var(--text-muted,#999)}.loading-spinner-white{color:#fff}.loading-spinner-text{color:var(--text-secondary);font-size:.875rem;font-weight:500;margin-top:.25rem;text-align:center}.loading-spinner-inline{margin:0 .25rem;vertical-align:middle}.loading-spinner-button{margin-right:.5rem;vertical-align:middle}.loading-spinner-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background-color:#fffc;background-color:rgba(var(--bg-primary-rgb,255,255,255),.8);border-radius:inherit;position:absolute;z-index:1000}.loading-spinner-fullscreen,.loading-spinner-overlay{align-items:center;bottom:0;display:flex;justify-content:center;left:0;right:0;top:0}.loading-spinner-fullscreen{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#ffffffe6;background-color:rgba(var(--bg-primary-rgb,255,255,255),.9);position:fixed;z-index:9999}.loading-spinner-fullscreen .loading-spinner-text{font-size:1rem;margin-top:1rem}[data-theme=dark] .loading-spinner-overlay{background-color:#121212cc;background-color:rgba(var(--bg-primary-rgb,18,18,18),.8)}[data-theme=dark] .loading-spinner-fullscreen{background-color:#121212e6;background-color:rgba(var(--bg-primary-rgb,18,18,18),.9)}@media (prefers-reduced-motion:reduce){.loading-spinner{animation-duration:2s}}@media (prefers-contrast:high){.loading-spinner-primary,.loading-spinner-secondary{color:var(--text-primary)}}.loading-spinner-container:focus{border-radius:4px;outline:2px solid var(--accent-color);outline-offset:2px}.data-table .loading-spinner-container{padding:2rem 1rem}.modal .loading-spinner-container{padding:1.5rem}.spinner{animation:atlas-spin .8s linear infinite!important}.loading-state{color:var(--text-secondary);flex-direction:column;padding:2rem 1rem;text-align:center}.loading-state .loading-spinner{margin-bottom:1rem}.loading-state p{font-size:.875rem;margin:.5rem 0 0}.checklist-container{margin:0 auto;max-width:1200px;padding:20px}.agent-selection{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;box-shadow:0 2px 4px var(--shadow-color);margin-bottom:20px;padding:20px}.agent-selection label{color:var(--text-primary);display:block;font-size:.875rem;font-weight:700;margin-bottom:8px}.agent-selection select{background-color:var(--input-bg);border:2px solid var(--input-border);border-radius:4px;color:var(--input-text);font-size:.875rem;max-width:400px;padding:6px 8px;transition:border-color .2s ease-in-out;width:100%}.agent-selection select:focus{border-color:var(--hover-color);box-shadow:0 0 5px var(--shadow-color);outline:none}.release-schedule-info{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;box-shadow:0 2px 4px var(--shadow-color);margin-bottom:20px;padding:20px}.scheduled-info{color:var(--text-primary);line-height:1.6}.scheduled-info p{margin:8px 0}.scheduled-info a{color:var(--hover-color);font-weight:700;text-decoration:none}.scheduled-info a:hover{text-decoration:underline}.locked-link,.unlocked-link{align-items:center;border:2px solid var(--button-primary-bg);border-radius:4px;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:700;gap:8px;outline:none;padding:8px 16px;text-decoration:none;transition:all .2s ease}.unlocked-link{background-color:var(--button-primary-bg);color:var(--button-primary-text)}.unlocked-link:hover{opacity:.9}.locked-link{background-color:var(--button-secondary-bg);color:var(--button-secondary-text);cursor:not-allowed;opacity:.7}.full-release-message{background-color:#fff3cd;border-left:4px solid #ffc107;border-radius:4px;color:var(--text-primary);font-style:italic;margin:0;padding:15px}.progress-bar-container{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;box-shadow:0 2px 4px var(--shadow-color);margin-bottom:20px;padding:20px;text-align:center}.progress-percentage{color:var(--text-primary);font-size:1.5rem;font-weight:700;margin-bottom:15px}.checklist-progress-bar{background-color:var(--bg-secondary);border:1px solid var(--border-color);border-radius:4px;box-shadow:inset 0 1px 2px var(--shadow-color);height:20px;overflow:hidden;width:100%}.checklist-progress-bar-fill{background-color:var(--button-primary-bg);border-radius:4px;height:100%;transition:width .3s ease}.loading-state{align-items:center;background-color:var(--card-bg);border-radius:8px;box-shadow:0 2px 4px var(--shadow-color);display:flex;justify-content:center;padding:30px}.loading-state p{color:var(--text-secondary);font-size:1rem;font-weight:500}.progress-visualization{align-items:center;display:flex;gap:8px}.increment-button{align-items:center;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);cursor:pointer;display:flex;font-size:14px;font-weight:700;height:24px;justify-content:center;transition:background-color .2s ease;width:24px}.increment-button:hover{background:var(--bg-secondary)}.increment-button:active{background:var(--bg-tertiary)}@media (max-width:768px){.checklist-container{padding:10px}.agent-selection,.progress-bar-container,.release-schedule-info{margin-bottom:15px;padding:15px}.progress-percentage{font-size:1.25rem}.checklist-progress-bar{height:16px}.agent-selection select{max-width:100%}.progress-visualization{gap:6px}.increment-button{font-size:12px;height:20px;width:20px}}@media (max-width:480px){.checklist-container{padding:5px}.agent-selection,.progress-bar-container,.release-schedule-info{padding:10px}.progress-percentage{font-size:1.125rem}.checklist-progress-bar{height:14px}}.tabs-wrapper{width:100%}.tabs-container{display:flex;margin-bottom:0}.tab-button{align-items:center;border:none;cursor:pointer;display:flex;gap:8px;overflow:hidden;text-overflow:ellipsis;transition:all .2s ease;white-space:nowrap}.tab-button:disabled{cursor:not-allowed;opacity:.6}.tab-icon{font-size:16px}.tab-badge{background-color:#dc3545;border-radius:12px;color:#fff;font-size:11px;font-weight:600;min-width:18px;padding:2px 6px;text-align:center}.tabs-default{background-color:var(--sidebar-bg);border:1px solid var(--border-color);border-bottom:none;border-radius:8px 8px 0 0;overflow:hidden}.tab-button-default{background-color:initial;border-right:1px solid var(--border-color);color:var(--text-secondary);flex:1 1;font-size:14px;font-weight:500;padding:12px 20px}.tab-button-default:last-child{border-right:none}.tab-button-default:hover{background-color:var(--sidebar-hover);color:var(--text-primary)}.tab-button-default.active{border-bottom:2px solid var(--hover-color);color:var(--text-primary);font-weight:600}.tab-button-default.active,.tab-button-default.active:hover,.tab-content-default{background-color:var(--card-bg)}.tab-content-default{border:1px solid var(--border-color);border-radius:0 0 8px 8px;min-height:400px;padding:20px}.tabs-modern{background-color:initial;border-bottom:1px solid var(--border-color);gap:2px}.tab-button-modern{background-color:initial;border-radius:8px 8px 0 0;color:var(--text-secondary);font-size:14px;font-weight:500;margin-bottom:-1px;padding:12px 24px}.tab-button-modern:hover{background-color:var(--sidebar-hover);color:var(--text-primary)}.tab-button-modern.active{background-color:var(--card-bg);border-bottom:1px solid var(--border-color);border:1px solid var(--border-color);border-bottom-color:var(--card-bg);color:var(--text-primary);font-weight:600}.tab-content-modern{background-color:var(--card-bg);min-height:300px;padding:24px}.tabs-minimal{background-color:initial;border-bottom:2px solid var(--border-color);gap:0}.tab-button-minimal{background-color:initial;border-bottom:2px solid #0000;color:var(--text-secondary);font-size:14px;font-weight:500;margin-bottom:-2px;padding:12px 16px}.tab-button-minimal:hover{border-bottom-color:var(--border-color);color:var(--text-primary)}.tab-button-minimal.active{border-bottom-color:var(--hover-color);color:var(--text-primary);font-weight:600}.tab-content-minimal{background-color:initial;min-height:200px;padding:20px 0}.tabs-pills{background-color:var(--sidebar-bg);border-radius:8px;gap:4px;padding:4px}.tab-button-pills{background-color:initial;border-radius:6px;color:var(--text-secondary);font-size:14px;font-weight:500;padding:10px 20px}.tab-button-pills:hover{background-color:var(--sidebar-hover);color:var(--text-primary)}.tab-button-pills.active{background-color:var(--card-bg);box-shadow:0 2px 4px #0000001a;color:var(--text-primary);font-weight:600}.tab-content-pills{background-color:initial;min-height:200px;padding:20px 0}@media (max-width:768px){.tabs-default{border:1px solid var(--border-color);border-radius:8px;flex-wrap:wrap}.tab-button-default{border-bottom:1px solid var(--border-color);border-right:none;flex:none;font-size:12px;min-width:120px;padding:10px 15px}.tab-button-default:last-child{border-bottom:none}.tab-button-default.active{border-bottom:2px solid var(--hover-color)}.tab-content-default{min-height:300px;padding:16px}.tab-button-minimal,.tab-button-modern,.tab-button-pills{font-size:12px;padding:10px 16px}.tab-content-minimal,.tab-content-modern,.tab-content-pills{min-height:250px;padding:16px 0}}.agent-progress-table-container{max-width:1200px;width:100%}.search-bar{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;margin:2rem 0;padding:1rem}.search-bar .form-control{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:6px;color:var(--input-text);display:block;font-size:14px;margin:0 auto;max-width:400px;padding:12px 16px;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.search-bar .form-control:focus{border-color:var(--accent-color);box-shadow:0 0 0 3px rgba(var(--accent-color-rgb),.1);outline:none}.tabs-wrapper{margin-bottom:0}.tab-content-modern{border-radius:0 0 8px 8px;min-height:auto;padding:0}.tab-content-modern .data-table-container{margin-top:0}.tab-content-modern .data-table{border-top-left-radius:0;border-top-right-radius:0}.table-header{align-items:center;background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;display:flex;justify-content:space-between;margin-bottom:20px;padding:15px 20px}.search-container{flex:1 1;max-width:300px}.search-input{padding:8px 12px}.mass-action-controls{align-items:center;display:flex;gap:10px}.mass-action-controls span{color:var(--text-secondary);font-size:14px}.mass-action-button{border:none;border-radius:4px;cursor:pointer;font-size:12px;font-weight:500;padding:6px 12px;transition:all .2s ease}.mass-action-button.pass-button{background-color:#28a745;color:#fff}.mass-action-button.fail-button{background-color:#dc3545;color:#fff}.mass-action-button:hover{opacity:.8}.schedule-controls{align-items:center;background-color:var(--sidebar-bg);border-radius:6px;display:flex;gap:10px;margin-bottom:20px;padding:15px}.schedule-controls input[type=date],.schedule-controls input[type=time]{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--input-text);font-size:14px;padding:8px 12px}.schedule-button{background-color:var(--hover-color);border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s ease}.schedule-button:hover{background-color:var(--hover-color);opacity:.8}.schedule-button:disabled{background-color:var(--border-color);color:var(--text-secondary);cursor:not-allowed}.progress-table{background-color:var(--card-bg);border-collapse:collapse;width:100%}.progress-table th{background-color:var(--sidebar-bg);border-bottom:1px solid var(--border-color);color:var(--text-primary);cursor:pointer;font-weight:600;padding:12px;text-align:left;-webkit-user-select:none;user-select:none}.progress-table th:hover{background-color:var(--sidebar-hover)}.progress-table td{border-bottom:1px solid var(--border-color);color:var(--text-primary);padding:12px}.progress-table tbody tr:hover{background-color:var(--sidebar-hover)}.progress-cell{align-items:center;display:flex;gap:10px}.progress-bar-small{background-color:var(--border-color);border-radius:4px;height:8px;overflow:hidden;width:100px}.progress-bar-fill-small{background-color:var(--hover-color);height:100%;transition:width .3s ease}.action-button{border:none;border-radius:4px;cursor:pointer;font-size:12px;font-weight:500;padding:4px 8px;transition:all .2s ease}.action-button.pass-button{background-color:#28a745;color:#fff}.action-button.fail-button{background-color:#dc3545;color:#fff}.action-button.confirm-button{background-color:var(--hover-color);color:#fff}.action-button.cancel-button{background-color:var(--border-color);color:var(--text-secondary)}.action-button:hover{opacity:.8}.action-confirm{display:flex;gap:6px}.confirmation-modal{align-items:center;background-color:#00000080;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.modal-content{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;max-width:400px;padding:24px}.modal-content h3{color:var(--text-primary);font-size:18px;margin:0 0 12px}.modal-content p{color:var(--text-secondary);line-height:1.5;margin:0 0 20px}.modal-actions{display:flex;gap:12px;justify-content:flex-end}.confirm-button{background-color:var(--hover-color);border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s ease}.confirm-button:hover{background-color:var(--hover-color);opacity:.8}.cancel-button{background-color:var(--border-color);border:none;border-radius:4px;color:var(--text-secondary);cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s ease}.cancel-button:hover{background-color:var(--sidebar-hover)}.loading{align-items:center;color:var(--text-secondary);display:flex;font-size:16px;justify-content:center;padding:40px}@media (max-width:768px){.table-header{align-items:stretch;flex-direction:column;gap:15px}.search-container{max-width:none}.mass-action-controls{justify-content:space-between}.schedule-controls{flex-direction:column;gap:10px}.schedule-controls input[type=date],.schedule-controls input[type=time]{width:100%}.progress-table{font-size:14px}.progress-table td,.progress-table th{padding:8px}.progress-bar-small{width:80px}.action-buttons{flex-direction:column;gap:4px}.modal-content{margin:20px}.modal-actions{flex-direction:column;gap:10px}}.release-container{max-width:1200px;width:100%}.release .tabs{background:#fff;background:var(--card-bg,#fff);border:1px solid #d1d5db;border:1px solid var(--border-color,#d1d5db);border-radius:6px;display:flex;gap:0;margin-bottom:20px;padding:4px}.release .tabs input[type=radio]{display:none}.release .tabs label{background:#0000;border:none;border-radius:4px;color:#666;color:var(--text-secondary,#666);cursor:pointer;flex:1 1;font-size:14px;font-weight:500;padding:10px 20px;text-align:center;transition:all .2s ease;-webkit-user-select:none;user-select:none}.release .tabs input[type=radio]:checked+label{background:#007bff;background:var(--button-primary-bg,#007bff);color:#fff;font-weight:600}.release .tabs label:hover{background:#f5f5f5;background:var(--sidebar-hover,#f5f5f5);color:#333;color:var(--text-primary,#333)}.release .tabs input[type=radio]:checked+label:hover{background:#0056b3;background:var(--hover-color,#0056b3);color:#fff}[data-theme=dark] .release .tabs{background:#1f2937;background:var(--card-bg,#1f2937);border-color:#374151;border-color:var(--border-color,#374151)}[data-theme=dark] .release .tabs label{color:#9ca3af;color:var(--text-secondary,#9ca3af)}[data-theme=dark] .release .tabs label:hover{background:#374151;background:var(--sidebar-hover,#374151);color:#f9fafb;color:var(--text-primary,#f9fafb)}[data-theme=dark] .release .tabs input[type=radio]:checked+label{background:#3b82f6;background:var(--button-primary-bg,#3b82f6);color:#fff}[data-theme=dark] .release .tabs input[type=radio]:checked+label:hover{background:#2563eb;background:var(--hover-color,#2563eb);color:#fff}.release-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.release-view-toggle{align-items:center;display:flex;gap:20px}.release-radio-label{align-items:center;color:var(--text-primary);cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px}.release-radio-label input[type=radio]{accent-color:var(--hover-color);height:18px;width:18px}.release-content{width:100%}@media (max-width:768px){.release-header{align-items:flex-start;flex-direction:column;gap:15px}.release-view-toggle{gap:15px}.release-radio-label{font-size:13px}.release .tabs{margin-bottom:15px}.release .tabs label{font-size:13px;padding:8px 16px}}.scorecard-container{background:var(--bg-primary);border-radius:8px;display:flex;flex-direction:column;gap:1.5rem;min-height:100vh;padding:1.5rem}.scorecard-header{margin-bottom:1.5rem;text-align:center}.scorecard-header h2{color:var(--text-primary);font-size:1.8rem;font-weight:600;margin-bottom:.5rem}.scorecard-header p{color:var(--text-secondary);font-size:1rem;margin:0}.scorecard-controls{align-items:center;background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem;padding:1rem}.mga-dropdown,.rga-dropdown{align-items:center;display:flex;gap:var(--spacing-sm)}.mga-dropdown label,.rga-dropdown label{color:var(--text-primary);font-weight:500;white-space:nowrap}.mga-dropdown select,.rga-dropdown select{background:var(--input-bg);border:1px solid var(--input-border);border-radius:4px;color:var(--input-text);font-size:.9rem;min-width:200px;padding:.5rem;transition:border-color .2s ease}.mga-dropdown select:hover,.rga-dropdown select:hover{border-color:var(--hover-color)}.mga-dropdown select:focus,.rga-dropdown select:focus{border-color:var(--hover-color);box-shadow:0 0 0 2px #07c3;outline:none}.year-navigation{align-items:center;display:flex;gap:var(--spacing-sm)}.year-nav-btn{background:var(--color-primary);border:none;border-radius:var(--radius-sm);color:#fff;cursor:pointer;font-size:.9rem;padding:var(--spacing-sm) var(--spacing-md);transition:background-color .2s ease,transform .1s ease}.year-nav-btn:hover{background:var(--color-primary-dark);transform:translateY(-1px)}.year-nav-btn:active{transform:translateY(0)}.current-year{border-radius:var(--radius-sm);color:var(--color-text-primary);font-size:1.1rem;font-weight:600;padding:var(--spacing-sm) var(--spacing-md)}.alp-tabs,.current-year{background:var(--color-background);border:1px solid var(--color-border)}.alp-tabs{border-radius:var(--radius-sm);display:flex;gap:var(--spacing-xs);padding:2px}.alp-tabs input[type=radio]{display:none}.alp-tabs label{background:#0000;border:none;border-radius:var(--radius-sm);color:var(--color-text-secondary);cursor:pointer;font-size:.9rem;padding:var(--spacing-sm) var(--spacing-md);transition:all .2s ease;-webkit-user-select:none;user-select:none}.alp-tabs input[type=radio]:checked+label{background:var(--color-primary);color:#fff;font-weight:500}.alp-tabs label:hover{background:var(--color-surface-hover);color:var(--color-text-primary)}.alp-tabs input[type=radio]:checked+label:hover{background:var(--color-primary-dark);color:#fff}.export-btn{background:var(--color-success);border:none;border-radius:var(--radius-sm);color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;padding:var(--spacing-sm) var(--spacing-md);transition:background-color .2s ease,transform .1s ease}.export-btn:hover{background:var(--color-success-dark);transform:translateY(-1px)}.export-btn:active{transform:translateY(0)}.scorecard-rga-container,.scorecard-sga-container,.scorecard-table-container{width:100%}.scorecard-tables{display:flex;flex-direction:column;gap:var(--spacing-xl)}.scorecard-section{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:var(--spacing-lg)}.scorecard-section h3{align-items:center;color:var(--color-text-primary);display:flex;font-size:1.3rem;font-weight:600;gap:var(--spacing-sm);margin:0 0 var(--spacing-md) 0}.scorecard-data-table{overflow-x:auto;width:100%}.scorecard-data-table table{border-collapse:collapse;font-size:.9rem;width:100%}.scorecard-data-table th{background:var(--color-primary);border:1px solid var(--color-primary-dark);color:#fff;font-weight:600;padding:var(--spacing-sm);position:-webkit-sticky;position:sticky;text-align:center;top:0;z-index:10}.scorecard-data-table td{background:var(--color-background);border:1px solid var(--color-border);padding:var(--spacing-sm);text-align:center;transition:background-color .2s ease}.scorecard-data-table tr:hover td{background:var(--color-surface-hover)}.quarter-column{background:var(--color-warning-light)!important;border-left:2px solid var(--color-warning)!important;border-right:2px solid var(--color-warning)!important;font-weight:600}.year-total-column{background:var(--color-success-light)!important;border-left:3px solid var(--color-success)!important;border-right:3px solid var(--color-success)!important;font-weight:700}.scorecard-summary{display:flex;flex-wrap:wrap;gap:var(--spacing-md);margin-bottom:var(--spacing-lg)}.summary-item{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);flex:1 1;min-width:200px;padding:var(--spacing-md);text-align:center}.summary-label{color:var(--color-text-secondary);display:block;font-size:.9rem;font-weight:500;margin-bottom:var(--spacing-xs)}.summary-value{color:var(--color-text-primary);display:block;font-size:1.5rem;font-weight:700}.scorecard-loading{align-items:center;display:flex;flex-direction:column;gap:var(--spacing-md);justify-content:center;min-height:200px}.loading-spinner{border-top:4px solid var(--color-border);border:4px solid var(--color-border);border-top-color:var(--color-primary)}.scorecard-loading p{color:var(--color-text-secondary);font-size:1rem;margin:0}.scorecard-error{align-items:center;background:var(--color-error-light);border:1px solid var(--color-error);border-radius:var(--radius-md);display:flex;flex-direction:column;gap:var(--spacing-md);justify-content:center;min-height:200px;padding:var(--spacing-lg);text-align:center}.scorecard-error p{color:var(--color-error-dark);font-size:1rem;font-weight:500;margin:0}.scorecard-error button{background:var(--color-error);border:none;border-radius:var(--radius-sm);color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;padding:var(--spacing-sm) var(--spacing-md);transition:background-color .2s ease}.scorecard-error button:hover{background:var(--color-error-dark)}@media (max-width:1200px){.scorecard-controls{align-items:stretch;flex-direction:column;gap:var(--spacing-md)}.mga-dropdown,.rga-dropdown,.year-navigation{justify-content:center}}@media (max-width:768px){.scorecard-container{padding:var(--spacing-md)}.scorecard-controls{padding:var(--spacing-sm)}.mga-dropdown select,.rga-dropdown select{font-size:.8rem;min-width:150px}.year-nav-btn{font-size:.8rem}.current-year,.year-nav-btn{padding:var(--spacing-xs) var(--spacing-sm)}.current-year{font-size:1rem}.scorecard-data-table{font-size:.8rem}.scorecard-data-table td,.scorecard-data-table th{padding:var(--spacing-xs)}.summary-item{min-width:150px}.summary-value{font-size:1.2rem}}@media (max-width:480px){.scorecard-summary{flex-direction:column}.summary-item{min-width:100%}.alp-tabs{justify-content:center;width:100%}.alp-tabs label{flex:1 1;text-align:center}}[data-theme=dark] .scorecard-container{background:var(--bg-primary)}[data-theme=dark] .scorecard-controls,[data-theme=dark] .scorecard-section{background:var(--card-bg);border-color:var(--border-color)}[data-theme=dark] .mga-dropdown select,[data-theme=dark] .rga-dropdown select{background:var(--input-bg);border-color:var(--input-border);color:var(--input-text)}[data-theme=dark] .current-year{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .scorecard-data-table td{background:var(--card-bg);border-color:var(--border-color)}[data-theme=dark] .scorecard-data-table tr:hover td{background:var(--sidebar-hover)}[data-theme=dark] .summary-item{background:var(--card-bg);border-color:var(--border-color)}.atlas-scorecard{font-family:Arial,sans-serif;margin-top:20px}.atlas-scorecard-loading{align-items:center;color:var(--text-secondary);display:flex;flex-direction:column;gap:1rem;justify-content:center;min-height:200px}.atlas-scorecard-controls{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;flex-wrap:wrap;gap:20px;margin:20px 0;padding:15px}.atlas-scorecard-controls-left{gap:20px}.atlas-scorecard-controls-right{gap:8px;margin-left:auto}.atlas-scorecard-mga-dropdown{align-items:center;display:flex;gap:10px}.atlas-scorecard-mga-dropdown label{color:var(--text-primary);font-weight:500}.atlas-scorecard-mga-dropdown select{background:var(--input-bg);border:1px solid var(--input-border);border-radius:4px;color:var(--input-text);font-size:14px;min-width:200px;padding:8px 12px}.atlas-scorecard-year-navigation{align-items:center;display:flex;gap:10px}.atlas-scorecard-year-nav-btn{background:var(--button-primary-bg);border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:16px;min-width:40px;padding:8px 12px;transition:background-color .2s ease,transform .1s ease}.atlas-scorecard-year-nav-btn:hover:not(:disabled){background:var(--hover-color);transform:translateY(-1px)}.atlas-scorecard-year-nav-btn:active{transform:translateY(0)}.atlas-scorecard-year-nav-btn:disabled{background:var(--border-color);cursor:not-allowed;opacity:.6}.atlas-scorecard-year-display{background:var(--input-bg);border:1px solid var(--input-border);border-radius:4px;color:var(--text-primary);font-size:16px;font-weight:600;min-width:120px;padding:8px 16px;text-align:center}.atlas-scorecard-rga-container,.atlas-scorecard-sga-container,.atlas-scorecard-table-container{width:100%}.atlas-scorecard-tables{display:flex;flex-direction:column;gap:2rem;gap:var(--spacing-xl,2rem)}.atlas-scorecard-section{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;padding:1.5rem}.atlas-scorecard-section h3{align-items:center;color:var(--text-primary);display:flex;font-size:1.3rem;font-weight:600;gap:.5rem;margin:0 0 1rem}.atlas-scorecard-data-table{overflow-x:auto;width:100%}.atlas-scorecard-rga-dropdown{align-items:center;display:flex;gap:10px}.atlas-scorecard-rga-dropdown label{color:var(--text-primary);font-weight:500}.atlas-scorecard-rga-dropdown select{background:var(--input-bg);border:1px solid var(--input-border);border-radius:4px;color:var(--input-text);font-size:14px;min-width:200px;padding:8px 12px}.atlas-scorecard-summary{display:flex;flex-wrap:wrap;gap:1rem;gap:var(--spacing-md,1rem);margin-bottom:1.5rem;margin-bottom:var(--spacing-lg,1.5rem)}.atlas-scorecard-breakdown-table,.atlas-scorecard-breakdown-tables,.atlas-scorecard-rga-table{margin-top:1.5rem;margin-top:var(--spacing-lg,1.5rem)}.atlas-scorecard-breakdown-table h3,.atlas-scorecard-rga-table h3{color:#333;color:var(--color-text-primary,#333);font-size:1.2rem;font-weight:600;margin-bottom:1rem;margin-bottom:var(--spacing-md,1rem)}.atlas-scorecard-breakdown-tables{display:flex;flex-direction:column;gap:2rem;gap:var(--spacing-xl,2rem)}.atlas-scorecard-table-section{background:#f8f9fa;background:var(--color-surface,#f8f9fa);border:1px solid #e1e5e9;border:1px solid var(--color-border,#e1e5e9);border-radius:8px;border-radius:var(--radius-md,8px);padding:1.5rem;padding:var(--spacing-lg,1.5rem)}.atlas-scorecard-table-section h4{color:var(--text-primary);font-size:1.3rem;font-weight:600;margin:0 0 1rem;text-align:center}.atlas-scorecard-tabs{background:var(--input-bg);border:1px solid var(--border-color);border-radius:6px;display:flex;gap:5px;margin:20px 15px;padding:5px}.atlas-scorecard-tabs input[type=radio]{display:none}.atlas-scorecard-tabs label{background:#0000;border:none;border-radius:4px;color:var(--text-secondary);cursor:pointer;font-size:14px;padding:10px 20px;transition:all .2s ease;-webkit-user-select:none;user-select:none}.atlas-scorecard-tabs input[type=radio]:checked+label{background:var(--button-primary-bg);color:#fff;font-weight:500}.atlas-scorecard-tabs label:hover{background:var(--sidebar-hover);color:var(--text-primary)}.atlas-scorecard-tabs input[type=radio]:checked+label:hover{background:var(--hover-color);color:#fff}.atlas-scorecard-table{border-collapse:collapse;border-collapse:initial;border-spacing:2px;box-shadow:none;font-family:Arial,sans-serif;margin-top:20px;width:100%}.atlas-scorecard-table td,.atlas-scorecard-table th{border:1px solid #7a7a7a;padding:4px;text-align:left}.atlas-scorecard-table th{background-color:#00558c;border:1px solid #0000;color:#fff;font-size:10px;font-weight:700;overflow:hidden;position:-webkit-sticky;position:sticky;text-align:center;white-space:nowrap;z-index:2}.atlas-scorecard-table .atlas-scorecard-second-column{left:50px;z-index:2}.atlas-scorecard-table .atlas-scorecard-day-header{position:-webkit-sticky;position:sticky;top:0;z-index:3}.atlas-scorecard-table .atlas-scorecard-first-row{top:0;z-index:4}.atlas-scorecard-table .atlas-scorecard-second-row{top:20px;z-index:5}.atlas-scorecard-table td{background-color:#fff;border:2px solid #d1d5db;border-radius:.375rem;font-size:10px;padding:3px;text-align:center}.atlas-scorecard-table input{background-color:initial;border:none;text-align:center;width:100%}.atlas-scorecard-table .atlas-scorecard-totals-row td{background-color:#f0f0f0;color:#333;font-weight:700;text-align:center}.atlas-scorecard-table .atlas-scorecard-first-column{background-color:#c3d4d2;border:none;border-radius:0;color:#fff;font-weight:700;left:0;position:-webkit-sticky;position:sticky;white-space:nowrap;z-index:1}.atlas-scorecard-table button{background-color:#fff;border:none;border-radius:4px;cursor:pointer;margin-left:2px}.atlas-scorecard-table .atlas-scorecard-quarter-column{background-color:#b5d0ea;font-weight:700}.atlas-scorecard-table .atlas-scorecard-year-total-column{background-color:#f4eb8c}.atlas-scorecard-table .atlas-scorecard-growth-row td{background-color:#e9f5d6;font-weight:700;text-align:center}.atlas-scorecard-tooltip{background-color:#fff;border:1px solid #ccc;border-radius:5px;box-shadow:0 4px 6px #0000001a;padding:8px;position:absolute;z-index:1000}.atlas-scorecard-table td.atlas-scorecard-has-data{cursor:pointer;position:relative}.atlas-scorecard-table td.atlas-scorecard-has-data:before{border-right:10px solid #0000;border-top:10px solid #939393;border-top-left-radius:5px;content:"";height:0;left:0;position:absolute;top:0;width:0}.atlas-scorecard-sga-view{margin-top:20px}.atlas-scorecard-bargraph-container{background:#f8f9fa;background:var(--color-surface,#f8f9fa);border:1px solid #e1e5e9;border:1px solid var(--color-border,#e1e5e9);border-radius:8px;margin-top:30px;padding:20px}.atlas-scorecard-bargraph-container h2{color:#333;color:var(--color-text-primary,#333);margin-bottom:20px;text-align:center}.atlas-scorecard-bargraph{display:flex;flex-direction:column;gap:30px}.atlas-scorecard-bargraph h3{color:#333;color:var(--color-text-primary,#333);margin-bottom:15px;text-align:center}@media (max-width:768px){.atlas-scorecard-table .atlas-scorecard-first-column,.atlas-scorecard-table td,.atlas-scorecard-table th{font-size:10px}.atlas-scorecard-tabs{flex-direction:column;gap:5px}.atlas-scorecard-tabs label{text-align:center}.atlas-scorecard-controls{gap:15px}.atlas-scorecard-controls,.atlas-scorecard-mga-dropdown,.atlas-scorecard-rga-dropdown{align-items:stretch;flex-direction:column}.atlas-scorecard-mga-dropdown select,.atlas-scorecard-rga-dropdown select{min-width:100%}.atlas-scorecard-year-navigation{justify-content:center}.atlas-scorecard-year-nav-btn{font-size:14px;padding:6px 10px}.atlas-scorecard-year-display{font-size:14px;min-width:100px;padding:6px 12px}.atlas-scorecard-bargraph{gap:20px}.atlas-scorecard-breakdown-tables{gap:1.5rem;gap:var(--spacing-lg,1.5rem)}.atlas-scorecard-table-section{padding:1rem;padding:var(--spacing-md,1rem)}.atlas-scorecard-table-section h4{font-size:1.1rem}}.atlas-scorecard-custom-table-container{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin:20px 0;min-width:100%;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-color:#2e5f7e #e6f3ff;scrollbar-width:thin}.atlas-scorecard-custom-table-container::-webkit-scrollbar{height:8px}.atlas-scorecard-custom-table-container::-webkit-scrollbar-track{background:#e6f3ff;border-radius:4px}.atlas-scorecard-custom-table-container::-webkit-scrollbar-thumb{background:#2e5f7e;border-radius:4px}.atlas-scorecard-custom-table-container::-webkit-scrollbar-thumb:hover{background:#1e4a61}.atlas-scorecard-custom-table{border-collapse:initial;border-spacing:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:13px;min-width:1000px;width:100%}.atlas-scorecard-custom-table thead tr{background:#2e5f7e;color:#fff}.atlas-scorecard-custom-table thead th{border-right:1px solid #1e4a61;font-size:12px;font-weight:600;padding:12px 8px;text-align:center;white-space:nowrap}.atlas-scorecard-custom-table thead th:last-child{border-right:none}.atlas-scorecard-custom-table tbody tr{background:#fff;border-bottom:1px solid #e5e7eb}.atlas-scorecard-custom-table tbody tr:nth-child(2n){background:#f9fafb}.atlas-scorecard-custom-table tbody tr:hover{background:#f3f4f6}.atlas-scorecard-custom-table tbody td{border-right:1px solid #e5e7eb;font-size:13px;padding:10px 8px;text-align:center}.atlas-scorecard-custom-table tbody td:last-child{border-right:none}.atlas-scorecard-custom-table tbody td.atlas-scorecard-metric-cell{background:#2e5f7e;color:#fff;font-weight:600;padding-left:12px;text-align:left}.atlas-scorecard-custom-table tbody td.atlas-scorecard-year-cell{background:#2e5f7e;color:#fff;font-weight:500;text-align:center}.atlas-scorecard-custom-table tbody td.atlas-scorecard-quarter-cell,.atlas-scorecard-custom-table thead th.atlas-scorecard-quarter-header{background:#e6f3ff;color:#1f2937}.atlas-scorecard-custom-table thead th.atlas-scorecard-quarter-header{background:#b8d4ea;color:#1f2937;font-weight:700}.atlas-scorecard-custom-table thead th.atlas-scorecard-ytd-header{background:#f59e0b;color:#fff;font-weight:700}.atlas-scorecard-custom-table tbody td.atlas-scorecard-ytd-cell{background:#fef3c7;color:#92400e;font-weight:600}.atlas-scorecard-custom-table tbody tr.atlas-scorecard-growth-row{background:#f0f9ff}.atlas-scorecard-custom-table tbody tr.atlas-scorecard-growth-row:hover{background:#e0f2fe}.atlas-scorecard-custom-table tbody tr.atlas-scorecard-percentage-row{background:#fefce8}.atlas-scorecard-custom-table tbody tr.atlas-scorecard-percentage-row:hover{background:#fef9e7}.atlas-scorecard-section{margin-bottom:30px}.atlas-scorecard-section h4{border-bottom:2px solid #e6f3ff;color:#2e5f7e;font-size:16px;font-weight:600;margin:20px 0 10px;padding-bottom:5px}@media (max-width:768px){.atlas-scorecard-custom-table{font-size:11px;min-width:800px}.atlas-scorecard-custom-table tbody td,.atlas-scorecard-custom-table thead th{padding:6px 4px}.atlas-scorecard-section{margin-bottom:20px}.atlas-scorecard-section h4{font-size:14px}.atlas-scorecard-custom-table-container{margin:15px 0}.atlas-scorecard-custom-table-container::-webkit-scrollbar{height:6px}}.atlas-scorecard-growth-positive{color:#059669!important;font-weight:700}.atlas-scorecard-growth-negative{color:#dc2626!important;font-weight:700}.atlas-scorecard-growth-neutral{color:var(--text-secondary)!important;font-weight:700}[data-theme=dark] .atlas-scorecard-growth-positive{color:#10b981!important}[data-theme=dark] .atlas-scorecard-growth-negative{color:#ef4444!important}[data-theme=dark] .atlas-scorecard-growth-neutral{color:var(--text-secondary)!important}[data-theme=dark] .atlas-scorecard{background:var(--bg-primary);color:var(--text-primary)}[data-theme=dark] .atlas-scorecard-controls,[data-theme=dark] .atlas-scorecard-section{background:var(--card-bg);border-color:var(--border-color)}[data-theme=dark] .atlas-scorecard-section h3,[data-theme=dark] .atlas-scorecard-section h4{color:var(--text-primary)}.atlas-scorecard-pre-start-cell{background-color:#f3f4f6!important;color:#6b7280!important;font-style:italic;position:relative}.atlas-scorecard-pre-start-indicator{color:#9ca3af;font-size:.75em;font-weight:400}[data-theme=dark] .atlas-scorecard-pre-start-cell{background-color:#374151!important;color:#9ca3af!important}[data-theme=dark] .atlas-scorecard-pre-start-indicator{color:#6b7280}[data-theme=dark] .atlas-scorecard-mga-dropdown select,[data-theme=dark] .atlas-scorecard-rga-dropdown select{background:var(--input-bg);border-color:var(--input-border);color:var(--input-text)}[data-theme=dark] .atlas-scorecard-mga-dropdown label,[data-theme=dark] .atlas-scorecard-rga-dropdown label{color:var(--text-primary)}[data-theme=dark] .atlas-scorecard-year-display{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .atlas-scorecard-tabs{background:var(--input-bg);border-color:var(--border-color)}[data-theme=dark] .atlas-scorecard-tabs label{color:var(--text-secondary)}[data-theme=dark] .atlas-scorecard-tabs label:hover{background:var(--sidebar-hover);color:var(--text-primary)}[data-theme=dark] .atlas-scorecard-tabs input[type=radio]:checked+label{background:var(--button-primary-bg);color:#fff}[data-theme=dark] .atlas-scorecard-tabs input[type=radio]:checked+label:hover{background:var(--hover-color)}[data-theme=dark] .atlas-scorecard-custom-table-container{background:var(--card-bg);box-shadow:0 2px 8px var(--shadow-color)}[data-theme=dark] .atlas-scorecard-custom-table thead tr{background:var(--button-primary-bg)}[data-theme=dark] .atlas-scorecard-custom-table thead th{border-right-color:var(--border-color)}[data-theme=dark] .atlas-scorecard-custom-table tbody tr{background:var(--card-bg);border-bottom-color:var(--border-color)}[data-theme=dark] .atlas-scorecard-custom-table tbody tr:nth-child(2n){background:var(--bg-secondary)}[data-theme=dark] .atlas-scorecard-custom-table tbody tr:hover{background:var(--sidebar-hover)}[data-theme=dark] .atlas-scorecard-custom-table tbody td{border-right-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .atlas-scorecard-custom-table tbody td.atlas-scorecard-metric-cell,[data-theme=dark] .atlas-scorecard-custom-table tbody td.atlas-scorecard-year-cell{background:var(--button-primary-bg);color:#fff}[data-theme=dark] .atlas-scorecard-custom-table tbody td.atlas-scorecard-quarter-cell,[data-theme=dark] .atlas-scorecard-custom-table thead th.atlas-scorecard-quarter-header{background:var(--bg-tertiary);color:var(--text-primary)}[data-theme=dark] .atlas-scorecard-custom-table thead th.atlas-scorecard-ytd-header{background:#d97706}[data-theme=dark] .atlas-scorecard-custom-table tbody td.atlas-scorecard-ytd-cell{background:#92400e;color:#fef3c7}[data-theme=dark] .atlas-scorecard-custom-table tbody tr.atlas-scorecard-growth-row{background:var(--bg-tertiary)}[data-theme=dark] .atlas-scorecard-custom-table tbody tr.atlas-scorecard-growth-row:hover{background:var(--sidebar-hover)}[data-theme=dark] .atlas-scorecard-custom-table tbody tr.atlas-scorecard-percentage-row{background:var(--bg-tertiary)}[data-theme=dark] .atlas-scorecard-custom-table tbody tr.atlas-scorecard-percentage-row:hover{background:var(--sidebar-hover)}[data-theme=dark] .atlas-scorecard-loading{color:var(--text-secondary)}[data-theme=dark] .scorecard-error{background:#dc262633;border-color:#dc2626;color:var(--text-primary)}[data-theme=dark] .scorecard-error p{color:#fca5a5}[data-theme=dark] .scorecard-error button{background:#dc2626}[data-theme=dark] .scorecard-error button:hover{background:#b91c1c}[data-theme=dark] .atlas-scorecard-bargraph-container{background:var(--card-bg);border-color:var(--border-color)}[data-theme=dark] .atlas-scorecard-bargraph h3,[data-theme=dark] .atlas-scorecard-bargraph-container h2{color:var(--text-primary)}[data-theme=dark] .atlas-scorecard-custom-table-container::-webkit-scrollbar-track{background:var(--bg-secondary)}[data-theme=dark] .atlas-scorecard-custom-table-container::-webkit-scrollbar-thumb{background:var(--border-color-secondary)}[data-theme=dark] .atlas-scorecard-custom-table-container::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}.atlas-scorecard-visibility-toggle{align-items:center;display:flex;gap:.5rem}.atlas-scorecard-toggle-btn{align-items:center;background:var(--button-primary-bg);border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary);cursor:pointer;display:flex;font-size:1.2rem;height:36px;justify-content:center;min-width:40px;padding:.5rem .75rem;transition:all .2s ease}.atlas-scorecard-toggle-btn:hover{background:var(--hover-color);border-color:var(--button-primary-bg);transform:translateY(-1px)}.atlas-scorecard-toggle-btn:active{transform:translateY(0)}.atlas-scorecard-toggle-btn.active{background:var(--button-primary-bg);border-color:var(--button-primary-bg);box-shadow:0 2px 4px var(--shadow-color)}.atlas-scorecard-toggle-label{color:var(--text-secondary);font-size:.875rem;font-weight:500;white-space:nowrap}[data-theme=dark] .atlas-scorecard-toggle-btn{background:var(--bg-secondary);border-color:var(--border-color-secondary);color:var(--text-primary)}[data-theme=dark] .atlas-scorecard-toggle-btn:hover{background:var(--hover-color);border-color:var(--button-primary-bg)}[data-theme=dark] .atlas-scorecard-toggle-btn.active{background:var(--button-primary-bg);border-color:var(--button-primary-bg)}[data-theme=dark] .atlas-scorecard-toggle-label{color:var(--text-secondary)}.atlas-scorecard-chart-container{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;margin-bottom:2rem;padding:1rem}.atlas-scorecard-chart-container h5{color:var(--text-primary);font-size:1.1rem;font-weight:600;margin:0 0 1rem;text-align:center}.atlas-scorecard-chart-container .recharts-responsive-container{background:var(--bg-primary);border-radius:6px;padding:.5rem}.atlas-scorecard-chart-container .recharts-cartesian-grid line{stroke:var(--border-color);opacity:.5}.atlas-scorecard-chart-container .recharts-xAxis text,.atlas-scorecard-chart-container .recharts-yAxis text{fill:var(--text-secondary);font-size:12px}.atlas-scorecard-chart-container .recharts-legend-wrapper{margin-top:1rem}.atlas-scorecard-chart-container .recharts-legend-item-text{color:var(--text-primary)!important}.atlas-scorecard-chart-container .recharts-tooltip-wrapper{background:var(--card-bg)!important;border:1px solid var(--border-color)!important;border-radius:6px!important;box-shadow:0 4px 6px var(--shadow-color)!important}.atlas-scorecard-chart-container .recharts-tooltip-label{color:var(--text-primary)!important;font-weight:600!important}.atlas-scorecard-chart-container .recharts-tooltip-item{color:var(--text-primary)!important}[data-theme=dark] .atlas-scorecard-chart-container{background:var(--bg-secondary);border-color:var(--border-color-secondary)}[data-theme=dark] .atlas-scorecard-chart-container .recharts-responsive-container{background:var(--bg-primary)}[data-theme=dark] .atlas-scorecard-chart-container .recharts-cartesian-grid line{stroke:var(--border-color-secondary);opacity:.3}[data-theme=dark] .atlas-scorecard-chart-container .recharts-xAxis text,[data-theme=dark] .atlas-scorecard-chart-container .recharts-yAxis text{fill:var(--text-secondary)}[data-theme=dark] .atlas-scorecard-breakdown-table,[data-theme=dark] .atlas-scorecard-breakdown-tables,[data-theme=dark] .atlas-scorecard-rga-table{background:var(--bg-primary);color:var(--text-primary)}[data-theme=dark] .atlas-scorecard-breakdown-table h3,[data-theme=dark] .atlas-scorecard-breakdown-tables h3,[data-theme=dark] .atlas-scorecard-rga-table h3{color:var(--text-primary)}[data-theme=dark] .atlas-scorecard-table-section{background:var(--card-bg);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .atlas-scorecard-table-section h4{color:var(--text-primary)}.atlas-scorecard-view-toggles{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}@media (max-width:768px){.atlas-scorecard-view-toggles{align-items:flex-start;flex-direction:column;gap:.5rem}}.scorecard .tabs{background:#fff;background:var(--card-bg,#fff);border:1px solid #d1d5db;border:1px solid var(--border-color,#d1d5db);border-radius:6px;display:flex;gap:0;margin-bottom:20px;padding:4px}.scorecard .tabs input[type=radio]{display:none}.scorecard .tabs label{background:#0000;border:none;border-radius:4px;color:#666;color:var(--text-secondary,#666);cursor:pointer;flex:1 1;font-size:14px;font-weight:500;padding:10px 20px;text-align:center;transition:all .2s ease;-webkit-user-select:none;user-select:none}.scorecard .tabs input[type=radio]:checked+label{background:#007bff;background:var(--button-primary-bg,#007bff);color:#fff;font-weight:600}.scorecard .tabs label:hover{background:#f5f5f5;background:var(--sidebar-hover,#f5f5f5);color:#333;color:var(--text-primary,#333)}.scorecard .tabs input[type=radio]:checked+label:hover{background:#0056b3;background:var(--hover-color,#0056b3);color:#fff}.view-toggle{gap:.5rem;margin:1rem 0}.view-toggle button{border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);cursor:pointer;font-size:14px;padding:.5rem 1rem;transition:all .2s ease}.view-toggle button:hover{background:var(--secondary-color-hover)}.view-toggle button.active{background:var(--primary-color);border-color:var(--primary-color);color:#fff}.management-breakdown{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;margin:2rem 0;padding:1.5rem}.management-breakdown h5{color:var(--text-primary);font-size:1.1rem;font-weight:600;margin:0 0 1rem}.insured-button{background:var(--primary-color);border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;margin-bottom:1rem;padding:.5rem 1rem;transition:background-color .2s ease}.insured-button:hover{background:var(--primary-color-hover)}.details-view{margin-top:1rem}.hierarchyTable{background:var(--card-bg);border-collapse:collapse;border-radius:6px;margin:1rem 0;overflow:hidden;width:100%}.hierarchyTable td,.hierarchyTable th{border-bottom:1px solid var(--border-color);padding:.75rem;text-align:left}.hierarchyTable th{background:var(--bg-secondary);font-weight:600}.hierarchyTable td,.hierarchyTable th{color:var(--text-primary)}.hierarchyTable tr:hover{background:var(--hover-color)}[data-theme=dark] .arrow-change-button{background:var(--primary-color)}[data-theme=dark] .arrow-change-button:hover{background:var(--primary-color-hover)}[data-theme=dark] .view-toggle button{background:var(--bg-secondary);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .view-toggle button:hover{background:var(--hover-color)}[data-theme=dark] .view-toggle button.active{background:var(--primary-color);color:#fff}[data-theme=dark] .management-breakdown{background:var(--card-bg);border-color:var(--border-color)}[data-theme=dark] .management-breakdown h5{color:var(--text-primary)}[data-theme=dark] .hierarchyTable{background:var(--card-bg)}[data-theme=dark] .hierarchyTable th{background:var(--bg-secondary);color:var(--text-primary)}[data-theme=dark] .hierarchyTable td{color:var(--text-primary)}[data-theme=dark] .hierarchyTable tr:hover{background:var(--hover-color)}.atlas-scorecard-hidden-toggle{align-items:center;display:flex;margin-left:1rem}.hidden-mga-toggle-btn{align-items:center;background:none;border:1px solid #d1d5db;border:1px solid var(--border-color,#d1d5db);border-radius:4px;color:#666;color:var(--text-secondary,#666);cursor:pointer;display:flex;font-size:14px;justify-content:center;padding:8px 12px;transition:all .2s ease}.hidden-mga-toggle-btn:hover{background-color:#f5f5f5;background-color:var(--sidebar-hover,#f5f5f5);color:#4a6cf7;color:var(--hover-color,#4a6cf7)}.hidden-mga-toggle-btn.active,.hidden-mga-toggle-btn:hover{border-color:#4a6cf7;border-color:var(--hover-color,#4a6cf7)}.hidden-mga-toggle-btn.active{background-color:#4a6cf7;background-color:var(--hover-color,#4a6cf7);color:#fff}.hidden-mga-toggle-btn.active:hover{background-color:#3a5bc7;background-color:var(--primary-color-hover,#3a5bc7);border-color:#3a5bc7;border-color:var(--primary-color-hover,#3a5bc7)}.atlas-scorecard-controls{align-items:center;background:#fff;background:var(--card-bg,#fff);border:1px solid #d1d5db;border:1px solid var(--border-color,#d1d5db);border-radius:6px;display:flex;justify-content:space-between;margin-bottom:1rem;padding:1rem}.atlas-scorecard-controls-left,.atlas-scorecard-controls-right{align-items:center;display:flex;gap:1rem}.atlas-scorecard-inactive-toggle,.inactive-mga-toggle-btn{align-items:center;display:flex}.inactive-mga-toggle-btn{background:none;border:1px solid #d1d5db;border:1px solid var(--border-color,#d1d5db);border-radius:4px;color:#666;color:var(--text-secondary,#666);cursor:pointer;font-size:14px;justify-content:center;padding:8px 12px;transition:all .2s ease}.inactive-mga-toggle-btn:hover{background-color:#f5f5f5;background-color:var(--sidebar-hover,#f5f5f5);border-color:#4a6cf7;border-color:var(--hover-color,#4a6cf7);color:#4a6cf7;color:var(--hover-color,#4a6cf7)}.inactive-mga-toggle-btn.active{background-color:#4a6cf7;background-color:var(--hover-color,#4a6cf7);border-color:#4a6cf7;border-color:var(--hover-color,#4a6cf7);color:#fff}.inactive-mga-toggle-btn.active:hover{background-color:#3a5bc7;background-color:var(--primary-color-hover,#3a5bc7);border-color:#3a5bc7;border-color:var(--primary-color-hover,#3a5bc7)}.atlas-scorecard-inactive-row{background-color:#fff3cd!important;color:#856404;font-style:italic}.atlas-scorecard-inactive-row td{border-bottom:2px solid #ffeaa7;border-top:2px solid #ffeaa7}.atlas-scorecard-future-months-toggle,.future-months-toggle-btn{align-items:center;display:flex}.future-months-toggle-btn{background:none;border:1px solid #d1d5db;border:1px solid var(--border-color,#d1d5db);border-radius:4px;color:#666;color:var(--text-secondary,#666);cursor:pointer;font-size:14px;justify-content:center;padding:8px 12px;transition:all .2s ease}.future-months-toggle-btn:hover{background-color:#f5f5f5;background-color:var(--sidebar-hover,#f5f5f5);border-color:#4a6cf7;border-color:var(--hover-color,#4a6cf7);color:#4a6cf7;color:var(--hover-color,#4a6cf7)}.future-months-toggle-btn.active{background-color:#4a6cf7;background-color:var(--hover-color,#4a6cf7);border-color:#4a6cf7;border-color:var(--hover-color,#4a6cf7);color:#fff}.future-months-toggle-btn.active:hover{background-color:#3a5bc7;background-color:var(--primary-color-hover,#3a5bc7);border-color:#3a5bc7;border-color:var(--primary-color-hover,#3a5bc7)}.atlas-scorecard-quarters-toggle,.quarters-toggle-btn{align-items:center;display:flex}.quarters-toggle-btn{background:none;border:1px solid #d1d5db;border:1px solid var(--border-color,#d1d5db);border-radius:4px;color:#666;color:var(--text-secondary,#666);cursor:pointer;font-size:14px;justify-content:center;padding:8px 12px;transition:all .2s ease}.quarters-toggle-btn:hover{background-color:#f5f5f5;background-color:var(--sidebar-hover,#f5f5f5);border-color:#4a6cf7;border-color:var(--hover-color,#4a6cf7);color:#4a6cf7;color:var(--hover-color,#4a6cf7)}.quarters-toggle-btn.hide,.quarters-toggle-btn.only,.quarters-toggle-btn.show{background-color:#4a6cf7;background-color:var(--hover-color,#4a6cf7);border-color:#4a6cf7;border-color:var(--hover-color,#4a6cf7);color:#fff}.quarters-toggle-btn.hide:hover,.quarters-toggle-btn.only:hover,.quarters-toggle-btn.show:hover{background-color:#3a5bc7;background-color:var(--primary-color-hover,#3a5bc7);border-color:#3a5bc7;border-color:var(--primary-color-hover,#3a5bc7)}.placeholder-container{display:flex;flex-direction:column;gap:20px;margin-bottom:20px;padding:20px}.placeholder-line{height:20px;margin:0 auto;width:30%}.placeholder-box,.placeholder-line{animation:placeholderAnimation 1s linear infinite;background:linear-gradient(90deg,#d0d0d0 25%,#f0f0f0 50%,#d0d0d0 75%);background-size:200% 100%;border-radius:4px}.placeholder-box{height:200px;width:100%}@keyframes placeholderAnimation{0%{background-position:200% 0}to{background-position:-200% 0}}.atlas-scorecard-graph-container{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:20px;position:relative;transition:all .3s ease}.atlas-scorecard-graph-container:hover{box-shadow:0 4px 16px #00000026}.atlas-scorecard-graph-container canvas{border-radius:8px}.atlas-scorecard-graph-container:before{animation:spin 1s linear infinite;border:3px solid #f3f3f3;border-radius:50%;border-top-color:#3b82f6;content:"";height:40px;left:50%;opacity:0;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px;z-index:1}.atlas-scorecard-graph-container canvas{filter:drop-shadow(0 0 3px rgba(255,215,0,.3))}@keyframes recordGlow{0%,to{filter:drop-shadow(0 0 3px rgba(255,215,0,.3))}50%{filter:drop-shadow(0 0 8px rgba(255,215,0,.6))}}.atlas-scorecard-graph-container canvas{animation:recordGlow 3s ease-in-out infinite}.scorecard-table{border-collapse:collapse;border-collapse:initial;border-spacing:2px;box-shadow:none;font-family:Arial,sans-serif;margin-top:20px;width:100%}.scorecard-table td,.scorecard-table th{border:1px solid #7a7a7a;padding:4px;text-align:left}.scorecard-table th{background-color:#00558c;border:1px solid #0000;color:#fff;font-size:10px;font-weight:700;overflow:hidden;position:-webkit-sticky;position:sticky;text-align:center;white-space:nowrap;z-index:2}.scorecard-table .second-column{left:50px;z-index:2}.scorecard-table .day-header{position:-webkit-sticky;position:sticky;top:0;z-index:3}.scorecard-table .first-row{top:0;z-index:4}.scorecard-table .second-row{top:20px;z-index:5}.scorecard-table td{background-color:#fff;border:2px solid #d1d5db;border-radius:.375rem;font-size:10px;padding:3px;text-align:center}.scorecard-table input{background-color:initial;border:none;text-align:center;width:100%}.scorecard-table .totals-row td{background-color:#f0f0f0;color:#333;font-weight:700;text-align:center}.scorecard-table .first-column{background-color:#c3d4d2;border:none;border-radius:0;color:#fff;font-weight:700;left:0;position:-webkit-sticky;position:sticky;white-space:nowrap;z-index:1}.scorecard-table button{background-color:#fff;border:none;border-radius:4px;cursor:pointer;margin-left:2px}.scorecard-table .quarter-column{background-color:#b5d0ea;font-weight:700}.scorecard-table .year-total-column{background-color:#f4eb8c}.scorecard-table .growth-row td{background-color:#e9f5d6;font-weight:700;text-align:center}.growth-positive{color:green;font-weight:700}.growth-negative{color:red;font-weight:700}@media (max-width:768px){.scorecard-table .first-column,.scorecard-table td,.scorecard-table th{font-size:10px}}.tooltip{background-color:#fff;border:1px solid #ccc;border-radius:5px;box-shadow:0 4px 6px #0000001a;padding:8px;position:absolute;z-index:1000}.scorecard-table td.has-data{cursor:pointer;position:relative}.scorecard-table td.has-data:before{border-right:10px solid #0000;border-top:10px solid #939393;border-top-left-radius:5px;content:"";height:0;left:0;position:absolute;top:0;width:0}.leaderboard-page{--primary-text:var(--primary-text,#fff);--badge-text-color:var(--badge-text-color,#fff);--neutral-color:var(--neutral-color,#6b7280);--success-background:var(--success-background,#10b9811a);--danger-background:var(--danger-background,#ef44441a);--info-background:var(--info-background,#8b5cf61a);--neutral-background:var(--neutral-background,#6b72801a);--box-shadow:var(--box-shadow,0 2px 4px #0000001a);--focus-shadow:var(--focus-shadow,0 0 0 2px #4f46e540);--text-shadow:var(--text-shadow,0 1px 2px #0003);--badge-shadow:var(--badge-shadow,0 2px 4px #0000001a);width:100%}.leaderboard-filters{background:var(--surface-color);border-radius:8px;box-shadow:var(--box-shadow);justify-content:space-between;margin-bottom:15px;padding:10px 20px}.leaderboard-filters,.leaderboard-filters-left{align-items:center;display:flex;flex-wrap:wrap;gap:20px}.leaderboard-filters-center{align-items:center;display:flex;flex:1 1;justify-content:center;position:relative}.leaderboard-filters-center .tabs-filter-container{left:50%;position:absolute;transform:translateX(-50%);white-space:nowrap}.leaderboard-filters-right{align-items:center;display:flex;gap:20px}.codes-toggle-container,.daily-activity-metric-container,.daily-activity-toggle-container,.december-toggle-container,.experience-filter-container,.filter-button-container,.tabs-filter-container,.toggle-container,.vips-period-container,.vips-toggle-container{align-items:center;display:flex;gap:10px}.december-toggle-container,.tabs-filter-container{justify-content:center}.codes-toggle-container span,.daily-activity-toggle-container span,.december-toggle-container span,.experience-filter-container span,.tabs-filter-container span,.toggle-container span,.vips-toggle-container span{border-radius:4px;cursor:pointer;font-weight:500;padding:8px 12px;transition:all .2s ease;-webkit-user-select:none;user-select:none}.codes-toggle-container .selected,.daily-activity-toggle-container .selected,.december-toggle-container .selected,.experience-filter-container .selected,.tabs-filter-container .selected,.toggle-container .selected,.vips-toggle-container .selected{background-color:initial;color:var(--text-primary);font-weight:600}.codes-toggle-container .unselected,.daily-activity-toggle-container .unselected,.december-toggle-container .unselected,.experience-filter-container .unselected,.tabs-filter-container .unselected,.toggle-container .unselected,.vips-toggle-container .unselected{background-color:initial;color:var(--text-secondary)}.codes-toggle-container .unselected:hover,.daily-activity-toggle-container .unselected:hover,.december-toggle-container .unselected:hover,.experience-filter-container .unselected:hover,.tabs-filter-container .unselected:hover,.toggle-container .unselected:hover,.vips-toggle-container .unselected:hover{background-color:var(--background-hover);color:var(--text-primary)}.metric-selector,.period-selector{background-color:var(--surface-color);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);cursor:pointer;font-size:14px;font-weight:500;padding:6px 10px;transition:all .2s ease}.metric-selector:hover,.period-selector:hover{border-color:var(--primary-color)}.metric-selector:focus,.period-selector:focus{border-color:var(--primary-color);box-shadow:var(--focus-shadow);outline:none}.separator{background:#0000!important;color:var(--border-color);cursor:default!important;font-weight:400;padding:0!important}.separator:hover{background:#0000!important;color:var(--border-color)!important}.date-select-container{align-items:center;display:flex;gap:10px;justify-content:center;margin-bottom:15px;margin-left:auto;margin-right:auto;max-width:600px;width:100%}.arrow-change-button{background:none;border:none;border-radius:4px;color:var(--primary-text);cursor:pointer;font-size:16px;font-weight:700;padding:8px 12px;transition:background-color .2s ease}.arrow-change-button:hover{color:var(--primary-dark)}.arrow-change-button:disabled{background:none;color:var(--text-disabled);cursor:not-allowed}.date-select{background:var(--surface-color);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);font-size:14px;min-width:150px;padding:8px 12px}.date-select:focus{border-color:var(--primary-color);box-shadow:var(--focus-shadow);outline:none}.filter-dropdown-container{display:flex;flex-wrap:wrap;gap:15px;justify-content:center;margin-bottom:25px}.filter-select{flex:1 1;max-width:250px;min-width:200px}.leaderboards-container{display:flex;flex-direction:column;gap:20px;min-height:600px}.leaderboard-main-row{display:flex;width:100%}.main-leaderboard{min-height:500px;width:100%}.leaderboard-row{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(2,1fr);min-height:400px}@media (max-width:1200px){.leaderboards-container{gap:15px}.leaderboard-row{gap:15px;min-height:350px}}@media (max-width:1024px){.leaderboard-filters-left,.leaderboard-filters-right{gap:15px}}@media (max-width:768px){.leaderboard-filters{grid-gap:12px;border-radius:0;display:grid;gap:12px;grid-template-rows:auto auto auto;justify-items:center;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%);padding:15px;width:100vw}.leaderboard-filters-left{grid-gap:12px;align-items:center;display:grid;gap:12px;grid-template-columns:1fr;justify-content:center;width:100%}.leaderboard-filters-center{display:flex;justify-content:center;width:100%}.leaderboard-filters-right{grid-gap:12px;align-items:center;display:grid;gap:12px;grid-template-columns:1fr auto;width:100%}.experience-filter-container,.tabs-filter-container{justify-content:center;width:100%}.toggle-container{justify-content:flex-start;width:100%}.filter-button-container{justify-content:flex-end;width:auto}.codes-toggle-container,.daily-activity-metric-container,.daily-activity-toggle-container,.december-toggle-container,.vips-period-container,.vips-toggle-container{grid-column:1/-1;justify-content:center;width:100%}.metric-selector,.period-selector{max-width:200px;width:100%}.filter-dropdown-container{flex-direction:column;gap:10px}.filter-select{max-width:100%;min-width:100%}.filter-select .css-26l3qy-menu{border-left:none;border-radius:0;border-right:none;box-shadow:0 -2px 10px #0000001a;left:0!important;margin:0!important;max-width:100vw;min-width:100%;position:fixed!important;right:0!important;width:100%}.filter-select .css-4ljt47-MenuList{max-height:250px;padding:8px 0}.filter-select .css-9jq23d{font-size:16px;padding:12px 16px}.leaderboard-row{grid-template-columns:1fr;min-height:300px}.main-leaderboard{min-height:400px}}@media (max-width:480px){.leaderboard-filters-left,.leaderboard-filters-right{gap:10px}.december-toggle-container span,.experience-filter-container span,.tabs-filter-container span,.toggle-container span{font-size:14px;padding:6px 8px}.tabs-filter-container span:first-child:before{color:inherit;content:"W";font-size:14px}.tabs-filter-container span:nth-child(3):before{color:inherit;content:"M";font-size:14px}.tabs-filter-container span:nth-child(5):before{color:inherit;content:"Y";font-size:14px}.tabs-filter-container span:first-child,.tabs-filter-container span:nth-child(3),.tabs-filter-container span:nth-child(5){font-size:0}.date-select{font-size:13px;min-width:120px}.arrow-change-button{font-size:14px;padding:6px 10px}}.leaderboard-page *{transition:color .2s ease,background-color .2s ease,border-color .2s ease}.experience-filter-container span:focus,.tabs-filter-container span:focus,.toggle-container span:focus{outline:2px solid var(--primary-color);outline-offset:2px}.leaderboard-loading{color:var(--text-secondary)}.leaderboard-error,.leaderboard-loading{align-items:center;display:flex;justify-content:center;min-height:200px}.leaderboard-error{color:var(--danger-color);flex-direction:column;padding:20px;text-align:center}.leaderboard-error h3{margin-bottom:10px}.leaderboard-error p{color:var(--text-secondary);margin-bottom:15px}.leaderboard-page .achievement-badge{background:linear-gradient(135deg,#6b7280,#6b7280);background:linear-gradient(135deg,var(--custom-achievement-color,#6b7280),var(--custom-achievement-color,#6b7280));border-radius:12px;box-shadow:0 2px 4px #0000001a;color:#fff;display:inline-block;font-size:11px;font-weight:600;margin-top:4px;padding:4px 8px;text-shadow:0 1px 2px #0003;white-space:nowrap}.leaderboard-page .rank-movement-indicator{border-radius:8px;font-size:12px;font-weight:600;margin-left:4px;padding:2px 6px;white-space:nowrap}.leaderboard-page .rank-movement-indicator[data-direction=up]{background-color:#10b981;color:#fff}.leaderboard-page .rank-movement-indicator[data-direction=down]{background-color:#ef4444;color:#fff}.leaderboard-page .rank-movement-indicator[data-direction=new]{background-color:#6366f1;color:#fff}.leaderboard-page .rank-movement-indicator[data-direction=same]{background-color:#6b7280;color:#fff}.leaderboard-page .achievement-badge[style*="--custom-achievement-color: #ff6b35"]{background:linear-gradient(135deg,#ff6b35,#f12711);color:#fff}.leaderboard-page .achievement-badge[style*="--custom-achievement-color: #ffd700"]{background:linear-gradient(135deg,gold,#ffed4e);color:#1a1a1a}.leaderboard-page .achievement-badge[style*="--custom-achievement-color: #00d4aa"]{background:linear-gradient(135deg,#00d4aa,#007cf0);color:#fff}.leaderboard-page .achievement-badge[style*="--custom-achievement-color: #6366f1"]{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.leaderboard-page .achievement-badge[style*="--custom-achievement-color: #10b981"]{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.leaderboard-page .achievement-badge[style*="--custom-achievement-color: #8b5cf6"]{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff}.leaderboard-page .achievement-badge[style*="--custom-achievement-color: #dc2626"]{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff}.leaderboard-page .achievement-badge[style*="--custom-achievement-color: #7c2d12"]{background:linear-gradient(135deg,#7c2d12,#991b1b);color:#fff}.leaderboard-page .achievement-badge[style*="--custom-achievement-color: #6b7280"]{background:linear-gradient(135deg,#6b7280,#4b5563);color:#fff}.leaderboard-page .leaderboard.detailed .item-indicators{align-items:flex-end;display:flex;flex-direction:column;gap:4px;margin-top:6px}.leaderboard-page .leaderboard.detailed .item-achievement{align-items:center;display:flex;justify-content:flex-end}.filter-select .css-26l3qy-menu{background-color:var(--surface-color);border:1px solid var(--border-color);border-radius:4px;box-shadow:0 4px 12px #00000026;min-width:100%;z-index:9999}.filter-select .css-4ljt47-MenuList{max-height:200px;overflow-y:auto;padding:4px 0}.filter-select .css-9jq23d{background-color:var(--surface-color);color:var(--text-primary)}.filter-select .css-9jq23d:hover{background-color:var(--background-hover);color:var(--text-primary)}.filter-select .css-tr4s17{background-color:var(--primary-color);color:var(--primary-text)}.filter-select .css-1pahdxg-control{background-color:var(--surface-color);border-color:var(--border-color);box-shadow:none;min-height:38px}.filter-select .css-1pahdxg-control:hover{border-color:var(--primary-color)}.filter-select .css-1pahdxg-control--is-focused{border-color:var(--primary-color);box-shadow:var(--focus-shadow)}.filter-select .css-1okebmr-indicatorSeparator{background-color:var(--border-color)}.filter-select .css-tlfecz-indicatorContainer{color:var(--text-secondary)}.filter-select .css-tlfecz-indicatorContainer:hover{color:var(--text-primary)}.filter-button-container{margin-left:12px;position:relative}.filter-button-container .filter-menu{align-items:center;display:flex}.filter-button-container .filter-menu-content.bottom{left:auto!important;margin-top:4px;right:0!important;transform:translateX(0)!important}.filter-button-container button{align-items:center;background:var(--surface-color);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);cursor:pointer;display:flex;justify-content:center;padding:8px 12px;transition:all .2s ease}.filter-button-container button:hover{background:var(--primary-color);border-color:var(--primary-color);color:var(--primary-text)}.leaderboard-page .filter-menu-container.expandable .filter-menu-content{max-width:300px!important;min-width:280px!important;width:auto!important}.leaderboard-page .filter-menu-content{background:var(--surface-color);border:1px solid var(--border-color);border-radius:4px;box-shadow:0 4px 12px #00000026;position:absolute;z-index:9999}@media (max-width:768px){.leaderboard-page .filter-menu-container.expandable .filter-menu-content{left:16px!important;margin:0!important;max-width:calc(100vw - 32px)!important;min-width:auto!important;right:16px!important;width:calc(100vw - 32px)!important}}.leaderboard-filter-content{max-width:300px;min-width:280px;padding:16px;text-align:center}.leaderboard-filter-content .filter-group{align-items:center;display:flex;flex-direction:column;margin-bottom:16px}.leaderboard-filter-content .filter-group:last-of-type{margin-bottom:0}.leaderboard-filter-content .filter-group-label{color:var(--text-primary);display:block;font-size:14px;font-weight:500;margin-bottom:8px;text-align:center}.leaderboard-filter-content .filter-select-small{max-width:240px;width:100%}.leaderboard-filter-content .filter-actions{border-top:1px solid var(--border-color);margin-top:16px;padding-top:12px;text-align:center}.data-source-selection{border-bottom:1px solid var(--border-color);display:flex;justify-content:center;margin-bottom:1.5rem;padding:1rem 0}.data-source-buttons{align-items:center;display:flex;gap:12px}.reported-button-container{display:flex;position:relative}.data-source-btn{background:#fff;border:2px solid #1976d2;border-radius:6px;color:#1976d2;cursor:pointer;font-size:.875rem;font-weight:500;min-width:auto;padding:8px 20px;text-align:center;transition:all .2s ease;white-space:nowrap}.data-source-btn.reported-btn{border-bottom-right-radius:0!important;border-right:none!important;border-top-right-radius:0!important}.data-source-dropdown-btn{align-items:center;background:#fff;border:2px solid #1976d2;border-bottom-left-radius:0;border-bottom-right-radius:6px;border-left:none;border-top-left-radius:0;border-top-right-radius:6px;color:#1976d2;cursor:pointer;display:flex;font-size:.875rem;font-weight:500;justify-content:center;padding:8px;transition:all .2s ease}.dropdown-arrow{font-size:.7rem;transition:transform .2s ease}.dropdown-arrow.open{transform:rotate(180deg)}.reported-dropdown{background:#fff;border:2px solid #1976d2;border-radius:0 0 6px 6px;border-top:none;box-shadow:0 4px 6px #0000001a;left:0;position:absolute;right:0;top:100%;z-index:1000}.dropdown-item{color:#1976d2;cursor:pointer;font-size:.875rem;padding:8px 16px;transition:background-color .2s ease}.dropdown-item:hover{background:#f5f5f5}.dropdown-item:last-child{border-radius:0 0 6px 6px}.data-source-btn:hover,.data-source-dropdown-btn:hover{background:#f5f5f5;border-color:#1565c0;color:#1565c0}.data-source-btn.active,.data-source-dropdown-btn.active{background:#1976d2;border-color:#1976d2;color:#fff}.data-source-btn:first-child,.data-source-btn:last-child{border-radius:6px}@media (max-width:768px){.data-source-buttons{flex-wrap:wrap;gap:8px;justify-content:center}.data-source-btn{font-size:.75rem;min-width:80px;padding:8px 12px}.reported-button-container{display:flex}}@media (max-width:480px){.data-source-selection{margin-bottom:1rem;padding:.5rem}.data-source-buttons{gap:6px;justify-content:center;width:100%}.data-source-btn{flex:0 0 auto;font-size:.7rem;min-width:70px;padding:6px 8px}.data-source-dropdown-btn{font-size:.7rem;padding:6px}}.ref-report-content{display:flex;flex-direction:column;gap:24px}.ref-report-controls,.ref-report-filter-content{display:flex;flex-direction:column;gap:16px}.ref-report-filter-content .filter-group{margin-bottom:16px}.report-controls{background:#fff;background:var(--card-bg,#fff);border:1px solid #e5e7eb;border:1px solid var(--border-color,#e5e7eb);border-radius:8px;display:flex;flex-wrap:wrap;gap:20px;padding:16px}.control-group{display:flex;flex-direction:column;gap:4px}.control-group label{color:#6b7280;color:var(--text-secondary,#6b7280);font-size:12px;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.control-select{background:#fff;background:var(--card-bg,#fff);border:1px solid #e5e7eb;border:1px solid var(--border-color,#e5e7eb);border-radius:6px;color:#111827;color:var(--text-primary,#111827);cursor:pointer;font-size:14px;padding:8px 12px;transition:border-color .2s ease}.control-select:focus{border-color:#3b82f6;border-color:var(--button-primary-bg,#3b82f6);box-shadow:0 0 0 3px #3b82f61a;outline:none}.controls-container{background:#fff;background:var(--card-bg,#fff);border:1px solid #e5e7eb;border:1px solid var(--border-color,#e5e7eb);border-radius:8px;display:flex;flex-direction:column;gap:16px;padding:16px}.navigation-container{gap:16px}.nav-button,.navigation-container{align-items:center;display:flex;justify-content:center}.nav-button{background:#fff;background:var(--card-bg,#fff);border:1px solid #e5e7eb;border:1px solid var(--border-color,#e5e7eb);border-radius:6px;color:#6b7280;color:var(--text-secondary,#6b7280);cursor:pointer;font-size:16px;font-weight:500;height:40px;transition:all .2s ease;width:40px}.nav-button:hover{background:#f3f4f6;background:var(--sidebar-hover,#f3f4f6);border-color:#d1d5db;border-color:var(--border-color,#d1d5db);color:#111827;color:var(--text-primary,#111827)}.nav-button:active{transform:translateY(1px)}.date-dropdown{background:#fff;background:var(--surface-color,#fff);border:1px solid #e5e7eb;border:1px solid var(--border-color,#e5e7eb);border-radius:6px;color:#111827;color:var(--text-primary,#111827);cursor:pointer;font-size:14px;font-weight:500;min-width:200px;padding:10px 16px;text-align:center;transition:border-color .2s ease}.date-dropdown:focus{border-color:#3b82f6;border-color:var(--primary-color,#3b82f6);box-shadow:0 0 0 3px #3b82f61a;outline:none}.period-tabs{align-items:center;display:flex;font-size:14px;font-weight:500;gap:12px;justify-content:center}.period-tabs .selected{background:#eff6ff;background:var(--primary-light,#eff6ff);color:#3b82f6;color:var(--primary-color,#3b82f6)}.period-tabs .selected,.period-tabs .unselected{border-radius:4px;cursor:pointer;padding:8px 12px;transition:all .2s ease}.period-tabs .unselected{color:#6b7280;color:var(--text-secondary,#6b7280)}.period-tabs .unselected:hover{background:#f3f4f6;background:var(--hover-color,#f3f4f6);color:#111827;color:var(--text-primary,#111827)}.period-tabs .separator{color:#e5e7eb;color:var(--border-color,#e5e7eb);font-weight:300}.secondary-controls{display:flex;flex-wrap:wrap;gap:20px}.summary-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.summary-card{align-items:flex-start;background:#fff;background:var(--card-bg,#fff);border:1px solid #e5e7eb;border:1px solid var(--border-color,#e5e7eb);border-radius:8px;display:flex;gap:16px;padding:20px;transition:all .2s ease}.summary-card:hover{border-color:#d1d5db;border-color:var(--border-color,#d1d5db);box-shadow:0 4px 12px #0000001a;box-shadow:0 4px 12px var(--shadow-color,#0000001a)}.ref-report-card-icon{align-items:center;background:#eff6ff;background:var(--bg-secondary,#eff6ff);border-radius:8px;color:#3b82f6;color:var(--button-primary-bg,#3b82f6);display:flex;flex-shrink:0;height:48px;justify-content:center;width:48px}.ref-report-card-content{flex:1 1}.ref-report-card-content h3{color:#6b7280;color:var(--text-secondary,#6b7280);font-size:14px;font-weight:500;letter-spacing:.5px;margin:0 0 8px;text-transform:uppercase}.ref-report-card-value{color:#111827;color:var(--text-primary,#111827);font-size:24px;font-weight:700;line-height:1;margin:0 0 4px}.ref-report-card-change{border-radius:4px;font-size:12px;font-weight:500;padding:2px 6px}.ref-report-card-change.positive{background:#f0fdf4;color:#16a34a}.ref-report-card-change.negative{background:#fef2f2;color:#dc2626}.ref-report-card-change.neutral{background:#f9fafb;background:var(--bg-secondary,#f9fafb);color:#6b7280;color:var(--text-secondary,#6b7280)}.charts-section{background:#fff;background:var(--card-bg,#fff);border:1px solid #e5e7eb;border:1px solid var(--border-color,#e5e7eb);border-radius:8px;padding:24px}.charts-section h3{color:#111827;color:var(--text-primary,#111827);font-size:18px;font-weight:600;margin:0 0 20px}.chart-container{width:100%}.chart-placeholder{align-items:center;background:#f9fafb;background:var(--bg-secondary,#f9fafb);border:2px dashed #e5e7eb;border:2px dashed var(--border-color,#e5e7eb);border-radius:8px;color:#6b7280;color:var(--text-secondary,#6b7280);display:flex;flex-direction:column;gap:12px;justify-content:center;min-height:300px;text-align:center}.chart-note{color:#9ca3af;color:var(--text-secondary,#9ca3af);font-size:12px;line-height:1.4;max-width:400px}.activity-section{background:#fff;background:var(--card-bg,#fff);border:1px solid #e5e7eb;border:1px solid var(--border-color,#e5e7eb);border-radius:8px;padding:24px}.activity-section h3{color:#111827;color:var(--text-primary,#111827);font-size:18px;font-weight:600;margin:0 0 20px}.activity-list{display:flex;flex-direction:column;gap:16px}.activity-item{align-items:flex-start;background:#f9fafb;background:var(--bg-secondary,#f9fafb);border-radius:6px;display:flex;gap:12px;padding:12px;transition:background .2s ease}.activity-item:hover{background:#f3f4f6;background:var(--sidebar-hover,#f3f4f6)}.activity-icon{flex-shrink:0;height:20px;margin-top:2px;width:20px}.activity-icon.new{color:#3b82f6;color:var(--button-primary-bg,#3b82f6)}.activity-icon.success{color:#16a34a}.activity-icon.info{color:#d97706}.activity-content{flex:1 1}.activity-text{color:#111827;color:var(--text-primary,#111827);font-size:14px;line-height:1.4;margin:0 0 4px}.activity-date{color:#6b7280;color:var(--text-secondary,#6b7280);font-size:12px}.data-table-section{background:#fff;background:var(--card-bg,#fff);border:1px solid #e5e7eb;border:1px solid var(--border-color,#e5e7eb);border-radius:8px;padding:24px}.data-table-section h3{color:#111827;color:var(--text-primary,#111827);font-size:18px;font-weight:600;margin:0 0 20px}.data-table-placeholder{align-items:center;background:#f9fafb;background:var(--bg-secondary,#f9fafb);border:2px dashed #e5e7eb;border:2px dashed var(--border-color,#e5e7eb);border-radius:8px;color:#6b7280;color:var(--text-secondary,#6b7280);display:flex;flex-direction:column;gap:8px;justify-content:center;min-height:200px;padding:20px;text-align:center}.data-table-placeholder p{font-size:14px;line-height:1.4;margin:0}.data-table-placeholder p:first-child{font-size:16px;font-weight:500}.leaderboard-section{margin:24px 0}.leaderboard-section .leaderboard{margin:0}[data-theme=dark] .ref-report-card-change.positive{background:#10b98133;color:#10b981}[data-theme=dark] .ref-report-card-change.negative{background:#ef444433;color:#ef4444}[data-theme=dark] .activity-icon.success{color:#10b981}[data-theme=dark] .activity-icon.info{color:#f59e0b}[data-theme=dark] .summary-card:hover{box-shadow:0 4px 12px #0006;box-shadow:0 4px 12px var(--shadow-color,#0006)}[data-theme=dark] .ref-report-card-icon{background:#3b82f633;color:#60a5fa;color:var(--button-primary-bg,#60a5fa)}[data-theme=dark] .chart-placeholder,[data-theme=dark] .data-table-placeholder{border-color:#333;border-color:var(--border-color,#333)}@media (max-width:768px){.ref-report-content{gap:16px}.controls-container{gap:12px;padding:12px}.navigation-container{gap:12px}.nav-button{font-size:14px;height:36px;width:36px}.date-dropdown{font-size:13px;min-width:160px;padding:8px 12px}.period-tabs{font-size:13px;gap:8px}.period-tabs .selected,.period-tabs .unselected{padding:6px 8px}.secondary-controls{flex-direction:column;gap:12px}.control-group{width:100%}.summary-cards{gap:16px;grid-template-columns:1fr}.summary-card{padding:16px}.ref-report-card-icon{height:40px;width:40px}.ref-report-card-value{font-size:20px}.activity-section,.charts-section,.data-table-section{padding:16px}.chart-placeholder{min-height:200px}}@media (max-width:480px){.summary-card{flex-direction:column;gap:12px;text-align:center}.ref-report-card-content{width:100%}.activity-item{padding:8px}}.action-bar-month-selector{align-items:center;display:flex;gap:8px}.month-selector{border:1px solid #d1d5db;border-radius:4px;font-size:.875rem;padding:4px 8px}.agent-name{color:var(--text-primary);font-weight:500}.vip-status-badge{background-color:#dcfce7;border-radius:9999px;color:#166534;display:inline-block;font-size:.75rem;font-weight:500;padding:4px 8px}.gross-amount{color:var(--text-primary);font-weight:500}.vips-loading{align-items:center;display:flex;height:16rem;justify-content:center}.vips-loading-spinner{animation:spin 1s linear infinite;border:2px solid #3b82f6;border-radius:50%;border-top-color:#0000;height:2rem;width:2rem}.vips-loading-text{color:var(--text-secondary);margin-left:.5rem}.vips-error{background-color:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:1rem}.vips-error-content{display:flex}.vips-error-details{margin-left:.75rem}.vips-error-title{color:#991b1b;font-size:.875rem;font-weight:500}.vips-error-message{color:#dc2626;font-size:.875rem;margin-top:.5rem}.vips-error-actions{margin-top:1rem}.vips-retry-button{background-color:#fee2e2;border:none;border-radius:6px;color:#991b1b;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem .75rem;transition:background-color .2s ease}.vips-retry-button:hover{background-color:#fecaca}.vips-content{background-color:#fff;border-radius:.5rem;box-shadow:0 1px 3px 0 #0000001a,0 1px 2px 0 #0000000f}.vips-content-inner{padding:1rem 1.5rem}@media (min-width:640px){.vips-content-inner{padding:1.5rem}}.notification-schedule-container{margin-bottom:24px}.notification-header-actions{display:flex;gap:8px}.settings-button{background-color:#3e7bfa;background-color:var(--button-primary-bg,#3e7bfa);color:var(--button-primary-text,#fff);display:flex;gap:6px;padding:8px 12px;transition:all .2s ease}.settings-button:hover{background-color:#2c5cc5;background-color:var(--button-primary-hover,#2c5cc5)}.settings-button:active{transform:translateY(1px)}.settings-button:disabled{opacity:.6}.settings-button-secondary{background-color:initial;border:1px solid #3e7bfa;border:1px solid var(--button-primary-bg,#3e7bfa);color:#3e7bfa;color:var(--button-primary-bg,#3e7bfa)}.settings-button-secondary:hover{background-color:#3e7bfa1a;background-color:var(--button-primary-bg-light,#3e7bfa1a)}.settings-button-icon{align-items:center;background-color:#fff;background-color:var(--card-bg,#fff);border:1px solid #e0e4e8;border:1px solid var(--border-color,#e0e4e8);border-radius:4px;color:#666;color:var(--text-secondary,#666);display:flex;height:36px;justify-content:center;min-width:36px;padding:8px;transition:all .2s ease}.settings-button-icon:hover{background-color:#0000000d;background-color:var(--hover-bg,#0000000d);color:#333;color:var(--text-primary,#333)}.settings-button-icon svg{font-size:16px;margin:0}.schedule-notification-form{background-color:#f5f7fa;background-color:var(--card-secondary-bg,#f5f7fa);border:1px solid #e0e4e8;border:1px solid var(--border-color,#e0e4e8);border-radius:8px;margin-bottom:20px;padding:16px}.schedule-notification-form h4{color:#333;color:var(--text-primary,#333);margin-bottom:16px;margin-top:0}.form-group,.form-row{margin-bottom:16px}.form-group label{color:#444;color:var(--text-secondary,#444);margin-bottom:6px}.form-group input,.form-group select,.form-group textarea{background-color:#fff;background-color:var(--input-bg,#fff);border:1px solid #ddd;border:1px solid var(--input-border,#ddd);border-radius:4px;color:#333;color:var(--text-primary,#333);font-size:14px;padding:8px 12px;width:100%}.form-group textarea{min-height:80px;resize:vertical}.checkbox-group{align-items:center;display:flex;margin-top:8px}.checkbox-group input[type=checkbox]{margin-right:8px;width:auto}.checkbox-label{color:#333;color:var(--text-primary,#333);font-weight:500;margin-bottom:0}.recurrence-section{background-color:#edf2fa;background-color:var(--card-accent-bg,#edf2fa);border:1px dashed #c0d3f0;border:1px dashed var(--border-accent,#c0d3f0);border-radius:6px;margin-bottom:16px;padding:12px}.recurrence-summary{background-color:#fff;background-color:var(--card-bg,#fff);border-radius:4px;color:#555;color:var(--text-secondary,#555);font-size:14px;margin-top:8px;padding:8px}.number-input-group,.recurrence-summary{align-items:center;display:flex}.number-input-group input{text-align:center;width:60px}.input-suffix{color:#555;color:var(--text-secondary,#555);font-size:14px;margin-left:8px}.spinner-sm{animation:spin 1s ease-in-out infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;display:inline-block;height:16px;margin-right:8px;width:16px}.scheduled-notifications-list{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.scheduled-notification-item{background-color:var(--card-bg,#fff);border:1px solid #e0e4e8;border:1px solid var(--border-color,#e0e4e8);border-radius:6px;box-shadow:0 2px 4px #0000000d;box-shadow:0 2px 4px var(--shadow-color,#0000000d);padding:16px;transition:transform .2s,box-shadow .2s}.scheduled-notification-item:hover{box-shadow:0 4px 8px #0000001a;box-shadow:0 4px 8px var(--shadow-color,#0000001a);transform:translateY(-2px)}.scheduled-notification-header{align-items:center;margin-bottom:12px}.notification-type-badge{border-radius:4px;font-weight:600;padding:4px 8px;text-transform:capitalize}.badge-info{background-color:var(--info-color-light,#e3f2fd);color:var(--info-color,#0277bd)}.badge-success{background-color:var(--success-color-light,#e8f5e9);color:var(--success-color,#2e7d32)}.badge-warning{background-color:#fff3e0;background-color:var(--warning-color-light,#fff3e0);color:#ef6c00;color:var(--warning-color,#ef6c00)}.badge-error{background-color:var(--error-color-light,#ffebee);color:var(--error-color,#c62828)}.scheduled-notification-datetime,.scheduled-notification-link,.scheduled-notification-repeat,.scheduled-notification-target{align-items:center;color:#666;color:var(--text-secondary,#666);display:flex;font-size:13px;margin-bottom:6px}.scheduled-notification-title{color:#333;color:var(--text-primary,#333)}.scheduled-notification-message{color:#555;color:var(--text-secondary,#555);line-height:1.4}.scheduled-notifications-empty{background-color:#f9f9f9;background-color:var(--card-secondary-bg,#f9f9f9);border-radius:6px;color:#666;color:var(--text-secondary,#666);padding:24px;text-align:center}.notification-section-footer{align-items:center;display:flex;justify-content:space-between;margin-top:24px}.settings-help-text{align-items:center;color:#666;color:var(--text-secondary,#666);display:flex;font-size:13px}@media (max-width:768px){.form-row{flex-direction:column;gap:8px}.notification-section-footer,.notification-section-header{align-items:flex-start;flex-direction:column;gap:12px}.notification-header-actions{justify-content:space-between;width:100%}}.days-of-week-selector{margin:12px 0}.days-checkboxes{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.day-checkbox{align-items:center;background-color:#f5f7fa;background-color:var(--card-secondary-bg,#f5f7fa);border:1px solid #ddd;border:1px solid var(--border-color,#ddd);border-radius:4px;cursor:pointer;display:flex;padding:4px 8px}.day-checkbox input[type=checkbox]{margin-right:4px;width:auto}.day-checkbox label{color:#333;color:var(--text-primary,#333);cursor:pointer;font-size:13px;font-weight:500;margin-bottom:0}.day-checkbox:hover{background-color:#e7f0ff;background-color:var(--hover-bg,#e7f0ff)}.day-checkbox input[type=checkbox]:checked+label{color:#3e7bfa;color:var(--primary-color,#3e7bfa)}@media (max-width:600px){.days-checkboxes{justify-content:space-between}.day-checkbox{flex-basis:calc(33.3% - 8px);flex-grow:0;flex-shrink:0;justify-content:center;margin-bottom:8px;padding:4px 6px}}.status-processing{background-color:var(--warning-color-light);border:1px solid var(--warning-color);color:var(--warning-color-dark)}.status-completed{background-color:var(--success-color-light);border:1px solid var(--success-color);color:var(--success-color-dark)}.status-paused{background-color:#e9ecef;background-color:var(--gray-200,#e9ecef);border:1px solid #ced4da;border:1px solid var(--gray-400,#ced4da);color:#495057;color:var(--gray-700,#495057)}.status-scheduled{background-color:var(--info-color-light);border:1px solid var(--info-color);color:var(--info-color-dark)}.scheduled-notification-debug{border-top:1px dashed #eee;color:#999;display:none;font-size:10px;margin-top:10px;padding-top:5px}.scheduled-notification-item:hover .scheduled-notification-debug{display:block}.notification-card-actions{border-top:1px solid #eee;border-top:1px solid var(--border-color-light,#eee);display:flex;justify-content:flex-end;margin-top:12px;padding-top:12px}.card-action-button{background:none;border:none;border-radius:4px;color:#666;color:var(--text-secondary,#666);cursor:pointer;margin-left:6px;padding:6px;transition:all .2s ease}.card-action-button:hover{background-color:#f0f2f5;background-color:var(--hover-bg,#f0f2f5);color:#3e7bfa;color:var(--primary-color,#3e7bfa)}.card-action-button:first-child:hover{color:#2c5cc5;color:var(--primary-dark,#2c5cc5)}.card-action-button:last-child:hover{color:#d32f2f;color:var(--error-color,#d32f2f)}.delete-confirm{align-items:center;color:#666;color:var(--text-secondary,#666);display:flex;font-size:13px}.delete-confirm span{font-weight:500;margin-right:8px}.confirm-no,.confirm-yes{border:none;border-radius:4px;cursor:pointer;font-size:12px;font-weight:500;margin-left:4px;padding:4px 8px;transition:all .2s ease}.confirm-yes{background-color:#d32f2f;background-color:var(--error-color,#d32f2f);color:#fff}.confirm-yes:hover{background-color:#b71c1c;background-color:var(--error-color-dark,#b71c1c)}.confirm-no{background-color:#f0f2f5;background-color:var(--button-secondary-bg,#f0f2f5);color:#333;color:var(--text-primary,#333)}.confirm-no:hover{background-color:#e0e0e0;background-color:var(--button-secondary-hover,#e0e0e0)}.clear-filters-button{background-color:#f8d7da;background-color:var(--error-color-light,#f8d7da);border:none;border-radius:30px;color:#721c24;color:var(--error-color-dark,#721c24);cursor:pointer;font-size:13px;font-weight:500;margin-left:auto;padding:4px 10px;transition:all .2s ease}.clear-filters-button:hover{background-color:#dc3545;background-color:var(--error-color,#dc3545);color:#fff}.sort-controls{display:flex;gap:8px;margin-left:auto}.sort-button{align-items:center;background:none;border:none;border-radius:4px;color:#666;cursor:pointer;display:flex;font-size:14px;gap:4px;padding:6px 10px}.sort-button:hover{background-color:#0000000d}.sort-button.active{color:#3e7bfa;color:var(--primary-color,#3e7bfa);font-weight:500}.filter-menu-container{position:relative;z-index:100}.notification-filters{margin-bottom:20px}.filter-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.notification-count{align-items:center;color:#666;color:var(--text-secondary,#666);display:flex;font-size:14px;justify-content:space-between;margin-bottom:16px}.text-button{background:none;border:none;color:#3e7bfa;color:var(--primary-color,#3e7bfa);cursor:pointer;font-size:14px;margin-left:8px;padding:0;text-decoration:underline;transition:color .2s ease}.text-button:hover{color:#2c5cc5;color:var(--primary-dark,#2c5cc5)}@media (max-width:768px){.filter-row{flex-direction:column;gap:12px}.filter-group{min-width:100%}.sort-options{align-items:flex-start;flex-direction:column;gap:8px}.sort-options span{margin-bottom:4px}}.search-filter-row{align-items:center;display:flex;gap:8px;margin-bottom:12px}.search-box{flex-grow:1;position:relative}.search-filter-row .settings-button-icon+.settings-button-icon{margin-left:0}.settings-button-icon svg+svg{margin-left:-4px}.search-filter-row .settings-button+.settings-button{margin-left:0}.search-input{background-color:#fff;background-color:var(--input-bg,#fff);border:1px solid #ddd;border:1px solid var(--input-border,#ddd);color:#333;color:var(--text-primary,#333);padding:8px 32px 8px 10px}.search-icon{color:#888;color:var(--text-muted,#888);right:10px}.clear-search{background:none;border:none;color:#aaa;color:var(--text-muted,#aaa);cursor:pointer;padding:0;position:absolute;right:32px;top:50%;transform:translateY(-50%)}.clear-search:hover{color:#666;color:var(--text-secondary,#666)}.date-range-filter{align-items:center;display:flex;margin-bottom:8px}.date-inputs{gap:10px;position:relative}.date-input-group,.date-inputs{align-items:center;display:flex}.date-input-group{gap:5px}.date-input-group label{font-size:14px;white-space:nowrap}.date-input{background-color:#fff;background-color:var(--input-bg,#fff);border:1px solid #ddd;border:1px solid var(--input-border,#ddd);border-radius:4px;color:#333;color:var(--text-primary,#333);font-size:14px;padding:6px 8px}.clear-dates-button{align-items:center;background:none;border:none;color:#aaa;color:var(--text-muted,#aaa);cursor:pointer;display:flex;justify-content:center;padding:3px}.clear-dates-button:hover{color:#666;color:var(--text-secondary,#666)}.active-filters{background-color:#f8f9fa;background-color:var(--card-secondary-bg,#f8f9fa);border-radius:4px;flex-wrap:wrap;gap:8px;margin-bottom:15px;padding:10px}.active-filters,.filter-tag{align-items:center;display:flex}.filter-tag{background-color:#e9ecef;background-color:var(--tag-bg,#e9ecef);border-radius:30px;font-size:13px;gap:5px;padding:4px 10px}.filter-tag,.filter-tag button{color:#666;color:var(--text-secondary,#666)}.filter-tag button{background:none;border:none;cursor:pointer;font-size:16px;line-height:1;padding:0}.sort-option-button{transition:all .2s ease}.sort-option-button.active{font-weight:500}.sort-option-button:hover{background-color:#0000000d!important;background-color:var(--hover-bg,#0000000d)!important}@media (max-width:768px){.filter-menu-container.expandable .filter-menu-content{animation:slideUp .3s ease-out;border-radius:12px 12px 0 0;bottom:0;box-shadow:0 -2px 10px #0000001a;left:0;margin:0;max-height:80vh;overflow-y:auto;position:fixed;right:0;top:auto;width:100%;z-index:1000}.filter-menu-container.expandable .filter-menu-backdrop{background-color:#00000080;z-index:999}.filter-menu-container.expandable.open .filter-menu-backdrop{display:block}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.filter-menu-toggle{align-items:center;display:flex;height:36px;justify-content:center;min-width:36px;padding:8px}}@media (max-width:576px){.search-filter-row{flex-wrap:wrap;gap:8px}.search-box{flex:1 1 100%;margin-bottom:8px;order:-1}.settings-button-icon{flex:0 0 auto}.form-actions{flex-direction:column;gap:8px}.form-actions .settings-button{width:100%}.target-preview{flex-direction:column}.target-preview .settings-button{width:100%}.day-checkbox{flex-basis:calc(33.33% - 8px);flex-grow:1;flex-shrink:1;justify-content:center}.scheduled-notifications-list{grid-template-columns:1fr}}.notification-schedule-container *{transition:background-color .3s ease,color .3s ease,border-color .3s ease}.query-builder-loading{color:var(--text-secondary,#666);padding:30px}.spinner{animation:spin 1s ease-in-out infinite;border:3px solid #3e7bfa33;border-top-color:#3e7bfa;border:3px solid var(--spinner-color-light,#3e7bfa33);border-top-color:var(--primary-color,#3e7bfa);display:inline-block;margin-bottom:15px}.target-preview{gap:8px;margin-top:8px}.target-user-count{background-color:#e8f5e9;background-color:var(--success-color-light,#e8f5e9);color:#2e7d32;color:var(--success-color,#2e7d32)}.target-user-count strong{font-weight:600}.vips-page-container{align-items:center;background-color:#f9fafb;background-color:var(--bg-secondary,#f9fafb);display:flex;justify-content:center;min-height:100vh}.vips-access-denied{background-color:#fff;border-radius:.5rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;max-width:28rem;padding:1.5rem;width:100%}.vips-access-denied-content{text-align:center}.vips-access-denied-icon{align-items:center;background-color:#fef2f2;border-radius:50%;display:flex;height:3rem;justify-content:center;margin:0 auto;width:3rem}.vips-access-denied-title{color:var(--text-primary);font-size:.875rem;font-weight:500;margin-top:.5rem}.vips-access-denied-message{color:var(--text-secondary);font-size:.875rem;margin-top:.25rem}.vips-tabs-container{margin-bottom:1.5rem}.vips-tabs-border{border-bottom:1px solid var(--border-color)}.vips-tabs-nav{display:flex;gap:2rem;margin-bottom:-1px}.vips-tab-button{background:none;border:none;border-bottom:2px solid #0000;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem .25rem;transition:all .2s ease;white-space:nowrap}.vips-tab-button.active{border-bottom-color:#3b82f6;color:#2563eb}.vips-tab-button.inactive{border-bottom-color:#0000;color:var(--text-secondary)}.vips-tab-button.inactive:hover{border-bottom-color:var(--border-color);color:var(--text-primary)}.vips-tab-content{display:flex;flex-direction:column;gap:1.5rem}.search-icon.searching{color:#00558c!important;opacity:.8}.search-input.searching{border-color:#00558c!important;transition:border-color .2s ease}.search-status{color:#00558c;font-size:12px;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.production-reports-admin{background-color:var(--bg-primary);color:var(--text-primary);min-height:100vh;padding:0}.loading-container{min-height:400px}.loading-spinner{color:var(--text-secondary);font-size:16px}.admin-header{border-bottom:1px solid var(--border-color);margin-bottom:24px;padding-bottom:16px}.admin-title-section h2{color:var(--text-primary);font-size:24px;font-weight:600;margin:0 0 4px}.admin-title-section p{color:var(--text-secondary);font-size:14px;margin:0}.admin-tabs{border-bottom:1px solid var(--border-color);display:flex;margin-bottom:24px}.tab-btn{align-items:center;background:none;border:none;border-bottom:2px solid #0000;display:flex;font-size:14px;gap:8px;padding:12px 20px}.tab-btn:hover{background-color:var(--bg-tertiary)}.tab-btn.active{border-bottom-color:var(--button-primary-bg);color:var(--button-primary-bg)}.admin-controls{align-items:center;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;margin-bottom:24px}.admin-search{flex:1 1;min-width:250px}.search-icon{font-size:16px;left:12px;top:50%;transform:translateY(-50%)}.search-input{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--input-text);font-size:14px;padding:10px 12px 10px 40px;width:100%}.search-input:focus{border-color:var(--button-primary-bg);outline:none}.admin-filters{align-items:center;display:flex;gap:16px}.filter-select{background-color:var(--input-bg)}.checkbox-label{align-items:center;color:var(--text-primary);cursor:pointer;display:flex;font-size:14px;gap:6px}.checkbox-label input[type=checkbox]{margin:0}.admin-actions{display:flex;gap:12px}.btn-primary,.btn-secondary{align-items:center;display:flex;font-size:14px;gap:8px;padding:10px 16px}.btn-primary{background-color:var(--button-primary-bg);color:var(--button-primary-text)}.btn-primary:hover{background-color:var(--button-primary-hover)}.btn-secondary{background-color:var(--button-secondary-bg);color:var(--button-secondary-text)}.btn-secondary:hover{background-color:var(--bg-tertiary)}.admin-table-container{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;overflow:hidden}.admin-table{border-collapse:collapse;width:100%}.admin-table th{background-color:var(--bg-tertiary);font-weight:600;text-align:left}.admin-table td,.admin-table th{border-bottom:1px solid var(--border-color);color:var(--text-primary);font-size:14px;padding:12px 16px}.admin-table tr:last-child td{border-bottom:none}.admin-table tr:hover{background-color:var(--bg-tertiary)}.admin-table tr.hidden-row{background-color:#ff00000d;opacity:.6}.report-cell{align-items:center;display:flex;gap:12px}.file-icon{color:#0078d7;flex-shrink:0;font-size:20px}.report-name{color:var(--text-primary);font-weight:500}.report-subject{color:var(--text-secondary);font-size:12px;margin-top:2px}.category-cell{align-items:center;display:flex;gap:8px}.category-color{border-radius:50%;flex-shrink:0;height:12px;width:12px}.category-badge{border-radius:12px;font-size:12px;font-weight:500;padding:4px 8px}.action-buttons{gap:6px}.action-btn{align-items:center;background-color:var(--button-secondary-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--text-secondary);cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s ease;width:32px}.action-btn:hover{background-color:var(--bg-tertiary);color:var(--text-primary)}.action-btn.delete:hover{background-color:#ef44441a;border-color:#ef4444;color:#ef4444}.admin-modal{background-color:var(--card-bg);border-radius:8px;box-shadow:0 10px 30px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:600px;overflow:hidden;width:100%}.admin-modal-header{align-items:center;background-color:var(--bg-tertiary);border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:20px}.admin-modal-header h3{color:var(--text-primary);font-size:18px;font-weight:600;margin:0}.modal-close-btn{border-radius:4px;color:var(--text-secondary);padding:4px;transition:all .2s ease}.modal-close-btn:hover{background-color:var(--bg-tertiary);color:var(--text-primary)}.admin-modal-content{flex:1 1;overflow-y:auto;padding:20px}.admin-modal-actions{background-color:var(--bg-tertiary);border-top:1px solid var(--border-color);display:flex;gap:12px;justify-content:flex-end;padding:20px}.form-grid{grid-template-columns:1fr 1fr}.form-field.span-2{grid-column:span 2}.form-field input,.form-field select,.form-field textarea{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--input-text);font-size:14px;padding:10px 12px;transition:border-color .2s ease}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--button-primary-bg);outline:none}.form-field input.error{border-color:#ef4444}.field-error{color:#ef4444;font-size:12px}.form-error{background-color:#ef44441a;border-radius:4px;color:#ef4444;font-size:14px;margin-top:16px;padding:12px}.form-field textarea{min-height:80px;resize:vertical}.form-field input[type=color]{cursor:pointer;height:40px;padding:2px}@media (max-width:768px){.admin-controls{align-items:stretch;flex-direction:column;gap:16px}.admin-search{min-width:auto}.admin-filters{flex-wrap:wrap}.admin-actions,.admin-filters{justify-content:center}.admin-table-container{overflow-x:auto}.admin-table{min-width:600px}.form-grid{gap:16px;grid-template-columns:1fr}.form-field.span-2{grid-column:span 1}.modal-backdrop{padding:10px}.admin-modal{max-height:95vh}.admin-modal-actions,.admin-modal-content,.admin-modal-header{padding:16px}}@media (max-width:480px){.admin-header h2{font-size:20px}.tab-btn{font-size:13px;padding:10px 16px}.admin-table td,.admin-table th{font-size:13px;padding:8px 12px}.report-cell{align-items:flex-start;gap:4px}.action-buttons,.report-cell{flex-direction:column}}[data-theme=dark] .admin-modal{box-shadow:0 10px 30px #00000080}[data-theme=dark] .admin-table tr.hidden-row{background-color:#ff00001a}.modal-backdrop{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.version-modal{background-color:var(--card-bg);border-radius:8px;box-shadow:0 10px 30px #0000004d;display:flex;flex-direction:column;max-height:80vh;max-width:600px;overflow:hidden;width:100%}.version-modal-header{align-items:flex-start;background-color:var(--bg-tertiary);border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:20px}.version-modal-title-section h3{color:var(--text-primary);font-size:18px;font-weight:600;margin:0 0 4px}.version-modal-title-section p{color:var(--text-secondary);font-size:14px;margin:0}.version-modal-close{background:none;border:none;border-radius:4px;color:var(--text-secondary);cursor:pointer;padding:4px;transition:all .2s ease}.version-modal-close:hover{background-color:var(--bg-tertiary);color:var(--text-primary)}.version-modal-content{flex:1 1;overflow-y:auto;padding:0}.version-list{display:flex;flex-direction:column}.version-item{align-items:center;border-bottom:1px solid var(--border-color);display:flex;gap:16px;padding:16px 20px;transition:background-color .2s ease}.version-item:hover{background-color:var(--bg-tertiary)}.version-item.latest{background-color:#0078d70d;border-left:3px solid #0078d7}.version-icon{color:#0078d7;flex-shrink:0}.version-info{flex:1 1;min-width:0}.version-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:4px}.version-name{align-items:center;display:flex;flex:1 1;gap:8px;min-width:0}.file-name{color:var(--text-primary);font-size:14px;font-weight:500;word-break:break-all}.latest-badge{background-color:#0078d7;border-radius:10px;color:#fff;flex-shrink:0;font-size:10px;font-weight:600;padding:2px 6px;text-transform:uppercase}.version-meta{align-items:flex-end;display:flex;flex-direction:column;flex-shrink:0;gap:2px}.version-date{align-items:center;color:var(--text-secondary);display:flex;font-size:12px;gap:4px}.version-relative{color:var(--text-secondary);font-size:11px;opacity:.8}.version-details{align-items:center;color:var(--text-secondary);display:flex;flex-wrap:wrap;font-size:12px;gap:12px}.file-size{font-weight:500}.version-description{font-style:italic}.version-author{color:var(--text-primary);font-weight:500}.version-actions{display:flex;flex-shrink:0;gap:8px}.version-action-btn{align-items:center;background-color:var(--button-primary-bg);border:none;border-radius:4px;color:var(--button-primary-text);cursor:pointer;display:flex;font-size:12px;font-weight:500;gap:6px;padding:6px 12px;transition:all .2s ease}.version-action-btn:hover{background-color:var(--button-primary-hover)}.version-action-btn.view{background-color:var(--button-secondary-bg);border:1px solid var(--border-color);color:var(--button-secondary-text)}.version-action-btn.view:hover{background-color:var(--bg-tertiary);border-color:var(--button-primary-bg)}.version-unavailable{color:var(--text-secondary);font-size:12px;font-style:italic;padding:6px 12px}.no-versions{align-items:center;color:var(--text-secondary);display:flex;flex-direction:column;justify-content:center;padding:40px 20px;text-align:center}.no-versions h4{color:var(--text-primary);font-size:16px;margin:16px 0 8px}.no-versions p{font-size:14px;margin:0}@media (max-width:768px){.modal-backdrop{padding:10px}.version-modal{max-height:90vh}.version-modal-header{padding:16px}.version-item{gap:12px;padding:12px 16px}.version-header,.version-item{align-items:flex-start;flex-direction:column}.version-header{gap:4px;width:100%}.version-meta{align-items:flex-start}.version-actions{width:100%}.version-action-btn{justify-content:center;width:100%}}@media (max-width:480px){.version-modal-title-section h3{font-size:16px}.file-name{font-size:13px}.version-item{padding:10px 12px}}[data-theme=dark] .modal-backdrop{background-color:#000000b3}[data-theme=dark] .version-modal{box-shadow:0 10px 30px #00000080}[data-theme=dark] .version-item.latest{background-color:#0078d71a}.report-container{background:#fff;background:var(--card-bg,#fff);border-radius:8px;box-shadow:0 2px 8px #0000001a;box-shadow:0 2px 8px var(--shadow-color,#0000001a);display:flex;flex-direction:column;height:100%;overflow:hidden}.report-container.fullscreen{border-radius:0;bottom:0;left:0;max-height:none;max-width:none;position:fixed;right:0;top:0;z-index:9999}.report-header{background:#fff;background:var(--card-bg,#fff);border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--border-color,#e5e7eb);gap:20px;justify-content:space-between;padding:24px}.report-header,.report-header-left{align-items:flex-start;display:flex}.report-header-left{flex:1 1;gap:16px}.back-btn{align-items:center;background:#fff;background:var(--card-bg,#fff);border:1px solid #e5e7eb;border:1px solid var(--border-color,#e5e7eb);border-radius:6px;color:#6b7280;color:var(--text-secondary,#6b7280);cursor:pointer;display:flex;justify-content:center;margin-top:2px;padding:8px;transition:all .2s ease}.back-btn:hover{background:#f9fafb;background:var(--sidebar-hover,#f9fafb);border-color:#d1d5db;border-color:var(--border-color,#d1d5db);color:#111827;color:var(--text-primary,#111827)}.report-title-section{flex:1 1}.report-title{color:#111827;color:var(--text-primary,#111827);font-size:24px;font-weight:600;line-height:1.2;margin:0 0 4px}.report-description{color:#6b7280;color:var(--text-secondary,#6b7280);font-size:14px;line-height:1.4;margin:0}.report-header-right{align-items:flex-end;display:flex;flex-direction:column;gap:12px}.report-metadata{display:flex;flex-wrap:wrap;gap:16px}.metadata-item{align-items:center;background:#f9fafb;background:var(--bg-secondary,#f9fafb);border-radius:4px;color:#6b7280;color:var(--text-secondary,#6b7280);display:flex;font-size:12px;gap:4px;padding:4px 8px}.report-actions{display:flex;flex-wrap:wrap;gap:8px}.report-action-btn,.report-action-component{align-items:center;display:flex}.report-action-btn{border:1px solid #0000;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;gap:6px;padding:8px 12px;transition:all .2s ease}.report-action-btn.primary{background:#3b82f6;background:var(--button-primary-bg,#3b82f6);border-color:#3b82f6;border-color:var(--button-primary-bg,#3b82f6);color:#fff}.report-action-btn.primary:hover{background:#2563eb;background:var(--hover-color,#2563eb);border-color:#2563eb;border-color:var(--hover-color,#2563eb)}.report-action-btn.secondary{background:#fff;background:var(--card-bg,#fff);border-color:#e5e7eb;border-color:var(--border-color,#e5e7eb);color:#6b7280;color:var(--text-secondary,#6b7280)}.report-action-btn.secondary:hover{background:#f9fafb;background:var(--sidebar-hover,#f9fafb);border-color:#d1d5db;border-color:var(--border-color,#d1d5db);color:#111827;color:var(--text-primary,#111827)}.report-action-btn:disabled{cursor:not-allowed;opacity:.5}.report-action-btn:disabled:hover{background:#fff;background:var(--card-bg,#fff);border-color:#e5e7eb;border-color:var(--border-color,#e5e7eb)}.report-content{background:#f9fafb;background:var(--bg-secondary,#f9fafb);flex:1 1;overflow:auto;padding:24px}.report-error,.report-loading{align-items:center;display:flex;flex-direction:column;gap:16px;justify-content:center;min-height:200px;text-align:center}.report-loading .loading-spinner{animation:spin 1s linear infinite;color:#3b82f6;color:var(--button-primary-bg,#3b82f6)}.report-error{color:#dc2626;color:var(--text-primary,#dc2626)}.report-error h3{font-size:18px;font-weight:600;margin:0}.report-error p{color:#6b7280;color:var(--text-secondary,#6b7280);margin:0}.retry-btn{align-items:center;background:#dc2626;background:var(--button-secondary-bg,#dc2626);border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;gap:6px;padding:8px 16px;transition:background .2s ease}.retry-btn:hover{background:#b91c1c;background:var(--hover-color,#b91c1c)}.report-footer{background:#fff;background:var(--card-bg,#fff);border-top:1px solid #e5e7eb;border-top:1px solid var(--border-color,#e5e7eb);padding:16px 24px}.report-footer-info{align-items:center;color:#6b7280;color:var(--text-secondary,#6b7280);display:flex;font-size:12px;justify-content:space-between}.spinning{animation:spin 1s linear infinite}@media (max-width:768px){.report-header{flex-direction:column;gap:16px}.report-header-left{width:100%}.report-header-right{align-items:flex-start;width:100%}.report-actions,.report-metadata{justify-content:flex-start;width:100%}.report-content{padding:16px}.report-footer-info{align-items:flex-start;flex-direction:column;gap:4px}}@media (max-width:480px){.report-header{padding:16px}.report-title{font-size:20px}.metadata-item{font-size:11px}.report-action-btn{font-size:13px;padding:6px 10px}}.export-dropdown-menu{background:#fff;background:var(--card-bg,#fff);border:1px solid #e5e7eb;border:1px solid var(--border-color,#e5e7eb);border-radius:6px;box-shadow:0 4px 6px #0000001a;box-shadow:0 4px 6px var(--shadow-color,#0000001a);margin-top:4px;min-width:140px;overflow:hidden;position:absolute;right:0;top:100%;z-index:1000}.export-dropdown-item{align-items:center;background:#0000;border:none;color:#111827;color:var(--text-primary,#111827);cursor:pointer;display:flex;font-size:14px;gap:8px;padding:8px 12px;text-align:left;transition:background-color .15s ease;width:100%}.export-dropdown-item:hover{background:#f9fafb;background:var(--sidebar-hover,#f9fafb)}.export-dropdown-item:first-child{border-radius:6px 6px 0 0}.export-dropdown-item:last-child{border-radius:0 0 6px 6px}[data-theme=dark] .export-dropdown-menu{background:#242424;background:var(--card-bg,#242424);border-color:#333;border-color:var(--border-color,#333);box-shadow:0 4px 6px #0006;box-shadow:0 4px 6px var(--shadow-color,#0006)}[data-theme=dark] .export-dropdown-item{color:#f0f0f0;color:var(--text-primary,#f0f0f0)}[data-theme=dark] .export-dropdown-item:hover{background:#333;background:var(--sidebar-hover,#333)}.more-summary-section{margin-bottom:5px}.more-summary-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:24px}.more-leaderboard-section{margin:5px 0}.more-reporting-status-section{margin:20px 0}.more-header-with-toggle-and-filters{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:16px}.more-header-with-toggle-and-filters h5{color:var(--text-primary);font-size:18px;font-weight:600;margin:0}.more-header-with-toggle-and-filters>div:first-child{flex:1 1}.recruiting-table{background-color:#fff;background-color:var(--card-bg,#fff);border-collapse:collapse;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-top:16px;overflow:hidden;width:100%}.recruiting-table tbody tr:nth-child(2n){background-color:#f9fafb;background-color:var(--bg-secondary,#f9fafb)}.recruiting-table tbody tr:hover{background-color:#f3f4f6;background-color:var(--sidebar-hover,#f3f4f6)}.recruiting-table td{border-bottom:1px solid var(--border-color);color:var(--text-primary);padding:12px 16px}.recruiting-table td:first-child{font-weight:600}.recruiting-table td[colspan="3"]{background-color:#3b82f6;background-color:var(--button-primary-bg,#3b82f6);color:#fff;font-weight:700;padding:8px 16px}.recruiting-table td[style*="textAlign: center"]{color:var(--text-secondary);font-style:italic}.recruiting-table td[style*="borderTop: 1px solid #ccc"]{border-top:1px solid var(--border-color)}.more-table-section{margin:32px 0}.more-table-section h3{color:var(--text-primary);font-size:18px;font-weight:600;margin:0 0 20px}.more-form{padding:0}.form-grid{grid-gap:20px;display:grid;gap:20px}.form-field{display:flex;flex-direction:column;gap:6px}.form-field label{color:var(--text-primary);font-size:14px;font-weight:500}.form-field input{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--input-text);font-size:14px;padding:10px 12px;transition:border-color .2s ease}.form-field input:focus{border-color:var(--button-primary-bg);outline:none}.form-section{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;padding:16px}.form-section h4{border-bottom:1px solid var(--border-color);color:var(--text-primary);font-size:16px;font-weight:600;margin:0 0 16px;padding-bottom:8px}.form-row{grid-gap:16px;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.form-actions{gap:12px;margin-top:24px;padding-top:20px}.more-report-filter-content{min-width:280px}.filter-group{margin-bottom:16px}.filter-group-label{color:var(--text-primary);display:block;font-size:14px;font-weight:500;margin-bottom:8px}.more-group-row{background-color:#3b82f6!important;background-color:var(--button-primary-bg,#3b82f6)!important;background:linear-gradient(135deg,#3b82f6,#2563eb);background:linear-gradient(135deg,var(--button-primary-bg,#3b82f6) 0,#2563eb 100%);border-bottom:2px solid #3b82f6;border-bottom:2px solid var(--button-primary-bg,#3b82f6);border-top:2px solid #3b82f6;border-top:2px solid var(--button-primary-bg,#3b82f6);box-shadow:0 2px 4px #0000001a;cursor:pointer;font-weight:700;position:-webkit-sticky;position:sticky;top:0;transition:all .2s ease;z-index:10}.more-group-row td{background:inherit;border-color:#3b82f6;border-color:var(--button-primary-bg,#3b82f6);color:#fff!important;font-weight:700;padding:12px 8px!important}.more-group-row:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;box-shadow:0 4px 8px #00000026;transform:translateY(-1px)}.more-group-row:hover td{background:inherit;color:#fff!important}.more-sub-row{background-color:#fff;background-color:var(--card-bg,#fff)}.more-sub-row:nth-child(2n){background-color:#f9fafb;background-color:var(--bg-secondary,#f9fafb)}.more-sub-row:hover{background-color:#f3f4f6;background-color:var(--sidebar-hover,#f3f4f6)}.more-group-row .group-toggle-icon{cursor:pointer;transition:transform .2s ease}.more-group-row .group-expand-icon,.more-group-row .group-toggle-icon{color:#fff!important;margin-right:8px}.more-group-row .group-icon{color:#fff!important}.more-group-row .group-count{color:#ffffffe6!important;font-size:.9em;font-weight:400;margin-left:8px}.more-group-row .group-total-value{color:#fff!important;font-weight:700}.more-group-row .group-header-cell{color:#fff!important}.filter-buttons{display:flex;flex-wrap:wrap;gap:8px}.filter-button{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);cursor:pointer;font-size:13px;font-weight:500;padding:6px 12px;transition:all .2s ease}.filter-button:hover{background:var(--sidebar-hover);border-color:var(--button-primary-bg)}.filter-button.active{background:var(--button-primary-bg);border-color:var(--button-primary-bg);color:#fff}.filter-button.reset{align-items:center;background:var(--bg-tertiary);color:var(--text-secondary);display:flex;gap:4px}.filter-button.reset:hover{background:#dc3545;border-color:#dc3545;color:#fff}.filter-select{background:var(--input-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--input-text);font-size:14px;min-height:120px;padding:8px 12px;width:100%}.filter-select:focus{border-color:var(--button-primary-bg);outline:none}.metric-value{color:var(--text-primary);font-weight:600}.hire-count{background:#10b9811a;color:#10b981}.hire-count,.pr-hire-count{border-radius:4px;font-weight:700;padding:4px 8px}.pr-hire-count{background:#8b5cf61a;color:#8b5cf6}.btn-primary{align-items:center;border:none;border-radius:4px;color:var(--button-primary-color);cursor:pointer;display:flex;font-weight:500;gap:8px;padding:10px 16px;transition:all .2s ease}.btn-primary:hover:not(:disabled){background:var(--button-primary-hover);transform:translateY(-1px)}.btn-primary:disabled{cursor:not-allowed;opacity:.6}.btn-secondary{background:var(--bg-secondary);border-radius:4px;cursor:pointer;font-weight:500;padding:10px 16px;transition:all .2s ease}.btn-secondary:hover{border-color:var(--text-secondary)}@media (max-width:768px){.more-summary-cards{gap:16px;grid-template-columns:1fr}.form-row{gap:12px;grid-template-columns:1fr}.filter-buttons,.form-actions{flex-direction:column}.more-report-filter-content{min-width:240px}}[data-theme=dark] .filter-button,[data-theme=dark] .form-section{background:var(--bg-tertiary)}[data-theme=dark] .filter-button:hover{background:var(--sidebar-hover)}[data-theme=dark] .hire-count{background:#10b98133}[data-theme=dark] .pr-hire-count{background:#8b5cf633;color:#fef3c7}.report-more-section{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;margin:32px 0;padding:20px}.report-more-section h3{color:var(--text-primary);font-size:18px;font-weight:600;margin:0 0 20px}.more-form-container{background:#0000;border-radius:10px;font-family:inherit;margin:0 auto;padding:0;width:100%}.more-date-navigation{align-items:center;display:flex;gap:10px;justify-content:center;margin-bottom:20px}.date-range-container{align-items:center;display:flex;gap:10px;position:relative;text-align:center}.recruiting-week-label{color:var(--text-primary);font-size:16px;font-weight:700}.week-selector{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:5px;color:var(--input-text);cursor:pointer;font-size:16px;font-weight:700;outline:none;padding:5px 10px;text-align:center}.week-selector:focus{border-color:var(--button-primary-bg);box-shadow:0 0 5px #3b82f680}.week-indicator{background-color:#f0f8ff;border:2px solid #00548c;border-radius:4px;box-shadow:0 2px 4px #0000001a;color:#00548c;font-size:12px;font-weight:700;left:50%;padding:2px 6px;position:absolute;top:-35px;transform:translateX(-50%);white-space:nowrap;z-index:1}.week-indicator-wrapper{align-items:center;display:flex;gap:6px}.more-spinner{animation:spin 1s linear infinite;border:2px solid #0003;border-radius:50%;border-top-color:#00558c;height:14px;left:65%;position:absolute;top:-30px;transform:translateX(-50%);visibility:hidden;width:14px}.more-spinner.visible{visibility:visible}.more-week-button{background-color:initial;border:none;border-radius:5px;color:var(--text-secondary);cursor:pointer;font-size:30px;padding:8px 12px;transition:color .3s}.more-week-button:hover{background-color:initial;color:var(--text-primary)}.more-form-input{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:5px;color:var(--input-text);font-size:14px;outline:none;padding:8px;transition:border-color .3s;width:100%}.more-form-input:focus{border-color:var(--button-primary-bg)}.warning-message-container{align-items:center;background-color:#fff9e6;border:2px solid #ffe4a1;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;margin-bottom:30px;margin-top:-5px;padding:10px 20px}.warning-icon{flex-shrink:0;margin-right:15px}.warning-icon-svg{height:30px;width:30px}.warning-message-content h5{color:#856404;font-size:16px;font-weight:700;margin:0 0 8px}.warning-message-content p{color:#856404;font-size:14px;line-height:1.4;margin:0 0 15px}.success-message-container{align-items:center;background-color:#d4edda;border:2px solid #c3e6cb;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;margin-bottom:30px;margin-top:-5px;padding:10px 20px}.success-icon{flex-shrink:0;margin-right:15px}.success-icon-svg{height:30px;width:30px}.success-message-content{flex:1 1}.success-message-content h5{color:#155724;font-size:16px;font-weight:700;margin:0 0 8px}.success-message-content p{color:#155724;font-size:14px;line-height:1.4;margin:0 0 15px}.more-button-group{display:flex;flex-wrap:wrap;gap:10px}.more-toggle-collapse-button{background-color:var(--button-primary-bg)}.more-toggle-collapse-button,.success-more-toggle-collapse-button{border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:14px;font-weight:700;padding:10px 20px;transition:background-color .3s ease}.success-more-toggle-collapse-button{background-color:#28a745}.no-recruit-notice-button{background-color:#6c757d;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:14px;font-weight:700;padding:10px 20px;transition:background-color .3s ease}.more-toggle-collapse-button:hover{background-color:#2563eb}.success-more-toggle-collapse-button:hover{background-color:#218838}.no-recruit-notice-button:hover{background-color:#5a6268}.horizontal-table{margin-top:20px;overflow-x:auto}.morebonus-table{background:var(--card-bg);border-collapse:collapse;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden;width:100%}.morebonus-table td,.morebonus-table th{border:1px solid var(--border-color);padding:10px;text-align:center}.morebonus-table th{color:#fff;font-weight:700}.more-table-header{font-size:12px;font-weight:600}.morebonus-table tr:nth-child(2n){background-color:var(--bg-secondary)}.morebonus-table input{background:#0000;border:none;color:var(--text-primary);font-size:14px;text-align:center;width:100%}.morebonus-table input:focus{border-radius:3px;outline:2px solid var(--button-primary-bg)}[data-theme=dark] .warning-message-container{background-color:#2d1b00;border-color:#664d00}[data-theme=dark] .warning-message-content h5,[data-theme=dark] .warning-message-content p{color:#ffb366}[data-theme=dark] .success-message-container{background-color:#0f2419;border-color:#1e4d2b}[data-theme=dark] .success-message-content h5,[data-theme=dark] .success-message-content p{color:#7dd3a0}[data-theme=dark] .week-indicator{background-color:#1e293b;border-color:#60a5fa;color:#60a5fa}@media (max-width:768px){.more-date-navigation{flex-direction:column;gap:15px}.date-range-container{flex-direction:column;gap:8px}.week-indicator{position:static;transform:none}.more-button-group{flex-direction:column}.horizontal-table{font-size:12px}.morebonus-table td,.morebonus-table th{padding:6px}}.updates-container{display:flex;flex-direction:column;gap:1.5rem;margin:0 auto;max-width:1200px}.updates-summary{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:1rem}.updates-error,.updates-loading{align-items:center;color:var(--text-secondary);display:flex;flex-direction:column;justify-content:center;padding:3rem;text-align:center}.loading-spinner{border-top:3px solid var(--border-color);border:3px solid var(--border-color);border-top-color:var(--button-primary-bg);height:32px;margin-bottom:1rem;width:32px}.retry-button{background:var(--button-primary-bg);border:none;border-radius:4px;color:#fff;cursor:pointer;margin-top:1rem;padding:.5rem 1rem}.retry-button:hover{background:var(--button-primary-hover)}.updates-thread{gap:1.5rem}.release-section,.updates-thread{display:flex;flex-direction:column}.release-section{gap:1rem}.release-section+.release-section{margin-top:.25rem}.release-card.update-post{background:#0284c70f;border-left:4px solid #0284c7}.release-children{display:flex;flex-direction:column;gap:1rem;margin-left:16px;position:relative}.release-children:before{background:var(--border-color);border-radius:1px;bottom:.25rem;content:"";left:-8px;position:absolute;top:.25rem;width:2px}.updates-empty{align-items:center;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;color:var(--text-secondary);display:flex;flex-direction:column;justify-content:center;padding:4rem 2rem;text-align:center}.empty-icon{color:var(--text-tertiary);margin-bottom:1rem}.updates-empty h3{color:var(--text-primary);margin:0 0 .5rem}.updates-empty p{font-size:.9rem;margin:0}.update-post{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;padding:1.5rem;position:relative;transition:all .2s ease}.update-post:hover{box-shadow:0 2px 8px #0000001a}.update-post.priority-high{border-left:4px solid #f44336}.update-post.priority-normal{border-left:4px solid #2196f3}.update-post.priority-low{border-left:4px solid #4caf50}.update-header{border-bottom:1px solid var(--border-color);justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem}.update-header,.update-meta{align-items:center;display:flex}.update-meta{gap:.75rem}.update-type-icon{border-radius:4px;padding:4px}.update-type-icon.update{background:#2196f31a;color:#2196f3}.update-type-icon.feature{background:#4caf501a;color:#4caf50}.update-type-icon.bugfix{background:#ff98001a;color:#ff9800}.update-type{color:var(--text-primary);font-size:.9rem;font-weight:500}.update-priority{background:var(--bg-tertiary);border-radius:12px;color:var(--text-secondary);font-size:.75rem;font-weight:500;padding:2px 8px;text-transform:uppercase}.update-actions{gap:.75rem}.update-actions,.update-date{align-items:center;display:flex}.update-date{color:var(--text-secondary);font-size:.85rem;gap:.25rem}.update-action-btn{background:none;border:none;border-radius:4px;color:var(--text-secondary);cursor:pointer;padding:4px;transition:all .2s ease}.update-action-btn:hover{background:var(--bg-tertiary);color:var(--text-primary)}.update-action-btn.delete{font-size:18px;font-weight:700}.update-action-btn.delete:hover{background:#f443361a;color:#f44336}.update-content{margin-bottom:1rem}.update-title{color:var(--text-primary);font-size:1.25rem;font-weight:600;line-height:1.3;margin:0 0 .75rem}.update-body{color:var(--text-primary);line-height:1.6}.update-body p{margin:0 0 .75rem}.update-body p:last-child{margin-bottom:0}.update-footer{border-top:1px solid var(--border-color);justify-content:space-between;padding-top:.75rem}.update-author,.update-footer{align-items:center;display:flex}.update-author{color:var(--text-secondary);font-size:.85rem;gap:.25rem}.update-form{display:flex;flex-direction:column;gap:1rem}.form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.form-group{gap:.5rem}.form-group label{font-size:.9rem}.form-input,.form-select,.form-textarea{background:var(--input-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);font-size:.9rem;padding:.75rem;transition:border-color .2s ease}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--button-primary-bg);outline:none}.form-textarea{font-family:inherit;min-height:120px;resize:vertical}.form-actions{border-top:1px solid var(--border-color);gap:.75rem;justify-content:flex-end;margin-top:1rem;padding-top:1rem}.btn-primary,.btn-secondary{border:none;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s ease}.btn-primary{background:var(--button-primary-bg);color:#fff}.btn-primary:hover{background:var(--button-primary-hover)}.btn-secondary{background:var(--bg-tertiary);border:1px solid var(--border-color);color:var(--text-primary)}.btn-secondary:hover{background:var(--sidebar-hover)}@media (max-width:768px){.updates-container{gap:1rem}.updates-summary{gap:.75rem;grid-template-columns:1fr}.update-post{padding:1rem}.update-header{align-items:flex-start;flex-direction:column;gap:.75rem}.update-actions{align-self:flex-end}.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column-reverse}.btn-primary,.btn-secondary{width:100%}}[data-theme=dark] .update-post,[data-theme=dark] .updates-empty{background:var(--bg-secondary)}[data-theme=dark] .loading-spinner{border-color:var(--border-color);border-top-color:var(--button-primary-bg)}.training-container{background-color:var(--bg-primary);display:flex;min-height:calc(100vh - 60px);min-height:calc(100vh - var(--header-height, 60px))}.training-content{background-color:var(--bg-primary);flex:1 1;overflow-y:auto}.padded-content{padding:2rem}@media (max-width:768px){.training-container{flex-direction:column}.training-content{box-sizing:border-box;padding:15px;width:100%}.padded-content{padding:0}}[data-theme=dark] .training-container,[data-theme=dark] .training-content{background-color:var(--bg-primary)}.modal-overlay{z-index:10000}.modal-container{animation:fadeIn .3s ease-out;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;box-shadow:0 2px 8px var(--shadow-color);color:var(--text-primary);max-width:500px;padding:1.5rem;width:90%}.modal-header{border-bottom:1px solid var(--border-color);margin-bottom:1rem;padding-bottom:.5rem}.modal-title{color:var(--text-primary);font-size:1.25rem;margin:0}.modal-close-button{background:#0000;border:none;color:var(--text-primary);cursor:pointer;font-size:1.5rem;line-height:1}.modal-content{max-height:60vh}.affiliate-link-section{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;margin-bottom:20px;padding:20px;text-align:center}.affiliate-link-section a{color:var(--hover-color);font-weight:500;text-decoration:none;word-break:break-all}.affiliate-link-section a:hover{text-decoration:underline}.tab-content{margin-top:20px}.tab-content h3{color:var(--text-primary);font-size:1.2rem;margin-bottom:15px}.table-container{margin-bottom:20px;overflow-x:auto}.clickable-row{cursor:pointer;transition:background-color .2s ease}.clickable-row:hover{background-color:#007bff1a;background-color:var(--hover-bg,#007bff1a)}.clickable-row:hover td{background-color:initial}.action-buttons{display:flex;flex-wrap:wrap;gap:5px}.action-buttons button{font-size:.75rem;padding:4px 8px;white-space:nowrap}.action-icon{align-items:center;border-radius:4px;color:var(--text-secondary);cursor:pointer;display:flex;font-size:1rem;justify-content:center;padding:8px;transition:all .2s ease}.action-icon:hover{background-color:#007bff1a;background-color:var(--hover-bg,#007bff1a);color:var(--text-primary)}.context-menu .menu-item.primary-action{color:var(--primary-color);font-weight:500}.context-menu .menu-item.secondary-action{color:var(--text-secondary)}.context-menu .menu-item.primary-action:hover{background-color:#007bff1a;background-color:var(--primary-color-light,#007bff1a);color:var(--primary-color)}.context-menu .menu-item.secondary-action:hover{background-color:#0000000d;background-color:var(--hover-bg,#0000000d)}.context-menu .menu-item.move-action{border-top:1px solid var(--border-color);color:#f39c12;color:var(--warning-color,#f39c12);margin-top:5px;padding-top:15px}.context-menu .menu-item.move-action:hover{background-color:#f39c121a;background-color:var(--warning-light,#f39c121a);color:#f39c12;color:var(--warning-color,#f39c12)}@media (max-width:768px){.action-buttons{flex-direction:column;gap:3px}.action-buttons button{font-size:.7rem;padding:3px 6px}.settings-tabs{flex-wrap:wrap;gap:5px}.settings-tab{font-size:.8rem;padding:8px 12px}.affiliate-link-section{padding:15px}.affiliate-link-section p{font-size:12px!important}}@media (max-width:480px){.table{font-size:.7rem}.table td,.table th{max-width:80px;overflow:hidden;padding:2px;text-overflow:ellipsis;white-space:nowrap}.action-buttons button{font-size:.65rem;padding:2px 4px}}.loading-container{align-items:center;color:var(--text-secondary);display:flex;height:200px;justify-content:center}.table-container{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;padding:10px}.padded-content .primary-button,.padded-content .secondary-button{margin:0 5px}.modal-content p{line-height:1.4;margin-bottom:8px}.modal-content strong{color:var(--text-primary);margin-right:8px}.admin-hierarchy-container{max-width:800px}.admin-rga-section{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:6px;box-shadow:0 2px 4px var(--shadow-color);overflow:hidden}.admin-rga-header{align-items:center;background-color:var(--bg-secondary);border-bottom:1px solid var(--border-color);cursor:pointer;display:flex;justify-content:space-between;padding:12px 16px;transition:background-color .2s}.admin-rga-header:hover{background-color:var(--sidebar-hover)}.admin-rga-title{align-items:center;color:var(--text-primary);display:flex;font-size:1.05rem;font-weight:600;gap:8px}.admin-rga-indicator{align-items:center;color:var(--text-secondary);display:flex}.admin-rga-content{background-color:var(--card-bg);padding:16px}.filter-badge{align-items:center;background-color:#ff4757;background-color:var(--badge-bg,#ff4757);border-radius:50%;color:#fff;display:flex;font-size:10px;font-weight:700;height:18px;justify-content:center;position:absolute;right:-8px;top:-8px;width:18px}.filter-icon{color:var(--text-primary);font-size:16px}.filter-menu-toggle .chevron-icon{color:var(--text-secondary);margin-left:4px}.admin-hierarchy-table{border-radius:4px;box-shadow:0 2px 4px var(--shadow-color);margin-top:10px;overflow:hidden}.view-toggle{gap:5px;margin-left:auto}.view-toggle-button{height:34px;width:34px}@media (max-width:768px){.admin-hierarchy-controls{align-items:stretch;flex-direction:column}.admin-controls-buttons,.controls-left-section,.controls-right-section{justify-content:space-between;width:100%}.view-toggle-button{flex:1 1}}.admin-hierarchy-tree{padding:5px}.admin-hierarchy-card{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;box-shadow:0 2px 4px var(--shadow-color);margin-bottom:10px;max-width:600px;overflow:hidden;position:relative;transition:margin-left .3s ease;width:100%}.admin-hierarchy-card.inactive{opacity:.7}.hierarchy-card-header{align-items:center;background-color:var(--bg-secondary);border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:12px 16px}.hierarchy-header-left{align-items:center;display:flex;gap:12px}.hierarchy-user-icon{align-items:center;background-color:var(--sidebar-hover);border-radius:50%;color:var(--text-primary);display:flex;height:36px;justify-content:center;overflow:hidden;width:36px}.hierarchy-profile-image{height:100%;object-fit:cover;width:100%}.hierarchy-title{align-items:center;color:var(--text-primary);display:flex;font-size:1rem;font-weight:600;gap:8px}.hierarchy-role-badge{border-radius:4px;color:#fff;font-size:.75rem;font-weight:600;padding:4px 8px}.hierarchy-card-content{background-color:var(--card-bg);color:var(--text-primary);padding:12px 16px}.hierarchy-contact{color:var(--text-primary);font-size:.9rem;margin-bottom:8px}.hierarchy-email,.hierarchy-phone{color:var(--button-primary-bg);text-decoration:none}.hierarchy-email:hover,.hierarchy-phone:hover{color:var(--hover-color);text-decoration:underline}.hierarchy-meta{display:flex;flex-wrap:wrap;gap:2px;margin-top:12px}.hierarchy-pnp-data{align-items:center;border-radius:4px;display:flex;gap:25px;justify-content:flex-start;margin:10px 0;padding:10px 15px}:root:not(.dark) .hierarchy-pnp-data{background-color:#f5f5f5;border:1px solid #e0e0e0}.dark .hierarchy-pnp-data,:root.dark .hierarchy-pnp-data{background-color:#1e1e1e;border:1px solid #333}.pnp-stat{align-items:center;display:flex;flex-direction:column;gap:4px;min-width:80px}.pnp-label{font-size:.7rem;text-align:center;text-transform:uppercase;width:100%}:root:not(.dark) .pnp-label{color:#666}.dark .pnp-label,:root.dark .pnp-label{color:#aaa}.pnp-value{border-radius:3px;display:block;font-size:.85rem;font-weight:600;min-width:50px;padding:2px 8px;text-align:center;width:100%}:root:not(.dark) .pnp-value{background-color:#e9e9e9;border:1px solid #ddd;color:#333}.dark .pnp-value,:root.dark .pnp-value{background-color:#333;border:none;color:#fff}.pnp-date{align-items:center;display:flex;font-size:.75rem;font-style:italic;margin-left:auto}:root:not(.dark) .pnp-date{color:#777}.dark .pnp-date,:root.dark .pnp-date{color:#aaa}.pnp-date-label{margin-right:4px}.pnp-date-value{font-weight:500}:root:not(.dark) .pnp-date-value{color:#555}.dark .pnp-date-value,:root.dark .pnp-date-value{color:#ddd}.license-badges{margin-top:12px}.license-state-badge{background-color:var(--sidebar-hover);border-radius:4px;color:var(--text-primary);padding:2px 6px}.license-state-badge.resident{font-weight:600}.admin-hierarchy-card:not(:last-child):after{height:calc(100% - 20px);top:40px;width:2px}.admin-hierarchy-card:before,.admin-hierarchy-card:not(:last-child):after{background-color:var(--border-color);content:"";left:-10px;position:absolute;z-index:1}.admin-hierarchy-card:before{height:2px;top:25px;width:10px}.admin-hierarchy-card[style*="margin-left: 0px"]:after,.admin-hierarchy-card[style*="margin-left: 0px"]:before{display:none}.hierarchy-tree-toggle{align-items:center;border:1px solid var(--border-color);border-radius:50%;color:var(--text-primary);cursor:pointer;display:inline-flex;height:24px;justify-content:center;margin-right:6px;transition:all .2s ease;width:24px}.hierarchy-tree-toggle,.hierarchy-tree-toggle:hover{background-color:var(--sidebar-hover)}.admin-hierarchy-card.search-match{background-color:#007bff0d;border:2px solid var(--button-primary-bg);box-shadow:0 0 8px #007bff4d}.admin-hierarchy-card.search-match .hierarchy-card-header{background-color:#007bff14}.admin-hierarchy-card.search-upline{background-color:var(--sidebar-hover);border-left:3px solid var(--button-primary-bg)}.hierarchy-node-container{align-items:flex-start;display:flex;margin-bottom:4px;position:relative}.hierarchy-node-container.collapsible{cursor:pointer}.hierarchy-collapse-toggle{align-items:center;color:var(--text-primary);cursor:pointer;display:flex;height:24px;justify-content:center;margin-right:5px;margin-top:12px;transition:transform .2s ease;width:24px}.hierarchy-collapse-toggle:hover{color:var(--hover-color)}.hierarchy-collapse-spacer{margin-right:5px;width:24px}.hierarchy-children-container{border-left:1px solid var(--border-color);margin-left:15px;padding-left:15px;position:relative}.admin-hierarchy-card{flex:1 1}.hierarchy-children-container{animation:fadeIn .3s ease}@media (max-width:768px){.hierarchy-children-container{margin-left:3px;padding-left:3px}.hierarchy-collapse-spacer,.hierarchy-collapse-toggle{margin-right:2px;width:15px}}.filtered-parent-marker{align-items:center;background-color:var(--bg-secondary);border-left:3px solid var(--text-secondary);border-radius:4px;display:flex;flex-wrap:wrap;font-size:.85rem;margin:4px 0;padding:8px 12px;width:100%}.parent-label{color:var(--text-primary);font-weight:600;margin-right:8px}.filtered-explanation{color:var(--text-secondary);font-style:italic}.admin-rga-preview{background-color:var(--bg-secondary);border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-top:1px solid var(--border-color);margin-top:1px;padding:5px 10px 8px 30px}.preview-node{align-items:center;display:flex;margin:3px 0;transition:all .2s ease}.preview-node.inactive{opacity:.6}.preview-badge{border-radius:3px;border-style:solid;border-width:1px;color:#fff;display:inline-block;font-size:.7rem;margin-right:5px;padding:1px 4px}.preview-node{position:relative}.preview-node:not(:first-child):before{height:8px;top:-8px;width:1px}.preview-node:after,.preview-node:not(:first-child):before{background-color:var(--border-color);content:"";left:7px;position:absolute}.preview-node:after{height:1px;top:50%;width:8px}.preview-name{color:var(--text-primary);font-size:.85rem;transition:color .2s ease}.inactive .preview-name,.preview-more{color:var(--text-secondary)}.preview-more{border-top:1px dashed var(--border-color);font-size:.8rem;font-style:italic;margin-left:15px;margin-top:5px;opacity:.8;padding-top:3px}.hierarchy-node-container:before{background-color:var(--border-color);content:"";height:1px;left:-15px;position:absolute;top:20px;width:15px}.admin-hierarchy-card[data-role=RGA]{border-left:3px solid #00558c}.admin-hierarchy-card[data-role=MGA]{border-left:3px solid #68b675}.admin-hierarchy-card[data-role=GA]{border-left:3px solid #ed722f}.admin-hierarchy-card[data-role=SA]{border-left:3px solid #b25271}.admin-hierarchy-card[data-role=AGT]{border-left:3px solid #d3d3d3}.hierarchy-card-current{border-color:var(--hover-color);box-shadow:0 0 0 1px var(--hover-color)}.hierarchy-you-badge{background-color:var(--hover-color);border-radius:10px;color:#fff;font-size:10px;font-weight:700;margin-left:8px;padding:2px 6px}.your-profile-card{margin-bottom:20px}.chain-of-command-tooltip{border-bottom:1px dotted var(--text-secondary);cursor:help}.uplines-table-container{margin-top:15px;overflow-x:auto}.uplines-table{border-collapse:collapse;width:100%}.uplines-table td,.uplines-table th{border-bottom:1px solid var(--border-color);padding:10px;text-align:left}.uplines-table th{color:#fff;font-weight:700;width:100px}.uplines-table td{color:var(--text-primary);font-weight:500}.admin-hierarchy-controls{gap:12px;margin-bottom:20px}@media (max-width:992px){.view-toggle{margin-left:auto;margin-right:0}.admin-hierarchy-controls{align-items:stretch;flex-direction:column}.view-toggle{align-self:flex-end;margin-left:0}}@media (max-width:576px){.view-toggle{align-self:stretch}.view-toggle-button{flex:1 1}}.table tbody tr.today-row{border:2px solid #f7b083!important}.table tbody tr.today-row,.table tbody tr.today-row td{background-color:#fbcfb4!important}[data-theme=dark] .table tbody tr.today-row{background-color:#c8966466!important;border:2px solid #c86!important}[data-theme=dark] .table tbody tr.today-row td{background-color:#c8966466!important}.license-badges{display:flex;flex-wrap:wrap;gap:4px}.license-state-badge{background-color:#e9ecef;border-radius:3px;color:#495057;display:inline-block;font-size:.7rem;padding:1px 4px;white-space:nowrap}.license-state-badge.resident{background-color:#d1ecf1;color:#0c5460;font-weight:500}.hierarchy-skeleton{padding:20px 0}.skeleton-rga-section{background:#fff;background:var(--card-bg,#fff);border:1px solid #e0e0e0;border:1px solid var(--border-color,#e0e0e0);border-radius:8px;margin-bottom:20px;padding:15px}.skeleton-rga-header{align-items:center;display:flex;justify-content:space-between}.skeleton-text{animation:skeleton-loading 1.5s infinite;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;border-radius:4px}.skeleton-rga-name{height:20px;width:200px}.skeleton-badge{animation:skeleton-loading 1.5s infinite;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;border-radius:12px;height:24px;width:60px}@keyframes skeleton-loading{0%{background-position:200% 0}to{background-position:-200% 0}}[data-theme=dark] .skeleton-badge,[data-theme=dark] .skeleton-text{background:linear-gradient(90deg,#333 25%,#444 50%,#333 75%);background-size:200% 100%}[data-theme=dark] .skeleton-rga-section{background:#2a2a2a;background:var(--card-bg-dark,#2a2a2a);border-color:#444;border-color:var(--border-color-dark,#444)}.table-skeleton{background:#fff;background:var(--card-bg,#fff);border:1px solid #e0e0e0;border:1px solid var(--border-color,#e0e0e0);border-radius:8px;padding:20px}.skeleton-table-header{border-bottom:1px solid #e0e0e0;border-bottom:1px solid var(--border-color,#e0e0e0);display:flex;gap:20px;margin-bottom:15px;padding-bottom:10px}.skeleton-table-row{display:flex;gap:20px;margin-bottom:10px;padding:8px 0}.mga-skeleton{padding:20px}.skeleton-mga-row{align-items:center;background:#fff;background:var(--card-bg,#fff);border:1px solid #e0e0e0;border:1px solid var(--border-color,#e0e0e0);border-radius:6px;display:flex;gap:15px;margin-bottom:15px;padding:10px}[data-theme=dark] .skeleton-mga-row,[data-theme=dark] .table-skeleton{background:#2a2a2a;background:var(--card-bg-dark,#2a2a2a);border-color:#444;border-color:var(--border-color-dark,#444)}[data-theme=dark] .skeleton-table-header{border-bottom-color:#444;border-bottom-color:var(--border-color-dark,#444)}.admin-hierarchy-controls-container{display:flex;justify-content:center;margin-bottom:20px;width:100%}.admin-hierarchy-controls{max-width:1200px}@media (max-width:1400px){.admin-hierarchy-controls{max-width:1000px}}@media (max-width:1200px){.admin-hierarchy-controls{max-width:900px}}@media (max-width:992px){.admin-hierarchy-controls-container{justify-content:stretch}.admin-hierarchy-controls{align-items:stretch;flex-direction:column;max-width:none}.controls-left-section,.controls-right-section{justify-content:space-between;width:100%}}.search-mode-toggle{align-items:center;display:flex;gap:8px;margin-top:8px}.search-mode-label{color:var(--text-primary);font-size:13px;font-weight:500}.search-mode-button{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--text-secondary);cursor:pointer;font-size:12px;font-weight:500;padding:4px 12px;transition:all .2s ease}.search-mode-button:hover{background-color:var(--sidebar-hover);border-color:var(--text-secondary)}.search-mode-button.active{background-color:var(--button-primary-bg);border-color:var(--button-primary-bg);color:#fff}.search-mode-button.active:hover{background-color:var(--hover-color);border-color:var(--hover-color)}.admin-isolated-result{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;box-shadow:0 2px 4px var(--shadow-color);margin-bottom:24px;overflow:hidden}.admin-isolated-header{background-color:var(--bg-secondary);border-bottom:1px solid var(--border-color);padding:12px 16px}.isolated-target-info{align-items:center;color:var(--text-primary);display:flex;font-size:14px;gap:8px}.isolated-target-info strong{color:var(--button-primary-bg)}.admin-isolated-hierarchy{background-color:var(--card-bg);padding:16px}.isolated-empty{color:var(--text-secondary);font-style:italic;padding:24px;text-align:center}.search-results-status{background-color:var(--bg-secondary);border:1px solid var(--border-color);border-radius:6px;padding:12px 16px}.search-results-status p{color:var(--text-primary);font-size:14px;margin:0 0 12px}.search-results-status p:last-child{margin-bottom:0}.isolated-header-row{font-weight:600!important}.isolated-header-row,.isolated-header-row td{background-color:var(--button-primary-bg)!important;color:#fff!important}.isolated-header-row td{border-color:var(--button-primary-bg)!important}.target-user-row{background-color:#00558c26!important;border:2px solid var(--button-primary-bg)!important}.target-user-row td{background-color:#00558c26!important;border-color:var(--button-primary-bg)!important}.scroll-to-top-button{align-items:center;background-color:#1976d2;background-color:var(--button-primary-bg,#1976d2);border:none;border-radius:50%;box-shadow:0 4px 10px #0006;color:#fff;color:var(--button-primary-text,#fff);cursor:pointer;display:flex;height:50px;justify-content:center;opacity:.9;position:fixed;transition:opacity .3s ease,transform .3s ease,visibility .3s ease;width:50px;z-index:9999!important}.scroll-to-top-button.visible{opacity:.95;pointer-events:auto;transform:translateY(0);visibility:visible}.scroll-to-top-button.hidden{opacity:0;pointer-events:none;transform:translateY(20px);visibility:hidden}.scroll-to-top-button:hover{box-shadow:0 5px 15px #00000080;opacity:1;transform:translateY(-3px)}.arrow-up{display:block;font-size:24px;font-weight:700;line-height:1;transform:scaleY(1.2)}@media (max-width:768px){.scroll-to-top-button{bottom:20px!important;height:60px;right:20px!important;width:60px}.arrow-up{font-size:28px}}.admin-hierarchy-container{display:flex;flex-direction:column;gap:16px;width:100%}.admin-hierarchy-controls{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin-bottom:15px;width:100%}.controls-left-section{align-items:center;display:flex;flex-grow:1;gap:10px}.controls-right-section{align-items:center;display:flex;flex:1 0 auto;gap:10px;justify-content:flex-end}@media (min-width:992px){.controls-left-section{max-width:70%}.controls-right-section,.view-toggle{flex:1 1;justify-content:flex-end}.view-toggle{display:flex;gap:10px}.view-toggle-button{min-height:44px;min-width:50px}.view-toggle-button svg{height:22px;width:22px}}.admin-controls-buttons{align-items:center;display:flex;gap:16px}.admin-export-button{align-items:center;background:linear-gradient(90deg,#28a745,#34ce57);border:none;border-radius:4px;box-shadow:0 2px 4px var(--shadow-color);color:#fff;cursor:pointer;display:flex;font-weight:500;gap:8px;height:40px;justify-content:center;min-width:40px;padding:8px;transition:all .2s ease}.admin-export-button:hover{background:linear-gradient(90deg,#218838,#2aba4e);box-shadow:0 3px 6px var(--shadow-color);transform:translateY(-1px)}.admin-export-button:active{box-shadow:0 1px 2px var(--shadow-color);transform:translateY(1px)}.admin-toggle-button{align-items:center;background:linear-gradient(90deg,#4a6fdc,#6482e0);border:none;border-radius:4px;box-shadow:0 2px 4px var(--shadow-color);color:#fff;cursor:pointer;display:flex;font-weight:500;gap:8px;height:40px;justify-content:center;min-width:40px;padding:8px;transition:all .2s ease}.admin-toggle-button:hover{background:linear-gradient(90deg,#3a5fc9,#5373d7);box-shadow:0 3px 6px var(--shadow-color);transform:translateY(-1px)}.admin-toggle-button:active{box-shadow:0 1px 2px var(--shadow-color);transform:translateY(1px)}.hierarchy-search{flex-grow:1;margin-right:8px}.search-input-wrapper{align-items:center;display:flex;position:relative}.search-icon{color:var(--text-secondary);left:10px;position:absolute}.hierarchy-search-input{background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:4px;color:var(--input-text);font-size:14px;padding:8px 35px;width:100%}.search-clear-button{align-items:center;background:none;border:none;color:var(--text-secondary);cursor:pointer;display:flex;justify-content:center;padding:0;position:absolute;right:10px}.search-clear-button:hover{color:var(--hover-color)}.hierarchy-table-container{border-radius:4px;box-shadow:0 2px 4px var(--shadow-color);margin-top:10px;overflow-x:auto;scrollbar-width:thin;width:100%}.hierarchy-table{background-color:var(--card-bg);border-collapse:collapse;color:var(--text-primary);font-size:.9rem;width:100%}.hierarchy-table td,.hierarchy-table th{border-bottom:1px solid var(--border-color);padding:10px;position:relative;text-align:left}.hierarchy-table th{background-color:var(--bg-secondary);color:var(--text-primary);font-weight:500;position:-webkit-sticky;position:sticky;top:0;z-index:2}.hierarchy-table tbody tr:hover{background-color:var(--sidebar-hover)}.hierarchy-table tr.inactive{opacity:.7}.hierarchy-table tr.search-match{background-color:#007bff0d}.hierarchy-table tr.search-match:hover{background-color:#007bff1a}.hierarchy-table tr.search-upline{background-color:var(--bg-secondary)}.hierarchy-table tr.search-upline:hover{background-color:var(--sidebar-hover)}.hierarchy-table tr.hierarchy-card-current{background-color:#007bff08;border-left:3px solid var(--hover-color)}.hierarchy-table tr.hierarchy-card-current:hover{background-color:#007bff12}.hierarchy-table .user-cell{align-items:center;display:flex;gap:8px;padding:5px 0}.hierarchy-table .user-icon{align-items:center;background-color:var(--sidebar-hover);border-radius:50%;color:var(--text-primary);display:flex;height:28px;justify-content:center;overflow:hidden;width:28px}.hierarchy-table .profile-image{border-radius:50%;height:100%;object-fit:cover;width:100%}.hierarchy-table .user-name{color:var(--text-primary);font-weight:500}.hierarchy-table .name-with-icon{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.hierarchy-table .you-badge{background-color:var(--hover-color);border-radius:8px;color:#fff;font-size:9px;font-weight:700;padding:1px 4px}.hierarchy-table .role-badge{border-radius:3px;color:#fff;display:inline-block;font-size:.75rem;font-weight:500;padding:3px 6px;text-align:center;white-space:nowrap}.hierarchy-table .role-RGA{background-color:#00558c;border:1px solid #004372}.hierarchy-table .role-MGA{background-color:#68b675;border:1px solid #549861}.hierarchy-table .role-GA{background-color:#ed722f;border:1px solid #c55e25}.hierarchy-table .role-SA{background-color:#b25271;border:1px solid #8a3e5d}.hierarchy-table .role-AGT{background-color:#d3d3d3;border:1px solid grey}.hierarchy-table .license-badges{display:flex;flex-wrap:wrap;gap:4px}.hierarchy-table .license-state-badge{background-color:var(--sidebar-hover);border-radius:3px;color:var(--text-primary);display:inline-block;font-size:.7rem;padding:1px 4px;white-space:nowrap}.hierarchy-table .license-state-badge.resident{background-color:#d1ecf1;color:#0c5460;font-weight:500}.hierarchy-table .node-toggle{align-items:center;background:none;border:none;color:var(--text-primary);cursor:pointer;display:flex;justify-content:center;padding:0;transition:transform .2s ease}.hierarchy-table .node-toggle:hover{color:var(--hover-color)}.hierarchy-table .toggle-cell{text-align:center;width:30px}.hierarchy-table .indented{position:relative}.hierarchy-table .indented:before{background-color:var(--border-color);bottom:0;content:"";margin-left:-10px;opacity:.5;position:absolute;top:0;width:1px}.hierarchy-table .indented-content{align-items:center;display:flex;transition:margin-left .3s ease}.rga-section-header{align-items:center;background-color:var(--bg-secondary);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);cursor:pointer;display:flex;font-weight:500;justify-content:space-between;padding:12px 16px;transition:background-color .2s}.rga-section-header:hover{background-color:var(--sidebar-hover)}.rga-section-header:first-child{border-top-left-radius:6px;border-top-right-radius:6px}.active-state-filters{background-color:var(--bg-secondary);border-radius:4px;flex-wrap:wrap;gap:8px;margin-bottom:16px;padding:8px 12px}.active-state-filter,.active-state-filters{align-items:center;color:var(--text-primary);display:flex}.active-state-filter{background-color:var(--sidebar-hover);border-radius:16px;font-size:.85rem;gap:4px;padding:4px 8px}.remove-state-filter{align-items:center;background:none;border:none;color:var(--text-secondary);cursor:pointer;display:flex;padding:0}.remove-state-filter:hover{color:var(--hover-color)}.clear-state-filters{background:none;border:none;color:var(--button-primary-bg);cursor:pointer;font-size:.85rem;margin-left:auto}.clear-state-filters:hover{color:var(--hover-color)}.search-results-status{margin-bottom:16px}.search-results-status,.search-tip{color:var(--text-secondary);font-style:italic}.search-tip{font-size:.9em;opacity:.8}@media (max-width:992px){.hierarchy-table{font-size:.85rem}.admin-hierarchy-controls{align-items:stretch;flex-direction:column}.admin-controls-buttons{justify-content:space-between}}.hierarchy-loading{align-items:center;color:var(--text-secondary);display:flex;gap:12px;justify-content:center;padding:40px}.admin-hierarchy-empty{color:var(--text-secondary);padding:40px 0;text-align:center}.processing-stats{align-items:center;color:var(--text-secondary);display:flex;font-style:italic;gap:8px;margin:12px 0}.hierarchy-table td.status-column,.hierarchy-table th.status-column{max-width:180px;min-width:140px}.hierarchy-table td.license-column,.hierarchy-table th.license-column{max-width:200px;min-width:120px}.hierarchy-table td{vertical-align:middle;word-break:break-word}@media (max-width:768px){.dynamic-tooltip{display:none!important}}.dynamic-tooltip{background-color:var(--text-primary);color:var(--card-bg);font-size:12px;max-width:250px}.hierarchy-table td.checkbox-column,.hierarchy-table th.checkbox-column{padding:0 5px;text-align:center;width:30px}.hierarchy-table td.checkbox-column input[type=checkbox],.hierarchy-table th.checkbox-column input[type=checkbox]{cursor:pointer;height:16px;width:16px}.bulk-action-panel{align-items:center;background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:4px;box-shadow:0 2px 4px var(--shadow-color);box-sizing:border-box;display:flex;justify-content:space-between;margin:0 0 15px;padding:10px 16px;transition:all .3s ease;width:100%;z-index:10}.bulk-action-panel.sticky{animation:fadeIn .3s ease-in-out;border-left:none;border-radius:0;border-radius:4px;border-right:none;border-top:none;box-shadow:0 2px 5px var(--shadow-color);box-sizing:border-box!important;left:0;position:fixed;right:auto;top:0;transform:translateY(0);transition:transform .3s ease,opacity .3s ease;z-index:1000}.settings-content .bulk-action-panel.sticky{left:0;position:-webkit-sticky;position:sticky;right:auto;top:0;z-index:999}.has-sticky-panel{padding-top:60px!important;transition:padding-top .3s ease}.settings-content.has-sticky-panel{padding-top:0!important}.bulk-action-placeholder{height:0;margin-bottom:0;opacity:0;transition:height .3s ease,opacity .3s ease,margin-bottom .3s ease}.bulk-action-placeholder.visible{margin-bottom:15px;opacity:1}@media (max-width:768px){.bulk-action-panel.sticky{flex-direction:column;gap:8px;padding:8px}.bulk-action-placeholder.visible{height:80px!important}.has-sticky-panel{padding-top:100px!important}}@keyframes fadeIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.selected-count{color:var(--text-primary);font-weight:500}.bulk-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.bulk-action-button{align-items:center;background-color:var(--sidebar-hover);border:none;border-radius:3px;color:var(--text-primary);cursor:pointer;display:flex;font-size:.85rem;gap:5px;padding:5px 10px;transition:all .2s ease}.bulk-action-button:hover{background-color:var(--border-color)}.bulk-action-button svg{font-size:14px}.bulk-action-button:first-child{background-color:var(--button-primary-bg);color:#fff}.bulk-action-button:first-child:hover{background-color:var(--hover-color)}.bulk-action-button:nth-child(2){background-color:#28a745;color:#fff}.bulk-action-button:nth-child(2):hover{background-color:#218838}.bulk-action-button:nth-child(3){background-color:#dc3545;color:#fff}.bulk-action-button:nth-child(3):hover{background-color:#c82333}.bulk-action-button:nth-child(5){background-color:var(--button-secondary-bg);color:#fff}.bulk-action-button:nth-child(5):hover{background-color:var(--button-secondary-bg);opacity:.9}@media (max-width:768px){.bulk-action-panel{align-items:stretch;flex-direction:column;gap:10px}.bulk-actions{justify-content:space-between}}.view-toggle{align-items:center;display:flex;flex-grow:1;gap:8px;justify-content:flex-end}.view-toggle-button{align-items:center;background-color:initial;border:none;border-radius:3px;color:var(--text-secondary);cursor:pointer;display:flex;flex:1 1;font-size:.9rem;gap:6px;height:40px;justify-content:center;padding:8px;transition:all .2s ease;width:40px}.view-toggle-button svg{height:20px;width:20px}.view-toggle-button.active{background-color:var(--card-bg);box-shadow:0 1px 3px var(--shadow-color);color:var(--hover-color);font-weight:500}.view-toggle-button:hover:not(.active){background-color:var(--sidebar-hover);color:var(--hover-color)}.admin-rga-role{align-items:center;color:var(--text-secondary);display:flex;gap:10px}:root{--bg-primary:#ffffff28;--bg-secondary:#f8f9fa;--bg-tertiary:#eaeaea;--text-primary:#333;--text-secondary:#6c757d;--border-color:#e0e0e0;--border-color-secondary:#929292;--sidebar-bg:#fff;--sidebar-text:#333;--sidebar-hover:#f0f0f0;--header-bg:#fff;--card-bg:#fff;--card-border:#e0e0e0;--button-primary-bg:#00558c;--button-primary-text:#fff;--button-secondary-bg:#6c757d;--button-secondary-text:#fff;--input-bg:#fff;--input-border:#ccc;--input-text:#333;--hover-color:#00558c;--shadow-color:#0000001a;--safe-area-inset-top:env(safe-area-inset-top,0);--safe-area-inset-right:env(safe-area-inset-right,0);--safe-area-inset-bottom:env(safe-area-inset-bottom,0);--safe-area-inset-left:env(safe-area-inset-left,0);--header-height:60px;--header-height-with-safe-area:calc(60px + var(--safe-area-inset-top))}[data-theme=dark]{--bg-primary:#121212ec;--bg-secondary:#1e1e1e;--bg-tertiary:#242424;--text-primary:#f0f0f0;--text-secondary:#aaa;--border-color:#333;--border-color-secondary:#929292;--sidebar-bg:#1e1e1e;--sidebar-text:#f0f0f0;--sidebar-hover:#333;--header-bg:#1e1e1e;--card-bg:#242424;--card-border:#333;--button-primary-bg:#07c;--button-primary-text:#fff;--button-secondary-bg:#555;--button-secondary-text:#fff;--input-bg:#333;--input-border:#555;--input-text:#f0f0f0;--hover-color:#4da3ff;--shadow-color:#0006}*{box-sizing:border-box;font-family:Avenir Next LT Pro,sans-serif;font-weight:400;margin:0;padding:0}body{background-color:#ffffff28;background-color:var(--bg-primary);color:#333;color:var(--text-primary);padding-left:env(safe-area-inset-left,0);padding-left:var(--safe-area-inset-left);padding-right:env(safe-area-inset-right,0);padding-right:var(--safe-area-inset-right);transition:background-color .3s ease,color .3s ease;-webkit-user-select:none;user-select:none}body,html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;touch-action:manipulation}*,body,html{-webkit-touch-callout:none}*{-webkit-tap-highlight-color:transparent}.selectable-text,input,textarea{touch-action:manipulation;-webkit-user-select:text;user-select:text}.bold,h1,h2,h3,h4,h5,h6{color:#333;color:var(--text-primary);font-weight:700}a{color:#6c757d;color:var(--text-secondary);text-decoration:none;transition:color .3s ease}a:hover{color:#00558c;color:var(--hover-color)}.app-background{background:#f8f9fa;background:var(--bg-secondary);background-position:50%;background-size:cover}.app-background,.auth-background{height:100vh;left:0;position:absolute;top:0;width:100%;z-index:-1}.auth-background{background:url(/static/media/globe_bg_watermark_blue.a17c8acbdfda7592464d.png) no-repeat 50% fixed;background-position:50%;background-repeat:no-repeat}.page-background{background-color:#ffffff28;background-color:var(--bg-primary)}.route-loading{align-items:center;color:#6c757d;color:var(--text-secondary);display:flex;flex-direction:column;font-size:1.1rem;height:100vh;justify-content:center;text-align:center;width:100%}.route-loading .spinner{animation:spin 1s linear infinite;border:3px solid #e0e0e0;border-top:3px solid #00558c;border:3px solid var(--border-color);border-radius:50%;border-top-color:var(--button-primary-bg);height:32px;margin-bottom:1rem;width:32px}.app-container{background:url(/static/media/globe_bg_watermark_blue.a17c8acbdfda7592464d.png) no-repeat 50% fixed;background-position-x:top;background-size:155%;display:flex;height:100vh;overflow:hidden;width:100%}[data-theme=dark] .app-container{background-image:url(/static/media/globe_bg_watermark_dark.a17c8acbdfda7592464d.png)}.main-content{display:flex;flex-direction:column;margin-left:45px;margin-top:60px;margin-top:var(--header-height);overflow:hidden;transition:margin-left .3s ease-in-out}.main-content,.page-content{background-color:#ffffff28;background-color:var(--bg-primary);flex:1 1}.page-content{border:1px solid #d0d0d0;border-top-left-radius:10px;color:#333;color:var(--text-primary);overflow-y:auto;padding:0}.app-container.expanded .main-content{margin-left:120px}.app-container.expanded .header{left:120px;width:calc(100% - 150px)}button{background-color:#00558c;background-color:var(--button-primary-bg);border:2px solid #00558c;border:2px solid var(--button-primary-bg);border-radius:4px;color:#fff;color:var(--button-primary-text);cursor:pointer;padding:4px 8px;transition:background-color .3s ease}button:hover{opacity:.9}.primary-button{background-color:#00558c;background-color:var(--button-primary-bg);border:2px solid #00558c;border:2px solid var(--button-primary-bg);border-radius:4px;color:#fff;color:var(--button-primary-text);cursor:pointer;padding:8px 16px;transition:background-color .3s ease}.primary-button:hover{opacity:.9}.secondary-button{background-color:#6c757d;background-color:var(--button-secondary-bg);border:none;border-radius:4px;color:#fff;color:var(--button-secondary-text);cursor:pointer;padding:8px 16px}.secondary-button:hover{opacity:.9}.responsive-logo{height:auto;max-width:200px;width:100%}@media (min-width:768px){.responsive-logo{max-width:250px}}@media (min-width:1024px){.responsive-logo{max-width:300px}}.logo-xs{width:25px}.logo-small,.logo-xs{border-radius:5px;height:auto}.logo-small{width:35px}.logo-medium{height:auto;width:150px}.logo-large{height:auto;width:300px}form{display:flex;flex-direction:column}.form-row{gap:10px;width:100%}.form-group{display:flex;flex-direction:column;margin-bottom:15px;text-align:left;width:100%}.form-group label{color:#333;color:var(--text-primary);font-size:.75rem;font-weight:700;margin-bottom:5px}.form-group input,.form-group select{background-color:#fff;background-color:var(--input-bg);border:2px solid #ccc;border:2px solid var(--input-border);border-radius:4px;color:#333;color:var(--input-text);font-size:.65rem;padding:6px 8px;transition:border-color .2s ease-in-out;width:100%}.form-group input:focus,.form-group select:focus{border-color:#00558c;border-color:var(--hover-color);box-shadow:0 0 5px #0000001a;box-shadow:0 0 5px var(--shadow-color);outline:none;transition:box-shadow .1s ease-in-out}.form-group.small-field{flex:1 1}.form-group.medium-field{flex:1.5 1}.form-group.large-field{flex:2 1}.half-width{flex:1 1}.form-actions button{border:none;border-radius:4px;cursor:pointer;margin-right:10px;padding:8px 12px}.form-actions button[type=button]{background-color:#ccc;color:#333}.error{color:#d9534f}.error,.message{margin-bottom:15px;text-align:center}.message{color:#5cb85c}.card-container{grid-gap:10px;display:grid;grid-template-columns:1fr;width:100%}@media (min-width:501px){.card-container{grid-template-columns:repeat(2,1fr)}}@media (min-width:1200px){.card-container{grid-template-columns:repeat(4,1fr)}}.app-container.expanded .card-container{grid-template-columns:1fr}@media (min-width:650px){.app-container.expanded .card-container{grid-template-columns:repeat(2,1fr)}}@media (min-width:1300px){.app-container.expanded .card-container{grid-template-columns:repeat(4,1fr)}}@media (max-width:768px){.app-container{padding-bottom:calc(60px + env(safe-area-inset-bottom, 0));padding-bottom:calc(60px + var(--safe-area-inset-bottom))}.app-container,body{padding-left:0;padding-right:0}.main-content{margin-left:0!important;margin-top:calc(60px + env(safe-area-inset-top, 0));margin-top:var(--header-height-with-safe-area);width:100%!important}.header{left:0!important;width:100%!important}.page-content{box-sizing:border-box;padding-left:0;padding-right:0;width:100%}.padded-content{padding:10px}.settings-content .padded-content{padding:0}.padded-content-sm{padding:5px}.padded-content-lg{padding:15px}body,html{overflow-x:hidden;-webkit-user-select:none!important;user-select:none!important}.app-container,.login-card,.login-container,.main-content,.page-content,body,html{-webkit-touch-callout:none!important;touch-action:manipulation!important}*{-webkit-user-select:none!important;user-select:none!important}input,textarea{-webkit-user-select:text!important;user-select:text!important}.form-group input,.form-group select,input[type=email],input[type=number],input[type=password],input[type=tel],input[type=text],textarea{font-size:16px!important}.form-group input,.form-group select{padding:12px 8px}}.padded-content{padding:20px}.padded-content-sm{padding:10px}.padded-content-lg{padding:30px}.app-container,.app-container *{font-family:inherit}.dashboard-container{box-sizing:border-box;max-width:100vw;overflow-x:hidden;width:100%}.dashboard-cards-wrapper{box-sizing:border-box;max-width:100%;width:100%}.dashboard-card{transition:all .3s ease}@media (max-width:768px){.card-container:not(.dashboard-section .card-container){grid-gap:4px!important;grid-template-columns:repeat(2,1fr)!important;justify-items:stretch!important;max-width:100%!important;width:100%!important}.dashboard-card:not(.dashboard-section .dashboard-card){margin-bottom:10px!important}.card-title{font-size:12px!important;margin-bottom:4px!important}.card-value{font-size:16px!important}.card-subtext{font-size:10px!important}.header-left{align-items:center;display:flex;justify-content:flex-start;position:relative;width:100%}.header-logo{display:block!important;left:0;position:absolute;top:50%;transform:translateY(-50%);z-index:2}.header-title{left:50%!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:60%}}@media (max-width:350px){.dashboard-section .card-container{grid-gap:2px!important}}.user-count-badge{align-items:center;background-color:#eaeaea;background-color:var(--bg-tertiary);border:1px solid #929292;border:1px solid var(--border-color-secondary);border-radius:50%;color:#333;color:var(--text-primary);display:flex;font-size:.75rem;height:28px;justify-content:center;padding:2px;width:28px}.role-badge.role-RGA{border-radius:4px;color:#fff;font-size:.85rem;font-weight:500;padding:2px 8px}.status-badges{display:flex;flex-wrap:wrap;gap:1px;min-width:80px}.status-badge{display:inline-block;font-weight:500;white-space:nowrap}.hierarchy-status-badge,.status-badge{border-radius:3px;font-size:.7rem;padding:1px 4px}.hierarchy-status-badge{background-color:#f0f0f0;background-color:var(--sidebar-hover);color:#6c757d;color:var(--text-secondary)}.hierarchy-status-badge.active,.status-badge.active{background-color:#d4edda;color:#155724}.hierarchy-status-badge.inactive,.status-badge.inactive{background-color:#f8d7da;color:#721c24}.hierarchy-status-badge.redeemed,.status-badge.redeemed{background-color:#cce5ff;color:#004085}.hierarchy-status-badge.released,.status-badge.released{background-color:#d1ecf1;color:#0c5460}.hierarchy-status-badge.f6,.status-badge.f6{background-color:#fff3cd;color:#856404}.hierarchy-status-badge.vip-eligible,.status-badge.vip-eligible{background-color:#d6d8db;color:#383d41}.hierarchy-status-badge.rfc,.status-badge.rfc{background-color:#8a2be2;color:#fff}.status-badge.passed{background-color:#d4edda;color:#155724}.status-badge.pending{background-color:#fff3cd;color:#856404}.status-badge.visible{background-color:#22c55e1a;color:#22c55e}.status-badge.hidden{background-color:#ef44441a;color:#ef4444}.license-badge-tooltip,.status-badge-tooltip{cursor:pointer}.dynamic-tooltip{background-color:#333;border-radius:4px;box-shadow:0 2px 5px #0000004d;color:#fff;font-size:.75rem;padding:6px 10px;pointer-events:none;position:fixed;z-index:10000}.settings-card-header{align-items:center;display:flex;justify-content:space-between}.refresh-button{align-items:center;background:none;border:none;border-radius:4px;color:#3e7bfa;color:var(--primary-color,#3e7bfa);cursor:pointer;display:flex;padding:4px 8px;transition:background-color .3s,opacity .3s}.refresh-button:disabled{cursor:default;opacity:.6}.refresh-button:hover:not(:disabled){background-color:#3e7bfa1a}.refresh-button span{margin-left:4px}.icon-spin{animation:spin 1s linear infinite}.notification-empty,.notification-error,.notification-loading{color:#666;padding:16px;text-align:center}.notification-error{color:#d32f2f}.admin-notifications{margin-bottom:32px}.settings-tabs{border-bottom:1px solid #e0e0e0;display:flex;margin-bottom:20px}.settings-tab{background:none;border:none;border-bottom:2px solid #0000;color:#555;cursor:pointer;font-size:14px;font-weight:500;padding:10px 16px;transition:all .2s}.settings-tab:hover{color:#1976d2}.settings-tab.active{border-bottom-color:#1976d2;color:#1976d2}.notification-section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.notification-section-header h3{font-size:16px;font-weight:500;margin:0}.settings-expandable-section{border:1px solid #e0e0e0;border-radius:6px;margin-bottom:20px;overflow:hidden}.settings-expandable-header{align-items:center;background-color:#f5f5f5;cursor:pointer;display:flex;justify-content:space-between;padding:12px 16px;transition:background-color .2s}.settings-expandable-header:hover{background-color:#eaeaea}.settings-expandable-header h3{font-size:16px;font-weight:600;margin:0}.settings-expandable-content{background-color:#fff;padding:16px}.notification-groups-list{margin-bottom:16px}.notification-group-item{align-items:flex-start;border:1px solid #eaeaea;border-radius:4px;display:flex;justify-content:space-between;margin-bottom:8px;padding:12px}.notification-group-info{flex:1 1}.notification-group-info h4{font-size:15px;margin:0 0 4px}.notification-group-info p{color:#666;font-size:13px;margin:0 0 8px}.notification-group-actions{align-self:flex-start;display:flex;gap:8px}.notification-group-edit{width:100%}.notification-group-edit .input-group{display:flex;flex-direction:column;gap:12px}.notification-groups-empty,.scheduled-notifications-empty{background-color:#f9f9f9;border-radius:4px;color:#666;padding:16px;text-align:center}.notification-group-add-form{background-color:#f9f9f9;border:1px solid #eaeaea;border-radius:4px;display:flex;flex-direction:column;gap:12px;margin-bottom:16px;padding:16px}.notification-group-add-form h4{margin-bottom:8px;margin-top:0}.notification-group-query-summary{background-color:#f5f7fa;border-radius:4px;cursor:pointer;display:flex;flex-direction:column;margin-top:4px;padding:8px;transition:background-color .2s}.notification-group-query-summary:hover{background-color:#e9edf2}.query-summary-header{align-items:center;display:flex;justify-content:space-between}.query-indicator{align-items:center;color:#555;display:flex;font-size:13px}.notification-group-query-details{border:1px solid #eaeaea;margin-top:12px}.notification-group-query-details,.query-builder{background-color:#fff;border-radius:4px;padding:12px}.query-builder-container{margin-bottom:16px;margin-top:8px}.query-builder-container h4{font-size:14px;margin-bottom:8px;margin-top:0}.query-builder-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.query-builder-header h4{font-size:15px;font-weight:500;margin:0}.query-logic{align-items:center;display:flex;gap:8px}.query-logic label{color:#555;font-size:13px}.form-control-sm{font-size:13px;padding:4px 8px}.conditions-list{margin-bottom:16px}.condition-row{align-items:center;background-color:#f9f9f9;border-radius:4px;display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px;padding:8px}.condition-field{flex:1.5 1;min-width:120px}.condition-operator{flex:1.5 1;min-width:150px}.condition-secondary-value,.condition-value{flex:1 1;min-width:120px}.condition-connector{color:#555;padding:0 4px}.condition-actions{margin-left:auto}.query-builder-footer{display:flex;justify-content:space-between;margin-top:12px}.add-condition-btn,.preview-query-btn{font-size:13px}.query-preview-results{background-color:#f5f7fa;border-radius:4px;margin-top:16px;padding:12px}.match-count{align-items:center;color:#0277bd;display:flex;font-size:14px;font-weight:500}.form-control{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:8px 12px;width:100%}textarea.form-control{min-height:80px;resize:vertical}.form-actions{gap:8px;margin-top:8px}.icon-button{align-items:center;background-color:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s;width:32px}.icon-button:hover{background-color:#f0f0f0}.scheduled-notifications-list{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.scheduled-notification-item{background-color:#fff;border:1px solid #eaeaea;border-radius:4px;padding:12px}.scheduled-notification-header{display:flex;justify-content:space-between;margin-bottom:8px}.notification-type-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:500;padding:2px 8px}.badge-info{background-color:#e3f2fd;color:#0277bd}.badge-success{background-color:#e8f5e9;color:#2e7d32}.badge-warning{background-color:#fff8e1;color:#f57f17}.badge-error{background-color:#ffebee;color:#c62828}.scheduled-notification-datetime{align-items:center;color:#666;display:flex;font-size:13px}.scheduled-notification-title{font-size:16px;font-weight:500;margin:0 0 8px}.scheduled-notification-message{color:#333;font-size:14px;margin:0 0 12px}.scheduled-notification-repeat,.scheduled-notification-target{align-items:center;color:#666;display:flex;font-size:13px;margin-bottom:8px}.scheduled-notification-actions{display:flex;justify-content:flex-end;margin-top:12px}.notification-schedule-form{background-color:#f9f9f9;border:1px solid #eaeaea;border-radius:4px;padding:16px}.notification-schedule-form h4{font-size:16px;margin-bottom:16px;margin-top:0}.form-group{margin-bottom:12px}.form-group label{display:block;font-size:14px;font-weight:500;margin-bottom:4px}.form-row{display:flex;gap:12px;margin-bottom:12px}.form-row .form-group{flex:1 1;margin-bottom:0}.settings-button{align-items:center;background-color:#1976d2;border:none;border-radius:4px;color:#fff;cursor:pointer;display:inline-flex;font-size:14px;font-weight:500;justify-content:center;padding:8px 16px;transition:background-color .2s}.settings-button:hover{background-color:#1565c0}.settings-button:disabled{background-color:#90caf9;cursor:not-allowed}.settings-button-secondary{background-color:#e0e0e0;color:#333}.settings-button-secondary:hover{background-color:#d5d5d5}.settings-button-danger{background-color:#f44336}.settings-button-danger:hover{background-color:#d32f2f}.settings-button-add{margin-top:8px;width:100%}.settings-alert{border-radius:4px;font-size:14px;margin-bottom:16px;padding:12px 16px}.settings-alert-error{background-color:#ffebee;border:1px solid #ffcdd2;color:#c62828}.settings-alert-success{border:1px solid #c8e6c9}.target-user-count{align-items:center;background-color:#e3f2fd;border-radius:4px;color:#0277bd;display:flex;font-size:14px;margin-bottom:16px;padding:8px 12px}.query-builder-loading{align-items:center;color:#666;display:flex;flex-direction:column;justify-content:center;padding:24px;text-align:center}.spinner{border-top-color:#1976d2;height:30px;margin-bottom:10px;width:30px}optgroup{border-bottom:1px solid #ddd;color:#555;font-weight:600}optgroup option{font-weight:400;padding-left:10px}.settings-alert-warning{background-color:#fff3e0;border:1px solid #ffe0b2;color:#ef6c00}.query-table-selector{border:1px solid #e0e0e0;border-radius:4px;margin-bottom:16px;overflow:hidden}.table-selector-header{align-items:center;background-color:#f5f7fa;cursor:pointer;display:flex;justify-content:space-between;padding:10px 12px;transition:background-color .2s}.table-selector-header:hover{background-color:#e9edf2}.table-selector-title{align-items:center;color:#333;display:flex;font-size:14px;font-weight:500}.table-selector-options{background-color:#fff;border-top:1px solid #e0e0e0;max-height:200px;overflow-y:auto;padding:0 8px}.table-option{border-bottom:1px solid #f0f0f0;padding:8px 4px}.table-option:last-child{border-bottom:none}.table-option label{align-items:center;cursor:pointer;display:flex;font-size:14px;gap:8px;width:100%}.table-option input[type=checkbox]{margin:0}.table-description{color:#666;font-size:12px;font-style:italic;margin-left:4px}.query-tables-info{align-items:center;background-color:#f5f7fa;border-left:3px solid #2196f3;border-radius:4px;color:#555;display:flex;font-size:13px;margin-bottom:12px;padding:8px 12px}.admin-notifications-container{margin-top:32px}.admin-notification-actions{margin-top:16px}.admin-notification-actions .settings-button{align-items:center;background-color:#3e7bfa;background-color:var(--primary-color,#3e7bfa);border:none;border-radius:4px;color:#fff;cursor:pointer;display:inline-flex;font-weight:500;padding:8px 16px;text-decoration:none}.admin-notification-actions .settings-button:hover{background-color:#2a5dc7;background-color:var(--primary-dark,#2a5dc7)}.notification-section-footer{border-top:1px solid #eaeaea;margin-top:20px;padding-top:20px}.query-preview-actions{margin-top:12px}.send-notification{width:100%}.notification-form{background-color:#fff;border:1px solid #eaeaea;border-radius:4px;display:flex;flex-direction:column;gap:16px;padding:16px}.target-preview{display:flex;flex-direction:column;gap:12px;margin-top:12px}.select-container{position:relative;width:100%}.select-container select{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #ced4da;border-radius:4px;font-size:14px;padding:8px 12px;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:100%}.select-container:after{color:#495057;content:"▼";font-size:10px;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.settings-alert-success{background-color:#e8f5e9;border-color:#c8e6c9;color:#2e7d32}.condition-container{margin-bottom:8px}.condition-connector-select{align-items:center;display:flex;margin-bottom:4px;padding-left:8px}.condition-connector-select select{background-color:#f5f7fa;border:1px solid #ddd;border-radius:4px;font-size:12px;padding:2px 8px;width:80px}.multi-value-indicator{background-color:#e3f2fd;border-radius:2px;color:#0277bd;display:inline-block;font-size:11px;margin-top:4px;padding:2px 4px}.query-join-selector{border:1px solid #e0e0e0;border-radius:4px;margin-bottom:16px;overflow:hidden}.join-selector-header{align-items:center;background-color:#f5f7fa;border-left:3px solid #2196f3;cursor:pointer;display:flex;justify-content:space-between;padding:10px 12px;transition:background-color .2s}.join-selector-header:hover{background-color:#e9edf2}.join-selector-title{align-items:center;color:#333;display:flex;font-size:14px;font-weight:500}.join-selector-content{background-color:#fff;border-top:1px solid #e0e0e0;padding:12px}.join-info{background-color:#f0f8ff;border-left:3px solid #2196f3;border-radius:4px;color:#555;font-size:13px;padding:8px 12px}.join-container,.join-info,.joins-list{margin-bottom:12px}.join-container{background-color:#f9f9f9;border:1px solid #e0e0e0;border-radius:4px;padding:12px}.join-row{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.join-type{flex:0 0 200px;min-width:180px}.join-left-field,.join-left-table,.join-right-field,.join-right-table{flex:0 0 150px;min-width:120px}.join-equals{color:#555;font-size:14px;font-weight:500;padding:0 4px}.join-actions{flex:0 0 auto;margin-left:auto}.join-description{background-color:#e8f5e9;border-left:3px solid #4caf50;border-radius:3px;margin-top:8px;padding:6px 8px}.join-description small{color:#2e7d32;font-weight:500}.join-actions-footer{align-items:flex-start;display:flex;flex-direction:column;gap:8px}.join-help-text{color:#666;font-style:italic;margin-left:8px}@media (max-width:768px){.join-row{align-items:stretch;flex-direction:column;gap:12px}.join-left-field,.join-left-table,.join-right-field,.join-right-table,.join-type{flex:1 1;min-width:auto}.join-equals{font-size:16px;padding:8px 0;text-align:center}.join-actions{align-self:center;margin-left:0}.join-actions-footer{align-items:center}}.trophy-case-container{max-width:100%;padding:1rem}.trophy-header{align-items:center;border-bottom:2px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:.5rem}.trophy-header h5{color:#495057;font-weight:600;margin:0}.info-icon{color:#6c757d;cursor:pointer;font-size:1.1rem;transition:color .2s ease}.info-icon:hover{color:#495057}.time-cards-container{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem;padding:0 1rem}.time-card{background:linear-gradient(135deg,#6c757d,#495057);border-radius:8px;box-shadow:0 2px 4px #0000001a;flex:1 1;max-width:220px;min-width:170px;padding:.75rem 1rem;text-align:center;transition:transform .2s ease,box-shadow .2s ease}.time-card:hover{box-shadow:0 4px 8px #00000026;transform:translateY(-1px)}.time-card-label{color:#fffc;font-size:.75rem;font-weight:500;letter-spacing:.5px;margin-bottom:.25rem;text-transform:uppercase}.time-card-value{color:#fff;font-size:.9rem;font-weight:600}.time-card-subtitle{color:#ffffffb3;font-size:.65rem;font-style:italic;font-weight:500;margin-top:.25rem}.trophy-card-container{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.trophy-card-container .custom-card{border:1px solid #e9ecef;flex:1 1;max-width:300px;min-width:200px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.trophy-card-container .custom-card .background-overlay{opacity:.3}.trophy-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 4px 6px #0000001a;flex:1 1;max-width:300px;min-width:200px;padding:1rem;transition:transform .2s ease,box-shadow .2s ease}.trophy-card:hover{box-shadow:0 8px 25px #00000026;transform:translateY(-2px)}.trophy-card-body{color:#fff;text-align:center}.trophy-card-title{font-size:1rem;font-weight:600;margin-bottom:.5rem;opacity:.9}.trophy-lvl1net{font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.record-trophy{background:linear-gradient(135deg,#f093fb,#f5576c)}.record-week-trophy{background:linear-gradient(135deg,#4facfe,#00f2fe)}.bronze-trophy{background:linear-gradient(135deg,#cd7f32,#8b4513)}.silver-trophy{background:linear-gradient(135deg,silver,grey);color:#333!important}.silver-trophy .trophy-card-body{color:#333}.gold-trophy{background:linear-gradient(135deg,gold,#ffb347);color:#333!important}.gold-trophy .trophy-card-body{color:#333}.platinum-trophy{background:linear-gradient(135deg,#e5e4e2,#d3d3d3);color:#333!important}.platinum-trophy .trophy-card-body{color:#333}.diamond-trophy{background:linear-gradient(135deg,#b9f2ff,#bae6fd);color:#333!important}.diamond-trophy .trophy-card-body{color:#333}.club-section{margin-bottom:1.5rem}.club-title-container{align-items:center;background-color:#f8f9fa;border-radius:8px;display:flex;margin-bottom:1rem;padding:.75rem 1rem;transition:background-color .2s ease}.club-title-container:hover{background-color:#e9ecef}.club-title{color:#495057;flex:1 1;font-weight:600;margin:0}.club-icons{display:flex;gap:.25rem;margin-right:1rem}.club-icon{color:#ffc107;font-size:.9rem}.entry-count{background-color:#007bff;border-radius:12px;box-shadow:0 2px 4px #007bff4d;color:#fff;font-size:.75rem;font-weight:600;margin-left:8px;min-width:20px;padding:2px 8px;text-align:center}.empty-club-message{background-color:#f8f9fa;border:2px dashed #dee2e6;border-radius:8px;color:#6c757d;margin:0 1rem;padding:2rem;text-align:center}.empty-club-message p{font-size:.9rem;font-style:italic;margin:0}.chevron-icon{color:#6c757d;font-size:.8rem;transition:transform .2s ease}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 40px #0000004d;max-height:80vh;max-width:600px;overflow-y:auto;width:90%}.modal-header{align-items:center;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;padding:1.5rem}.modal-header h3{color:#495057;margin:0}.modal-close-btn{align-items:center;background:none;border:none;border-radius:50%;color:#6c757d;cursor:pointer;display:flex;font-size:1.5rem;height:30px;justify-content:center;padding:0;transition:background-color .2s ease;width:30px}.modal-close-btn:hover{background-color:#f8f9fa;color:#495057}.modal-body{color:#495057;line-height:1.6;padding:1.5rem}.trophy-levels-list{list-style:none;margin:1rem 0;padding:0}.trophy-levels-list li{align-items:center;background-color:#f8f9fa;border-radius:8px;display:flex;margin-bottom:1rem;padding:.75rem;transition:background-color .2s ease}.trophy-levels-list li:hover{background-color:#e9ecef}.trophy-levels-list img{border-radius:50%;height:32px;margin-right:1rem;width:32px}.spinner{animation:spin 1s linear infinite;border:3px solid #f3f3f3;border-radius:50%;border-top-color:#667eea;height:24px;margin-right:.5rem;width:24px}.widget-loading{align-items:center;color:#6c757d;display:flex;justify-content:center;padding:2rem}@media (max-width:768px){.time-cards-container{flex-direction:column;gap:.75rem;padding:0 .5rem}.time-card{max-width:none;min-width:0;min-width:auto}}@media (max-width:992px) and (min-width:769px){.time-cards-container{justify-content:center}.time-card{max-width:180px;min-width:160px}}@media (max-width:768px){.trophy-card-container{flex-direction:column}.trophy-card{max-width:none}.trophy-card-container .custom-card{border:1px solid #e9ecef;max-width:100%;min-width:180px}.club-title-container{flex-wrap:wrap;gap:.5rem}.modal-content{margin:1rem;width:calc(100% - 2rem)}.trophy-levels-list li{flex-direction:column;text-align:center}.trophy-levels-list img{margin-bottom:.5rem;margin-right:0}.wall-of-fame-section{margin-top:1.5rem}.more-count{font-size:.8rem}.entry-count{font-size:.7rem;margin-left:6px;padding:1px 6px}.empty-club-message{margin:0 .5rem;padding:1.5rem 1rem}.empty-club-message p{font-size:.85rem}}.wall-of-fame-section{margin-bottom:1.5rem;margin-top:2rem}.wall-of-fame-title{background:linear-gradient(135deg,gold,#ffb347);border:2px solid orange;border-radius:10px;position:relative}.wall-of-fame-title:before{animation:goldShimmer 3s ease-in-out infinite;background:linear-gradient(45deg,gold,#ffb347,orange,#ff8c00);border-radius:10px;bottom:-2px;content:"";left:-2px;position:absolute;right:-2px;top:-2px;z-index:-1}@keyframes goldShimmer{0%,to{opacity:.8}50%{opacity:1}}.wall-of-fame-title .club-title{color:#8b4513;font-weight:700;text-shadow:1px 1px 2px #0000001a}.wall-of-fame-icon{color:orange;text-shadow:1px 1px 2px #0003}.wall-of-fame-count{background-color:#ff8c00;border:1px solid orange;box-shadow:0 2px 4px #ff8c0066;color:#8b4513;font-weight:700}.more-count{color:#8b4513;font-size:.9rem;font-weight:600;margin-left:5px}.wall-of-fame-trophy{background:linear-gradient(135deg,gold,#ffb347);border:2px solid orange;box-shadow:0 6px 12px #ffa5004d;color:#8b4513}.wall-of-fame-trophy:hover{box-shadow:0 8px 16px #ffa50066;transform:translateY(-3px)}.wall-of-fame-trophy .trophy-lvl1net{color:#8b4513;font-weight:700;text-shadow:1px 1px 2px #0000001a}.wall-of-fame-trophy .trophy-date,.wall-of-fame-trophy .trophy-type{color:#654321;font-weight:500}.customization-container{margin:0 auto;max-width:900px;padding:20px}.customization-description{color:#666;font-size:16px;line-height:1.5;margin-bottom:25px}.customization-form{display:flex;flex-direction:column;gap:30px}.customization-section{background-color:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:20px}.customization-section h3{border-bottom:1px solid #eee;color:#333;font-size:18px;margin-bottom:15px;margin-top:0;padding-bottom:10px}.logo-container{display:flex;flex-direction:column;gap:20px}.logo-preview-container{align-items:center;display:flex;flex-direction:column;gap:10px}.logo-preview{background-color:#f8f9fa;border:1px solid #ddd;border-radius:4px;max-height:150px;max-width:100%;padding:10px}.logo-upload-placeholder{align-items:center;background-color:#f8f9fa;border:2px dashed #ddd;border-radius:6px;color:#777;display:flex;font-size:16px;height:120px;justify-content:center}.logo-upload{margin-top:10px}.file-input{background-color:#fff;border:1px solid #ddd;border-radius:4px;padding:8px;width:100%}.upload-instructions{color:#666;font-size:14px;margin-top:8px}.remove-logo-button{background-color:#ff5c5c;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;padding:6px 12px}.remove-logo-button:hover{background-color:#e74c3c}.color-pickers{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.color-picker-container{display:flex;flex-direction:column;gap:8px}.color-input-container{align-items:center;display:flex;gap:10px}.color-picker{border:none;border-radius:4px;cursor:pointer;height:40px;padding:0;width:40px}.color-text-input{border:1px solid #ddd;border-radius:4px;flex:1 1;font-size:14px;height:40px;padding:0 12px}.color-preview{border:1px solid #ddd;border-radius:50%;height:24px;width:24px}.customization-field{margin-bottom:20px}.customization-field label{color:#333;display:block;font-weight:500;margin-bottom:8px}.css-textarea,.text-input{border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:14px;padding:10px 12px;width:100%}.css-textarea{font-family:monospace;line-height:1.4;min-height:120px}.field-help{color:#666;font-size:13px;margin-top:6px}.preview-section{margin-top:10px}.style-preview{margin-top:15px}.form-actions{display:flex;justify-content:space-between;margin-top:20px}.reset-button,.save-button{border:none;border-radius:4px;cursor:pointer;font-weight:500;padding:10px 20px;transition:background-color .2s}.save-button{background-color:#007bff;color:#fff}.save-button:hover{background-color:#0069d9}.save-button:disabled{background-color:#80bdff;cursor:not-allowed}.reset-button{background-color:#f8f9fa;border:1px solid #dc3545;color:#dc3545}.reset-button:hover{background-color:#f8d7da}.reset-button:disabled{cursor:not-allowed;opacity:.6}.error-message{background-color:#f8d7da;border-radius:4px;color:#721c24;margin-bottom:20px;padding:12px 15px}.loading-spinner{align-items:center;color:#6c757d;display:flex;font-size:18px;height:200px;justify-content:center}@media (max-width:768px){.color-pickers{grid-template-columns:1fr}.form-actions{flex-direction:column-reverse;gap:10px}.reset-button,.save-button{width:100%}}.select-input{background-color:#fff;border:1px solid #ddd;border-radius:4px;color:#333;font-size:14px;margin-bottom:8px;padding:10px;transition:border-color .2s;width:100%}.select-input:focus{border-color:#007bff;border-color:var(--primary-color,#007bff);outline:none}.select-input option{padding:10px}.font-preview,.selected-font-preview{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:4px;margin:15px 0;padding:15px;transition:all .2s ease}.font-preview p{line-height:1.5;margin:0 0 10px}.font-preview p:last-child{margin-bottom:0}.font-selector{margin-bottom:15px}.font-option-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));margin-top:15px}.font-option{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;cursor:pointer;padding:10px;text-align:center;transition:all .2s ease}.font-option:hover{background-color:#f0f7ff;border-color:#007bff}.font-option.selected{background-color:#e6f2ff;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.font-sample{color:#333;font-size:32px;margin-bottom:8px}.font-name{color:#666;font-size:13px}.selected-font-preview{background-color:#f8f9fa;border:2px solid #007bff;border-radius:6px;box-shadow:0 2px 8px #0000000d;margin-bottom:20px;padding:20px}.current-font-label{color:#007bff;font-size:14px;font-weight:500;letter-spacing:.5px;margin-bottom:15px;text-transform:uppercase}.current-font-sample{border-left:3px solid #e6f2ff;display:flex;flex-direction:column;gap:12px;margin-bottom:15px;padding-left:15px}.sample-text{color:#333;font-size:18px;line-height:1.5}.sample-alphabet{color:#555;font-size:16px;font-weight:500}.current-font-name{color:#666;font-size:14px;font-style:italic;text-align:right}.font-apply-info{border-top:1px dashed #ccc;color:#007bff;font-size:13px;font-style:italic;margin-top:10px;padding-top:8px}.notifications-admin-container{padding:1.5rem 0}.notification-badge{border-radius:50rem;display:inline-block;font-size:.8rem;font-weight:700;line-height:1;padding:.35em .65em}.table-responsive{-webkit-overflow-scrolling:touch;overflow-x:auto}.modal-body{max-height:calc(100vh - 200px);overflow-y:auto}@media (max-width:768px){.notifications-admin-container{padding:1rem 0}.btn-responsive{margin-bottom:.5rem;width:100%}.modal-dialog{margin:.5rem}.modal-content{border-radius:.5rem}}.login-container{align-items:center;display:flex;height:100vh;justify-content:center}.login-card{border:1px solid var(--border-color);border-radius:16px;box-shadow:0 4px 12px var(--shadow-color);display:flex;flex-direction:row;max-width:900px;transition:box-shadow .3s ease;width:90%}.login-card:hover{box-shadow:0 8px 24px var(--shadow-color)}.login-card .left-side{background:linear-gradient(135deg,#d7d7d7cc,#00548ca9);border-radius:16px 0 0 16px;color:#fff;display:flex;flex:1 1;flex-direction:column;justify-content:center;padding:40px}.login-links a{color:var(--hover-color);display:block;font-size:12px;margin:10px 0;text-align:center}.login-links a:hover{text-decoration:underline}.login-card .left-side h2{color:#fff;font-size:2rem;margin-bottom:10px}.login-card .left-side p{color:#fff;font-size:1rem}.login-card .right-side{background:var(--bg-primary);border-radius:0 16px 16px 0;flex:1 1;padding:40px}.login-card .right-side h2{color:var(--text-primary);font-size:1.8rem;margin-bottom:20px}.login-form .form-group label{color:var(--text-primary)}.login-form .form-group input{background-color:var(--input-bg);border:1px solid var(--input-border);color:var(--input-text)}.globe-loading-overlay{align-items:center;background-color:#0006;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}.globe-loading-animation{height:50px;width:50px}@media (max-width:600px){.login-card{flex-direction:column}.login-card .left-side{border-radius:16px 16px 0 0}.login-card .right-side{border-radius:0 0 16px 16px}}.account-setup-register-container,.change-password-container{margin:0 auto;max-width:900px;padding:20px;width:100%}.account-setup-register-container .image-container{align-items:center;display:flex;flex-direction:column;gap:8px;justify-content:center}.account-setup-register-container .user-profile-picture-container{margin:0 auto}.account-setup-back-link{color:var(--hover-color);display:inline-block;font-size:.9rem;margin-bottom:10px}.account-setup-back-link:hover{text-decoration:underline}.account-setup-register-form{background:var(--card-bg);border:1px solid var(--card-border);border-radius:16px;box-shadow:0 4px 12px var(--shadow-color);max-width:600px;padding:20px}@media (max-width:600px){.desktop-only{display:none}}.account-setup-register-header,.change-password-container h3{color:var(--text-primary);margin:10px 0 16px}.account-setup-description,.account-setup-description-small{color:var(--text-secondary);margin-bottom:12px}.account-setup-form-field{display:flex;flex-direction:column;margin-bottom:14px}.account-setup-form-label,.account-setup-register-form label{color:var(--text-primary);font-size:.85rem;font-weight:700;margin-bottom:6px}.account-setup-form-input{background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:8px;color:var(--input-text);font-size:16px;padding:12px 10px;width:100%}.account-setup-error-message{color:#d9534f;font-size:.9rem;margin-top:6px}.success-message{color:#22c55e;font-size:.9rem;margin-top:6px}.phone-number-container{display:flex;flex-wrap:nowrap;gap:8px}.phone-number-container input{flex:1 1}.account-setup-register-form .insured-button,.account-setup-submit-button{background-color:var(--button-primary-bg);border:2px solid var(--button-primary-bg);border-radius:8px;color:var(--button-primary-text);cursor:pointer;display:inline-block;padding:10px 14px}.account-setup-register-form .insured-button:hover,.account-setup-submit-button:hover{opacity:.9}@media (max-width:600px){.account-setup-register-container,.change-password-container{padding:12px}.account-setup-register-form{border-radius:12px;padding:16px}.account-setup-form-field label,.account-setup-form-label{display:block}.phone-number-container{grid-gap:8px;display:grid;gap:8px;grid-template-columns:1fr 1fr 1.5fr}.phone-number-container input{min-width:0;text-align:center}}.info-overlay{background:#00000080;bottom:0;left:0;padding:16px;position:fixed;right:0;top:0;z-index:10000}.info-overlay,.info-overlay-content{align-items:center;display:flex;justify-content:center}.info-overlay-content{background:var(--card-bg);border:1px solid var(--card-border);border-radius:12px;box-shadow:0 8px 24px #0003;max-height:85vh;max-width:90vw;padding:12px;position:relative}.info-image{border-radius:8px;display:block;height:auto;max-height:78vh;max-width:100%;object-fit:contain;width:100%}.close-overlay{color:var(--text-primary);cursor:pointer;font-size:24px;position:absolute;right:12px;top:8px}@media (max-width:600px){.info-overlay,.info-overlay-content{padding:8px}}.in-page-notification{align-items:flex-start;background:#fff;border:1px solid #e1e5e9;border-radius:8px;box-shadow:0 4px 16px #00000026;display:flex;gap:12px;max-width:400px;min-width:300px;opacity:0;padding:16px;position:fixed;right:20px;top:20px;transform:translateX(100%);transition:all .3s ease-out;z-index:9999}.in-page-notification.visible{opacity:1;transform:translateX(0)}.in-page-notification.removing{opacity:0;transform:translateX(100%)}.notification-icon{align-items:center;background:#007bff;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:14px;height:32px;justify-content:center;width:32px}.notification-content{flex:1 1;min-width:0}.notification-title{color:#333;font-size:14px;font-weight:600;line-height:1.3;margin-bottom:4px}.notification-message{color:#666;font-size:13px;line-height:1.4;margin-bottom:8px}.notification-action{align-items:center;color:#007bff;display:flex;font-size:12px;font-weight:500;gap:4px}.notification-close{align-items:center;background:none;border:none;border-radius:4px;color:#999;cursor:pointer;display:flex;flex-shrink:0;justify-content:center;padding:4px;transition:background-color .2s ease}.notification-close:hover{background:#f5f5f5;color:#666}@media (prefers-color-scheme:dark){.in-page-notification{background:#2d3748;border-color:#4a5568;color:#e2e8f0}.notification-title{color:#e2e8f0}.notification-message{color:#a0aec0}.notification-close:hover{background:#4a5568;color:#e2e8f0}}@media (max-width:480px){.in-page-notification{left:10px;max-width:none;min-width:0;right:10px;top:10px}}.in-page-notification:nth-child(2){top:100px}.in-page-notification:nth-child(3){top:180px}.in-page-notification:nth-child(4){top:260px}.promotion-tracking-container{background-color:var(--bg-primary);margin:0 auto;max-width:1200px;min-height:100vh;padding:2rem}.promotion-tracking-content{display:flex;flex-direction:column;gap:2rem}.promotion-tracking-main{display:flex;flex-direction:column;gap:1.5rem}.section-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 2px 10px #0000001a;padding:2rem}.section-card h2{color:var(--text-primary);font-size:1.5rem;margin:0 0 1rem}.section-card h2,.section-header{border-bottom:2px solid var(--primary-color);padding-bottom:.5rem}.section-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.section-header h2{border:none;margin:0;padding:0}.agent-type-tabs{display:flex;gap:.5rem;margin-bottom:1rem}.tab-btn{background:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:6px;color:var(--text-secondary);cursor:pointer;font-size:.9rem;font-weight:500;min-width:100px;padding:.5rem 1rem;transition:all .2s ease}.tab-btn:hover{background:var(--bg-secondary);color:var(--text-primary)}.tab-btn.active,.tab-btn:hover{border-color:var(--primary-color)}.tab-btn.active{background:var(--primary-color);color:#fff}.month-navigation{gap:.5rem;min-width:200px}.month-display,.month-navigation{align-items:center;display:flex;flex-direction:column}.month-display{gap:.25rem}.month-label{color:var(--text-secondary);font-size:.8rem;font-weight:500}.month-values{background:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:6px;color:var(--primary-color);font-size:1.1rem;font-weight:600;padding:.25rem .75rem}.month-controls{gap:.5rem}.month-controls,.month-nav-btn{align-items:center;display:flex}.month-nav-btn{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary);cursor:pointer;font-size:.9rem;font-weight:500;justify-content:center;min-width:40px;padding:.5rem .75rem;transition:all .2s ease}.month-nav-btn:hover{background:var(--bg-tertiary);border-color:var(--primary-color);transform:translateY(-1px)}.threshold-info{align-items:center;color:var(--text-secondary);display:flex;font-size:.9rem;gap:1rem}.threshold-requirements{display:flex;flex-direction:column;gap:.25rem}.threshold-requirements span{font-size:.85rem}.threshold-requirements span:first-child{margin-bottom:.25rem}.currency-value,.threshold-requirements span:first-child{color:var(--text-primary);font-weight:600}.mga-info{color:var(--text-secondary);font-size:.9rem;font-weight:500}.empty-state{background:var(--bg-tertiary);border:2px dashed var(--border-color);border-radius:8px;padding:3rem;text-align:center}.empty-state p{color:var(--text-secondary);font-size:1.1rem;margin:0 0 1.5rem}.error-message{background:var(--bg-secondary);border:1px solid var(--error-color);border-radius:12px;padding:3rem;text-align:center}.error-message h2{color:var(--error-color);margin:0 0 1rem}.error-message p{color:var(--text-secondary);margin:0}.loading-message{background:var(--bg-secondary);border-radius:12px;padding:3rem;text-align:center}.loading-spinner{animation:spin 1s linear infinite;border-top:4px solid var(--border-color);border:4px solid var(--border-color);border-radius:50%;border-top-color:var(--primary-color);height:40px;margin:0 auto 1rem;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (max-width:768px){.promotion-tracking-container{padding:1rem}.section-card{padding:1.5rem}.section-header{align-items:stretch;flex-direction:column;gap:1rem}.agent-type-tabs{justify-content:center;margin-bottom:.5rem}.month-navigation{min-width:auto;width:100%}.month-controls,.threshold-info{justify-content:center}}@media (max-width:480px){.section-card{padding:1rem}.month-controls{gap:.25rem}.month-nav-btn{font-size:.8rem;min-width:35px;padding:.4rem .6rem}.month-nav-btn.current-btn{min-width:50px}}