/* UNITO V104 — scoped announcement dialog and popup administration. */
.unito-popup-v104-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:clamp(12px,3vw,28px);background:rgba(3,22,46,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-sizing:border-box;overflow:auto;overscroll-behavior:contain}
.unito-popup-v104-dialog{position:relative;box-sizing:border-box;width:min(100%,490px);max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain;border-radius:26px;background:#fff;color:#162e4c;text-align:right;box-shadow:0 32px 100px rgba(0,17,48,.37);border:1px solid rgba(221,232,249,.9);font-family:inherit;scrollbar-width:thin;animation:unito-popup-v104-appear .28s cubic-bezier(.2,.85,.3,1) both}
.unito-popup-v104-dialog:focus{outline:none}
.unito-popup-v104-dialog:before{content:"";position:absolute;top:0;right:0;left:0;height:5px;background:linear-gradient(90deg,#4ba8ef,#0c56c9 58%,#09295f)}
.unito-popup-v104-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 27px 13px}
.unito-popup-v104-brand{display:inline-flex;align-items:center;gap:10px;color:#1657ad;font-size:13px;font-weight:800;letter-spacing:0}
.unito-popup-v104-emblem{width:37px;height:37px;border-radius:13px;background:linear-gradient(135deg,#e5f0ff,#f3f8ff);display:grid;place-items:center;color:#0e62c8;flex-shrink:0}
.unito-popup-v104-emblem svg{width:20px;height:20px}
.unito-popup-v104-close{width:37px;height:37px;border:1px solid #e2e9f1;border-radius:12px;background:#f7f9fc;color:#465a74;display:grid;place-items:center;cursor:pointer;transition:background .2s,color .2s,transform .2s;flex-shrink:0}
.unito-popup-v104-close svg{width:17px;height:17px}
.unito-popup-v104-close:hover{background:#eaf2ff;color:#1257b2;transform:translateY(-1px)}
.unito-popup-v104-media{margin:7px 27px 0;overflow:hidden;border-radius:16px;background:#f2f7fe;border:1px solid #edf2f9;display:grid;place-items:center}
.unito-popup-v104-image{display:block;width:100%;max-height:245px;height:auto;object-fit:contain}
.unito-popup-v104-content{padding:10px 27px 4px}
.unito-popup-v104-heading{font-size:clamp(21px,4.8vw,28px);font-weight:850;line-height:1.55;letter-spacing:-.4px;color:#0c2751;margin:2px 0 10px;overflow-wrap:anywhere}
.unito-popup-v104-body{font-size:clamp(14px,3.75vw,16px);line-height:2.05;color:#435775;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 4px}
.unito-popup-v104-footer{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap;padding:19px 27px 28px;margin-top:8px;border-top:1px solid #edf2f8}
.unito-popup-v104-action,.unito-popup-v104-dismiss{box-sizing:border-box;min-height:47px;border-radius:13px;padding:11px 18px;font:inherit;font-size:14px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s}
.unito-popup-v104-action{background:linear-gradient(115deg,#0c56c9,#267ee3);color:#fff!important;border:1px solid #1469d9;box-shadow:0 7px 18px rgba(20,99,209,.2);flex:1 1 150px}
.unito-popup-v104-action svg{width:16px;height:16px;transform:scaleX(-1)}
.unito-popup-v104-dismiss{background:#f2f6fb;color:#2a456b;border:1px solid #e3ebf5;flex:1 1 90px}
.unito-popup-v104-action:hover,.unito-popup-v104-dismiss:hover{transform:translateY(-1px)}
.unito-popup-v104-dismiss:hover{background:#e6effb}
.unito-popup-v104-action:focus-visible,.unito-popup-v104-dismiss:focus-visible,.unito-popup-v104-close:focus-visible{outline:3px solid #82bbff;outline-offset:3px}
@keyframes unito-popup-v104-appear{from{opacity:0;transform:translateY(13px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:520px){.unito-popup-v104-overlay{padding:13px}.unito-popup-v104-dialog{border-radius:22px;max-height:calc(100dvh - 26px)}.unito-popup-v104-top{padding:22px 20px 12px}.unito-popup-v104-media{margin:5px 20px 0}.unito-popup-v104-image{max-height:200px}.unito-popup-v104-content{padding:10px 20px 2px}.unito-popup-v104-footer{padding:16px 20px 21px;flex-direction:column}.unito-popup-v104-action,.unito-popup-v104-dismiss{width:100%;flex:auto}}
@media(prefers-reduced-motion:reduce){.unito-popup-v104-dialog{animation:none}.unito-popup-v104-action,.unito-popup-v104-dismiss,.unito-popup-v104-close{transition:none}}
/* Admin only; inherits the original panel layout and isolates popup form styles. */
#tab-popups .unito-popup-v104-pages{display:grid;gap:10px}
#tab-popups .unito-popup-v104-page-picker{display:flex;align-items:end;flex-wrap:wrap;gap:10px}
#tab-popups .unito-popup-v104-page-picker label{flex:1 1 235px;min-width:180px}
#tab-popups .unito-popup-v104-page-picker button{min-height:43px;white-space:nowrap}
#tab-popups .unito-popup-v104-selected{display:flex;flex-wrap:wrap;gap:8px;min-height:16px}
#tab-popups .unito-popup-v104-page-chip{display:inline-flex;align-items:center;gap:9px;background:#e8f2ff;border:1px solid #bcd7fa;border-radius:999px;color:#0c4c9a;font-size:13px;font-weight:700;padding:7px 10px;max-width:100%}
#tab-popups .unito-popup-v104-page-chip .unito-popup-v104-remove{background:#fff;border:1px solid #b5d2f5;border-radius:50%;width:23px;height:23px;line-height:1;cursor:pointer;font-size:18px;color:#1c5ca1;padding:0;display:grid;place-items:center}
#tab-popups .unito-popup-v104-hint{font-size:12px;color:#526980;line-height:1.8;margin:0}
#tab-popups .unito-popup-admin-form [hidden],#tab-popups .unito-popup-v104-page-picker [hidden]{display:none!important}
