/* --- Container --- */
.lttc-ty {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  font-family: system-ui, -apple-system, sans-serif;
  color: #1e293b;
  line-height: 1.5;
}

/* --- Ticket Card --- */
.ty-ticket {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 20px;
  margin-top: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.chip-ok {background:#ecfdf5; border:1px solid #a7f3d0; color:#065f46;}
.chip-ok .dot {width:8px;height:8px;border-radius:50%;background:#10b981;}

.cert-wrap {text-align:right;}
.cert-label {font-size:11px;color:#64748b;margin-bottom:2px;}
.cert-code {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2px;
}
.mini-copy {
  margin-left: 6px;
  font-size: 12px;
  padding: 4px 6px;
  border: 1px solid #111827;
  border-radius: 6px;
  background: #111827;
  cursor: pointer;
}
.mini-copy:hover {background:#f1f5f9;}

/* --- Order Details (your .ticket-body grid) --- */
.ticket-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  row-gap: 10px;
  column-gap: 12px;
  font-size: 14px;
  padding-top: 6px;
  padding-bottom: 12px;
}
.ticket-body .label {
  color: #64748b;
  font-weight: 600;
  text-align: right;
  padding-right: 6px;
  white-space: nowrap;
}
.ticket-body .value {
  font-weight: 600;
  color: #111827;
}
.ticket-body .row {display: contents;}
.ticket-body .row:not(:last-child) .value {
  border-bottom: 1px dashed #e5e7eb;
  padding-bottom: 6px;
  padding: 10px;
}

/* --- Perforation line --- */
.perforation {
  height: 12px;
  margin: 12px 0;
  background: radial-gradient(circle at 12px 6px, transparent 6px, #e5e7eb 6px) left/24px 12px repeat-x;
}
.perforation::before {
  content:'';
  display:block;
  height:1px;
  background:#e5e7eb;
  transform:translateY(6px);
}

/* --- Next steps footer --- */
.ticket-foot {
  padding-top: 10px;
}
.next-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.next-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.next-steps li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 14px;
  color: #334155;
}
.next-steps .ck {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 16px;
}

/* --- Copy all button --- */
.copy-all {
  margin-top: 14px;
}
#ty-copy-all {
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #34314B;
  cursor: pointer;
  margin-bottom: 10px;
}
#ty-copy-all:hover {background:#f1f5f9;}

/* --- Tip card at bottom --- */
.ty-footnote .ty-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: #475569;
}
.ty-footnote strong {color:#0f172a;}

/* --- Responsive --- */
@media (max-width: 640px) {
  .ticket-body {
    grid-template-columns: 1fr;
  }
  .ticket-body .label {
    text-align: left;
    padding-right: 0;
  }
}
