@font-face{font-family:'CompassSans';src:url('fonts/CompassSans-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'CompassSans';src:url('fonts/CompassSans-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'CompassSans';src:url('fonts/CompassSans-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'CompassSerif';src:url('fonts/CompassSerif-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
.pmh-gl-md{font-family:Arial,sans-serif;color:#17202a;background:#f5f6f8;padding:18px;border-radius:12px}.pmh-gl-md button{cursor:pointer}.pmh-gl-md-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px}.pmh-gl-md-top h2{margin:0}.pmh-gl-md-tabs{display:flex;gap:8px;margin-bottom:12px}.pmh-gl-md-tabs button{border:0;background:#ddd;padding:10px 16px;border-radius:8px}.pmh-gl-md-tabs button.active{background:#003b66;color:#fff}.pmh-gl-md .pmh-tab{display:none}.pmh-gl-md .pmh-tab.active{display:block}.pmh-gl-md .pmh-project-bar{display:flex;align-items:end;gap:12px;background:#fff;padding:12px;border-radius:10px;margin-bottom:12px}.pmh-gl-md .pmh-project-bar label{font-weight:700;flex:1}.pmh-gl-md .pmh-project-bar input{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:9px;border:1px solid #ccc;border-radius:6px}.pmh-gl-md .pmh-status{font-weight:700;color:#003b66;min-width:180px}.pmh-gl-md .pmh-builder{display:grid;grid-template-columns:390px minmax(640px,1fr);gap:14px}.pmh-gl-md .pmh-sidebar{background:#fff;border-radius:10px;padding:12px;max-height:82vh;overflow:auto}.pmh-gl-md .pmh-sidebar nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.pmh-gl-md .pmh-sidebar nav button{border:1px solid #ccd;background:#f7f7f7;border-radius:7px;padding:9px}.pmh-gl-md .pmh-sidebar nav button.active{background:#003b66;color:#fff}.pmh-gl-md .pmh-panel{display:none}.pmh-gl-md .pmh-panel.active{display:block}.pmh-gl-md .pmh-help{background:#f4f7fb;border-left:4px solid #003b66;padding:10px;border-radius:6px;font-size:13px}.pmh-gl-md .pmh-field{margin-bottom:12px}.pmh-gl-md .pmh-field label{font-weight:700;display:block;margin-bottom:5px}.pmh-gl-md .pmh-field input,.pmh-gl-md .pmh-field textarea,.pmh-gl-md .pmh-field select{width:100%;box-sizing:border-box;padding:8px;border:1px solid #ccc;border-radius:6px}.pmh-gl-md .pmh-field textarea{min-height:82px}.pmh-gl-md .pmh-range{display:grid;grid-template-columns:1fr 80px;gap:6px}.pmh-gl-md .pmh-range label{grid-column:1 / -1}.pmh-gl-md .pmh-range input[type=range]{padding:0}.pmh-gl-md .pmh-page-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;padding:8px 0;gap:6px}.pmh-gl-md .pmh-page-row button{border:0;background:transparent;text-align:left;flex:1}.pmh-gl-md .pmh-page-row button.active{font-weight:700;color:#003b66}.pmh-gl-md .pmh-dot{width:11px;height:11px;display:inline-block;border-radius:50%;background:#aaa}.pmh-gl-md .pmh-dot.green{background:#28a745}.pmh-gl-md .pmh-dot.yellow{background:#f5b400}.pmh-gl-md .pmh-dot.red{background:#d93025}.pmh-gl-md .pmh-legend{display:flex;gap:8px;align-items:center;font-size:12px}.pmh-gl-md .pmh-preview-nav{display:flex;justify-content:space-between;align-items:center;background:#fff;border-radius:10px;padding:10px;margin-bottom:12px}.pmh-gl-md .pmh-preview-wrap{background:#333;border-radius:10px;padding:28px;overflow:auto;max-height:85vh;display:flex;justify-content:center;align-items:flex-start}.pmh-gl-md #pmh-preview{display:flex;flex-direction:column;gap:18px;align-items:center;transform:scale(var(--preview-scale,1));transform-origin:top center}.pmh-gl-md #pmh-preview:after{content:"";display:block;height:1px}.pmh-gl-md .pmh-page{width:794px;height:1108px;background:#fff;position:relative;overflow:hidden;box-shadow:0 5px 18px rgba(0,0,0,.3);font-family:var(--md-font);color:#111;box-sizing:border-box}.pmh-gl-md .pmh-page h1,.pmh-gl-md .pmh-page h2{font-family:var(--md-heading);color:var(--md-primary)}.pmh-gl-md .pmh-cover{background:var(--cover-bg);background-size:cover;background-position:center;color:#fff;text-align:center}.pmh-gl-md .pmh-cover-shade{position:absolute;inset:0;background:rgba(0,0,0,var(--cover-overlay));z-index:0}.pmh-gl-md .pmh-cover>*:not(.pmh-cover-shade){z-index:1}.pmh-gl-md .pmh-cover .client-logo{position:absolute;transform:translateX(-50%);font-size:34px;letter-spacing:1px;text-align:center}.pmh-gl-md .pmh-cover .client-logo-img{position:absolute;left:50%;transform:translateX(-50%);width:auto;height:auto;object-fit:contain}.pmh-gl-md .pmh-cover .media-pack{position:absolute;left:0;right:0;letter-spacing:5px;font-weight:400}.pmh-gl-md .pmh-cover .gl-logo{position:absolute;left:0;right:0}.pmh-gl-md .pmh-cover .gl-logo-img{height:auto;max-height:80px;object-fit:contain}.pmh-gl-md .pmh-cover .gl-logo-text{font-size:24px;letter-spacing:6px}.pmh-gl-md .pmh-cover .tag{position:absolute;bottom:64px;left:0;right:0;font-size:10px;letter-spacing:3px}.pmh-gl-md .pmh-simple{padding:55px}.pmh-gl-md .pmh-stats h1{font-size:58px;line-height:1.05;margin:0 0 24px}.pmh-gl-md .pmh-stat-grid{display:grid;grid-template-columns:1fr 2fr;gap:25px;border-top:2px solid var(--md-secondary);padding-top:20px}.pmh-gl-md .pmh-stat{margin:8px 0}.pmh-gl-md .pmh-stat b{font-size:34px;color:var(--md-primary);display:block}.pmh-gl-md .pmh-stats-ghost{position:absolute;left:50%;transform:translateX(-50%);background-size:cover;background-position:center bottom;background-repeat:no-repeat;pointer-events:none;z-index:0;-webkit-mask-image:linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,.92) 42%, rgba(0,0,0,.35) 72%, rgba(0,0,0,0) 100%);mask-image:linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,.92) 42%, rgba(0,0,0,.35) 72%, rgba(0,0,0,0) 100%)}.pmh-gl-md .pmh-stats>*:not(.pmh-stats-ghost):not(.pmh-stats-gl-logo){position:relative;z-index:1}.pmh-gl-md .pmh-stats-gl-logo{position:absolute;left:0;right:0;text-align:center;z-index:2;pointer-events:none}.pmh-gl-md .pmh-stats-gl-logo .gl-logo-img{height:auto;max-height:82px;object-fit:contain}.pmh-gl-md .pmh-stats-gl-logo .gl-logo-text{display:inline-block;font-size:24px;letter-spacing:6px;color:var(--md-secondary)}.pmh-gl-md .pmh-promote{background:var(--md-primary);color:#fff;padding:58px}.pmh-gl-md .pmh-promote h2{color:var(--md-secondary);font-size:34px}.pmh-gl-md .pmh-promote .facts,.pmh-gl-md .pmh-office .facts{position:absolute;top:34px;left:0;right:0;text-align:center;color:#fff}.pmh-gl-md .pmh-office{background:linear-gradient(rgba(0,59,102,.72),rgba(0,59,102,.72)),var(--local-bg);background-size:cover;background-position:center;color:#fff;text-align:center;padding-top:225px}.pmh-gl-md .pmh-office h2{color:var(--md-secondary);font-size:38px}.pmh-gl-md .pmh-price{background:linear-gradient(to bottom,var(--md-primary) 0 120px,#fff 120px 520px,var(--md-primary) 520px 100%);padding:50px}.pmh-gl-md .pmh-price h2{color:var(--md-secondary);font-size:38px}.pmh-gl-md .pmh-price-list{position:absolute;bottom:48px;left:60px;right:60px;color:#fff;display:grid;grid-template-columns:1fr 1fr;gap:10px 60px}.pmh-gl-md .pmh-footer{position:absolute;bottom:18px;left:40px;right:40px;font-size:11px;letter-spacing:8px;text-align:center;border-top:1px solid currentColor;padding-top:8px}.pmh-gl-md .pmh-list table{width:100%;border-collapse:collapse;background:#fff}.pmh-gl-md .pmh-list th,.pmh-gl-md .pmh-list td{border-bottom:1px solid #eee;padding:10px;text-align:left}.pmh-gl-md .pmh-upload-row{display:flex;gap:6px;align-items:center}.pmh-gl-md .pmh-upload-row input{flex:1}.pmh-gl-md .pmh-upload-row .button{width:auto;white-space:nowrap}.pmh-gl-md .pmh-upload-preview{margin-top:8px;border:1px solid #eee;background:#f8f8f8;border-radius:6px;padding:8px;text-align:center}.pmh-gl-md .pmh-upload-preview img{max-width:100%;max-height:120px;object-fit:contain}.pmh-gl-md .pmh-zoom{display:flex;gap:5px;align-items:center}.pmh-gl-md .pmh-zoom .active{background:#003b66;color:#fff}.pmh-gl-md .pmh-ai-progress .pmh-bar{height:12px;background:#e5e5e5;border-radius:20px;overflow:hidden;margin:10px 0}.pmh-gl-md .pmh-ai-progress .pmh-bar span{display:block;width:65%;height:100%;background:#003b66;animation:pmhAi 1.1s infinite alternate}@keyframes pmhAi{from{width:20%}to{width:90%}}.pmh-ai-card{border:1px solid #ddd;padding:10px;border-radius:8px;margin:8px 0;background:#fafafa;color:#17202a;line-height:1.4}.pmh-gl-md .pmh-ai-card h4{margin:0 0 8px}.pmh-gl-md .pmh-ai-summary{background:#eef6ff;border:1px solid #cfe2f5;border-radius:8px;padding:10px;margin-bottom:10px}.pmh-gl-md .pmh-ai-images{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pmh-gl-md .pmh-ai-images img{width:100%;height:90px;object-fit:cover;border:1px solid #ddd;background:#fff}.pmh-gl-md .pmh-ai-images button{font-size:11px;margin:3px 2px 0 0}.pmh-gl-md .pmh-colour-swatch{width:42px;height:32px;border:1px solid #ccc;border-radius:5px;margin:3px;cursor:pointer}.pmh-gl-md .pmh-ai-error{background:#ffe6e6!important;border-left:4px solid #d32f2f!important;color:#222!important}.pmh-gl-md .pmh-ai-success{background:#e8f8ec!important;border-left:4px solid #2e7d32!important;color:#222!important}.pmh-gl-md .pmh-ai-info{background:#eef6ff!important;border-left:4px solid #1976d2!important;color:#222!important}.pmh-gl-md .pmh-ai-progress{background:#eef6ff;border:1px solid #cfe2f5;border-left:4px solid #1976d2;color:#222;border-radius:8px;padding:12px}
@media print{body *{visibility:hidden}.pmh-preview-wrap,#pmh-preview,#pmh-preview *{visibility:visible}.pmh-preview-wrap{position:absolute;left:0;top:0;background:#fff;padding:0;max-height:none;overflow:visible;border-radius:0}.pmh-page{box-shadow:none;break-after:page;page-break-after:always;width:172mm;height:240mm;margin:0}.pmh-page:last-child{page-break-after:auto;break-after:auto}@page{size:172mm 240mm;margin:0}}
/* v0.3.4 fixes */
.pmh-cover .client-logo-img{width:var(--client-logo-w, auto);height:var(--client-logo-h, auto);max-width:none!important;max-height:none!important;}
.pmh-stats{padding:0!important;}
.pmh-stats h1{position:absolute;margin:0!important;line-height:1.05;z-index:2;white-space:normal;}
.pmh-stat-grid{position:absolute!important;left:86px;right:86px;display:grid!important;grid-template-columns:1fr 1fr!important;gap:120px!important;border-top:2px solid var(--md-secondary);padding-top:22px;z-index:2;}
.pmh-stat-centre-bar{position:absolute;width:2px;z-index:2;}
.pmh-stat{min-height:74px;margin:0 0 10px;text-align:center;color:#2f3b45;font-size:17px;text-transform:uppercase;line-height:1.15;letter-spacing:.4px;}
.pmh-stat b{font-family:var(--md-heading);font-size:45px;line-height:1;color:var(--md-primary);display:block;font-weight:400;text-transform:none;letter-spacing:0;}
.pmh-stat span{display:block;}
.pmh-stat-right b{font-size:54px;}
.pmh-stats-ghost{left:0!important;right:0!important;width:100%!important;transform:none!important;background-size:cover!important;background-position:center bottom!important;}

/* v0.3.5 - Page 3 How We Promote editor */
.pmh-fact-strip{position:absolute;top:31px;left:0;right:0;text-align:center;color:#fff;font-size:18px;letter-spacing:.3px;z-index:3}
.pmh-fact-strip span{display:inline-block;margin:0 18px;white-space:nowrap}.pmh-fact-strip b{font-weight:400;color:#fff}.pmh-office .pmh-fact-strip{color:#fff}.pmh-promote{padding:0!important;overflow:hidden}.pmh-promote h2,.pmh-promote h3{position:absolute;margin:0;z-index:3;font-family:var(--md-heading);font-weight:400;line-height:1.1}.pmh-promote-divider{position:absolute;z-index:3}.pmh-promote-text{position:absolute;z-index:3;line-height:1.25}.pmh-promote-block{margin:0 0 15px}.pmh-promote-block-independent{position:absolute;z-index:3;line-height:1.25;margin:0}.pmh-promote-block h4{margin:0 0 3px;color:var(--md-secondary);font-size:1.05em;letter-spacing:1px;line-height:1.1}.pmh-promote-block p{margin:0}.pmh-promote-img{position:absolute;z-index:2;object-fit:contain;transform-origin:center center}.pmh-promote-img.empty{display:flex;align-items:center;justify-content:center;border:2px dashed rgba(255,255,255,.55);background:rgba(255,255,255,.08);color:#fff;text-align:center;font-size:14px;border-radius:6px;box-sizing:border-box;padding:10px}.pmh-promote-gl{position:absolute;left:50px;right:50px;bottom:48px;text-align:center;z-index:4}.pmh-promote-gl .gl-logo-img{height:auto;max-height:70px;object-fit:contain}.pmh-promote-gl .gl-logo-text{display:inline-block;color:#fff;font-size:20px;letter-spacing:5px}
.pmh-field h4{margin-top:16px}.pmh-panel-content h4{border-top:1px solid #eee;padding-top:10px;margin-top:14px;margin-bottom:8px;color:#003b66}.pmh-panel-content .pmh-field textarea{min-height:95px}

/* v0.3.7 Page 3 layout fixes */
.pmh-gl-md .pmh-promote-img.empty{display:none!important}
.pmh-gl-md .pmh-promote-block h4{font-weight:500!important;letter-spacing:1.4px!important}
.pmh-gl-md .pmh-promote-block p{font-weight:300!important;line-height:1.32!important}
.pmh-gl-md .pmh-promote-text{font-weight:300!important}
.pmh-gl-md .pmh-promote-img.magazine{z-index:2}
.pmh-gl-md .pmh-promote-img.usb{z-index:3}
.pmh-gl-md .pmh-promote-img.qr{z-index:4}

/* v0.3.8 Page 3 header/client logo and icon strip */
.pmh-gl-md .pmh-promote-client-logo{position:absolute;transform:translateX(-50%);z-index:5;text-align:center;line-height:1;pointer-events:none}
.pmh-gl-md .pmh-promote-client-logo .pmh-client-logo-inline-img{height:auto;max-height:105px;object-fit:contain;display:block}
.pmh-gl-md .pmh-promote-client-logo .pmh-client-logo-inline-text{color:#fff;font-size:36px;line-height:1.05;text-align:center;font-weight:400;letter-spacing:.5px;font-family:var(--md-heading)}
.pmh-gl-md .pmh-fact-strip{font-size:16px;font-weight:700;display:flex;justify-content:center;align-items:center;gap:72px;left:0;right:0;line-height:1;z-index:5}
.pmh-gl-md .pmh-fact-strip span{display:inline-flex!important;align-items:center;gap:8px;margin:0!important;white-space:nowrap}
.pmh-gl-md .pmh-fact-icon{width:28px;height:28px;border:2px solid var(--fact-colour,#fff);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;position:relative;flex:0 0 28px}
.pmh-gl-md .pmh-fact-icon img{max-width:18px;max-height:18px;object-fit:contain;display:block;filter:brightness(0) invert(1)}
.pmh-gl-md .pmh-fact-icon-office:before{content:"";width:13px;height:9px;border:2px solid var(--fact-colour,#fff);border-top:0;position:absolute;bottom:6px;left:6px;box-sizing:border-box}
.pmh-gl-md .pmh-fact-icon-office:after{content:"";position:absolute;left:5px;top:5px;width:15px;height:9px;border-left:2px solid var(--fact-colour,#fff);border-top:2px solid var(--fact-colour,#fff);transform:skewX(-18deg)}
.pmh-gl-md .pmh-fact-icon-realtor:before{content:"";width:14px;height:15px;border:2px solid var(--fact-colour,#fff);border-radius:2px;position:absolute;bottom:5px;box-sizing:border-box}
.pmh-gl-md .pmh-fact-icon-realtor:after{content:"";width:3px;height:18px;background:var(--fact-colour,#fff);box-shadow:-5px 0 0 var(--fact-colour,#fff),5px 0 0 var(--fact-colour,#fff);position:absolute;bottom:4px}
.pmh-gl-md .pmh-fact-icon-magazine:before{content:"";width:12px;height:17px;border:2px solid var(--fact-colour,#fff);border-radius:2px;transform:rotate(-18deg);position:absolute;box-sizing:border-box}
.pmh-gl-md .pmh-promote .pmh-promote-divider{z-index:4}


/* v0.3.9 Page 4 - Office Location editor */
.pmh-gl-md .pmh-office{padding:0!important;overflow:hidden;background-size:cover;background-position:center;color:#fff;text-align:center;position:relative}
.pmh-gl-md .pmh-office-bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0}
.pmh-gl-md .pmh-office-overlay{position:absolute;inset:0;z-index:1;pointer-events:none}
.pmh-gl-md .pmh-office-client-logo{position:absolute;transform:translateX(-50%);z-index:5;text-align:center;line-height:1;pointer-events:none}
.pmh-gl-md .pmh-office-client-logo .pmh-client-logo-inline-img{height:auto;max-height:105px;object-fit:contain;display:block}
.pmh-gl-md .pmh-office-client-logo .pmh-client-logo-inline-text{color:#fff;font-size:34px;line-height:1.05;text-align:center;font-weight:400;letter-spacing:.5px;font-family:var(--md-heading)}
.pmh-gl-md .pmh-office .pmh-fact-strip{z-index:5;color:#fff}
.pmh-gl-md .pmh-office-divider{position:absolute;z-index:4}
.pmh-gl-md .pmh-office h2{position:absolute;z-index:4;margin:0;right:0;text-align:center;font-family:var(--md-heading);font-weight:400;line-height:1.1;color:var(--md-secondary)}
.pmh-gl-md .pmh-office-address,.pmh-gl-md .pmh-office-phone{position:absolute;z-index:4;right:0;text-align:center;font-family:var(--md-font);font-weight:300;letter-spacing:.2px;white-space:normal}


/* v0.4.0 Page 5 - The Magazine editor */
.pmh-gl-md .pmh-magazine{padding:0!important;overflow:hidden;background:#fff;color:#000;text-align:center;position:relative;font-family:var(--md-font)}
.pmh-gl-md .pmh-magazine h2{position:absolute;right:0;text-align:center;margin:0;font-family:var(--md-heading);font-weight:600;line-height:1;text-transform:uppercase;z-index:3}
.pmh-gl-md .pmh-magazine-intro,.pmh-gl-md .pmh-magazine-statement{position:absolute;text-align:center;font-family:var(--md-font);font-weight:400;z-index:3}
.pmh-gl-md .pmh-magazine-img{position:absolute;object-fit:contain;transform-origin:center center;z-index:2}
.pmh-gl-md .pmh-magazine-block{position:absolute;text-align:left;font-family:var(--md-font);font-weight:400;line-height:1.18;z-index:3}
.pmh-gl-md .pmh-magazine-block span{font-family:inherit;font-size:1.75em;line-height:.85;margin-right:7px;float:left}

/* v0.4.1 Page 6 - Digital Distribution editor */
.pmh-gl-md .pmh-digital{padding:0!important;overflow:hidden;background:#fff;color:#000;text-align:center;position:relative;font-family:var(--md-font)}
.pmh-gl-md .pmh-digital-link{display:block;position:absolute;inset:0;color:inherit;text-decoration:none}
.pmh-gl-md .pmh-digital-img{position:absolute;object-fit:contain;transform-origin:center center}
.pmh-gl-md .pmh-digital h2{position:absolute;right:auto;margin:0;text-align:center;font-family:var(--md-heading);font-weight:500;line-height:1.1;text-transform:uppercase;z-index:3;white-space:normal}
.pmh-gl-md .pmh-digital-text{position:absolute;text-align:center;font-family:var(--md-font);font-weight:400;z-index:3}
.pmh-gl-md .pmh-digital-logo,.pmh-gl-md .pmh-digital-banner-logo{position:absolute;height:auto;object-fit:contain;z-index:4;max-height:90px}
.pmh-gl-md .pmh-digital-logo-text{position:absolute;text-align:center;font-family:var(--md-heading);font-size:31px;line-height:1.05;color:var(--md-primary);z-index:4}
.pmh-gl-md .pmh-digital-socials{position:absolute;font-weight:700;letter-spacing:14px;z-index:4;line-height:1}
.pmh-gl-md .pmh-digital-click{position:absolute;text-align:left;font-weight:700;letter-spacing:5px;line-height:1.2;z-index:4}
.pmh-gl-md .pmh-digital-click span{display:block;width:34px;height:44px;border-left:5px solid currentColor;border-bottom:5px solid currentColor;transform:rotate(-35deg);margin:8px 0 0 72px;border-radius:0 0 0 20px;position:relative}
.pmh-gl-md .pmh-digital-click span:after{content:"";position:absolute;right:-9px;bottom:-8px;width:15px;height:15px;border-right:5px solid currentColor;border-bottom:5px solid currentColor;transform:rotate(20deg)}
.pmh-gl-md .pmh-digital-banner{position:absolute;left:0;right:0;z-index:3}
.pmh-gl-md .pmh-digital-banner-text{position:absolute;text-align:center;font-family:var(--md-font);font-weight:300;line-height:1.35;z-index:4;white-space:normal;text-transform:uppercase}
.pmh-gl-md .pmh-digital-img.banner-img{z-index:5}

/* v0.4.3 - Digital page: solid social icons and brush-style curved arrow */
.pmh-gl-md .pmh-digital-socials{
    display:flex!important;
    align-items:center!important;
    gap:18px!important;
    letter-spacing:0!important;
    font-size:initial!important;
    line-height:1!important;
}
.pmh-gl-md .pmh-digital-social-icon{
    width:var(--pmh-social-size,34px);
    height:var(--pmh-social-size,34px);
    background:#000;
    border-radius:4px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    position:relative;
    flex:0 0 var(--pmh-social-size,34px);
    box-sizing:border-box;
}
.pmh-gl-md .pmh-digital-social-fb::before{
    content:"f";
    color:#fff;
    font-family:Arial,Helvetica,sans-serif;
    font-weight:700;
    font-size:calc(var(--pmh-social-size,34px) * .92);
    line-height:1;
    transform:translateY(5%);
}
.pmh-gl-md .pmh-digital-social-ig::before{
    content:"";
    width:58%;
    height:58%;
    border:3px solid #fff;
    border-radius:28%;
    position:absolute;
    box-sizing:border-box;
}
.pmh-gl-md .pmh-digital-social-ig::after{
    content:"";
    width:25%;
    height:25%;
    border:3px solid #fff;
    border-radius:50%;
    position:absolute;
    box-sizing:border-box;
    box-shadow:7px -7px 0 -5px #fff;
}
.pmh-gl-md .pmh-digital-social-in::before{
    content:"in";
    color:#fff;
    font-family:Arial,Helvetica,sans-serif;
    font-weight:700;
    font-size:calc(var(--pmh-social-size,34px) * .64);
    line-height:1;
    letter-spacing:-1px;
}
.pmh-gl-md .pmh-digital-click span:not(.pmh-digital-arrow){display:none!important;}
.pmh-gl-md .pmh-digital-arrow{
    display:block!important;
    width:112px!important;
    height:88px!important;
    margin:-6px 0 0 58px!important;
    border:0!important;
    transform:none!important;
    position:relative!important;
    background:none!important;
}
.pmh-gl-md .pmh-digital-arrow::after{content:none!important;}
.pmh-gl-md .pmh-digital-arrow svg{display:block;width:100%;height:100%;overflow:visible}
.pmh-gl-md .pmh-digital-social-link{display:inline-flex;width:var(--pmh-social-size,34px);height:var(--pmh-social-size,34px);align-items:center;justify-content:center;text-decoration:none;flex:0 0 var(--pmh-social-size,34px)}
.pmh-gl-md .pmh-digital-social-upload{display:block;width:100%;height:100%;object-fit:contain;border:0;background:transparent}


.pmh-gl-md .pmh-email-mockup{padding:0;background:#fff}.pmh-gl-md .pmh-email-mockup-img{position:absolute;inset:0;width:100%;height:100%;display:block}.pmh-gl-md .pmh-email-mockup-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;font-family:Arial,sans-serif;font-size:24px;color:#777;background:#f4f4f4}

/* v0.4.7 Page 8 - QR Code Postcard editor */
.pmh-gl-md .pmh-postcard{padding:0!important;overflow:hidden;background:#fff;color:#000;text-align:center;position:relative;font-family:var(--md-font)}
.pmh-gl-md .pmh-postcard h2{position:absolute;right:0;margin:0;text-align:center;font-family:var(--md-heading);font-weight:500;line-height:1;text-transform:uppercase;z-index:8;white-space:normal}
.pmh-gl-md .pmh-postcard-intro{position:absolute;text-align:center;font-family:var(--md-font);font-weight:400;z-index:8;white-space:normal}
.pmh-gl-md .pmh-postcard-img{position:absolute;object-fit:contain;max-width:none!important;max-height:none!important;transform-origin:center center;z-index:3;filter:drop-shadow(11px 12px 8px rgba(0,0,0,.28))}
.pmh-gl-md .pmh-postcard-img.top{z-index:3;filter:drop-shadow(11px 12px 8px rgba(0,0,0,.28))}
.pmh-gl-md .pmh-postcard-img.phone1,.pmh-gl-md .pmh-postcard-img.phone2{z-index:6;filter:drop-shadow(4px 5px 4px rgba(0,0,0,.22))}
.pmh-gl-md .pmh-postcard-img.empty{display:flex;align-items:center;justify-content:center;border:1px dashed #bbb;background:#f5f5f5;color:#777;text-transform:capitalize;font-size:14px;filter:none;box-sizing:border-box}
.pmh-gl-md .pmh-postcard-line{position:absolute;display:block;z-index:7;width:1px;opacity:.9}

/* v0.4.10 - QR postcard movable gold arrows */
.pmh-gl-md .pmh-postcard-arrow{position:absolute;display:block;z-index:7;transform-origin:0 50%;max-width:none!important;pointer-events:none}
.pmh-gl-md .pmh-postcard-arrow:after{content:"";position:absolute;right:calc(var(--pmh-arrow-head) * -0.45);top:50%;width:var(--pmh-arrow-head);height:var(--pmh-arrow-head);border-right:var(--pmh-arrow-thickness) solid var(--pmh-arrow-colour);border-bottom:var(--pmh-arrow-thickness) solid var(--pmh-arrow-colour);transform:translateY(-50%) rotate(-45deg);box-sizing:border-box}


/* v0.4.11 - Personal Touch USB page */
.pmh-gl-md .pmh-usb-personal{padding:0!important;overflow:hidden;background:#fff;color:#000;text-align:center;position:relative;font-family:var(--md-font)}
.pmh-gl-md .pmh-usb-personal h2{position:absolute;margin:0;text-align:center;font-family:var(--md-heading);font-weight:500;line-height:1.15;text-transform:uppercase;z-index:8;white-space:normal}
.pmh-gl-md .pmh-usb-text{position:absolute;text-align:center;font-family:var(--md-font);font-weight:400;z-index:8;white-space:normal}
.pmh-gl-md .pmh-usb-img{position:absolute;object-fit:contain;max-width:none!important;max-height:none!important;transform-origin:center center;z-index:3}
.pmh-gl-md .pmh-usb-img.bg{z-index:1;object-fit:cover}
.pmh-gl-md .pmh-usb-img.keys{z-index:5;filter:drop-shadow(4px 5px 4px rgba(0,0,0,.20))}
.pmh-gl-md .pmh-usb-img.phone{z-index:6;filter:drop-shadow(4px 5px 4px rgba(0,0,0,.22))}
.pmh-gl-md .pmh-usb-img.empty{display:flex;align-items:center;justify-content:center;border:1px dashed #bbb;background:#f5f5f5;color:#777;text-transform:capitalize;font-size:14px;filter:none;box-sizing:border-box}
.pmh-gl-md .pmh-usb-line{position:absolute;display:block;z-index:7;transform-origin:0 50%;max-width:none!important;pointer-events:none}


/* v0.4.12 - Hand In Hand page */
.pmh-gl-md .pmh-hand{padding:0!important;overflow:hidden;background:#fff;color:#000;text-align:center;position:relative;font-family:var(--md-font)}
.pmh-gl-md .pmh-hand h2{position:absolute;margin:0;text-align:center;font-family:var(--md-heading);font-weight:500;line-height:1.1;text-transform:uppercase;z-index:8;white-space:normal}
.pmh-gl-md .pmh-hand-intro{position:absolute;text-align:center;font-family:var(--md-font);font-weight:400;z-index:8;white-space:normal}
.pmh-gl-md .pmh-hand-bottom{position:absolute;text-align:center;font-family:var(--md-heading);font-weight:700;text-transform:uppercase;z-index:8;white-space:normal}
.pmh-gl-md .pmh-hand-bg{position:absolute;object-fit:contain;max-width:none!important;max-height:none!important;transform-origin:center center;z-index:2}
.pmh-gl-md .pmh-hand-bg.empty{display:flex;align-items:center;justify-content:center;border:1px dashed #bbb;background:#f5f5f5;color:#777;text-transform:capitalize;font-size:16px;filter:none;box-sizing:border-box}
.pmh-gl-md .pmh-hand-arrow{position:absolute;display:block;z-index:8;transform-origin:center center;pointer-events:none}
.pmh-gl-md .pmh-hand-arrow svg{display:block;width:100%;height:100%;overflow:visible;max-width:none!important;max-height:none!important}


/* v0.4.15 - Launch Event page */
.pmh-gl-md .pmh-launch{padding:0!important;overflow:hidden;background:#fff;color:#000;text-align:center;position:relative;font-family:var(--md-font)}
.pmh-gl-md .pmh-launch h2{position:absolute;margin:0;text-align:center;font-family:var(--md-heading);font-weight:400;line-height:1;z-index:8;white-space:normal}
.pmh-gl-md .pmh-launch h3{position:absolute;margin:0;text-align:center;z-index:8;white-space:normal}
.pmh-gl-md .pmh-launch-sub{font-family:var(--md-heading);font-weight:500;text-transform:uppercase}
.pmh-gl-md .pmh-launch-mid{font-family:var(--md-heading);font-weight:400}
.pmh-gl-md .pmh-launch-body{position:absolute;text-align:center;font-family:var(--md-font);font-weight:400;z-index:8;white-space:normal}
.pmh-gl-md .pmh-launch-banner{position:absolute;text-align:center;font-family:var(--md-heading);font-weight:500;text-transform:uppercase;z-index:8;box-sizing:border-box;white-space:nowrap;overflow:hidden}
.pmh-gl-md .pmh-launch-button{position:absolute;text-align:center;font-family:var(--md-heading);font-weight:700;text-transform:uppercase;z-index:8;box-sizing:border-box;white-space:nowrap;overflow:hidden}
.pmh-gl-md .pmh-launch-img{position:absolute;object-fit:cover;max-width:none!important;max-height:none!important;transform-origin:center center;z-index:3}
.pmh-gl-md .pmh-launch-img.top{z-index:1;object-fit:cover}
.pmh-gl-md .pmh-launch-img.img1,.pmh-gl-md .pmh-launch-img.img2,.pmh-gl-md .pmh-launch-img.img3{z-index:3;object-fit:cover}
.pmh-gl-md .pmh-launch-img.empty{display:flex;align-items:center;justify-content:center;border:1px dashed #bbb;background:#f5f5f5;color:#777;text-transform:capitalize;font-size:14px;filter:none;box-sizing:border-box}

/* v0.4.18 Magazine Pricing Options page */
.pmh-gl-md .pmh-price-options{padding:0;background:#fff;font-family:var(--md-font);}
.pmh-gl-md .pmh-price-options h2{position:absolute;margin:0;text-align:center;font-family:var(--md-heading);font-weight:600;line-height:1.05;z-index:2;}
.pmh-gl-md .pmh-pricing-header,.pmh-gl-md .pmh-pricing-footer{position:absolute;left:0;right:0;z-index:0;}
.pmh-gl-md .pmh-pricing-img{position:absolute;object-fit:contain;z-index:2;max-width:none;max-height:none;}
.pmh-gl-md .pmh-pricing-img.empty{display:flex;align-items:center;justify-content:center;border:1px dashed #bbb;background:#f7f7f7;color:#777;font-family:Arial,sans-serif;text-align:center;font-size:14px;box-sizing:border-box;}
.pmh-gl-md .pmh-pricing-label{position:absolute;text-align:center;font-family:var(--md-heading);font-weight:400;letter-spacing:.3px;z-index:3;}
.pmh-gl-md .pmh-price-row{position:absolute;display:flex;align-items:flex-end;gap:3px;font-family:var(--md-font);line-height:1;z-index:3;white-space:nowrap;}
.pmh-gl-md .pmh-price-row span,.pmh-gl-md .pmh-price-row b{font-weight:700;}
.pmh-gl-md .pmh-price-row i{border-bottom:2px dotted currentColor;height:1px;display:inline-block;transform:translateY(-2px);}
.pmh-gl-md .pmh-pricing-note{position:absolute;text-align:center;font-family:var(--md-font);line-height:1.25;z-index:3;font-weight:700;}


/* v0.4.21 Premium Positions page */
.pmh-gl-md .pmh-premium{padding:0;background:#fff;font-family:var(--md-font);position:relative;overflow:hidden;}
.pmh-gl-md .pmh-premium-header,.pmh-gl-md .pmh-premium-footer{position:absolute;z-index:0;}
.pmh-gl-md .pmh-premium-footer{left:0;right:0;width:100%;}
.pmh-gl-md .pmh-premium h2{position:absolute;margin:0;font-family:var(--md-heading);font-weight:600;line-height:1.05;z-index:3;}
.pmh-gl-md .pmh-premium-logo{position:absolute;z-index:2;height:auto;max-width:none!important;max-height:none!important;object-fit:contain;}
.pmh-gl-md .pmh-premium-logo-text{font-family:Arial,sans-serif;color:#fff;font-size:28px;font-weight:600;text-align:left;}
.pmh-gl-md .pmh-premium-img{position:absolute;object-fit:contain;z-index:2;max-width:none!important;max-height:none!important;}
.pmh-gl-md .pmh-premium-img.empty{display:flex;align-items:center;justify-content:center;border:1px dashed #bbb;background:#f7f7f7;color:#777;font-family:Arial,sans-serif;text-align:center;font-size:12px;box-sizing:border-box;}
.pmh-gl-md .pmh-premium-label{position:absolute;text-align:center;font-family:var(--md-heading);font-weight:700;letter-spacing:.2px;z-index:3;text-transform:uppercase;}
.pmh-gl-md .pmh-premium-price-row{position:absolute;display:flex;align-items:flex-end;gap:3px;font-family:var(--md-font);line-height:1;z-index:3;white-space:nowrap;}
.pmh-gl-md .pmh-premium-price-row span,.pmh-gl-md .pmh-premium-price-row b{font-weight:700;}
.pmh-gl-md .pmh-premium-price-row i{border-bottom:2px dotted currentColor;height:1px;display:inline-block;transform:translateY(-2px);}

.pmh-gl-md .pmh-premium-logo-img{}
.pmh-gl-md .pmh-premium-note{position:absolute;text-align:center;font-family:var(--md-font);line-height:1.25;z-index:3;font-weight:700;}


.pmh-gl-md .pmh-third-ad{padding:0!important;overflow:hidden;background:#fff;color:#000;position:relative;font-family:var(--md-font);}
.pmh-gl-md .pmh-third-copy-block{position:absolute;z-index:3;box-sizing:border-box;white-space:normal;}
.pmh-gl-md .pmh-third-copy-block h4{margin:0 0 5px 0;font-family:inherit;font-weight:700;line-height:1.05;text-transform:uppercase;}
.pmh-gl-md .pmh-third-copy-block p{margin:0;font-family:inherit;font-weight:400;}
.pmh-gl-md .pmh-third-ad-img{position:absolute;z-index:4;object-fit:cover;max-width:none!important;max-height:none!important;transform-origin:center center;}
/* Third-page advert must overlap the navy footer, matching the original A4 layout. */
.pmh-gl-md .pmh-third-ad:not(.pmh-half-ad):not(.pmh-full-ad) .pmh-third-ad-img{z-index:8;}
.pmh-gl-md .pmh-third-ad:not(.pmh-half-ad):not(.pmh-full-ad)>h2,
.pmh-gl-md .pmh-third-ad:not(.pmh-half-ad):not(.pmh-full-ad) .pmh-third-price-row{z-index:9;}
.pmh-gl-md .pmh-third-ad-img.empty{display:flex;align-items:center;justify-content:center;border:1px dashed #999;background:#f7f7f7;color:#777;font-size:13px;text-align:center;box-sizing:border-box;}
.pmh-gl-md .pmh-third-footer{position:absolute;left:0;right:0;z-index:6;}
.pmh-gl-md .pmh-third-ad h2{position:absolute;margin:0;font-family:var(--md-heading);font-weight:700;line-height:1;z-index:7;}
.pmh-gl-md .pmh-third-price-row{position:absolute;display:flex;align-items:flex-end;gap:3px;font-family:var(--md-font);line-height:1;z-index:7;white-space:nowrap;font-weight:700;}
.pmh-gl-md .pmh-third-price-row i{border-bottom:2px dotted currentColor;height:1px;display:inline-block;transform:translateY(-2px);}
.pmh-gl-md .pmh-third-price-row span,.pmh-gl-md .pmh-third-price-row b{font-weight:700;}
.pmh-gl-md .pmh-third-page-no,.pmh-gl-md .pmh-third-small{position:absolute;z-index:5;font-family:var(--md-font);font-weight:700;line-height:1;}
.pmh-gl-md .pmh-third-bottom-line{position:absolute;z-index:5;height:1px;display:block;}
.pmh-example-ad{background:#fff;overflow:hidden;}
.pmh-example-ad-img{position:absolute;display:block;max-width:none;max-height:none;}
.pmh-example-placeholder{position:absolute;left:40px;top:40px;right:40px;bottom:40px;border:1px dashed #bbb;display:flex;align-items:center;justify-content:center;color:#777;font:16px Arial,sans-serif;text-align:center;}

/* v0.4.30 full-page advert background */
.pmh-gl-md .pmh-full-ad-background{position:absolute;z-index:1;max-width:none!important;max-height:none!important;transform-origin:center center;box-sizing:border-box;}
.pmh-gl-md .pmh-full-ad-background.empty{display:flex;align-items:center;justify-content:center;border:1px dashed #999;background:#f7f7f7;color:#777;font-size:13px;text-align:center;}
.pmh-gl-md .pmh-full-ad .pmh-third-copy-block{z-index:3;}
.pmh-gl-md .pmh-full-ad>h2,.pmh-gl-md .pmh-full-ad .pmh-third-price-row,.pmh-gl-md .pmh-full-ad .pmh-third-page-no,.pmh-gl-md .pmh-full-ad .pmh-third-small,.pmh-gl-md .pmh-full-ad .pmh-third-bottom-line{z-index:7;}
.pmh-double-ad{overflow:hidden;background:#fff}
.pmh-double-ad-img{position:absolute;display:block;max-width:none!important;max-height:none!important;z-index:1}
.pmh-double-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border:1px dashed #bbb;color:#777;font-size:18px;background:#fafafa}
.pmh-double-banner{position:absolute;z-index:20}
.pmh-double-banner-title{position:absolute;z-index:21;margin:0;line-height:1.05;font-family:var(--md-heading);font-weight:700}
.pmh-double-price-row{position:absolute;z-index:21;display:flex;align-items:center;white-space:nowrap;font-family:var(--md-font);font-weight:700}
.pmh-double-price-row i{display:inline-block;border-bottom:2px dotted currentColor;margin:0 3px;height:0}
.pmh-double-price-row b{font-weight:700}

.pmh-gl-md .pmh-example-categories{padding:0}
.pmh-gl-md .pmh-example-categories-bg{position:absolute;display:block;max-width:none!important;max-height:none!important;transform-origin:center center}
.pmh-gl-md .pmh-example-advert-hotspot{position:absolute;display:block;z-index:5;background:transparent;border:0;text-decoration:none}
.pmh-gl-md .pmh-example-advert-hotspot:hover{outline:2px solid rgba(255,255,255,.8);background:rgba(255,255,255,.08)}
@media print{
 .pmh-gl-md .pmh-example-advert-hotspot:hover{outline:0;background:transparent}
}

/* Example advert category pages: custom backgrounds stay behind the fixed text. */
.pmh-gl-md .pmh-example-categories-bg{z-index:0}
.pmh-gl-md .pmh-example-categories-shade{position:absolute;inset:0;z-index:1;background:rgba(0,28,55,.42);pointer-events:none}
.pmh-gl-md .pmh-example-categories-text{position:absolute;inset:0;z-index:2;color:#fff;font-family:Arial,sans-serif;pointer-events:none}
.pmh-gl-md .pmh-example-categories-text h2{position:absolute;left:59px;top:77px;margin:0;font:700 29px/1.1 var(--heading-font);color:#fff}
.pmh-gl-md .pmh-example-categories-text .pmh-example-col{position:absolute;top:144px;width:317px;font-size:15px;line-height:1.38}
.pmh-gl-md .pmh-example-categories-text .pmh-example-col.left{left:59px}
.pmh-gl-md .pmh-example-categories-text .pmh-example-col.right{left:384px}
.pmh-gl-md .pmh-example-categories-text.page-21 .pmh-example-col{top:141px;width:291px}
.pmh-gl-md .pmh-example-categories-text.page-21 .pmh-example-col.left{left:139px}
.pmh-gl-md .pmh-example-categories-text.page-21 .pmh-example-col.right{left:464px}
.pmh-gl-md .pmh-example-categories-text section{margin:0 0 33px}
.pmh-gl-md .pmh-example-categories-text h3{margin:0 0 13px;font-size:17px;line-height:1.16;letter-spacing:1.6px;color:#fff;font-weight:700}
.pmh-gl-md .pmh-example-categories-text b{display:block;margin:0 0 3px;font-size:15px;line-height:1.25;color:#fff;font-weight:400}
.pmh-gl-md .pmh-example-categories-text p{margin:0 0 12px;font-size:15px;line-height:1.42;color:#fff}
.pmh-gl-md .pmh-example-categories-text .pmh-example-brand{position:absolute;left:251px;bottom:40px;width:293px;text-align:center;font-size:23px;letter-spacing:2.7px;color:#fff}
.pmh-gl-md .pmh-example-advert-hotspot{z-index:5}
/* v0.4.38: exact page 20/21 overlay alignment. Linked text is the clickable area. */
.pmh-gl-md .pmh-example-exact{position:absolute;inset:0;z-index:3;color:#fff;font-family:var(--md-font)}
.pmh-gl-md .pmh-example-static{position:absolute;color:#fff;white-space:nowrap;line-height:1.15}
.pmh-gl-md .pmh-example-static.title{font-family:var(--md-heading),Georgia,serif;font-size:29px;font-weight:700}
.pmh-gl-md .pmh-example-static.heading{font-size:17px;font-weight:700;letter-spacing:1.6px}
.pmh-gl-md .pmh-example-static.label{font-size:15px;font-weight:400}
.pmh-gl-md .pmh-example-linked-text{position:absolute;z-index:5;display:block;color:#fff!important;font:15px/18px Arial,sans-serif;text-decoration:none;white-space:nowrap;overflow:visible;background:transparent}
.pmh-gl-md .pmh-example-linked-text.pmh-wrap-long{white-space:normal;word-wrap:break-word;overflow-wrap:break-word}
.pmh-gl-md .pmh-example-linked-text:hover{text-decoration:underline;outline:1px solid rgba(255,255,255,.55)}
.pmh-gl-md .pmh-example-exact .pmh-example-brand{position:absolute;left:251px;bottom:40px;width:293px;text-align:center;font-size:23px;letter-spacing:2.7px;color:#fff}
@media print{
 .pmh-gl-md .pmh-example-linked-text:hover{outline:0;text-decoration:none}
}

/* v1.0.1: Keep workflow lists readable inside Oxygen/theme table styles. */
.pmh-gl-md .pmh-list{
    display:block!important;
    width:100%!important;
    overflow-x:auto!important;
    background:#fff!important;
    border:1px solid #d9dee5!important;
    border-radius:9px!important;
    color:#17202a!important;
}
.pmh-gl-md .pmh-list table{
    display:table!important;
    width:100%!important;
    min-width:860px!important;
    border-collapse:collapse!important;
    table-layout:auto!important;
    margin:0!important;
    background:#fff!important;
    color:#17202a!important;
}
.pmh-gl-md .pmh-list thead{display:table-header-group!important;visibility:visible!important;}
.pmh-gl-md .pmh-list tbody{display:table-row-group!important;visibility:visible!important;}
.pmh-gl-md .pmh-list tr{display:table-row!important;background:#fff!important;color:#17202a!important;visibility:visible!important;}
.pmh-gl-md .pmh-list th,
.pmh-gl-md .pmh-list td{
    display:table-cell!important;
    visibility:visible!important;
    opacity:1!important;
    color:#17202a!important;
    background:#fff!important;
    border:0!important;
    border-bottom:1px solid #e5e8ec!important;
    padding:12px 14px!important;
    font-family:Arial,sans-serif!important;
    font-size:14px!important;
    line-height:1.35!important;
    text-align:left!important;
    vertical-align:middle!important;
    white-space:normal!important;
}
.pmh-gl-md .pmh-list th{
    background:#f4f6f8!important;
    color:#263746!important;
    font-weight:700!important;
}
.pmh-gl-md .pmh-list td:first-child{
    min-width:230px!important;
    font-weight:700!important;
    color:#003b66!important;
}
.pmh-gl-md .pmh-list td:last-child{
    min-width:355px!important;
    white-space:nowrap!important;
}
.pmh-gl-md .pmh-list p{
    margin:0!important;
    padding:16px!important;
    color:#555!important;
    background:#fff!important;
}
.pmh-gl-md .pmh-list .button{
    display:inline-block!important;
    visibility:visible!important;
    opacity:1!important;
    width:auto!important;
    margin:2px 3px 2px 0!important;
    color:#17202a!important;
    background:#f6f7f7!important;
    border:1px solid #9da4aa!important;
    line-height:2.1!important;
    min-height:30px!important;
    padding:0 10px!important;
}
.pmh-gl-md .pmh-list .button.button-primary,
.pmh-gl-md .pmh-list .pmh-download-row{
    color:#fff!important;
    background:#2271b1!important;
    border-color:#2271b1!important;
}

/* v1.3.2: one canonical design/export canvas. These rules isolate the page
   from WordPress theme image defaults and keep preview and PDF identical. */
.pmh-gl-md .pmh-page,.pmh-gl-md .pmh-page *{box-sizing:border-box}
.pmh-gl-md .pmh-page img{margin:0;border:0;padding:0;vertical-align:top}
.pmh-gl-md .pmh-page svg{overflow:visible}
#pmh-gl-md-pdf-stage .pmh-page{width:794px!important;height:1108px!important;min-width:794px!important;max-width:794px!important;min-height:1108px!important;max-height:1108px!important;box-shadow:none!important;transform:none!important;zoom:1!important}
#pmh-gl-md-pdf-stage .pmh-page,#pmh-gl-md-pdf-stage .pmh-page *{animation:none!important;transition:none!important}

/* v1.7.6: link only the digital banner and expose editable advert rows */
.pmh-gl-md .pmh-digital-banner-link{position:absolute;left:0;right:0;display:block;z-index:20;background:transparent;text-decoration:none}
.pmh-gl-md .pmh-example-edit-row{border:1px solid #dcdcde;border-radius:4px;margin:8px 0;background:#fff}
.pmh-gl-md .pmh-example-edit-row>summary{cursor:pointer;padding:9px 10px;font-weight:600;background:#f6f7f7}
.pmh-gl-md .pmh-example-edit-row .pmh-field{padding:0 10px}
.pmh-gl-md .pmh-example-position-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0 10px 10px}
.pmh-gl-md .pmh-example-position-grid .pmh-field{padding:0;margin:0}


/* v1.8.0: safer, grouped example-advert editor. */
.pmh-gl-md .pmh-example-toolbar{position:sticky;top:0;z-index:20;margin:0 0 12px;padding:10px;background:#fff;border:1px solid #c3c4c7;border-radius:7px;box-shadow:0 2px 7px rgba(0,0,0,.06)}
.pmh-gl-md .pmh-example-toolbar .pmh-example-mode{display:flex;gap:7px}
.pmh-gl-md .pmh-example-toolbar p{margin:8px 0 0;color:#3c434a;font-size:12px;line-height:1.35}
.pmh-gl-md .pmh-example-groups{color:#1d2327}
.pmh-gl-md .pmh-example-group{margin:9px 0;border:1px solid #c8d2dc;border-radius:7px;background:#f8fafc;overflow:hidden}
.pmh-gl-md .pmh-example-group>summary{padding:11px 12px;cursor:pointer;background:#eaf2f8;color:#003b66!important;font-weight:700;letter-spacing:.3px}
.pmh-gl-md .pmh-example-group-body{padding:8px}
.pmh-gl-md .pmh-example-section{margin:0 0 10px}
.pmh-gl-md .pmh-example-section h5{margin:7px 3px 5px;color:#506170!important;font-size:11px;line-height:1.2;text-transform:uppercase;letter-spacing:1px}
.pmh-gl-md .pmh-example-edit-row{background:#fff!important;border-color:#d5dce3!important;color:#1d2327!important}
.pmh-gl-md .pmh-example-edit-row>summary{display:flex;justify-content:space-between;gap:8px;align-items:center;background:#fff!important;color:#1d2327!important;font-weight:600!important}
.pmh-gl-md .pmh-example-edit-row>summary:hover{background:#eef6fc!important}
.pmh-gl-md .pmh-example-edit-row.is-selected{border-color:#2271b1!important;box-shadow:0 0 0 1px #2271b1}
.pmh-gl-md .pmh-example-edit-row.is-selected>summary{background:#2271b1!important;color:#fff!important}
.pmh-gl-md .pmh-example-row-state{font-size:10px;text-transform:uppercase;letter-spacing:.6px;opacity:.72}
.pmh-gl-md .pmh-example-row-actions{display:flex;flex-wrap:wrap;gap:5px;padding:10px 10px 3px}
.pmh-gl-md .pmh-example-row-actions .button{font-size:11px;min-height:27px;line-height:25px;padding:0 8px}
.pmh-gl-md .pmh-example-edit-row label{color:#1d2327!important}
.pmh-gl-md .pmh-example-edit-row input{color:#1d2327!important;background:#fff!important;border-color:#8c8f94!important}
.pmh-gl-md .pmh-example-position-grid.is-disabled{opacity:.52}
.pmh-gl-md .pmh-example-position-grid input:disabled{background:#f0f0f1!important;color:#646970!important}
.pmh-gl-md .pmh-example-linked-text.is-selected{outline:3px solid #00a0d2!important;background:rgba(0,160,210,.16)!important;text-decoration:none!important}
.pmh-gl-md .pmh-example-linked-text.is-unlocked{cursor:move}
body.pmh-example-dragging,body.pmh-example-dragging *{cursor:move!important;user-select:none!important}
/* v1.8.1: full advert top fade is applied inline so preview and direct PDF share the same setting. */

/* v1.9.0: universal collapsible settings and per-page text colour controls. */
.pmh-gl-md .pmh-settings-search{position:sticky;top:0;z-index:30;background:#fff;padding:8px 0 10px}
.pmh-gl-md .pmh-settings-search input{width:100%;min-height:38px;padding:7px 10px;border:1px solid #8c8f94;border-radius:6px;color:#1d2327;background:#fff}
.pmh-gl-md .pmh-settings-section{margin:8px 0;border:1px solid #c8d2dc;border-radius:7px;background:#fff;overflow:hidden;color:#1d2327}
.pmh-gl-md .pmh-settings-section>summary{cursor:pointer;padding:11px 12px;background:#eaf2f8;color:#003b66;font-weight:700;list-style:none}
.pmh-gl-md .pmh-settings-section>summary::-webkit-details-marker{display:none}
.pmh-gl-md .pmh-settings-section>summary:before{content:'▶';display:inline-block;margin-right:7px;font-size:10px;transition:transform .15s ease}
.pmh-gl-md .pmh-settings-section[open]>summary:before{transform:rotate(90deg)}
.pmh-gl-md .pmh-settings-section>summary:hover{background:#dcecf7}
.pmh-gl-md .pmh-settings-section>.pmh-field,.pmh-gl-md .pmh-settings-section>.pmh-help,.pmh-gl-md .pmh-settings-section>p,.pmh-gl-md .pmh-settings-section>.pmh-page-text-colours,.pmh-gl-md .pmh-settings-section>.pmh-example-toolbar,.pmh-gl-md .pmh-settings-section>.pmh-example-groups{margin-left:10px;margin-right:10px}
.pmh-gl-md .pmh-settings-section>.pmh-field:first-of-type{margin-top:12px}
.pmh-gl-md .pmh-settings-section>.pmh-field:last-child{margin-bottom:12px}
.pmh-gl-md .pmh-text-colour-row{display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:6px 10px;align-items:center;padding:8px 0;border-bottom:1px solid #eee}
.pmh-gl-md .pmh-text-colour-row label{font-weight:600;color:#1d2327;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pmh-gl-md .pmh-text-colour-row input[type=color]{width:48px;height:32px;padding:2px}
.pmh-gl-md .pmh-text-colour-row .pmh-reset-text-colour{grid-column:1/-1;text-align:left;font-size:11px}

/* v1.9.3: ensure long accordion panels can always be scrolled to their final controls. */
.pmh-gl-md .pmh-sidebar{
    height:calc(100vh - 130px);
    max-height:calc(100vh - 130px);
    min-height:480px;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
    scroll-padding-bottom:140px;
    box-sizing:border-box;
    padding-bottom:140px;
}
.pmh-gl-md .pmh-panel.active{
    display:block;
    min-height:max-content;
    padding-bottom:40px;
}
.pmh-gl-md .pmh-settings-section[open]{
    overflow:visible;
}
.pmh-gl-md .pmh-settings-section[open] > :last-child{
    margin-bottom:14px;
}
@media (max-height:700px){
    .pmh-gl-md .pmh-sidebar{
        height:calc(100vh - 90px);
        max-height:calc(100vh - 90px);
        min-height:360px;
        padding-bottom:170px;
        scroll-padding-bottom:170px;
    }
}

/* v1.9.9: renderer rollback baseline. Statistics remain fixed/non-draggable. */

/* v1.10.0 safe optional statistics and bold example-advert pages */
.pmh-gl-md .pmh-stat-extra{position:absolute;z-index:2;line-height:1.05;box-sizing:border-box;text-transform:uppercase;pointer-events:none}
.pmh-gl-md .pmh-stat-extra b{display:block;font-family:var(--md-heading);font-weight:400;line-height:1;text-transform:none}
.pmh-gl-md .pmh-stat-extra span{display:block;line-height:1.15;margin-top:4px}
.pmh-gl-md .pmh-stat-editor-card{border:1px solid #ccd6df;background:#fff;border-radius:7px;padding:10px;margin:10px 0}
.pmh-gl-md .pmh-stat-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.pmh-gl-md .pmh-example-categories .pmh-example-static,
.pmh-gl-md .pmh-example-categories .pmh-example-linked-text{font-weight:700}

/* v1.10.1 additional statistics: value beside label and synced controls */
.pmh-gl-md .pmh-stat-extra{position:absolute;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:18px;align-items:center;z-index:2;text-transform:uppercase;line-height:1.1;}
.pmh-gl-md .pmh-stat-extra b{display:block;font-family:var(--md-heading);font-weight:400;line-height:1;text-transform:none;white-space:nowrap;}
.pmh-gl-md .pmh-stat-extra span{display:block;min-width:0;line-height:1.1;}
.pmh-gl-md .pmh-range label strong{font-weight:700;}
/* v1.10.2: original statistics are positioned with controls only; no drag/drop. */
.pmh-gl-md .pmh-stat-grid-line-only{height:0!important;padding-top:0!important;grid-template-columns:none!important;gap:0!important;pointer-events:none}
.pmh-gl-md .pmh-stat-positioned{position:absolute!important;z-index:2;box-sizing:border-box;margin:0!important;line-height:1.05}
.pmh-gl-md .pmh-stat-positioned b{display:block;font-family:var(--md-heading);font-weight:400;line-height:1;color:var(--md-primary)}
.pmh-gl-md .pmh-stat-positioned span{display:block;line-height:1.1;text-transform:uppercase;margin-top:4px}
.pmh-gl-md .pmh-stat-positioned.pmh-stat-right b,.pmh-gl-md .pmh-stat-positioned.pmh-stat-right span{display:block}

/* v1.11.0 brand templates and page ordering */
.pmh-template-tools{display:inline-flex;gap:6px;align-items:center;margin:0 6px;vertical-align:middle}
.pmh-template-tools select{min-width:150px;height:32px}
.pmh-page-order-list{display:flex;flex-direction:column;gap:6px}
.pmh-page-row{display:grid!important;grid-template-columns:28px 14px minmax(0,1fr) 70px 24px;align-items:center;gap:6px}
.pmh-page-row>button[data-page]{width:100%;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pmh-order-number{font-weight:700;text-align:center;color:#496277}
.pmh-order-actions{display:flex;gap:3px}
.pmh-order-actions .button{min-width:31px!important;width:31px!important;height:28px!important;padding:0!important;line-height:26px!important;text-align:center!important}
@media(max-width:1100px){.pmh-template-tools{display:flex;margin-top:6px;flex-wrap:wrap}.pmh-template-tools select{min-width:130px}}
/* v1.12.0 brand-specific layout packs. These are ordinary 794x1108 HTML pages so the stable PDF renderer is unchanged. */
.pmh-compass-cover,.pmh-compass-stats,.pmh-compass-office,.pmh-loa-page{position:relative;overflow:hidden;color:#fff;font-family:Montserrat,Arial,sans-serif}
.pmh-compass-logo{position:absolute;left:50%;transform:translateX(-50%);z-index:5;text-align:center;letter-spacing:7px;font-size:38px;color:#fff}
.pmh-compass-logo img{display:block;width:100%;height:auto;max-height:100px;object-fit:contain}
.pmh-compass-cover-title{position:absolute;left:40px;width:714px;text-align:center;font-family:CompassSans,Arial,sans-serif;font-weight:700;color:#fff;z-index:4}
.pmh-compass-cover-photo{position:absolute;object-fit:cover;z-index:2}
.pmh-compass-cover-gl{position:absolute;left:0;width:794px;text-align:center;z-index:5}
.pmh-compass-cover-tag{position:absolute;left:0;bottom:38px;width:794px;text-align:center;font-size:10px;letter-spacing:1px;color:#fff}
.pmh-compass-stats-bg,.pmh-compass-office-bg{position:absolute;inset:0;background-position:center;background-size:cover}
.pmh-compass-stats-shade{position:absolute;inset:0;z-index:1}
.pmh-compass-big-number{position:absolute;left:0;width:794px;text-align:center;line-height:.78;font-family:"Arial Black",Arial,Helvetica,sans-serif;font-weight:900;letter-spacing:-18px;z-index:3;color:var(--pmh-compass-number-colour,#fff);background:linear-gradient(to bottom,var(--pmh-compass-number-colour,#fff) 0%,var(--pmh-compass-number-colour,#fff) 38%,rgba(255,255,255,.74) 58%,rgba(255,255,255,.30) 76%,rgba(255,255,255,0) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none}
.pmh-compass-stats-headline,.pmh-compass-stats-sub,.pmh-compass-stats-source{position:absolute;left:45px;width:704px;text-align:center;z-index:4;font-weight:600;line-height:1.05}
.pmh-compass-stat-grid{position:absolute;left:80px;right:80px;bottom:95px;display:grid;grid-template-columns:1fr 1fr;gap:32px 60px;z-index:4;text-align:center}
.pmh-compass-stat-grid div{display:flex;flex-direction:column}.pmh-compass-stat-grid b{line-height:1;color:#fff}.pmh-compass-stat-grid span{margin-top:4px;letter-spacing:2px;color:#fff}
.pmh-compass-office .pmh-compass-logo{z-index:4}.pmh-compass-location{position:absolute;left:0;width:794px;text-align:center;z-index:4;letter-spacing:4px}
.pmh-compass-office .pmh-fact-strip{z-index:4;color:#fff}.pmh-compass-office-rule{position:absolute;z-index:4}
.pmh-compass-office h2{position:absolute;left:0;width:794px;text-align:center;letter-spacing:7px;z-index:4;font-family:var(--md-heading);font-weight:400}
.pmh-compass-office-details{position:absolute;left:90px;top:405px;width:614px;text-align:center;font-size:18px;line-height:1.45;color:#fff;z-index:4}
.pmh-loa-page>img,.pmh-loa-letter-img{position:absolute;display:block;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;transform-origin:center center}.pmh-loa-placeholder{position:absolute;inset:140px 90px;border:2px dashed rgba(255,255,255,.6);display:flex;align-items:center;justify-content:center;color:#fff;font-size:22px}
.pmh-compass-media-pack{position:absolute;text-align:center;font-family:var(--heading-font,Georgia,serif);font-weight:700;line-height:1;z-index:4;box-sizing:border-box;}

/* v2.0.6 Compass office layout controls */
.pmh-compass-office-facts{gap:70px!important}
.pmh-compass-office-block{position:absolute;z-index:4;box-sizing:border-box;color:#fff;line-height:1.2}
.pmh-compass-office-block strong{display:block;margin-bottom:5px;font-family:inherit;font-weight:700;line-height:1.05}
.pmh-compass-office-block div{line-height:1.22}
.pmh-compass-office-block span{display:block;margin-top:5px;font-weight:600;line-height:1.1}
.pmh-check-row{display:block;margin:7px 0;font-weight:600}
.pmh-check-row input{margin-right:7px}

/* v2.0.19 completed magazine full-page image */
.pmh-completed-magazine{position:relative;overflow:hidden;}
.pmh-completed-magazine-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;display:block!important;transform:none!important;}
.pmh-completed-magazine-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:600 24px Arial,sans-serif;color:#777;text-align:center;padding:40px;box-sizing:border-box;}

/* v2.2.0 drag-to-move / drag-to-resize handles for images in the live preview */
[data-resize-prefix]{cursor:move;}
.pmh-resize-outline{position:absolute;border:1.5px dashed #1976d2;background:rgba(25,118,210,.06);pointer-events:none;z-index:50;box-sizing:border-box;}
.pmh-resize-handle{position:absolute;width:12px;height:12px;background:#1976d2;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.4);z-index:51;pointer-events:auto;transform:translate(-50%,-50%);}
.pmh-resize-handle.nw{cursor:nwse-resize;}
.pmh-resize-handle.ne{cursor:nesw-resize;}
.pmh-resize-handle.sw{cursor:nesw-resize;}
.pmh-resize-handle.se{cursor:nwse-resize;}
.pmh-resize-dragging,.pmh-resize-dragging *{cursor:inherit!important;user-select:none!important;}

/* v2.3.0 Compass brand fonts */
@font-face{font-family:'CompassSans';src:url('fonts/CompassSans-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'CompassSans';src:url('fonts/CompassSans-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'CompassSans';src:url('fonts/CompassSans-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'CompassSerif';src:url('fonts/CompassSerif-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
/* Berkshire Hathaway brand fonts */
@font-face{font-family:'BerkshireSans';src:url('fonts/Manrope-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'BerkshireSans';src:url('fonts/Manrope-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'BerkshireSerif';src:url('fonts/Marcellus-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'IndependentSans';src:url('fonts/Montserrat-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'IndependentSans';src:url('fonts/Montserrat-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap;}

/* v2.3.0 Compass custom font family + per-text-block bold toggle.
   Elements marked data-bold="1" render in the Bold weight; this is picked up automatically
   by the PDF exporter too, since it reads each element's live computed font-weight - no
   PDF-generator changes needed for this to work in the export as well as the live preview. */
.pmh-gl-md [data-bold="1"]{font-weight:700!important;}

/* Berkshire Hathaway brand layout - Cover, Stats, Office pages */
.pmh-berkshire-logo{position:absolute;left:58px;z-index:5;text-align:left;line-height:1.15;font-family:BerkshireSans,Arial,sans-serif}
.pmh-berkshire-logo img{max-width:100%;max-height:120px;object-fit:contain;display:block}
.pmh-berkshire-logo span{display:block;font-weight:700;font-size:30px;letter-spacing:.5px;text-transform:uppercase}
.pmh-berkshire-logo em{display:block;font-style:normal;font-weight:400;font-size:14px;letter-spacing:6px;margin-top:8px;text-transform:uppercase}
.pmh-berkshire-cover-photo{position:absolute;object-fit:cover;z-index:1}
.pmh-berkshire-cover-shade{position:absolute;inset:0;z-index:2}
.pmh-berkshire-cover-rule{position:absolute;z-index:5}
.pmh-berkshire-cover-franchise{position:absolute;z-index:5;font-family:BerkshireSans,Arial,sans-serif;font-weight:400}
.pmh-berkshire-cover-gl{position:absolute;left:0;width:794px;text-align:center;z-index:5}
.pmh-berkshire-cover-tag{position:absolute;left:0;bottom:38px;width:794px;text-align:center;z-index:5;font-size:10px;letter-spacing:1px;color:#fff;font-family:BerkshireSans,Arial,sans-serif}
.pmh-berkshire-stat-grid{position:absolute;left:80px;right:80px;display:grid;grid-template-columns:1fr 1fr;gap:40px 60px;z-index:4;text-align:center}
.pmh-berkshire-stat-grid b{display:block;font-family:BerkshireSerif,Georgia,serif;font-size:44px;font-weight:400;line-height:1;margin-bottom:10px}
.pmh-berkshire-stat-grid span{display:block;font-family:BerkshireSans,Arial,sans-serif;font-size:13px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#222}
.pmh-berkshire-stats-photo{position:absolute;object-fit:cover;z-index:1}
.pmh-berkshire-office-bg{position:absolute;inset:0;background-position:center;background-size:cover;z-index:0}
.pmh-berkshire-office-location{position:absolute;left:0;width:794px;text-align:center;z-index:4;font-family:BerkshireSans,Arial,sans-serif;font-weight:400}
.pmh-berkshire-office h2{position:absolute;left:0;width:794px;text-align:center;z-index:4;font-family:BerkshireSerif,Georgia,serif;font-weight:400}
.pmh-berkshire-stats .pmh-berkshire-logo,.pmh-berkshire-office .pmh-berkshire-logo{text-align:center}
.pmh-gl-md .pmh-colour-row{display:flex;gap:8px;align-items:center}
.pmh-gl-md .pmh-colour-row input[type=color]{width:44px;height:38px;padding:2px;flex:none}
.pmh-gl-md .pmh-colour-row input[type=text]{flex:1;font-family:monospace;text-transform:uppercase}
.pmh-gl-md .pmh-stats-client-logo{position:absolute;object-fit:contain;z-index:2}
.pmh-gl-md .pmh-office-subheading{position:absolute;width:794px;text-align:center;z-index:4;font-family:var(--md-heading);font-weight:700}

/* Welcome / About Us page (new page type) */
.pmh-gl-md .pmh-welcome{background:#fff;color:#222;text-align:center;position:relative}
.pmh-gl-md .pmh-welcome-heading{position:absolute;left:0;width:794px;text-align:center;font-weight:700;line-height:1.25;font-family:var(--md-heading);z-index:3}
.pmh-gl-md .pmh-welcome-intro{position:absolute;text-align:left;font-family:var(--md-font);z-index:3}
.pmh-gl-md .pmh-welcome-script{position:absolute;left:0;width:794px;text-align:center;font-style:italic;font-family:Georgia,serif;z-index:3}
.pmh-gl-md .pmh-welcome-about-heading,.pmh-gl-md .pmh-welcome-lifestyle-heading{position:absolute;left:0;width:794px;text-align:center;font-weight:700;font-family:var(--md-heading);z-index:3}
.pmh-gl-md .pmh-welcome-stat{position:absolute;z-index:3}
.pmh-gl-md .pmh-welcome-stat b{display:block;line-height:1;font-family:var(--md-heading);font-weight:700;margin-bottom:8px}
.pmh-gl-md .pmh-welcome-stat span{display:block;font-family:var(--md-font)}
.pmh-gl-md .pmh-welcome-feature{position:absolute;z-index:3}
.pmh-gl-md .pmh-welcome-feature h3{margin:0 0 8px;font-weight:700;font-family:var(--md-heading)}
.pmh-gl-md .pmh-welcome-feature p{margin:0;font-family:var(--md-font)}
.pmh-gl-md .pmh-welcome-lifestyle-intro,.pmh-gl-md .pmh-welcome-lifestyle-list{position:absolute;left:0;width:794px;text-align:center;font-family:var(--md-font)}
.pmh-gl-md .pmh-welcome-lifestyle-list{line-height:1.7}
.pmh-gl-md .pmh-welcome-script-img{position:absolute;object-fit:contain;z-index:3}

/* Full Page Photo + Logo (new page type) */
.pmh-gl-md .pmh-photofeature{background:#000;position:relative;overflow:hidden}
.pmh-gl-md .pmh-photofeature-bg{position:absolute;object-fit:cover;z-index:1}
.pmh-gl-md .pmh-photofeature-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#888;font:600 20px Arial,sans-serif;background:#eee}
.pmh-gl-md .pmh-photofeature-overlay{position:absolute;inset:0;z-index:2}
.pmh-gl-md .pmh-photofeature-logo{position:absolute;object-fit:contain;z-index:3}
.pmh-gl-md .pmh-photofeature-tagline{position:absolute;text-align:center;z-index:3;font-family:var(--md-heading)}
.pmh-gl-md .pmh-full-ad-seniorliving-img{position:absolute;object-fit:cover;z-index:1}
.pmh-gl-md .pmh-full-ad-seniorliving-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#888;font:600 20px Arial,sans-serif;background:#eee}

.pmh-gl-md .pmh-template-history-panel{margin:10px 0;padding:14px 16px;border:1px solid #ccd0d4;background:#fff;border-radius:6px}
.pmh-gl-md .pmh-template-history-panel table{width:100%;border-collapse:collapse;margin:8px 0}
.pmh-gl-md .pmh-template-history-panel td,.pmh-gl-md .pmh-template-history-panel th{padding:6px 8px;border-bottom:1px solid #eee;text-align:left;font-size:13px}
.pmh-gl-md .pmh-history-warn{color:#b32d2e}

/* ---- v2.16 page elements / modes ---- */
.pmh-gl-md .pmh-mode-switch{display:inline-flex;align-items:center;gap:6px;margin-right:10px;font-weight:600}
.pmh-gl-md .pmh-ce{cursor:move}
.pmh-gl-md.pmh-mode-user .pmh-ce{cursor:default}
.pmh-gl-md .pmh-ce.pmh-ce-empty{display:flex;align-items:center;justify-content:center;background:repeating-linear-gradient(45deg,#f2f2f2,#f2f2f2 8px,#e6e6e6 8px,#e6e6e6 16px);color:#777;font:600 13px Arial,sans-serif;border:1px dashed #aaa}
.pmh-gl-md .pmh-ce-frame{position:absolute;z-index:9998;outline:1.5px solid #2271b1;pointer-events:none;box-sizing:border-box}
.pmh-gl-md .pmh-ce-handle{position:absolute;width:10px;height:10px;background:#fff;border:1.5px solid #2271b1;border-radius:2px;pointer-events:auto;box-sizing:border-box}
.pmh-gl-md .pmh-ce-h-nw{left:-6px;top:-6px;cursor:nwse-resize}.pmh-gl-md .pmh-ce-h-n{left:calc(50% - 5px);top:-6px;cursor:ns-resize}.pmh-gl-md .pmh-ce-h-ne{right:-6px;top:-6px;cursor:nesw-resize}
.pmh-gl-md .pmh-ce-h-e{right:-6px;top:calc(50% - 5px);cursor:ew-resize}.pmh-gl-md .pmh-ce-h-se{right:-6px;bottom:-6px;cursor:nwse-resize}.pmh-gl-md .pmh-ce-h-s{left:calc(50% - 5px);bottom:-6px;cursor:ns-resize}
.pmh-gl-md .pmh-ce-h-sw{left:-6px;bottom:-6px;cursor:nesw-resize}.pmh-gl-md .pmh-ce-h-w{left:-6px;top:calc(50% - 5px);cursor:ew-resize}
.pmh-gl-md .pmh-ce-guide{position:absolute;z-index:9997;background:#d63638;pointer-events:none}
.pmh-gl-md .pmh-ce-guide-v{top:0;bottom:0;width:1px}.pmh-gl-md .pmh-ce-guide-h{left:0;right:0;height:1px}
.pmh-gl-md .pmh-ce-add{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.pmh-gl-md .pmh-ce-layers{list-style:none;margin:10px 0;padding:0;border:1px solid #dcdcde;border-radius:4px}
.pmh-gl-md .pmh-ce-layers li{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:6px 8px;border-bottom:1px solid #eee;font-size:13px}
.pmh-gl-md .pmh-ce-layers li:last-child{border-bottom:0}
.pmh-gl-md .pmh-ce-layers li.active{background:#e7f1fa}
.pmh-gl-md .pmh-ce-layers li.is-hidden .pmh-ce-name{opacity:.45;text-decoration:line-through}
.pmh-gl-md .pmh-ce-name{flex:1;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pmh-gl-md .pmh-ce-row-tools button{border:1px solid #c3c4c7;background:#fff;border-radius:3px;font-size:11px;padding:1px 5px;cursor:pointer;margin-left:2px}
.pmh-gl-md .pmh-ce-row-tools button:disabled{opacity:.35;cursor:default}
.pmh-gl-md .pmh-ce-geom{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
.pmh-gl-md .pmh-ce-check{display:block;margin:6px 0;font-size:13px}
.pmh-gl-md .pmh-ce-align{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.pmh-gl-md .pmh-ce-user-item{border:1px solid #eee;border-radius:4px;padding:8px 10px;margin:8px 0}
/* User mode: only the content people normally change */
.pmh-gl-md.pmh-mode-user .pmh-range,.pmh-gl-md.pmh-mode-user .pmh-colour-field,.pmh-gl-md.pmh-mode-user .pmh-font-field,
.pmh-gl-md.pmh-mode-user .pmh-settings-section.pmh-user-empty,.pmh-gl-md.pmh-mode-user .pmh-save-template,.pmh-gl-md.pmh-mode-user .pmh-template-history,
.pmh-gl-md.pmh-mode-user .pmh-sidebar nav [data-section="gl"],.pmh-gl-md.pmh-mode-user .pmh-page-text-colours,.pmh-gl-md.pmh-mode-user .pmh-export-deck{display:none!important}

/* ---- v2.17 Engel & Völkers layout pack ---- */
.pmh-gl-md .pmh-page.pmh-simple{background:var(--md-page-bg,#fff)}
.pmh-gl-md .pmh-ev-stats{position:relative;overflow:hidden}
.pmh-gl-md .pmh-ev-stats-head{position:absolute;left:0;width:794px;text-align:center;text-transform:uppercase}
.pmh-gl-md .pmh-ev-stats-divider{position:absolute}
.pmh-gl-md .pmh-ev-stat{position:absolute;text-align:center}
.pmh-gl-md .pmh-ev-stat-value{line-height:1}
.pmh-gl-md .pmh-ev-stat-label{line-height:1.3;margin-top:10px}
.pmh-gl-md .pmh-ev-stats-img{position:absolute;object-fit:cover}

/* ---- v2.18 price line editor ---- */
.pmh-gl-md .pmh-price-lines{margin:8px 0}
.pmh-gl-md .pmh-price-line{border:1px solid #e3e3e3;border-radius:4px;padding:6px 8px;margin-bottom:6px;background:#fff}
.pmh-gl-md .pmh-price-line-head{display:flex;align-items:center;gap:6px}
.pmh-gl-md .pmh-price-line-head input.pmh-price-label{flex:2;min-width:0}
.pmh-gl-md .pmh-price-line-head input.pmh-price-value{flex:1;min-width:0}
.pmh-gl-md .pmh-price-line-tools button{border:1px solid #c3c4c7;background:#fff;border-radius:3px;font-size:11px;padding:1px 5px;cursor:pointer}
.pmh-gl-md .pmh-price-line-tools button:disabled{opacity:.35;cursor:default}
.pmh-gl-md .pmh-price-line-pos{display:grid;grid-template-columns:1fr 1fr;gap:0 10px;margin-top:4px}

.pmh-gl-md .pmh-fact-strip b{color:inherit}
.pmh-gl-md .pmh-ev-stats-img-empty{display:flex;align-items:center;justify-content:center;text-align:center;padding:12px;box-sizing:border-box;background:repeating-linear-gradient(45deg,#ececec,#ececec 10px,#e2e2e2 10px,#e2e2e2 20px);border:1px dashed #b5b5b5;color:#666;font:600 13px Arial,sans-serif}
/* Senior Living template (v2.20.0) */
@font-face{font-family:'SeniorSerif';src:url('fonts/Marcellus-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
.pmh-gl-md .pmh-ce-icon svg{pointer-events:none;flex:none}
.pmh-gl-md .pmh-ce-fallback{overflow:hidden}
.pmh-gl-md .pmh-panel-branding code{background:#eef1f4;padding:1px 4px;border-radius:3px;font-size:12px}
/* Page Elements panel readability (v2.20.1) - hardened against theme/builder styles */
.pmh-gl-md .pmh-ce-props{border:1px solid #c3c4c7;border-left:4px solid #2271b1;border-radius:6px;padding:10px 12px;margin:10px 0 14px;background:#fff}
.pmh-gl-md .pmh-ce-props-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;font-size:14px;color:#1d2327}
.pmh-gl-md .pmh-ce-props-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pmh-gl-md .pmh-ce-layers-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}
.pmh-gl-md .pmh-ce-layers-head input{flex:1;max-width:190px;padding:5px 8px;border:1px solid #ccc;border-radius:5px;font-size:13px}
.pmh-gl-md ul.pmh-ce-layers{max-height:320px;overflow-y:auto}
.pmh-gl-md ul.pmh-ce-layers li{list-style:none!important;margin:0!important}
.pmh-gl-md ul.pmh-ce-layers li .pmh-ce-name{display:block!important;flex:1 1 auto!important;min-width:0!important;color:#1d2327!important;font:13px/1.35 Arial,sans-serif!important;visibility:visible!important;opacity:1!important;text-indent:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pmh-gl-md ul.pmh-ce-layers li .pmh-ce-type{display:inline-block;font-style:normal;font-size:10px!important;color:#50575e!important;background:#f0f0f1;border-radius:3px;padding:0 4px;margin-right:6px;text-transform:uppercase;letter-spacing:.4px}
.pmh-gl-md ul.pmh-ce-layers li.is-hidden .pmh-ce-name{opacity:.45!important}
.pmh-gl-md ul.pmh-ce-layers li .pmh-ce-row-tools{flex:0 0 auto;white-space:nowrap}
.pmh-gl-md .pmh-ce-props .pmh-field label,.pmh-gl-md .pmh-ce-props .pmh-ce-check{color:#1d2327!important;font-size:13px!important}
