/* Reference-led visual system: ivory, publication blue, rounded resource motifs. */
.sequence-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:18px;flex-wrap:wrap}.sequence-content{font-family:ui-monospace,Consolas,monospace!important;line-height:1.8;word-break:break-all;white-space:pre-wrap!important}
:root{--ink:#173f63;--muted:#60768b;--teal:#235f88;--cream:#fffbed;--line:#e2e3cf;--yellow:#fff3cc;--purple:#8c64a0}
body{background:linear-gradient(145deg,#fffdf3 0%,#fff9e5 70%,#f5f9f7 100%);background-attachment:fixed}
.header{background:#fffdf1e8;height:98px;border-bottom:1px solid #e7e4cf;gap:20px}
.brand{font-size:21px;color:#174971;letter-spacing:-.5px}.brand img{border-radius:50%;width:44px;height:44px}.brand small{color:#6d7a83;font-size:12px;letter-spacing:0}
.header nav{gap:8px}.header nav>a{padding:10px 17px;border-radius:999px;font-weight:500}.header nav a.active{background:#e8f0ef;border:0;color:#175577}.header nav>a:hover{background:#f2efd9}
button,.button{border-radius:999px;padding:11px 22px;background:linear-gradient(125deg,#286890,#174e75);border-color:transparent;box-shadow:0 3px 8px #174e7510}
button.secondary,.button.secondary{background:#fffdf6;border-color:#cbd8d3;box-shadow:none}.small{border-radius:999px}.ghost{box-shadow:none}
input,select,textarea{border-radius:15px;border-color:#d9e1d7;background:#fffef8;padding:12px 15px}select{padding-right:25px}textarea{border-radius:18px}
h1{font-family:var(--font);font-size:51px;font-weight:700;letter-spacing:-2px;line-height:1.12;color:#144971}
h2{color:#174971}.eyebrow{font-size:11px;letter-spacing:1.8px;color:#5c7e7f}.eyebrow:before{background:#79a5a1;width:18px}
.container{max-width:1420px;padding-left:5%;padding-right:5%}.home-page{padding-top:16px;padding-bottom:20px}
.hero{position:relative;grid-template-columns:1.05fr 1fr;gap:0;padding:25px 0 32px;isolation:isolate;min-height:455px}
.hero-copy{z-index:2;padding:15px 0;max-width:610px}.hero h1{font-family:var(--font);font-size:60px;letter-spacing:-2.6px;line-height:1.06;margin-bottom:17px;font-weight:700;color:#15476c}.hero .hero-subtitle{font-size:20px;color:#386284;line-height:1.45;max-width:520px;margin-bottom:25px}.hero .hero-description{font-size:14px;line-height:1.8;color:#41617b;max-width:480px;margin-bottom:0}
.hero-art{position:relative;min-width:0;align-self:stretch;margin:-30px -35px -5px -15px;z-index:0;display:flex;align-items:center}.hero-art img{width:100%;height:100%;min-height:410px;max-height:550px;object-fit:cover;object-position:63% center;mix-blend-mode:multiply;mask-image:linear-gradient(to right,transparent 0%,#000 18%,#000 85%,transparent 100%)}
.art-label{position:absolute;background:#fffdf0df;border:1px solid #d6dbc4;backdrop-filter:blur(8px);border-radius:999px;font-size:12px;padding:8px 16px;box-shadow:0 7px 24px #204c6810;color:#245577}.art-label-one{top:21%;right:7%}.art-label-two{bottom:24%;left:12%;color:#785c8c;border-color:#dfcde0}.art-caption{position:absolute;bottom:9%;right:8%;font-size:9px;letter-spacing:1.7px;color:#758187}
.hero-search{border-radius:999px;background:#fffef5;border-color:#b8c9c5;padding:5px;box-shadow:0 8px 26px #14476c0a;margin-top:26px;max-width:570px;align-items:center}.hero-search input{font-size:13px;padding:12px 5px;border-radius:999px}.hero-search button{font-size:13px;padding:11px 21px}.search-symbol{font-size:26px;line-height:1;margin:0 10px;color:#356686}.suggestions{font-size:11px;margin-left:13px;color:#7b858b}.suggestions a{color:#3b6a83;margin-left:10px}
.explore-paths{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;padding:27px 0 29px;border-top:1px solid #e5e2ce;border-bottom:1px solid #e5e2ce;background:linear-gradient(90deg,#fff8e9,#fff8dd,#fff9e8);border-radius:24px 24px 0 0}
.feature{display:block;background:transparent;border:0;border-left:1px solid #e6e1c4;border-radius:0;padding:0 21px;min-height:0;transition:background .2s}.feature:first-child{border-left:0}.feature:hover{transform:none;background:#fffdf26b}.feature h3{font-size:13px;font-weight:700;line-height:1.45;margin-bottom:9px;letter-spacing:-.1px;color:#225682}.feature p{font-size:12px;line-height:1.8;color:#62778a}.feature-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#9b70ab;color:white;margin-bottom:16px;box-shadow:inset 0 0 0 1px #ffffff30,0 5px 13px #47759010}.feature-icon svg{width:29px;height:29px}.feature-disease .feature-icon{background:#53aca4}.feature-population .feature-icon{background:#5e8eb6}.feature-viral .feature-icon{background:#86ac61}.feature-resources .feature-icon{background:#ae8db9}.feature-access .feature-icon{background:#3989a1}
.stats{grid-template-columns:.9fr .8fr .9fr .9fr 1.5fr;background:#f8f0d5;border:0;border-radius:0 0 24px 24px;padding:25px 22px;margin:0 0 20px;gap:0}.stat{padding:0 22px;border-left:1px solid #d9d7b8}.stat:first-child{padding-left:0}.stat strong{font-size:25px;font-weight:600;color:#235c85;letter-spacing:-.7px}.stat span{font-size:11px;color:#617588}.stat-mission{border-left:1px solid #d9d7b8;padding-left:24px}.stat-mission h3{font-size:14px;color:#326a97;margin:0 0 7px}.stat-mission p{font-size:12px;line-height:1.7;color:#68798a;margin:0}.demo-note{background:transparent;border:0;padding:4px 10px;font-size:11px;color:#8a7e57;text-align:center}
.page-head h1,.content-page h1{font-family:var(--font);font-size:43px;font-weight:700;letter-spacing:-1.7px}.page-head{margin-bottom:30px}.content-page{max-width:900px;padding-top:55px}.content-page>.eyebrow{margin-bottom:22px}.prose{background:#fffdf7;border:1px solid #e5e6d5;border-radius:28px;padding:25px 36px;margin-top:30px;font-size:16px;color:#526d80}.prose h2{font-size:23px;letter-spacing:-.5px}.help-cards .panel{border-radius:22px}
.filter-panel{border-radius:25px;background:#fffdf5;border-color:#dce2d0;padding:24px;box-shadow:0 6px 25px #184e6d04}.filter-panel h3{font-size:16px}.filter-panel select{border-radius:999px;background:#fffef8;border-color:#d7dfd0}.results-top{background:#fffdf7;border:1px solid #e1e5d7;border-radius:22px;padding:13px 17px}.search-inline input{border-radius:999px;font-size:13px}.table-wrap{border-radius:22px;border-color:#dce3d5;background:#fffef9;box-shadow:0 7px 28px #25577804}th{background:#edf2e7;color:#4e6f79;padding:18px;font-size:12px;font-weight:600}td{padding:18px;color:#4c687b;border-color:#e9ecd8}th button{background:transparent;box-shadow:none;border-radius:0}td:first-child{color:#2a658b}tbody tr:hover{background:#fff7df}.resource-cell a,.resource-cell button{font-size:12px;box-shadow:none;color:#2c7795}.tag{border-radius:999px;padding:4px 11px}.notice{border-radius:17px;background:#fff4d9;border-color:#eadfb4}
.account-gate{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding:26px 28px;border:1px solid #cfddd4;border-radius:25px;background:linear-gradient(120deg,#edf4f0,#fff9e1)}.gate-kicker{font-size:10px;font-weight:700;letter-spacing:1.4px;color:#668487}.account-gate h3{font-size:21px;margin:7px 0;color:#245b7c}.account-gate p{font-size:13px;line-height:1.7;color:#648090;margin:0;max-width:450px}
.admin-sidebar a{border-radius:999px;padding:12px 19px}.admin-sidebar a.active{background:#e5eeeb;color:#235b77}.admin-main h1{font-family:var(--font);font-weight:700;letter-spacing:-1.5px;font-size:39px}.panel{border-radius:24px;border-color:#dde3d5;background:#fffef8;box-shadow:0 8px 25px #2d577305}.dataset-card{padding:29px}.dataset-card h3{color:#245b7c}.column-row{border-radius:17px;background:#fffef7;padding:12px 15px}.column-row .actions button{border-radius:50%;width:28px;height:28px;padding:0;box-shadow:none}.drag-handle{color:#9daea6}.rule{border-radius:23px;background:#fffdf3;padding:25px}.rule-head h3{font-size:20px;color:#2c6488}.sticky-save{border-radius:999px;background:#edf2e9f5;border-color:#d4dfd0;padding:13px 20px;box-shadow:0 6px 25px #16476d0c}.tabs{gap:10px;border:0;background:#eaeedd;border-radius:999px;padding:5px;display:inline-flex;max-width:100%;margin-bottom:25px}.tabs button{border:0;padding:10px 19px;border-radius:999px;background:none;color:#6b7b7b;box-shadow:none}.tabs button.active{border:0;background:#fffef6;color:#245f83;box-shadow:0 2px 8px #17476c0a}.editor-table .row-number{background:#eff2e6}.editor-table td input{background:transparent;border-radius:0}.upload-box{border-radius:24px;background:#f2f6eb}.auth-layout{border-radius:30px;padding:36px;background:#fffdf4;box-shadow:0 15px 45px #17476c08}.auth-layout h1{font-size:36px;letter-spacing:-1.3px}.auth-layout input{border-radius:999px}dialog{border-radius:27px;background:#fffdf5;box-shadow:0 24px 100px #173f4933}.dialog-top .icon-button{border-radius:50%;background:#eef2e8;width:35px;height:35px;padding:0;box-shadow:none}#modal-body .resource-value{border-radius:18px;background:#f1f5e9}#toast{border-radius:999px;background:#204f73}
footer{background:#f5f3e6;border-top-color:#e4e4d2;padding-top:25px;padding-bottom:25px}footer .brand{color:#245a7c;font-size:17px}
.population-resource{display:inline-flex!important;flex-direction:column;align-items:flex-start!important;gap:5px!important;text-decoration:none!important;color:#245f83!important;font-weight:600!important}.population-link-label{text-decoration:underline;text-underline-offset:3px}.population-flags{display:flex;align-items:center;gap:3px;min-height:13px}.population-flags img,.flag-cell img{display:inline-block;width:18px;height:13px;object-fit:cover;border:1px solid #d9dfd2;border-radius:2px}.population-flag-fallback{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:13px;padding:0 2px;box-sizing:border-box;border:1px solid #d9dfd2;border-radius:2px;background:#f7f4e7;color:#536b68;font:700 7px/1 system-ui,sans-serif}.population-flags i{font-size:10px;font-style:italic;color:#728089;white-space:nowrap}.flag-cell{min-width:55px}.regional-popup-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 14px}.regional-popup-table{max-height:min(58vh,610px);overflow:auto}.regional-popup-table table{min-width:570px;font-size:13px}.regional-popup-table th,.regional-popup-table td{padding:10px 12px}.regional-popup-table th:first-child,.regional-popup-table td:first-child{position:sticky;left:0}.regional-popup-table tbody tr:nth-child(even){background:#fbfcf7}.regional-source{margin:15px 2px 2px;font-size:13px;color:#66787a}.regional-source a{color:#23688d;text-decoration:underline;text-underline-offset:3px;font-weight:600}#modal{max-width:min(920px,calc(100vw - 28px));max-height:calc(100vh - 30px);overflow:auto}#modal-body{max-height:calc(100vh - 120px);overflow:auto}
@media(max-width:1120px){.header .brand{font-size:17px}.header nav>a{padding:8px 12px}.hero h1{font-size:49px}.hero .hero-subtitle{font-size:18px}.feature{padding:0 13px}.feature h3{font-size:12px}.stats{padding:24px 18px}.stat{padding:0 15px}.hero-search button{padding:11px 14px}.hero-art{margin-right:-20px}.stat-mission{padding-left:18px}}
@media(max-width:760px){.header{height:auto;min-height:88px;padding:16px 5%;gap:12px}.header nav{justify-content:flex-start;gap:4px}.header nav>a{font-size:12px;padding:8px 13px}.header .brand img{width:35px;height:35px}.home-page{padding-top:12px}.hero{grid-template-columns:1fr;min-height:0;padding:10px 0 25px;gap:0}.hero-copy{padding:5px 0;max-width:none}.hero h1{font-size:43px;letter-spacing:-1.8px;line-height:1.08}.hero .hero-subtitle{font-size:18px;max-width:450px}.hero .hero-description{font-size:14px;max-width:none}.hero-search{flex-wrap:nowrap;margin-top:23px}.hero-search input{font-size:12px;min-width:0;flex:1}.hero-search button{font-size:12px;padding:10px 13px}.search-symbol{margin:0 4px 0 8px;font-size:21px}.hero-art{height:285px;min-height:0;margin:5px -15px 0}.hero-art img{height:285px;min-height:0;max-height:none;object-fit:contain;mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent)}.art-label-one{top:15%;right:9%;font-size:11px;padding:6px 12px}.art-label-two{bottom:21%;left:10%;font-size:11px;padding:6px 12px}.art-caption{font-size:8px;bottom:7%;right:13%}.explore-paths{grid-template-columns:repeat(2,minmax(0,1fr));padding:22px 0 5px;border-radius:24px 24px 0 0;row-gap:24px}.feature{padding:0 18px 16px}.feature:nth-child(odd){border-left:0}.feature-icon{width:44px;height:44px;margin-bottom:12px}.feature-icon svg{width:25px;height:25px}.feature h3{font-size:13px}.feature p{font-size:12px}.stats{grid-template-columns:1fr 1fr;gap:19px;margin:0 0 17px;padding:24px}.stat{padding:0 18px}.stat:nth-child(3){padding:0;border:0}.stat strong{font-size:24px}.stat-mission{grid-column:1/-1;border:0;border-top:1px solid #d9d7b8;padding:17px 0 0}.stat-mission h3{font-size:14px}.page-head h1,.content-page h1{font-size:36px;letter-spacing:-1.2px}.content-page{padding-top:35px}.prose{padding:20px 23px;border-radius:24px}.prose h2{font-size:21px}.account-gate{display:block;padding:23px}.account-gate .actions{margin-top:18px}.admin-main h1{font-size:33px}.tabs{gap:0;padding:4px;display:flex}.tabs button{font-size:12px;padding:9px 12px}.sticky-save{border-radius:22px;padding:12px 15px}.filter-panel{padding:20px}.results-top{padding:15px}.header:has(.custom-nav){min-height:88px}.dataset-card{padding:23px}}

.association-cell{min-width:165px}.association-reveal-button{padding:7px 12px!important;font-size:12px!important;color:#245f83!important;border:1px solid #d6e1d8!important;background:#f7fbf1!important}.association-loading{display:inline-block;margin-left:8px;font-size:12px;font-style:italic;color:#71817d}.association-value{white-space:pre-wrap;overflow-wrap:anywhere}.association-settings{margin:22px 0;padding:20px 22px;border:1px solid #dce3d5;border-radius:20px;background:#f8f8ed}.association-settings h2{margin-top:0;font-size:19px}
.association-loading[hidden],.association-value[hidden]{display:none!important}
.association-reveal-slot{display:inline-block;min-width:165px}.association-reveal-button{background:#2c7795!important;border-color:#2c7795!important;color:#fff!important}.association-reveal-button[hidden],.association-loading[hidden],.association-value[hidden]{display:none!important}.association-loading,.association-value{margin:0}.association-loading{color:#2c7795}
.explore-paths{grid-template-columns:repeat(4,minmax(0,1fr))}.feature{min-height:170px;padding:0 20px}.feature h3{font-size:15px}.feature p{font-size:13px}.feature-associations .feature-icon{background:#9b70ab}.feature-resources .feature-icon{background:#ae8db9}
.atlas-view-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 22px;padding:6px;border:1px solid #e3e5d5;border-radius:999px;background:#f2f3e8;width:max-content;max-width:100%}.atlas-view-tabs button{padding:9px 18px;border:0;border-radius:999px;background:transparent;color:#597387;font-size:13px;box-shadow:none}.atlas-view-tabs button.active{background:#fffef7;color:#245f83;box-shadow:0 2px 8px #17476c0c}.selected-dataset-name{padding:10px 12px;border:1px solid #e4e6d8;border-radius:12px;background:#f7f8ee;color:#2c6488;font-size:13px}
.allele-group-picker{display:flex;align-items:center;gap:14px;max-width:480px;margin:0 0 18px;padding:15px 18px;border:1px solid #e5e3cb;border-radius:19px;background:#fffdf3}.allele-group-picker label{margin:0;white-space:nowrap;color:#486877}.allele-group-picker select{max-width:280px;border-radius:999px}.allele-visualization{min-height:148px;display:flex;align-items:center;gap:22px;margin:0 0 22px;padding:24px 30px;border:1px dashed #a8c3b7;border-radius:24px;background:linear-gradient(120deg,#f2f6e9,#fffdf3);color:#668079}.allele-visualization strong{display:block;color:#245f83;font-size:16px}.allele-visualization p{margin:4px 0 0;font-size:13px}.visualization-mark{position:relative;width:112px;height:78px;flex:none;border-bottom:1px solid #c6d6c9;border-left:1px solid #c6d6c9;background:repeating-linear-gradient(to top,transparent 0 18px,#e1e9db 19px 20px)}.visualization-mark span,.visualization-mark i{position:absolute;display:block;width:12px;height:12px;border-radius:50%;background:#65aaa0;box-shadow:0 0 0 5px #65aaa022}.visualization-mark span:nth-child(1){left:20px;bottom:20px}.visualization-mark span:nth-child(2){left:49px;bottom:43px;background:#7ea65d}.visualization-mark span:nth-child(3){right:17px;bottom:30px;background:#9c78a9}.visualization-mark i{left:47px;bottom:17px;width:5px;height:31px;border-radius:9px;transform:rotate(-47deg);transform-origin:bottom;background:#a5bcb0;box-shadow:none}
.allele-summary-scroll{max-height:206px;margin:0 0 24px;overflow:auto;border:1px solid #e5e3cd;border-radius:19px;background:#fffdf3;overscroll-behavior:contain}.allele-summary-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;font-size:12px}.allele-summary-table th,.allele-summary-table td{min-width:112px;padding:10px 14px;border-right:1px solid #e7e5d5;border-bottom:1px solid #ece9d9;text-align:left;vertical-align:top;line-height:1.45}.allele-summary-table th{position:sticky;top:0;z-index:1;background:#f6f3dc;color:#75857d;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.allele-summary-table td{color:#285b78;overflow-wrap:anywhere}.allele-summary-table th:first-child,.allele-summary-table td:first-child{min-width:150px}.allele-summary-table th:last-child,.allele-summary-table td:last-child{border-right:0}.allele-summary-table tbody tr:last-child td{border-bottom:0}.allele-summary-scroll:focus-visible{outline:3px solid #2c7795;outline-offset:2px}
@media(max-width:1000px) and (min-width:761px){.explore-paths{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.allele-group-picker{display:grid;gap:8px;padding:13px 16px}.allele-group-picker select{max-width:none}.allele-visualization{min-height:120px;padding:18px 20px;gap:15px}.allele-summary-scroll{max-height:190px;border-radius:15px}.allele-summary-table th,.allele-summary-table td{padding:9px 11px}}
@media(max-width:760px){.explore-paths{grid-template-columns:1fr;padding:20px 0 5px;row-gap:0}.feature{min-height:0;padding:14px 20px 18px;border-left:0;border-bottom:1px solid #e6e1c4}.feature:last-child{border-bottom:0}.feature-icon{margin-bottom:10px}.atlas-view-tabs{width:100%;border-radius:20px;justify-content:center}.atlas-view-tabs button{flex:1 1 100%;border-radius:14px}}
.allele-visualization.allele-chart{display:block;min-height:0;padding:21px 24px;margin:0 0 22px;border-style:solid;border-color:#e0e5d6;background:linear-gradient(125deg,#fffdf4,#f3f6eb);color:#526f7c}.allele-chart-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}.allele-chart-heading strong{font-size:17px}.allele-chart-heading p,.allele-chart-message{margin:5px 0 0;font-size:12px;line-height:1.5;color:#71817c}.allele-chart-panel{margin-top:15px;padding:15px;border:1px solid #e0e5d6;border-radius:17px;background:#fffef7}.allele-chart-panel h3{margin:0 0 9px;color:#285f7d;font-size:14px}.allele-chart-caption{margin:6px 2px 0;color:#71817c;font-size:11px}.allele-chart-scroll{max-height:520px;overflow:auto;border:1px solid #e7e8dc;border-radius:15px;background:#fffef8;overscroll-behavior:contain}.allele-chart-scroll:focus-visible{outline:3px solid #2c7795;outline-offset:2px}.allele-chart-svg{display:block;min-width:100%;font-family:inherit}.allele-chart-category-label{fill:#245f83;font-size:14px;font-weight:700}.allele-chart-grid{stroke:#e8eadf;stroke-width:1}.allele-chart-axis{stroke:#b7c8bd;stroke-width:1.2}.allele-chart-disease{fill:#526f7c;font-size:12px}.allele-chart-allele{fill:#285f7d;font-size:11px}.allele-chart-axis-title{fill:#72817c;font-size:11px;font-weight:600;letter-spacing:.04em}.allele-chart-point{fill:#397f8d;stroke:#fffef8;stroke-width:2;cursor:help}.allele-chart-point:hover,.allele-chart-point:focus{stroke:#173f63;stroke-width:3}
@media(max-width:760px){.allele-visualization.allele-chart{padding:16px}.allele-chart-heading{display:block}.allele-chart-legend{justify-content:flex-start;margin-top:10px}.allele-chart-disease{font-size:11px}}
.disease-chart-box{margin:0 0 24px;padding:23px 25px;border:1px solid #e1e5d7;border-radius:22px;background:linear-gradient(125deg,#fffdf4,#f4f6ec);box-shadow:0 7px 28px #25577804}.disease-chart-type{display:flex;align-items:center;gap:14px;margin:0 0 19px;color:#486877}.disease-chart-type span{white-space:nowrap}.disease-chart-type select{width:min(360px,100%);border-radius:999px;background:#fffef7}.disease-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:10px}.disease-chart-heading h2{margin:0;color:#245f83;font-size:22px}.disease-chart-heading p{margin:4px 0 0;color:#71817c;font-size:13px}.disease-chart-controls{display:flex;align-items:center;gap:11px;white-space:nowrap}.disease-chart-scroll{overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid #e7e8dc;border-radius:16px;background:#fffef8}.disease-chart-scroll:focus-visible{outline:3px solid #2c7795;outline-offset:2px}.disease-chart-svg{display:block;min-width:100%;font-family:inherit}.disease-chart-grid{stroke:#e8eadf;stroke-width:1}.disease-chart-axis{stroke:#aebfb4;stroke-width:1.2}.disease-chart-tick,.disease-chart-value{fill:#657a78;font-size:11px}.disease-chart-group{fill:#285f7d;font-size:11px}.disease-chart-axis-title{fill:#72817c;font-size:12px;font-weight:600;letter-spacing:.03em}.disease-chart-bar{fill:#327586}.disease-chart-bar:hover{fill:#205e70}.disease-chart-empty{padding:40px 15px;text-align:center;color:#71817c;background:#fffef8;border-radius:16px}@media(max-width:760px){.disease-chart-box{padding:16px;border-radius:18px}.disease-chart-type{display:grid;gap:6px}.disease-chart-type select{width:100%}.disease-chart-heading{align-items:flex-start;flex-direction:column}.disease-chart-controls{align-self:flex-end}.disease-chart-heading h2{font-size:19px}}

/* Replication markers are limited to the two association views. */
.replication-legend{display:flex;justify-content:flex-end;gap:14px;flex-wrap:wrap;margin:10px 0 12px;padding:10px 13px;border:1px solid #e7d49d;border-radius:12px;background:#fffdf0;width:max-content;max-width:100%;margin-left:auto}
.replication-legend-item{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#536c70;white-space:nowrap}
.replication-swatch{display:inline-block;width:13px;height:13px;border-radius:2px;flex:0 0 13px}
.replication-independent{background:#438fa0!important;border-color:#438fa0!important}
.replication-heterogeneous{background:#8d6caf!important;border-color:#8d6caf!important}
.allele-replication-cell{position:relative;padding-right:50px!important;white-space:nowrap}
.allele-replication-label{display:inline-block}
.allele-replication-markers{position:absolute;top:9px;right:12px;display:flex;align-items:center;gap:5px}
button.replication-indicator{position:relative;display:block;width:13px;height:13px;min-width:13px;min-height:13px;padding:0;border:0;border-radius:2px;box-shadow:none;flex:0 0 13px}
button.replication-indicator::after{content:attr(data-tooltip);position:absolute;display:none;top:calc(100% + 7px);left:0;right:auto;z-index:40;width:max-content;max-width:min(240px,70vw);padding:6px 9px;border-radius:6px;background:#193f48;color:#fff;font:600 12px/1.3 var(--font);white-space:normal;text-align:left;box-shadow:0 3px 12px #193f4830}
button.replication-indicator:hover::after,button.replication-indicator:focus-visible::after,button.replication-indicator[aria-expanded="true"]::after{display:block}
.or-chart-box{margin:0 0 24px;padding:23px 25px;border:1px solid #e1e5d7;border-radius:22px;background:linear-gradient(125deg,#fffdf4,#f4f6ec);box-shadow:0 7px 28px #25577804}
.or-chart-legend{display:flex;justify-content:flex-end;gap:16px;flex-wrap:wrap;margin:2px 0 12px;color:#536c70;font-size:12px;font-weight:600}
.or-chart-legend span{display:inline-flex;align-items:center;gap:7px}
.or-chart-swatch{display:inline-block;width:13px;height:13px;border-radius:2px}
.or-chart-swatch-independent,.or-score-cap-fill-independent{background:#4396a3;fill:#4396a3}
.or-chart-swatch-heterogeneous,.or-score-cap-fill-heterogeneous{background:#9270aa;fill:#9270aa}
.or-score-bar{fill:#244a73}
.or-score-cap-fill{pointer-events:none}
.or-chart-allele{font-size:10px}
@media(max-width:760px){.or-chart-box{padding:16px;border-radius:18px}.or-chart-legend{justify-content:flex-start}.or-chart-allele{font-size:9px}}
@media(max-width:760px){.replication-legend{justify-content:flex-start;width:100%;gap:8px 13px}.replication-legend-item{font-size:11px}.allele-replication-cell{padding-right:46px!important}.allele-replication-markers{right:9px;top:8px}}

/* Compact, reference-inspired HLA-A*01:01 allele dossier */
.allele-dossier{max-width:1320px;padding-top:26px;padding-bottom:54px;color:#183657;font-size:14px}
.allele-dossier .breadcrumbs{font-size:12px;margin-bottom:22px}
.allele-dossier-head{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;padding:8px 0 20px}
.allele-dossier-head h1{font-size:36px;line-height:1.1;letter-spacing:-.035em;margin:5px 0 9px;color:#183d68}
.allele-dossier-head p{font-size:13px;margin:5px 0;color:#536c87}
.allele-dossier-head p span{padding:0 8px;color:#9bb1c4}
.allele-dossier-head .allele-summary-intro{max-width:700px;margin-top:14px;font-size:14px}
.allele-select-field{display:grid;gap:7px;min-width:220px;color:#375c84;font-size:12px;font-weight:700}
.allele-select-field select{min-height:40px;border:1px solid #ccdbeb;border-radius:8px;padding:8px 12px;background:#fff;color:#173b68;font:500 14px var(--font)}
.allele-section-nav{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:7px;margin:4px 0 14px;border:1px solid #d4e3f2;border-radius:10px;background:#f8fbff;box-shadow:0 4px 15px #153f6810}
.allele-section-nav a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:7px 10px;border-radius:6px;text-align:center;color:#375b82;font-size:12px;font-weight:650;text-decoration:none}
.allele-section-nav a span,.allele-section-card h2 span{color:#6387ac}
.allele-section-nav a:hover{background:#e8f1f8;color:#194876}
.allele-section-nav a:focus-visible{outline:2px solid #3977aa;outline-offset:2px}
.allele-section-nav a.selected{background:#194876;color:#fff}
.allele-section-nav a.selected span{color:#cfe4fa}
.allele-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.allele-section-grid[data-active-section="sequence"],.allele-section-grid[data-active-section="population"],.allele-section-grid[data-active-section="binding"],.allele-section-grid[data-active-section="tcr"]{grid-template-columns:minmax(0,1fr)}
.allele-section-grid[data-active-section="sequence"] #allele-section-population,.allele-section-grid[data-active-section="sequence"] #allele-section-binding,.allele-section-grid[data-active-section="sequence"] #allele-section-tcr,.allele-section-grid[data-active-section="population"] #allele-section-sequence,.allele-section-grid[data-active-section="population"] #allele-section-binding,.allele-section-grid[data-active-section="population"] #allele-section-tcr,.allele-section-grid[data-active-section="binding"] #allele-section-sequence,.allele-section-grid[data-active-section="binding"] #allele-section-population,.allele-section-grid[data-active-section="binding"] #allele-section-tcr,.allele-section-grid[data-active-section="tcr"] #allele-section-sequence,.allele-section-grid[data-active-section="tcr"] #allele-section-population,.allele-section-grid[data-active-section="tcr"] #allele-section-binding{display:none}
.allele-section-card{min-width:0;padding:17px 18px 15px;border:1px solid #d6e4f1;border-radius:10px;background:#fff;scroll-margin-top:68px;box-shadow:0 3px 12px #16456d08}
.allele-section-card h2{display:flex;align-items:center;gap:8px;margin:0 0 13px;padding-bottom:9px;border-bottom:1px solid #e2edf6;color:#173e6c;font-size:18px;line-height:1.2;letter-spacing:-.02em}
.allele-card-lede,.allele-section-card>p{font-size:12px;line-height:1.55;color:#526a84}
.allele-sequence-tabs{display:flex;border-bottom:1px solid #cbdced}
.allele-sequence-tabs button{padding:8px 12px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#607891;font-size:12px;box-shadow:none}
.allele-sequence-tabs button.active{border-bottom-color:#1878cf;color:#174c82;background:#f7fbff}
.allele-sequence-body{min-height:180px;padding:11px 0 8px}
.sequence-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}
.dossier-sequence-text{max-height:236px;overflow:auto;margin:10px 0;padding:10px;background:#f8fbff;border:1px solid #e1eaf3;border-radius:5px;color:#385a7d;font:11px/1.65 ui-monospace,Consolas,monospace;white-space:pre}
.dossier-sequence-text span{display:block}.dossier-sequence-text i{display:inline-block;width:39px;color:#8da1b4;font-style:normal;user-select:none}
.allele-dossier a{color:#075da7;text-decoration:underline;text-underline-offset:2px}
.allele-dossier .small{font-size:11px;padding:6px 9px}
.allele-sequence-meta{display:flex;flex-wrap:wrap;gap:8px 17px;padding:10px 0 0;border-top:1px solid #e4edf5;color:#5b7087;font-size:10px}
.allele-sequence-meta b{display:block;margin-top:3px;color:#274d75;font-size:11px}
.allele-data-preview{min-height:105px}
.allele-record-count{margin:7px 0 10px!important;color:#596f82!important;font-size:12px!important}
.allele-record-count b{color:#183f69;font-size:16px}
.allele-mini-table-wrap{max-width:100%;overflow:auto;border:1px solid #dce7f1;border-radius:5px}
.allele-mini-table{width:100%;border-collapse:collapse;font-size:11px}
.allele-mini-table th,.allele-mini-table td{padding:6px 8px;text-align:left;vertical-align:top;border-bottom:1px solid #e3ebf3;white-space:normal}
.allele-mini-table th{background:#f3f8fd;color:#385b7e;font-size:10px;font-weight:700}
.allele-mini-table tr:last-child td{border-bottom:0}
.allele-card-link{display:inline-block;margin-top:12px;font-size:12px;font-weight:650}
.allele-source-note{margin:10px 0 0!important;color:#718397!important;font-size:10px!important}
.structure-card{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(0,1fr);gap:14px;align-items:center;margin-top:12px}
.structure-card iframe{display:block;width:100%;height:190px;border:1px solid #dce8f3;border-radius:6px;background:#f7fbff}
.structure-card h3{margin:0 0 7px;color:#244a72;font-size:13px}
.structure-card p{margin:0 0 8px;color:#62758a;font-size:11px;line-height:1.55}
.structure-card a{display:block;margin-top:6px;font-size:11px}
.structure-card-compact{grid-template-columns:minmax(125px,.48fr) minmax(0,1fr);margin-top:14px;padding-top:13px;border-top:1px solid #e1eaf3}
.structure-card-compact iframe{height:132px}
.structure-placeholder{display:grid;place-items:center;height:62px;border:1px solid #d8e5f0;border-radius:6px;background:linear-gradient(145deg,#eef7ff,#fff);color:#3975aa;font-size:20px;font-weight:700}
.allele-section-card-wide{grid-column:1/-1}
.population-map-title{margin:5px 0 8px;color:#385b7e;font-size:12px;font-weight:700}
.population-map-svg{display:block;width:100%;height:auto;max-height:210px;border:1px solid #dce7f1;border-radius:6px;background:#f9fcff}
.population-map-svg path{transition:fill .15s ease,opacity .15s ease}
.population-map-svg path:hover{opacity:.76;stroke:#244a72;stroke-width:.8}
.population-map-legend{display:flex;flex-wrap:wrap;gap:6px 10px;margin:8px 0 13px;color:#5e7185;font-size:9px}
.population-map-legend span{display:inline-flex;align-items:center;gap:4px}
.population-map-legend i{width:10px;height:10px;border:1px solid #d3dce4;border-radius:2px;background:var(--map-color)}
.structure-gallery{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:14px auto 8px;max-width:820px;border:1px solid #d9e5f0;border-radius:8px;overflow:hidden;background:#f7fbff}
.structure-image-wrap{position:relative;display:grid;place-items:center;min-height:310px;background:radial-gradient(ellipse at center,#fff 0,#f7fbff 72%)}
.structure-image-wrap img{display:block;width:min(100%,560px);height:310px;object-fit:contain}
.structure-image-loading{padding:30px;color:#718397}
.structure-gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 13px;border-top:1px solid #d9e5f0;background:#fff;color:#385b7e;font-size:12px}
.gallery-caption{font-weight:650}
.gallery-controls{display:flex;align-items:center;gap:9px;white-space:nowrap}
.gallery-controls button{width:31px;height:29px;padding:0;border:1px solid #c8d8e7;border-radius:5px;background:#fff;color:#24547d;font-size:17px;line-height:1;cursor:pointer}
.gallery-controls button:hover{background:#eaf3fb}
.sequence-annotation-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:20px 0 8px}
.sequence-annotation-heading h3,.sequence-annotation-title{margin:0;color:#244a72;font-size:16px}
.sequence-annotation-heading a{font-size:12px}
.sequence-annotation-frame{position:relative;width:100%;height:680px;overflow:hidden;border:1px solid #d9e5f0;border-radius:7px;background:#fff}
.sequence-annotation-frame iframe{position:absolute;top:-380px;left:0;display:block;width:100%;height:1080px;min-height:1080px;border:0;background:#fff;overflow:auto}
.sequence-annotation-frame-full{height:680px;min-height:680px;margin:12px 0 18px}
.allele-sequence-full{padding:16px}
.dossier-sequence-full-text{max-height:none;white-space:pre;overflow:auto}
.allele-section-card .allele-card-link+.allele-card-link{margin-left:14px}
.allele-dataset-page .structure-gallery{max-width:760px;margin:10px 0 16px}
.allele-dataset-page .structure-image-wrap{min-height:390px}
.allele-dataset-page .structure-image-wrap img{height:390px}
.allele-dataset-page .results-top{margin:0 0 14px}
.allele-page-link{color:#075da7;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;font-weight:650}
.allele-page-link:hover{color:#003f78;text-decoration-thickness:2px}
.allele-page-link:focus-visible{outline:2px solid #2c7795;outline-offset:2px;border-radius:2px}
.atlas-tab-config-list{display:grid;gap:10px;margin:18px 0 22px}.atlas-tab-config-row{display:grid;grid-template-columns:minmax(105px,.7fr) minmax(220px,2fr) auto;align-items:end;gap:14px;padding:13px 15px;border:1px solid #dce5dc;border-radius:13px;background:#fffef8}.atlas-tab-visible{align-self:center;white-space:nowrap}.atlas-tab-name-field{margin:0}.atlas-tab-name-field label{margin-bottom:5px}.atlas-tab-name-field input{padding:9px 11px}.atlas-tab-moves{gap:6px}.atlas-tab-moves button{min-width:38px;padding:7px 11px;font-size:17px}
.allele-dataset-page .page-head h1{font-size:32px}
.tcr-json-cell{min-width:190px;max-width:320px}.tcr-json-cell summary{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;cursor:pointer;line-height:1.45;color:var(--ink)}.tcr-json-cell summary span{overflow-wrap:anywhere}.tcr-json-cell summary small{flex:none;color:var(--teal);font-size:12px;text-decoration:underline;text-underline-offset:2px}.tcr-json-cell[open] summary{margin-bottom:10px}.tcr-json-cell dl{display:grid;grid-template-columns:minmax(85px,auto) minmax(0,1fr);gap:5px 12px;margin:0;font-size:12px;line-height:1.45}.tcr-json-cell dl>div{display:contents}.tcr-json-cell dt{font-weight:700;color:var(--muted);overflow-wrap:anywhere}.tcr-json-cell dd{margin:0;overflow-wrap:anywhere;white-space:normal}
.tcr-filter-panel{margin:0 0 16px;padding:16px;border:1px solid #d9e5f0;border-radius:9px;background:linear-gradient(135deg,#fbfdff,#f3f8fd)}.tcr-filter-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.tcr-filter-heading h2{margin:0;color:#244a72;font-size:16px}.tcr-filter-heading p{margin:3px 0 0;color:#687d91;font-size:12px}.tcr-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px}.tcr-filter-field{display:grid;gap:5px;min-width:0;color:#385b7e;font-size:11px;font-weight:650}.tcr-filter-field input{width:100%;min-width:0;box-sizing:border-box;padding:8px 10px;border:1px solid #cad9e7;border-radius:6px;background:#fff;color:#244a72;font:inherit;font-weight:400}.tcr-filter-field input:focus{outline:2px solid #8cb9df;outline-offset:1px}.tcr-active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px}.tcr-active-label{color:#61768b;font-size:11px;font-weight:700}.tcr-filter-chip{display:inline-flex;align-items:center;gap:8px;padding:5px 9px;border:1px solid #c7dbea;border-radius:99px;background:#eaf3fb;color:#254f76;font-size:11px;cursor:pointer}.tcr-filter-chip span{font-size:15px;line-height:10px}.tcr-filter-hint{color:#74879a;font-size:11px}
.iedb-peptide-dataset{margin-top:30px;padding-top:22px;border-top:1px solid #dce7f1}.iedb-peptide-dataset .sequence-annotation-heading{margin-top:0}.iedb-peptide-dataset .sequence-annotation-heading h2{margin:0;color:#244a72;font-size:20px}.iedb-filter-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.iedb-preview-wrap{margin:8px 0}.iedb-preview-table{min-width:560px}.iedb-peptide-dataset .table-wrap{max-width:100%}.iedb-peptide-dataset .table-wrap table{min-width:1160px}.allele-sequence-meta span{white-space:normal}
@media(max-width:900px){.allele-section-nav a{font-size:11px;padding:7px 4px}.allele-section-grid{gap:10px}.allele-section-card{padding:14px}}
@media(max-width:680px){.allele-dossier{padding-top:18px}.allele-dossier-head{align-items:stretch;flex-direction:column;gap:12px}.allele-dossier-head h1{font-size:30px}.allele-select-field{max-width:none}.allele-section-nav{grid-template-columns:repeat(2,minmax(0,1fr));position:static}.allele-section-nav a{min-height:42px}.allele-section-grid{grid-template-columns:1fr}.allele-section-card,.allele-section-card-wide{grid-column:1;scroll-margin-top:12px}.structure-card{grid-template-columns:1fr}.structure-card iframe{height:220px}.structure-card-compact{grid-template-columns:minmax(110px,.6fr) minmax(0,1fr)}.structure-card-compact iframe{height:150px}.structure-image-wrap,.allele-dataset-page .structure-image-wrap{min-height:240px}.structure-image-wrap img,.allele-dataset-page .structure-image-wrap img{height:240px}.structure-gallery-toolbar{align-items:flex-start;flex-direction:column}.sequence-annotation-heading{align-items:flex-start;flex-direction:column}.sequence-annotation-frame{height:600px}.sequence-annotation-frame-full{height:600px;min-height:600px}}
@media(max-width:680px){.atlas-tab-config-row{grid-template-columns:1fr auto;gap:8px}.atlas-tab-visible{grid-column:1}.atlas-tab-name-field{grid-column:1/-1;grid-row:2}.atlas-tab-moves{grid-column:2;grid-row:1}}

/* Admin data curation workspace */
.curation-map{margin:18px 0;padding:22px 24px;background:linear-gradient(135deg,#fffef9,#f5f9f5)}
.curation-map h2{margin:0 0 8px;font-size:21px}.curation-map p{max-width:900px;color:var(--muted);font-size:14px}.curation-map a{text-decoration:underline;text-underline-offset:3px;color:#155b75}
.curation-map-steps{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;padding:12px 15px;border-radius:8px;background:#edf3ec;color:#375c57;font-size:13px;font-weight:650}.curation-map-steps b{color:#8a9c8d}
.lineage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:9px;margin:15px 0}.lineage-grid>div{padding:13px;border:1px solid var(--line);border-radius:8px;background:#fff}.lineage-grid b,.lineage-grid span{display:block}.lineage-grid b{margin-bottom:5px;color:#234d58;font-size:13px}.lineage-grid span{color:var(--muted);font-size:12px;line-height:1.5}
.dataset-curation-notes{margin:10px 0;color:#526a69;font-size:12px}.dataset-curation-notes summary{cursor:pointer;font-weight:700;color:#22606b}.dataset-curation-notes p{margin:6px 0 0;white-space:pre-wrap}
.bulk-edit-bar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(320px,1.8fr) auto;grid-template-areas:"search selection count" "column value actions";align-items:end;gap:12px;margin:14px 0;padding:16px;border:1px solid #9ebbb0;border-radius:12px;background:#eef5ed}.bulk-edit-bar>label{margin:0;color:#355f53;font-size:12px;font-weight:600}.bulk-edit-bar input,.bulk-edit-bar select{padding:9px 11px;font-size:13px}.bulk-edit-bar>.actions{gap:7px;flex-wrap:wrap}.bulk-edit-bar .small{padding:9px 11px;font-size:12px}.bulk-edit-bar>span{font-size:12px;color:#234f70;font-weight:700;white-space:nowrap}.bulk-search{grid-area:search;min-width:180px}.selection-actions{grid-area:selection}.bulk-edit-bar #bulk-selected-count{grid-area:count;align-self:center}.bulk-column-field{grid-area:column}.bulk-value-field{grid-area:value}.bulk-action-buttons{grid-area:actions;align-self:end}.bulk-edit-bar button:disabled{opacity:.48;cursor:not-allowed}
.editor-table td:first-child input[type=checkbox],.editor-table th:first-child input[type=checkbox]{width:16px;height:16px;min-width:16px;margin:0 10px;vertical-align:middle}.editor-table td:first-child{min-width:38px;text-align:center;background:#f8f9f5}.editor-table td.row-number{white-space:nowrap}
.hierarchy-method{margin:12px 0 18px;line-height:1.65}.hierarchy-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.hierarchy-stats article{display:flex;flex-direction:column;gap:3px;padding:15px;border:1px solid var(--line);border-radius:9px;background:#fff}.hierarchy-stats b{font-size:23px;color:#1c5662}.hierarchy-stats span{font-size:12px;color:var(--muted)}.hierarchy-table{min-width:700px}.hierarchy-table td,.hierarchy-table th{padding:11px 13px}
@media(max-width:1050px){.bulk-edit-bar{grid-template-columns:minmax(180px,1fr) minmax(240px,1.5fr);grid-template-areas:"search selection" "count count" "column value" "actions actions"}.bulk-edit-bar>span{white-space:normal}}
@media(max-width:680px){.hierarchy-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-edit-bar{grid-template-columns:1fr;grid-template-areas:"search" "selection" "count" "column" "value" "actions"}.bulk-edit-bar .selection-actions,.bulk-action-buttons{align-items:stretch}.curation-map{padding:16px}.curation-map-steps{align-items:flex-start;flex-direction:column}.curation-map-steps b{display:none}}

/* Crop the RCSB page chrome above the chain selector; keep scrolling inside its iframe. */
.sequence-annotation-frame,.sequence-annotation-frame-full{position:relative;height:680px;min-height:680px;overflow:hidden!important}
.sequence-annotation-frame iframe,.sequence-annotation-frame-full iframe{position:absolute!important;top:-280px!important;left:0!important;right:auto!important;bottom:auto!important;display:block;width:100%;height:1080px!important;min-height:1080px!important;border:0;background:#fff;overflow:auto}
@media(max-width:680px){.sequence-annotation-frame,.sequence-annotation-frame-full{height:680px;min-height:680px;overflow:hidden!important}.sequence-annotation-frame iframe,.sequence-annotation-frame-full iframe{top:-280px!important;height:1080px!important;min-height:1080px!important}}
