/* ==========================================================================
   Compras — mismos tokens de css/tokens.css (y piezas de inventario.css)
   Teléfono: la lista (Reponer, Órdenes, Proveedores) o el detalle a pantalla completa;
   el detalle oculta la barra de navegación y deja sus acciones abajo, en la zona del pulgar.
   Ventana ancha: lista a la izquierda y detalle a la derecha.
   Estados de la orden y diferencias pedido/recibido: ícono + texto (nunca solo color).
   ========================================================================== */

.app.is-comp .scroller { overflow: hidden; }
@container app (max-width: 839px) {
  .app.is-comp .topbar { display: none; }
  .app.is-comp-det .navbar { display: none; }
}

.comp { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--ground); }
.comp-main { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.comp-main > * { flex: none; }
.comp-main > .comp-results { flex: 1 1 auto; }

/* Pestañas: la actual va elevada, con borde y raya inferior (no solo color) */
.comp-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: var(--s1) var(--s4) 0; padding: 4px; border-radius: var(--r-lg); background: var(--surface-2); }
.comp-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0;
  min-height: var(--tap); padding: 0 var(--s2); border-radius: var(--r-md);
  color: var(--ink-2); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap;
}
.comp-tab svg.ic { width: 20px; height: 20px; display: none; }
@container app (min-width: 480px) and (max-width: 839px) { .comp-tab svg.ic { display: block; } }
.comp-tab-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.comp-tab[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent), inset 0 0 0 1px var(--line-strong), var(--raised-shadow); }
.comp-tab:active { background: var(--surface-3); }
.comp-tab-n { min-width: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--ink); color: var(--surface); font-size: var(--fs-xs); font-weight: 800; line-height: 20px; text-align: center; }
.comp-tab:focus-visible { outline-offset: -3px; }

.comp-results .inv-hint { margin-bottom: var(--s1); }
.comp-results > .inv-rows { margin-top: 0; }
.comp-inactivos { margin-top: var(--s3); }

/* Barra inferior de la lista (crear órdenes, nueva orden, nuevo proveedor) */
.comp-bar {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4);
  background: var(--surface); box-shadow: var(--dock-shadow); position: relative; z-index: 2;
}
.comp-bar .btn { min-height: var(--tap-lg); border-radius: var(--r-lg); padding: 0 var(--s4); }
.comp-bar .btn-primary { flex: 1.4 1 0; }
.comp-bar .btn-tonal { flex: 1 1 0; }
.comp-bar-info { flex: 1 1 0; min-width: 0; margin: 0; font-size: var(--fs-sm); line-height: 1.3; color: var(--ink-2); }
.comp-bar-info strong { color: var(--ink); }
.comp-bar-info + .btn-primary { flex: 0 1 auto; }
.comp-bar-warn { color: var(--warn); font-weight: 700; }

/* Aviso de reposición en Órdenes */
.comp-cta {
  display: flex; align-items: center; gap: var(--s3); min-height: 64px;
  margin: var(--s2) var(--s4) 0; padding: var(--s3) var(--s2) var(--s3) var(--s4);
  border-radius: var(--r-md); background: var(--warn-soft); color: var(--ink); text-decoration: none;
}
.comp-cta > svg:first-child { color: var(--warn); }
.comp-cta .grow { flex: 1; min-width: 0; }
.comp-cta-t { display: block; font-weight: 800; }
.comp-cta-s { display: block; font-size: var(--fs-sm); color: var(--ink-2); }
.comp-cta:focus-visible { outline-offset: 2px; }

