.tcm-root { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; }
.tcm-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(20, 28, 40, .5); cursor: default; }
.tcm-dialog { position: relative; display: flex; flex-direction: column; width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 20px 64px rgba(0, 0, 0, .3); }
.tcm-header, .tcm-footer { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 14px 18px; background: #fff; }
.tcm-header { justify-content: space-between; border-bottom: 1px solid #e5e8ed; }
.tcm-heading { min-width: 0; }
.tcm-heading h4 { margin: 0; }
.tcm-heading small { display: block; margin-top: 3px; color: #667085; }
.tcm-body { min-height: 0; padding: 18px; overflow: auto; }
.tcm-footer { justify-content: flex-end; border-top: 1px solid #e5e8ed; flex-wrap: wrap; }
.tcm-footer.d-none { display: none !important; }
.tcm-root.is-busy .tcm-body { pointer-events: none; opacity: .68; }
.tcm-root.is-busy .tcm-backdrop { pointer-events: none; }
@media (max-width: 700px) { .tcm-root { padding: 8px; }.tcm-dialog { width: 100%; max-height: calc(100vh - 16px); }.tcm-header,.tcm-body,.tcm-footer { padding-left: 12px; padding-right: 12px; } }
