.g518SendDialog{width:min(920px,94vw);max-height:92vh;border:1px solid #dce2ec;border-radius:16px;padding:24px;overflow:auto;}
.g518SendDialog::backdrop{background:#0007}.g518SendDialog h2{margin-top:0}.g518SendDialog iframe{display:block;width:100%;height:42vh;border:1px solid #dce2ec;border-radius:10px;background:white;margin:12px 0;}
.g518Receipt{font-size:11px;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}
.g518Meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.g518Meta>div,.g518Subject,.g518Files{padding:10px 12px;border:1px solid #dce2ec;border-radius:10px;background:#fbfcfe}.g518Meta span,.g518Subject>span,.g518FilesHead{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:850;margin-bottom:4px}.g518Meta b{display:block;overflow-wrap:anywhere}
.g518Files{margin-top:10px}.g518FilesList{display:grid;gap:6px}.g518File{display:flex;justify-content:space-between;gap:12px;align-items:center;width:100%;border:1px solid #dce2ec;border-radius:8px;background:white;padding:9px 10px;text-align:left;color:inherit;cursor:pointer}.g518File:hover{background:#f3f7fd}.g518File span{font-weight:650;overflow-wrap:anywhere}.g518File small{white-space:nowrap;color:var(--muted)}
.g518Footer{position:sticky;bottom:-24px;z-index:20;margin:16px -24px -24px;padding:12px 24px 16px;background:rgba(255,255,255,.98);border-top:1px solid #dce2ec;box-shadow:0 -8px 18px rgba(30,45,65,.08);backdrop-filter:blur(8px)}.g518Ack{margin:0 0 9px;padding:0;border:0}.g518DialogStatus{font-weight:700}.g518HistoryRow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #dce2ec}
#g518ManualOptions{position:relative;font-size:14px}#g518ManualOptions summary{cursor:pointer;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:white;font-weight:650}#g518ManualOptions[open]>.inlineActions{position:absolute;right:0;top:45px;width:min(500px,80vw);padding:12px;z-index:25;background:white;border:1px solid #dde3ed;border-radius:12px;box-shadow:0 8px 22px #0002}
#generate [data-g518-duplicate="true"]{display:none!important}
.g517FixedFrom{width:100%;box-sizing:border-box;border:1px solid #d8dfe9;border-radius:8px;padding:8px 9px;background:#f3f5f8;color:#4b5968;font-weight:650}
@media(max-width:650px){.g518Meta{grid-template-columns:1fr}.g518Footer{bottom:-14px;margin:14px -14px -14px;padding:11px 14px 14px}.g518HistoryRow{align-items:flex-start;flex-direction:column}}

/* v5.19.3 — send status belongs to the sticky action footer. */
.g518DialogStatus{margin:0 0 10px;padding:10px 12px;border-radius:10px;border:1px solid #dce2ec;font-weight:750;line-height:1.35;background:#f7f9fc;color:#344054;}
.g518DialogStatus.success{background:#ecfdf3;border-color:#a6e4bd;color:#17663a;}
.g518DialogStatus.error{background:#fff1f0;border-color:#f3b7b0;color:#9b3126;}
.g518DialogStatus.pending{background:#fff8e7;border-color:#ecd59a;color:#7a5a11;}
.g518DialogStatus.neutral{background:#f7f9fc;border-color:#dce2ec;color:#344054;}

/* v5.19.4 — deliberate resend is separated from the normal close action. */
.g518AlreadySentDialog{width:min(560px,92vw);border:1px solid #dce2ec;border-radius:16px;padding:24px;}
.g518AlreadySentDialog::backdrop{background:#0007;}
.g518AlreadySentDialog h2{margin:0 0 10px;}
.g518AlreadySentDialog p{line-height:1.5;color:#475467;}
.g518AlreadySentMeta{font-size:12px;color:#667085;padding:10px 12px;background:#f7f9fc;border:1px solid #e3e8ef;border-radius:9px;margin:12px 0 18px;}
.g518AlreadySentActions{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;border-top:1px solid #e3e8ef;padding-top:16px;}
.g518ResendZone{padding-right:18px;border-right:1px solid #e3e8ef;}
.g518ResendButton{background:#fff8e7!important;border-color:#d9b86d!important;color:#6f5010!important;}
.g518ResendButton:hover{background:#fff1c9!important;}
@media(max-width:600px){.g518AlreadySentActions{align-items:stretch;flex-direction:column-reverse}.g518ResendZone{border-right:0;border-top:1px solid #e3e8ef;padding:14px 0 0}}

.g559156ScheduleControls{display:grid;gap:6px;margin:12px 0;font-weight:700}.g559156ScheduleControls[hidden]{display:none}.g559156ScheduleControls small{font-weight:400;color:var(--muted,#667085);line-height:1.4}.g559156ScheduleControls .control{max-width:360px}
