.purchases { max-width: 900px; overflow-wrap: anywhere; }
.purchases [hidden] { display: none !important; }
#message:not(:empty), #shipping-status, #payment-status { padding: 18px; margin: 20px 0; background: #eef0e5; border-left: 4px solid #234f40; border-radius: 10px; }
#purchase-list { display: grid; gap: 16px; margin: 24px 0; }
#purchase-list button { text-align: left; background: white; color: #203e34; border: 1px solid #6c7b6e; }
#detail { border-top: 2px solid #d8dfd6; margin-top: 32px; padding-top: 16px; }
.purchases address, #terms p { white-space: pre-line; font-style: normal; }
.purchases summary { cursor: pointer; padding: 18px 0; min-height: 56px; }
#books li { margin-bottom: 24px; }
#books button { margin: 8px 8px 0 0; }
#problem-fields { min-width: 0; border: 1px solid #6c7b6e; border-radius: 12px; padding: 20px; }
#problem-fields legend { font-weight: 700; padding: 0 8px; }
#problem-fields label { display: flex; align-items: flex-start; gap: 12px; min-height: 56px; margin: 16px 0; }
#problem-fields input { width: 28px; min-width: 28px; height: 28px; min-height: 28px; margin: 4px 0 0; }
#photo-panel { margin: 20px 0; }
#photo { max-width: 100%; max-height: 650px; object-fit: contain; }
@media(max-width: 520px) { #problem-fields { padding: 12px; } }
