.opsBar, .opsActions, .shopOrdersFoot {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px;
}
.opsBar, .shopOrdersFoot { justify-content: space-between; }
.opsBar { margin-block-end: 14px; }
.opsBar h3, .opsTitle { margin: 0; font-size: 1rem; }
.opsTitle { margin-block: 18px 10px; overflow-wrap: anywhere; }
.opsActions { margin-block-start: 12px; }
.opsRows { border-block: 1px solid var(--line); }
.opsRow { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; text-align: start; padding: 12px 4px; border: 0; border-radius: 0; background: transparent; }
.opsRow + .opsRow { border-block-start: 1px solid var(--line); }
.opsRow:hover:not(:disabled) { background: var(--panel); }
.opsRow > span:first-child { display: grid; min-width: 0; gap: 3px; }
.opsRow b, .opsRow span, .opsThread p, .opsOrder code { overflow-wrap: anywhere; }
.opsRow > span:last-child:not(:first-child) { text-align: end; }
.opsRow small { display: block; color: var(--muted); }
.opsRow.isUnread > small, .state-open, .opsThread strong { color: var(--bright); }
.opsState { display: inline-block; flex: none; color: var(--soft); font-size: .86rem; }
.opsState.state-open { color: var(--bright); }
.opsEmpty { color: var(--soft); line-height: 1.7; padding-block: 12px; }
.opsThread { list-style: none; margin: 0; padding: 0; }
.opsThread li { padding: 14px 0; border-block-end: 1px solid var(--line); }
.opsThread li > div { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.opsThread p { white-space: pre-wrap; line-height: 1.6; margin: 6px 0 0; }
.opsField { display: grid; gap: 8px; }
.opsField textarea { width: 100%; padding: 10px; resize: vertical; min-height: 5em; }
.opsOrder dl { margin-block: 12px; }
.opsOrder dd { min-width: 0; }
.opsOrder .fail:empty { margin: 0; }
.payLink { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border-radius: 6px; background: var(--green); }
.modalBody a.payLink { text-decoration: none; color: var(--bg); font-weight: 600; }
.shopOrdersFoot { margin-top: 16px; }
.shopOrdersFoot .shopNote { margin: 0; }
.notice { position: relative; }
.notice [data-unread]:not(:empty) { position: absolute; right: -4px; top: -5px; min-width: 15px; padding: 1px 3px; border-radius: 8px; color: var(--bg); background: var(--bright); font-size: 10px; font-weight: 700; }
@media(max-width: 700px) {
  .topRight .notice { display: inline-grid; place-items: center; }
  .opsActions button, .opsBar button, .payLink { min-height: 44px; }
  .opsField textarea { font-size: 16px; }
  .opsOrder code { font-size: .8rem; }
}
