.source-code-form {
  padding: 0 1rem .9rem;
}
.source-code-form form {
  display: flex;
  align-items: end;
  gap: .75rem;
}
.source-code-form label {
  flex: 1;
  margin: 0;
}
.source-code-form input {
  text-transform: uppercase;
}
.import-raw {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 12px;
  background: #071f2a;
  color: #eaf8f8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.import-review details {
  margin-bottom: 1rem;
}
.import-review {
  scroll-margin-top: 5rem;
}
.import-review:focus {
  outline: none;
}
.import-errors {
  white-space: pre-line;
}
.import-review .review-attention input,
.import-review .review-attention select,
.import-review .review-attention textarea {
  border-color: #c2410c;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, .16);
}
@media (max-width: 720px) {
  .source-code-form form {
    align-items: stretch;
    flex-direction: column;
  }
}

.orders-list-table .order-created-at {
  min-width: 135px;
  white-space: nowrap;
}
.order-actions-cell {
  min-width: 118px;
}
.order-inline-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.order-inline-actions form {
  margin: 0;
}
.payment-check-dot {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid #cbd2d8;
  border-radius: 999px;
  background: #eef1f3;
  color: #8a949e;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.payment-check-dot.is-checked {
  border-color: #72c7aa;
  background: #dff7eb;
  color: #14804f;
}
.payment-check-dot.is-readonly {
  cursor: default;
  pointer-events: none;
}
.payment-check-dot.is-readonly:not(.is-checked) {
  background: transparent;
  color: #c8ced4;
}
.payment-check-dot:disabled,
.payment-check-dot.is-disabled {
  opacity: .4;
  cursor: not-allowed;
}
.order-note-link {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  min-width: 31px;
  height: 31px;
  justify-content: center;
  border-radius: 9px;
  background: #edf5f5;
  color: #17464a;
  text-decoration: none;
}
.order-note-link span {
  font-size: .7rem;
  font-weight: 800;
}
.central-order-notes {
  margin: 0 0 20px;
  border-left: 5px solid #0f887d;
  background: #f2fbfa;
}
.central-order-notes-title {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 14px;
}
.central-order-notes-title > span {
  font-size: 1.4rem;
}
.central-order-notes-title h2,
.central-order-notes-title p,
.central-order-note-list p {
  margin: 0;
}
.central-order-notes-title p,
.central-order-note-list small {
  color: var(--muted);
}
.central-order-note-list {
  display: grid;
  gap: 10px;
}
.central-order-note-list article {
  padding: 13px 15px;
  border: 1px solid #cfe9e5;
  border-radius: 11px;
  background: #fff;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.central-order-note-list small {
  display: block;
  margin-top: 6px;
  font-size: .75rem;
}
.admin-note-card {
  scroll-margin-top: 90px;
  border-top: 4px solid #0f887d;
}
.admin-note-card textarea {
  resize: vertical;
}
.payment-method-review {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 14px 0 0;
  color: #737d87;
  font-size: .82rem;
  font-weight: 700;
}
.payment-method-review span {
  color: #9ca5ad;
  font-size: 1.1rem;
}
.payment-method-review.is-checked {
  color: #176746;
}
.payment-method-review.is-checked span {
  color: #1a9c64;
}
.payment-review-card {
  border-top: 4px solid #cbd2d8;
}
.payment-review-card.is-checked {
  border-top-color: #1a9c64;
}
.payment-review-card.is-checked .action-icon {
  background: #dff7eb;
  color: #14804f;
}

.dispatch-manual-assignment {
  grid-column: 1 / -1;
  padding: 0 0 .75rem;
}
.dispatch-manual-assignment summary {
  color: #7a5a00;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 750;
}
.dispatch-row .dispatch-manual-form {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.5fr) auto;
  gap: .65rem;
  align-items: center;
  margin-top: .65rem;
  padding: .8rem;
  border: 1px solid #efd694;
  border-radius: 12px;
  background: #fffbef;
}
.dispatch-manual-form > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #765400;
  font-size: .8rem;
}
.dispatch-row .dispatch-manual-form select,
.dispatch-row .dispatch-manual-form button {
  grid-column: auto;
  width: 100%;
}
.manual-confirm {
  display: flex !important;
  gap: .55rem;
  align-items: flex-start;
  color: #574b2a;
  font-size: .8rem !important;
  line-height: 1.35;
}
.manual-confirm input {
  flex: 0 0 auto;
  width: auto !important;
  margin: .15rem 0 0 !important;
}
.manual-assignment-card {
  border-top: 4px solid #d79a00;
  background: #fffbef;
}
.manual-assignment-card .action-icon {
  background: #ffefbc;
  color: #765400;
}

@media (max-width: 900px) {
  .dispatch-row .dispatch-manual-form {
    grid-template-columns: 1fr;
  }
}

.central-region-list,.central-technician-list,.central-trade-list{display:grid;gap:14px}
.central-region-card,.central-technician-card,.central-trade-row{border:1px solid var(--line);border-radius:16px;padding:18px;background:#fff}
.central-region-card.is-inactive,.central-technician-card.is-inactive,.central-trade-row.is-inactive{opacity:.62;background:#f5f6f7}
.central-region-form{display:grid;grid-template-columns:1.1fr .65fr 1.5fr auto auto;gap:12px;align-items:end}
.central-region-meta{display:flex;gap:18px;color:var(--muted);font-size:13px;margin:12px 0}
.central-active-check{display:flex!important;align-items:center;gap:8px;padding-bottom:11px;white-space:nowrap}
.central-active-check input,.central-check-grid input{width:auto!important;margin:0!important}
.central-trade-create{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:12px;align-items:end;margin-bottom:18px}
.central-trade-row{display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(180px,.8fr) auto auto;gap:12px;align-items:center}
.central-trade-row form:first-child{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.central-technician-card header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:15px}
.central-technician-card h3,.central-technician-card p{margin:0}
.central-technician-card form{display:grid;grid-template-columns:1fr 1fr auto;gap:20px;align-items:end}
.central-technician-card fieldset{border:1px solid var(--line);border-radius:12px;padding:12px;min-width:0}
.central-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.central-check-grid label{display:flex;align-items:center;gap:7px;font-size:14px}
.central-warning,.central-ready{padding:7px 11px;border-radius:999px;font-size:12px;font-weight:800}
.central-warning{background:#fff0c2;color:#765400}.central-ready{background:#dff7f3;color:#08796f}
.central-inactive{padding:7px 11px;border-radius:999px;background:#e5e7eb;color:#4b5563;font-size:12px;font-weight:800}
.central-tech-head-actions{display:flex;align-items:center;gap:10px}.central-tech-head-actions form{display:block}.central-tech-head-actions .button{white-space:nowrap}
@media(max-width:1000px){.central-region-form,.central-technician-card form,.central-trade-row{grid-template-columns:1fr}.central-trade-create{grid-template-columns:1fr}.central-check-grid{grid-template-columns:1fr}}