/* ---------- Reponer: grupos por proveedor ---------- */
.rp-group { margin: 0 0 var(--s3); background: var(--surface); border-block: 1px solid var(--line); }
.rp-ghead {
  display: flex; align-items: center; gap: var(--s1); min-height: 60px;
  padding: var(--s1) var(--s1) var(--s1) var(--s1);
  position: sticky; top: 0; z-index: 1; background: var(--surface); border-bottom: 1px solid var(--line);
}
.rp-gtext { flex: 1; min-width: 0; }
.rp-gname { margin: 0; font-size: var(--fs-md); font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.rp-gsub { margin: 0; font-size: var(--fs-xs); color: var(--ink-2); }
.rp-gnote { display: flex; gap: var(--s2); align-items: flex-start; margin: 0; padding: var(--s2) var(--s4); font-size: var(--fs-sm); color: var(--ink-2); }
.rp-gnote svg.ic { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--ink); }
.rp-rows { list-style: none; margin: 0; padding: 0; }
.rp-rows > li + li { border-top: 1px solid var(--line); }
.rp-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: var(--s1) var(--s2); padding: var(--s2) var(--s3) var(--s2) var(--s1); }
.rp-row.is-marked { background: var(--accent-soft); }
.rp-main { display: grid; gap: 2px; min-width: 0; }
.rp-main .p-meta { margin: 0; overflow-wrap: anywhere; }
.rp-main .p-meta strong { color: var(--ink); }
.rp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s2); margin-top: 2px; }
.rp-group > .btn-block { border-radius: 0; border-top: 1px solid var(--line); min-height: var(--tap); }

/* Casilla grande (48 dp): la marca es una palomita o una raya, además del color */
.rp-check { position: relative; width: 48px; height: 48px; flex: none; display: grid; place-items: center; cursor: pointer; }
.rp-check input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rp-box { width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; }
.rp-box svg.ic { width: 18px; height: 18px; stroke-width: 3; color: var(--on-accent); opacity: 0; }
.rp-check input:checked + .rp-box { background: var(--accent); border-color: var(--accent); }
.rp-check input:checked + .rp-box svg.ic { opacity: 1; }
.rp-check input:indeterminate + .rp-box { background: var(--accent); border-color: var(--accent); }
.rp-check input:indeterminate + .rp-box svg.ic { display: none; }
.rp-check input:indeterminate + .rp-box::after { content: ""; width: 12px; height: 3px; border-radius: 2px; background: var(--on-accent); }
.rp-check input:focus-visible + .rp-box { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Botón de cantidad y costo */
.rp-qty {
  display: grid; justify-items: end; align-content: center; min-width: 76px; min-height: 56px; padding: 4px 10px;
  border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); text-align: right; font: inherit;
}
.rp-qty:active { background: var(--surface-3); }
.rp-qty-n { font-size: var(--fs-lg); font-weight: 800; line-height: 1.15; }
.rp-qty-u { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.2; }
.rp-qty-c { font-size: var(--fs-xs); font-weight: 700; line-height: 1.3; }
.rp-qty-s { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.2; }

/* ---------- Estados de la orden y diferencias ---------- */
.ob-borrador { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.ob-enviada { background: var(--info-soft); color: var(--info); }
.ob-parcial { background: var(--warn-soft); color: var(--warn); }
.ob-recibida { background: var(--ok-soft); color: var(--ok); }
.ob-cancelada { background: var(--off-soft); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
/* Cerrada: se recibió una parte y lo pendiente ya no se espera (ícono y texto propios) */
.ob-cerrada { background: var(--off-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-2); }
.db-ok { background: var(--ok-soft); color: var(--ok); }
.db-falta { background: var(--warn-soft); color: var(--warn); }
.db-sobra { background: var(--info-soft); color: var(--info); }
.db-sin { background: var(--surface-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }

.ord-row .inv-row-main .p-name { -webkit-line-clamp: 2; }
.ord-prog { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s2); flex-basis: 100%; font-size: var(--fs-xs); color: var(--ink-2); }
.ord-bar { flex: 0 0 96px; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-strong); }
.ord-bar > span { display: block; height: 100%; background: var(--ok); }
.fcard .ord-prog { margin-top: var(--s3); font-size: var(--fs-sm); }
.fcard .ord-bar { flex-basis: 140px; height: 10px; border-radius: 5px; }
.od-difs { display: flex; flex-wrap: wrap; gap: 4px var(--s3); margin: var(--s3) 0 0; }

/* Pasos del estado */
.ord-steps { list-style: none; margin: 0 0 var(--s2); padding: 0; display: grid; gap: 6px; }
.ost { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: var(--s3); min-height: 36px; }
.ost + .ost::before { content: ""; position: absolute; left: 15px; top: -9px; height: 12px; border-left: 2px solid var(--line-strong); }
.ost-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.ost-ic svg.ic { width: 18px; height: 18px; }
.ost-t { font-size: var(--fs-sm); font-weight: 600; }
.ost-d { font-size: var(--fs-xs); color: var(--ink-2); text-align: right; }
.ost-done .ost-ic { background: var(--ok-soft); color: var(--ok); box-shadow: none; }
.ost-now .ost-ic { background: var(--ink); color: var(--surface); box-shadow: none; }
.ost-now .ost-t { font-weight: 800; }
.ost-now .ost-d { font-weight: 700; color: var(--ink); }
.ost-next .ost-t, .ost-skip .ost-t { color: var(--ink-2); font-weight: 400; }
.ost-cancel .ost-ic { background: var(--crit-soft); color: var(--crit); }
.ost-cierre .ost-ic { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink-2); }
.od-hist { margin-top: var(--s2); border-top: 1px solid var(--line); padding-top: var(--s1); }
.od-hlist { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: var(--s2); font-size: var(--fs-sm); color: var(--ink-2); }
.od-hlist strong { color: var(--ink); }

