/* J2DC V7 — Auto-Messages dashboard */
.portal-main .paper.jdc-auto-paper{max-width:1160px}
.jdc-auto-tip{margin:18px 0 24px;border-left:4px solid #b90016;background:#fff3ef;border-radius:8px;padding:13px 16px;font-size:13px;line-height:1.55}
.jdc-auto-form{margin:16px 0 22px}.jdc-auto-formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 18px}
.jdc-auto-formgrid>div{min-width:0}.jdc-auto-formgrid .jdc-auto-wide{grid-column:1/-1}
.jdc-auto-formgrid .field-label{margin:0 0 5px}.jdc-auto-formgrid textarea{min-height:154px;white-space:pre-wrap}
.jdc-auto-formgrid [data-rule][hidden]{display:none!important}
.jdc-auto-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:17px}
.jdc-auto-actions .btn{padding:13px 17px;text-decoration:none}
.jdc-auto-count{background:#f1e8e6;font-size:13px;padding:4px 9px;border-radius:25px;vertical-align:middle;color:#960015}
.jdc-auto-list{display:grid;gap:12px}.jdc-auto-item{border:1px solid #e5ddda;border-radius:12px;padding:19px;display:flex;gap:14px;justify-content:space-between;background:#fff}
.jdc-auto-itemmain{min-width:0;flex:1}.jdc-auto-item h3{font-size:18px;margin:7px 0}.jdc-auto-meta{font-size:12px;color:#62636d;margin:0!important}
.jdc-auto-item .jdc-auto-next{font-size:12px;color:#64616b;margin:8px 0}.jdc-auto-snippet{font-size:13px;color:#555;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.jdc-auto-error{font-size:12px!important;color:#9e1927!important;font-weight:700}.jdc-auto-pill{display:inline-block;padding:3px 9px;border-radius:20px;background:#f1eceb;color:#423b3b;font-weight:800}
.jdc-auto-pill.active{background:#e4f3e8;color:#246332}.jdc-auto-pill.paused{background:#fff3dd;color:#755120}.jdc-auto-pill.completed{background:#edf1f5;color:#405669}.jdc-auto-pill.needs_review,.jdc-auto-pill.sending{background:#ffe1e4;color:#a10c20}
.jdc-auto-itembuttons{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;align-content:flex-start;max-width:385px}.jdc-auto-itembuttons form{margin:0}.jdc-auto-itembuttons .btn{display:inline-block;padding:9px 11px;font-size:12px;font-weight:800;white-space:nowrap;text-decoration:none}
.jdc-auto-paper table{font-size:12px}.jdc-auto-paper th,.jdc-auto-paper td{white-space:normal;min-width:120px;vertical-align:top}
@media(max-width:730px){.jdc-auto-formgrid{grid-template-columns:1fr}.jdc-auto-item{display:block}.jdc-auto-itembuttons{justify-content:flex-start;max-width:none;margin-top:12px}}
