*{margin:0;padding:0;box-sizing:border-box;}:root{--altera-purple:#393392;--altera-dark:#2b2d6a;--altera-pink:#F56E7B;--altera-blue:#4A63A0;--bg-light:#F8F9FA;--text-dark:#2C3E50;--text-light:#6C757D;--blue:#3b5998;--red:#DC3545;--yellow:#FFC107;--green:#28A745;}body{font-family:'Montserrat',sans-serif;background-color:var(--bg-light);color:var(--text-dark);padding-top:120px;}.beta-chippy-unified{display:inline-block;position:relative;vertical-align:baseline;}.beta-text{display:inline-flex;align-items:center;justify-content:center;padding:0.35rem 0.85rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:white;font-size:0.7rem;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;border-radius:16px;box-shadow:0 2px 8px rgba(102,126,234,0.3),0 0 20px rgba(118,75,162,0.2);position:relative;overflow:visible;animation:betaPulse 3s ease-in-out 2 forwards;z-index:2;}.beta-text::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:linear-gradient(45deg,transparent 30%,rgba(255,255,255,0.3) 50%,transparent 70%);animation:betaShine 3s linear 2;pointer-events:none;z-index:1;}.beta-text::after{content:'';position:absolute;inset:0;border-radius:16px;padding:1.5px;background:linear-gradient(135deg,rgba(255,255,255,0.4),rgba(255,255,255,0.1));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;z-index:1;}@keyframes betaPulse{0%,100%{box-shadow:0 2px 8px rgba(102,126,234,0.3),0 0 20px rgba(118,75,162,0.2);}50%{box-shadow:0 2px 12px rgba(102,126,234,0.5),0 0 30px rgba(118,75,162,0.4);}}@keyframes betaShine{0%{transform:translateX(-100%) translateY(-100%) rotate(45deg);}100%{transform:translateX(100%) translateY(100%) rotate(45deg);}}.chippy-peek-container{position:absolute;top:50%;left:100%;transform:translateY(-50%) scale(0.5);width:140px;height:40px;overflow:visible;z-index:1;pointer-events:none;}.chippy-pixel-dog{position:relative;width:40px;height:45px;transform-origin:bottom center;animation:chippyPeekaboo 6s ease-in-out 2 forwards;image-rendering:pixelated;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;filter:drop-shadow(2px 2px 3px rgba(0,0,0,0.3));}.chippy-head{position:absolute;top:0;left:10px;width:20px;height:18px;background:#D4A574;border-radius:2px;}.chippy-ear-left,.chippy-ear-right{position:absolute;width:6px;height:8px;background:#B8935E;border-radius:2px 2px 0 0;}.chippy-ear-left{top:-5px;left:2px;transform:rotate(-15deg);animation:earFlop 3s ease-in-out infinite;}.chippy-ear-right{top:-5px;right:2px;transform:rotate(15deg);animation:earFlop 3s ease-in-out 0.5s infinite;}.chippy-face{position:absolute;top:6px;left:3px;width:14px;height:10px;}.chippy-eye-left,.chippy-eye-right{position:absolute;width:3px;height:3px;background:#2C3E50;border-radius:50%;animation:eyeBlink 4s ease-in-out infinite;}.chippy-eye-left{left:2px;top:2px;}.chippy-eye-right{right:2px;top:2px;}.chippy-nose{position:absolute;bottom:1px;left:50%;transform:translateX(-50%);width:4px;height:3px;background:#000;border-radius:2px;}.chippy-body{position:absolute;top:16px;left:8px;width:24px;height:18px;background:#E8E8E8;border:2px solid #667EEA;border-radius:3px;box-sizing:border-box;}.chippy-cross{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;}.chippy-cross::before,.chippy-cross::after{content:'';position:absolute;background:#DC3545;}.chippy-cross::before{width:2px;height:8px;left:3px;}.chippy-cross::after{height:2px;width:8px;top:3px;}.chippy-stethoscope-pixel{position:absolute;top:-2px;right:-4px;width:6px;height:10px;border:2px solid #4A63A0;border-radius:50% 50% 0 0;animation:stethoscopeSwing 2s ease-in-out infinite;}.chippy-legs{position:absolute;top:32px;left:10px;display:flex;gap:8px;}.chippy-leg{width:4px;height:10px;background:#D4A574;border-radius:0 0 2px 2px;animation:legWalk 1s ease-in-out infinite;}.chippy-leg:nth-child(2){animation-delay:0.5s;}.chippy-tail{position:absolute;top:18px;right:4px;width:12px;height:4px;background:#B8935E;border-radius:0 4px 4px 0;transform-origin:left center;animation:tailWag 0.6s ease-in-out infinite;}.chippy-sparkles{position:absolute;width:120px;height:80px;top:-20px;left:-20px;pointer-events:none;}.sparkle{position:absolute;font-size:1rem;animation:sparkleFloat 3s ease-in-out 4;opacity:0;font-family:"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji",sans-serif;}.sparkle-1{top:5%;left:10%;animation-delay:0s;}.sparkle-2{top:25%;right:20%;animation-delay:1s;}.sparkle-3{bottom:10%;left:30%;animation-delay:2s;}@keyframes chippyPeekaboo{0%,100%{transform:translateX(-120px);}10%,90%{transform:translateX(-120px);}35%,70%{transform:translateX(-40px);}80%{transform:translateX(-120px);}}@keyframes chippyBounce{0%,100%{transform:translateY(0) scaleY(1);}50%{transform:translateY(-8px) scaleY(0.95);}}@keyframes earFlop{0%,100%{transform:rotate(-15deg);}50%{transform:rotate(-25deg);}}@keyframes eyeBlink{0%,90%,100%{height:3px;opacity:1;}92%,96%{height:1px;opacity:0.5;}}@keyframes tailWag{0%,100%{transform:rotate(0deg);}25%{transform:rotate(20deg);}75%{transform:rotate(-10deg);}}@keyframes legWalk{0%,100%{transform:translateY(0);}50%{transform:translateY(2px);}}@keyframes stethoscopeSwing{0%,100%{transform:rotate(0deg);}50%{transform:rotate(15deg);}}@keyframes sparkleFloat{0%,100%{transform:translateY(0) scale(0);opacity:0;}10%{opacity:1;}50%{transform:translateY(-30px) scale(1);opacity:1;}90%{opacity:0;}100%{transform:translateY(-50px) scale(0);opacity:0;}}.beta-chippy-unified:hover .chippy-pixel-dog{animation:chippyExcited 0.5s ease-in-out infinite;}.beta-chippy-unified:hover .sparkle{animation-duration:1.5s!important;}@keyframes chippyExcited{0%,100%{transform:translateY(0) rotate(0deg) scale(1);}25%{transform:translateY(-3px) rotate(-8deg) scale(1.05);}75%{transform:translateY(-3px) rotate(8deg) scale(1.05);}}.tabs-select-wrap{display:none;position:fixed;left:0;right:0;z-index:999;background:white;padding:0.5rem 0.75rem;border-bottom:2px solid #e0e0e0;box-shadow:0 2px 4px rgba(0,0,0,0.05);}.tabs-select-wrap select{width:100%;padding:0.8rem 1rem;border-radius:8px;border:2px solid var(--altera-purple);font-weight:600;font-family:'Montserrat',sans-serif;font-size:0.95rem;}@media (max-width:360px){.tabs{display:none;}.tabs-select-wrap{display:block;}}.header{background:white;padding:1rem;box-shadow:0 2px 4px rgba(0,0,0,0.1);border-bottom:3px solid var(--altera-pink);position:fixed;top:0;left:0;right:0;z-index:1000;}.header-content{display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:0 auto;padding:0 1.5rem;}.header-left{display:flex;align-items:center;gap:1.5rem;}.dashboard-logo{height:50px;width:auto;object-fit:contain;display:block;}.header h1{font-size:1.5rem;font-weight:700;color:var(--altera-dark);}.btn{padding:0.75rem 1.5rem;border-radius:8px;font-family:'Montserrat',sans-serif;font-weight:600;font-size:0.9rem;cursor:pointer;transition:all 0.3s;border:none;}.btn-primary{background:var(--altera-purple);color:white;}.btn-primary:hover{background:var(--altera-dark);}.btn-success{background:var(--green);color:white;}.btn-success:hover{background:#218838;}.tabs{background:white;display:flex;flex-wrap:nowrap;padding:1rem;border-bottom:2px solid #e0e0e0;gap:0.5rem;position:fixed;top:70px;left:0;right:0;width:100%;z-index:999;box-shadow:0 2px 4px rgba(0,0,0,0.05);overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--altera-purple) #f1f1f1;}.tabs::-webkit-scrollbar{height:8px;}.tabs::-webkit-scrollbar-track{background:#f1f1f1;}.tabs::-webkit-scrollbar-thumb{background:var(--altera-purple);border-radius:4px;}.tab{padding:0.8rem 1.5rem;background:none;border:none;cursor:pointer;font-family:'Montserrat',sans-serif;font-weight:600;font-size:0.95rem;color:var(--altera-dark);transition:all 0.3s;display:flex;align-items:center;gap:0.5rem;border-radius:8px;white-space:nowrap;flex-shrink:0;}.tab:hover{background:#f0f0f0;}.tab.active{background:var(--altera-purple);color:white;}.content{max-width:1200px;margin:0 auto;padding:1.5rem;}.tab-content{display:none;}.tab-content.active{display:block;}.trends-section{background:linear-gradient(135deg,#2b2d6a 0%,#3d3f7a 100%);padding:2rem;border-radius:12px;margin-bottom:1.5rem;}.trends-section h2{color:white;font-size:1.5rem;margin-bottom:1.5rem;}.stat-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-bottom:2rem;opacity:0;transition:opacity 0.3s ease-in-out;}#teamHealthScoreContainer,#recommendationsContainer,#predictiveInsightsContainer,#priorityMatrixContainer{opacity:0;transition:opacity 0.3s ease-in-out;}#teamHealthScoreContainer.dashboard-loaded,#recommendationsContainer.dashboard-loaded,#predictiveInsightsContainer.dashboard-loaded,#priorityMatrixContainer.dashboard-loaded{opacity:1 !important;}.stat-card{background:white;border-radius:12px;padding:1.5rem;text-align:center;border:4px solid;box-shadow:0 2px 8px rgba(0,0,0,0.1);}.stat-card.total{border-color:#667EEA;}.stat-card.overdue{border-color:#DC3545;}.stat-card.in-progress{border-color:#FFC107;}.stat-card.completed{border-color:#28A745;}.stat-card h3{font-size:0.9rem;color:var(--altera-dark);font-weight:600;margin-bottom:0.5rem;}.stat-number{font-size:2.5rem;font-weight:700;}.stat-card.total .stat-number{color:var(--blue);}.stat-card.overdue .stat-number{color:var(--red);}.stat-card.in-progress .stat-number{color:var(--yellow);}.stat-card.completed .stat-number{color:var(--green);}.chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem;}.chart-container{background:white;border-radius:16px;padding:2rem;box-shadow:0 2px 8px rgba(0,0,0,0.08);margin-bottom:2rem;min-height:350px;position:relative;}.chart-container h3{color:var(--altera-dark);margin-bottom:1.5rem;font-size:1.1rem;font-weight:700;}.chart-container canvas{width:100% !important;height:auto !important;}.topics-container{background:white;padding:1.5rem;border-radius:12px;}.topics-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;}.topics-header h3{font-size:1.1rem;font-weight:700;color:var(--altera-dark);}.bar-container{min-height:400px;display:flex;align-items:center;justify-content:center;position:relative;}.meeting-selector{background:white;padding:1.5rem;border-radius:12px;margin-bottom:1.5rem;}.meeting-selector h3{font-size:1.1rem;font-weight:700;color:var(--altera-dark);margin-bottom:1rem;}.meeting-selector select{max-width:400px;padding:0.75rem;border:2px solid #e0e0e0;border-radius:8px;font-family:'Montserrat',sans-serif;font-size:1rem;font-weight:500;cursor:pointer;transition:all 0.3s;}.meeting-selector select:focus{outline:none;border-color:var(--altera-purple);}.collapsible-section{background:white;border-radius:12px;margin-bottom:1.5rem;overflow:hidden;}.section-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 2rem;cursor:pointer;user-select:none;background:white;position:relative;}.section-header::after{content:'';position:absolute;bottom:0;left:2rem;right:2rem;height:3px;background:var(--altera-blue);}.section-header:hover{background:#f8f9fa;}.section-header h2{font-size:1.4rem;font-weight:700;color:var(--altera-dark);}.section-toggle{color:var(--altera-purple);font-size:1.5rem;transition:transform 0.3s;}.section-toggle.collapsed{transform:rotate(-90deg);}.section-body{padding:2rem;display:none;}.section-body.expanded{display:block;}.summary-meta{margin-bottom:1.5rem;}.summary-meta-row{display:grid;grid-template-columns:auto 1fr;gap:1rem 2rem;margin-bottom:1rem;}.summary-meta strong{color:var(--altera-dark);font-weight:700;}.attendees-container{margin-top:1.5rem;}.attendees-container h3{display:flex;align-items:center;gap:0.5rem;color:var(--altera-dark);font-weight:700;font-size:1.05rem;margin-bottom:1rem;}.attendees-grid{display:flex;flex-wrap:wrap;gap:0.75rem;}.attendee-badge{display:flex;align-items:center;gap:0.5rem;background:#f8f9fa;padding:0.4rem 0.75rem;border-radius:20px;font-size:0.85rem;}.attendee-initials{width:28px;height:28px;border-radius:50%;background:var(--altera-purple);color:white;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:0.7rem;}.attendee-name{color:var(--text-dark);font-weight:500;}.context-box{background:#f8f9fa;padding:1.5rem;border-left:4px solid var(--altera-purple);border-radius:8px;margin-bottom:1.5rem;}.context-box strong{display:block;color:var(--altera-dark);font-weight:700;margin-bottom:0.75rem;font-size:1.05rem;}.context-box p{color:var(--text-dark);line-height:1.6;}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:1.5rem;}.summary-section{margin-bottom:1.5rem;background:#f8f9fa;padding:1.5rem;border-left:4px solid var(--altera-blue);border-radius:8px;}#risks-section{border-left:none;}.summary-section h3{color:var(--altera-dark);font-weight:700;font-size:1.05rem;margin-bottom:1rem;}.summary-section ul{list-style:none;padding:0;}.summary-section li{padding:0.4rem 0 0.4rem 1.5rem;position:relative;line-height:1.5;color:var(--text-dark);}.summary-section li::before{content:"•";position:absolute;left:0;color:var(--altera-blue);font-weight:700;font-size:1.2rem;}.topic-card{background:#f8f9fa;border-left:4px solid var(--altera-blue);border-radius:8px;margin-bottom:1.5rem;overflow:hidden;}.topic-header{display:flex;align-items:center;gap:1rem;padding:1.5rem;cursor:pointer;user-select:none;}.topic-header:hover{background:#eef0f2;}.topic-number{background:var(--altera-blue);color:white;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0;font-size:0.95rem;}.topic-title{flex:1;font-size:1.15rem;font-weight:700;color:var(--altera-dark);}.topic-toggle{color:var(--altera-blue);font-size:1.5rem;transition:transform 0.3s;}.topic-toggle.collapsed{transform:rotate(-90deg);}.topic-body{padding:0 1.5rem 1.5rem 1.5rem;display:none;}.topic-body.expanded{display:block;}.topic-section{margin-bottom:1.25rem;}.topic-section-title{font-weight:700;color:var(--altera-dark);margin-bottom:0.75rem;font-size:0.95rem;}.topic-section p{color:var(--text-dark);line-height:1.7;margin-bottom:0.75rem;}.topic-section ul{list-style:none;padding-left:0;margin-top:0.5rem;}.topic-section li{padding:0.4rem 0 0.4rem 1.5rem;color:var(--text-dark);line-height:1.6;position:relative;}.topic-section li::before{content:"•";position:absolute;left:0;color:var(--altera-blue);font-weight:700;font-size:1.2rem;}.related-actions{margin-top:1.5rem;padding:0;}.action-item{display:flex;align-items:center;gap:0.75rem;padding:0.5rem 0;}.action-id{color:white;padding:0.4rem 0.8rem;border-radius:20px;font-size:0.85rem;font-weight:600;white-space:nowrap;cursor:pointer;transition:transform 0.2s;}.action-id:hover{transform:scale(1.05);box-shadow:0 2px 8px rgba(0,0,0,0.2);}.action-id.completed{background:var(--green);}.action-id.in-progress{background:var(--yellow);color:white;}.action-id.overdue{background:var(--red);}.action-description{flex:1;color:var(--text-dark);font-size:0.9rem;line-height:1.5;}.key-dates-section{background:white;padding:2rem;border-radius:12px;margin-bottom:2rem;}.key-dates-header{display:flex;align-items:center;gap:0.5rem;margin-bottom:1.5rem;}.key-dates-header h3{font-size:1.1rem;font-weight:700;color:var(--altera-dark);}.key-date-item{display:flex;align-items:flex-start;gap:1rem;padding:1rem;margin-bottom:0.75rem;border-radius:8px;background:#fff5f5;border-left:4px solid var(--red);}.key-date-item.warning{background:#fff9e6;border-left-color:var(--yellow);}.key-date-badge{flex-shrink:0;background:var(--red);color:white;padding:0.5rem 0.75rem;border-radius:8px;font-weight:700;font-size:0.85rem;text-align:center;min-width:100px;animation:pulse 2s infinite;}.key-date-badge.warning{background:var(--yellow);color:#333;animation:none !important;}.key-date-content{flex:1;min-width:0;}.key-date-action{font-weight:600;color:var(--altera-dark);margin-bottom:0.25rem;word-wrap:break-word;}.key-date-meta{display:flex;flex-wrap:wrap;gap:0.75rem;align-items:center;font-size:0.85rem;color:var(--text-light);}.key-date-owners{display:flex;flex-wrap:wrap;gap:0.25rem;}.key-date-owner{background:var(--altera-blue);color:white;padding:0.25rem 0.5rem;border-radius:12px;font-size:0.75rem;}.key-date-status{padding:0.25rem 0.6rem;border-radius:12px;font-weight:600;font-size:0.75rem;}.key-date-status.overdue{background:var(--red);color:white;}.key-date-status.in-progress{background:var(--yellow);color:white;}.editable{cursor:pointer;padding:0.5rem;border-radius:4px;transition:all 0.2s;position:relative;}.editable:hover:not(.editing){background:#fff3cd;outline:2px dashed #ffc107;}.editable.editing{background:white;border:2px solid var(--altera-purple);padding:0.5rem;}.editable.modified{background:#d4edda;}.editable.modified::after{content:'✓';position:absolute;right:0.25rem;top:0.25rem;color:var(--green);font-weight:700;font-size:0.85rem;}.editable-input{width:100%;padding:0.5rem;border:2px solid var(--altera-purple);border-radius:4px;font-family:'Montserrat',sans-serif;font-size:0.9rem;}.editable-input:focus{outline:none;}.editable-select{width:100%;padding:0.5rem;border:2px solid var(--altera-purple);border-radius:4px;font-family:'Montserrat',sans-serif;font-size:0.9rem;cursor:pointer;}.timeline-header{background:white;padding:0.75rem;border-radius:8px;margin-bottom:0.5rem;}.timeline-title{font-size:1.25rem;font-weight:700;color:var(--altera-dark);margin-bottom:0.5rem;}.timeline-controls{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;}.search-box{flex:1;min-width:250px;max-width:500px;position:relative;}.search-box::before{content:'🔍';position:absolute;left:1rem;top:50%;transform:translateY(-50%);font-size:1.1rem;pointer-events:none;z-index:1;}.search-box input{width:100%;padding:0.75rem 1rem 0.75rem 3rem;border:2px solid #e0e0e0;border-radius:8px;font-family:'Montserrat',sans-serif;font-size:0.95rem;}.search-box input:focus{outline:none;border-color:var(--altera-purple);}.filter-group{display:flex;gap:0.5rem;flex-wrap:wrap;}.filter-btn{padding:0.6rem 1.2rem;border:2px solid #e0e0e0;background:white;border-radius:20px;font-family:'Montserrat',sans-serif;font-size:0.9rem;font-weight:600;cursor:pointer;transition:all 0.3s;}.filter-btn:hover{background:#f8f9fa;}.filter-btn.active{background:var(--altera-purple);color:white;border-color:var(--altera-purple);}.filter-btn.overdue{border-color:var(--red);color:var(--red);}.filter-btn.overdue.active{background:var(--red);color:white;}.filter-btn.in-progress{border-color:var(--yellow);color:#d39e00;}.filter-btn.in-progress.active{background:var(--yellow);color:white;}.filter-btn.completed{border-color:var(--green);color:var(--green);}.filter-btn.completed.active{background:var(--green);color:white;}#owner-filter{max-width:300px;padding:0.6rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-family:'Montserrat',sans-serif;font-weight:600;cursor:pointer;}.timeline-section{background:white;border-radius:12px;margin-bottom:1.5rem;overflow:hidden;}.timeline-section-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;cursor:pointer;user-select:none;border-radius:12px 12px 0 0;}.timeline-section-header:hover{opacity:0.9;}.timeline-section-header.overdue{background:var(--red);color:white;}.timeline-section-header.in-progress{background:var(--yellow);color:white;}.timeline-section-header.completed{background:var(--green);color:white;}.timeline-section-title{display:flex;align-items:center;gap:0.75rem;font-size:1.1rem;font-weight:700;}.timeline-count{background:rgba(255,255,255,0.3);padding:0.25rem 0.75rem;border-radius:12px;font-size:0.9rem;}.timeline-section-toggle{font-size:1.5rem;transition:transform 0.3s;}.timeline-section-toggle.collapsed{transform:rotate(-90deg);}.timeline-section-body{display:none;}.timeline-section-body.expanded{display:block;}.timeline-table{width:100%;table-layout:auto;border-collapse:collapse;border-radius:0 !important;overflow:hidden;}.timeline-table thead{background:var(--altera-dark);color:white;border-radius:0 !important;}.timeline-table thead th{padding:1rem;text-align:left;font-weight:600;font-size:0.9rem;border-radius:0 !important;}.timeline-table thead th:nth-child(1){width:8%;}.timeline-table thead th:nth-child(2){width:10%;}.timeline-table thead th:nth-child(3){width:40%;}.timeline-table thead th:nth-child(4){width:27%;}.timeline-table thead th:nth-child(5){width:15%;min-width:150px;text-align:center;vertical-align:middle;}.timeline-table thead th:last-child{text-align:center;vertical-align:middle;}.timeline-table thead th:first-child{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important;}.timeline-table thead th:last-child{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important;}.timeline-table tbody tr{border-bottom:1px solid #e0e0e0;}.timeline-table tbody tr:hover{background:#f8f9fa;}.timeline-table tbody td:nth-child(5){text-align:center;vertical-align:middle;}.timeline-table tbody td:last-child{text-align:center;vertical-align:middle;}.timeline-table tbody td{padding:1rem;vertical-align:middle;}.timeline-table tbody td:nth-child(1){font-weight:600;color:var(--altera-dark);}.timeline-table tbody td:nth-child(2){color:var(--text-light);font-size:0.9rem;}.owner-badges{display:flex;flex-wrap:wrap;gap:0.5rem;}.owner-badge{background:var(--altera-blue);color:white;padding:0.4rem 0.8rem;border-radius:16px;font-size:0.85rem;font-weight:600;}@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(220,53,69,0.7);}50%{box-shadow:0 0 0 10px rgba(220,53,69,0);}100%{box-shadow:0 0 0 0 rgba(220,53,69,0);}}@keyframes highlightRow{0%,100%{background:transparent;}50%{background:rgba(255,193,7,0.3);}}.highlight-row{animation:highlightRow 2s ease-in-out;}.status-badge{padding:0.6rem 1.2rem;border-radius:20px;font-weight:600;font-size:0.85rem;text-align:center;white-space:nowrap;cursor:pointer;display:inline-block;min-width:100px;max-width:120px;box-sizing:border-box;}.status-badge.overdue{background:var(--red);color:white;animation:pulse 2s infinite;}.status-badge.in-progress{background:var(--yellow);color:white;}.status-badge.completed{background:var(--green);color:white;}.editable .status-badge.overdue{animation:pulse 2s infinite;}table{width:100%;background:white;border-radius:12px;overflow:hidden;}thead{background:var(--altera-purple);color:white;}thead th{padding:1rem;text-align:left;font-weight:600;}tbody tr{border-bottom:1px solid #e0e0e0;}tbody tr:hover{background:#f8f9fa;}tbody td{padding:1rem;}.notification{position:fixed;top:120px;right:20px;background:var(--green);color:white;padding:1rem 1.5rem;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,0.15);z-index:1000;animation:slideIn 0.3s;}@keyframes slideIn{from{transform:translateX(400px);opacity:0;}to{transform:translateX(0);opacity:1;}}.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);z-index:2000;justify-content:center;align-items:center;padding:1rem;}.modal-content{background:white;padding:2rem;border-radius:12px;max-width:900px;width:100%;max-height:80vh;overflow-y:auto;}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;}.modal-header h2{color:var(--altera-dark);margin:0;}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--text-light);}.modal-close:hover{color:var(--altera-dark);}.modal-body{margin-bottom:1.5rem;}.modal-footer{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem;flex-wrap:wrap;}.team-input-group{border:2px solid #e0e0e0;padding:1.5rem;border-radius:8px;margin-bottom:1.5rem;position:relative;}.team-input-group label{font-weight:700;color:var(--altera-dark);display:block;margin-bottom:0.75rem;}.team-input-group input{width:100%;padding:0.75rem;border:2px solid #e0e0e0;border-radius:8px;font-family:'Montserrat',sans-serif;font-size:0.95rem;}.team-input-group input:focus{outline:none;border-color:var(--altera-purple);}.team-input-group small{color:var(--text-light);display:block;margin-top:0.5rem;}.remove-team-btn{position:absolute;top:1rem;right:1rem;background:var(--red);color:white;border:none;padding:0.5rem 1rem;border-radius:6px;font-family:'Montserrat',sans-serif;font-weight:600;cursor:pointer;font-size:0.85rem;}.remove-team-btn:hover{background:#c82333;}.add-team-section{background:#f8f9fa;padding:1.5rem;border-radius:8px;margin-bottom:1.5rem;border:2px dashed var(--altera-purple);}.add-team-section h3{color:var(--altera-dark);margin-bottom:1rem;font-size:1rem;}.add-team-inputs{display:grid;grid-template-columns:1fr 2fr auto;gap:1rem;align-items:end;}.add-team-inputs input{padding:0.75rem;border:2px solid #e0e0e0;border-radius:8px;font-family:'Montserrat',sans-serif;font-size:0.95rem;}.add-team-inputs input:focus{outline:none;border-color:var(--altera-purple);}.btn-add{background:var(--altera-purple);color:white;border:none;padding:0.75rem 1.5rem;border-radius:8px;font-family:'Montserrat',sans-serif;font-weight:600;cursor:pointer;white-space:nowrap;}.btn-add:hover{background:var(--altera-dark);}.tools-container{background:white;padding:2rem;border-radius:12px;}.tools-container h2{color:var(--altera-dark);margin-bottom:1.5rem;font-size:1.5rem;}.tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;}.tool-card{background:#f8f9fa;padding:1.5rem;border-radius:12px;border-left:4px solid var(--altera-purple);cursor:pointer;transition:all 0.3s;}.tool-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px rgba(0,0,0,0.1);}.tool-card h3{color:var(--altera-dark);margin-bottom:0.75rem;font-size:1.1rem;}.tool-card p{color:var(--text-light);font-size:0.9rem;line-height:1.6;}@media (max-width:768px){body{padding-top:200px;}.header{padding:1rem;}.header-content{flex-direction:column;align-items:flex-start;gap:1rem;padding:0;}.header-left{flex-direction:column;align-items:flex-start;gap:0.75rem;width:100%;}.dashboard-logo{height:40px;}.header h1{font-size:1.2rem;}.header-actions{width:100%;flex-wrap:wrap;}.btn{padding:0.6rem 1rem;font-size:0.85rem;flex:1;min-width:120px;}.tabs{padding:0.75rem;top:150px;}.tab{padding:0.75rem 1rem;font-size:0.9rem;}.content{padding:1rem;}.stat-cards{grid-template-columns:repeat(2,1fr);gap:1rem;}.stat-card{padding:1rem;}.stat-number{font-size:2rem;}.stat-card h3{font-size:0.85rem;}.chart-grid{grid-template-columns:1fr;gap:1rem;}.summary-grid{grid-template-columns:1fr;gap:1rem;}.section-header{padding:1rem;}.section-header::after{left:1rem;right:1rem;}.section-header h2{font-size:1.2rem;}.section-body{padding:1rem;}.timeline-controls{flex-direction:column;}.search-box{min-width:100%;max-width:100%;}.filter-group{width:100%;}.filter-btn{flex:1;}#owner-filter{max-width:100%;width:100%;}.timeline-table{font-size:0.85rem;}.timeline-table thead th,.timeline-table tbody td{padding:0.5rem;}.timeline-table thead th:nth-child(1){width:15%;}.timeline-table thead th:nth-child(2){width:20%;}.timeline-table thead th:nth-child(3){width:35%;}.timeline-table thead th:nth-child(4){display:none;}.timeline-table tbody td:nth-child(4){display:none;}.timeline-table thead th:nth-child(5){width:30%;text-align:center;}.timeline-table tbody td:nth-child(5){width:30%;text-align:center;}.key-date-item{flex-direction:column;gap:0.75rem;}.key-date-badge{min-width:auto;width:100%;}.topic-header{padding:1rem;}.topic-body{padding:0 1rem 1rem 1rem;}.modal-content{padding:1.5rem;}.add-team-inputs{grid-template-columns:1fr;}.btn-add{width:100%;}.tools-grid{grid-template-columns:1fr;}.timeline-header{padding:1rem;}.timeline-title{font-size:1.2rem;margin-bottom:1rem;}.meeting-selector select{max-width:100%;}}@media (max-width:480px){.stat-cards{grid-template-columns:1fr;}.header h1{font-size:1rem;}.tab{font-size:0.85rem;padding:0.6rem 0.8rem;}}.timeline-left-sidebar{position:fixed;left:2rem;top:50%;transform:translateY(-50%);display:none;flex-direction:column;gap:1rem;z-index:1000;padding:1rem;background:white;border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,0.15);}body.timeline-visible .timeline-left-sidebar{display:flex;}.timeline-left-sidebar .btn{width:160px;white-space:nowrap;}@media (max-width:1024px){.timeline-left-sidebar{display:none !important;}}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-bottom:2rem}.kpi-card{background:white;border-radius:16px;padding:2rem;display:flex;flex-direction:column;align-items:center;text-align:center;gap:1.5rem;box-shadow:0 4px 12px rgba(0,0,0,0.08);transition:all 0.3s ease;border-left:4px solid transparent}.kpi-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,0.12)}.kpi-completion{border-left-color:#28A745}.kpi-top{border-left-color:#667eea}.kpi-total{border-left-color:#5B9BD5}.kpi-overdue{border-left-color:#DC3545}.kpi-ontime{border-left-color:#17A2B8}.kpi-avgdays{border-left-color:#FFC107}.kpi-oldest{border-left-color:#E83E8C}.kpi-icon{font-size:3rem;line-height:1;flex-shrink:0}.kpi-content{flex:1;min-width:0;text-align:center}.kpi-label{font-size:0.875rem;color:#6C757D;font-weight:600;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:0.5rem}.kpi-value{font-size:2.5rem;font-weight:700;color:#2C3E50;line-height:1.2;margin-bottom:0.25rem}.kpi-subtitle{font-size:0.875rem;color:#6C757D;min-height:2.5rem;display:flex;align-items:center;justify-content:center}.viz-placeholder{background:white;border-radius:16px;padding:2rem;box-shadow:0 4px 12px rgba(0,0,0,0.08)}.owner-badge-with-photo{display:inline-flex;align-items:center;gap:0.5rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:white;padding:0.4rem 0.75rem 0.4rem 0.4rem;border-radius:20px;font-size:0.85rem;font-weight:500;margin-right:0.5rem;margin-bottom:0.25rem;box-shadow:0 2px 4px rgba(102,126,234,0.2);transition:all 0.2s}.owner-badge-with-photo:hover{transform:translateY(-1px);box-shadow:0 4px 8px rgba(102,126,234,0.3)}.owner-photo{width:24px;height:24px;border-radius:50%;object-fit:cover;border:2px solid white;flex-shrink:0}.owner-name{white-space:nowrap}.chart-container{background:white;border-radius:16px;padding:2rem;box-shadow:0 2px 8px rgba(0,0,0,0.08);margin-bottom:2rem;min-height:350px;position:relative;}.chart-title{font-size:1.1rem;font-weight:700;color:var(--altera-dark);margin-bottom:1.5rem;display:flex;align-items:center;gap:0.5rem}.bar-chart{display:flex;flex-direction:column;gap:1rem}.bar-row{display:grid;grid-template-columns:200px 1fr 80px;gap:1rem;align-items:center}.bar-label{display:flex;flex-direction:column;gap:0.25rem}.bar-owner-name{font-weight:600;color:#2C3E50;font-size:0.95rem}.bar-stats{font-size:0.85rem;color:#6C757D}.bar-track{height:36px;background:#E9ECEF;border-radius:8px;overflow:hidden;position:relative}.bar-fill{height:100%;border-radius:8px;transition:width 0.8s ease;display:flex;align-items:center;justify-content:flex-end;padding-right:0.75rem;color:white;font-weight:600;font-size:0.9rem;box-shadow:inset 0 1px 3px rgba(0,0,0,0.1)}.bar-value{font-size:1.1rem;font-weight:700;text-align:right}.rate-high{color:#28A745}.rate-medium{color:#FFC107}.rate-low{color:#DC3545}@media(max-width:768px){.kpi-grid{grid-template-columns:repeat(4,1fr);gap:0.5rem}.bar-label{flex-direction:row;justify-content:space-between}.bar-value{text-align:left}}.meeting-selector-sticky{position:sticky;top:0;z-index:100;background:white;padding:1.5rem;margin:-1rem -1rem 2rem;border-radius:10px;box-shadow:0 4px 12px rgba(0,0,0,0.1);}.timeline-sticky{position:sticky;top:0;z-index:100;background:white;padding:1.5rem;margin-bottom:1.5rem;border-radius:10px;box-shadow:0 4px 12px rgba(0,0,0,0.1);}.sidebar-nav{position:fixed;left:calc((100vw - 1200px) / 2 - 260px);top:120px;width:240px;background:white;padding:12px;border-radius:20px;box-shadow:0 10px 40px rgba(57,51,146,0.15),0 4px 12px rgba(0,0,0,0.08);border:1px solid rgba(57,51,146,0.1);z-index:999;}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 16px;margin:4px 0;border:none;background:transparent !important;border-radius:14px;font-family:'Montserrat',sans-serif;font-size:14px;font-weight:500;color:#2C3E50 !important;cursor:pointer;transition:all 0.25s;width:100%;text-align:left;}.nav-item:hover:not(.active){background:#F8F9FA !important;transform:translateX(6px);}.nav-item.active{background:#393392 !important;color:white !important;box-shadow:0 6px 20px rgba(57,51,146,0.35) !important;transform:translateX(8px);}.nav-icon{font-size:20px;min-width:24px;text-align:center;}.nav-text{flex:1;font-weight:600;}@media (max-width:1600px){.sidebar-nav{left:20px;}}@media (max-width:1024px){.sidebar-nav{width:56px;left:12px;padding:8px;}.nav-item{padding:14px;justify-content:center;}.nav-text{display:none;}}.chart-container canvas{max-width:100%;display:block;}.bar-chart{min-height:400px;margin-bottom:2rem;}.btn-info{background:linear-gradient(135deg,#17a2b8,#138496);color:white;border:none;padding:0.6rem 1.2rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all 0.3s;}
.btn-info:hover{background:linear-gradient(135deg,#138496,#117a8b);transform:translateY(-2px);box-shadow:0 4px 8px rgba(0,0,0,0.15);}
.meeting-summaries-sticky-header{position:-webkit-sticky;position:sticky;top:0px;z-index:90;background:white;padding:0.75rem 1.5rem;box-shadow:0 2px 4px rgba(0,0,0,0.1);border-bottom:2px solid #e0e0e0;margin:0;}
.meeting-summaries-sticky-header .header-content{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;}
.meeting-summaries-sticky-header select{flex:1;min-width:200px;max-width:400px;padding:0.6rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-family:'Montserrat',sans-serif;font-weight:600;font-size:0.95rem;}
.btn-info{background:linear-gradient(135deg,#17a2b8,#138496);color:white;border:none;padding:0.6rem 1.2rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all 0.3s;}
.btn-info:hover{background:linear-gradient(135deg,#138496,#117a8b);transform:translateY(-2px);box-shadow:0 4px 8px rgba(0,0,0,0.15);}
.meeting-summaries-sticky-header{position:fixed;top:115px;left:0;right:0;z-index:90;background:white;padding:0.75rem 0;box-shadow:0 2px 4px rgba(0,0,0,0.1);border-bottom:2px solid #e0e0e0;}
.meeting-summaries-sticky-header .header-content{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;max-width:1600px;margin:0 auto;padding:0 30px;}
.meeting-summaries-sticky-header select{flex:1;min-width:200px;max-width:400px;padding:0.6rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-family:'Montserrat',sans-serif;font-weight:600;font-size:0.95rem;}
#meeting-summaries{padding-top:80px!important;}
#meeting-summaries > div:first-of-type{margin-top:0;}
.action-log-fixed-header{position:fixed;top:115px;left:0;right:0;z-index:90;background:white;padding:0.35rem 0;box-shadow:0 2px 4px rgba(0,0,0,0.1);border-bottom:2px solid #e0e0e0;}
.action-log-fixed-header .timeline-header{max-width:1600px;margin:0 auto;padding:0 30px;}
#timeline{padding-top:0!important;}
#timeline #timeline-sections-container{padding-top:0!important;}
.completion-compact-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;padding:16px 0;}
.completion-card{background:linear-gradient(135deg,#f8f9fa 0%,#ffffff 100%);border:1px solid #e0e0e0;border-radius:12px;padding:16px;transition:all 0.3s cubic-bezier(0.4,0,0.2,1);position:relative;overflow:hidden;}
.completion-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,0.12);border-color:#2b2d6a;}
.completion-card::before{content:'';position:absolute;top:0;left:0;width:4px;height:100%;background:var(--card-color);border-radius:12px 0 0 12px;}
.completion-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;}
.completion-owner-name{font-weight:600;font-size:14px;color:#2C3E50;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:8px;}
.completion-badge{display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:28px;padding:0 12px;border-radius:14px;font-weight:700;font-size:13px;background:var(--badge-bg);color:var(--badge-color);box-shadow:0 2px 6px var(--badge-shadow);}
.completion-progress-bar{width:100%;height:8px;background:#f0f0f0;border-radius:4px;overflow:hidden;position:relative;}
.completion-progress-fill{height:100%;background:var(--card-color);border-radius:4px;transition:width 0.6s cubic-bezier(0.4,0,0.2,1);}
.completion-stats{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:12px;color:#6C757D;}
.completion-count{font-weight:500;}
.completion-card.high{--card-color:#28A745;--badge-bg:#D4EDDA;--badge-color:#155724;--badge-shadow:rgba(40,167,69,0.2);}
.completion-card.medium{--card-color:#FFC107;--badge-bg:#FFF3CD;--badge-color:#856404;--badge-shadow:rgba(255,193,7,0.2);}
.completion-card.low{--card-color:#DC3545;--badge-bg:#F8D7DA;--badge-color:#721C24;--badge-shadow:rgba(220,53,69,0.2);}
@media(max-width:900px){.completion-compact-chart{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;}.completion-card{padding:12px;}.completion-owner-name{font-size:13px;}.completion-badge{min-width:48px;height:26px;font-size:12px;}}
@media(max-width:600px){.completion-compact-chart{grid-template-columns:1fr;}}
.sidebar:not(.modern-sidebar){display:none!important;visibility:hidden!important;opacity:0!important;width:0!important;height:0!important;overflow:hidden!important;position:absolute!important;left:-9999px!important;}
.floating-nav{display:none!important;visibility:hidden!important;}
[class*="sidebar"]:not(.modern-sidebar):not(.sidebar-header):not(.sidebar-logo):not(.sidebar-toggle):not(.sidebar-nav){display:none!important;}
*{box-sizing:border-box;}
body{overflow-x:hidden;margin:0;padding:0;}
html{overflow-x:hidden;}
.app-container{min-height:100vh;position:relative;}
.modern-sidebar{position:fixed!important;left:0!important;top:0!important;height:100vh;width:200px;background:#2b2d6a;color:white;z-index:1000;display:flex!important;flex-direction:column;box-shadow:2px 0 8px rgba(0,0,0,0.1);overflow:hidden;transition:width 0.3s ease;}
.modern-sidebar.collapsed{width:60px;}
.sidebar-header{padding:15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,0.1);min-height:50px;}
.sidebar-logo{font-weight:700;font-size:15px;white-space:nowrap;transition:opacity 0.3s;}
.modern-sidebar.collapsed .sidebar-logo{opacity:0;width:0;overflow:hidden;}
.sidebar-toggle{background:none;border:none;color:white;cursor:pointer;font-size:18px;padding:6px 10px;border-radius:4px;transition:background 0.2s;}
.sidebar-toggle:hover{background:rgba(255,255,255,0.1);}
.sidebar-nav{flex:1;padding:10px 0;overflow-y:auto;overflow-x:hidden;}
.nav-item{display:flex;align-items:center;padding:10px 15px;color:rgba(255,255,255,0.8);text-decoration:none;transition:all 0.2s;cursor:pointer;white-space:nowrap;border:none;background:none;width:100%;text-align:left;font-family:'Montserrat',sans-serif;font-size:13px;}
.nav-item:hover{background:rgba(255,255,255,0.1);color:white;}
.nav-item.active{background:rgba(255,255,255,0.15);color:white;border-left:3px solid #17a2b8;}
.nav-icon{display:flex;align-items:center;justify-content:center;min-width:24px;margin-right:10px;}
.nav-icon svg{display:block;width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.modern-sidebar.collapsed .nav-icon{margin-right:0;}
.nav-text{transition:opacity 0.3s;}
.modern-sidebar.collapsed .nav-text{opacity:0;width:0;overflow:hidden;}
.main-content{margin-left:200px!important;min-height:100vh;overflow-x:hidden;transition:margin-left 0.3s ease;}
.main-content.expanded{margin-left:60px!important;}
.content-wrapper{padding:20px 40px;padding-top:115px;min-width:0;}
.meeting-summaries-sticky-header{position:fixed;top:115px;left:400px;right:40px;z-index:95;background:white;padding:0.75rem 1.5rem;box-shadow:0 2px 4px rgba(0,0,0,0.1);border-bottom:2px solid #e0e0e0;transition:left 0.3s ease;}
.main-content.expanded .meeting-summaries-sticky-header{left:60px;}
.action-log-fixed-header{position:fixed;top:115px;left:400px;right:40px;z-index:95;background:white;padding:0.75rem 1.5rem;box-shadow:0 2px 4px rgba(0,0,0,0.1);border-bottom:2px solid #e0e0e0;transition:left 0.3s ease;}
.main-content.expanded .action-log-fixed-header{left:60px;}
.action-log-header-flex{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;}
.timeline-title{margin:0;white-space:nowrap;}
#action-log-status-bar{display:flex;align-items:center;justify-content:center;flex:1;gap:1rem;min-width:300px;}
.btn-filter-panel{flex-shrink:0;}
#meeting-summaries{padding-top:80px;}
#timeline #timeline-sections-container{padding-top:0;}
.tab-content{padding-top:20px;min-width:0;overflow-x:hidden;}
@media(max-width:1200px){#action-log-status-bar{gap:0.75rem;min-width:250px;font-size:0.9rem;}}
@media(max-width:900px){.modern-sidebar{width:60px;}.modern-sidebar .sidebar-logo{opacity:0;width:0;}.modern-sidebar .nav-text{opacity:0;width:0;}.main-content{margin-left:60px!important;}.content-wrapper{padding:20px;}.meeting-summaries-sticky-header,.action-log-fixed-header{left:60px;right:20px;}#action-log-status-bar{gap:0.5rem;min-width:200px;flex-wrap:wrap;}.action-log-header-flex{gap:1rem;}}
@media(max-width:600px){.modern-sidebar{width:50px;}.nav-item{padding:8px;}.nav-icon svg{width:18px;height:18px;}.main-content{margin-left:50px!important;}.content-wrapper{padding:15px;}.meeting-summaries-sticky-header,.action-log-fixed-header{left:50px;right:15px;padding:0.5rem 1rem;}#action-log-status-bar{min-width:auto;width:100%;justify-content:flex-start;}.action-log-header-flex{gap:0.5rem;}.timeline-title{font-size:1rem;}}
.delete-btn{background:transparent;border:none;color:#6c757d;cursor:pointer;padding:8px;border-radius:6px;transition:all .2s;display:inline-flex;align-items:center;justify-content:center}
.delete-btn:hover{background:rgba(217,63,76,.1);color:#D93F4C;transform:scale(1.1)}
.delete-btn:active{transform:scale(.95)}
.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);backdrop-filter:blur(4px);z-index:1000;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}
.modal.show{display:flex;opacity:1}
.modal-content{background:#fff;border-radius:16px;padding:0;max-width:480px;width:90%;box-shadow:0 20px 60px rgba(0,0,0,.3);animation:modalSlideIn .3s forwards}
@keyframes modalSlideIn{from{transform:scale(.9) translateY(-20px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}
.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 24px 16px;border-bottom:1px solid #dee2e6}
.modal-header h3{font-size:20px;font-weight:700;margin:0}
.modal-close{background:none;border:none;font-size:28px;color:#6c757d;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s}
.modal-close:hover{background:#f8f9fa;color:#212529}
.modal-body{padding:24px;text-align:center}
.modal-icon-warning{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;background:rgba(217,63,76,.1);border-radius:50%;margin-bottom:16px}
.modal-icon-warning svg{color:#D93F4C}
.modal-body p{margin:12px 0;font-size:15px;line-height:1.6}
.delete-action-text{font-weight:700;color:#00568C;padding:12px;background:#f8f9fa;border-radius:8px;margin:16px 0!important}
.warning-text{font-size:13px!important;color:#6c757d!important;font-style:italic}
.modal-footer{display:flex;gap:12px;padding:16px 24px 24px;justify-content:flex-end}
.btn-secondary,.btn-danger{padding:12px 24px;border:none;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s;font-family:Montserrat,sans-serif}
.btn-secondary{background:#f8f9fa;color:#212529}
.btn-secondary:hover{background:#dee2e6}
.btn-danger{background:#D93F4C;color:#fff}
.btn-danger:hover{background:#c23545;transform:translateY(-1px);box-shadow:0 4px 12px rgba(217,63,76,.3)}
.toast{position:fixed;bottom:24px;right:24px;background:#fff;padding:16px 20px;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.15);display:flex;align-items:center;gap:12px;min-width:300px;max-width:500px;z-index:1001;transform:translateY(100px);opacity:0;transition:all .3s}
.toast.show{transform:translateY(0);opacity:1}
.toast-content{display:flex;align-items:center;gap:12px;width:100%}
.toast-icon{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;background:#28a745;color:#fff}
.toast-message{flex:1;font-size:14px;font-weight:600}
.toast-undo-btn{background:#00568C;color:#fff;border:none;padding:6px 16px;border-radius:6px;font-weight:600;font-size:13px;cursor:pointer;transition:all .2s;font-family:Montserrat,sans-serif}
.toast-undo-btn:hover{background:#004a75}
.bar-container{display:block!important;padding:1.5rem!important;align-items:stretch!important;justify-content:stretch!important;background:linear-gradient(135deg,#ffffff 0%,#f8f9fa 100%)}
.lollipop-chart{display:flex;flex-direction:column;gap:0.75rem;padding:0;min-height:400px;width:100%}
.lollipop-row{display:grid;grid-template-columns:240px 1fr 120px;gap:2.5rem;align-items:center;padding:0.75rem 1.5rem;border-radius:16px;transition:all 0.4s cubic-bezier(0.34,1.56,0.64,1);opacity:0;animation:slideInLeft 0.6s ease-out forwards;position:relative}
.lollipop-row::before{content:'';position:absolute;inset:0;border-radius:16px;background:linear-gradient(135deg,rgba(102,126,234,0.03),rgba(118,75,162,0.03));opacity:0;transition:opacity 0.4s ease;pointer-events:none}
.lollipop-row:hover{transform:translateX(12px) scale(1.01)}
.lollipop-row:hover::before{opacity:1}
.lollipop-label{display:flex;align-items:flex-start;gap:0.75rem;min-width:200px;max-width:240px}
.topic-name{font-size:1.05rem;font-weight:700;color:#1a202c;white-space:normal;line-height:1.3;word-wrap:break-word;flex:1;letter-spacing:-0.01em}
.trend-indicator{font-size:1.1rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;border-radius:12px;transition:all 0.4s cubic-bezier(0.34,1.56,0.64,1);flex-shrink:0;margin-top:0;box-shadow:0 2px 8px rgba(0,0,0,0.08)}
.trend-indicator.trend-up{color:#10b981;background:linear-gradient(135deg,#d1fae5,#a7f3d0);border:2px solid rgba(16,185,129,0.2)}
.trend-indicator.trend-down{color:#ef4444;background:linear-gradient(135deg,#fee2e2,#fecaca);border:2px solid rgba(239,68,68,0.2)}
.trend-indicator.trend-stable{color:#f59e0b;background:linear-gradient(135deg,#fef3c7,#fde68a);border:2px solid rgba(245,158,11,0.2)}
.lollipop-row:hover .trend-indicator{transform:scale(1.2) rotate(10deg);box-shadow:0 4px 16px rgba(0,0,0,0.15)}
.lollipop-track{position:relative;height:56px;display:flex;align-items:center;width:100%;min-width:0}
.lollipop-line{position:relative;height:18px;border-radius:24px;transition:all 0.8s cubic-bezier(0.4,0,0.2,1);display:flex;align-items:center;justify-content:flex-end;box-shadow:0 4px 16px rgba(0,0,0,0.08),inset 0 1px 2px rgba(255,255,255,0.8)}
.lollipop-dot{position:absolute;right:0;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:5px solid white;transition:all 0.4s cubic-bezier(0.34,1.56,0.64,1);display:flex;align-items:center;justify-content:center;z-index:2;box-shadow:0 4px 20px rgba(0,0,0,0.15),0 0 0 0 rgba(102,126,234,0.4)}
.lollipop-row:hover .lollipop-dot{transform:translateY(-50%) scale(1.25);border-width:6px;box-shadow:0 8px 32px rgba(0,0,0,0.25),0 0 0 8px rgba(102,126,234,0.15)!important;animation:pulse-ring 1.5s ease-out infinite}
.dot-value{position:absolute;top:-40px;font-size:0.85rem;font-weight:800;color:#1a202c;background:linear-gradient(135deg,#ffffff,#f8f9fa);padding:6px 12px;border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,0.15);white-space:nowrap;opacity:0;transition:all 0.3s cubic-bezier(0.34,1.56,0.64,1);border:2px solid rgba(102,126,234,0.1)}
.lollipop-row:hover .dot-value{opacity:1;transform:translateY(-4px)}
.subtopics-popup{position:absolute;bottom:50px;left:50%;transform:translateX(-50%);min-width:200px;background:linear-gradient(135deg,#ffffff,#f8f9fa);padding:12px 16px;border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,0.2);opacity:0;transition:all 0.4s cubic-bezier(0.34,1.56,0.64,1);border:2px solid rgba(102,126,234,0.15);pointer-events:none;z-index:10}
.lollipop-row:hover .subtopics-popup{opacity:1;transform:translateX(-50%) translateY(-8px)}
.subtopics-title{font-size:0.75rem;font-weight:800;color:#667eea;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:8px;padding-bottom:6px;border-bottom:2px solid rgba(102,126,234,0.2)}
.subtopic-item{font-size:0.85rem;font-weight:600;color:#1a202c;padding:4px 0;display:flex;justify-content:space-between;align-items:center}
.subtopic-count{font-size:0.75rem;font-weight:700;color:#667eea;margin-left:8px}
.lollipop-value{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:100px;text-align:center}
.mention-count{font-size:2rem;font-weight:800;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1;letter-spacing:-0.02em}
.mention-label{font-size:0.8rem;color:#6C757D;font-weight:600;margin-top:4px;text-transform:uppercase;letter-spacing:0.05em}
@keyframes slideInLeft{from{opacity:0;transform:translateX(-40px) scale(0.95)}to{opacity:1;transform:translateX(0) scale(1)}}
@keyframes pulse-ring{0%{box-shadow:0 8px 32px rgba(0,0,0,0.25),0 0 0 0 rgba(102,126,234,0.4)}50%{box-shadow:0 8px 32px rgba(0,0,0,0.25),0 0 0 12px rgba(102,126,234,0)}100%{box-shadow:0 8px 32px rgba(0,0,0,0.25),0 0 0 0 rgba(102,126,234,0)}}
.lollipop-row:nth-child(1){animation-delay:0.05s}
.lollipop-row:nth-child(2){animation-delay:0.1s}
.lollipop-row:nth-child(3){animation-delay:0.15s}
.lollipop-row:nth-child(4){animation-delay:0.2s}
.lollipop-row:nth-child(5){animation-delay:0.25s}
.lollipop-row:nth-child(6){animation-delay:0.3s}
.lollipop-row:nth-child(7){animation-delay:0.35s}
.lollipop-row:nth-child(8){animation-delay:0.4s}
.lollipop-row:nth-child(9){animation-delay:0.45s}
.lollipop-row:nth-child(10){animation-delay:0.5s}
@media (max-width:768px){.bar-container{padding:1.25rem!important}.lollipop-chart{gap:0.5rem}.lollipop-row{grid-template-columns:180px 1fr 90px;gap:1.5rem;padding:0.65rem 1rem}.lollipop-label{min-width:140px;max-width:180px}.topic-name{font-size:0.95rem;line-height:1.2}.trend-indicator{width:28px;height:28px;font-size:1rem}.lollipop-track{height:48px}.lollipop-line{height:14px}.lollipop-dot{width:36px;height:36px}.mention-count{font-size:1.6rem}.mention-label{font-size:0.75rem}.subtopics-popup{min-width:160px;padding:10px 12px;font-size:0.8rem}}
@media (max-width:480px){.bar-container{padding:1rem!important}.lollipop-chart{gap:0.5rem}.lollipop-row{grid-template-columns:140px 1fr;gap:1rem;padding:0.5rem 0.75rem}.lollipop-label{flex-direction:row;align-items:center;gap:0.5rem;min-width:110px;max-width:140px}.topic-name{font-size:0.9rem;line-height:1.2}.trend-indicator{width:26px;height:26px}.lollipop-value{display:none}.lollipop-track{height:40px}.lollipop-line{height:12px}.lollipop-dot{width:32px;height:32px}.subtopics-popup{min-width:140px;padding:8px 10px;left:auto;right:0;transform:none}.lollipop-row:hover .subtopics-popup{transform:translateY(-8px)}}

/* ===== COMPREHENSIVE MOBILE RESPONSIVENESS ENHANCEMENTS ===== */

/* Table overflow fix for mobile */
.timeline-section-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Ensure viewport meta tag behavior */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Touch-friendly minimum target sizes (44x44px) */
.btn, .filter-btn, .tab, .nav-item, .status-badge, .action-id {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Medium screens - optimize for smaller desktops and landscape tablets */
@media (max-width: 1024px) {
    /* ===== TRENDS & ANALYTICS MEDIUM SCREEN RESPONSIVE ===== */

    /* Slightly reduce stat card padding on medium screens */
    .stat-card {
        padding: 1.35rem;
    }

    .chart-container {
        padding: 1.85rem;
    }

    /* Reduce trends section padding slightly */
    .trends-section {
        padding: 1.85rem;
    }

    /* ===== END TRENDS & ANALYTICS ===== */
}

/* Intermediate breakpoint for larger tablets and small desktops */
@media (max-width: 900px) {
    /* ===== TRENDS & ANALYTICS INTERMEDIATE RESPONSIVE ===== */

    /* Adjust stat cards for larger tablets - maintain 4 columns but reduce gaps */
    .stat-cards {
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-card h3 {
        font-size: 0.85rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    /* Keep charts side-by-side but reduce spacing */
    .chart-grid {
        gap: 1rem;
    }

    .chart-container {
        padding: 1.75rem;
    }

    /* ===== ACTION PERFORMANCE SECTION RESPONSIVE ===== */

    /* Keep KPI cards at 3 columns but reduce spacing */
    .kpi-grid {
        gap: 1rem !important;
    }

    .kpi-card {
        padding: 1.5rem;
    }

    .kpi-value {
        font-size: 2.25rem;
    }

    /* ===== END ACTION PERFORMANCE ===== */

    /* ===== END TRENDS & ANALYTICS ===== */
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Stack summary grid on tablets */
    .summary-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    /* Better modal sizing */
    .modal-content {
        max-width: 95%;
        padding: 1.25rem;
        max-height: 90vh;
    }

    /* ===== TRENDS & ANALYTICS RESPONSIVE FIXES ===== */

    /* Reduce trends section padding on tablets */
    .trends-section {
        padding: 1.5rem;
    }

    /* Stack stat cards to 2 columns on tablets */
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Stack charts vertically on tablets */
    .chart-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Improve chart container spacing */
    .chart-container {
        padding: 1.5rem;
        min-height: 300px;
    }

    /* Key dates section adjustment */
    .key-dates-section {
        padding: 1.5rem;
    }

    /* Better stat card sizing */
    .stat-card h3 {
        font-size: 0.85rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* ===== ACTION PERFORMANCE SECTION RESPONSIVE ===== */

    /* Stack KPI cards to 2 columns on tablets */
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .kpi-card {
        padding: 1.5rem;
    }

    .kpi-value {
        font-size: 2rem;
    }

    .kpi-label {
        font-size: 0.8rem;
    }

    .kpi-subtitle {
        font-size: 0.8rem;
    }

    /* ===== END ACTION PERFORMANCE ===== */

    /* ===== NEW ANALYTICS SECTIONS RESPONSIVE ===== */

    /* At-Risk Actions - simplify grid on tablets */
    #atRiskActionsContainer > div > div {
        grid-template-columns: auto 1fr !important;
        gap: 0.75rem !important;
    }

    #atRiskActionsContainer > div > div > div:last-child {
        grid-column: 1 / -1;
        text-align: left !important;
        margin-top: 0.5rem;
    }

    /* Meeting Effectiveness - stack summary cards */
    #avgActionsPerMeeting, #avgClosureRate {
        font-size: 1.75rem !important;
    }

    /* ===== END NEW ANALYTICS ===== */

    /* ===== END TRENDS & ANALYTICS ===== */

    /* Better section header */
    .section-header {
        padding: 1.25rem 1.5rem;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    /* Meeting selector improvements */
    .meeting-selector {
        padding: 1.25rem;
    }

    .meeting-selector select {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
    }

    /* Topic cards */
    .topic-header {
        gap: 0.75rem;
    }

    .topic-title {
        font-size: 1.05rem;
    }

    /* Action items */
    .action-item {
        flex-wrap: wrap;
    }

    .action-description {
        word-break: break-word;
    }
}

@media (max-width: 600px) {
    /* Further reduce padding on small screens */
    .content {
        padding: 0.75rem;
    }

    /* ===== TRENDS & ANALYTICS RESPONSIVE FIXES ===== */

    /* Further reduce trends section padding */
    .trends-section {
        padding: 1.25rem;
    }

    .trends-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }

    /* Stack stat cards to single column on small screens */
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    /* Compact stat cards */
    .stat-card {
        padding: 0.875rem;
    }

    .stat-card h3 {
        font-size: 0.8rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    /* Smaller chart containers */
    .chart-container {
        padding: 1.25rem;
        min-height: 250px;
    }

    .chart-container h3 {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }

    /* Key dates section */
    .key-dates-section {
        padding: 1.25rem;
    }

    .key-dates-header h3 {
        font-size: 1rem;
    }

    /* Better key dates on mobile */
    .key-date-item {
        padding: 0.875rem;
    }

    .key-date-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }

    /* Topics container */
    .topics-container {
        padding: 1.25rem;
    }

    .topics-header h3 {
        font-size: 1rem;
    }

    /* ===== ACTION PERFORMANCE SECTION RESPONSIVE ===== */

    /* KPI cards maintain 2 columns on small screens */
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.875rem !important;
    }

    .kpi-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }

    .kpi-icon {
        font-size: 2.5rem;
    }

    .kpi-value {
        font-size: 1.75rem;
    }

    .kpi-label {
        font-size: 0.75rem;
    }

    .kpi-subtitle {
        font-size: 0.75rem;
    }

    /* ===== END ACTION PERFORMANCE ===== */

    /* ===== NEW ANALYTICS SECTIONS RESPONSIVE ===== */

    /* At-Risk Actions - stack completely on small screens */
    #atRiskActionsContainer > div > div {
        grid-template-columns: 1fr !important;
        padding: 0.875rem !important;
    }

    #atRiskActionsContainer > div > div > div:first-child {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
        padding: 0.4rem;
        font-size: 1.1rem !important;
    }

    /* Meeting Effectiveness - stack summary cards */
    #avgActionsPerMeeting, #avgClosureRate {
        font-size: 1.5rem !important;
    }

    /* ===== END NEW ANALYTICS ===== */

    /* ===== END TRENDS & ANALYTICS ===== */

    /* Compact timeline controls */
    .timeline-controls {
        gap: 0.75rem;
    }

    .search-box {
        min-width: 100%;
    }

    .search-box input {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Stack filter buttons vertically */
    .filter-group {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }

    /* Compact topic cards */
    .topic-header {
        padding: 1.25rem;
    }

    .topic-body {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }

    /* Better modal on small screens */
    .modal {
        padding: 0.5rem;
    }

    .modal-content {
        padding: 1rem;
        border-radius: 8px;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    /* Team management inputs */
    .team-input-group {
        padding: 1.25rem;
    }

    .remove-team-btn {
        position: static;
        width: 100%;
        margin-top: 0.75rem;
    }
}

@media (max-width: 480px) {
    /* Very small screens optimizations */
    body {
        padding-top: 180px;
    }

    /* Header adjustments */
    .header {
        padding: 0.875rem 0.5rem;
    }

    .dashboard-logo {
        height: 36px;
    }

    .header h1 {
        font-size: 1.1rem;
    }

    /* Tabs positioning */
    .tabs {
        top: 130px;
        padding: 0.5rem;
    }

    /* Compact buttons */
    .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.825rem;
        min-width: 100px;
    }

    /* ===== TRENDS & ANALYTICS RESPONSIVE FIXES ===== */

    /* Minimal padding for trends section */
    .trends-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .trends-section h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    /* Single column stat cards */
    .stat-cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .stat-card {
        padding: 0.75rem;
    }

    .stat-card h3 {
        font-size: 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* Compact chart containers */
    .chart-container {
        padding: 1rem;
        min-height: 220px;
        margin-bottom: 1rem;
    }

    .chart-container h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Key dates section */
    .key-dates-section {
        padding: 1rem;
    }

    .key-dates-header h3 {
        font-size: 0.95rem;
    }

    .key-date-item {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .key-date-badge {
        width: 100%;
        text-align: center;
    }

    /* Topics container */
    .topics-container {
        padding: 1rem;
    }

    .topics-header h3 {
        font-size: 0.95rem;
    }

    /* ===== ACTION PERFORMANCE SECTION RESPONSIVE ===== */

    /* Single column KPI cards on very small screens */
    .kpi-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .kpi-card {
        padding: 1rem;
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }

    .kpi-icon {
        font-size: 2rem;
    }

    .kpi-icon img {
        width: 28px;
        height: 28px;
    }

    .kpi-value {
        font-size: 1.5rem;
    }

    .kpi-label {
        font-size: 0.7rem;
    }

    .kpi-subtitle {
        font-size: 0.7rem;
    }

    /* ===== END ACTION PERFORMANCE ===== */

    /* ===== NEW ANALYTICS SECTIONS RESPONSIVE ===== */

    /* Meeting Effectiveness - smaller text on very small screens */
    #avgActionsPerMeeting, #avgClosureRate {
        font-size: 1.25rem !important;
    }

    /* At-Risk Actions - compact layout */
    #atRiskActionsContainer > div {
        gap: 0.5rem !important;
    }

    #atRiskActionsContainer > div > div {
        padding: 0.75rem !important;
    }

    /* ===== END NEW ANALYTICS ===== */

    /* ===== END TRENDS & ANALYTICS ===== */

    /* Timeline table font size */
    .timeline-table {
        font-size: 0.8rem;
    }
    
    .timeline-table thead th,
    .timeline-table tbody td {
        padding: 0.4rem 0.3rem;
    }
    
    /* Hide less critical table columns */
    .timeline-table thead th:nth-child(2),
    .timeline-table tbody td:nth-child(2) {
        display: none;
    }
    
    /* Compact section headers */
    .section-header {
        padding: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.15rem;
    }
    
    .section-body {
        padding: 0.875rem;
    }
    
    /* Smaller topic numbers */
    .topic-number {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    /* Compact attendee badges */
    .attendee-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .attendee-initials {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }
    
    /* Owner badges */
    .owner-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Status badges */
    .status-badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.875rem;
        min-width: 80px;
    }
}

@media (max-width: 360px) {
    /* Extra small screens */
    body {
        padding-top: 160px;
    }
    
    .header h1 {
        font-size: 1rem;
    }
    
    .dashboard-logo {
        height: 32px;
    }
    
    .tabs {
        top: 110px;
    }
    
    .btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-card h3 {
        font-size: 0.75rem;
    }
}

/* Landscape orientation optimizations */
@media (max-height: 600px) and (orientation: landscape) {
    body {
        padding-top: 120px;
    }
    
    .header {
        padding: 0.75rem 0.5rem;
    }
    
    .tabs {
        padding: 0.5rem;
        top: 65px;
    }
    
    .stat-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .chart-container {
        min-height: 200px;
        padding: 1.25rem;
    }
}

/* Print styles */
@media print {
    .header, .tabs, .sidebar-nav, .btn, .filter-group, .modal {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .content {
        max-width: 100%;
        padding: 0;
    }
    
    .timeline-table {
        page-break-inside: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn, .filter-btn, .status-badge {
        border: 2px solid currentColor;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== INSIGHTS & RECOMMENDATIONS RESPONSIVE STYLES ===== */

/* Base styles for insights section */
.insights-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.insights-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#weeklyDigestCard {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#smartRecommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

/* Tablet responsiveness - 768px and below */
@media (max-width: 768px) {
    .insights-section {
        padding: 1.5rem;
    }

    .insights-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    #weeklyDigestCard {
        padding: 1.25rem;
    }

    /* Weekly digest cards: 3 columns → 2 columns on tablets */
    #weeklyDigestCard > div {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Recommendations grid: adjust minmax for tablets */
    #smartRecommendations {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Small mobile - 600px and below */
@media (max-width: 600px) {
    .insights-section {
        padding: 1.25rem;
    }

    .insights-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    #weeklyDigestCard {
        padding: 1rem;
    }

    /* Weekly digest cards: 2 columns → 1 column on small mobile */
    #weeklyDigestCard > div {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    /* Recommendations grid: stack vertically */
    #smartRecommendations {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Reduce font sizes in digest cards */
    #weeklyDigestCard .digest-stat {
        font-size: 2rem !important;
    }

    #weeklyDigestCard .digest-label {
        font-size: 0.7rem !important;
    }
}

/* Very small mobile - 480px and below */
@media (max-width: 480px) {
    .insights-section {
        padding: 1rem;
        border-radius: 10px;
    }

    .insights-section h3 {
        font-size: 1rem;
        margin-bottom: 0.875rem;
    }

    #weeklyDigestCard {
        padding: 0.875rem;
    }

    /* Compact digest cards */
    #weeklyDigestCard .digest-stat {
        font-size: 1.75rem !important;
    }

    #weeklyDigestCard .digest-label {
        font-size: 0.65rem !important;
    }

    /* Compact recommendation cards */
    #smartRecommendations > div {
        padding: 1rem !important;
    }

    #smartRecommendations .rec-type {
        font-size: 0.65rem !important;
    }

    #smartRecommendations .rec-message {
        font-size: 0.875rem !important;
    }
}

/* Extra small mobile - 360px and below */
@media (max-width: 360px) {
    .insights-section {
        padding: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .insights-section h3 {
        font-size: 0.95rem;
    }

    #weeklyDigestCard {
        padding: 0.75rem;
    }

    #weeklyDigestCard .digest-stat {
        font-size: 1.5rem !important;
    }

    #smartRecommendations > div {
        padding: 0.875rem !important;
    }
}

/* ===== END INSIGHTS & RECOMMENDATIONS ===== */

/* ===== WEEKLY DIGEST TOOLTIPS ===== */

.digest-card {
    position: relative;
    transition: all 0.3s ease;
}

.digest-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.digest-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(43, 45, 106, 0.98);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    min-width: 280px;
    max-width: 360px;
    font-size: 0.875rem;
    line-height: 1.6;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    text-align: left;
    backdrop-filter: blur(10px);
}

/* Arrow pointing down */
.digest-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(43, 45, 106, 0.98);
}

.digest-card:hover .digest-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 16px);
}

/* Responsive tooltip positioning */
@media (max-width: 768px) {
    .digest-tooltip {
        min-width: 240px;
        max-width: 280px;
        font-size: 0.8125rem;
        padding: 0.875rem 1rem;
    }
}

@media (max-width: 480px) {
    .digest-tooltip {
        position: fixed;
        left: 1rem !important;
        right: 1rem !important;
        bottom: auto !important;
        top: 50% !important;
        transform: translate(0, -50%) !important;
        max-width: none;
        min-width: auto;
    }

    .digest-tooltip::after {
        display: none;
    }

    .digest-card:hover .digest-tooltip {
        bottom: auto;
    }
}

/* ===== END WEEKLY DIGEST TOOLTIPS ===== */

/* ===== CLICKABLE STAT CARDS ===== */

/* Add hover effects for clickable stat cards (excluding total) */
.stat-card.overdue[style*="cursor: pointer"],
.stat-card.in-progress[style*="cursor: pointer"],
.stat-card.completed[style*="cursor: pointer"] {
    transition: all 0.3s ease;
    position: relative;
}

.stat-card.overdue[style*="cursor: pointer"]:hover,
.stat-card.in-progress[style*="cursor: pointer"]:hover,
.stat-card.completed[style*="cursor: pointer"]:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-card.overdue[style*="cursor: pointer"]:hover {
    border-color: #BD2130;
}

.stat-card.in-progress[style*="cursor: pointer"]:hover {
    border-color: #E0A800;
}

.stat-card.completed[style*="cursor: pointer"]:hover {
    border-color: #1E7E34;
}

/* Add subtle icon indicator on hover */
.stat-card.overdue[style*="cursor: pointer"]:hover::after,
.stat-card.in-progress[style*="cursor: pointer"]:hover::after,
.stat-card.completed[style*="cursor: pointer"]:hover::after {
    content: '→';
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.6;
    animation: slideRight 0.6s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-card.overdue[style*="cursor: pointer"]:hover,
    .stat-card.in-progress[style*="cursor: pointer"]:hover,
    .stat-card.completed[style*="cursor: pointer"]:hover {
        transform: translateY(-2px);
    }
}

/* ===== END CLICKABLE STAT CARDS ===== */

/* ===== ENHANCED STAT CARD METRICS ===== */

.stat-metric {
    font-size: 0.85rem;
    color: #6C757D;
    margin-top: 0.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.stat-card.total .stat-metric {
    color: #3b5998;
}

.stat-card.overdue .stat-metric {
    color: #DC3545;
}

.stat-card.in-progress .stat-metric {
    color: #d39e00;
}

.stat-card.completed .stat-metric {
    color: #28A745;
}

/* Responsive adjustments for stat metrics */
@media (max-width: 768px) {
    .stat-metric {
        font-size: 0.75rem;
        margin-top: 0.25rem;
    }
}

@media (max-width: 480px) {
    .stat-metric {
        font-size: 0.7rem;
    }
}

/* ===== END ENHANCED STAT CARD METRICS ===== */

/* ========================================
   UI/UX ENHANCEMENTS - ALL PHASES
   Applied: 2025-10-19
   ======================================== */

/* PHASE 1: ENHANCED HEADER & MEETING COUNTER */
.meeting-summaries-enhanced-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.meeting-header-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.meeting-selector-wrapper {
    background: rgba(255,255,255,0.15);
    padding: 1.5rem;
    border-radius:8px;
    margin-bottom: 1rem;
}

.meeting-counter-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.95;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.meeting-selector-wrapper select {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    background: white;
    color: #2C3E50;
    cursor: pointer;
    transition: all 0.3s;
}

.meeting-selector-wrapper select:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* PHASE 1: INCREASED SPACING */
.topic-body {
    padding: 2rem !important; /* Up from 1.5rem */
    line-height: 1.8 !important; /* Up from 1.7 */
}

.topic-section + .topic-section {
    margin-top: 2rem !important;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.collapsible-section {
    margin-bottom: 2rem !important; /* Up from 1.5rem */
}

.section-body {
    padding: 2.5rem !important; /* Up from 2rem */
}

/* PHASE 1: BETTER HOVER STATES */
.section-toggle {
    font-size: 2rem !important; /* Up from 1.5rem */
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.section-toggle:hover {
    background: rgba(0,0,0,0.05);
    transform: scale(1.1);
}

.topic-card {
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.topic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.topic-toggle {
    font-size: 2rem !important; /* Up from 1.5rem */
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.topic-toggle:hover {
    background: rgba(74, 99, 160, 0.1);
}

/* Action badge hover tooltips */
.action-id {
    position: relative;
}

.action-id::after {
    content: 'Click to jump to Action Log';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
}

.action-id:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* PHASE 1: LOADING & EMPTY STATES */
.meeting-skeleton {
    padding: 2rem;
    background: white;
    border-radius: 12px;
}

.skeleton-header {
    height: 40px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.skeleton-line {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.skeleton-line.short {
    width: 60%;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
}

.empty-state svg {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #2C3E50;
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: #6C757D;
    font-size: 1rem;
}

/* PHASE 2: VISUAL HIERARCHY */
.section-header h2 {
    font-size: 1.6rem !important; /* Increased from 1.4rem */
}

.topic-title {
    font-size: 1.25rem !important; /* Increased from 1.15rem */
}

/* Priority-based topic styling */
.topic-card.high-priority {
    border-left-width: 6px !important;
    border-left-color: #DC3545 !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
}

.topic-card.medium-priority {
    border-left-width: 6px !important;
    border-left-color: #FFC107 !important;
}

.topic-card.normal-priority {
    border-left-width: 4px !important;
}

/* PHASE 2: ACCESSIBILITY */
.section-header {
    position: relative;
}

.section-header:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

.keyboard-hint {
    position: absolute;
    right: 4rem;
    font-size: 0.75rem;
    color: #6C757D;
    opacity: 0;
    transition: opacity 0.3s;
}

.section-header:focus-visible .keyboard-hint,
.topic-header:focus-visible .keyboard-hint {
    opacity: 1;
}

/* Improved contrast for in-progress badges */
.action-id.in-progress,
.status-badge.in-progress {
    background: #F57C00 !important; /* Darker orange for better contrast */
}

/* ARIA labels for screen readers */
[aria-label]:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* PHASE 3: DATA VISUALIZATION */
.mention-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 1rem;
}

.mention-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.keyword-with-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.keyword-label {
    min-width: 100px;
    font-weight: 600;
    color: #2C3E50;
}

.keyword-count {
    min-width: 80px;
    text-align: right;
    color: #667eea;
    font-weight: 700;
}

/* PHASE 3: PERFORMANCE - SMOOTH TRANSITIONS */
.topic-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.topic-body.expanded {
    max-height: 10000px;
}

.section-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-body.expanded {
    max-height: 20000px;
}

/* Lazy-load images with blur-up */
.attendee-photo,
.owner-photo {
    transition: filter 0.3s;
}

.attendee-photo.loading,
.owner-photo.loading {
    filter: blur(10px);
}

/* MOBILE RESPONSIVE IMPROVEMENTS */
@media (max-width: 768px) {
    .meeting-summaries-enhanced-header {
        padding: 1.5rem;
    }
    
    .meeting-header-title {
        font-size: 1.4rem;
    }
    
    .meeting-selector-wrapper {
        padding: 1rem;
    }
    
    .meeting-counter-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .topic-body,
    .section-body {
        padding: 1.5rem !important;
    }
    
    .topic-card:hover {
        transform: none; /* Disable hover effects on mobile */
    }
    
    .action-id::after {
        display: none; /* Hide tooltips on mobile */
    }
}

/* ADDITIONAL POLISH */
.summary-section {
    transition: all 0.3s ease;
}

.summary-section:hover {
    transform: translateX(4px);
    box-shadow: -4px 0 0 0 var(--altera-blue);
}

.context-box {
    transition: all 0.3s ease;
}

.context-box:hover {
    transform: translateX(4px);
    box-shadow: -4px 0 0 0 var(--altera-purple);
}

/* Focus indicators for keyboard navigation */
*:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

button:focus-visible {
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.3);
}

/* Print styles */
@media print {
    .meeting-summaries-sticky-header,
    .btn,
    .section-toggle,
    .topic-toggle {
        display: none !important;
    }
    
    .section-body,
    .topic-body {
        display: block !important;
        max-height: none !important;
    }
    
    .collapsible-section,
    .topic-card {
        break-inside: avoid;
    }
}

/* FIX: Topic card overflow and tooltip cutoff */
.topic-card {
    overflow: visible !important;
}

.topic-body {
    position: relative;
    overflow: visible !important;
}

.related-actions {
    position: relative;
    overflow: visible !important;
}

/* FIX: Improved tooltip positioning to prevent cutoff */
.action-id::after {
    content: 'Click to jump to Action Log';
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
    max-width: 200px;
    text-align: center;
}

.action-id:hover::after {
    opacity: 1;
}

/* If tooltip would go off left edge, align it to the left */
.action-item:first-child .action-id::after {
    left: 0;
    transform: none;
}

/* If tooltip would go off right edge, align it to the right */
.action-item:last-child .action-id::after {
    left: auto;
    right: 0;
    transform: none;
}

/* Add a small arrow to the tooltip */
.action-id::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(0,0,0,0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
}

.action-id:hover::before {
    opacity: 1;
}

/* Ensure consistent blue borders for all topic cards */
.topic-card.high-priority,
.topic-card.medium-priority,
.topic-card.normal-priority {
    border-left-color: var(--altera-blue) !important;
    border-left-width: 4px !important;
}

/* ============================================
   ACTION LOG UI/UX ENHANCEMENTS
   ============================================ */

/* PHASE 1: Enhanced Table Visual Design */
.timeline-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.timeline-table tbody tr:hover {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transform: translateX(2px);
}

.timeline-table tbody td {
    padding: 1.25rem 1rem !important;
    vertical-align: middle;
}

/* Interactive Action ID Badges */
.action-id-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    white-space: nowrap;
}

.action-id-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* PHASE 2: Zebra Striping */
.timeline-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.timeline-table tbody tr:nth-child(even):hover {
    background: linear-gradient(to right, #f5f6f7, #fafbfc);
}

/* Empty State Design */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    margin: 2rem 0;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    opacity: 0.3;
    stroke: #6C757D;
    fill: none;
    stroke-width: 2;
}

.empty-state h3 {
    color: #6C757D;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.empty-state p {
    color: #ADB5BD;
    font-size: 0.9rem;
}

/* PHASE 3: Quick Action Toolbar */
.action-toolbar {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.action-btn {
    background: transparent;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    color: #6C757D;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: #f0f0f0;
    color: #2C3E50;
}

.action-btn.delete-btn:hover {
    background: #fee;
    color: #DC3545;
}

.action-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Bulk Actions Selection */
.action-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--altera-purple);
}

.bulk-actions-bar {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: flex;
    gap: 1rem;
    align-items: center;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateX(-50%) translateY(100px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.bulk-actions-bar button {
    background: var(--altera-purple);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.bulk-actions-bar button:hover {
    background: var(--altera-dark);
}

.bulk-actions-bar button.clear {
    background: #6C757D;
}

.bulk-actions-bar button.delete {
    background: var(--red);
}

#selectedCount {
    font-weight: 600;
    color: var(--altera-dark);
}

/* PHASE 4: Enhanced Status Badges */
.status-badge-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.status-badge-enhanced.overdue {
    background: var(--red);
    color: white;
    animation: pulse 2s infinite;
}

.status-badge-enhanced.in-progress {
    background: var(--yellow);
    color: white;
}

.status-badge-enhanced.completed {
    background: var(--green);
    color: white;
}

.status-badge-enhanced:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.status-icon {
    font-size: 1rem;
    line-height: 1;
}

.status-label {
    line-height: 1;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #2C3E50;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInRight 0.3s ease;
    z-index: 1001;
}

@keyframes slideInRight {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-message {
    flex: 1;
}

.toast-action {
    background: white;
    color: #2C3E50;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.toast-action:hover {
    background: #f0f0f0;
}

/* PHASE 5: Keyboard Navigation Hints */
.keyboard-hints {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: help;
    z-index: 999;
}

/* PHASE 6: Skeleton Loading */
.table-skeleton {
    background: white;
    border-radius: 12px;
    padding: 1rem;
}

.skeleton-row {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.skeleton-cell {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    /* Stack table as cards on mobile */
    .timeline-table {
        display: block;
    }
    
    .timeline-table thead {
        display: none;
    }
    
    .timeline-table tbody {
        display: block;
    }
    
    .timeline-table tbody tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 1rem;
        transform: none !important;
    }
    
    .timeline-table tbody td {
        display: block;
        text-align: left !important;
        padding: 0.5rem 0 !important;
        border: none;
    }
    
    .timeline-table tbody td:before {
        content: attr(data-label);
        font-weight: 700;
        display: inline-block;
        margin-right: 0.5rem;
        color: var(--altera-dark);
    }
    
    .timeline-table tbody td:last-child {
        border-top: 1px solid #e0e0e0;
        padding-top: 1rem !important;
        margin-top: 0.5rem;
    }
    
    .bulk-actions-bar {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        transform: none;
        flex-direction: column;
    }
}

/* Focus visible for accessibility */
.timeline-table tbody tr:focus-visible,
.action-btn:focus-visible,
.filter-btn:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}


/* FIX: Zebra striping with higher specificity */
.timeline-section .timeline-table tbody tr:nth-child(even) {
    background: #fafbfc !important;
}

.timeline-section .timeline-table tbody tr:nth-child(odd) {
    background: white !important;
}

.timeline-section .timeline-table tbody tr:nth-child(even):hover {
    background: linear-gradient(to right, #f5f6f7, #fafbfc) !important;
}

.timeline-section .timeline-table tbody tr:nth-child(odd):hover {
    background: linear-gradient(to right, #f8f9fa, #ffffff) !important;
}



/* Compact Owner Badges (for inline editing) */
.owner-badge-compact {
    background: var(--altera-blue);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    transition: all 0.2s;
}

.owner-badge-compact:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(74, 99, 160, 0.4);
}

.owner-badges .owner-badge-compact {
    margin-right: 0.35rem;
    margin-bottom: 0.25rem;
}

/* Adjusted column widths for better space utilization */
.timeline-table thead th:nth-child(1) {
    width: 5% !important;
}

.timeline-table thead th:nth-child(2) {
    width: 10% !important;
}

.timeline-table thead th:nth-child(3) {
    width: 10% !important; /* Due Date - reduced from 40% */
}

.timeline-table thead th:nth-child(4) {
    width: 45% !important; /* Action Description - increased from 27% */
}

.timeline-table thead th:nth-child(5) {
    width: 12% !important; /* Owners - compact now */
}

.timeline-table thead th:nth-child(6) {
    width: 12% !important; /* Status */
}

.timeline-table thead th:nth-child(7) {
    width: 6% !important; /* Actions toolbar */
}

/* Owner photos only (no names, show on hover) */
.owner-photo-only {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: 0.25rem;
    transition: all 0.2s;
    cursor: help;
}

.owner-photo-only:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.owner-badges .owner-photo-only {
    margin-bottom: 0.25rem;
}

/* Fix pulse animation overflow/cutoff */
.critical-alerts-section {
    overflow: visible !important;
}

.critical-alerts-section h2 {
    overflow: visible !important;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.1); 
    }
}

.pulse-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    animation: pulse 2s infinite !important;
    transform-origin: center center !important;
    will-change: transform, opacity !important;
}


/* Ensure nav icons are always visible at narrow widths */
@media (max-width: 1024px) {
    .sidebar-nav .nav-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 24px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .sidebar-nav .nav-icon img {
        display: block !important;
        width: 20px !important;
        height: 20px !important;
        opacity: 1 !important;
    }
}

/* ============================================================================
   FILE UPLOAD MODAL STYLING
   ============================================================================ */

.file-type-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.file-type-tab {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: #6C757D;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.file-type-tab:hover {
    color: #393392;
    background: #f8f9fa;
}

.file-type-tab.active {
    color: #393392;
    border-bottom-color: #393392;
    background: #f8f9fa;
}

.drag-drop-area {
    border: 3px dashed #e0e0e0;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.drag-drop-area:hover {
    border-color: #667eea;
    background: #f5f7ff;
}

.drag-drop-area.drag-over {
    border-color: #667eea;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ebff 100%);
    transform: scale(1.02);
}

.drag-drop-content {
    pointer-events: none;
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.uploaded-files-list {
    margin-top: 2rem;
}

.uploaded-file-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.uploaded-file-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

/* Responsive adjustments for file upload */
@media (max-width: 768px) {
    .file-type-tabs {
        flex-wrap: wrap;
    }
    
    .file-type-tab {
        flex: 1;
        min-width: 120px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .drag-drop-area {
        padding: 2rem 1rem;
    }
    
    .uploaded-file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .uploaded-file-item > div:last-child {
        width: 100%;
    }
    
    .uploaded-file-item button {
        flex: 1;
    }
}


/* ============================================
   INSIGHTS MODAL STYLES
   ============================================ */

.insights-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.insights-modal-content {
    background: white;
    border-radius: 12px;
    max-height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.insights-modal-header {
    padding: 1.5rem 2rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.insights-modal-close {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-weight: 300;
    line-height: 1;
}

.insights-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.insights-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.insights-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #E9ECEF;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.insights-modal-footer .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
}

.insights-modal-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== TRENDS & ANALYTICS REDESIGN STYLES ===== */

/* KPI Trend Indicators */
.kpi-trend {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
    white-space: nowrap;
    width: auto;
}

.kpi-trend.positive {
    color: #28A745;
}

.kpi-trend.negative {
    color: #DC3545;
}

.kpi-trend.neutral {
    color: #6C757D;
}

.kpi-trend::before {
    font-size: 1.2rem;
}

.kpi-trend.positive::before {
    content: '↗';
}

.kpi-trend.negative::before {
    content: '↘';
}

.kpi-trend.neutral::before {
    content: '→';
}

.kpi-trend.no-arrow::before {
    content: '';
    display: none;
}

/* Priority Matrix Hover Effects */
#criticalPriorityBox:hover,
#importantPriorityBox:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.priority-action-item {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.9rem;
    color: #2C3E50;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.priority-action-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(4px);
}

#criticalActions .priority-action-item {
    border-left-color: #DC3545;
}

#importantActions .priority-action-item {
    border-left-color: #FFC107;
}

.priority-action-text {
    font-weight: 600;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.priority-action-meta {
    font-size: 0.8rem;
    color: #6C757D;
    display: flex;
    gap: 0.75rem;
}

/* Meeting Intelligence Toggle */
#meetingIntelligenceToggle:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

#meetingIntelligenceToggleIcon {
    transition: transform 0.3s ease;
}

#meetingIntelligenceToggle.expanded #meetingIntelligenceToggleIcon {
    transform: rotate(180deg);
}

/* Owner Performance Table */
#ownerPerformanceTable {
    border-radius: 12px;
    overflow: hidden;
}

.owner-performance-row {
    display: grid;
    grid-template-columns: 1fr 100px 100px 120px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #E9ECEF;
    align-items: center;
    transition: all 0.2s;
}

.owner-performance-row:hover {
    background: #F8F9FA;
}

.owner-performance-row:first-child {
    background: linear-gradient(135deg, #2b2d6a, #3d3f7a);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.owner-performance-row:first-child:hover {
    background: linear-gradient(135deg, #2b2d6a, #3d3f7a);
}

.owner-perf-name {
    font-weight: 600;
    color: #2C3E50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.owner-performance-row:first-child .owner-perf-name {
    color: white;
}

.owner-perf-value {
    text-align: center;
    font-weight: 600;
}

.owner-perf-rate {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.owner-perf-rate.high {
    color: #28A745;
}

.owner-perf-rate.medium {
    color: #FFC107;
}

.owner-perf-rate.low {
    color: #DC3545;
}

.owner-perf-bar {
    height: 8px;
    background: #E9ECEF;
    border-radius: 4px;
    overflow: hidden;
}

.owner-perf-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.owner-perf-bar-fill.high {
    background: linear-gradient(90deg, #28A745, #20C997);
}

.owner-perf-bar-fill.medium {
    background: linear-gradient(90deg, #FFC107, #FFD54F);
}

.owner-perf-bar-fill.low {
    background: linear-gradient(90deg, #DC3545, #E57373);
}

/* Compact Topic List */
#topTopicsList .topic-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #F8F9FA;
    border-radius: 8px;
    transition: all 0.2s;
}

#topTopicsList .topic-list-item:hover {
    background: #E9ECEF;
    transform: translateX(4px);
}

.topic-list-name {
    font-weight: 600;
    color: #2C3E50;
    flex: 1;
}

.topic-list-count {
    background: linear-gradient(135deg, #667EEA, #764BA2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Workload KPI Card Styling */
.kpi-workload {
    border-left-color: #667EEA;
}

/* Responsive Adjustments for Trends & Analytics */
@media (max-width: 900px) {
    /* Priority Matrix - Stack vertically on mobile */
    #priorityMatrixContainer > div:first-child {
        grid-template-columns: 1fr;
    }

    /* Owner Performance Table - Reduce columns */
    .owner-performance-row {
        grid-template-columns: 1fr 80px 80px;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .owner-performance-row:nth-child(n) > div:nth-child(4) {
        display: none; /* Hide progress bar on mobile */
    }

    /* Meeting Intelligence - Stack metrics vertically */
    #meetingIntelligenceToggle > div:first-child {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    #meetingIntelligenceDetails > div {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    /* Further reduce KPI grid to 2 columns on small phones */
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .kpi-card {
        padding: 1.25rem;
    }

    .kpi-value {
        font-size: 2rem;
    }

    .kpi-icon img {
        width: 24px !important;
        height: 24px !important;
    }

    /* Owner Performance Table - Show only name and rate */
    .owner-performance-row {
        grid-template-columns: 1fr 80px;
    }

    .owner-performance-row:nth-child(n) > div:nth-child(2),
    .owner-performance-row:nth-child(n) > div:nth-child(3) {
        display: none;
    }
}

/* ============================================
   RECOMMENDATION CARDS - MODERN DESIGN
   ============================================ */

.recommendation-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12) !important;
}

/* Typography within cards */
.recommendation-card strong {
    font-weight: 600;
    color: #2C3E50;
}

.recommendation-card ul {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.8;
}

.recommendation-card li {
    margin-bottom: 0.5rem;
    color: #495057;
}

.recommendation-card li:last-child {
    margin-bottom: 0;
}

/* Main message text */
.recommendation-card > div:last-child > div:first-child {
    font-size: 1rem;
    line-height: 1.6;
    color: #2C3E50;
    margin-bottom: 1rem;
}

/* Stat boxes (88%, etc.) */
.recommendation-card div[style*="border-left: 3px solid"] {
    margin: 1rem 0;
}

/* Bottom section spacing */
.recommendation-card div[style*="border-top: 1px solid"] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

/* ============================================
   RESOURCES TAB - MEETING SUMMARIES
   ============================================ */

.resources-tab-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Resource Item */
.resource-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.03), rgba(0, 120, 212, 0.01));
    border: 1px solid rgba(0, 120, 212, 0.1);
    border-radius: 12px;
    transition: all 0.2s;
}

.resource-item:hover {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.08), rgba(0, 120, 212, 0.03));
    border-color: rgba(0, 120, 212, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.1);
}

.resource-icon {
    flex-shrink: 0;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.resource-info {
    flex: 1;
}

.resource-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2C3E50;
}

.resource-description {
    margin: 0 0 1rem 0;
    color: #6C757D;
    line-height: 1.6;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0078D4, #106EBE);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.resource-link:hover {
    background: linear-gradient(135deg, #106EBE, #0078D4);
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

/* Empty State (Inline) */
.empty-state-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.empty-state-inline h4 {
    margin: 0;
    font-size: 1.125rem;
}

.empty-state-inline p {
    font-size: 0.95rem;
}

/* Resources Note */
.resources-note {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.05), rgba(0, 120, 212, 0.02));
    border-left: 4px solid #0078D4;
    border-radius: 8px;
}

.resources-note strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #0078D4;
    font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .resource-item {
        flex-direction: column;
        gap: 1rem;
    }

    .resource-icon {
        align-self: center;
    }

    .resource-info {
        text-align: center;
    }

    .resource-link {
        width: 100%;
        justify-content: center;
    }
}


/* Fix FOUC: Hide stat cards until data is loaded */
.stat-cards {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.stat-cards-loaded {
    opacity: 1 !important;
}

