.vp-workspace .modal .modal-content{border:1px solid #dfe7f2;border-radius:18px;box-shadow:0 30px 100px #11213b30}
.vp-workspace .modal .modal-header{padding:23px 26px;border-bottom:1px solid #eaf0f7;background:#fff;border-radius:18px 18px 0 0;gap:14px}
.vp-workspace .modal .modal-title{font-size:17px;font-weight:700;letter-spacing:-.3px;line-height:1.5}.vp-editor-modal .modal-title{color:#1c2e4b}
.vp-workspace .modal .modal-body{padding:25px 26px}.vp-workspace .modal .modal-footer{padding:16px 26px;background:#f8fafd;border-top:1px solid #e7edf6;border-radius:0 0 18px 18px;gap:8px}
.vp-workspace .modal .btn-close{padding:10px;margin-left:auto;border-radius:9px;opacity:.45;flex-shrink:0}.vp-workspace .modal .btn-close:hover{background-color:#edf2fa;opacity:.8}
.vp-workspace .modal :is(.btn,.tv-btn,.sa-btn){min-height:41px;padding:10px 17px;font-size:12px;border-radius:9px}
.vp-editor-modal .modal-dialog{max-width:740px}.vp-editor-modal .modal-content{max-height:calc(100dvh - 48px)}.vp-editor-modal .modal-body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9d4e5 transparent}
.vp-editor-modal .vp-modal-icon{display:grid;place-items:center;width:48px;height:48px;background:#ecf1ff;border:1px solid #e0e8ff;border-radius:14px;color:#4a6fda;font-size:23px;flex-shrink:0}
.vp-modal-eyebrow{display:block;color:#8494ab;font-size:9px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;margin-bottom:4px}.vp-editor-modal .modal-header p{font-size:11px;line-height:1.7;color:#8796aa;margin:5px 0 0}.vp-editor-modal .modal-header .btn-close{align-self:flex-start}
.vp-modal-section{border:0;padding:0;margin:0 0 26px;min-width:0}.vp-modal-section legend{float:none;width:auto;font-size:12px;font-weight:700;color:#3c526f;display:flex;gap:9px;align-items:center;margin-bottom:5px}.vp-modal-section legend>span{display:grid;place-items:center;width:25px;height:25px;background:#f1f5fc;border:1px solid #e5ebf6;border-radius:7px;font-size:9px;color:#8194b0}.vp-modal-section>p{font-size:11px;color:#90a0b5;margin:0 0 18px 34px;line-height:1.7}.vp-modal-section+.vp-modal-section{border-top:1px solid #edf1f7;padding-top:23px}
.vp-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.vp-modal-grid>div{min-width:0}.vp-modal-full{grid-column:1/-1}.vp-modal-grid label{font-size:11px;font-weight:600;color:#566a85;margin-bottom:7px;display:block}.vp-modal-grid :is(input,select,textarea){font-size:13px;min-height:44px;border:1px solid #dce5f2;border-radius:9px;background:#fdfefe;padding:10px 12px;color:#314561}.vp-modal-grid :is(input,textarea)::placeholder{color:#a1adc0}.vp-modal-grid textarea{resize:vertical;min-height:85px}.vp-modal-grid small{display:block;font-size:10px;color:#96a3b6;line-height:1.7;margin-top:6px}.vp-country-code{max-width:170px;text-transform:uppercase}.vp-modal-optional{color:#9aa8bb;font-weight:400;margin-left:5px;font-size:10px}
.vp-modal-tip{display:flex;gap:12px;align-items:flex-start;padding:15px 17px;border:1px solid #e1eafa;border-radius:11px;background:#f5f8ff}.vp-modal-tip>i{font-size:20px;color:#7892ca}.vp-modal-tip strong{display:block;font-size:11px;color:#5975a3;margin-bottom:4px;font-weight:650}.vp-modal-tip span{display:block;font-size:10px;line-height:1.8;color:#899dbb}.vp-modal-required{margin-right:auto;font-size:10px;color:#96a3b5}
@media(max-width:575px){.vp-workspace .modal-dialog{margin:12px}.vp-workspace .modal .modal-header{padding:20px;gap:10px}.vp-workspace .modal .modal-body{padding:20px}.vp-workspace .modal .modal-footer{padding:14px 20px}.vp-editor-modal .modal-content{max-height:calc(100dvh - 24px)}.vp-modal-grid{grid-template-columns:minmax(0,1fr);gap:15px}.vp-modal-icon{display:none!important}.vp-modal-section>p{margin-left:0}.vp-modal-required{width:100%;margin-bottom:4px}.vp-workspace .modal .modal-title{font-size:16px}.vp-editor-modal .modal-footer>.btn{flex:1}}

/* Editor dialogs: fixed header/actions, one scrollable form body. */
.vp-workspace .vp-editor-modal .modal-dialog{width:calc(100% - 32px);max-width:680px;margin:20px auto;min-height:calc(100% - 40px);height:calc(100% - 40px)}
.vp-workspace .vp-editor-modal .modal-content{max-height:100%;overflow:hidden;min-height:0;border-radius:16px;box-shadow:0 24px 80px #11213b29}
.vp-workspace .vp-editor-modal .modal-header{flex:0 0 auto;padding:18px 22px;gap:12px;align-items:flex-start;border-radius:16px 16px 0 0}
.vp-workspace .vp-editor-modal .modal-header>div{min-width:0;padding-right:5px}.vp-workspace .vp-editor-modal .modal-title{font-size:17px;line-height:1.35;letter-spacing:-.02em}
.vp-editor-modal .modal-header p{font-size:12px;color:#64748b;line-height:1.55;margin-top:6px}.vp-editor-modal .vp-modal-eyebrow{font-size:9px;color:#64748b;margin-bottom:5px}.vp-editor-modal .vp-modal-icon{width:39px;height:39px;border-radius:11px;font-size:19px}
.vp-workspace .vp-editor-modal .modal-body{flex:1 1 auto;min-height:0;padding:21px 22px;overflow-x:hidden;overflow-y:auto;scroll-padding-top:20px}
.vp-workspace .vp-editor-modal .modal-footer{flex:0 0 auto;padding:13px 22px;gap:8px;border-radius:0 0 16px 16px}.vp-workspace .vp-editor-modal .modal-footer .btn{min-height:39px;padding:9px 15px;font-size:12px}
.vp-editor-modal .vp-modal-section{margin-bottom:20px}.vp-editor-modal .vp-modal-section legend{font-size:12px;color:#334155}.vp-editor-modal .vp-modal-section>p{color:#64748b;font-size:11px;line-height:1.6;margin-bottom:14px}.vp-editor-modal .vp-modal-grid{gap:15px 17px}.vp-editor-modal .vp-modal-grid label{font-size:12px;color:#42536e;margin-bottom:6px}.vp-editor-modal .vp-modal-grid :is(input,select,textarea){min-height:41px;padding:9px 11px;background:#fff;color:#17263f;font-size:13px}.vp-editor-modal .vp-modal-grid :is(input,textarea)::placeholder{color:#73839b}.vp-editor-modal .vp-modal-grid small,.vp-editor-modal .vp-modal-optional,.vp-editor-modal .vp-modal-required{color:#64748b}.vp-editor-modal .vp-modal-grid textarea{min-height:80px}.vp-editor-modal .vp-country-code{max-width:135px}
.vp-modal-extras{border:1px solid #e3eaf3;border-radius:10px;margin:0 0 18px;padding:13px 14px}.vp-modal-extras summary{font-size:12px;font-weight:600;color:#334155;cursor:pointer;line-height:1.6}.vp-modal-extras summary>span{float:right;color:#64748b;font-size:10px;font-weight:400}.vp-modal-extras[open] summary{margin-bottom:15px}.vp-modal-extras .vp-modal-section{margin-bottom:0}.vp-modal-extras .vp-modal-section>p{margin-left:0}
.vp-editor-modal .vp-modal-tip{padding:12px 14px;gap:10px;border-radius:9px}.vp-editor-modal .vp-modal-tip strong{font-size:11px;color:#425e8a}.vp-editor-modal .vp-modal-tip span{color:#64748b;font-size:11px;line-height:1.6}.vp-editor-modal .vp-modal-tip>i{font-size:18px;color:#5276bc}
.vp-workspace .vp-compact-modal .modal-dialog{max-width:500px}.vp-modal-summary{background:#f5f7fc;border:1px solid #e3eaf3;border-radius:10px;padding:14px;margin-bottom:20px}.vp-modal-summary strong{display:block;font-size:13px;color:#17263f;overflow-wrap:anywhere}.vp-modal-summary span{display:block;font-size:11px;color:#64748b;margin-top:7px;line-height:1.6}.vp-modal-disclosure{font-size:11px;color:#64748b;line-height:1.7;margin:16px 0 0}
.vp-editor-modal summary:focus-visible,.vp-editor-modal button:focus-visible{outline:3px solid #9db5ff;outline-offset:3px}
@media(max-width:575px){.vp-workspace .vp-editor-modal .modal-dialog{width:calc(100% - 20px);margin:10px auto;min-height:calc(100% - 20px);height:calc(100% - 20px)}.vp-workspace .vp-editor-modal .modal-header{padding:16px}.vp-workspace .vp-editor-modal .modal-body{padding:18px 16px}.vp-workspace .vp-editor-modal .modal-footer{padding:12px 16px}.vp-editor-modal .modal-header p{font-size:11px}.vp-editor-modal .vp-modal-required{font-size:10px}.vp-editor-modal .vp-modal-grid :is(input,select,textarea){font-size:16px}.vp-modal-extras summary>span{float:none;margin-left:8px}}
@media(max-height:550px) and (min-width:576px){.vp-workspace .vp-editor-modal .modal-dialog{margin:10px auto;height:calc(100% - 20px);min-height:calc(100% - 20px)}.vp-editor-modal .modal-header p,.vp-editor-modal .vp-modal-eyebrow{display:none}.vp-workspace .vp-editor-modal .modal-header{padding:13px 20px}}
