/* Malborz Owner Hub — Scoped brand UI */
.moh-item,.moh-item *,.moh-settings,.moh-settings *,.moh-business-controls,.moh-business-controls *{box-sizing:border-box}
.moh-item{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;list-style:none;max-width:210px;font-family:inherit!important;line-height:1.5!important}
.moh-item .moh-trigger{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;color:#17243e;background:#f5f3ea;border:1px solid #d8dee6;border-radius:13px;padding:7px 12px;min-height:44px;font-size:13px;font-weight:800;white-space:nowrap}
.moh-item .moh-trigger::-webkit-details-marker{display:none}
.moh-item .moh-trigger:hover,.moh-item .moh-trigger:focus-visible{background:#ffe368;color:#17243e;outline-offset:2px}
.moh-item .moh-avatar{flex:0 0 32px;width:32px;height:32px;border-radius:50%;border:2px solid #fff;object-fit:cover;object-position:center;background:#e6ecf4}
.moh-item .moh-name{max-width:110px;overflow:hidden;text-overflow:ellipsis}
.moh-account{position:relative;width:100%}
.moh-account[open] .moh-trigger{background:#ffd52a}
.moh-item .moh-menu{position:absolute;z-index:100000;top:calc(100% + 10px);left:0;right:auto;width:min(280px,85vw);background:#fff;border:1px solid #d5dfed;border-radius:17px;box-shadow:0 18px 45px rgba(16,28,51,.22);padding:9px;display:flex;flex-direction:column;text-align:right;white-space:normal}
.moh-item .moh-menu:before{content:"";height:4px;background:#ffd52a;position:absolute;top:0;right:16px;left:16px;border-radius:0 0 8px 8px}
.moh-item .moh-welcome{display:flex;flex-direction:column;gap:3px;padding:12px 12px 11px;color:#17243e;border-bottom:1px solid #e1e8f2;margin-bottom:4px}
.moh-item .moh-welcome small{color:#607089;font-size:11px}
.moh-item .moh-welcome strong{font-size:14px;overflow-wrap:anywhere}
.moh-item .moh-menu a{display:block!important;width:100%;height:auto!important;min-height:38px;line-height:1.9!important;padding:8px 11px!important;color:#17243e!important;background:transparent!important;text-decoration:none!important;font-size:13px!important;border-radius:8px;white-space:normal;font-weight:650}
.moh-item .moh-menu a:hover{background:#edf2ff!important;color:#345be8!important}
.moh-item .moh-menu a.moh-signout{border-top:1px solid #e1e8f2;margin-top:5px;color:#a42d39!important}
.moh-item .moh-login{display:inline-flex!important;align-items:center;justify-content:center;min-height:42px;border-radius:11px;padding:9px 16px!important;background:#17243e!important;color:#fff!important;font-size:12px;font-weight:900;text-decoration:none!important;white-space:nowrap}
.moh-item .moh-login:hover{background:#345be8!important}
.moh-owner-action{position:fixed;bottom:28px;right:28px;z-index:950;max-width:calc(100vw - 40px);font-size:13px}
.moh-owner-action a{display:block;padding:13px 20px;border-radius:14px;background:#ffd52a;color:#17243e!important;box-shadow:0 10px 30px #17243e40;border:1px solid #e6c324;font-weight:900!important;text-decoration:none!important;text-align:center}
.moh-owner-action a:hover{background:#ffe36a}
.moh-owner-action.moh-claim-action a{background:#17243e;color:#fff!important;border-color:#546b94}
.moh-settings,.moh-business-controls{direction:rtl;text-align:right;background:#fff;border:1px solid #dce5ef;border-radius:19px;margin:24px 0;padding:23px;box-shadow:0 6px 25px rgba(25,49,91,.06);font-family:inherit;color:#17243e}
.moh-section-head span{font-size:11px;color:#345be8;font-weight:900}
.moh-section-head h2,.moh-business-controls h3{font-weight:900!important;font-size:22px!important;color:#17243e!important;margin:4px 0 9px!important}
.moh-section-head p,.moh-business-controls p{font-size:13px;color:#65738b;margin-bottom:15px}
.moh-settings-grid{display:grid;grid-template-columns:160px 1fr;gap:22px;align-items:center;margin:22px 0}
.moh-avatar-preview-wrap{background:#eef2f8;border-radius:18px;padding:16px;display:grid;place-items:center}
.moh-avatar-preview-wrap img{width:128px;height:128px;max-width:100%;object-fit:cover;object-position:center;border-radius:50%;border:4px solid #fff;box-shadow:0 7px 22px #15233530}
.moh-inputs{min-width:0;display:flex;flex-direction:column;gap:7px}
.moh-inputs label{font-size:13px;font-weight:800;margin-top:8px}
.moh-inputs small{font-size:11px;color:#687990}
.moh-inputs input[type=file]{max-width:100%;border:1px dashed #adc1dc;border-radius:10px;padding:12px;background:#f7f9fd;font:inherit}
.moh-inputs input[type=range]{width:100%;accent-color:#345be8;cursor:pointer}
.moh-save{border:0;border-radius:11px;padding:12px 20px;background:#17243e!important;color:#fff!important;font:inherit;font-weight:900;cursor:pointer}
.moh-save:hover{background:#345be8!important}
.moh-success,.moh-error{padding:11px 14px;border-radius:9px;font-size:13px}
.moh-success{background:#e6f8ee;color:#166742;border:1px solid #a4ddbc}
.moh-error{background:#fff0ef;color:#9d2731;border:1px solid #ecc1c2}
.moh-control-list{display:grid;gap:10px}
.moh-control-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#f6f8fb;padding:13px 16px;border-radius:12px;border:1px solid #e1e8f1;font-size:13px}
.moh-control-row strong{color:#17243e;font-size:14px;overflow-wrap:anywhere}
.moh-control-row a{background:#ffd52a;color:#17243e!important;font-weight:800;text-decoration:none!important;border-radius:9px;padding:8px 14px}
.moh-control-row span{color:#7a8698}
.moh-duplicate-hint{margin:12px 0 16px;padding:15px 17px;background:#fffbea;border:1px solid #eaca50;border-right:4px solid #ffd52a;border-radius:10px;font-size:13px;line-height:2;color:#17243e}
.moh-duplicate-hint p{margin:4px 0 8px}
.moh-duplicate-hint a{color:#345be8!important;font-weight:900;display:inline-block;margin-left:12px}
.moh-item :is(a,summary):focus-visible,.moh-save:focus-visible{outline:3px solid #345be8;outline-offset:3px}
@media(max-width:849px){
  #header .mobile-nav.nav-right .moh-item{max-width:125px}
  .moh-item .moh-trigger{padding:5px 7px;gap:5px}
  .moh-item .moh-name{max-width:56px;font-size:11px}
  .moh-item .moh-avatar{width:27px;height:27px;flex-basis:27px}
  .moh-item .moh-menu{left:0;right:auto;width:245px;max-width:90vw}
  .moh-owner-action{bottom:12px;right:12px;left:12px;max-width:none;font-size:12px}
  .moh-settings-grid{grid-template-columns:1fr}
  .moh-avatar-preview-wrap{padding:12px}
  .moh-settings,.moh-business-controls{padding:17px;margin:16px 0}
}
@media(prefers-reduced-motion:reduce){.moh-item *{transition:none!important}}
