/* dna-protein-synthesis */
.dps-label { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.dps-input { width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 9px; font: inherit; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; background: var(--surface); color: var(--ink); direction: ltr; }
.dps-seq { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 9px; background: var(--surface-2); font-size: 12px; }
.dps-row { display: flex; flex-direction: column; gap: 1px; }
.dps-name { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.dps-row code, .dps-prot { font-family: var(--mono); font-size: 12.5px; word-break: break-all; direction: ltr; text-align: left; line-height: 1.5; }
.dps-prot { word-break: normal; overflow-wrap: anywhere; }
.dps-row .bA { color: #d13b40; } .dps-row .bT { color: #c27803; } .dps-row .bU { color: #9333ea; } .dps-row .bG { color: #2563eb; } .dps-row .bC { color: #15803d; }
.dps-row .fl { opacity: .45; }
.dps-row .sel { background: #fde68a; border-radius: 3px; outline: 1px solid #ca8a04; }
.dps-cmp { font-family: var(--mono); font-size: 12px; display: flex; flex-direction: column; gap: 4px; direction: ltr; text-align: left; overflow-wrap: anywhere; }
.dps-cmp:empty { display: none; }
.dps-cmp b { font-family: var(--font, inherit); color: var(--ink-2); margin-inline-end: 4px; }
.dps-cmp .diff, .dps-prot .diff { background: #fecaca; color: #991b1b; border-radius: 3px; padding: 0 2px; }
.dps-table { position: absolute; inset: 10px; overflow: auto; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 12px; }
.dps-table[hidden] { display: none; }
.dps-table-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 15px; }
.dps-close { font-size: 20px; line-height: 1; }
.dps-grid { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); gap: 4px; direction: ltr; }
.dps-grid .hd { font-weight: 700; font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; padding: 2px 4px; white-space: nowrap; }
.dps-grid .cell { background: var(--surface-2); border-radius: 8px; padding: 4px 6px; display: flex; flex-direction: column; gap: 1px; }
.dps-grid .cod { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 4px; padding: 0 3px; }
.dps-grid .cod code { font-family: var(--mono); font-weight: 700; }
.dps-grid .cod small { color: var(--muted); }
.dps-grid .cod .nm { color: var(--ink-2); font-size: 11.5px; }
.dps-grid .cod.on { background: #fde68a; outline: 2px solid #ca8a04; }
.dps-tnote { margin: 8px 0 0; font-size: 12px; color: var(--ink-2); }
@media (max-width: 760px) { .dps-grid .cod .nm { display: none; } .dps-grid .cod { font-size: 11px; } }
