.rdcg-overlay[hidden], .rdcg-overlay [hidden] { display: none !important; }
.rdcg-overlay { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(16, 31, 29, .58); overflow-y: auto; overscroll-behavior: contain; }
.rdcg-dialog { position: relative; width: 100%; max-width: 440px; max-height: calc(100dvh - 40px); overflow-y: auto; box-sizing: border-box; padding: 36px 28px 24px; background: #fff; color: #172d29; border-radius: 22px; box-shadow: 0 24px 80px rgba(0, 0, 0, .2); font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-align: left; }
.rdcg-dialog *, .rdcg-dialog *::before, .rdcg-dialog *::after { box-sizing: border-box; }
.rdcg-dialog button, .rdcg-dialog a { font-family: inherit; }
.rdcg-eyebrow { margin: 0 30px 12px 0; font-size: 10px; font-weight: 750; letter-spacing: .12em; color: #58716b; }
.rdcg-dialog #rdcg-title { margin: 0 20px 14px 0; font: 700 26px/1.2 system-ui, sans-serif; color: #172d29; }
.rdcg-dialog #rdcg-description { margin: 0 0 14px; font-size: 15px; }
.rdcg-dialog .rdcg-close { position: absolute; top: 12px; right: 12px; min-width: 36px; min-height: 36px; padding: 0; border: 0; border-radius: 50%; background: #f0f4f2; color: #172d29; font-size: 25px; line-height: 1; cursor: pointer; }
.rdcg-status { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: #f0f6f3; color: #33564c; font-size: 14px; }
.rdcg-status[data-state="error"] { color: #813c21; background: #fff2e9; }
.rdcg-dialog .rdcg-primary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 12px 16px; border: 0; border-radius: 12px; background: #17684d; color: #fff; font-size: 16px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.rdcg-dialog .rdcg-primary[aria-disabled="true"] { background: #e6ede9; color: #6d7e76; cursor: wait; }
.rdcg-dialog .rdcg-primary:not([aria-disabled="true"]):hover { background: #10523b; }
.rdcg-dialog .rdcg-retry { display: block; width: 100%; min-height: 44px; margin-top: 12px; padding: 10px; border: 1px solid #ccd9d2; border-radius: 10px; background: #fff; color: #17684d; font-size: 14px; font-weight: 600; cursor: pointer; }
.rdcg-dialog .rdcg-fallback { display: block; margin: 14px 0 0; color: #33564c; text-align: center; text-decoration: underline; font-size: 14px; }
.rdcg-note { margin: 16px 0; font-size: 12px; color: #60716b; }
.rdcg-dialog .rdcg-cancel { display: block; min-height: 38px; margin: 0 auto; padding: 6px 12px; border: 0; background: transparent; color: #51655d; font-size: 14px; cursor: pointer; }
.rdcg-dialog :focus-visible { outline: 3px solid #e6ad44; outline-offset: 3px; }
@media (max-width: 480px) { .rdcg-overlay { padding: 12px; } .rdcg-dialog { padding: 32px 20px 20px; max-height: calc(100dvh - 24px); } .rdcg-dialog #rdcg-title { font-size: 23px; } }
