.ops-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 76px) max(5%, 20px);
  color: #182024;
}
.ops-intro {
  max-width: 750px;
  margin-bottom: 32px;
}
.ops-intro h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin: 0.18em 0;
}
.ops-intro p,
.ops-form small {
  color: #485660;
  line-height: 1.65;
}
.ops-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.ops-form,
.ops-panel,
.ops-receipt {
  padding: clamp(20px, 4vw, 42px);
  background: #fff;
  border: 1px solid #d3dae0;
  border-radius: 8px;
  box-sizing: border-box;
}
.ops-form fieldset,
.ops-panel fieldset {
  border: 0;
  border-bottom: 1px solid #dbe0e4;
  margin: 0 0 28px;
  padding: 0 0 26px;
  min-width: 0;
}
.ops-form legend,
.ops-panel legend {
  font-size: 1.25rem;
  font-weight: 650;
  padding: 0 0 16px;
  color: #1b252b;
}
.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
}
.ops-wide {
  grid-column: 1/-1;
}
.ops-form label,
.ops-panel label {
  display: grid;
  align-content: start;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #253139;
}
.ops-wrap :where(input, select, textarea) {
  font: inherit;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}
.ops-wrap
  :where(input:not([type="checkbox"], [type="hidden"]), select, textarea) {
  display: block;
  width: 100%;
  border: 1px solid #aebbc4;
  border-radius: 4px;
  color: #13202a;
  background-color: #fff;
  padding: 10px 12px;
  min-height: 44px;
}
.ops-wrap select {
  appearance: auto;
}
.ops-wrap textarea {
  resize: vertical;
}
.ops-wrap input[type="file"] {
  border-style: dashed;
  margin: 7px 0;
}
.ops-wrap input[type="file"]::file-selector-button {
  background: #eef1f2;
  color: #19252c;
  border: 0;
  border-radius: 3px;
  padding: 7px 12px;
}
.ops-wrap .ops-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.55;
  font-weight: 400;
}
.ops-check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.ops-actions,
.ops-tabs,
.ops-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.ops-wrap button,
.ops-wrap .ops-button {
  border: 0;
  border-radius: 4px;
  padding: 12px 18px;
  background: #18384c;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
.ops-wrap button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.ops-wrap :focus-visible {
  outline: 3px solid #2f79a2;
  outline-offset: 3px;
}
.ops-extra summary {
  cursor: pointer;
  padding: 8px 0;
  color: #274c62;
}
.ops-extra[open] summary {
  margin-bottom: 8px;
}
.ops-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ops-context,
.ops-note {
  background: #f0f5f6;
  padding: 12px 16px;
  border-left: 3px solid #607e8d;
}
.ops-receipt strong {
  font-family: ui-monospace, monospace;
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}
.ops-admin {
  max-width: 1320px;
}
.ops-admin h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
}
.ops-panel {
  margin: 20px 0;
}
.ops-panel h2 {
  font-size: 1.4rem;
  margin: 0 0 18px;
}
.ops-table-wrap {
  overflow: auto;
}
.ops-panel table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}
.ops-panel td,
.ops-panel th {
  padding: 10px 8px;
  border-bottom: 1px solid #d4dde2;
  vertical-align: top;
}
.ops-panel td,
.ops-panel dd {
  overflow-wrap: anywhere;
}
.ops-panel dl {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 3fr;
  gap: 8px 16px;
}
.ops-panel dt {
  font-weight: 650;
}
.ops-panel dd {
  white-space: pre-wrap;
  margin: 0;
}
.ops-panel pre {
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 260px;
  overflow: auto;
}
.ops-tools > * {
  flex: 1;
  min-width: 120px;
}
.ops-tabs {
  justify-content: flex-start;
}
.ops-tabs a,
.ops-wrap a {
  color: #22516c;
}
.ops-login {
  max-width: 580px;
}
.ops-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.ops-metrics dl {
  display: block;
  margin: 0;
}
.ops-metrics dt {
  font-weight: 650;
}
.ops-metrics dd {
  margin: 4px 0;
  font-size: 0.95rem;
}
.ops-preview {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #bbc5cb;
}
.ops-money {
  font-size: 1.6rem;
  font-weight: 700;
}
.ops-form [role="status"] {
  margin: 0;
}
.ops-choices {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ops-choices .ops-check {
  display: flex;
  align-items: center;
}
.ops-quotesheet {
  background: #fff;
  color: #18242b;
}
@media (max-width: 650px) {
  .ops-grid {
    grid-template-columns: 1fr;
  }
  .ops-wrap {
    padding: 28px 14px;
  }
  .ops-form,
  .ops-panel,
  .ops-receipt {
    padding: 18px 14px;
  }
  .ops-panel dl {
    grid-template-columns: 1fr;
  }
  .ops-form .ops-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
@media print {
  body:has(.ops-quotesheet) > *:not(main):not(:has(.ops-quotesheet)),
  body:has(.ops-quotesheet) :is(header, footer, nav, .ops-noprint) {
    display: none !important;
  }
  .ops-quotesheet {
    padding: 10mm;
  }
  .ops-quotesheet .ops-panel {
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 8px 0;
  }
}
.ops-line {
  padding: 12px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid #dbe0e4;
}
.ops-line button {
  justify-self: start;
  background: #edf0f2;
  color: #23333e;
}
.ops-wrap #ops-add-line {
  background: #e5edf0;
  color: #223b49;
}
