/* Forest dialog shell. The receipt itself remains isolated for printing and PDF. */
#admin-receipt-dialog { width: min(980px, calc(100vw - 32px)); height: 90dvh; max-height: 90dvh; padding: 0; border: 1px solid var(--forest-border, #dfe9e2); border-radius: 16px; color: var(--forest-ink, #203c30); background: #fff; overflow: hidden; box-shadow: 0 24px 70px #103d2c26; font: inherit; }
#admin-receipt-dialog[open] { display: flex; flex-direction: column; }
#admin-receipt-dialog::backdrop { background: #103d2c66; backdrop-filter: blur(4px); }
.admin-receipt-toolbar { display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--forest-border, #dfe9e2); background: #fff; }
.admin-receipt-toolbar h2 { margin: 0; font-size: 21px; line-height: 1.4; font-weight: 600; color: inherit; }
.admin-receipt-toolbar p { font-size: 13px; line-height: 1.5; margin: 4px 0 0; color: var(--forest-muted, #607468); }
#admin-receipt-dialog button { font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
#admin-receipt-dialog .admin-receipt-dismiss { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; padding: 0; border: 0; border-radius: 9px; color: var(--forest-muted, #607468); background: transparent; }
#admin-receipt-dialog .admin-receipt-dismiss:hover { color: var(--forest-action, #16734b); background: var(--forest-soft, #edf5ef); }
.admin-receipt-footer { display: flex; justify-content: flex-end; flex-wrap: wrap; flex-shrink: 0; gap: 10px; padding: 18px 24px; border-top: 1px solid var(--forest-border, #dfe9e2); background: #fff; }
.admin-receipt-footer button { min-height: 44px; padding: 9px 18px; border: 1px solid var(--forest-border, #dfe9e2); border-radius: 9px; }
.admin-receipt-close { color: var(--forest-ink, #203c30); background: #fff; }
.admin-receipt-close:hover { background: var(--forest-soft, #edf5ef); }
#admin-receipt-dialog .admin-receipt-another { color: #fff; background: var(--forest-action, #16734b); border-color: var(--forest-action, #16734b); font-weight: 600; }
#admin-receipt-dialog .admin-receipt-another:hover { background: #115c3c; }
#admin-receipt-dialog button:focus-visible { outline: 3px solid #3d946a; outline-offset: 3px; }
#admin-receipt-dialog iframe { width: 100%; flex: 1; min-height: 0; border: 0; background: #f4f7f5; }
@media (max-width: 639px) {
    #admin-receipt-dialog { width: calc(100vw - 24px); }
    .admin-receipt-toolbar, .admin-receipt-footer { padding: 16px 18px; }
    .admin-receipt-toolbar h2 { font-size: 19px; }
    .admin-receipt-footer button { flex: 1; padding: 9px 12px; }
}
