.order-context { padding: 64px 24px 80px; color: #141925; }
.order-context-inner { max-width: 1232px; margin: auto; }
.order-context-visual {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  border: 1px solid #dce2ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 56px -32px #203d7638;
}
.context-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid #dce2ec;
  font-size: 12px;
  color: #58657b;
}
.context-toolbar .cl-brand { --brand-size: 20px; color: #141925; }
.context-workspace { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); flex: 1; min-height: 0; }
.context-list { min-width: 0; padding: 32px 28px; background: #f5f6f8; border-right: 1px solid #dce2ec; }
.context-list-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.context-list-heading h3 { margin: 0; font-size: 28px; font-weight: 650; letter-spacing: -.04em; }
.context-list-heading > span { font-size: 12px; color: #58657b; }
.context-search { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border: 1px solid #c4cedd; border-radius: 8px; background: white; font-size: 14px; }
.context-search svg { width: 17px; height: 17px; fill: none; stroke: #58657b; stroke-width: 1.7; stroke-linecap: round; }
.context-results { margin-top: 24px; }
.context-results table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.context-results th { padding: 10px 8px; color: #58657b; font-weight: 500; }
.context-results td { padding: 15px 8px; background: #eaf0ff; border-block: 1px solid #d9e5fa; }
.context-results td:first-child { font-weight: 600; }
.context-results > p { margin-top: 16px; color: #58657b; font-size: 12px; }
.context-detail { min-width: 0; padding: 32px 28px; }
.context-customer { display: flex; align-items: center; gap: 12px; }
.context-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: #ecf2ff; color: #174cc4; font-weight: 600; }
.context-customer h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.025em; }
.context-customer p { margin: 4px 0 0; color: #58657b; font-size: 12px; }
.context-paid { display: inline-flex; align-items: center; width: max-content; padding: 4px 8px; border-radius: 20px; color: #126c44; background: #e4f5ed; font-size: 11px; font-weight: 600; white-space: nowrap; }
.context-customer > .context-paid { margin-left: auto; }
.context-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; padding: 18px 0; border-block: 1px solid #e2e7ef; }
.context-summary dt { font-size: 12px; color: #58657b; }
.context-summary dd { margin: 6px 0 0; font-size: 24px; font-weight: 620; letter-spacing: -.025em; }
.context-facts + .context-facts { margin-top: 24px; }
.context-facts h4 { margin: 0 0 14px; font-size: 14px; font-weight: 600; }
.context-facts dl { display: grid; gap: 14px; margin: 0; }
.context-facts dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 12px; }
.context-facts dt { color: #58657b; }
.context-facts dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
.order-context-copy { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; margin-top: 64px; }
.order-context-copy h2 { max-width: 17ch; margin: 0; font-size: clamp(32px,3.7vw,48px); line-height: 1.08; font-weight: 550; letter-spacing: -.04em; text-wrap: balance; }
.order-context-copy p { margin: 0; color: #58657b; font-size: 18px; line-height: 1.65; }
.order-context-copy p + p { margin-top: 24px; }
.context-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width:768px) and (max-width:1023px) {
  .order-context-visual { aspect-ratio: auto; }
  .context-list, .context-detail { padding: 24px 18px; }
  .context-results th, .context-results td { padding-inline: 4px; font-size: 10px; }
  .context-customer { gap: 8px; }
  .context-customer h3 { font-size: 15px; }
  .context-customer .context-paid { font-size: 10px; padding-inline: 6px; }
  .order-context-copy { gap: 24px; }
}
@media (max-width:767px) {
  .order-context { padding: 48px 20px; }
  .order-context-visual { aspect-ratio: auto; }
  .context-toolbar { padding: 14px 16px; }
  .context-workspace { grid-template-columns: minmax(0,1fr); }
  .context-list { padding: 16px; border-right: 0; border-bottom: 1px solid #dce2ec; }
  .context-list-heading { margin-bottom: 12px; }
  .context-list-heading h3 { font-size: 20px; }
  .context-results { display: none; }
  .context-detail { padding: 20px 16px; }
  .context-customer { gap: 8px; }
  .context-customer h3 { font-size: 16px; }
  .context-avatar { width: 32px; height: 32px; border-radius: 9px; }
  .context-summary { margin-block: 20px; padding-block: 16px; }
  .context-summary dd { font-size: 22px; }
  .context-facts + .context-facts { display: none; }
  .order-context-copy { grid-template-columns: minmax(0,1fr); gap: 20px; margin-top: 36px; }
  .order-context-copy h2 { max-width: 19ch; font-size: 32px; }
  .order-context-copy p { font-size: 15px; }
  .order-context-copy p + p { margin-top: 18px; }
}
