.mav-open{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 12px;border:1px solid #c9d3e3;border-radius:7px;background:#fff;color:#0D1B3D;font:700 13px/1 var(--font-body,Arial,sans-serif);cursor:pointer;white-space:nowrap}
.mav-open:hover,.mav-open:focus-visible{background:#eef4ff;border-color:#8ea8d2;outline:2px solid #8ea8d2;outline-offset:2px}
.mav-open svg{flex:none}.mav-open[hidden]{display:none!important}
.mav-doitnow{margin-left:auto;height:32px;border-color:#465b7d;background:#15294d;color:#eef5ff}
.mav-doitnow:hover,.mav-doitnow:focus-visible{background:#203a68;border-color:#8ea8d2}
#view-product{position:relative}
#view-studio .studio-top .mav-open{margin-left:auto}
@media(max-width:760px){.mav-open span{display:none}.mav-open{width:36px;padding:0}}

.mav-context-banner{position:fixed;left:50%;bottom:16px;z-index:140;display:flex;align-items:center;justify-content:space-between;gap:14px;width:min(680px,calc(100vw - 24px));box-sizing:border-box;padding:10px 12px;border:1px solid #b8c9e4;border-radius:10px;background:#fff;color:#172033;box-shadow:0 14px 36px #0d1b3d26;transform:translateX(-50%)}
.mav-context-banner[hidden]{display:none!important}
.mav-context-banner>div{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.mav-context-banner>div>span{min-width:0}
.mav-context-banner strong,.mav-context-banner small{display:block}.mav-context-banner strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mav-context-banner small{color:#61718a;font-size:12px}
.mav-context-banner button{flex:none;min-height:32px;padding:6px 10px;border:1px solid #c7d2e2;border-radius:7px;background:#f7faff;color:#0D1B3D;font:700 12px var(--font-body,Arial,sans-serif);cursor:pointer}
.mav-context-banner button:hover,.mav-context-banner button:focus-visible{background:#eef4ff;outline:2px solid #8ea8d2;outline-offset:2px}
.mav-readonly-toast{position:fixed;left:50%;bottom:78px;z-index:150;width:min(520px,calc(100vw - 28px));box-sizing:border-box;padding:13px 16px;border-radius:10px;background:#0D1B3D;color:#fff;box-shadow:0 16px 42px #0d1b3d40;transform:translateX(-50%);font:700 14px/1.55 var(--font-body,Arial,sans-serif);text-align:center}
.mav-readonly-toast[hidden]{display:none!important}
.mav-readonly-control{cursor:not-allowed!important}
.mav-readonly-field{background:#f8faff!important}
.mav-avatar{display:grid;place-items:center;position:relative;overflow:hidden;flex:none;width:32px;height:32px;border-radius:50%;background:#e6eefb;color:#173867;font-weight:800}
.mav-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

.mav-dialog{width:min(520px,calc(100vw - 28px));max-height:min(760px,calc(100dvh - 28px));padding:0;border:1px solid #d9e1ee;border-radius:14px;background:#fff;color:#172033;box-shadow:0 24px 80px #0d1b3d40;overflow:hidden}
.mav-dialog::backdrop{background:#0d1b3d66}
.mav-shell{display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;max-height:min(760px,calc(100dvh - 28px));min-height:0}
.mav-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 22px 16px;border-bottom:1px solid #e4e9f2;background:#fff}
.mav-head span{display:block;color:#597094;font-size:11px;font-weight:800;letter-spacing:.08em}
.mav-head h2{margin:4px 0 5px;color:#101827;font-size:22px;line-height:1.25}
.mav-head p{margin:0;color:#60708a;font-size:13px;line-height:1.6}
.mav-head button{display:grid;place-items:center;flex:none;width:34px;height:34px;border:0;border-radius:7px;background:transparent;color:#536176;font-size:24px;cursor:pointer}
.mav-head button:hover,.mav-head button:focus-visible{background:#eef3fa;outline:2px solid #8ea8d2}
.mav-search{display:block;padding:14px 22px 10px;background:#f8faff}
.mav-search input{width:100%;box-sizing:border-box;min-height:40px;padding:9px 11px;border:1px solid #c8d2e0;border-radius:8px;background:#fff;color:#172033;font:14px var(--font-body,Arial,sans-serif)}
.mav-selected{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 22px 12px;border-bottom:1px solid #e9edf4;background:#f8faff;color:#34455f;font-size:13px}
.mav-selected strong,.mav-selected small{display:block}.mav-selected small{margin-top:2px;color:#6b7890}
.mav-list{min-height:0;overflow:auto;padding:8px;background:#fff}
.mav-list button{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:58px;padding:10px;border:0;border-radius:9px;background:#fff;color:#172033;text-align:left;cursor:pointer}
.mav-list button:hover,.mav-list button:focus-visible,.mav-list button[aria-current=true]{background:#edf4ff;outline:0}
.mav-list strong,.mav-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mav-list strong{font-size:14px}.mav-list small{margin-top:3px;color:#69778d;font-size:12px}
.mav-list em{padding:3px 7px;border-radius:999px;background:#eaf2ff;color:#174172;font-style:normal;font-size:11px;font-weight:800}
.mav-empty{display:grid;place-content:center;min-height:120px;padding:24px;color:#68778f;text-align:center;line-height:1.6}
.mav-shell footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 22px;border-top:1px solid #e5eaf2;background:#fff;color:#60708a;font-size:13px}
.mav-shell footer button{min-height:36px;padding:7px 13px;border:1px solid #c8d2e0;border-radius:7px;background:#fff;color:#263755;font:700 13px var(--font-body,Arial,sans-serif);cursor:pointer}
.mav-shell footer button:hover,.mav-shell footer button:focus-visible{background:#eef4ff;outline:2px solid #8ea8d2}
.mav-shell footer .is-error{color:#a83232}
.mav-dialog :focus-visible{outline:2px solid #527dd1;outline-offset:2px}
@media(max-width:760px){
 .mav-context-banner{bottom:12px;align-items:flex-start}.mav-context-banner button{white-space:nowrap}
 .mav-readonly-toast{bottom:88px}
 .mav-dialog{width:calc(100vw - 18px);max-height:calc(100dvh - 18px)}
 .mav-shell{max-height:calc(100dvh - 18px)}.mav-head{padding:18px 16px 14px}.mav-search{padding:12px 16px 10px}.mav-selected{padding:0 16px 12px}.mav-shell footer{padding:12px 16px}
}
