:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;padding:0;min-width:320px;min-height:100vh;overflow-x:hidden}#root{width:100vw;min-height:100vh;margin:0;padding:0}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.timeline-wrapper{background:linear-gradient(135deg,#f8f9fa,#fff);border-radius:12px;box-shadow:0 4px 20px #00000014;padding:20px;border:1px solid rgba(0,0,0,.05);flex:1;display:flex;flex-direction:column;min-height:0;position:relative}.timeline-status{position:absolute;top:10px;right:20px;background:#007acce6;color:#fff;padding:8px 12px;border-radius:6px;font-size:var(--timeline-font-size-sm);display:flex;align-items:center;gap:8px;z-index:10}.timeline-error-banner{position:absolute;top:10px;left:50%;transform:translate(-50%);background:#dc3545e6;color:#fff;padding:8px 12px;border-radius:6px;font-size:var(--timeline-font-size-sm);display:flex;align-items:center;gap:8px;z-index:10}.selected-banner{position:absolute;top:10px;left:20px;background:#28a745e6;color:#fff;padding:8px 12px;border-radius:6px;font-size:var(--timeline-font-size-sm);display:flex;align-items:center;gap:8px;z-index:10}.selected-year-banner{position:absolute;top:50px;left:20px;background:#ff6b6bf2;color:#fff;padding:12px 16px;border-radius:8px;font-size:var(--timeline-font-size-sm);z-index:10;max-width:400px;box-shadow:0 4px 12px #00000026;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.year-banner-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.year-title{font-weight:500}.year-events-list{border-top:1px solid rgba(255,255,255,.3);padding-top:8px}.events-header{font-size:var(--timeline-font-size-xs);font-weight:600;margin-bottom:6px;opacity:.9}.events-container{display:flex;flex-direction:column;gap:4px}.year-event-item{display:flex;align-items:center;gap:6px;font-size:var(--timeline-font-size-xs);line-height:calc(var(--timeline-font-multiplier) * 1.3);padding:2px 0}.event-person-icon{font-size:12px;flex-shrink:0}.event-person-name{font-weight:500;flex-shrink:0}.event-person-age{font-size:calc(var(--timeline-font-size-xs) * .9);opacity:.8;flex-shrink:0}.event-separator{flex-shrink:0}.event-content-text{flex:1;opacity:.95}.timeline-content{display:flex;gap:20px;flex:1;min-height:0}.timeline-canvas{flex:1;display:flex;justify-content:center;overflow:hidden}.timeline-svg{border:2px solid #e8ecf0;border-radius:8px;background:linear-gradient(180deg,#fff,#f8f9fa);box-shadow:inset 0 2px 4px #00000005;width:100%;height:auto}.timeline-legend{display:flex;justify-content:center;gap:40px;margin-top:20px;padding:16px 24px;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:8px;border:1px solid #e8ecf0}.legend-item{display:flex;align-items:center;gap:10px;font-size:var(--timeline-font-size-lg);color:#495057;font-weight:500;padding:8px 16px;background:#fff;border-radius:6px;box-shadow:0 2px 4px #0000000d;transition:transform .2s ease,box-shadow .2s ease}.legend-item:hover{transform:translateY(-1px);box-shadow:0 4px 8px #0000001a}.legend-color{width:24px;height:16px;border-radius:4px;box-shadow:0 1px 3px #0003}.legend-color.people{background:linear-gradient(135deg,#4a90e2,#357abd)}.legend-color.organization{background:linear-gradient(135deg,#f5a623,#e8940f)}.legend-event-point{width:12px;height:12px;border-radius:50%;border:2px solid white;box-shadow:0 1px 3px #0003}.legend-event-point.people-event{background-color:#e74c3c}.legend-event-point.org-event{background-color:#f39c12}.timeline-container .x-axis text,.timeline-container .y-axis text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:var(--timeline-font-size-md);fill:#495057;font-weight:500}.timeline-container .x-axis line,.timeline-container .y-axis line,.timeline-container .x-axis path,.timeline-container .y-axis path{stroke:#adb5bd;stroke-width:1.5px}.timeline-container .axis-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:var(--timeline-font-size-md);font-weight:500;fill:#666}.timeline-container .y-axis text{font-size:var(--timeline-font-size-sm);font-weight:500;fill:#333}.timeline-container .y-axis .name-label.people{fill:#2c5aa0}.timeline-container .y-axis .name-label.organization{fill:#d4941e}.timeline-container .category-icon{font-size:var(--timeline-font-size-lg);cursor:default}.timeline-container .grid-lines line{stroke:#e0e0e0;stroke-width:1px;stroke-dasharray:2,2;opacity:.7}.person-bars rect{cursor:pointer;transition:all .3s ease;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.person-bars rect:hover{opacity:1!important;filter:brightness(1.15) drop-shadow(0 4px 8px rgba(0,0,0,.2));transform:translateY(-1px)}.labels .bar-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:var(--timeline-font-size-sm);font-weight:500;fill:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3);pointer-events:none}.event-points .event-point{transition:all .2s ease;filter:drop-shadow(0 1px 2px rgba(0,0,0,.2))}.event-points .event-point:hover{filter:drop-shadow(0 2px 4px rgba(0,0,0,.3))}.labels .detail-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:var(--timeline-font-size-xs);fill:#666;pointer-events:none;opacity:.7}.timeline-tooltip{background-color:#000000eb;color:#fff;padding:8px 10px;border-radius:5px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:var(--timeline-font-size-md);line-height:calc(var(--timeline-font-multiplier) * 1.2);max-width:220px;box-shadow:0 2px 8px #00000080;z-index:1000;transition:opacity .1s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,.1)}.tooltip-header{display:flex;align-items:center;gap:6px;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.2)}.tooltip-icon{font-size:16px}.tooltip-category{font-size:var(--timeline-font-size-xs);opacity:.8;font-weight:400}.tooltip-period{margin-bottom:6px;color:gold}.tooltip-birth,.tooltip-death{margin-bottom:4px;font-size:var(--timeline-font-size-sm);opacity:.9}.tooltip-description{margin:8px 0;font-style:italic;opacity:.9;font-size:var(--timeline-font-size-sm)}.tooltip-events{margin-top:8px;padding-top:6px;border-top:1px solid rgba(255,255,255,.2)}.tooltip-events ul{margin:4px 0 0;padding-left:16px}.tooltip-events li{margin-bottom:2px;font-size:var(--timeline-font-size-xs);opacity:.9}.event-tooltip-content{text-align:left}.event-title{display:flex;align-items:center;gap:4px;margin-bottom:3px;font-size:var(--timeline-font-size-sm);font-weight:600}.event-icon{font-size:12px}.event-details{font-size:var(--timeline-font-size-xs);opacity:.9;color:gold}.event-year{font-weight:500}.event-person{font-style:italic}.event-age{font-weight:500;color:#90ee90;font-size:var(--timeline-font-size-xs)}.year-line{pointer-events:none}.year-line-label{pointer-events:none;text-shadow:1px 1px 2px rgba(255,255,255,.8)}.age-point{transition:all .2s ease;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}.age-point:hover{filter:drop-shadow(0 3px 6px rgba(0,0,0,.3));transform:scale(1.1)}.age-label{pointer-events:none;text-shadow:1px 1px 2px rgba(255,255,255,.8)}.age-tooltip-content{text-align:left}.age-tooltip-header{display:flex;align-items:center;gap:6px;margin-bottom:6px;padding-bottom:4px;border-bottom:1px solid rgba(255,255,255,.2)}.age-tooltip-details{font-size:11px;line-height:1.4}.birth-info{font-size:10px;opacity:.8;margin-top:2px}.loading-spinner-small{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite}.timeline-status .retry-button,.timeline-error-banner .retry-button,.selected-banner .close-selection{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:4px 8px;border-radius:4px;font-size:.8rem;cursor:pointer;transition:all .2s ease}.timeline-status .retry-button:hover,.timeline-error-banner .retry-button:hover,.selected-banner .close-selection:hover{background:#ffffff4d;border-color:#ffffff80}.close-selection{background:none;border:none;color:#999;font-size:18px;cursor:pointer;padding:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center}.close-selection:hover{color:#666}.detail-panel{width:380px;min-width:320px;max-width:400px;background:linear-gradient(135deg,#fff,#f8f9fa);border:2px solid #e8ecf0;border-radius:12px;box-shadow:0 8px 24px #0000001f;max-height:calc(100vh - 200px);overflow-y:auto;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);flex-shrink:0}.detail-panel-header{display:flex;justify-content:space-between;align-items:flex-start;padding:24px;border-bottom:2px solid #e8ecf0;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px 12px 0 0}.detail-title{display:flex;align-items:center;gap:10px;flex:1}.detail-icon{font-size:24px}.detail-title h3{margin:0;color:#333;font-size:1.3rem}.detail-category{color:#666;font-size:.9rem;font-weight:400}.close-button{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:1px solid #dee2e6;color:#6c757d;font-size:20px;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .3s ease;box-shadow:0 2px 4px #0000001a}.detail-panel-content{padding:20px}.detail-section{margin-bottom:20px}.detail-section:last-child{margin-bottom:0}.detail-section h4{margin:0 0 10px;color:#333;font-size:1.1rem;border-bottom:2px solid #007acc;padding-bottom:5px}.detail-section p{margin:8px 0;line-height:1.5;color:#555}.events-list{list-style:none;padding:0;margin:0}.events-list li{display:flex;gap:12px;margin-bottom:8px;padding:8px;background-color:#f8f9fa;border-radius:4px;border-left:3px solid #007acc}.event-year{font-weight:600;color:#007acc;min-width:50px;font-size:.9rem}.event-content{color:#555;flex:1;font-size:.9rem}.detail-image{max-width:100%;height:auto;border-radius:4px;box-shadow:0 2px 8px #0000001a}.timeline-footer{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:15px;border-top:1px solid #e0e0e0;flex-wrap:wrap;gap:15px}.timeline-controls{flex:1;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.reset-zoom-button{background:linear-gradient(135deg,#007acc,#0056b3);color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #007acc4d}.reset-zoom-button:hover{background:linear-gradient(135deg,#0056b3,#004085);transform:translateY(-1px);box-shadow:0 4px 8px #007acc66}.controls-text{margin:0;font-size:.85rem;color:#666;font-style:italic}.timeline-svg{cursor:grab}.timeline-svg:active{cursor:grabbing}.timeline-error{text-align:center;padding:60px 20px;background:linear-gradient(135deg,#fff5f5,#fed7d7);border:2px solid #feb2b2;border-radius:12px;margin:20px 0}.timeline-error .error-icon{font-size:3rem;margin-bottom:16px}.timeline-error h3{color:#c53030;margin-bottom:12px;font-size:1.4rem}.timeline-error .error-message{color:#744210;margin-bottom:20px;font-size:1rem}.retry-timeline-button{background:linear-gradient(135deg,#e53e3e,#c53030);color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .3s ease;box-shadow:0 2px 4px #e53e3e4d}.retry-timeline-button:hover{background:linear-gradient(135deg,#c53030,#9c2626);transform:translateY(-1px);box-shadow:0 4px 8px #e53e3e66}@media (max-width: 768px){.timeline-footer{flex-direction:column;align-items:flex-start}.timeline-controls{text-align:left}.controls-text{font-size:.8rem}.detail-panel{width:100%;max-width:350px}.timeline-content{flex-direction:column}}.labels text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:var(--timeline-font-size-sm);fill:#333;cursor:pointer}.selection-item{display:flex;align-items:flex-start;gap:16px;padding:20px;border:2px solid #e9ecef;border-radius:12px;cursor:pointer;transition:all .3s ease;background:linear-gradient(135deg,#fff,#f8f9fa);position:relative;outline:none}.selection-item:hover{border-color:#007acc;box-shadow:0 4px 16px #007acc26;transform:translateY(-2px)}.selection-item:focus{border-color:#007acc;box-shadow:0 0 0 3px #007acc33}.selection-item.selected{border-color:#007acc;background:linear-gradient(135deg,#f0f8ff,#e3f2fd);box-shadow:0 4px 16px #007acc33}.item-checkbox-container{flex-shrink:0;position:relative;margin-top:2px}.item-checkbox-input{position:absolute;opacity:0;width:0;height:0}.checkbox-custom{width:20px;height:20px;border:2px solid #ced4da;border-radius:4px;background-color:#fff;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.selection-item.selected .checkbox-custom{background-color:#007acc;border-color:#007acc}.checkbox-check{width:12px;height:12px;color:#fff;stroke-width:3}.item-icon-container{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:6px}.item-icon{font-size:24px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.item-category-badge{font-size:.7rem;color:#6c757d;background-color:#f8f9fa;padding:2px 6px;border-radius:8px;font-weight:500;text-align:center;min-width:32px}.selection-item.selected .item-category-badge{background-color:#e3f2fd;color:#1976d2}.item-main-content{flex:1;min-width:0}.item-header-section{margin-bottom:12px}.item-title{font-size:1.1rem;font-weight:600;color:#333;margin:0 0 6px;line-height:1.3}.item-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.item-event-count{font-size:.85rem;color:#6c757d;background-color:#f8f9fa;padding:2px 8px;border-radius:12px;display:flex;align-items:center;gap:4px}.selection-item.selected .item-event-count{background-color:#e3f2fd;color:#1976d2}.item-life-info{display:flex;gap:16px;margin-bottom:10px;flex-wrap:wrap}.life-date{display:flex;align-items:center;gap:6px;font-size:.85rem;color:#6c757d}.life-icon{font-size:.9em}.life-text{font-weight:500}.item-description{font-size:.9rem;color:#6c757d;line-height:1.4;margin-bottom:12px;font-style:italic}.item-events-preview{background-color:#f8f9facc;border-radius:8px;padding:12px;margin-top:8px}.selection-item.selected .item-events-preview{background-color:#e3f2fd99}.events-header{font-size:.85rem;font-weight:600;color:#495057;margin-bottom:8px}.events-list{display:flex;flex-direction:column;gap:4px}.event-item{display:flex;gap:8px;font-size:.8rem;line-height:1.3}.event-year{color:#007acc;font-weight:600;min-width:45px;flex-shrink:0}.event-content{color:#495057;flex:1}.events-more{font-size:.75rem;color:#6c757d;font-style:italic;margin-top:4px}.item-selection-indicator{flex-shrink:0;margin-top:2px}.selection-badge{background:linear-gradient(135deg,#28a745,#20c997);color:#fff;font-size:.75rem;font-weight:600;padding:4px 8px;border-radius:12px;box-shadow:0 2px 4px #28a7454d;animation:fadeInScale .3s ease-out}@keyframes fadeInScale{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@media (max-width: 768px){.selection-item{padding:16px;gap:12px}.item-icon{font-size:20px}.item-title{font-size:1rem}.item-meta{flex-direction:column;align-items:flex-start;gap:8px}.item-life-info{flex-direction:column;gap:8px}.item-events-preview{padding:10px}}@media (max-width: 480px){.selection-item{padding:12px;gap:10px;flex-direction:column}.item-checkbox-container{align-self:flex-start}.item-icon-container{flex-direction:row;align-items:center;gap:8px;align-self:flex-start}.item-selection-indicator{align-self:flex-end;margin-top:-8px}}.data-selection-list{display:flex;flex-direction:column;gap:8px}.list-item{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #e9ecef;border-radius:8px;cursor:pointer;transition:all .2s ease;background-color:#fff}.list-item:hover{border-color:#007acc;box-shadow:0 2px 8px #007acc1a;transform:translateY(-1px)}.list-item.selected{border-color:#007acc;background-color:#f0f8ff;box-shadow:0 2px 8px #007acc26}.item-checkbox{flex-shrink:0;margin-top:2px}.item-checkbox input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#007acc}.item-icon{flex-shrink:0;font-size:20px;margin-top:1px}.item-content{flex:1;min-width:0}.item-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}.item-title{font-size:1rem;font-weight:600;color:#333;flex:1}.item-category{font-size:.8rem;color:#6c757d;background-color:#f8f9fa;padding:2px 8px;border-radius:12px;flex-shrink:0}.list-item.selected .item-category{background-color:#e3f2fd;color:#1976d2}.item-details{display:flex;align-items:center;gap:16px;margin-bottom:6px;flex-wrap:wrap}.item-period{font-size:.9rem;color:#495057;font-weight:500}.item-events{font-size:.85rem;color:#6c757d;display:flex;align-items:center;gap:4px}.item-life-dates{display:flex;gap:12px;font-size:.8rem;color:#6c757d;margin-top:4px}.birth-date,.death-date{display:flex;align-items:center;gap:4px}.birth-date:before{content:"🎂";font-size:.9em}.death-date:before{content:"⚰️";font-size:.9em}.list-empty{text-align:center;padding:60px 20px;color:#6c757d}.empty-icon{font-size:3rem;margin-bottom:16px;opacity:.5}.empty-message{font-size:1.1rem;font-weight:500;margin-bottom:8px;color:#495057}.empty-suggestion{font-size:.9rem;color:#6c757d;font-style:italic}@media (max-width: 768px){.list-item{padding:12px;gap:10px}.item-header{flex-direction:column;align-items:flex-start;gap:6px}.item-category{align-self:flex-start}.item-details{flex-direction:column;align-items:flex-start;gap:6px}.item-life-dates{flex-direction:column;gap:4px}}@media (max-width: 480px){.list-item{padding:10px;gap:8px}.item-icon{font-size:18px}.item-title{font-size:.95rem}.item-period{font-size:.85rem}.item-events{font-size:.8rem}}.modal-overlay{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .2s ease-out}.modal-container{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;width:100%;max-width:600px;max-height:80vh;display:flex;flex-direction:column;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e9ecef;background:linear-gradient(135deg,#f8f9fa,#fff);border-radius:12px 12px 0 0;gap:16px}.modal-title{margin:0;font-size:1.25rem;font-weight:600;color:#333}.modal-description{margin:4px 0 0;font-size:.85rem;color:#6c757d;line-height:1.4;max-width:400px}.modal-close-button{background:none;border:none;font-size:24px;color:#6c757d;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.modal-close-button:hover{background-color:#f8f9fa;color:#495057}.modal-content{flex:1;display:flex;flex-direction:column;overflow:hidden}.modal-filters{padding:20px 24px;border-bottom:1px solid #e9ecef;background-color:#f8f9fa;display:flex;gap:16px;align-items:center;flex-wrap:wrap}.search-section{flex:1;min-width:200px}.search-label,.filter-label{display:block;font-size:.85rem;font-weight:500;color:#495057;margin-bottom:4px}.search-help,.filter-help{font-size:.75rem;color:#6c757d;margin-top:2px;line-height:1.3}.search-input{width:100%;padding:10px 12px;border:1px solid #ced4da;border-radius:6px;font-size:.9rem;transition:border-color .2s ease,box-shadow .2s ease}.search-input:focus{outline:none;border-color:#007acc;box-shadow:0 0 0 3px #007acc1a}.filter-section{flex-shrink:0;min-width:140px}.category-filter{padding:10px 12px;border:1px solid #ced4da;border-radius:6px;font-size:.9rem;background-color:#fff;cursor:pointer;transition:border-color .2s ease}.category-filter:focus{outline:none;border-color:#007acc}.bulk-actions{padding:12px 24px;border-bottom:1px solid #e9ecef;background-color:#fff;display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.bulk-action-button{padding:6px 12px;border:1px solid #ced4da;border-radius:6px;background-color:#fff;color:#495057;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:4px;min-width:80px;justify-content:center}.bulk-action-button:hover{border-color:#007acc;background-color:#f8f9fa;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.bulk-action-button.select-all:hover{background-color:#d4edda;border-color:#28a745;color:#155724}.bulk-action-button.deselect-all:hover{background-color:#f8d7da;border-color:#dc3545;color:#721c24}.bulk-action-button.select-people:hover{background-color:#d1ecf1;border-color:#17a2b8;color:#0c5460}.bulk-action-button.select-organizations:hover{background-color:#fff3cd;border-color:#ffc107;color:#856404}.modal-list{flex:1;overflow-y:auto;padding:16px 24px}.list-placeholder{text-align:center;color:#6c757d;font-style:italic;padding:40px 20px}.no-results-message{text-align:center;color:#6c757d;padding:40px 20px;font-size:.95rem;line-height:1.5;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef;margin:20px 0}.no-results-message:before{content:"🔍";display:block;font-size:2rem;margin-bottom:12px}.modal-footer{display:flex;flex-direction:column;gap:12px;padding:16px 24px;border-top:1px solid #e9ecef;background-color:#f8f9fa;border-radius:0 0 12px 12px}.error-message{display:flex;align-items:center;gap:8px;padding:12px 16px;background-color:#f8d7da;border:1px solid #f5c6cb;border-radius:6px;color:#721c24;font-size:.9rem;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.error-icon{font-size:1.1rem;flex-shrink:0}.error-text{flex:1;line-height:1.4}.error-dismiss{background:none;border:none;color:#721c24;font-size:1.2rem;cursor:pointer;padding:2px 4px;border-radius:3px;transition:background-color .2s ease;flex-shrink:0}.error-dismiss:hover{background-color:#721c241a}.modal-footer-content{display:flex;align-items:center;justify-content:space-between}.selection-info{font-size:.9rem;color:#495057;font-weight:500}.selection-summary{font-weight:600;margin-bottom:2px}.filtered-selection-info{font-size:.8rem;color:#6c757d;margin-bottom:2px}.category-breakdown{font-size:.8rem;color:#6c757d}.apply-button-help{position:absolute;bottom:100%;right:0;background-color:#dc3545;color:#fff;padding:4px 8px;border-radius:4px;font-size:.75rem;white-space:nowrap;margin-bottom:4px;z-index:1001}.apply-button-help:after{content:"";position:absolute;top:100%;right:12px;border:4px solid transparent;border-top-color:#dc3545}.modal-actions{display:flex;gap:12px;position:relative}.cancel-button,.apply-button{padding:10px 20px;border:none;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.cancel-button{background-color:#6c757d;color:#fff}.cancel-button:hover{background-color:#5a6268}.apply-button{background:linear-gradient(135deg,#007acc,#0056b3);color:#fff}.apply-button:hover:not(:disabled){background:linear-gradient(135deg,#0056b3,#004085);transform:translateY(-1px);box-shadow:0 4px 8px #007acc4d}.apply-button:disabled{background-color:#ced4da;color:#6c757d;cursor:not-allowed;transform:none;box-shadow:none}@media (max-width: 768px){.modal-overlay{padding:10px}.modal-container{max-height:90vh}.modal-header{padding:16px 20px}.modal-filters{padding:16px 20px;flex-direction:column;align-items:stretch;gap:12px}.search-section{min-width:unset}.bulk-actions{padding:10px 20px;gap:6px}.bulk-action-button{font-size:.75rem;padding:5px 8px;min-width:70px}.modal-list{padding:12px 20px}.modal-footer{padding:12px 20px;flex-direction:column;gap:12px;align-items:stretch}.modal-actions{justify-content:stretch}.cancel-button,.apply-button{flex:1}}@media (max-width: 480px){.modal-container{margin:0;border-radius:0;max-height:100vh;height:100vh}.modal-header,.modal-footer{border-radius:0}}.font-size-settings-overlay{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.font-size-settings-modal{background:linear-gradient(135deg,#fff,#f8f9fa);border-radius:16px;box-shadow:0 20px 40px #00000026;width:90%;max-width:600px;max-height:90vh;overflow:hidden;animation:slideIn .3s ease-out;border:1px solid rgba(0,0,0,.1)}@keyframes slideIn{0%{transform:translateY(-20px) scale(.95);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.font-size-settings-header{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:2px solid #e8ecf0;background:linear-gradient(135deg,#f8f9fa,#e9ecef)}.font-size-settings-header h2{margin:0;color:#333;font-size:1.4rem;font-weight:600}.close-button{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:1px solid #dee2e6;color:#6c757d;font-size:24px;cursor:pointer;padding:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .3s ease;box-shadow:0 2px 4px #0000001a}.close-button:hover{background:linear-gradient(135deg,#e9ecef,#dee2e6);color:#495057;transform:scale(1.1);box-shadow:0 4px 8px #00000026}.font-size-settings-content{padding:28px;max-height:60vh;overflow-y:auto}.error-message{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#fff5f5,#fed7d7);color:#c53030;padding:12px 16px;border-radius:8px;margin-bottom:20px;border:1px solid #feb2b2;font-size:var(--timeline-font-size-sm)}.error-icon{font-size:18px}.options-description{color:#666;margin-bottom:24px;line-height:1.5;font-size:var(--timeline-font-size-md)}.size-options-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin-bottom:24px}.size-option{position:relative;background:linear-gradient(135deg,#fff,#f8f9fa);border:2px solid #e8ecf0;border-radius:12px;padding:20px;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #0000000d}.size-option:hover{border-color:#007acc;box-shadow:0 4px 16px #007acc26;transform:translateY(-2px)}.size-option.selected{border-color:#007acc;background:linear-gradient(135deg,#e6f3ff,#cce7ff);box-shadow:0 4px 16px #007acc33}.size-option.previewing{border-color:#28a745;background:linear-gradient(135deg,#e6f7e6,#ccf2cc);box-shadow:0 4px 16px #28a74533}.size-option:focus{outline:none;border-color:#007acc;box-shadow:0 0 0 3px #007acc33}.size-option-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.size-name{font-weight:600;color:#333;font-size:var(--timeline-font-size-lg)}.size-multiplier{background:#007acc1a;color:#007acc;padding:4px 8px;border-radius:4px;font-size:var(--timeline-font-size-xs);font-weight:500}.size-preview{margin-bottom:12px;text-align:center}.preview-text{color:#333;font-weight:500;margin-bottom:4px;transition:font-size .2s ease}.preview-small-text{color:#666;transition:font-size .2s ease}.size-details{text-align:center}.size-range{color:#666;font-size:var(--timeline-font-size-xs);font-family:Monaco,Menlo,Ubuntu Mono,monospace}.selected-indicator{position:absolute;top:8px;right:8px;background:#007acc;color:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}.preview-notice{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#e6f7e6,#ccf2cc);color:#155724;padding:12px 16px;border-radius:8px;border:1px solid #c3e6cb;font-size:var(--timeline-font-size-sm);margin-bottom:20px}.preview-icon{font-size:16px}.current-settings{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:8px;padding:16px;border:1px solid #dee2e6}.current-settings h3{margin:0 0 12px;color:#333;font-size:var(--timeline-font-size-lg)}.current-info{display:flex;flex-direction:column;gap:8px}.info-item{display:flex;justify-content:space-between;align-items:center}.info-label{color:#666;font-size:var(--timeline-font-size-sm)}.info-value{color:#333;font-weight:500;font-size:var(--timeline-font-size-sm);font-family:Monaco,Menlo,Ubuntu Mono,monospace}.preview-status{color:#28a745;font-weight:600;font-family:inherit}.font-size-settings-footer{display:flex;justify-content:space-between;align-items:center;padding:20px 28px;border-top:2px solid #e8ecf0;background:linear-gradient(135deg,#f8f9fa,#e9ecef)}.footer-left{display:flex}.footer-right{display:flex;gap:12px}.reset-button{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#6c757d,#5a6268);color:#fff;border:none;padding:10px 16px;border-radius:6px;cursor:pointer;font-size:var(--timeline-font-size-sm);font-weight:500;transition:all .3s ease;box-shadow:0 2px 4px #6c757d4d}.reset-button:hover{background:linear-gradient(135deg,#5a6268,#495057);transform:translateY(-1px);box-shadow:0 4px 8px #6c757d66}.reset-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.cancel-button{background:linear-gradient(135deg,#f8f9fa,#e9ecef);color:#6c757d;border:1px solid #dee2e6;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:var(--timeline-font-size-sm);font-weight:500;transition:all .3s ease;box-shadow:0 2px 4px #0000001a}.cancel-button:hover{background:linear-gradient(135deg,#e9ecef,#dee2e6);color:#495057;transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.apply-button{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#007acc,#0056b3);color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:var(--timeline-font-size-sm);font-weight:500;transition:all .3s ease;box-shadow:0 2px 4px #007acc4d}.apply-button:hover:not(:disabled){background:linear-gradient(135deg,#0056b3,#004085);transform:translateY(-1px);box-shadow:0 4px 8px #007acc66}.apply-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.loading-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite}.button-icon{font-size:14px}@media (max-width: 768px){.font-size-settings-modal{width:95%;max-height:95vh}.font-size-settings-header,.font-size-settings-footer{padding:16px 20px}.font-size-settings-content{padding:20px}.size-options-grid{grid-template-columns:1fr;gap:12px}.font-size-settings-footer{flex-direction:column;gap:12px}.footer-right{width:100%;justify-content:stretch}.cancel-button,.apply-button{flex:1}}@media (max-width: 480px){.font-size-settings-header h2{font-size:1.2rem}.size-option{padding:16px}.current-info{gap:6px}.info-item{flex-direction:column;align-items:flex-start;gap:4px}}.app{width:100vw;min-height:100vh;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;flex-direction:column}.app-header{text-align:center;padding:12px 20px;border-bottom:2px solid #e0e0e0;background:linear-gradient(135deg,#f8f9fa,#fff);flex-shrink:0;display:flex;flex-direction:column;gap:10px}.header-title-row{display:flex;align-items:center;justify-content:center;gap:12px;max-width:600px;margin:0 auto}.header-actions-row{display:flex;justify-content:center;align-items:center;gap:12px}.header-content{display:flex;align-items:center;justify-content:center;gap:16px;max-width:600px;margin:0 auto}.header-with-actions{justify-content:space-between;max-width:800px}.header-actions{display:flex;align-items:center;gap:12px}.font-size-button{display:flex;align-items:center;gap:6px;background:linear-gradient(135deg,#28a745,#1e7e34);color:#fff;border:none;padding:8px 14px;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .3s ease;box-shadow:0 2px 6px #28a7454d}.font-size-button:hover{background:linear-gradient(135deg,#1e7e34,#155724);transform:translateY(-1px);box-shadow:0 4px 12px #28a74566}.data-selection-button{display:flex;align-items:center;gap:6px;background:linear-gradient(135deg,#007acc,#0056b3);color:#fff;border:none;padding:8px 14px;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .3s ease;box-shadow:0 2px 6px #007acc4d}.data-selection-button:hover{background:linear-gradient(135deg,#0056b3,#004085);transform:translateY(-1px);box-shadow:0 4px 12px #007acc66}.button-icon{font-size:1rem}.button-text{font-weight:500}.selection-count{font-size:.8rem;opacity:.9;background:#fff3;padding:2px 6px;border-radius:4px}.header-icon{flex-shrink:0}.header-text{text-align:left}@media (max-width: 768px){.app-header{padding:10px 16px;gap:8px}.header-title-row,.header-content{flex-direction:column;gap:8px}.header-with-actions{flex-direction:column;gap:10px}.header-text{text-align:center}.app-header h1{font-size:1.6rem;margin:0 0 2px}.app-header p{font-size:.85rem}.data-selection-button{font-size:.85rem;padding:8px 12px}}.app-header h1{color:#333;margin:0 0 4px;font-size:2rem}.app-header p{color:#666;font-size:.95rem;margin:0}.app-main{flex:1;display:flex;flex-direction:column;padding:0 20px 20px;overflow:hidden}.timeline-info{background:linear-gradient(135deg,#e8f5e8,#f0f8f0);padding:12px 18px;border-radius:8px;margin-bottom:16px;text-align:center;border:1px solid #c3e6c3;box-shadow:0 2px 8px #0000000d;flex-shrink:0}.timeline-info p{margin:0 0 4px;color:#2d5a2d;font-weight:500;font-size:.9rem}.performance-info{margin-top:4px}.performance-info small{color:#5a7c5a;font-size:.8rem;font-style:italic}.timeline-placeholder{background-color:#fafafa;border:2px dashed #ccc;border-radius:8px;padding:40px;text-align:center;color:#666}.loading{display:flex;justify-content:center;align-items:center;min-height:60vh;padding:40px 20px}.loading-content{text-align:center;background:linear-gradient(135deg,#fff,#f8f9fa);padding:40px;border-radius:16px;box-shadow:0 8px 32px #0000001a;border:1px solid rgba(0,0,0,.05);max-width:400px}.loading-spinner{width:50px;height:50px;border:4px solid #e9ecef;border-top:4px solid #007acc;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}.loading h2{color:#2c3e50;margin:20px 0 10px;font-size:1.5rem;font-weight:600}.loading p{color:#6c757d;margin-bottom:20px;font-size:1rem}.loading-progress{width:100%;height:4px;background-color:#e9ecef;border-radius:2px;overflow:hidden;margin-top:20px}.progress-bar{height:100%;background:linear-gradient(90deg,#007acc,#0056b3);border-radius:2px;animation:progress 2s ease-in-out infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes progress{0%{width:0%}50%{width:70%}to{width:100%}}.error{text-align:center;padding:60px 20px;max-width:600px;margin:0 auto}.error-icon{font-size:4rem;margin-bottom:20px}.error h2{color:#dc3545;margin-bottom:20px;font-size:1.8rem}.error-details{background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:20px;margin:20px 0;text-align:left}.error-message{color:#495057;font-size:1.1rem;font-weight:500;margin-bottom:15px}.error-technical{margin-top:15px}.error-technical summary{cursor:pointer;color:#6c757d;font-weight:500;margin-bottom:10px}.error-timestamp{color:#6c757d;font-size:.9rem;margin-bottom:10px}.error-stack{background-color:#f1f3f4;border:1px solid #d1d5db;border-radius:4px;padding:10px;font-size:.8rem;color:#374151;overflow-x:auto;white-space:pre-wrap}.error-actions{display:flex;gap:15px;justify-content:center;margin-top:25px}.retry-button-main{background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border:none;padding:12px 24px;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .3s ease;box-shadow:0 2px 4px #28a7454d}.retry-button-main:hover{background:linear-gradient(135deg,#20c997,#17a2b8);transform:translateY(-1px);box-shadow:0 4px 8px #28a74566}.reload-button{background:linear-gradient(135deg,#6c757d,#495057);color:#fff;border:none;padding:12px 24px;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .3s ease;box-shadow:0 2px 4px #6c757d4d}.reload-button:hover{background:linear-gradient(135deg,#495057,#343a40);transform:translateY(-1px);box-shadow:0 4px 8px #6c757d66}:root{--timeline-font-size-xs: 14px;--timeline-font-size-sm: 15px;--timeline-font-size-md: 16px;--timeline-font-size-lg: 17px;--timeline-font-size-xl: 18px;--timeline-font-multiplier: 1.2}*{transition:font-size .2s ease}@media (max-width: 768px){:root{--timeline-font-size-xs: calc(var(--timeline-font-size-xs) * .9);--timeline-font-size-sm: calc(var(--timeline-font-size-sm) * .9);--timeline-font-size-md: calc(var(--timeline-font-size-md) * .9);--timeline-font-size-lg: calc(var(--timeline-font-size-lg) * .9);--timeline-font-size-xl: calc(var(--timeline-font-size-xl) * .9)}}@media (max-width: 480px){:root{--timeline-font-size-xs: calc(var(--timeline-font-size-xs) * .8);--timeline-font-size-sm: calc(var(--timeline-font-size-sm) * .8);--timeline-font-size-md: calc(var(--timeline-font-size-md) * .8);--timeline-font-size-lg: calc(var(--timeline-font-size-lg) * .8);--timeline-font-size-xl: calc(var(--timeline-font-size-xl) * .8)}}@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){:root{--timeline-font-size-xs: calc(var(--timeline-font-size-xs) * 1.05);--timeline-font-size-sm: calc(var(--timeline-font-size-sm) * 1.05);--timeline-font-size-md: calc(var(--timeline-font-size-md) * 1.05);--timeline-font-size-lg: calc(var(--timeline-font-size-lg) * 1.05);--timeline-font-size-xl: calc(var(--timeline-font-size-xl) * 1.05)}}@media (prefers-reduced-motion: no-preference){*{transition:font-size .2s ease}}@media (prefers-reduced-motion: reduce){*{transition:none}}.font-size-responsive{font-size:var(--timeline-font-size-md);line-height:calc(var(--timeline-font-multiplier) * 1.4)}.font-size-small{font-size:var(--timeline-font-size-sm)}.font-size-large{font-size:var(--timeline-font-size-lg)}.font-size-extra-large{font-size:var(--timeline-font-size-xl)}
