:root{color:#283149;font-synthesis:none;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}body{background:#f8fafc;min-width:320px;min-height:100vh;margin:0}a{color:#176b73}.site-header{color:#fff;background:#283149;justify-content:space-between;align-items:center;padding:1rem clamp(1rem,4vw,3rem);display:flex}.site-header a{color:inherit;text-decoration:none}.site-header nav{flex-wrap:wrap;gap:1rem;display:flex}.brand{align-items:center;gap:.55rem;font-size:1.25rem;font-weight:700;display:inline-flex}.brand img{width:2rem;height:2rem;display:block}.page-container{width:min(1440px,100%);margin:0 auto;padding:2rem clamp(.75rem,2.5vw,2rem)}.empty-state{background:#fff;border:1px solid #d9e2ec;border-radius:.75rem;padding:2rem}button{font:inherit}.primary-button{color:#fff;cursor:pointer;background:#176b73;border:0;border-radius:.5rem;padding:.7rem 1rem}.primary-button:hover{background:#12565d}.secondary-button{color:#283149;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:.5rem;padding:.5rem .75rem}.secondary-button:hover{color:#176b73;border-color:#176b73}.starter-samples{background:#fff;border:1px solid #d9e2ec;border-radius:.75rem;gap:.85rem;margin-bottom:1.25rem;padding:1rem;display:grid}.starter-samples-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.starter-samples-heading h2{margin:0;font-size:1rem}.starter-sample-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.65rem;display:grid}.starter-sample-button{color:#283149;text-align:left;cursor:pointer;background:#f8fafc;border:1px solid #d9e2ec;border-radius:.5rem;gap:.25rem;min-height:4.5rem;padding:.75rem;display:grid}.starter-sample-button strong{font-size:.95rem;line-height:1.35}.starter-sample-button span{color:#52616b;font-size:.82rem}.starter-sample-button:hover,.starter-sample-button:focus,.starter-sample-button.active{background:#e6f6f7;border-color:#176b73;outline:none}.starter-sample-button.active strong,.starter-sample-button:hover strong,.starter-sample-button:focus strong{color:#12565d}.timeline-toolbar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.notice{background:#e6f6f7;border-radius:.5rem;padding:1rem}.error-notice{color:#8b1e1e;background:#fdecec}.timeline-chart-shell{background:#fff;border:1px solid #d9e2ec;border-radius:.75rem}.chart-header{border-bottom:1px solid #edf2f7;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;display:flex}.chart-help{color:#52616b;margin:0;font-size:.9rem}.detail-mode-control{color:#52616b;border:0;align-items:center;gap:.55rem;margin:0;padding:0;font-size:.85rem;display:flex}.detail-mode-control legend{padding:0;font-weight:700}.segmented-control{background:#fff;border:1px solid #cbd5e1;border-radius:.5rem;display:inline-flex;overflow:hidden}.segmented-control label{color:#52616b;text-align:center;cursor:pointer;min-width:4.75rem;padding:.4rem .65rem;position:relative}.segmented-control label+label{border-left:1px solid #cbd5e1}.segmented-control label.active{color:#fff;background:#176b73}.segmented-control input{opacity:0;pointer-events:none;position:absolute}.timeline-chart-container{position:relative;overflow:auto}.timeline-chart{cursor:crosshair;display:block}.chart-axis line,.grid-line{stroke:#cbd5e1;stroke-width:1px}.chart-axis .grid-line{stroke:#e7edf3}.chart-axis text,.record-period{fill:#52616b;font-size:12px}.record-title{fill:#283149;font-size:13px;font-weight:700;-webkit-text-decoration:underline #0000;text-decoration:underline #0000}.record-summary{cursor:pointer;outline:none}.record-summary:hover .record-title,.record-summary:focus .record-title{fill:#176b73;text-decoration-color:currentColor}.record-remove-button{cursor:pointer;outline:none}.record-remove-button rect{fill:#fff;stroke:#cbd5e1;stroke-width:1px}.record-remove-button line{stroke:#52616b;stroke-linecap:round;stroke-width:1.5px}.record-remove-button:hover rect,.record-remove-button:focus rect{fill:#fdecec;stroke:#c2410c}.record-remove-button:hover line,.record-remove-button:focus line{stroke:#9a3412}.history-line{stroke:#364f6b;stroke-linecap:round;stroke-width:4px}.endpoint{fill:#364f6b}.category-organization .history-line{stroke:#16817a}.category-organization .endpoint{fill:#16817a}.category-movement .history-line{stroke:#7c3aed}.category-movement .endpoint{fill:#7c3aed}.event-point{fill:#e84a7f;stroke:#fff;stroke-width:1.5px;cursor:pointer;outline:none}.event-point:hover,.event-point:focus{r:7px;stroke:#9f1239}.selected-year line{stroke:#d97706;stroke-dasharray:5 4;stroke-width:1.5px}.selected-year text,.age-label{fill:#b45309;font-size:12px;font-weight:700}.event-tooltip{z-index:2;color:#fff;pointer-events:none;background:#283149;border-radius:.5rem;gap:.25rem;width:max-content;max-width:min(320px,100vw - 3rem);padding:.65rem .75rem;font-size:.85rem;display:grid;position:absolute;transform:translate(-12px);box-shadow:0 8px 24px #00000038}.event-tooltip span{color:#cbd5e1}.event-tooltip p{margin:.25rem 0 0}.record-details{background:#f8fafc;border-top:1px solid #d9e2ec}.record-details-content{padding:1rem 1.25rem}.record-details-dialog{z-index:12;background:#0d1b2aa6;border-top:0;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.record-details-dialog .record-details-content{background:#fff;border-radius:.75rem;width:min(760px,100%);max-height:min(760px,90vh);overflow:auto;box-shadow:0 24px 70px #0000004d}.record-details-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.record-detail-image{margin:.75rem 0 1rem}.record-detail-image img{object-fit:cover;border-radius:.5rem;max-width:min(100%,360px);max-height:240px;display:block}.record-detail-image figcaption{color:#52616b;flex-wrap:wrap;gap:.25rem .75rem;margin-top:.45rem;font-size:.8rem;display:flex}.record-details h3,.record-details h4{margin:.2rem 0 .5rem}.record-details dl{grid-template-columns:max-content 1fr;gap:.35rem 1rem;display:grid}.record-details dt{font-weight:700}.record-details dd{margin:0}.record-details ul{margin-bottom:0;padding-left:1.25rem}.detail-event-list{gap:.65rem;margin:.5rem 0 0;padding-left:1.25rem;display:grid}.detail-event-list li{border-bottom:1px solid #edf2f7;padding-bottom:.65rem}.detail-event-list span{color:#52616b;font-size:.82rem;display:block}.detail-event-list strong{margin-top:.1rem;display:block}.detail-event-list p{margin:.25rem 0 0}.inline-source-list{flex-wrap:wrap;gap:.3rem .75rem;margin-top:.35rem;padding-left:0;font-size:.85rem;list-style:none;display:flex}.detail-category{color:#176b73;text-transform:uppercase;font-size:.75rem;font-weight:700}.dialog-backdrop{z-index:10;background:#0d1b2aa6;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.selector-dialog{background:#fff;border-radius:.75rem;flex-direction:column;width:min(760px,100%);max-height:min(760px,90vh);display:flex;box-shadow:0 24px 70px #0000004d}.dialog-header,.dialog-footer{justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.dialog-header h2{margin:0}.dialog-footer{border-top:1px solid #d9e2ec;justify-content:flex-end}.icon-button{color:#52616b;cursor:pointer;background:0 0;border:0;padding:.25rem .6rem;font-size:1.75rem}.tabs{border-bottom:1px solid #d9e2ec;flex-wrap:wrap;gap:.25rem;padding:0 1.25rem;display:flex}.tabs button{cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;flex:8.5rem;padding:.75rem}.tabs button.active{color:#176b73;border-bottom-color:#176b73;font-weight:700}.selection-search{border-bottom:1px solid #edf2f7;gap:.4rem;padding:.9rem 1.25rem .75rem;display:grid}.selection-search label{color:#52616b;font-size:.8rem;font-weight:700}.selection-search input{color:#283149;width:100%;min-height:2.6rem;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:.5rem;padding:.65rem .75rem}.selection-search input:focus{border-color:#176b73;outline:3px solid #176b732e}.selection-list{padding:.5rem 1.25rem;overflow-y:auto}.selection-empty{color:#52616b;margin:0;padding:1rem 0}.selection-item{cursor:pointer;border-bottom:1px solid #edf2f7;align-items:center;gap:.75rem;padding:.75rem 0;display:flex}.selection-item img{object-fit:cover;border-radius:50%;width:48px;height:48px}.selection-item span{gap:.2rem;display:grid}.selection-item small{color:#52616b}.sample-item{align-items:flex-start}.sample-meta{color:#176b73;font-weight:700}.video-frame{aspect-ratio:16/9;width:min(100%,800px);margin-top:2rem;position:relative}.video-frame iframe{border:0;width:100%;height:100%}.document-page{width:min(820px,100%)}.document-page h1{margin-top:0}.document-page h2{margin-top:2rem;font-size:1.15rem}.document-page p{color:#3d4f5f;line-height:1.8}@media (width<=720px){.chart-header{flex-direction:column;align-items:flex-start}}
