.hpm-manager-shell,.hpm-login-wrap{--hpm-green:#0f382c;--hpm-green2:#174d3d;--hpm-gold:#c5a059;--hpm-bg:#f8fafc;--hpm-border:#e2e8f0;font-family:"Mulish",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1e293b!important;box-sizing:border-box}.hpm-manager-shell *,.hpm-login-wrap *{box-sizing:border-box}.hpm-manager-shell{max-width:1180px;margin:24px auto 60px;padding:0 15px;background:#fff!important;color:#1e293b!important;border-radius:16px}.hpm-manager-header{background:linear-gradient(135deg,var(--hpm-green),#275849);color:#fff;border-radius:16px 16px 0 0;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 18px 42px rgba(23,61,50,.16)}.hpm-manager-header>div:first-child{display:flex;gap:16px;align-items:center}.hpm-manager-icon,.hpm-login-icon{font-size:34px}.hpm-kicker{text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:800;color:#d9c789}.hpm-manager-header h1,.hpm-login-card h1{margin:3px 0 4px}.hpm-manager-header p{margin:0;color:#d7e4df}.hpm-header-actions{display:flex;gap:10px;flex-wrap:wrap}.hpm-btn{appearance:none;border:0;border-radius:10px;padding:10px 15px;font:inherit;font-weight:800;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;line-height:1.2}.hpm-btn-primary{background:var(--hpm-green);color:#fff!important}.hpm-btn-primary:hover{background:var(--hpm-green2)}.hpm-btn-secondary{background:#fff;color:var(--hpm-green)!important;border:1px solid var(--hpm-border)}.hpm-btn-ghost{background:#edf3f1;color:var(--hpm-green)!important}.hpm-manager-header .hpm-btn-ghost{background:rgba(255,255,255,.12);color:#fff!important}.hpm-btn-danger{background:#fff1f0;color:#a52a24!important;border:1px solid #f2c6c3}.hpm-btn-block{width:100%}.hpm-tabs{display:flex;gap:0;flex-wrap:wrap;margin:0;background:#fff;padding:0 14px;border:1px solid var(--hpm-border);border-top:0;border-radius:0;overflow-x:auto}.hpm-tabs a{padding:14px 16px;border-radius:0;color:#64748b!important;text-decoration:none!important;font-weight:700;border-bottom:3px solid transparent}.hpm-tabs a.is-active{background:#fff;color:var(--hpm-green)!important;border-bottom-color:var(--hpm-gold)}.hpm-tabs .hpm-tab-logout{margin-left:auto;background:#fff1f0;color:#a52a24!important;border:1px solid #f2c6c3}.hpm-tabs .hpm-tab-logout:hover{background:#fde7e5;color:#84211c!important}.hpm-manager-main{background:#fff!important;color:#1e293b!important;border-radius:0 0 14px 14px;padding:22px 0 0;margin-top:0}.hpm-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.hpm-toolbar h2{margin:0;color:var(--hpm-green)}.hpm-toolbar p{margin:4px 0 0;color:#6c7b76}.hpm-notice{padding:13px 15px;border-radius:10px;margin:16px 0;font-weight:700}.hpm-notice.is-success{background:#e8f5ed;color:#21663e;border:1px solid #bfe1cb}.hpm-notice.is-error{background:#fff0ef;color:#8c2f2a;border:1px solid #f0c4c1}.hpm-promo-list{display:grid;gap:12px}.hpm-promo-row{background:#fff;border:1px solid var(--hpm-border);border-radius:14px;padding:12px;display:grid;grid-template-columns:96px 1fr auto;gap:16px;align-items:center}.hpm-row-thumb{width:96px;height:78px;border-radius:10px;background:#eef2f0;overflow:hidden;display:grid;place-items:center;color:#87958f;font-size:12px}.hpm-row-thumb button{width:100%;height:100%;border:0;padding:0;cursor:zoom-in;background:transparent}.hpm-row-thumb img{width:100%;height:100%;object-fit:contain}.hpm-row-titleline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hpm-row-titleline h3{margin:0;color:var(--hpm-green);font-size:18px}.hpm-row-meta{display:flex;gap:14px;flex-wrap:wrap;margin-top:7px;color:#687771;font-size:13px}.hpm-row-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.hpm-row-actions form{margin:0}.hpm-state{font-size:11px;font-weight:800;padding:5px 8px;border-radius:999px;background:#edf2f0;color:#56645f}.hpm-state.is-active{background:#e3f4e9;color:#22683f}.hpm-state.is-scheduled{background:#e7effc;color:#315c96}.hpm-state.is-expired{background:#f2f0ed;color:#73685a}.hpm-state.is-inactive{background:#fbe8e6;color:#8d3b35}.hpm-state.is-featured{background:#f4ebcf;color:#725a21}.hpm-empty{background:#fff;border:1px dashed #cbd8d4;border-radius:14px;text-align:center;padding:40px}.hpm-form-card{background:#fff;border:1px solid var(--hpm-border);border-radius:16px;padding:22px}.hpm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.hpm-form-section{border:1px solid #e2e9e6;border-radius:13px;padding:18px}.hpm-form-section h3{margin:0 0 15px;color:var(--hpm-green);font-size:16px}.hpm-span-2{grid-column:span 2}.hpm-fields.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hpm-form-card label,.hpm-login-form label{display:block;font-weight:800;font-size:13px;color:#42534d;margin-bottom:13px}.hpm-form-card input[type=text],.hpm-form-card input[type=url],.hpm-form-card input[type=number],.hpm-form-card input[type=datetime-local],.hpm-form-card input[type=file],.hpm-form-card select,.hpm-form-card textarea,.hpm-login-form input[type=text],.hpm-login-form input[type=password]{width:100%;margin-top:6px;border:1px solid #cfd9d6;border-radius:9px;padding:11px 12px;background:#fff;color:#20302b;font:inherit;box-sizing:border-box}.hpm-form-card textarea{resize:vertical}.hpm-field-help-top{margin-top:-4px}.hpm-event-dates{display:grid;gap:10px;margin:12px 0}.hpm-event-date-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr) 38px;gap:10px;align-items:end;background:#f7f9f8;border:1px solid #e3eae7;border-radius:10px;padding:10px}.hpm-event-date-row label{margin-bottom:0}.hpm-optional{font-weight:500;color:#7b8984}.hpm-remove-date{width:38px;height:42px;border:1px solid #edc9c5;border-radius:8px;background:#fff2f0;color:#9c3029;font-size:22px;cursor:pointer}.hpm-remove-date:hover{background:#fde4e1}.hpm-add-date{margin-bottom:10px}.hpm-schedule-group{border-bottom:1px solid #edf1ef;padding:2px 0 12px;margin-bottom:12px}.hpm-schedule-group>strong{display:block;color:#42534d;font-size:13px;margin-bottom:4px}.hpm-schedule-fields{display:grid;grid-template-columns:1.4fr .8fr;gap:10px}.hpm-schedule-fields label{margin-bottom:0}.hpm-check{display:flex!important;align-items:flex-start;gap:8px;font-weight:700!important}.hpm-check input{margin-top:3px}.hpm-field-help{font-size:12px;color:#75847e;line-height:1.5}.hpm-current-image{max-width:300px;background:#eef3f1;border-radius:12px;padding:8px;margin-bottom:12px}.hpm-current-image button{border:0;padding:0;width:100%;background:transparent;cursor:zoom-in}.hpm-current-image img{display:block;max-width:100%;height:auto;max-height:260px;object-fit:contain;margin:auto}.hpm-style-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:8px}.hpm-style-group{background:#f7f9f8;border:1px solid #e3eae7;border-radius:11px;padding:14px}.hpm-style-group h4{margin:0 0 12px;color:var(--hpm-green);font-size:14px}.hpm-style-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hpm-style-fields label{margin-bottom:0}.hpm-form-card input[type=color]{width:100%;height:43px;margin-top:6px;border:1px solid #cfd9d6;border-radius:9px;padding:4px;background:#fff;box-sizing:border-box;cursor:pointer}.hpm-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.hpm-shortcode-box{margin-top:18px;background:#f3f6f5;border-radius:12px;padding:15px;display:grid;gap:8px}.hpm-shortcode-box code{display:inline-block;background:#173d32;color:#fff;padding:7px 9px;border-radius:6px;word-break:break-word}.hpm-example-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.hpm-example-grid article{background:#fff;border:1px solid var(--hpm-border);border-radius:14px;padding:12px}.hpm-example-grid button{display:flex;width:100%;height:220px;border:0;border-radius:10px;background:#eef3f1;padding:0;align-items:center;justify-content:center;overflow:hidden;cursor:zoom-in}.hpm-example-grid img{width:100%;height:100%;object-fit:contain}.hpm-example-grid h3{margin:12px 0 4px;color:var(--hpm-green);font-size:16px}.hpm-example-grid p{margin:0;color:#697872;font-size:13px}.hpm-login-wrap{max-width:520px;margin:55px auto;padding:0 18px}.hpm-login-card{background:#fff;border:1px solid var(--hpm-border);border-radius:18px;padding:30px;box-shadow:0 20px 55px rgba(23,61,50,.12);text-align:center}.hpm-login-card h1{color:var(--hpm-green)}.hpm-login-card>p{color:#697872}.hpm-login-form{text-align:left;margin-top:24px}.hpm-password-wrap{display:flex;position:relative}.hpm-password-wrap input{padding-right:50px!important}.hpm-password-toggle{position:absolute;right:5px;top:11px;border:0;background:transparent;cursor:pointer;font-size:18px}.hpm-help{font-size:12px;margin:18px 0 0}.hpm-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.9);display:none;align-items:center;justify-content:center;padding:30px}.hpm-lightbox.is-open{display:flex}.hpm-lightbox-inner{position:relative;max-width:94vw;max-height:94vh;display:flex;flex-direction:column;align-items:center}.hpm-lightbox img{max-width:92vw;max-height:84vh;width:auto;height:auto;object-fit:contain;border-radius:10px}.hpm-lightbox-caption{color:#fff;margin-top:12px}.hpm-lightbox-close,.hpm-lightbox-prev,.hpm-lightbox-next{position:fixed;border:0;background:rgba(255,255,255,.15);color:#fff;cursor:pointer;border-radius:50%;display:grid;place-items:center}.hpm-lightbox-close{top:18px;right:18px;width:46px;height:46px;font-size:28px}.hpm-lightbox-prev,.hpm-lightbox-next{top:50%;transform:translateY(-50%);width:50px;height:50px;font-size:30px}.hpm-lightbox-prev{left:18px}.hpm-lightbox-next{right:18px}@media(max-width:850px){.hpm-style-controls{grid-template-columns:1fr}.hpm-style-fields{grid-template-columns:1fr 1fr}.hpm-event-date-row{grid-template-columns:1fr 1fr 38px}.hpm-schedule-fields{grid-template-columns:1fr 1fr}.hpm-manager-header{align-items:flex-start;flex-direction:column}.hpm-promo-row{grid-template-columns:82px 1fr}.hpm-row-thumb{width:82px;height:72px}.hpm-row-actions{grid-column:1/-1;justify-content:flex-start}.hpm-form-grid{grid-template-columns:1fr}.hpm-span-2{grid-column:auto}.hpm-fields.two{grid-template-columns:1fr}.hpm-example-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.hpm-tabs .hpm-tab-logout{margin-left:0}.hpm-style-fields{grid-template-columns:1fr}.hpm-event-date-row{grid-template-columns:1fr 1fr}.hpm-event-date-row .hpm-remove-date{grid-column:2;justify-self:end}.hpm-schedule-fields{grid-template-columns:1fr}.hpm-manager-shell{padding:0 10px}.hpm-manager-main{padding:14px}.hpm-toolbar{align-items:flex-start;flex-direction:column}.hpm-promo-row{grid-template-columns:70px 1fr}.hpm-row-thumb{width:70px;height:64px}.hpm-row-meta{gap:8px}.hpm-row-actions .hpm-btn{font-size:12px;padding:9px 10px}.hpm-example-grid{grid-template-columns:1fr}.hpm-form-card{padding:14px}}
html body .hpm-manager-shell,html body .hpm-login-wrap{color:#1e293b!important}html body .hpm-manager-shell p,html body .hpm-login-wrap p{color:#64748b}html body .hpm-manager-header p{color:#d6e4df!important}html body .hpm-form-card,html body .hpm-form-section,html body .hpm-promo-row,html body .hpm-toolbar,html body .hpm-empty{background:#fff;color:#1e293b}.hpm-media-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 5px}.hpm-media-actions [hidden]{display:none!important}.hpm-media-status{display:block;color:#166534;font-weight:700;margin:4px 0 8px}.hpm-photo-or{display:flex;align-items:center;gap:10px;color:#94a3b8;font-size:12px;margin:10px 0}.hpm-photo-or:before,.hpm-photo-or:after{content:"";height:1px;background:#e2e8f0;flex:1}.hpm-photo-or span{white-space:nowrap}.hpm-image-placeholder{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#94a3b8;font-size:28px}.hpm-image-placeholder small{font-size:12px}.hpm-current-image>img{display:block;max-width:100%;height:auto;max-height:260px;object-fit:contain;margin:auto}
/* v1.2.4: force Menu Manager-style light form controls against theme overrides */
html body .hpm-manager-shell .hpm-form-card input[type="text"],html body .hpm-manager-shell .hpm-form-card input[type="url"],html body .hpm-manager-shell .hpm-form-card input[type="number"],html body .hpm-manager-shell .hpm-form-card input[type="search"],html body .hpm-manager-shell .hpm-form-card input[type="date"],html body .hpm-manager-shell .hpm-form-card input[type="time"],html body .hpm-manager-shell .hpm-form-card input[type="datetime-local"],html body .hpm-manager-shell .hpm-form-card select,html body .hpm-manager-shell .hpm-form-card textarea{background:#fff!important;color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;border:1px solid #cbd5e1!important;box-shadow:none!important;color-scheme:light!important}
html body .hpm-manager-shell .hpm-form-card input::placeholder,html body .hpm-manager-shell .hpm-form-card textarea::placeholder{color:#94a3b8!important;-webkit-text-fill-color:#94a3b8!important;opacity:1!important}
html body .hpm-manager-shell .hpm-form-card input:focus,html body .hpm-manager-shell .hpm-form-card select:focus,html body .hpm-manager-shell .hpm-form-card textarea:focus{outline:0!important;border-color:#0f382c!important;box-shadow:0 0 0 3px rgba(15,56,44,.1)!important}

/* v1.2.4 dedicated front-end Media Library browser */
body.hpm-media-open{overflow:hidden!important}.hpm-media-modal[hidden]{display:none!important}.hpm-media-modal{position:fixed;inset:0;z-index:1000000;background:rgba(15,23,42,.64);display:flex;align-items:center;justify-content:center;padding:22px}.hpm-media-dialog{width:min(1120px,96vw);max-height:90vh;overflow:hidden;background:#fff;border-radius:16px;box-shadow:0 28px 90px rgba(0,0,0,.32);display:flex;flex-direction:column;color:#0f172a}.hpm-media-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:20px 22px 16px;border-bottom:1px solid #e2e8f0}.hpm-media-head h2{margin:0 0 5px!important;color:#0f382c!important;font-size:1.45rem!important}.hpm-media-head p{margin:0;color:#64748b}.hpm-media-close{border:0;background:#f1f5f9;color:#334155;width:38px;height:38px;border-radius:50%;font-size:26px;line-height:1;cursor:pointer}.hpm-media-tools{display:flex;gap:10px;padding:15px 22px 0}.hpm-media-search{flex:1;min-height:44px;border:1px solid #cbd5e1!important;border-radius:9px!important;background:#fff!important;color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;padding:10px 13px!important;font:inherit!important;box-shadow:none!important;color-scheme:light!important}.hpm-media-message{padding:10px 22px 4px;color:#64748b;font-size:.9rem}.hpm-media-grid{padding:12px 22px 18px;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:14px;overflow:auto;min-height:280px}.hpm-media-tile{appearance:none;border:2px solid transparent;background:#f8fafc;border-radius:12px;padding:8px;cursor:pointer;text-align:left;color:#334155;transition:.15s}.hpm-media-tile:hover{border-color:#c5a059;background:#fff}.hpm-media-tile.is-selected{border-color:#0f382c;box-shadow:0 0 0 3px rgba(15,56,44,.12);background:#fff}.hpm-media-tile img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px;background:#e2e8f0}.hpm-media-tile span{display:block;margin-top:7px;font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hpm-media-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 22px 18px;border-top:1px solid #e2e8f0;background:#fff}.hpm-media-footer-actions{display:flex;gap:10px;margin-left:auto}.hpm-media-use:disabled{opacity:.45;cursor:not-allowed}@media(max-width:640px){.hpm-media-modal{padding:8px}.hpm-media-dialog{max-height:96vh}.hpm-media-tools{flex-direction:column}.hpm-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-left:14px;padding-right:14px}.hpm-media-footer{align-items:stretch;flex-direction:column}.hpm-media-footer-actions{width:100%;margin-left:0}.hpm-media-footer-actions .hpm-btn,.hpm-media-more{flex:1}}


/* v1.2.5 — full Menu Manager visual parity + theme-proof sizing */
html body .hpm-login-wrap{
  max-width:520px!important;
  margin:45px auto!important;
  padding:20px!important;
  font-family:"Mulish",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  color:#1e293b!important;
}
html body .hpm-login-card{
  background:#fff!important;
  color:#1e293b!important;
  border:1px solid #e2e8f0!important;
  border-radius:18px!important;
  padding:34px!important;
  box-shadow:0 18px 55px rgba(15,56,44,.12)!important;
  text-align:left!important;
  width:100%!important;
  max-width:none!important;
}
html body .hpm-login-icon{
  width:58px!important;
  height:58px!important;
  border-radius:16px!important;
  background:#0f382c!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:28px!important;
  line-height:1!important;
  margin:0 0 20px!important;
}
html body .hpm-login-card .hpm-kicker{
  display:block!important;
  color:#b88935!important;
  text-transform:uppercase!important;
  letter-spacing:1.7px!important;
  font-weight:800!important;
  font-size:.74rem!important;
  line-height:1.3!important;
}
html body .hpm-login-card h1{
  margin:5px 0 8px!important;
  padding:0!important;
  color:#0f382c!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:2rem!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  text-transform:none!important;
  text-align:left!important;
}
html body .hpm-login-card>p:not(.hpm-help){
  color:#64748b!important;
  font-size:1rem!important;
  line-height:1.55!important;
  margin:0 0 24px!important;
  text-align:left!important;
}
html body .hpm-login-form{
  display:grid!important;
  gap:17px!important;
  margin-top:0!important;
  text-align:left!important;
}
html body .hpm-login-form>label:not(.hpm-check){
  display:grid!important;
  gap:7px!important;
  margin:0!important;
  font-weight:700!important;
  font-size:.9rem!important;
  line-height:1.35!important;
  color:#334155!important;
}
html body .hpm-login-form input[type="text"],
html body .hpm-login-form input[type="password"]{
  width:100%!important;
  min-height:44px!important;
  height:auto!important;
  margin:0!important;
  border:1px solid #cbd5e1!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#0f172a!important;
  -webkit-text-fill-color:#0f172a!important;
  padding:11px 13px!important;
  font:inherit!important;
  font-size:.95rem!important;
  line-height:1.35!important;
  box-shadow:none!important;
  outline:0!important;
  color-scheme:light!important;
}
html body .hpm-login-form input[type="text"]:focus,
html body .hpm-login-form input[type="password"]:focus{
  border-color:#0f382c!important;
  box-shadow:0 0 0 3px rgba(15,56,44,.1)!important;
}
html body .hpm-password-wrap{position:relative!important;display:block!important;width:100%!important}
html body .hpm-password-wrap input{padding-right:48px!important}
html body .hpm-password-toggle{
  position:absolute!important;
  right:7px!important;
  top:5px!important;
  width:34px!important;
  height:34px!important;
  padding:0!important;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#475569!important;
  -webkit-text-fill-color:#475569!important;
  font-size:16px!important;
  line-height:1!important;
  cursor:pointer!important;
}
html body .hpm-login-form .hpm-check{
  display:flex!important;
  align-items:flex-start!important;
  gap:8px!important;
  margin:0!important;
  color:#475569!important;
  font-size:.88rem!important;
  font-weight:400!important;
  line-height:1.4!important;
}
html body .hpm-login-form .hpm-check input[type="checkbox"]{
  width:auto!important;
  min-height:0!important;
  margin:3px 0 0!important;
  accent-color:#0f382c!important;
}
html body .hpm-login-card .hpm-btn-block{
  width:100%!important;
  min-height:44px!important;
  padding:12px 16px!important;
  border-radius:8px!important;
  font-size:.92rem!important;
}
html body .hpm-login-card .hpm-help{
  color:#94a3b8!important;
  font-size:.8rem!important;
  line-height:1.45!important;
  margin:20px 0 0!important;
  text-align:center!important;
}

/* Match the Menu Manager shell/header typography and overall scale. */
html body .hpm-manager-shell{
  max-width:1180px!important;
  margin:24px auto 60px!important;
  padding:0 15px!important;
  background:transparent!important;
  color:#1e293b!important;
  font-family:"Mulish",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
html body .hpm-manager-header{
  background:linear-gradient(135deg,#0f382c,#174d3d)!important;
  color:#fff!important;
  padding:20px 22px!important;
  border-radius:16px 16px 0 0!important;
  gap:18px!important;
  box-shadow:none!important;
}
html body .hpm-manager-icon{
  width:44px!important;
  height:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 44px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
  font-size:23px!important;
  line-height:1!important;
}
html body .hpm-manager-header .hpm-kicker{
  color:#d6e4df!important;
  font-size:.74rem!important;
  line-height:1.2!important;
  letter-spacing:1px!important;
  font-weight:700!important;
}
html body .hpm-manager-header h1{
  margin:2px 0 3px!important;
  padding:0!important;
  color:#fff!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:1.2rem!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
html body .hpm-manager-header p{
  margin:0!important;
  color:#d6e4df!important;
  font-size:.84rem!important;
  line-height:1.4!important;
}
html body .hpm-tabs{
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  border-top:0!important;
  padding:0 14px!important;
}
html body .hpm-tabs a{
  padding:14px 16px!important;
  color:#64748b!important;
  font-size:.88rem!important;
  line-height:1.2!important;
  font-weight:700!important;
}
html body .hpm-tabs a.is-active{color:#0f382c!important;border-bottom-color:#c5a059!important}
html body .hpm-manager-main{
  margin-top:22px!important;
  padding:0!important;
  background:transparent!important;
  color:#1e293b!important;
  border-radius:0!important;
}
html body .hpm-form-card{
  background:#fff!important;
  color:#1e293b!important;
  border:1px solid #e2e8f0!important;
  border-radius:14px!important;
  padding:24px!important;
  box-shadow:0 7px 25px rgba(15,23,42,.045)!important;
}
html body .hpm-form-section{
  background:#fff!important;
  color:#1e293b!important;
  border:1px solid #e2e8f0!important;
  border-radius:12px!important;
  padding:18px!important;
}
html body .hpm-form-section h3{
  margin:0 0 15px!important;
  color:#0f382c!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:1.05rem!important;
  font-weight:700!important;
  line-height:1.25!important;
}
html body .hpm-toolbar h2{
  color:#0f382c!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:1.65rem!important;
  font-weight:700!important;
  line-height:1.2!important;
}
html body .hpm-toolbar p{color:#64748b!important;font-size:.9rem!important;line-height:1.45!important}
html body .hpm-form-card label{
  color:#334155!important;
  font-size:.9rem!important;
  line-height:1.35!important;
}

/* Theme-proof every Promotion Manager control, not only date/time fields. */
html body .hpm-manager-shell .hpm-form-card input[type="text"],
html body .hpm-manager-shell .hpm-form-card input[type="password"],
html body .hpm-manager-shell .hpm-form-card input[type="email"],
html body .hpm-manager-shell .hpm-form-card input[type="url"],
html body .hpm-manager-shell .hpm-form-card input[type="number"],
html body .hpm-manager-shell .hpm-form-card input[type="search"],
html body .hpm-manager-shell .hpm-form-card input[type="date"],
html body .hpm-manager-shell .hpm-form-card input[type="time"],
html body .hpm-manager-shell .hpm-form-card input[type="datetime-local"],
html body .hpm-manager-shell .hpm-form-card select,
html body .hpm-manager-shell .hpm-form-card textarea{
  width:100%!important;
  min-height:44px!important;
  height:auto!important;
  margin-top:6px!important;
  border:1px solid #cbd5e1!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#0f172a!important;
  -webkit-text-fill-color:#0f172a!important;
  padding:11px 13px!important;
  font:inherit!important;
  font-size:.95rem!important;
  line-height:1.35!important;
  box-shadow:none!important;
  outline:0!important;
  color-scheme:light!important;
}
html body .hpm-manager-shell .hpm-form-card textarea{min-height:95px!important;resize:vertical!important}
html body .hpm-manager-shell .hpm-form-card input[type="file"]{
  display:block!important;
  width:100%!important;
  min-height:44px!important;
  height:auto!important;
  margin:8px 0 12px!important;
  padding:7px!important;
  border:1px solid #cbd5e1!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#0f172a!important;
  -webkit-text-fill-color:#0f172a!important;
  font:inherit!important;
  font-size:.9rem!important;
  line-height:1.35!important;
  box-shadow:none!important;
  color-scheme:light!important;
}
html body .hpm-manager-shell .hpm-form-card input[type="file"]::file-selector-button{
  min-height:32px!important;
  margin-right:10px!important;
  padding:6px 10px!important;
  border:1px solid #cbd5e1!important;
  border-radius:6px!important;
  background:#f1f5f9!important;
  color:#0f172a!important;
  -webkit-text-fill-color:#0f172a!important;
  font:inherit!important;
  cursor:pointer!important;
}
html body .hpm-manager-shell .hpm-form-card input[type="checkbox"]{
  accent-color:#0f382c!important;
  color-scheme:light!important;
}
html body .hpm-manager-shell .hpm-form-card input::placeholder,
html body .hpm-manager-shell .hpm-form-card textarea::placeholder{
  color:#94a3b8!important;
  -webkit-text-fill-color:#94a3b8!important;
  opacity:1!important;
}
html body .hpm-manager-shell .hpm-form-card input:focus,
html body .hpm-manager-shell .hpm-form-card select:focus,
html body .hpm-manager-shell .hpm-form-card textarea:focus{
  outline:0!important;
  border-color:#0f382c!important;
  box-shadow:0 0 0 3px rgba(15,56,44,.1)!important;
}
html body .hpm-btn{
  border-radius:8px!important;
  padding:9px 14px!important;
  min-height:39px!important;
  font-size:.87rem!important;
  line-height:1.2!important;
}
html body .hpm-btn-primary{background:#0f382c!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .hpm-btn-primary:hover{background:#174d3d!important;color:#fff!important}
html body .hpm-btn-secondary{background:#f1f5f9!important;color:#0f382c!important;-webkit-text-fill-color:#0f382c!important;border:1px solid #e2e8f0!important}
html body .hpm-btn-ghost{background:#fff!important;color:#334155!important;-webkit-text-fill-color:#334155!important;border:1px solid #cbd5e1!important}
html body .hpm-manager-header .hpm-btn-secondary{background:#fff!important;color:#334155!important;border-color:#fff!important}
html body .hpm-manager-header .hpm-btn-ghost{background:transparent!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid rgba(255,255,255,.45)!important}

/* Keep promotion posters useful while bringing their box scale closer to Menu Beheer. */
html body .hpm-current-image{
  width:min(300px,100%)!important;
  max-width:300px!important;
  min-height:125px!important;
  margin:0 0 12px!important;
  padding:8px!important;
  background:#f1f5f9!important;
  border-radius:10px!important;
}

@media(max-width:600px){
  html body .hpm-login-wrap{padding:10px!important;margin-top:20px!important}
  html body .hpm-login-card{padding:25px 20px!important}
  html body .hpm-manager-shell{padding:0 8px!important;margin-top:10px!important}
  html body .hpm-form-card{padding:16px!important}
  html body .hpm-manager-header{align-items:flex-start!important;flex-direction:column!important}
}

/* v1.2.6 — logout visibility restoration
   Keep the front-end logout controls visible even when the active theme has
   broad rules for header/nav links, buttons, overflow or opacity. */
html body .hpm-manager-shell .hpm-manager-header .hpm-header-actions{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  margin-left:auto!important;
  flex:0 0 auto!important;
  position:relative!important;
  z-index:5!important;
}
html body .hpm-manager-shell .hpm-manager-header .hpm-header-actions a,
html body .hpm-manager-shell .hpm-manager-header .hpm-header-actions .hpm-logout-link{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  width:auto!important;
  height:auto!important;
  min-height:39px!important;
  overflow:visible!important;
  position:relative!important;
  z-index:6!important;
  white-space:nowrap!important;
}
html body .hpm-manager-shell .hpm-manager-header .hpm-logout-link{
  background:#fff!important;
  color:#0f382c!important;
  -webkit-text-fill-color:#0f382c!important;
  border:1px solid rgba(255,255,255,.85)!important;
}
html body .hpm-manager-shell .hpm-manager-header .hpm-logout-link:hover{
  background:#f8fafc!important;
  color:#0f382c!important;
  -webkit-text-fill-color:#0f382c!important;
}
html body .hpm-manager-shell nav.hpm-tabs{
  overflow-x:auto!important;
  overflow-y:visible!important;
}
html body .hpm-manager-shell nav.hpm-tabs .hpm-tab-logout{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  margin-left:auto!important;
  color:#a52a24!important;
  -webkit-text-fill-color:#a52a24!important;
  background:#fff1f0!important;
  border:1px solid #f2c6c3!important;
  border-bottom:3px solid #f2c6c3!important;
  white-space:nowrap!important;
  width:auto!important;
  min-width:max-content!important;
}
@media(max-width:700px){
  html body .hpm-manager-shell .hpm-manager-header .hpm-header-actions{
    width:100%!important;
    margin-left:0!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
  }
  html body .hpm-manager-shell nav.hpm-tabs .hpm-tab-logout{
    margin-left:0!important;
  }
}




/* v1.2.8 — structural logout fallback.
   The live theme can suppress the optional manager header/navigation wrappers.
   Force those wrappers visible and also keep a red logout action inside the
   main content itself, following the proven Menu Manager pattern. */
html body .hpm-manager-shell > .hpm-manager-header{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  position:relative!important;
}
html body .hpm-manager-shell > nav.hpm-tabs{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  position:relative!important;
}
html body .hpm-manager-shell .hpm-toolbar-actions{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
html body .hpm-manager-shell .hpm-panel-logout{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  background:#b91c1c!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:1px solid #b91c1c!important;
  width:auto!important;
  height:auto!important;
  white-space:nowrap!important;
  position:relative!important;
  z-index:20!important;
}
html body .hpm-manager-shell .hpm-panel-logout:hover{
  background:#991b1b!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:#991b1b!important;
}
@media(max-width:600px){
  html body .hpm-manager-shell .hpm-toolbar-actions{
    width:100%!important;
    justify-content:stretch!important;
  }
  html body .hpm-manager-shell .hpm-toolbar-actions .hpm-btn{
    flex:1 1 auto!important;
  }
}
