.attribution-dashboard{padding:24px;background:#f8fafc;min-height:100vh}.dashboard-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px}.dashboard-header h2{font-size:28px;font-weight:700;color:#1e293b;margin:0 0 8px}.text-muted{color:#64748b;font-size:14px}.model-selector{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:32px}.model-card{background:#fff;border:2px solid #e2e8f0;border-radius:12px;padding:16px;cursor:pointer;transition:all .2s ease;text-align:left}.model-card:hover{border-color:#6366f1;transform:translateY(-2px);box-shadow:0 4px 12px #6366f11a}.model-card.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);border-color:#6366f1;color:#fff}.model-label{font-weight:600;font-size:16px;margin-bottom:4px}.model-description{font-size:12px;opacity:.8}.model-card.active .model-description{opacity:.9}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-bottom:32px}.stat-card{background:#fff;border-radius:12px;padding:20px;display:flex;gap:16px;align-items:center;box-shadow:0 1px 3px #0000001a;transition:all .2s ease}.stat-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.stat-content{flex:1}.stat-label{font-size:13px;color:#64748b;font-weight:500;margin-bottom:4px}.stat-value{font-size:24px;font-weight:700;color:#1e293b}.chart-container{background:#fff;border-radius:12px;padding:24px;margin-bottom:32px;box-shadow:0 1px 3px #0000001a}.chart-container h3{font-size:18px;font-weight:600;color:#1e293b;margin:0 0 24px}.channels-table{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a;margin-bottom:32px}.channels-table h3{font-size:18px;font-weight:600;color:#1e293b;margin:0 0 20px}.channels-table table{width:100%;border-collapse:collapse}.channels-table thead{background:#f8fafc;border-bottom:2px solid #e2e8f0}.channels-table th{padding:12px 16px;text-align:left;font-size:13px;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.5px}.channels-table td{padding:16px;border-bottom:1px solid #e2e8f0;font-size:14px;color:#334155}.channels-table tbody tr:hover{background:#f8fafc}.channel-name{font-weight:600;color:#1e293b}.credit-bar{position:relative;height:24px;background:#e2e8f0;border-radius:6px;overflow:hidden;display:flex;align-items:center;padding:0 8px}.credit-fill{position:absolute;left:0;top:0;height:100%;background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:6px;transition:width .3s ease}.credit-bar span{position:relative;z-index:1;font-size:12px;font-weight:600;color:#1e293b}.comparison-view{background:#fff;border-radius:12px;padding:24px;margin-bottom:32px;box-shadow:0 1px 3px #0000001a}.comparison-view h3{font-size:20px;font-weight:600;color:#1e293b;margin:0 0 8px}.comparison-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:20px}.comparison-card{background:#f8fafc;border:2px solid #e2e8f0;border-radius:12px;padding:20px;transition:all .2s ease}.comparison-card:hover{border-color:#6366f1;box-shadow:0 4px 12px #6366f11a}.comparison-card h4{font-size:16px;font-weight:600;color:#1e293b;margin:0 0 16px;text-transform:uppercase;letter-spacing:.5px}.comparison-stats{display:flex;flex-direction:column;gap:12px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #e2e8f0}.comparison-stats>div{display:flex;justify-content:space-between;align-items:center}.comparison-stats .label{font-size:13px;color:#64748b;font-weight:500}.comparison-stats .value{font-size:16px;font-weight:700;color:#1e293b}.top-channels{display:flex;flex-direction:column;gap:8px}.channel-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#fff;border-radius:6px;font-size:13px}.channel-item span:first-child{color:#64748b}.channel-item span:last-child{font-weight:600;color:#1e293b}.btn{padding:10px 20px;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s ease;border:none;display:inline-flex;align-items:center;gap:8px}.btn-secondary{background:#fff;color:#6366f1;border:2px solid #6366f1}.btn-secondary:hover{background:#6366f1;color:#fff}.btn:disabled{opacity:.5;cursor:not-allowed}.loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172ab3;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.spinner{width:48px;height:48px;border:4px solid rgba(99,102,241,.2);border-top-color:#6366f1;border-radius:50%;animation:spin .8s linear infinite}.loading-overlay p{color:#fff;font-size:16px;font-weight:600;margin-top:16px}@media (max-width: 768px){.model-selector{grid-template-columns:1fr 1fr}.stats-grid,.comparison-grid{grid-template-columns:1fr}}.platform-comparison{padding:24px;background:#f8fafc;min-height:100vh}.comparison-header{margin-bottom:32px}.comparison-header h2{font-size:28px;font-weight:700;color:#1e293b;margin:0 0 8px;display:flex;align-items:center;gap:12px}.comparison-header h2 svg{color:#6366f1}.comparison-header p{color:#64748b;font-size:15px;line-height:1.6}.subtitle{color:#64748b;font-size:14px;margin-bottom:8px}.refresh-button{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;padding:10px 20px;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;margin-bottom:24px;transition:all .2s ease}.refresh-button:hover{transform:translateY(-2px);box-shadow:0 8px 16px #6366f14d}.refresh-button:disabled{opacity:.6;cursor:not-allowed}.alert{padding:16px 20px;border-radius:12px;margin-bottom:24px;display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.6}.alert svg{flex-shrink:0;margin-top:2px}.alert-warning{background:#fef3c7;border:2px solid #fbbf24;color:#92400e}.alert-warning svg{color:#f59e0b}.alert-error{background:#fee2e2;border:2px solid #f87171;color:#991b1b}.alert-error svg{color:#dc2626}.alert-success{background:#d1fae5;border:2px solid #34d399;color:#065f46}.alert-success svg{color:#10b981}.why-section{background:#fff;border-radius:12px;padding:24px;margin-bottom:32px;box-shadow:0 1px 3px #0000001a}.why-section h3{font-size:20px;font-weight:600;color:#1e293b;margin:0 0 16px;display:flex;align-items:center;gap:8px}.why-section h3 svg{color:#10b981}.reason-item{padding:12px 0;border-bottom:1px solid #e2e8f0}.reason-item:last-child{border-bottom:none}.reason-item strong{color:#1e293b;font-weight:600}.comparison-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;margin-bottom:32px}.platform-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0000001a;transition:all .2s ease}.platform-card:hover{box-shadow:0 8px 24px #0000001f;transform:translateY(-4px)}.card-header{padding:20px;display:flex;align-items:center;gap:16px;border-bottom:2px solid #e2e8f0}.card-header.attributo{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.card-header.meta{background:linear-gradient(135deg,#1877f2,#0a63d1);color:#fff}.card-header.google{background:linear-gradient(135deg,#4285f4,#34a853);color:#fff}.platform-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fff3;font-size:24px}.platform-info h3{font-size:20px;font-weight:700;margin:0 0 4px}.platform-tag{font-size:11px;text-transform:uppercase;letter-spacing:.5px;opacity:.9;font-weight:600}.card-stats{padding:24px}.stat-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #e2e8f0}.stat-row:last-child{border-bottom:none}.stat-label{font-size:14px;color:#64748b;font-weight:500}.stat-value{font-size:18px;font-weight:700;color:#1e293b}.stat-value.positive{color:#10b981}.stat-value.negative{color:#ef4444}.discrepancy-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:20px;font-size:13px;font-weight:600}.discrepancy-badge.positive{background:#d1fae5;color:#065f46}.discrepancy-badge.negative{background:#fee2e2;color:#991b1b}.insights-section{background:#fff;border-radius:12px;padding:24px;margin-bottom:32px;box-shadow:0 1px 3px #0000001a}.insights-section h3{font-size:20px;font-weight:600;color:#1e293b;margin:0 0 20px}.insight-card{padding:16px;border-radius:8px;margin-bottom:12px;display:flex;gap:12px}.insight-card:last-child{margin-bottom:0}.insight-card.warning{background:#fef3c7;border-left:4px solid #f59e0b}.insight-card.info{background:#dbeafe;border-left:4px solid #3b82f6}.insight-card.success{background:#d1fae5;border-left:4px solid #10b981}.insight-icon{flex-shrink:0;margin-top:2px}.insight-content h4{font-size:15px;font-weight:600;margin:0 0 4px;color:#1e293b}.insight-content p{font-size:14px;color:#475569;margin:0;line-height:1.5}.impact-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase;margin-top:8px}.impact-badge.high{background:#fee2e2;color:#991b1b}.impact-badge.medium{background:#fef3c7;color:#92400e}.impact-badge.low{background:#dbeafe;color:#1e40af}.recommendations-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a}.recommendations-section h3{font-size:20px;font-weight:600;color:#1e293b;margin:0 0 16px;display:flex;align-items:center;gap:8px}.recommendations-section h3 svg{color:#6366f1}.recommendation-list{list-style:none;padding:0;margin:0}.recommendation-item{padding:12px 16px 12px 40px;position:relative;background:#f8fafc;border-radius:8px;margin-bottom:12px;font-size:14px;color:#334155;line-height:1.6}.recommendation-item:last-child{margin-bottom:0}.recommendation-item:before{content:"✓";position:absolute;left:14px;width:20px;height:20px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}.loading-state{text-align:center;padding:80px 20px}.loading-state .spinner{width:48px;height:48px;border:4px solid rgba(99,102,241,.2);border-top-color:#6366f1;border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 20px}@keyframes spin{to{transform:rotate(360deg)}}.loading-state p{color:#64748b;font-size:16px;font-weight:500}@media (max-width: 768px){.comparison-cards{grid-template-columns:1fr}}
