/* ============================================================================
   Ops shared design system
   --------------------------------------------------------------------------
   Combines the two design-system stylesheets that grew up independently for
   the Customer module ("cust-*") and the Data Modification Request /
   Approve-Deny module ("dmr-*"). Both followed the same 3WON visual language
   (white cards, hairline cool-gray borders, 12px radii, navy-tinted shadows,
   Open Sans, pill status badges), so this file merges them under one prefix
   - "ops-" - so any new feature can reuse the same components/tokens
   instead of re-inventing them a third time.

   Everything is scoped under .ops-scope so this file cannot affect any other
   page in the application, and so Bootstrap's own .card/.btn/.form-control
   rules do not conflict with these components.

   Palette anchors:
     brand blue   #0065a4     navy         #004056     deep blue  #05536f
     border       #d7dde3     border-hair  #eef2f5     page       #f4f5fa
     text         #2b3742     muted        #556671     faint      #8a97a1
   ========================================================================== */

.ops-scope {
  /* ---- tokens ---- */
  --ops-blue: #0065a4;
  --ops-blue-dark: #05536f;
  --ops-navy: #004056;
  --ops-blue-soft: #eff7fb;
  --ops-blue-soft-2: #dcecf5;

  --ops-page: #f4f5fa;
  --ops-card-bg: #ffffff;
  --ops-sunken: #f7f9fb;
  --ops-hover: #f4f8fb;

  --ops-border: #d7dde3;
  --ops-border-hair: #eef2f5;

  --ops-text: #2b3742;
  --ops-text-muted: #556671;
  --ops-text-faint: #8a97a1;

  --ops-green-fg: #0f6b48;
  --ops-green-bg: #e9f6ef;
  --ops-green-br: #cbead9;

  --ops-amber-fg: #93610a;
  --ops-amber-bg: #fdf4e3;
  --ops-amber-br: #fae6bf;
  --ops-amber-dot: #d99414;

  --ops-red-fg: #93253b;
  --ops-red-bg: #fcecef;
  --ops-red-br: #f7d2d9;

  --ops-radius: 12px;
  --ops-radius-sm: 8px;
  --ops-radius-xs: 7px;
  --ops-shadow: 0 1px 3px rgba(0, 64, 86, .06);
  --ops-shadow-md: 0 4px 14px rgba(0, 64, 86, .10);
  --ops-focus: 0 0 0 3px rgba(0, 101, 164, .15);

  --ops-font: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ops-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  font-family: var(--ops-font);
  color: var(--ops-text);
  font-size: 13.5px;
  line-height: 1.45;
}

