#htp-launch,#htp-drawer{font:14px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:normal!important;text-transform:none!important;color:#eeeef4!important;box-sizing:border-box!important;}
#htp-backdrop{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;z-index:2147483000!important;cursor:default!important;}
#htp-backdrop[hidden]{display:none!important;}
#htp-launch{position:fixed!important;bottom:88px!important;right:20px!important;z-index:2147483000!important;border:1px solid #666174!important;border-radius:999px!important;padding:12px 18px!important;background:#282430!important;color:#fff!important;box-shadow:0 8px 30px #0005!important;cursor:pointer!important;}
#htp-drawer{position:fixed!important;top:48px!important;right:16px!important;width:352px!important;max-width:calc(100% - 32px)!important;max-height:calc(100dvh - 70px)!important;overflow:auto!important;z-index:2147483001!important;background:#211f28!important;border:1px solid #57515f!important;border-radius:18px!important;box-shadow:0 18px 70px #0008!important;padding:22px!important;color-scheme:dark!important;}
html.htp-open .wp-dark-mode-floating-switch{visibility:hidden!important;pointer-events:none!important;}
#htp-drawer[hidden],#htp-launch[hidden]{display:none!important;}
#htp-drawer *{box-sizing:border-box!important;}
#htp-drawer h2{font:650 23px/1.2 system-ui,sans-serif!important;color:#fff!important;margin:5px 0 8px!important;letter-spacing:-.5px!important;}
#htp-drawer p{font:13px/1.5 system-ui,sans-serif!important;color:#bdb7c9!important;margin:0 0 15px!important;}
#htp-drawer .htp-eyebrow{font:700 10px/1.4 system-ui,sans-serif!important;letter-spacing:1.5px!important;color:#d3b4ff!important;}
#htp-drawer .htp-header{display:flex!important;justify-content:space-between!important;gap:10px!important;}
#htp-drawer button{font:600 12px/1.4 system-ui,sans-serif!important;background:#302c3a!important;color:#f2eff8!important;border:1px solid #575061!important;border-radius:8px!important;padding:9px 10px!important;cursor:pointer!important;min-height:37px!important;box-shadow:none!important;text-transform:none!important;}
#htp-drawer button:hover{background:#433a51!important;}
#htp-drawer :is(button,select,input):focus-visible,#htp-launch:focus-visible{outline:3px solid #d3b4ff!important;outline-offset:3px!important;}
#htp-drawer button[aria-pressed=true]{border-color:#d3b4ff!important;background:#443651!important;}
#htp-drawer .htp-close{width:34px!important;min-width:34px!important;height:34px!important;padding:0!important;font-size:21px!important;}
#htp-drawer .htp-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
#htp-drawer .htp-presets button{text-align:left!important;display:flex!important;align-items:center!important;gap:8px!important;}
#htp-drawer .htp-dot{width:12px!important;height:12px!important;flex:0 0 12px!important;border-radius:50%!important;background:var(--swatch)!important;}
#htp-drawer fieldset{border:0!important;border-top:1px solid #403947!important;padding:16px 0 0!important;margin:17px 0 0!important;min-width:0!important;}
#htp-drawer legend{float:left!important;width:100%!important;color:#eee9f5!important;font:650 13px/1.4 system-ui,sans-serif!important;margin:0 0 10px!important;padding:0!important;}
#htp-drawer label{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;color:#d9d3e1!important;font:12px/1.4 system-ui,sans-serif!important;margin:0 0 10px!important;clear:both!important;}
#htp-drawer select{font:12px/1.4 system-ui,sans-serif!important;color:#eee!important;background:#302c3a!important;border:1px solid #575061!important;border-radius:6px!important;padding:6px!important;max-width:170px!important;height:34px!important;}
#htp-drawer input[type=color]{width:48px!important;height:30px!important;padding:2px!important;border:1px solid #655d70!important;border-radius:6px!important;background:#302c3a!important;cursor:pointer!important;}
#htp-drawer input[type=range]{width:128px!important;margin:0!important;accent-color:#c9a2f6!important;}
#htp-drawer output{font-size:11px!important;min-width:34px!important;text-align:right!important;color:#d3b4ff!important;}
#htp-drawer .htp-slider{display:flex!important;align-items:center!important;gap:7px!important;}
#htp-drawer .htp-actions{border-top:1px solid #403947!important;padding-top:15px!important;margin-top:8px!important;display:grid!important;gap:8px!important;}
#htp-drawer .htp-save{background:#d3b4ff!important;color:#261c33!important;border-color:#d3b4ff!important;}
#htp-drawer #htp-status{margin:12px 0 0!important;min-height:37px!important;font-size:12px!important;}
#htp-drawer #htp-warning{color:#ffd1a1!important;font-size:12px!important;margin:10px 0!important;}
@media(max-width:600px){#htp-drawer{top:54px!important;right:12px!important;max-width:calc(100% - 24px)!important;max-height:calc(100dvh - 70px)!important;padding:18px!important;}#htp-launch{right:12px!important;bottom:85px!important;}}

/* Keep Personalize beside the reader page-jump buttons, clear of their touch targets. */
body.hnr-reader #htp-launch{right:calc(80px + env(safe-area-inset-right,0px))!important;}

/* Keep the Personalize launcher on the homepage; saved preferences apply site-wide. */
body:not(.home) #htp-launch{display:none!important;}

/* Personalize contains appearance controls; keep the former floating moon out of the way. */
.wp-dark-mode-floating-switch{display:none!important;}

.wp-dark-mode-switcher.floating{display:none!important;}
