.cs-page {
  --cs-bg:var(--color-bg-card,#fff);
  --cs-ink:var(--color-text-primary,#26313f);
  --cs-line:var(--color-border,#e2e5ea);
  --cs-muted:var(--color-text-secondary,#747e8c);
  color:var(--cs-ink);
  max-width:1600px;
  margin:auto;
  padding:28px 10px;
  font-size:13px;
}
.cs-page * {
  box-sizing:border-box;
}
.cs-page h2,.cs-page h3,.cs-page p {
  margin:0;
}
.cs-page h2 {
  font-size:17px;
}
.cs-page h3 {
  font-size:14px;
}
.cs-page button,.cs-page input,.cs-page select,.cs-page textarea {
  font:inherit;
}
.cs-page button,.cs-page .cs-link {
  cursor:pointer;
  border:1px solid var(--cs-line);
  border-radius:6px;
  background:var(--cs-bg);
  color:var(--cs-ink);
  padding:7px 11px;
  white-space:nowrap;
  text-decoration:none;
}
.cs-page button:disabled {
  opacity:.5;
  cursor:wait;
}
.cs-page input,.cs-page textarea,.cs-page select {
  border:1px solid var(--cs-line);
  border-radius:6px;
  background:var(--cs-bg);
  color:var(--cs-ink);
  padding:8px 10px;
  max-width:100%;
}
.cs-page button:focus-visible,.cs-page input:focus-visible,.cs-page textarea:focus-visible,.cs-page select:focus-visible {
  outline:2px solid #3775cc;
  outline-offset:2px;
}
.cs-page .cs-primary {
  background:#d82932;
  color:white;
  border-color:#d82932;
}
.cs-page .cs-text-button {
  border:0;
  padding:0;
  color:#2863ac;
  background:none;
}
.cs-page .cs-muted,.cs-page .cs-help {
  color:var(--cs-muted);
}
.cs-page .cs-workspace {
  border:1px solid var(--cs-line);
  background:var(--cs-bg);
  border-radius:9px;
  overflow:hidden;
}
.cs-page .cs-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--cs-line);
  padding:14px 18px 0;
  gap:14px;
}
.cs-page .cs-tabs {
  display:flex;
  gap:16px;
}
.cs-page .cs-tabs button {
  border:0;
  border-bottom:3px solid transparent;
  border-radius:0;
  padding:10px 0 15px;
}
.cs-page .cs-tabs button[aria-pressed=true] {
  border-bottom-color:#d82932;
  font-weight:700;
}
.cs-page .cs-count {
  margin-left:5px;
  font-size:11px;
  color:var(--cs-muted);
}
.cs-page .cs-filters {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  min-width:0;
}
.cs-page #csSearch {
  width:240px;
}
.cs-page .cs-list-meta,.cs-page .cs-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 18px;
  gap:10px;
}
.cs-page .cs-dates {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
}
.cs-page .cs-dates input {
  padding:5px;
  max-width:145px;
}
.cs-page .cs-scroll {
  overflow-x:auto;
  container-type:inline-size;
}
.cs-page table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
}
.cs-page .cs-table {
  min-width:1050px;
  table-layout:fixed;
}
.cs-page th {
  color:var(--cs-muted);
  font-weight:500;
  font-size:11px;
  white-space:nowrap;
}
.cs-page td,.cs-page th {
  padding:13px 15px;
  border-bottom:1px solid var(--cs-line);
  overflow-wrap:anywhere;
}
.cs-page .cs-sub {
  display:block;
  color:var(--cs-muted);
  font-size:11px;
  line-height:1.6;
  margin-top:4px;
}
.cs-page .cs-preview {
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.7;
}
.cs-page .cs-status {
  display:inline-block;
  padding:4px 7px;
  border-radius:4px;
  background:#fff1db;
  color:#95651c;
  font-size:11px;
  white-space:nowrap;
}
.cs-page .cs-status.done {
  background:#e7f4ec;
  color:#367549;
}
.cs-page .cs-status.unlinked {
  background:#edf0f3;
  color:#6b7480;
}
.cs-page .cs-detail-cell {
  padding:0;
  background:var(--color-gray-100,#f4f6f9);
}
.cs-page .cs-detail {
  position:sticky;
  left:0;
  padding:18px;
  width:100cqw;
  max-width:100cqw;
}
.cs-page .cs-detail-bar {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  flex-wrap:wrap;
}
.cs-page .cs-detail-top {
  display:grid;
  grid-template-columns:265px minmax(0,1fr);
  gap:14px;
}
.cs-page .cs-card {
  border:1px solid var(--cs-line);
  border-radius:7px;
  padding:16px;
  background:var(--cs-bg);
  min-width:0;
}
.cs-page .cs-card-title {
  display:flex;
  justify-content:space-between;
  gap:8px;
  align-items:center;
  margin-bottom:14px;
}
.cs-page dl {
  display:grid;
  grid-template-columns:65px 1fr;
  gap:10px;
  margin:0;
}
.cs-page dt {
  color:var(--cs-muted);
  font-size:11px;
}
.cs-page dd {
  margin:0;
  overflow-wrap:anywhere;
  line-height:1.6;
}
.cs-page .cs-original {
  white-space:pre-wrap;
  line-height:1.8;
  margin-bottom:18px;
}
.cs-page textarea {
  width:100%;
  min-height:90px;
  resize:vertical;
  line-height:1.6;
  margin-top:7px;
}
.cs-page .cs-actions {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin-top:10px;
  flex-wrap:wrap;
}
.cs-page .cs-actions>div {
  display:flex;
  gap:8px;
}
.cs-page .cs-processing {
  font-size:11px;
  color:var(--cs-muted);
  margin-top:12px;
  line-height:1.7;
}
.cs-page .cs-orders {
  margin-top:14px;
}
.cs-page .cs-orders table {
  min-width:820px;
  font-size:12px;
}
.cs-page .cs-orders-scroll {
  overflow:auto;
  max-height:440px;
}
.cs-page .cs-orders thead {
  position:sticky;
  top:0;
  background:var(--color-table-header);
  z-index:1;
}
.cs-page .cs-orders .cs-card-title {
  flex-wrap:wrap;
}
.cs-page .cs-order-warning {
  color:#987124;
}
.cs-page .cs-empty {
  text-align:center;
  padding:30px;
  color:var(--cs-muted);
  line-height:1.8;
}
.cs-page .cs-notice,.cs-page .cs-error {
  border:1px solid #e6c9a2;
  background:var(--color-gray-50,#fff8ec);
  padding:12px;
  border-radius:6px;
  line-height:1.7;
  margin-bottom:14px;
  white-space:pre-wrap;
}
.cs-page .cs-help {
  font-size:12px;
  margin-top:15px;
  line-height:1.7;
}
.cs-page dialog {
  position:fixed;
  inset:0;
  margin:auto;
  background:var(--cs-bg);
  color:var(--cs-ink);
  width:580px;
  max-width:calc(100% - 24px);
  max-height:calc(100vh - 24px);
  max-height:calc(100dvh - 24px);
  overflow:auto;
  overscroll-behavior:contain;
  border:1px solid var(--cs-line);
  border-radius:12px;
  padding:24px;
}
.cs-page dialog::backdrop {
  background:#18223166;
}
.cs-page .cs-dialog-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
}
.cs-page #csCustomerSearchForm {
  display:flex;
  gap:8px;
  margin:16px 0;
}
.cs-page #csCustomerQuery {
  flex:1;
  min-width:0;
}
.cs-page .cs-member {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  padding:14px 0;
  border-bottom:1px solid var(--cs-line);
}
.cs-page .cs-member>div {
  min-width:0;
  overflow-wrap:anywhere;
}
.cs-page .cs-member>button {
  flex-shrink:0;
}
.cs-page #csCustomerNotice,.cs-page #csLinkEffect {
  line-height:1.7;
  color:var(--cs-muted);
}
.cs-page #csCustomerMore {
  margin-top:14px;
}
.cs-page .cs-sr {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
}
.cs-page [hidden] {
  display:none!important;
}
@media(max-width:760px) {
  .cs-page dialog {
    padding:18px;
  }
  .cs-page {
    padding:20px 0;
  }
  .cs-page .cs-toolbar {
    align-items:stretch;
    flex-direction:column;
    gap:12px;
    padding:10px 12px 0;
  }
  .cs-page .cs-filters {
    width:100%;
  }
  .cs-page #csSearch {
    width:100%;
  }
  .cs-page .cs-list-meta {
    align-items:flex-start;
    flex-direction:column;
    padding:10px;
  }
  .cs-page .cs-dates {
    flex-wrap:wrap;
  }
  .cs-page .cs-dates input {
    max-width:133px;
  }
  .cs-page .cs-detail {
    padding:12px;
  }
  .cs-page .cs-detail-top {
    grid-template-columns:1fr;
  }
  .cs-page .cs-card {
    padding:13px;
  }
  .cs-page .cs-detail-bar {
    font-size:11px;
  }
  .cs-page .cs-footer {
    padding:10px;
  }
  .cs-page .cs-orders .cs-card-title {
    align-items:flex-start;
  }
  .cs-page .cs-orders .cs-card-title>div {
    width:100%;
  }
}

.cs-page .cs-combined-shipping {
  margin-top:8px;
  line-height:1.6;
}
.cs-page .cs-combined-shipping strong {
  color:var(--cs-ink);
  font-size:12px;
}
.cs-page .cs-shipping-deduction {
  margin:16px 0;
}
.cs-page .cs-shipping-deduction .cs-combined-shipping {
  display:grid;
  gap:4px;
}
.cs-page .cs-combined-target {
  display:inline-block;
  margin-top:6px;
}