/* Líneas de la orden, recepciones */
.ol-list { list-style: none; margin: 0 calc(var(--s4) * -1); padding: 0; }
.ol-list > li + li { border-top: 1px solid var(--line); }
.ol-row {
  display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: 64px; padding: var(--s2) var(--s2) var(--s2) var(--s4);
  border: 0; background: transparent; color: inherit; text-align: left; font: inherit; text-decoration: none;
}
.ol-row:active { background: var(--surface-2); }
.ol-row:focus-visible { outline-offset: -3px; border-radius: var(--r-md); }
.ol-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ol-main .p-meta { margin: 0; overflow-wrap: anywhere; }
.ol-nota { display: flex; gap: 4px; align-items: flex-start; }
.ol-nota svg.ic { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.crec-li { padding: var(--s2) var(--s4); }
.crec-li .comp-link { justify-self: start; }
.sheet .ol-list { margin: 0 calc(var(--s5) * -1); }
.sheet .ol-row, .sheet .crec-li { padding-inline: var(--s5); }
.comp-link { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.comp-link svg.ic { width: 18px; height: 18px; flex: none; color: var(--ink-2); }
.f-codes .comp-link { min-height: var(--tap); }
.pv-stat { margin: 0 0 var(--s3); font-size: var(--fs-sm); color: var(--ink-2); }
.pv-stat strong { color: var(--ink); }
.fcard .inv-rows { margin: 0 calc(var(--s4) * -1); border-block: 0; background: transparent; }
.ch-list { list-style: none; margin: var(--s2) 0 0; padding: 0; }
.ch-list li { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s2) 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.ch-main { display: grid; min-width: 0; }
.ch-p { font-weight: 600; overflow-wrap: anywhere; }
.ch-m { font-size: var(--fs-xs); color: var(--ink-2); }

/* Acciones del detalle (zona del pulgar) */
.comp-det-bar { display: flex; align-items: center; }
.comp-det.is-empty .ficha-head { visibility: hidden; }
.cc-lock { align-items: center; flex-wrap: wrap; }
.cc-lock > span { flex: 1; }
.cx-help { margin: 0 0 var(--s4); }
.comp-det-bar .btn { flex: 1 1 auto; min-width: auto; padding: 0 var(--s3); }
.comp-det-bar .btn-primary { flex-grow: 1.4; }
.comp-det-bar .comp-more { flex: none; width: var(--tap-lg); height: var(--tap-lg); border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); }

/* ---------- Recepción ---------- */
.rc-tools { display: flex; align-items: center; gap: var(--s2); }
.rc-tools .btn-tonal { flex: 1 1 auto; min-width: 0; }
.rc-tools .icon-btn { border: 1px solid var(--line-strong); background: var(--surface); }
.rc-help { margin-top: 0; }
.rc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.rc-line { background: var(--surface); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); padding: var(--s3) var(--s4); }
.rc-l-head { display: grid; gap: 2px; margin-bottom: var(--s2); }
.rc-l-head .p-meta { margin: 0; }
.rc-l-head .p-meta strong { color: var(--ink); }
.rc-l-in { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s2) var(--s3); }
.rc-f { display: grid; gap: 4px; }
.rc-f label { font-size: var(--fs-sm); font-weight: 700; }
.rc-step { display: flex; align-items: center; gap: 4px; }
.rc-step .icon-btn { border: 1px solid var(--line-strong); background: var(--surface); }
.rc-cant { flex: none; width: 96px; padding: 0 var(--s2); text-align: center; font-size: var(--fs-xl); font-weight: 800; }
.rc-f-costo .input { width: 124px; text-align: right; }
.rc-dif { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s3); margin: var(--s2) 0 0; font-size: var(--fs-sm); font-weight: 600; }
.rc-dif > svg.ic { width: 18px; height: 18px; flex: none; }
.rc-dk { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
.rc-dk svg.ic { width: 16px; height: 16px; }
.rc-motivo { margin: var(--s2) 0 0; }
.rc-line .field-error { margin-top: var(--s1); }
.rc-datos .field:last-child { margin-bottom: 0; }

/* ---------- Hojas ---------- */
.cc-sug { margin: 0 0 var(--s3); padding: var(--s2) var(--s3); border-radius: var(--r-md); background: var(--ground); }
.cc-sug-t { margin: 0; }
.cc-why > summary { min-height: var(--tap); }
.cc-why ul { margin: 0 0 var(--s1); padding-left: 1.2em; display: grid; gap: 4px; font-size: var(--fs-sm); color: var(--ink-2); }
.cc-why strong { color: var(--ink); }
.cc-quick { margin-top: 0; }
.cc-quick .chip strong { font-weight: 800; }
.cc-m, .cc-w { flex-basis: 100%; display: flex; align-items: center; gap: 4px; font-size: var(--fs-xs); color: var(--ink-2); }
.cc-w { color: var(--warn); font-weight: 700; }
.cc-m svg.ic, .cc-w svg.ic { width: 16px; height: 16px; }
.cc-prov { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s2); margin: 0 0 var(--s3); padding: var(--s1) var(--s1) var(--s1) var(--s3); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cc-prov-l { flex-basis: 100%; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); padding-top: 4px; }
.cc-prov-n { flex: 1; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.cc-hist { margin-bottom: var(--s2); }
.link-btn { border: 0; background: none; padding: 0; color: var(--ink); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.cenv-err .link-btn { display: inline-flex; align-items: center; min-height: var(--tap); }
.cprov-search { margin: 0 0 var(--s1); }
.cprov-actions { margin-top: var(--s3); }
.cprod-bar { display: flex; align-items: center; gap: var(--s2); }
#sheet-cprod .result-list { margin: 0 calc(var(--s5) * -1); }
#sheet-cprod .result { width: 100%; border: 0; background: transparent; text-align: left; font: inherit; color: inherit; padding-inline: var(--s5); }
#sheet-cprod .result:focus-visible { outline-offset: -3px; border-radius: var(--r-md); }
#sheet-cprod .results-meta { padding-inline: 0; }
.cenv-err { margin: 0 0 var(--s3); padding: var(--s3); border-radius: var(--r-md); background: var(--crit-soft); }
.cenv-err ul { margin: var(--s1) 0 0; padding-left: 1.2em; display: grid; gap: 4px; font-size: var(--fs-sm); }
.cenv-err:focus { outline: none; }
.cenv-err:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cenv-actions { flex-direction: column; }
.cenv-actions .btn { width: 100%; min-height: var(--tap-lg); border-radius: var(--r-lg); }
.btn-crit { background: var(--crit); color: var(--surface); }
.btn-crit:active { filter: brightness(0.92); }
.crok-lead { margin: 0 0 var(--s2); }
.crok-estado { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: var(--s3) 0; font-weight: 700; }
.cmas-texto { width: 100%; min-height: 220px; padding: var(--s3); font-size: var(--fs-sm); line-height: 1.4; resize: vertical; }
#sheet-cmas .opt-row { width: 100%; }
#rc-err:focus, #cdet-title:focus { outline: none; }
#rc-err:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Ficha del producto (Inventario): tarjeta de compras */
.fc-list { list-style: none; margin: 0; padding: 0; }
.fc-list .comp-link { display: flex; align-items: flex-start; padding: var(--s2) 0; font-weight: 600; text-decoration: none; }
.fc-list .comp-link span { text-decoration: underline; text-underline-offset: 3px; }
.fc-list .comp-link svg.ic { margin-top: 2px; }
.fc-none { margin-top: 0; }
.fc-sug { display: flex; gap: var(--s2); align-items: flex-start; margin: var(--s2) 0 0; font-size: var(--fs-sm); }
.fc-sug svg.ic { width: 20px; height: 20px; flex: none; }
.fc-actions { margin-top: var(--s3); }

/* Notas con ícono (plan, revisión, confirmación con el servidor) */
.help.comp-note { display: flex; gap: var(--s2); align-items: flex-start; }
.help.comp-note svg.ic { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.crec-conf { display: grid; gap: 4px; margin: 0 0 var(--s3); }
.crec-conf .tag { justify-self: start; }
.crec-conf .help { margin: 0; }
/* Criterio de la reposición del servidor */
.rp-criterio { margin: 0 var(--s4) var(--s2); }
.rp-criterio > summary { min-height: var(--tap); }
.rp-criterio .help { margin: 0 0 var(--s2); }

/* Compras del Excel en Órdenes */
.comp-excel { margin: var(--s4) var(--s4) 0; }
.comp-excel .inv-rows { margin: var(--s2) calc(var(--s4) * -1) 0; }
.cx-row { width: 100%; border: 0; text-align: left; font: inherit; color: inherit; background: transparent; }

/* Avisos: sobre la barra de acciones */
.app-host.in-comp .toasts { bottom: calc(var(--nav-h) + 88px); }
.app-host.in-comp.in-comp-det .toasts { bottom: calc(96px + var(--safe-bottom)); }
.app-host.in-comp.has-sheet .toasts { top: calc(64px + var(--safe-top)); bottom: auto; }

/* Impresión de la orden (hoja carta o A4) */
.oc-doc { font-family: var(--font-ui); color: var(--papel-tinta); background: var(--papel); font-size: 11pt; line-height: 1.35; }
.oc-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid var(--papel-tinta); }
.oc-head p { margin: 0; }
.oc-neg { font-size: 14pt; font-weight: 800; }
.oc-num { text-align: right; }
.oc-n { font-size: 16pt; font-weight: 800; }
.oc-meta, .oc-lines { width: 100%; border-collapse: collapse; margin: 8px 0; }
.oc-meta th { width: 30%; padding: 2px 8px 2px 0; text-align: left; vertical-align: top; }
.oc-lines th, .oc-lines td { padding: 4px; border-bottom: 1px solid var(--papel-linea); text-align: left; vertical-align: top; }
.oc-lines .r { text-align: right; white-space: nowrap; }
.oc-lines tfoot td { font-weight: 800; border-bottom: 0; }
.oc-notas { margin: 8px 0 0; }

/* Teléfonos angostos (360 px y menos) */
@container app (max-width: 380px) {
  .comp-tabs { margin-inline: var(--s3); }
  .comp-bar { padding-inline: var(--s3); gap: var(--s2); }
  .comp-bar .btn { padding: 0 var(--s3); }
  .rp-row { padding-right: var(--s2); gap: var(--s1); }
  .rp-qty { min-width: 68px; padding-inline: 8px; }
  .rc-line { padding-inline: var(--s3); }
  .ol-list { margin-inline: calc(var(--s3) * -1); }
  .ol-row { padding-left: var(--s3); }
  .comp-det-bar { gap: var(--s2); }
}

/* ---------- Ventana ancha: lista y detalle lado a lado ---------- */
@container app (min-width: 840px) {
  .comp { grid-template-columns: minmax(360px, 440px) minmax(0, 1fr); }
  .comp-main { border-right: 1px solid var(--line); }
  .comp-bar { box-shadow: none; border-top: 1px solid var(--line); }
  .comp-det-bar .btn { flex: 0 0 auto; }
  .app-host.in-comp .toasts { bottom: calc(80px + var(--s4)); }
}

@media (forced-colors: active) {
  .ob, .db, .rp-box, .ost-ic, .comp-tab-n { border: 1px solid CanvasText; }
  .comp-tab[aria-current="page"] { outline: 2px solid Highlight; outline-offset: -2px; }
  .rp-check input:checked + .rp-box svg.ic { opacity: 1; color: CanvasText; }
  .ord-bar > span { background: Highlight; }
}
