.relay-compose { display: grid; gap: 10px; margin: 24px 0; padding: 20px; background: #f2f7ef; border: 1px solid #dae7d7; border-radius: 14px; }
.relay-compose h3 { margin: 0 0 8px; }
.relay-compose label { font-weight: 650; }
.relay-compose textarea { width: 100%; min-height: 130px; resize: vertical; border: 1px solid #cedbd2; border-radius: 9px; padding: 12px; color: var(--ink); }
.relay-compose .product-description, .relay-compose .product-fine-print { margin: 0; }
.relay-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.relay-actions select { width: auto; max-width: 100%; }
.relay-actions [aria-pressed=true] { background: var(--teal-soft); border-color: var(--teal); color: var(--teal-dark); }
.relay-text { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 45dvh; overflow-y: auto; padding: 14px; border-radius: 10px; background: #f1f6ee; font: inherit; line-height: 1.8; }
.relay-devices { padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.relay-devices summary { cursor: pointer; min-height: 32px; font-weight: 650; }
.relay-preview > button { margin: 8px 8px 0 0; min-height: 44px; }
.relay-detail { width: min(720px, calc(100vw - 24px)); }
@media(max-width:600px) { .relay-compose { padding: 14px; } .relay-actions .button { flex: 1 1 auto; } }
