.ops-page {
  --ops-ink: var(--ink, #102936);
  --ops-muted: var(--muted, #536770);
  --ops-border: var(--line, #dce6e8);
  --ops-teal: var(--teal, #126b63);
  --ops-tint: #edf7f5;
  --ops-panel: #f5f8f9;
  color: var(--ops-ink);
}
.ops-page h1, .ops-page h2, .ops-page h3, .ops-page p { margin: 0; }
.ops-page h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.06; letter-spacing: -.045em; }
.ops-page h2 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; }
.ops-page h3 { font-size: 1.02rem; }
.ops-page a { color: var(--ops-teal); }
.ops-page .ops-breadcrumb { display: flex; gap: .55rem; margin-bottom: 1.2rem; color: var(--ops-muted); font-size: .875rem; }
.ops-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; }
.ops-heading p, .ops-copy { color: var(--ops-muted); line-height: 1.55; }
.ops-heading p { margin-top: .5rem; }
.ops-page .ops-auth-footer { margin-top: 1.1rem; font-size: .9rem; color: var(--ops-muted); }
.ops-legal { white-space: pre-wrap; overflow-wrap: anywhere; }
.ops-narrow { width: min(100%, 490px); margin: 1rem auto 3rem; }
.ops-medium { width: min(100%, 820px); margin: 1rem auto 3rem; }
.ops-panel { min-width: 0; border: 1px solid var(--ops-border); background: white; padding: 1.25rem; border-radius: 14px; }
.ops-panel-soft { background: var(--ops-panel); }
.ops-stack { display: grid; align-content: start; gap: 1rem; }
.ops-grid, .ops-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.ops-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ops-grid > *, .ops-cards > * { min-width: 0; }
.ops-span { grid-column: 1 / -1; }
.ops-form { display: grid; gap: 1rem; }
.ops-form fieldset { border: 0; min-width: 0; padding: 0; margin: 0; }
.ops-form legend { margin-bottom: .8rem; padding: 0; font-weight: 700; }
.ops-field { display: grid; align-content: start; gap: .4rem; font-size: .9rem; min-width: 0; }
.ops-field > span { font-weight: 650; }
.ops-field small { color: var(--ops-muted); line-height: 1.4; }
.ops-field input, .ops-field select, .ops-field textarea {
  min-width: 0;
  width: 100%;
  min-height: 45px;
  border-radius: 8px;
  border: 1px solid #cbdadd;
  padding: .62rem .75rem;
  background: white;
  color: var(--ops-ink);
  font: inherit;
}
.ops-field textarea { resize: vertical; }
.ops-field input:focus, .ops-field select:focus, .ops-field textarea:focus { outline: 2px solid #398e85; outline-offset: 1px; }
.ops-check { display: flex; gap: .6rem; align-items: center; font-size: .9rem; min-height: 40px; }
.ops-check input { width: 1.1rem; height: 1.1rem; accent-color: var(--ops-teal); }
.ops-row { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.ops-between { justify-content: space-between; }
.ops-inline { display: inline-flex; }
.ops-page .ops-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid #112f3e;
  background: #112f3e;
  color: #fff;
  border-radius: 8px;
  padding: .62rem .95rem;
  font: inherit;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.ops-page .ops-button:hover { background: #234a5a; }
.ops-page .ops-button-outline { background: white; color: var(--ops-ink); border-color: #cbdadd; }
.ops-page .ops-button-outline:hover { background: var(--ops-tint); }
.ops-page .ops-button-danger { background: white; color: #a03d37; border-color: #e1c1bd; }
.ops-page .ops-button-danger:hover { background: #fff3f1; }
.ops-page .ops-button:disabled { opacity: .5; cursor: default; }
.ops-note { border-radius: 9px; padding: .8rem .95rem; line-height: 1.45; background: var(--ops-tint); color: #194c47; font-size: .9rem; overflow-wrap: anywhere; }
.ops-note-warning { background: #fbf3e3; color: #674812; }
.ops-note-error { background: #fcf0ee; color: #832f2c; }
.ops-status {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  border-radius: 999px;
  padding: .27rem .58rem;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.25;
  background: #edf1f3;
  color: #3d5864;
}
.ops-status-good { color: #14584b; background: #dff1ea; }
.ops-status-warn { color: #795515; background: #fbefda; }
.ops-status-bad { color: #8e3432; background: #fbeae8; }
.ops-tabs { display: flex; gap: .25rem; flex-wrap: wrap; border-bottom: 1px solid var(--ops-border); margin-bottom: 1.25rem; }
.ops-page .ops-tab { padding: .65rem .8rem; min-height: 43px; text-decoration: none; border-radius: 8px 8px 0 0; font-size: .9rem; color: var(--ops-muted); font-weight: 650; }
.ops-page .ops-tab[aria-current=page] { background: var(--ops-tint); color: var(--ops-teal); box-shadow: inset 0 -2px var(--ops-teal); }
.ops-empty { padding: 2rem 1rem; text-align: center; background: var(--ops-panel); border: 1px dashed #c5d8dc; border-radius: 12px; display: grid; gap: .6rem; justify-items: center; }
.ops-empty p { color: var(--ops-muted); }
.ops-details { border: 1px solid var(--ops-border); background: white; border-radius: 12px; }
.ops-details > summary { cursor: pointer; display: block; padding: 1rem; list-style: none; }
.ops-details > summary::-webkit-details-marker { display: none; }
.ops-details > summary::after { content: "+"; float: right; color: var(--ops-teal); font-size: 1.12rem; font-weight: 650; margin-left: .5rem; }
.ops-details[open] > summary::after { content: "−"; }
.ops-details > summary strong { overflow-wrap: anywhere; }
.ops-details > summary .ops-status { margin-left: .5rem; }
.ops-details > .ops-stack { padding: 0 1rem 1rem; }
.ops-dl { display: grid; gap: .65rem; margin: 0; }
.ops-dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: .6rem; align-items: start; font-size: .9rem; }
.ops-dl dt { color: var(--ops-muted); }
.ops-dl dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.ops-totals > div { grid-template-columns: minmax(0, 1fr) auto; }
.ops-totals > div:last-child { padding-top: .7rem; border-top: 1px solid var(--ops-border); font-weight: 750; font-size: 1.1rem; }
.ops-totals > div:last-child dt { color: var(--ops-ink); }
.ops-label-art { display: grid; min-height: 94px; align-content: center; gap: .45rem; border: 1px solid #d5e4e6; border-radius: 9px; padding: .9rem; background: linear-gradient(135deg, #fff 63%, #deeeec 63%, #deeeec 78%, #c7e1dd 78%); overflow-wrap: anywhere; }
.ops-label-art strong { font-size: 1.15rem; }
.ops-label-art small { color: var(--ops-muted); }
.ops-drop { background: #f7fbfb; border: 1px dashed #9ebec3; padding: 1.2rem; border-radius: 12px; }
.ops-drop.is-over { background: #dcf0eb; border-color: var(--ops-teal); }
.ops-drop-preview { display: grid; min-height: 160px; align-content: center; justify-items: center; gap: .5rem; text-align: center; }
.ops-drop-preview svg { color: var(--ops-teal); }
.ops-cart-line { padding: .8rem 0; border-bottom: 1px solid var(--ops-border); }
.ops-cart-line:first-child { padding-top: 0; }
.ops-cart-line:last-child { padding-bottom: 0; border-bottom: 0; }
.ops-cart-line > div:first-child { min-width: 0; flex: 1 1 12rem; }
.ops-cart-line .ops-field { width: 78px; }
.ops-cart-line .ops-cart-label { width: auto; flex: 1 1 12rem; }
.ops-cart-line p { font-size: .875rem; margin-top: .25rem; }
.ops-compact { font-size: .875rem; }
.ops-file-name { overflow-wrap: anywhere; }
.ops-admin-count { color: var(--ops-muted); font-size: .875rem; }
.ops-page [data-ops-invoice-receipt] { margin-bottom: 1rem; }
.ops-source-row > summary { display: flex; align-items: center; gap: .65rem; }
.ops-source-row > summary::after { margin-left: auto; flex-shrink: 0; }
.ops-source-summary { display: grid; gap: .2rem; flex: 1; min-width: 0; }
.ops-source-summary > .ops-copy { font-size: .8rem; }
.ops-source-row > summary .ops-status { margin-left: 0; flex-shrink: 0; }
@media (max-width: 760px) {
  .ops-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ops-grid, .ops-cards { grid-template-columns: minmax(0, 1fr); }
  .ops-heading { align-items: flex-start; flex-direction: column; }
  .ops-panel { padding: 1rem; }
  .ops-page .ops-tab { padding-inline: .55rem; }
  .ops-order-date { display: block; margin-top: .35rem; }
}
