@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap);body{margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f6f8f9;color:#071c2b;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.App{align-items:center;background:#071c2b;display:flex;flex-direction:column;justify-content:center;min-height:100vh;text-align:center}.App-header{background-color:initial;color:#fff;max-width:400px;padding:20px;width:100%}.login-container{align-items:center;background:#071c2b;display:flex;justify-content:center;min-height:100vh;padding:20px}.login-box{background:#fff;border-radius:12px;box-shadow:0 10px 30px #0000001a;max-width:400px;padding:40px;text-align:center;width:100%}.logo{justify-content:center;margin-bottom:24px}.logo img{display:none}.login-title{color:#071c2b;font-size:24px;font-weight:700;margin-bottom:8px}.login-subtitle{color:#666;font-size:14px;margin-bottom:30px}.login-form{display:flex;flex-direction:column;gap:20px}.form-group{text-align:left}.form-group label{margin-bottom:8px}.form-group input{border:2px solid #e1e5e9;border-radius:8px;font-size:16px;padding:12px 16px;transition:border-color .3s ease}.form-group input:focus{border-color:#6db8e7;outline:none}.login-button{background:linear-gradient(135deg,#6db8e7,#5a9fd4);border:none;border-radius:8px;box-shadow:0 4px 15px #0000001a;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:14px 20px;transition:transform .2s ease,box-shadow .3s ease}.login-button:hover:not(:disabled){box-shadow:0 6px 20px #6db8e766;transform:translateY(-2px)}.login-button:disabled{cursor:not-allowed;opacity:.7}.toggle-form{color:#666;font-size:14px;margin-top:20px;text-align:center}.toggle-form span{color:#6db8e7;cursor:pointer;font-weight:600;text-decoration:none;transition:color .3s ease}.toggle-form span:hover{color:#5a9fd4;text-decoration:underline}.message{margin-top:16px}.message.success{background-color:#d4edda;border:1px solid #c3e6cb;color:#155724}.message.error{background-color:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.landing-container{align-items:center;background-color:#fff;display:flex;justify-content:center;min-height:100vh;padding:40px 20px;text-align:center}.landing-content{max-width:900px;width:100%}.landing-logo{margin-bottom:24px}.shield-icon{color:#6db8e7;font-size:48px}.landing-title{color:#071c2b;font-size:42px;font-weight:700;margin-bottom:16px}.landing-subtitle{color:#7f8c8d;font-size:18px;margin-bottom:48px;margin-left:auto;margin-right:auto;max-width:600px}.dashboard{background-color:#f8f9fa;display:flex;min-height:100vh}.sidebar{background:#071c2b;box-shadow:2px 0 10px #0000001a;color:#fff;display:flex;flex-direction:column;width:280px}.sidebar-header{border-bottom:1px solid #ffffff1a;padding:24px 20px}.logo{align-items:center;cursor:pointer;display:flex;gap:12px;transition:opacity .3s ease}.logo:hover{opacity:.8}.logo-icon{display:none;height:24px;object-fit:contain;width:24px}.logo-text{font-size:20px;font-weight:700}.sidebar-nav{flex:1 1;padding:20px 0}.nav-item{align-items:center;border-left:3px solid #0000;cursor:pointer;display:flex;gap:12px;padding:16px 20px;transition:background-color .3s ease}.nav-item:hover{background-color:#ffffff1a}.nav-item.active{background-color:#ffffff26;border-left-color:#6db8e7}.nav-icon{color:#007bff!important;filter:hue-rotate(0deg) saturate(1.5) brightness(1.2);font-size:18px}.sidebar-footer{border-top:1px solid #ffffff1a;padding:20px}.user-profile{gap:12px}.user-avatar,.user-profile{align-items:center;display:flex}.user-avatar{background:linear-gradient(135deg,#6db8e7,#5a9fd4);border-radius:50%;font-size:14px;font-weight:600;height:40px;justify-content:center;width:40px}.user-info{flex:1 1}.user-name{font-size:14px;font-weight:600}.user-role{color:#ffffffb3;font-size:12px}.main-content{background-color:#f6f8f9;display:flex;flex:1 1;flex-direction:column}.top-bar{background:#fff;box-shadow:0 2px 10px #0000001a;justify-content:space-between;padding:20px 30px}.top-bar,.welcome-section{align-items:center;display:flex}.welcome-section{gap:16px}.welcome-icon{height:32px;object-fit:contain;width:32px}.welcome-title{color:#071c2b;font-size:24px;font-weight:700;margin-bottom:4px}.welcome-subtitle{color:#7f8c8d;font-size:14px}.user-actions{display:flex;gap:12px}.change-password-button,.logout-button{border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;padding:10px 20px;transition:all .3s ease}.change-password-button{background-color:#f8f9fa;border:1px solid #dee2e6;color:#6c757d}.change-password-button:hover{background-color:#e9ecef}.logout-button{background-color:#dc3545;color:#fff}.logout-button:hover{background-color:#c82333}.modules-grid{grid-gap:30px;align-content:start;align-items:center;display:grid;gap:30px;grid-template-columns:repeat(2,1fr);justify-items:center;margin:0 auto;max-width:800px;min-height:calc(100vh - 200px);padding:60px 30px}.module-card{background:#fff;border:2px solid #0000;border-radius:12px;box-shadow:0 4px 20px #00000014;cursor:pointer;padding:30px;transition:all .3s ease}.module-card:hover{border-color:#6db8e7;box-shadow:0 8px 30px #0000001f;transform:translateY(-2px)}.module-card.active{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-color:#6db8e7}.module-icon{color:#007bff!important;filter:hue-rotate(0deg) saturate(1.5) brightness(1.2);font-size:48px;margin-bottom:16px}.module-title{color:#071c2b;font-size:20px;font-weight:700;margin-bottom:12px}.module-description{color:#7f8c8d;font-size:14px;line-height:1.5}.deals-dashboard{background:#f6f8f9;min-height:calc(100vh - 80px);padding:30px}.search-container{margin:20px 0;padding:0 20px}.search-bar{margin:0 auto;max-width:600px;position:relative}.search-input{background:#fff;border:2px solid #e1e5e9;border-radius:8px;font-size:16px;outline:none;padding:12px 50px 12px 16px;transition:border-color .3s ease,box-shadow .3s ease;width:100%}.search-input:focus{border-color:#6db8e7;box-shadow:0 0 0 3px #6db8e71a}.search-icon{color:#6c757d;font-size:18px;pointer-events:none;position:absolute;right:16px;top:50%;transform:translateY(-50%)}.search-results-info{color:#6c757d;font-size:14px;font-weight:500;margin-top:8px;text-align:center}.deals-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.deals-title{color:#071c2b;font-size:28px;font-weight:700}.new-deal-button{align-items:center;background:linear-gradient(135deg,#6db8e7,#5a9fd4);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:8px;padding:12px 24px;transition:all .3s ease}.new-deal-button:hover{box-shadow:0 4px 15px #6db8e74d;transform:translateY(-2px)}.plus-icon{font-size:18px;font-weight:700}.deals-table-container{background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000014;overflow:hidden;position:relative}.deals-table{border-collapse:collapse;width:100%}.deals-table th{background:#f8f9fa;border-bottom:2px solid #dee2e6;color:#071c2b;font-weight:600;text-align:left}.deals-table td,.deals-table th{font-size:14px;padding:16px 20px}.deals-table td{border-bottom:1px solid #f1f3f4}.deal-row:hover{background-color:#f8f9fa}.deal-row{position:relative}.deal-name{color:#071c2b;font-weight:600}.deal-stage-badge{border-radius:20px;font-size:12px;font-weight:600;padding:6px 12px;text-transform:uppercase}.badge-blue{background-color:#e3f2fd;color:#1976d2}.badge-green{background-color:#e8f5e8;color:#2e7d32}.badge-yellow{background-color:#fff3e0;color:#f57c00}.badge-gray{background-color:#f5f5f5;color:#757575}.amount{color:#071c2b;font-weight:600}.change-password-modal,.new-deal-modal{background:#00000080}.change-password-modal,.modal-overlay,.new-deal-modal{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-overlay{background-color:#00000080}.modal-content{background:#fff;border-radius:8px;max-width:90%;padding:20px;width:500px}.modal-header{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:10px}.modal-header h3{margin:0}.close-button{background:none;border:none;cursor:pointer;font-size:1.5rem}.upload-area{border:2px dashed #ccc;border-radius:8px;margin-bottom:20px;padding:20px;text-align:center}.modal-body .metadata-selector{align-items:center;display:flex;gap:10px;margin-bottom:15px}.modal-body .metadata-selector label{font-weight:600}.modal-body .metadata-selector select{border:1px solid #ccc;border-radius:4px;flex-grow:1;padding:8px}.upload-area.active{background-color:#f0fff4;border-color:#218838}.uploaded-files-summary ul{list-style-type:none;padding:0}.uploaded-files-summary li{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:5px 0}.modal-footer{border-top:1px solid #eee;margin-top:20px;padding-top:10px;text-align:right}.change-password-form,.new-deal-form{display:flex;flex-direction:column;gap:20px}.form-row{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr}.form-actions{margin-top:24px}.submit-button{background:linear-gradient(135deg,#6db8e7,#5a9fd4);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:12px 24px;transition:all .3s ease}.submit-button:hover:not(:disabled){box-shadow:0 4px 15px #6db8e74d;transform:translateY(-2px)}.submit-button:disabled{cursor:not-allowed;opacity:.7}.cancel-button{background:#6c757d;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:12px 24px;transition:all .3s ease}.cancel-button:hover{background:#5a6268}.module-content{background:#f6f8f9;min-height:calc(100vh - 80px);padding:30px}.module-header{margin-bottom:30px;text-align:center}.module-header .module-title{color:#071c2b;font-size:28px;font-weight:700;margin-bottom:8px}.module-header .module-subtitle{color:#7f8c8d;font-size:16px}.module-body{margin:0 auto;max-width:1200px}.feature-grid{grid-gap:30px;display:grid;gap:30px;grid-template-columns:repeat(2,1fr)}.feature-card{background:#fff;border:2px solid #0000;border-radius:12px;box-shadow:0 4px 20px #00000014;padding:30px;text-align:center;transition:all .3s ease}.feature-card:hover{border-color:#6db8e7;box-shadow:0 8px 30px #0000001f;transform:translateY(-2px)}.feature-icon{font-size:48px;margin-bottom:16px}.feature-card h3{color:#071c2b;font-size:20px;font-weight:700;margin-bottom:12px}.feature-card p{color:#7f8c8d;font-size:14px;line-height:1.5}.edit-deal-modal{align-items:center;background-color:#00000080;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.edit-deal-form{display:flex;flex-direction:column;gap:20px}.actions{position:relative;white-space:nowrap}.dropdown{display:inline-block;position:relative}.dropdown-toggle{align-items:center;background:#0000;border:none;border-radius:6px;color:#000;cursor:pointer;display:inline-flex;font-size:16px;font-weight:700;height:36px;justify-content:center;padding:8px 12px;transition:background-color .3s ease;width:36px}.dropdown-toggle:hover{background:#f8f9fa}.dropdown-menu{background:#fff;border:1px solid #dee2e6;border-radius:6px;box-shadow:0 4px 12px #00000026;display:none;margin-top:4px;min-width:120px;position:absolute;right:0;top:100%;z-index:1001}.dropdown-menu.show{display:block}.dropdown-menu.show.bottom{bottom:100%;margin-bottom:4px;margin-top:0;top:auto}.dropdown-item{background:none;border:none;color:#000;cursor:pointer;display:block;font-size:14px;padding:8px 12px;text-align:left;transition:background-color .2s ease;width:100%}.dropdown-item:hover{background-color:#f8f9fa}.edit-option{color:#000}.edit-option:hover{background-color:#f8f9fa;color:#000}.delete-option:hover{background-color:#ffebee;color:#d32f2f}.delete-confirm-modal{align-items:center;background-color:#00000080;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.warning-text{color:#dc3545;font-weight:500;margin-top:8px}.delete-button{background:#dc3545;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:background-color .3s ease}.delete-button:hover{background:#c82333}.delete-button:disabled{background:#6c757d;cursor:not-allowed}@media (max-width:768px){.dashboard{flex-direction:column}.sidebar{height:auto;width:100%}.form-row{grid-template-columns:1fr}.modules-grid{gap:20px;grid-template-columns:repeat(2,1fr);max-width:100%;padding:30px 20px}.feature-grid{grid-template-columns:1fr}.deals-table-container{overflow-x:auto}.deals-table{min-width:800px}}.competitive-landscape-view{padding:30px}.competitive-landscape-view .module-body{background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000014;overflow:hidden;padding:0}.competitive-landscape-content{display:flex;flex-direction:column;width:100%}.competitive-landscape-sheet{background:#fff;border:none;box-sizing:border-box;display:block;height:calc(100vh - 250px);margin:0;min-height:700px;overflow:hidden;padding:0;position:relative;width:100%}.competitive-landscape-section{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;padding:40px;text-align:center}.competitive-landscape-section h4{color:#1f2937;font-size:20px;font-weight:600;margin:0 0 16px}.competitive-landscape-section p{color:#374151;font-size:16px;margin:8px 0}.quicksight-embed-container{background:#fff;display:block;height:100%;overflow:hidden;position:relative;width:100%}.quicksight-embed-container iframe{border:none;display:block;height:100%;width:100%}@media (max-width:768px){.competitive-landscape-card{grid-column:1}.competitive-landscape-sheet{height:500px;max-height:60vh;min-height:400px}}*{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.analytics-dashboard,.deal-analytics{background-color:#f6f8f9;color:#071c2b}.deal-analytics{min-height:100vh}.analytics-disabled{align-items:center;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border-radius:12px;display:flex;justify-content:center;margin:20px;min-height:400px;padding:40px}.disabled-content{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000001a;max-width:600px;padding:40px;text-align:center}.disabled-content h3{color:#2c3e50;font-size:28px;font-weight:600;margin-bottom:16px}.disabled-content p{color:#7f8c8d;font-size:16px;line-height:1.6;margin-bottom:24px}.disabled-info{background:#f8f9fa;border-left:4px solid #e74c3c;border-radius:8px;padding:24px;text-align:left}.disabled-info p{color:#2c3e50;font-weight:500;margin-bottom:16px}.disabled-info ul{list-style:none;margin:0;padding:0}.disabled-info li{border-bottom:1px solid #ecf0f1;color:#e74c3c;font-size:14px;padding:8px 0}.disabled-info li:last-child{border-bottom:none}.analytics-sheet{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:20px;overflow:hidden}.sheet-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;flex-wrap:wrap;gap:16px}.sheet-header h2{font-size:28px;font-weight:600;margin:0;text-shadow:0 2px 4px #0003}.sheet-summary{display:flex;flex-wrap:wrap;gap:24px}.summary-item{align-items:center;flex-direction:column;gap:4px}.summary-item .label{font-size:12px;letter-spacing:.5px;text-transform:uppercase}.summary-item .value{font-size:18px;font-weight:700;text-shadow:0 1px 2px #0003}.summary-item .value.positive{color:#4ade80}.summary-item .value.negative{color:#f87171}.balance-sheet-content{grid-gap:32px;display:grid;gap:32px;grid-template-columns:1fr 1fr;padding:32px}.balance-sheet-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:24px}.balance-sheet-section h3{border-bottom:2px solid #3b82f6;color:#1e293b;font-size:20px;font-weight:700;margin:0 0 20px;padding-bottom:8px}.section-group{margin-bottom:24px}.section-group h4{border-left:3px solid #3b82f6;color:#475569;font-size:16px;font-weight:600;margin:0 0 12px;padding-left:8px}.line-item{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;font-size:14px;justify-content:space-between;padding:8px 12px;transition:background-color .2s ease}.line-item:hover{background-color:#f1f5f9}.line-item.total{background-color:#f8fafc;border-bottom:2px solid #3b82f6;border-top:2px solid #3b82f6;font-weight:600;margin-top:8px}.line-item.grand-total{background-color:#3b82f6;border:none;border-radius:6px;color:#fff;font-size:16px;font-weight:700;margin-top:16px}.line-item.indent{color:#64748b;padding-left:24px}.pl-content{padding:32px}.pl-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:32px;padding:24px}.pl-section h3{border-bottom:2px solid #10b981;color:#1e293b;font-size:20px;font-weight:700;margin:0 0 20px;padding-bottom:8px}.metrics-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-top:20px}.metric-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px;text-align:center}.metric-label{color:#64748b;display:block;font-size:12px;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.metric-value{color:#1e293b;display:block;font-size:18px;font-weight:700}.portfolio-tree-content{padding:32px}.tree-container{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:32px;padding:24px}.tree-node{margin-bottom:8px}.tree-node-header{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;display:flex;gap:12px;padding:12px 16px;transition:all .2s ease}.tree-node-header:hover{background-color:#f1f5f9;border-color:#3b82f6}.tree-node-header.expandable{cursor:pointer}.expand-icon{color:#64748b;text-align:center;width:16px}.node-name{color:#1e293b;flex:1 1;font-weight:600}.node-stats{display:flex;flex-wrap:wrap;gap:16px}.stat-item{align-items:center;display:flex;flex-direction:column;gap:2px}.stat-label{color:#64748b;font-size:10px;letter-spacing:.5px;text-transform:uppercase}.stat-value{color:#1e293b;font-size:14px;font-weight:600}.tree-children{margin-left:20px;margin-top:8px}.portfolio-insights{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:24px}.portfolio-insights h3{border-bottom:2px solid #8b5cf6;color:#1e293b;font-size:20px;font-weight:700;margin:0 0 20px;padding-bottom:8px}.insights-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.insight-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:20px;text-align:center;transition:transform .2s ease,box-shadow .2s ease}.insight-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.insight-card h4{color:#64748b;font-size:14px;font-weight:600;letter-spacing:.5px;margin:0 0 12px;text-transform:uppercase}.insight-value{color:#1e293b;font-size:20px;font-weight:700;margin-bottom:4px}.insight-detail{color:#64748b;font-size:14px}@media (max-width:768px){.balance-sheet-content{gap:20px;grid-template-columns:1fr;padding:20px}.sheet-header{align-items:flex-start;flex-direction:column}.sheet-summary{justify-content:space-between;width:100%}.summary-item{flex:1 1;min-width:120px}.node-stats{flex-direction:column;gap:8px}.insights-grid{grid-template-columns:1fr}}@media (max-width:480px){.analytics-sheet{margin:10px}.sheet-header{padding:16px}.sheet-header h2{font-size:24px}.balance-sheet-content,.pl-content,.portfolio-tree-content{padding:16px}.line-item{gap:4px}.line-item,.tree-node-header{align-items:flex-start;flex-direction:column}.tree-node-header{gap:8px}.node-stats{width:100%}}.tree-children{animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.analytics-sheet.loading{opacity:.6;pointer-events:none}.analytics-sheet.loading:after{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#3b82f6;content:"";height:40px;left:50%;margin:-20px 0 0 -20px;position:absolute;top:50%;width:40px}.analytics-dashboard{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);min-height:100vh;padding:20px}.dashboard-header{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;margin-bottom:24px;padding:32px;position:relative}.header-content h1{color:#1e293b;font-size:32px;font-weight:700;margin:0 0 8px;text-shadow:0 2px 4px #0000001a}.header-content p{color:#64748b;font-size:16px;margin:0}.error-banner{align-items:center;border-radius:6px;color:#dc2626;display:flex;font-size:14px;gap:8px;padding:8px 16px;position:absolute;right:16px;top:16px}.dashboard-tabs{flex-wrap:wrap;gap:16px;margin-bottom:24px}.tab-button{border:2px solid #e2e8f0;border-radius:12px;gap:16px;min-width:200px;padding:20px 24px}.tab-button:hover{border-color:#3b82f6;box-shadow:0 8px 25px #3b82f626;transform:translateY(-2px)}.tab-button.active{box-shadow:0 8px 25px #071c2b4d;transform:translateY(-2px)}.tab-icon{font-size:24px;line-height:1}.tab-content{align-items:center;text-align:center}.tab-description,.tab-name{line-height:1.2}.dashboard-content{margin-bottom:24px}.dashboard-footer{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;padding:20px 32px}.footer-info{align-items:center;color:#64748b;display:flex;flex-wrap:wrap;font-size:14px;gap:16px;justify-content:space-between}.dashboard-loading{align-items:center;background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;display:flex;flex-direction:column;justify-content:center;min-height:400px}.loading-spinner{border:4px solid #f3f3f3}.dashboard-loading h3{color:#1e293b;font-size:20px;margin:0 0 8px}.dashboard-loading p{color:#64748b;font-size:14px;margin:0}@media (max-width:768px){.analytics-dashboard{padding:10px}.dashboard-header{padding:20px}.header-content h1{font-size:24px}.dashboard-tabs{flex-direction:column}.tab-button{min-width:auto;width:100%}.footer-info{align-items:flex-start;flex-direction:column;gap:8px}.error-banner{margin-top:16px;position:static;width:100%}}@media (max-width:480px){.dashboard-header{padding:16px}.header-content h1{font-size:20px}.tab-button{padding:16px}.tab-icon{font-size:20px}.tab-name{font-size:14px}.tab-description{font-size:11px}}.deal-analytics{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin:20px 0;overflow:hidden}.analytics-header{background:#071c2b!important;color:#fff;text-align:center}.analytics-header h3{font-size:24px;font-weight:600;margin:0 0 8px;text-shadow:0 2px 4px #0003}.analytics-header p{margin:0;opacity:.9}.analytics-tabs{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;gap:16px;padding:20px}.analytics-tab-button{align-items:center;border:2px solid #e2e8f0;display:flex;justify-content:center;min-width:180px;padding:16px 20px}.analytics-tab-button:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f626;transform:translateY(-2px)}.analytics-tab-button.active{background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-color:#3b82f6;box-shadow:0 4px 12px #3b82f64d;transform:translateY(-2px)}.analytics-content{padding:0}@media (max-width:768px){.deal-analytics{margin:10px 0}.analytics-header{padding:16px}.analytics-header h3{font-size:20px}.analytics-tabs{flex-direction:column;padding:16px}.analytics-tab-button{min-width:auto;width:100%}}@media (max-width:480px){.analytics-header{padding:12px}.analytics-header h3{font-size:18px}.analytics-tabs{padding:12px}.analytics-tab-button{padding:12px 16px}}.analytics-loading{align-items:center;background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;display:flex;flex-direction:column;justify-content:center;margin:20px;min-height:400px}.analytics-loading .loading-spinner{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#3b82f6;height:40px;margin-bottom:16px;width:40px}.analytics-loading h3{color:#1e293b;font-size:20px;margin:0 0 8px}.analytics-loading p{color:#64748b;font-size:14px;margin:0}.analytics-error{align-items:center;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;display:flex;flex-direction:column;justify-content:center;margin:20px;min-height:400px;padding:32px;text-align:center}.analytics-error h3{font-size:20px;margin:0 0 12px}.analytics-error p{color:#7f1d1d;font-size:14px;margin:0 0 20px}.analytics-error button{background:#dc2626;font-size:14px;font-weight:600;padding:12px 24px;transition:background-color .2s ease}.analytics-error button:hover{background:#b91c1c}.data-source-info{display:flex;flex-wrap:wrap;font-size:12px;gap:24px;justify-content:center;margin-top:12px;opacity:.9}.data-source-info span{align-items:center;display:flex;gap:4px}.data-source{color:#10b981}.last-updated{color:#fff}.analytics-tabs{display:flex;gap:8px;margin:20px;padding:0 20px}.analytics-tab-button{background:#fff;border:1px solid #e9ecef;border-radius:8px;color:#071c2b;cursor:pointer;flex:1 1;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;padding:16px 24px;text-align:left;transition:all .3s ease}.analytics-tab-button:hover{border-color:#071c2b;box-shadow:0 2px 8px #071c2b1a}.analytics-tab-button.active{background:#071c2b;border-color:#071c2b;box-shadow:0 4px 12px #071c2b4d;color:#fff}.tab-name{color:inherit;font-size:16px;font-weight:600}.tab-description{color:inherit;font-size:12px;opacity:.8}.analytics-content{background:#f6f8f9;min-height:400px;padding:20px}.dashboard-tabs{display:flex;gap:8px;margin:20px;padding:0 20px}.tab-button{background:#fff;border:1px solid #e9ecef;border-radius:8px;color:#071c2b;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;gap:12px;text-align:left;transition:all .3s ease}.tab-button:hover{border-color:#6db8e7;box-shadow:0 2px 8px #6db8e71a}.tab-button.active{border-color:#071c2b;box-shadow:0 4px 12px #071c2b4d}.tab-icon{font-size:20px}.dashboard-content{background:#f6f8f9;min-height:400px;padding:20px}@media (max-width:768px){.analytics-tabs,.dashboard-tabs{flex-direction:column;margin:10px;padding:0 10px}.analytics-tab-button,.tab-button{padding:12px 16px}.analytics-content,.dashboard-content{padding:16px}}.balance-sheet-container{background:#f6f8f9;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;min-height:100vh;padding:20px}.toolbar{margin-bottom:30px;padding:0 10px}.period-selector{gap:8px}.period-button:hover{background:#f0f0f0}.period-button.active{background:#071c2b;border-color:#071c2b}.view-selector{gap:8px}.view-button:hover{background:#f0f0f0;border-color:#007bff}.view-button.active{background:#071c2b;border-color:#071c2b}.sheet-title{font-size:1.5rem;margin:20px 0;text-align:left}.table-container{box-shadow:0 2px 4px #0000001a;overflow:hidden}table{font-size:14px}.table-container thead{background:#071c2b!important;border-bottom:2px solid #dee2e6}.table-container th{border-right:1px solid #fff3;color:#fff!important;font-size:.9rem;font-weight:400;padding:12px 8px;text-align:center}.table-container th:first-child{min-width:200px;width:200px}.table-container th:last-child{border-right:none}tbody tr{border-bottom:1px solid #dee2e6}tbody tr:hover{background:#f8f9fa}td{border-right:1px solid #dee2e6;padding:12px 16px;vertical-align:top}td:first-child{background:#f8f9fa;color:#071c2b;font-weight:400;text-align:left}td:last-child{border-right:none}.metric,.value{color:#071c2b;font-weight:400}.expandable-row:hover{background-color:#f0f4f8}.expand-icon{color:#6b7280}.sub-component-row{background-color:#f9fafb}.sub-component-row:hover{background-color:#f3f4f6}.sub-metric{padding-left:32px!important}.sub-indent,.sub-value{color:#6b7280;font-size:14px}.sub-value{font-weight:400}.error-message{color:#dc3545;margin:20px 0;padding:12px}.loading{color:#6c757d}.graphical-container{padding:20px}.ratios-section{margin-bottom:30px}.ratios-section h3{color:#071c2b;font-size:18px;font-weight:600;margin-bottom:20px}.ratios-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:30px}.ratio-card{background:#fff;border-left:4px solid #6db8e7;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:20px;text-align:center}.ratio-label{color:#666;font-size:14px;font-weight:500;margin-bottom:8px}.ratio-value{color:#071c2b;font-size:32px;font-weight:700;margin-bottom:8px}.ratio-description{color:#999;font-size:12px;font-style:italic}.chart-section h3{color:#071c2b;font-size:18px;font-weight:600;margin-bottom:20px}.chart-placeholder{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;color:#666;padding:40px;text-align:center}.chart-legend{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;margin-top:20px}.legend-item{align-items:center;display:flex;font-size:14px;gap:8px}.legend-color{border-radius:2px;display:inline-block;height:16px;width:16px}@media (max-width:768px){.toolbar{align-items:stretch;flex-direction:column;gap:15px}.period-selector{flex-wrap:wrap}.period-selector,.view-selector{justify-content:center}.table-container{overflow-x:auto}table{min-width:600px}}.ratios-table-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-top:40px;padding:20px}.ratios-title{color:#071c2b;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:1.5rem;font-weight:400;margin-bottom:20px;text-align:center}.ratios-table-wrapper{border:1px solid #e5e7eb;border-radius:6px;overflow-x:auto}.ratios-table{border-collapse:collapse;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;min-width:800px;width:100%}.ratios-table thead{background:#071c2b;color:#fff}.ratios-table thead th{border-right:1px solid #fff3;font-size:.9rem;font-weight:400;padding:12px 8px;text-align:center}.ratios-table thead th:last-child{border-right:none}.ratios-table tbody tr{border-bottom:1px solid #e5e7eb}.ratios-table tbody tr:hover{background-color:#f8fafc}.ratios-table tbody tr.category-header{background-color:#f1f5f9;font-weight:400}.ratios-table tbody tr.category-header:hover{background-color:#e2e8f0}.ratios-table td{border-right:1px solid #e5e7eb;color:#071c2b;font-size:.9rem;padding:10px 8px;text-align:center}.ratios-table td:first-child{text-align:left}.ratios-table td:last-child{border-right:none}.ratios-table .category-cell{background-color:#6db8e7;color:#fff;font-weight:400;max-width:120px;min-width:120px;text-align:center;vertical-align:middle}.ratios-table .ratio-value{color:#071c2b;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-weight:400}.ratios-table td,.table-container thead th{font-weight:400!important}.period-select.multi-select{min-height:100px;overflow-y:auto}.period-select.multi-select option{cursor:pointer;padding:6px 8px}.period-select.multi-select option:checked{background-color:#071c2b;color:#fff}.period-select.multi-select:focus{border-color:#071c2b;box-shadow:0 0 0 2px #071c2b1a;outline:none}.quarter-slider{-webkit-appearance:none;appearance:none;background:#e5e7eb;border-radius:3px;flex:1 1;height:6px;max-width:200px;outline:none}.quarter-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#071c2b;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px #0000001a;cursor:pointer;height:14px;width:14px}.quarter-slider::-moz-range-thumb{background:#071c2b;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px #0000001a;cursor:pointer;height:14px;width:14px}.quarter-count{color:#071c2b;font-size:1.1rem;font-weight:400;min-width:20px;text-align:center}@media (max-width:768px){.ratios-table-container{margin-top:20px;padding:15px}.ratios-title{font-size:1.3rem}.ratios-table{min-width:700px}.ratios-table td,.ratios-table thead th{font-size:.8rem;padding:8px 6px}.ratios-table .category-cell{font-size:.75rem;max-width:60px;min-width:60px}.quarter-filter{align-items:flex-start;flex-direction:column;gap:8px}.quarter-slider{max-width:100%}.period-select{min-width:0;min-width:auto;width:100%}}.income-statement-container{background:#f6f8f9;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0 auto;max-width:1200px;min-height:100vh;padding:20px}.toolbar{align-items:center;background:#f8f9fa;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;justify-content:space-between;margin-bottom:20px;padding:15px}.period-selector{gap:5px}.period-button{background:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s ease}.period-button:hover{background:#e9ecef;border-color:#007bff}.period-button.active{background:#007bff;border-color:#007bff;color:#fff}.view-selector{display:flex;gap:5px}.view-button{background:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s ease}.view-button:hover{background:#e9ecef;border-color:#28a745}.view-button.active{background:#28a745;border-color:#28a745;color:#fff}.sheet-title{color:#333;font-size:24px;font-weight:600;margin-bottom:20px;text-align:center}.loading{color:#666;font-size:16px;padding:40px;text-align:center}.error-message{background:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;color:#721c24;margin-bottom:20px;padding:15px}.table-container{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}table{border-collapse:collapse;min-width:600px;width:100%}thead{background:#007bff;color:#fff}thead th{border-right:1px solid #fff3;font-size:14px;font-weight:600;padding:15px 12px;text-align:center}thead th:first-child{border-top-left-radius:8px}thead th:last-child{border-right:none;border-top-right-radius:8px}tbody tr{border-bottom:1px solid #e9ecef;transition:background-color .2s ease}tbody tr:hover,tbody tr:nth-child(2n){background-color:#f8f9fa}tbody tr:nth-child(2n):hover{background-color:#e9ecef}.expandable-row{cursor:pointer;font-weight:500}.expandable-row:hover{background-color:#e3f2fd!important}td{font-size:14px;padding:12px;text-align:center}.metric{color:#333;font-weight:500;position:relative}.expand-icon{color:#007bff;font-size:12px;margin-right:8px;transition:transform .2s ease}.sub-component-row{background-color:#f8f9fa!important}.sub-component-row:hover{background-color:#e9ecef!important}.sub-metric{color:#666;font-size:13px;padding-left:30px}.sub-indent{color:#666}.value{color:#333;font-weight:500}.sub-value,.value{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;text-align:center}.sub-value{color:#666;font-size:13px}.total-row{background-color:#f5f5f5!important;font-weight:700}.total-row:hover{background-color:#e9ecef!important}.grand-total-row{background-color:#d1d5db!important;font-weight:700}.grand-total-row:hover{background-color:#c1c7cd!important}.grand-total-row td,.total-row td{font-weight:700}tbody tr:has(.metric:contains("Revenue")){border-top:2px solid #28a745}tbody tr:has(.metric:contains("Net Income")){border-top:2px solid #007bff;font-weight:600}tbody tr:has(.metric:contains("Net Income")) .value{color:#007bff;font-weight:700}.graphical-container{background:#f8f9fa;border:2px dashed #dee2e6;border-radius:8px;color:#666;padding:60px 20px;text-align:center}.quarter-filter{align-items:center;background:#f8f9fa;border:1px solid #e5e7eb;border-radius:6px;display:flex;gap:10px;margin-top:10px;padding:10px}.quarter-filter label{color:#071c2b;font-size:.9rem;font-weight:400}.period-select{background:#fff;border:1px solid #ddd;border-radius:4px;color:#071c2b;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:.9rem;min-width:120px;transition:all .2s ease}.period-select:hover{border-color:#007bff}.period-select:focus{border-color:#071c2b;box-shadow:0 0 0 2px #071c2b1a}@media (max-width:768px){.income-statement-container{padding:10px}.toolbar{flex-direction:column;gap:15px}.period-selector,.view-selector{justify-content:center;width:100%}.period-button,.view-button{flex:1 1;text-align:center}table{font-size:12px}td{padding:8px 6px}thead th{padding:10px 6px}}.data-reconciliation-container{margin:0 auto;max-width:1200px;padding:24px}.reconciliation-header{margin-bottom:32px}.reconciliation-header h2{color:#1f2937;font-size:28px;font-weight:600;margin:0 0 8px}.reconciliation-header>p{color:#6b7280;font-size:14px;margin:0 0 24px}.period-selector{align-items:center;display:flex;gap:12px;margin-bottom:24px}.period-selector label{color:#374151;font-weight:500}.period-select{background-color:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;font-size:14px;padding:8px 12px}.period-select:hover{border-color:#9ca3af}.period-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.summary-badges{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.summary-badge{border-radius:6px;font-size:13px;font-weight:500;padding:6px 12px}.summary-badge.total{background-color:#f3f4f6;color:#374151}.summary-badge.ok{background-color:#d1fae5;color:#065f46}.summary-badge.medium-risk{background-color:#fef3c7;color:#92400e}.summary-badge.high-risk{background-color:#fee2e2;color:#991b1b}.reconciliation-checks{display:flex;flex-direction:column;gap:20px}.check-card{background-color:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:20px;transition:box-shadow .2s}.check-card:hover{box-shadow:0 4px 6px #0000001a}.check-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:12px}.check-title{color:#1f2937;flex:1 1;font-size:18px;font-weight:600;margin:0}.status-badge{border-radius:6px;font-size:12px;font-weight:600;letter-spacing:.5px;padding:4px 12px;text-transform:uppercase}.status-badge.ok{background-color:#d1fae5;color:#065f46}.status-badge.medium-risk{background-color:#fef3c7;color:#92400e}.status-badge.high-risk{background-color:#fee2e2;color:#991b1b}.check-description{color:#4b5563;font-size:14px;line-height:1.6;margin:0 0 16px}.check-details{background-color:#f9fafb;border-radius:6px;margin-top:12px;padding:12px}.detail-item{border-bottom:1px solid #e5e7eb;display:flex;font-size:13px;justify-content:space-between;padding:6px 0}.detail-item:last-child{border-bottom:none}.detail-label{color:#6b7280;font-weight:500;text-transform:capitalize}.detail-value{color:#1f2937;font-weight:600}.reconciliation-footer{border-top:1px solid #e5e7eb;margin-top:32px;padding-top:16px;text-align:center}.last-updated{color:#9ca3af;font-size:12px}.error-state,.loading-state,.no-data-state{padding:60px 20px;text-align:center}.error-state p,.loading-state p,.no-data-state p{color:#6b7280;font-size:16px}.spinner{border:3px solid #f3f4f6;border-top-color:#3b82f6;margin:0 auto 16px}.retry-button{background-color:#3b82f6;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;margin-top:16px;padding:8px 16px}.retry-button:hover{background-color:#2563eb}.error-state{color:#dc2626}.detail-section{background-color:#fff;border:1px solid #e5e7eb;border-radius:6px;margin-bottom:16px;padding:12px}.detail-section-title{border-bottom:2px solid #e5e7eb;color:#374151;font-size:14px;font-weight:600;margin:0 0 12px;padding-bottom:8px}.latest-month-section{background-color:#f0f9ff;border-color:#bfdbfe}.correlation-section{background-color:#fef3c7;border-color:#fcd34d}.correlation-item{background-color:#fff;border:1px solid #e5e7eb;border-radius:4px;margin-bottom:8px;padding:10px 12px}.correlation-value{color:#059669;font-size:16px;font-weight:700}.correlation-monthly-data{margin-top:20px}.correlation-table{background-color:#fff;border-collapse:collapse;border-radius:4px;font-size:12px;width:100%}.correlation-table td,.correlation-table th{border-bottom:1px solid #f3f4f6;padding:8px 12px;text-align:left}.correlation-table th{background-color:#f9fafb;color:#4b5563;font-weight:600}.correlation-table td:nth-child(2),.correlation-table td:nth-child(3){font-family:Courier New,Courier,monospace;text-align:right}.risk-rating-analytics{background:#0000;min-height:auto;padding:24px}.analytics-header{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin-bottom:32px;padding:24px}.analytics-header h2{color:#1f2937;font-size:28px;font-weight:600;margin:0 0 8px}.analytics-header p{color:#6b7280;font-size:14px;margin:0 0 16px}.config-section{align-items:flex-end;border-top:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:16px;padding-top:16px}.config-input{display:flex;flex-direction:column;gap:4px;min-width:200px}.config-input label{color:#374151;font-size:12px;font-weight:500}.config-input input{border:1px solid #d1d5db;border-radius:6px;font-size:14px;padding:8px 12px}.refresh-btn{background:#3b82f6;padding:8px 16px;transition:background .2s}.refresh-btn:hover{background:#2563eb}.analytics-error,.analytics-loading{align-items:center;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;justify-content:center;padding:64px 32px}.loading-spinner{border:4px solid #e5e7eb;border-top-color:#3b82f6;margin-bottom:16px}.analytics-error h3{color:#dc2626;margin:0 0 8px}.analytics-error p{color:#6b7280;margin:0 0 16px}.analytics-error button{background:#3b82f6;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:8px 16px}.analytics-content{display:flex;flex-direction:column;gap:24px}.rating-cards-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.rating-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:24px;transition:transform .2s,box-shadow .2s}.rating-card:hover{box-shadow:0 4px 6px #0000001a;transform:translateY(-2px)}.rating-card.overall-rating{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;grid-column:1/-1}.rating-card.overall-rating .rating-description,.rating-card.overall-rating .rating-header h3,.rating-card.overall-rating .rating-score{color:#fff}.rating-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.rating-header h3{color:#1f2937;font-size:18px;font-weight:600;margin:0}.rating-badge{border-radius:20px;color:#fff;font-size:16px;font-weight:600;min-width:60px;padding:8px 16px;text-align:center}.rating-score{color:#6b7280;font-size:14px;margin-bottom:12px}.rating-description{color:#6b7280;font-size:13px;line-height:1.5}.rating-kpis{display:flex;flex-direction:column;gap:8px;margin-top:12px}.kpi-item{align-items:center;background:#f9fafb;border-radius:4px;display:flex;font-size:12px;justify-content:space-between;padding:8px}.kpi-name{color:#374151;font-weight:500}.kpi-grade{font-size:11px;font-weight:600}.analytics-section{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:24px}.analytics-section h3{color:#1f2937;font-size:20px;font-weight:600;margin:0 0 20px}.kpi-breakdown-table{overflow-x:auto}.kpi-breakdown-table table{border-collapse:collapse;width:100%}.kpi-breakdown-table thead{background:#f9fafb}.kpi-breakdown-table th{border-bottom:2px solid #e5e7eb;color:#374151;font-size:13px;font-weight:600;padding:12px;text-align:left}.kpi-breakdown-table td{border-bottom:1px solid #e5e7eb;color:#6b7280;font-size:13px;padding:12px}.kpi-breakdown-table tbody tr:hover{background:#f9fafb}@media (max-width:768px){.rating-cards-grid{grid-template-columns:1fr}.config-section{flex-direction:column}.config-input{width:100%}}.risk-rating-table-container{background:#fff;color:#000;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;width:100%}.risk-rating-table-error,.risk-rating-table-loading{color:#000;font-family:Inter,sans-serif;padding:40px;text-align:center}.loading-spinner{animation:spin 1s linear infinite;border:3px solid #0000001a;border-radius:50%;border-top-color:#0070f9;height:40px;margin:0 auto 20px;width:40px}.button_retry{background-color:#0070f9;border:none;border-radius:8px;color:#fff;cursor:pointer;font-family:Inter,sans-serif;font-weight:600;margin-top:20px;padding:10px 20px}.button_retry:hover{background-color:#0056d6}.data_table{background:#fff;border:1px solid #e5e7eb;border-radius:15px;box-shadow:0 1px 3px #0000001a;display:flex;margin-bottom:40px;max-height:1000px;overflow-x:visible;position:relative}.nav_sec{height:0;margin-bottom:0}.nav_sec h3{color:#0070f9;font-family:Inter,sans-serif;font-weight:600;margin:0;padding:20px}.nav_sec ul{list-style:none;margin:0;padding:0}.nav_sec ul li{color:#000;cursor:pointer;font-family:Inter,sans-serif;font-size:12px;font-weight:500;height:40px;padding:10px 20px}.nav_sec ul li:hover{background-color:#0070f91a}.table_sec{flex:1 1;padding:20px}.table_container{overflow-x:auto;width:100%}.lr_table{border-collapse:collapse;width:100%}.lr_table thead th{background-color:#0070f9;border-bottom:2px solid #0056d6;color:#fff;font-family:Inter,sans-serif;font-size:12px;font-weight:600;padding:15px;text-align:left}.lr_table tbody tr{border-bottom:1px solid #e5e7eb}.lr_table tbody tr:nth-child(2n){background-color:#f9fafb}.lr_table tbody tr:nth-child(odd){background-color:#fff}.lr_table tbody tr td{color:#000;font-size:12px;font-weight:400;height:40px;padding:15px}.chip,.lr_table tbody tr td{font-family:Inter,sans-serif}.chip{align-items:center;border-radius:4px;display:inline-flex;font-size:11px;font-weight:600;height:25px;justify-content:center;margin-left:15px;min-width:75px;padding:3px 12px;text-align:center}.overall_rating .chip{margin-left:50px}.chip_1_plus{background-color:#208e4d;color:#fff}.chip_1{background-color:#108400;color:#fff}.chip_1_minus{background-color:#19c202;color:#fff}.chip_2{background-color:#acc506;color:#fff}.chip_2_minus{background-color:#bbb100;color:#fff}.chip_3_plus{background-color:#e0be05;color:#fff}.chip_3{background-color:#ffab00;color:#fff}.chip_4{background-color:#cf3434;color:#fff}.aaa_color{background-color:#208e4d;color:#fff}.aa_color{background-color:#01b05c;color:#fff}.a_color{background-color:#34cf73;color:#fff}.bbb_color{background-color:#cdc83b;color:#fff}.bb_color{background-color:#bcb735;color:#fff}.b_color{background-color:#9c9937;color:#fff}.ccc_color{background-color:#e8951a;color:#fff}.cc_color{background-color:#b77a21;color:#fff}.c_color{background-color:#735a34;color:#fff}.ddd_color{background-color:#c32e2e;color:#fff}.dd_color{background-color:#cf3434;color:#fff}.d_color{background-color:#9a3332;color:#fff}.na_color{background-color:initial;border:1px dashed #0000004d;color:#0006}.content_block{margin-top:20px;position:relative}.memo_block{background:#fff;border:1px solid #e5e7eb;border-radius:15px;box-shadow:0 1px 3px #0000001a;padding:20px}.memo_block,.memo_header{margin-bottom:20px}.memo_header label{color:#000;font-family:Inter,sans-serif;font-size:16px;font-weight:600}.memo_body{padding:10px 0}.data_card{background:#0000;height:auto;position:relative}.block_balance_sheet{margin-bottom:20px;margin-top:20px}@media (max-width:768px){.data_table{flex-direction:column}.nav_sec{width:100%}.table_sec{overflow-x:auto;width:100%}}.portfolio-allocation{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin:0 auto;max-width:1200px;padding:20px}.header{margin-bottom:30px}.header h2{color:#071c2b;font-size:28px;margin-bottom:5px;text-align:center}.version{color:#7f8c8d;font-size:14px;margin-bottom:15px}.filters{display:flex;gap:10px}.filter-tag{background-color:#ecf0f1;border:1px solid #bdc3c7;border-radius:15px;color:#071c2b;font-size:12px;padding:5px 12px}.error,.loading,.no-data{padding:40px;text-align:center}.spinner{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#6db8e7;height:40px;margin:0 auto 20px;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.error h3{color:#e74c3c;margin-bottom:10px}.retry-btn{background-color:#6db8e7;border:none;border-radius:5px;color:#fff;cursor:pointer;margin-top:15px;padding:10px 20px}.retry-btn:hover{background-color:#5a9fd4}.summary-section{margin-bottom:30px}.summary-section h3{color:#071c2b;font-size:20px;margin-bottom:20px}.summary-cards{display:flex;flex-direction:row;gap:20px;margin-bottom:30px;overflow-x:auto;padding-bottom:10px}.summary-card{background:linear-gradient(135deg,#6db8e7,#5a9fd4);border-radius:10px;box-shadow:0 4px 6px #0000001a;color:#fff;flex-shrink:0;min-width:280px;padding:20px}.summary-card h4{font-size:18px;font-weight:600;margin:0 0 15px}.summary-item{display:flex;justify-content:space-between;margin-bottom:10px;padding:5px 0}.summary-item:last-child{margin-bottom:0}.summary-item .label{font-weight:500;opacity:.9}.summary-item .value{font-size:16px;font-weight:600}.fund-tabs,.party-tabs{border-bottom:2px solid #ecf0f1;display:flex;gap:5px;margin-bottom:20px;padding-bottom:10px}.fund-tabs button,.party-tabs button{background:none;border:none;border-radius:5px 5px 0 0;color:#7f8c8d;cursor:pointer;font-weight:500;padding:10px 20px;transition:all .3s ease}.fund-tabs button:hover,.party-tabs button:hover{background-color:#ecf0f1;color:#071c2b}.fund-tabs button.active,.party-tabs button.active{background-color:#6db8e7;box-shadow:0 2px 4px #6db8e74d;color:#fff}.data-section{background-color:#f6f8f9;border-radius:10px;margin-bottom:20px;padding:20px}.data-section h4{color:#071c2b;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:18px;font-weight:600;margin-bottom:15px;text-align:center}.table-container{overflow-x:auto}.allocation-table{background-color:#fff;border-collapse:collapse;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;width:100%}.allocation-table thead{background-color:#071c2b;color:#fff}.allocation-table th{font-weight:600;letter-spacing:.5px;padding:15px 12px;text-align:center;text-transform:uppercase}.allocation-table td,.allocation-table th{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:14px}.allocation-table td{border-bottom:1px solid #ecf0f1;padding:12px}.allocation-table tbody tr:hover{background-color:#f8f9fa}.allocation-table tbody tr:last-child td{border-bottom:none}.party-id{color:#071c2b;font-weight:600}.exposure{color:#27ae60;font-weight:600;text-align:right}.percentage{color:#7f8c8d;font-weight:500;text-align:right}.actions{margin-top:30px;text-align:center}.refresh-btn{background-color:#6db8e7;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:12px 24px;transition:background-color .3s ease}.refresh-btn:hover{background-color:#5a9fd4}@media (max-width:768px){.portfolio-allocation{padding:15px}.summary-cards{grid-template-columns:1fr}.fund-tabs,.party-tabs{flex-wrap:wrap}.fund-tabs button,.party-tabs button{font-size:14px;padding:8px 16px}.allocation-table{font-size:12px}.allocation-table td,.allocation-table th{padding:8px 6px}}.portfolio-analytics{grid-gap:20px;background-color:#f6f8f9;border-radius:8px;display:grid;gap:20px;grid-template-columns:1fr 1fr;margin-top:20px;padding:20px}.portfolio-analytics,.portfolio-analytics h2{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.portfolio-analytics h2{color:#071c2b;display:block;font-size:18px;font-weight:600;grid-column:1/-1;margin-bottom:15px;text-align:center;width:100%}.distribution-charts,.performance-charts{grid-gap:20px;display:grid;gap:20px;grid-column:1/-1;grid-template-columns:1fr 1fr}.chart-wrapper{background-color:#fff;border-radius:8px;box-shadow:0 4px 8px #0000000d;padding:20px}.chart-title{color:#333;font-size:1.1em;font-weight:600;margin-bottom:15px;text-align:left}.tranche-details-form{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin-bottom:24px;overflow:hidden}.form-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:24px}.form-header h2{color:#071c2b;font-size:24px;font-weight:600;margin:0 0 8px}.form-header p{color:#6b7280;font-size:14px;margin:0}.message{border-radius:8px;font-size:14px;font-weight:500;margin:16px 24px;padding:12px 16px}.message.success{background:#d1fae5;border:1px solid #a7f3d0;color:#065f46}.message.error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.tranche-form{padding:24px}.form-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:24px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{color:#071c2b;font-size:14px;font-weight:600;margin-bottom:4px}.form-group input,.form-group select{background:#fff;border:1px solid #d1d5db;border-radius:8px;font-size:14px;padding:12px 16px;transition:all .2s}.form-group input:focus,.form-group select:focus{border-color:#6db8e7;box-shadow:0 0 0 3px #6db8e71a;outline:none}.form-group input:invalid{border-color:#ef4444}.form-group input:invalid:focus{box-shadow:0 0 0 3px #ef44441a}.form-group select{cursor:pointer}.form-group select:focus{border-color:#6db8e7;box-shadow:0 0 0 3px #6db8e71a;outline:none}.form-help{color:#6b7280;display:block;font-size:12px;margin-top:4px}.form-actions{border-top:1px solid #e2e8f0;display:flex;gap:12px;justify-content:flex-end;padding-top:20px}.btn-primary,.btn-secondary{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:all .2s}.btn-primary{background:#6db8e7;color:#fff}.btn-primary:hover:not(:disabled){background:#5a9fd4;box-shadow:0 4px 12px #6db8e74d;transform:translateY(-1px)}.btn-primary:disabled{background:#9ca3af;box-shadow:none;cursor:not-allowed;transform:none}.btn-secondary{background:#f3f4f6;border:1px solid #d1d5db;color:#374151}.btn-secondary:hover:not(:disabled){background:#e5e7eb;border-color:#9ca3af}.btn-secondary:disabled{background:#f9fafb;color:#9ca3af;cursor:not-allowed}@media (max-width:1024px){.form-grid{gap:16px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.form-actions{flex-direction:column}.btn-primary,.btn-secondary{justify-content:center;width:100%}}@media (max-width:768px){.tranche-details-form{border-radius:0;margin:0}.form-header{padding:20px}.form-header h2{font-size:20px}.tranche-form{padding:20px}.form-grid{gap:16px;grid-template-columns:1fr}.form-actions{padding-top:16px}}@media (prefers-color-scheme:dark){.tranche-details-form{background:#1f2937}.form-header{background:#374151;border-bottom-color:#4b5563}.form-header h2{color:#071c2b}.form-header p{color:#d1d5db}.form-group label{color:#071c2b}.form-group input,.form-group select{background:#374151;border-color:#4b5563;color:#f9fafb}.form-group input:focus,.form-group select:focus{border-color:#6db8e7;box-shadow:0 0 0 3px #6db8e733}.form-actions{border-top-color:#4b5563}.btn-secondary{background:#374151;border-color:#4b5563;color:#071c2b}.btn-secondary:hover:not(:disabled){background:#4b5563;border-color:#6b7280}}.portfolio-monitoring{background:#f6f8f9;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin:0;max-width:none;min-height:100vh;padding:0;width:100%}.monitoring-header{align-items:flex-start;justify-content:space-between;padding:24px}.monitoring-header,.tab-navigation{background:#fff;border-radius:0;box-shadow:0 1px 3px #0000001a;display:flex;margin-bottom:0;width:100%}.tab-navigation{gap:8px;overflow:hidden}.tab-button{align-items:center;background:#f8fafc;border:none;color:#6b7280;cursor:pointer;display:flex;flex:1 1;font-size:14px;font-weight:600;gap:8px;justify-content:center;padding:16px 24px;transition:all .2s}.tab-button:hover{background:#f1f5f9;color:#374151}.tab-button.active{background:#071c2b;color:#fff}.tab-button.active:hover{background:#071c2b}.tab-content,.uploaded-data-content{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.uploaded-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:24px}.uploaded-header h3{color:#071c2b;font-size:20px;font-weight:600;margin:0 0 8px}.uploaded-header p{color:#6b7280;font-size:14px;margin:0}.uploaded-sheets{display:flex;flex-direction:column;gap:24px;padding:24px}.uploaded-sheet{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.uploaded-sheet .sheet-header{align-items:center;background:#f1f5f9;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:16px 20px}.uploaded-sheet .sheet-header h4{color:#071c2b;font-size:16px;font-weight:600;margin:0}.sheet-meta{color:#6b7280;font-size:12px;gap:16px}.uploaded-sheet .sheet-content{padding:0}.header-content{flex:1 1}.monitoring-title{color:#071c2b;font-size:28px;font-weight:700;line-height:1.2;margin:0 0 8px}.monitoring-subtitle{color:#6b7280;font-size:16px;line-height:1.5;margin:0}.header-actions{align-items:center;display:flex;gap:12px}.refresh-all-button{align-items:center;background:#6db8e7;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:all .2s}.refresh-all-button:hover:not(:disabled){background:#5a9fd4;box-shadow:0 4px 12px #6db8e74d;transform:translateY(-1px)}.refresh-all-button:disabled{background:#9ca3af;box-shadow:none;cursor:not-allowed;transform:none}.error-banner{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:24px;overflow:hidden}.error-content{align-items:center;display:flex;gap:12px;padding:12px 16px}.error-icon{font-size:16px}.error-message{color:#dc2626;flex:1 1;font-size:14px;font-weight:500}.error-dismiss{background:none;border:none;border-radius:4px;color:#dc2626;cursor:pointer;font-size:18px;padding:4px;transition:background-color .2s}.error-dismiss:hover{background:#fee2e2}.sheet-navigation{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:24px;overflow:hidden}.nav-tabs{background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex}.nav-tab{background:none;border:none;border-right:1px solid #e2e8f0;cursor:pointer;flex:1 1;padding:20px 24px;text-align:left;transition:all .2s}.nav-tab:last-child{border-right:none}.nav-tab:hover{background:#f1f5f9}.nav-tab.active{background:#fff;border-bottom:3px solid #6db8e7;color:#071c2b}.tab-content{display:flex;flex-direction:column;gap:4px}.tab-title{color:inherit;font-size:16px;font-weight:600;margin:0}.tab-description{color:#6b7280;font-size:14px;margin:0}.sheet-content{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:24px;overflow:hidden}.sheet-header{align-items:flex-start;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:24px}.sheet-info{flex:1 1}.sheet-title{color:#071c2b;font-size:18px;font-weight:400;margin:0 0 8px}.sheet-description{color:#6b7280;font-size:14px;line-height:1.5;margin:0}.sheet-meta{align-items:center;display:flex;gap:12px}.auto-refresh-indicator{background:#d1fae5;border-radius:4px;color:#059669;font-size:12px;font-weight:500;padding:4px 8px}.sheet-viewer{padding:0}.quick-stats{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:24px}.stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.stat-card{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:16px;padding:20px;transition:all .2s}.stat-card:hover{background:#f1f5f9;border-color:#cbd5e1;box-shadow:0 2px 8px #0000001a;transform:translateY(-1px)}.stat-icon{align-items:center;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;font-size:32px;height:48px;justify-content:center;width:48px}.stat-content{flex:1 1}.stat-value{color:#071c2b;font-size:24px;font-weight:700;line-height:1;margin:0 0 4px}.stat-label{color:#6b7280;font-size:14px;font-weight:500;margin:0}@media (max-width:1024px){.portfolio-monitoring{padding:16px}.monitoring-header{align-items:stretch;flex-direction:column;gap:16px}.header-actions{justify-content:flex-end}.nav-tabs{flex-direction:column}.nav-tab{border-bottom:1px solid #e2e8f0;border-right:none}.nav-tab:last-child{border-bottom:none}.nav-tab.active{border-bottom:1px solid #e2e8f0;border-left:3px solid #6db8e7}.sheet-header{align-items:stretch;flex-direction:column;gap:12px}.stats-grid{gap:16px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.stat-card{flex-direction:column;gap:12px;text-align:center}.stat-icon{font-size:24px;height:40px;width:40px}.stat-value{font-size:20px}}@media (max-width:768px){.monitoring-title{font-size:24px}.monitoring-subtitle{font-size:14px}.refresh-all-button{font-size:13px;padding:10px 16px}.nav-tab{padding:16px 20px}.tab-title{font-size:15px}.tab-description{font-size:13px}.sheet-header{padding:20px}.sheet-title{font-size:18px;font-weight:400}.stats-grid{gap:12px;grid-template-columns:1fr}.stat-card{padding:16px}}@media (prefers-color-scheme:dark){.portfolio-monitoring{background:#111827}.monitoring-header{background:#1f2937;color:#f9fafb}.monitoring-title{color:#071c2b}.monitoring-subtitle{color:#d1d5db}.sheet-navigation{background:#1f2937}.nav-tabs{background:#374151;border-bottom-color:#4b5563}.nav-tab{border-right-color:#4b5563;color:#f9fafb}.nav-tab:hover{background:#4b5563}.nav-tab.active{background:#1f2937;color:#071c2b}.tab-description{color:#d1d5db}.sheet-content{background:#1f2937}.sheet-header{background:#374151;border-bottom-color:#4b5563}.sheet-title{color:#071c2b;font-weight:400}.sheet-description{color:#d1d5db}.quick-stats{background:#1f2937}.stat-card{background:#374151;border-color:#4b5563}.stat-card:hover{background:#4b5563;border-color:#6b7280}.stat-icon{background:#1f2937}.stat-value{color:#071c2b}.stat-label{color:#d1d5db}}
/*# sourceMappingURL=main.35507503.css.map*/