/* CM Email preview (0.18.3). Live example email with views and Show structure. */
.cmep{margin:var(--cmac-space-6,32px) 0;font-family:'Titillium Web',sans-serif;color:#12202E}
.cmep-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 12px}
.cmep-views{display:inline-flex;gap:2px;padding:3px;border:1px solid #DCE4EC;border-radius:10px;background:#fff}
.cmep-views button,.cmep-toggle{font:600 14px/1 'Titillium Web',sans-serif;color:#1F354D;background:transparent;border:0;border-radius:7px;min-height:36px;padding:0 14px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.cmep-views button:hover,.cmep-toggle:hover{background:#F2F5F8}
.cmep-views button[aria-pressed="true"]{background:#1F354D;color:#fff}
.cmep-views button,.cmep-toggle{white-space:nowrap;width:auto;flex:none}
.cmep-toggle{border:1px solid #DCE4EC;background:#fff;border-radius:10px;min-height:42px}
.cmep-toggle[aria-pressed="true"]{border-color:#185ABC;color:#185ABC;background:#EEF4FD}
.cmep-toggle .cmep-sw{width:30px;height:18px;border-radius:9px;background:#C4CDD6;position:relative;flex:none;transition:background .15s}
.cmep-toggle .cmep-sw::after{content:'';position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .15s}
.cmep-toggle[aria-pressed="true"] .cmep-sw{background:#185ABC}
.cmep-toggle[aria-pressed="true"] .cmep-sw::after{transform:translateX(12px)}
.cmep-views button:focus-visible,.cmep-toggle:focus-visible,.cmep .cmep-sec:focus-visible,.cmep-tip button:focus-visible{outline:2px solid #185ABC;outline-offset:2px}
.cmep-note{margin:0 0 12px;font-size:14px;line-height:1.5;color:#4A5160}
.cmep-note[hidden]{display:none}
.cmep-frame{border-radius:12px;padding:32px 16px 0;display:flex;justify-content:center;overflow:hidden}
.cmep-stage{width:600px;max-width:none;flex:none}
.cmep.is-mobile .cmep-stage{width:375px}
.cmep-mail{background:#fff;font-family:Arial,Helvetica,sans-serif;color:#1B1F2A;line-height:1.5;text-align:left}
.cmep-mail *,.cmep-mail *::before,.cmep-mail *::after{box-sizing:border-box}
.cmep-mail p,.cmep-mail h1,.cmep-mail h2,.cmep-mail h3,.cmep-mail ul,.cmep-mail ol{margin-top:0}
.cmep-mail img{display:block;max-width:100%;height:auto;border:0}
.cmep-mail a{color:inherit}
.cmep-sec{position:relative}
.cmep-cols{display:flex;gap:24px;align-items:flex-start}
.cmep-cols.is-top{align-items:flex-start}
.cmep-col{flex:1 1 0;min-width:0}
/* Spacing as in the editor: elements have inner padding, columns a little room around
   them. The same in every view, so Show structure only adds lines. Columns span the whole
   section; email-preview.js moves the section's side padding into the elements. */
.cmep-cols{gap:0}
.cmep-col{padding:8px 1px}
.cmep-el{padding:12px!important;margin-top:0!important;margin-bottom:0!important}
.cmep-col > .cmep-el + .cmep-el{margin-top:-1px!important}
.cmep-sec.is-flush .cmep-col{padding:0}
.cmep-sec.is-flush .cmep-el{padding:0!important}
.cmep-row > .cmep-el{padding:0!important}
.cmep-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.cmep-ph{display:inline-block;background:#EFEFEF;color:#333;font-family:Arial,Helvetica,sans-serif;font-weight:400;font-size:1em;border:1px solid #C4C4C4;border-radius:3px;padding:0 5px;line-height:1.3;white-space:nowrap}
.cmep-btn{display:inline-block;white-space:nowrap;text-decoration:none}
.cmep-footer{font-family:Arial,Helvetica,sans-serif;font-size:13px;color:#7A8290;text-align:center;line-height:2;padding:20px 0 32px;white-space:nowrap}
.cmep-footer span{text-decoration:underline}
/* Mobile: columns below each other, narrower side padding. */
.cmep.is-mobile .cmep-cols{flex-direction:column;align-items:stretch;gap:16px}
.cmep.is-mobile .cmep-col{flex:none;width:100%!important}
.cmep.is-mobile .cmep-sec{padding-left:24px!important;padding-right:24px!important}
.cmep.is-mobile .cmep-sec.is-flush{padding-left:0!important;padding-right:0!important}
.cmep.is-mobile .cmep-mail h2{font-size:26px!important}
/* Outlook on Windows (approximation). */
.cmep.is-outlook .cmep-mail [style*="border-radius"]:not(.cmep-ph){border-radius:0!important}
.cmep.is-outlook .cmep-mail [style*="outset"],.cmep.is-outlook .cmep-mail [style*="inset"]{border-style:solid!important}
.cmep.is-outlook .cmep-mail [style*="background-image"]{background-image:none!important}
.cmep.is-outlook .cmep-mail{font-family:'Times New Roman',Times,serif}
.cmep.is-outlook .cmep-mail [data-outlook-font]{font-family:Arial,Helvetica,sans-serif}
/* Dark mode (approximation: full colour inversion, photos kept). */
.cmep.is-dark .cmep-stage{filter:invert(1) hue-rotate(180deg)}
.cmep.is-dark .cmep-mail img:not([data-dark="invert"]),.cmep.is-dark .cmep-mail [style*="background-image"]{filter:invert(1) hue-rotate(180deg)}
.cmep.is-dark .cmep-frame{background:#1E1F22!important}
.cmep.is-dark .cmep-tip,.cmep.is-dark .cmep-tt{filter:invert(1) hue-rotate(180deg)}
/* The section lines sit inside the inverted e-mail: invert them back so CM green and the focus blue stay the same. */
.cmep.is-dark.is-blocks .cmep-sec.is-active::before,.cmep.is-dark.is-blocks .cmep-sec.is-active::after,.cmep.is-dark.is-blocks .cmep-sec:focus-visible::before,.cmep.is-dark.is-blocks .cmep-sec:focus-visible::after{filter:invert(1) hue-rotate(180deg)}
/* Show structure: like View components in the editor. Grey canvas outside the 600 px,
   sections as double dashed lines across the whole canvas, columns as dashed boxes
   edge to edge, elements as dashed boxes in the column's width. */
.cmep.is-blocks .cmep-frame:not(.has-body){background:#F3F3F3!important}
.cmep.is-blocks .cmep-sec{cursor:pointer}
.cmep.is-blocks .cmep-sec::before,.cmep.is-blocks .cmep-sec::after{content:'';position:absolute;left:-2000px;right:-2000px;height:4px;border-top:1px dashed #BDBDBD;border-bottom:1px dashed #BDBDBD;pointer-events:none;z-index:2}
.cmep.is-blocks .cmep-sec::before{top:-2px}
.cmep.is-blocks .cmep-footer{position:relative}
.cmep.is-blocks .cmep-footer::before{content:'';position:absolute;left:-2000px;right:-2000px;top:-2px;height:4px;border-top:1px dashed #BDBDBD;border-bottom:1px dashed #BDBDBD;pointer-events:none}
.cmep.is-blocks .cmep-sec::after{bottom:-2px}
.cmep.is-blocks .cmep-sec.is-active::before{border-top:2px solid #9CCC3D;border-bottom-color:transparent;z-index:3}
.cmep.is-blocks .cmep-sec.is-active::after{border-bottom:2px solid #9CCC3D;border-top-color:transparent;z-index:3}
.cmep.is-blocks .cmep-sec:focus-visible{outline:none}
.cmep.is-blocks .cmep-sec:focus-visible::before,.cmep.is-blocks .cmep-sec:focus-visible::after{border-style:solid;border-color:#185ABC;border-width:2px;z-index:3}
/* Like the editor: elements have inner padding, columns a little room around them.
   Negative margins keep the text where it is horizontally. */
.cmep.is-blocks .cmep-col{outline:1px dashed #BDBDBD;outline-offset:-1px}
.cmep.is-blocks .cmep-el{outline:1px dashed #BDBDBD;outline-offset:-1px}
.cmep.is-blocks .cmep-row > .cmep-el{outline:none;position:relative}
.cmep.is-blocks .cmep-row > .cmep-el::after{content:'';position:absolute;inset:-3px;border:1px dashed #BDBDBD;pointer-events:none}
.cmep.is-mobile .cmep-cols{gap:0}
.cmep-frame{position:relative}
.cmep-hov{position:absolute;z-index:4;border:1px solid #3B7DDD;pointer-events:none;box-sizing:border-box}
.cmep-hov[hidden]{display:none}
.cmep-hov.is-sec{border-left:0;border-right:0;z-index:3}
.cmep-hov span{position:absolute;bottom:100%;left:-1px;background:#3B7DDD;color:#fff;font:400 14px/1 Arial,Helvetica,sans-serif;padding:4px 6px;white-space:nowrap}
.cmep-hov span[hidden]{display:none}
.cmep.is-dark .cmep-hov{filter:none}
.cmep-tip{background:#fff;border:2px solid #9CCC3D;border-radius:0 0 10px 10px;padding:16px 20px;font-family:'Titillium Web',sans-serif;color:#12202E;font-size:16px;line-height:1.55;text-align:left;cursor:default}
.cmep-tip-meta{font-size:13px;font-weight:600;color:#1F354D;margin:0 0 6px}
.cmep-tip-body{margin:0 0 12px}
.cmep-tip-nav{display:flex;gap:8px;justify-content:space-between;align-items:center}
.cmep-tip-nav button{font:600 14px/1 'Titillium Web',sans-serif;color:#1F354D;background:#fff;border:1px solid #DCE4EC;border-radius:8px;min-height:36px;padding:0 14px;cursor:pointer}
.cmep-tip-nav button:hover{border-color:#1F354D}
.cmep-tip-nav button[disabled]{opacity:.4;cursor:default}
.cmep-tip-close{margin-left:auto}
.cmep-tt{position:fixed;z-index:100000;pointer-events:none;background:#12202E;color:#fff;font:600 13px/1.4 'Titillium Web',sans-serif;padding:6px 10px;border-radius:6px;max-width:280px}
.cmep-tt[hidden]{display:none}
.cmep-hint{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:10px 14px;border:1px solid #9CCC3D;border-radius:10px;background:#F4FAEA;font:600 15px/1.4 'Titillium Web',sans-serif;color:#1F354D}
.cmep-hint svg{flex:none;width:20px;height:20px;fill:none;stroke:#1F354D;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cmep:not(.is-blocks) .cmep-hint{display:none}
@media (prefers-reduced-motion:reduce){.cmep-toggle .cmep-sw,.cmep-toggle .cmep-sw::after{transition:none}}

/* 0.19.60: same look as the compact guide switcher (Quick guide | Full guide) and the email guide's place
   switch: grey pill, the chosen view white with a soft shadow. "Show structure" is a plain switch, no box. */
html body .cmep-views{gap:0;padding:4px;border:0;border-radius:24px;background:#EEF2F6}
html body .cmep-views button{min-height:40px;padding:0 20px;border-radius:20px;font-size:15px;font-weight:600;color:#526173;background:transparent;box-shadow:none}
html body .cmep-views button:hover{background:transparent;color:#12202E}
html body .cmep-views button[aria-pressed="true"],html body .cmep-views button[aria-pressed="true"]:hover{background:#fff;color:#12202E;font-weight:700;box-shadow:0 1px 4px rgba(18,32,46,.14)}
html body .cmep-toggle,html body .cmep-toggle:hover,html body .cmep-toggle[aria-pressed="true"]{min-height:40px;padding:0 4px;border:0;background:transparent;color:#12202E;font-size:15px}
html body .cmep-toggle .cmep-sw{width:36px;height:20px;border-radius:10px}
html body .cmep-toggle .cmep-sw::after{width:16px;height:16px}
html body .cmep-toggle[aria-pressed="true"] .cmep-sw{background:#9CCC3D}
html body .cmep-toggle[aria-pressed="true"] .cmep-sw::after{transform:translateX(16px)}
