/* problems.css v1.0 (Joseph 2026-10-26): the chip beside Save that lists what stops a save (problems.js, OmsProblems). Theme colors only. */
.oms-prob{display:inline-flex;align-items:center}
.oms-prob-chip{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:12px;line-height:1.2;padding:5px 11px;border-radius:999px;
  color:var(--t-bad,#c0392b);border:1px solid var(--t-bad-border,var(--t-bad,#c0392b));
  background:color-mix(in srgb,var(--t-bad,#c0392b) 12%,transparent);font-variant-numeric:tabular-nums;white-space:nowrap}
.oms-prob-chip:hover{background:color-mix(in srgb,var(--t-bad,#c0392b) 20%,transparent)}
.oms-prob-chip:focus-visible{outline:2px solid var(--t-bad,#c0392b);outline-offset:2px}
.oms-prob-chip.pop{animation:oms-prob-pop .35s ease}
@keyframes oms-prob-pop{0%{transform:scale(.8)}60%{transform:scale(1.08)}100%{transform:scale(1)}}
.oms-prob-list{position:fixed;z-index:60;overflow:auto;display:grid;gap:2px;align-content:start;padding:6px;border-radius:8px;
  background:var(--t-raised,var(--t-surface,#fff));color:var(--t-text,inherit);border:1px solid var(--t-border,#c9d3dc);box-shadow:0 10px 28px rgba(0,0,0,.28)}
.oms-prob-list[hidden]{display:none}
.oms-prob-list h4{margin:4px 8px 6px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--t-muted,#6b7a89);font-weight:600}
.oms-prob-list button{display:grid;gap:2px;text-align:left;width:100%;padding:7px 9px;margin:0;border:0;border-radius:5px;background:transparent;color:inherit;cursor:pointer}
.oms-prob-list button:hover,.oms-prob-list button:focus-visible{background:color-mix(in srgb,var(--t-bad,#c0392b) 12%,transparent);outline:0}
.oms-prob-list button b{font-size:12px;color:var(--t-bad,#c0392b)}
.oms-prob-list button.whole b{color:var(--t-text,inherit)}
.oms-prob-list button span{font-size:13px;white-space:normal}
/* each failing field: the red outline (kept from v2.6) and its own message under it */
.rs-form [aria-invalid="true"],form [aria-invalid="true"]{outline:2px solid var(--t-bad,#d9534f);outline-offset:1px}
.oms-prob-msg{display:block;margin-top:3px;font-size:11px;color:var(--t-bad,#c0392b)}
.rs-labels-left>div>.oms-prob-msg{grid-column:2}
@media(max-width:760px){.rs-labels-left>div>.oms-prob-msg{grid-column:1}}
.oms-prob-flash{animation:oms-prob-flash 1.2s ease}
@keyframes oms-prob-flash{0%,35%{background:color-mix(in srgb,var(--t-warm,#e0a400) 30%,transparent);box-shadow:0 0 0 6px color-mix(in srgb,var(--t-warm,#e0a400) 30%,transparent)}100%{background:transparent;box-shadow:0 0 0 6px transparent}}
@media(prefers-reduced-motion:reduce){.oms-prob-chip.pop,.oms-prob-flash{animation:none}}
/* a list screen's Save row stays at the bottom of the screen while the form scrolls, so Save and the chip are always in view
   (.panel has overflow:hidden, which stops sticky; clip keeps the rounded corners and lets it stick, as the single-record bar does) */
.record-workspace .rs-detail.panel{overflow:clip}
.rs-detail .detailbody>.buttonrow{position:sticky;bottom:0;z-index:4;margin:16px -18px -16px;padding:10px 18px;
  background:var(--t-raised,var(--t-surface,#fff));border-top:1px solid var(--t-border,rgba(127,127,127,.3))}
[data-theme^="minimal-"] .rs-detail .detailbody>.buttonrow{background:var(--t-inset)}
