.crm-capture{width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:16px;box-sizing:border-box;color:#102448}
.crm-capture::backdrop{background:rgba(0,14,40,.66);backdrop-filter:blur(3px)}
.crm-capture .admin-editor{padding:0;max-width:none}
.crm-capture .admin-editor>header{background:#05173e;color:white;padding:22px 24px;border-top:5px solid #f5a000;position:sticky;top:0;z-index:2;margin:0}
.crm-capture .admin-editor>header h2{font-size:1.5rem;color:white;margin:4px 0 0}
.crm-capture .admin-editor>header .eyebrow{color:#f5bf58;font-size:.65rem;letter-spacing:.13em}
.crm-capture .admin-editor>header button{color:white;background:#ffffff18;border:1px solid #ffffff33;font-size:1.5rem;min-width:44px;min-height:44px}
.crm-capture .admin-editor-fields-stack{padding:20px 24px;display:grid;gap:14px;margin:0}
.crm-capture label{font-size:.85rem;font-weight:650;display:grid;gap:6px;min-width:0;color:#183354}
.crm-capture input:not([type=checkbox]),.crm-capture select,.crm-capture textarea{width:100%;box-sizing:border-box;min-height:46px;border:1px solid #c9d3df;border-radius:8px;background:#fff;padding:11px 12px;font:inherit;font-size:16px;color:#102448}
.crm-capture input:focus,.crm-capture select:focus,.crm-capture textarea:focus{outline:3px solid #f5a00066;outline-offset:1px;border-color:#916000}
.crm-capture .crm-intro{margin:0;font-size:.9rem;line-height:1.5;color:#52637b}
.crm-capture .crm-two-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.crm-capture .crm-help{font-size:.75rem;line-height:1.5;color:#52637b;margin:0}
.crm-capture label>small,.crm-capture summary>small{font-weight:400;color:#607086;font-size:.75rem}
.crm-readiness{display:flex;flex-wrap:wrap;gap:6px;font-size:.72rem;line-height:1.4}
.crm-readiness span{padding:5px 8px;border-radius:99px;background:#f1f4f8;color:#52637b}
.crm-readiness .ready{background:#e5f4ed;color:#196441}.crm-readiness .setup{background:#fff1d4;color:#7b5300}
.crm-extra{border:1px solid #dae1e9;border-radius:10px;padding:12px}.crm-extra summary{cursor:pointer;font-size:.86rem;font-weight:650;min-height:24px}.crm-extra-fields{display:grid;gap:12px;padding-top:14px}
.crm-consent{border:1px solid #dae1e9;border-radius:10px;padding:14px;margin:0}.crm-consent legend{font-weight:700;padding:0 5px;font-size:.88rem}.crm-consent p{font-size:.8rem;margin:0 0 10px;color:#52637b}.crm-consent small{font-size:.73rem;color:#52637b;line-height:1.5;display:block;margin-top:8px}
.crm-consent-options{display:flex;gap:10px;flex-wrap:wrap}.crm-capture .crm-consent-options label{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;background:#f2f5f9;border-radius:8px;cursor:pointer}.crm-consent-options input{height:20px;width:20px;accent-color:#082853}
.crm-capture .admin-editor>footer{padding:14px 24px;border-top:1px solid #dce3ec;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;position:sticky;bottom:0;background:#fff;z-index:2;margin:0}.crm-capture footer .button{min-height:44px;font-size:.82rem;white-space:normal}.crm-capture .crm-discard{background:none;border:0;color:#6b7280;text-decoration:underline;min-height:44px;font-size:.75rem;margin-right:auto}
#crm-form-feedback:not(:empty){padding:12px;background:#fff3d8;border:1px solid #e6c16c;border-radius:8px;font-size:.85rem;line-height:1.5}
.crm-delivery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.crm-channel{background:#f1f4f8;border:1px solid #d7e0eb;border-radius:10px;padding:14px;display:grid;gap:8px;align-content:start}.crm-channel>span{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.crm-channel strong{font-size:.9rem;line-height:1.4}.crm-channel small{font-size:.74rem;line-height:1.5;color:#52637b}.crm-channel-accepted{background:#edf8f1;border-color:#b8d8c4}.crm-channel-accepted strong{color:#196441}.crm-channel-failed,.crm-channel-not_configured,.crm-channel-unknown,.crm-channel-processing{background:#fff7e6;border-color:#ead09b}.crm-channel-failed strong,.crm-channel-not_configured strong{color:#805600}
#crm-save-delivery,#crm-detail-delivery{display:grid;gap:12px}.crm-success{display:flex;gap:14px;align-items:flex-start}.crm-success>span{display:grid;place-items:center;min-width:40px;height:40px;border-radius:50%;background:#e6f5eb;color:#196441;font-size:1.5rem}.crm-success h3{margin:0 0 6px;font-size:1.15rem}.crm-success p{margin:3px 0;color:#52637b;font-size:.84rem}.crm-settings-note h3{font-size:1rem;margin:20px 0 8px}.crm-settings-note p{font-size:.85rem;line-height:1.6;color:#52637b}
@media(max-width:560px){.crm-capture{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:12px}.crm-capture .admin-editor>header{padding:16px}.crm-capture .admin-editor-fields-stack{padding:16px;gap:12px}.crm-capture .crm-two-cols{grid-template-columns:1fr;gap:12px}.crm-capture .admin-editor>footer{padding:12px;gap:8px}.crm-capture footer .button-primary{width:100%;order:-1}.crm-delivery-grid{grid-template-columns:1fr}.crm-channel{gap:5px;padding:12px}.crm-capture .crm-consent-options{gap:6px}.crm-capture .crm-consent-options label{padding:0 9px}.crm-capture .admin-editor>header h2{font-size:1.3rem}}
