/* Neanes tab: score library around the Neanes editor iframe. Isolated: every rule is under #panel-neanes. */
#panel-neanes .nl-toolbar { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: .25rem 0 .5rem; }
#panel-neanes .nl-toolbar label { font-size: .85rem; }
#panel-neanes .nl-toolbar select { margin-left: .35rem; padding: .2rem .35rem; max-width: 16rem; }
#panel-neanes .nl-filter { display: inline-flex; gap: .25rem; }
#panel-neanes .nl-filter button { font-size: .8rem; padding: .2rem .55rem; border: 1px solid #c8a56a88; border-radius: 4px;
  background: transparent; cursor: pointer; }
#panel-neanes .nl-filter button[aria-pressed="true"] { background: #8b1a1a; color: #fff; border-color: #8b1a1a; }
#panel-neanes details.nl-lib, #panel-neanes details.nl-help { margin: .25rem 0 .6rem; }
#panel-neanes details > summary { cursor: pointer; font-size: .9rem; color: #8b1a1a; }
#panel-neanes .nl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .5rem; margin-top: .5rem; }
#panel-neanes .nl-card { border: 1px solid #c8a56a44; border-radius: 6px; padding: .5rem .6rem; background: #fffdf8; }
#panel-neanes .nl-card-selected { border-color: #8b1a1a; box-shadow: 0 0 0 1px #8b1a1a33; }
#panel-neanes .nl-card-head { display: flex; gap: .4rem; align-items: baseline; }
#panel-neanes .nl-lang { font-size: .7rem; font-weight: 600; padding: 0 .3rem; border-radius: 3px; background: #c8a56a33; }
#panel-neanes .nl-title { font-size: .9rem; }
#panel-neanes .nl-meta { font-size: .75rem; opacity: .75; margin-top: .15rem; }
#panel-neanes .nl-orig { font-size: .8rem; font-style: italic; margin-top: .15rem; }
#panel-neanes .nl-actions { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; align-items: center; }
#panel-neanes .nl-btn { font-size: .75rem; padding: .15rem .45rem; border: 1px solid #c8a56a88; border-radius: 4px;
  color: inherit; text-decoration: none; background: transparent; cursor: pointer; }
#panel-neanes .nl-btn-main { background: #8b1a1a; color: #fff; border-color: #8b1a1a; }
#panel-neanes .nl-note { font-size: .7rem; opacity: .7; }
#panel-neanes .nl-status { font-size: .8rem; min-height: 1.1em; margin: .2rem 0; }
#panel-neanes .nl-textbox { border-left: 3px solid #c8a56a; padding: .4rem .7rem; margin: .4rem 0 .6rem; background: #fffdf8; }
#panel-neanes .nl-text-head { font-size: .8rem; opacity: .8; margin-bottom: .25rem; }
#panel-neanes .nl-text { margin: 0; line-height: 1.5; }
#panel-neanes .nl-text-src { font-size: .7rem; opacity: .6; margin-top: .25rem; }
#panel-neanes .nl-text-missing { margin: 0; font-size: .85rem; opacity: .8; }
#panel-neanes #neanes-q { flex: 1 1 14rem; min-width: 10rem; padding: .25rem .45rem; font-size: .85rem;
  border: 1px solid #c8a56a88; border-radius: 4px; }
#panel-neanes .nl-prov { margin-top: .35rem; font-size: .72rem; opacity: .85; }
#panel-neanes .nl-prov summary { cursor: pointer; font-size: .72rem; color: inherit; }
#panel-neanes .nl-prov div { margin-top: .15rem; word-break: break-word; }
#panel-neanes .nl-hash { font-family: monospace; opacity: .7; }
#panel-neanes .nl-empty { font-size: .85rem; opacity: .8; margin: .25rem 0; }
#panel-neanes details.nl-cov-box { margin: .25rem 0 .6rem; }
#panel-neanes .nl-cov-sum { font-size: .85rem; margin: .35rem 0; }
#panel-neanes table.nl-cov { border-collapse: collapse; font-size: .8rem; }
#panel-neanes table.nl-cov th, #panel-neanes table.nl-cov td { border: 1px solid #c8a56a55; padding: .15rem .5rem; text-align: center; }
#panel-neanes table.nl-cov td:first-child { text-align: left; }
#panel-neanes .nl-yes { color: #15803d; }
#panel-neanes .nl-no { color: #8b1a1a; opacity: .75; }
#panel-neanes .np-panel { border: 1px solid #c8a56a55; border-radius: 6px; padding: .5rem .7rem; margin: .4rem 0 .6rem; background: #fffdf8; }
#panel-neanes .np-day { font-size: .9rem; margin-bottom: .3rem; }
#panel-neanes .np-controls { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; font-size: .85rem; }
#panel-neanes .np-scale { font-size: .78rem; opacity: .8; }
#panel-neanes .np-status { font-size: .78rem; min-height: 1.1em; margin: .25rem 0; opacity: .85; }
#panel-neanes .np-sum { font-size: .8rem; margin-top: .3rem; }
#panel-neanes .np-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .25rem; font-size: .8rem; }
#panel-neanes .np-badge { font-size: .72rem; padding: .05rem .4rem; border-radius: 3px; background: #c8a56a33; }
#panel-neanes .np-none { opacity: .8; }
#panel-neanes .np-prov { font-size: .72rem; margin-top: .25rem; opacity: .85; }
#panel-neanes .np-prov summary { cursor: pointer; }
#panel-neanes .nl-help ul { margin: .3rem 0 0 1.1rem; font-size: .85rem; line-height: 1.5; }
@media (max-width: 600px) {
  #panel-neanes .nl-list { grid-template-columns: 1fr; }
  #panel-neanes #neanes-frame { height: 70vh !important; }
}