.ops-scope *,
.ops-scope *::before,
.ops-scope *::after { box-sizing: border-box; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.col-full { grid-column: 1 / -1; }

/* ==========================================================================
   Page header (list/detail pages)
   ========================================================================== */

.ops-breadcrumb { font-size: 12px; color: var(--ops-text-faint); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.ops-breadcrumb a { color: var(--ops-blue); text-decoration: none; font-weight: 600; }
.ops-breadcrumb .sep { font-size: 9px; }
.ops-breadcrumb .current { color: var(--ops-blue); font-weight: 700; }
.ops-title { margin: 0; font-size: 27px; font-weight: 800; letter-spacing: -.02em; color: var(--ops-navy); line-height: 1.1; }
.ops-subtitle { margin: 8px 0 0; font-size: 14px; color: #6c7680; max-width: 640px; line-height: 1.5; }
.ops-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

/* Generic BEM-style button (from the DMR module): .ops-btn + a modifier */
.ops-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--ops-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}

.ops-btn:focus-visible { outline: none; box-shadow: var(--ops-focus); }
.ops-btn:active { transform: translateY(1px); }

.ops-btn:disabled,
.ops-btn.ops-is-disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.ops-btn--primary { background: var(--ops-blue); color: #fff; }
.ops-btn--primary:hover { background: var(--ops-blue-dark); color: #fff; }

.ops-btn--approve { background: #16875b; color: #fff; }
.ops-btn--approve:hover { background: var(--ops-green-fg); color: #fff; }

.ops-btn--deny-solid { background: #b5304a; color: #fff; }
.ops-btn--deny-solid:hover { background: var(--ops-red-fg); color: #fff; }

.ops-btn--ghost { background: #fff; color: var(--ops-text); border-color: var(--ops-border); }
.ops-btn--ghost:hover { background: var(--ops-border-hair); color: var(--ops-text); }

.ops-btn--outline { background: #fff; color: var(--ops-blue); border-color: var(--ops-blue); }
.ops-btn--outline:hover { background: var(--ops-blue-soft); color: var(--ops-blue-dark); }

.ops-btn--sm { font-size: 12.5px; padding: 7px 13px; }
.ops-btn--xs { font-size: 11.5px; padding: 4px 11px; border-radius: 6px; }
.ops-btn--block { width: 100%; }

/* Suffix-style buttons (from the Customer module): distinct classes rather
   than modifiers, kept as-is so existing markup doesn't need restructuring. */
.ops-btn-primary {
  border: none; background: var(--ops-blue); color: #fff; font-weight: 700; font-size: 14px;
  padding: 11px 20px; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 4px 12px rgba(0,101,164,.28); transition: background .12s ease;
}
.ops-btn-primary:hover { background: #005089; }
.ops-btn-primary.disabled { background: #b7c3cb; box-shadow: none; cursor: not-allowed; pointer-events: none; }
.ops-btn-ghost { border: 1px solid var(--ops-border); background: #fff; color: var(--ops-text); font-weight: 700; font-size: 13px; padding: 10px 18px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.ops-btn-text { border: none; background: transparent; color: #6c7680; font-weight: 600; font-size: 13px; padding: 10px 14px; border-radius: 8px; cursor: pointer; }
.ops-btn-outline { border: 1px solid var(--ops-blue); background: #fff; color: var(--ops-blue); font-weight: 700; font-size: 12.5px; padding: 7px 13px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: background .12s ease; }
.ops-btn-outline:hover { background: #eff7fb; }

.ops-iconbtn {
  width: 30px; height: 30px; border-radius: var(--ops-radius-xs); border: 1px solid var(--ops-border);
  background: #fff; color: var(--ops-text-muted); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; font-size: 12px; transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.ops-iconbtn:hover { background: var(--ops-border-hair); color: var(--ops-blue); }
.ops-iconbtn--danger { color: var(--ops-red-fg); border-color: var(--ops-red-br); }
.ops-iconbtn--danger:hover { background: var(--ops-red-bg); color: var(--ops-red-fg); }
.ops-iconbtn--run { color: #fff; background: var(--ops-blue); border-color: var(--ops-blue); }
.ops-iconbtn--run:hover { background: var(--ops-blue-dark); color: #fff; }

.ops-icon-btn { width: 32px; height: 32px; border: 1px solid var(--ops-border); background: #fff; border-radius: 8px; cursor: pointer; color: var(--ops-text-muted); display: inline-flex; align-items: center; justify-content: center; transition: background .12s ease, color .12s ease; }
.ops-icon-btn:hover { background: #eef2f5; color: var(--ops-blue); }

.ops-link { color: var(--ops-blue); font-weight: 600; text-decoration: none; }
.ops-link:hover { color: var(--ops-navy); text-decoration: underline; }

/* Approve / Deny pair at the foot of a review column */
.ops-actions { display: flex; gap: 9px; margin-top: 13px; }
.ops-actions .ops-btn { flex: 1 1 0; padding-left: 10px; padding-right: 10px; }

/* ==========================================================================
   Card (shared: DMR's review-column cards and the Customer module's list /
   detail cards were nearly-identical implementations of the same
   white-card-with-header component - merged into one here.)
   ========================================================================== */

.ops-card {
  background: var(--ops-card-bg);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  box-shadow: var(--ops-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  margin-bottom: 22px;
}

.ops-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ops-border-hair);
  flex-wrap: wrap;
}
.ops-card-head h2 { margin: 0; font-size: 15px; font-weight: 800; color: var(--ops-navy); }

.ops-card-icon {
  width: 30px; height: 30px; border-radius: var(--ops-radius-sm); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 14px; background: var(--ops-blue);
}
.ops-card-icon--navy  { background: var(--ops-navy); }
.ops-card-icon--deep  { background: var(--ops-blue-dark); }
.ops-card-icon--amber { background: #b97a0c; }
.ops-card-icon--green { background: #16875b; }

.ops-card-title { margin: 0; font-size: 15px; font-weight: 800; color: var(--ops-blue); flex: 1 1 auto; min-width: 0; }
.ops-count-badge { font-size: 12px; font-weight: 700; color: var(--ops-blue); background: #eef7fb; border-radius: 999px; padding: 2px 10px; }

.ops-card-body { padding: 16px 18px; flex: 1 1 auto; min-width: 0; }
.ops-card-body--flush { padding: 0; }

.ops-card-foot { border-top: 1px solid var(--ops-border-hair); padding: 13px 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ops-card-foot--end { justify-content: flex-end; }

/* Detail-page info boxes (Customer module) - a separate, simpler card used
   alongside .ops-card, kept distinct since it has its own colored-icon head. */
.ops-box { background: #fff; border: 1px solid var(--ops-border); border-radius: 12px; box-shadow: var(--ops-shadow); display: flex; flex-direction: column; overflow: hidden; }
.ops-box-head { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--ops-border-hair); }
.ops-box-head .icon { width: 30px; height: 30px; border-radius: 8px; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.ops-box-head h2 { margin: 0; font-size: 15px; font-weight: 800; color: var(--ops-navy); flex: 1; }
.ops-box-body { padding: 16px 18px; flex: 1; }
.ops-boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 22px; }
@media (max-width: 900px) { .ops-boxes { grid-template-columns: 1fr; } }

/* ==========================================================================
   Field label / value pairs (shared)
   ========================================================================== */

.ops-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.ops-fields--single { grid-template-columns: minmax(0, 1fr); }

.ops-field { min-width: 0; }
.ops-field--wide,
.ops-field.full { grid-column: 1 / -1; }

.ops-label {
  font-size: 11.5px; font-weight: 700; color: var(--ops-text-muted); text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: 6px; display: block;
}
.ops-label .req { color: #dc3912; }

.ops-field-label { font-size: 11px; font-weight: 700; color: var(--ops-text-faint); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.ops-field-value { font-size: 13.5px; color: var(--ops-text); line-height: 1.45; }

.ops-value { font-size: 13.5px; color: var(--ops-text); line-height: 1.45; word-break: break-word; }
.ops-value--strong { font-weight: 700; color: var(--ops-navy); }
.ops-value--medium { font-weight: 600; }
.ops-value--mono   { font-family: var(--ops-mono); font-variant-numeric: tabular-nums; }
.ops-value--empty  { color: var(--ops-text-faint); font-style: italic; }

.ops-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ops-list li { font-size: 13.5px; color: var(--ops-text); display: flex; align-items: baseline; gap: 8px; }
.ops-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ops-blue); flex-shrink: 0; transform: translateY(-2px); }

/* ==========================================================================
   Badges / status pills
   ========================================================================== */

.ops-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700;
  padding: 3px 11px; border-radius: 999px; white-space: nowrap;
  background: var(--ops-blue-soft); color: var(--ops-blue-dark);
}
.ops-badge--active  { background: var(--ops-green-bg); color: var(--ops-green-fg); }
.ops-badge--warn    { background: var(--ops-amber-bg); color: var(--ops-amber-fg); }
.ops-badge--error   { background: var(--ops-red-bg);   color: var(--ops-red-fg); }
.ops-badge--neutral { background: var(--ops-border-hair); color: var(--ops-text-muted); }
.ops-badge--lg { font-size: 12.5px; padding: 4px 13px; }

.ops-status { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 999px; white-space: nowrap; }
.ops-status.active         { color: #0f6b48; background: #e9f6ef; }
.ops-status.terminating    { color: #8a5a00; background: #fdf3e2; }
.ops-status.terminated     { color: #a3260f; background: #fbe1db; }
.ops-status.inactive       { color: #6c7680; background: #eef2f5; }
.ops-status.implementation { color: #05536f; background: #eff7fb; }
.ops-status.pilot          { color: #7a5bd0; background: #f1edfb; }
.ops-status.setup          { color: #b97a0c; background: #fdf3e2; }
.ops-status.paid           { color: #0f6b48; background: #e9f6ef; }
.ops-status.sent           { color: #05536f; background: #eff7fb; }
.ops-status.overdue        { color: #a3260f; background: #fbe1db; }

/* ==========================================================================
   Inputs / selects / textareas / radios / checkboxes (shared)
   ========================================================================== */

.ops-input,
.ops-select {
  width: 100%; height: 40px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius-sm);
  padding: 0 12px; font-size: 13.5px; font-family: inherit; color: var(--ops-text); background: #fff;
  outline: none; transition: border-color .12s ease, box-shadow .12s ease;
}
.ops-input:hover,
.ops-select:hover { border-color: #b9c4cd; }
.ops-input:focus,
.ops-select:focus { border-color: var(--ops-blue); box-shadow: var(--ops-focus); }
.ops-input.invalid { border-color: #dc3912; }

/* Read-only side of a comparison: same control shape as the editable side,
   visibly inert. Keeps two columns aligned row for row. */
.ops-input--locked,
.ops-input--locked:hover {
  background: var(--ops-sunken); color: var(--ops-text-muted); border-color: var(--ops-border-hair); cursor: default;
}
.ops-input--locked::placeholder { color: #b3bec6; font-style: italic; }

.ops-input-prefix { position: relative; }
.ops-input-prefix .sym { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13.5px; color: var(--ops-text-faint); }
.ops-input-prefix input { padding-left: 24px; }
.ops-input-suffix { position: relative; }
.ops-input-suffix .sym { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13.5px; color: var(--ops-text-faint); }
.ops-input-suffix input { padding-right: 26px; }
.ops-field-hint { font-size: 11.5px; color: var(--ops-text-muted); line-height: 1.4; margin-top: 6px; }

.ops-textarea {
  width: 100%; border: 1px solid var(--ops-border); border-radius: var(--ops-radius-sm); padding: 8px 12px;
  font-size: 13.5px; font-family: inherit; color: var(--ops-text); background: #fff; outline: none; resize: vertical;
  min-height: 38px; line-height: 1.45; transition: border-color .12s ease, box-shadow .12s ease;
}
.ops-textarea:hover { border-color: #b9c4cd; }
.ops-textarea:focus { border-color: var(--ops-blue); box-shadow: var(--ops-focus); }

.ops-select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23556671' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; cursor: pointer;
}

.ops-radios { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-height: 38px; }
.ops-radio { display: inline-flex; align-items: center; gap: 7px; margin: 0; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ops-text); user-select: none; }
.ops-radio input[type="radio"] {
  appearance: none; -webkit-appearance: none; width: 17px; height: 17px; margin: 0; flex-shrink: 0;
  border: 1px solid var(--ops-border); border-radius: 50%; background: #fff; cursor: pointer; position: relative; transition: border-color .12s ease;
}
.ops-radio input[type="radio"]:hover { border-color: var(--ops-blue); }
.ops-radio input[type="radio"]:focus-visible { outline: none; box-shadow: var(--ops-focus); }
.ops-radio input[type="radio"]:checked { border-color: var(--ops-blue); border-width: 2px; }
.ops-radio input[type="radio"]:checked::after {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--ops-blue);
}

.ops-check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ops-text); user-select: none; line-height: 1.4; }
.ops-check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; flex-shrink: 0;
  border: 1px solid var(--ops-border); border-radius: 5px; background: #fff; cursor: pointer; position: relative; transition: background .12s ease, border-color .12s ease;
}
.ops-check input[type="checkbox"]:hover { border-color: var(--ops-blue); }
.ops-check input[type="checkbox"]:focus-visible { outline: none; box-shadow: var(--ops-focus); }
.ops-check input[type="checkbox"]:checked { background: var(--ops-blue); border-color: var(--ops-blue); }
.ops-check input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* toggle switch (Customer module) */
.ops-switch { position: relative; width: 46px; height: 26px; border: none; border-radius: 999px; cursor: pointer; background: #c7d0d7; transition: background .15s ease; }
.ops-switch.on { background: #16875b; }
.ops-switch .knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: left .15s ease; }
.ops-switch.on .knob { left: 23px; }

/* service checkboxes (Customer module) */
.ops-services { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px; border-radius: 9px; }
.ops-services.invalid { outline: 1.5px solid #dc3912; outline-offset: 4px; }
.ops-service { display: flex; align-items: center; gap: 9px; border: 1px solid var(--ops-border); background: #fff; border-radius: 9px; padding: 10px 12px; cursor: pointer; text-align: left; }
.ops-service.on { border-color: var(--ops-blue); background: #eff7fb; }
.ops-service .box { width: 18px; height: 18px; border-radius: 5px; border: 1px solid #c7d0d7; background: #fff; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 10px; }
.ops-service.on .box { border-color: var(--ops-blue); background: var(--ops-blue); }
.ops-service .box i { opacity: 0; }
.ops-service.on .box i { opacity: 1; }
.ops-service .name { font-size: 13px; font-weight: 600; color: var(--ops-text); }

/* invoice-by / approve-deny style radio cards (Customer module) */
.ops-radio-cards { display: flex; gap: 12px; margin-bottom: 6px; }
.ops-radio-card { flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid var(--ops-border); background: #fff; border-radius: 10px; padding: 14px 16px; cursor: pointer; text-align: left; }
.ops-radio-card.on { border-color: var(--ops-blue); background: #eff7fb; }
.ops-radio-card .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c7d0d7; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ops-radio-card.on .dot { border-color: var(--ops-blue); }
.ops-radio-card .dot .fill { width: 9px; height: 9px; border-radius: 50%; background: var(--ops-blue); opacity: 0; }
.ops-radio-card.on .dot .fill { opacity: 1; }
.ops-radio-card .rc-title { display: block; font-size: 13.5px; font-weight: 700; color: var(--ops-navy); }
.ops-radio-card .rc-sub { font-size: 11.5px; color: var(--ops-text-faint); }

/* counter (+/- stepper, Customer module) */
.ops-counter { display: flex; align-items: center; border: 1px solid var(--ops-border); border-radius: 8px; height: 40px; overflow: hidden; }
.ops-counter button { width: 40px; height: 100%; border: none; background: #f7f9fb; color: var(--ops-text-muted); cursor: pointer; font-size: 15px; }
.ops-counter button:hover { background: #eef2f5; }
.ops-counter .dec { border-right: 1px solid #e6eaee; }
.ops-counter .inc { border-left: 1px solid #e6eaee; }
.ops-counter .val { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--ops-text); }
.ops-counter .val-input { width: 32px; border: none; background: transparent; padding: 0; text-align: right; font-size: 13.5px; font-weight: 700; color: var(--ops-text); font-family: inherit; }
.ops-counter .val-input:focus { outline: none; }
.ops-counter .val-suffix { font-size: 13.5px; font-weight: 400; color: var(--ops-text-muted); }

/* ==========================================================================
   Tables
   ========================================================================== */

.ops-table { width: 100%; border-collapse: collapse; }
.ops-table th { background: var(--ops-blue); color: #fff; text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ops-table td { padding: 13px 16px; font-size: 13.5px; color: var(--ops-text); vertical-align: top; }
.ops-table tbody tr { border-bottom: 1px solid var(--ops-border-hair); }
.ops-table tbody tr.clickable { cursor: pointer; }
.ops-table tbody tr.clickable:hover { background: var(--ops-hover); }
.ops-name { font-weight: 700; color: var(--ops-navy); }
.ops-mono { font-family: 'Open Sans', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; color: var(--ops-text-muted); font-size: 12.5px; }

/* Compact tables for bots / verification links / minor reference data */
.ops-minitable { width: 100%; border-collapse: collapse; border: 1px solid var(--ops-border-hair); border-radius: var(--ops-radius-xs); overflow: hidden; table-layout: fixed; }
.ops-minitable th { background: var(--ops-blue); color: #fff; text-align: left; padding: 7px 10px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.ops-minitable td { padding: 8px 10px; font-size: 12px; color: var(--ops-text-muted); border-bottom: 1px solid var(--ops-border-hair); vertical-align: middle; word-break: break-word; }
.ops-minitable tr:last-child td { border-bottom: none; }
.ops-minitable tbody tr:hover td { background: var(--ops-hover); }
.ops-minitable-name { font-weight: 700; color: var(--ops-text); }
.ops-minitable-action { width: 62px; text-align: center; white-space: nowrap; }
.ops-minitable td.ops-minitable-action { padding: 6px 8px; }

/* ==========================================================================
   Toolbar / filter pills / search
   ========================================================================== */

.ops-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ops-pillgroup { display: inline-flex; background: #eef2f5; border-radius: 9px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.ops-pill { border: none; background: transparent; color: #6c7680; font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 7px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: background .12s ease; }
.ops-pill.active { background: #fff; color: var(--ops-blue); font-weight: 700; }
.ops-pill .count { font-size: 11px; font-weight: 700; color: #6c7680; background: #dfe6eb; border-radius: 999px; padding: 1px 7px; }
.ops-pill.active .count { color: var(--ops-blue); background: #eef7fb; }
.ops-search { position: relative; width: 300px; max-width: 60vw; }
.ops-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 13px; color: #9aa7b1; }
.ops-search input { width: 100%; height: 38px; border: 1px solid var(--ops-border); border-radius: 9px; background: #fff; color: var(--ops-text); padding: 0 14px 0 36px; outline: none; font-size: 13.5px; }

.ops-filterbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ops-filterbar .label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ops-text-muted); }
.ops-filterbar .hint { margin-left: auto; font-size: 12px; color: #9aa7b1; font-weight: 600; }

/* ==========================================================================
   Detail page identity + chart
   ========================================================================== */

.ops-identity { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.ops-identity .avatar { width: 46px; height: 46px; border-radius: 11px; background: var(--ops-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; }

.ops-chart-card { background: #fff; border: 1px solid var(--ops-border); border-radius: 12px; box-shadow: var(--ops-shadow); padding: 18px 20px; margin-bottom: 22px; }
.ops-chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.ops-chart-head h2 { margin: 0; font-size: 15px; font-weight: 800; color: var(--ops-navy); }
.ops-chart-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.ops-chart-legend span.item { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ops-text-muted); font-weight: 600; }
.ops-chart-legend .swatch { width: 12px; height: 3px; border-radius: 2px; }

/* ==========================================================================
   Documents / files
   ========================================================================== */

.ops-doc { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--ops-border-hair); border-radius: 9px; margin-bottom: 9px; }
.ops-doc .thumb { width: 32px; height: 32px; border-radius: 7px; background: #fbe9e4; color: #c0392b; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; }
.ops-doc .name { font-size: 13px; font-weight: 700; color: var(--ops-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ops-doc-link { color: inherit; text-decoration: none; }
.ops-doc-link:hover { color: var(--ops-blue); text-decoration: underline; }
.ops-doc .meta { font-size: 11.5px; color: var(--ops-text-faint); }
.ops-doc .del { width: 30px; height: 30px; border: 1px solid #f0d3cd; background: #fff; border-radius: 7px; cursor: pointer; color: #c0392b; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ops-doc .del:hover { background: #fbe9e4; }
.ops-doc-empty { padding: 18px; text-align: center; color: var(--ops-text-faint); font-size: 12.5px; border: 1px dashed var(--ops-border); border-radius: 9px; }

.ops-files { display: flex; flex-direction: column; gap: 9px; }
.ops-file { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--ops-border-hair); border-radius: 9px; transition: background .12s ease; }
.ops-file:hover { background: var(--ops-hover); }
.ops-file-icon { width: 32px; height: 32px; border-radius: var(--ops-radius-xs); background: #fbe9e4; color: #c0392b; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; }
.ops-file-icon--bot { background: var(--ops-blue-soft); color: var(--ops-blue); }
.ops-file-main { flex: 1 1 auto; min-width: 0; }
.ops-file-name { font-size: 13px; font-weight: 700; color: var(--ops-text); text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ops-file-name:hover { color: var(--ops-blue); text-decoration: underline; }
.ops-file-meta { font-size: 11.5px; color: var(--ops-text-faint); }

/* Upload drop area (Customer module) */
.ops-upload { width: 100%; border: 1.5px dashed #c7d0d7; background: #f7f9fb; border-radius: 10px; padding: 32px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ops-upload.invalid { border-color: #dc3912; }
.ops-upload:hover { background: #eef2f5; }
.ops-upload .ring { width: 46px; height: 46px; border-radius: 50%; background: #eef7fb; color: var(--ops-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.ops-upload .up-title { font-size: 13.5px; font-weight: 700; color: var(--ops-blue); }
.ops-upload .up-sub { font-size: 11.5px; color: var(--ops-text-faint); }
.ops-file-ready { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #cfe8d8; background: #eef8f0; border-radius: 10px; }
.ops-file-ready .thumb { width: 38px; height: 38px; border-radius: 8px; background: #fff; color: #c0392b; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.ops-file-ready .name { font-size: 13.5px; font-weight: 700; color: #0f6b48; }
.ops-file-ready .meta { font-size: 11.5px; color: #16875b; }

/* ==========================================================================
   Empty states
   ========================================================================== */

/* Dashed-border placeholder card (used inside review/PSV columns) */
.ops-empty { padding: 18px; text-align: center; color: var(--ops-text-faint); font-size: 12.5px; border: 1px dashed var(--ops-border); border-radius: 9px; }
.ops-empty i { display: block; font-size: 18px; margin-bottom: 7px; opacity: .7; }
.ops-section .ops-empty { padding: 12px; font-size: 12px; }

/* Plain centered message (used inside list/table cards) */
.ops-list-empty { padding: 44px 24px; text-align: center; color: var(--ops-text-faint); font-size: 13.5px; }

/* ==========================================================================
   Alert
   ========================================================================== */

.ops-alert { display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px; border-radius: var(--ops-radius-sm); font-size: 13px; font-weight: 600; line-height: 1.45; border: 1px solid transparent; }
.ops-alert i { font-size: 15px; margin-top: 1px; flex-shrink: 0; }
.ops-alert--error { background: var(--ops-red-bg); border-color: var(--ops-red-br); color: var(--ops-red-fg); }

/* ==========================================================================
   Section subhead
   ========================================================================== */

.ops-subhead { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ops-text-muted); margin: 0 0 10px; }
.ops-subhead::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--ops-border-hair); }
.ops-section + .ops-section { margin-top: 20px; }

/* ==========================================================================
   Divider / utility
   ========================================================================== */

.ops-stack { display: flex; flex-direction: column; gap: 12px; }
.ops-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ops-mt-0 { margin-top: 0; }
.ops-mb-0 { margin-bottom: 0; }
.ops-grow { flex: 1 1 auto; }

/* ==========================================================================
   Action dropdown (work-queue table row actions)
   ========================================================================== */

.work-queue-items-action.ops-action-toggle,
.ops-action-toggle {
  display: inline-flex; align-items: center; gap: 8px; background: #0065a4; color: #fff; border: 1px solid #0065a4;
  border-radius: 8px; font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 12.5px; font-weight: 700; padding: 7px 13px; white-space: nowrap; transition: background .12s ease, border-color .12s ease;
}
.ops-action-toggle:hover,
.ops-action-toggle:focus { background: #05536f; border-color: #05536f; color: #fff; }

.ops-action-menu { border: 1px solid #d7dde3; border-radius: 10px; box-shadow: var(--ops-shadow-md); padding: 6px; min-width: 178px; }
.ops-action-menu > li { list-style: none; }
.ops-action-menu a {
  display: flex; align-items: center; gap: 9px; padding: 8px 11px; border-radius: 7px;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px; font-weight: 600; color: #2b3742; text-decoration: none; white-space: nowrap;
}
.ops-action-menu a:hover,
.ops-action-menu a:focus { background: #eff7fb; color: #0065a4; text-decoration: none; }
.ops-action-menu a i { font-size: 12px; width: 14px; text-align: center; color: #8a97a1; }
.ops-action-menu a:hover i { color: #0065a4; }

/* ==========================================================================
   Modal overlay (wizard + edit + review)
   ========================================================================== */

.ops-overlay { position: fixed; inset: 0; background: rgba(0,64,86,.55); z-index: 1050; display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; animation: opsFade .16s ease; overflow-y: auto; }
.ops-modal { width: 100%; background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,32,44,.4); display: flex; flex-direction: column; overflow: hidden; animation: opsPop .2s ease; }
.ops-modal.wizard { max-width: 720px; }
.ops-modal.edit { max-width: 620px; }
.ops-modal-head { padding: 18px 24px; border-bottom: 1px solid #e6eaee; display: flex; align-items: center; gap: 12px; }
.ops-modal-head h2 { margin: 0; font-size: 18px; font-weight: 800; color: var(--ops-navy); flex: 1; }
.ops-modal-head .icon { width: 36px; height: 36px; border-radius: 9px; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; }
.ops-modal-close { width: 34px; height: 34px; border: none; background: transparent; border-radius: 8px; cursor: pointer; color: #6c7680; display: inline-flex; align-items: center; justify-content: center; }
.ops-modal-close:hover { background: #eef2f5; color: var(--ops-text); }
.ops-modal-body { padding: 22px 24px; overflow: auto; flex: 1; }
.ops-modal-foot { border-top: 1px solid #e6eaee; padding: 14px 24px; display: flex; align-items: center; gap: 10px; }

/* ---- Wizard stepper ------------------------------------------------------- */
.ops-steps { display: flex; align-items: center; gap: 6px; padding: 16px 24px; border-bottom: 1px solid var(--ops-border-hair); background: #f7f9fb; }
.ops-step { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.ops-step .circle { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; background: #eef2f5; color: #9aa7b1; }
.ops-step.done .circle { background: #16875b; color: #fff; }
.ops-step.current .circle { background: var(--ops-blue); color: #fff; }
.ops-step .step-label { font-size: 12.5px; font-weight: 600; color: #9aa7b1; white-space: nowrap; }
.ops-step.done .step-label { color: #16875b; }
.ops-step.current .step-label { color: var(--ops-navy); font-weight: 800; }
.ops-step .bar { flex: 1; height: 2px; background: #e6eaee; min-width: 8px; }
.ops-step:last-child .bar { display: none; }

/* ---- Form grid layout ------------------------------------------------------ */
.ops-form-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px 16px; }
.ops-form-grid.two { grid-template-columns: 1fr 1fr; }

/* PSA edit modal: live resulting-status preview */
.ops-status-preview { background: #f7f9fa; border: 1px solid var(--ops-border); border-radius: 10px; padding: 6px 6px; }
.ops-status-preview .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 0; margin-bottom: 8px; }
.ops-status-preview .label { font-size: 11.5px; font-weight: 700; color: var(--ops-text-muted); text-transform: uppercase; letter-spacing: .04em; padding-left: 13px; }
.ops-status-preview .ops-status { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 999px; white-space: nowrap; }
.ops-status-preview .asof { font-size: 12px; color: var(--ops-text-faint); }
.ops-status-preview .desc { font-size: 12.5px; color: var(--ops-text); line-height: 1.5; }

/* ---- Toast ---------------------------------------------------------------- */
.ops-toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1060; background: var(--ops-navy); color: #fff; padding: 12px 20px; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,32,44,.35); font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 10px; animation: opsToast .2s ease; }
.ops-toast i { color: #5fd08a; }

@keyframes opsFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes opsPop { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes opsToast { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ==========================================================================
   Data Modification Request review grid
   ========================================================================== */

/* Four columns: details rail | Original Data | Requested Modification | PSV.
   The two data columns get the most room since they hold the record fields;
   the rail and PSV are secondary. Columns stretch to equal height. */
.ops-layout {
  display: grid;
  grid-template-columns:
    minmax(200px, 0.85fr)
    minmax(250px, 1.45fr)
    minmax(250px, 1.45fr)
    minmax(230px, 1.15fr);
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 1400px) {
  .ops-layout { grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.5fr) minmax(0, 1.5fr); }
  .ops-layout > .ops-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .ops-layout { grid-template-columns: minmax(0, 1fr); }
  .ops-layout > .ops-card:last-child { grid-column: auto; }
}

.ops-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

/* ==========================================================================
   Original / Requested comparison rows
   ========================================================================== */

.ops-compare { display: flex; flex-direction: column; }

/* Original Data and Requested Modification are two separate cards iterating
   the same question list, so rows must be the same height in both for the
   comparison to read line-for-line. Both sides render a 38px control, so a
   fixed row height keeps them locked together. */
.ops-compare-row {
  padding: 10px 16px; border-bottom: 1px solid var(--ops-border-hair); min-height: 86px;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
}
.ops-compare-row:last-child { border-bottom: none; }

.ops-compare-label {
  font-size: 11px; font-weight: 700; color: var(--ops-text-muted); text-transform: uppercase; letter-spacing: .04em;
  display: flex; align-items: center; gap: 7px; line-height: 1.35;
}

/* Changed fields: the label is highlighted like a marker pen, so the change
   is obvious without tinting the whole row. */
.ops-mark { color: var(--ops-amber-fg); background: #fdeaae; align-self: flex-start; width: fit-content; padding: 2px 6px; margin: -2px -6px; border-radius: 3px; }

/* Attachments block at the foot of a data column */
.ops-compare-attach { padding: 12px 16px 16px; border-top: 1px solid var(--ops-border-hair); background: var(--ops-sunken); }
.ops-compare-attach .ops-compare-label { margin-bottom: 9px; }
.ops-compare-attach .ops-file { background: #fff; }

/* ==========================================================================
   Question tree
   --------------------------------------------------------------------------
   Original Data renders read-only text from its own template; Requested
   Modification renders the shared <form-field> directive, which emits
   Bootstrap .form-control markup. Both are styled to the same rhythm so the
   two columns read as a pair.
   ========================================================================== */

/* form-field's own header directive, inside the live column */
.ops-scope .threewon-header {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ops-text-muted);
  margin: 0; padding: 8px 16px; background: var(--ops-sunken); border-bottom: 1px solid var(--ops-border-hair);
}

/* Controls emitted by form-field */
.ops-scope .form-control {
  width: 100%; min-height: 38px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius-sm); padding: 6px 12px;
  font-size: 13.5px; font-family: inherit; color: var(--ops-text); background: #fff; outline: none; box-shadow: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.ops-scope .form-control:hover { border-color: #b9c4cd; }
.ops-scope .form-control:focus { border-color: var(--ops-blue); box-shadow: var(--ops-focus); }
.ops-scope select.form-control { height: 38px; cursor: pointer; }
.ops-scope textarea.form-control { min-height: 60px; resize: vertical; }

/* Date questions: templates/date.html wraps the input and a calendar addon in a
   Bootstrap .input-group. .input-group is a flex row that wraps, so the
   width:100% above pushed the addon onto its own line. Restoring Bootstrap's own
   flex basis for a grouped control puts the button back on the right, and the
   two share one border so they read as a single field. */
.ops-scope .input-group { display: flex; flex-wrap: nowrap; align-items: stretch; width: 100%; }
.ops-scope .input-group > .form-control { flex: 1 1 auto; width: 1%; min-width: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.ops-scope .input-group > .input-group-addon,
.ops-scope .input-group > .input-group-append { display: flex; flex: 0 0 auto; align-items: stretch; padding: 0; border: 0; background: none; }
.ops-scope .input-group .input-group-text {
  display: flex; align-items: center; justify-content: center; min-width: 40px; min-height: 38px; margin: 0; padding: 0 10px;
  border: 1px solid var(--ops-border); border-left: 0; border-radius: 0 var(--ops-radius-sm) var(--ops-radius-sm) 0;
  background: var(--ops-sunken); color: var(--ops-blue); font-size: 16px; line-height: 1; cursor: pointer;
}
.ops-scope .input-group .input-group-text:hover { background: #e9eef3; }

/* Radio / checkbox rows emitted by form-field.
   The theme draws the control with .input-helper:before (a 20px circle anchored
   at left:0 of the positioned .form-check) and keeps the native input at
   opacity:0 on top of it as the click target. So the only safe lever for spacing
   is the container's padding-left: widen it and the label text clears the
   circle. Do NOT hide .input-helper and do NOT reposition the input - the first
   removes the visible control, the second breaks the click target. */
.ops-scope .form-check { position: relative; display: block; padding-left: 30px; margin: 0 0 8px; min-height: 22px; }
.ops-scope .form-check:last-child { margin-bottom: 0; }
.ops-scope .form-check-label { display: block; margin: 0; padding-left: 0; font-size: 13px; font-weight: 600; line-height: 1.55; color: var(--ops-text); cursor: pointer; }
.ops-scope .checkbox-grid { list-style: none; margin: 0; padding: 0; }
.ops-scope .checkbox-grid li { display: flex; align-items: center; gap: 7px; font-size: 13px; }

/* Disabled groups, per disableEnableGroup */
.ops-scope .disabledButtons { opacity: .55; pointer-events: none; }

/* ==========================================================================
   Read-only column
   --------------------------------------------------------------------------
   The Original column renders the same form-field controls as the editable one
   so rows line up. dmrReadonlyTree (JS directive, unchanged) disables them;
   this makes that visible.
   ========================================================================== */

.ops-compare--readonly .form-control[disabled],
.ops-compare--readonly .form-control:disabled {
  background-color: var(--ops-sunken); color: var(--ops-text-muted); border-color: var(--ops-border-hair); cursor: default; opacity: 1;
}
.ops-compare--readonly { cursor: default; }

/* Keep the drawn radio / checkbox legible rather than washed out. */
.ops-compare--readonly .form-check-label { color: var(--ops-text-muted); }

.ops-compare--readonly .form-check .form-check-label input[type="radio"]:disabled + .input-helper:before,
.ops-compare--readonly .form-check .form-check-label input[type="checkbox"]:disabled + .input-helper:before {
  border-color: var(--ops-border);
}
.ops-compare--readonly .form-check .form-check-label input[type="radio"]:disabled:checked + .input-helper:before,
.ops-compare--readonly .form-check .form-check-label input[type="checkbox"]:disabled:checked + .input-helper:before {
  background: var(--ops-text-muted); border-width: 0;
}

/* Typeahead / autocomplete dropdowns must never open on the read-only side. */
.ops-compare--readonly .dropdown-menu { display: none !important; }

/* --------------------------------------------------------------------------
   File upload questions (FILE_UPLOAD)
   The shared template draws "Choose a File" as a <label class="btn btn-add">
   around a hidden file input, and delete as a <button class="deleteFileIcon">
   carrying an inline cursor:pointer. Both are inert via dmrReadonlyTree;
   these rules make them read as inert. Attachment links stay live so the
   reviewer can open the record's existing evidence.
   -------------------------------------------------------------------------- */

.ops-compare--readonly label.btn,
.ops-compare--readonly button[disabled] {
  opacity: .5; cursor: default !important; box-shadow: none; pointer-events: none;
}
.ops-compare--readonly .deleteFileIcon,
.ops-compare--readonly .deleteFileIcon .fa-trash,
.ops-compare--readonly .deleteFileIcon .fas { color: var(--ops-text-muted) !important; }
.ops-compare--readonly a[href]:not([href="#"]) { pointer-events: auto; cursor: pointer; }

/* The calendar addon and its .datepicker wrapper (which carries an ng-click)
   must not open a picker over the record's own value. The input beside them is
   already disabled by dmrReadonlyTree. Selectors carry the .ops-scope prefix so
   they outrank the .ops-scope .input-group .input-group-text rules above. */
.ops-scope .ops-compare--readonly .datepicker,
.ops-scope .ops-compare--readonly .input-group-addon,
.ops-scope .ops-compare--readonly .input-group-append,
.ops-scope .ops-compare--readonly .input-group-text { pointer-events: none; cursor: default; }

.ops-scope .ops-compare--readonly .input-group-text { color: var(--ops-text-muted); background: var(--ops-sunken); }
.ops-scope .ops-compare--readonly .input-group-text:hover { background: var(--ops-sunken); }

/* Remove scroll buttons from number input */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}


/* --- Google Places autocomplete dropdown -----------------------------------
   Places appends .pac-container to <body> with z-index 1000, which puts it
   *behind* .ops-overlay (1050). Every address field we autocomplete lives in
   a modal, so without this the suggestions are invisible. */
.pac-container { z-index: 1100 !important; }
.pac-container .pac-item { padding: 6px 12px; font-size: 13px; cursor: pointer; }
.pac-container .pac-item-query { font-size: 13px; }
