.pd-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:10px}.pd-heading .gene-section-title{margin-bottom:5px}.pd-heading p{margin:0;color:var(--ui-muted,#546b80);font-size:13px}.pd-card{background:#fff;border:1px solid var(--line,#dce5ef);border-radius:12px;overflow:hidden}.pd-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:12px 24px 10px;flex-wrap:wrap}.pd-isoform{font-size:12px;font-weight:600;color:var(--ui-muted,#546b80);display:grid;gap:7px;flex:1;max-width:640px;min-width:0}.pd-controls select,.pd-export select{font:inherit;color:var(--brand,#142b45);border:1px solid var(--line,#dce5ef);border-radius:6px;background:white;padding:9px 32px 9px 10px;max-width:100%;text-overflow:ellipsis}.pd-export{display:flex;gap:8px;align-items:center;font-size:12px}.pd-btn{border:1px solid var(--line,#dce5ef);border-radius:6px;background:#fff;color:var(--brand,#142b45);padding:9px 13px;font:inherit;cursor:pointer}.pd-btn:hover{background:var(--accent-bg,#f1f6fb)}.pd-btn:disabled{opacity:.55;cursor:wait}.pd-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;padding:8px 24px;border-bottom:1px solid #edf1f4}.pd-toolbar [hidden]{display:none!important}.pd-metrics{display:flex;gap:16px;flex-wrap:wrap;color:var(--ui-muted,#546b80);font-size:12px}.pd-metrics>span{white-space:nowrap}.pd-metrics strong{font-size:15px;font-variant-numeric:tabular-nums;color:var(--brand,#142b45);margin-right:4px}.pd-figure{overflow:auto;padding:4px 12px 0;max-height:800px;background:#fff}.pd-figure svg{display:block;width:100%;height:auto;min-width:740px;max-width:1000px;margin:0 auto}.pd-figure [data-feature-id]{cursor:pointer}.pd-figure [data-feature-id]:hover path,.pd-figure [data-feature-id]:focus path{stroke:#172b3a;stroke-width:1.5}.pd-warning{margin:0;padding:10px 24px;background:#fff8e8;color:#7a5618;font-size:12px}.pd-table-details{border-top:1px solid var(--line,#dce5ef);padding:10px 24px;font-size:13px;color:#334155}.pd-table-details summary{cursor:pointer;font-weight:600}.pd-table-details summary span{font-size:11px;font-weight:400;color:var(--ui-muted,#546b80);margin-left:9px}.pd-table-scroll{overflow:auto;max-height:390px;margin-top:14px}.pd-table-scroll tbody tr:hover{background:#f8fafc}.pd-table-scroll table{border-collapse:collapse;width:100%;font-size:12px}.pd-table-scroll th{text-align:left;background:#f8fafc;color:#334155;position:sticky;top:0;font-weight:600;z-index:1}.pd-table-scroll th,.pd-table-scroll td{padding:8px 10px;border-bottom:1px solid #e9eef2;vertical-align:top;white-space:nowrap}.pd-table-scroll td:first-child{min-width:180px}.pd-annotation{font-weight:600}.pd-table-scroll a{color:#1f639e;font-size:inherit;text-decoration:underline;text-decoration-color:#a4bbd0;text-underline-offset:2px}.pd-table-scroll a:hover,.pd-table-scroll a:focus-visible{color:var(--brand,#142b45);text-decoration-color:currentColor}.pd-source{white-space:nowrap}.pd-position{white-space:nowrap;font-variant-numeric:tabular-nums}.pd-evidence{white-space:normal;font-size:11px;min-width:220px;line-height:1.7;margin-top:8px}.pd-state{padding:25px;font-size:13px;color:var(--ui-muted,#546b80)}.pd-export-status:not(:empty){padding:8px 24px 15px;font-size:12px;color:var(--ui-muted,#546b80)}.pd-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.pd-card :focus-visible,.pd-heading :focus-visible{outline:2px solid var(--release-focus,#0b6ea8);outline-offset:3px}@media(max-width:700px){.pd-controls{padding:16px;gap:15px}.pd-isoform{flex-basis:100%}.pd-toolbar{padding:10px 16px}.pd-metrics{gap:10px;font-size:11px}.pd-export{flex-wrap:wrap}.pd-table-details{padding:10px 16px}}

.pd-scroll-hint{display:none}@media(max-width:700px){.pd-scroll-hint{display:block;margin:12px 16px 0;color:var(--ui-muted,#546b80);font-size:11px}}

.pd-current-isoform{padding:10px 24px 0;font-size:12px;color:var(--ui-muted,#546b80)}.pd-locator{display:flex;align-items:center;justify-content:flex-end;flex:1;flex-wrap:wrap;gap:8px 12px;margin-left:auto;font-size:12px;color:var(--ui-muted,#546b80)}.pd-cursor-toggle{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;cursor:pointer}.pd-cursor-toggle input{width:16px;height:16px;margin:0;accent-color:var(--brand-2,#2f74b5)}.pd-coordinate-tools{display:flex;align-items:center;gap:6px}.pd-coordinate-tools label{white-space:nowrap}#pd-position-input{width:140px;min-width:95px;padding:7px;border:1px solid var(--line,#dce5ef);border-radius:6px;font:inherit;color:var(--brand,#142b45)}.pd-locator .pd-btn{padding:7px 10px}.pd-coordinate-readout{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--brand,#142b45)}.pd-crosshair{stroke:#475569;stroke-width:1;stroke-dasharray:3 3;pointer-events:none}.pd-coordinate-hit path,.pd-coordinate-hit use{stroke:#263746;stroke-width:1.1}.pd-selected-feature path,.pd-selected-feature use{stroke:var(--brand-2,#2f74b5);stroke-width:1.8}.pd-coordinate-row{background:#f8fafc}.pd-table-scroll .pd-selected-row,.pd-table-scroll .pd-selected-row:hover{background:var(--accent-bg,#f1f6fb);box-shadow:inset 3px 0 var(--brand-2,#2f74b5)}@media(max-width:700px){.pd-locator{flex-basis:100%;justify-content:flex-start;margin-left:0}.pd-coordinate-tools{flex-basis:100%;flex-wrap:wrap}#pd-position-input{flex:1;width:110px;max-width:160px}.pd-coordinate-readout{flex-basis:100%}.pd-current-isoform{padding:10px 16px 0}}

.pd-table-scroll .pd-annotation{max-width:360px;overflow:hidden;text-overflow:ellipsis}.pd-table-details .pd-evidence{width:240px;max-width:70vw;overflow-wrap:anywhere}

.pd-feature-description{font-size:inherit;line-height:inherit;color:#334e63;border-bottom:1px solid #dce5ef;padding-bottom:12px;margin-bottom:12px;overflow-wrap:anywhere}
.pd-feature-description h4{font-size:14px;font-weight:600;color:#142b45;margin:0 0 6px}.pd-feature-description p{margin:0 0 8px}.pd-feature-description details{margin:5px 0}.pd-feature-description summary{cursor:pointer;font-weight:400}.pd-description-source{font-size:inherit;color:#546b80;margin-top:6px}.pd-feature-description a{font:inherit;color:#1f639e;text-underline-offset:2px}.pd-feature-description details[open]>summary{margin-bottom:8px}
.pd-feature-panel{font-size:13px;line-height:1.65;margin:12px 0;padding:14px;border:1px solid #dce5ef;border-radius:6px;background:#f7fafc}.pd-feature-panel[hidden]{display:none}.pd-detail-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;font-size:13px}.pd-detail-heading strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.pd-evidence-toggle{font:inherit;color:#40556a;background:none;border:0;padding:0;cursor:pointer}.pd-evidence-toggle[data-pd-evidence]::before{content:'▸';display:inline-block;width:12px}.pd-evidence-toggle[aria-expanded=true]::before{content:'▾'}.pd-feature-panel .pd-evidence{font-size:inherit;line-height:inherit;width:auto;max-width:100%;min-width:0}

/* The disclosure state is shared by Overview, AS and APA; closing or switching
   details updates this highlight without a second selection state. */
.pd-table-scroll tr:has(:is([data-pd-evidence],[data-evidence-toggle])[aria-expanded="true"])>td{background:#e6f0f8}
.pd-table-scroll tr:has(:is([data-pd-evidence],[data-evidence-toggle])[aria-expanded="true"])>td:first-child{box-shadow:inset 3px 0 var(--brand-2,#2f74b5)}
.pd-table-scroll :is([data-pd-evidence],[data-evidence-toggle])[aria-expanded="true"]{color:var(--brand,#142b45);font-weight:600}
:is(.pd-feature-panel,.as-evidence-row):not([hidden]){border-left:3px solid var(--brand-2,#2f74b5)}

/* Overview uses one selected annotation for the figure, table and details. */
.pd-table-details>.pd-table-scroll table,.pd-table-details>summary span{font-size:13px}
.pd-table-details>summary span{font-weight:400}
.pd-table-details .pd-annotation{font-weight:400;white-space:normal;min-width:240px;max-width:440px;overflow-wrap:anywhere}
.pd-table-details .pd-table-scroll tr.pd-selected-row>td{background:#e6f0f8}
.pd-table-details .pd-table-scroll tr.pd-selected-row>td:first-child{box-shadow:inset 3px 0 var(--brand-2,#2f74b5)}
.pd-selected-feature text{fill:var(--brand-2,#2f74b5);font-weight:600}
.pd-figure [data-feature-id]:focus:not(:focus-visible){outline:none}
.pd-figure [data-feature-id]:focus-visible{outline:1px solid var(--brand-2,#2f74b5);outline-offset:2px}
.pd-feature-panel a,.pd-feature-panel p,.pd-feature-panel summary,.pd-feature-panel .pd-evidence{font-size:inherit;line-height:inherit}
.pd-card .pd-evidence-toggle:hover,.pd-card .pd-evidence-toggle:focus-visible{background:transparent;color:var(--brand-2,#2f74b5);text-decoration:underline}
.pd-feature-panel .pd-evidence{border-top:1px solid #dce5ef;margin-top:12px;padding-top:10px}

.pd-record-count{font:inherit;color:var(--ui-muted,#546b80)}
.pd-feature-panel a{color:#1f639e;text-decoration-color:#a4bbd0;text-underline-offset:2px}
.pd-table-details .pd-position{white-space:normal;min-width:140px;max-width:260px}
.pd-match-evidence h4{display:flex;align-items:baseline;gap:10px;margin:0 0 8px;font-size:14px;font-weight:600;color:var(--brand,#142b45)}
.pd-match-scroll{max-width:100%;max-height:340px;overflow:auto;border:1px solid var(--line,#dce5ef);border-radius:5px;background:#fff}
.pd-match-table{width:100%;table-layout:fixed;min-width:1100px;border-collapse:collapse;font-size:13px;line-height:1.65;text-align:left}
.pd-match-table th,.pd-match-table td{padding:9px 12px;vertical-align:top;border-bottom:1px solid #e9eef2}
.pd-match-table th{position:sticky;top:0;z-index:1;background:#f1f6fa;font-weight:600;color:var(--brand,#142b45);white-space:nowrap}
.pd-match-table td{color:#334e63;font-variant-numeric:tabular-nums}
.pd-match-table td:not(:last-child){white-space:nowrap}
.pd-match-table tbody tr:last-child td{border-bottom:0}
.pd-match-table tbody tr:hover{background:#f8fafc}
.pd-match-table tbody+tbody{border-top:1px solid var(--line,#dce5ef)}
.pd-match-table tbody.pd-selected-match td{background:#e5f0f8}
.pd-match-protein{width:155px}.pd-match-source{width:160px}.pd-match-method{width:140px}.pd-match-score{width:90px}.pd-match-evalue{width:90px}.pd-match-genome{width:180px}
.pd-match-table [data-field="protein"]{min-width:140px;max-width:180px;white-space:normal}
.pd-match-table [data-field="source"],.pd-match-table [data-field="method"]{max-width:240px;white-space:normal;overflow-wrap:anywhere}
.pd-match-table [data-field="annotation"]{white-space:normal;overflow-wrap:break-word}
.pd-match-table .pd-numeric,.pd-match-table [data-field="score"],.pd-match-table [data-field="evalue"]{text-align:right}
.pd-table-details .pd-match-table summary,.pd-table-details .pd-positions-details summary{font-size:13px;font-weight:400;color:#1f639e;white-space:nowrap}
.pd-coordinate-details ul{padding:0;margin:3px 0 0;list-style:none;white-space:nowrap}
.pd-coordinate-details[open]>summary{margin-bottom:5px}
.pd-genome-context,.pd-coordinate-details>div{color:var(--ui-muted,#546b80)}
.pd-positions-details[open]>div{padding-top:4px}
@media(max-width:700px){.pd-match-table th,.pd-match-table td{padding:8px 10px}}
