/* Keep customer data selectable on desktop and on touch screens. */
.customer main, .customer .forge-hero-copy, .customer footer,
.customer pre, .customer code, .customer dd, .customer input, .customer textarea {
  -webkit-user-select: text; user-select: text;
}
.copy-button, .forge .copy-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 7px 12px; margin: 4px 0;
  border: 1px solid #9c7c50; border-radius: 4px;
  background: #211911; color: #efd7ae; font: inherit; font-size: 13px;
  line-height: 1.4; cursor: pointer; white-space: nowrap;
  -webkit-user-select: none; user-select: none;
}
.copy-button:hover { background: #38291a; }
.copy-button:focus-visible { outline: 2px solid #e9c889; outline-offset: 3px; }
.copy-button:disabled { opacity: .6; cursor: wait; }
.copy-button[hidden], .forge .copy-button[hidden] { display: none; }
.copy-help { margin: 6px 0 12px; color: #bbaa91; font-size: 13px; }
.delivery-copy-tools { min-width: 0; margin: 14px 0; }
.copy-field-list { display: grid; gap: 8px; }
.copy-field-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; background: #17120e; border: 1px solid #493824; border-radius: 4px; }
.copy-field-row > span { color: #bbaa91; font-size: 13px; }
.copy-field-row code { min-width: 0; color: #efdfc8; overflow-wrap: anywhere; white-space: pre-wrap; font: 14px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.copy-inline { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
.copy-inline > :first-child { min-width: 0; overflow-wrap: anywhere; }
.copy-feedback { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 12px 18px; border: 1px solid #9c7c50; border-radius: 6px; background: #241b12; color: #fff0d7; box-shadow: 0 8px 30px #0008; font-size: 14px; pointer-events: none; }
.copy-feedback[hidden] { display: none; }
.copy-transfer { position: fixed; top: 0; left: -9999px; width: 1px; height: 1px; font-size: 16px; }
.copy-dialog { width: min(560px, calc(100% - 32px)); max-height: 85vh; padding: 24px; border: 1px solid #9c7c50; border-radius: 8px; background: #17120e; color: #efdfc8; }
.copy-dialog::backdrop { background: #000a; }
.copy-dialog textarea { display: block; width: 100%; padding: 12px; font-size: 16px; background: #0a0807; color: #efdfc8; -webkit-user-select: text; user-select: text; }
@media (max-width: 560px) {
  .copy-field-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .copy-field-row code { grid-column: 1 / -1; grid-row: 2; }
  .copy-button, .forge .copy-button { min-height: 44px; }
}
