/* MHS visual editor — development helper */
.mhs-editor, .mhs-editor * { box-sizing: border-box; }
.mhs-editor { position: fixed; top: 84px; right: 20px; z-index: 100; width: 300px; color: #f3f0e8; background: #101722; border: 1px solid rgba(243,179,1,.55); box-shadow: 0 18px 50px rgba(0,0,0,.42); font: 12px/1.4 var(--mhs-sans); }
.mhs-editor[hidden] { display: none; }
.mhs-editor__head { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-bottom: 1px solid rgba(243,240,232,.15); background: #12213a; }
.mhs-editor__title { color: #f3b301; font: 500 10px var(--mhs-mono); letter-spacing: .12em; text-transform: uppercase; }
.mhs-editor__close, .mhs-editor__button { border: 1px solid rgba(243,240,232,.25); background: transparent; color: #f3f0e8; cursor: pointer; }
.mhs-editor__close { width: 25px; height: 25px; color: #a7b0bd; }
.mhs-editor__body { display: grid; gap: 13px; padding: 14px; max-height: min(70vh, 620px); overflow: auto; }
.mhs-editor__hint { margin: 0; color: #a7b0bd; font-size: 11px; }
.mhs-editor__selected { padding: 8px; overflow: hidden; color: #f3b301; background: rgba(243,179,1,.08); font: 10px var(--mhs-mono); text-overflow: ellipsis; white-space: nowrap; }
.mhs-editor__row { display: grid; grid-template-columns: 1fr 86px; gap: 10px; align-items: center; }
.mhs-editor__row label { color: #c0c7d0; font-size: 11px; }
.mhs-editor__row input[type="range"] { width: 100%; accent-color: #f3b301; }
.mhs-editor__row input[type="color"] { width: 86px; height: 28px; padding: 2px; border: 1px solid rgba(243,240,232,.25); background: transparent; }
.mhs-editor__value { color: #f3b301; font: 10px var(--mhs-mono); text-align: right; }
.mhs-editor__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 4px; }
.mhs-editor__button { min-height: 34px; padding: 7px 9px; font: 10px var(--mhs-mono); text-transform: uppercase; }
.mhs-editor__button--primary { border-color: #f3b301; background: #f3b301; color: #080b12; }
.mhs-editor__button:hover { border-color: #f3b301; }
.mhs-editor__toggle { position: fixed; right: 20px; bottom: 20px; z-index: 100; min-height: 38px; padding: 9px 13px; border: 1px solid #f3b301; background: #080b12; color: #f3b301; font: 500 10px var(--mhs-mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,.3); }
.mhs-editor__target { outline: 1px solid #f3b301 !important; outline-offset: 4px; }
@media (max-width: 700px) { .mhs-editor { top: 74px; right: 10px; left: 10px; width: auto; } .mhs-editor__toggle { right: 10px; bottom: 10px; } }
