:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body,#root{width:100%;height:100%;margin:0;padding:0}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}h1{font-size:clamp(1.5rem,5vw,3.2em);line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(max-width:640px){body{font-size:14px}h1{font-size:1.5rem}}@media(min-width:641px)and (max-width:1024px){body{font-size:15px}h1{font-size:2rem}}@media(min-width:1025px){body{font-size:16px}h1{font-size:2.5rem}}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}*{box-sizing:border-box}.podio-login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:1rem}.podio-login-box{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 10px 25px #0003;width:100%;max-width:400px}.podio-login-box h1{margin:0 0 1.5rem;text-align:center;color:#333;font-size:1.5rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#555;font-weight:500;font-size:.95rem}.form-group input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;box-sizing:border-box;transition:border-color .3s;-webkit-appearance:none;appearance:none}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}button[type=submit]{width:100%;padding:.75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:0;border-radius:4px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;-webkit-appearance:none;appearance:none}button[type=submit]:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 15px #667eea66}button[type=submit]:active:not(:disabled){transform:translateY(0)}button[type=submit]:disabled{opacity:.7;cursor:not-allowed}.error-message{color:#e74c3c;background:#fadbd8;padding:.75rem;border-radius:4px;margin-bottom:1rem;font-size:.9rem}.info{margin-top:1.5rem;font-size:.85rem;color:#666;text-align:center}.info code{background:#f5f5f5;padding:.2rem .4rem;border-radius:3px;font-family:monospace;display:block;margin:.5rem 0}@media(min-width:640px){.podio-login-box{padding:2.5rem}.podio-login-box h1{font-size:1.75rem;margin-bottom:2rem}.form-group{margin-bottom:1.75rem}.info code{display:inline;margin:0 .25rem}}.version-footer{text-align:center;margin-top:2rem;padding-top:1rem;border-top:1px solid #eee;font-size:.75rem;color:#999;font-family:Courier New,monospace}@media(min-width:1024px){.podio-login-box{padding:3rem}.podio-login-box h1{font-size:2rem}}.profile-details{width:auto}.profile-loading,.profile-error{padding:2rem;background:#fff;border-radius:8px;text-align:center;color:#333}.profile-error{background:#fadbd8;color:#e74c3c;border:1px solid #e74c3c}.profile-header{display:flex;align-items:center;gap:2rem;background:#fff;padding:2rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 8px #0000001a}.profile-avatar{width:120px;height:120px;border-radius:50%;object-fit:cover;border:4px solid #667eea}.profile-avatar-placeholder{width:120px;height:120px;border-radius:50%;border:4px solid #667eea;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:48px;font-weight:700;color:#fff;flex-shrink:0}.profile-name-section{flex:1}.profile-name-section h2{margin:0;color:#333;font-size:1.75rem}.profile-email{margin:.5rem 0 0;color:#666;font-size:1rem}.profile-roles-badges{display:flex;gap:.75rem;margin-top:1rem;flex-wrap:wrap;min-height:2.5rem;align-items:center}.role-badge{display:inline-block;padding:.5rem 1rem;border-radius:20px;font-weight:600;font-size:.85rem;letter-spacing:.5px;white-space:nowrap;visibility:visible!important;opacity:1!important}.role-access{background-color:#2ecc71;color:#fff}.role-access.admin{background-color:#e74c3c!important;color:#fff!important}.profile-content{display:grid;grid-template-columns:1fr;gap:2rem;margin-bottom:-.8rem;width:100%;max-width:100%}.profile-section{background:#fff;padding:2.5rem;border-radius:8px;box-shadow:0 2px 8px #0000001a}.profile-section h3{margin-top:0;margin-bottom:1.5rem;color:#333;font-size:1.25rem;border-bottom:2px solid #667eea;padding-bottom:.75rem}.profile-item{display:flex;justify-content:space-between;align-items:center;padding:1rem .8rem!important;border-bottom:1px solid #eee;margin-bottom:.5rem}.profile-item:last-child{border-bottom:none}.profile-item .label{font-weight:600;color:#555;flex-shrink:0;margin-right:1rem}.profile-item .value{color:#333;word-break:break-all;text-align:right}.org-logo{margin-top:1rem;padding-top:1rem;border-top:1px solid #eee;text-align:center}.org-logo img{max-width:150px;max-height:80px;object-fit:contain}.debug-section{background:#f5f5f5;border:1px solid #ddd}.debug-section h3{color:#666}.debug-section p{background:#fff;padding:1rem;border-radius:4px;font-family:monospace;font-size:.75rem;line-height:1.4;margin:0}.refresh-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:0;padding:.75rem 2rem;border-radius:4px;font-weight:600;cursor:pointer;font-size:1rem;transition:all .3s}.refresh-btn:hover{transform:translateY(-2px);box-shadow:0 5px 15px #667eea66}.refresh-btn:active{transform:translateY(0)}@media(max-width:640px){.profile-header{flex-direction:column;text-align:center;gap:1rem;padding:1.5rem}.profile-avatar{width:100px;height:100px}.profile-name-section h2{font-size:1.5rem}.profile-content{grid-template-columns:1fr;gap:1.5rem}.profile-section{padding:1rem}.profile-item{flex-direction:column;align-items:flex-start}.profile-item .label{margin-right:0;margin-bottom:.25rem}.profile-item .value{text-align:left;margin-top:.25rem}.refresh-btn{width:100%;padding:.75rem}}@media(min-width:641px)and (max-width:1024px){.profile-header{gap:1.5rem;padding:2rem}.profile-avatar{width:100px;height:100px}.profile-content{grid-template-columns:repeat(2,1fr)}}.salg-container{padding:8px 4px;max-width:100%;margin:0}.salg-header{margin-bottom:30px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;padding:20px;color:#fff}.salg-header .header-content{display:flex;flex-direction:column;gap:15px}.date-picker-container{display:flex;gap:20px;white-space:nowrap;flex-wrap:wrap}.date-picker{display:flex;flex-direction:row;align-items:center;gap:8px}.date-picker label{font-size:14px;font-weight:600;color:#ffffffe6}.date-picker input[type=date]{padding:10px 14px;border:2px solid rgba(255,255,255,.3);border-radius:8px;font-size:14px;font-family:inherit;background:#fffffff2;transition:all .2s}.date-picker input[type=date]:hover{border-color:#fff9;box-shadow:0 2px 8px #0003}.date-picker input[type=date]:focus{outline:none;border-color:#fff;box-shadow:0 0 0 3px #fff3}.date-shortcuts{display:flex;gap:10px}.shortcut-btn{padding:10px 16px;background:#fff3;border:2px solid rgba(255,255,255,.3);border-radius:8px;color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.shortcut-btn:hover{background:#ffffff4d;border-color:#fff;transform:translateY(-2px)}.shortcut-btn:active{transform:translateY(0);background:#fff6}.shortcut-btn.active{background:#fff;color:#667eea;border-color:#fff;font-weight:700}.shortcut-btn.active:hover{background:#fffffff2}.fresh-data-checkbox{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#fff3;border:2px solid rgba(255,255,255,.3);border-radius:8px;color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.fresh-data-checkbox:hover{background:#ffffff4d;border-color:#fff}.fresh-data-checkbox input[type=checkbox]{cursor:pointer;width:16px;height:16px;accent-color:white}.fresh-data-checkbox input[type=checkbox]:checked{accent-color:#667eea}.fresh-success{margin-left:8px;padding:4px 8px;background:#4caf50b3;border-radius:4px;font-size:12px;animation:fadeOut 3s forwards}@keyframes fadeOut{0%{opacity:1}70%{opacity:1}to{opacity:0}}.salg-tabs{display:flex;gap:10px;margin-bottom:30px}.salg-tab{padding:12px 24px;background:none;border:0;border-bottom:3px solid transparent;color:#666;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s;margin-bottom:-2px}.salg-tab:hover{color:#667eea;background:#667eea0d}.salg-tab.active{color:#667eea;border-bottom-color:#667eea}.salg-content{background:transparent;border-radius:0;padding:0;box-shadow:none}.salg-section h3{margin:0 0 20px;color:#333;font-size:24px}.salg-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px}@media(max-width:768px){.salg-cards{grid-template-columns:repeat(2,1fr);gap:13px;margin-top:12px}.salg-card{padding:15px;gap:6px;flex-direction:column;text-align:center}.card-icon{font-size:28px;order:-1}.card-content h4{font-size:8px;margin:0;order:0}.card-value{font-size:28px;margin:0;order:1}.card-value .card-subtitle{font-size:8px;font-weight:400;opacity:.8}.card-subtitle{font-size:8px;order:2}.stat-subtitle{font-size:8px}}.salg-card{display:flex;align-items:center;gap:13px;padding:23px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;color:#fff;box-shadow:0 4px 12px #667eea4d;transition:transform .3s}.salg-card:hover{transform:translateY(-5px)}.card-icon{font-size:43px;line-height:1}.card-content{flex:1}.card-content h4{margin:0 0 10px;font-size:12px;font-weight:500;opacity:.9;text-transform:uppercase;letter-spacing:.5px}.card-value{margin:0 0 5px;font-size:28px;font-weight:700}.card-value .card-subtitle{font-size:13px;font-weight:400;opacity:.8}.card-subtitle{margin:0;font-size:13px;opacity:.8}.placeholder-text{color:#999;font-size:16px;text-align:center;padding:40px}.salg-loading{text-align:center;padding:60px 20px;color:#667eea;font-size:18px;font-weight:500}.salg-error{background:#fee;color:#c33;padding:30px;border-radius:10px;text-align:center;border:2px solid #fcc}.salg-error p{margin:0 0 20px;font-size:16px}.retry-btn{padding:10px 24px;background:#667eea;color:#fff;border:0;border-radius:5px;font-size:14px;font-weight:600;cursor:pointer;transition:transform .2s}.retry-btn:hover{transform:translateY(-2px);background:#764ba2}.departments-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:30px;margin-bottom:25px}.department-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000001a;border:2px solid #f0f0f0;transition:transform .2s,box-shadow .2s;position:relative}.department-card.clickable{cursor:pointer}.department-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #667eea33;border-color:#667eea}.click-hint{margin-top:16px;padding-top:16px;border-top:1px solid #f0f0f0;text-align:center;color:#667eea;font-size:14px;font-weight:600;opacity:0;transition:opacity .2s}.department-card.clickable:hover .click-hint{opacity:1}.department-name{margin:0 0 20px;font-size:20px;font-weight:700;color:#667eea;text-align:center}.department-stats{display:flex;flex-direction:column;gap:16px}.stat-item{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid #f0f0f0}.stat-item:last-child{border-bottom:none;padding-bottom:0}.stat-label{font-size:14px;color:#666;font-weight:500}.stat-value{font-size:18px;font-weight:700;color:#333}.stat-value-column{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.stat-subtitle{font-size:13px;font-weight:400;opacity:.8}.total-section h3{margin:0 0 24px;font-size:24px;font-weight:700;color:#333}@media(max-width:1024px)and (orientation:landscape){.salg-card{flex-direction:column;text-align:center;padding:15px;gap:6px}.card-icon{font-size:28px;order:-1}.card-content h4{font-size:10px;order:0}.card-value{font-size:20px;order:1}.card-value .card-subtitle{font-size:10px}.card-subtitle{font-size:10px;order:2}}@media(max-width:1024px){.departments-grid{gap:2px}.department-card{max-width:95%}.click-hint{display:none}.stat-item{flex-direction:column;align-items:center;text-align:center;padding-bottom:16px;border-bottom:1px solid #f0f0f0}.stat-label{font-size:12px;margin-bottom:8px;order:-1}.stat-value{font-size:16px}}.department-details-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.department-details-modal{background:#fff;border-radius:16px;width:90%;max-width:1200px;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease-out;display:flex;flex-direction:column}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.close-btn{position:absolute;top:20px;right:20px;background:#f0f0f0;border:0;width:40px;height:40px;border-radius:50%;font-size:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;z-index:10}.close-btn:hover{background:#e0e0e0;transform:rotate(90deg)}.department-details-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:40px;border-radius:16px 16px 0 0}.department-details-header h2{margin:0 0 30px;font-size:32px;font-weight:700}.department-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px}.summary-item{background:#ffffff26;padding:20px;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.summary-label{display:block;font-size:14px;opacity:.9;margin-bottom:8px;font-weight:500}.summary-value{display:block;font-size:24px;font-weight:700}.department-details-content{padding:40px;display:flex;flex-direction:column;flex:1;min-height:0}.employee-tabs{display:flex;gap:12px;margin-bottom:24px;border-bottom:2px solid #e0e0e0;order:1}.tab-button{padding:12px 24px;background:none;border:0;font-size:16px;font-weight:600;color:#666;cursor:pointer;transition:all .2s ease;border-bottom:3px solid transparent;margin-bottom:-2px}.tab-button:hover{color:#333}.tab-button.active{color:#2196f3;border-bottom-color:#2196f3}.tab-button:nth-child(1).active{color:#2196f3;border-bottom-color:#2196f3}.tab-button:nth-child(2).active{color:#4caf50;border-bottom-color:#4caf50}.tab-button:nth-child(3).active{color:#ff9800;border-bottom-color:#ff9800}.department-details-content h3{margin:0 0 30px;font-size:24px;font-weight:700;color:#333}.no-data{text-align:center;color:#999;font-size:16px;padding:40px}.employees-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px;margin-bottom:5px;order:2}.employee-card{background:#f8f9fa;border-radius:12px;padding:20px;box-shadow:0 2px 8px #0000001a;transition:all .2s ease}.employee-card:hover{box-shadow:0 4px 16px #00000026;transform:translateY(-2px)}.employees-list{display:flex;flex-direction:column;gap:12px;margin-bottom:40px;order:3}.employee-list-item{display:flex;align-items:center;gap:16px;padding:12px 16px;background:#f9f9f9;border-radius:8px;border-left:4px solid #e0e0e0;transition:all .2s ease}.employee-list-item:hover{background:#f0f0f0;border-left-color:#2196f3}.employee-list-rank{font-weight:700;font-size:14px;color:#666;min-width:35px;text-align:center}.employee-list-name{flex:1;font-weight:600;font-size:15px;color:#333;display:flex;flex-direction:column;gap:4px}.employee-list-department{margin:0;font-size:13px;color:#666;font-weight:500}.employee-list-number{font-size:12px;font-weight:600;color:#667eea;background-color:#f0f4ff;padding:3px 8px;border-radius:3px;white-space:nowrap;text-transform:lowercase}.employee-list-value{font-weight:600;font-size:15px;color:#2196f3;white-space:nowrap}.employee-card{background:#f8f9fa;border-radius:12px;padding:24px;border:2px solid #e0e0e0;transition:all .3s;position:relative;overflow:hidden}.employee-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #667eea33;border-color:#667eea}.employee-rank{position:absolute;top:-10px;right:-10px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;box-shadow:0 4px 12px #667eea66}.employee-card:nth-child(1) .employee-rank{background:linear-gradient(135deg,gold,orange)}.employee-card:nth-child(2) .employee-rank{background:linear-gradient(135deg,silver,gray)}.employee-card:nth-child(3) .employee-rank{background:linear-gradient(135deg,#cd7f32,#8b4513)}.employee-info{padding-top:10px}.employee-name-section{display:flex;align-items:center;gap:12px;margin-bottom:20px}.employee-name{margin:0;font-size:20px;font-weight:700;color:#333}.employee-department{margin:0;font-size:14px;color:#666;font-weight:500}.employee-number{font-size:14px;font-weight:600;color:#667eea;background-color:#f0f4ff;padding:4px 10px;border-radius:4px;white-space:nowrap;text-transform:lowercase}.employee-id{margin:0 0 16px;font-size:12px;color:#999;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.employee-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:20px}.employee-stat{display:flex;flex-direction:column;gap:4px}.employee-stat .stat-label{font-size:12px;color:#666;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.employee-stat .stat-value{font-size:18px;font-weight:700;color:#333}.employee-stat .stat-value.highlight{color:#667eea;font-size:22px}.sales-breakdown{margin-top:20px;padding-top:20px;border-top:1px solid #e0e0e0}.breakdown-bar{height:12px;border-radius:6px;overflow:hidden;display:flex;background:#e0e0e0;margin-bottom:12px}.bar-services{background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s ease}.bar-products{background:linear-gradient(90deg,#f093fb,#f5576c);transition:width .3s ease}.breakdown-legend{display:flex;gap:20px;font-size:13px}.legend-item{display:flex;align-items:center;gap:8px;color:#666}.legend-color{width:16px;height:16px;border-radius:4px}.legend-color.services{background:linear-gradient(135deg,#667eea,#764ba2)}.legend-color.products{background:linear-gradient(135deg,#f093fb,#f5576c)}@media(max-width:768px){.department-details-modal{width:95%;max-height:95vh}.department-details-header{padding:24px}.department-details-header h2{font-size:24px;margin-bottom:20px}.department-summary{grid-template-columns:repeat(2,1fr);gap:12px}.summary-item{padding:16px}.summary-value{font-size:20px}.department-details-content{padding:24px}.employees-grid,.employee-stats{grid-template-columns:1fr}}.items-lists{display:grid;display:-webkit-grid;grid-template-columns:1fr;-webkit-grid-template-columns:1fr;gap:24px;margin-top:auto;padding-top:24px;border-top:2px solid #e0e0e0;order:999}.items-list{background:#f9f9f9;border-radius:8px;padding:20px;box-shadow:0 2px 4px #0000000d}.list-title{font-size:18px;font-weight:600;margin:0 0 16px;padding-bottom:12px;border-bottom:3px solid #e0e0e0}.services-title{border-bottom-color:#4caf50;color:#2e7d32}.products-title{border-bottom-color:#2196f3;color:#1565c0}.items-list-ul{list-style:none;padding:0;margin:0;max-height:300px;overflow-y:auto}.list-item{display:flex;justify-content:space-between;align-items:center;padding:12px;margin-bottom:8px;background:#fff;border-radius:6px;border-left:4px solid #e0e0e0;transition:all .2s ease}.list-item:hover{background:#f5f5f5;box-shadow:0 2px 8px #0000001a;transform:translate(2px)}.services-item{border-left-color:#4caf50}.products-item{border-left-color:#2196f3}.item-name{font-size:14px;color:#333;font-weight:500;flex:1;word-break:break-word}.item-details{display:flex;align-items:center;gap:16px;margin-left:12px;white-space:nowrap}.item-count{font-size:14px;font-weight:700;color:#333;min-width:50px;text-align:right}.item-unit-price{font-size:13px;color:#888;min-width:80px;text-align:right}.item-total{font-size:14px;font-weight:600;min-width:80px;text-align:right}.services-item .item-total{color:#2e7d32}.products-item .item-total{color:#1565c0}@media(max-width:768px){.items-lists{grid-template-columns:1fr;-webkit-grid-template-columns:1fr;gap:16px}.items-list-ul{max-height:200px}.list-item{flex-direction:column;align-items:flex-start;gap:8px}.item-details{margin-left:0;align-self:flex-end}}@media(min-width:768px)and (max-width:1024px){.department-details-modal{width:95%;max-height:95vh}.employees-grid{grid-template-columns:repeat(3,1fr)}.department-details-header{padding:28px}.department-details-header h2{font-size:28px;margin-bottom:24px}.department-summary{grid-template-columns:repeat(2,1fr);gap:16px}}@media(min-width:1024px)and (orientation:landscape)and (max-height:800px){.employees-grid{grid-template-columns:repeat(3,1fr);width:100%}}.summary-item{padding:16px}.summary-value{font-size:20px}.department-details-content{padding:28px}.employee-tabs{gap:10px;margin-bottom:20px}.tab-button{padding:10px 20px;font-size:15px}.employees-list{max-height:400px;overflow-y:auto}.employee-item{padding:16px;gap:12px}.employee-rank{font-size:14px;min-width:30px}.employee-name{font-size:15px;flex:1}.employee-sales{font-size:14px;min-width:100px}.items-container{display:grid;grid-template-columns:1fr 1fr;gap:20px}.items-lists{grid-template-columns:1fr;-webkit-grid-template-columns:1fr;gap:16px}.items-list{padding:20px}.items-list h4{font-size:16px;margin-bottom:16px}.items-list-ul{max-height:300px}.list-item{padding:12px 8px;gap:12px}.item-name{font-size:14px}.item-count{font-size:13px;min-width:45px}.item-unit-price{font-size:12px;min-width:70px}.item-total{font-size:13px;min-width:70px}.close-btn{width:36px;height:36px;font-size:20px;top:16px;right:16px}} @media (min-width: 1024px) and (max-width: 1200px){.department-details-header{padding:32px}.department-details-header h2{font-size:28px}.department-summary{grid-template-columns:repeat(3,1fr);gap:18px}.department-details-content{padding:32px}}:root{--primary-blue: #3b82f6;--primary-green: #10b981;--primary-dark: #1f2937;--primary-light: #f3f4f6;--border-color: #e5e7eb;--text-dark: #111827;--text-gray: #6b7280;--text-light: #9ca3af;--white: #ffffff;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1)}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{width:100%;height:100%}body{font-family:Inter,system-ui,-apple-system,sans-serif;color:var(--text-dark);background-color:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}button:focus,button:focus-visible,a:focus,a:focus-visible{outline:none;box-shadow:none}.app-container{display:flex;flex-direction:column;width:100%;min-height:100vh;background-color:var(--white)}.app-header{background-color:var(--white);border-bottom:1px solid var(--border-color);padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;height:70px;box-shadow:var(--shadow-sm);position:sticky;top:0;z-index:100}.header-content{display:flex;align-items:center;gap:1rem;flex:1}.header-logo{width:45px;height:45px;object-fit:contain;border-radius:8px}.app-header h1{font-size:1.25rem;font-weight:600;color:var(--text-dark);margin:0;letter-spacing:-.3px}.header-right{display:flex;align-items:center;gap:.25rem;margin-left:auto}.profile-menu-container{position:relative;display:flex;align-items:center;gap:1rem}.language-switcher{position:relative}.lang-btn-dropdown{background:none;border:0;cursor:pointer;color:var(--text-gray);padding:.5rem;border-radius:8px;transition:all .2s;display:flex;align-items:center;justify-content:center;outline:none;transform:translateY(-2px)}.lang-btn-dropdown:hover{background-color:var(--primary-light);color:var(--primary-green)}.language-dropdown-menu{position:absolute;top:100%;right:0;margin-top:.5rem;background:var(--white);border:1px solid var(--border-color);border-radius:8px;box-shadow:var(--shadow-lg);z-index:1001;min-width:150px;overflow:hidden}.language-option{display:block;width:100%;padding:.75rem 1rem;border:0;background:var(--white);text-align:left;cursor:pointer;font-size:.95rem;transition:background-color .2s;color:var(--text-dark)}.language-option:hover{background-color:#10b9811a}.language-option.active{background-color:#10b98133;color:var(--primary-green);font-weight:600}.profile-icon-btn{background:none;border:0;cursor:pointer;color:var(--text-gray);padding:.5rem;border-radius:8px;transition:all .2s}.profile-icon-btn:hover{background-color:var(--primary-light);color:var(--primary-green)}.profile-dropdown{position:absolute;top:100%;right:0;margin-top:.5rem;background:var(--white);border:1px solid var(--border-color);border-radius:12px;box-shadow:var(--shadow-lg);width:375px;max-width:90vw;z-index:1000}@keyframes slideDownDropdown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown-user-header{display:flex;align-items:center;gap:1rem;padding:1.25rem;border-bottom:1px solid var(--border-color)}.dropdown-user-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover}.dropdown-user-info{flex:1}.dropdown-user-name{font-weight:600;color:var(--text-dark);margin:0;font-size:.95rem}.dropdown-user-email{font-size:.85rem;color:var(--text-gray);margin:.25rem 0 0}.role-badge{display:inline-block;margin-top:4px;padding:2px 8px;border-radius:10px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.role-badge.medarbejder{background:#d4edda;color:#155724}.role-badge.klient{background:#cfe2ff;color:#084298}.role-badge.role-admin{background:#f8d7da;color:#842029}.role-badge.role-regular{background:#fff3cd;color:#664d03}.role-badge.role-light{background:#e8d5f5;color:#5b2d8e}.role-badges-row{display:flex;gap:.5rem;margin-top:4px}.dropdown-divider{height:1px;background:var(--border-color);opacity:0;transition:opacity .4s ease-out .15s}.dropdown-divider.show{opacity:1}.dropdown-link{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem 1rem;background:#fff;border:0;color:var(--text-primary);font-size:.95rem;cursor:pointer;transition:all .2s;width:100%;text-align:left;outline:none;-webkit-appearance:none;-moz-appearance:none}.dropdown-link:hover{background-color:var(--primary-light);color:var(--primary-green);padding-left:1.5rem}.dropdown-logout-btn{display:flex;align-items:center;gap:.75rem;width:100%;padding:.85rem 1.25rem;background:none;border:0;border-top:1px solid var(--border-color);color:#ef4444;cursor:pointer;transition:all .2s;font-size:.95rem;font-weight:500;outline:none;-webkit-appearance:none;-moz-appearance:none}.dropdown-link:hover,.dropdown-link.active:hover{background-color:#10b9811a!important}.dropdown-link:active,.dropdown-link:focus{background-color:transparent}.dropdown-logout-btn:hover{background-color:#ef44441a;padding-left:1.5rem}.dropdown-logout-btn:active,.dropdown-logout-btn:focus{background-color:#ef444440}.dropdown-link{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem 1rem;background:#fff;border:0;color:var(--text-primary);font-size:.95rem;cursor:pointer;transition:all .2s;width:100%;text-align:left}.dropdown-link .chevron-icon{transition:transform .3s ease-out;flex-shrink:0}.dropdown-link.active .chevron-icon{transform:rotate(180deg)}.dropdown-profile-details{padding:0;border-top:none;background:var(--primary-light);overflow:hidden;opacity:0;max-height:0;transition:opacity .4s ease-out,max-height .4s ease-out;box-sizing:border-box;max-width:100%}.dropdown-profile-details.show{padding:0;border-top:1px solid var(--border-color);overflow-y:auto;opacity:1;max-height:1000px}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown-profile-details .profile-details{padding:0;background:transparent}.dropdown-profile-details .profile-header{display:none}.dropdown-profile-details .profile-name-section{flex:1}.dropdown-profile-details .profile-name-section h2{font-size:1rem;margin-bottom:.25rem}.dropdown-profile-details .profile-email{font-size:.85rem}.dropdown-profile-details .profile-content{padding:0;grid-template-columns:1fr;gap:1rem}.dropdown-profile-details .profile-section{margin-bottom:1rem;padding:1rem;background:var(--white);border-radius:8px;margin-left:0;margin-right:0}.dropdown-profile-details .profile-section h3{font-size:.9rem;font-weight:600;margin-bottom:.75rem;color:var(--primary-green);border-bottom:1px solid var(--border-color);padding-bottom:.5rem}.dropdown-profile-details .profile-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;font-size:.85rem}.dropdown-profile-details .label{font-weight:500;color:var(--text-gray)}.dropdown-profile-details .value{color:var(--text-dark);text-align:right;font-weight:500}.app-layout{display:flex;flex:1;min-height:calc(100vh - 70px)}.sidebar{width:250px;background-color:var(--primary-light);border-right:1px solid var(--border-color);padding:1.5rem 0;overflow-y:auto}.sidebar-nav{display:flex;flex-direction:column;gap:0}.nav-link{padding:1rem 1.5rem;background:none;border:0;border-left:4px solid transparent;text-align:left;color:var(--text-dark);cursor:pointer;transition:all .2s;font-size:.95rem;font-weight:500;display:flex;align-items:center;gap:.75rem;outline:none;-webkit-appearance:none;-moz-appearance:none}.nav-link:hover{background-color:#10b9811a;color:var(--primary-green)}.nav-link.active{background-color:#10b98126;border-left-color:var(--primary-green);color:var(--primary-green)}.nav-arrow{display:inline-block;transition:transform .3s;opacity:.7}.nav-link:hover .nav-arrow{transform:translate(4px);opacity:1}.main-content-area{flex:1;display:flex;flex-direction:column;align-items:stretch;width:100%;overflow-y:auto}.main-content{flex:1;padding:0;overflow-y:auto;background:var(--white);display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%}.welcome-section{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(100vh - 70px);width:100vw;text-align:center;gap:1.5rem;padding:3rem 2rem;box-sizing:border-box;margin-left:calc(-50vw + 50%);background:var(--white)}.welcome-tagline{display:inline-block;padding:.75rem 2rem;background:linear-gradient(135deg,var(--primary-blue) 0%,var(--primary-green) 100%);color:#fff;font-family:Inter,system-ui,-apple-system,sans-serif;font-size:1.125rem;font-weight:600;border-radius:50px;letter-spacing:.5px;box-shadow:0 4px 12px #10b9814d;margin-bottom:.5rem}.logo-container{margin-bottom:.5rem}.home-logo{width:auto;height:auto;max-width:100%;max-height:100vh;object-fit:contain;border-radius:16px;box-shadow:var(--shadow-lg);animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.welcome-section h2{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:3.4375rem;font-weight:800;margin:0;letter-spacing:-1px;line-height:1.2;background:linear-gradient(135deg,var(--primary-blue) 0%,var(--primary-green) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;width:100%;padding:2rem 0}.welcome-section p{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:1.40625rem;margin:0;line-height:1.6;background:linear-gradient(135deg,var(--primary-blue) 0%,var(--primary-green) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;max-width:90%}.profile-accordion{width:90%;max-width:900px;margin-top:2rem;background:var(--white);border:1px solid var(--border-color);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md);animation:slideDown .3s ease-out}.profile-container{max-width:900px;margin:0 auto;padding:2rem}.profile-header{display:flex;align-items:flex-start;gap:3rem;margin-bottom:3rem;padding:2rem;background:var(--white);border-radius:12px;border:1px solid var(--border-color)}.profile-avatar{width:140px;height:140px;border-radius:50%;object-fit:cover;box-shadow:var(--shadow-md)}.profile-info{flex:1}.profile-info h2{font-size:1.75rem;font-weight:700;color:var(--text-dark);margin:0 0 .5rem}.profile-info p{color:var(--text-gray);margin:.25rem 0;font-size:.95rem}.profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}.profile-item{padding:1.5rem;background:var(--white);border:1px solid var(--border-color);border-radius:12px;transition:all .2s}.profile-item:hover{border-color:var(--primary-green);box-shadow:var(--shadow-md)}.profile-item-label{font-size:.85rem;font-weight:600;color:var(--text-gray);text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}.profile-item-value{font-size:1.1rem;font-weight:500;color:var(--text-dark)}.settings-container{max-width:900px;margin:0 auto;padding:2rem}.settings-section{background:var(--white);border:1px solid var(--border-color);border-radius:12px;padding:2rem;margin-bottom:2rem}.settings-section h2{font-size:1.5rem;font-weight:700;color:var(--text-dark);margin:0 0 1.5rem}.spaces-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem}.space-item{padding:1.5rem;background:var(--primary-light);border:2px solid var(--border-color);border-radius:12px;cursor:pointer;transition:all .2s}.space-item:hover{border-color:var(--primary-green);background:#10b9811a}.space-item.selected{border-color:var(--primary-green);background:#10b98126}.space-checkbox{margin-right:.75rem}.space-name{font-weight:600;color:var(--text-dark)}.btn{padding:.85rem 1.5rem;background:linear-gradient(135deg,var(--primary-blue) 0%,var(--primary-green) 100%);color:#fff;border:0;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s;font-size:.95rem;font-family:Inter,system-ui,-apple-system,sans-serif}.btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.btn-secondary{background:var(--primary-light);color:var(--primary-green)}.btn-secondary:hover{background:#10b98133}.button-group{display:flex;gap:1rem;margin-top:2rem}.back-btn{padding:.75rem 1.25rem;background:var(--primary-light);border:0;border-radius:8px;color:var(--primary-green);cursor:pointer;font-weight:600;font-size:.9rem;transition:all .2s}.back-btn:hover{background:#10b98133}.app-footer{background-color:var(--white);border-top:1px solid var(--border-color);padding:1.5rem 2rem;text-align:center;font-size:.85rem;color:var(--text-gray);display:flex;justify-content:space-between;align-items:center}.footer-links{display:flex;gap:1.5rem;justify-content:flex-end}.footer-link{background:none;border:0;color:var(--text-gray);cursor:pointer;padding:.5rem 1rem;border-radius:6px;transition:all .2s;font-weight:500}.footer-link:hover{background:var(--primary-light);color:var(--primary-green)}.footer-link.active{background:var(--primary-light);color:var(--primary-green);font-weight:700}@media(max-width:768px){.app-layout{flex-direction:column}.sidebar{width:100%;padding:0;border-right:none;border-bottom:1px solid var(--border-color)}.sidebar-nav{flex-direction:row;overflow-x:auto;padding:0;gap:0}.nav-link{padding:.85rem 1.25rem;white-space:nowrap;flex-shrink:0;border-radius:0;border-left:none;border-bottom:3px solid transparent}.nav-link.active{border-left:none;border-bottom-color:var(--primary-green);background-color:var(--primary-light)}.profile-header{flex-direction:column;align-items:center;text-align:center}.profile-grid{grid-template-columns:1fr}.welcome-section{min-height:calc(100vh - 70px);gap:2rem;padding:2rem 1rem;width:100vw;margin-left:calc(-50vw + 50%)}.welcome-section h2{font-size:1.875rem;width:100%;padding:1.5rem 0}.welcome-section p{font-size:1rem;max-width:95%}.welcome-tagline{font-size:1rem;padding:.65rem 1.75rem}.app-footer{flex-direction:column;text-align:center}.footer-links{justify-content:center;width:100%}.footer-link{font-size:.85rem}.spaces-list{grid-template-columns:1fr}.profile-avatar{width:100px;height:100px}}@media(max-width:480px){.app-header{padding:.75rem;gap:.75rem;height:60px}.app-header h1{font-size:1rem}.header-logo{width:40px;height:40px}.main-content{padding:1rem .75rem}.welcome-section{min-height:auto;padding:2rem 1rem;gap:1.5rem;width:100vw;margin-left:calc(-50vw + 50%)}.welcome-section h2{font-size:1.625rem;width:100%;padding:1rem 0}.welcome-section p{font-size:.95rem;max-width:100%}.welcome-tagline{font-size:.9rem;padding:.6rem 1.5rem}.profile-section h3,.settings-section h2{font-size:.85rem}.profile-item{padding:1rem}.settings-section{padding:1.25rem}.button-group{flex-direction:column}.btn{width:100%}.profile-grid{grid-template-columns:1fr}}.access-denied-container{display:flex;align-items:center;justify-content:center;min-height:60vh;padding:2rem}.access-denied-box{background:#fff;border:2px solid var(--border-color);border-radius:12px;padding:3rem;text-align:center;max-width:500px;box-shadow:var(--shadow-md)}.access-denied-box h2{color:var(--primary-dark);margin-bottom:1rem;font-size:1.75rem}.access-denied-box p{color:var(--text-gray);margin-bottom:.5rem;line-height:1.6}
