@import url(https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap);body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.dashboard-trial-name .trial-name-display{margin:-2px 0;padding:2px 8px}.dashboard-trial-name .trial-name-text{color:#1976d2;font-size:14px;font-weight:600;max-width:300px}.dashboard-trial-name .edit-trial-name-btn{color:#1976d2}.dashboard-trial-name .edit-trial-name-btn:hover{color:#0d47a1}.dashboard-trial-name .trial-name-input{border-color:#2196f3;font-size:14px;padding:6px 10px}.dashboard-trial-name .trial-name-input:focus{border-color:#1976d2;box-shadow:0 0 0 3px #2196f31a}@media (max-width:768px){.dashboard-trial-name .trial-name-text{max-width:200px}}@media (max-width:480px){.dashboard-trial-name .trial-name-text{max-width:150px}}.info-cards-row{align-items:stretch;display:flex;gap:16px;margin-bottom:16px}.info-card-half{display:flex;flex:1 1;flex-direction:column;min-width:0}.info-card-half>*{flex:1 1}@media (max-width:768px){.info-cards-row{flex-direction:column;gap:12px}.info-card-half{width:100%}}@media (min-width:769px) and (max-width:1024px){.info-cards-row{gap:12px}}.metric-info-button{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;justify-content:center;margin-left:8px;padding:2px}.question-mark-circle{align-items:center;background-color:#87ceeb;border-radius:50%;display:flex;height:16px;justify-content:center;transition:all .2s ease;width:16px}.metric-info-button:hover .question-mark-circle{background-color:#4fb3d9;transform:scale(1.1)}.question-mark{color:#fff;font-size:10px;font-weight:700;line-height:1}.metric-tooltip-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.metric-tooltip-popup{background:#fff;border-radius:8px;box-shadow:0 10px 30px #0000004d;max-height:90vh;max-width:400px;overflow-y:auto;width:100%}.tooltip-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e0e0e0;border-radius:8px 8px 0 0;display:flex;justify-content:space-between;padding:16px 20px}.tooltip-header h3{color:#333;font-size:1.1rem;margin:0}.tooltip-close{background:none;border:none;border-radius:4px;color:#666;cursor:pointer;font-size:20px;padding:4px}.tooltip-close:hover{background:#e0e0e0}.tooltip-content{padding:16px 20px}.metric-description{word-wrap:break-word;color:#555;line-height:1.5;margin:0 0 16px;overflow-wrap:break-word;white-space:normal}.metric-details{display:flex;flex-direction:column;gap:8px}.detail-row{align-items:center;display:flex;justify-content:space-between;padding:4px 0}.detail-label{color:#666;font-size:14px;font-weight:500}.detail-value{color:#333;font-size:14px;font-weight:600}.detail-value.warning{color:#d32f2f}.detail-value.normal{color:#2e7d31}@media (max-width:768px){.metric-tooltip-overlay{padding:10px}.metric-tooltip-popup{max-width:calc(100% - 20px)}.tooltip-content,.tooltip-header{padding:12px 16px}}.download-pdf-button{align-items:center;background-color:#fff;border:1px solid #2196f3;border-radius:6px;color:#2196f3;cursor:pointer;display:inline-flex;font-family:inherit;font-size:14px;font-weight:500;gap:8px;padding:6px 12px;transition:all .2s ease}.download-pdf-button:hover{background-color:#e3f2fd;box-shadow:0 2px 4px #2196f333;transform:translateY(-1px)}.download-pdf-button:active{transform:translateY(0)}.download-pdf-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.download-pdf-button.downloading{background-color:#e3f2fd}.download-pdf-button .spinner{animation:spin 1s linear infinite}.download-pdf-button svg{flex-shrink:0}@media (max-width:768px){.download-pdf-button{font-size:13px;padding:5px 10px}.download-pdf-button svg{height:14px;width:14px}.download-pdf-button span{display:none}}@media (max-width:480px){.download-pdf-button{justify-content:center;min-width:32px;padding:6px}}.garmin-modal-backdrop{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.garmin-modal{animation:modalSlideIn .3s ease-out;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;display:flex;flex-direction:column;max-height:80vh;max-width:600px;width:100%}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.garmin-modal-header{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:20px 24px}.garmin-modal-header h2{color:#333;font-size:20px;font-weight:600;margin:0}.modal-close-btn{align-items:center;background:none;border:none;border-radius:4px;color:#666;cursor:pointer;display:flex;font-size:24px;height:32px;justify-content:center;padding:0;transition:background-color .2s;width:32px}.modal-close-btn:hover{background-color:#f0f0f0}.garmin-modal-body{flex:1 1;overflow-y:auto;padding:20px 24px}.modal-subtitle{color:#666;font-size:14px;margin:0 0 20px}.activity-list{display:flex;flex-direction:column;gap:12px}.garmin-activity-card{background:#f8f9fa;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;padding:16px;position:relative;transition:all .2s ease}.garmin-activity-card:hover{background:#f0f4f8;border-color:#4caf50;box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.garmin-activity-card.selected{background:#e8f5e9;border-color:#4caf50;border-width:3px;box-shadow:0 4px 12px #4caf5033}.activity-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.activity-title{align-items:center;display:flex;gap:8px}.activity-icon{font-size:24px}.activity-title h3{color:#333;font-size:16px;font-weight:600;margin:0}.activity-type-badge{background:#2196f3;border-radius:12px;color:#fff;font-size:12px;font-weight:500;padding:4px 12px;text-transform:capitalize}.activity-time{color:#666;font-size:14px;margin-bottom:12px}.activity-metrics{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.metric{display:flex;flex-direction:column;gap:4px}.metric-label{color:#999;font-size:12px;font-weight:500}.metric-value{color:#333;font-size:14px;font-weight:600}.selected-indicator{align-items:center;background:#4caf50;border-radius:50%;box-shadow:0 2px 8px #4caf504d;color:#fff;display:flex;font-weight:700;height:28px;justify-content:center;position:absolute;right:12px;top:12px;width:28px}.checkmark{font-size:16px}.loading-container{align-items:center;display:flex;flex-direction:column;gap:16px;justify-content:center;padding:40px}.spinner{border:3px solid #f0f0f0;border-top-color:#2196f3;height:40px;width:40px}.error-container{align-items:center;display:flex;flex-direction:column;gap:12px;padding:40px}.error-message{color:#d32f2f;text-align:center}.retry-btn{background:#2196f3;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:background-color .2s}.retry-btn:hover{background:#1976d2}.empty-state{color:#666;padding:40px 20px;text-align:center}.empty-state p:first-child{font-size:16px;font-weight:500;margin-bottom:8px}.empty-state-hint{color:#999;font-size:14px}.garmin-modal-footer{border-top:1px solid #e0e0e0;display:flex;gap:12px;justify-content:flex-end;padding:16px 24px}.btn-primary,.btn-secondary{border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .2s}.btn-secondary{background:#f0f0f0;color:#333}.btn-secondary:hover:not(:disabled){background:#e0e0e0}.btn-primary{background:#4caf50;color:#fff}.btn-primary:hover:not(:disabled){background:#45a049}.btn-primary:disabled,.btn-secondary:disabled{cursor:not-allowed;opacity:.5}.garmin-integration-section{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-top:24px;padding:24px}.garmin-section-header{align-items:center;display:flex;gap:12px;margin-bottom:16px}.garmin-section-header h3{color:#333;font-size:18px;font-weight:600;margin:0}.garmin-icon{font-size:24px}.garmin-status{background:#e8f5e9;border-radius:6px;color:#2e7d32;font-size:14px;gap:8px;margin-bottom:16px;padding:12px}.status-icon{font-size:18px}.link-garmin-btn{align-items:center;background:#4caf50;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:12px 24px;transition:all .2s}.link-garmin-btn:hover{background:#45a049;box-shadow:0 4px 12px #4caf504d;transform:translateY(-2px)}.link-garmin-btn:disabled{background:#ccc;box-shadow:none;cursor:not-allowed;transform:none}.linked-activity-display{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px;padding:20px}.linked-activity-header{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:12px}.linked-activity-title h4{color:#333;font-size:18px;font-weight:600;margin:0 0 4px}.linked-activity-subtitle{color:#666;font-size:14px}.unlink-btn{background:#f44336;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:13px;padding:8px 16px;transition:background-color .2s}.unlink-btn:hover{background:#d32f2f}.linked-metrics-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-top:16px}.linked-metric{display:flex;flex-direction:column;gap:4px}.linked-metric-label{color:#999;font-size:12px;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.linked-metric-value{color:#333;font-size:18px;font-weight:600}@media (max-width:768px){.garmin-modal{max-height:90vh;max-width:100%}.activity-metrics{grid-template-columns:1fr 1fr}.linked-metrics-grid{grid-template-columns:1fr}}.trial-interpretation{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin:20px 0;overflow:hidden;transition:all .3s ease}.trial-interpretation.priority-high{border-left:4px solid #f44}.trial-interpretation.priority-low{border-left:4px solid #4f4}.interpretation-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;cursor:pointer;display:flex;justify-content:space-between;padding:16px 20px;-webkit-user-select:none;user-select:none}.header-left{align-items:center;display:flex;gap:15px}.ai-badge{background:#fff3;border-radius:20px;font-size:16px;font-weight:600;padding:6px 12px}.metrics-count{font-size:14px;opacity:.9}.expand-button{background:#fff3;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px;transition:background .2s}.expand-button:hover{background:#ffffff4d}.interpretation-summary-quick{background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;gap:20px;padding:16px 20px}.quick-stat{align-items:center;background:#fff;border-radius:6px;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;padding:10px 20px;transition:all .2s ease}.quick-stat.clickable{cursor:pointer}.quick-stat.clickable:hover{box-shadow:0 4px 8px #00000026;transform:translateY(-2px)}.quick-stat.clickable:active{box-shadow:0 2px 4px #0000001a;transform:translateY(0)}.quick-stat strong{font-size:24px;font-weight:700}.quick-stat.concerns strong{color:#f44}.quick-stat.concerns.clickable:hover{background:#fff5f5;border:2px solid #f44}.quick-stat.asymmetries strong{color:#f94}.quick-stat.asymmetries.clickable:hover{background:#fff8f0;border:2px solid #f94}.quick-stat.strengths strong{color:#4f4}.quick-stat.strengths.clickable:hover{background:#f0fff0;border:2px solid #4f4}.interpretation-content{padding:20px}.collapsible-section{border:1px solid #e9ecef;border-radius:8px;margin-bottom:20px;overflow:hidden;transition:all .3s ease}.collapsible-section:hover{box-shadow:0 2px 4px #0000000d}.section-header{align-items:center;background:#f8f9fa;cursor:pointer;display:flex;justify-content:space-between;padding:12px 16px;transition:background .2s ease;-webkit-user-select:none;user-select:none}.section-header:hover{background:#e9ecef}.section-header h3{border:none;color:#2c3e50;font-size:16px;margin:0;padding:0}.collapse-button{background:none;border:none;color:#667eea;cursor:pointer;font-size:14px;padding:4px 8px;transition:transform .2s ease}.collapse-button:hover{transform:scale(1.1)}.ai-summary-text{background:#fff;border-left:4px solid #667eea;line-height:1.6;padding:15px}.ai-summary-text p{margin:8px 0}.ai-summary-text p:first-child{margin-top:0}.ai-summary-text p:last-child{margin-bottom:0}.ai-summary-text strong{color:#2c3e50;font-weight:600}.ai-summary-preview{animation:fadeIn .3s ease;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;box-shadow:0 4px 6px #667eea40;color:#fff;padding:16px}.ai-summary-preview .summary-text{font-size:15px;font-weight:500;line-height:1.6;margin-bottom:8px}.ai-summary-preview .summary-hint{border-top:1px solid #fff3;font-size:12px;font-style:italic;margin-top:8px;opacity:.9;padding-top:8px}.quick-stats-row{display:flex;flex-wrap:wrap;gap:12px}.asymmetries-list,.concerns-list,.strengths-list{display:flex;flex-direction:column;gap:15px}.concern-card{background:#fff;border:1px solid #ffcdd2;border-left:4px solid #f44;border-radius:6px;padding:16px;transition:transform .2s,box-shadow .2s}.concern-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.priority-badge{border-radius:12px;font-size:11px;font-weight:700;padding:4px 12px}.priority-badge.priority-high{background:#ffebee;color:#c62828}.priority-badge.priority-medium{background:#fff3e0;color:#ef6c00}.concern-values{grid-gap:12px;border-top:1px solid #e9ecef;display:grid;gap:12px;grid-template-columns:1fr 1fr;margin-top:12px;padding-top:12px}.value-item{display:flex;flex-direction:column;gap:4px}.value-item .label{color:#78909c;font-size:12px;font-weight:600}.value-item .value{color:#2c3e50;font-size:18px;font-weight:700}.value-item .status{border-radius:4px;display:inline-block;font-size:12px;margin-top:4px;padding:4px 8px}.status.status-normal{background:#e8f5e9;color:#2e7d32}.status.status-high{background:#ffebee;color:#c62828}.status.status-low{background:#e3f2fd;color:#1565c0}.asymmetry-indicator,.risks-indicator{border-radius:4px;font-size:13px;font-weight:500;margin-top:12px;padding:8px 12px}.asymmetry-indicator{background:#fff3e0;color:#e65100}.risks-indicator{background:#ffebee;color:#c62828}.asymmetry-card{background:#fff;border:1px solid #ffe0b2;border-left:4px solid #ff9800;border-radius:6px;padding:16px;transition:transform .2s,box-shadow .2s}.asymmetry-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.asymmetry-values{display:flex;flex-direction:column;gap:12px}.value-bar{grid-gap:12px;align-items:center;display:grid;gap:12px;grid-template-columns:60px 1fr 80px}.side-label{color:#2c3e50;font-weight:600}.bar-container{background:#e9ecef;border-radius:12px;height:24px;overflow:hidden}.bar{height:100%;transition:width .5s ease}.bar.left{background:linear-gradient(90deg,#667eea,#764ba2)}.bar.right{background:linear-gradient(90deg,#f093fb,#f5576c)}.value-label{color:#2c3e50;font-weight:600;text-align:right}.asymmetry-bar-container{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;margin:16px 0;padding:20px 16px}.asymmetry-labels{color:#6b7280;display:flex;font-size:11px;font-weight:600;justify-content:space-between;letter-spacing:.5px;margin-bottom:10px;text-transform:uppercase}.label-center{color:#9ca3af}.asymmetry-bar{background:linear-gradient(90deg,#ef4444 0,#f59e0b 20%,#10b981 50%,#f59e0b 80%,#ef4444);border-radius:22px;box-shadow:inset 0 2px 4px #0000001a;height:44px;margin-bottom:28px;position:relative}.center-line{background-color:#fff9;bottom:0;box-shadow:0 0 4px #0003;left:50%;position:absolute;top:0;transform:translateX(-50%);width:2px;z-index:1}.asymmetry-marker{align-items:center;display:flex;gap:6px;position:absolute;top:50%;transform:translate(-50%,-50%);transition:left .3s ease;z-index:2}.marker-dot{animation:pulse-marker 2s ease-in-out infinite;background-color:#fff;border:3px solid;border-radius:50%;box-shadow:0 3px 10px #0006;height:18px;width:18px}@keyframes pulse-marker{0%,to{box-shadow:0 3px 10px #0006;transform:scale(1)}50%{box-shadow:0 4px 14px #00000080;transform:scale(1.15)}}.marker-arrow{animation:bounce-arrow 1s ease-in-out infinite;color:#fff;font-size:18px;font-weight:700;text-shadow:0 2px 4px #0009}.marker-arrow.left{animation:bounce-arrow-left 1s ease-in-out infinite;margin-right:-4px}.marker-arrow.right{animation:bounce-arrow-right 1s ease-in-out infinite;margin-left:-4px}@keyframes bounce-arrow-left{0%,to{transform:translateX(0)}50%{transform:translateX(-3px)}}@keyframes bounce-arrow-right{0%,to{transform:translateX(0)}50%{transform:translateX(3px)}}.direction-label{font-size:13px;font-weight:700;letter-spacing:.3px;position:absolute;text-shadow:0 1px 3px #fffc;top:calc(100% + 10px);transform:translateX(-50%);white-space:nowrap}.asymmetry-values-new{background-color:#fff;border:1px solid #e5e7eb;border-radius:6px;display:flex;justify-content:space-between;margin-top:8px;padding:14px 18px}.asymmetry-values-new .value-item{display:flex;flex-direction:column;gap:4px}.asymmetry-values-new .value-item.left{align-items:flex-start}.asymmetry-values-new .value-item.right{align-items:flex-end}.asymmetry-values-new .value-label{color:#9ca3af;font-size:10px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.asymmetry-values-new .value-number{color:#1f2937;font-size:22px;font-weight:700;line-height:1}.asymmetry-values-new .value-unit{color:#6b7280;font-size:11px;font-weight:600;letter-spacing:.3px;text-transform:uppercase}@media (max-width:768px){.asymmetry-bar-container{padding:16px 12px}.asymmetry-bar{height:36px;margin-bottom:24px}.marker-dot{border-width:2.5px;height:14px;width:14px}.marker-arrow{font-size:14px}.direction-label{font-size:11px;top:calc(100% + 8px)}.asymmetry-values-new{padding:12px 14px}.asymmetry-values-new .value-number{font-size:18px}.asymmetry-values-new .value-label{font-size:9px}.asymmetry-values-new .value-unit{font-size:10px}}.asymmetry-values{display:none}.strength-card{background:#fff;border:1px solid #c8e6c9;border-left:4px solid #4caf50;border-radius:6px;padding:16px;transition:transform .2s,box-shadow .2s}.strength-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.interpretation-error,.interpretation-loading{color:#546e7a;padding:40px;text-align:center}.interpretation-loading .spinner{animation:spin 1s linear infinite;border:4px solid #e9ecef;border-radius:50%;border-top-color:#667eea;height:40px;margin:0 auto 16px;width:40px}.interpretation-error{background:#ffebee;border-radius:6px;color:#c62828}.axis-badge{align-items:center;border-radius:4px;box-shadow:0 2px 4px #0000001a;color:#fff;display:inline-flex;flex-shrink:0;font-size:11px;font-weight:700;justify-content:center;letter-spacing:.5px;min-width:32px;padding:4px 8px;text-transform:uppercase;transition:all .2s ease}.axis-badge:hover{box-shadow:0 3px 6px #00000026;transform:translateY(-1px)}.axis-vertical{background-color:#10b981!important}.axis-anterior{background-color:#3b82f6!important}.axis-lateral{background-color:#f59e0b!important}.axis-general{background-color:#6b7280!important}.concern-header{align-items:center;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.metric-name-section{flex:1 1;min-width:0}.metric-name-section h4{color:#1f2937;font-size:16px;font-weight:600;margin:0 0 4px;overflow:hidden;text-overflow:ellipsis}.activity-badge{color:#6b7280;display:inline-block;font-size:11px;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.concern-description{background-color:#f9fafb;border-left:3px solid #8b5cf6;border-radius:4px;color:#4b5563;font-size:14px;line-height:1.5;margin:0 0 16px;padding:12px}.concern-description strong{color:#8b5cf6;font-weight:600}.asymmetry-header{align-items:center;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.asymmetry-header h4{color:#1f2937;flex:1 1;font-size:16px;font-weight:600;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis}.asymmetry-message{background-color:#fff8f0;border-left:3px solid #f59e0b;border-radius:4px;color:#4b5563;font-size:14px;margin:0 0 16px;padding:12px}.asymmetry-message strong{color:#f59e0b;font-weight:600}.strength-header{align-items:center;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.strength-header h4{color:#1f2937;flex:1 1;font-size:16px;font-weight:600;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis}.strength-message{background-color:#f0fdf4;border-left:3px solid #10b981;border-radius:4px;color:#4b5563;font-size:14px;margin:0 0 16px;padding:12px}.strength-message strong{color:#10b981;font-weight:600}@media (max-width:768px){.axis-badge{font-size:10px;min-width:28px;padding:3px 6px}.asymmetry-header,.concern-header,.strength-header{gap:8px}.asymmetry-header h4,.metric-name-section h4,.strength-header h4{font-size:14px}.ai-summary-preview{padding:12px}.ai-summary-preview .summary-text{font-size:14px;line-height:1.5}.ai-summary-preview .summary-hint{font-size:11px}.quick-stats-row{gap:8px}.quick-stat{flex:1 1;min-width:calc(50% - 4px);padding:10px}.quick-stat strong{font-size:20px}}.editable-trial-name{display:inline-flex}.editable-trial-name,.trial-name-display{align-items:center;gap:8px;max-width:100%}.trial-name-display{background-color:initial;border:1px solid #0000;border-radius:6px;cursor:pointer;display:flex;padding:6px 12px;transition:all .2s ease}.trial-name-display:hover{background-color:#8b5cf61a;border-color:#8b5cf64d}.trial-name-text{color:#1f2937;font-size:18px;font-weight:600;max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edit-trial-name-btn{background:none;border:none;color:#8b5cf6;cursor:pointer;display:none;flex-shrink:0;opacity:0;padding:4px;transition:opacity .2s ease}.trial-name-display:hover .edit-trial-name-btn{align-items:center;display:flex;justify-content:center;opacity:1}.edit-trial-name-btn:hover{color:#7c3aed;transform:scale(1.1)}.edit-trial-name-btn:focus{border-radius:4px;outline:2px solid #8b5cf6;outline-offset:2px}.trial-name-editor{align-items:center;display:flex;gap:8px;max-width:500px;position:relative;width:100%}.trial-name-input{background-color:#fff;border:2px solid #8b5cf6;border-radius:6px;color:#1f2937;flex:1 1;font-size:16px;font-weight:600;min-width:200px;outline:none;padding:8px 12px;transition:all .2s ease}.trial-name-input:focus{border-color:#7c3aed;box-shadow:0 0 0 3px #8b5cf61a}.trial-name-input:disabled{background-color:#f3f4f6;cursor:not-allowed;opacity:.7}.trial-name-editor-actions{display:flex;flex-shrink:0;gap:6px}.cancel-trial-name-btn,.save-trial-name-btn{align-items:center;border:none;border-radius:6px;cursor:pointer;display:flex;height:32px;justify-content:center;padding:0;transition:all .2s ease;width:32px}.save-trial-name-btn{background-color:#10b981;color:#fff}.save-trial-name-btn:hover:not(:disabled){background-color:#059669;box-shadow:0 2px 4px #10b9814d;transform:scale(1.05)}.cancel-trial-name-btn{background-color:#ef4444;color:#fff}.cancel-trial-name-btn:hover:not(:disabled){background-color:#dc2626;box-shadow:0 2px 4px #ef44444d;transform:scale(1.05)}.cancel-trial-name-btn:disabled,.save-trial-name-btn:disabled{cursor:not-allowed;opacity:.5;transform:none}.cancel-trial-name-btn:focus,.save-trial-name-btn:focus{outline:2px solid currentColor;outline-offset:2px}.trial-name-error{background-color:#fee2e2;border-radius:4px;box-shadow:0 2px 4px #0000001a;color:#dc2626;font-size:12px;font-weight:500;left:0;margin-top:4px;padding:6px 12px;position:absolute;top:100%;white-space:nowrap;z-index:10}.spinner-small{animation:spin .6s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;display:inline-block;height:14px;width:14px}@media (max-width:768px){.trial-name-text{font-size:16px;max-width:250px}.trial-name-input{font-size:14px;min-width:150px}.trial-name-editor{max-width:100%}.trial-name-error{font-size:11px;max-width:calc(100vw - 40px);white-space:normal}.edit-trial-name-btn{display:flex;opacity:.6}.trial-name-display:hover .edit-trial-name-btn{opacity:1}}@media (max-width:480px){.trial-name-display{padding:4px 8px}.trial-name-text{font-size:14px;max-width:180px}.trial-name-input{font-size:13px;padding:6px 10px}.cancel-trial-name-btn,.save-trial-name-btn{height:28px;width:28px}.cancel-trial-name-btn svg,.save-trial-name-btn svg{height:14px;width:14px}}@media (prefers-color-scheme:dark){.trial-name-text{color:#f9fafb}.trial-name-display:hover{background-color:#8b5cf633;border-color:#8b5cf666}.trial-name-input{background-color:#1f2937;border-color:#8b5cf6;color:#f9fafb}.trial-name-input:focus{background-color:#111827}.trial-name-error{background-color:#7f1d1d;color:#fecaca}}.cancel-trial-name-btn:focus-visible,.edit-trial-name-btn:focus-visible,.save-trial-name-btn:focus-visible,.trial-name-input:focus-visible{outline:2px solid #8b5cf6;outline-offset:2px}@media (prefers-contrast:high){.trial-name-display:hover{background-color:#8b5cf633;border-color:#8b5cf6}.trial-name-input{border-width:3px}.cancel-trial-name-btn,.save-trial-name-btn{border:2px solid}}@media (prefers-reduced-motion:reduce){.cancel-trial-name-btn,.edit-trial-name-btn,.save-trial-name-btn,.trial-name-display,.trial-name-input{transition:none}.spinner-small{animation:none;border-top-color:#0000}}.garmin-status{align-items:center;background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;display:flex;gap:12px;margin-bottom:20px;padding:12px 16px}.garmin-status.connected{background:#d4edda;border-color:#c3e6cb}.garmin-status.disconnected{background:#fff3cd;border-color:#ffeaa7}.garmin-status.loading{background:#e7f3ff;border-color:#bee5eb}.status-indicator{border-radius:50%;flex-shrink:0;height:12px;width:12px}.garmin-status.connected .status-indicator{background:#28a745;box-shadow:0 0 0 3px #28a74533}.garmin-status.disconnected .status-indicator{background:#ffc107;box-shadow:0 0 0 3px #ffc10733}.garmin-status.loading .status-indicator{animation:pulse 1.5s ease-in-out infinite;background:#17a2b8}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.status-text{display:flex;flex-direction:column;gap:4px}.status-label{color:#212529;font-size:14px;font-weight:600}.status-detail{color:#6c757d;font-size:12px}.garmin-settings{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;max-width:800px;padding:30px}.garmin-header{border-bottom:2px solid #e9ecef;gap:20px;margin-bottom:24px;padding-bottom:24px}.garmin-header,.garmin-icon{align-items:center;display:flex}.garmin-icon{background:#f8f9fa;border-radius:12px;font-size:32px;height:60px;justify-content:center;width:60px}.garmin-logo{height:auto;width:50px}.garmin-title h2{color:#212529;font-size:24px;margin:0 0 8px}.garmin-title p{color:#6c757d;font-size:14px;margin:0}.garmin-error{align-items:center;background:#f8d7da;border:1px solid #f5c6cb;border-radius:8px;display:flex;gap:12px;margin-bottom:20px;padding:12px 16px}.error-icon{flex-shrink:0;font-size:20px}.garmin-info{background:#f8f9fa;border-radius:8px;margin-bottom:24px;padding:20px}.garmin-info h3{color:#212529;font-size:16px;margin:0 0 16px}.garmin-info ul{list-style:none;margin:0;padding-left:20px}.garmin-info li{color:#495057;font-size:14px;line-height:1.6;margin-bottom:12px}.garmin-info li:last-child{margin-bottom:0}.garmin-actions{margin-bottom:24px}.btn-connect{align-items:center;background:linear-gradient(135deg,#007bff,#0056b3);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:8px;justify-content:center;padding:14px 24px;transition:all .3s ease;width:100%}.btn-connect:hover:not(:disabled){background:linear-gradient(135deg,#0056b3,#004085);box-shadow:0 4px 12px #007bff4d;transform:translateY(-2px)}.btn-connect:disabled{cursor:not-allowed;opacity:.6}.connected-actions{display:flex;flex-direction:column;gap:12px}.btn-disconnect{background:#fff;border:2px solid #dc3545;border-radius:8px;color:#dc3545;cursor:pointer;font-size:14px;font-weight:500;padding:12px 24px;transition:all .2s ease;width:100%}.btn-disconnect:hover:not(:disabled){background:#dc3545;color:#fff}.btn-disconnect:disabled{cursor:not-allowed;opacity:.6}.disconnect-note{color:#6c757d;font-size:12px;margin:0;text-align:center}.garmin-instructions{background:#e7f3ff;border-left:4px solid #007bff;border-radius:8px;margin-bottom:24px;padding:20px}.garmin-instructions h3{color:#004085;font-size:16px;margin:0 0 16px}.garmin-instructions ol{margin:0;padding-left:20px}.garmin-instructions li{color:#004085;font-size:14px;line-height:1.6;margin-bottom:10px}.garmin-instructions li:last-child{margin-bottom:0}.garmin-instructions strong{font-weight:600}.garmin-privacy{border-top:1px solid #e9ecef;padding-top:20px}.garmin-privacy h4{color:#495057;font-size:14px;font-weight:600;margin:0 0 12px}.garmin-privacy p{color:#6c757d;font-size:13px;line-height:1.6;margin:0}@media (max-width:768px){.garmin-settings{padding:20px}.garmin-header{flex-direction:column;text-align:center}.garmin-title h2{font-size:20px}}.settings-page{background:#f8f9fa;min-height:100vh;padding:40px 20px}.settings-container{margin:0 auto;max-width:1000px}.settings-header{margin-bottom:40px}.settings-header h1{color:#212529;font-size:36px;font-weight:700;margin:0 0 8px}.settings-header p{color:#6c757d;font-size:16px;margin:0}.success-banner{align-items:center;animation:slideDown .3s ease-out;background:#d4edda;border:1px solid #c3e6cb;border-radius:8px;display:flex;gap:12px;margin-bottom:24px;padding:16px 20px}.success-icon{flex-shrink:0;font-size:20px}.success-banner span:not(.success-icon){color:#155724;flex:1 1;font-size:14px;font-weight:500}.close-btn{align-items:center;background:none;border:none;border-radius:4px;color:#155724;cursor:pointer;display:flex;font-size:24px;height:24px;justify-content:center;padding:0;transition:background .2s ease;width:24px}.close-btn:hover{background:#1557241a}.settings-section{margin-bottom:32px}.section-header{margin-bottom:20px}.section-header h2{color:#212529;font-size:20px;font-weight:600;margin:0 0 8px}.section-header p{color:#6c757d;font-size:14px;margin:0}.user-info{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:24px}.info-row{align-items:center;border-bottom:1px solid #e9ecef;display:flex;padding:12px 0}.info-row:last-child{border-bottom:none}.info-label{color:#495057;font-size:14px;font-weight:600;min-width:120px}.info-value{color:#212529;font-size:14px}.info-mono{background:#f8f9fa;border-radius:4px;font-family:Courier New,monospace;font-size:12px;padding:4px 8px}.management-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:20px}.management-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:24px;transition:all .2s ease}.management-card.clickable{cursor:pointer}.management-card.clickable:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea26;transform:translateY(-2px)}.card-icon{font-size:48px;margin-bottom:16px}.management-card h3{color:#111827;font-size:18px;font-weight:600;margin:0 0 8px}.management-card p{color:#6b7280;font-size:14px;line-height:1.5;margin:0 0 8px}.management-card .help-text{color:#9ca3af;font-size:13px;font-style:italic}.card-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;margin-top:16px;padding:10px 20px;transition:all .2s;width:100%}.card-button:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-1px)}@media (max-width:768px){.settings-page{padding:20px 16px}.settings-header h1{font-size:28px}.settings-header p{font-size:14px}.info-row{align-items:flex-start;flex-direction:column;gap:4px}.info-label{font-size:12px;min-width:auto}.info-value{font-size:14px}}.merge-modal-overlay{align-items:center;animation:fadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.merge-modal{animation:slideUp .3s ease;background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:600px;overflow:hidden;width:90%}.merge-modal-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #e5e7eb;color:#fff;display:flex;justify-content:space-between;padding:20px 24px}.merge-modal-header h2{font-size:20px;font-weight:600;margin:0}.merge-modal-header .close-btn{align-items:center;background:none;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:28px;height:32px;justify-content:center;padding:0;transition:background .2s;width:32px}.merge-modal-header .close-btn:hover{background:#fff3}.merge-modal-body{flex:1 1;overflow-y:auto;padding:24px}.merge-info{background:#f0f9ff;border:1px solid #0ea5e9;border-radius:8px;margin-bottom:20px;padding:16px}.merge-info p{color:#0369a1;margin:0 0 8px}.merge-info ul{color:#0369a1;margin:8px 0;padding-left:20px}.merge-info li{margin:4px 0}.merge-info .warning{border-top:1px solid #bae6fd;color:#ea580c;font-weight:600;margin-top:12px;padding-top:12px}.user-card{border-radius:8px;display:flex;flex-direction:column;gap:4px;padding:12px 16px;transition:all .2s ease}.user-card.primary{background:linear-gradient(135deg,#667eea,#764ba2);border:2px solid #667eea;color:#fff}.user-card.secondary{background:#f3f4f6;border:2px solid #d1d5db;color:#374151}.user-card.selectable{background:#fff;border:2px solid #e5e7eb;cursor:pointer}.user-card.selectable:hover{background:#f9fafb;border-color:#667eea;transform:translateX(4px)}.user-name{font-size:14px;font-weight:600}.user-id{opacity:.7}.trial-count{font-size:12px;opacity:.8}.primary-user,.secondary-user-selection{margin:20px 0}.primary-user strong,.secondary-user-selection strong{color:#374151;display:block;font-size:14px;margin-bottom:8px}.user-search{border:2px solid #e5e7eb;border-radius:8px;font-size:14px;margin-bottom:12px;padding:10px 14px;transition:border-color .2s;width:100%}.user-search:focus{border-color:#667eea;outline:none}.user-list{display:flex;flex-direction:column;gap:8px;max-height:300px;overflow-y:auto}.user-list::-webkit-scrollbar{width:6px}.user-list::-webkit-scrollbar-track{background:#f3f4f6;border-radius:3px}.user-list::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.user-list::-webkit-scrollbar-thumb:hover{background:#9ca3af}.no-users{color:#9ca3af;font-size:14px;padding:40px 20px}.merge-confirmation,.no-users{text-align:center}.merge-confirmation h3{color:#ea580c;font-size:18px;margin:0 0 16px}.merge-diagram{align-items:center;display:flex;gap:16px;justify-content:center;margin:24px 0}.merge-arrow{color:#667eea;font-size:32px;font-weight:700}.merge-options{background:#f9fafb;border-radius:8px;margin:20px 0;padding:16px;text-align:left}.help-text{color:#6b7280;font-size:13px;margin:8px 0 0 28px}.warning-box{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-top:20px;padding:16px;text-align:left}.warning-box strong{color:#dc2626;display:block;margin-bottom:8px}.warning-box ul{color:#7f1d1d;margin:0;padding-left:20px}.warning-box li{margin:4px 0}.button-group{display:flex;gap:12px;margin-top:24px}.btn-cancel,.btn-confirm,.btn-retry{border:none;border-radius:8px;cursor:pointer;flex:1 1;font-size:14px;font-weight:600;padding:12px 20px;transition:all .2s ease}.btn-cancel{background:#f3f4f6;color:#374151}.btn-cancel:hover{background:#e5e7eb}.btn-confirm{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-confirm:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-1px)}.btn-retry{background:#667eea;color:#fff}.btn-retry:hover{background:#5568d3}.processing{padding:40px 20px;text-align:center}.processing p{color:#374151;font-size:16px;font-weight:600;margin:8px 0}.processing .sub-text{color:#6b7280;font-size:14px;font-weight:400}.success{padding:40px 20px;text-align:center}.success-icon{align-items:center;animation:scaleIn .4s ease;background:linear-gradient(135deg,#10b981,#059669);border-radius:50%;color:#fff;display:flex;font-size:36px;height:64px;justify-content:center;margin:0 auto 20px;width:64px}.success h3{color:#059669;font-size:20px;margin:0 0 12px}.success p{color:#374151;margin:8px 0}.success .sub-text{color:#6b7280;font-size:14px}.error-state{padding:40px 20px;text-align:center}.error-icon{align-items:center;animation:shake .4s ease;background:linear-gradient(135deg,#ef4444,#dc2626);border-radius:50%;color:#fff;display:flex;font-size:36px;height:64px;justify-content:center;margin:0 auto 20px;width:64px}.error-state h3{color:#dc2626;font-size:20px;margin:0 0 12px}.error-message{color:#374151}.error-banner,.error-message{background:#fef2f2;padding:12px 16px}.error-banner{border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:14px;margin-top:16px}.loading-spinner{color:#6b7280;font-size:14px;padding:40px 20px;text-align:center}@media (max-width:640px){.merge-modal{max-height:95vh;width:95%}.merge-modal-header{padding:16px 20px}.merge-modal-body{padding:20px}.merge-diagram{flex-direction:column;gap:12px}.merge-arrow{transform:rotate(90deg)}.button-group{flex-direction:column}}.duplicates-page{margin:0 auto;max-width:1400px;padding:24px}.duplicates-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:32px}.duplicates-header h1{color:#111827;font-size:28px;margin:0 0 8px}.duplicates-header p{color:#6b7280;font-size:14px;margin:0}.btn-back{background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#374151;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .2s}.btn-back:hover{border-color:#667eea;color:#667eea}.detection-settings{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:12px;display:flex;flex-wrap:wrap;gap:20px;margin-bottom:24px;padding:20px}.setting-group{flex:1 1;min-width:200px}.setting-group label{display:flex;flex-direction:column;gap:8px}.setting-group label>span{color:#374151;font-size:14px;font-weight:600}.setting-group select{background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#374151;cursor:pointer;font-size:14px;padding:10px 12px;transition:border-color .2s}.setting-group select:focus{border-color:#667eea;outline:none}.matching-methods{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-direction:column;gap:8px;padding:12px}.methods-title{color:#374151;font-size:13px;font-weight:600;margin-bottom:4px}.checkbox-label{align-items:center;color:#374151;cursor:pointer;display:flex;font-size:14px;gap:10px}.checkbox-label input[type=checkbox]{cursor:pointer;height:18px;width:18px}.checkbox-label input[type=checkbox]:disabled{cursor:not-allowed;opacity:.5}.checkbox-label:has(input:disabled){cursor:not-allowed;opacity:.6}.help-text-inline{color:#6b7280;font-size:12px;font-style:italic;margin:8px 0 0}.btn-refresh{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:10px 20px;transition:all .2s;white-space:nowrap}.btn-refresh:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-1px)}.duplicates-results{background:#fff;border:2px solid #e5e7eb;border-radius:12px;min-height:400px;padding:24px}.results-header{margin-bottom:24px}.results-header h3{color:#111827;font-size:20px;margin:0 0 8px}.results-header .help-text{color:#6b7280;font-size:14px;margin:0}.duplicate-list{display:flex;flex-direction:column;gap:16px}.duplicate-card{background:#fafafa;border:2px solid #e5e7eb;border-radius:12px;padding:20px;position:relative;transition:all .2s}.duplicate-card:hover{border-color:#d1d5db;box-shadow:0 4px 12px #00000014}.confidence-badge{border-radius:20px;font-size:14px;font-weight:700;padding:6px 14px;position:absolute;right:20px;top:20px}.confidence-badge[data-level=high]{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.confidence-badge[data-level=medium]{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.confidence-badge[data-level=low]{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff}.duplicate-content{margin-right:100px}.users-comparison{align-items:center;display:flex;gap:24px;margin-bottom:20px}.user-column{background:#fff;border:2px solid #e5e7eb;border-radius:8px;flex:1 1;padding:16px}.user-column h4{color:#111827;font-size:16px;margin:0 0 8px}.user-id{color:#6b7280;font-family:Courier New,monospace;font-size:12px;margin:4px 0}.trial-count{color:#374151;font-size:13px;margin:4px 0}.physical-info{border-top:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;padding-top:12px}.physical-info span{background:#f3f4f6;border-radius:4px;color:#6b7280;font-size:12px;padding:4px 8px}.comparison-arrow{color:#667eea;font-size:32px;font-weight:700}.reasons{background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;margin-top:16px;padding:12px 16px}.reasons strong{color:#0369a1;display:block;font-size:13px;margin-bottom:8px}.reasons ul{color:#0c4a6e;margin:0;padding-left:20px}.reasons li{font-size:13px;margin:4px 0}.duplicate-actions{display:flex;justify-content:flex-end;margin-top:16px}.btn-merge{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:10px 20px;transition:all .2s}.btn-merge:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-1px)}.empty-state,.error-state,.loading-state{padding:60px 20px}.spinner{animation:spin .8s linear infinite;border:4px solid #e5e7eb;border-top-color:#667eea;height:48px;margin:0 auto 20px;width:48px}.loading-state p{color:#6b7280;font-size:14px}.empty-icon{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border-radius:50%;color:#fff;display:flex;font-size:48px;height:80px;justify-content:center;margin:0 auto 20px;width:80px}.empty-state h3{color:#111827;font-size:20px;margin:0 0 12px}.empty-state p{color:#6b7280;font-size:14px;margin:8px 0}.empty-state .hint{color:#9ca3af;font-style:italic}.error-state .error-message{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;margin:20px auto;max-width:500px;padding:12px 16px}.error-state button{background:#667eea;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:10px 24px;transition:background .2s}.error-state button:hover{background:#5568d3}@media (max-width:768px){.duplicates-page{padding:16px}.duplicates-header{align-items:flex-start;flex-direction:column;gap:16px}.detection-settings{align-items:stretch;flex-direction:column}.users-comparison{flex-direction:column;gap:12px}.comparison-arrow{transform:rotate(90deg)}.duplicate-content{margin-bottom:60px;margin-right:0}.confidence-badge{bottom:20px;right:20px;top:auto}}.garmin-callback{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;padding:20px}.callback-container{max-width:500px;width:100%}.callback-card{animation:slideUp .4s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;padding:48px 40px;text-align:center}.callback-card h2{color:#212529;font-size:24px;margin:24px 0 12px}.callback-card p{color:#6c757d;font-size:16px;line-height:1.6;margin:0}.spinner{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-top-color:#007bff;height:60px;margin:0 auto;width:60px}.success-icon{animation:scaleIn .5s ease-out;font-size:64px}@keyframes scaleIn{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.error-icon{animation:shake .5s ease-out;font-size:64px}@keyframes shake{0%,to{transform:translateX(0)}25%{transform:translateX(-10px)}75%{transform:translateX(10px)}}.error-message{background:#f8d7da;border:1px solid #f5c6cb;border-radius:8px;color:#721c24;font-size:14px;margin:20px 0;padding:12px}.btn-return{background:#007bff;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;margin-top:24px;padding:12px 32px;transition:all .2s ease}.btn-return:hover{background:#0056b3;box-shadow:0 4px 12px #007bff4d;transform:translateY(-2px)}@media (max-width:768px){.callback-card{padding:36px 24px}.callback-card h2{font-size:20px}.callback-card p{font-size:14px}}.username-display{color:#1f2937;display:inline-block;font-weight:600;line-height:1.5}.username-display.editable{border-radius:6px;cursor:pointer;padding:4px 8px;transition:background-color .2s ease,transform .1s ease;-webkit-user-select:none;user-select:none}.username-display.editable:hover{background-color:#f3f4f6;transform:translateY(-1px)}.username-display.editable:active{transform:translateY(0)}.username-display.editable:focus{outline:2px solid #3b82f6;outline-offset:2px}.username-display.editable:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.inline-edit-container{align-items:center;display:inline-flex;flex:1 1;gap:8px;max-width:100%;min-width:0;position:relative}.inline-edit-input{background-color:#fff;border:2px solid #3b82f6;border-radius:6px;font-family:inherit;font-size:14px;font-weight:600;max-width:100%;min-width:120px;padding:8px 12px;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.inline-edit-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #3b82f61a;outline:none}.inline-edit-input.error{border-color:#ef4444}.inline-edit-input.error:focus{box-shadow:0 0 0 3px #ef44441a}.inline-edit-input:disabled{background-color:#f9fafb;cursor:not-allowed;opacity:.6}.inline-edit-input::placeholder{color:#9ca3af}.inline-edit-buttons{display:flex;gap:6px}.cancel-button,.save-button{align-items:center;border:none;border-radius:6px;cursor:pointer;display:flex;height:36px;justify-content:center;padding:0;transition:all .2s ease;width:36px}.save-button{background-color:#10b981;color:#fff}.save-button:hover:not(:disabled){background-color:#059669;transform:scale(1.05)}.save-button:active:not(:disabled){transform:scale(.95)}.save-button:disabled{background-color:#d1d5db;cursor:not-allowed;opacity:.6}.cancel-button{background-color:#ef4444;color:#fff}.cancel-button:hover:not(:disabled){background-color:#dc2626;transform:scale(1.05)}.cancel-button:active:not(:disabled){transform:scale(.95)}.cancel-button:disabled{background-color:#d1d5db;cursor:not-allowed;opacity:.6}.icon{stroke-width:2.5;height:18px;width:18px}.error-message{animation:slideDown .2s ease;background-color:#fef2f2;border:1px solid #fecaca;border-radius:6px;box-shadow:0 2px 8px #0000001a;color:#dc2626;font-size:13px;left:0;padding:8px 12px;position:absolute;top:calc(100% + 4px);white-space:nowrap;z-index:10}@keyframes slideDown{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.spinner{animation:spin .6s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;display:inline-block;height:16px;width:16px}@keyframes spin{to{transform:rotate(1turn)}}.modal-overlay{align-items:center;animation:fadeIn .2s ease;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:16px;position:fixed;right:0;top:0;z-index:1000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{animation:slideUp .3s ease;background-color:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-height:90vh;max-width:420px;overflow-y:auto;width:100%}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:20px}.modal-header h2{color:#111827;font-size:18px;font-weight:600;margin:0}.modal-close{align-items:center;background:none;border:none;border-radius:6px;color:#6b7280;cursor:pointer;display:flex;justify-content:center;padding:6px;transition:background-color .2s ease,color .2s ease}.modal-close:hover:not(:disabled){background-color:#f3f4f6;color:#111827}.modal-close:disabled{cursor:not-allowed;opacity:.5}.modal-body{padding:20px}.modal-description{color:#6b7280;font-size:14px;line-height:1.5;margin:0 0 20px}.modal-description strong{color:#111827;font-weight:600}.modal-label{color:#374151;display:block;font-size:14px;font-weight:500;margin-bottom:8px}.modal-input{background-color:#fff;border:2px solid #d1d5db;border-radius:8px;font-family:inherit;font-size:16px;padding:12px;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.modal-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.modal-input.error{border-color:#ef4444}.modal-input.error:focus{box-shadow:0 0 0 3px #ef44441a}.modal-input:disabled{background-color:#f9fafb;cursor:not-allowed;opacity:.6}.modal-input::placeholder{color:#9ca3af}.modal-body .error-message{margin-top:12px;position:static}.modal-footer{border-top:1px solid #e5e7eb;display:flex;gap:12px;padding:20px}.button{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;flex:1 1;font-family:inherit;font-size:14px;font-weight:500;gap:8px;justify-content:center;padding:12px 16px;transition:all .2s ease}.button-secondary{background-color:#fff;border:1px solid #d1d5db;color:#374151}.button-secondary:hover:not(:disabled){background-color:#f9fafb;border-color:#9ca3af}.button-secondary:active:not(:disabled){background-color:#f3f4f6}.button-primary{background-color:#3b82f6;color:#fff}.button-primary:hover:not(:disabled){background-color:#2563eb;box-shadow:0 4px 6px -1px #0000001a;transform:translateY(-1px)}.button-primary:active:not(:disabled){box-shadow:0 2px 4px -1px #0000001a;transform:translateY(0)}.button:disabled{cursor:not-allowed;opacity:.5}.button .spinner{margin-right:4px}@media (max-width:768px){.modal-overlay{align-items:flex-end;padding:0}.modal-content{border-radius:16px 16px 0 0;margin:0;max-height:80vh;max-width:none;width:100%}.inline-edit-input{font-size:16px;min-width:150px}.modal-input{font-size:16px}.button{min-height:44px}.cancel-button,.save-button{min-height:44px;min-width:44px}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media print{.inline-edit-buttons,.modal-overlay{display:none!important}.username-display.editable{cursor:default}.username-display.editable:hover{background-color:initial}}.trial-sidebar{background-color:#f8f9fa;border-right:1px solid #e0e0e0;box-shadow:2px 0 4px #0000001a;display:flex;flex-direction:column;height:calc(100vh - 64px);left:0;overflow:hidden;position:fixed;top:64px;transition:width .3s ease-in-out;width:60px;z-index:999}.trial-sidebar.expanded{width:220px}.sidebar-header{align-items:center;background-color:#fff;border-bottom:1px solid #e0e0e0;cursor:pointer;display:flex;justify-content:center;min-height:48px;padding:12px}.sidebar-header.expanded{justify-content:flex-start}.header-title{font-size:16px;font-weight:600;margin:0}.header-subtitle{color:#666;font-size:12px;margin:4px 0 0}.hamburger-menu{align-items:center;cursor:pointer;display:flex;height:20px;justify-content:center;transition:all .2s ease;width:20px}.hamburger-icon{color:#6b7280;transition:color .2s ease}.hamburger-icon:hover{color:#374151}.pin-button{align-items:center;background:#0000;border:none;border-radius:6px;color:#6b7280;cursor:pointer;display:flex;height:28px;justify-content:center;min-width:28px;padding:6px;transition:all .2s ease}.pin-button:hover{background-color:#f3f4f6;color:#374151}.pin-button.pinned{background-color:#e0e7ff;color:#4f46e5}.pin-button.pinned:hover{background-color:#c7d2fe;color:#4338ca}.sidebar-content{flex:1 1;overflow-y:auto;padding:6px}.sidebar-content.expanded{padding:12px}.users-container{display:flex;flex-direction:column;gap:2px}.user-node{margin-bottom:2px}.user-header{align-items:center;border-radius:6px;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;justify-content:space-between;padding:8px 12px;transition:all .2s ease}.user-header:hover{background-color:#f0f0f0}.user-header-left{flex:1 1;gap:6px;max-width:calc(100% - 60px);min-width:0;overflow:hidden}.date-header,.user-header-left{align-items:center;display:flex}.date-header{border-radius:4px;cursor:pointer;font-size:13px;padding:6px 8px;transition:all .2s ease}.date-header:hover{background-color:#f8f8f8}.expand-icon{color:#666;flex-shrink:0;font-size:12px;margin-right:8px;text-align:center;transition:transform .2s ease;width:12px}.expand-icon.expanded{transform:rotate(0deg)}.username{max-width:120px;min-width:0}.date,.username{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.date-indicators,.user-indicators{align-items:center;display:flex;flex-shrink:0;gap:4px;margin-left:auto}.date-count,.trial-count{color:#888;flex-shrink:0;font-size:12px;font-weight:400;min-width:45px;padding-left:8px;text-align:right}.current-trial-indicator{background-color:#1976d2;border-radius:50%;flex-shrink:0;height:6px;width:6px}.current-trial-indicator.active{background-color:#1976d2;box-shadow:0 0 3px #1976d280}.dates-container{border-left:2px solid #eee;margin-left:16px;margin-top:4px;padding-left:8px}.date-node{margin-bottom:4px}.trials-container{background-color:#f9f9f9;border-radius:4px;margin-left:16px;margin-top:4px;padding:8px}.trial-item{border-radius:4px;color:#666;cursor:pointer;font-size:12px;margin:2px 0;overflow:hidden;padding:4px 8px;text-overflow:ellipsis;transition:all .2s ease;white-space:nowrap}.trial-item:hover{background-color:#e3f2fd;color:#1976d2}.trial-item.selected{background-color:#1976d2;color:#fff;font-weight:500;position:relative}.trial-item{align-items:center;display:flex;justify-content:space-between}.trial-filename{font-family:inherit;font-size:12px}.empty-state,.error-state,.loading-state{font-size:14px;padding:20px;text-align:center}.loading-state{color:#666}.error-state{background-color:#fff3cd;border:1px solid #ffeaa7;border-radius:4px;color:#856404;font-size:12px;margin:8px 0;padding:12px}.empty-state{color:#999}.sidebar-section{background-color:#fff;border-top:1px solid #e0e0e0;color:#666;font-size:12px;padding:12px 16px}.manage-team-button{background-color:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:8px 12px;transition:background-color .2s ease;width:100%}.manage-team-button.active,.manage-team-button:hover{background-color:#0056b3}.org-info{align-items:center;display:flex;justify-content:space-between}.org-details{font-weight:500;margin-bottom:4px}.org-name{color:#007bff;font-weight:500;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.org-logo{flex-shrink:0;margin-left:8px}.org-logo img{border-radius:4px;height:24px;object-fit:cover;width:24px}.current-trial-label{font-weight:500;margin-bottom:4px}.current-trial-name{color:#007bff;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:999px){.trial-sidebar{display:none}}@media (min-width:1000px) and (max-width:1200px){.trial-sidebar{width:60px}.trial-sidebar.expanded,.trial-sidebar.pinned{width:220px}}.user-header .inline-edit-container{align-items:center;display:flex;gap:4px;max-width:100%;width:100%}.user-header .inline-edit-input{border:1px solid #3b82f6;border-radius:4px;flex:1 1;font-size:13px;max-width:100%;min-width:0;padding:4px 6px}.user-header .inline-edit-buttons{display:flex;flex-shrink:0;gap:2px}.user-header .cancel-button,.user-header .save-button{height:24px;min-height:24px;min-width:24px;padding:0;width:24px}.user-header .icon{height:14px;width:14px}.user-header .error-message{left:240px;max-width:250px;position:fixed;top:auto;white-space:normal;z-index:1001}.user-header .username-display{flex:1 1;max-width:120px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-header .username-display.editable{border-radius:4px;margin:-4px -6px;padding:4px 6px;transition:background-color .2s ease}.user-header .username-display.editable:hover{background-color:#f3f4f6}.user-header .username-display.editable:focus{outline:2px solid #3b82f6;outline-offset:0}.user-header .username-display.editable:focus-visible{outline:2px solid #3b82f6;outline-offset:0}.user-header .username{flex:1 1;max-width:100%;min-width:0}.user-header:has(.inline-edit-container){padding:6px 8px}.user-header:has(.inline-edit-container) .expand-icon{flex-shrink:0;margin-right:4px}.user-header:has(.inline-edit-container) .user-indicators{display:none}.card-header{font-family:Oswald,Helvetica,Arial,Lucida,sans-serif}.App{text-align:center}.App-logo{height:40vmin;pointer-events:none}@media (prefers-reduced-motion:no-preference){.App-logo{animation:App-logo-spin 20s linear infinite}}.App-header{align-items:center;background-color:#282c34;color:#fff;display:flex;flex-direction:column;font-size:calc(10px + 2vmin);justify-content:center;min-height:100vh}.App-link{color:#61dafb}.nav-link{color:#666;font-size:14px;font-weight:500;padding:8px 16px;position:relative;text-decoration:none}.nav-link:after{background:#2196f3;bottom:0;content:"";height:2px;left:0;position:absolute;transform:scaleX(0);transform-origin:left;transition:transform .25s ease;width:100%}.nav-link.active:after,.nav-link:hover:after{transform:scaleX(1)}.nav-link.active{color:#2196f3;font-weight:600}@keyframes App-logo-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
/*# sourceMappingURL=main.577887a2.css.map*/