/* DVC IT Reply Preview — isolated Phase 1 styling. No changes to existing CSS. */
.dvc-it-reply-launch { grid-column:1/-1; margin-top:2px; justify-self:start; }
.dvc-it-reply-backdrop[hidden] { display:none !important; }
.dvc-it-reply-backdrop { position:fixed; inset:0; z-index:100010; display:grid; place-items:center; overflow-y:auto; padding:20px; background:rgba(11,30,65,.64); }
.dvc-it-reply-dialog { width:min(1120px,100%); max-height:min(94vh,1100px); display:flex; flex-direction:column; background:#fff; border-radius:14px; box-shadow:0 24px 80px rgba(0,0,0,.28); overflow:hidden; color:#0b1e41; }
.dvc-it-reply-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; border-bottom:1px solid #e1e5ea; padding:18px 22px; }
.dvc-it-reply-head h2 { font-size:19px; margin:0 0 6px; }
.dvc-it-reply-head p { margin:0; font-size:13px; line-height:1.65; color:#46536b; }
.dvc-it-reply-close { display:grid; place-items:center; width:35px; height:35px; border:1px solid #d8e1e8; background:#fff; border-radius:9px; flex-shrink:0; font-size:19px; cursor:pointer; }
.dvc-it-reply-close:hover { background:#f4f6f8; }
.dvc-it-reply-content { overflow:auto; padding:20px 22px; }
.dvc-it-reply-alert { padding:11px 13px; background:#f0f7fc; border-inline-start:3px solid #1b5fa0; border-radius:6px; font-size:12px; line-height:1.8; margin:0 0 15px; }
.dvc-it-reply-error { background:#fdf2f1; border-color:#c0392b; }
.dvc-it-reply-details { background:#f4f6f8; border:1px solid #e1e5ea; border-radius:9px; padding:12px 14px; margin-bottom:18px; font-size:13px; display:flex; flex-wrap:wrap; gap:10px 24px; }
.dvc-it-reply-details b { color:#0b1e41; }
.dvc-it-reply-columns { display:grid; grid-template-columns:minmax(280px,0.83fr) minmax(0,1.17fr); align-items:start; gap:20px; }
.dvc-it-reply-fields { display:grid; gap:12px; }
.dvc-it-reply-field { display:grid; gap:5px; font-size:13px; font-weight:600; }
.dvc-it-reply-field input, .dvc-it-reply-field textarea, .dvc-it-reply-field select { background:#fff; color:#0b1e41; width:100%; padding:10px 11px; border:1px solid #cfd8e2; border-radius:8px; font:inherit; font-weight:400; outline-offset:2px; }
.dvc-it-reply-field textarea { resize:vertical; min-height:175px; line-height:1.8; }
.dvc-it-reply-field input[readonly] { background:#f4f6f8; color:#46536b; }
.dvc-it-reply-field small { font-weight:400; line-height:1.65; color:#64718a; }
.dvc-it-reply-preview-col h3 { font-size:15px; margin:0 0 10px; }
.dvc-it-reply-iframe { display:block; background:#f3f6f9; border:1px solid #dce3ea; border-radius:9px; width:100%; height:570px; }
.dvc-it-reply-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:14px 22px; border-top:1px solid #e1e5ea; }
.dvc-it-reply-actions .btn { min-height:40px; }
.dvc-it-reply-actions .btn[disabled] { opacity:.55; cursor:not-allowed; }
.dvc-it-reply-actions-note { margin-inline-start:auto; color:#64718a; font-size:12px; }
@media(max-width:790px) { .dvc-it-reply-backdrop{padding:8px;place-items:start center;} .dvc-it-reply-dialog { max-height:97vh; } .dvc-it-reply-columns { grid-template-columns:minmax(0,1fr); } .dvc-it-reply-content{padding:14px;} .dvc-it-reply-head{padding:14px;} .dvc-it-reply-iframe{height:510px;} }
/* The only approved email layout. No user-selectable design variants. */
.dvc-it-reply-classic { display:block; padding:10px 12px; border:1px solid #dce3ea; border-radius:8px; background:#f4f6f8; font-weight:600; color:#28458e; }

/* Two approved account-notification templates; scoped to this modal only. */
.dvc-it-reply-field select.dvc-it-layout-select {background:#fff; font-weight:600;}
.dvc-it-template-fields {display:grid;gap:12px;}
.dvc-it-template-fields[hidden], .dvc-it-reply-classic-fields[hidden] {display:none!important;}
.dvc-it-template-fields input[type="password"] {font-family:Arial,sans-serif;}
.dvc-it-reply-field .dvc-it-sensitive-hint {color:#9b3a32;}
.dvc-it-template-fields .dvc-it-reply-field input:invalid {border-color:#c0392b;}
