.purchase-mode-dialog { box-sizing: border-box; width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid #dbe2ea; border-radius: 14px; padding: 24px; color: #243247; background: white; }
.purchase-mode-dialog::backdrop { background: #15243a99; }
.purchase-mode-dialog h2 { margin: 0 0 12px; }
.purchase-mode-field { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.purchase-mode-field span { color: #58677c; line-height: 1.6; overflow-wrap: anywhere; }
.purchase-mode-field select { box-sizing: border-box; width: 100%; height: 48px; min-height: 48px; appearance: none; -webkit-appearance: none; padding: 10px 30px 10px 10px; border: 1px solid #aab7c7; border-radius: 6px; background: linear-gradient(45deg, transparent 50%, #58677c 50%) calc(100% - 16px) 50% / 5px 5px no-repeat, linear-gradient(135deg, #58677c 50%, transparent 50%) calc(100% - 11px) 50% / 5px 5px no-repeat, white; font: inherit; }
.purchase-mode-preview { padding: 14px; background: #f2f6fa; border-radius: 8px; overflow-wrap: anywhere; }
.purchase-mode-preview ul { padding-left: 20px; line-height: 1.8; }
.purchase-mode-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.purchase-mode-actions button { min-height: 44px; padding: 10px 14px; border: 1px solid #ccd7e4; border-radius: 6px; font: inherit; cursor: pointer; }
.purchase-mode-actions [data-mode-confirm] { background: #215ad4; color: white; }
.purchase-mode-actions button:disabled { opacity: .5; cursor: default; }
.purchase-mode-error { color: #a02525; overflow-wrap: anywhere; }
@media (max-width: 480px) { .purchase-mode-dialog { padding: 16px; } .purchase-mode-actions button { flex: 1 1 100%; } }
