/* SeqFolio — tasarım sistemi
   Açık zemin, beyaz yüzeyler, tek vurgu rengi (petrol mavisi), sade tipografi. */
:root {
  --accent: #0f5e78;        /* birincil vurgu */
  --accent-d: #0b4a5f;
  --accent-soft: #e8f2f5;
  --hl: #c98a12;            /* vurgu (seçili baz vb.) */
  --navy: #13293d;          /* başlık metni (eski değişken adı korunur) */
  --navy2: #0f5e78;
  --gold: #0f5e78;
  --bg: #f5f6f8;
  --panel: #ffffff;
  --line: #e1e4ea;
  --line-soft: #eef0f4;
  --head: #f8f9fb;
  --head-text: #13293d;
  --nav-bg: transparent;
  --text: #1c2430;
  --muted: #5d6878;
  --link: #0f5e78;
  --coding: #a3201d;
  --noncoding: #2e7d32;
  --pred: #b86e12;
  --ok: #1f7a3a;
  --bad: #b42318;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
code, .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; }
input, select, textarea, button { font: inherit; }
input[type=text], input[type=search], input[type=number], input[type=date], input:not([type]), select, textarea {
  border: 1px solid #cfd5de; border-radius: 6px; background: #fff; color: var(--text); padding: 6px 9px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 94, 120, .14); }

/* --- Üst bar --- */
#masthead { background: #fff; color: var(--text); display: flex; align-items: center; gap: 22px; padding: 10px 22px; border-bottom: 1px solid var(--line); border-top: 3px solid var(--accent); position: relative; z-index: 40; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 18px; font-weight: 500; letter-spacing: -.2px; color: var(--navy); }
.logo-text b span { font-weight: 700; color: #0b8a68; }
.logo-text small { font-size: 11px; color: var(--muted); font-weight: 400; }
#top-search { flex: 1; display: flex; position: relative; max-width: 760px; border: 1px solid #cfd5de; border-radius: 8px; background: #fff; overflow: visible; }
#top-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 94, 120, .12); }
#top-search select, #top-search input, #top-search button { border: 0; box-shadow: none; padding: 8px 10px; font-size: 13px; border-radius: 0; }
#top-search select { background: var(--head); border-inline-end: 1px solid var(--line); border-start-start-radius: 8px; border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: 8px; color: var(--navy); }
#top-search input { flex: 1; min-width: 120px; background: transparent; }
#top-search button { background: var(--accent); color: #fff; font-weight: 600; border-start-start-radius: 0; border-start-end-radius: 7px; border-end-end-radius: 7px; border-end-start-radius: 0; cursor: pointer; padding: 8px 16px; }
#top-search button:hover { background: var(--accent-d); }
.top-links { display: flex; gap: 4px; align-items: center; }
.top-links > a, .top-links .dd > a { color: var(--navy); font-weight: 500; padding: 7px 10px; border-radius: 6px; }
.top-links > a:hover, .top-links .dd > a:hover { background: var(--bg); text-decoration: none; }
.suggest { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(16, 24, 40, .14); z-index: 50; border-radius: 8px; max-height: 380px; overflow: auto; padding: 4px; }
.suggest div { padding: 7px 10px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; border-radius: 6px; }
.suggest div:hover, .suggest div.active { background: var(--accent-soft); }
.suggest small { color: var(--muted); }

#species-bar { background: #fff; color: var(--muted); padding: 8px 22px 0; font-size: 12.5px; display: flex; gap: 14px; align-items: center; }
#species-bar b { color: var(--navy); }
#species-bar select { padding: 3px 6px; font-size: 12.5px; }
#species-bar a { color: var(--accent); }
#species-bar:empty { display: none; }

/* --- Görünüm sekmeleri --- */
#tabs { background: #fff; padding: 0 22px; display: flex; gap: 2px; border-bottom: 1px solid var(--line); }
#tabs:empty { display: none; }
#tabs a { color: var(--muted); padding: 9px 14px 8px; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
#tabs a.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
#tabs a.disabled { opacity: .4; pointer-events: none; }
#tabs a:hover { text-decoration: none; color: var(--navy); }

/* --- Yerleşim --- */
#layout { display: flex; flex: 1; gap: 26px; padding: 22px 22px 10px; align-items: flex-start; max-width: 1560px; width: 100%; margin: 0 auto; }
#leftnav { width: 218px; flex-shrink: 0; padding: 2px 0; position: sticky; top: 14px; }
#leftnav:empty { display: none; }
#leftnav h4 { margin: 14px 10px 6px; font-size: 11px; text-transform: uppercase; color: var(--muted); letter-spacing: .7px; font-weight: 600; }
#leftnav h4:first-child { margin-top: 0; }
#leftnav a { display: block; padding: 6px 10px; color: var(--text); border-radius: 6px; line-height: 1.3; }
#leftnav a:hover { background: #eceff3; text-decoration: none; }
#leftnav a.active { background: var(--accent-soft); color: var(--accent-d); font-weight: 600; box-shadow: inset 2px 0 0 var(--accent); }
#leftnav .navnote { display: none; }
#main-col { flex: 1; min-width: 0; }
#content { min-width: 0; }
footer { color: var(--muted); padding: 16px 22px 22px; font-size: 12px; border-top: 1px solid var(--line); margin-top: 18px; line-height: 1.7; background: #fff; text-align: center; }
footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* --- Paneller --- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; box-shadow: var(--shadow); }
.panel > h2, .panel > .ph { margin: 0; background: transparent; color: var(--navy); font-size: 14.5px; font-weight: 600; padding: 13px 18px 11px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 10px; }
.panel > h2 .right, .panel > .ph .right { margin-inline-start: auto; font-weight: 400; font-size: 12px; color: var(--muted); }
.panel .pb { padding: 14px 18px 16px; }
.summary-table { border-collapse: collapse; }
.summary-table th { text-align: start; padding-block: 5px; padding-inline: 0 18px; color: var(--muted); font-weight: 500; vertical-align: top; white-space: nowrap; }
.summary-table td { padding: 5px 0; }
table.data { border-collapse: collapse; width: 100%; }
table.data th { background: var(--head); text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--line); cursor: pointer; white-space: nowrap; user-select: none; font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
table.data th.sorted-asc::after { content: " ▲"; font-size: 9px; }
table.data th.sorted-desc::after { content: " ▼"; font-size: 9px; }
table.data td { padding: 7px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data tbody tr:hover td { background: #f8fafb; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; line-height: 1.6; background: #eef0f4; color: #3d4757; }
.tag.coding { background: #fbe8e6; color: var(--coding); }
.tag.ncRNA { background: #e3f2e6; color: var(--noncoding); }
.tag.other { background: #eef0f4; color: #4b5565; }
.tag.pred { background: #fdf0dc; color: #8a5210; }
.tag.cur { background: var(--accent-soft); color: var(--accent-d); }
.btn { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 6px; padding: 7px 14px; cursor: pointer; font-size: 13px; font-weight: 500; line-height: 1.2; }
.btn:hover { background: var(--accent-d); border-color: var(--accent-d); text-decoration: none; }
.btn.light { background: #fff; color: var(--navy); border-color: #cfd5de; }
.btn.light:hover { background: var(--bg); border-color: #b9c1cc; }
.btn.gold { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
.btn.gold:hover { background: var(--accent-d); }
.btn:disabled { opacity: .5; cursor: default; }
.muted { color: var(--muted); }
.err { color: var(--bad); padding: 10px 0; }
.loading { padding: 20px 0; color: var(--muted); }
.notice { background: #fffaeb; border: 1px solid #f5d88a; padding: 9px 12px; border-radius: 6px; color: #6f4a03; margin: 8px 0; }

/* --- Genome browser --- */
.gb-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); background: var(--head); }
.gb-nav .grp { display: flex; }
.gb-nav .grp button { border: 1px solid #cfd5de; background: #fff; padding: 4px 9px; cursor: pointer; font-size: 12px; margin-inline-start: -1px; color: var(--navy); }
.gb-nav .grp button:first-child { border-start-start-radius: 6px; border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: 6px; margin-inline-start: 0; }
.gb-nav .grp button:last-child { border-start-start-radius: 0; border-start-end-radius: 6px; border-end-end-radius: 6px; border-end-start-radius: 0; }
.gb-nav .grp button:hover { background: var(--accent-soft); }
.gb-nav .grp span { padding: 4px 6px; color: var(--muted); font-size: 11px; align-self: center; }
.gb-nav input.pos { width: 270px; padding: 5px 9px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.gb-size { color: var(--muted); font-size: 12px; margin-inline-start: auto; }
.gb-ideo { padding: 6px 12px 0; }
.gb-canvas-wrap { position: relative; }
.gb-canvas-wrap canvas { display: block; }
.gb-tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 8px 16px; padding: 10px 12px; }
.gb-tracks label { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.gb-tracks select { font-size: 12px; }
.gb-help { font-size: 11px; color: var(--muted); padding: 4px 12px 8px; }
.popup { position: fixed; z-index: 100; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(16, 24, 40, .18); min-width: 260px; max-width: 380px; }
.popup .ph { background: var(--head); padding: 9px 12px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-soft); border-radius: var(--radius) var(--radius) 0 0; color: var(--navy); }
.popup .ph button { border: 0; background: none; cursor: pointer; font-size: 15px; }
.popup .pb { padding: 10px 12px; }
.popup .pb table td { padding: 2px 8px 2px 0; }
.popup .links { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.tooltip { position: fixed; z-index: 90; background: rgba(19, 41, 61, .94); color: #fff; padding: 5px 9px; border-radius: 5px; font-size: 12px; pointer-events: none; }

/* --- Ana sayfa --- */
.hero { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px 26px; margin-bottom: 16px; box-shadow: var(--shadow); }
.hero h1 { margin: 0 0 8px; font-size: 26px; font-weight: 650; letter-spacing: -.2px; color: var(--navy); }
.hero p.lead { margin: 0 0 18px; color: var(--muted); max-width: 820px; font-size: 15px; line-height: 1.55; }
.examples { margin-top: 12px; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.examples a { color: var(--accent); background: var(--accent-soft); border-radius: 12px; padding: 2px 10px; }
.examples a:hover { text-decoration: none; background: #d9eaef; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card h3 { margin: 0 0 6px; color: var(--navy); font-size: 15px; }
.card p { margin: 0 0 10px; color: var(--muted); }

/* --- Liftover --- */
.lo-grid { display: grid; grid-template-columns: 1fr 300px; gap: 14px; }
.lo-route { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 6px 0 12px; }
.lo-route .step { background: var(--accent-soft); border-radius: 12px; padding: 3px 10px; font-weight: 600; color: var(--accent-d); }
.lo-route .arrow { color: var(--muted); }
.lo-asm { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.lo-asm label { display: flex; flex-direction: column; gap: 4px; font-weight: 500; font-size: 12px; color: var(--muted); max-width: 100%; }
.lo-asm input { max-width: 100%; min-width: 0 !important; box-sizing: border-box; }
.lo-asm label > input:not([type=checkbox]):not([type=file]) { width: min(380px, 100%); }
.lo-asm select { font-size: 13px; min-width: 190px; color: var(--text); }
.lo-asm input, .lo-asm select { color: var(--text); }
textarea.lo-in { width: 100%; height: 220px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; padding: 10px; border: 1px solid #cfd5de; border-radius: 6px; resize: vertical; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opts label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 600; }
.opts label.row { flex-direction: row; align-items: center; gap: 6px; font-weight: 400; }
.opts input[type=number], .opts select { padding: 5px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; color: var(--muted); font-size: 12px; }
.stat b { display: block; font-size: 21px; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; margin-bottom: 2px; }
.stat.ok b { color: var(--ok); }
.stat.bad b { color: var(--bad); }
.subtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.subtabs button { border: 0; border-bottom: 2px solid transparent; background: none; padding: 7px 12px; cursor: pointer; color: var(--muted); margin-bottom: -1px; }
.subtabs button.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.scroll { max-height: 460px; overflow: auto; }

/* --- Sequence view --- */
.seqview { font-family: ui-monospace, Menlo, monospace; font-size: 12px; line-height: 1.55; white-space: pre-wrap; word-break: break-all; background: var(--head); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; max-height: 520px; overflow: auto; }
.seqview .ex { color: #1d2c57; background: #e9edfa; }
.seqview .cds { color: #8b1a17; background: #fbe6e5; font-weight: 600; }
.seqview .intr { color: #8b90a3; }
.seqview .gap { color: #b07b12; font-style: italic; }
.seqview .num { color: #9aa0b3; user-select: none; }
.legend { display: flex; gap: 14px; font-size: 12px; margin: 6px 0; flex-wrap: wrap; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-inline-end: 5px; vertical-align: -2px; border-radius: 2px; background: var(--c); }

/* --- Karyotype --- */
.karyo { display: flex; flex-wrap: wrap; gap: 6px 2px; align-items: flex-end; padding: 10px 0; }
.karyo .chr { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.karyo .chr span { font-size: 11px; margin-top: 4px; font-weight: 600; }

@media (max-width: 900px) {
  #layout { flex-direction: column; }
  #leftnav { width: 100%; position: static; }
  #main-col { width: 100%; }
  .lo-grid { grid-template-columns: 1fr; }
  .top-links { display: none; }
}

/* --- Güven etiketleri --- */
.tag.conf-yüksek { background: #dff0e0; color: #1e6b22; }
.tag.conf-orta { background: #fbefd2; color: #8a5a0a; }
.tag.conf-düşük { background: #f7dcdb; color: #9b1c17; }
td.flags { font-size: 11px; color: var(--muted); max-width: 320px; }
.gb-motif { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line-soft); background: var(--head); flex-wrap: wrap; }
.gb-motif input { font-family: ui-monospace, Menlo, monospace; padding: 5px 9px; width: 240px; }
.top-links .dd { position: relative; }
.top-links .dd-menu { display: none; position: absolute; inset-inline-end: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(16, 24, 40, .16); z-index: 60; padding: 10px 6px; gap: 4px; grid-template-columns: repeat(3, minmax(200px, 1fr)); width: max-content; max-width: min(760px, 92vw); }
.top-links .dd:hover .dd-menu, .top-links .dd:focus-within .dd-menu { display: grid; }
.top-links .dd-col { display: flex; flex-direction: column; padding: 0 4px 8px; }
.top-links .dd-col b { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 4px 10px; }
.top-links .dd-menu a { display: block; color: var(--text); padding: 6px 10px; font-weight: 400; border-radius: 6px; }
.top-links .dd-menu a:hover { background: var(--accent-soft); color: var(--accent-d); text-decoration: none; }

/* --- Transkript dizi görünümü --- */
.txv-bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.txv-bar label { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }
.txv-legend .lg { font-family: ui-monospace, Menlo, monospace; font-size: 11px; padding: 1px 6px; border-radius: 3px; }
.txv-legend .lg::before { display: none; }
.txv-body { border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 6px 8px; max-height: 720px; overflow: auto; }
.txv-end { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--muted); margin: 4px 0; }
.txv-seg { margin: 10px 0 12px; }
.txv-seg.exon { border-left: 3px solid #a3201d; padding-left: 8px; }
.txv-seg.intron { border-left: 3px dashed #b9bfd1; padding-left: 8px; }
.txv-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 12px; margin-bottom: 3px; }
.txv-head b { color: var(--navy); font-size: 13px; }
.txv-head span { color: var(--muted); }
.txv-line { display: flex; white-space: pre; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; line-height: 1.55; }
.txv-line.aa { line-height: 1.2; margin-bottom: 3px; }
.txv-gut { flex: 0 0 210px; display: flex; gap: 8px; justify-content: flex-end; padding-right: 10px; color: #9aa0b3; font-size: 11px; user-select: none; }
.txv-gut .cpos { min-width: 92px; text-align: right; color: #6c7bb0; }
.txv-seq { cursor: pointer; }
.txv-seq.aa { color: #8b1a17; font-weight: 600; cursor: default; font-size: 12px; }
.txv-seq .gap { cursor: default; }
.txv-seq .utr, .txv-legend .utr { color: #1f4fae; background: #eaf0fd; }
.txv-seq .cds, .txv-legend .cds { color: #8b1a17; background: #fbe9e8; font-weight: 600; }
.txv-seq .intr, .txv-legend .intr { color: #8b90a3; }
.txv-seq span[data-g]:hover { outline: 1px solid #1d2c57; }
.txv-seq .v { border-radius: 2px; }
.txv-seq .v-path, .txv-legend .v-path { background: #d93025 !important; color: #fff !important; }
.txv-seq .v-vus, .txv-legend .v-vus { background: #f29900 !important; color: #fff !important; }
.txv-seq .v-cl, .txv-legend .v-cl { background: #fbd38d !important; color: #3d2a00 !important; }
.txv-seq .v-common, .txv-legend .v-common { background: #b9e3c6 !important; color: #0f5223 !important; }
.txv-seq .v-rare, .txv-legend .v-rare { text-decoration: underline 2px #2e7d32; text-underline-offset: 3px; }
.txv-seq .sel { outline: 2px solid #1d2c57 !important; }
.txv-more { margin: 2px 0; background: var(--head); border: 1px dashed #b9c1cc; border-radius: 6px; padding: 2px 10px; cursor: pointer; font-family: inherit; font-size: 12px; color: var(--navy); }
.popup.wide { max-width: 560px; width: min(560px, calc(100vw - 20px)); max-height: 80vh; overflow: auto; }
.popup h4 { margin: 12px 0 5px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; font-weight: 600; }
.popup .kvt td { padding: 2px 10px 2px 0; vertical-align: top; }
.popup .kvt td:first-child { color: var(--muted); white-space: nowrap; }
.kv { border: 1px solid var(--line-soft); border-radius: 6px; padding: 7px 9px; margin-bottom: 6px; }
.kv-alt { margin: 2px 0; }
.kv-alt code { background: #f3f4f8; padding: 0 4px; border-radius: 3px; }
table.data.small td, table.data.small th { padding: 3px 5px; font-size: 12px; }
.tag.sev3 { background: #f7dcdb; color: #9b1c17; }
.tag.sev2 { background: #fbe9d2; color: #8a4b0a; }
.tag.sev1 { background: #fdf3c4; color: #6d5a06; }
.tag.sev0 { background: #e9ecf3; color: #49526b; }
.tag.v-path { background: #d93025; color: #fff; }
.tag.v-vus { background: #f29900; color: #fff; }
.tag.v-cl { background: #fbd38d; color: #3d2a00; }

/* --- ClinVar kaynak gösterimi --- */
.cv-box { margin-top: 4px; padding: 5px 7px; background: #fff7f6; border-inline-start: 3px solid #d93025; border-radius: 3px; }
.cv-src { font-size: 11px; color: #9b1c17; font-weight: 700; letter-spacing: .2px; margin-bottom: 2px; }
.stars { color: #e3a008; letter-spacing: 1px; }
.clinvar-note { font-size: 11.5px; color: var(--muted); margin-top: 10px; padding: 8px 10px; background: var(--head); border: 1px solid var(--line); border-radius: 6px; }

/* --- ClinVar takip --- */
.tag.sig.g-p { background: #d93025; color: #fff; }
.tag.sig.g-vus { background: #f29900; color: #fff; }
.tag.sig.g-b { background: #2e7d32; color: #fff; }
.tag.sig.g-o { background: #9aa0b3; color: #fff; }
.tl { display: inline-flex; gap: 3px; align-items: center; }
.tl-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; background: #fff; border: 1px solid #9aa0b3; }
.tl-dot.g-p { background: #d93025; border-color: #d93025; }
.tl-dot.g-vus { background: #f29900; border-color: #f29900; }
.tl-dot.g-b { background: #2e7d32; border-color: #2e7d32; }
.tl-dot.g-o { background: #9aa0b3; }
table.trk td { vertical-align: top; }
tr.prio4 td { background: #fff1f0 !important; }
tr.prio3 td { background: #fff8ec !important; }
.st { font-size: 12px; font-weight: 600; }
.st4 { color: #b3261e; } .st3 { color: #a35a00; } .st2 { color: #6d5a06; } .st1, .st0 { color: var(--muted); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--accent-soft); border: 1px solid #cfe2e8; color: var(--accent-d); border-radius: 12px; padding: 2px 10px; font-size: 12px; }
td.mx { font-weight: 700; color: #9b1c17; }

/* --- PVS1 --- */
.pvs1 { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: #fff; }
.pv-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.pv-badge { padding: 3px 10px; border-radius: 12px; font-weight: 700; font-size: 13px; color: #fff; }
.pv-vs { background: #8b1a17; } .pv-s { background: #d93025; } .pv-m { background: #f29900; } .pv-p { background: #c9a227; } .pv-na { background: #9aa0b3; }
.pv-steps { margin: 4px 0 6px 18px; padding: 0; }
.pv-steps li { margin: 3px 0; font-size: 13px; }
.pv-steps li.ok::marker { color: #2e7d32; } .pv-steps li.no::marker { color: #b3261e; } .pv-steps li.warn::marker { color: #f29900; }
.pv-a { background: var(--accent-soft); border-radius: 4px; padding: 0 6px; font-weight: 600; color: var(--accent-d); }
.pv-btn { padding: 1px 8px; font-size: 11px; margin-inline-start: 4px; }

/* --- Splice --- */
.spl { border-inline-start: 3px solid #9aa0b3; padding: 6px 10px; background: var(--head); border-radius: 4px; }
.spl.lvl1 { border-color: #f29900; } .spl.lvl2 { border-color: #d93025; } .spl.lvl3 { border-color: #8b1a17; }
.spl-v { font-weight: 600; font-size: 13px; margin-bottom: 4px; }
td.neg { color: #b3261e; font-weight: 700; }
td.spl-d.lvl1 { background: #fdf3c4 !important; } td.spl-d.lvl2, td.spl-d.lvl3 { background: #f7dcdb !important; color: #9b1c17; font-weight: 700; }

.tag.mane { background: var(--accent); color: #fff; margin-inline-start: 4px; }

td.mane-col { background: var(--accent-soft) !important; font-weight: 600; }

/* --- Primer --- */
.primer-pair { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 10px; background: #fff; }
.pp-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }

/* --- ACMG --- */
.acmg-sum { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
tr.acmg-p td { background: #fff1f0 !important; } tr.acmg-b td { background: #eef7ef !important; }
.acmg-manual { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 3px 14px; font-size: 12px; }

/* --- Tekrar atlası --- */
.rbar { position: relative; width: 340px; height: 30px; margin-top: 14px; }
.rb-seg { position: absolute; top: 8px; height: 10px; opacity: .85; }
.rb-mark { position: absolute; top: 2px; width: 2px; height: 22px; background: #1d2c57; }
.rb-mark span { position: absolute; top: -13px; left: -10px; font-size: 9px; color: #1d2c57; white-space: nowrap; }
.rseq { font-size: 11px; word-break: break-all; }
.rint { color: #d93025; background: #fde8e7; }
.rep-table td { vertical-align: top; }

/* örnek bağlantı listeleri dar ekranda alt satıra geçebilsin */
.muted > a { display: inline-block; }

/* --- rs araması bilgi kutusu --- */
.rs-box .rs-line { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.rs-box .rs-seq { margin: 10px 0; padding: 8px 10px; background: var(--head); border: 1px solid var(--line); border-radius: 6px; font-size: 13px; letter-spacing: 1px; overflow-wrap: anywhere; }
.rs-box .rs-seq mark { background: #f6c453; color: var(--navy); font-weight: 700; padding: 0 1px; border-radius: 2px; }
.rs-box .rs-tx { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; }
.txv-seq .focus { outline: 2px solid var(--hl); background: #f6c453 !important; color: var(--navy) !important; }

/* --- Sayfa başlığı (araç adı ve bilimsel tanımı) --- */
#page-head { margin: 0 0 18px; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
#page-head h1 { margin: 0 0 6px; font-size: 22px; font-weight: 650; color: var(--navy); letter-spacing: -.2px; }
#page-head p { margin: 0; max-width: 980px; line-height: 1.6; color: #3f4a5a; font-size: 14px; }
#page-head p a { white-space: nowrap; }
#leftnav .navnote { display: none; }

/* --- Ana sayfa araç listesi --- */
.tool-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 6px 26px; }
.tool-group h3 { margin: 6px 0 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .7px; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line-soft); padding-bottom: 6px; }
.tool-item { margin-bottom: 10px; }
.tool-item a { font-weight: 600; font-size: 13.5px; }
.tool-item p { margin: 3px 0 0; color: var(--muted); line-height: 1.5; font-size: 12.5px; }
.notice-panel .pb p { margin: 0 0 8px; line-height: 1.55; max-width: 980px; }

/* --- Yöntemler --- */
.methods .method { margin: 0 0 18px; max-width: 980px; }
.methods .method h3 { margin: 0 0 8px; font-size: 15.5px; font-weight: 600; color: var(--navy); }
.methods .method { padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.methods .method p { margin: 0 0 8px; line-height: 1.6; text-align: justify; }
.methods ol.refs { padding-inline-start: 22px; font-size: 12.5px; line-height: 1.55; }
.methods ol.refs li { margin-bottom: 4px; }
.methods ol.refs li:target { background: #fffaeb; }
sup.cite { font-size: 10px; margin-inline-start: 1px; }
sup.cite a { text-decoration: none; }

@media (max-width: 900px) {
  #masthead { flex-wrap: wrap; padding: 10px 14px; gap: 10px; }
  #top-search { order: 3; flex-basis: 100%; max-width: none; }
  .lang-pick { order: 2; margin-inline-start: auto; }
  .menu-btn { order: 2; margin-inline-start: 0; }
  .logo-text small { display: none; }
  #layout { padding: 14px; gap: 14px; }
  #tabs, #species-bar { padding-inline-start: 14px; padding-inline-end: 14px; }
  .hero { padding: 20px 18px; }
}

/* ===================== Kullanılabilirlik katmanı ===================== */
/* klavye odağı her zaman görünür */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

/* yükleniyor göstergesi */
.loading { display: flex; align-items: center; gap: 10px; }
.loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading::before { animation: none; } }

/* bildirimler */
#toasts { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100vw - 36px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); border-radius: 8px; padding: 10px 12px; box-shadow: 0 12px 30px rgba(16, 24, 40, .16); font-size: 13px; transition: opacity .35s, transform .35s; }
.toast.err { border-inline-start-color: var(--bad); }
.toast.ok { border-inline-start-color: var(--ok); }
.toast.hide { opacity: 0; transform: translateY(6px); }
.toast button { border: 0; background: none; font-size: 16px; line-height: 1; cursor: pointer; color: var(--muted); margin-inline-start: auto; }

/* öneri listesinde eylemler */
.suggest div.act b { color: var(--accent-d); }
.suggest div.act { justify-content: flex-start; }
.suggest div.act::before { content: "→"; color: var(--accent); margin-inline-end: 2px; }

/* gezinme izi */
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--muted); }

/* ana sayfa: ipucu ve hızlı işler */
.hero p.hint { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); max-width: 820px; }
.quick { margin: 0 0 16px; }
.quick h2 { font-size: 15px; font-weight: 600; color: var(--navy); margin: 4px 2px 10px; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.quick-card { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--text); box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s, transform .15s; }
.quick-card:hover { text-decoration: none; border-color: var(--accent); box-shadow: 0 6px 18px rgba(15, 94, 120, .12); transform: translateY(-1px); }
.quick-card .qi { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.quick-card .qi svg { width: 22px; height: 22px; }
.quick-card .qt { font-weight: 600; color: var(--navy); font-size: 14px; }
.quick-card .qd { color: var(--muted); font-size: 12.5px; line-height: 1.4; }

/* sonraki adım düğmeleri */
.next-steps { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 12px; padding: 10px 12px; background: var(--head); border: 1px solid var(--line-soft); border-radius: 8px; }
.next-steps > b { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-inline-end: 4px; }

/* mobil menü */
.menu-btn { display: none; width: 40px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; margin-inline-start: auto; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { background: #fff; border-bottom: 1px solid var(--line); padding: 10px 14px 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 18px; box-shadow: 0 10px 24px rgba(16, 24, 40, .08); }
.mobile-menu[hidden] { display: none; }
.mm-col { display: flex; flex-direction: column; }
.mm-col b { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); padding: 8px 8px 4px; }
.mm-col a { padding: 8px; border-radius: 6px; color: var(--text); }
.mm-col a:hover { background: var(--accent-soft); text-decoration: none; }
@media (max-width: 900px) {
  .menu-btn { display: flex; order: 2; }
  .logo { order: 1; }
  #leftnav { display: none; }       /* dar ekranda gezinme üst menüde */
  .quick-grid { grid-template-columns: 1fr; }
}
@media (min-width: 901px) { .mobile-menu { display: none !important; } }

/* --- yasal metinler ve araştırma amaçlı kullanım --- */
.ruo-badge { font-size: 11px; font-weight: 600; color: #8a3b00; background: #fff4e5; border: 1px solid #f5c58a; border-radius: 12px; padding: 3px 9px; white-space: nowrap; }
.ruo-badge:hover { text-decoration: none; background: #ffe9cc; }
.ph-missing { background: #fff4e5; color: #8a3b00; border: 1px dashed #e0a458; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.legal .legal-list { margin: 4px 0 10px; padding-inline-start: 22px; line-height: 1.6; }
.legal .legal-list li { margin-bottom: 4px; }
.modal-ov { position: fixed; inset: 0; background: rgba(19, 41, 61, .45); z-index: 300; display: grid; place-items: center; padding: 16px; }
.modal { background: #fff; border-radius: 12px; max-width: 560px; width: 100%; padding: 22px 24px 18px; box-shadow: 0 24px 60px rgba(16, 24, 40, .3); }
.modal h2 { margin: 0 0 10px; font-size: 18px; color: var(--navy); }
.modal p { margin: 0 0 10px; line-height: 1.6; color: #3f4a5a; }
.modal-actions { display: flex; gap: 14px; align-items: center; justify-content: flex-end; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 900px) { .ruo-badge { order: 1; } }

/* ---- protein alanı paneli */
.dom-h { margin: 22px 0 8px; font-size: 15px; color: var(--navy); }
.dom-svg svg { width: 100%; height: auto; display: block; }
.dom-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); margin: 4px 0 10px; }
.dom-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-inline-end: 5px; vertical-align: -2px; }
.dom h4 { margin: 14px 0 6px; font-size: 13px; }
.dom-tab tr.dom-why td { color: var(--muted); font-size: 12.5px; line-height: 1.5; border-top: 0; padding-top: 0; }
.dom-notes { margin-top: 8px; }
.dom-note { font-size: 13px; line-height: 1.5; padding: 6px 10px; border-inline-start: 3px solid var(--line); margin: 4px 0; background: var(--head); border-start-start-radius: 0; border-start-end-radius: 6px; border-end-end-radius: 6px; border-end-start-radius: 0; }
.dom-note.strong { border-inline-start-color: var(--bad); }
.dom-pm1 { margin-top: 10px; padding: 8px 12px; background: var(--accent-soft); border-radius: 6px; font-size: 13px; line-height: 1.5; }
.dom-src { font-size: 11.5px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
@media (max-width: 640px) { .dom-tab { font-size: 12px; } }
.dom td.num, .dom-tab td:nth-child(3), .dom-tab td:nth-child(4) { white-space: nowrap; }
.warn-3p { color: #b86e12; font-weight: 600; }

/* ---- dil seçici ve sağdan sola diller */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .logo, [dir="rtl"] .top-links, [dir="rtl"] #top-search { direction: rtl; }
[dir="rtl"] .mono, [dir="rtl"] code, [dir="rtl"] .seq, [dir="rtl"] canvas, [dir="rtl"] svg, [dir="rtl"] input[type=search] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] table.data td.num, [dir="rtl"] table.data th.num { text-align: left; }

/* dil seçici (her genişlikte görünür) */
.lang-pick { position: relative; }
.lp-btn { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font: inherit; font-size: 13px; color: var(--navy); }
.lp-btn:hover { background: var(--bg); }
.lp-flag { font-size: 17px; line-height: 1; }
.lp-code { font-weight: 600; letter-spacing: .3px; }
.lp-caret { font-size: 10px; color: var(--muted); }
.lp-list { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(16, 24, 40, .16); padding: 6px; z-index: 80; min-width: 180px; display: grid; gap: 2px; }
.lp-list[hidden] { display: none; }
.lp-opt { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 0; background: none; border-radius: 6px; cursor: pointer; font: inherit; font-size: 14px; color: var(--text); text-align: start; }
.lp-opt:hover { background: var(--accent-soft); }
.lp-opt.cur { background: var(--accent-soft); font-weight: 600; }

/* ---- genom gezgini ve CNV eşleşmeleri */
.ex-ideo canvas { width: 100%; display: block; margin: 4px 0 10px; }
.ex-flag { padding: 8px 12px; border-radius: 6px; margin: 6px 0; font-size: 13px; line-height: 1.5; background: var(--head); border-inline-start: 4px solid var(--line); }
.ex-flag.bad { background: #fdecea; border-color: #d93025; }
.ex-flag.warn { background: #fff4e5; border-color: #f29900; }
.ex-flag.good { background: #e8f5ec; border-color: #2e7d32; }
.ex-refs h3 { font-size: 14px; margin: 16px 0 6px; color: var(--navy); }
.ex-same { display: flex; align-items: center; gap: 6px; font-size: 13px; margin: 8px 0; }
tr.ex-hit td { background: #fdecea; }
tr.ex-common td { background: #eef7f0; }

/* ---- dar ekran: üst çubuk taşmasın, dil seçici logoyla aynı satırda kalsın */
#top-search { min-width: 0; }
#top-search input { min-width: 0; flex: 1 1 auto; }
@media (max-width: 520px) {
  #masthead { gap: 8px; padding: 8px 10px; }
  #top-search select { max-width: 42%; flex: 0 1 auto; }
  #top-search button { padding: 8px 12px; flex: 0 0 auto; }
  .ruo-badge { font-size: 10px; padding: 2px 6px; }
  .logo-text b { font-size: 17px; }
  .logo-mark { width: 28px; height: 28px; }
  .lp-btn { padding: 5px 7px; gap: 4px; }
  .lp-caret { display: none; }
}

/* geniş tablolar sayfayı değil kendi panelini kaydırır; dar ekranda form alanları sabit genişlikte kalmaz */
.panel > .pb { overflow-x: auto; }
@media (max-width: 520px) {
  .lo-asm input, .lo-asm select, .lo-asm textarea { min-width: 0 !important; max-width: 100%; }
  .lo-asm label { min-width: 0; max-width: 100%; }
}
#tabs { overflow-x: auto; scrollbar-width: none; }
#tabs::-webkit-scrollbar { display: none; }
#tabs > a { white-space: nowrap; flex-shrink: 0; }

/* yeni sürüm uyarısı */
.update-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 10px;
  max-width: calc(100% - 32px); padding: 10px 12px 10px 16px; background: var(--panel, #fff); border: 1px solid var(--line, #d6dbe3);
  border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.15); font-size: 14px; }
.update-bar .btn { white-space: nowrap; }
.update-bar .ub-x { background: none; border: 0; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; padding: 0 4px; }

/* CNV karşılaştırma: örtüşme çizimi */
.ov-bars { margin-top: 3px; line-height: 0; }
.ov-bars svg { display: inline-block; }
.ov-q { fill: #1f6fb2; }
.ov-r { fill: #8a94a3; }
.ov-band { fill: #2e9e6a; opacity: .22; }
.ov-legend { font-size: 12px; margin: 6px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.ov-key { display: inline-block; width: 18px; height: 6px; border-radius: 1px; margin-inline-start: 4px; }
.ov-key.q { background: #1f6fb2; }
.ov-key.r { background: #8a94a3; }
.ov-key.b { background: #2e9e6a; opacity: .35; height: 12px; }

/* gen sayfası protein alanı tablosu: değerlendirme etiketi dar sütunda alt alta kırılmasın */
.dom-overview td:last-child { min-width: 190px; }
.dom-overview td:last-child .tag { display: inline-block; line-height: 1.35; }

/* sunucunun eklediği, JavaScript çalışmadan da okunabilen sayfa tanıtımı (uygulama açılınca yerini sayfa alır) */
.seo-intro { max-width: 820px; }
.seo-intro ul { columns: 2; padding-inline-start: 18px; }

.js .seo-intro { display: none; }

/* ana sayfa girişi: geniş ekranda iki sütun (tanıtım | hızlı başlangıç), dar ekranda alt alta */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.hero h1 { font-size: 30px; }
.hero p.lead { margin-bottom: 14px; font-size: 16px; }
.hero .mission { margin: 0; padding: 10px 14px; border-inline-start: 3px solid #0b8a68; background: #eef8f4; border-radius: 0 8px 8px 0;
  color: #13513f; font-size: 13.5px; line-height: 1.55; }
.hero-try { background: var(--accent-soft); border-radius: 10px; padding: 16px 18px; }
.hero-try-t { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.hero-try p.hint { margin: 0; font-size: 13px; line-height: 1.5; }
.hero-try .examples a { background: #fff; }
@media (min-width: 900px) { .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 24px; margin-bottom: 4px; }
  .hero p.lead { font-size: 14.5px; }
  .hero-try { padding: 12px 14px; }
  .hero-try p.hint { display: none; }        /* telefonda uzun açıklama yerine yalnızca örnekler */
  .hero-try .examples { margin-top: 4px; }
}
/* telefonda araç kartları: ikili sütunda, simge üstte, yalnızca başlık (açıklama gizli) */
@media (max-width: 560px) {
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .quick-card { grid-template-columns: 1fr; grid-template-rows: auto auto; justify-items: start; row-gap: 8px; padding: 12px; }
  .quick-card .qi { grid-row: auto; width: 34px; height: 34px; }
  .quick-card .qt { font-size: 13.5px; line-height: 1.3; }
  .quick-card .qd { display: none; }
}
/* referans genom tablosu telefonda: her sürüm ayrı kart, solda sütun adı */
@media (max-width: 560px) {
  .asm-table thead { display: none; }
  .asm-table, .asm-table tbody, .asm-table tr, .asm-table td { display: block; width: 100%; }
  .asm-table tr { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-bottom: 10px; }
  .asm-table td { border: 0; padding: 3px 0; text-align: start; display: flex; gap: 10px; justify-content: space-between; }
  .asm-table td::before { content: attr(data-label); color: var(--muted); font-size: 12px; flex: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
  .asm-table td:first-child { font-size: 15px; }
  .asm-table td:first-child::before { content: none; }
  .asm-table td.asm-links { justify-content: flex-start; padding-top: 6px; }
}
